@tap-payments/os-micro-frontend-shared 0.3.165 → 0.3.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_chunks/{chunk-G4HBEVB3.js → chunk-23MKWEAQ.js} +1 -1
- package/build/_chunks/{chunk-VXF3NQFE.js → chunk-2LRXPCXS.js} +1 -1
- package/build/_chunks/{chunk-T25W6NKR.js → chunk-BGURI3W5.js} +1 -1
- package/build/_chunks/{chunk-PFS3RUBZ.js → chunk-C46EMUNB.js} +1 -1
- package/build/_chunks/chunk-D2RM2VO2.js +1 -0
- package/build/_chunks/{chunk-OFD3W4XI.js → chunk-E2LVWSWC.js} +1 -1
- package/build/_chunks/{chunk-GFIXT2V6.js → chunk-EO4OLGYJ.js} +1 -1
- package/build/_chunks/{chunk-K36O7J2F.js → chunk-EOFIPFXB.js} +1 -1
- package/build/_chunks/{chunk-OBSPPIDV.js → chunk-FLITA5BR.js} +1 -1
- package/build/_chunks/{chunk-FEJSSBRC.js → chunk-FXV3O2M3.js} +1 -1
- package/build/_chunks/{chunk-RJFI62TJ.js → chunk-GDFEVOVS.js} +1 -1
- package/build/_chunks/{chunk-WSYB3EBL.js → chunk-GFOAK7XF.js} +1 -1
- package/build/_chunks/{chunk-CAGX4VZ3.js → chunk-HZMWWHHY.js} +1 -1
- package/build/_chunks/{chunk-6PJPVYTL.js → chunk-KIKWZBMJ.js} +1 -1
- package/build/_chunks/chunk-KZ6MYQ5Z.js +1 -0
- package/build/_chunks/{chunk-6S4TOQAE.js → chunk-LVJYZHKJ.js} +1 -1
- package/build/_chunks/{chunk-3KKRQAWW.js → chunk-MD2PJ42U.js} +1 -1
- package/build/_chunks/{chunk-L32OOZ67.js → chunk-MOOH3WQ6.js} +1 -1
- package/build/_chunks/{chunk-AJY4PW72.js → chunk-PFJKJASK.js} +1 -1
- package/build/_chunks/{chunk-YVGD6YMS.js → chunk-Q5HPX52L.js} +1 -1
- package/build/_chunks/{chunk-EEU65NSL.js → chunk-QNI3MOB4.js} +1 -1
- package/build/_chunks/{chunk-QH6TAHTA.js → chunk-RDCA43PM.js} +1 -1
- package/build/_chunks/chunk-TZ7IKMU6.js +2 -0
- package/build/_chunks/{chunk-7SY4AIJK.js → chunk-U5Q77KAU.js} +1 -1
- package/build/_chunks/{chunk-HK65MIL7.js → chunk-VB4YIOWN.js} +1 -1
- package/build/_chunks/{chunk-CLVIPK6L.js → chunk-VOOUDCUG.js} +1 -1
- package/build/_chunks/{chunk-K3LOSS5L.js → chunk-WQRJI42R.js} +1 -1
- package/build/_chunks/{chunk-DRYHO7YQ.js → chunk-X2MZ6CX5.js} +1 -1
- package/build/_chunks/chunk-YTESL64R.js +2 -0
- package/build/_chunks/{chunk-AJOHANFX.js → chunk-Z72ELNOV.js} +1 -1
- package/build/_chunks/{chunk-H6ZFSTJN.js → chunk-ZJF2FT4D.js} +1 -1
- package/build/_chunks/chunk-ZUSZEL4Y.js +1 -0
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CopyImage/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownButton/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -1
- package/build/components/MultiSelectWithSearch/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +3 -3
- package/build/components/index.js +1 -1
- package/build/components/primitives/Avatar/constants.d.ts +9 -1
- package/build/components/primitives/Avatar/index.d.ts +1 -1
- package/build/components/primitives/Avatar/style.d.ts +2 -1
- package/build/components/primitives/Avatar/type.d.ts +5 -4
- package/build/components/primitives/Backdrop/style.d.ts +3 -1
- package/build/components/primitives/Backdrop/type.d.ts +5 -0
- package/build/components/primitives/Badge/constants.d.ts +3 -0
- package/build/components/primitives/Badge/index.d.ts +1 -1
- package/build/components/primitives/Badge/type.d.ts +6 -2
- package/build/components/primitives/Button/constants.d.ts +0 -1
- package/build/components/primitives/Chip/Chip.d.ts +1 -1
- package/build/components/primitives/Chip/constants.d.ts +26 -2
- package/build/components/primitives/Chip/style.d.ts +8 -6
- package/build/components/primitives/Chip/type.d.ts +1 -1
- package/build/components/primitives/Collapse/constants.d.ts +0 -2
- package/build/components/primitives/CopyButton/constants.d.ts +0 -2
- package/build/components/primitives/Dialog/constants.d.ts +1 -0
- package/build/components/primitives/Dialog/style.d.ts +9 -1
- package/build/components/primitives/Dialog/type.d.ts +5 -2
- package/build/components/primitives/Divider/index.d.ts +1 -1
- package/build/components/primitives/Divider/style.d.ts +5 -1
- package/build/components/primitives/Divider/type.d.ts +4 -0
- package/build/components/primitives/FieldFeedback/constants.d.ts +2 -0
- package/build/components/primitives/Input/constants.d.ts +0 -5
- package/build/components/primitives/LazyImage/constants.d.ts +0 -5
- package/build/components/primitives/Menu/constants.d.ts +0 -2
- package/build/components/primitives/RadioButton/constants.d.ts +2 -17
- package/build/components/primitives/RadioButton/icons.d.ts +16 -0
- package/build/components/primitives/RadioButton/index.d.ts +1 -1
- package/build/components/primitives/RadioButton/style.d.ts +1 -27
- package/build/components/primitives/RadioButton/type.d.ts +0 -11
- package/build/components/primitives/ScrollLoader/constants.d.ts +0 -2
- package/build/components/primitives/Skeleton/constants.d.ts +0 -2
- package/build/components/primitives/Slider/constants.d.ts +0 -1
- package/build/components/primitives/Textarea/constants.d.ts +1 -2
- package/build/components/primitives/Textarea/style.d.ts +1 -1
- package/build/components/primitives/Textarea/type.d.ts +3 -3
- package/build/components/primitives/ToggleButtons/constants.d.ts +41 -0
- package/build/components/primitives/ToggleButtons/index.d.ts +2 -2
- package/build/components/primitives/ToggleButtons/style.d.ts +6 -1
- package/build/components/primitives/ToggleButtons/type.d.ts +11 -0
- package/build/components/primitives/Tooltip/Tooltip.d.ts +5 -4
- package/build/components/primitives/Tooltip/constants.d.ts +6 -0
- package/build/components/primitives/Tooltip/style.d.ts +6 -0
- package/build/components/primitives/Tooltip/type.d.ts +8 -3
- package/build/components/primitives/index.d.ts +6 -6
- package/build/components/primitives/index.js +1 -1
- package/build/index.js +1 -1
- package/build/theme/_v2/type.d.ts +1 -0
- package/build/theme/index.js +1 -1
- package/build/utils/colors.d.ts +1 -0
- package/package.json +1 -1
- package/build/_chunks/chunk-2ASTNQR4.js +0 -2
- package/build/_chunks/chunk-4JHD436N.js +0 -1
- package/build/_chunks/chunk-JGEONYF6.js +0 -1
- package/build/_chunks/chunk-U5GGG4B3.js +0 -2
- package/build/_chunks/chunk-YYN3PIEB.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {k as k$1,l}from'./chunk-U5GGG4B3.js';import {yc}from'./chunk-MXISJOX2.js';import {memo,useId,useMemo}from'react';import E from'@mui/material/RadioGroup';import {styled}from'@mui/material/styles';import F from'@mui/material/FormControlLabel';import {FormControl,FormLabel,Stack}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var C=styled(F,{shouldForwardProp:o=>!["size","showHoverEffects","labelSx"].includes(o)})(({size:o="small",showHoverEffects:e=true,labelSx:r})=>({margin:"0",width:"100%",cursor:"pointer",padding:o==="small"?"7.5px 16px 7.5px 8px":o==="medium"?"9px 16px 9px 10px":"11px 16px 11px 12px",maxHeight:o==="small"?"35px":o==="medium"?"40px":"45px",...e&&{"&:hover":{boxShadow:"0px 0px 16px 0px #00000021",borderLeft:"1px solid transparent"}},"& .MuiFormControlLabel-label":{fontSize:o==="small"?"11px":o==="medium"?"13px":"15px",fontWeight:"500",color:"#20232B",width:"100%",cursor:"pointer",...r},[`& .${k$1.root}`]:{cursor:"pointer",color:"#8C9196","&.Mui-checked":{color:"#1F88D0"}}}));var N={small:"sm",medium:"md",large:"lg"};function k({option:o,size:e="small",customLabelRenderer:r,labelPosition:p="end",showHoverEffects:i=true,customRadioProps:s,labelSx:n,icon:l$1,...d}){let m=r?r(o):o.label,u=useMemo(()=>l$1?jsxs(Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[m,jsx("img",{alt:"icon",...l$1})]}):m,[l$1,m]);return jsx(C,{value:o.value,control:jsx(l,{size:N[e??"small"],...s,...o.customProps}),label:u,disabled:o.disabled,size:e,labelPlacement:p,showHoverEffects:i,labelSx:n,...d})}function g({options:o,onOptionChange:e,size:r="small",customLabelRenderer:p,layout:i="vertical",spacing:s=0,labelPosition:n="end",showHoverEffects:l=true,customRadioProps:d,labelSx:m,onChange:u,title:c,sx:S,...P}){let v=t=>{let x=t.target.value;e?.(x),u?.(t,x);},w=yc(useId(),"radio-group");return jsxs(FormControl,{id:w,"data-testid":"RadioGroup",children:[typeof c=="string"?jsx(FormLabel,{children:c}):c,jsx(E,{onChange:v,sx:{display:"flex",flexDirection:i==="horizontal"?"row":"column",gap:s,...S},...P,children:o.map(t=>jsx(k,{icon:t.icon,option:t,size:r,customLabelRenderer:p,labelPosition:n,showHoverEffects:l,customRadioProps:d,labelSx:m},t.value))})]})}g.displayName="RadioGroup";var z=memo(g);export{z as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-AJOHANFX.js';var m=a;export{m as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {kc,yc,Zb,xa as xa$1,jc,ab}from'./chunk-MXISJOX2.js';import {forwardRef,memo,useId,createElement,useState,useCallback,useMemo,Children,useEffect,useRef}from'react';import Ho from'@mui/material/Box';import Da,{circularProgressClasses}from'@mui/material/CircularProgress';import La from'@mui/material/ButtonBase';import {styled,alpha,useTheme}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import $e from'@mui/material/SvgIcon';import ja from'@mui/material/Checkbox';import Ka from'@mui/material/FormControlLabel';import _a from'@mui/material/Switch';import ts from'@mui/material/Typography';import ls from'@mui/material/Radio';import Ss,{tooltipClasses}from'@mui/material/Tooltip';import Bs from'@mui/material/Skeleton';import Ls from'@mui/material/Avatar';import Es from'@mui/material/Divider';import js from'@mui/material/Collapse';import {createPortal}from'react-dom';import nn from'@mui/material/Backdrop';import Mn,{SliderThumb}from'@mui/material/Slider';import En from'@mui/material/FormControl';import Wn from'@mui/material/InputLabel';import Hn from'@mui/material/Input';import Un from'@mui/material/InputBase';import qn from'@mui/material/Accordion';import Jn from'@mui/material/AccordionDetails';import Qn from'@mui/material/AccordionSummary';import si from'@mui/material/Popper';import gi from'@mui/material/DialogActions';import Ci from'@mui/material/DialogTitle';import ci from'@mui/material/Dialog';import fi from'@mui/material/DialogContent';import {LazyLoadImage}from'react-lazy-load-image-component';import Gi from'@mui/material/Stack';var $="os-shared-Button",b={root:`${$}-root`,content:`${$}-content`,startIcon:`${$}-startIcon`,endIcon:`${$}-endIcon`,icon:`${$}-icon`,loading:`${$}-loading`,loadingSpinner:`${$}-loadingSpinner`},io={sm:{height:24,paddingY:8,paddingX:16,fontSize:"10px"},md:{height:32,minWidth:79,paddingY:8,paddingX:24,fontSize:"13px",lineHeight:"16px"},lg:{height:40,paddingY:8,paddingX:32,fontSize:"12px"}},po={sm:{width:24,minWidth:24,height:24,padding:0},md:{width:30,minWidth:30,height:30,padding:0},lg:{width:38,minWidth:38,height:38,padding:0}},lo={sm:12,md:12,lg:14},mo=16;var fo=styled(La,{shouldForwardProp:e=>e!=="$variant"&&e!=="$size"&&e!=="$fullWidth"&&e!=="$isLoading"&&e!=="$hasIcon"&&e!=="$isIconOnly"})(({theme:e,$variant:o="primary",$size:t="md",$fullWidth:r,$isLoading:a,$hasIcon:n,$isIconOnly:p})=>{let s=e.v2.palette,{paddingX:l,paddingY:m,...d}=io[t],f=po[t];return {display:"inline-flex",alignItems:"center",justifyContent:"center",gap:e.v2.spacing(6),borderRadius:e.v2.radius(4),lineHeight:"100%",whiteSpace:"nowrap",position:"relative",cursor:a?"not-allowed":"pointer",transition:"background-color 0.15s ease, opacity 0.15s ease",...d,padding:`${e.v2.spacing(m)} ${e.v2.spacing(l)}`,fontWeight:e.typography.fontWeightMedium,...r&&!p&&{width:"100%"},...n&&!r&&!p&&{width:"auto",minWidth:0},...o==="primary"&&{background:s.brand[500],color:s.base.white,"&.Mui-disabled":{opacity:1,background:s.interactive.primary.disabled,color:s.base.white}},...o==="secondary"&&{backgroundColor:s.base.white,color:s.grey[900],border:`1px solid ${s.grey[100]}`,"&.Mui-disabled":{opacity:1,color:s.foreground.disabled}},...o==="ghost"&&{padding:0,minWidth:0,backgroundColor:"transparent",color:s.foreground.brand,"&.Mui-disabled":{opacity:.5}},...o==="danger"&&{backgroundColor:s.status.danger.default,color:s.base.white,"&.Mui-disabled":{opacity:1,backgroundColor:alpha(s.status.danger.default,.14),color:s.base.white}},...p&&{boxSizing:"border-box",...f}}}),G=styled("span")(({theme:e})=>{let o=e.v2.spacing(mo);return {display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,width:o,height:o}});var uo=forwardRef(({children:e,variant:o="primary",size:t="md",isLoading:r=false,startIcon:a,endIcon:n,icon:p,fullWidth:s=false,disabled:l,className:m,sx:d,...f},y)=>{let c=p!=null;return jsxs(fo,{ref:y,className:kc(b.root,m),$variant:o,$size:t,$fullWidth:s,$isLoading:r,$hasIcon:c||!!a||!!n||r,$isIconOnly:c,disabled:l||r,"data-testid":"Button",sx:d,...f,children:[jsx(Ho,{component:"span",className:b.content,sx:{display:"inline-flex",alignItems:"center",gap:"inherit",visibility:r?"hidden":"visible"},children:c?jsx(G,{className:b.icon,children:p}):jsxs(Fragment,{children:[a&&jsx(G,{className:b.startIcon,children:a}),e,n&&jsx(G,{className:b.endIcon,children:n})]})}),r&&jsx(G,{className:b.loading,sx:{position:"absolute"},children:jsx(Da,{className:b.loadingSpinner,size:lo[t],color:"inherit"})})]})});uo.displayName="Button";var xo=memo(uo);var Wa="os-shared-Icon",oe={root:`${Wa}-root`};var go=styled("img")(({theme:e})=>({width:e.spacing(2),height:e.spacing(2),verticalAlign:"middle",flexShrink:0}));var Co=forwardRef(({className:e,sx:o,...t},r)=>jsx(go,{className:kc(oe.root,e),sx:o,"data-testid":"Icon",...t,ref:r}));Co.displayName="Icon";var ho=memo(Co);var Me="os-shared-Checkbox",L={root:`${Me}-root`,control:`${Me}-control`,label:`${Me}-label`};var bo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs($e,{viewBox:"0 0 12 12",sx:{width:11,height:11},...o,children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74206C9.04243 3.9443 9.05652 4.28711 8.86537 4.50775L5.64586 8.22387C5.55146 8.33284 5.41909 8.39627 5.27942 8.39948C5.13975 8.40269 5.0049 8.3454 4.90612 8.24088L3.15002 6.38282C2.94999 6.17118 2.94999 5.82804 3.15002 5.61641C3.35004 5.40477 3.67435 5.40477 3.87437 5.61641L5.2522 7.07424L8.11024 3.77535C8.30138 3.55472 8.62538 3.53981 8.83391 3.74206Z",fill:e?"#D2D5D8":t.common.white})]})},So=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx($e,{viewBox:"0 0 11 11",sx:{width:11,height:11},...o,children:jsx("rect",{x:"0.6",y:"0.6",width:"9.6",height:"9.6",rx:"1.8",fill:e?"#FAFBFB":t.common.white,stroke:e?"#D2D5D8":t.grey[500],strokeWidth:"1.2"})})},No=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs($e,{viewBox:"0 0 12 12",sx:{width:11,height:11},...o,children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:e?"#D2D5D8":"#FAFBFB"})]})};var wo=styled(ja)(({theme:e})=>({padding:e.spacing(.5),"&:hover":{backgroundColor:"transparent"}})),Bo=styled(Ka)(({theme:e})=>({marginLeft:0,gap:e.spacing(.5),"& .MuiFormControlLabel-label":{fontSize:"11px",color:e.palette.text.primary},"& .MuiFormControlLabel-label.Mui-disabled":{color:e.palette.grey[700]}}));var vo=forwardRef(({label:e,labelPlacement:o="end",disabled:t,sx:r,className:a,...n},p)=>{let s=yc(useId(),"checkbox"),l=jsx(wo,{id:s,ref:p,disableRipple:true,disabled:t,checkedIcon:jsx(bo,{disabled:t}),icon:jsx(So,{disabled:t}),indeterminateIcon:jsx(No,{disabled:t}),"data-testid":"Checkbox",className:kc(e?L.control:L.root,e?void 0:a),sx:e?void 0:r,...n});return e?jsx(Bo,{className:kc(L.root,a),sx:r,control:l,label:e,labelPlacement:o,disabled:t,componentsProps:{typography:{className:L.label}}}):l});vo.displayName="Checkbox";var Po=memo(vo);var Ya="os-shared-Switch",te={root:`${Ya}-root`};var To=styled(_a)(({theme:e})=>({width:32.903,height:20,borderRadius:"13px",padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(13px)",color:e.palette.common.white,"& + .MuiSwitch-track":{backgroundColor:e.palette.mode==="dark"?"#2ECA45":"#34C759",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid",borderColor:e.palette.common.white},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,filter:"drop-shadow(0px 1.9354851245880127px 0.6451616883277893px rgba(0, 0, 0, 0.06)) drop-shadow(0px 1.9354851245880127px 5.1612935066223145px rgba(0, 0, 0, 0.15))"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:e.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}));var Mo=forwardRef(({className:e,sx:o,...t},r)=>jsx(To,{ref:r,className:kc(te.root,e),sx:o,"data-testid":"Switch",focusVisibleClassName:".Mui-focusVisible",disableRipple:true,...t}));Mo.displayName="Switch";var $o=memo(Mo);var os="os-shared-Typography",re={root:`${os}-root`};var Lo=styled(ts)(({theme:e})=>({color:e.palette.text.primary}));var Fo=forwardRef(({variant:e="body1",weight:o,isTruncated:t=false,isUppercase:r=false,className:a,sx:n,...p},s)=>{let l=useTheme(),m={regular:l.typography.fontWeightRegular,medium:l.typography.fontWeightMedium,semibold:l.typography.fontWeightBold,bold:l.typography.fontWeightBolder??700},d=o!==void 0?typeof o=="number"?o:m[o]:void 0,f=Array.isArray(n)?n:[n];return jsx(Lo,{ref:s,className:kc(re.root,a),variant:e,sx:[d!==void 0&&{fontWeight:d},t&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r&&{textTransform:"uppercase"},...f],"data-testid":"Typography",...p})});Fo.displayName="Typography";var zo=memo(Fo);var ps="os-shared-RadioButton",ae={root:`${ps}-root`},Ro={sm:{iconSize:15,maxWidth:"24px",muiSize:"small"},md:{iconSize:18,maxWidth:"28px",muiSize:"medium"},lg:{iconSize:20,maxWidth:"32px",muiSize:"medium"}};var ze=styled("span")({display:"flex",alignItems:"center",justifyContent:"center"}),Re=styled("span",{shouldForwardProp:e=>e!=="$checked"&&e!=="$disabled"})(({theme:e,$checked:o=false,$disabled:t=false})=>({borderRadius:"50%","--icon-size":"11px",width:"var(--icon-size)",height:"var(--icon-size)",display:"block",boxSizing:"border-box",...o?{backgroundColor:t?"#BDC1CC":e.palette.info.dark,...!t&&{boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)"},"&::before":{display:"block",width:"var(--icon-size)",height:"var(--icon-size)",backgroundColor:t?"#BDC1CC":e.palette.info.dark,borderRadius:"50%",backgroundImage:`radial-gradient(${e.palette.common.white},${e.palette.common.white} 28%,transparent 32%)`,content:'""'}}:{border:`1px solid ${t?e.palette.grey[800]:e.palette.grey[700]}`,...t&&{backgroundColor:e.palette.grey[400]}}})),Ao=styled(ls,{shouldForwardProp:e=>e!=="$iconSize"&&e!=="$checkedColor"&&e!=="$disabledColor"&&e!=="$hoverColor"&&e!=="$maxWidth"})(({theme:e,$iconSize:o,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:n})=>({"& .MuiSvgIcon-root":{fontSize:o},maxWidth:n,cursor:"pointer",color:e.palette.grey[500],"&.Mui-checked":{color:t??e.palette.info.dark},...a&&{"&:hover":{backgroundColor:"transparent",color:a}},"&.Mui-disabled":{color:r??"#C7C7CC"}}));function Do(e="sm"){return Ro[e]}var Eo=forwardRef(({size:e="sm",checkedIcon:o,checkedColor:t,disabledColor:r,hoverColor:a,iconSize:n,className:p,sx:s,disableRipple:l=true,icon:m,disabled:d,...f},y)=>{let c=Do(e);return jsx(Ao,{ref:y,className:kc(ae.root,p),"data-testid":"RadioButton",size:c.muiSize,disableRipple:l,disabled:d,icon:m??jsx(ze,{children:jsx(Re,{$checked:false,$disabled:d})}),checkedIcon:o??jsx(ze,{children:jsx(Re,{$checked:true,$disabled:d})}),$iconSize:n??c.iconSize,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:c.maxWidth,sx:s,...f})});Eo.displayName="RadioButton";var Wo=memo(Eo);var se="os-shared-CircularProgress",F={root:`${se}-root`,progress:`${se}-progress`,labelOverlay:`${se}-labelOverlay`,labelText:`${se}-labelText`};var Vo=styled(Da)(({theme:e})=>({color:e.palette.common.blue??"#147DC5",background:alpha(e.palette.info.dark,.05),borderRadius:"50%",[`& .${circularProgressClasses.circle}`]:{strokeLinecap:"round"}})),Oo=styled(Ho)(()=>({position:"relative",display:"inline-flex"})),Zo=styled(Ho)(()=>({top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"})),jo=styled(ts)(({theme:e})=>({fontSize:e.typography.fontSize,fontWeight:e.typography.fontWeightBolder??700,color:"#3B4152"}));var Ko=forwardRef(({variant:e="indeterminate",hasLabel:o=true,value:t,className:r,sx:a,...n},p)=>{let s=e==="determinate"&&o;return jsxs(Oo,{className:kc(F.root,r),sx:a,"data-testid":"CircularProgress",children:[jsx(Vo,{ref:p,variant:e,value:t,className:F.progress,...n}),s&&jsx(Zo,{className:F.labelOverlay,children:jsx(jo,{className:F.labelText,variant:"caption",color:"text.secondary",children:`${Math.round(t??0)}%`})})]})});Ko.displayName="CircularProgress";var Uo=memo(Ko);var hs="os-shared-Tooltip",ie={wrapper:`${hs}-wrapper`};var Yo=styled(({className:e,...o})=>createElement(Ss,{...o,classes:{popper:e}}))(({theme:e})=>({zIndex:999999,[`& .${tooltipClasses.arrow}`]:{"&:before":{border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`},color:e.palette.common.white},[`& .${tooltipClasses.tooltip}`]:{backgroundColor:e.palette.common.white,color:e.palette.text.secondary,boxShadow:e.shadows[1],fontSize:12,border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`,marginBottom:"7px !important"}}));function qo({className:e,title:o,placement:t="top",children:r,wrapperProps:a,sx:n,...p}){return jsx(Yo,{className:e,title:o,placement:t,arrow:true,sx:n,...p,children:jsx(Ho,{display:"flex",alignItems:"center",className:ie.wrapper,...a,children:r})})}qo.displayName="Tooltip";var Jo=memo(qo);var ws="os-shared-Skeleton",pe={root:`${ws}-root`},Qo="rounded",et=16;var ot=styled(Bs)(()=>({}));var tt=forwardRef(({className:e,sx:o,variant:t=Qo,height:r=et,...a},n)=>jsx(ot,{ref:n,className:kc(pe.root,e),sx:o,"data-testid":"Skeleton",variant:t,height:r,...a}));tt.displayName="Skeleton";var rt=memo(tt);var $s="os-shared-Avatar",le={root:`${$s}-root`},at={xs:{dimension:20,fontSize:"9px"},sm:{dimension:28,fontSize:"11px"},md:{dimension:36,fontSize:"14px"},lg:{dimension:48,fontSize:"18px"},xl:{dimension:64,fontSize:"24px"}};var st=styled(Ls,{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:o="md"})=>{let{dimension:t,fontSize:r}=at[o];return {width:t,height:t,fontSize:r,fontWeight:e.typography.fontWeightBold,backgroundColor:e.palette.info.dark,color:e.palette.common.white}});var nt=forwardRef(({className:e,sx:o,size:t="md",shape:r="circular",...a},n)=>jsx(st,{ref:n,className:kc(le.root,e),sx:o,"data-testid":"Avatar",$size:t,variant:r,...a}));nt.displayName="Avatar";var it=memo(nt);var Ds="os-shared-Divider",de={root:`${Ds}-root`};var pt=styled(Es)(()=>({}));var lt=forwardRef(({className:e,sx:o,orientation:t="horizontal",...r},a)=>jsx(pt,{ref:a,className:kc(de.root,e),sx:o,"data-testid":"Divider",orientation:t,...r}));lt.displayName="Divider";var dt=memo(lt);var Zs="os-shared-Collapse",me={root:`${Zs}-root`},mt=true,ct=300;var ft=styled(js)(()=>({}));var yt=forwardRef(({className:e,sx:o,children:t,unmountOnExit:r=mt,timeout:a=ct,...n},p)=>jsx(ft,{ref:p,className:kc(me.root,e),sx:o,"data-testid":"Collapse",unmountOnExit:r,timeout:a,...n,children:t}));yt.displayName="Collapse";var ut=memo(yt);var Ys="os-shared-Badge",ce={root:`${Ys}-root`},xt={primary:"#1976d2",secondary:"#f50057",neutral:"#656565",gray:"#CFCFCF",orange:"#FFD503"},gt=["primary","secondary","neutral","dark"];var Js={default:e=>e.palette.info.main,inactive:e=>e.palette.grey[100],active:e=>alpha(e.palette.text.primary,.1),dark:e=>e.palette.info.dark,red:e=>e.palette.error.light},Qs={default:e=>e.palette.common.white,inactive:e=>e.palette.text.primary,active:e=>e.palette.common.white,dark:e=>e.palette.common.white};function en(e,o){let t=xt[e];return t||(Js[e]?.(o)??o.palette.common.white)}function on(e,o){return gt.includes(e)?o.palette.common.white:Qs[e]?.(o)??o.palette.common.white}var Ct=styled("span",{shouldForwardProp:e=>!["$color","$compact","$round","$pointer"].includes(e)})(({theme:e,$color:o="default",$compact:t,$round:r,$pointer:a})=>({paddingLeft:t?"0.16056rem":r?"0.275rem":"8px",paddingRight:t?"0.16056rem":r?"0.275rem":"8px",borderRadius:t?e.spacing(.5):e.spacing(2),backgroundColor:en(o,e),color:on(o,e),fontSize:"0.6rem",fontWeight:e.typography.fontWeightBold,overflow:"hidden",height:t?"12px":"16px",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:a?"pointer":"auto"}));var ht=forwardRef(({className:e,sx:o,color:t="default",compact:r,round:a,pointer:n,children:p,...s},l)=>jsx(Ct,{ref:l,className:kc(ce.root,e),sx:o,"data-testid":"Badge",$color:t,$compact:r,$round:a,$pointer:n,...s,children:p}));ht.displayName="Badge";var bt=memo(ht);var sn="os-shared-Backdrop",fe={root:`${sn}-root`};var St=styled(nn)(({theme:e})=>({zIndex:1,backgroundColor:alpha(e.palette.common.black,.3)}));var Nt=forwardRef(({className:e,sx:o,open:t=true,onClose:r,onClick:a,...n},p)=>{if(!t)return null;let s=l=>{r?.(),a?.(l);};return createPortal(jsx(St,{open:t,ref:p,className:kc(fe.root,e),sx:o,"data-testid":"Backdrop",onClick:s,...n}),document.body)});Nt.displayName="Backdrop";var kt=memo(Nt);var ye="os-shared-CopyButton",B={root:`${ye}-root`,icon:`${ye}-icon`,copyIcon:`${ye}-copyIcon`,copiedIcon:`${ye}-copiedIcon`},It=2e3,wt=200;var Pt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:12.6,width:13},...e,children:jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"13",viewBox:"2.67 1.67 10.66 12.66",fill:"none",children:jsx("path",{d:"M11.3333 13.6978L11.3332 13.6979C11.1002 14.0479 10.7072 14.2582 10.2863 14.2582H5.83317C4.12559 14.2582 2.7415 12.8741 2.7415 11.1665V4.71338C2.7415 4.29279 2.95172 3.89983 3.30186 3.66641L3.5915 3.47331V11.1665C3.5915 12.4046 4.59508 13.4082 5.83317 13.4082H11.5264L11.3333 13.6978ZM4.40817 3.49984C4.40817 2.53467 5.20133 1.7415 6.1665 1.7415H11.4998C12.465 1.7415 13.2582 2.53467 13.2582 3.49984V10.8332C13.2582 11.7983 12.465 12.5915 11.4998 12.5915H6.1665C5.20133 12.5915 4.40817 11.7983 4.40817 10.8332V3.49984ZM11.4998 2.5915H6.1665C5.65901 2.5915 5.25817 2.99234 5.25817 3.49984V10.8332C5.25817 11.3407 5.65901 11.7415 6.1665 11.7415H11.4998C12.0073 11.7415 12.4082 11.3407 12.4082 10.8332V3.49984C12.4082 2.99234 12.0073 2.5915 11.4998 2.5915Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},Tt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:12.6,width:13},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var $t=styled("span")({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,flexShrink:0,cursor:"pointer",verticalAlign:"middle"}),De=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${wt}ms ease`}));var Lt=forwardRef(({className:e,sx:o,text:t,feedbackMs:r=It,onClick:a,...n},p)=>{let[s,l]=useState(false),m=d=>{d.stopPropagation(),ab(t),l(true),setTimeout(()=>l(false),r),a?.(d);};return jsxs($t,{ref:p,className:kc(B.root,e),sx:o,role:"button",tabIndex:0,"data-testid":"CopyButton",onClick:m,...n,children:[jsx(De,{className:kc(B.icon,B.copyIcon),$visible:!s,children:jsx(Pt,{})}),jsx(De,{className:kc(B.icon,B.copiedIcon),$visible:s,children:jsx(Tt,{})})]})});Lt.displayName="CopyButton";var Ft=memo(Lt);var Ee="os-shared-ProgressBar",V={root:`${Ee}-root`,fill:`${Ee}-fill`,text:`${Ee}-text`};var Rt=styled(Ho,{shouldForwardProp:e=>!["$value","$isDecimal"].includes(e)})(({theme:e,$value:o,$isDecimal:t})=>({width:`${o}%`,minWidth:o>=10?"28px":"24px",height:"18px",borderRadius:"50px",background:e.palette.background.gradient?.darkShadedBlue??"linear-gradient(256deg, #147DC5 0%, #3DA6E1 100%)",display:"flex",alignItems:"center",justifyContent:o>10?"flex-end":"center",paddingInlineEnd:o>10?"2px":"0px",...o===0&&{background:alpha(e.palette.text.primary,26/255)},...t&&{minWidth:o>=10?"40px":"36px"}})),At=styled(Ho,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({height:"14px",maxWidth:"36px",minWidth:"20px",background:alpha(e.palette.text.primary,26/255),borderRadius:"50px",display:"flex",alignItems:"center",justifyContent:"center",padding:0,...o===0&&{background:alpha(e.palette.text.primary,0)}})),Dt=styled(ts,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({fontSize:"8px",fontWeight:e.typography.fontWeightBolder??700,color:e.palette.common.white,padding:"2px 4px",...o===0&&{color:alpha(e.palette.grey.A100,.5)}}));var Wt=forwardRef(({className:e,sx:o,value:t},r)=>{let a=!Number.isInteger(t);return jsx(Rt,{ref:r,className:kc(V.root,e),sx:o,"data-testid":"ProgressBar",$value:t,$isDecimal:a,children:jsx(At,{className:V.fill,$value:t,children:jsxs(Dt,{className:V.text,$value:t,variant:"caption",children:[Number(t.toFixed(2)),"%"]})})})});Wt.displayName="ProgressBar";var Ht=memo(Wt);var ge="os-shared-Chip",v={root:`${ge}-root`,text:`${ge}-text`,copyButton:`${ge}-copyButton`,icon:`${ge}-icon`},Vt=2e3,He=150;var jt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:"10px"},...e,children:jsx("svg",{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.924805 9.5C0.924805 10.7381 1.9289 11.7412 3.16699 11.7412H8.86035L8.66699 12.0312C8.43398 12.3812 8.04094 12.5917 7.62012 12.5918H3.16699C1.45941 12.5918 0.0751953 11.2076 0.0751953 9.5V3.04688C0.0751953 2.62628 0.28561 2.23342 0.635742 2L0.924805 1.80664V9.5ZM3.5 0.0751953H8.83301C9.79807 0.0751953 10.5916 0.867985 10.5918 1.83301V9.16699C10.5916 10.132 9.79807 10.9248 8.83301 10.9248H3.5C2.53494 10.9248 1.74139 10.132 1.74121 9.16699V1.83301C1.74139 0.867985 2.53494 0.0751953 3.5 0.0751953ZM3.5 0.924805C2.99261 0.924805 2.59197 1.32567 2.5918 1.83301V9.16699C2.59197 9.67433 2.99261 10.0752 3.5 10.0752H8.83301C9.3404 10.0752 9.74104 9.67433 9.74121 9.16699V1.83301C9.74104 1.32567 9.3404 0.924805 8.83301 0.924805H3.5Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},Kt=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{height:"10px"},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var he=styled(Ho,{shouldForwardProp:e=>!["$variant","$hasIcon","$isSelected","$disableAnimation"].includes(e)})(({theme:e,$variant:o="text",$hasIcon:t,$isSelected:r,$disableAnimation:a})=>({display:"inline-flex",alignItems:"center",justifyContent:t?"flex-start":"center",gap:t?e.spacing(1):void 0,lineHeight:"normal",borderRadius:"30px",whiteSpace:"nowrap",boxSizing:"border-box",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,...o==="text"&&{padding:`${e.spacing(.75)} ${e.spacing(1)}`,minHeight:"30px"},...o==="circular"&&{minHeight:24,minWidth:24,padding:e.spacing(.5),aspectRatio:"1 / 1"},...o==="pill-icon"&&{minHeight:24,minWidth:36,padding:`${e.spacing(.25)} ${e.spacing(.75)}`},...r&&{boxShadow:`${e.palette.common.white} 7px 0px 8px 2px`},...a&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),Ve=styled(Ho)({textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto"}),Gt=styled("span",{shouldForwardProp:e=>e!=="$copied"})(({$copied:e})=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:12,height:12,flexShrink:0,cursor:"pointer",opacity:e?1:.6,transition:`opacity ${He}ms ease`,"&:hover":{opacity:1}})),Oe=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${He}ms ease`}));var Xt=forwardRef(({className:e,sx:o,children:t,icon:r,variant:a="text",disabled:n=false,isSelected:p=false,copyText:s,unknownText:l="Unknown",disableAnimation:m=false,...d},f)=>{let[y,c]=useState(false),g=x=>{x.stopPropagation(),s&&(ab(s),c(true),setTimeout(()=>c(false),Vt));},C={$variant:a,$hasIcon:r!=null,$isSelected:p,$disableAnimation:m},u=kc(v.root,e,`CustomVariant_${a}`),k=[n?{cursor:"not-allowed",opacity:.5}:{},...Array.isArray(o)?o:o?[o]:[]];return t?s?jsxs(he,{ref:f,className:u,sx:[{gap:"4px"},...k],"data-testid":"Chip",...C,...d,children:[jsx(Ve,{className:v.text,"data-is-arabic":typeof t=="string"&&Zb(t),children:t}),jsxs(Gt,{className:v.copyButton,role:"button",tabIndex:0,"aria-label":y?"copied":"copy","data-testid":"ChipCopyButton",$copied:y,onClick:g,children:[jsx(Oe,{$visible:!y,children:jsx(jt,{})}),jsx(Oe,{$visible:y,children:jsx(Kt,{})})]})]}):jsxs(he,{ref:f,className:u,sx:k,"data-testid":"Chip",...C,...d,children:[r!=null&&jsx("span",{className:v.icon,children:r}),jsx(Ve,{className:v.text,children:t})]}):jsx(he,{className:u,sx:k,"data-testid":"Chip",...C,...d,children:l})});Xt.displayName="Chip";var Yt=memo(Xt);var je="os-shared-Slider",T={root:`${je}-root`,thumb:`${je}-thumb`,thumbIcon:`${je}-thumbIcon`},Ke=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", ");var _t=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{width:"5px",height:"8px",pointerEvents:"none"},...e,children:jsxs("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M0.459961 0.460449L0.459961 6.59897",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M2.44531 0.460388L2.44531 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M4.4375 0.460388L4.4375 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"})]})})};var qt=styled(Mn)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1,left:0},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:Ke,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:Ke}},[`& .${T.thumbIcon}`]:{width:"5px",height:"8px",pointerEvents:"none"}}));function An({children:e,className:o,...t}){return jsxs(SliderThumb,{className:kc(T.thumb,o),...t,children:[e,jsx(_t,{className:T.thumbIcon})]})}var Jt=forwardRef(({className:e,sx:o,value:t,min:r,max:a,step:n,disabled:p,onChange:s,slots:l,...m},d)=>{let f=useCallback((y,c)=>{s(c);},[s]);return jsx(qt,{ref:d,className:kc(T.root,e),sx:o,"data-testid":"Slider",value:t,min:r,max:a,step:n,disabled:p,onChange:f,...m,slots:{thumb:An,...l}})});Jt.displayName="Slider";var Qt=memo(Jt);var Ue="os-shared-Input",Z={root:`${Ue}-root`,label:`${Ue}-label`,input:`${Ue}-input`},or={sm:28,md:32,labelled:40},tr=["e","E","+","-"],rr=/^[0-9.]$/,ar=xa$1();var sr=(e,o)=>or[e?"labelled":o],nr=styled(Hn,{shouldForwardProp:e=>!["$hasLabel","$hideArrows","$size"].includes(e)})(({theme:e,$hasLabel:o=false,$hideArrows:t=false,$size:r="md"})=>({height:sr(o,r),padding:o?"8px":"0 8px",border:"none",borderRadius:"inherit",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,color:e.palette.text.primary,backgroundColor:"transparent",display:"flex",alignItems:o?"stretch":"center","&.Mui-disabled":{color:e.palette.grey[700]},"& input":{paddingTop:"4px",paddingBottom:"4px"},"& input::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& input:-webkit-autofill, & input:-webkit-autofill:hover, & input:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& input":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& input:focus::placeholder":{opacity:"1 !important"}},...t&&{"& 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}}})),ir=styled(Wn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),pr=styled(En,{shouldForwardProp:e=>!["$hasLabel","$size"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$size:n="md"})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",height:sr(a,n),margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInput-root":{flex:1,marginTop:"0 !important"}}));var dr=forwardRef(({label:e,size:o="md",error:t=false,disabled:r=false,fullWidth:a=false,placeholder:n,hideArrows:p=false,type:s,id:l,className:m,sx:d,onKeyDown:f,onWheel:y,...c},g)=>{let C=!!e,u=s==="number",N=x=>{let E=x.metaKey||x.ctrlKey||x.altKey,Te=x.key.length===1;(tr.includes(x.key)||ar&&Te&&!E&&!rr.test(x.key))&&x.preventDefault(),f?.(x);},k=x=>{x.target instanceof HTMLElement&&x.target.blur(),y?.(x);};return jsxs(pr,{className:kc(Z.root,m),sx:d,error:t,disabled:r,fullWidth:a,"data-testid":"Input",$hasLabel:C,$size:o,children:[C&&jsx(ir,{className:Z.label,htmlFor:l,children:e}),jsx(nr,{id:l,inputRef:g,className:Z.input,type:s,error:t,disabled:r,placeholder:n??void 0,"aria-invalid":t||void 0,disableUnderline:true,fullWidth:true,$hasLabel:C,$hideArrows:p,$size:o,onKeyDown:u?N:f,onWheel:u?k:y,...c})]})});dr.displayName="Input";var mr=memo(dr);var Xe="os-shared-Textarea",j={root:`${Xe}-root`,label:`${Xe}-label`,textarea:`${Xe}-textarea`},Ye=20;var cr=styled(Un,{shouldForwardProp:e=>!["$error","$hasLabel","$minRows"].includes(e)})(({theme:e,$hasLabel:o=false,$minRows:t=3})=>({border:"none",borderRadius:"inherit",padding:o?"8px":"8px 12px",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,lineHeight:1.5,color:e.palette.text.primary,backgroundColor:"transparent",alignItems:"flex-start",width:"100%","&.Mui-disabled":{color:e.palette.grey[700]},"& textarea":{resize:"vertical",minHeight:`${Math.max(t*Ye,60)}px`,padding:0},"& textarea::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& textarea:-webkit-autofill, & textarea:-webkit-autofill:hover, & textarea:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& textarea":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& textarea:focus::placeholder":{opacity:"1 !important"}}})),fr=styled(Wn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),yr=styled(En,{shouldForwardProp:e=>!["$hasLabel","$minRows"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$minRows:n=3})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",minHeight:a?40+n*Ye:void 0,margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInputBase-root":{flex:1,marginTop:"0 !important"}}));var xr=forwardRef(({label:e,error:o=false,disabled:t=false,fullWidth:r=false,placeholder:a,minRows:n=3,maxRows:p,id:s,className:l,sx:m,...d},f)=>{let y=!!e;return jsxs(yr,{className:kc(j.root,l),sx:m,error:o,disabled:t,fullWidth:r,"data-testid":"Textarea",$hasLabel:y,$minRows:n,children:[y&&jsx(fr,{className:j.label,htmlFor:s,children:e}),jsx(cr,{id:s,inputRef:f,className:j.textarea,multiline:true,minRows:n,maxRows:p,disabled:t,placeholder:a??void 0,"aria-invalid":o||void 0,fullWidth:true,$error:o,$hasLabel:y,$minRows:n,...d})]})});xr.displayName="Textarea";var gr=memo(xr);var z="os-shared-Accordion",S={root:`${z}-root`,summary:`${z}-summary`,content:`${z}-content`,labelStartAdornment:`${z}-labelStartAdornment`,labelContent:`${z}-labelContent`,labelEndAdornment:`${z}-labelEndAdornment`,expandIcon:`${z}-expandIcon`};var hr=()=>{let{palette:e}=useTheme();return jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:e.text.primary,stroke:e.text.primary,strokeWidth:"0.1"})})};var Sr=styled(qn)(({theme:e,square:o})=>({overflow:"hidden",border:`1px solid ${e.palette.divider}`,...!o&&{borderRadius:e.shape.borderRadius},margin:0,background:e.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0},"&.Mui-disabled":{opacity:.5,pointerEvents:"none"}})),Nr=styled(Qn)(({theme:e})=>({background:e.palette.grey.A50??"#fbfbfb",minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),kr=styled(Jn)(({theme:e})=>({padding:0,borderTop:`1px solid ${e.palette.divider}`})),Ir=styled(Ho)({display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)"}),wr=styled(Ho)({minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});var Pr=forwardRef(({expanded:e,defaultExpanded:o=false,onChange:t,label:r,content:a,labelStartAdornment:n,labelEndAdornment:p,slotProps:s={},disabled:l=false,expandIcon:m,className:d,sx:f,...y},c)=>{let g=e!==void 0,[C,u]=useState(o),N=g?e:C,k=(Qi,ro)=>{g||u(ro),t?.(ro);},{showArrow:x=true,...E}=s.label??{},{className:Te,sx:Pa,...Ta}=s.root??{},Ma=m??(x?jsx(Ir,{component:"span",className:S.expandIcon,children:jsx(hr,{})}):null),$a=jsxs(Fragment,{children:[n!=null&&jsx(Ho,{component:"span",className:S.labelStartAdornment,...s.labelStartAdornment,sx:jc({flexShrink:0},s.labelStartAdornment?.sx),children:n}),jsx(wr,{component:"span",className:S.labelContent,...s.labelContent,sx:s.labelContent?.sx,children:r}),p!=null&&jsx(Ho,{component:"span",className:S.labelEndAdornment,...s.labelEndAdornment,sx:jc({flexShrink:0,marginLeft:"auto"},s.labelEndAdornment?.sx),children:p})]});return jsxs(Sr,{ref:c,"data-testid":"Accordion",disabled:l,expanded:N,onChange:k,className:kc(S.root,d,Te),sx:jc(f??{},Pa),...Ta,...y,children:[jsx(Nr,{className:S.summary,expandIcon:Ma,"aria-expanded":N,...E,children:$a}),jsx(kr,{className:S.content,...s.content,children:a})]})});Pr.displayName="Accordion";var Tr=memo(Pr);var Mr="os-shared-Menu",q={popper:`${Mr}-popper`,panel:`${Mr}-panel`},$r=12;var Fr=styled(si)({}),zr=styled(Ho,{shouldForwardProp:e=>e!=="$showShadow"})(({theme:e,$showShadow:o})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:e.shadows[11],display:"flex",flexDirection:"column",overflowY:"auto",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${e.palette.divider}`},"&::after":{content:o?'""':"none",width:"100%",height:"34px",position:"sticky",bottom:0,pointerEvents:"none",background:`linear-gradient(180deg, rgba(255,255,255,0) 0%, ${e.palette.common.white} 100%)`}}));var Ar=forwardRef(({open:e,anchorEl:o,children:t,placement:r,popperSx:a,panelProps:n,className:p,sx:s,...l},m)=>{let[d,f]=useState(false),c=useMemo(()=>Children.count(t),[t])>$r&&d,{onScroll:g,className:C,sx:u,...N}=n??{},k=useCallback(E=>{f((E.currentTarget.scrollTop??0)>0),g?.(E);},[g]),x=kc(q.panel,C,"MuiPopper-dropdown");return jsx(Fr,{ref:m,className:kc(q.popper,p),"data-testid":"Menu",open:e,anchorEl:o,placement:r??"bottom-start",sx:a,...l,children:jsx(zr,{$showShadow:c,onScroll:k,className:x,sx:jc(s??{},u),...N,children:t})})});Ar.displayName="Menu";var Dr=memo(Ar);var Se="os-shared-Dialog",A={root:`${Se}-root`,title:`${Se}-title`,content:`${Se}-content`,actions:`${Se}-actions`};var Wr=styled(ci)(({theme:e})=>({"& .MuiDialog-paper":{boxShadow:e.shadows[13],borderRadius:e.spacing(1)},"& .MuiModal-backdrop":{background:alpha(e.palette.common.black,.2)}})),Hr=styled(fi)(({theme:e})=>({padding:e.spacing(2)}));var Vr=forwardRef(({heading:e,actions:o,children:t,onClose:r,open:a,className:n,sx:p,...s},l)=>jsxs(Wr,{ref:l,"data-testid":"Dialog",open:a,onClose:r,className:kc(A.root,n),sx:p,...s,children:[e&&jsx(Ci,{className:A.title,children:e}),jsx(Hr,{className:A.content,children:t}),o&&jsx(gi,{className:A.actions,children:o})]}));Vr.displayName="Dialog";var Or=memo(Vr);var Ne="os-shared-MenuItem",M={root:`${Ne}-root`,indicator:`${Ne}-indicator`,content:`${Ne}-content`,disabled:`${Ne}-disabled`},D={unchecked:"unchecked",checked:"checked",indeterminate:"indeterminate"};var jr=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:e.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74245C9.04243 3.94469 9.05652 4.2875 8.86537 4.50814L5.64586 8.22426C5.55146 8.33322 5.41909 8.39666 5.27942 8.39987C5.13975 8.40308 5.0049 8.34579 4.90612 8.24127L3.15002 6.38321C2.94999 6.17157 2.94999 5.82843 3.15002 5.61679C3.35004 5.40516 3.67435 5.40516 3.87437 5.61679L5.2522 7.07463L8.11024 3.77574C8.30138 3.55511 8.62538 3.5402 8.83391 3.74245Z",fill:e.common.white})]})},Kr=()=>jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"})}),Ur=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.2",y:"1.2",width:"9.6",height:"9.6",rx:"2.4",fill:e.info.dark,stroke:e.info.dark,strokeWidth:"1.2"}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:"#FAFBFB"})]})};var Yr=styled(Ho,{shouldForwardProp:e=>e!=="$isDisabled"})(({theme:e,$isDisabled:o=false})=>({padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",gap:"8px",textTransform:"capitalize",cursor:o?"not-allowed":"pointer",flex:1,fontSize:e.typography.subtitle1.fontSize,opacity:o?.5:1,color:e.palette.text.primary})),Je=styled("span")({width:14,height:14,flexShrink:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center","& svg":{display:"block"}});function ki(e,o){return o?D.indeterminate:e?D.checked:D.unchecked}var Ii={[D.unchecked]:Kr,[D.checked]:jr,[D.indeterminate]:Ur};function wi(e,o,t){if(e===null)return null;if(e!==void 0)return jsx(Je,{className:M.indicator,"aria-hidden":true,children:e});let r=ki(o,t),a=Ii[r];return jsx(Je,{className:M.indicator,"aria-hidden":true,children:jsx(a,{})})}var _r=forwardRef(({isSelected:e=false,isDisabled:o=false,isIndeterminate:t=false,startAdornment:r,onClick:a,children:n,className:p,sx:s,...l},m)=>{let d=kc(M.root,"menu-item",o&&M.disabled,p);return jsxs(Yr,{ref:m,"data-testid":"MenuItem",className:d,sx:s,onClick:o?void 0:a,$isDisabled:o,...l,children:[wi(r,e,t),jsx("span",{className:M.content,children:n})]})});_r.displayName="MenuItem";var qr=memo(_r);var Jr="os-shared-ToggleButtons",J={root:`${Jr}-root`,button:`${Jr}-button`};var oa=styled(Ho)(({theme:e})=>({backgroundColor:e.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),Pi=e=>({backgroundColor:e.palette.common.white,boxShadow:`0px 0px 3px 0px ${alpha(e.palette.common.black,.2)}`}),ta=styled(Ho,{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:o=false})=>({fontSize:8,fontWeight:e.typography.fontWeightMedium,width:21,height:21,borderRadius:"1.5px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease, box-shadow 0.2s ease",...o?Pi(e):{backgroundColor:"transparent",boxShadow:"none"}}));function aa({options:e,activeKey:o,onChange:t,containerProps:r,buttonProps:a,id:n,className:p,sx:s},l){let{className:m,sx:d,...f}=r??{},y=kc(J.root,p,m);return jsx(oa,{ref:l,id:n,"data-testid":"ToggleButtons",className:y,sx:jc(s??{},d),...f,children:e.map(c=>jsx(ta,{className:J.button,$isActive:o===c.key,onClick:()=>t(c.key),...a,children:c.content},c.key))})}var $i=forwardRef(aa);aa.displayName="ToggleButtons";var sa=memo($i);var Li="os-shared-LazyImage",Ie={root:`${Li}-root`},na={display:"flex",justifyContent:"center",alignItems:"center"},we={opacity:()=>import('react-lazy-load-image-component/src/effects/opacity.css'),blur:()=>import('react-lazy-load-image-component/src/effects/blur.css'),"black-and-white":()=>import('react-lazy-load-image-component/src/effects/black-and-white.css')};var ia=styled(Ho)({display:"inline-flex",justifyContent:"center",alignItems:"center"});function Be(e){return e!=null&&e in we}var Hi=LazyLoadImage,la=forwardRef(({effect:e,wrapperProps:o,id:t,className:r,sx:a,placeholderSrc:n,...p},s)=>{let[l,m]=useState(Be(e));if(useEffect(()=>{if(!Be(e)){m(false);return}m(true),we[e]().finally(()=>{m(false);});},[e]),l)return null;let{className:d,sx:f,style:y,...c}=o??{},g=Be(e)||!!n||y!=null;return jsx(ia,{component:"span",...c,className:kc(Ie.root,d??r),sx:f!=null?jc(a??{},f):a,children:jsx(Hi,{...p,ref:s,effect:e,placeholderSrc:n,id:t,"data-testid":"LazyImage",wrapperProps:g?{style:{...na,...y}}:void 0})})});la.displayName="LazyImage";var da=memo(la);var Qe="os-shared-FieldFeedback",U={root:`${Qe}-root`,icon:`${Qe}-icon`,message:`${Qe}-message`};var ca=({severity:e="error",...o})=>{let{palette:t}=useTheme(),r=e==="warning"?t.custom?.[500]??"#FF7A00":t.error.light;return jsx($e,{sx:{width:12,height:12},...o,children:jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 12C9.30838 12 12 9.30838 12 6C12 2.69162 9.30838 -2.35309e-07 6 -5.24537e-07C2.69162 -8.13764e-07 8.13764e-07 2.69162 5.24537e-07 6C2.35309e-07 9.30838 2.69162 12 6 12ZM6 11.1C3.17801 11.1 0.9 8.82198 0.9 6C0.9 3.17802 3.17802 0.899999 6 0.899999C8.82199 0.899999 11.1 3.17802 11.1 6C11.1 8.82198 8.82198 11.1 6 11.1ZM6 9C6.15913 9 6.31174 8.93679 6.42426 8.82426C6.53679 8.71174 6.6 8.55913 6.6 8.4C6.6 8.24087 6.53679 8.08826 6.42426 7.97574C6.31174 7.86321 6.15913 7.8 6 7.8C5.84087 7.8 5.68826 7.86321 5.57574 7.97574C5.46321 8.08826 5.4 8.24087 5.4 8.4C5.4 8.55913 5.46321 8.71174 5.57574 8.82426C5.68826 8.93679 5.84087 9 6 9ZM6.00703 6.90644C6.12628 6.90458 6.23991 6.85546 6.32296 6.76988C6.40602 6.6843 6.45171 6.56925 6.45 6.45L6.45 3.15C6.45084 3.09037 6.43983 3.03116 6.41759 2.97583C6.39535 2.92049 6.36234 2.87013 6.32047 2.82766C6.2786 2.7852 6.22871 2.75148 6.17369 2.72846C6.11868 2.70544 6.05964 2.69359 6 2.69359C5.94036 2.69359 5.88132 2.70544 5.82631 2.72846C5.77129 2.75148 5.7214 2.7852 5.67953 2.82766C5.63766 2.87013 5.60465 2.92049 5.58241 2.97583C5.56017 3.03116 5.54916 3.09037 5.55 3.15L5.55 6.45C5.54914 6.51023 5.56037 6.57002 5.58304 6.62583C5.60571 6.68163 5.63935 6.73232 5.68197 6.77489C5.72459 6.81745 5.77533 6.85103 5.83116 6.87363C5.887 6.89623 5.9468 6.90739 6.00703 6.90644Z",fill:r})})})},fa=e=>jsx($e,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M9.63285 0.429835C9.54018 0.432536 9.45219 0.471196 9.38752 0.537631L3.21672 6.70844L0.614302 4.10602C0.581421 4.07177 0.542037 4.04443 0.498457 4.0256C0.454877 4.00676 0.407977 3.99681 0.360503 3.99633C0.313029 3.99585 0.265937 4.00484 0.221983 4.02279C0.178029 4.04073 0.138097 4.06727 0.104526 4.10084C0.0709555 4.13441 0.0444206 4.17434 0.0264755 4.21829C0.00853037 4.26225 -0.000464234 4.30934 1.8446e-05 4.35681C0.000501126 4.40429 0.0104514 4.45119 0.0292865 4.49477C0.0481216 4.53835 0.0754629 4.57773 0.109709 4.61061L2.96442 7.46533C3.03134 7.53222 3.12209 7.5698 3.21672 7.5698C3.31134 7.5698 3.40209 7.53222 3.46901 7.46533L9.89212 1.04222C9.9436 0.992086 9.97874 0.927576 9.99295 0.857134C10.0072 0.786693 9.99978 0.713603 9.97176 0.647428C9.94374 0.581254 9.8964 0.525079 9.83593 0.486255C9.77546 0.447431 9.70468 0.427767 9.63285 0.429835Z",fill:"#39953E"})})}),ya=e=>{let{palette:o}=useTheme();return jsx($e,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 7.5V5.5M6 3.5H6.005M11 5.5C11 8.26142 8.76142 10.5 6 10.5C3.23858 10.5 1 8.26142 1 5.5C1 2.73858 3.23858 0.5 6 0.5C8.76142 0.5 11 2.73858 11 5.5Z",stroke:o.text.primary,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})})};function ua(e,o){let t=e.palette.custom?.[500]??"#FF7A00";return {warning:{backgroundColor:alpha(t,.15),textColor:t},success:{backgroundColor:alpha(e.palette.success.dark,.15),textColor:e.palette.success.dark},info:{backgroundColor:alpha(e.palette.info.dark,.12),textColor:e.palette.info.dark},error:{backgroundColor:alpha(e.palette.error.main,.15),textColor:e.palette.error.main}}[o]}var xa=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{backgroundColor:t}=ua(e,o);return {display:"flex",alignItems:"flex-start",gap:"4px",minHeight:"32px",padding:"8px 12px",background:t,borderRadius:"0 0 4px 4px"}}),ga=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{textColor:t}=ua(e,o);return {fontSize:"10px",lineHeight:"16px",display:"block",color:t,wordBreak:"break-word"}}),Ca=styled("span")({width:12,height:12,flexShrink:0,marginTop:"2px",display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{width:12,height:12,display:"block"}});function Zi(e){return e!=null&&e!==""}function ji(e){switch(e){case "success":return jsx(fa,{});case "info":return jsx(ya,{});case "error":case "warning":return jsx(ca,{severity:e})}}var ha=forwardRef(({type:e="error",message:o,icon:t,className:r,sx:a},n)=>{if(!Zi(o))return null;let p=e;return jsxs(xa,{ref:n,"data-testid":"FieldFeedback",className:kc(U.root,r),sx:a,$feedbackType:p,children:[t??jsx(Ca,{className:U.icon,children:ji(p)}),jsx(ga,{className:U.message,$feedbackType:p,children:o})]})});ha.displayName="FieldFeedback";var ba=memo(ha);var Ui="os-shared-ScrollLoader",Pe={root:`${Ui}-root`},Sa=50;var Na=styled(Gi)({overflow:"auto",height:"100%",maxHeight:"100%"});function to(e,o=Sa){return e.scrollHeight-(e.scrollTop+e.clientHeight)<=o}var Ba=forwardRef(({loadMoreItems:e,hasMore:o,isLoading:t=false,isFetchingNextPage:r,children:a,className:n,sx:p,id:s,...l},m)=>{let[d,f]=useState(false),y=useRef(e),c=useRef(null);y.current=e;let g=useCallback(()=>{o&&!r&&y.current();},[o,r]),C=useCallback(()=>{let u=c.current;u&&to(u)&&g();},[g]);return useEffect(()=>{let u=c.current;if(u)return u.addEventListener("scroll",C),()=>u.removeEventListener("scroll",C)},[C]),useEffect(()=>{let u=c.current;if(!u||t||d)return;let N=window.setTimeout(()=>{f(true),to(u)&&g();},1e3);return ()=>window.clearTimeout(N)},[t,g,d]),jsx(Na,{ref:u=>{c.current=u,typeof m=="function"?m(u):m&&(m.current=u);},id:s,"data-testid":"ScrollLoader",className:kc(Pe.root,n),sx:p,...l,children:a})});Ba.displayName="ScrollLoader";var va=memo(Ba);
|
|
2
|
-
export{ba as $,fe as A,kt as B,B as C,Ft as D,V as E,Ht as F,v as G,Yt as H,T as I,Qt as J,Z as K,mr as L,j as M,gr as N,S as O,Tr as P,q as Q,Dr as R,A as S,Or as T,M as U,qr as V,J as W,sa as X,Ie as Y,da as Z,U as _,b as a,Pe as aa,xo as b,va as ba,oe as c,ho as d,L as e,Po as f,te as g,$o as h,re as i,zo as j,ae as k,Wo as l,F as m,Uo as n,ie as o,Jo as p,pe as q,rt as r,le as s,it as t,de as u,dt as v,me as w,ut as x,ce as y,bt as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {alpha,createTheme}from'@mui/material/styles';var s={2:"blur(2px)",4:"blur(4px)",6:"blur(6px)",8:"blur(8px)",12:"blur(12px)",20:"blur(20px)",32:"blur(32px)",36:"blur(36px)"};var S={100:"0px 0px 4px 0px rgba(0, 0, 0, 0.2)",200:"0px 0px 16px 0px rgba(0, 0, 0, 0.13)",300:"0px 8px 20px 0px rgba(0, 0, 0, 0.16)",400:"0px 0px 32px 0px rgba(0, 0, 0, 0.24)",500:"0px 8px 40px 0px rgba(0, 0, 0, 0.24)",600:"0px 2px 56px 0px rgba(32, 35, 43, 0.14)"},m=()=>S;var p=(e,o,D)=>`linear-gradient(${e}deg, ${o} 0%, ${D} 100%)`,d={brand:p(90,"#147DC5","#3DA6E1"),dark:p(180,"#42464F","#272B34"),aqua:p(180,"#B4D9EB","#CAE4C5"),mint:p(180,"#CAE4C5","#FFFCBB"),warm:p(180,"#FFFCBB","#FFDBB1"),peach:p(180,"#FFDBB1","#FFC9C9"),rose:p(180,"#FFC9C9","#CEB9E8"),lavender:p(180,"#CEB9E8","#B4D9EB")};var r={50:"#F9F9F9",100:"#F2F2F2",200:"#E4E6E9",400:"#ABAAB2",500:"#8D8D94",900:"#20232B"},a={50:"#E9F3FA",500:"#1F88D0"},n={500:"#2ACE00",700:"#39953E"},x={500:"#FF0000",700:"#CC393C"},i={500:"#FFD200",600:"#C9A605"},g={white:"#FFFFFF",black:"#20232B"},t=(e,o)=>alpha(e,o),A={base:g,grey:r,brand:a,success:n,error:x,warning:i,foreground:{primary:r[900],secondary:r[500],tertiary:t(r[900],.5),disabled:t(r[900],.25),inverted:g.white,brand:a[500]},background:{primary:g.white,secondary:r[100],tertiary:r[50]},gradient:d,border:{default:r[100],subtle:t(r[100],.7),strong:r[400]},interactive:{primary:{default:a[500],disabled:t(a[500],.4),subtle:t(a[500],.1)}},status:{success:{default:n[500],subtle:t(n[500],.1),emphasis:n[700]},danger:{default:x[500],subtle:t(x[500],.14),emphasis:x[700]},warning:{default:i[500],emphasis:i[600]}}},f=()=>A;var b=e=>typeof e=="number"?`${e}px`:e,F=b,c=b;var l=()=>({palette:f(),elevation:m(),blur:s,spacing:F,radius:c});var h={MuiSvgIcon:{styleOverrides:{root:{width:"0.8em",height:"0.8em"}}},MuiButtonBase:{defaultProps:{disableRipple:true}},MuiPopper:{styleOverrides:{root:{zIndex:1400}}}};var u={mode:"light",common:{black:"#000",white:"#fff",blue:"#147DC5",green:"#2ACE00",purple:"#6D4BCB",red:"#ff0000",orange:"#DD702C",lightOrange:"#FFF7F2",lightPurple:"#4E1FD0"},text:{primary:"#20232B",textSecondary:"#9F9F9F"},grey:{50:"#FEFEFE",100:"#F2F2F2",200:"#002945",300:"rgba(246, 248, 250, 0.8)",400:"#f9f9f9",500:"#8C9196",600:"#5C5C5C",700:"#8D8D94",800:"#E4E6E9",900:"#1D1B20",A50:"#fbfbfb",A100:"#8d8d94",A200:"#000014",A400:"#C1C1C1",A700:"#818181",A800:"#1F222A"},primary:{light:"#FCFCFC",main:"#1D1E21",dark:"#1D1E21"},background:{default:"#fff",highlight:"rgba(117, 122, 135, 0.1)",gradient:{blueGreen:"linear-gradient(180deg, #b4d9eb 0%, #cae4c5 100%)",greenYellow:"linear-gradient(180deg, #cae4c5 0%, #fffcbb 100%)",yellowOrange:"linear-gradient(180deg, #fffcbb 0%, #ffdbb1 100%)",orangeRed:"linear-gradient(180deg, #ffdbb1 0%, #ffc9c9 100%)",redPurple:"linear-gradient(180deg, #ffc9c9 0%, #ceb9e8 100%)",purpleBlue:"linear-gradient(180deg, #CEB9E8 0%, #B4D9EB 100%)",shadedBlue:"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)",darkShadedBlue:"linear-gradient(256deg, #147DC5 0%, #3DA6E1 100%)",darkToLight:"linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%)",error:"linear-gradient(0deg, rgba(255, 0, 0, 0.14) 0%, rgba(255, 0, 0, 0.14) 100%), #FFF"},transparent:["rgba(249, 249, 249, 0.80)","rgba(32, 35, 43, 0.60)","rgba(242, 242, 242, 0.50)"]},warning:{main:"#F4BE4F",light:"#E9DB94",dark:"#E37B00"},error:{light:"#FF0000",main:"#FF3D00",dark:"#EA611C"},success:{light:"#BFEBB4",main:"#2ACE00",dark:"#76BB40"},divider:"#F2F2F2",info:{light:"#F4F9FD",main:"#29b6f6",dark:"#1F88D0"},action:{hover:"#f5f5f5"},secondary:{main:"#6D4BCB",light:"#DDDDDD"},custom:{50:"#e7f4fc",100:"#FFF0DE",200:"#E4F0F8",300:"#FFECE5",400:"#efefef",500:"#FF7A00",600:"#FFF5F2",700:"#128C7E",800:"#0085FF",900:"#3BC84F"}},y={mode:"dark",text:{primary:"#fff"},background:{default:"#000"}};var B=["none","0px 0px 1.4847px #FFFFFF","0px 0px 28px rgba(0, 0, 0, 0.04)","0px 0px 16px 0px rgba(0, 0, 0, 0.13)}","7px 0px 8px 0px #F2F2F2","0px 0px 28px 0px rgba(0, 0, 0, 0.04)","0px 0px 8px 0px rgba(0, 0, 0, 0.13)","0px 0px 4px 0px rgba(31, 136, 208, 0.50)","0px 0px 12px 0px rgba(0, 0, 0, 0.15)","0px 8px 30px 0px rgba(0, 0, 0, 0.16)","0px 0px 16px 0px rgba(0, 0, 0, 0.15)","0px 0px 16px 0px rgba(0, 0, 0, 0.13)","-4px 0px 16px 0px rgba(0, 0, 0, 0.10)","0px 0px 32px 0px rgba(0, 0, 0, 0.11)","0px 4px 8px 0px rgba(0, 0, 0, 0.14)","0px 0px 36px 0px rgba(0, 0, 0, 0.05)","0px 0px 44px 0px rgba(0, 0, 0, 0.25)","0px 0px 6px 0px rgba(0, 0, 0, 0.11)","0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)","0px 8px 30px 0px rgba(0, 0, 0, 0.15)","0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)","0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)","0px 1px 1px 0px rgba(0, 0, 0, 0.10), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 14px 4px 0px rgba(0, 0, 0, 0.00)","0px 1px 16px 0px rgba(0, 0, 0, 0.07)","0px -1px 16px 0px rgba(0, 0, 0, 0.07)"];var E=e=>e==="ltr"?["Tap Sans","sans-serif"].join(", "):["Noto Sans Arabic","sans-serif"].join(", "),C=(e="ltr")=>({htmlFontSize:16,fontFamily:E(e),fontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,fontWeightBolder:700,allVariants:{fontFamily:E(e),fontSize:"0.875rem",lineHeight:"normal",fontStyle:"normal",fontWeight:"normal",fontStretch:"normal",letterSpacing:"normal"},h1:{fontSize:"3.5rem"},h2:{fontSize:"3rem"},h3:{fontSize:"2.5rem"},h4:{fontSize:"2rem"},h5:{fontSize:"1.5rem"},h6:{fontSize:"1.25rem"},subtitle1:{fontSize:"0.6875rem",lineHeight:"15px",fontWeight:400},subtitle2:{fontSize:"0.875rem"},body1:{fontSize:"1rem"},body2:{fontSize:"0.875rem"},button:{fontSize:"0.875rem"},caption:{fontSize:"0.75rem"},overline:{fontSize:"0.75rem"}});var e0=(e,o)=>createTheme({palette:e==="dark"?y:u,direction:o,typography:C(o),components:h,shape:{borderRadius:8},shadows:B,v2:l()});export{h as a,u as b,y as c,B as d,C as e,e0 as f};
|