@tap-payments/os-micro-frontend-shared 0.3.149 → 0.3.151
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-JHIPGNC2.js → chunk-26M2HXR5.js} +1 -1
- package/build/_chunks/{chunk-RBCDAZB4.js → chunk-2CIV4TII.js} +1 -1
- package/build/_chunks/{chunk-JQ6FKHTQ.js → chunk-2U6YCW6N.js} +1 -1
- package/build/_chunks/{chunk-FXUDI6NO.js → chunk-2WHC5EPT.js} +1 -1
- package/build/_chunks/{chunk-4PJI6O5J.js → chunk-2YUYBTYF.js} +1 -1
- package/build/_chunks/{chunk-3LNOZKKV.js → chunk-3L2BA4XQ.js} +1 -1
- package/build/_chunks/{chunk-RS5TVJ7R.js → chunk-3VOBVZFJ.js} +1 -1
- package/build/_chunks/chunk-4DSO4G5S.js +1 -0
- package/build/_chunks/{chunk-ZFJ6GUPN.js → chunk-4IRFUOW5.js} +2 -2
- package/build/_chunks/{chunk-N3IRDIUC.js → chunk-4XDOS6NM.js} +1 -1
- package/build/_chunks/{chunk-NI7VGDQW.js → chunk-5ALWC7FS.js} +1 -1
- package/build/_chunks/{chunk-JVNJM6T6.js → chunk-6NNBWGIW.js} +1 -1
- package/build/_chunks/chunk-6OIXV5L2.js +1 -0
- package/build/_chunks/{chunk-TLZLKR7U.js → chunk-6ZDUY6EO.js} +1 -1
- package/build/_chunks/{chunk-DOT5ZDI2.js → chunk-767TZTOZ.js} +1 -1
- package/build/_chunks/chunk-77BF7TSG.js +1 -0
- package/build/_chunks/{chunk-ZHZNVM7Z.js → chunk-7OEJSZPG.js} +1 -1
- package/build/_chunks/{chunk-EF4ASBGX.js → chunk-7U4TEMF7.js} +1 -1
- package/build/_chunks/chunk-7UD2S336.js +1 -0
- package/build/_chunks/{chunk-BAKMLZI4.js → chunk-ABYPGA6A.js} +1 -1
- package/build/_chunks/{chunk-WXZAKC23.js → chunk-AVIDTGY5.js} +1 -1
- package/build/_chunks/{chunk-7DFD7WJS.js → chunk-BNWEQO2B.js} +1 -1
- package/build/_chunks/chunk-BXMBE224.js +1 -0
- package/build/_chunks/chunk-C6FBKUMX.js +1 -0
- package/build/_chunks/{chunk-G7NWZUZ3.js → chunk-CAV4XNQI.js} +1 -1
- package/build/_chunks/chunk-CO3EEXJQ.js +2 -0
- package/build/_chunks/{chunk-YPGVUZUZ.js → chunk-CWBSYHQB.js} +1 -1
- package/build/_chunks/{chunk-A453QUU2.js → chunk-DBKRFR7R.js} +1 -1
- package/build/_chunks/{chunk-EKMLYUWT.js → chunk-DLHTKK6K.js} +1 -1
- package/build/_chunks/chunk-DV5XS66I.js +2 -0
- package/build/_chunks/{chunk-4FNSHIAS.js → chunk-DXJJ34JD.js} +1 -1
- package/build/_chunks/{chunk-3UHLQWRW.js → chunk-DYLJN3W4.js} +1 -1
- package/build/_chunks/{chunk-TGKCKZOV.js → chunk-DYNS62II.js} +1 -1
- package/build/_chunks/{chunk-Y6KG2IWI.js → chunk-EH6DS7Z7.js} +1 -1
- package/build/_chunks/{chunk-XH5AY5UF.js → chunk-F44NMQ5K.js} +1 -1
- package/build/_chunks/{chunk-WZM4DBSN.js → chunk-F6UETIKM.js} +1 -1
- package/build/_chunks/{chunk-25H25Q54.js → chunk-FKYLAEBS.js} +1 -1
- package/build/_chunks/{chunk-ZZHAYV5P.js → chunk-FYOVM5SL.js} +1 -1
- package/build/_chunks/{chunk-UAHUS5PL.js → chunk-FZJGVE3N.js} +1 -1
- package/build/_chunks/{chunk-M5MYK5ZE.js → chunk-GIJKKRNG.js} +1 -1
- package/build/_chunks/{chunk-2Z4YOMWE.js → chunk-GIWRSAQ2.js} +1 -1
- package/build/_chunks/{chunk-EDJGLQW3.js → chunk-GWT72RF2.js} +1 -1
- package/build/_chunks/{chunk-OLRRHASW.js → chunk-GYI5NSQ5.js} +1 -1
- package/build/_chunks/{chunk-5ZAUKWVJ.js → chunk-H6HHXYRL.js} +1 -1
- package/build/_chunks/{chunk-IGIVQ5NH.js → chunk-HBTIZDBD.js} +1 -1
- package/build/_chunks/{chunk-B4AATE4F.js → chunk-HEVN6IWL.js} +1 -1
- package/build/_chunks/{chunk-JQRIG5FB.js → chunk-HIILTBHV.js} +2 -2
- package/build/_chunks/{chunk-KBMYESA4.js → chunk-JVVVLEUF.js} +1 -1
- package/build/_chunks/{chunk-6UOULENE.js → chunk-JYTLSEW2.js} +1 -1
- package/build/_chunks/chunk-K5MU74T4.js +1 -0
- package/build/_chunks/chunk-KCEYICHJ.js +2 -0
- package/build/_chunks/chunk-KCXHCJAA.js +1 -0
- package/build/_chunks/{chunk-47IKB4PU.js → chunk-KKIVDOOU.js} +1 -1
- package/build/_chunks/{chunk-CCQTVHAD.js → chunk-KPR7PEDZ.js} +1 -1
- package/build/_chunks/{chunk-2X2MNDCM.js → chunk-KW2A7ATU.js} +1 -1
- package/build/_chunks/{chunk-HJ4J56OP.js → chunk-KZZ4GNLK.js} +1 -1
- package/build/_chunks/{chunk-7H5XBVPX.js → chunk-L2RZBHC7.js} +1 -1
- package/build/_chunks/{chunk-QRGXADXK.js → chunk-LA3XKVYQ.js} +1 -1
- package/build/_chunks/chunk-LDLGBNMM.js +1 -0
- package/build/_chunks/{chunk-VSXBLD2E.js → chunk-M5XBR2HX.js} +1 -1
- package/build/_chunks/{chunk-KJ6NK75P.js → chunk-MDJ47T6T.js} +1 -1
- package/build/_chunks/{chunk-MYPSQEJ5.js → chunk-MINGPVVR.js} +1 -1
- package/build/_chunks/{chunk-IKUDFCXC.js → chunk-MVTU6CC5.js} +1 -1
- package/build/_chunks/{chunk-S4RT3VB6.js → chunk-N2Q6HRNZ.js} +1 -1
- package/build/_chunks/{chunk-LIIULUSD.js → chunk-N3FCB33M.js} +1 -1
- package/build/_chunks/{chunk-2AWDKWKY.js → chunk-NA72WEHU.js} +1 -1
- package/build/_chunks/{chunk-NP25LI2M.js → chunk-NBGDT62B.js} +1 -1
- package/build/_chunks/{chunk-TEGPKTJ6.js → chunk-NJFK5TAC.js} +1 -1
- package/build/_chunks/chunk-NTJZ733T.js +1 -0
- package/build/_chunks/{chunk-WXMVHEBR.js → chunk-NY3LCGE5.js} +1 -1
- package/build/_chunks/{chunk-WQXW2YTH.js → chunk-O2SPQA5J.js} +1 -1
- package/build/_chunks/{chunk-2VW4TETV.js → chunk-O5KFJKRT.js} +1 -1
- package/build/_chunks/{chunk-BU7IMNX6.js → chunk-OK6HCBL2.js} +1 -1
- package/build/_chunks/{chunk-54QYUSHQ.js → chunk-OMFYODPG.js} +1 -1
- package/build/_chunks/{chunk-CBZTAI7O.js → chunk-OVUUOEZN.js} +1 -1
- package/build/_chunks/{chunk-QBAIMI2A.js → chunk-P2DG6H76.js} +1 -1
- package/build/_chunks/{chunk-ZI2427WJ.js → chunk-PB4RPRX3.js} +1 -1
- package/build/_chunks/{chunk-CHBYSMFC.js → chunk-PPC5EHKW.js} +1 -1
- package/build/_chunks/{chunk-RZDTMTLU.js → chunk-PUIZRXVZ.js} +1 -1
- package/build/_chunks/{chunk-HA4UOJIP.js → chunk-PVUEYH5J.js} +1 -1
- package/build/_chunks/{chunk-AWXRPX7U.js → chunk-QRU7WDPB.js} +2 -2
- package/build/_chunks/{chunk-65ROHES3.js → chunk-R4GFBLY3.js} +1 -1
- package/build/_chunks/{chunk-XONJTPVT.js → chunk-R7TZPC2K.js} +1 -1
- package/build/_chunks/{chunk-MBQCD5AC.js → chunk-RHUTFOWS.js} +1 -1
- package/build/_chunks/{chunk-BFHCHIY3.js → chunk-RMTT4FOG.js} +1 -1
- package/build/_chunks/{chunk-7W7ZXZDB.js → chunk-RSZUTATX.js} +1 -1
- package/build/_chunks/{chunk-VSVL2PNY.js → chunk-RW3NBL6C.js} +1 -1
- package/build/_chunks/{chunk-M2OAS36B.js → chunk-RWIFX3JL.js} +1 -1
- package/build/_chunks/{chunk-QCMIRJFM.js → chunk-S2VISI6Z.js} +1 -1
- package/build/_chunks/{chunk-DLGM747U.js → chunk-TKEWLZ3T.js} +1 -1
- package/build/_chunks/{chunk-2GUSQI3N.js → chunk-TNJNIJJH.js} +1 -1
- package/build/_chunks/{chunk-FFTRYAHQ.js → chunk-TNV4RSI6.js} +1 -1
- package/build/_chunks/{chunk-WAQHJCE2.js → chunk-UC7E3QT2.js} +1 -1
- package/build/_chunks/{chunk-T3XQWHTK.js → chunk-UJ4IYIJH.js} +1 -1
- package/build/_chunks/{chunk-H7HCLGNO.js → chunk-UJ5BJK35.js} +1 -1
- package/build/_chunks/{chunk-S3OR26U4.js → chunk-ULE5G4WB.js} +1 -1
- package/build/_chunks/{chunk-NFHZQEUH.js → chunk-VB7FCFAH.js} +1 -1
- package/build/_chunks/{chunk-3VUNIEDW.js → chunk-VSJHH432.js} +1 -1
- package/build/_chunks/{chunk-JZCM7T3M.js → chunk-WLBPY6QG.js} +1 -1
- package/build/_chunks/{chunk-TAZ3Z23V.js → chunk-X2IIYK74.js} +1 -1
- package/build/_chunks/{chunk-5DQPJCQP.js → chunk-XEEGI3DA.js} +1 -1
- package/build/_chunks/{chunk-AMHTC5C2.js → chunk-YLDK4XKQ.js} +1 -1
- package/build/_chunks/{chunk-UPUPMXR3.js → chunk-YYWTZ25R.js} +1 -1
- package/build/_chunks/{chunk-2VCDJEGW.js → chunk-Z66FPFEW.js} +1 -1
- package/build/_chunks/{chunk-VH2A4PRP.js → chunk-ZGLDEF2J.js} +1 -1
- package/build/components/AccountDropdown/index.js +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/ActivityAreaChart/index.js +1 -1
- package/build/components/Amount/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/AmountStatusChip/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AuthenticationTypeChip/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BetaBanner/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/CardEmptyState/index.js +1 -1
- package/build/components/Chip/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/CircularProgressWithLabel/index.js +1 -1
- package/build/components/Collapse/index.js +1 -1
- package/build/components/ColorPicker/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/CountryFlag/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/Dialog/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/DisplayAmount/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/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FieldFeedback/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IOSSwitch/index.js +1 -1
- package/build/components/Icon/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/Input/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/InputNumber/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/Menu/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/NoInternet/index.js +1 -1
- package/build/components/OpenFileInNewTab/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/RadioGroup/type.d.ts +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RemoteFallback/index.js +1 -1
- package/build/components/ResizableHeightInput/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/ScrollLoader/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Slider/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusChip/index.js +1 -1
- package/build/components/StatusChipWithCopy/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/Toaster/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +4 -2
- 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/Widget/index.js +1 -1
- package/build/components/Window/index.js +1 -1
- package/build/components/WindowAppIcon/index.js +1 -1
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +1 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/RadioButton/style.d.ts +5 -3
- package/build/components/primitives/RadioButton/type.d.ts +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-2B3IVXKZ.js +0 -1
- package/build/_chunks/chunk-6ZEXMPHP.js +0 -1
- package/build/_chunks/chunk-AJI6KFNE.js +0 -1
- package/build/_chunks/chunk-I56F47SX.js +0 -1
- package/build/_chunks/chunk-INGR3ES7.js +0 -1
- package/build/_chunks/chunk-LX3FZMBC.js +0 -1
- package/build/_chunks/chunk-P2ESF6CK.js +0 -1
- package/build/_chunks/chunk-PM76UI3C.js +0 -2
- package/build/_chunks/chunk-PWJAM3H7.js +0 -1
- package/build/_chunks/chunk-QQYR3XD5.js +0 -2
- package/build/_chunks/chunk-R3NBSKNX.js +0 -2
- package/build/_chunks/chunk-TTB3CTPJ.js +0 -1
- package/build/_chunks/chunk-TVAZADLI.js +0 -1
- package/build/_chunks/chunk-UKJ66LPD.js +0 -1
- package/build/components/RadioButton/RadioButton.d.ts +0 -8
- package/build/components/RadioButton/index.d.ts +0 -2
- package/build/components/RadioButton/index.js +0 -1
- package/build/components/RadioButton/style.d.ts +0 -27
- package/build/components/RadioButton/type.d.ts +0 -12
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {kc,yc,Zb,xa as xa$1,jc,ab}from'./chunk-RBCDAZB4.js';import {forwardRef,memo,useId,createElement,useState,useCallback,useMemo,Children,useEffect,useRef}from'react';import J from'@mui/material/Box';import La,{circularProgressClasses}from'@mui/material/CircularProgress';import Pa from'@mui/material/ButtonBase';import {styled,useTheme,alpha}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import Me from'@mui/material/SvgIcon';import Ea from'@mui/material/Checkbox';import Wa from'@mui/material/FormControlLabel';import Ka from'@mui/material/Switch';import Ya from'@mui/material/Typography';import rs from'@mui/material/Radio';import xs,{tooltipClasses}from'@mui/material/Tooltip';import Ss from'@mui/material/Skeleton';import vs from'@mui/material/Avatar';import Fs from'@mui/material/Divider';import Ws from'@mui/material/Collapse';import {createPortal}from'react-dom';import In,{SliderThumb}from'@mui/material/Slider';import Fn from'@mui/material/FormControl';import zn from'@mui/material/InputLabel';import Rn from'@mui/material/Input';import Vn from'@mui/material/InputBase';import Un from'@mui/material/Accordion';import Gn from'@mui/material/AccordionDetails';import _n from'@mui/material/AccordionSummary';import ei from'@mui/material/Popper';import ci from'@mui/material/DialogActions';import fi from'@mui/material/DialogTitle';import ii from'@mui/material/Dialog';import pi from'@mui/material/DialogContent';import {LazyLoadImage}from'react-lazy-load-image-component';import Oi from'@mui/material/Stack';var E="os-shared-Button",k={root:`${E}-root`,content:`${E}-content`,startIcon:`${E}-startIcon`,endIcon:`${E}-endIcon`,loading:`${E}-loading`,loadingSpinner:`${E}-loadingSpinner`},ao={sm:{height:24,padding:"8px 16px",fontSize:"10px"},md:{height:32,minWidth:75,padding:"8px 18px",fontSize:"11px"},lg:{height:40,padding:"8px 32px",fontSize:"12px"}},so={sm:12,md:12,lg:14};var no=styled(Pa,{shouldForwardProp:e=>e!=="$variant"&&e!=="$size"&&e!=="$fullWidth"&&e!=="$isLoading"&&e!=="$hasIcon"})(({theme:e,$variant:o="primary",$size:t="md",$fullWidth:r,$isLoading:a,$hasIcon:s})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"8px",borderRadius:"4px",lineHeight:"100%",textTransform:"capitalize",whiteSpace:"nowrap",position:"relative",cursor:a?"not-allowed":"pointer",transition:"background-color 0.15s ease, opacity 0.15s ease",...ao[t],fontWeight:t==="sm"?e.typography.fontWeightBold:e.typography.fontWeightBolder??700,...r&&{width:"100%"},...s&&!r&&{width:"auto",minWidth:0},...o==="primary"&&{background:e.palette.info.dark,color:e.palette.common.white,"&:hover:not(:disabled)":{backgroundColor:"#1a78bb"}},...o==="secondary"&&{backgroundColor:e.palette.common.white,color:e.palette.grey[700],border:`1px solid ${e.palette.divider}`,"&:hover:not(:disabled)":{backgroundColor:e.palette.grey[100]}},...o==="ghost"&&{backgroundColor:"transparent",color:e.palette.info.dark,"&:hover:not(:disabled)":{backgroundColor:e.palette.info.light}},...o==="danger"&&{backgroundColor:e.palette.error.main,color:e.palette.common.white,"&:hover:not(:disabled)":{backgroundColor:e.palette.error.light}},"&.Mui-disabled":{opacity:.5}}));var po=forwardRef(({children:e,variant:o="primary",size:t="md",isLoading:r=false,startIcon:a,endIcon:s,fullWidth:p=false,disabled:i,className:l,sx:m,...d},c)=>jsxs(no,{ref:c,className:kc(k.root,l),$variant:o,$size:t,$fullWidth:p,$isLoading:r,$hasIcon:!!a||!!s||r,disabled:i||r,"data-testid":"Button",sx:m,...d,children:[jsxs(J,{component:"span",className:k.content,sx:{display:"inline-flex",alignItems:"center",gap:"inherit",visibility:r?"hidden":"visible"},children:[a&&jsx(J,{component:"span",className:k.startIcon,sx:{display:"inline-flex",alignItems:"center"},children:a}),e,s&&jsx(J,{component:"span",className:k.endIcon,sx:{display:"inline-flex",alignItems:"center"},children:s})]}),r&&jsx(J,{component:"span",className:k.loading,sx:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center"},children:jsx(La,{className:k.loadingSpinner,size:so[t],color:"inherit"})})]}));po.displayName="Button";var lo=memo(po);var Fa="os-shared-Icon",ee={root:`${Fa}-root`};var mo=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(mo,{className:kc(ee.root,e),sx:o,"data-testid":"Icon",...t,ref:r}));co.displayName="Icon";var fo=memo(co);var Te="os-shared-Checkbox",$={root:`${Te}-root`,control:`${Te}-control`,label:`${Te}-label`};var yo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs(Me,{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})]})},uo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx(Me,{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"})})},xo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsxs(Me,{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 ho=styled(Ea)(({theme:e})=>({padding:e.spacing(.5),"&:hover":{backgroundColor:"transparent"}})),bo=styled(Wa)(({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 So=forwardRef(({label:e,labelPlacement:o="end",disabled:t,sx:r,className:a,...s},p)=>{let i=yc(useId(),"checkbox"),l=jsx(ho,{id:i,ref:p,disableRipple:true,disabled:t,checkedIcon:jsx(yo,{disabled:t}),icon:jsx(uo,{disabled:t}),indeterminateIcon:jsx(xo,{disabled:t}),"data-testid":"Checkbox",className:kc(e?$.control:$.root,e?void 0:a),sx:e?void 0:r,...s});return e?jsx(bo,{className:kc($.root,a),sx:r,control:l,label:e,labelPlacement:o,disabled:t,componentsProps:{typography:{className:$.label}}}):l});So.displayName="Checkbox";var No=memo(So);var Za="os-shared-Switch",oe={root:`${Za}-root`};var ko=styled(Ka)(({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 wo=forwardRef(({className:e,sx:o,...t},r)=>jsx(ko,{ref:r,className:kc(oe.root,e),sx:o,"data-testid":"Switch",focusVisibleClassName:".Mui-focusVisible",disableRipple:true,...t}));wo.displayName="Switch";var Io=memo(wo);var Xa="os-shared-Typography",te={root:`${Xa}-root`};var Bo=styled(Ya)(({theme:e})=>({color:e.palette.text.primary}));var vo=forwardRef(({variant:e="body1",weight:o,isTruncated:t=false,isUppercase:r=false,className:a,sx:s,...p},i)=>{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,c=Array.isArray(s)?s:[s];return jsx(Bo,{ref:i,className:kc(te.root,a),variant:e,sx:[d!==void 0&&{fontWeight:d},t&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r&&{textTransform:"uppercase"},...c],"data-testid":"Typography",...p})});vo.displayName="Typography";var Po=memo(vo);var ts="os-shared-RadioButton",re={root:`${ts}-root`},To={sm:{iconSize:15,maxWidth:"24px",muiSize:"small"},md:{iconSize:18,maxWidth:"28px",muiSize:"medium"},lg:{iconSize:20,maxWidth:"32px",muiSize:"medium"}};var as=styled("span")(()=>({borderRadius:"50%",width:"12px",height:"12px",boxSizing:"border-box",boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)"})),Mo=styled(as)(({theme:e})=>({backgroundColor:e.palette.info.dark,"&::before":{display:"block",width:"12px",height:"12px",backgroundColor:e.palette.info.dark,borderRadius:"50%",backgroundImage:`radial-gradient(${e.palette.common.white},${e.palette.common.white} 28%,transparent 32%)`,content:'""'}})),$o=styled(rs,{shouldForwardProp:e=>e!=="$iconSize"&&e!=="$checkedColor"&&e!=="$disabledColor"&&e!=="$hoverColor"&&e!=="$maxWidth"})(({theme:e,$iconSize:o,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:s})=>({"& .MuiSvgIcon-root":{fontSize:o},maxWidth:s,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 Lo(e="sm"){return To[e]}var zo=forwardRef(({size:e="sm",checkedIcon:o,checkedColor:t,disabledColor:r,hoverColor:a,iconSize:s,className:p,sx:i,disableRipple:l=true,...m},d)=>{let c=Lo(e);return jsx($o,{ref:d,className:kc(re.root,p),"data-testid":"RadioButton",size:c.muiSize,disableRipple:l,checkedIcon:o??jsx(Mo,{}),$iconSize:s??c.iconSize,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:c.maxWidth,sx:i,...m})});zo.displayName="RadioButton";var Ro=memo(zo);var ae="os-shared-CircularProgress",L={root:`${ae}-root`,progress:`${ae}-progress`,labelOverlay:`${ae}-labelOverlay`,labelText:`${ae}-labelText`};var Do=styled(La)(({theme:e})=>({color:e.palette.common.blue??"#147DC5",background:alpha(e.palette.info.dark,.05),borderRadius:"50%",[`& .${circularProgressClasses.circle}`]:{strokeLinecap:"round"}})),Eo=styled(J)(()=>({position:"relative",display:"inline-flex"})),Wo=styled(J)(()=>({top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"})),Ho=styled(Ya)(({theme:e})=>({fontSize:e.typography.fontSize,fontWeight:e.typography.fontWeightBolder??700,color:"#3B4152"}));var Vo=forwardRef(({variant:e="indeterminate",hasLabel:o=true,value:t,className:r,sx:a,...s},p)=>{let i=e==="determinate"&&o;return jsxs(Eo,{className:kc(L.root,r),sx:a,"data-testid":"CircularProgress",children:[jsx(Do,{ref:p,variant:e,value:t,className:L.progress,...s}),i&&jsx(Wo,{className:L.labelOverlay,children:jsx(Ho,{className:L.labelText,variant:"caption",color:"text.secondary",children:`${Math.round(t??0)}%`})})]})});Vo.displayName="CircularProgress";var Oo=memo(Vo);var ys="os-shared-Tooltip",ne={wrapper:`${ys}-wrapper`};var jo=styled(({className:e,...o})=>createElement(xs,{...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 Go({className:e,title:o,placement:t="top",children:r,wrapperProps:a,sx:s,...p}){return jsx(jo,{className:e,title:o,placement:t,arrow:true,sx:s,...p,children:jsx(J,{display:"flex",alignItems:"center",className:ne.wrapper,...a,children:r})})}Go.displayName="Tooltip";var _o=memo(Go);var bs="os-shared-Skeleton",ie={root:`${bs}-root`},Xo="rounded",Yo=16;var qo=styled(Ss)(()=>({}));var Jo=forwardRef(({className:e,sx:o,variant:t=Xo,height:r=Yo,...a},s)=>jsx(qo,{ref:s,className:kc(ie.root,e),sx:o,"data-testid":"Skeleton",variant:t,height:r,...a}));Jo.displayName="Skeleton";var Qo=memo(Jo);var Bs="os-shared-Avatar",pe={root:`${Bs}-root`},et={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 ot=styled(vs,{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:o="md"})=>{let{dimension:t,fontSize:r}=et[o];return {width:t,height:t,fontSize:r,fontWeight:e.typography.fontWeightBold,backgroundColor:e.palette.info.dark,color:e.palette.common.white}});var tt=forwardRef(({className:e,sx:o,size:t="md",shape:r="circular",...a},s)=>jsx(ot,{ref:s,className:kc(pe.root,e),sx:o,"data-testid":"Avatar",$size:t,variant:r,...a}));tt.displayName="Avatar";var rt=memo(tt);var Ls="os-shared-Divider",le={root:`${Ls}-root`};var at=styled(Fs)(()=>({}));var st=forwardRef(({className:e,sx:o,orientation:t="horizontal",...r},a)=>jsx(at,{ref:a,className:kc(le.root,e),sx:o,"data-testid":"Divider",orientation:t,...r}));st.displayName="Divider";var nt=memo(st);var Es="os-shared-Collapse",me={root:`${Es}-root`},it=true,pt=300;var lt=styled(Ws)(()=>({}));var mt=forwardRef(({className:e,sx:o,children:t,unmountOnExit:r=it,timeout:a=pt,...s},p)=>jsx(lt,{ref:p,className:kc(me.root,e),sx:o,"data-testid":"Collapse",unmountOnExit:r,timeout:a,...s,children:t}));mt.displayName="Collapse";var dt=memo(mt);var Ks="os-shared-Badge",de={root:`${Ks}-root`},ct={primary:"#1976d2",secondary:"#f50057",neutral:"#656565",gray:"#CFCFCF",orange:"#FFD503"},ft=["primary","secondary","neutral","dark"];var Gs={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},_s={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 Xs(e,o){let t=ct[e];return t||(Gs[e]?.(o)??o.palette.common.white)}function Ys(e,o){return ft.includes(e)?o.palette.common.white:_s[e]?.(o)??o.palette.common.white}var yt=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:Xs(o,e),color:Ys(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 ut=forwardRef(({className:e,sx:o,color:t="default",compact:r,round:a,pointer:s,children:p,...i},l)=>jsx(yt,{ref:l,className:kc(de.root,e),sx:o,"data-testid":"Badge",$color:t,$compact:r,$round:a,$pointer:s,...i,children:p}));ut.displayName="Badge";var xt=memo(ut);var en="os-shared-Backdrop",ce={root:`${en}-root`};var gt=styled(J)(({theme:e})=>({position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:999,backgroundColor:alpha(e.palette.common.black,.3)}));var Ct=forwardRef(({className:e,sx:o,open:t=true,onClose:r,onClick:a,...s},p)=>{if(!t)return null;let i=l=>{r?.(),a?.(l);};return createPortal(jsx(gt,{ref:p,className:kc(ce.root,e),sx:o,"data-testid":"Backdrop",onClick:i,...s}),document.body)});Ct.displayName="Backdrop";var ht=memo(Ct);var fe="os-shared-CopyButton",B={root:`${fe}-root`,icon:`${fe}-icon`,copyIcon:`${fe}-copyIcon`,copiedIcon:`${fe}-copiedIcon`},bt=2e3,St=200;var wt=e=>{let{palette:o}=useTheme();return jsx(Me,{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"})})})},It=e=>{let{palette:o}=useTheme();return jsx(Me,{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 vt=styled("span")({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,flexShrink:0,cursor:"pointer",verticalAlign:"middle"}),ze=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 ${St}ms ease`}));var Pt=forwardRef(({className:e,sx:o,text:t,feedbackMs:r=bt,onClick:a,...s},p)=>{let[i,l]=useState(false),m=d=>{d.stopPropagation(),ab(t),l(true),setTimeout(()=>l(false),r),a?.(d);};return jsxs(vt,{ref:p,className:kc(B.root,e),sx:o,role:"button",tabIndex:0,"data-testid":"CopyButton",onClick:m,...s,children:[jsx(ze,{className:kc(B.icon,B.copyIcon),$visible:!i,children:jsx(wt,{})}),jsx(ze,{className:kc(B.icon,B.copiedIcon),$visible:i,children:jsx(It,{})})]})});Pt.displayName="CopyButton";var Tt=memo(Pt);var Re="os-shared-ProgressBar",H={root:`${Re}-root`,fill:`${Re}-fill`,text:`${Re}-text`};var $t=styled(J,{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"}})),Lt=styled(J,{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)}})),Ft=styled(Ya,{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 Rt=forwardRef(({className:e,sx:o,value:t},r)=>{let a=!Number.isInteger(t);return jsx($t,{ref:r,className:kc(H.root,e),sx:o,"data-testid":"ProgressBar",$value:t,$isDecimal:a,children:jsx(Lt,{className:H.fill,$value:t,children:jsxs(Ft,{className:H.text,$value:t,variant:"caption",children:[Number(t.toFixed(2)),"%"]})})})});Rt.displayName="ProgressBar";var At=memo(Rt);var xe="os-shared-Chip",v={root:`${xe}-root`,text:`${xe}-text`,copyButton:`${xe}-copyButton`,icon:`${xe}-icon`},Dt=2e3,De=150;var Ht=e=>{let{palette:o}=useTheme();return jsx(Me,{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"})})})},Vt=e=>{let{palette:o}=useTheme();return jsx(Me,{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 Ce=styled(J,{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"}}})),Ee=styled(J)({textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto"}),Zt=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 ${De}ms ease`,"&:hover":{opacity:1}})),We=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 ${De}ms ease`}));var Kt=forwardRef(({className:e,sx:o,children:t,icon:r,variant:a="text",disabled:s=false,isSelected:p=false,copyText:i,unknownText:l="Unknown",disableAnimation:m=false,...d},c)=>{let[y,u]=useState(false),g=x=>{x.stopPropagation(),i&&(ab(i),u(true),setTimeout(()=>u(false),Dt));},C={$variant:a,$hasIcon:r!=null,$isSelected:p,$disableAnimation:m},f=kc(v.root,e,`CustomVariant_${a}`),N=[s?{cursor:"not-allowed",opacity:.5}:{},...Array.isArray(o)?o:o?[o]:[]];return t?i?jsxs(Ce,{ref:c,className:f,sx:[{gap:"4px"},...N],"data-testid":"Chip",...C,...d,children:[jsx(Ee,{className:v.text,"data-is-arabic":typeof t=="string"&&Zb(t),children:t}),jsxs(Zt,{className:v.copyButton,role:"button",tabIndex:0,"aria-label":y?"copied":"copy","data-testid":"ChipCopyButton",$copied:y,onClick:g,children:[jsx(We,{$visible:!y,children:jsx(Ht,{})}),jsx(We,{$visible:y,children:jsx(Vt,{})})]})]}):jsxs(Ce,{ref:c,className:f,sx:N,"data-testid":"Chip",...C,...d,children:[r!=null&&jsx("span",{className:v.icon,children:r}),jsx(Ee,{className:v.text,children:t})]}):jsx(Ce,{className:f,sx:N,"data-testid":"Chip",...C,...d,children:l})});Kt.displayName="Chip";var jt=memo(Kt);var Ve="os-shared-Slider",T={root:`${Ve}-root`,thumb:`${Ve}-thumb`,thumbIcon:`${Ve}-thumbIcon`},Oe=["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 Ut=e=>{let{palette:o}=useTheme();return jsx(Me,{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 Gt=styled(In)(({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:Oe,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:Oe}},[`& .${T.thumbIcon}`]:{width:"5px",height:"8px",pointerEvents:"none"}}));function $n({children:e,className:o,...t}){return jsxs(SliderThumb,{className:kc(T.thumb,o),...t,children:[e,jsx(Ut,{className:T.thumbIcon})]})}var _t=forwardRef(({className:e,sx:o,value:t,min:r,max:a,step:s,disabled:p,onChange:i,slots:l,...m},d)=>{let c=useCallback((y,u)=>{i(u);},[i]);return jsx(Gt,{ref:d,className:kc(T.root,e),sx:o,"data-testid":"Slider",value:t,min:r,max:a,step:s,disabled:p,onChange:c,...m,slots:{thumb:$n,...l}})});_t.displayName="Slider";var Xt=memo(_t);var Ze="os-shared-Input",O={root:`${Ze}-root`,label:`${Ze}-label`,input:`${Ze}-input`},qt={sm:28,md:32,labelled:40},Jt=["e","E","+","-"],Qt=/^[0-9.]$/,er=xa$1();var or=(e,o)=>qt[e?"labelled":o],tr=styled(Rn,{shouldForwardProp:e=>!["$hasLabel","$hideArrows","$size"].includes(e)})(({theme:e,$hasLabel:o=false,$hideArrows:t=false,$size:r="md"})=>({height:or(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}}})),rr=styled(zn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),ar=styled(Fn,{shouldForwardProp:e=>!["$hasLabel","$size"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$size:s="md"})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",height:or(a,s),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 nr=forwardRef(({label:e,size:o="md",error:t=false,disabled:r=false,fullWidth:a=false,placeholder:s,hideArrows:p=false,type:i,id:l,className:m,sx:d,onKeyDown:c,onWheel:y,...u},g)=>{let C=!!e,f=i==="number",S=x=>{let D=x.metaKey||x.ctrlKey||x.altKey,Pe=x.key.length===1;(Jt.includes(x.key)||er&&Pe&&!D&&!Qt.test(x.key))&&x.preventDefault(),c?.(x);},N=x=>{x.target instanceof HTMLElement&&x.target.blur(),y?.(x);};return jsxs(ar,{className:kc(O.root,m),sx:d,error:t,disabled:r,fullWidth:a,"data-testid":"Input",$hasLabel:C,$size:o,children:[C&&jsx(rr,{className:O.label,htmlFor:l,children:e}),jsx(tr,{id:l,inputRef:g,className:O.input,type:i,error:t,disabled:r,placeholder:s??void 0,"aria-invalid":t||void 0,disableUnderline:true,fullWidth:true,$hasLabel:C,$hideArrows:p,$size:o,onKeyDown:f?S:c,onWheel:f?N:y,...u})]})});nr.displayName="Input";var ir=memo(nr);var je="os-shared-Textarea",Z={root:`${je}-root`,label:`${je}-label`,textarea:`${je}-textarea`},Ue=20;var pr=styled(Vn,{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*Ue,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"}}})),lr=styled(zn)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),mr=styled(Fn,{shouldForwardProp:e=>!["$hasLabel","$minRows"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$minRows:s=3})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",minHeight:a?40+s*Ue: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 cr=forwardRef(({label:e,error:o=false,disabled:t=false,fullWidth:r=false,placeholder:a,minRows:s=3,maxRows:p,id:i,className:l,sx:m,...d},c)=>{let y=!!e;return jsxs(mr,{className:kc(Z.root,l),sx:m,error:o,disabled:t,fullWidth:r,"data-testid":"Textarea",$hasLabel:y,$minRows:s,children:[y&&jsx(lr,{className:Z.label,htmlFor:i,children:e}),jsx(pr,{id:i,inputRef:c,className:Z.textarea,multiline:true,minRows:s,maxRows:p,disabled:t,placeholder:a??void 0,"aria-invalid":o||void 0,fullWidth:true,$error:o,$hasLabel:y,$minRows:s,...d})]})});cr.displayName="Textarea";var fr=memo(cr);var F="os-shared-Accordion",b={root:`${F}-root`,summary:`${F}-summary`,content:`${F}-content`,labelStartAdornment:`${F}-labelStartAdornment`,labelContent:`${F}-labelContent`,labelEndAdornment:`${F}-labelEndAdornment`,expandIcon:`${F}-expandIcon`};var ur=()=>{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 gr=styled(Un)(({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"}})),Cr=styled(_n)(({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}})),hr=styled(Gn)(({theme:e})=>({padding:0,borderTop:`1px solid ${e.palette.divider}`})),br=styled(J)({display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)"}),Sr=styled(J)({minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});var wr=forwardRef(({expanded:e,defaultExpanded:o=false,onChange:t,label:r,content:a,labelStartAdornment:s,labelEndAdornment:p,slotProps:i={},disabled:l=false,expandIcon:m,className:d,sx:c,...y},u)=>{let g=e!==void 0,[C,f]=useState(o),S=g?e:C,N=(_i,eo)=>{g||f(eo),t?.(eo);},{showArrow:x=true,...D}=i.label??{},{className:Pe,sx:wa,...Ia}=i.root??{},Ba=m??(x?jsx(br,{component:"span",className:b.expandIcon,children:jsx(ur,{})}):null),va=jsxs(Fragment,{children:[s!=null&&jsx(J,{component:"span",className:b.labelStartAdornment,...i.labelStartAdornment,sx:jc({flexShrink:0},i.labelStartAdornment?.sx),children:s}),jsx(Sr,{component:"span",className:b.labelContent,...i.labelContent,sx:i.labelContent?.sx,children:r}),p!=null&&jsx(J,{component:"span",className:b.labelEndAdornment,...i.labelEndAdornment,sx:jc({flexShrink:0,marginLeft:"auto"},i.labelEndAdornment?.sx),children:p})]});return jsxs(gr,{ref:u,"data-testid":"Accordion",disabled:l,expanded:S,onChange:N,className:kc(b.root,d,Pe),sx:jc(c??{},wa),...Ia,...y,children:[jsx(Cr,{className:b.summary,expandIcon:Ba,"aria-expanded":S,...D,children:va}),jsx(hr,{className:b.content,...i.content,children:a})]})});wr.displayName="Accordion";var Ir=memo(wr);var Br="os-shared-Menu",_={popper:`${Br}-popper`,panel:`${Br}-panel`},vr=12;var Tr=styled(ei)({}),Mr=styled(J,{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 Lr=forwardRef(({open:e,anchorEl:o,children:t,placement:r,popperSx:a,panelProps:s,className:p,sx:i,...l},m)=>{let[d,c]=useState(false),u=useMemo(()=>Children.count(t),[t])>vr&&d,{onScroll:g,className:C,sx:f,...S}=s??{},N=useCallback(D=>{c((D.currentTarget.scrollTop??0)>0),g?.(D);},[g]),x=kc(_.panel,C,"MuiPopper-dropdown");return jsx(Tr,{ref:m,className:kc(_.popper,p),"data-testid":"Menu",open:e,anchorEl:o,placement:r??"bottom-start",sx:a,...l,children:jsx(Mr,{$showShadow:u,onScroll:N,className:x,sx:jc(i??{},f),...S,children:t})})});Lr.displayName="Menu";var Fr=memo(Lr);var be="os-shared-Dialog",R={root:`${be}-root`,title:`${be}-title`,content:`${be}-content`,actions:`${be}-actions`};var Rr=styled(ii)(({theme:e})=>({"& .MuiDialog-paper":{boxShadow:e.shadows[13],borderRadius:e.spacing(1)},"& .MuiModal-backdrop":{background:alpha(e.palette.common.black,.2)}})),Ar=styled(pi)(({theme:e})=>({padding:e.spacing(2)}));var Dr=forwardRef(({heading:e,actions:o,children:t,onClose:r,open:a,className:s,sx:p,...i},l)=>jsxs(Rr,{ref:l,"data-testid":"Dialog",open:a,onClose:r,className:kc(R.root,s),sx:p,...i,children:[e&&jsx(fi,{className:R.title,children:e}),jsx(Ar,{className:R.content,children:t}),o&&jsx(ci,{className:R.actions,children:o})]}));Dr.displayName="Dialog";var Er=memo(Dr);var Se="os-shared-MenuItem",M={root:`${Se}-root`,indicator:`${Se}-indicator`,content:`${Se}-content`,disabled:`${Se}-disabled`},A={unchecked:"unchecked",checked:"checked",indeterminate:"indeterminate"};var Hr=()=>{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})]})},Vr=()=>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"})}),Or=()=>{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 jr=styled(J,{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})),Xe=styled("span")({width:14,height:14,flexShrink:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center","& svg":{display:"block"}});function Ci(e,o){return o?A.indeterminate:e?A.checked:A.unchecked}var hi={[A.unchecked]:Vr,[A.checked]:Hr,[A.indeterminate]:Or};function bi(e,o,t){if(e===null)return null;if(e!==void 0)return jsx(Xe,{className:M.indicator,"aria-hidden":true,children:e});let r=Ci(o,t),a=hi[r];return jsx(Xe,{className:M.indicator,"aria-hidden":true,children:jsx(a,{})})}var Ur=forwardRef(({isSelected:e=false,isDisabled:o=false,isIndeterminate:t=false,startAdornment:r,onClick:a,children:s,className:p,sx:i,...l},m)=>{let d=kc(M.root,"menu-item",o&&M.disabled,p);return jsxs(jr,{ref:m,"data-testid":"MenuItem",className:d,sx:i,onClick:o?void 0:a,$isDisabled:o,...l,children:[bi(r,e,t),jsx("span",{className:M.content,children:s})]})});Ur.displayName="MenuItem";var Gr=memo(Ur);var _r="os-shared-ToggleButtons",X={root:`${_r}-root`,button:`${_r}-button`};var qr=styled(J)(({theme:e})=>({backgroundColor:e.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),ki=e=>({backgroundColor:e.palette.common.white,boxShadow:`0px 0px 3px 0px ${alpha(e.palette.common.black,.2)}`}),Jr=styled(J,{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?ki(e):{backgroundColor:"transparent",boxShadow:"none"}}));function ea({options:e,activeKey:o,onChange:t,containerProps:r,buttonProps:a,id:s,className:p,sx:i},l){let{className:m,sx:d,...c}=r??{},y=kc(X.root,p,m);return jsx(qr,{ref:l,id:s,"data-testid":"ToggleButtons",className:y,sx:jc(i??{},d),...c,children:e.map(u=>jsx(Jr,{className:X.button,$isActive:o===u.key,onClick:()=>t(u.key),...a,children:u.content},u.key))})}var Bi=forwardRef(ea);ea.displayName="ToggleButtons";var oa=memo(Bi);var vi="os-shared-LazyImage",ke={root:`${vi}-root`},ta={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 ra=styled(J)({display:"inline-flex",justifyContent:"center",alignItems:"center"});function Ie(e){return e!=null&&e in we}var Ri=LazyLoadImage,sa=forwardRef(({effect:e,wrapperProps:o,id:t,className:r,sx:a,placeholderSrc:s,...p},i)=>{let[l,m]=useState(Ie(e));if(useEffect(()=>{if(!Ie(e)){m(false);return}m(true),we[e]().finally(()=>{m(false);});},[e]),l)return null;let{className:d,sx:c,style:y,...u}=o??{},g=Ie(e)||!!s||y!=null;return jsx(ra,{component:"span",...u,className:kc(ke.root,d??r),sx:c!=null?jc(a??{},c):a,children:jsx(Ri,{...p,ref:i,effect:e,placeholderSrc:s,id:t,"data-testid":"LazyImage",wrapperProps:g?{style:{...ta,...y}}:void 0})})});sa.displayName="LazyImage";var na=memo(sa);var Ye="os-shared-FieldFeedback",j={root:`${Ye}-root`,icon:`${Ye}-icon`,message:`${Ye}-message`};var pa=({severity:e="error",...o})=>{let{palette:t}=useTheme(),r=e==="warning"?t.custom?.[500]??"#FF7A00":t.error.light;return jsx(Me,{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})})})},la=e=>jsx(Me,{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"})})}),ma=e=>{let{palette:o}=useTheme();return jsx(Me,{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 da(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 ca=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{backgroundColor:t}=da(e,o);return {display:"flex",alignItems:"flex-start",gap:"4px",minHeight:"32px",padding:"8px 12px",background:t,borderRadius:"0 0 4px 4px"}}),fa=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{textColor:t}=da(e,o);return {fontSize:"10px",lineHeight:"16px",display:"block",color:t,wordBreak:"break-word"}}),ya=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 Ei(e){return e!=null&&e!==""}function Wi(e){switch(e){case "success":return jsx(la,{});case "info":return jsx(ma,{});case "error":case "warning":return jsx(pa,{severity:e})}}var ua=forwardRef(({type:e="error",message:o,icon:t,className:r,sx:a},s)=>{if(!Ei(o))return null;let p=e;return jsxs(ca,{ref:s,"data-testid":"FieldFeedback",className:kc(j.root,r),sx:a,$feedbackType:p,children:[t??jsx(ya,{className:j.icon,children:Wi(p)}),jsx(fa,{className:j.message,$feedbackType:p,children:o})]})});ua.displayName="FieldFeedback";var xa=memo(ua);var Vi="os-shared-ScrollLoader",ve={root:`${Vi}-root`},ga=50;var Ca=styled(Oi)({overflow:"auto",height:"100%",maxHeight:"100%"});function Qe(e,o=ga){return e.scrollHeight-(e.scrollTop+e.clientHeight)<=o}var Na=forwardRef(({loadMoreItems:e,hasMore:o,isLoading:t=false,isFetchingNextPage:r,children:a,className:s,sx:p,id:i,...l},m)=>{let[d,c]=useState(false),y=useRef(e),u=useRef(null);y.current=e;let g=useCallback(()=>{o&&!r&&y.current();},[o,r]),C=useCallback(()=>{let f=u.current;f&&Qe(f)&&g();},[g]);return useEffect(()=>{let f=u.current;if(f)return f.addEventListener("scroll",C),()=>f.removeEventListener("scroll",C)},[C]),useEffect(()=>{let f=u.current;if(!f||t||d)return;let S=window.setTimeout(()=>{c(true),Qe(f)&&g();},1e3);return ()=>window.clearTimeout(S)},[t,g,d]),jsx(Ca,{ref:f=>{u.current=f,typeof m=="function"?m(f):m&&(m.current=f);},id:i,"data-testid":"ScrollLoader",className:kc(ve.root,s),sx:p,...l,children:a})});Na.displayName="ScrollLoader";var ka=memo(Na);
|
|
2
|
-
export{xa as $,ce as A,ht as B,B as C,Tt as D,H as E,At as F,v as G,jt as H,T as I,Xt as J,O as K,ir as L,Z as M,fr as N,b as O,Ir as P,_ as Q,Fr as R,R as S,Er as T,M as U,Gr as V,X as W,oa as X,ke as Y,na as Z,j as _,k as a,ve as aa,lo as b,ka as ba,ee as c,fo as d,$ as e,No as f,oe as g,Io as h,te as i,Po as j,re as k,Ro as l,L as m,Oo as n,ne as o,_o as p,ie as q,Qo as r,pe as s,rt as t,le as u,nt as v,me as w,dt as x,de as y,xt as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-TEGPKTJ6.js';import {yc,$b}from'./chunk-RBCDAZB4.js';import {yi,vk,ja,Ud,Qj,E,il,C,vb}from'./chunk-R3NBSKNX.js';import {useId,useMemo,useState,useCallback}from'react';import {useTranslation}from'react-i18next';import b from'@mui/material/Box';import V from'@mui/material/Popper';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var L=styled(b)(({theme:n})=>({background:n.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",minWidth:148,width:"max-content",marginTop:"8px"})),l=styled(b,{shouldForwardProp:n=>n!=="open"})(({theme:n,open:s})=>({display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"8px 8px 8px 12px",cursor:"pointer",fontSize:"11px",fontWeight:500,color:n.palette.text.primary,"&:hover":{boxShadow:n.shadows[3]},...s&&{boxShadow:n.shadows[3]}})),u=styled(b)(()=>({display:"flex",alignItems:"center",gap:"8px"})),d=styled("img")(()=>({width:16,height:16,objectFit:"contain"})),$=styled(b)(()=>({height:27,display:"flex",alignItems:"center",padding:"0 12px",fontFamily:"Tap Sans",fontWeight:500,fontSize:"11px",lineHeight:"100%",letterSpacing:"0%",color:"#8D8D94",pointerEvents:"none",userSelect:"none"}));var F={refund:il,flag:E,viewReceipt:Qj,viewApi:Ud,capture:ja,void:vk,clipboard:yi};var X=({anchorEl:n,onClose:s,actions:h=[],linkedActions:M=[]})=>{let v=yc(useId(),"actions-dropdown-menu"),{t:E}=useTranslation(),I=!!n,f=useMemo(()=>h.filter(e=>e.isShown!==false),[h]),g=useMemo(()=>M.filter(e=>e.isShown!==false),[M]);return I?jsxs(b,{id:v,"data-testid":"ActionsDropdownMenu",children:[jsx(a,{onClick:s}),jsx(V,{open:I,anchorEl:n,placement:"bottom-end",sx:{zIndex:1e3},children:jsxs(L,{children:[f.map((e,r)=>jsx(l,{onClick:p=>{p.stopPropagation(),e.onClick?.(p);},sx:r===f.length-1&&g.length>0?{borderBottom:"1px solid",borderColor:"divider"}:void 0,children:jsxs(u,{children:[jsx(d,{src:F[e.icon]??e.icon??C,alt:"action-icon"}),jsx("span",{children:e.label})]})},`direct-${r}`)),g.length>0&&jsx($,{children:E("linkedActions")}),g.map(({render:e,icon:r,label:p,onClick:T,onRightClick:i},c)=>{let m=e?.();return e&&!m?null:m?jsx(b,{children:m},`linked-${c}`):jsxs(l,{onClick:a=>{a.stopPropagation(),T?.(a),s();},onContextMenu:i?a=>{i(a);}:void 0,children:[jsxs(u,{children:[r&&jsx(d,{src:r,alt:"linked-action-icon"}),jsx("span",{children:p})]}),jsx("img",{src:vb,alt:""})]},`linked-${c}`)})]})})]}):null};var ne=({appCode:n,appIcon:s,appName:h,appInfo:M,menuItems:v})=>{let[E,I]=useState(null),f=!!E,g=useCallback(i=>{let c=i.currentTarget.firstElementChild;I(c);},[]),e=useCallback(()=>{I(null);},[]),r=useMemo(()=>v?.filter(({isShown:i=true})=>i),[v]);if(!r?.length)return null;let p=M?.iconUrl??s,T=$b(M?.name)??h;return jsxs(b,{onMouseEnter:g,onMouseLeave:e,children:[jsxs(l,{open:f,children:[jsxs(u,{children:[p&&jsx(d,{src:p,alt:"app"}),jsx("span",{children:T})]}),jsx("img",{src:vb,alt:""})]}),jsx(V,{open:f,anchorEl:E,placement:"left-start",sx:{zIndex:1301},children:jsx(L,{sx:{marginTop:0},children:r.map(({render:i,label:c,icon:m,onClick:a,onContextMenu:k},J)=>jsx(b,{children:i?.()??jsx(l,{onClick:C=>{C.stopPropagation(),a?.(C);},onContextMenu:k?C=>{k(C);}:void 0,children:jsxs(u,{children:[m&&jsx(d,{src:m,alt:"icon"}),jsx("span",{children:c})]})})},`app-${J}`))})})]})};export{X as a,ne as b};
|