@recursica/mui-adapter 0.9.1 → 0.11.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 +22 -0
- package/dist/mui-adapter.cjs +30 -20
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.css +1 -1
- package/dist/mui-adapter.js +2410 -2085
- package/dist/mui-adapter.js.map +1 -1
- package/dist/src/components/Accordion/Accordion.d.ts +43 -10
- package/dist/src/components/Autocomplete/Autocomplete.d.ts +13 -2
- package/dist/src/components/Avatar/Avatar.d.ts +16 -1
- package/dist/src/components/Badge/Badge.d.ts +16 -1
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +13 -2
- package/dist/src/components/Button/Button.d.ts +13 -2
- package/dist/src/components/Card/Card.d.ts +45 -2
- package/dist/src/components/Checkbox/CheckboxGroup.d.ts +14 -3
- package/dist/src/components/Chip/Chip.d.ts +13 -2
- package/dist/src/components/Container/Container.d.ts +3 -3
- package/dist/src/components/Dropdown/Dropdown.d.ts +14 -3
- package/dist/src/components/Flex/Flex.d.ts +3 -4
- package/dist/src/components/Group/Group.d.ts +3 -4
- package/dist/src/components/Link/Link.d.ts +14 -4
- package/dist/src/components/Menu/Menu.d.ts +37 -8
- package/dist/src/components/Modal/Modal.d.ts +51 -11
- package/dist/src/components/NumberInput/NumberInput.d.ts +13 -2
- package/dist/src/components/Pagination/Pagination.d.ts +13 -2
- package/dist/src/components/Panel/Panel.d.ts +6 -6
- package/dist/src/components/Radio/index.d.ts +1 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +15 -4
- package/dist/src/components/Slider/Slider.d.ts +13 -2
- package/dist/src/components/Stack/Stack.d.ts +3 -4
- package/dist/src/components/Stepper/Stepper.d.ts +71 -16
- package/dist/src/components/Switch/Switch.d.ts +1 -1
- package/dist/src/components/Switch/SwitchGroup.d.ts +14 -3
- package/dist/src/components/Switch/index.d.ts +1 -0
- package/dist/src/components/Table/Table.d.ts +34 -3
- package/dist/src/components/Tabs/Tabs.d.ts +45 -8
- package/dist/src/components/Text/Text.d.ts +18 -3
- package/dist/src/components/TextArea/TextArea.d.ts +14 -3
- package/dist/src/components/TextField/TextField.d.ts +13 -2
- package/dist/src/components/Timeline/TimelineItem.d.ts +13 -2
- package/dist/src/components/Timeline/index.d.ts +1 -0
- package/dist/src/components/Title/Title.d.ts +18 -2
- package/dist/src/components/Toast/Toast.d.ts +13 -2
- package/dist/src/components/Typography/Typography.d.ts +14 -3
- package/dist/src/components/Typography/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/index.d.ts +85 -1
- package/dist/src/utils/filterStylingProps.d.ts +1 -1
- package/package.json +1 -1
- package/src/OverStyling.tsx +63 -2
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/Autocomplete/Autocomplete.tsx +2 -0
- package/src/components/Avatar/Avatar.tsx +3 -3
- package/src/components/Badge/Badge.tsx +1 -1
- package/src/components/Card/CARD_IMPLEMENTATION_NOTES.md +15 -0
- package/src/components/Card/Card.module.css +1 -0
- package/src/components/Card/Card.tsx +30 -2
- package/src/components/Checkbox/Checkbox.tsx +6 -1
- package/src/components/Checkbox/CheckboxGroup.tsx +6 -2
- package/src/components/Container/Container.tsx +5 -3
- package/src/components/Dropdown/Dropdown.tsx +10 -11
- package/src/components/Flex/Flex.tsx +5 -2
- package/src/components/Group/Group.tsx +4 -3
- package/src/components/HoverCard/HoverCard.tsx +7 -4
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/Menu/Menu.stories.tsx +14 -8
- package/src/components/Modal/Modal.tsx +11 -4
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +64 -0
- package/src/components/Panel/Panel.stories.tsx +9 -9
- package/src/components/Panel/Panel.tsx +14 -9
- package/src/components/Radio/Radio.tsx +1 -0
- package/src/components/Radio/index.ts +1 -0
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +1 -1
- package/src/components/SegmentedControl/SegmentedControl.tsx +5 -1
- package/src/components/Slider/Slider.tsx +12 -4
- package/src/components/Stack/Stack.tsx +4 -3
- package/src/components/Stepper/Stepper.tsx +6 -1
- package/src/components/Switch/Switch.tsx +2 -1
- package/src/components/Switch/SwitchGroup.tsx +5 -1
- package/src/components/Switch/index.ts +1 -0
- package/src/components/Table/Table.module.css +7 -0
- package/src/components/Table/Table.stories.tsx +35 -3
- package/src/components/Table/Table.tsx +61 -5
- package/src/components/Tabs/Tabs.tsx +5 -1
- package/src/components/Text/Text.tsx +5 -2
- package/src/components/TextArea/TextArea.tsx +11 -10
- package/src/components/TextField/TextField.tsx +2 -0
- package/src/components/Timeline/index.ts +1 -0
- package/src/components/Title/Title.tsx +4 -1
- package/src/components/Typography/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +180 -1
- package/src/utils/filterStylingProps.ts +1 -0
package/dist/mui-adapter.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),E=require("react"),I=require("@mui/material"),es=require("@emotion/react"),ts=require("@emotion/styled");function rs(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const ve=rs(E),os=["className","classes","style","sx","color","bgcolor","backgroundColor","typography","fontFamily","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","border","borderTop","borderBottom","borderLeft","borderRight","borderColor","borderRadius","boxShadow","display","position","zIndex"],ns=new Set(["m","my","mx","mt","mb","ml","mr","p","py","px","pt","pb","pl","pr","gap","rowGap","columnGap","top","left","bottom","right"]),ye={"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 gr(e){const t={...e};return"sx"in t&&delete t.sx,t}function L(e,t){if(t)return e;const r={...e};for(const o of os)o in r&&delete r[o];for(const[o,n]of Object.entries(r))typeof n=="string"&&n.startsWith("rec-")&&ns.has(o)&&n in ye&&(r[o]=ye[n]);return r}const ss="Accordion-module__root___Dem6d",as="Accordion-module__item___7ryVk",is="Accordion-module__noDivider___Ni2tT",ls="Accordion-module__control___b4wgX",cs="Accordion-module__label___Ss7uW",ds="Accordion-module__chevron___i-HVZ",us="Accordion-module__iconLeftWrapper___5oLen",ps="Accordion-module__panel___Wx50w",fs="Accordion-module__content___PEM9t",Le={root:ss,item:as,noDivider:is,control:ls,label:cs,chevron:ds,iconLeftWrapper:us,panel:ps,content:fs},ms=()=>c.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{width:"100%",height:"100%"},children:c.jsx("polyline",{points:"6 9 12 15 18 9"})}),Ao=E.createContext(null),Po=E.forwardRef(function({variant:t="unstyled",overStyled:r=!1,value:o,defaultValue:n,onChange:s,multiple:a=!1,children:i,...d},p){const m=L(d,r),h=m.className,y=[Le.root,h].filter(Boolean).join(" ")||void 0,[u,_]=E.useState(n!==void 0?n:a?[]:null),f=o!==void 0?o:u,g=C=>{let N;if(a){const A=Array.isArray(f)?f:f?[f]:[];N=A.includes(C)?A.filter(w=>w!==C):[...A,C]}else N=f===C?null:C;_(N),s==null||s(N)};return c.jsx(Ao.Provider,{value:{value:f,onChange:g},children:c.jsx("div",{ref:p,className:y,"data-variant":t,...m,children:i})})});Po.displayName="Accordion";const br=E.forwardRef(function({title:t,leftIcon:r,divider:o=!0,children:n,value:s,overStyled:a=!1,style:i,...d},p){const m=L(d,a),h=m.className,y=[Le.item,o?void 0:Le.noDivider,h].filter(Boolean).join(" ")||void 0,u=E.useContext(Ao),_=u?Array.isArray(u.value)?u.value.includes(s):u.value===s:void 0,f=()=>{u==null||u.onChange(s)},g={backgroundColor:"transparent",...i};return c.jsx(I.Accordion,{ref:p,className:y,disableGutters:!0,elevation:0,square:!0,expanded:_,onChange:f,style:g,...m,children:t?c.jsxs(c.Fragment,{children:[c.jsx(Lt,{leftIcon:r,children:t}),c.jsx(Wt,{children:n})]}):n})});br.displayName="AccordionItem";const Lt=E.forwardRef(function({leftIcon:t,children:r,overStyled:o=!1,...n},s){const a=L(n,o),i=a.className,d=[Le.control,i].filter(Boolean).join(" ")||void 0;return c.jsxs(I.AccordionSummary,{ref:s,className:d,expandIcon:c.jsx("span",{className:Le.chevron,children:c.jsx(ms,{})}),...a,children:[t&&c.jsx("span",{className:Le.iconLeftWrapper,"aria-hidden":!0,children:t}),c.jsx("div",{className:Le.label,children:r})]})});Lt.displayName="AccordionControl";const Wt=E.forwardRef(function({overStyled:t=!1,children:r,...o},n){const s=L(o,t),a=s.className,i=[Le.panel,a].filter(Boolean).join(" ")||void 0;return c.jsx(I.AccordionDetails,{ref:n,className:i,...s,children:c.jsx("div",{className:Le.content,children:r})})});Wt.displayName="AccordionPanel";const Bt=Po;Bt.Item=br;Bt.Control=Lt;Bt.Panel=Wt;const hs="AssistiveElement-module__root___WhQ43",ys="AssistiveElement-module__text___vrHAg",_s="AssistiveElement-module__icon___Q-CVz",wt={root:hs,text:ys,icon:_s},vr=E.forwardRef(function(t,r){const{assistiveVariant:o="help",assistiveWithIcon:n=!0,overStyled:s=!1,className:a,children:i,...d}=t,p=L(d,s),m=()=>c.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:[c.jsx("circle",{cx:"12",cy:"12",r:"10"}),c.jsx("path",{d:"M12 16v-4"}),c.jsx("path",{d:"M12 8h.01"})]}),h=()=>c.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:[c.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"}),c.jsx("path",{d:"M12 9v4"}),c.jsx("path",{d:"M12 17h.01"})]}),y=o==="error";return c.jsxs(I.FormHelperText,{ref:r,component:"div",error:y,"data-variant":o,className:a?`${wt.root} ${a}`:wt.root,...p,children:[n&&c.jsx("div",{className:wt.icon,children:o==="error"?c.jsx(h,{}):c.jsx(m,{})}),c.jsx("div",{className:wt.text,children:i})]})});vr.displayName="AssistiveElement";const gs="Label-module__root___e6HXZ",bs="Label-module__innerLayout___Xxapo",vs="Label-module__text___OGeEw",xs="Label-module__required___Ggrzc",Cs="Label-module__endNodes___es7ew",$s="Label-module__optionalText___Y2yun",Ss="Label-module__actionArea___O-f1X",Ts="Label-module__editIcon___9hO1G",Ee={root:gs,innerLayout:bs,text:vs,required:xs,endNodes:Cs,optionalText:$s,actionArea:Ss,editIcon:Ts},xr=E.forwardRef(function(t,r){const{overStyled:o=!1,required:n=!1,labelOptionalText:s="",labelWithEditIcon:a=!1,onLabelEditClick:i,labelActionArea:d,children:p,className:m,...h}=t,y=L(h,o),u=()=>c.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",children:[c.jsx("path",{d:"M12 20h9"}),c.jsx("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]});return c.jsx(I.InputLabel,{ref:r,shrink:!0,className:m?`${Ee.root} ${m}`:Ee.root,...y,children:c.jsxs("div",{className:Ee.innerLayout,children:[c.jsxs("span",{className:Ee.textWrapper,children:[c.jsx("span",{className:Ee.text,children:p}),n&&c.jsx("span",{className:Ee.required,children:" *"})]}),c.jsxs("div",{className:Ee.endNodes,children:[d&&c.jsx("span",{className:Ee.actionArea,children:d}),!n&&s&&!d&&c.jsx("span",{className:Ee.optionalText,children:s===!0?"Optional":s}),a&&c.jsx("button",{type:"button",className:Ee.editIcon,onClick:i,"aria-label":"Edit label",children:c.jsx(u,{})})]})]})})});xr.displayName="Label";const ws="FormControlLayout-module__root___yNDhZ",Ns="FormControlLayout-module__leftSection___GBM1r",Es="FormControlLayout-module__rightSection___bcL4v",ft={root:ws,leftSection:Ns,rightSection:Es},We=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s="default",controlMaxWidth:a,controlMinWidth:i,leftSection:d,className:p,children:m,style:h,...y}=t,u=L(y,o);return c.jsxs("div",{ref:r,className:p?`${ft.root} ${p}`:ft.root,"data-form-layout":n,style:{...h,...a?{"--form-control-max-width":a}:{},...i?{"--form-control-min-width":i}:{}},...u,children:[n==="side-by-side"?c.jsx("div",{className:ft.leftSection,"data-label-size":s,children:d}):d&&c.jsx("div",{className:ft.leftSection,"data-label-size":s,children:d}),c.jsx("div",{className:ft.rightSection,children:m})]})});We.displayName="FormControlLayout";const Os="FormControlWrapper-module__root___c-UHo",As="FormControlWrapper-module__inputSection___HenXk",nr={root:Os,inputSection:As},Ye=E.forwardRef(function(t,r){const{overStyled:o=!1,label:n,assistiveText:s,description:a,helperText:i,assistiveWithIcon:d=!0,error:p,required:m,disabled:h,focused:y,id:u,formLayout:_="stacked",labelSize:f="default",labelOptionalText:g,labelWithEditIcon:C,onLabelEditClick:N,labelActionArea:A,controlMaxWidth:w,controlMinWidth:v,className:S,style:j,children:O,...M}=t,z=L(M,o),W=s||a||i,l=u?`${u}-label`:void 0,T=u?`${u}-description`:void 0,x=E.Children.map(O,P=>E.isValidElement(P)?E.cloneElement(P,{"aria-labelledby":l,"aria-describedby":W?T:void 0}):P);return c.jsx(I.FormControl,{ref:r,error:!!p,required:m,disabled:h,focused:y,className:S?`${nr.root} ${S}`:nr.root,style:j,"data-error":p?"true":void 0,"data-disabled":h?"true":void 0,"data-focused":y?"true":void 0,...z,children:c.jsx(We,{formLayout:_,labelSize:f,controlMaxWidth:w,controlMinWidth:v,leftSection:n&&c.jsx(xr,{id:l,htmlFor:u,required:m,labelOptionalText:g,labelWithEditIcon:C,onLabelEditClick:N,labelActionArea:A,children:n}),children:c.jsxs("div",{className:nr.inputSection,children:[x,(W||p)&&c.jsx(vr,{id:T,assistiveVariant:p?"error":"help",assistiveWithIcon:d,children:p&&typeof p=="string"?p:W})]})})})});Ye.displayName="FormControlWrapper";const Ps="ReadOnlyField-module__root___hKci7",Rs="ReadOnlyField-module__text___bPxk9",rt={root:Ps,text:Rs},Cr=E.forwardRef(function(t,r){const{value:o,type:n="text",readOnlyComponent:s,emptyValueComponent:a,className:i,...d}=t;if(a&&typeof a!="string"){const h=a;if(h.check&&h.check(o))return c.jsx(Ye,{ref:r,className:`${rt.root} ${i||""}`,...d,children:c.jsx(h,{value:o})})}if(o==null||o===""||Array.isArray(o)&&o.length===0)return c.jsx(Ye,{ref:r,className:`${rt.root} ${i||""}`,...d,children:c.jsx("p",{className:rt.text,children:"N/A"})});if(s){const h=s;return c.jsx(Ye,{ref:r,className:`${rt.root} ${i||""}`,...d,children:c.jsx(h,{value:o})})}let m=o;return n==="boolean"||n==="switch"?(m=o?"True":"False",n==="switch"&&(m=o?"On":"Off")):Array.isArray(o)?m=o.join(", "):m=String(o),c.jsx(Ye,{ref:r,className:`${rt.root} ${i||""}`,...d,children:c.jsx("p",{className:rt.text,children:m})})});Cr.displayName="ReadOnlyField";const Ae=E.forwardRef(function({readOnly:t,readOnlyComponent:r,readOnlyType:o="text",readOnlyValue:n,readOnlyNativeProps:s,emptyValueComponent:a,activeComponent:i,overStyled:d,onLabelEditClick:p,...m},h){if(t){if(r){const y=r;return c.jsx(Ye,{ref:h,...m,onLabelEditClick:p,overStyled:d,children:c.jsx(y,{...s})})}return c.jsx(Cr,{ref:h,type:o,value:n,emptyValueComponent:a,onLabelEditClick:p,overStyled:d,...m})}return c.jsx(Ye,{ref:h,...m,onLabelEditClick:p,overStyled:d,children:i})});Ae.displayName="WithReadOnlyWrapper";const js="Autocomplete-module__layoutOverride___IIkyG",ks="Autocomplete-module__root___22Jqm",Is="Autocomplete-module__input___MlbJR",Ms="Autocomplete-module__dropdown___A9XVI",Ls="Autocomplete-module__option___cZsvO",ge={layoutOverride:js,root:ks,input:Is,dropdown:Ms,option:Ls},Ro=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,withAsterisk:f,id:g,className:C,style:N,disabled:A,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,value:j,defaultValue:O,data:M,leftSection:z,rightSection:W,placeholder:l,ListboxProps:T,...x}=t,B=L(x,o);delete B.size,delete B.variant,delete B.radius;const H={root:ge.root,inputRoot:ge.input,listbox:ge.dropdown,option:ge.option},se=B.classNames;if(se&&typeof se=="object"&&!Array.isArray(se)){const $=se;H.root=$.wrapper?`${ge.root} ${$.wrapper}`:ge.root,H.inputRoot=$.input?`${ge.input} ${$.input}`:ge.input,H.listbox=$.dropdown?`${ge.dropdown} ${$.dropdown}`:ge.dropdown,H.option=$.option?`${ge.option} ${$.option}`:ge.option}const me=C?`${ge.layoutOverride} ${C}`:ge.layoutOverride;return c.jsx(Ae,{className:me,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:!!u,required:_,id:g,disabled:A,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:j!==void 0?j:O,readOnlyNativeProps:t,activeComponent:c.jsx(I.Autocomplete,{ref:r,freeSolo:!0,disableClearable:!0,classes:H,disabled:A,value:j,defaultValue:O,forcePopupIcon:!1,"data-error":u?"true":void 0,"data-disabled":A?"true":void 0,"data-with-left-section":z?"true":void 0,"data-with-right-section":W?"true":void 0,ListboxProps:{...T,className:H.listbox},options:M||[],renderInput:$=>{const{InputProps:k,...D}=$;return c.jsx(I.TextField,{...D,placeholder:l,variant:"standard"})}})})});Ro.displayName="Autocomplete";const Ws="Avatar-module__root___fXu-J",Bs="Avatar-module__iconWrapper___ojly2",Fs="Avatar-module__textWrapper___zp-jD",Ds="Avatar-module__image___ieqGp",Vs="Avatar-module__placeholder___IDW7-",Ne={root:Ws,iconWrapper:Bs,textWrapper:Fs,image:Ds,placeholder:Vs},jo=E.forwardRef(function({size:t="default",variant:r="solid",icon:o,children:n,src:s,overStyled:a=!1,...i},d){const p={solid:"filled",outline:"outline",ghost:"transparent"},m=L(i,a),h=m;let y="text";s?y="image":o&&(y="icon");const u={root:Ne.root,image:Ne.image,placeholder:Ne.placeholder},_=h.classNames;if(_&&typeof _=="object"&&!Array.isArray(_)){const g=_;u.root=g.root?`${Ne.root} ${g.root}`:Ne.root,u.image=g.image?`${Ne.image} ${g.image}`:Ne.image,u.placeholder=g.placeholder?`${Ne.placeholder} ${g.placeholder}`:Ne.placeholder}const f=h.className;return c.jsx(I.Avatar,{ref:d,className:f,classes:u,variant:p[r],src:s,"data-variant":r,"data-size":t,"data-style":y,...m,children:o!=null?c.jsx("span",{className:Ne.iconWrapper,"aria-hidden":!0,children:o}):n!=null?c.jsx("span",{className:Ne.textWrapper,children:n}):void 0})});jo.displayName="Avatar";const zs=jo,Gs="Badge-module__root___5osNT",Re={root:Gs},ko=E.forwardRef(function({variant:t="primary-color",overStyled:r=!1,...o},n){const s=L(o,r),a={root:Re.root,section:Re.section,label:Re.label},i=s.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const m=i;a.root=m.root?`${Re.root} ${m.root}`:Re.root,a.section=m.section??Re.section,a.label=m.label??Re.label}const d=s.className,p=d?`${Re.root} ${d}`:Re.root;return c.jsx(I.Badge,{ref:n,variant:"standard","data-variant":t,...s,className:p,classes:a})});ko.displayName="Badge";const Us=ko,qs=E.forwardRef(function(t,r){return c.jsx(I.Box,{ref:r,...t})}),Ys="Breadcrumb-module__root___x-9ln",Hs="Breadcrumb-module__separator___qrUX-",De={root:Ys,separator:Hs},Io=E.forwardRef(function({overStyled:t=!1,separator:r=">",...o},n){const s=L({separator:r,...o},t),a={root:De.root,separator:De.separator},i=s.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const m=i;a.root=m.root?`${De.root} ${m.root}`:De.root,a.separator=m.separator?`${De.separator} ${m.separator}`:De.separator}const d=s.className,p=d?`${De.root} ${d}`:De.root;return c.jsx(I.Breadcrumbs,{ref:n,...s,className:p,classes:a})});Io.displayName="Breadcrumb";const Ks="Loader-module__root___6iYOP",qr={root:Ks},$r=E.forwardRef(function({variant:t="oval",size:r="default",overStyled:o=!1,...n},s){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[r]||"default",d=L(n,o),p=d.className,m=p?`${qr.root} ${p}`:qr.root,h=()=>t==="bars"||t==="dots"?c.jsxs(c.Fragment,{children:[c.jsx("span",{}),c.jsx("span",{}),c.jsx("span",{})]}):null;return c.jsx("span",{ref:s,"data-variant":t,"data-size":i,...d,className:m,children:h()})});$r.displayName="Loader";const Xs="Button-module__root___Q2R8-",Qs="Button-module__labelText___rFV5p",Js="Button-module__iconWrapper___uEKPa",mt={root:Xs,labelText:Qs,iconWrapper:Js};function Zs(e){return e==null||e===""?!1:typeof e=="string"?e.trim()!=="":!0}const Mo=E.forwardRef(function({variant:t="solid",size:r="default",icon:o,children:n,overStyled:s=!1,loaderVariant:a="oval",loaderSize:i,useRecursicaLoader:d=!0,...p},m){const h=L(p,s),y=h;delete y.color;const u=!!o||!!y.startIcon,_=!!y.endIcon,f=Zs(n),g=(u||_)&&!f;let C="label";g?C="icon-only":(u||_)&&(C="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&g&&!y["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const N=y.className,A=N?`${mt.root} ${N}`:mt.root,w=i??(r==="small"?"small":"default");let v=y.loadingIndicator;return d&&(v=c.jsx($r,{variant:a,size:w})),c.jsx(I.Button,{ref:m,disableRipple:!0,disableElevation:!0,className:A,loading:!!y.loading,loadingIndicator:v,fullWidth:!!y.fullWidth,startIcon:y.loading?c.jsx("span",{className:mt.iconWrapper,"aria-hidden":!0,children:v}):o!=null?c.jsx("span",{className:mt.iconWrapper,"aria-hidden":!0,children:o}):void 0,"data-variant":t,"data-size":r,"data-content":C,...y.loading?{"data-loading":"true"}:{},...h,disabled:!!y.disabled||!!y.loading,children:c.jsx("span",{className:mt.labelText,children:n})})});Mo.displayName="Button";const ea="Card-module__root___c9KvZ",ta="Card-module__header___PTXf2",ra="Card-module__footer___Mu-JC",oa="Card-module__section___BRT8H",na="Card-module__content___oFIQa",Be={root:ea,header:ta,footer:ra,section:oa,content:na},Lo=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s={root:Be.root},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const d=a;Object.keys(d).forEach(p=>{s[p]?s[p]=`${s[p]} ${d[p]}`:s[p]=d[p]})}const i=n.className;return c.jsx(I.Card,{ref:o,className:i,classes:s,...n})});Lo.displayName="Card";const Sr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Be.section} ${s}`:Be.section,...n})});Sr.displayName="CardSection";const Tr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Be.header} ${s}`:Be.header,...n})});Tr.displayName="CardHeader";const wr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Be.footer} ${s}`:Be.footer,...n})});wr.displayName="CardFooter";const Nr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Be.content} ${s}`:Be.content,...n})});Nr.displayName="CardContent";const Wo=Lo,Ft=Wo;Ft.Section=Sr;Ft.Header=Tr;Ft.Footer=wr;Ft.Content=Nr;const sa=Wo,aa="Checkbox-module__groupRoot___cBS0o",ia="Checkbox-module__root___mY3qk",la="Checkbox-module__body___5yC7q",ca="Checkbox-module__inner___rTke4",da="Checkbox-module__input___2kt-h",ua="Checkbox-module__inputChecked___zaCIH",pa="Checkbox-module__inputIndeterminate___CVPhn",fa="Checkbox-module__icon___-O7i6",ma="Checkbox-module__labelWrapper___GpZkr",ha="Checkbox-module__label___cwRtI",ya="Checkbox-module__description___rMhG1",_a="Checkbox-module__error___E-bmD",le={groupRoot:aa,root:ia,body:la,inner:ca,input:da,inputChecked:ua,inputIndeterminate:pa,icon:fa,labelWrapper:ma,label:ha,description:ya,error:_a},Bo=E.createContext(null),Er=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,className:C,style:N,children:A,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,value:j,defaultValue:O,onChange:M,row:z,...W}=t,l=L(W,o),T=l;delete T.size;const x=(P,B)=>{M&&M(B)};return c.jsx(Ae,{className:C,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,readOnly:w&&!!v,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:j!==void 0?j:O,readOnlyNativeProps:t,activeComponent:c.jsx(Bo.Provider,{value:{value:j!==void 0?j:O,onChange:x,name:T.name,readOnly:w||!!T.disabled},children:c.jsx(I.FormGroup,{ref:r,row:z,...l,className:`${le.groupRoot} ${l.className||""}`.trim(),"data-layout":n,children:A})})})});Er.displayName="CheckboxGroup";const Or=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=L(f,o),C=g;delete C.size,delete C.color;const N={root:le.root,checked:le.checked,disabled:le.disabled},A=C.classes;if(A&&typeof A=="object"&&!Array.isArray(A)){const x=A;N.root=x.root?`${le.root} ${x.root}`:le.root,N.checked=x.checked?`${le.checked} ${x.checked}`:le.checked,N.disabled=x.disabled?`${le.disabled} ${x.disabled}`:le.disabled}const w=C.className,v=w?`${le.root} ${w}`:le.root,S=E.useContext(Bo),j=S!==null,O=j?S.readOnly:!1,M=j?(S.value||[]).includes(C.value):!!(C.checked??C.defaultChecked);if(n&&s){const x=s,P=c.jsx(x,{...t,checked:M,label:h});return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:P}):c.jsx(c.Fragment,{children:P})}const z=x=>{if(j){const P=x.target.checked?[...S.value||[],C.value]:(S.value||[]).filter(B=>B!==C.value);S.onChange&&S.onChange(x,P)}else C.onChange&&C.onChange(x,x.target.checked)},W=x=>c.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...x,children:c.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),l=c.jsx(I.Checkbox,{ref:r,className:h?le.inner:`${v} ${le.inner}`,classes:N,disabled:n||a||O,...g,checked:M,onChange:z,sx:h?{padding:0}:void 0,icon:c.jsx("div",{className:le.input}),checkedIcon:c.jsx("div",{className:`${le.input} ${le.inputChecked}`,children:c.jsx(W,{className:le.icon})}),indeterminateIcon:c.jsx("div",{className:`${le.input} ${le.inputIndeterminate}`,children:c.jsx("svg",{className:le.icon,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",children:c.jsx("rect",{x:"6",y:"14",width:"20",height:"4",fill:"currentColor"})})})}),T=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:le.body,children:[l,c.jsxs("div",{className:le.labelWrapper,children:[c.jsx("label",{className:le.label,htmlFor:C.id,"data-disabled":n||a||O?!0:void 0,children:h}),y&&c.jsx("div",{className:le.description,"data-disabled":n||a||O?!0:void 0,children:y}),u&&c.jsx("div",{className:le.error,"data-disabled":n||a||O?!0:void 0,children:u})]})]})}):c.jsx("div",{className:v,style:_,children:l});return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:T}):T});Or.displayName="Checkbox";Or.Group=Er;const ga="Chip-module__root___f5pFk",ba="Chip-module__label___Ov9pg",va="Chip-module__mantineIconWrapper___KLSz6",xa="Chip-module__innerWrapper___EnrTF",Ca="Chip-module__children___zbRAR",$a="Chip-module__leadingIcon___JBtjQ",Sa="Chip-module__removeIconWrapper___VOO7u",_e={root:ga,label:ba,mantineIconWrapper:va,innerWrapper:xa,children:Ca,leadingIcon:$a,removeIconWrapper:Sa};function Ta(e){return c.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",...e,children:[c.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),c.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function wa(e){return c.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:c.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}const Fo=E.forwardRef(function({error:t=!1,icon:r,onRemove:o,removeLabel:n="Remove",children:s,checked:a,overStyled:i=!1,...d},p){const m=L(d,i),h=m,y={root:_e.root,label:_e.label,icon:_e.leadingIcon,deleteIcon:_e.removeIconWrapper},u=h.classNames;if(u&&typeof u=="object"&&!Array.isArray(u)){const A=u;y.root=A.root?`${_e.root} ${A.root}`:_e.root,y.label=A.label?`${_e.label} ${A.label}`:_e.label}const _=h.className,f=_?`${_e.root} ${_}`:_e.root,g=t?"":void 0,C=a?"":void 0,N=!s&&(!!r||!!o);return c.jsx(I.Chip,{ref:p,className:f,classes:y,...g!==void 0?{"data-error":""}:{},...C!==void 0?{"data-checked":""}:{},...N?{"data-icon-only":""}:{},...m,icon:a?c.jsx("span",{className:_e.mantineIconWrapper,"aria-hidden":!0,children:c.jsx(wa,{})}):r?c.jsx("span",{className:_e.leadingIcon,"aria-hidden":!0,children:r}):void 0,onDelete:o,deleteIcon:o?c.jsx("span",{className:_e.removeIconWrapper,children:c.jsx(Ta,{})}):void 0,label:c.jsx("span",{className:_e.innerWrapper,children:c.jsx("span",{className:_e.children,children:s})})})});Fo.displayName="Chip";const Do=E.forwardRef(function({children:t,size:r,...o},n){const s={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},a=typeof r=="string"&&s[r]?s[r]:r;return c.jsx(I.Container,{ref:n,maxWidth:a,...o,children:t})});Do.displayName="Container";const Na=e=>c.jsx("div",{...e,children:"DatePicker"}),Ea="Dropdown-module__layoutOverride___FNcvP",Oa="Dropdown-module__root___uVyL0",Aa="Dropdown-module__input___dK4dN",Pa="Dropdown-module__dropdown___gG-Sw",Ra="Dropdown-module__option___nAGU-",Ve={layoutOverride:Ea,root:Oa,input:Aa,dropdown:Pa,option:Ra},Vo=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",containerWidth:s,labelSize:a,labelAlignment:i,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:m,label:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,withAsterisk:g,id:C,className:N,style:A,disabled:w,readOnly:v,readOnlyComponent:S,emptyValueComponent:j,value:O,defaultValue:M,data:z,searchable:W,clearable:l,...T}=t,x=L(T,o),P=x;delete P.size,delete P.variant;const B={...A||{},width:s||"100%"},H=N?`${Ve.layoutOverride} ${N}`:Ve.layoutOverride,se=()=>z?z.map((me,$)=>typeof me=="string"?c.jsx(I.MenuItem,{value:me,className:Ve.option,children:me},`${me}-${$}`):c.jsx(I.MenuItem,{value:me.value,disabled:me.disabled,className:Ve.option,children:me.label},`${me.value}-${$}`)):null;return c.jsx(Ae,{className:H,style:B,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:o,formLayout:n,labelSize:a,labelAlignment:i,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:m,label:h,assistiveText:y,assistiveWithIcon:u,error:!!_,required:f,id:C,readOnly:v,readOnlyComponent:S,emptyValueComponent:j,readOnlyType:"text",readOnlyValue:O!==void 0?String(O):M?String(M):void 0,readOnlyNativeProps:t,activeComponent:c.jsx(I.Select,{ref:r,disabled:w,value:O,defaultValue:M,error:!!_,required:f,displayEmpty:!0,className:Ve.root,classes:{select:Ve.input,icon:Ve.icon},MenuProps:{classes:{paper:Ve.dropdown}},inputProps:{"data-disabled":w?"true":void 0,"data-error":_?"true":void 0,...P.inputProps},...x,children:se()})})});Vo.displayName="Dropdown";const ja=e=>c.jsx("div",{...e,children:"FileInput"}),ka=e=>c.jsx("div",{...e,children:"FileUpload"}),zo=E.forwardRef(function({children:t,gap:r="rec-default",rowGap:o,columnGap:n,direction:s,align:a,justify:i,wrap:d,...p},m){const h=gr(p),y=typeof r=="string"&&r in ye?ye[r]:r,u=typeof o=="string"&&o in ye?ye[o]:o,_=typeof n=="string"&&n in ye?ye[n]:n;return c.jsx(I.Box,{ref:m,display:"flex",...h,gap:y,rowGap:u,columnGap:_,flexDirection:s,alignItems:a,justifyContent:i,flexWrap:d,children:t})});zo.displayName="Flex";const Go=E.forwardRef(function({children:t,gap:r="rec-default",rowGap:o,columnGap:n,justify:s,align:a,wrap:i,...d},p){const m=gr(d),h=typeof r=="string"&&r in ye?ye[r]:r,y=typeof o=="string"&&o in ye?ye[o]:o,u=typeof n=="string"&&n in ye?ye[n]:n;return c.jsx(I.Stack,{ref:p,direction:"row",flexWrap:i||"wrap",justifyContent:s,alignItems:a,spacing:h,sx:{...y?{rowGap:y}:{},...u?{columnGap:u}:{}},...m,children:t})});Go.displayName="Group";const Ia="HoverCard-module__dropdown___FBPFW",Ma="HoverCard-module__arrow___S9AkE",Yr={dropdown:Ia,arrow:Ma},Uo=function({overStyled:t=!1,withBeak:r=!0,position:o="top",openDelay:n=0,closeDelay:s=150,disabled:a=!1,offset:i=5,children:d,...p}){const m=L(p,t),h={tooltip:Yr.dropdown,arrow:Yr.arrow},y=m.classNames;if(y&&typeof y=="object"&&!Array.isArray(y)){const f=y;Object.keys(f).forEach(g=>{h[g]?h[g]=`${h[g]} ${f[g]}`:h[g]=f[g]})}let u=null,_=null;return E.Children.forEach(d,f=>{var g,C;if(E.isValidElement(f)){const N=f;((g=N.type)==null?void 0:g.displayName)==="HoverCardTarget"?u=N.props.children:((C=N.type)==null?void 0:C.displayName)==="HoverCardDropdown"&&(_=N.props.children)}}),u||(u=c.jsx("div",{})),_||(_=c.jsx("div",{})),c.jsx(I.Tooltip,{title:_,placement:o,arrow:r,enterDelay:n,leaveDelay:s,disableHoverListener:a,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[0,i]}}]}},classes:h,...m,children:E.isValidElement(u)?u:c.jsx("span",{children:u})})};Uo.displayName="HoverCard";const qo=function({children:t}){return c.jsx(c.Fragment,{children:t})};qo.displayName="HoverCardTarget";const Yo=function({children:t}){return c.jsx(c.Fragment,{children:t})};Yo.displayName="HoverCardDropdown";const Ar=Uo;Ar.Target=qo;Ar.Dropdown=Yo;const La="Link-module__root___I0VGE",Wa="Link-module__iconWrapper___W-LlF",Ba="Link-module__labelText___wSvUy",Nt={root:La,iconWrapper:Wa,labelText:Ba},Ho=E.forwardRef(function({icon:t,children:r,overStyled:o=!1,...n},s){const a=L(n,o),d=a.className,p=d?`${Nt.root} ${d}`:Nt.root;return c.jsxs(I.Link,{ref:s,className:p,underline:"none",...t?{"data-has-icon":""}:{},...a,children:[t&&c.jsx("span",{className:Nt.iconWrapper,"aria-hidden":!0,children:t}),c.jsx("span",{className:Nt.labelText,children:r})]})});Ho.displayName="Link";const Fa="Menu-module__dropdown___j4xuA",Da="Menu-module__item___NMXha",Va="Menu-module__divider___wPiNq",gt={dropdown:Fa,item:Da,divider:Va},Ko=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=L(o,t);return c.jsx(I.Menu,{ref:n,className:`${gt.dropdown} ${r||""}`,classes:{paper:gt.dropdown,list:gt.dropdown},...s})});Ko.displayName="Menu";const Xo=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=L(o,t);return c.jsx(I.MenuItem,{ref:n,className:`${gt.item} ${r||""}`,...s})});Xo.displayName="MenuItem";const Qo=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=L(o,t);return c.jsx(I.Divider,{ref:n,className:`${gt.divider} ${r||""}`,...s})});Qo.displayName="MenuDivider";const za="Modal-module__root___ytPLl",Ga="Modal-module__inner___SSUJE",Ua="Modal-module__content___dWO-B",qa="Modal-module__header___ILG9i",Ya="Modal-module__title___A5OeE",Ha="Modal-module__scrollArea___KD-hm",Ka="Modal-module__footer___rro2w",Xa="Modal-module__close___-ER1C",Ie={root:za,inner:Ga,content:Ua,header:qa,title:Ya,scrollArea:Ha,footer:Ka,close:Xa},Qa=()=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M18 6L6 18M6 6l12 12"})}),Jo=E.forwardRef(function({overStyled:t=!1,opened:r=!1,withCloseButton:o=!0,title:n,children:s,onClose:a,className:i,...d},p){const m=L(d,t);let h=null;const y=[];return E.Children.forEach(s,u=>{var _;E.isValidElement(u)&&(u.type===Rr||((_=u.type)==null?void 0:_.displayName)==="Modal.Footer")?h=u:y.push(u)}),c.jsxs(I.Dialog,{ref:p,className:`${Ie.root} ${i||""}`,classes:{paper:Ie.inner},...m,open:r||m.open,onClose:a,children:[(n||o)&&c.jsxs("div",{className:Ie.header,children:[n&&c.jsx("div",{className:Ie.title,children:n}),o&&c.jsx(I.IconButton,{onClick:u=>a==null?void 0:a(u,"backdropClick"),className:Ie.close,children:c.jsx(Qa,{})})]}),c.jsx(Pr,{children:y}),h]})});Jo.displayName="Modal";const Zo=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=L(o,t);return c.jsx(I.DialogTitle,{ref:n,className:`${Ie.title} ${r||""}`,...s})});Zo.displayName="Modal.Title";const Pr=E.forwardRef(function({overStyled:t=!1,className:r,children:o,...n},s){const a=L(n,t),i=E.useRef(null),[d,p]=E.useState(!1),[m,h]=E.useState(!1),y=E.useCallback(()=>{if(i.current){const{scrollTop:u,scrollHeight:_,clientHeight:f}=i.current;p(u>0),h(Math.ceil(u+f)<_)}},[]);return E.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y,o]),c.jsx(I.DialogContent,{ref:u=>{typeof s=="function"?s(u):s&&(s.current=u),i&&(i.current=u)},onScroll:()=>y(),"data-scrolled-top":d||void 0,"data-scrolled-bottom":m||void 0,className:`${Ie.content} ${Ie.scrollArea} ${r||""}`,...a,children:o})});Pr.displayName="Modal.Body";const Rr=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=L(o,t);return c.jsx(I.DialogActions,{ref:n,className:`${Ie.footer} ${r||""}`,...s})});Rr.displayName="Modal.Footer";const Dt=Jo;Dt.Title=Zo;Dt.Body=Pr;Dt.Footer=Rr;const Ja="NumberInput-module__layoutOverride___5-9T4",Za="NumberInput-module__root___C6rAn",ei="NumberInput-module__input___Ss8p7",ti="NumberInput-module__section___MijP0",ri="NumberInput-module__controls___8UfQ2",oi="NumberInput-module__control___Qre9-",Qe={layoutOverride:Ja,root:Za,input:ei,section:ti,controls:ri,control:oi},en=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,className:g,style:C,disabled:N,readOnly:A,readOnlyComponent:w,emptyValueComponent:v,value:S,defaultValue:j,hideControls:O=!1,...M}=t,z=L(M,o),W=z;delete W.size,delete W.variant,delete W.radius;const l={wrapper:Qe.root,input:Qe.input,section:Qe.section,controls:Qe.controls,control:Qe.control},T=g?`${Qe.layoutOverride} ${g}`:Qe.layoutOverride;return c.jsx(Ae,{className:T,style:C,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,readOnly:A,readOnlyComponent:w,emptyValueComponent:v,readOnlyType:"text",readOnlyValue:S!==void 0?S==null?void 0:S.toString():j==null?void 0:j.toString(),readOnlyNativeProps:t,activeComponent:c.jsx(I.TextField,{ref:r,classes:l,disabled:N,value:S,defaultValue:j,label:void 0,error:void 0,required:void 0,...z})})});en.displayName="NumberInput";const ni="Pagination-module__root___ITRjt",ze={root:ni};function si(e){const t={root:ze.root,ul:ze.ul},r=e.classNames;if(r&&typeof r=="object"&&!Array.isArray(r)){const s=r;t.root=s.root?`${ze.root} ${s.root}`:ze.root,t.ul=s.ul?`${ze.ul} ${s.ul}`:ze.ul}const o=e.className;return{className:o?`${ze.root} ${o}`:ze.root,classNames:t}}const tn=E.forwardRef(function({overStyled:t=!1,withLabels:r,...o},n){const s=L(o,t),a=si(s);return c.jsx("div",{ref:n,className:a.className,children:c.jsx(I.Pagination,{classes:a.classNames,...s})})});tn.displayName="Pagination";const ai=tn,ii="Panel-module__content___wdGo-",li="Panel-module__inner___ruA2b",ci="Panel-module__header___o7SiC",di="Panel-module__title___181OP",ui="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",pi="Panel-module__body___SEC3T",fi="Panel-module__footer___t6-hz",qe={content:ii,inner:li,header:ci,title:di,titleTruncate:ui,body:pi,footer:fi},rn=function({overStyled:t=!1,position:r="right",keepMounted:o=!0,wrapHeaderText:n=!1,...s}){const a=L(s,t),i={content:qe.content,header:qe.header,title:n?qe.titleTruncate:qe.title,body:qe.body,inner:qe.inner},d=a.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const p=d;Object.keys(p).forEach(m=>{i[m]?i[m]=`${i[m]} ${p[m]}`:i[m]=p[m]})}return c.jsx(I.Drawer,{anchor:r,keepMounted:o,open:!!s.opened,...a,classes:i})};rn.displayName="Panel";const jr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s=n.className,a=s?`${qe.footer} ${s}`:qe.footer;return c.jsx("div",{ref:o,className:a,...n})});jr.displayName="PanelFooter";const on=rn;on.Footer=jr;const mi="Radio-module__groupRoot___bfUii",hi="Radio-module__root___kAjTD",yi="Radio-module__body___q2Wpj",_i="Radio-module__inner___QaTBB",gi="Radio-module__radio___MfgN-",bi="Radio-module__icon___DWznm",vi="Radio-module__labelWrapper___dB0Gi",xi="Radio-module__label___vAFIP",Ci="Radio-module__description___bEB8u",$i="Radio-module__error___wem7t",te={groupRoot:mi,root:hi,body:yi,inner:_i,radio:gi,icon:bi,labelWrapper:vi,label:xi,description:Ci,error:$i},nn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,className:C,style:N,children:A,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,value:j,defaultValue:O,...M}=t,z=L(M,o),W=z;return delete W.size,c.jsx(Ae,{className:C,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,id:g,readOnly:w&&!!v,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:j!==void 0?j:O,readOnlyNativeProps:t,activeComponent:c.jsx(I.RadioGroup,{ref:r,...z,value:j,defaultValue:O,className:te.groupRoot,"data-layout":n,children:A})})});nn.displayName="RadioGroup";const Hr=({className:e,style:t})=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:e,style:t,children:c.jsx("circle",{cx:"8",cy:"8",r:"5"})}),kr=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=L(f,o),C=g;delete C.size,delete C.color;const N={root:te.root,body:te.body,inner:te.inner,radio:te.radio,icon:te.icon,labelWrapper:te.labelWrapper,label:te.label},A=C.classNames;if(A&&typeof A=="object"&&!Array.isArray(A)){const O=A;N.root=O.root?`${te.root} ${O.root}`:te.root,N.body=O.body?`${te.body} ${O.body}`:te.body,N.inner=O.inner?`${te.inner} ${O.inner}`:te.inner,N.radio=O.radio?`${te.radio} ${O.radio}`:te.radio,N.icon=O.icon?`${te.icon} ${O.icon}`:te.icon,N.labelWrapper=O.labelWrapper?`${te.labelWrapper} ${O.labelWrapper}`:te.labelWrapper,N.label=O.label?`${te.label} ${O.label}`:te.label}const w=C.className,v=w?`${te.root} ${w}`:te.root;if(n&&s){const O=!!(C.checked??C.defaultChecked),M=s,z=c.jsx(M,{...t,checked:O,label:C.label});return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:z}):c.jsx(c.Fragment,{children:z})}const S=c.jsx(I.Radio,{ref:r,icon:c.jsx(Hr,{}),checkedIcon:c.jsx(Hr,{className:te.checked}),className:v,classes:N,disabled:n||a,...g}),j=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:te.body,children:[S,c.jsxs("div",{className:te.labelWrapper,children:[c.jsx("label",{className:te.label,htmlFor:C.id,"data-disabled":n||a?!0:void 0,children:h}),y&&c.jsx("div",{className:te.description,"data-disabled":n||a?!0:void 0,children:y}),u&&c.jsx("div",{className:te.error,"data-disabled":n||a?!0:void 0,children:u})]})]})}):S;return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:j}):j});kr.displayName="Radio";kr.Group=nn;const Si="SegmentedControl-module__root___JFRhg",Ti="SegmentedControl-module__label___mS17q",wi="SegmentedControl-module__control___znOdQ",be={root:Si,label:Ti,control:wi};function Ni(e){const t={root:be.root,control:be.control,label:be.label,indicator:be.indicator},r=e.classNames;if(r&&typeof r=="object"&&!Array.isArray(r)){const s=r;t.root=s.root?`${be.root} ${s.root}`:be.root,t.control=s.control?`${be.control} ${s.control}`:be.control,t.label=s.label?`${be.label} ${s.label}`:be.label,t.indicator=s.indicator?`${be.indicator} ${s.indicator}`:be.indicator}const o=e.className;return{className:o?`${be.root} ${o}`:be.root,classNames:t}}const sn=E.forwardRef(function({overStyled:t=!1,orientation:r="horizontal",fullWidth:o,data:n=[],value:s,onChange:a,...i},d){const p=L(i,t),m=p;delete m.disabled;const h=Ni(m),y=(u,_)=>{_!==null&&a&&a(_)};return c.jsx(I.ToggleButtonGroup,{ref:d,className:h.className,classes:h.classNames,orientation:r,fullWidth:o,"data-orientation":r,exclusive:!0,value:s,onChange:y,...p,children:n.map(u=>{const _=typeof u=="string"?u:u.value,f=typeof u=="string"?u:u.label,g=typeof u=="string"?!1:u.disabled;return c.jsx(I.ToggleButton,{value:_,disabled:g,className:h.classNames.control,children:c.jsx("div",{className:h.classNames.label,children:f})},_)})})});sn.displayName="SegmentedControl";const Ei=sn,Oi="Slider-module__layoutOverride___zYPun",Ai="Slider-module__sliderContainer___y8I0J",Pi="Slider-module__sliderTrackWrapper___UHpVh",Ri="Slider-module__iconWrapper___uqHpC",ji="Slider-module__sliderRoot___LI86H",ki="Slider-module__sliderTrack___oqnlG",Ii="Slider-module__sliderBar___TI4VY",Mi="Slider-module__sliderThumb___OFn8p",Li="Slider-module__sliderMark___1lM2B",Wi="Slider-module__sliderTooltip___J1Aqb",Bi="Slider-module__minMaxGuide___TaGqz",Fi="Slider-module__rightGuideContainer___8dOT8",Di="Slider-module__currentValue___dGV2T",Vi="Slider-module__inputField___6x578",zi="Slider-module__readOnlyValue___-ZzMW",re={layoutOverride:Oi,sliderContainer:Ai,sliderTrackWrapper:Pi,iconWrapper:Ri,sliderRoot:ji,sliderTrack:ki,sliderBar:Ii,sliderThumb:Mi,sliderMark:Li,sliderTooltip:Wi,minMaxGuide:Bi,rightGuideContainer:Fi,currentValue:Di,inputField:Vi,readOnlyValue:zi},Gi=({value:e})=>c.jsx("div",{className:re.readOnlyValue,children:e}),an=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:m,label:h,tooltipLabel:y,assistiveText:u,assistiveWithIcon:_,error:f,required:g,withAsterisk:C,id:N,className:A,style:w,disabled:v,readOnly:S,readOnlyComponent:j,emptyValueComponent:O,value:M,defaultValue:z,icon:W,showInput:l=!1,showMinMaxLabels:T=!0,min:x=0,max:P=100,step:B=1,onChange:H,onChangeEnd:se,...me}=t,[$,k]=E.useState(()=>M!==void 0?Array.isArray(M)?M[0]:M:z!==void 0?Array.isArray(z)?z[0]:z:x),D=M!==void 0?Array.isArray(M)?M[0]:M:$,[q,V]=E.useState(D.toString());E.useEffect(()=>{V(D.toString())},[D]);const K=(fe,Pe)=>{const pt=Array.isArray(Pe)?Pe[0]:Pe;M===void 0&&k(pt),H==null||H(pt)},U=fe=>{const Pe=fe.target.value;V(Pe);const pt=parseFloat(Pe);if(!isNaN(pt)){const Zn=Math.max(x,Math.min(P,pt));K(null,Zn)}},Y=()=>{V(D.toString())},X=L(me,o),Q=X;delete Q.size,delete Q.color,delete Q.wrapperProps;const G={root:re.sliderRoot,rail:re.sliderTrack,track:re.sliderBar,thumb:re.sliderThumb,mark:re.sliderMark,markLabel:re.sliderMarkLabel,valueLabel:re.sliderTooltip},he=Q.classNames;if(he&&typeof he=="object"&&!Array.isArray(he)){const fe=he;G.root=fe.root?`${re.sliderRoot} ${fe.root}`:re.sliderRoot,G.rail=fe.track?`${re.sliderTrack} ${fe.track}`:re.sliderTrack,G.track=fe.bar?`${re.sliderBar} ${fe.bar}`:re.sliderBar,G.thumb=fe.thumb?`${re.sliderThumb} ${fe.thumb}`:re.sliderThumb,G.mark=fe.mark?`${re.sliderMark} ${fe.mark}`:re.sliderMark,G.markLabel=fe.markLabel?`${re.sliderMarkLabel} ${fe.markLabel}`:re.sliderMarkLabel}const R=A?`${re.layoutOverride} ${A}`:re.layoutOverride,$e=W?c.jsx("span",{className:re.iconWrapper,"aria-hidden":!0,children:W}):null;return c.jsx(Ae,{ref:r,className:R,style:w,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:m,label:h,assistiveText:u,assistiveWithIcon:_,error:f,required:g,id:N,readOnly:S,readOnlyComponent:j||Gi,emptyValueComponent:O,readOnlyType:"text",readOnlyValue:D,readOnlyNativeProps:{value:D},activeComponent:c.jsxs("div",{className:re.sliderContainer,"data-form-layout":n,"data-disabled":v?"true":void 0,"data-error":f?"true":void 0,children:[$e,T&&c.jsx("span",{className:re.minMaxGuide,children:x}),c.jsx("div",{className:re.sliderTrackWrapper,children:c.jsx(I.Slider,{classes:G,disabled:v,value:D,onChange:K,onChangeCommitted:se,min:x,max:P,step:B,valueLabelDisplay:y===null?"off":"auto",valueLabelFormat:typeof y=="function"?y:void 0,...X})}),c.jsxs("div",{className:re.rightGuideContainer,children:[!l&&c.jsx("span",{className:re.currentValue,children:D}),T&&c.jsx("span",{className:re.minMaxGuide,children:P})]}),l&&c.jsx("input",{type:"number",className:re.inputField,value:q,onChange:U,onBlur:Y,min:x,max:P,step:B??void 0,disabled:v,"data-error":f?"true":void 0})]})})});an.displayName="Slider";const ln=E.forwardRef(function({children:t,gap:r="rec-default",...o},n){const s=gr(o),a=typeof r=="string"&&r in ye?ye[r]:r;return c.jsx(I.Stack,{ref:n,spacing:a,...s,children:t})});ln.displayName="Stack";const Ui="Stepper-module__root___jbSYO",qi="Stepper-module__horizontal___USHT1",Yi="Stepper-module__steps___4HPO6",Hi="Stepper-module__step___s2nqL",Ki="Stepper-module__stepLabel___N6nuy",Xi="Stepper-module__stepDescription___DnDAy",Qi="Stepper-module__separator___pU0No",Ji="Stepper-module__vertical___d4mOs",Zi="Stepper-module__large___J18-y",el="Stepper-module__small___Ub-zb",tl="Stepper-module__stepIcon___YQHNq",rl="Stepper-module__verticalSeparator___frWc1",Se={root:Ui,horizontal:qi,steps:Yi,step:Hi,stepLabel:Ki,stepDescription:Xi,separator:Qi,vertical:Ji,large:Zi,small:el,stepIcon:tl,verticalSeparator:rl},cn=E.forwardRef(function(t,r){const{overStyled:o=!1,size:n="large",orientation:s="horizontal",className:a,style:i,...d}=t,p=L(d,o);return c.jsx("div",{className:`${Se.root} ${s==="horizontal"?Se.horizontal:Se.vertical} ${n==="large"?Se.large:Se.small} ${a||""}`,style:i,"data-size":n,"data-orientation":s,children:c.jsx(I.Stepper,{ref:r,orientation:s,connector:c.jsx(I.StepConnector,{classes:{root:s==="horizontal"?Se.separator:Se.verticalSeparator}}),classes:{root:Se.steps},...p})})});cn.displayName="Stepper";const dn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(I.Step,{ref:r,classes:{root:Se.step},className:n||"",...L(s,o)})});dn.displayName="Step";const un=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(I.StepButton,{ref:r,className:n||"",...L(s,o)})});un.displayName="StepButton";const pn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,description:s,...a}=t;return c.jsx(I.StepLabel,{ref:r,className:n||"",classes:{label:Se.stepLabel,iconContainer:Se.stepIcon},optional:s?c.jsx("div",{className:Se.stepDescription,children:s}):a.optional,...L(a,o)})});pn.displayName="StepLabel";const fn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(I.StepConnector,{ref:r,className:n||"",...L(s,o)})});fn.displayName="StepConnector";const ol="Switch-module__root___Y5Ydi",nl="Switch-module__body___Sw9Wr",sl="Switch-module__track___7ObdZ",al="Switch-module__thumb___-FTeK",il="Switch-module__labelWrapper___YSOwx",ll="Switch-module__label___LrH7V",cl="Switch-module__description___CClza",dl="Switch-module__error___OSPrU",J={root:ol,body:nl,track:sl,thumb:al,labelWrapper:il,label:ll,description:cl,error:dl},mn=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=L(f,o),C=g;delete C.size,delete C.color,delete C.radius,delete C.variant;const N={root:J.root,body:J.body,track:J.track,thumb:J.thumb,trackLabel:J.trackLabel,labelWrapper:J.labelWrapper,label:J.label},A=C.classNames;if(A&&typeof A=="object"&&!Array.isArray(A)){const O=A;N.root=O.root?`${J.root} ${O.root}`:J.root,N.body=O.body?`${J.body} ${O.body}`:J.body,N.track=O.track?`${J.track} ${O.track}`:J.track,N.thumb=O.thumb?`${J.thumb} ${O.thumb}`:J.thumb,N.trackLabel=O.trackLabel?`${J.trackLabel} ${O.trackLabel}`:J.trackLabel,N.labelWrapper=O.labelWrapper?`${J.labelWrapper} ${O.labelWrapper}`:J.labelWrapper,N.label=O.label?`${J.label} ${O.label}`:J.label}const w=C.className,v=w?`${J.root} ${w}`:J.root;if(n&&s){const O=!!(C.checked??C.defaultChecked),M=s,z=c.jsx(M,{...t,checked:O,label:C.label});return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:z}):c.jsx(c.Fragment,{children:z})}const S=c.jsx(I.Switch,{ref:r,className:h?J.inner:`${v} ${J.inner}`,classes:N,disabled:n||a,"data-disabled":n||a||void 0,...g}),j=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:J.body,children:[S,c.jsxs("div",{className:J.labelWrapper,children:[c.jsx("label",{className:J.label,htmlFor:C.id,"data-disabled":n||a?!0:void 0,children:h}),y&&c.jsx("div",{className:J.description,"data-disabled":n||a?!0:void 0,children:y}),u&&c.jsx("div",{className:J.error,"data-disabled":n||a?!0:void 0,children:u})]})]})}):S;return i?c.jsx(We,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:j}):j});mn.displayName="Switch";const ul=e=>c.jsx("div",{...e,children:"Table"}),pl="Tabs-module__root___-VKVI",fl="Tabs-module__list___qRVME",ml="Tabs-module__tab___IdDYc",hl="Tabs-module__panel___08i9c",bt={root:pl,list:fl,tab:ml,panel:hl};function yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Et={exports:{}},Ot={exports:{}},Z={};/** @license React v16.13.1
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),E=require("react"),k=require("@mui/material"),ls=require("@emotion/react"),cs=require("@emotion/styled");var cr=typeof document<"u"?document.currentScript:null;function ds(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const xe=ds(E),us=["className","classes","style","sx","color","bgcolor","backgroundColor","typography","fontFamily","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","border","borderTop","borderBottom","borderLeft","borderRight","borderColor","borderRadius","boxShadow","display","position","zIndex"],ps=new Set(["m","my","mx","mt","mb","ml","mr","p","py","px","pt","pb","pl","pr","gap","rowGap","columnGap","top","left","bottom","right"]),_e={"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 Tr(e){const t={...e};return"sx"in t&&delete t.sx,t}function W(e,t){if(t)return e;const r={...e};for(const o of us)o in r&&delete r[o];for(const[o,n]of Object.entries(r))typeof n=="string"&&n.startsWith("rec-")&&ps.has(o)&&n in _e&&(r[o]=_e[n]);return r}const fs="Accordion-module__root___Dem6d",ms="Accordion-module__item___7ryVk",hs="Accordion-module__noDivider___Ni2tT",ys="Accordion-module__control___b4wgX",_s="Accordion-module__label___Ss7uW",gs="Accordion-module__chevron___i-HVZ",bs="Accordion-module__iconLeftWrapper___5oLen",vs="Accordion-module__panel___Wx50w",xs="Accordion-module__content___PEM9t",We={root:fs,item:ms,noDivider:hs,control:ys,label:_s,chevron:gs,iconLeftWrapper:bs,panel:vs,content:xs},Cs=()=>c.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{width:"100%",height:"100%"},children:c.jsx("polyline",{points:"6 9 12 15 18 9"})}),Mo=E.createContext(null),Lo=E.forwardRef(function({variant:t="unstyled",overStyled:r=!1,value:o,defaultValue:n,onChange:s,multiple:a=!1,children:i,...d},p){const m=W(d,r),h=m.className,y=[We.root,h].filter(Boolean).join(" ")||void 0,[u,_]=E.useState(n!==void 0?n:a?[]:null),f=o!==void 0?o:u,g=C=>{let w;if(a){const A=Array.isArray(f)?f:f?[f]:[];w=A.includes(C)?A.filter(T=>T!==C):[...A,C]}else w=f===C?null:C;_(w),s==null||s(w)};return c.jsx(Mo.Provider,{value:{value:f,onChange:g},children:c.jsx("div",{ref:p,className:y,"data-variant":t,...m,children:i})})});Lo.displayName="Accordion";const wr=E.forwardRef(function({title:t,leftIcon:r,divider:o=!0,children:n,value:s,overStyled:a=!1,style:i,...d},p){const m=W(d,a),h=m.className,y=[We.item,o?void 0:We.noDivider,h].filter(Boolean).join(" ")||void 0,u=E.useContext(Mo),_=u?Array.isArray(u.value)?u.value.includes(s):u.value===s:void 0,f=()=>{u==null||u.onChange(s)},g={backgroundColor:"transparent",...i};return c.jsx(k.Accordion,{ref:p,className:y,disableGutters:!0,elevation:0,square:!0,expanded:_,onChange:f,style:g,...m,children:t?c.jsxs(c.Fragment,{children:[c.jsx(Dt,{leftIcon:r,children:t}),c.jsx(Vt,{children:n})]}):n})});wr.displayName="AccordionItem";const Dt=E.forwardRef(function({leftIcon:t,children:r,overStyled:o=!1,...n},s){const a=W(n,o),i=a.className,d=[We.control,i].filter(Boolean).join(" ")||void 0;return c.jsxs(k.AccordionSummary,{ref:s,className:d,expandIcon:c.jsx("span",{className:We.chevron,children:c.jsx(Cs,{})}),...a,children:[t&&c.jsx("span",{className:We.iconLeftWrapper,"aria-hidden":!0,children:t}),c.jsx("div",{className:We.label,children:r})]})});Dt.displayName="AccordionControl";const Vt=E.forwardRef(function({overStyled:t=!1,children:r,...o},n){const s=W(o,t),a=s.className,i=[We.panel,a].filter(Boolean).join(" ")||void 0;return c.jsx(k.AccordionDetails,{ref:n,className:i,...s,children:c.jsx("div",{className:We.content,children:r})})});Vt.displayName="AccordionPanel";const zt=Lo;zt.Item=wr;zt.Control=Dt;zt.Panel=Vt;const $s="AssistiveElement-module__root___WhQ43",Ss="AssistiveElement-module__text___vrHAg",Ts="AssistiveElement-module__icon___Q-CVz",At={root:$s,text:Ss,icon:Ts},Nr=E.forwardRef(function(t,r){const{assistiveVariant:o="help",assistiveWithIcon:n=!0,overStyled:s=!1,className:a,children:i,...d}=t,p=W(d,s),m=()=>c.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:[c.jsx("circle",{cx:"12",cy:"12",r:"10"}),c.jsx("path",{d:"M12 16v-4"}),c.jsx("path",{d:"M12 8h.01"})]}),h=()=>c.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:[c.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"}),c.jsx("path",{d:"M12 9v4"}),c.jsx("path",{d:"M12 17h.01"})]}),y=o==="error";return c.jsxs(k.FormHelperText,{ref:r,component:"div",error:y,"data-variant":o,className:a?`${At.root} ${a}`:At.root,...p,children:[n&&c.jsx("div",{className:At.icon,children:o==="error"?c.jsx(h,{}):c.jsx(m,{})}),c.jsx("div",{className:At.text,children:i})]})});Nr.displayName="AssistiveElement";const ws="Label-module__root___e6HXZ",Ns="Label-module__innerLayout___Xxapo",Es="Label-module__text___OGeEw",Os="Label-module__required___Ggrzc",As="Label-module__endNodes___es7ew",Rs="Label-module__optionalText___Y2yun",Ps="Label-module__actionArea___O-f1X",js="Label-module__editIcon___9hO1G",Oe={root:ws,innerLayout:Ns,text:Es,required:Os,endNodes:As,optionalText:Rs,actionArea:Ps,editIcon:js},Er=E.forwardRef(function(t,r){const{overStyled:o=!1,required:n=!1,labelOptionalText:s="",labelWithEditIcon:a=!1,onLabelEditClick:i,labelActionArea:d,children:p,className:m,...h}=t,y=W(h,o),u=()=>c.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",children:[c.jsx("path",{d:"M12 20h9"}),c.jsx("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]});return c.jsx(k.InputLabel,{ref:r,shrink:!0,className:m?`${Oe.root} ${m}`:Oe.root,...y,children:c.jsxs("div",{className:Oe.innerLayout,children:[c.jsxs("span",{className:Oe.textWrapper,children:[c.jsx("span",{className:Oe.text,children:p}),n&&c.jsx("span",{className:Oe.required,children:" *"})]}),c.jsxs("div",{className:Oe.endNodes,children:[d&&c.jsx("span",{className:Oe.actionArea,children:d}),!n&&s&&!d&&c.jsx("span",{className:Oe.optionalText,children:s===!0?"Optional":s}),a&&c.jsx("button",{type:"button",className:Oe.editIcon,onClick:i,"aria-label":"Edit label",children:c.jsx(u,{})})]})]})})});Er.displayName="Label";const ks="FormControlLayout-module__root___yNDhZ",Is="FormControlLayout-module__leftSection___GBM1r",Ms="FormControlLayout-module__rightSection___bcL4v",_t={root:ks,leftSection:Is,rightSection:Ms},Be=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s="default",controlMaxWidth:a,controlMinWidth:i,leftSection:d,className:p,children:m,style:h,...y}=t,u=W(y,o);return c.jsxs("div",{ref:r,className:p?`${_t.root} ${p}`:_t.root,"data-form-layout":n,style:{...h,...a?{"--form-control-max-width":a}:{},...i?{"--form-control-min-width":i}:{}},...u,children:[n==="side-by-side"?c.jsx("div",{className:_t.leftSection,"data-label-size":s,children:d}):d&&c.jsx("div",{className:_t.leftSection,"data-label-size":s,children:d}),c.jsx("div",{className:_t.rightSection,children:m})]})});Be.displayName="FormControlLayout";const Ls="FormControlWrapper-module__root___c-UHo",Ws="FormControlWrapper-module__inputSection___HenXk",dr={root:Ls,inputSection:Ws},Ke=E.forwardRef(function(t,r){const{overStyled:o=!1,label:n,assistiveText:s,description:a,helperText:i,assistiveWithIcon:d=!0,error:p,required:m,disabled:h,focused:y,id:u,formLayout:_="stacked",labelSize:f="default",labelOptionalText:g,labelWithEditIcon:C,onLabelEditClick:w,labelActionArea:A,controlMaxWidth:T,controlMinWidth:v,className:S,style:P,children:O,...M}=t,z=W(M,o),L=s||a||i,l=u?`${u}-label`:void 0,N=u?`${u}-description`:void 0,x=E.Children.map(O,R=>E.isValidElement(R)?E.cloneElement(R,{"aria-labelledby":l,"aria-describedby":L?N:void 0}):R);return c.jsx(k.FormControl,{ref:r,error:!!p,required:m,disabled:h,focused:y,className:S?`${dr.root} ${S}`:dr.root,style:P,"data-error":p?"true":void 0,"data-disabled":h?"true":void 0,"data-focused":y?"true":void 0,...z,children:c.jsx(Be,{formLayout:_,labelSize:f,controlMaxWidth:T,controlMinWidth:v,leftSection:n&&c.jsx(Er,{id:l,htmlFor:u,required:m,labelOptionalText:g,labelWithEditIcon:C,onLabelEditClick:w,labelActionArea:A,children:n}),children:c.jsxs("div",{className:dr.inputSection,children:[x,(L||p)&&c.jsx(Nr,{id:N,assistiveVariant:p?"error":"help",assistiveWithIcon:d,children:p&&typeof p=="string"?p:L})]})})})});Ke.displayName="FormControlWrapper";const Bs="ReadOnlyField-module__root___hKci7",Fs="ReadOnlyField-module__text___bPxk9",at={root:Bs,text:Fs},Or=E.forwardRef(function(t,r){const{value:o,type:n="text",readOnlyComponent:s,emptyValueComponent:a,className:i,...d}=t;if(a&&typeof a!="string"){const h=a;if(h.check&&h.check(o))return c.jsx(Ke,{ref:r,className:`${at.root} ${i||""}`,...d,children:c.jsx(h,{value:o})})}if(o==null||o===""||Array.isArray(o)&&o.length===0)return c.jsx(Ke,{ref:r,className:`${at.root} ${i||""}`,...d,children:c.jsx("p",{className:at.text,children:"N/A"})});if(s){const h=s;return c.jsx(Ke,{ref:r,className:`${at.root} ${i||""}`,...d,children:c.jsx(h,{value:o})})}let m=o;return n==="boolean"||n==="switch"?(m=o?"True":"False",n==="switch"&&(m=o?"On":"Off")):Array.isArray(o)?m=o.join(", "):m=String(o),c.jsx(Ke,{ref:r,className:`${at.root} ${i||""}`,...d,children:c.jsx("p",{className:at.text,children:m})})});Or.displayName="ReadOnlyField";const Re=E.forwardRef(function({readOnly:t,readOnlyComponent:r,readOnlyType:o="text",readOnlyValue:n,readOnlyNativeProps:s,emptyValueComponent:a,activeComponent:i,overStyled:d,onLabelEditClick:p,...m},h){if(t){if(r){const y=r;return c.jsx(Ke,{ref:h,...m,onLabelEditClick:p,overStyled:d,children:c.jsx(y,{...s})})}return c.jsx(Or,{ref:h,type:o,value:n,emptyValueComponent:a,onLabelEditClick:p,overStyled:d,...m})}return c.jsx(Ke,{ref:h,...m,onLabelEditClick:p,overStyled:d,children:i})});Re.displayName="WithReadOnlyWrapper";const Ds="Autocomplete-module__layoutOverride___IIkyG",Vs="Autocomplete-module__root___22Jqm",zs="Autocomplete-module__input___MlbJR",Gs="Autocomplete-module__dropdown___A9XVI",Us="Autocomplete-module__option___cZsvO",be={layoutOverride:Ds,root:Vs,input:zs,dropdown:Gs,option:Us},Wo=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,withAsterisk:f,id:g,className:C,style:w,disabled:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,value:P,defaultValue:O,data:M,leftSection:z,rightSection:L,placeholder:l,ListboxProps:N,...x}=t,B=W(x,o);delete B.size,delete B.variant,delete B.radius;const K={root:be.root,inputRoot:be.input,listbox:be.dropdown,option:be.option},ae=B.classNames;if(ae&&typeof ae=="object"&&!Array.isArray(ae)){const $=ae;K.root=$.wrapper?`${be.root} ${$.wrapper}`:be.root,K.inputRoot=$.input?`${be.input} ${$.input}`:be.input,K.listbox=$.dropdown?`${be.dropdown} ${$.dropdown}`:be.dropdown,K.option=$.option?`${be.option} ${$.option}`:be.option}const he=C?`${be.layoutOverride} ${C}`:be.layoutOverride;return c.jsx(Re,{className:he,style:w,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:!!u,required:_,id:g,disabled:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:P!==void 0?P:O,readOnlyNativeProps:t,activeComponent:c.jsx(k.Autocomplete,{ref:r,freeSolo:!0,disableClearable:!0,classes:K,disabled:A,value:P,defaultValue:O,forcePopupIcon:!1,"data-error":u?"true":void 0,"data-disabled":A?"true":void 0,"data-with-left-section":z?"true":void 0,"data-with-right-section":L?"true":void 0,ListboxProps:{...N,className:K.listbox},options:M||[],renderInput:$=>{const{InputProps:I,...V}=$;return c.jsx(k.TextField,{...V,placeholder:l,variant:"standard"})}})})});Wo.displayName="Autocomplete";const qs="Avatar-module__root___fXu-J",Ys="Avatar-module__iconWrapper___ojly2",Hs="Avatar-module__textWrapper___zp-jD",Ks="Avatar-module__image___ieqGp",Xs="Avatar-module__placeholder___IDW7-",Ee={root:qs,iconWrapper:Ys,textWrapper:Hs,image:Ks,placeholder:Xs},Bo=E.forwardRef(function({size:t="default",variant:r="solid",icon:o,children:n,src:s,overStyled:a=!1,...i},d){const p={solid:"filled",outline:"outline",ghost:"transparent"},m=W(i,a),h=m;let y="text";s?y="image":o&&(y="icon");const u={root:Ee.root,image:Ee.image,placeholder:Ee.placeholder},_=h.classNames;if(_&&typeof _=="object"&&!Array.isArray(_)){const g=_;u.root=g.root?`${Ee.root} ${g.root}`:Ee.root,u.image=g.image?`${Ee.image} ${g.image}`:Ee.image,u.placeholder=g.placeholder?`${Ee.placeholder} ${g.placeholder}`:Ee.placeholder}const f=h.className;return c.jsx(k.Avatar,{ref:d,className:f,classes:u,variant:p[r],src:s,"data-variant":r,"data-size":t,"data-style":y,...m,children:o!=null?c.jsx("span",{className:Ee.iconWrapper,"aria-hidden":!0,children:o}):n!=null?c.jsx("span",{className:Ee.textWrapper,children:n}):void 0})});Bo.displayName="Avatar";const Qs=Bo,Js="Badge-module__root___5osNT",je={root:Js},Fo=E.forwardRef(function({variant:t="primary-color",overStyled:r=!1,...o},n){const s=W(o,r),a={root:je.root,section:je.section,label:je.label},i=s.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const m=i;a.root=m.root?`${je.root} ${m.root}`:je.root,a.section=m.section??je.section,a.label=m.label??je.label}const d=s.className,p=d?`${je.root} ${d}`:je.root;return c.jsx(k.Badge,{ref:n,variant:"standard","data-variant":t,...s,className:p,classes:a})});Fo.displayName="Badge";const Zs=Fo,ea=E.forwardRef(function(t,r){return c.jsx(k.Box,{ref:r,...t})}),ta="Breadcrumb-module__root___x-9ln",ra="Breadcrumb-module__separator___qrUX-",Ve={root:ta,separator:ra},Do=E.forwardRef(function({overStyled:t=!1,separator:r=">",...o},n){const s=W({separator:r,...o},t),a={root:Ve.root,separator:Ve.separator},i=s.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const m=i;a.root=m.root?`${Ve.root} ${m.root}`:Ve.root,a.separator=m.separator?`${Ve.separator} ${m.separator}`:Ve.separator}const d=s.className,p=d?`${Ve.root} ${d}`:Ve.root;return c.jsx(k.Breadcrumbs,{ref:n,...s,className:p,classes:a})});Do.displayName="Breadcrumb";const oa="Loader-module__root___6iYOP",Jr={root:oa},Ar=E.forwardRef(function({variant:t="oval",size:r="default",overStyled:o=!1,...n},s){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[r]||"default",d=W(n,o),p=d.className,m=p?`${Jr.root} ${p}`:Jr.root,h=()=>t==="bars"||t==="dots"?c.jsxs(c.Fragment,{children:[c.jsx("span",{}),c.jsx("span",{}),c.jsx("span",{})]}):null;return c.jsx("span",{ref:s,"data-variant":t,"data-size":i,...d,className:m,children:h()})});Ar.displayName="Loader";const na="Button-module__root___Q2R8-",sa="Button-module__labelText___rFV5p",aa="Button-module__iconWrapper___uEKPa",gt={root:na,labelText:sa,iconWrapper:aa};function ia(e){return e==null||e===""?!1:typeof e=="string"?e.trim()!=="":!0}const Vo=E.forwardRef(function({variant:t="solid",size:r="default",icon:o,children:n,overStyled:s=!1,loaderVariant:a="oval",loaderSize:i,useRecursicaLoader:d=!0,...p},m){const h=W(p,s),y=h;delete y.color;const u=!!o||!!y.startIcon,_=!!y.endIcon,f=ia(n),g=(u||_)&&!f;let C="label";g?C="icon-only":(u||_)&&(C="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&g&&!y["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const w=y.className,A=w?`${gt.root} ${w}`:gt.root,T=i??(r==="small"?"small":"default");let v=y.loadingIndicator;return d&&(v=c.jsx(Ar,{variant:a,size:T})),c.jsx(k.Button,{ref:m,disableRipple:!0,disableElevation:!0,className:A,loading:!!y.loading,loadingIndicator:v,fullWidth:!!y.fullWidth,startIcon:y.loading?c.jsx("span",{className:gt.iconWrapper,"aria-hidden":!0,children:v}):o!=null?c.jsx("span",{className:gt.iconWrapper,"aria-hidden":!0,children:o}):void 0,"data-variant":t,"data-size":r,"data-content":C,...y.loading?{"data-loading":"true"}:{},...h,disabled:!!y.disabled||!!y.loading,children:c.jsx("span",{className:gt.labelText,children:n})})});Vo.displayName="Button";const la="Card-module__root___c9KvZ",ca="Card-module__header___PTXf2",da="Card-module__footer___Mu-JC",ua="Card-module__section___BRT8H",pa="Card-module__content___oFIQa",Fe={root:la,header:ca,footer:da,section:ua,content:pa},zo=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(p=>{p in r&&!(p in n)&&(n[p]=r[p])});const a={root:Fe.root},i=n.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;Object.keys(p).forEach(m=>{a[m]?a[m]=`${a[m]} ${p[m]}`:a[m]=p[m]})}const d=n.className;return c.jsx(k.Card,{ref:o,className:d,classes:a,...n})});zo.displayName="Card";const Go=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Fe.section} ${s}`:Fe.section,...n})});Go.displayName="CardSection";const Uo=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Fe.header} ${s}`:Fe.header,...n})});Uo.displayName="CardHeader";const qo=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Fe.footer} ${s}`:Fe.footer,...n})});qo.displayName="CardFooter";const Yo=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className;return c.jsx("div",{ref:o,className:s?`${Fe.content} ${s}`:Fe.content,...n})});Yo.displayName="CardContent";const Ho=zo,Gt=Ho;Gt.Section=Go;Gt.Header=Uo;Gt.Footer=qo;Gt.Content=Yo;const fa=Ho,ma="Checkbox-module__groupRoot___cBS0o",ha="Checkbox-module__root___mY3qk",ya="Checkbox-module__body___5yC7q",_a="Checkbox-module__inner___rTke4",ga="Checkbox-module__input___2kt-h",ba="Checkbox-module__inputChecked___zaCIH",va="Checkbox-module__inputIndeterminate___CVPhn",xa="Checkbox-module__icon___-O7i6",Ca="Checkbox-module__labelWrapper___GpZkr",$a="Checkbox-module__label___cwRtI",Sa="Checkbox-module__description___rMhG1",Ta="Checkbox-module__error___E-bmD",ce={groupRoot:ma,root:ha,body:ya,inner:_a,input:ga,inputChecked:ba,inputIndeterminate:va,icon:xa,labelWrapper:Ca,label:$a,description:Sa,error:Ta},Ko=E.createContext(null),Rr=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,className:C,style:w,children:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,value:P,defaultValue:O,onChange:M,row:z,...L}=t,l=W(L,o),N=l;delete N.size;const x=(R,B)=>{M&&M(B)};return c.jsx(Re,{className:C,style:w,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,readOnly:T&&!!v,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:P!==void 0?P:O,readOnlyNativeProps:t,activeComponent:c.jsx(Ko.Provider,{value:{value:P!==void 0?P:O,onChange:x,name:N.name,readOnly:T||!!N.disabled},children:c.jsx(k.FormGroup,{ref:r,row:z,...l,className:`${ce.groupRoot} ${l.className||""}`.trim(),"data-layout":n,children:A})})})});Rr.displayName="CheckboxGroup";const Pr=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=W(f,o),C=g;delete C.size,delete C.color;const w={root:ce.root,checked:ce.checked,disabled:ce.disabled},A=C.classes;if(A&&typeof A=="object"&&!Array.isArray(A)){const x=A;w.root=x.root?`${ce.root} ${x.root}`:ce.root,w.checked=x.checked?`${ce.checked} ${x.checked}`:ce.checked,w.disabled=x.disabled?`${ce.disabled} ${x.disabled}`:ce.disabled}const T=C.className,v=T?`${ce.root} ${T}`:ce.root,S=E.useContext(Ko),P=S!==null,O=P?S.readOnly:!1,M=P?(S.value||[]).includes(C.value):!!(C.checked??C.defaultChecked);if(n&&s){const x=s,R=c.jsx(x,{...t,checked:M,label:h});return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:R}):c.jsx(c.Fragment,{children:R})}const z=x=>{if(P){const R=x.target.checked?[...S.value||[],C.value]:(S.value||[]).filter(B=>B!==C.value);S.onChange&&S.onChange(x,R)}else C.onChange&&C.onChange(x,x.target.checked)},L=x=>c.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...x,children:c.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),l=c.jsx(k.Checkbox,{ref:r,className:h?ce.inner:`${v} ${ce.inner}`,classes:w,disabled:n||a||O,...g,checked:M,onChange:z,sx:h?{padding:0}:void 0,icon:c.jsx("div",{className:ce.input}),checkedIcon:c.jsx("div",{className:`${ce.input} ${ce.inputChecked}`,children:c.jsx(L,{className:ce.icon})}),indeterminateIcon:c.jsx("div",{className:`${ce.input} ${ce.inputIndeterminate}`,children:c.jsx("svg",{className:ce.icon,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",children:c.jsx("rect",{x:"6",y:"14",width:"20",height:"4",fill:"currentColor"})})})}),N=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:ce.body,children:[l,c.jsxs("div",{className:ce.labelWrapper,children:[c.jsx("label",{className:ce.label,htmlFor:C.id,"data-disabled":n||a||O?!0:void 0,children:h}),y&&c.jsx("div",{className:ce.description,"data-disabled":n||a||O?!0:void 0,children:y}),u&&c.jsx("div",{className:ce.error,"data-disabled":n||a||O?!0:void 0,children:u})]})]})}):c.jsx("div",{className:v,style:_,children:l});return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:N}):N});Pr.displayName="Checkbox";Pr.Group=Rr;const wa="Chip-module__root___f5pFk",Na="Chip-module__label___Ov9pg",Ea="Chip-module__mantineIconWrapper___KLSz6",Oa="Chip-module__innerWrapper___EnrTF",Aa="Chip-module__children___zbRAR",Ra="Chip-module__leadingIcon___JBtjQ",Pa="Chip-module__removeIconWrapper___VOO7u",ge={root:wa,label:Na,mantineIconWrapper:Ea,innerWrapper:Oa,children:Aa,leadingIcon:Ra,removeIconWrapper:Pa};function ja(e){return c.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",...e,children:[c.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),c.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function ka(e){return c.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:c.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}const Xo=E.forwardRef(function({error:t=!1,icon:r,onRemove:o,removeLabel:n="Remove",children:s,checked:a,overStyled:i=!1,...d},p){const m=W(d,i),h=m,y={root:ge.root,label:ge.label,icon:ge.leadingIcon,deleteIcon:ge.removeIconWrapper},u=h.classNames;if(u&&typeof u=="object"&&!Array.isArray(u)){const A=u;y.root=A.root?`${ge.root} ${A.root}`:ge.root,y.label=A.label?`${ge.label} ${A.label}`:ge.label}const _=h.className,f=_?`${ge.root} ${_}`:ge.root,g=t?"":void 0,C=a?"":void 0,w=!s&&(!!r||!!o);return c.jsx(k.Chip,{ref:p,className:f,classes:y,...g!==void 0?{"data-error":""}:{},...C!==void 0?{"data-checked":""}:{},...w?{"data-icon-only":""}:{},...m,icon:a?c.jsx("span",{className:ge.mantineIconWrapper,"aria-hidden":!0,children:c.jsx(ka,{})}):r?c.jsx("span",{className:ge.leadingIcon,"aria-hidden":!0,children:r}):void 0,onDelete:o,deleteIcon:o?c.jsx("span",{className:ge.removeIconWrapper,children:c.jsx(ja,{})}):void 0,label:c.jsx("span",{className:ge.innerWrapper,children:c.jsx("span",{className:ge.children,children:s})})})});Xo.displayName="Chip";const Qo=E.forwardRef(function({children:t,size:r,...o},n){const s={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},a=typeof r=="string"&&s[r]?s[r]:r;return c.jsx(k.Container,{ref:n,maxWidth:a,...o,children:t})});Qo.displayName="Container";const Ia=e=>c.jsx("div",{...e,children:"DatePicker"}),Ma="Dropdown-module__layoutOverride___FNcvP",La="Dropdown-module__root___uVyL0",Wa="Dropdown-module__input___dK4dN",Ba="Dropdown-module__dropdown___gG-Sw",Fa="Dropdown-module__option___nAGU-",ze={layoutOverride:Ma,root:La,input:Wa,dropdown:Ba,option:Fa},Jo=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",containerWidth:s,labelSize:a,labelAlignment:i,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:m,label:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,withAsterisk:g,id:C,className:w,style:A,disabled:T,readOnly:v,readOnlyComponent:S,emptyValueComponent:P,value:O,defaultValue:M,data:z,searchable:L,clearable:l,...N}=t,x=W(N,o),R=x;delete R.size,delete R.variant;const B={...A||{},width:s||"100%"},K=w?`${ze.layoutOverride} ${w}`:ze.layoutOverride,ae=()=>z?z.map((he,$)=>typeof he=="string"?c.jsx(k.MenuItem,{value:he,className:ze.option,children:he},`${he}-${$}`):c.jsx(k.MenuItem,{value:he.value,disabled:he.disabled,className:ze.option,children:he.label},`${he.value}-${$}`)):null;return c.jsx(Re,{className:K,style:B,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:o,formLayout:n,labelSize:a,labelAlignment:i,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:m,label:h,assistiveText:y,assistiveWithIcon:u,error:!!_,required:f,id:C,readOnly:v,readOnlyComponent:S,emptyValueComponent:P,readOnlyType:"text",readOnlyValue:O!==void 0?String(O):M?String(M):void 0,readOnlyNativeProps:t,activeComponent:c.jsx(k.Select,{ref:r,disabled:T,value:O,defaultValue:M,error:!!_,required:f,displayEmpty:!0,className:ze.root,classes:{select:ze.input,icon:ze.icon},MenuProps:{classes:{paper:ze.dropdown}},inputProps:{"data-disabled":T?"true":void 0,"data-error":_?"true":void 0,...R.inputProps},...x,children:ae()})})});Jo.displayName="Dropdown";const Da=e=>c.jsx("div",{...e,children:"FileInput"}),Va=e=>c.jsx("div",{...e,children:"FileUpload"}),Zo=E.forwardRef(function({children:t,gap:r="rec-default",rowGap:o,columnGap:n,direction:s,align:a,justify:i,wrap:d,...p},m){const h=Tr(p),y=typeof r=="string"&&r in _e?_e[r]:r,u=typeof o=="string"&&o in _e?_e[o]:o,_=typeof n=="string"&&n in _e?_e[n]:n;return c.jsx(k.Box,{ref:m,display:"flex",...h,gap:y,rowGap:u,columnGap:_,flexDirection:s,alignItems:a,justifyContent:i,flexWrap:d,children:t})});Zo.displayName="Flex";const en=E.forwardRef(function({children:t,gap:r="rec-default",rowGap:o,columnGap:n,justify:s,align:a,wrap:i,...d},p){const m=Tr(d),h=typeof r=="string"&&r in _e?_e[r]:r,y=typeof o=="string"&&o in _e?_e[o]:o,u=typeof n=="string"&&n in _e?_e[n]:n;return c.jsx(k.Stack,{ref:p,direction:"row",flexWrap:i||"wrap",justifyContent:s,alignItems:a,spacing:h,sx:{...y?{rowGap:y}:{},...u?{columnGap:u}:{}},...m,children:t})});en.displayName="Group";const za="HoverCard-module__dropdown___FBPFW",Ga="HoverCard-module__arrow___S9AkE",Zr={dropdown:za,arrow:Ga},tn=function({overStyled:t=!1,withBeak:r=!0,position:o="top",openDelay:n=0,closeDelay:s=150,disabled:a=!1,offset:i=5,children:d,...p}){const m=W(p,t),h={tooltip:Zr.dropdown,arrow:Zr.arrow},y=m.classNames;if(y&&typeof y=="object"&&!Array.isArray(y)){const f=y;Object.keys(f).forEach(g=>{h[g]?h[g]=`${h[g]} ${f[g]}`:h[g]=f[g]})}let u=null,_=null;return E.Children.forEach(d,f=>{var g,C;if(E.isValidElement(f)){const w=f;((g=w.type)==null?void 0:g.displayName)==="HoverCardTarget"?u=w.props.children:((C=w.type)==null?void 0:C.displayName)==="HoverCardDropdown"&&(_=w.props.children)}}),u||(u=c.jsx("div",{})),_||(_=c.jsx("div",{})),c.jsx(k.Tooltip,{title:_,placement:o,arrow:r,enterDelay:n,leaveDelay:s,disableHoverListener:a,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[0,i]}}]}},classes:h,...m,children:E.isValidElement(u)?u:c.jsx("span",{children:u})})};tn.displayName="HoverCard";const rn=function({children:t}){return c.jsx(c.Fragment,{children:t})};rn.displayName="HoverCardTarget";const on=function({children:t}){return c.jsx(c.Fragment,{children:t})};on.displayName="HoverCardDropdown";const jr=tn;jr.Target=rn;jr.Dropdown=on;const Ua="Link-module__root___I0VGE",qa="Link-module__iconWrapper___W-LlF",Ya="Link-module__labelText___wSvUy",Rt={root:Ua,iconWrapper:qa,labelText:Ya},nn=E.forwardRef(function({icon:t,children:r,overStyled:o=!1,...n},s){const a=W(n,o),d=a.className,p=d?`${Rt.root} ${d}`:Rt.root;return c.jsxs(k.Link,{ref:s,className:p,underline:"none",...t?{"data-has-icon":""}:{},...a,children:[t&&c.jsx("span",{className:Rt.iconWrapper,"aria-hidden":!0,children:t}),c.jsx("span",{className:Rt.labelText,children:r})]})});nn.displayName="Link";const Ha="Menu-module__dropdown___j4xuA",Ka="Menu-module__item___NMXha",Xa="Menu-module__divider___wPiNq",Ct={dropdown:Ha,item:Ka,divider:Xa},sn=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=W(o,t);return c.jsx(k.Menu,{ref:n,className:`${Ct.dropdown} ${r||""}`,classes:{paper:Ct.dropdown,list:Ct.dropdown},...s})});sn.displayName="Menu";const an=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=W(o,t);return c.jsx(k.MenuItem,{ref:n,className:`${Ct.item} ${r||""}`,...s})});an.displayName="MenuItem";const ln=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=W(o,t);return c.jsx(k.Divider,{ref:n,className:`${Ct.divider} ${r||""}`,...s})});ln.displayName="MenuDivider";const Qa="Modal-module__root___ytPLl",Ja="Modal-module__inner___SSUJE",Za="Modal-module__content___dWO-B",ei="Modal-module__header___ILG9i",ti="Modal-module__title___A5OeE",ri="Modal-module__scrollArea___KD-hm",oi="Modal-module__footer___rro2w",ni="Modal-module__close___-ER1C",Me={root:Qa,inner:Ja,content:Za,header:ei,title:ti,scrollArea:ri,footer:oi,close:ni},si=()=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M18 6L6 18M6 6l12 12"})}),cn=E.forwardRef(function({overStyled:t=!1,opened:r=!1,withCloseButton:o=!0,title:n,children:s,onClose:a,className:i,...d},p){const m=W(d,t);let h=null;const y=[];return E.Children.forEach(s,u=>{var _;E.isValidElement(u)&&(u.type===Ir||((_=u.type)==null?void 0:_.displayName)==="Modal.Footer")?h=u:y.push(u)}),c.jsxs(k.Dialog,{ref:p,className:`${Me.root} ${i||""}`,classes:{paper:Me.inner},...m,open:r||m.open||!1,onClose:a,children:[(n||o)&&c.jsxs("div",{className:Me.header,children:[n&&c.jsx("div",{className:Me.title,children:n}),o&&c.jsx(k.IconButton,{onClick:u=>a==null?void 0:a(u,"backdropClick"),className:Me.close,children:c.jsx(si,{})})]}),c.jsx(kr,{children:y}),h]})});cn.displayName="Modal";const dn=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=W(o,t);return c.jsx(k.DialogTitle,{ref:n,className:`${Me.title} ${r||""}`,...s})});dn.displayName="Modal.Title";const kr=E.forwardRef(function({overStyled:t=!1,className:r,children:o,...n},s){const a=W(n,t),i=E.useRef(null),[d,p]=E.useState(!1),[m,h]=E.useState(!1),y=E.useCallback(()=>{if(i.current){const{scrollTop:u,scrollHeight:_,clientHeight:f}=i.current;p(u>0),h(Math.ceil(u+f)<_)}},[]);return E.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y,o]),c.jsx(k.DialogContent,{ref:u=>{typeof s=="function"?s(u):s&&(s.current=u),i&&(i.current=u)},onScroll:()=>y(),"data-scrolled-top":d||void 0,"data-scrolled-bottom":m||void 0,className:`${Me.content} ${Me.scrollArea} ${r||""}`,...a,children:o})});kr.displayName="Modal.Body";const Ir=E.forwardRef(function({overStyled:t=!1,className:r,...o},n){const s=W(o,t);return c.jsx(k.DialogActions,{ref:n,className:`${Me.footer} ${r||""}`,...s})});Ir.displayName="Modal.Footer";const Ut=cn;Ut.Title=dn;Ut.Body=kr;Ut.Footer=Ir;const ai="NumberInput-module__layoutOverride___5-9T4",ii="NumberInput-module__root___C6rAn",li="NumberInput-module__input___Ss8p7",ci="NumberInput-module__section___MijP0",di="NumberInput-module__controls___8UfQ2",ui="NumberInput-module__control___Qre9-",tt={layoutOverride:ai,root:ii,input:li,section:ci,controls:di,control:ui},un=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,className:g,style:C,disabled:w,readOnly:A,readOnlyComponent:T,emptyValueComponent:v,value:S,defaultValue:P,hideControls:O=!1,...M}=t,z=W(M,o),L=z;delete L.size,delete L.variant,delete L.radius;const l={wrapper:tt.root,input:tt.input,section:tt.section,controls:tt.controls,control:tt.control},N=g?`${tt.layoutOverride} ${g}`:tt.layoutOverride;return c.jsx(Re,{className:N,style:C,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,readOnly:A,readOnlyComponent:T,emptyValueComponent:v,readOnlyType:"text",readOnlyValue:S!==void 0?S==null?void 0:S.toString():P==null?void 0:P.toString(),readOnlyNativeProps:t,activeComponent:c.jsx(k.TextField,{ref:r,classes:l,disabled:w,value:S,defaultValue:P,label:void 0,error:void 0,required:void 0,...z})})});un.displayName="NumberInput";const pi="Pagination-module__root___ITRjt",Ge={root:pi};function fi(e){const t={root:Ge.root,ul:Ge.ul},r=e.classNames;if(r&&typeof r=="object"&&!Array.isArray(r)){const s=r;t.root=s.root?`${Ge.root} ${s.root}`:Ge.root,t.ul=s.ul?`${Ge.ul} ${s.ul}`:Ge.ul}const o=e.className;return{className:o?`${Ge.root} ${o}`:Ge.root,classNames:t}}const pn=E.forwardRef(function({overStyled:t=!1,withLabels:r,...o},n){const s=W(o,t),a=fi(s);return c.jsx("div",{ref:n,className:a.className,children:c.jsx(k.Pagination,{classes:a.classNames,...s})})});pn.displayName="Pagination";const mi=pn,hi="Panel-module__content___wdGo-",yi="Panel-module__inner___ruA2b",_i="Panel-module__header___o7SiC",gi="Panel-module__title___181OP",bi="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",vi="Panel-module__body___SEC3T",xi="Panel-module__footer___t6-hz",Ye={content:hi,inner:yi,header:_i,title:gi,titleTruncate:bi,body:vi,footer:xi},fn=function({overStyled:t=!1,placement:r="right",keepMounted:o=!0,wrapHeaderText:n=!1,opened:s,...a}){const i=W(a,t),d={content:Ye.content,header:Ye.header,title:n?Ye.titleTruncate:Ye.title,body:Ye.body,inner:Ye.inner},p=i.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const m=p;Object.keys(m).forEach(h=>{d[h]?d[h]=`${d[h]} ${m[h]}`:d[h]=m[h]})}return c.jsx(k.Drawer,{anchor:r,keepMounted:o,open:!!s,...i,classes:d})};fn.displayName="Panel";const Mr=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className,a=s?`${Ye.footer} ${s}`:Ye.footer;return c.jsx("div",{ref:o,className:a,...n})});Mr.displayName="PanelFooter";const mn=fn;mn.Footer=Mr;const Ci="Radio-module__groupRoot___bfUii",$i="Radio-module__root___kAjTD",Si="Radio-module__body___q2Wpj",Ti="Radio-module__inner___QaTBB",wi="Radio-module__radio___MfgN-",Ni="Radio-module__icon___DWznm",Ei="Radio-module__labelWrapper___dB0Gi",Oi="Radio-module__label___vAFIP",Ai="Radio-module__description___bEB8u",Ri="Radio-module__error___wem7t",re={groupRoot:Ci,root:$i,body:Si,inner:Ti,radio:wi,icon:Ni,labelWrapper:Ei,label:Oi,description:Ai,error:Ri},Lr=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,className:C,style:w,children:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,value:P,defaultValue:O,...M}=t,z=W(M,o),L=z;return delete L.size,c.jsx(Re,{className:C,style:w,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,id:g,readOnly:T&&!!v,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:P!==void 0?P:O,readOnlyNativeProps:t,activeComponent:c.jsx(k.RadioGroup,{ref:r,...z,value:P,defaultValue:O,className:re.groupRoot,"data-layout":n,children:A})})});Lr.displayName="RadioGroup";const eo=({className:e,style:t})=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:e,style:t,children:c.jsx("circle",{cx:"8",cy:"8",r:"5"})}),Wr=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=W(f,o),C=g;delete C.size,delete C.color;const w={root:re.root,body:re.body,inner:re.inner,radio:re.radio,icon:re.icon,labelWrapper:re.labelWrapper,label:re.label},A=C.classNames;if(A&&typeof A=="object"&&!Array.isArray(A)){const O=A;w.root=O.root?`${re.root} ${O.root}`:re.root,w.body=O.body?`${re.body} ${O.body}`:re.body,w.inner=O.inner?`${re.inner} ${O.inner}`:re.inner,w.radio=O.radio?`${re.radio} ${O.radio}`:re.radio,w.icon=O.icon?`${re.icon} ${O.icon}`:re.icon,w.labelWrapper=O.labelWrapper?`${re.labelWrapper} ${O.labelWrapper}`:re.labelWrapper,w.label=O.label?`${re.label} ${O.label}`:re.label}const T=C.className,v=T?`${re.root} ${T}`:re.root;if(n&&s){const O=!!(C.checked??C.defaultChecked),M=s,z=c.jsx(M,{...t,checked:O,label:C.label});return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:z}):c.jsx(c.Fragment,{children:z})}const S=c.jsx(k.Radio,{ref:r,icon:c.jsx(eo,{}),checkedIcon:c.jsx(eo,{className:re.checked}),className:v,classes:w,disabled:n||a,...g}),P=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:re.body,children:[S,c.jsxs("div",{className:re.labelWrapper,children:[c.jsx("label",{className:re.label,htmlFor:C.id,"data-disabled":n||a?!0:void 0,children:h}),y&&c.jsx("div",{className:re.description,"data-disabled":n||a?!0:void 0,children:y}),u&&c.jsx("div",{className:re.error,"data-disabled":n||a?!0:void 0,children:u})]})]})}):S;return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:P}):P});Wr.displayName="Radio";Wr.Group=Lr;const Pi="SegmentedControl-module__root___JFRhg",ji="SegmentedControl-module__label___mS17q",ki="SegmentedControl-module__control___znOdQ",ve={root:Pi,label:ji,control:ki};function Ii(e){const t={root:ve.root,control:ve.control,label:ve.label,indicator:ve.indicator},r=e.classNames;if(r&&typeof r=="object"&&!Array.isArray(r)){const s=r;t.root=s.root?`${ve.root} ${s.root}`:ve.root,t.control=s.control?`${ve.control} ${s.control}`:ve.control,t.label=s.label?`${ve.label} ${s.label}`:ve.label,t.indicator=s.indicator?`${ve.indicator} ${s.indicator}`:ve.indicator}const o=e.className;return{className:o?`${ve.root} ${o}`:ve.root,classNames:t}}const hn=E.forwardRef(function({overStyled:t=!1,orientation:r="horizontal",fullWidth:o,data:n=[],value:s,onChange:a,...i},d){const p=W(i,t),m=p;delete m.disabled;const h=Ii(m),y=(u,_)=>{_!==null&&a&&a(_)};return c.jsx(k.ToggleButtonGroup,{ref:d,className:h.className,classes:h.classNames,orientation:r,fullWidth:o,"data-orientation":r,exclusive:!0,value:s,onChange:y,...p,children:n.map(u=>{const _=typeof u=="string"?u:u.value,f=typeof u=="string"?u:u.label,g=typeof u=="string"?!1:u.disabled;return c.jsx(k.ToggleButton,{value:_,disabled:g,className:h.classNames.control,children:c.jsx("div",{className:h.classNames.label,children:f})},_)})})});hn.displayName="SegmentedControl";const Mi=hn,Li="Slider-module__layoutOverride___zYPun",Wi="Slider-module__sliderContainer___y8I0J",Bi="Slider-module__sliderTrackWrapper___UHpVh",Fi="Slider-module__iconWrapper___uqHpC",Di="Slider-module__sliderRoot___LI86H",Vi="Slider-module__sliderTrack___oqnlG",zi="Slider-module__sliderBar___TI4VY",Gi="Slider-module__sliderThumb___OFn8p",Ui="Slider-module__sliderMark___1lM2B",qi="Slider-module__sliderTooltip___J1Aqb",Yi="Slider-module__minMaxGuide___TaGqz",Hi="Slider-module__rightGuideContainer___8dOT8",Ki="Slider-module__currentValue___dGV2T",Xi="Slider-module__inputField___6x578",Qi="Slider-module__readOnlyValue___-ZzMW",oe={layoutOverride:Li,sliderContainer:Wi,sliderTrackWrapper:Bi,iconWrapper:Fi,sliderRoot:Di,sliderTrack:Vi,sliderBar:zi,sliderThumb:Gi,sliderMark:Ui,sliderTooltip:qi,minMaxGuide:Yi,rightGuideContainer:Hi,currentValue:Ki,inputField:Xi,readOnlyValue:Qi},Ji=({value:e})=>c.jsx("div",{className:oe.readOnlyValue,children:e}),yn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:m,label:h,tooltipLabel:y,assistiveText:u,assistiveWithIcon:_,error:f,required:g,withAsterisk:C,id:w,className:A,style:T,disabled:v,readOnly:S,readOnlyComponent:P,emptyValueComponent:O,value:M,defaultValue:z,icon:L,showInput:l=!1,showMinMaxLabels:N=!0,min:x=0,max:R=100,step:B=1,onChange:K,onChangeEnd:ae,...he}=t,[$,I]=E.useState(()=>M!==void 0?Array.isArray(M)?M[0]:M:z!==void 0?Array.isArray(z)?z[0]:z:x),V=M!==void 0?Array.isArray(M)?M[0]:M:$,[Y,G]=E.useState(V.toString());E.useEffect(()=>{G(V.toString())},[V]);const X=(me,Pe)=>{const yt=Array.isArray(Pe)?Pe[0]:Pe;M===void 0&&I(yt),K==null||K(yt)},q=me=>{const Pe=me.target.value;G(Pe);const yt=parseFloat(Pe);if(!isNaN(yt)){const is=Math.max(x,Math.min(R,yt));X(null,is)}},H=()=>{G(V.toString())},Q=W(he,o),J=Q;delete J.size,delete J.color,delete J.wrapperProps;const U={root:oe.sliderRoot,rail:oe.sliderTrack,track:oe.sliderBar,thumb:oe.sliderThumb,mark:oe.sliderMark,markLabel:oe.sliderMarkLabel,valueLabel:oe.sliderTooltip},ye=J.classNames;if(ye&&typeof ye=="object"&&!Array.isArray(ye)){const me=ye;U.root=me.root?`${oe.sliderRoot} ${me.root}`:oe.sliderRoot,U.rail=me.track?`${oe.sliderTrack} ${me.track}`:oe.sliderTrack,U.track=me.bar?`${oe.sliderBar} ${me.bar}`:oe.sliderBar,U.thumb=me.thumb?`${oe.sliderThumb} ${me.thumb}`:oe.sliderThumb,U.mark=me.mark?`${oe.sliderMark} ${me.mark}`:oe.sliderMark,U.markLabel=me.markLabel?`${oe.sliderMarkLabel} ${me.markLabel}`:oe.sliderMarkLabel}const j=A?`${oe.layoutOverride} ${A}`:oe.layoutOverride,Se=L?c.jsx("span",{className:oe.iconWrapper,"aria-hidden":!0,children:L}):null;return c.jsx(Re,{ref:r,className:j,style:T,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:m,label:h,assistiveText:u,assistiveWithIcon:_,error:!!f,required:g,id:w,readOnly:S,readOnlyComponent:P||Ji,emptyValueComponent:O,readOnlyType:"text",readOnlyValue:V,readOnlyNativeProps:{value:V},activeComponent:c.jsxs("div",{className:oe.sliderContainer,"data-form-layout":n,"data-disabled":v?"true":void 0,"data-error":f?"true":void 0,children:[Se,N&&c.jsx("span",{className:oe.minMaxGuide,children:x}),c.jsx("div",{className:oe.sliderTrackWrapper,children:c.jsx(k.Slider,{classes:U,disabled:v,value:V,onChange:X,onChangeCommitted:ae,min:x,max:R,step:B,valueLabelDisplay:y===null?"off":"auto",valueLabelFormat:typeof y=="function"?y:void 0,...Q})}),c.jsxs("div",{className:oe.rightGuideContainer,children:[!l&&c.jsx("span",{className:oe.currentValue,children:V}),N&&c.jsx("span",{className:oe.minMaxGuide,children:R})]}),l&&c.jsx("input",{type:"number",className:oe.inputField,value:Y,onChange:q,onBlur:H,min:x,max:R,step:B??void 0,disabled:v,"data-error":f?"true":void 0})]})})});yn.displayName="Slider";const _n=E.forwardRef(function({children:t,gap:r="rec-default",...o},n){const s=Tr(o),a=typeof r=="string"&&r in _e?_e[r]:r;return c.jsx(k.Stack,{ref:n,spacing:a,...s,children:t})});_n.displayName="Stack";const Zi="Stepper-module__root___jbSYO",el="Stepper-module__horizontal___USHT1",tl="Stepper-module__steps___4HPO6",rl="Stepper-module__step___s2nqL",ol="Stepper-module__stepLabel___N6nuy",nl="Stepper-module__stepDescription___DnDAy",sl="Stepper-module__separator___pU0No",al="Stepper-module__vertical___d4mOs",il="Stepper-module__large___J18-y",ll="Stepper-module__small___Ub-zb",cl="Stepper-module__stepIcon___YQHNq",dl="Stepper-module__verticalSeparator___frWc1",Te={root:Zi,horizontal:el,steps:tl,step:rl,stepLabel:ol,stepDescription:nl,separator:sl,vertical:al,large:il,small:ll,stepIcon:cl,verticalSeparator:dl},gn=E.forwardRef(function(t,r){const{overStyled:o=!1,size:n="large",orientation:s="horizontal",className:a,style:i,...d}=t,p=W(d,o);return c.jsx("div",{className:`${Te.root} ${s==="horizontal"?Te.horizontal:Te.vertical} ${n==="large"?Te.large:Te.small} ${a||""}`,style:i,"data-size":n,"data-orientation":s,children:c.jsx(k.Stepper,{ref:r,orientation:s,connector:c.jsx(k.StepConnector,{classes:{root:s==="horizontal"?Te.separator:Te.verticalSeparator}}),classes:{root:Te.steps},...p})})});gn.displayName="Stepper";const ul=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(k.Step,{ref:r,classes:{root:Te.step},className:n||"",...W(s,o)})});ul.displayName="Step";const pl=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(k.StepButton,{ref:r,className:n||"",...W(s,o)})});pl.displayName="StepButton";const fl=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,description:s,...a}=t;return c.jsx(k.StepLabel,{ref:r,className:n||"",classes:{label:Te.stepLabel,iconContainer:Te.stepIcon},optional:s?c.jsx("div",{className:Te.stepDescription,children:s}):a.optional,...W(a,o)})});fl.displayName="StepLabel";const ml=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t;return c.jsx(k.StepConnector,{ref:r,className:n||"",...W(s,o)})});ml.displayName="StepConnector";const hl="Switch-module__root___Y5Ydi",yl="Switch-module__body___Sw9Wr",_l="Switch-module__track___7ObdZ",gl="Switch-module__thumb___-FTeK",bl="Switch-module__labelWrapper___YSOwx",vl="Switch-module__label___LrH7V",xl="Switch-module__description___CClza",Cl="Switch-module__error___OSPrU",$l="Switch-module__groupRoot___-Uepi",Z={root:hl,body:yl,track:_l,thumb:gl,labelWrapper:bl,label:vl,description:xl,error:Cl,groupRoot:$l},bn=E.forwardRef(function(t,r){const{overStyled:o=!1,readOnly:n,readOnlyComponent:s,disabled:a,formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,label:h,description:y,error:u,style:_,...f}=t,g=W(f,o),C=g;delete C.size,delete C.color,delete C.radius,delete C.variant;const w={root:Z.root,body:Z.body,track:Z.track,thumb:Z.thumb,trackLabel:Z.trackLabel,labelWrapper:Z.labelWrapper,label:Z.label},A=C.classNames;if(A&&typeof A=="object"&&!Array.isArray(A)){const O=A;w.root=O.root?`${Z.root} ${O.root}`:Z.root,w.body=O.body?`${Z.body} ${O.body}`:Z.body,w.track=O.track?`${Z.track} ${O.track}`:Z.track,w.thumb=O.thumb?`${Z.thumb} ${O.thumb}`:Z.thumb,w.trackLabel=O.trackLabel?`${Z.trackLabel} ${O.trackLabel}`:Z.trackLabel,w.labelWrapper=O.labelWrapper?`${Z.labelWrapper} ${O.labelWrapper}`:Z.labelWrapper,w.label=O.label?`${Z.label} ${O.label}`:Z.label}const T=C.className,v=T?`${Z.root} ${T}`:Z.root;if(n&&s){const O=!!(C.checked??C.defaultChecked),M=s,z=c.jsx(M,{...t,checked:O,label:C.label});return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:z}):c.jsx(c.Fragment,{children:z})}const S=c.jsx(k.Switch,{ref:r,className:h?Z.inner:`${v} ${Z.inner}`,classes:w,disabled:n||a,"data-disabled":n||a||void 0,...g}),P=h?c.jsx("div",{className:v,style:_,children:c.jsxs("div",{className:Z.body,children:[S,c.jsxs("div",{className:Z.labelWrapper,children:[c.jsx("label",{className:Z.label,htmlFor:C.id,"data-disabled":n||a?!0:void 0,children:h}),y&&c.jsx("div",{className:Z.description,"data-disabled":n||a?!0:void 0,children:y}),u&&c.jsx("div",{className:Z.error,"data-disabled":n||a?!0:void 0,children:u})]})]})}):S;return i?c.jsx(Be,{formLayout:i,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:P}):P});bn.displayName="Switch";const vn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,className:C,style:w,children:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,value:P,defaultValue:O,onChange:M,...z}=t,L=W(z,o),l=L;return delete l.size,c.jsx(Re,{className:C,style:w,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,description:h,assistiveText:y,assistiveWithIcon:u,error:_,required:f,id:g,readOnly:T&&!!v,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:P!==void 0?P:O,readOnlyNativeProps:t,activeComponent:c.jsx(k.FormGroup,{ref:r,...L,className:`${Z.groupRoot} ${L.className||""}`.trim(),"data-layout":n,children:A})})});vn.displayName="SwitchGroup";const Sl="Table-module__root___aMWWS",Tl={root:Sl},xn=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s=n.className,a=Tl.root,i=s?`${a} ${s}`:a;return c.jsx(k.Table,{ref:o,className:i,...n})});xn.displayName="Table";const Ze=xn;Ze.Body=k.TableBody;Ze.Cell=k.TableCell;Ze.Container=k.TableContainer;Ze.Head=k.TableHead;Ze.Row=k.TableRow;Ze.Footer=k.TableFooter;Ze.SortLabel=k.TableSortLabel;const wl="Tabs-module__root___-VKVI",Nl="Tabs-module__list___qRVME",El="Tabs-module__tab___IdDYc",Ol="Tabs-module__panel___08i9c",$t={root:wl,list:Nl,tab:El,panel:Ol};function Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pt={exports:{}},jt={exports:{}},ee={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
8
|
+
*/var to;function Rl(){if(to)return ee;to=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function A(v){if(typeof v=="object"&&v!==null){var S=v.$$typeof;switch(S){case t:switch(v=v.type,v){case d:case p:case o:case s:case n:case h:return v;default:switch(v=v&&v.$$typeof,v){case i:case m:case _:case u:case a:return v;default:return S}}case r:return S}}}function T(v){return A(v)===p}return ee.AsyncMode=d,ee.ConcurrentMode=p,ee.ContextConsumer=i,ee.ContextProvider=a,ee.Element=t,ee.ForwardRef=m,ee.Fragment=o,ee.Lazy=_,ee.Memo=u,ee.Portal=r,ee.Profiler=s,ee.StrictMode=n,ee.Suspense=h,ee.isAsyncMode=function(v){return T(v)||A(v)===d},ee.isConcurrentMode=T,ee.isContextConsumer=function(v){return A(v)===i},ee.isContextProvider=function(v){return A(v)===a},ee.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},ee.isForwardRef=function(v){return A(v)===m},ee.isFragment=function(v){return A(v)===o},ee.isLazy=function(v){return A(v)===_},ee.isMemo=function(v){return A(v)===u},ee.isPortal=function(v){return A(v)===r},ee.isProfiler=function(v){return A(v)===s},ee.isStrictMode=function(v){return A(v)===n},ee.isSuspense=function(v){return A(v)===h},ee.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===o||v===p||v===s||v===n||v===h||v===y||typeof v=="object"&&v!==null&&(v.$$typeof===_||v.$$typeof===u||v.$$typeof===a||v.$$typeof===i||v.$$typeof===m||v.$$typeof===g||v.$$typeof===C||v.$$typeof===w||v.$$typeof===f)},ee.typeOf=A,ee}var te={};/** @license React v16.13.1
|
|
9
9
|
* react-is.development.js
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var
|
|
15
|
+
*/var ro;function Pl(){return ro||(ro=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function A(j){return typeof j=="string"||typeof j=="function"||j===o||j===p||j===s||j===n||j===h||j===y||typeof j=="object"&&j!==null&&(j.$$typeof===_||j.$$typeof===u||j.$$typeof===a||j.$$typeof===i||j.$$typeof===m||j.$$typeof===g||j.$$typeof===C||j.$$typeof===w||j.$$typeof===f)}function T(j){if(typeof j=="object"&&j!==null){var Se=j.$$typeof;switch(Se){case t:var me=j.type;switch(me){case d:case p:case o:case s:case n:case h:return me;default:var Pe=me&&me.$$typeof;switch(Pe){case i:case m:case _:case u:case a:return Pe;default:return Se}}case r:return Se}}}var v=d,S=p,P=i,O=a,M=t,z=m,L=o,l=_,N=u,x=r,R=s,B=n,K=h,ae=!1;function he(j){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$(j)||T(j)===d}function $(j){return T(j)===p}function I(j){return T(j)===i}function V(j){return T(j)===a}function Y(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function G(j){return T(j)===m}function X(j){return T(j)===o}function q(j){return T(j)===_}function H(j){return T(j)===u}function Q(j){return T(j)===r}function J(j){return T(j)===s}function U(j){return T(j)===n}function ye(j){return T(j)===h}te.AsyncMode=v,te.ConcurrentMode=S,te.ContextConsumer=P,te.ContextProvider=O,te.Element=M,te.ForwardRef=z,te.Fragment=L,te.Lazy=l,te.Memo=N,te.Portal=x,te.Profiler=R,te.StrictMode=B,te.Suspense=K,te.isAsyncMode=he,te.isConcurrentMode=$,te.isContextConsumer=I,te.isContextProvider=V,te.isElement=Y,te.isForwardRef=G,te.isFragment=X,te.isLazy=q,te.isMemo=H,te.isPortal=Q,te.isProfiler=J,te.isStrictMode=U,te.isSuspense=ye,te.isValidElementType=A,te.typeOf=T})()),te}var oo;function Cn(){return oo||(oo=1,process.env.NODE_ENV==="production"?jt.exports=Rl():jt.exports=Pl()),jt.exports}/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/var
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys($),null," "));var
|
|
19
|
+
*/var ur,no;function jl(){if(no)return ur;no=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function n(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},i=0;i<10;i++)a["_"+String.fromCharCode(i)]=i;var d=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(d.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(m){p[m]=m}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ur=n()?Object.assign:function(s,a){for(var i,d=o(s),p,m=1;m<arguments.length;m++){i=Object(arguments[m]);for(var h in i)t.call(i,h)&&(d[h]=i[h]);if(e){p=e(i);for(var y=0;y<p.length;y++)r.call(i,p[y])&&(d[p[y]]=i[p[y]])}}return d},ur}var pr,so;function Br(){if(so)return pr;so=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pr=e,pr}var fr,ao;function $n(){return ao||(ao=1,fr=Function.call.bind(Object.prototype.hasOwnProperty)),fr}var mr,io;function kl(){if(io)return mr;io=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Br(),r={},o=$n();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function n(s,a,i,d,p){if(process.env.NODE_ENV!=="production"){for(var m in s)if(o(s,m)){var h;try{if(typeof s[m]!="function"){var y=Error((d||"React class")+": "+i+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}h=s[m](a,m,d,i,null,t)}catch(_){h=_}if(h&&!(h instanceof Error)&&e((d||"React class")+": type specification of "+i+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var u=p?p():"";e("Failed "+i+" type: "+h.message+(u??""))}}}}return n.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},mr=n,mr}var hr,lo;function Il(){if(lo)return hr;lo=1;var e=Cn(),t=jl(),r=Br(),o=$n(),n=kl(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(i){var d="Warning: "+i;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return hr=function(i,d){var p=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function h($){var I=$&&(p&&$[p]||$[m]);if(typeof I=="function")return I}var y="<<anonymous>>",u={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:w(),arrayOf:A,element:T(),elementType:v(),instanceOf:S,node:z(),objectOf:O,oneOf:P,oneOfType:M,shape:l,exact:N};function _($,I){return $===I?$!==0||1/$===1/I:$!==$&&I!==I}function f($,I){this.message=$,this.data=I&&typeof I=="object"?I:{},this.stack=""}f.prototype=Error.prototype;function g($){if(process.env.NODE_ENV!=="production")var I={},V=0;function Y(X,q,H,Q,J,U,ye){if(Q=Q||y,U=U||H,ye!==r){if(d){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Se=Q+":"+H;!I[Se]&&V<3&&(s("You are manually calling a React.PropTypes validation function for the `"+U+"` prop on `"+Q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),I[Se]=!0,V++)}}return q[H]==null?X?q[H]===null?new f("The "+J+" `"+U+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new f("The "+J+" `"+U+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:$(q,H,Q,J,U)}var G=Y.bind(null,!1);return G.isRequired=Y.bind(null,!0),G}function C($){function I(V,Y,G,X,q,H){var Q=V[Y],J=B(Q);if(J!==$){var U=K(Q);return new f("Invalid "+X+" `"+q+"` of type "+("`"+U+"` supplied to `"+G+"`, expected ")+("`"+$+"`."),{expectedType:$})}return null}return g(I)}function w(){return g(a)}function A($){function I(V,Y,G,X,q){if(typeof $!="function")return new f("Property `"+q+"` of component `"+G+"` has invalid PropType notation inside arrayOf.");var H=V[Y];if(!Array.isArray(H)){var Q=B(H);return new f("Invalid "+X+" `"+q+"` of type "+("`"+Q+"` supplied to `"+G+"`, expected an array."))}for(var J=0;J<H.length;J++){var U=$(H,J,G,X,q+"["+J+"]",r);if(U instanceof Error)return U}return null}return g(I)}function T(){function $(I,V,Y,G,X){var q=I[V];if(!i(q)){var H=B(q);return new f("Invalid "+G+" `"+X+"` of type "+("`"+H+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return g($)}function v(){function $(I,V,Y,G,X){var q=I[V];if(!e.isValidElementType(q)){var H=B(q);return new f("Invalid "+G+" `"+X+"` of type "+("`"+H+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return g($)}function S($){function I(V,Y,G,X,q){if(!(V[Y]instanceof $)){var H=$.name||y,Q=he(V[Y]);return new f("Invalid "+X+" `"+q+"` of type "+("`"+Q+"` supplied to `"+G+"`, expected ")+("instance of `"+H+"`."))}return null}return g(I)}function P($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function I(V,Y,G,X,q){for(var H=V[Y],Q=0;Q<$.length;Q++)if(_(H,$[Q]))return null;var J=JSON.stringify($,function(ye,j){var Se=K(j);return Se==="symbol"?String(j):j});return new f("Invalid "+X+" `"+q+"` of value `"+String(H)+"` "+("supplied to `"+G+"`, expected one of "+J+"."))}return g(I)}function O($){function I(V,Y,G,X,q){if(typeof $!="function")return new f("Property `"+q+"` of component `"+G+"` has invalid PropType notation inside objectOf.");var H=V[Y],Q=B(H);if(Q!=="object")return new f("Invalid "+X+" `"+q+"` of type "+("`"+Q+"` supplied to `"+G+"`, expected an object."));for(var J in H)if(o(H,J)){var U=$(H,J,G,X,q+"."+J,r);if(U instanceof Error)return U}return null}return g(I)}function M($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var I=0;I<$.length;I++){var V=$[I];if(typeof V!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(V)+" at index "+I+"."),a}function Y(G,X,q,H,Q){for(var J=[],U=0;U<$.length;U++){var ye=$[U],j=ye(G,X,q,H,Q,r);if(j==null)return null;j.data&&o(j.data,"expectedType")&&J.push(j.data.expectedType)}var Se=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new f("Invalid "+H+" `"+Q+"` supplied to "+("`"+q+"`"+Se+"."))}return g(Y)}function z(){function $(I,V,Y,G,X){return x(I[V])?null:new f("Invalid "+G+" `"+X+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return g($)}function L($,I,V,Y,G){return new f(($||"React class")+": "+I+" type `"+V+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function l($){function I(V,Y,G,X,q){var H=V[Y],Q=B(H);if(Q!=="object")return new f("Invalid "+X+" `"+q+"` of type `"+Q+"` "+("supplied to `"+G+"`, expected `object`."));for(var J in $){var U=$[J];if(typeof U!="function")return L(G,X,q,J,K(U));var ye=U(H,J,G,X,q+"."+J,r);if(ye)return ye}return null}return g(I)}function N($){function I(V,Y,G,X,q){var H=V[Y],Q=B(H);if(Q!=="object")return new f("Invalid "+X+" `"+q+"` of type `"+Q+"` "+("supplied to `"+G+"`, expected `object`."));var J=t({},V[Y],$);for(var U in J){var ye=$[U];if(o($,U)&&typeof ye!="function")return L(G,X,q,U,K(ye));if(!ye)return new f("Invalid "+X+" `"+q+"` key `"+U+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(V[Y],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys($),null," "));var j=ye(H,U,G,X,q+"."+U,r);if(j)return j}return null}return g(I)}function x($){switch(typeof $){case"number":case"string":case"undefined":return!0;case"boolean":return!$;case"object":if(Array.isArray($))return $.every(x);if($===null||i($))return!0;var I=h($);if(I){var V=I.call($),Y;if(I!==$.entries){for(;!(Y=V.next()).done;)if(!x(Y.value))return!1}else for(;!(Y=V.next()).done;){var G=Y.value;if(G&&!x(G[1]))return!1}}else return!1;return!0;default:return!1}}function R($,I){return $==="symbol"?!0:I?I["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&I instanceof Symbol:!1}function B($){var I=typeof $;return Array.isArray($)?"array":$ instanceof RegExp?"object":R(I,$)?"symbol":I}function K($){if(typeof $>"u"||$===null)return""+$;var I=B($);if(I==="object"){if($ instanceof Date)return"date";if($ instanceof RegExp)return"regexp"}return I}function ae($){var I=K($);switch(I){case"array":case"object":return"an "+I;case"boolean":case"date":case"regexp":return"a "+I;default:return I}}function he($){return!$.constructor||!$.constructor.name?y:$.constructor.name}return u.checkPropTypes=n,u.resetWarningCache=n.resetWarningCache,u.PropTypes=u,u},hr}var yr,co;function Ml(){if(co)return yr;co=1;var e=Br();function t(){}function r(){}return r.resetWarningCache=t,yr=function(){function o(a,i,d,p,m,h){if(h!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}o.isRequired=o;function n(){return o}var s={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:n,element:o,elementType:o,instanceOf:n,node:o,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},yr}var uo;function Ll(){if(uo)return Pt.exports;if(uo=1,process.env.NODE_ENV!=="production"){var e=Cn(),t=!0;Pt.exports=Il()(e.isElement,t)}else Pt.exports=Ml()();return Pt.exports}var Wl=Ll();const D=Al(Wl);function Sn(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Sn(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function qt(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Sn(e))&&(o&&(o+=" "),o+=t);return o}function Tn(e,t,r=!1){const o={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")o[s]={...e[s],...o[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],i=t[s];if(!i)o[s]=a||{};else if(!a)o[s]=i;else{o[s]={...i};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const p=d;o[s][p]=Tn(a[p],i[p],r)}}}else s==="className"&&r&&t.className?o.className=qt(e==null?void 0:e.className,t==null?void 0:t.className):s==="style"&&r&&t.style?o.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:o[s]===void 0&&(o[s]=e[s])}return o}function Fr(e,t,r=void 0){const o={};for(const n in e){const s=e[n];let a="",i=!0;for(let d=0;d<s.length;d+=1){const p=s[d];p&&(a+=(i===!0?"":" ")+t(p),i=!1,r&&r[p]&&(a+=" "+r[p]))}o[n]=a}return o}const po=e=>e,Bl=()=>{let e=po;return{configure(t){e=t},generate(t){return e(t)},reset(){e=po}}},Fl=Bl();function st(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Yt(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":st(7));return e.charAt(0).toUpperCase()+e.slice(1)}var kt={exports:{}},ie={};/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react-is.production.js
|
|
23
23
|
*
|
|
@@ -25,7 +25,7 @@ Valid keys: `+JSON.stringify(Object.keys($),null," "));var R=he(Y,G,V,K,U+"."+G
|
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/var
|
|
28
|
+
*/var fo;function Dl(){if(fo)return ie;fo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),u=Symbol.for("react.client.reference");function _(f){if(typeof f=="object"&&f!==null){var g=f.$$typeof;switch(g){case e:switch(f=f.type,f){case r:case n:case o:case d:case p:case y:return f;default:switch(f=f&&f.$$typeof,f){case a:case i:case h:case m:return f;case s:return f;default:return g}}case t:return g}}}return ie.ContextConsumer=s,ie.ContextProvider=a,ie.Element=e,ie.ForwardRef=i,ie.Fragment=r,ie.Lazy=h,ie.Memo=m,ie.Portal=t,ie.Profiler=n,ie.StrictMode=o,ie.Suspense=d,ie.SuspenseList=p,ie.isContextConsumer=function(f){return _(f)===s},ie.isContextProvider=function(f){return _(f)===a},ie.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},ie.isForwardRef=function(f){return _(f)===i},ie.isFragment=function(f){return _(f)===r},ie.isLazy=function(f){return _(f)===h},ie.isMemo=function(f){return _(f)===m},ie.isPortal=function(f){return _(f)===t},ie.isProfiler=function(f){return _(f)===n},ie.isStrictMode=function(f){return _(f)===o},ie.isSuspense=function(f){return _(f)===d},ie.isSuspenseList=function(f){return _(f)===p},ie.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===n||f===o||f===d||f===p||typeof f=="object"&&f!==null&&(f.$$typeof===h||f.$$typeof===m||f.$$typeof===a||f.$$typeof===s||f.$$typeof===i||f.$$typeof===u||f.getModuleId!==void 0)},ie.typeOf=_,ie}var le={};/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-is.development.js
|
|
31
31
|
*
|
|
@@ -33,22 +33,22 @@ Valid keys: `+JSON.stringify(Object.keys($),null," "));var R=he(Y,G,V,K,U+"."+G
|
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var
|
|
37
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,o,n]=r,s=Number.isNaN(+o)?o||0:+o;return e.containerQueries(n).up(s)}function
|
|
36
|
+
*/var mo;function Vl(){return mo||(mo=1,process.env.NODE_ENV!=="production"&&(function(){function e(f){if(typeof f=="object"&&f!==null){var g=f.$$typeof;switch(g){case t:switch(f=f.type,f){case o:case s:case n:case p:case m:case u:return f;default:switch(f=f&&f.$$typeof,f){case i:case d:case y:case h:return f;case a:return f;default:return g}}case r:return g}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),u=Symbol.for("react.view_transition"),_=Symbol.for("react.client.reference");le.ContextConsumer=a,le.ContextProvider=i,le.Element=t,le.ForwardRef=d,le.Fragment=o,le.Lazy=y,le.Memo=h,le.Portal=r,le.Profiler=s,le.StrictMode=n,le.Suspense=p,le.SuspenseList=m,le.isContextConsumer=function(f){return e(f)===a},le.isContextProvider=function(f){return e(f)===i},le.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===t},le.isForwardRef=function(f){return e(f)===d},le.isFragment=function(f){return e(f)===o},le.isLazy=function(f){return e(f)===y},le.isMemo=function(f){return e(f)===h},le.isPortal=function(f){return e(f)===r},le.isProfiler=function(f){return e(f)===s},le.isStrictMode=function(f){return e(f)===n},le.isSuspense=function(f){return e(f)===p},le.isSuspenseList=function(f){return e(f)===m},le.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===o||f===s||f===n||f===p||f===m||typeof f=="object"&&f!==null&&(f.$$typeof===y||f.$$typeof===h||f.$$typeof===i||f.$$typeof===a||f.$$typeof===d||f.$$typeof===_||f.getModuleId!==void 0)},le.typeOf=e})()),le}var ho;function zl(){return ho||(ho=1,process.env.NODE_ENV==="production"?kt.exports=Dl():kt.exports=Vl()),kt.exports}var Lt=zl();function Le(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function wn(e){if(xe.isValidElement(e)||Lt.isValidElementType(e)||!Le(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=wn(e[r])}),t}function $e(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return Le(e)&&Le(t)&&Object.keys(t).forEach(n=>{xe.isValidElement(t[n])||Lt.isValidElementType(t[n])?o[n]=t[n]:Le(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Le(e[n])?o[n]=$e(e[n],t[n],r):r.clone?o[n]=Le(t[n])?wn(t[n]):t[n]:o[n]=t[n]}),o}function St(e,t){return t?$e(e,t,{clone:!1}):e}const et=process.env.NODE_ENV!=="production"?D.oneOfType([D.number,D.string,D.object,D.array]):{};function yo(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,n)=>{var a,i;const s=/min-width:\s*([0-9.]+)/;return+(((a=o.match(s))==null?void 0:a[1])||0)-+(((i=n.match(s))==null?void 0:i[1])||0)});return r.length?r.reduce((o,n)=>{const s=t[n];return delete o[n],o[n]=s,o},{...t}):t}function Gl(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ul(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
37
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,o,n]=r,s=Number.isNaN(+o)?o||0:+o;return e.containerQueries(n).up(s)}function ql(e){const t=(s,a)=>s.replace("@media",a?`@container ${a}`:"@container");function r(s,a){s.up=(...i)=>t(e.breakpoints.up(...i),a),s.down=(...i)=>t(e.breakpoints.down(...i),a),s.between=(...i)=>t(e.breakpoints.between(...i),a),s.only=(...i)=>t(e.breakpoints.only(...i),a),s.not=(...i)=>{const d=t(e.breakpoints.not(...i),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const o={},n=s=>(r(o,s),o);return r(n),{...e,containerQueries:n}}const Ht={xs:0,sm:600,md:900,lg:1200,xl:1536},_o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ht[e]}px)`},Yl={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Ht[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function De(e,t,r){const o=e.theme||{};if(Array.isArray(t)){const s=o.breakpoints||_o;return t.reduce((a,i,d)=>(a[s.up(s.keys[d])]=r(t[d]),a),{})}if(typeof t=="object"){const s=o.breakpoints||_o;return Object.keys(t).reduce((a,i)=>{if(Gl(s.keys,i)){const d=Ul(o.containerQueries?o:Yl,i);d&&(a[d]=r(t[i],i))}else if(Object.keys(s.values||Ht).includes(i)){const d=s.up(i);a[d]=r(t[i],i)}else{const d=i;a[d]=t[d]}return a},{})}return r(t)}function Hl(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,n)=>{const s=e.up(n);return o[s]={},o},{}))||{}}function go(e,t){return e.reduce((r,o)=>{const n=r[o];return(!n||Object.keys(n).length===0)&&delete r[o],r},t)}function Kt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const o=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(o!=null)return o}return t.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function Wt(e,t,r,o=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||o:n=Kt(e,r)||o,t&&(n=t(n,o,e)),n}function fe(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:n}=e,s=a=>{if(a[t]==null)return null;const i=a[t],d=a.theme,p=Kt(d,o)||{};return De(a,i,h=>{let y=Wt(p,n,h);return h===y&&typeof h=="string"&&(y=Wt(p,n,`${t}${h==="default"?"":Yt(h)}`,h)),r===!1?y:{[r]:y}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:et}:{},s.filterProps=[t],s}function Kl(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Xl={m:"margin",p:"padding"},Ql={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},bo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Jl=Kl(e=>{if(e.length>2)if(bo[e])e=bo[e];else return[e];const[t,r]=e.split(""),o=Xl[t],n=Ql[r]||"";return Array.isArray(n)?n.map(s=>o+s):[o+n]}),Xt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Zl=[...Xt,...Qt];function wt(e,t,r,o){const n=Kt(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${s}.`),typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s):Array.isArray(n)?s=>{if(typeof s=="string")return s;const a=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>n.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(n)}.`,`${a} > ${n.length-1}, you need to add the missing values.`].join(`
|
|
38
38
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
39
39
|
`)));const i=n[a];return s>=0?i:typeof i=="number"?-i:typeof i=="string"&&i.startsWith("var(")?`calc(-1 * ${i})`:`-${i}`}:typeof n=="function"?n:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${n}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
40
|
-
`)),()=>{})}function Lr(e){return Ct(e,"spacing",8,"spacing")}function $t(e,t){return typeof t=="string"||t==null?t:e(t)}function Fl(e,t){return r=>e.reduce((o,n)=>(o[n]=$t(t,r),o),{})}function Dl(e,t,r,o){if(!t.includes(r))return null;const n=Wl(r),s=Fl(n,o),a=e[r];return Fe(e,a,s)}function vn(e,t){const r=Lr(e.theme);return Object.keys(e).map(o=>Dl(e,t,o,r)).reduce(vt,{})}function de(e){return vn(e,qt)}de.propTypes=process.env.NODE_ENV!=="production"?qt.reduce((e,t)=>(e[t]=Xe,e),{}):{};de.filterProps=qt;function ue(e){return vn(e,Yt)}ue.propTypes=process.env.NODE_ENV!=="production"?Yt.reduce((e,t)=>(e[t]=Xe,e),{}):{};ue.filterProps=Yt;process.env.NODE_ENV!=="production"&&Bl.reduce((e,t)=>(e[t]=Xe,e),{});function Ht(...e){const t=e.reduce((o,n)=>(n.filterProps.forEach(s=>{o[s]=n}),o),{}),r=o=>Object.keys(o).reduce((n,s)=>t[s]?vt(n,t[s](o)):n,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,n)=>Object.assign(o,n.propTypes),{}):{},r.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),r}function Te(e){return typeof e!="number"?e:`${e}px solid`}function we(e,t){return pe({prop:e,themeKey:"borders",transform:t})}const Vl=we("border",Te),zl=we("borderTop",Te),Gl=we("borderRight",Te),Ul=we("borderBottom",Te),ql=we("borderLeft",Te),Yl=we("borderColor"),Hl=we("borderTopColor"),Kl=we("borderRightColor"),Xl=we("borderBottomColor"),Ql=we("borderLeftColor"),Jl=we("outline",Te),Zl=we("outlineColor"),Kt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ct(e.theme,"shape.borderRadius",4,"borderRadius"),r=o=>({borderRadius:$t(t,o)});return Fe(e,e.borderRadius,r)}return null};Kt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Xe}:{};Kt.filterProps=["borderRadius"];Ht(Vl,zl,Gl,Ul,ql,Yl,Hl,Kl,Xl,Ql,Kt,Jl,Zl);const Xt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ct(e.theme,"spacing",8,"gap"),r=o=>({gap:$t(t,o)});return Fe(e,e.gap,r)}return null};Xt.propTypes=process.env.NODE_ENV!=="production"?{gap:Xe}:{};Xt.filterProps=["gap"];const Qt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ct(e.theme,"spacing",8,"columnGap"),r=o=>({columnGap:$t(t,o)});return Fe(e,e.columnGap,r)}return null};Qt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Xe}:{};Qt.filterProps=["columnGap"];const Jt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ct(e.theme,"spacing",8,"rowGap"),r=o=>({rowGap:$t(t,o)});return Fe(e,e.rowGap,r)}return null};Jt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Xe}:{};Jt.filterProps=["rowGap"];const ec=pe({prop:"gridColumn"}),tc=pe({prop:"gridRow"}),rc=pe({prop:"gridAutoFlow"}),oc=pe({prop:"gridAutoColumns"}),nc=pe({prop:"gridAutoRows"}),sc=pe({prop:"gridTemplateColumns"}),ac=pe({prop:"gridTemplateRows"}),ic=pe({prop:"gridTemplateAreas"}),lc=pe({prop:"gridArea"});Ht(Xt,Qt,Jt,ec,tc,rc,oc,nc,sc,ac,ic,lc);function dt(e,t){return t==="grey"?t:e}const cc=pe({prop:"color",themeKey:"palette",transform:dt}),dc=pe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:dt}),uc=pe({prop:"backgroundColor",themeKey:"palette",transform:dt});Ht(cc,dc,uc);function xe(e){return e<=1&&e!==0?`${e*100}%`:e}const pc=pe({prop:"width",transform:xe}),Wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,s,a,i,d;const o=((a=(s=(n=e.theme)==null?void 0:n.breakpoints)==null?void 0:s.values)==null?void 0:a[r])||Gt[r];return o?((d=(i=e.theme)==null?void 0:i.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:xe(r)}};return Fe(e,e.maxWidth,t)}return null};Wr.filterProps=["maxWidth"];const fc=pe({prop:"minWidth",transform:xe}),mc=pe({prop:"height",transform:xe}),hc=pe({prop:"maxHeight",transform:xe}),yc=pe({prop:"minHeight",transform:xe});pe({prop:"size",cssProperty:"width",transform:xe});pe({prop:"size",cssProperty:"height",transform:xe});const _c=pe({prop:"boxSizing"});Ht(pc,Wr,fc,mc,hc,yc,_c);const Zt={border:{themeKey:"borders",transform:Te},borderTop:{themeKey:"borders",transform:Te},borderRight:{themeKey:"borders",transform:Te},borderBottom:{themeKey:"borders",transform:Te},borderLeft:{themeKey:"borders",transform:Te},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Te},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Kt},color:{themeKey:"palette",transform:dt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:dt},backgroundColor:{themeKey:"palette",transform:dt},p:{style:ue},pt:{style:ue},pr:{style:ue},pb:{style:ue},pl:{style:ue},px:{style:ue},py:{style:ue},padding:{style:ue},paddingTop:{style:ue},paddingRight:{style:ue},paddingBottom:{style:ue},paddingLeft:{style:ue},paddingX:{style:ue},paddingY:{style:ue},paddingInline:{style:ue},paddingInlineStart:{style:ue},paddingInlineEnd:{style:ue},paddingBlock:{style:ue},paddingBlockStart:{style:ue},paddingBlockEnd:{style:ue},m:{style:de},mt:{style:de},mr:{style:de},mb:{style:de},ml:{style:de},mx:{style:de},my:{style:de},margin:{style:de},marginTop:{style:de},marginRight:{style:de},marginBottom:{style:de},marginLeft:{style:de},marginX:{style:de},marginY:{style:de},marginInline:{style:de},marginInlineStart:{style:de},marginInlineEnd:{style:de},marginBlock:{style:de},marginBlockStart:{style:de},marginBlockEnd:{style:de},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Xt},rowGap:{style:Jt},columnGap:{style:Qt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xe},maxWidth:{style:Wr},minWidth:{transform:xe},height:{transform:xe},maxHeight:{transform:xe},minHeight:{transform:xe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function gc(...e){const t=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function bc(e,t){return typeof e=="function"?e(t):e}function vc(){function e(r,o,n,s){const a={[r]:o,theme:n},i=s[r];if(!i)return{[r]:o};const{cssProperty:d=r,themeKey:p,transform:m,style:h}=i;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[r]:o};const y=Ut(n,p)||{};return h?h(a):Fe(a,o,_=>{let f=kt(y,m,_);return _===f&&typeof _=="string"&&(f=kt(y,m,`${r}${_==="default"?"":zt(_)}`,_)),d===!1?f:{[d]:f}})}function t(r){const{sx:o,theme:n={},nested:s}=r||{};if(!o)return null;const a=n.unstable_sxConfig??Zt;function i(d){let p=d;if(typeof d=="function")p=d(n);else if(typeof d!="object")return d;if(!p)return null;const m=kl(n.breakpoints),h=Object.keys(m);let y=m;return Object.keys(p).forEach(u=>{const _=bc(p[u],n);if(_!=null)if(typeof _=="object")if(a[u])y=vt(y,e(u,_,n,a));else{const f=Fe({theme:n},_,g=>({[u]:g}));gc(f,_)?y[u]=t({sx:_,theme:n,nested:!0}):y=vt(y,f)}else y=vt(y,e(u,_,n,a))}),!s&&n.modularCssLayers?{"@layer sx":co(n,po(h,y))}:co(n,po(h,y))}return Array.isArray(o)?o.map(i):i(o)}return t}const ut=vc();ut.filterProps=["sx"];function xc(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Cc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function $c(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Sc=/[A-Z]|^ms/g,Tc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xn=function(t){return t.charCodeAt(1)===45},mo=function(t){return t!=null&&typeof t!="boolean"},ur=$c(function(e){return xn(e)?e:e.replace(Sc,"-$&").toLowerCase()}),ho=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Tc,function(o,n,s){return He={name:n,styles:s,next:He},n})}return Cc[t]!==1&&!xn(t)&&typeof r=="number"&&r!==0?r+"px":r};function It(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return He={name:n.name,styles:n.styles,next:He},n.name;var s=r;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)He={name:a.name,styles:a.styles,next:He},a=a.next;var i=s.styles+";";return i}return wc(e,t,r)}}var d=r;return d}function wc(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=It(e,t,r[n])+";";else for(var s in r){var a=r[s];if(typeof a!="object"){var i=a;mo(i)&&(o+=ur(s)+":"+ho(s,i)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)mo(a[d])&&(o+=ur(s)+":"+ho(s,a[d])+";");else{var p=It(e,t,a);switch(s){case"animation":case"animationName":{o+=ur(s)+":"+p+";";break}default:o+=s+"{"+p+"}"}}}return o}var yo=/label:\s*([^\s;{]+)\s*(;|$)/g,He;function Nc(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";He=void 0;var s=e[0];if(s==null||s.raw===void 0)o=!1,n+=It(r,t,s);else{var a=s;n+=a[0]}for(var i=1;i<e.length;i++)if(n+=It(r,t,e[i]),o){var d=s;n+=d[i]}yo.lastIndex=0;for(var p="",m;(m=yo.exec(n))!==null;)p+="-"+m[1];var h=xc(n)+p;return{name:h,styles:n,next:He}}/**
|
|
40
|
+
`)),()=>{})}function Dr(e){return wt(e,"spacing",8,"spacing")}function Nt(e,t){return typeof t=="string"||t==null?t:e(t)}function ec(e,t){return r=>e.reduce((o,n)=>(o[n]=Nt(t,r),o),{})}function tc(e,t,r,o){if(!t.includes(r))return null;const n=Jl(r),s=ec(n,o),a=e[r];return De(e,a,s)}function Nn(e,t){const r=Dr(e.theme);return Object.keys(e).map(o=>tc(e,t,o,r)).reduce(St,{})}function ue(e){return Nn(e,Xt)}ue.propTypes=process.env.NODE_ENV!=="production"?Xt.reduce((e,t)=>(e[t]=et,e),{}):{};ue.filterProps=Xt;function pe(e){return Nn(e,Qt)}pe.propTypes=process.env.NODE_ENV!=="production"?Qt.reduce((e,t)=>(e[t]=et,e),{}):{};pe.filterProps=Qt;process.env.NODE_ENV!=="production"&&Zl.reduce((e,t)=>(e[t]=et,e),{});function Jt(...e){const t=e.reduce((o,n)=>(n.filterProps.forEach(s=>{o[s]=n}),o),{}),r=o=>Object.keys(o).reduce((n,s)=>t[s]?St(n,t[s](o)):n,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,n)=>Object.assign(o,n.propTypes),{}):{},r.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),r}function we(e){return typeof e!="number"?e:`${e}px solid`}function Ne(e,t){return fe({prop:e,themeKey:"borders",transform:t})}const rc=Ne("border",we),oc=Ne("borderTop",we),nc=Ne("borderRight",we),sc=Ne("borderBottom",we),ac=Ne("borderLeft",we),ic=Ne("borderColor"),lc=Ne("borderTopColor"),cc=Ne("borderRightColor"),dc=Ne("borderBottomColor"),uc=Ne("borderLeftColor"),pc=Ne("outline",we),fc=Ne("outlineColor"),Zt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wt(e.theme,"shape.borderRadius",4,"borderRadius"),r=o=>({borderRadius:Nt(t,o)});return De(e,e.borderRadius,r)}return null};Zt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:et}:{};Zt.filterProps=["borderRadius"];Jt(rc,oc,nc,sc,ac,ic,lc,cc,dc,uc,Zt,pc,fc);const er=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wt(e.theme,"spacing",8,"gap"),r=o=>({gap:Nt(t,o)});return De(e,e.gap,r)}return null};er.propTypes=process.env.NODE_ENV!=="production"?{gap:et}:{};er.filterProps=["gap"];const tr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wt(e.theme,"spacing",8,"columnGap"),r=o=>({columnGap:Nt(t,o)});return De(e,e.columnGap,r)}return null};tr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:et}:{};tr.filterProps=["columnGap"];const rr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wt(e.theme,"spacing",8,"rowGap"),r=o=>({rowGap:Nt(t,o)});return De(e,e.rowGap,r)}return null};rr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:et}:{};rr.filterProps=["rowGap"];const mc=fe({prop:"gridColumn"}),hc=fe({prop:"gridRow"}),yc=fe({prop:"gridAutoFlow"}),_c=fe({prop:"gridAutoColumns"}),gc=fe({prop:"gridAutoRows"}),bc=fe({prop:"gridTemplateColumns"}),vc=fe({prop:"gridTemplateRows"}),xc=fe({prop:"gridTemplateAreas"}),Cc=fe({prop:"gridArea"});Jt(er,tr,rr,mc,hc,yc,_c,gc,bc,vc,xc,Cc);function mt(e,t){return t==="grey"?t:e}const $c=fe({prop:"color",themeKey:"palette",transform:mt}),Sc=fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mt}),Tc=fe({prop:"backgroundColor",themeKey:"palette",transform:mt});Jt($c,Sc,Tc);function Ce(e){return e<=1&&e!==0?`${e*100}%`:e}const wc=fe({prop:"width",transform:Ce}),Vr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,s,a,i,d;const o=((a=(s=(n=e.theme)==null?void 0:n.breakpoints)==null?void 0:s.values)==null?void 0:a[r])||Ht[r];return o?((d=(i=e.theme)==null?void 0:i.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ce(r)}};return De(e,e.maxWidth,t)}return null};Vr.filterProps=["maxWidth"];const Nc=fe({prop:"minWidth",transform:Ce}),Ec=fe({prop:"height",transform:Ce}),Oc=fe({prop:"maxHeight",transform:Ce}),Ac=fe({prop:"minHeight",transform:Ce});fe({prop:"size",cssProperty:"width",transform:Ce});fe({prop:"size",cssProperty:"height",transform:Ce});const Rc=fe({prop:"boxSizing"});Jt(wc,Vr,Nc,Ec,Oc,Ac,Rc);const or={border:{themeKey:"borders",transform:we},borderTop:{themeKey:"borders",transform:we},borderRight:{themeKey:"borders",transform:we},borderBottom:{themeKey:"borders",transform:we},borderLeft:{themeKey:"borders",transform:we},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:we},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Zt},color:{themeKey:"palette",transform:mt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mt},backgroundColor:{themeKey:"palette",transform:mt},p:{style:pe},pt:{style:pe},pr:{style:pe},pb:{style:pe},pl:{style:pe},px:{style:pe},py:{style:pe},padding:{style:pe},paddingTop:{style:pe},paddingRight:{style:pe},paddingBottom:{style:pe},paddingLeft:{style:pe},paddingX:{style:pe},paddingY:{style:pe},paddingInline:{style:pe},paddingInlineStart:{style:pe},paddingInlineEnd:{style:pe},paddingBlock:{style:pe},paddingBlockStart:{style:pe},paddingBlockEnd:{style:pe},m:{style:ue},mt:{style:ue},mr:{style:ue},mb:{style:ue},ml:{style:ue},mx:{style:ue},my:{style:ue},margin:{style:ue},marginTop:{style:ue},marginRight:{style:ue},marginBottom:{style:ue},marginLeft:{style:ue},marginX:{style:ue},marginY:{style:ue},marginInline:{style:ue},marginInlineStart:{style:ue},marginInlineEnd:{style:ue},marginBlock:{style:ue},marginBlockStart:{style:ue},marginBlockEnd:{style:ue},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:er},rowGap:{style:rr},columnGap:{style:tr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ce},maxWidth:{style:Vr},minWidth:{transform:Ce},height:{transform:Ce},maxHeight:{transform:Ce},minHeight:{transform:Ce},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Pc(...e){const t=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function jc(e,t){return typeof e=="function"?e(t):e}function kc(){function e(r,o,n,s){const a={[r]:o,theme:n},i=s[r];if(!i)return{[r]:o};const{cssProperty:d=r,themeKey:p,transform:m,style:h}=i;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[r]:o};const y=Kt(n,p)||{};return h?h(a):De(a,o,_=>{let f=Wt(y,m,_);return _===f&&typeof _=="string"&&(f=Wt(y,m,`${r}${_==="default"?"":Yt(_)}`,_)),d===!1?f:{[d]:f}})}function t(r){const{sx:o,theme:n={},nested:s}=r||{};if(!o)return null;const a=n.unstable_sxConfig??or;function i(d){let p=d;if(typeof d=="function")p=d(n);else if(typeof d!="object")return d;if(!p)return null;const m=Hl(n.breakpoints),h=Object.keys(m);let y=m;return Object.keys(p).forEach(u=>{const _=jc(p[u],n);if(_!=null)if(typeof _=="object")if(a[u])y=St(y,e(u,_,n,a));else{const f=De({theme:n},_,g=>({[u]:g}));Pc(f,_)?y[u]=t({sx:_,theme:n,nested:!0}):y=St(y,f)}else y=St(y,e(u,_,n,a))}),!s&&n.modularCssLayers?{"@layer sx":yo(n,go(h,y))}:yo(n,go(h,y))}return Array.isArray(o)?o.map(i):i(o)}return t}const ht=kc();ht.filterProps=["sx"];function Ic(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Mc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Lc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Wc=/[A-Z]|^ms/g,Bc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,En=function(t){return t.charCodeAt(1)===45},vo=function(t){return t!=null&&typeof t!="boolean"},_r=Lc(function(e){return En(e)?e:e.replace(Wc,"-$&").toLowerCase()}),xo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Bc,function(o,n,s){return Xe={name:n,styles:s,next:Xe},n})}return Mc[t]!==1&&!En(t)&&typeof r=="number"&&r!==0?r+"px":r};function Bt(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Xe={name:n.name,styles:n.styles,next:Xe},n.name;var s=r;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)Xe={name:a.name,styles:a.styles,next:Xe},a=a.next;var i=s.styles+";";return i}return Fc(e,t,r)}}var d=r;return d}function Fc(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Bt(e,t,r[n])+";";else for(var s in r){var a=r[s];if(typeof a!="object"){var i=a;vo(i)&&(o+=_r(s)+":"+xo(s,i)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)vo(a[d])&&(o+=_r(s)+":"+xo(s,a[d])+";");else{var p=Bt(e,t,a);switch(s){case"animation":case"animationName":{o+=_r(s)+":"+p+";";break}default:o+=s+"{"+p+"}"}}}return o}var Co=/label:\s*([^\s;{]+)\s*(;|$)/g,Xe;function Dc(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";Xe=void 0;var s=e[0];if(s==null||s.raw===void 0)o=!1,n+=Bt(r,t,s);else{var a=s;n+=a[0]}for(var i=1;i<e.length;i++)if(n+=Bt(r,t,e[i]),o){var d=s;n+=d[i]}Co.lastIndex=0;for(var p="",m;(m=Co.exec(n))!==null;)p+="-"+m[1];var h=Ic(n)+p;return{name:h,styles:n,next:Xe}}/**
|
|
41
41
|
* @mui/styled-engine v7.3.10
|
|
42
42
|
*
|
|
43
43
|
* @license MIT
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/function
|
|
47
|
-
`)):o.some(s=>s===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),r(...o)}:r}function
|
|
48
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:
|
|
49
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:
|
|
50
|
-
`))}return C}const u=({color:g,name:C,mainShade:
|
|
51
|
-
The color object needs to have a \`main\` property or a \`${
|
|
46
|
+
*/function Vc(e,t){const r=cs(e,t);return process.env.NODE_ENV!=="production"?(...o)=>{const n=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
47
|
+
`)):o.some(s=>s===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),r(...o)}:r}function zc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const $o=[];function nt(e){return $o[0]=e,Dc($o)}const Gc=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function Uc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...n}=e,s=Gc(t),a=Object.keys(s);function i(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function d(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-o/100}${r})`}function p(y,u){const _=a.indexOf(u);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(_!==-1&&typeof t[a[_]]=="number"?t[a[_]]:u)-o/100}${r})`}function m(y){return a.indexOf(y)+1<a.length?p(y,a[a.indexOf(y)+1]):i(y)}function h(y){const u=a.indexOf(y);return u===0?i(a[1]):u===a.length-1?d(a[u]):p(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:a,values:s,up:i,down:d,between:p,only:m,not:h,unit:r,...n}}const qc={borderRadius:4};function On(e=8,t=Dr({spacing:e})){if(e.mui)return e;const r=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Yc(e,t){var o;const r=this;if(r.vars){if(!((o=r.colorSchemes)!=null&&o[e])||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function zr(e={},...t){const{breakpoints:r={},palette:o={},spacing:n,shape:s={},...a}=e,i=Uc(r),d=On(n);let p=$e({breakpoints:i,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:d,shape:{...qc,...s}},a);return p=ql(p),p.applyStyles=Yc,p=t.reduce((m,h)=>$e(m,h),p),p.unstable_sxConfig={...or,...a==null?void 0:a.unstable_sxConfig},p.unstable_sx=function(h){return ht({sx:h,theme:this})},p}function Hc(e){return Object.keys(e).length===0}function Kc(e=null){const t=xe.useContext(ls.ThemeContext);return!t||Hc(t)?e:t}const Xc=zr();function Qc(e=Xc){return Kc(e)}const Jc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Et(e,t,r="Mui"){const o=Jc[t];return o?`${r}-${o}`:`${Fl.generate(e)}-${t}`}function Ot(e,t,r="Mui"){const o={};return t.forEach(n=>{o[n]=Et(e,n,r)}),o}function An(e,t=""){return e.displayName||e.name||t}function So(e,t,r){const o=An(t);return e.displayName||(o!==""?`${r}(${o})`:r)}function Zc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return An(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Lt.ForwardRef:return So(e,e.render,"ForwardRef");case Lt.Memo:return So(e,e.type,"memo");default:return}}}function ed(e){const{variants:t,...r}=e,o={variants:t,style:nt(r),isProcessed:!0};return o.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=nt(n.style))}),o}const td=zr();function gr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ot(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function rd(e){return e?(t,r)=>r[e]:null}function od(e,t,r){e.theme=id(e.theme)?r:e.theme[t]||e.theme}function Mt(e,t,r){const o=typeof t=="function"?t(e):t;if(Array.isArray(o))return o.flatMap(n=>Mt(e,n,r));if(Array.isArray(o==null?void 0:o.variants)){let n;if(o.isProcessed)n=r?ot(o.style,r):o.style;else{const{variants:s,...a}=o;n=r?ot(nt(a),r):a}return Rn(e,o.variants,[n],r)}return o!=null&&o.isProcessed?r?ot(nt(o.style),r):o.style:r?ot(nt(o),r):o}function Rn(e,t,r=[],o=void 0){var s;let n;e:for(let a=0;a<t.length;a+=1){const i=t[a];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(const d in i.props)if(e[d]!==i.props[d]&&((s=e.ownerState)==null?void 0:s[d])!==i.props[d])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(o?ot(nt(i.style(n)),o):i.style(n))):r.push(o?ot(nt(i.style),o):i.style)}return r}function nd(e={}){const{themeId:t,defaultTheme:r=td,rootShouldForwardProp:o=gr,slotShouldForwardProp:n=gr}=e;function s(i){od(i,t,r)}return(i,d={})=>{zc(i,S=>S.filter(P=>P!==ht));const{name:p,slot:m,skipVariantsResolver:h,skipSx:y,overridesResolver:u=rd(Pn(m)),..._}=d,f=p&&p.startsWith("Mui")||m?"components":"custom",g=h!==void 0?h:m&&m!=="Root"&&m!=="root"||!1,C=y||!1;let w=gr;m==="Root"||m==="root"?w=o:m?w=n:ld(i)&&(w=void 0);const A=Vc(i,{shouldForwardProp:w,label:ad(p,m),..._}),T=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(O){return Mt(O,S,O.theme.modularCssLayers?f:void 0)};if(Le(S)){const P=ed(S);return function(M){return P.variants?Mt(M,P,M.theme.modularCssLayers?f:void 0):M.theme.modularCssLayers?ot(P.style,f):P.style}}return S},v=(...S)=>{const P=[],O=S.map(T),M=[];if(P.push(s),p&&u&&M.push(function(N){var K,ae;const R=(ae=(K=N.theme.components)==null?void 0:K[p])==null?void 0:ae.styleOverrides;if(!R)return null;const B={};for(const he in R)B[he]=Mt(N,R[he],N.theme.modularCssLayers?"theme":void 0);return u(N,B)}),p&&!g&&M.push(function(N){var B,K;const x=N.theme,R=(K=(B=x==null?void 0:x.components)==null?void 0:B[p])==null?void 0:K.variants;return R?Rn(N,R,[],N.theme.modularCssLayers?"theme":void 0):null}),C||M.push(ht),Array.isArray(O[0])){const l=O.shift(),N=new Array(P.length).fill(""),x=new Array(M.length).fill("");let R;R=[...N,...l,...x],R.raw=[...N,...l.raw,...x],P.unshift(R)}const z=[...P,...O,...M],L=A(...z);return i.muiName&&(L.muiName=i.muiName),process.env.NODE_ENV!=="production"&&(L.displayName=sd(p,m,i)),L};return A.withConfig&&(v.withConfig=A.withConfig),v}}function sd(e,t,r){return e?`${e}${Yt(t||"")}`:`Styled(${Zc(r)})`}function ad(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Pn(t||"Root")}`),r}function id(e){for(const t in e)return!1;return!0}function ld(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pn(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function cd(e){const{theme:t,name:r,props:o}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?o:Tn(t.components[r].defaultProps,o)}function dd({props:e,name:t,defaultTheme:r,themeId:o}){let n=Qc(r);return n=n[o]||n,cd({theme:n,name:t,props:e})}function ud(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Gr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),ud(e,t,r)}function pd(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(o=>o+o)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Qe(e){if(e.type)return e;if(e.charAt(0)==="#")return Qe(pd(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
48
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:st(9,e));let o=e.substring(t+1,e.length-1),n;if(r==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${n}\` color space.
|
|
49
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:st(10,n))}else o=o.split(",");return o=o.map(s=>parseFloat(s)),{type:r,values:o,colorSpace:n}}const fd=e=>{const t=Qe(e);return t.values.slice(0,3).map((r,o)=>t.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},vt=(e,t)=>{try{return fd(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function nr(e){const{type:t,colorSpace:r}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function jn(e){e=Qe(e);const{values:t}=e,r=t[0],o=t[1]/100,n=t[2]/100,s=o*Math.min(n,1-n),a=(p,m=(p+r/30)%12)=>n-s*Math.max(Math.min(m-3,9-m,1),-1);let i="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(i+="a",d.push(t[3])),nr({type:i,values:d})}function xr(e){e=Qe(e);let t=e.type==="hsl"||e.type==="hsla"?Qe(jn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function To(e,t){const r=xr(e),o=xr(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function kn(e,t){return e=Qe(e),t=Gr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nr(e)}function rt(e,t,r){try{return kn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function sr(e,t){if(e=Qe(e),t=Gr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return nr(e)}function ne(e,t,r){try{return sr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ar(e,t){if(e=Qe(e),t=Gr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return nr(e)}function se(e,t,r){try{return ar(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function md(e,t=.15){return xr(e)>.5?sr(e,t):ar(e,t)}function It(e,t,r){try{return md(e,t)}catch{return e}}function hd(e=""){function t(...o){if(!o.length)return"";const n=o[0];return typeof n=="string"&&!n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${n}${t(...o.slice(1))})`:`, ${n}`}return(o,...n)=>`var(--${e?`${e}-`:""}${o}${t(...n)})`}const wo=(e,t,r,o=[])=>{let n=e;t.forEach((s,a)=>{a===t.length-1?Array.isArray(n)?n[Number(s)]=r:n&&typeof n=="object"&&(n[s]=r):n&&typeof n=="object"&&(n[s]||(n[s]=o.includes(s)?[]:{}),n=n[s])})},yd=(e,t,r)=>{function o(n,s=[],a=[]){Object.entries(n).forEach(([i,d])=>{(!r||r&&!r([...s,i]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?o(d,[...s,i],Array.isArray(d)?[...a,i]:a):t([...s,i],d,a))})}o(e)},_d=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function br(e,t){const{prefix:r,shouldSkipGeneratingVar:o}=t||{},n={},s={},a={};return yd(e,(i,d,p)=>{if((typeof d=="string"||typeof d=="number")&&(!o||!o(i,d))){const m=`--${r?`${r}-`:""}${i.join("-")}`,h=_d(i,d);Object.assign(n,{[m]:h}),wo(s,i,`var(${m})`,p),wo(a,i,`var(${m}, ${h})`,p)}},i=>i[0]==="vars"),{css:n,vars:s,varsWithDefaults:a}}function gd(e,t={}){const{getSelector:r=C,disableCssColorScheme:o,colorSchemeSelector:n,enableContrastVars:s}=t,{colorSchemes:a={},components:i,defaultColorScheme:d="light",...p}=e,{vars:m,css:h,varsWithDefaults:y}=br(p,t);let u=y;const _={},{[d]:f,...g}=a;if(Object.entries(g||{}).forEach(([T,v])=>{const{vars:S,css:P,varsWithDefaults:O}=br(v,t);u=$e(u,O),_[T]={css:P,vars:S}}),f){const{css:T,vars:v,varsWithDefaults:S}=br(f,t);u=$e(u,S),_[d]={css:T,vars:v}}function C(T,v){var P,O;let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n!=null&&n.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),T){if(S==="media")return e.defaultColorScheme===T?":root":{[`@media (prefers-color-scheme: ${((O=(P=a[T])==null?void 0:P.palette)==null?void 0:O.mode)||T})`]:{":root":v}};if(S)return e.defaultColorScheme===T?`:root, ${S.replace("%s",String(T))}`:S.replace("%s",String(T))}return":root"}return{vars:u,generateThemeVars:()=>{let T={...m};return Object.entries(_).forEach(([,{vars:v}])=>{T=$e(T,v)}),T},generateStyleSheets:()=>{var M,z;const T=[],v=e.defaultColorScheme||"light";function S(L,l){Object.keys(l).length&&T.push(typeof L=="string"?{[L]:{...l}}:L)}S(r(void 0,{...h}),h);const{[v]:P,...O}=_;if(P){const{css:L}=P,l=(z=(M=a[v])==null?void 0:M.palette)==null?void 0:z.mode,N=!o&&l?{colorScheme:l,...L}:{...L};S(r(v,{...N}),N)}return Object.entries(O).forEach(([L,{css:l}])=>{var R,B;const N=(B=(R=a[L])==null?void 0:R.palette)==null?void 0:B.mode,x=!o&&N?{colorScheme:N,...l}:{...l};S(r(L,{...x}),x)}),s&&T.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),T}}}function bd(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function vd(e,t){var r,o,n;return xe.isValidElement(e)&&t.indexOf(e.type.muiName??((n=(o=(r=e.type)==null?void 0:r._payload)==null?void 0:o.value)==null?void 0:n.muiName))!==-1}const Tt={black:"#000",white:"#fff"},xd={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},it={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},lt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},bt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},ct={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},dt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ut={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function In(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Tt.white,default:Tt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Mn=In();function Ln(){return{text:{primary:Tt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Tt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Cr=Ln();function No(e,t,r,o){const n=o.light||o,s=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ar(e.main,n):t==="dark"&&(e.dark=sr(e.main,s)))}function Eo(e,t,r,o,n){const s=n.light||n,a=n.dark||n*1.5;t[r]||(t.hasOwnProperty(o)?t[r]=t[o]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(s*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function Cd(e="light"){return e==="dark"?{main:ct[200],light:ct[50],dark:ct[400]}:{main:ct[700],light:ct[400],dark:ct[800]}}function $d(e="light"){return e==="dark"?{main:it[200],light:it[50],dark:it[400]}:{main:it[500],light:it[300],dark:it[700]}}function Sd(e="light"){return e==="dark"?{main:lt[500],light:lt[300],dark:lt[700]}:{main:lt[700],light:lt[400],dark:lt[800]}}function Td(e="light"){return e==="dark"?{main:dt[400],light:dt[300],dark:dt[700]}:{main:dt[700],light:dt[500],dark:dt[900]}}function wd(e="light"){return e==="dark"?{main:ut[400],light:ut[300],dark:ut[700]}:{main:ut[800],light:ut[500],dark:ut[900]}}function Nd(e="light"){return e==="dark"?{main:bt[400],light:bt[300],dark:bt[700]}:{main:"#ed6c02",light:bt[500],dark:bt[900]}}function Ed(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ur(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2,colorSpace:n,...s}=e,a=e.primary||Cd(t),i=e.secondary||$d(t),d=e.error||Sd(t),p=e.info||Td(t),m=e.success||wd(t),h=e.warning||Nd(t);function y(g){if(n)return Ed(g);const C=To(g,Cr.text.primary)>=r?Cr.text.primary:Mn.text.primary;if(process.env.NODE_ENV!=="production"){const w=To(g,C);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${C} on ${g}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
50
|
+
`))}return C}const u=({color:g,name:C,mainShade:w=500,lightShade:A=300,darkShade:T=700})=>{if(g={...g},!g.main&&g[w]&&(g.main=g[w]),!g.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
|
|
51
|
+
The color object needs to have a \`main\` property or a \`${w}\` property.`:st(11,C?` (${C})`:"",w));if(typeof g.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
|
|
52
52
|
\`color.main\` should be a string, but \`${JSON.stringify(g.main)}\` was provided instead.
|
|
53
53
|
|
|
54
54
|
Did you intend to use one of the following approaches?
|
|
@@ -61,15 +61,25 @@ const theme1 = createTheme({ palette: {
|
|
|
61
61
|
|
|
62
62
|
const theme2 = createTheme({ palette: {
|
|
63
63
|
primary: { main: green[500] },
|
|
64
|
-
} });`:
|
|
65
|
-
`)),Object.keys(p).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`)}return(Array.isArray(n)?n:[n]).map(m=>`${m} ${typeof a=="string"?a:
|
|
64
|
+
} });`:st(12,C?` (${C})`:"",JSON.stringify(g.main)));return n?(Eo(n,g,"light",A,o),Eo(n,g,"dark",T,o)):(No(g,"light",A,o),No(g,"dark",T,o)),g.contrastText||(g.contrastText=y(g.main)),g};let _;return t==="light"?_=In():t==="dark"&&(_=Ln()),process.env.NODE_ENV!=="production"&&(_||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),$e({common:{...Tt},mode:t,primary:u({color:a,name:"primary"}),secondary:u({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:u({color:d,name:"error"}),warning:u({color:h,name:"warning"}),info:u({color:p,name:"info"}),success:u({color:m,name:"success"}),grey:xd,contrastThreshold:r,getContrastText:y,augmentColor:u,tonalOffset:o,..._},s)}function Od(e){const t={};return Object.entries(e).forEach(o=>{const[n,s]=o;typeof s=="object"&&(t[n]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function Ad(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Rd(e){return Math.round(e*1e5)/1e5}const Oo={textTransform:"uppercase"},Ao='"Roboto", "Helvetica", "Arial", sans-serif';function Pd(e,t){const{fontFamily:r=Ao,fontSize:o=14,fontWeightLight:n=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:i=700,htmlFontSize:d=16,allVariants:p,pxToRem:m,...h}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=o/14,u=m||(g=>`${g/d*y}rem`),_=(g,C,w,A,T)=>({fontFamily:r,fontWeight:g,fontSize:u(C),lineHeight:w,...r===Ao?{letterSpacing:`${Rd(A/C)}em`}:{},...T,...p}),f={h1:_(n,96,1.167,-1.5),h2:_(n,60,1.2,-.5),h3:_(s,48,1.167,0),h4:_(s,34,1.235,.25),h5:_(s,24,1.334,0),h6:_(a,20,1.6,.15),subtitle1:_(s,16,1.75,.15),subtitle2:_(a,14,1.57,.1),body1:_(s,16,1.5,.15),body2:_(s,14,1.43,.15),button:_(a,14,1.75,.4,Oo),caption:_(s,12,1.66,.4),overline:_(s,12,2.66,1,Oo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $e({htmlFontSize:d,pxToRem:u,fontFamily:r,fontSize:o,fontWeightLight:n,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:i,...f},h,{clone:!1})}const jd=.2,kd=.14,Id=.12;function de(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jd})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Id})`].join(",")}const Md=["none",de(0,2,1,-1,0,1,1,0,0,1,3,0),de(0,3,1,-2,0,2,2,0,0,1,5,0),de(0,3,3,-2,0,3,4,0,0,1,8,0),de(0,2,4,-1,0,4,5,0,0,1,10,0),de(0,3,5,-1,0,5,8,0,0,1,14,0),de(0,3,5,-1,0,6,10,0,0,1,18,0),de(0,4,5,-2,0,7,10,1,0,2,16,1),de(0,5,5,-3,0,8,10,1,0,3,14,2),de(0,5,6,-3,0,9,12,1,0,3,16,2),de(0,6,6,-3,0,10,14,1,0,4,18,3),de(0,6,7,-4,0,11,15,1,0,4,20,3),de(0,7,8,-4,0,12,17,2,0,5,22,4),de(0,7,8,-4,0,13,19,2,0,5,24,4),de(0,7,9,-4,0,14,21,2,0,5,26,4),de(0,8,9,-5,0,15,22,2,0,6,28,5),de(0,8,10,-5,0,16,24,2,0,6,30,5),de(0,8,11,-5,0,17,26,2,0,6,32,5),de(0,9,11,-5,0,18,28,2,0,7,34,6),de(0,9,12,-6,0,19,29,2,0,7,36,6),de(0,10,13,-6,0,20,31,3,0,8,38,7),de(0,10,13,-6,0,21,33,3,0,8,40,7),de(0,10,14,-6,0,22,35,3,0,8,42,7),de(0,11,14,-7,0,23,36,3,0,9,44,8),de(0,11,15,-7,0,24,38,3,0,9,46,8)],Ld={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Wd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ro(e){return`${Math.round(e)}ms`}function Bd(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Fd(e){const t={...Ld,...e.easing},r={...Wd,...e.duration};return{getAutoHeightDuration:Bd,create:(n=["all"],s={})=>{const{duration:a=r.standard,easing:i=t.easeInOut,delay:d=0,...p}=s;if(process.env.NODE_ENV!=="production"){const m=y=>typeof y=="string",h=y=>!Number.isNaN(parseFloat(y));!m(n)&&!Array.isArray(n)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(i)||console.error('MUI: Argument "easing" must be a string.'),!h(d)&&!m(d)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
65
|
+
`)),Object.keys(p).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`)}return(Array.isArray(n)?n:[n]).map(m=>`${m} ${typeof a=="string"?a:Ro(a)} ${i} ${typeof d=="string"?d:Ro(d)}`).join(",")},...e,easing:t,duration:r}}const Dd={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Vd(e){return Le(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Wn(e={}){const t={...e};function r(o){const n=Object.entries(o);for(let s=0;s<n.length;s++){const[a,i]=n[s];!Vd(i)||a.startsWith("unstable_")?delete o[a]:Le(i)&&(o[a]={...i},r(o[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
66
66
|
|
|
67
67
|
const theme = ${JSON.stringify(t,null,2)};
|
|
68
68
|
|
|
69
69
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
70
70
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
71
71
|
|
|
72
|
-
export default theme;`}function
|
|
73
|
-
`))}g[
|
|
74
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Wd(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Oe=e=>{try{return e()}catch{}},Bd=(e="mui")=>td(e);function mr(e,t,r,o,n){if(!r)return;r=r===!0?{}:r;const s=n==="dark"?"dark":"light";if(!o){t[n]=jd({...r,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...i}=_r({...o,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return t[n]={...r,palette:a,opacity:{...Rn(s),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||jn(s)},i}function Fd(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:n=!1,cssVarPrefix:s="mui",nativeColor:a=!1,shouldSkipGeneratingVar:i=kd,colorSchemeSelector:d=r.light&&r.dark?"media":void 0,rootSelector:p=":root",...m}=e,h=Object.keys(r)[0],y=o||(r.light&&h!=="light"?"light":h),u=Bd(s),{[y]:_,light:f,dark:g,...C}=r,N={...C};let A=_;if((y==="dark"&&!("dark"in r)||y==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${y}\` option is either missing or invalid.`:tt(21,y));let w;a&&(w="oklch");const v=mr(w,N,A,m,y);f&&!N.light&&mr(w,N,f,void 0,"light"),g&&!N.dark&&mr(w,N,g,void 0,"dark");let S={defaultColorScheme:y,...v,cssVarPrefix:s,colorSchemeSelector:d,rootSelector:p,getCssVar:u,colorSchemes:N,font:{...hd(v.typography),...v.font},spacing:Wd(m.spacing)};Object.keys(S.colorSchemes).forEach(W=>{const l=S.colorSchemes[W].palette,T=P=>{const B=P.split("-"),H=B[1],se=B[2];return u(P,l[H][se])};l.mode==="light"&&(b(l.common,"background","#fff"),b(l.common,"onBackground","#000")),l.mode==="dark"&&(b(l.common,"background","#000"),b(l.common,"onBackground","#fff"));function x(P,B,H){if(w){let se;return P===Je&&(se=`transparent ${((1-H)*100).toFixed(0)}%`),P===oe&&(se=`#000 ${(H*100).toFixed(0)}%`),P===ne&&(se=`#fff ${(H*100).toFixed(0)}%`),`color-mix(in ${w}, ${B}, ${se})`}return P(B,H)}if(Ld(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){b(l.Alert,"errorColor",x(oe,a?u("palette-error-light"):l.error.light,.6)),b(l.Alert,"infoColor",x(oe,a?u("palette-info-light"):l.info.light,.6)),b(l.Alert,"successColor",x(oe,a?u("palette-success-light"):l.success.light,.6)),b(l.Alert,"warningColor",x(oe,a?u("palette-warning-light"):l.warning.light,.6)),b(l.Alert,"errorFilledBg",T("palette-error-main")),b(l.Alert,"infoFilledBg",T("palette-info-main")),b(l.Alert,"successFilledBg",T("palette-success-main")),b(l.Alert,"warningFilledBg",T("palette-warning-main")),b(l.Alert,"errorFilledColor",Oe(()=>l.getContrastText(l.error.main))),b(l.Alert,"infoFilledColor",Oe(()=>l.getContrastText(l.info.main))),b(l.Alert,"successFilledColor",Oe(()=>l.getContrastText(l.success.main))),b(l.Alert,"warningFilledColor",Oe(()=>l.getContrastText(l.warning.main))),b(l.Alert,"errorStandardBg",x(ne,a?u("palette-error-light"):l.error.light,.9)),b(l.Alert,"infoStandardBg",x(ne,a?u("palette-info-light"):l.info.light,.9)),b(l.Alert,"successStandardBg",x(ne,a?u("palette-success-light"):l.success.light,.9)),b(l.Alert,"warningStandardBg",x(ne,a?u("palette-warning-light"):l.warning.light,.9)),b(l.Alert,"errorIconColor",T("palette-error-main")),b(l.Alert,"infoIconColor",T("palette-info-main")),b(l.Alert,"successIconColor",T("palette-success-main")),b(l.Alert,"warningIconColor",T("palette-warning-main")),b(l.AppBar,"defaultBg",T("palette-grey-100")),b(l.Avatar,"defaultBg",T("palette-grey-400")),b(l.Button,"inheritContainedBg",T("palette-grey-300")),b(l.Button,"inheritContainedHoverBg",T("palette-grey-A100")),b(l.Chip,"defaultBorder",T("palette-grey-400")),b(l.Chip,"defaultAvatarColor",T("palette-grey-700")),b(l.Chip,"defaultIconColor",T("palette-grey-700")),b(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(l.LinearProgress,"primaryBg",x(ne,a?u("palette-primary-main"):l.primary.main,.62)),b(l.LinearProgress,"secondaryBg",x(ne,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.LinearProgress,"errorBg",x(ne,a?u("palette-error-main"):l.error.main,.62)),b(l.LinearProgress,"infoBg",x(ne,a?u("palette-info-main"):l.info.main,.62)),b(l.LinearProgress,"successBg",x(ne,a?u("palette-success-main"):l.success.main,.62)),b(l.LinearProgress,"warningBg",x(ne,a?u("palette-warning-light"):l.warning.main,.62)),b(l.Skeleton,"bg",w?x(Je,a?u("palette-text-primary"):l.text.primary,.11):`rgba(${T("palette-text-primaryChannel")} / 0.11)`),b(l.Slider,"primaryTrack",x(ne,a?u("palette-primary-main"):l.primary.main,.62)),b(l.Slider,"secondaryTrack",x(ne,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.Slider,"errorTrack",x(ne,a?u("palette-error-main"):l.error.main,.62)),b(l.Slider,"infoTrack",x(ne,a?u("palette-info-main"):l.info.main,.62)),b(l.Slider,"successTrack",x(ne,a?u("palette-success-main"):l.success.main,.62)),b(l.Slider,"warningTrack",x(ne,a?u("palette-warning-main"):l.warning.main,.62));const P=w?x(oe,a?u("palette-background-default"):l.background.default,.6825):Pt(l.background.default,.8);b(l.SnackbarContent,"bg",P),b(l.SnackbarContent,"color",Oe(()=>w?yr.text.primary:l.getContrastText(P))),b(l.SpeedDialAction,"fabHoverBg",Pt(l.background.paper,.15)),b(l.StepConnector,"border",T("palette-grey-400")),b(l.StepContent,"border",T("palette-grey-400")),b(l.Switch,"defaultColor",T("palette-common-white")),b(l.Switch,"defaultDisabledColor",T("palette-grey-100")),b(l.Switch,"primaryDisabledColor",x(ne,a?u("palette-primary-main"):l.primary.main,.62)),b(l.Switch,"secondaryDisabledColor",x(ne,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.Switch,"errorDisabledColor",x(ne,a?u("palette-error-main"):l.error.main,.62)),b(l.Switch,"infoDisabledColor",x(ne,a?u("palette-info-main"):l.info.main,.62)),b(l.Switch,"successDisabledColor",x(ne,a?u("palette-success-main"):l.success.main,.62)),b(l.Switch,"warningDisabledColor",x(ne,a?u("palette-warning-main"):l.warning.main,.62)),b(l.TableCell,"border",x(ne,Je(a?u("palette-divider"):l.divider,1),.88)),b(l.Tooltip,"bg",x(Je,a?u("palette-grey-700"):l.grey[700],.92))}if(l.mode==="dark"){b(l.Alert,"errorColor",x(ne,a?u("palette-error-light"):l.error.light,.6)),b(l.Alert,"infoColor",x(ne,a?u("palette-info-light"):l.info.light,.6)),b(l.Alert,"successColor",x(ne,a?u("palette-success-light"):l.success.light,.6)),b(l.Alert,"warningColor",x(ne,a?u("palette-warning-light"):l.warning.light,.6)),b(l.Alert,"errorFilledBg",T("palette-error-dark")),b(l.Alert,"infoFilledBg",T("palette-info-dark")),b(l.Alert,"successFilledBg",T("palette-success-dark")),b(l.Alert,"warningFilledBg",T("palette-warning-dark")),b(l.Alert,"errorFilledColor",Oe(()=>l.getContrastText(l.error.dark))),b(l.Alert,"infoFilledColor",Oe(()=>l.getContrastText(l.info.dark))),b(l.Alert,"successFilledColor",Oe(()=>l.getContrastText(l.success.dark))),b(l.Alert,"warningFilledColor",Oe(()=>l.getContrastText(l.warning.dark))),b(l.Alert,"errorStandardBg",x(oe,a?u("palette-error-light"):l.error.light,.9)),b(l.Alert,"infoStandardBg",x(oe,a?u("palette-info-light"):l.info.light,.9)),b(l.Alert,"successStandardBg",x(oe,a?u("palette-success-light"):l.success.light,.9)),b(l.Alert,"warningStandardBg",x(oe,a?u("palette-warning-light"):l.warning.light,.9)),b(l.Alert,"errorIconColor",T("palette-error-main")),b(l.Alert,"infoIconColor",T("palette-info-main")),b(l.Alert,"successIconColor",T("palette-success-main")),b(l.Alert,"warningIconColor",T("palette-warning-main")),b(l.AppBar,"defaultBg",T("palette-grey-900")),b(l.AppBar,"darkBg",T("palette-background-paper")),b(l.AppBar,"darkColor",T("palette-text-primary")),b(l.Avatar,"defaultBg",T("palette-grey-600")),b(l.Button,"inheritContainedBg",T("palette-grey-800")),b(l.Button,"inheritContainedHoverBg",T("palette-grey-700")),b(l.Chip,"defaultBorder",T("palette-grey-700")),b(l.Chip,"defaultAvatarColor",T("palette-grey-300")),b(l.Chip,"defaultIconColor",T("palette-grey-300")),b(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(l.LinearProgress,"primaryBg",x(oe,a?u("palette-primary-main"):l.primary.main,.5)),b(l.LinearProgress,"secondaryBg",x(oe,a?u("palette-secondary-main"):l.secondary.main,.5)),b(l.LinearProgress,"errorBg",x(oe,a?u("palette-error-main"):l.error.main,.5)),b(l.LinearProgress,"infoBg",x(oe,a?u("palette-info-main"):l.info.main,.5)),b(l.LinearProgress,"successBg",x(oe,a?u("palette-success-main"):l.success.main,.5)),b(l.LinearProgress,"warningBg",x(oe,a?u("palette-warning-main"):l.warning.main,.5)),b(l.Skeleton,"bg",w?x(Je,a?u("palette-text-primary"):l.text.primary,.13):`rgba(${T("palette-text-primaryChannel")} / 0.13)`),b(l.Slider,"primaryTrack",x(oe,a?u("palette-primary-main"):l.primary.main,.5)),b(l.Slider,"secondaryTrack",x(oe,a?u("palette-secondary-main"):l.secondary.main,.5)),b(l.Slider,"errorTrack",x(oe,a?u("palette-error-main"):l.error.main,.5)),b(l.Slider,"infoTrack",x(oe,a?u("palette-info-main"):l.info.main,.5)),b(l.Slider,"successTrack",x(oe,a?u("palette-success-main"):l.success.main,.5)),b(l.Slider,"warningTrack",x(oe,a?u("palette-warning-light"):l.warning.main,.5));const P=w?x(ne,a?u("palette-background-default"):l.background.default,.985):Pt(l.background.default,.98);b(l.SnackbarContent,"bg",P),b(l.SnackbarContent,"color",Oe(()=>w?On.text.primary:l.getContrastText(P))),b(l.SpeedDialAction,"fabHoverBg",Pt(l.background.paper,.15)),b(l.StepConnector,"border",T("palette-grey-600")),b(l.StepContent,"border",T("palette-grey-600")),b(l.Switch,"defaultColor",T("palette-grey-300")),b(l.Switch,"defaultDisabledColor",T("palette-grey-600")),b(l.Switch,"primaryDisabledColor",x(oe,a?u("palette-primary-main"):l.primary.main,.55)),b(l.Switch,"secondaryDisabledColor",x(oe,a?u("palette-secondary-main"):l.secondary.main,.55)),b(l.Switch,"errorDisabledColor",x(oe,a?u("palette-error-main"):l.error.main,.55)),b(l.Switch,"infoDisabledColor",x(oe,a?u("palette-info-main"):l.info.main,.55)),b(l.Switch,"successDisabledColor",x(oe,a?u("palette-success-main"):l.success.main,.55)),b(l.Switch,"warningDisabledColor",x(oe,a?u("palette-warning-light"):l.warning.main,.55)),b(l.TableCell,"border",x(oe,Je(a?u("palette-divider"):l.divider,1),.68)),b(l.Tooltip,"bg",x(Je,a?u("palette-grey-700"):l.grey[700],.92))}a||(je(l.background,"default"),je(l.background,"paper"),je(l.common,"background"),je(l.common,"onBackground"),je(l,"divider")),Object.keys(l).forEach(P=>{const B=l[P];P!=="tonalOffset"&&!a&&B&&typeof B=="object"&&(B.main&&b(l[P],"mainChannel",yt(_t(B.main))),B.light&&b(l[P],"lightChannel",yt(_t(B.light))),B.dark&&b(l[P],"darkChannel",yt(_t(B.dark))),B.contrastText&&b(l[P],"contrastTextChannel",yt(_t(B.contrastText))),P==="text"&&(je(l[P],"primary"),je(l[P],"secondary")),P==="action"&&(B.active&&je(l[P],"active"),B.selected&&je(l[P],"selected")))})}),S=t.reduce((W,l)=>Ce(W,l),S);const j={prefix:s,disableCssColorScheme:n,shouldSkipGeneratingVar:i,getSelector:Md(S),enableContrastVars:a},{vars:O,generateThemeVars:M,generateStyleSheets:z}=nd(S,j);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([W,l])=>{S[W]=l}),S.generateThemeVars=M,S.generateStyleSheets=z,S.generateSpacing=function(){return Cn(m.spacing,Lr(this))},S.getColorSchemeSelector=sd(d),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=i,S.unstable_sxConfig={...Zt,...m==null?void 0:m.unstable_sxConfig},S.unstable_sx=function(l){return ut({sx:l,theme:this})},S.toRuntimeSource=Pn,S}function No(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Dr({...r===!0?{}:r.palette,mode:t})})}function Dd(e={},...t){const{palette:r,cssVariables:o=!1,colorSchemes:n=r?void 0:{light:!0},defaultColorScheme:s=r==null?void 0:r.mode,...a}=e,i=s||"light",d=n==null?void 0:n[i],p={...n,...r?{[i]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return _r(e,...t);let m=r;"palette"in e||p[i]&&(p[i]!==!0?m=p[i].palette:i==="dark"&&(m={mode:"dark"}));const h=_r({...e,palette:m},...t);return h.defaultColorScheme=i,h.colorSchemes=p,h.palette.mode==="light"&&(h.colorSchemes.light={...p.light!==!0&&p.light,palette:h.palette},No(h,"dark",p.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:h.palette},No(h,"light",p.light)),h}return!r&&!("light"in p)&&i==="light"&&(p.light=!0),Fd({...a,colorSchemes:p,defaultColorScheme:i,...typeof o!="boolean"&&o},...t)}const kn=Dd(),In="$$material";function Vd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zd=e=>Vd(e)&&e!=="classes",Vr=Gc({themeId:In,defaultTheme:kn,rootShouldForwardProp:zd}),Mn=ve.createContext(null);process.env.NODE_ENV!=="production"&&(Mn.displayName="TabContext");process.env.NODE_ENV!=="production"&&(F.node,F.oneOfType([F.number,F.string]).isRequired);function Gd(){return ve.useContext(Mn)}function Ud(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-P-${t}`}function qd(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-T-${t}`}function zr({props:e,name:t}){return Xc({props:e,name:t,defaultTheme:kn,themeId:In})}function Yd(e){return St("MuiTabPanel",e)}Tt("MuiTabPanel",["root","hidden"]);const Hd=e=>{const{classes:t,hidden:r}=e;return Mr({root:["root",r&&"hidden"]},Yd,t)},Kd=Vr("div",{name:"MuiTabPanel",slot:"Root"})(({theme:e})=>({padding:e.spacing(3)})),Ln=ve.forwardRef(function(t,r){const o=zr({props:t,name:"MuiTabPanel"}),{children:n,className:s,value:a,keepMounted:i=!1,...d}=o,p={...o},m=Hd(p),h=Gd();if(h===null)throw new TypeError("No TabContext provided");const y=Ud(h,a),u=qd(h,a);return c.jsx(Kd,{"aria-labelledby":u,className:Vt(m.root,s),hidden:a!==h.value,id:y,ref:r,role:"tabpanel",ownerState:p,...d,children:(i||a===h.value)&&n})});process.env.NODE_ENV!=="production"&&(Ln.propTypes={children:F.node,classes:F.object,className:F.string,keepMounted:F.bool,sx:F.oneOfType([F.arrayOf(F.oneOfType([F.func,F.object,F.bool])),F.func,F.object]),value:F.oneOfType([F.number,F.string]).isRequired});const Mt=ve.createContext({});process.env.NODE_ENV!=="production"&&(Mt.displayName="TimelineContext");function Xd(e){return St("MuiTimeline",e)}Tt("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function or(e){return e==="alternate-reverse"?"positionAlternateReverse":`position${zt(e)}`}const Qd=e=>{const{position:t,classes:r}=e,o={root:["root",t&&or(t)]};return Mr(o,Xd,r)},Jd=Vr("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.position&&t[or(r.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),Wn=ve.forwardRef(function(t,r){const o=zr({props:t,name:"MuiTimeline"}),{position:n="right",className:s,...a}=o,i={...o,position:n},d=Qd(i),p=ve.useMemo(()=>({position:n}),[n]);return c.jsx(Mt.Provider,{value:p,children:c.jsx(Jd,{className:Vt(d.root,s),ownerState:i,ref:r,...a})})});process.env.NODE_ENV!=="production"&&(Wn.propTypes={children:F.node,classes:F.object,className:F.string,position:F.oneOf(["alternate-reverse","alternate","left","right"]),sx:F.oneOfType([F.arrayOf(F.oneOfType([F.func,F.object,F.bool])),F.func,F.object])});const Zd=Tt("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),eu=Tt("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function tu(e){return St("MuiTimelineItem",e)}Tt("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const ru=e=>{const{position:t,classes:r,hasOppositeContent:o}=e,n={root:["root",or(t),!o&&"missingOppositeContent"]};return Mr(n,tu,r)},ou=Vr("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[or(r.position)]]}})(({ownerState:e})=>({listStyle:"none",display:"flex",position:"relative",minHeight:70,...e.position==="left"&&{flexDirection:"row-reverse"},...(e.position==="alternate"||e.position==="alternate-reverse")&&{[`&:nth-of-type(${e.position==="alternate"?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${Zd.root}`]:{textAlign:"right"},[`& .${eu.root}`]:{textAlign:"left"}}},...!e.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}})),Bn=ve.forwardRef(function(t,r){const o=zr({props:t,name:"MuiTimelineItem"}),{position:n,className:s,...a}=o,{position:i}=ve.useContext(Mt);let d=!1;ve.Children.forEach(o.children,y=>{ad(y,["TimelineOppositeContent"])&&(d=!0)});const p={...o,position:n||i||"right",hasOppositeContent:d},m=ru(p),h=ve.useMemo(()=>({position:p.position}),[p.position]);return c.jsx(Mt.Provider,{value:h,children:c.jsx(ou,{className:Vt(m.root,s),ownerState:p,ref:r,...a})})});process.env.NODE_ENV!=="production"&&(Bn.propTypes={children:F.node,classes:F.object,className:F.string,position:F.oneOf(["alternate-reverse","alternate","left","right"]),sx:F.oneOfType([F.arrayOf(F.oneOfType([F.func,F.object,F.bool])),F.func,F.object])});const Fn=E.forwardRef(function(t,r){const{variant:o="default",orientation:n="horizontal",overStyled:s=!1,className:a,...i}=t,d=L(i,s);return c.jsx(I.Tabs,{ref:r,orientation:n,className:`${bt.root} ${a||""}`,"data-variant":o,"data-orientation":n,classes:{flexContainer:bt.list,indicator:bt.indicator},...d})});Fn.displayName="Tabs";const Dn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t,a=L(s,o);return c.jsx(I.Tab,{ref:r,className:`${bt.tab} ${n||""}`,...a})});Dn.displayName="Tab";const Vn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t,a=L(s,o);return c.jsx(Ln,{ref:r,className:`${bt.panel} ${n||""}`,...a})});Vn.displayName="TabPanel";const Gr=E.forwardRef(function({typographyClass:t,overStyled:r=!1,...o},n){const s=L(o,r),i=s.className,d=i?`${t} ${i}`:t;return c.jsx(I.Typography,{ref:n,className:d,variant:"inherit",...s})});Gr.displayName="Typography";const zn=E.forwardRef(function({variant:t="body",...r},o){const n=`recursica_brand_typography_${t}`;return c.jsx(Gr,{ref:o,typographyClass:n,...r})});zn.displayName="Text";const nu="TextArea-module__layoutOverride___4MCdm",su="TextArea-module__root___3dyeu",au="TextArea-module__input___8l36v",Ge={layoutOverride:nu,root:su,input:au},Gn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,withAsterisk:f,id:g,className:C,style:N,disabled:A,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,value:j,defaultValue:O,...M}=t,z=L(M,o),W=z;delete W.size,delete W.variant,delete W.radius;const l={wrapper:Ge.root,input:Ge.input},T=W.classNames;if(T&&typeof T=="object"&&!Array.isArray(T)){const P=T;l.wrapper=P.wrapper?`${Ge.root} ${P.wrapper}`:Ge.root,l.input=P.input?`${Ge.input} ${P.input}`:Ge.input}const x=C?`${Ge.layoutOverride} ${C}`:Ge.layoutOverride;return c.jsx(Ae,{className:x,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:g,readOnly:w,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:j!==void 0?j:O,readOnlyNativeProps:t,activeComponent:c.jsx(I.TextField,{multiline:!0,inputRef:r,classes:l,disabled:A,value:j,defaultValue:O,label:void 0,error:void 0,required:void 0,...z})})});Gn.displayName="TextArea";const iu="TextField-module__layoutOverride___SNZqc",lu="TextField-module__root___2ZYkG",cu="TextField-module__input___RL-My",du="TextField-module__section___bCIJ0",ke={layoutOverride:iu,root:lu,input:cu,section:du},Un=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,className:g,style:C,disabled:N,readOnly:A,readOnlyComponent:w,emptyValueComponent:v,value:S,defaultValue:j,leftSection:O,rightSection:M,...z}=t,W=L(z,o),l=W;delete l.size,delete l.color;const T={wrapper:ke.root,input:ke.input,section:ke.section},x=l.classes;if(x&&typeof x=="object"&&!Array.isArray(x)){const se=x;T.wrapper=se.root?`${ke.root} ${se.root}`:ke.root,T.input=se.input?`${ke.input} ${se.input}`:ke.input}const P=g?`${ke.layoutOverride} ${g}`:ke.layoutOverride,B=O?c.jsx("div",{className:T.section,"data-position":"left",children:O}):void 0,H=M?c.jsx("div",{className:T.section,"data-position":"right",children:M}):void 0;return c.jsx(Ae,{className:P,style:C,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,readOnly:A,readOnlyComponent:w,emptyValueComponent:v||void 0,readOnlyType:"text",readOnlyValue:S!==void 0?S:j,readOnlyNativeProps:t,activeComponent:c.jsx(I.InputBase,{inputRef:r,classes:{root:T.wrapper,input:T.input},disabled:N,value:S,defaultValue:j,startAdornment:B,endAdornment:H,"data-disabled":N?"true":void 0,"data-error":u?"true":void 0,"data-with-left-section":O?"true":void 0,"data-with-right-section":M?"true":void 0,...W})})});Un.displayName="TextField";const uu=e=>c.jsx("div",{...e,children:"TimePicker"}),pu="Timeline-module__root___LwRdZ",fu="Timeline-module__item___T5xdQ",mu="Timeline-module__itemBody___XAV-E",hu="Timeline-module__itemBullet___rPXCy",yu="Timeline-module__itemTitle___GgRRW",_u="Timeline-module__itemContent___vurs-",gu="Timeline-module__description___f9sxV",bu="Timeline-module__timestamp___owiRu",Ue={root:pu,item:fu,itemBody:mu,itemBullet:hu,itemTitle:yu,itemContent:_u,description:gu,timestamp:bu},qn=E.forwardRef(function({overStyled:t=!1,timestamp:r,bulletVariant:o="default",children:n,...s},a){const i=L(s,t),d={item:Ue.item,itemBody:Ue.itemBody,itemContent:Ue.itemContent,itemBullet:Ue.itemBullet,itemTitle:Ue.itemTitle},p=i.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const h=p;Object.keys(h).forEach(y=>{d[y]?d[y]=`${d[y]} ${h[y]}`:d[y]=h[y]})}const m=r?c.jsxs(c.Fragment,{children:[n&&c.jsx("div",{className:Ue.description,children:n}),c.jsx("div",{className:Ue.timestamp,children:r})]}):n;return c.jsx(Bn,{ref:a,classes:d,"data-variant":o,...i,children:m})});qn.displayName="TimelineItem";const Yn=E.forwardRef(function({overStyled:t=!1,...r},o){const n=L(r,t),s={root:Ue.root},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const i=a;Object.keys(i).forEach(d=>{s[d]?s[d]=`${s[d]} ${i[d]}`:s[d]=i[d]})}return c.jsx(Wn,{ref:o,classes:s,...n})});Yn.displayName="Timeline";const Hn=Yn;Hn.Item=qn;const Kn=E.forwardRef(function({order:t=1,component:r,...o},n){const s=`recursica_brand_typography_h${t}`,a=`h${t}`;return c.jsx(Gr,{ref:n,typographyClass:s,component:r||a,...o})});Kn.displayName="Title";const vu="Toast-module__root___MUvfI",xu="Toast-module__icon___VwvE1",Cu="Toast-module__title___-H6R2",$u="Toast-module__description___-QwfC",Su="Toast-module__closeButton___vGr7g",Tu="Toast-module__body___VLkXA",lt={root:vu,icon:xu,title:Cu,description:$u,closeButton:Su,body:Tu},wu=()=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M18 6L6 18M6 6l12 12"})}),Xn=E.forwardRef(function({overStyled:t=!1,variant:r="default",withCloseButton:o=!0,title:n,icon:s,children:a,onClose:i,className:d,...p},m){const h=L(p,t),y={root:lt.root,message:lt.body,icon:lt.icon,action:lt.closeButton},u=h.classNames;if(u&&typeof u=="object"&&!Array.isArray(u)){const f=u;Object.keys(f).forEach(g=>{y[g]?y[g]=`${y[g]} ${f[g]}`:y[g]=f[g]})}const _=()=>{i&&i()};return c.jsxs(I.Alert,{ref:m,icon:s,"data-variant":r,className:`${d||""}`,classes:y,action:o?c.jsx(I.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:_,children:c.jsx(wu,{})}):void 0,...h,children:[n&&c.jsx(I.AlertTitle,{className:lt.title,children:n}),c.jsx("div",{className:lt.description,children:a})]})});Xn.displayName="Toast";const Nu="Tooltip-module__tooltip___UA7H9",Eu="Tooltip-module__arrow___4zROk",Eo={tooltip:Nu,arrow:Eu},Qn=function({overStyled:t=!1,withBeak:r=!0,label:o,opened:n,...s}){const{title:a,...i}=s,d=L(i,t),p={tooltip:Eo.tooltip,arrow:Eo.arrow},m=d.classNames;if(m&&typeof m=="object"&&!Array.isArray(m)){const u=m;Object.keys(u).forEach(_=>{p[_]?p[_]=`${p[_]} ${u[_]}`:p[_]=u[_]})}const h=d.withArrow,y=r??h;return c.jsx(I.Tooltip,{title:o||a||"",open:n,placement:"top",arrow:y,classes:p,...d})};Qn.displayName="Tooltip";const Ou=Qn,Au=e=>c.jsx("div",{...e,children:"TransferList"}),Pu="_root_1qhn7_3",Ru="_contents_1qhn7_18",ct={root:Pu,contents:Ru},Jn=E.forwardRef(function({layer:e,contentsOnly:t,children:r,className:o,style:n,...s},a){const i=t?o?`${ct.root} ${ct.contents} ${o}`:`${ct.root} ${ct.contents}`:o?`${ct.root} ${o}`:ct.root;return c.jsx("div",{ref:a,className:i,style:n,...t?{}:{"data-recursica-layer":String(e)},...s,children:r})});Jn.displayName="Layer";const Ur=({emptyText:e="N/A"})=>c.jsx(E.Fragment,{children:e});Ur.displayName="EmptyValueRenderer";Ur.check=e=>e==null||e===""||Array.isArray(e)&&e.length===0;const Oo="data-recursica-theme";function ju({children:e,theme:t="light"}){return E.useEffect(()=>{const r=document.documentElement;return r.setAttribute(Oo,t),()=>{r.removeAttribute(Oo)}},[t]),c.jsx(c.Fragment,{children:e})}const ku=["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"];exports.Accordion=Bt;exports.AccordionControl=Lt;exports.AccordionItem=br;exports.AccordionPanel=Wt;exports.AssistiveElement=vr;exports.Autocomplete=Ro;exports.Avatar=zs;exports.Badge=Us;exports.Box=qs;exports.Breadcrumb=Io;exports.Button=Mo;exports.Card=sa;exports.CardContent=Nr;exports.CardFooter=wr;exports.CardHeader=Tr;exports.CardSection=Sr;exports.Checkbox=Or;exports.CheckboxGroup=Er;exports.Chip=Fo;exports.Container=Do;exports.DatePicker=Na;exports.Dropdown=Vo;exports.EmptyValueRenderer=Ur;exports.FileInput=ja;exports.FileUpload=ka;exports.Flex=zo;exports.FormControlLayout=We;exports.FormControlWrapper=Ye;exports.Group=Go;exports.HoverCard=Ar;exports.Label=xr;exports.Layer=Jn;exports.Link=Ho;exports.Loader=$r;exports.Menu=Ko;exports.MenuDivider=Qo;exports.MenuItem=Xo;exports.Modal=Dt;exports.NumberInput=en;exports.Pagination=ai;exports.Panel=on;exports.PanelFooter=jr;exports.RECURSICA_COMPONENTS=ku;exports.Radio=kr;exports.ReadOnlyField=Cr;exports.RecursicaThemeProvider=ju;exports.SegmentedControl=Ei;exports.Slider=an;exports.Stack=ln;exports.Step=dn;exports.StepButton=un;exports.StepConnector=fn;exports.StepLabel=pn;exports.Stepper=cn;exports.Switch=mn;exports.Tab=Dn;exports.TabPanel=Vn;exports.Table=ul;exports.Tabs=Fn;exports.Text=zn;exports.TextArea=Gn;exports.TextField=Un;exports.TimePicker=uu;exports.Timeline=Hn;exports.Title=Kn;exports.Toast=Xn;exports.Tooltip=Ou;exports.TransferList=Au;exports.WithReadOnlyWrapper=Ae;
|
|
72
|
+
export default theme;`}function Po(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const zd=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let o=0;o<t.length;o+=1)r+=+t[o];return r};function Gd(e){Object.assign(e,{alpha(t,r){const o=this||e;return o.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:o.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:kn(t,zd(r))},lighten(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #fff ${Po(r)})`:ar(t,r)},darken(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #000 ${Po(r)})`:sr(t,r)}})}function $r(e={},...t){const{breakpoints:r,mixins:o={},spacing:n,palette:s={},transitions:a={},typography:i={},shape:d,colorSpace:p,...m}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":st(20));const h=Ur({...s,colorSpace:p}),y=zr(e);let u=$e(y,{mixins:Ad(y.breakpoints,o),palette:h,shadows:Md.slice(),typography:Pd(h,i),transitions:Fd(a),zIndex:{...Dd}});if(u=$e(u,m),u=t.reduce((_,f)=>$e(_,f),u),process.env.NODE_ENV!=="production"){const _=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(g,C)=>{let w;for(w in g){const A=g[w];if(_.includes(w)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const T=Et("",w);console.error([`MUI: The \`${C}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(g,null,2),"",`Instead, you need to use the '&.${T}' syntax:`,JSON.stringify({root:{[`&.${T}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
73
|
+
`))}g[w]={}}}};Object.keys(u.components).forEach(g=>{const C=u.components[g].styleOverrides;C&&g.startsWith("Mui")&&f(C,g)})}return u.unstable_sxConfig={...or,...m==null?void 0:m.unstable_sxConfig},u.unstable_sx=function(f){return ht({sx:f,theme:this})},u.toRuntimeSource=Wn,Gd(u),u}function Ud(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const qd=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ud(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Bn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Fn(e){return e==="dark"?qd:[]}function Yd(e){const{palette:t={mode:"light"},opacity:r,overlays:o,colorSpace:n,...s}=e,a=Ur({...t,colorSpace:n});return{palette:a,opacity:{...Bn(a.mode),...r},overlays:o||Fn(a.mode),...s}}function Hd(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Kd=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Xd=e=>(t,r)=>{const o=e.rootSelector||":root",n=e.colorSchemeSelector;let s=n;if(n==="class"&&(s=".%s"),n==="data"&&(s="[data-%s]"),n!=null&&n.startsWith("data-")&&!n.includes("%s")&&(s=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Kd(e.cssVarPrefix).forEach(i=>{a[i]=r[i],delete r[i]}),s==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:a}}:s?{[s.replace("%s",t)]:a,[`${o}, ${s.replace("%s",t)}`]:r}:{[o]:{...r,...a}}}if(s&&s!=="media")return`${o}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:r}};if(s)return s.replace("%s",String(t))}return o};function Qd(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function b(e,t,r){!e[t]&&r&&(e[t]=r)}function xt(e){return typeof e!="string"||!e.startsWith("hsl")?e:jn(e)}function ke(e,t){`${t}Channel`in e||(e[`${t}Channel`]=vt(xt(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
74
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Jd(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ae=e=>{try{return e()}catch{}},Zd=(e="mui")=>hd(e);function vr(e,t,r,o,n){if(!r)return;r=r===!0?{}:r;const s=n==="dark"?"dark":"light";if(!o){t[n]=Yd({...r,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...i}=$r({...o,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return t[n]={...r,palette:a,opacity:{...Bn(s),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Fn(s)},i}function eu(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:n=!1,cssVarPrefix:s="mui",nativeColor:a=!1,shouldSkipGeneratingVar:i=Hd,colorSchemeSelector:d=r.light&&r.dark?"media":void 0,rootSelector:p=":root",...m}=e,h=Object.keys(r)[0],y=o||(r.light&&h!=="light"?"light":h),u=Zd(s),{[y]:_,light:f,dark:g,...C}=r,w={...C};let A=_;if((y==="dark"&&!("dark"in r)||y==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${y}\` option is either missing or invalid.`:st(21,y));let T;a&&(T="oklch");const v=vr(T,w,A,m,y);f&&!w.light&&vr(T,w,f,void 0,"light"),g&&!w.dark&&vr(T,w,g,void 0,"dark");let S={defaultColorScheme:y,...v,cssVarPrefix:s,colorSchemeSelector:d,rootSelector:p,getCssVar:u,colorSchemes:w,font:{...Od(v.typography),...v.font},spacing:Jd(m.spacing)};Object.keys(S.colorSchemes).forEach(L=>{const l=S.colorSchemes[L].palette,N=R=>{const B=R.split("-"),K=B[1],ae=B[2];return u(R,l[K][ae])};l.mode==="light"&&(b(l.common,"background","#fff"),b(l.common,"onBackground","#000")),l.mode==="dark"&&(b(l.common,"background","#000"),b(l.common,"onBackground","#fff"));function x(R,B,K){if(T){let ae;return R===rt&&(ae=`transparent ${((1-K)*100).toFixed(0)}%`),R===ne&&(ae=`#000 ${(K*100).toFixed(0)}%`),R===se&&(ae=`#fff ${(K*100).toFixed(0)}%`),`color-mix(in ${T}, ${B}, ${ae})`}return R(B,K)}if(Qd(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){b(l.Alert,"errorColor",x(ne,a?u("palette-error-light"):l.error.light,.6)),b(l.Alert,"infoColor",x(ne,a?u("palette-info-light"):l.info.light,.6)),b(l.Alert,"successColor",x(ne,a?u("palette-success-light"):l.success.light,.6)),b(l.Alert,"warningColor",x(ne,a?u("palette-warning-light"):l.warning.light,.6)),b(l.Alert,"errorFilledBg",N("palette-error-main")),b(l.Alert,"infoFilledBg",N("palette-info-main")),b(l.Alert,"successFilledBg",N("palette-success-main")),b(l.Alert,"warningFilledBg",N("palette-warning-main")),b(l.Alert,"errorFilledColor",Ae(()=>l.getContrastText(l.error.main))),b(l.Alert,"infoFilledColor",Ae(()=>l.getContrastText(l.info.main))),b(l.Alert,"successFilledColor",Ae(()=>l.getContrastText(l.success.main))),b(l.Alert,"warningFilledColor",Ae(()=>l.getContrastText(l.warning.main))),b(l.Alert,"errorStandardBg",x(se,a?u("palette-error-light"):l.error.light,.9)),b(l.Alert,"infoStandardBg",x(se,a?u("palette-info-light"):l.info.light,.9)),b(l.Alert,"successStandardBg",x(se,a?u("palette-success-light"):l.success.light,.9)),b(l.Alert,"warningStandardBg",x(se,a?u("palette-warning-light"):l.warning.light,.9)),b(l.Alert,"errorIconColor",N("palette-error-main")),b(l.Alert,"infoIconColor",N("palette-info-main")),b(l.Alert,"successIconColor",N("palette-success-main")),b(l.Alert,"warningIconColor",N("palette-warning-main")),b(l.AppBar,"defaultBg",N("palette-grey-100")),b(l.Avatar,"defaultBg",N("palette-grey-400")),b(l.Button,"inheritContainedBg",N("palette-grey-300")),b(l.Button,"inheritContainedHoverBg",N("palette-grey-A100")),b(l.Chip,"defaultBorder",N("palette-grey-400")),b(l.Chip,"defaultAvatarColor",N("palette-grey-700")),b(l.Chip,"defaultIconColor",N("palette-grey-700")),b(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(l.LinearProgress,"primaryBg",x(se,a?u("palette-primary-main"):l.primary.main,.62)),b(l.LinearProgress,"secondaryBg",x(se,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.LinearProgress,"errorBg",x(se,a?u("palette-error-main"):l.error.main,.62)),b(l.LinearProgress,"infoBg",x(se,a?u("palette-info-main"):l.info.main,.62)),b(l.LinearProgress,"successBg",x(se,a?u("palette-success-main"):l.success.main,.62)),b(l.LinearProgress,"warningBg",x(se,a?u("palette-warning-light"):l.warning.main,.62)),b(l.Skeleton,"bg",T?x(rt,a?u("palette-text-primary"):l.text.primary,.11):`rgba(${N("palette-text-primaryChannel")} / 0.11)`),b(l.Slider,"primaryTrack",x(se,a?u("palette-primary-main"):l.primary.main,.62)),b(l.Slider,"secondaryTrack",x(se,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.Slider,"errorTrack",x(se,a?u("palette-error-main"):l.error.main,.62)),b(l.Slider,"infoTrack",x(se,a?u("palette-info-main"):l.info.main,.62)),b(l.Slider,"successTrack",x(se,a?u("palette-success-main"):l.success.main,.62)),b(l.Slider,"warningTrack",x(se,a?u("palette-warning-main"):l.warning.main,.62));const R=T?x(ne,a?u("palette-background-default"):l.background.default,.6825):It(l.background.default,.8);b(l.SnackbarContent,"bg",R),b(l.SnackbarContent,"color",Ae(()=>T?Cr.text.primary:l.getContrastText(R))),b(l.SpeedDialAction,"fabHoverBg",It(l.background.paper,.15)),b(l.StepConnector,"border",N("palette-grey-400")),b(l.StepContent,"border",N("palette-grey-400")),b(l.Switch,"defaultColor",N("palette-common-white")),b(l.Switch,"defaultDisabledColor",N("palette-grey-100")),b(l.Switch,"primaryDisabledColor",x(se,a?u("palette-primary-main"):l.primary.main,.62)),b(l.Switch,"secondaryDisabledColor",x(se,a?u("palette-secondary-main"):l.secondary.main,.62)),b(l.Switch,"errorDisabledColor",x(se,a?u("palette-error-main"):l.error.main,.62)),b(l.Switch,"infoDisabledColor",x(se,a?u("palette-info-main"):l.info.main,.62)),b(l.Switch,"successDisabledColor",x(se,a?u("palette-success-main"):l.success.main,.62)),b(l.Switch,"warningDisabledColor",x(se,a?u("palette-warning-main"):l.warning.main,.62)),b(l.TableCell,"border",x(se,rt(a?u("palette-divider"):l.divider,1),.88)),b(l.Tooltip,"bg",x(rt,a?u("palette-grey-700"):l.grey[700],.92))}if(l.mode==="dark"){b(l.Alert,"errorColor",x(se,a?u("palette-error-light"):l.error.light,.6)),b(l.Alert,"infoColor",x(se,a?u("palette-info-light"):l.info.light,.6)),b(l.Alert,"successColor",x(se,a?u("palette-success-light"):l.success.light,.6)),b(l.Alert,"warningColor",x(se,a?u("palette-warning-light"):l.warning.light,.6)),b(l.Alert,"errorFilledBg",N("palette-error-dark")),b(l.Alert,"infoFilledBg",N("palette-info-dark")),b(l.Alert,"successFilledBg",N("palette-success-dark")),b(l.Alert,"warningFilledBg",N("palette-warning-dark")),b(l.Alert,"errorFilledColor",Ae(()=>l.getContrastText(l.error.dark))),b(l.Alert,"infoFilledColor",Ae(()=>l.getContrastText(l.info.dark))),b(l.Alert,"successFilledColor",Ae(()=>l.getContrastText(l.success.dark))),b(l.Alert,"warningFilledColor",Ae(()=>l.getContrastText(l.warning.dark))),b(l.Alert,"errorStandardBg",x(ne,a?u("palette-error-light"):l.error.light,.9)),b(l.Alert,"infoStandardBg",x(ne,a?u("palette-info-light"):l.info.light,.9)),b(l.Alert,"successStandardBg",x(ne,a?u("palette-success-light"):l.success.light,.9)),b(l.Alert,"warningStandardBg",x(ne,a?u("palette-warning-light"):l.warning.light,.9)),b(l.Alert,"errorIconColor",N("palette-error-main")),b(l.Alert,"infoIconColor",N("palette-info-main")),b(l.Alert,"successIconColor",N("palette-success-main")),b(l.Alert,"warningIconColor",N("palette-warning-main")),b(l.AppBar,"defaultBg",N("palette-grey-900")),b(l.AppBar,"darkBg",N("palette-background-paper")),b(l.AppBar,"darkColor",N("palette-text-primary")),b(l.Avatar,"defaultBg",N("palette-grey-600")),b(l.Button,"inheritContainedBg",N("palette-grey-800")),b(l.Button,"inheritContainedHoverBg",N("palette-grey-700")),b(l.Chip,"defaultBorder",N("palette-grey-700")),b(l.Chip,"defaultAvatarColor",N("palette-grey-300")),b(l.Chip,"defaultIconColor",N("palette-grey-300")),b(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(l.LinearProgress,"primaryBg",x(ne,a?u("palette-primary-main"):l.primary.main,.5)),b(l.LinearProgress,"secondaryBg",x(ne,a?u("palette-secondary-main"):l.secondary.main,.5)),b(l.LinearProgress,"errorBg",x(ne,a?u("palette-error-main"):l.error.main,.5)),b(l.LinearProgress,"infoBg",x(ne,a?u("palette-info-main"):l.info.main,.5)),b(l.LinearProgress,"successBg",x(ne,a?u("palette-success-main"):l.success.main,.5)),b(l.LinearProgress,"warningBg",x(ne,a?u("palette-warning-main"):l.warning.main,.5)),b(l.Skeleton,"bg",T?x(rt,a?u("palette-text-primary"):l.text.primary,.13):`rgba(${N("palette-text-primaryChannel")} / 0.13)`),b(l.Slider,"primaryTrack",x(ne,a?u("palette-primary-main"):l.primary.main,.5)),b(l.Slider,"secondaryTrack",x(ne,a?u("palette-secondary-main"):l.secondary.main,.5)),b(l.Slider,"errorTrack",x(ne,a?u("palette-error-main"):l.error.main,.5)),b(l.Slider,"infoTrack",x(ne,a?u("palette-info-main"):l.info.main,.5)),b(l.Slider,"successTrack",x(ne,a?u("palette-success-main"):l.success.main,.5)),b(l.Slider,"warningTrack",x(ne,a?u("palette-warning-light"):l.warning.main,.5));const R=T?x(se,a?u("palette-background-default"):l.background.default,.985):It(l.background.default,.98);b(l.SnackbarContent,"bg",R),b(l.SnackbarContent,"color",Ae(()=>T?Mn.text.primary:l.getContrastText(R))),b(l.SpeedDialAction,"fabHoverBg",It(l.background.paper,.15)),b(l.StepConnector,"border",N("palette-grey-600")),b(l.StepContent,"border",N("palette-grey-600")),b(l.Switch,"defaultColor",N("palette-grey-300")),b(l.Switch,"defaultDisabledColor",N("palette-grey-600")),b(l.Switch,"primaryDisabledColor",x(ne,a?u("palette-primary-main"):l.primary.main,.55)),b(l.Switch,"secondaryDisabledColor",x(ne,a?u("palette-secondary-main"):l.secondary.main,.55)),b(l.Switch,"errorDisabledColor",x(ne,a?u("palette-error-main"):l.error.main,.55)),b(l.Switch,"infoDisabledColor",x(ne,a?u("palette-info-main"):l.info.main,.55)),b(l.Switch,"successDisabledColor",x(ne,a?u("palette-success-main"):l.success.main,.55)),b(l.Switch,"warningDisabledColor",x(ne,a?u("palette-warning-light"):l.warning.main,.55)),b(l.TableCell,"border",x(ne,rt(a?u("palette-divider"):l.divider,1),.68)),b(l.Tooltip,"bg",x(rt,a?u("palette-grey-700"):l.grey[700],.92))}a||(ke(l.background,"default"),ke(l.background,"paper"),ke(l.common,"background"),ke(l.common,"onBackground"),ke(l,"divider")),Object.keys(l).forEach(R=>{const B=l[R];R!=="tonalOffset"&&!a&&B&&typeof B=="object"&&(B.main&&b(l[R],"mainChannel",vt(xt(B.main))),B.light&&b(l[R],"lightChannel",vt(xt(B.light))),B.dark&&b(l[R],"darkChannel",vt(xt(B.dark))),B.contrastText&&b(l[R],"contrastTextChannel",vt(xt(B.contrastText))),R==="text"&&(ke(l[R],"primary"),ke(l[R],"secondary")),R==="action"&&(B.active&&ke(l[R],"active"),B.selected&&ke(l[R],"selected")))})}),S=t.reduce((L,l)=>$e(L,l),S);const P={prefix:s,disableCssColorScheme:n,shouldSkipGeneratingVar:i,getSelector:Xd(S),enableContrastVars:a},{vars:O,generateThemeVars:M,generateStyleSheets:z}=gd(S,P);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([L,l])=>{S[L]=l}),S.generateThemeVars=M,S.generateStyleSheets=z,S.generateSpacing=function(){return On(m.spacing,Dr(this))},S.getColorSchemeSelector=bd(d),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=i,S.unstable_sxConfig={...or,...m==null?void 0:m.unstable_sxConfig},S.unstable_sx=function(l){return ht({sx:l,theme:this})},S.toRuntimeSource=Wn,S}function jo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Ur({...r===!0?{}:r.palette,mode:t})})}function tu(e={},...t){const{palette:r,cssVariables:o=!1,colorSchemes:n=r?void 0:{light:!0},defaultColorScheme:s=r==null?void 0:r.mode,...a}=e,i=s||"light",d=n==null?void 0:n[i],p={...n,...r?{[i]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return $r(e,...t);let m=r;"palette"in e||p[i]&&(p[i]!==!0?m=p[i].palette:i==="dark"&&(m={mode:"dark"}));const h=$r({...e,palette:m},...t);return h.defaultColorScheme=i,h.colorSchemes=p,h.palette.mode==="light"&&(h.colorSchemes.light={...p.light!==!0&&p.light,palette:h.palette},jo(h,"dark",p.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:h.palette},jo(h,"light",p.light)),h}return!r&&!("light"in p)&&i==="light"&&(p.light=!0),eu({...a,colorSchemes:p,defaultColorScheme:i,...typeof o!="boolean"&&o},...t)}const Dn=tu(),Vn="$$material";function ru(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ou=e=>ru(e)&&e!=="classes",qr=nd({themeId:Vn,defaultTheme:Dn,rootShouldForwardProp:ou}),zn=xe.createContext(null);process.env.NODE_ENV!=="production"&&(zn.displayName="TabContext");process.env.NODE_ENV!=="production"&&(D.node,D.oneOfType([D.number,D.string]).isRequired);function nu(){return xe.useContext(zn)}function su(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-P-${t}`}function au(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-T-${t}`}function Yr({props:e,name:t}){return dd({props:e,name:t,defaultTheme:Dn,themeId:Vn})}function iu(e){return Et("MuiTabPanel",e)}Ot("MuiTabPanel",["root","hidden"]);const lu=e=>{const{classes:t,hidden:r}=e;return Fr({root:["root",r&&"hidden"]},iu,t)},cu=qr("div",{name:"MuiTabPanel",slot:"Root"})(({theme:e})=>({padding:e.spacing(3)})),Gn=xe.forwardRef(function(t,r){const o=Yr({props:t,name:"MuiTabPanel"}),{children:n,className:s,value:a,keepMounted:i=!1,...d}=o,p={...o},m=lu(p),h=nu();if(h===null)throw new TypeError("No TabContext provided");const y=su(h,a),u=au(h,a);return c.jsx(cu,{"aria-labelledby":u,className:qt(m.root,s),hidden:a!==h.value,id:y,ref:r,role:"tabpanel",ownerState:p,...d,children:(i||a===h.value)&&n})});process.env.NODE_ENV!=="production"&&(Gn.propTypes={children:D.node,classes:D.object,className:D.string,keepMounted:D.bool,sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object]),value:D.oneOfType([D.number,D.string]).isRequired});const Ft=xe.createContext({});process.env.NODE_ENV!=="production"&&(Ft.displayName="TimelineContext");function du(e){return Et("MuiTimeline",e)}Ot("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function ir(e){return e==="alternate-reverse"?"positionAlternateReverse":`position${Yt(e)}`}const uu=e=>{const{position:t,classes:r}=e,o={root:["root",t&&ir(t)]};return Fr(o,du,r)},pu=qr("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.position&&t[ir(r.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),Un=xe.forwardRef(function(t,r){const o=Yr({props:t,name:"MuiTimeline"}),{position:n="right",className:s,...a}=o,i={...o,position:n},d=uu(i),p=xe.useMemo(()=>({position:n}),[n]);return c.jsx(Ft.Provider,{value:p,children:c.jsx(pu,{className:qt(d.root,s),ownerState:i,ref:r,...a})})});process.env.NODE_ENV!=="production"&&(Un.propTypes={children:D.node,classes:D.object,className:D.string,position:D.oneOf(["alternate-reverse","alternate","left","right"]),sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const fu=Ot("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),mu=Ot("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function hu(e){return Et("MuiTimelineItem",e)}Ot("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const yu=e=>{const{position:t,classes:r,hasOppositeContent:o}=e,n={root:["root",ir(t),!o&&"missingOppositeContent"]};return Fr(n,hu,r)},_u=qr("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[ir(r.position)]]}})(({ownerState:e})=>({listStyle:"none",display:"flex",position:"relative",minHeight:70,...e.position==="left"&&{flexDirection:"row-reverse"},...(e.position==="alternate"||e.position==="alternate-reverse")&&{[`&:nth-of-type(${e.position==="alternate"?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${fu.root}`]:{textAlign:"right"},[`& .${mu.root}`]:{textAlign:"left"}}},...!e.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}})),qn=xe.forwardRef(function(t,r){const o=Yr({props:t,name:"MuiTimelineItem"}),{position:n,className:s,...a}=o,{position:i}=xe.useContext(Ft);let d=!1;xe.Children.forEach(o.children,y=>{vd(y,["TimelineOppositeContent"])&&(d=!0)});const p={...o,position:n||i||"right",hasOppositeContent:d},m=yu(p),h=xe.useMemo(()=>({position:p.position}),[p.position]);return c.jsx(Ft.Provider,{value:h,children:c.jsx(_u,{className:qt(m.root,s),ownerState:p,ref:r,...a})})});process.env.NODE_ENV!=="production"&&(qn.propTypes={children:D.node,classes:D.object,className:D.string,position:D.oneOf(["alternate-reverse","alternate","left","right"]),sx:D.oneOfType([D.arrayOf(D.oneOfType([D.func,D.object,D.bool])),D.func,D.object])});const Yn=E.forwardRef(function(t,r){const{variant:o="default",orientation:n="horizontal",overStyled:s=!1,className:a,...i}=t,d=W(i,s);return c.jsx(k.Tabs,{ref:r,orientation:n,className:`${$t.root} ${a||""}`,"data-variant":o,"data-orientation":n,classes:{flexContainer:$t.list,indicator:$t.indicator},...d})});Yn.displayName="Tabs";const Hn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t,a=W(s,o);return c.jsx(k.Tab,{ref:r,className:`${$t.tab} ${n||""}`,...a})});Hn.displayName="Tab";const Kn=E.forwardRef(function(t,r){const{overStyled:o=!1,className:n,...s}=t,a=W(s,o);return c.jsx(Gn,{ref:r,className:`${$t.panel} ${n||""}`,...a})});Kn.displayName="TabPanel";const lr=E.forwardRef(function({typographyClass:t,overStyled:r=!1,...o},n){const s=W(o,r),i=s.className,d=i?`${t} ${i}`:t;return c.jsx(k.Typography,{ref:n,className:d,variant:"inherit",...s})});lr.displayName="Typography";const Xn=E.forwardRef(function({variant:t="body",...r},o){const n=`recursica_brand_typography_${t}`;return c.jsx(lr,{ref:o,typographyClass:n,...r})});Xn.displayName="Text";const gu="TextArea-module__layoutOverride___4MCdm",bu="TextArea-module__root___3dyeu",vu="TextArea-module__input___8l36v",Ue={layoutOverride:gu,root:bu,input:vu},Qn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,withAsterisk:f,id:g,className:C,style:w,disabled:A,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,value:P,defaultValue:O,...M}=t,z=W(M,o),L=z;delete L.size,delete L.variant,delete L.radius;const l={wrapper:Ue.root,input:Ue.input},N=L.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const R=N;l.wrapper=R.wrapper?`${Ue.root} ${R.wrapper}`:Ue.root,l.input=R.input?`${Ue.input} ${R.input}`:Ue.input}const x=C?`${Ue.layoutOverride} ${C}`:Ue.layoutOverride;return c.jsx(Re,{className:x,style:w,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:g,readOnly:T,readOnlyComponent:v,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:P!==void 0?P:O,readOnlyNativeProps:t,activeComponent:c.jsx(k.TextField,{multiline:!0,inputRef:r,classes:l,disabled:A,value:P,defaultValue:O,label:void 0,error:void 0,required:void 0,...z})})});Qn.displayName="TextArea";const xu="TextField-module__layoutOverride___SNZqc",Cu="TextField-module__root___2ZYkG",$u="TextField-module__input___RL-My",Su="TextField-module__section___bCIJ0",Ie={layoutOverride:xu,root:Cu,input:$u,section:Su},Jn=E.forwardRef(function(t,r){const{overStyled:o=!1,formLayout:n="stacked",labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,className:g,style:C,disabled:w,readOnly:A,readOnlyComponent:T,emptyValueComponent:v,value:S,defaultValue:P,leftSection:O,rightSection:M,...z}=t,L=W(z,o),l=L;delete l.size,delete l.color;const N={wrapper:Ie.root,input:Ie.input,section:Ie.section},x=l.classes;if(x&&typeof x=="object"&&!Array.isArray(x)){const ae=x;N.wrapper=ae.root?`${Ie.root} ${ae.root}`:Ie.root,N.input=ae.input?`${Ie.input} ${ae.input}`:Ie.input}const R=g?`${Ie.layoutOverride} ${g}`:Ie.layoutOverride,B=O?c.jsx("div",{className:N.section,"data-position":"left",children:O}):void 0,K=M?c.jsx("div",{className:N.section,"data-position":"right",children:M}):void 0;return c.jsx(Re,{className:R,style:C,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:o,formLayout:n,labelSize:s,labelAlignment:a,labelOptionalText:i,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:h,assistiveWithIcon:y,error:u,required:_,id:f,readOnly:A,readOnlyComponent:T,emptyValueComponent:v||void 0,readOnlyType:"text",readOnlyValue:S!==void 0?S:P,readOnlyNativeProps:t,activeComponent:c.jsx(k.InputBase,{inputRef:r,classes:{root:N.wrapper,input:N.input},disabled:w,value:S,defaultValue:P,startAdornment:B,endAdornment:K,"data-disabled":w?"true":void 0,"data-error":u?"true":void 0,"data-with-left-section":O?"true":void 0,"data-with-right-section":M?"true":void 0,...L})})});Jn.displayName="TextField";const Tu=e=>c.jsx("div",{...e,children:"TimePicker"}),wu="Timeline-module__root___LwRdZ",Nu="Timeline-module__item___T5xdQ",Eu="Timeline-module__itemBody___XAV-E",Ou="Timeline-module__itemBullet___rPXCy",Au="Timeline-module__itemTitle___GgRRW",Ru="Timeline-module__itemContent___vurs-",Pu="Timeline-module__description___f9sxV",ju="Timeline-module__timestamp___owiRu",qe={root:wu,item:Nu,itemBody:Eu,itemBullet:Ou,itemTitle:Au,itemContent:Ru,description:Pu,timestamp:ju},Hr=E.forwardRef(function({overStyled:t=!1,timestamp:r,bulletVariant:o="default",children:n,...s},a){const i=W(s,t),d={item:qe.item,itemBody:qe.itemBody,itemContent:qe.itemContent,itemBullet:qe.itemBullet,itemTitle:qe.itemTitle},p=i.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const h=p;Object.keys(h).forEach(y=>{d[y]?d[y]=`${d[y]} ${h[y]}`:d[y]=h[y]})}const m=r?c.jsxs(c.Fragment,{children:[n&&c.jsx("div",{className:qe.description,children:n}),c.jsx("div",{className:qe.timestamp,children:r})]}):n;return c.jsx(qn,{ref:a,classes:d,"data-variant":o,...i,children:m})});Hr.displayName="TimelineItem";const Zn=E.forwardRef(function({overStyled:t=!1,...r},o){const n=W(r,t),s={root:qe.root},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const i=a;Object.keys(i).forEach(d=>{s[d]?s[d]=`${s[d]} ${i[d]}`:s[d]=i[d]})}return c.jsx(Un,{ref:o,classes:s,...n})});Zn.displayName="Timeline";const es=Zn;es.Item=Hr;const ts=E.forwardRef(function({order:t=1,component:r,...o},n){const s=`recursica_brand_typography_h${t}`,a=`h${t}`;return c.jsx(lr,{ref:n,typographyClass:s,component:r||a,...o})});ts.displayName="Title";const ku="Toast-module__root___MUvfI",Iu="Toast-module__icon___VwvE1",Mu="Toast-module__title___-H6R2",Lu="Toast-module__description___-QwfC",Wu="Toast-module__closeButton___vGr7g",Bu="Toast-module__body___VLkXA",pt={root:ku,icon:Iu,title:Mu,description:Lu,closeButton:Wu,body:Bu},Fu=()=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M18 6L6 18M6 6l12 12"})}),rs=E.forwardRef(function({overStyled:t=!1,variant:r="default",withCloseButton:o=!0,title:n,icon:s,children:a,onClose:i,className:d,...p},m){const h=W(p,t),y={root:pt.root,message:pt.body,icon:pt.icon,action:pt.closeButton},u=h.classNames;if(u&&typeof u=="object"&&!Array.isArray(u)){const f=u;Object.keys(f).forEach(g=>{y[g]?y[g]=`${y[g]} ${f[g]}`:y[g]=f[g]})}const _=()=>{i&&i()};return c.jsxs(k.Alert,{ref:m,icon:s,"data-variant":r,className:`${d||""}`,classes:y,action:o?c.jsx(k.IconButton,{size:"small","aria-label":"close",color:"inherit",onClick:_,children:c.jsx(Fu,{})}):void 0,...h,children:[n&&c.jsx(k.AlertTitle,{className:pt.title,children:n}),c.jsx("div",{className:pt.description,children:a})]})});rs.displayName="Toast";const Du="Tooltip-module__tooltip___UA7H9",Vu="Tooltip-module__arrow___4zROk",ko={tooltip:Du,arrow:Vu},os=function({overStyled:t=!1,withBeak:r=!0,label:o,opened:n,...s}){const{title:a,...i}=s,d=W(i,t),p={tooltip:ko.tooltip,arrow:ko.arrow},m=d.classNames;if(m&&typeof m=="object"&&!Array.isArray(m)){const u=m;Object.keys(u).forEach(_=>{p[_]?p[_]=`${p[_]} ${u[_]}`:p[_]=u[_]})}const h=d.withArrow,y=r??h;return c.jsx(k.Tooltip,{title:o||a||"",open:n,placement:"top",arrow:y,classes:p,...d})};os.displayName="Tooltip";const zu=os,Gu=e=>c.jsx("div",{...e,children:"TransferList"}),Uu="_root_1qhn7_3",qu="_contents_1qhn7_18",ft={root:Uu,contents:qu},ns=E.forwardRef(function({layer:e,contentsOnly:t,children:r,className:o,style:n,...s},a){const i=t?o?`${ft.root} ${ft.contents} ${o}`:`${ft.root} ${ft.contents}`:o?`${ft.root} ${o}`:ft.root;return c.jsx("div",{ref:a,className:i,style:n,...t?{}:{"data-recursica-layer":String(e)},...s,children:r})});ns.displayName="Layer";const Kr=({emptyText:e="N/A"})=>c.jsx(E.Fragment,{children:e});Kr.displayName="EmptyValueRenderer";Kr.check=e=>e==null||e===""||Array.isArray(e)&&e.length===0;const Yu={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"},Je=(()=>{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:cr&&cr.tagName.toUpperCase()==="SCRIPT"&&cr.src||new URL("mui-adapter.cjs",document.baseURI).href}&&Yu)return!0}catch{}if(typeof window<"u"){const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"||e.endsWith(".local")}return!1})(),Sr=new Set;let He=!1;function ss(e){if(!Je)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(He=e!==void 0?e:!He,typeof document<"u"){const t=document.documentElement,r=He?"0 0 0 2px cyan":"none";t.style.setProperty("--recursica-over-styled-shadow",r),console.log(`[Recursica] Highlight outlines toggled: ${He?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Sr.forEach(t=>t()),He}function Hu(){return Je&&He}function as(){const[e,t]=E.useState(He);return E.useEffect(()=>{if(!Je)return;Xr(),Qr();const r=()=>t(He);return Sr.add(r),()=>{Sr.delete(r)}},[]),Je&&e}function Xr(){if(!Je)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const e="recursica-over-styled-styles";let t=document.getElementById(e);t||(t=document.createElement("style"),t.id=e,t.textContent=`
|
|
75
|
+
:root {
|
|
76
|
+
--recursica-over-styled-shadow: none;
|
|
77
|
+
}
|
|
78
|
+
.recursica-over-styled {
|
|
79
|
+
display: contents !important;
|
|
80
|
+
}
|
|
81
|
+
.recursica-over-styled > * {
|
|
82
|
+
box-shadow: var(--recursica-over-styled-shadow) !important;
|
|
83
|
+
}
|
|
84
|
+
`,document.head.appendChild(t))}function Qr(){if(!Je)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const e=t=>{try{t.recursica=t.recursica||{},t.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${ss()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};e(window),window.parent&&window.parent!==window&&e(window.parent)}const Io="data-recursica-theme";function Ku({children:e,theme:t="light"}){return E.useEffect(()=>{const r=document.documentElement;return r.setAttribute(Io,t),()=>{r.removeAttribute(Io)}},[t]),E.useEffect(()=>{Xr(),Qr()},[]),c.jsx(c.Fragment,{children:e})}const Xu=["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"],Qu=(e,t)=>{const r=document.activeElement;return new Promise((o,n)=>{if(t&&t.current){const s=document.createElement("textarea");s.readOnly=!0,s.defaultValue=e,t.current.appendChild(s),s.select();const a=document.execCommand("copy");t.current.removeChild(s),r&&r.focus(),a?o():n(new Error("Failed to copy"))}else n(new Error("Copy area reference is not defined"))})};function F(e){if(!Je||typeof e!="function"&&!(e&&e.$$typeof))return e;const t=E.forwardRef((r,o)=>{const{overStyled:n}=r,s=as(),a=E.createElement(e,{...r,ref:o});return n&&s?c.jsx("div",{className:"recursica-over-styled",children:a}):a});return t.displayName=e.displayName||e.name||"Component",t}const Ju=ea,Zu=Zo,ep=en,tp=_n,rp=Qo,op=lr,np=Da,sp=Va,ap=F(zt),ip=F(wr),lp=F(Dt),cp=F(Vt),dp=F(Nr),up=F(Wo),pp=F(Qs),fp=F(Zs),mp=F(Do),hp=F(Vo),yp=F(fa),_p=F(Pr),gp=F(Rr),bp=F(Xo),vp=F(Ia),xp=F(Jo),Cp=F(Be),$p=F(Ke),Sp=F(jr),Tp=F(Er),wp=F(nn),Np=F(Ar),Ep=F(sn),Op=F(an),Ap=F(ln),Rp=F(Ut),Pp=F(un),jp=F(mi),kp=F(mn),Ip=F(Mr),Mp=F(Wr),Lp=F(Lr),Wp=F(Or),Bp=F(Mi),Fp=F(yn),Dp=F(gn),Vp=F(bn),zp=F(vn),Gp=F(Ze),Up=F(Hn),qp=F(Kn),Yp=F(Yn),Hp=F(Xn),Kp=F(Qn),Xp=F(Jn),Qp=F(Tu),Jp=F(es),Zp=F(Hr),ef=F(ts),tf=F(rs),rf=F(zu),of=F(Gu);exports.Accordion=ap;exports.AccordionControl=lp;exports.AccordionItem=ip;exports.AccordionPanel=cp;exports.AssistiveElement=dp;exports.Autocomplete=up;exports.Avatar=pp;exports.Badge=fp;exports.Box=Ju;exports.Breadcrumb=mp;exports.Button=hp;exports.Card=yp;exports.Checkbox=_p;exports.CheckboxGroup=gp;exports.Chip=bp;exports.Container=rp;exports.DatePicker=vp;exports.Dropdown=xp;exports.EmptyValueRenderer=Kr;exports.FileInput=np;exports.FileUpload=sp;exports.Flex=Zu;exports.FormControlLayout=Cp;exports.FormControlWrapper=$p;exports.Group=ep;exports.HoverCard=Sp;exports.IS_DEV=Je;exports.Label=Tp;exports.Layer=ns;exports.Link=wp;exports.Loader=Np;exports.Menu=Ep;exports.MenuDivider=Ap;exports.MenuItem=Op;exports.Modal=Rp;exports.NumberInput=Pp;exports.Pagination=jp;exports.Panel=kp;exports.PanelFooter=Ip;exports.RECURSICA_COMPONENTS=Xu;exports.Radio=Mp;exports.RadioGroup=Lp;exports.ReadOnlyField=Wp;exports.RecursicaThemeProvider=Ku;exports.SegmentedControl=Bp;exports.Slider=Fp;exports.Stack=tp;exports.Stepper=Dp;exports.Switch=Vp;exports.SwitchGroup=zp;exports.Tab=Up;exports.TabPanel=qp;exports.Table=Gp;exports.Tabs=Yp;exports.Text=Hp;exports.TextArea=Kp;exports.TextField=Xp;exports.TimePicker=Qp;exports.Timeline=Jp;exports.TimelineItem=Zp;exports.Title=ef;exports.Toast=tf;exports.Tooltip=rf;exports.TransferList=of;exports.Typography=op;exports.copyToClipboard=Qu;exports.injectOverStyledStyles=Xr;exports.isGlobalOverStyledActive=Hu;exports.registerOverStyledConsoleCommand=Qr;exports.toggleGlobalOverStyled=ss;exports.useGlobalOverStyled=as;exports.wrapComponent=F;
|
|
75
85
|
//# sourceMappingURL=mui-adapter.cjs.map
|