@groupeactual/ui-kit 1.6.0-beta.7 → 1.6.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/Chip/Chip.d.ts +1 -1
  4. package/dist/cjs/types/components/IconButton/IconButton.d.ts +1 -1
  5. package/dist/cjs/types/components/IconProvider/IconProvider.d.ts +1 -1
  6. package/dist/cjs/types/components/Modal/modal.interface.d.ts +1 -1
  7. package/dist/es/index.mjs +1 -1
  8. package/dist/es/index.mjs.map +1 -1
  9. package/dist/es/types/components/Chip/Chip.d.ts +1 -1
  10. package/dist/es/types/components/IconButton/IconButton.d.ts +1 -1
  11. package/dist/es/types/components/IconProvider/IconProvider.d.ts +1 -1
  12. package/dist/es/types/components/Modal/modal.interface.d.ts +1 -1
  13. package/package.json +4 -4
  14. package/src/DesignSystemProvider.tsx +2 -1
  15. package/src/components/Accordion/Accordion.tsx +3 -2
  16. package/src/components/BannerNotification/BannerNotification.tsx +2 -1
  17. package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -1
  18. package/src/components/Button/Button.tsx +2 -1
  19. package/src/components/Chip/Chip.tsx +15 -17
  20. package/src/components/Datatable/Datatable.tsx +6 -5
  21. package/src/components/EmbbededNotification/EmbeddedNotification.tsx +4 -2
  22. package/src/components/Form/AutoCompleteMulti/AutoCompleteMulti.tsx +8 -7
  23. package/src/components/Form/AutoCompleteSingle/AutoCompleteSingle.tsx +7 -6
  24. package/src/components/Form/Checkbox/Checkbox.tsx +3 -2
  25. package/src/components/Form/CheckboxGroup/CheckboxGroup.tsx +2 -1
  26. package/src/components/Form/DatePicker/DatePicker.tsx +8 -7
  27. package/src/components/Form/MultiSelect/MultiSelect.tsx +8 -7
  28. package/src/components/Form/RadioGroup/RadioGroup.tsx +3 -2
  29. package/src/components/Form/Select/Select.tsx +3 -2
  30. package/src/components/Form/Switch/Switch.tsx +2 -1
  31. package/src/components/Form/TextField/TextField.tsx +3 -2
  32. package/src/components/IconButton/IconButton.tsx +3 -2
  33. package/src/components/IconProvider/IconProvider.tsx +2 -1
  34. package/src/components/Link/Link.tsx +2 -1
  35. package/src/components/Modal/Dialog/Dialog.tsx +2 -1
  36. package/src/components/Modal/Drawer/Drawer.tsx +2 -1
  37. package/src/components/Modal/modal.interface.ts +2 -1
  38. package/src/components/Navigation/Stepper/Step.tsx +2 -1
  39. package/src/components/Pagination/Pagination.tsx +2 -1
  40. package/src/components/Snackbar/Snackbar.tsx +2 -1
  41. package/src/components/UploadDocument/FileUploaderSingle.tsx +2 -1
@@ -1,6 +1,6 @@
1
1
  import { MouseEvent } from 'react';
2
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
2
  import { ChipProps as ChipPropsMUI } from '@mui/material';
3
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
4
4
  interface Props extends Omit<ChipPropsMUI, 'suffix' | 'prefix' | 'onDelete' | 'onDeleteIcon' | 'variant'> {
5
5
  variant: 'filled' | 'outlined' | 'status' | 'statusFilled';
6
6
  label: string;
@@ -1,5 +1,5 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
1
  import { IconButtonProps, SxProps, Theme } from '@mui/material';
2
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
3
  import { Placement } from '../Tooltip/tooltip.interface';
4
4
  interface Props extends IconButtonProps {
5
5
  icon: IconDefinition;
@@ -1,5 +1,5 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
1
  import { BoxProps } from '@mui/material';
2
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
3
  declare const FontSizes: {
4
4
  xs: number;
5
5
  sm: number;
@@ -1,8 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
2
  import { CardProps } from '@mui/material';
4
3
  import { ModalProps as ModalPropsMUI } from '@mui/material/Modal';
5
4
  import { DefaultComponentProps, OverridableTypeMap } from '@mui/material/OverridableComponent';
5
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
6
6
  export type CloseButtonProps = {
7
7
  onClose: () => void;
8
8
  };
package/dist/es/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import{Typography as n,useTheme as r,styled as a,Link as i,Button as s,SvgIcon as l,Box as c,TextField as u,FormControl as d,InputLabel as p,Select as f,MenuItem as m,FormHelperText as h,Chip as g,Tooltip as b,tooltipClasses as y,FormControlLabel as v,Checkbox as x,FormLabel as w,FormGroup as S,RadioGroup as C,Radio as M,Accordion as O,AccordionSummary as k,AccordionDetails as T,Breadcrumbs as D,Pagination as E,Divider as P,Autocomplete as R,IconButton as I,Alert as N,Stack as $,Drawer as L,Card as A,CardHeader as F,CardContent as V,Dialog as j,DialogContent as z,DialogTitle as B,Switch as W,TableContainer as _,Table as H,TableHead as q,TableRow as U,TableCell as Y,TableSortLabel as K,TableBody as X,createTheme as G,ThemeProvider as Z}from"@mui/material";import*as J from"react";import Q,{useMemo as ee,forwardRef as te,useState as oe,useEffect as ne,useRef as re,useContext as ae,Children as ie,isValidElement as se,cloneElement as le,useCallback as ce,createElement as ue,useLayoutEffect as de,Fragment as pe,createContext as fe}from"react";import*as me from"react-dom";import he from"react-dom";const ge=t=>e(n,{color:"greyXDark",...t});ge.displayName="Text";var be=Object.freeze({__proto__:null,DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultFontFamiliesRoboto:"Roboto",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultFontWeightsRoboto400:"Regular",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto700:"Bold",DefaultLetterSpacingNone:"none",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultSizingLg:"24",DefaultSizingMd:"16",DefaultSizingSm:"12",DefaultSizingXl:"32",DefaultSizingXs:"8",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultSpacingLg:"24",DefaultSpacingMd:"16",DefaultSpacingXl:"32",DefaultSpacingXs:"8",DefaultSpacingXxl:"40",DefaultSpacingXxs:"4",DefaultSpacingXxxl:"72",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius16:"16",EpBorderRadius24:"24",EpBorderRadius4:"4",EpBorderRadius8:"8",EpColorsBlack:"#161616",EpColorsBlueInfo:"#1d91c3",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreenLight:"#f2f8f8",EpColorsGreenPastel:"#e4f1f1",EpColorsGreenSucces:"#23956d",EpColorsGrey:"#acc1cc",EpColorsGreyDark:"#676767",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsGreyMediumInactive:"#808080",EpColorsGreyPastel:"#eaf2f6",EpColorsOrangeWarning:"#e46221",EpColorsRed:"#e11c31",EpColorsRedError:"#b80025",EpColorsRedHover:"#b61425",EpColorsRedLight:"#fff7f5",EpColorsRedPastel:"#feefeb",EpColorsWhite:"#ffffff",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpFontWeightsManrope500:"Medium",EpFontWeightsManrope700:"Bold",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpLetterSpacingNone:"none",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpSizingLg:"24",EpSizingMd:"16",EpSizingSm:"12",EpSizingXl:"32",EpSizingXs:"8",EpSizingXxl:"40",EpSizingXxxl:"72",EpSpacingLg:"24",EpSpacingMd:"16",EpSpacingXl:"32",EpSpacingXs:"8",EpSpacingXxl:"40",EpSpacingXxs:"4",EpSpacingXxxl:"72",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"});const ye=e=>{const t={};Object.keys(be).forEach((o=>{if(o.startsWith(e)&&o.indexOf("Colors")){let e=o.substring(o.lastIndexOf("Colors")+6);e=e.charAt(0).toLowerCase()+e.slice(1),t[e]=be[o]}}));const o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning},infos:{main:t.blueInfo}};return{...t,...o}},ve=e=>{const t=be,o=[];return Object.keys(be).forEach((n=>{n.startsWith(e+"FontFamilies")&&o.push(t[n])})),o},xe=e=>({"&.MuiFormControl-root":{zIndex:1,".MuiInputBase-root":{backgroundColor:e.palette.white,height:"44px",padding:"0 !important"},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiOutlinedInput-root":{height:"22px"},".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable+" !important"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},"&.Mui-success":{color:e.palette.greenSuccess,"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess}},"&.Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:`${e.palette.greyMediumInactive} !important`},input:{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},label:{background:"transparent",backgroundColor:"transparent !important",color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},color:e.palette.greyDark},".MuiInputLabel-root":{"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:`${e.palette.greenSuccess} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:`${e.palette.blueClickable}`,"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiFormHelperText-root":{color:e.palette.greyDark,marginTop:"8px",marginLeft:"8px","&.Mui-error":{color:e.palette.redError}},".MuiAutocomplete-clearIndicator":{backgroundColor:"transparent"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".clear":{alignSelf:"center",position:"relative"},"&.MuiAutocomplete-listbox":{".clear":{visibility:"visible"}},"&.MuiMenuItem-root":{border:"1px solid green"},"& .Mui-focused":{borderColor:e.palette.blueClickable},"& .Mui-hover":{borderColor:e.palette.greyDark},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},"&.Mui-filled":{".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}}},".Mui-error":{color:e.palette.redError,"& span":{color:`${e.palette.greyDark} !important`},"& fieldset":{borderColor:e.palette.redError}},".labelClassic":{minHeight:"20px",".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".labelCustom":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:"400",marginTop:"-3px","&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"0px",marginLeft:"0px",color:e.palette.greyXDark},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"&.Mui-focused":{marginTop:"0px",marginLeft:"0px",color:e.palette.blueClickable}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:`${e.palette.greyDark}`,"&.Mui-focused":{marginTop:"0px",color:`${e.palette.blueClickable}`},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},".MuiFormLabel-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"0px",marginLeft:"0px",color:e.palette.greyXDark,transform:"translate(14px, -7px) scale(0.75) !important"}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark}`}},"&.DsAutoComplete":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 1px)"},"&.Mui-disabled .MuiAutocomplete-endAdornment":{top:"calc(50% - 1px) !important"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50%)"}},".MuiInputBase-root":{minHeight:"44px",height:"auto"},"&.MuiMenuItem-root":{border:"1px solid green"},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",WebkitTextFillColor:e.palette.greyDark+" !important"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark} !important`,padding:"0px 7px 0px 7px !important"}," .MuiOutlinedInput-root":{padding:"7px 31px 7px 4px !important"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark,".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"}}},".MenuItem ":{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word"},'.MenuItem[aria-selected="true"]':{backgroundColor:e.palette.greyXLight,fontWeight:500},".MenuItem:hover":{backgroundColor:e.palette.blueHoverEquivalence}}),we=e=>({"&.MuiFormControl-root":{zIndex:1,"&:hover":{".clear":{visibility:"visible"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important",WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-root":{height:"44px",padding:"0 !important",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiInputLabel-root":{marginTop:"2px"},"& label":{color:e.palette.greyDark},"&.Mui-filled":{"& label":{color:e.palette.greyXDark}},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 12px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important"}},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",borderColor:e.palette.greyLightDefaultBorder,fontSize:"16px"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable},"&.Mui-error":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"}},".clear":{visibility:"hidden",alignSelf:"center",position:"relative",marginTop:"2px",marginRight:"-8px"},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&.Select-mui":{"&.Mui-filled":{".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 22px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"2px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"8px 31px 10px 14px","&.Mui-disabled":{color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"9px"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",color:e.palette.greyDark,marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 11px 14px","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"20px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px"}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",fontSize:"16px",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"},".SelectIcon.Mui-disabled":{color:e.palette.greyMediumInactive+" !important"}},".MuiFormLabel-filled":{lineHeight:"16px !important",color:e.palette.greyDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important",transform:"translate(14px, -7px) scale(0.75)"}}),Se=t=>{const o=r(),n=ee((()=>a(i)((e=>({"&.MuiLink-root":{color:e.palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}}))(o))),[o]);return e(n,{...t})};Se.displayName="Link";const Ce=({variant:t,children:o,...n})=>{const i=r(),l=ee((()=>a(s)((e=>({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiButton-primary":{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},"&.MuiButton-secondary":{color:e.palette.blueClickable,backgroundColor:e.palette.white+" !important",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable},"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultBorder+" !important",color:e.palette.greyMediumInactive+" !important",".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"},borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}},"&:hover":{backgroundColor:"transparent !important"}}))(i))),[i]);return e(l,{variant:t,...n,children:o})};Ce.displayName="Button";var Me={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Oe={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},ke=Oe,Te={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},De={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Ee={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Pe=Ee,Re={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ie={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ne=Ie,$e={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Le={prefix:"fas",iconName:"circle-x",icon:[512,512,[],"e12e","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z"]},Ae={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]},Fe={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Ve={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},je={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},ze={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},Be=ze;const We={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},_e=te((({icon:t,fontSize:o},n)=>{const{icon:[r,a,,,i]}=t;return e(l,{ref:n,viewBox:`0 0 ${r} ${a}`,sx:{fontSize:o??"14px"},children:"string"==typeof i?e("path",{d:i}):i.map(((t,o)=>e("path",{style:{opacity:0===o?.4:1},d:t},o)))})})),He=({variant:t="none",icon:o,color:n="#136cac",size:a=16,sx:i,...s})=>{const l=r(),u=ee((()=>l.palette[n]?l.palette[n]:n&&0!==n.length?n:"#136cac"),[l.palette,n]),d=ee((()=>"square"===t?16:a in We?We[a]:a>=0?a:16),[t,a]);return e(c,{component:"span",sx:"square"===t?{...i,color:u,backgroundColor:`${u}14`,borderRadius:"4px",borderColor:"1px solid "+u,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{...i,color:u,width:d,height:a,display:"inline-flex",alignItems:"center",justifyContent:"center"},...s,children:e(_e,{icon:o,fontSize:d})})};He.displayName="IconProvider";const qe=({name:o,value:n,error:i,onBlur:s,onChange:l,label:c,disabled:d,width:p="100%",endAdornment:f,placeholder:m="",maxLength:h,...g})=>{const b=r(),y=ee((()=>a(u)((e=>({".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiTextField-root":{".MuiInputBase-root":{backgroundColor:e.palette.white},".MuiInputLabel-root":{"&.Mui-error":{color:e.palette.redError+" !important"},fontWeight:500,transform:"translate(8px, 16px) scale(1)"},"&.Mui-success":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess+" !important"},".MuiFormLabel-root":{color:e.palette.greenSuccess+" !important"}},".Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",fontSize:"16px"},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess},"&.TextField-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{color:e.palette.blueClickable}}},"&.TextField-mui":{".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",color:`${e.palette.greyDark}`,fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:e.palette.blueClickable,marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.MuiFormLabel-colorSuccess":{"&.Mui-focused":{color:e.palette.greenSuccess+" !important"}}}},"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},".DsTextField-passwordIcon":{cursor:"pointer"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},".MuiSvgIcon-root":{marginLeft:"-22px"}}}}))(b))),[b]),[v,x]=oe(!1),[w,S]=oe(g.type??"text"),C=ee((()=>e(He,{className:"DsTextField-passwordIcon",icon:v?De:Re,color:"blueClickable",onClick:()=>x(!v)})),[v]);ne((()=>{S(v?"text":g.type??"text")}),[v]);const M=ee((()=>[m?"TextField-ds":"TextField-mui","success"===g.color&&"Mui-success",n&&"Mui-filled",g.className].filter(Boolean).join(" ")),[n]),O=ee((()=>Boolean(i&&i?.length>0||h&&String(n).length>h)),[i,h,n]);return e(y,{variant:"outlined",name:o,label:c,value:n,sx:{width:p},placeholder:m,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:!!m||void 0},onClick:e=>e.stopPropagation(),onChange:e=>{l?.(e)},onBlur:e=>{s?.(e)},error:O,disabled:d,InputProps:"password"===g.type?{endAdornment:C}:{endAdornment:f},...g,className:M,type:w,helperText:t("div",{style:{display:"table",width:"100%",marginRight:"4px"},children:[(i||g.helperText)&&e("div",{style:{display:h?"table-cell":"",float:"left"},children:i||g.helperText}),h&&t("div",{style:{display:"table-cell",float:"right"},children:[String(n).length,"/",h," caract."]})]})})};qe.displayName="TextField";const Ue={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ye=({value:o,label:n="",options:i,color:s,error:l,placeholder:u="",helperText:g,width:b="100%",disabled:y,onChange:v,getRenderValue:x,...w})=>{const S=r(),C=ee((()=>a(d)(we(S))),[S]),M=ee((()=>["DSSingleSelect",u?"Select-ds":"Select-mui",o&&"Mui-filled",l&&"Mui-error"].filter(Boolean).join(" ")),[o]);return e(c,{sx:{width:b},children:t(C,{fullWidth:!0,color:s,className:M,disabled:y,sx:{".MuiOutlinedInput-input":{marginTop:o?"0px":"2px"}},children:[e(p,{error:!!l,disabled:y,children:n}),e(f,{sx:{color:s+"! important","& .MuiSelect-select .notranslate::after":u?{content:`"${u}"`,opacity:u?"1 !important":"0 !important"}:{}},label:n,value:o,notched:!!u||void 0,onChange:e=>v?.(e.target.value),IconComponent:({className:t})=>e(He,{className:y?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===s?je:Fe,size:"success"===s?"md":"sm",sx:{marginTop:"success"===s?"2px":"0px",transform:t.toString().includes("iconOpen")&&"success"!==s?"rotate(180deg)":"none"}}),MenuProps:Ue,renderValue:e=>x(e),...w,children:i?.map(((t,n)=>e(m,{sx:{fontSize:14,fontWeight:o===t?500:400,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:o===t?"blueHoverEquivalence":"white"},value:t,onMouseEnter:e=>e.target.style.backgroundColor=S.palette.blueHoverEquivalence,onMouseLeave:e=>{o!==t&&(e.target.style.backgroundColor=S.palette.white)},children:x?x(t):t.label},n)))}),(l||g)&&e(h,{component:"span",className:l?"Mui-error":"",children:l||g})]})})};Ye.displayName="Select";const Ke=({variant:t,label:n,prefixIcon:i,suffixIcon:s,suffixTooltip:l,suffixAction:u,tooltip:d,maxWidth:p="100%",...f})=>{const m=r(),h=ee((()=>a(g)((e=>({"&.MuiChip-root":{color:e.palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"},color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder+" !important",opacity:1},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}},"&.MuiChip-filled":{border:"none",fontWeight:400,color:e.palette.greyXDark},"&.MuiChip-outlined":{border:"1px solid",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-status":{border:"1px solid !important",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-statusFilled":{border:"none !important",color:e.palette.greyXDark+" !important",fontWeight:e.typography.fontWeightRegular+" !important"},"&.MuiChip-sizeSmall":{height:"24px",paddingY:"3px"},"&.MuiChip-sizeMedium":{height:"33px",paddingY:"8px"},"&.MuiChip-colorDefault":{backgroundColor:e.palette.greyXLight,border:"none",fontWeight:e.typography.fontWeightRegular+" !important",color:e.palette.greyXDark},"&.MuiChip-colorSecondary":{borderColor:e.palette.greyLightDefaultBorder+" !important",fontWeight:e.typography.fontWeightRegular+" !important",backgroundColor:e.palette.white},"&.MuiChip-colorPrimary":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important",fontWeight:e.typography.fontWeightBold,"& .MuiChip-deleteIcon":{color:e.palette.white+" !important"}},"&.MuiChip-colorSuccess":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorWarning":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorInfo":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorError":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}}))(m))),[m]),[y,v]=oe(!1),[x,w]=oe(!1),S=re(null),C=ee((()=>f.color&&m.palette[f.color]?"object"==typeof m.palette[f.color]?m.palette[f.color].main:m.palette[f.color]:f.color||"status"===t?"white":"filled"===t||"statusFilled"===t?`${C}14`:""),[f.color,m.palette]);return e(b,{title:d,placement:"right-start",open:y,children:e(c,{maxWidth:"fit-content",onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:e(b,{title:l,open:x,placement:"bottom-end",sx:{cursor:u?"pointer !important":"default"},children:e(h,{label:n,ref:S,className:`MuiChip-${t}`,size:"small",sx:{maxWidth:p,backgroundColor:C,"&.MuiChip-colorSecondary":s&&u&&{"&:hover":{borderColor:"#004f88 !important",".MuiChip-deleteIcon":{color:"#004f88 !important"}}},"&.MuiChip-colorPrimary":s&&u&&{"&:hover":{backgroundColor:"#004f88 !important"}},"&.MuiChip-colorDefault":s&&u&&{"&:hover":{".MuiChip-deleteIcon":{color:"#004f88 !important"}}}},avatar:i?e(He,{icon:i,size:"sm"}):e(o,{}),deleteIcon:s?e(He,{icon:s,onMouseEnter:()=>{l&&(w(!0),v(!1))},onMouseLeave:()=>{l&&(w(!1),v(!0))},sx:{cursor:u?"pointer !important":"default"},size:"sm"}):e(o,{}),onDelete:u??(()=>null),...f})})})})};Ke.displayName="Chip";const Xe={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ge=({value:o,label:n,options:i,color:s,error:l,placeholder:u="",helperText:g,width:b="100%",getRenderValue:y,getKeyValue:v,onChange:x,disabled:w,...S})=>{const C=r(),M=ee((()=>a(d)(we(C))),[C]),O=()=>x?.([]),k=e=>{e.stopPropagation()},T=ee((()=>["DsMultiSelect",u?"Select-ds":"Select-mui",o.length>0&&"Mui-filled",l&&"Mui-error"].filter(Boolean).join(" ")),[o]),D=re(null);return e(c,{sx:{width:b},ref:D,children:t(M,{fullWidth:!0,color:s,className:T,disabled:w,sx:{".MuiOutlinedInput-input":{marginTop:o?.length>0?"0px":"2px"}},children:[e(p,{disabled:w,error:!!l,children:n}),e(f,{sx:{color:s+"! important","& .MuiSelect-select .notranslate::after":u?{content:`"${u}"`,opacity:n===u?"0 !important":"1 !important"}:{}},multiple:!0,label:n,notched:!!u||void 0,value:o,onChange:e=>x?.(e.target.value),renderValue:n=>t(c,{sx:{display:"flex"},children:[e(c,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:n.map((t=>e(Ke,{variant:w?"outlined":"filled",color:"default",label:y(t),onMouseDown:k,disabled:w,suffixIcon:Le,suffixAction:()=>{return!w&&(e=t,x?.(o?.filter((t=>t!==e))));var e},sx:{m:0,maxWidth:D?.current?parseFloat(String(D.current?.offsetWidth).replace("px",""))-60:b}},v(t))))}),e(c,{flexGrow:1}),!w&&e(c,{className:"clear",onClick:O,onMouseDown:k,children:e(He,{icon:Ve})})]}),IconComponent:({className:t})=>e(He,{className:w?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===s?je:Fe,size:"success"===s?"md":"sm",sx:{transform:t.toString().includes("iconOpen")&&"success"!==s?"rotate(180deg)":"none"}}),MenuProps:Xe,...S,children:i?.map((t=>e(m,{value:t,sx:{fontSize:14,fontWeight:-1===o.indexOf(t)?400:500,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:-1===o.indexOf(t)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}},children:y(t)},v(t))))}),(l||g)&&e(h,{component:"span",className:l?"Mui-error":"",children:l||g})]})})};Ge.displayName="MultiSelect";const Ze=({title:t,placement:n="right",children:r,...i})=>{if(!t)return e(o,{children:r});const s=a((({classes:t,...o})=>e(b,{...o,classes:t})))((()=>({[`& .${y.tooltip}`]:{backgroundColor:"#272727",padding:"4px !important",fontFamily:"Roboto, sans-serif",fontSize:"13px",color:"white",fontWeight:400},[`& .${y.tooltipPlacementTop}`]:{marginBottom:"4px !important"},[`& .${y.tooltipPlacementRight}`]:{marginLeft:"4px !important"},[`& .${y.tooltipPlacementBottom}`]:{marginTop:"4px !important"},[`& .${y.tooltipPlacementLeft}`]:{marginRight:"4px !important"}})));return e(s,{placement:n||void 0,title:e(o,{children:t}),...i,children:e(c,{component:"span",children:r})})};Ze.displayName="Tooltip";const Je=({name:o,value:i,error:s,helperText:l,label:u,infoBubbleContent:p,infoBubblePosition:f="right",onChange:m,disabled:g,...b})=>{const y=r(),w=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{"::before":{zIndex:1,content:'" "',display:"block",position:"absolute",borderRadius:"2px",width:"14px",height:"14px",backgroundColor:"white"},width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px",".MuiSvgIcon-root":{zIndex:1,width:"18.67px",height:"18.67px",path:{width:"14px",height:"14px"}},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.blueClickable}},"&.Mui-disabled":{"::before":{backgroundColor:e.palette.greyXLight},".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"transparent !important",outlineOffset:"-2px"}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyMediumInactive,fontWeight:700}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"6px",zIndex:0,left:"6px",borderRadius:"0px"}}},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",fontWeight:"400",fontSize:"11px",color:e.palette.greyDark}}))(y))),[y]),S=ee((()=>{const e=["DsCheckbox"];return g&&e.push("Mui-disabled"),e.join(" ")}),[g]),C=ee((()=>{const e=["DsCheckbox-label"];return g&&e.push("Mui-disabled"),e.join(" ")}),[g]);return t(w,{className:S,children:[e(v,{disabled:g,control:e(c,{children:e(x,{inputProps:{name:o},disabled:g,sx:{marginTop:"-2px"},checked:i,color:"primary",onChange:e=>{m?.(o,e.target.checked,!0)},...b})}),label:t(c,{display:"flex",children:[e(n,{component:"span",className:C,children:u}),p&&e(c,{py:0,pl:.5,display:"flex",children:e(Ze,{title:p,placement:f,children:e(c,{height:12,width:12,children:e(He,{icon:Ne,size:"sm",color:"#1d91c3"})})})})]})}),(s||l)&&e(h,{component:"span",className:s?"Mui-error":"",children:s||l})]})};Je.displayName="Checkbox";const Qe=({options:o,label:n,disabled:i,error:s,helperText:l})=>{const c=r(),u=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{".MuiFormLabel-root":{color:e.palette.greyXDark,marginLeft:"-6px",fontWeight:"500",fontSize:"13px",lineHeight:"16px",paddingBottom:"4px"},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",color:e.palette.greyDark,fontWeight:"400",fontSize:"11px",paddingTop:"4px"}},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark+" !important"}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError+" !important"},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiBox-root .MuiBox-root svg":{position:"relative",bottom:"-2px"}}))(c))),[c]),[p,f]=oe({}),m=ee((()=>{const e=[];return i&&e.push("Mui-disabled"),s&&e.push("Mui-error"),e.join(" ")}),[i]);return t(u,{error:!!s,className:m,children:[e(w,{component:"legend",children:n}),e(S,{children:o?.slice(0,7).map((t=>e(Je,{name:t.name,value:p[t.name]||!1,onChange:(e,t)=>((e,t)=>{f({...p,[e]:t})})(e,t),disabled:i,label:t.label,infoBubbleContent:t.infoBubbleContent,infoBubblePosition:t.infoBubblePosition},t.name)))}),(s||l)&&e(h,{component:"span",className:s?"Mui-error":"",children:s||l})]})};Qe.displayName="CheckboxGroup";const et=({options:o,value:n,label:i,onChange:s,helperText:l,disabled:u=!1,error:p="",...f})=>{const m=r(),g=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{".MuiSvgIcon-root":{marginTop:"-2px"},".MuiRadio-root":{".MuiSvgIcon-root":{flexShrink:0,zIndex:1,height:"16px",width:"16px",marginTop:"-2px"},height:"16px",width:"16px",marginRight:"8px","&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".MuiFormControlLabel-root":{margin:"0px 0px 4px 0px",color:e.palette.greyXDark,alignItems:"self-start"},".MuiFormControlLabel-label":{fontWeight:"400",fontSize:"14px",position:"relative"},".MuiButtonBase-root":{color:e.palette.greyLightDefaultBorder,"&.Mui-checked":{color:e.palette.blueClickable}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",color:e.palette.greyDark,fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyMediumInactive,fontWeight:"700"},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,color:e.palette.greyMediumInactive,transform:"scale(0.889)","& span":{transform:"scale(1.3)"},"&.Mui-checked":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:0,left:"3px"}}}))(m))),[m]),b=ee((()=>[u&&"Mui-disabled",p&&"Mui-error"].filter(Boolean).join(" ")),[u,p]);return t(g,{disabled:u,error:!!p,className:b,children:[e(w,{children:i}),e(C,{value:n,onChange:e=>{s(e.target.value)},...f,children:o?.slice(0,7).map((({value:o,label:n,infoBubbleContent:r,infoBubblePosition:a},i)=>e(v,{control:e(M,{size:"small"}),value:o,label:t(c,{display:"flex",children:[n,r&&e(c,{py:0,pl:.5,width:16,height:21,display:"flex",alignItems:"center",children:e(Ze,{title:r,placement:a,children:e(He,{icon:Ne,size:"sm",color:"#1d91c3"})})})]})},i)))}),(p||l)&&e(h,{component:"span",className:p?"Mui-error":"",children:p||l})||e(c,{height:18})]})};et.displayName="RadioGroup";var tt={prefix:"far",iconName:"arrow-up-long",icon:[384,512,["long-arrow-up"],"f176","M209 7c-9.4-9.4-24.6-9.4-33.9 0L39 143c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l95-95V488c0 13.3 10.7 24 24 24s24-10.7 24-24V81.9l95 95c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L209 7z"]},ot={prefix:"far",iconName:"angle-right",icon:[320,512,[8250],"f105","M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]},nt={prefix:"far",iconName:"arrow-down-long",icon:[384,512,["long-arrow-down"],"f175","M175 505c9.4 9.4 24.6 9.4 33.9 0L345 369c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95L216 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 406.1L73 335c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 505z"]},rt={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},at={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48h93.7c2.7 0 5.2 1.3 6.7 3.6l19 28.4h-145l19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0H177.1c-18.7 0-36.2 9.4-46.6 24.9L93.8 80H80.1 32 24C10.7 80 0 90.7 0 104s10.7 24 24 24H35.6L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3H324.6c33.5 0 61.3-25.9 63.8-59.3L412.4 128H424c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8H367.9 354.2zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8H123.4c-8.4 0-15.3-6.5-16-14.8L83.7 128H364.3z"]},it={prefix:"far",iconName:"upload",icon:[512,512,[],"f093","M280 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V81.9l-95 95c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 7c9.4-9.4 24.6-9.4 33.9 0L409 143c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-95-95V360zm32-8V304H448c35.3 0 64 28.7 64 64v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V368c0-35.3 28.7-64 64-64H200v48H64c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H312zm72 56a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},st={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},lt={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},ct={prefix:"far",iconName:"angle-left",icon:[320,512,[8249],"f104","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z"]},ut={prefix:"far",iconName:"calendar-day",icon:[448,512,[],"f783","M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"]};const dt=({title:o,summaryHeight:n,expanded:i=!1,onClick:s,children:l,...c})=>{const u=r(),d=ee((()=>a(O)((e=>({"&.MuiAccordion-root":{border:"1px solid",borderColor:e.palette.greyLightDefaultBorder,boxShadow:"none",".MuiAccordionSummary-root":{minHeight:"auto !important",padding:"8px 16px",color:e.palette.greyXDark,fontWeight:e.typography.fontWeightMedium,fontSize:"18px",lineHeight:"21px"},".MuiAccordionDetails-root":{padding:"16px",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},".MuiAccordionSummary-expandIconWrapper .MuiBox-root":{width:"auto",padding:"13px"}}}))(u))),[u]),[p,f]=oe(i);return ne((()=>{i!==p&&f(i)}),[i]),t(d,{expanded:p,onClick:e=>{c.disabled||(f(!p),s&&s(e))},...c,children:[e(k,{expandIcon:e(He,{icon:st,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:n||60},children:o}),e(T,{sx:{backgroundColor:u.palette.greyXLight,borderTop:"1px solid",borderColor:u.palette.greyLightDefaultBorder},children:l})]})};dt.displayName="Accordion";const pt=({PageName:o,links:n,...i})=>{const s=r(),l=ee((()=>a(D)((e=>({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:e.palette.greyDark}}))(s))),[s]);return t(l,{"aria-label":"breadcrumb",...i,children:[n.map(((t,o)=>e("div",{children:e(Se,{href:t.link,variant:"link1",children:t.title},o)},o))),e(ge,{variant:"body1",children:o})]})};pt.displayName="Breadcrumbs";const ft=({totalString:o,totalPerPageString:n,limitsPerPage:i=[5,10,20],setLimit:s,setPage:l,page:u=1,totalRows:d,limit:p})=>{const f=r(),m=ee((()=>a(E)((e=>({".MuiPaginationItem-root":{height:"44px !important",width:"44px !important",color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyLightDefaultBorder+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.blueHoverClickable+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important",opacity:"1 !important"},"&.MuiPaginationItem-ellipsis":{color:e.palette.greyDark+" !important",display:"flex",alignItems:"center",justifyContent:"center"}}}))(f))),[f]),[h,g]=oe(u),[b,y]=oe(p??i[0]),v=((e,t)=>Math.ceil(e/t))(d,b),x=e=>{g(e),l?.(e)};return ne((()=>{u!==h&&g(u)}),[u]),ne((()=>{p&&p!==b&&y(p)}),[p]),t(c,{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",sx:{paddingTop:"16px",paddingBottom:"24px"},children:[t(c,{display:"flex",alignItems:"center",children:[t(ge,{variant:"body1Medium",children:[d," ",o]}),e(P,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}}),e(Ye,{label:"",className:"dac-select-label",labelId:"select-label",value:b,onChange:e=>{x(1),(e=>{y(e),s?.(e)})(e)},options:i,getRenderValue:e=>e.toString(),width:75,sx:{backgroundColor:"white","&.MuiInputBase-root":{height:"32px !important"}}}),e(ge,{variant:"body1",pl:"8px",children:n}),e(P,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}})]}),e(c,{display:"flex",pr:"4px",children:e(m,{variant:"outlined",shape:"rounded",count:v,page:h,onChange:(e,t)=>x(t)})})]})};ft.displayName="Pagination";const mt=({title:o,text:n,variant:r="infos",actionButton:a,...i})=>{const s={warning:{color:"orangeWarning",icon:Oe},error:{color:"redError",icon:ze},success:{color:"greenSuccess",icon:Ee},infos:{color:"blueInfo",icon:Ie}};return t(c,{border:"1px solid",borderColor:s[r].color,p:"8px 16px",borderRadius:"4px",display:"flex",alignItems:n?"flex-start":"center",justifyContent:n?"flex-start":"center",...i,children:[e(He,{icon:s[r].icon,color:s[r].color,mr:"16px",mt:n?"1px":0}),t(c,{display:"flex",flexDirection:"column",paddingRight:4,children:[e(ge,{align:"left",variant:"body1Bold",color:s[r].color,display:"inline-block",children:o}),n&&e(ge,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block",paddingTop:"4px",children:n})]}),e(c,{flexGrow:2}),a&&e(c,{alignSelf:"center",whiteSpace:"nowrap",children:a})]})};mt.displayName="EmbeddedNotification";const ht=({value:n,label:i,placeholder:s="",options:l,disabled:p,getOptionLabel:f,onChange:g,width:b="100%",color:y,helperText:v,error:x,...w})=>{const S=r(),C=ee((()=>a(d)(xe(S))),[S]),M=ee((()=>["DsAutoComplete",n&&"Mui-filled","success"===y&&"Mui-success",p&&"Mui-disabled"].filter(Boolean).join(" ")),[n]),O=ee((()=>[s?"labelClassic Mui-Input-filled":"labelCustom","success"===y&&"Mui-success",n&&"Mui-Input-filled"].filter(Boolean).join(" ")),[y,s]);return e(c,{sx:{width:b},children:t(C,{fullWidth:!0,color:y,className:M,children:[e(R,{...w,value:n,onChange:(e,t)=>g?.(t),"aria-placeholder":s,disabled:p,options:l,sx:{".MuiOutlinedInput-input":{marginTop:n?"0px":"2px"}},getOptionLabel:f,slotProps:{paper:{sx:{boxShadow:"0px 2px 10px 0px"}}},renderOption:(t,o)=>e(m,{...t,className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:S.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:S.palette.blueHoverEquivalence}},children:f(o)}),clearIcon:e(o,{children:!p&&n&&e(c,{className:"clear",onClick:()=>g?.(null),onMouseDown:e=>{e.stopPropagation()},children:e(He,{icon:Ve})})}),popupIcon:e(He,{className:p?"icon-disabled SelectIcon":"SelectIcon",icon:"success"===y?je:Fe,size:"success"===y?"md":"sm"}),renderInput:t=>e(u,{...t,label:i,error:!!x,fullWidth:!0,variant:"outlined",inputProps:{...t.inputProps},InputLabelProps:{shrink:!!s||void 0,className:O,disabled:!1},placeholder:s})}),(x||v)&&e(h,{component:"span",className:x?"Mui-error":"",children:x||v})]})})};function gt(e,t){if(null==e)return{};var o,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},bt.apply(this,arguments)}function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}ht.displayName="AutocompleteSingle","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var xt,wt,St,Ct,Mt,Ot,kt,Tt,Dt,Et,Pt,Rt,It,Nt,$t,Lt={exports:{}},At={exports:{}},Ft={},Vt={};
1
+ import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import{Typography as n,useTheme as r,styled as a,Link as i,Button as s,SvgIcon as l,Box as c,TextField as u,FormControl as d,InputLabel as p,Select as f,MenuItem as m,FormHelperText as h,Chip as g,Tooltip as b,tooltipClasses as y,FormControlLabel as v,Checkbox as x,FormLabel as w,FormGroup as S,RadioGroup as C,Radio as M,Accordion as O,AccordionSummary as k,AccordionDetails as T,Breadcrumbs as D,Pagination as E,Divider as P,Autocomplete as R,IconButton as I,Alert as N,Stack as $,Drawer as L,Card as A,CardHeader as F,CardContent as V,Dialog as j,DialogContent as z,DialogTitle as B,Switch as W,TableContainer as _,Table as H,TableHead as q,TableRow as U,TableCell as Y,TableSortLabel as K,TableBody as X,createTheme as G,ThemeProvider as Z}from"@mui/material";import*as J from"react";import Q,{useMemo as ee,forwardRef as te,useState as oe,useEffect as ne,useRef as re,useContext as ae,Children as ie,isValidElement as se,cloneElement as le,useCallback as ce,createElement as ue,useLayoutEffect as de,Fragment as pe,createContext as fe}from"react";import*as me from"react-dom";import he from"react-dom";const ge=t=>e(n,{color:"greyXDark",...t});ge.displayName="Text";var be=Object.freeze({__proto__:null,DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultFontFamiliesRoboto:"Roboto",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultFontWeightsRoboto400:"Regular",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto700:"Bold",DefaultLetterSpacingNone:"none",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultSizingLg:"24",DefaultSizingMd:"16",DefaultSizingSm:"12",DefaultSizingXl:"32",DefaultSizingXs:"8",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultSpacingLg:"24",DefaultSpacingMd:"16",DefaultSpacingXl:"32",DefaultSpacingXs:"8",DefaultSpacingXxl:"40",DefaultSpacingXxs:"4",DefaultSpacingXxxl:"72",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius16:"16",EpBorderRadius24:"24",EpBorderRadius4:"4",EpBorderRadius8:"8",EpColorsBlack:"#161616",EpColorsBlueInfo:"#1d91c3",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreenLight:"#f2f8f8",EpColorsGreenPastel:"#e4f1f1",EpColorsGreenSucces:"#23956d",EpColorsGrey:"#acc1cc",EpColorsGreyDark:"#676767",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsGreyMediumInactive:"#808080",EpColorsGreyPastel:"#eaf2f6",EpColorsOrangeWarning:"#e46221",EpColorsRed:"#e11c31",EpColorsRedError:"#b80025",EpColorsRedHover:"#b61425",EpColorsRedLight:"#fff7f5",EpColorsRedPastel:"#feefeb",EpColorsWhite:"#ffffff",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpFontWeightsManrope500:"Medium",EpFontWeightsManrope700:"Bold",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpLetterSpacingNone:"none",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpSizingLg:"24",EpSizingMd:"16",EpSizingSm:"12",EpSizingXl:"32",EpSizingXs:"8",EpSizingXxl:"40",EpSizingXxxl:"72",EpSpacingLg:"24",EpSpacingMd:"16",EpSpacingXl:"32",EpSpacingXs:"8",EpSpacingXxl:"40",EpSpacingXxs:"4",EpSpacingXxxl:"72",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"});const ye=e=>{const t={};Object.keys(be).forEach((o=>{if(o.startsWith(e)&&o.indexOf("Colors")){let e=o.substring(o.lastIndexOf("Colors")+6);e=e.charAt(0).toLowerCase()+e.slice(1),t[e]=be[o]}}));const o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning},infos:{main:t.blueInfo}};return{...t,...o}},ve=e=>{const t=be,o=[];return Object.keys(be).forEach((n=>{n.startsWith(e+"FontFamilies")&&o.push(t[n])})),o},xe=e=>({"&.MuiFormControl-root":{zIndex:1,".MuiInputBase-root":{backgroundColor:e.palette.white,height:"44px",padding:"0 !important"},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiOutlinedInput-root":{height:"22px"},".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable+" !important"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},"&.Mui-success":{color:e.palette.greenSuccess,"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess}},"&.Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:`${e.palette.greyMediumInactive} !important`},input:{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},label:{background:"transparent",backgroundColor:"transparent !important",color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},color:e.palette.greyDark},".MuiInputLabel-root":{"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:`${e.palette.greenSuccess} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:`${e.palette.blueClickable}`,"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiFormHelperText-root":{color:e.palette.greyDark,marginTop:"8px",marginLeft:"8px","&.Mui-error":{color:e.palette.redError}},".MuiAutocomplete-clearIndicator":{backgroundColor:"transparent"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".clear":{alignSelf:"center",position:"relative"},"&.MuiAutocomplete-listbox":{".clear":{visibility:"visible"}},"&.MuiMenuItem-root":{border:"1px solid green"},"& .Mui-focused":{borderColor:e.palette.blueClickable},"& .Mui-hover":{borderColor:e.palette.greyDark},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},"&.Mui-filled":{".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}}},".Mui-error":{color:e.palette.redError,"& span":{color:`${e.palette.greyDark} !important`},"& fieldset":{borderColor:e.palette.redError}},".labelClassic":{minHeight:"20px",".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".labelCustom":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:"400",marginTop:"-3px","&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"0px",marginLeft:"0px",color:e.palette.greyXDark},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"&.Mui-focused":{marginTop:"0px",marginLeft:"0px",color:e.palette.blueClickable}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:`${e.palette.greyDark}`,"&.Mui-focused":{marginTop:"0px",color:`${e.palette.blueClickable}`},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},".MuiFormLabel-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"0px",marginLeft:"0px",color:e.palette.greyXDark,transform:"translate(14px, -7px) scale(0.75) !important"}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark}`}},"&.DsAutoComplete":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 1px)"},"&.Mui-disabled .MuiAutocomplete-endAdornment":{top:"calc(50% - 1px) !important"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50%)"}},".MuiInputBase-root":{minHeight:"44px",height:"auto"},"&.MuiMenuItem-root":{border:"1px solid green"},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",WebkitTextFillColor:e.palette.greyDark+" !important"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark} !important`,padding:"0px 7px 0px 7px !important"}," .MuiOutlinedInput-root":{padding:"7px 31px 7px 4px !important"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark,".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"}}},".MenuItem ":{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word"},'.MenuItem[aria-selected="true"]':{backgroundColor:e.palette.greyXLight,fontWeight:500},".MenuItem:hover":{backgroundColor:e.palette.blueHoverEquivalence}}),we=e=>({"&.MuiFormControl-root":{zIndex:1,"&:hover":{".clear":{visibility:"visible"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important",WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-root":{height:"44px",padding:"0 !important",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiInputLabel-root":{marginTop:"2px"},"& label":{color:e.palette.greyDark},"&.Mui-filled":{"& label":{color:e.palette.greyXDark}},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 12px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important"}},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",borderColor:e.palette.greyLightDefaultBorder,fontSize:"16px"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable},"&.Mui-error":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"}},".clear":{visibility:"hidden",alignSelf:"center",position:"relative",marginTop:"2px",marginRight:"-8px"},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&.Select-mui":{"&.Mui-filled":{".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 22px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"2px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"8px 31px 10px 14px","&.Mui-disabled":{color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"9px"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",color:e.palette.greyDark,marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 11px 14px","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"20px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px"}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",fontSize:"16px",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"},".SelectIcon.Mui-disabled":{color:e.palette.greyMediumInactive+" !important"}},".MuiFormLabel-filled":{lineHeight:"16px !important",color:e.palette.greyDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important",transform:"translate(14px, -7px) scale(0.75)"}}),Se=t=>{const o=r(),n=ee((()=>a(i)((e=>({"&.MuiLink-root":{color:e.palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}}))(o))),[o]);return e(n,{...t})};Se.displayName="Link";const Ce=({variant:t,children:o,...n})=>{const i=r(),l=ee((()=>a(s)((e=>({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiButton-primary":{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},"&.MuiButton-secondary":{color:e.palette.blueClickable,backgroundColor:e.palette.white+" !important",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable},"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultBorder+" !important",color:e.palette.greyMediumInactive+" !important",".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"},borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}},"&:hover":{backgroundColor:"transparent !important"}}))(i))),[i]);return e(l,{variant:t,...n,children:o})};Ce.displayName="Button";var Me={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Oe={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},ke=Oe,Te={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},De={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Ee={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Pe=Ee,Re={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ie={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ne=Ie,$e={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Le={prefix:"fas",iconName:"circle-x",icon:[512,512,[],"e12e","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z"]},Ae={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]},Fe={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Ve={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},je={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},ze={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},Be=ze;const We={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},_e=te((({icon:t,fontSize:o},n)=>{const{icon:[r,a,,,i]}=t;return e(l,{ref:n,viewBox:`0 0 ${r} ${a}`,sx:{fontSize:o??"14px"},children:"string"==typeof i?e("path",{d:i}):i.map(((t,o)=>e("path",{style:{opacity:0===o?.4:1},d:t},o)))})})),He=({variant:t="none",icon:o,color:n="#136cac",size:a=16,sx:i,...s})=>{const l=r(),u=ee((()=>l.palette[n]?l.palette[n]:n&&0!==n.length?n:"#136cac"),[l.palette,n]),d=ee((()=>"square"===t?16:a in We?We[a]:a>=0?a:16),[t,a]);return e(c,{component:"span",sx:"square"===t?{...i,color:u,backgroundColor:`${u}14`,borderRadius:"4px",borderColor:"1px solid "+u,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{...i,color:u,width:d,height:a,display:"inline-flex",alignItems:"center",justifyContent:"center"},...s,children:e(_e,{icon:o,fontSize:d})})};He.displayName="IconProvider";const qe=({name:o,value:n,error:i,onBlur:s,onChange:l,label:c,disabled:d,width:p="100%",endAdornment:f,placeholder:m="",maxLength:h,...g})=>{const b=r(),y=ee((()=>a(u)((e=>({".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiTextField-root":{".MuiInputBase-root":{backgroundColor:e.palette.white},".MuiInputLabel-root":{"&.Mui-error":{color:e.palette.redError+" !important"},fontWeight:500,transform:"translate(8px, 16px) scale(1)"},"&.Mui-success":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess+" !important"},".MuiFormLabel-root":{color:e.palette.greenSuccess+" !important"}},".Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",fontSize:"16px"},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess},"&.TextField-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{color:e.palette.blueClickable}}},"&.TextField-mui":{".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",color:`${e.palette.greyDark}`,fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:e.palette.blueClickable,marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.MuiFormLabel-colorSuccess":{"&.Mui-focused":{color:e.palette.greenSuccess+" !important"}}}},"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},".DsTextField-passwordIcon":{cursor:"pointer"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},".MuiSvgIcon-root":{marginLeft:"-22px"}}}}))(b))),[b]),[v,x]=oe(!1),[w,S]=oe(g.type??"text"),C=ee((()=>e(He,{className:"DsTextField-passwordIcon",icon:v?De:Re,color:"blueClickable",onClick:()=>x(!v)})),[v]);ne((()=>{S(v?"text":g.type??"text")}),[v]);const M=ee((()=>[m?"TextField-ds":"TextField-mui","success"===g.color&&"Mui-success",n&&"Mui-filled",g.className].filter(Boolean).join(" ")),[n]),O=ee((()=>Boolean(i&&i?.length>0||h&&String(n).length>h)),[i,h,n]);return e(y,{variant:"outlined",name:o,label:c,value:n,sx:{width:p},placeholder:m,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:!!m||void 0},onClick:e=>e.stopPropagation(),onChange:e=>{l?.(e)},onBlur:e=>{s?.(e)},error:O,disabled:d,InputProps:"password"===g.type?{endAdornment:C}:{endAdornment:f},...g,className:M,type:w,helperText:t("div",{style:{display:"table",width:"100%",marginRight:"4px"},children:[(i||g.helperText)&&e("div",{style:{display:h?"table-cell":"",float:"left"},children:i||g.helperText}),h&&t("div",{style:{display:"table-cell",float:"right"},children:[String(n).length,"/",h," caract."]})]})})};qe.displayName="TextField";const Ue={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ye=({value:o,label:n="",options:i,color:s,error:l,placeholder:u="",helperText:g,width:b="100%",disabled:y,onChange:v,getRenderValue:x,...w})=>{const S=r(),C=ee((()=>a(d)(we(S))),[S]),M=ee((()=>["DSSingleSelect",u?"Select-ds":"Select-mui",o&&"Mui-filled",l&&"Mui-error"].filter(Boolean).join(" ")),[o]);return e(c,{sx:{width:b},children:t(C,{fullWidth:!0,color:s,className:M,disabled:y,sx:{".MuiOutlinedInput-input":{marginTop:o?"0px":"2px"}},children:[e(p,{error:!!l,disabled:y,children:n}),e(f,{sx:{color:s+"! important","& .MuiSelect-select .notranslate::after":u?{content:`"${u}"`,opacity:u?"1 !important":"0 !important"}:{}},label:n,value:o,notched:!!u||void 0,onChange:e=>v?.(e.target.value),IconComponent:({className:t})=>e(He,{className:y?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===s?je:Fe,size:"success"===s?"md":"sm",sx:{marginTop:"success"===s?"2px":"0px",transform:t.toString().includes("iconOpen")&&"success"!==s?"rotate(180deg)":"none"}}),MenuProps:Ue,renderValue:e=>x(e),...w,children:i?.map(((t,n)=>e(m,{sx:{fontSize:14,fontWeight:o===t?500:400,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:o===t?"blueHoverEquivalence":"white"},value:t,onMouseEnter:e=>e.target.style.backgroundColor=S.palette.blueHoverEquivalence,onMouseLeave:e=>{o!==t&&(e.target.style.backgroundColor=S.palette.white)},children:x?x(t):t.label},n)))}),(l||g)&&e(h,{component:"span",className:l?"Mui-error":"",children:l||g})]})})};Ye.displayName="Select";const Ke=({variant:t,label:n,prefixIcon:i,suffixIcon:s,suffixTooltip:l,suffixAction:u,tooltip:d,maxWidth:p="100%",...f})=>{const m=r(),h=ee((()=>a(g)((e=>({"&.MuiChip-root":{color:e.palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"},color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder+" !important",opacity:1},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}},"&.MuiChip-filled":{border:"none",fontWeight:400,color:e.palette.greyXDark},"&.MuiChip-outlined":{border:"1px solid",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-status":{border:"1px solid !important",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-statusFilled":{border:"none !important",color:e.palette.greyXDark+" !important",fontWeight:e.typography.fontWeightRegular+" !important"},"&.MuiChip-sizeSmall":{height:"24px",paddingY:"3px"},"&.MuiChip-sizeMedium":{height:"33px",paddingY:"8px"},"&.MuiChip-colorDefault":{backgroundColor:e.palette.greyXLight,border:"none",fontWeight:e.typography.fontWeightRegular+" !important",color:e.palette.greyXDark},"&.MuiChip-colorSecondary":{borderColor:e.palette.greyLightDefaultBorder+" !important",fontWeight:e.typography.fontWeightRegular+" !important",backgroundColor:e.palette.white},"&.MuiChip-colorPrimary":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important",fontWeight:e.typography.fontWeightBold,"& .MuiChip-deleteIcon":{color:e.palette.white+" !important"}},"&.MuiChip-colorSuccess":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorWarning":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorInfo":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorError":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}}))(m))),[m]),[y,v]=oe(!1),[x,w]=oe(!1),S=re(null);let C=f.color&&m.palette[f.color]?"object"==typeof m.palette[f.color]?m.palette[f.color].main:m.palette[f.color]:f.color??"white";return"filled"===t||"statusFilled"===t?C=`${C}14`:"status"===t&&(C="white"),e(b,{title:d,placement:"right-start",open:y,children:e(c,{maxWidth:"fit-content",onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:e(b,{title:l,open:x,placement:"bottom-end",sx:{cursor:u?"pointer !important":"default"},children:e(h,{label:n,ref:S,className:`MuiChip-${t}`,size:"small",sx:{maxWidth:p,backgroundColor:C,"&.MuiChip-colorSecondary":s&&u&&{"&:hover":{borderColor:"#004f88 !important",".MuiChip-deleteIcon":{color:"#004f88 !important"}}},"&.MuiChip-colorPrimary":s&&u&&{"&:hover":{backgroundColor:"#004f88 !important"}},"&.MuiChip-colorDefault":s&&u&&{"&:hover":{".MuiChip-deleteIcon":{color:"#004f88 !important"}}}},avatar:i?e(He,{icon:i,size:"sm"}):e(o,{}),deleteIcon:s?e(He,{icon:s,onMouseEnter:()=>{l&&(w(!0),v(!1))},onMouseLeave:()=>{l&&(w(!1),v(!0))},sx:{cursor:u?"pointer !important":"default"},size:"sm"}):e(o,{}),onDelete:u??(()=>null),...f})})})})};Ke.displayName="Chip";const Xe={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ge=({value:o,label:n,options:i,color:s,error:l,placeholder:u="",helperText:g,width:b="100%",getRenderValue:y,getKeyValue:v,onChange:x,disabled:w,...S})=>{const C=r(),M=ee((()=>a(d)(we(C))),[C]),O=()=>x?.([]),k=e=>{e.stopPropagation()},T=ee((()=>["DsMultiSelect",u?"Select-ds":"Select-mui",o.length>0&&"Mui-filled",l&&"Mui-error"].filter(Boolean).join(" ")),[o]),D=re(null);return e(c,{sx:{width:b},ref:D,children:t(M,{fullWidth:!0,color:s,className:T,disabled:w,sx:{".MuiOutlinedInput-input":{marginTop:o?.length>0?"0px":"2px"}},children:[e(p,{disabled:w,error:!!l,children:n}),e(f,{sx:{color:s+"! important","& .MuiSelect-select .notranslate::after":u?{content:`"${u}"`,opacity:n===u?"0 !important":"1 !important"}:{}},multiple:!0,label:n,notched:!!u||void 0,value:o,onChange:e=>x?.(e.target.value),renderValue:n=>t(c,{sx:{display:"flex"},children:[e(c,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:n.map((t=>e(Ke,{variant:w?"outlined":"filled",color:"default",label:y(t),onMouseDown:k,disabled:w,suffixIcon:Le,suffixAction:()=>{return!w&&(e=t,x?.(o?.filter((t=>t!==e))));var e},sx:{m:0,maxWidth:D?.current?parseFloat(String(D.current?.offsetWidth).replace("px",""))-60:b}},v(t))))}),e(c,{flexGrow:1}),!w&&e(c,{className:"clear",onClick:O,onMouseDown:k,children:e(He,{icon:Ve})})]}),IconComponent:({className:t})=>e(He,{className:w?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===s?je:Fe,size:"success"===s?"md":"sm",sx:{transform:t.toString().includes("iconOpen")&&"success"!==s?"rotate(180deg)":"none"}}),MenuProps:Xe,...S,children:i?.map((t=>e(m,{value:t,sx:{fontSize:14,fontWeight:-1===o.indexOf(t)?400:500,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:-1===o.indexOf(t)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}},children:y(t)},v(t))))}),(l||g)&&e(h,{component:"span",className:l?"Mui-error":"",children:l||g})]})})};Ge.displayName="MultiSelect";const Ze=({title:t,placement:n="right",children:r,...i})=>{if(!t)return e(o,{children:r});const s=a((({classes:t,...o})=>e(b,{...o,classes:t})))((()=>({[`& .${y.tooltip}`]:{backgroundColor:"#272727",padding:"4px !important",fontFamily:"Roboto, sans-serif",fontSize:"13px",color:"white",fontWeight:400},[`& .${y.tooltipPlacementTop}`]:{marginBottom:"4px !important"},[`& .${y.tooltipPlacementRight}`]:{marginLeft:"4px !important"},[`& .${y.tooltipPlacementBottom}`]:{marginTop:"4px !important"},[`& .${y.tooltipPlacementLeft}`]:{marginRight:"4px !important"}})));return e(s,{placement:n||void 0,title:e(o,{children:t}),...i,children:e(c,{component:"span",children:r})})};Ze.displayName="Tooltip";const Je=({name:o,value:i,error:s,helperText:l,label:u,infoBubbleContent:p,infoBubblePosition:f="right",onChange:m,disabled:g,...b})=>{const y=r(),w=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{"::before":{zIndex:1,content:'" "',display:"block",position:"absolute",borderRadius:"2px",width:"14px",height:"14px",backgroundColor:"white"},width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px",".MuiSvgIcon-root":{zIndex:1,width:"18.67px",height:"18.67px",path:{width:"14px",height:"14px"}},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.blueClickable}},"&.Mui-disabled":{"::before":{backgroundColor:e.palette.greyXLight},".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"transparent !important",outlineOffset:"-2px"}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyMediumInactive,fontWeight:700}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"6px",zIndex:0,left:"6px",borderRadius:"0px"}}},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",fontWeight:"400",fontSize:"11px",color:e.palette.greyDark}}))(y))),[y]),S=ee((()=>{const e=["DsCheckbox"];return g&&e.push("Mui-disabled"),e.join(" ")}),[g]),C=ee((()=>{const e=["DsCheckbox-label"];return g&&e.push("Mui-disabled"),e.join(" ")}),[g]);return t(w,{className:S,children:[e(v,{disabled:g,control:e(c,{children:e(x,{inputProps:{name:o},disabled:g,sx:{marginTop:"-2px"},checked:i,color:"primary",onChange:e=>{m?.(o,e.target.checked,!0)},...b})}),label:t(c,{display:"flex",children:[e(n,{component:"span",className:C,children:u}),p&&e(c,{py:0,pl:.5,display:"flex",children:e(Ze,{title:p,placement:f,children:e(c,{height:12,width:12,children:e(He,{icon:Ne,size:"sm",color:"#1d91c3"})})})})]})}),(s||l)&&e(h,{component:"span",className:s?"Mui-error":"",children:s||l})]})};Je.displayName="Checkbox";const Qe=({options:o,label:n,disabled:i,error:s,helperText:l})=>{const c=r(),u=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{".MuiFormLabel-root":{color:e.palette.greyXDark,marginLeft:"-6px",fontWeight:"500",fontSize:"13px",lineHeight:"16px",paddingBottom:"4px"},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",color:e.palette.greyDark,fontWeight:"400",fontSize:"11px",paddingTop:"4px"}},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark+" !important"}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError+" !important"},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiBox-root .MuiBox-root svg":{position:"relative",bottom:"-2px"}}))(c))),[c]),[p,f]=oe({}),m=ee((()=>{const e=[];return i&&e.push("Mui-disabled"),s&&e.push("Mui-error"),e.join(" ")}),[i]);return t(u,{error:!!s,className:m,children:[e(w,{component:"legend",children:n}),e(S,{children:o?.slice(0,7).map((t=>e(Je,{name:t.name,value:p[t.name]||!1,onChange:(e,t)=>((e,t)=>{f({...p,[e]:t})})(e,t),disabled:i,label:t.label,infoBubbleContent:t.infoBubbleContent,infoBubblePosition:t.infoBubblePosition},t.name)))}),(s||l)&&e(h,{component:"span",className:s?"Mui-error":"",children:s||l})]})};Qe.displayName="CheckboxGroup";const et=({options:o,value:n,label:i,onChange:s,helperText:l,disabled:u=!1,error:p="",...f})=>{const m=r(),g=ee((()=>a(d)((e=>({"&.MuiFormControl-root":{".MuiSvgIcon-root":{marginTop:"-2px"},".MuiRadio-root":{".MuiSvgIcon-root":{flexShrink:0,zIndex:1,height:"16px",width:"16px",marginTop:"-2px"},height:"16px",width:"16px",marginRight:"8px","&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".MuiFormControlLabel-root":{margin:"0px 0px 4px 0px",color:e.palette.greyXDark,alignItems:"self-start"},".MuiFormControlLabel-label":{fontWeight:"400",fontSize:"14px",position:"relative"},".MuiButtonBase-root":{color:e.palette.greyLightDefaultBorder,"&.Mui-checked":{color:e.palette.blueClickable}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",color:e.palette.greyDark,fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyMediumInactive,fontWeight:"700"},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,color:e.palette.greyMediumInactive,transform:"scale(0.889)","& span":{transform:"scale(1.3)"},"&.Mui-checked":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:0,left:"3px"}}}))(m))),[m]),b=ee((()=>[u&&"Mui-disabled",p&&"Mui-error"].filter(Boolean).join(" ")),[u,p]);return t(g,{disabled:u,error:!!p,className:b,children:[e(w,{children:i}),e(C,{value:n,onChange:e=>{s(e.target.value)},...f,children:o?.slice(0,7).map((({value:o,label:n,infoBubbleContent:r,infoBubblePosition:a},i)=>e(v,{control:e(M,{size:"small"}),value:o,label:t(c,{display:"flex",children:[n,r&&e(c,{py:0,pl:.5,width:16,height:21,display:"flex",alignItems:"center",children:e(Ze,{title:r,placement:a,children:e(He,{icon:Ne,size:"sm",color:"#1d91c3"})})})]})},i)))}),(p||l)&&e(h,{component:"span",className:p?"Mui-error":"",children:p||l})||e(c,{height:18})]})};et.displayName="RadioGroup";var tt={prefix:"far",iconName:"arrow-up-long",icon:[384,512,["long-arrow-up"],"f176","M209 7c-9.4-9.4-24.6-9.4-33.9 0L39 143c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l95-95V488c0 13.3 10.7 24 24 24s24-10.7 24-24V81.9l95 95c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L209 7z"]},ot={prefix:"far",iconName:"angle-right",icon:[320,512,[8250],"f105","M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]},nt={prefix:"far",iconName:"arrow-down-long",icon:[384,512,["long-arrow-down"],"f175","M175 505c9.4 9.4 24.6 9.4 33.9 0L345 369c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95L216 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 406.1L73 335c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 505z"]},rt={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},at={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48h93.7c2.7 0 5.2 1.3 6.7 3.6l19 28.4h-145l19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0H177.1c-18.7 0-36.2 9.4-46.6 24.9L93.8 80H80.1 32 24C10.7 80 0 90.7 0 104s10.7 24 24 24H35.6L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3H324.6c33.5 0 61.3-25.9 63.8-59.3L412.4 128H424c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8H367.9 354.2zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8H123.4c-8.4 0-15.3-6.5-16-14.8L83.7 128H364.3z"]},it={prefix:"far",iconName:"upload",icon:[512,512,[],"f093","M280 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V81.9l-95 95c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 7c9.4-9.4 24.6-9.4 33.9 0L409 143c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-95-95V360zm32-8V304H448c35.3 0 64 28.7 64 64v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V368c0-35.3 28.7-64 64-64H200v48H64c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H312zm72 56a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},st={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},lt={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},ct={prefix:"far",iconName:"angle-left",icon:[320,512,[8249],"f104","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z"]},ut={prefix:"far",iconName:"calendar-day",icon:[448,512,[],"f783","M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"]};const dt=({title:o,summaryHeight:n,expanded:i=!1,onClick:s,children:l,...c})=>{const u=r(),d=ee((()=>a(O)((e=>({"&.MuiAccordion-root":{border:"1px solid",borderColor:e.palette.greyLightDefaultBorder,boxShadow:"none",".MuiAccordionSummary-root":{minHeight:"auto !important",padding:"8px 16px",color:e.palette.greyXDark,fontWeight:e.typography.fontWeightMedium,fontSize:"18px",lineHeight:"21px"},".MuiAccordionDetails-root":{padding:"16px",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},".MuiAccordionSummary-expandIconWrapper .MuiBox-root":{width:"auto",padding:"13px"}}}))(u))),[u]),[p,f]=oe(i);return ne((()=>{i!==p&&f(i)}),[i]),t(d,{expanded:p,onClick:e=>{c.disabled||(f(!p),s&&s(e))},...c,children:[e(k,{expandIcon:e(He,{icon:st,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:n||60},children:o}),e(T,{sx:{backgroundColor:u.palette.greyXLight,borderTop:"1px solid",borderColor:u.palette.greyLightDefaultBorder},children:l})]})};dt.displayName="Accordion";const pt=({PageName:o,links:n,...i})=>{const s=r(),l=ee((()=>a(D)((e=>({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:e.palette.greyDark}}))(s))),[s]);return t(l,{"aria-label":"breadcrumb",...i,children:[n.map(((t,o)=>e("div",{children:e(Se,{href:t.link,variant:"link1",children:t.title},o)},o))),e(ge,{variant:"body1",children:o})]})};pt.displayName="Breadcrumbs";const ft=({totalString:o,totalPerPageString:n,limitsPerPage:i=[5,10,20],setLimit:s,setPage:l,page:u=1,totalRows:d,limit:p})=>{const f=r(),m=ee((()=>a(E)((e=>({".MuiPaginationItem-root":{height:"44px !important",width:"44px !important",color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyLightDefaultBorder+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.blueHoverClickable+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important",opacity:"1 !important"},"&.MuiPaginationItem-ellipsis":{color:e.palette.greyDark+" !important",display:"flex",alignItems:"center",justifyContent:"center"}}}))(f))),[f]),[h,g]=oe(u),[b,y]=oe(p??i[0]),v=((e,t)=>Math.ceil(e/t))(d,b),x=e=>{g(e),l?.(e)};return ne((()=>{u!==h&&g(u)}),[u]),ne((()=>{p&&p!==b&&y(p)}),[p]),t(c,{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",sx:{paddingTop:"16px",paddingBottom:"24px"},children:[t(c,{display:"flex",alignItems:"center",children:[t(ge,{variant:"body1Medium",children:[d," ",o]}),e(P,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}}),e(Ye,{label:"",className:"dac-select-label",labelId:"select-label",value:b,onChange:e=>{x(1),(e=>{y(e),s?.(e)})(e)},options:i,getRenderValue:e=>e.toString(),width:75,sx:{backgroundColor:"white","&.MuiInputBase-root":{height:"32px !important"}}}),e(ge,{variant:"body1",pl:"8px",children:n}),e(P,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}})]}),e(c,{display:"flex",pr:"4px",children:e(m,{variant:"outlined",shape:"rounded",count:v,page:h,onChange:(e,t)=>x(t)})})]})};ft.displayName="Pagination";const mt=({title:o,text:n,variant:r="infos",actionButton:a,...i})=>{const s={warning:{color:"orangeWarning",icon:Oe},error:{color:"redError",icon:ze},success:{color:"greenSuccess",icon:Ee},infos:{color:"blueInfo",icon:Ie}};return t(c,{border:"1px solid",borderColor:s[r].color,p:"8px 16px",borderRadius:"4px",display:"flex",alignItems:n?"flex-start":"center",justifyContent:n?"flex-start":"center",...i,children:[e(He,{icon:s[r].icon,color:s[r].color,mr:"16px",mt:n?"1px":0}),t(c,{display:"flex",flexDirection:"column",paddingRight:4,children:[e(ge,{align:"left",variant:"body1Bold",color:s[r].color,display:"inline-block",children:o}),n&&e(ge,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block",paddingTop:"4px",children:n})]}),e(c,{flexGrow:2}),a&&e(c,{alignSelf:"center",whiteSpace:"nowrap",children:a})]})};mt.displayName="EmbeddedNotification";const ht=({value:n,label:i,placeholder:s="",options:l,disabled:p,getOptionLabel:f,onChange:g,width:b="100%",color:y,helperText:v,error:x,...w})=>{const S=r(),C=ee((()=>a(d)(xe(S))),[S]),M=ee((()=>["DsAutoComplete",n&&"Mui-filled","success"===y&&"Mui-success",p&&"Mui-disabled"].filter(Boolean).join(" ")),[n]),O=ee((()=>[s?"labelClassic Mui-Input-filled":"labelCustom","success"===y&&"Mui-success",n&&"Mui-Input-filled"].filter(Boolean).join(" ")),[y,s]);return e(c,{sx:{width:b},children:t(C,{fullWidth:!0,color:y,className:M,children:[e(R,{...w,value:n,onChange:(e,t)=>g?.(t),"aria-placeholder":s,disabled:p,options:l,sx:{".MuiOutlinedInput-input":{marginTop:n?"0px":"2px"}},getOptionLabel:f,slotProps:{paper:{sx:{boxShadow:"0px 2px 10px 0px"}}},renderOption:(t,o)=>e(m,{...t,className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:S.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:S.palette.blueHoverEquivalence}},children:f(o)}),clearIcon:e(o,{children:!p&&n&&e(c,{className:"clear",onClick:()=>g?.(null),onMouseDown:e=>{e.stopPropagation()},children:e(He,{icon:Ve})})}),popupIcon:e(He,{className:p?"icon-disabled SelectIcon":"SelectIcon",icon:"success"===y?je:Fe,size:"success"===y?"md":"sm"}),renderInput:t=>e(u,{...t,label:i,error:!!x,fullWidth:!0,variant:"outlined",inputProps:{...t.inputProps},InputLabelProps:{shrink:!!s||void 0,className:O,disabled:!1},placeholder:s})}),(x||v)&&e(h,{component:"span",className:x?"Mui-error":"",children:x||v})]})})};function gt(e,t){if(null==e)return{};var o,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},bt.apply(this,arguments)}function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}ht.displayName="AutocompleteSingle","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var xt,wt,St,Ct,Mt,Ot,kt,Tt,Dt,Et,Pt,Rt,It,Nt,$t,Lt={exports:{}},At={exports:{}},Ft={},Vt={};
2
2
  /** @license React v16.13.1
3
3
  * react-is.development.js
4
4
  *