@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.
Files changed (266) hide show
  1. package/build/_chunks/{chunk-JHIPGNC2.js → chunk-26M2HXR5.js} +1 -1
  2. package/build/_chunks/{chunk-RBCDAZB4.js → chunk-2CIV4TII.js} +1 -1
  3. package/build/_chunks/{chunk-JQ6FKHTQ.js → chunk-2U6YCW6N.js} +1 -1
  4. package/build/_chunks/{chunk-FXUDI6NO.js → chunk-2WHC5EPT.js} +1 -1
  5. package/build/_chunks/{chunk-4PJI6O5J.js → chunk-2YUYBTYF.js} +1 -1
  6. package/build/_chunks/{chunk-3LNOZKKV.js → chunk-3L2BA4XQ.js} +1 -1
  7. package/build/_chunks/{chunk-RS5TVJ7R.js → chunk-3VOBVZFJ.js} +1 -1
  8. package/build/_chunks/chunk-4DSO4G5S.js +1 -0
  9. package/build/_chunks/{chunk-ZFJ6GUPN.js → chunk-4IRFUOW5.js} +2 -2
  10. package/build/_chunks/{chunk-N3IRDIUC.js → chunk-4XDOS6NM.js} +1 -1
  11. package/build/_chunks/{chunk-NI7VGDQW.js → chunk-5ALWC7FS.js} +1 -1
  12. package/build/_chunks/{chunk-JVNJM6T6.js → chunk-6NNBWGIW.js} +1 -1
  13. package/build/_chunks/chunk-6OIXV5L2.js +1 -0
  14. package/build/_chunks/{chunk-TLZLKR7U.js → chunk-6ZDUY6EO.js} +1 -1
  15. package/build/_chunks/{chunk-DOT5ZDI2.js → chunk-767TZTOZ.js} +1 -1
  16. package/build/_chunks/chunk-77BF7TSG.js +1 -0
  17. package/build/_chunks/{chunk-ZHZNVM7Z.js → chunk-7OEJSZPG.js} +1 -1
  18. package/build/_chunks/{chunk-EF4ASBGX.js → chunk-7U4TEMF7.js} +1 -1
  19. package/build/_chunks/chunk-7UD2S336.js +1 -0
  20. package/build/_chunks/{chunk-BAKMLZI4.js → chunk-ABYPGA6A.js} +1 -1
  21. package/build/_chunks/{chunk-WXZAKC23.js → chunk-AVIDTGY5.js} +1 -1
  22. package/build/_chunks/{chunk-7DFD7WJS.js → chunk-BNWEQO2B.js} +1 -1
  23. package/build/_chunks/chunk-BXMBE224.js +1 -0
  24. package/build/_chunks/chunk-C6FBKUMX.js +1 -0
  25. package/build/_chunks/{chunk-G7NWZUZ3.js → chunk-CAV4XNQI.js} +1 -1
  26. package/build/_chunks/chunk-CO3EEXJQ.js +2 -0
  27. package/build/_chunks/{chunk-YPGVUZUZ.js → chunk-CWBSYHQB.js} +1 -1
  28. package/build/_chunks/{chunk-A453QUU2.js → chunk-DBKRFR7R.js} +1 -1
  29. package/build/_chunks/{chunk-EKMLYUWT.js → chunk-DLHTKK6K.js} +1 -1
  30. package/build/_chunks/chunk-DV5XS66I.js +2 -0
  31. package/build/_chunks/{chunk-4FNSHIAS.js → chunk-DXJJ34JD.js} +1 -1
  32. package/build/_chunks/{chunk-3UHLQWRW.js → chunk-DYLJN3W4.js} +1 -1
  33. package/build/_chunks/{chunk-TGKCKZOV.js → chunk-DYNS62II.js} +1 -1
  34. package/build/_chunks/{chunk-Y6KG2IWI.js → chunk-EH6DS7Z7.js} +1 -1
  35. package/build/_chunks/{chunk-XH5AY5UF.js → chunk-F44NMQ5K.js} +1 -1
  36. package/build/_chunks/{chunk-WZM4DBSN.js → chunk-F6UETIKM.js} +1 -1
  37. package/build/_chunks/{chunk-25H25Q54.js → chunk-FKYLAEBS.js} +1 -1
  38. package/build/_chunks/{chunk-ZZHAYV5P.js → chunk-FYOVM5SL.js} +1 -1
  39. package/build/_chunks/{chunk-UAHUS5PL.js → chunk-FZJGVE3N.js} +1 -1
  40. package/build/_chunks/{chunk-M5MYK5ZE.js → chunk-GIJKKRNG.js} +1 -1
  41. package/build/_chunks/{chunk-2Z4YOMWE.js → chunk-GIWRSAQ2.js} +1 -1
  42. package/build/_chunks/{chunk-EDJGLQW3.js → chunk-GWT72RF2.js} +1 -1
  43. package/build/_chunks/{chunk-OLRRHASW.js → chunk-GYI5NSQ5.js} +1 -1
  44. package/build/_chunks/{chunk-5ZAUKWVJ.js → chunk-H6HHXYRL.js} +1 -1
  45. package/build/_chunks/{chunk-IGIVQ5NH.js → chunk-HBTIZDBD.js} +1 -1
  46. package/build/_chunks/{chunk-B4AATE4F.js → chunk-HEVN6IWL.js} +1 -1
  47. package/build/_chunks/{chunk-JQRIG5FB.js → chunk-HIILTBHV.js} +2 -2
  48. package/build/_chunks/{chunk-KBMYESA4.js → chunk-JVVVLEUF.js} +1 -1
  49. package/build/_chunks/{chunk-6UOULENE.js → chunk-JYTLSEW2.js} +1 -1
  50. package/build/_chunks/chunk-K5MU74T4.js +1 -0
  51. package/build/_chunks/chunk-KCEYICHJ.js +2 -0
  52. package/build/_chunks/chunk-KCXHCJAA.js +1 -0
  53. package/build/_chunks/{chunk-47IKB4PU.js → chunk-KKIVDOOU.js} +1 -1
  54. package/build/_chunks/{chunk-CCQTVHAD.js → chunk-KPR7PEDZ.js} +1 -1
  55. package/build/_chunks/{chunk-2X2MNDCM.js → chunk-KW2A7ATU.js} +1 -1
  56. package/build/_chunks/{chunk-HJ4J56OP.js → chunk-KZZ4GNLK.js} +1 -1
  57. package/build/_chunks/{chunk-7H5XBVPX.js → chunk-L2RZBHC7.js} +1 -1
  58. package/build/_chunks/{chunk-QRGXADXK.js → chunk-LA3XKVYQ.js} +1 -1
  59. package/build/_chunks/chunk-LDLGBNMM.js +1 -0
  60. package/build/_chunks/{chunk-VSXBLD2E.js → chunk-M5XBR2HX.js} +1 -1
  61. package/build/_chunks/{chunk-KJ6NK75P.js → chunk-MDJ47T6T.js} +1 -1
  62. package/build/_chunks/{chunk-MYPSQEJ5.js → chunk-MINGPVVR.js} +1 -1
  63. package/build/_chunks/{chunk-IKUDFCXC.js → chunk-MVTU6CC5.js} +1 -1
  64. package/build/_chunks/{chunk-S4RT3VB6.js → chunk-N2Q6HRNZ.js} +1 -1
  65. package/build/_chunks/{chunk-LIIULUSD.js → chunk-N3FCB33M.js} +1 -1
  66. package/build/_chunks/{chunk-2AWDKWKY.js → chunk-NA72WEHU.js} +1 -1
  67. package/build/_chunks/{chunk-NP25LI2M.js → chunk-NBGDT62B.js} +1 -1
  68. package/build/_chunks/{chunk-TEGPKTJ6.js → chunk-NJFK5TAC.js} +1 -1
  69. package/build/_chunks/chunk-NTJZ733T.js +1 -0
  70. package/build/_chunks/{chunk-WXMVHEBR.js → chunk-NY3LCGE5.js} +1 -1
  71. package/build/_chunks/{chunk-WQXW2YTH.js → chunk-O2SPQA5J.js} +1 -1
  72. package/build/_chunks/{chunk-2VW4TETV.js → chunk-O5KFJKRT.js} +1 -1
  73. package/build/_chunks/{chunk-BU7IMNX6.js → chunk-OK6HCBL2.js} +1 -1
  74. package/build/_chunks/{chunk-54QYUSHQ.js → chunk-OMFYODPG.js} +1 -1
  75. package/build/_chunks/{chunk-CBZTAI7O.js → chunk-OVUUOEZN.js} +1 -1
  76. package/build/_chunks/{chunk-QBAIMI2A.js → chunk-P2DG6H76.js} +1 -1
  77. package/build/_chunks/{chunk-ZI2427WJ.js → chunk-PB4RPRX3.js} +1 -1
  78. package/build/_chunks/{chunk-CHBYSMFC.js → chunk-PPC5EHKW.js} +1 -1
  79. package/build/_chunks/{chunk-RZDTMTLU.js → chunk-PUIZRXVZ.js} +1 -1
  80. package/build/_chunks/{chunk-HA4UOJIP.js → chunk-PVUEYH5J.js} +1 -1
  81. package/build/_chunks/{chunk-AWXRPX7U.js → chunk-QRU7WDPB.js} +2 -2
  82. package/build/_chunks/{chunk-65ROHES3.js → chunk-R4GFBLY3.js} +1 -1
  83. package/build/_chunks/{chunk-XONJTPVT.js → chunk-R7TZPC2K.js} +1 -1
  84. package/build/_chunks/{chunk-MBQCD5AC.js → chunk-RHUTFOWS.js} +1 -1
  85. package/build/_chunks/{chunk-BFHCHIY3.js → chunk-RMTT4FOG.js} +1 -1
  86. package/build/_chunks/{chunk-7W7ZXZDB.js → chunk-RSZUTATX.js} +1 -1
  87. package/build/_chunks/{chunk-VSVL2PNY.js → chunk-RW3NBL6C.js} +1 -1
  88. package/build/_chunks/{chunk-M2OAS36B.js → chunk-RWIFX3JL.js} +1 -1
  89. package/build/_chunks/{chunk-QCMIRJFM.js → chunk-S2VISI6Z.js} +1 -1
  90. package/build/_chunks/{chunk-DLGM747U.js → chunk-TKEWLZ3T.js} +1 -1
  91. package/build/_chunks/{chunk-2GUSQI3N.js → chunk-TNJNIJJH.js} +1 -1
  92. package/build/_chunks/{chunk-FFTRYAHQ.js → chunk-TNV4RSI6.js} +1 -1
  93. package/build/_chunks/{chunk-WAQHJCE2.js → chunk-UC7E3QT2.js} +1 -1
  94. package/build/_chunks/{chunk-T3XQWHTK.js → chunk-UJ4IYIJH.js} +1 -1
  95. package/build/_chunks/{chunk-H7HCLGNO.js → chunk-UJ5BJK35.js} +1 -1
  96. package/build/_chunks/{chunk-S3OR26U4.js → chunk-ULE5G4WB.js} +1 -1
  97. package/build/_chunks/{chunk-NFHZQEUH.js → chunk-VB7FCFAH.js} +1 -1
  98. package/build/_chunks/{chunk-3VUNIEDW.js → chunk-VSJHH432.js} +1 -1
  99. package/build/_chunks/{chunk-JZCM7T3M.js → chunk-WLBPY6QG.js} +1 -1
  100. package/build/_chunks/{chunk-TAZ3Z23V.js → chunk-X2IIYK74.js} +1 -1
  101. package/build/_chunks/{chunk-5DQPJCQP.js → chunk-XEEGI3DA.js} +1 -1
  102. package/build/_chunks/{chunk-AMHTC5C2.js → chunk-YLDK4XKQ.js} +1 -1
  103. package/build/_chunks/{chunk-UPUPMXR3.js → chunk-YYWTZ25R.js} +1 -1
  104. package/build/_chunks/{chunk-2VCDJEGW.js → chunk-Z66FPFEW.js} +1 -1
  105. package/build/_chunks/{chunk-VH2A4PRP.js → chunk-ZGLDEF2J.js} +1 -1
  106. package/build/components/AccountDropdown/index.js +1 -1
  107. package/build/components/ActionMenu/index.js +1 -1
  108. package/build/components/ActionsDropdownMenu/index.js +1 -1
  109. package/build/components/ActiveFilterChip/index.js +1 -1
  110. package/build/components/ActivityAreaChart/index.js +1 -1
  111. package/build/components/Amount/index.js +1 -1
  112. package/build/components/AmountConversionFilter/index.js +1 -1
  113. package/build/components/AmountInput/index.js +1 -1
  114. package/build/components/AmountSlider/index.js +1 -1
  115. package/build/components/AmountStatusChip/index.js +1 -1
  116. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  117. package/build/components/AppServices/index.js +1 -1
  118. package/build/components/AppServicesBar/index.js +1 -1
  119. package/build/components/AppWindowWrapper/index.js +1 -1
  120. package/build/components/AuthenticationTypeChip/index.js +1 -1
  121. package/build/components/Autocomplete/index.js +1 -1
  122. package/build/components/BetaBanner/index.js +1 -1
  123. package/build/components/BrandLogo/index.js +1 -1
  124. package/build/components/Button/index.js +1 -1
  125. package/build/components/Calender/index.js +1 -1
  126. package/build/components/CardEmptyState/index.js +1 -1
  127. package/build/components/Chip/index.js +1 -1
  128. package/build/components/ChipStack/index.js +1 -1
  129. package/build/components/CircularProgressWithLabel/index.js +1 -1
  130. package/build/components/Collapse/index.js +1 -1
  131. package/build/components/ColorPicker/index.js +1 -1
  132. package/build/components/ColumnViews/index.js +1 -1
  133. package/build/components/ConfirmDialog/index.js +1 -1
  134. package/build/components/CopyImage/index.js +1 -1
  135. package/build/components/CountryFilter/index.js +1 -1
  136. package/build/components/CountryFlag/index.js +1 -1
  137. package/build/components/CurrencyAmount/index.js +1 -1
  138. package/build/components/CurrencyFilter/index.js +1 -1
  139. package/build/components/CurrencySymbol/index.js +1 -1
  140. package/build/components/CustomBackdrop/index.js +1 -1
  141. package/build/components/Customer/index.js +1 -1
  142. package/build/components/DateFilter/index.js +1 -1
  143. package/build/components/DeviceIcon/index.js +1 -1
  144. package/build/components/Dialog/index.js +1 -1
  145. package/build/components/Discount/index.js +1 -1
  146. package/build/components/DisplayAmount/index.js +1 -1
  147. package/build/components/Dropdown2/index.js +1 -1
  148. package/build/components/DropdownButton/index.js +1 -1
  149. package/build/components/DropdownMenu/index.js +1 -1
  150. package/build/components/Error/index.js +1 -1
  151. package/build/components/ErrorToast/index.js +1 -1
  152. package/build/components/ExpandableSideBar/index.js +1 -1
  153. package/build/components/FieldFeedback/index.js +1 -1
  154. package/build/components/FileInputPreview/index.js +1 -1
  155. package/build/components/FilePreview/index.js +1 -1
  156. package/build/components/FileUpload/index.js +1 -1
  157. package/build/components/FileUploader/index.js +1 -1
  158. package/build/components/FilterDropdown/index.js +1 -1
  159. package/build/components/Filters/index.js +1 -1
  160. package/build/components/FlippingCard/index.js +1 -1
  161. package/build/components/HeatMap/index.js +1 -1
  162. package/build/components/IOSSwitch/index.js +1 -1
  163. package/build/components/Icon/index.js +1 -1
  164. package/build/components/IconWithBadge/index.js +1 -1
  165. package/build/components/Input/index.js +1 -1
  166. package/build/components/InputBase/index.js +1 -1
  167. package/build/components/InputNumber/index.js +1 -1
  168. package/build/components/Inputs/index.js +1 -1
  169. package/build/components/JSONViewer/index.js +1 -1
  170. package/build/components/LanguageDropdown/index.js +1 -1
  171. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  172. package/build/components/ListColumnFilter/index.js +1 -1
  173. package/build/components/ListHeader/index.js +1 -1
  174. package/build/components/ListLayout/index.js +1 -1
  175. package/build/components/Loader/index.js +1 -1
  176. package/build/components/MFWidgetLoader/index.js +1 -1
  177. package/build/components/MaskedText/index.js +1 -1
  178. package/build/components/Menu/index.js +1 -1
  179. package/build/components/MenuItem/index.js +1 -1
  180. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  181. package/build/components/MerchantLogo/index.js +1 -1
  182. package/build/components/MerchantsDropdown/index.js +1 -1
  183. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  184. package/build/components/MultiSelectWithSearch/index.js +1 -1
  185. package/build/components/NestedDropdown/index.js +1 -1
  186. package/build/components/NoInternet/index.js +1 -1
  187. package/build/components/OpenFileInNewTab/index.js +1 -1
  188. package/build/components/PartnersFilter/index.js +1 -1
  189. package/build/components/PaymentSourceFilter/index.js +1 -1
  190. package/build/components/PhoneFilter/index.js +1 -1
  191. package/build/components/ProgressRing/index.js +1 -1
  192. package/build/components/RFH/index.js +1 -1
  193. package/build/components/RadioGroup/index.js +1 -1
  194. package/build/components/RadioGroup/type.d.ts +1 -1
  195. package/build/components/RangeCalender/index.js +1 -1
  196. package/build/components/RatingCount/index.js +1 -1
  197. package/build/components/ReceiptsViewer/index.js +1 -1
  198. package/build/components/ReferenceTypeFilter/index.js +1 -1
  199. package/build/components/RemoteFallback/index.js +1 -1
  200. package/build/components/ResizableHeightInput/index.js +1 -1
  201. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  202. package/build/components/SalesChannelFilter/index.js +1 -1
  203. package/build/components/ScrollLoader/index.js +1 -1
  204. package/build/components/SearchButton/index.js +1 -1
  205. package/build/components/SearchListInput/index.js +1 -1
  206. package/build/components/SelectDropdown/index.js +1 -1
  207. package/build/components/SelectWithSearch/index.js +1 -1
  208. package/build/components/Skeleton/index.js +1 -1
  209. package/build/components/Slider/index.js +1 -1
  210. package/build/components/StatusBar/index.js +1 -1
  211. package/build/components/StatusButton/index.js +1 -1
  212. package/build/components/StatusChip/index.js +1 -1
  213. package/build/components/StatusChipWithCopy/index.js +1 -1
  214. package/build/components/StatusFilter/index.js +1 -1
  215. package/build/components/StatusGroupChips/index.js +1 -1
  216. package/build/components/StatusIcons/index.js +1 -1
  217. package/build/components/StatusLabel/index.js +1 -1
  218. package/build/components/TableCells/index.js +1 -1
  219. package/build/components/TableReports/index.js +1 -1
  220. package/build/components/Timepicker/index.js +1 -1
  221. package/build/components/Toaster/index.js +1 -1
  222. package/build/components/ToggleView/index.js +1 -1
  223. package/build/components/Toolbar/index.js +1 -1
  224. package/build/components/ToolbarIcon/index.js +1 -1
  225. package/build/components/TooltipChip/index.js +1 -1
  226. package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +4 -2
  227. package/build/components/TreeDropdown/index.js +1 -1
  228. package/build/components/VAT/index.js +1 -1
  229. package/build/components/VerificationIcon/index.js +1 -1
  230. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  231. package/build/components/VirtualTables/index.js +1 -1
  232. package/build/components/Widget/index.js +1 -1
  233. package/build/components/Window/index.js +1 -1
  234. package/build/components/WindowAppIcon/index.js +1 -1
  235. package/build/components/WindowBackdrop/index.js +1 -1
  236. package/build/components/WindowSideBar/index.js +1 -1
  237. package/build/components/index.d.ts +1 -1
  238. package/build/components/index.js +1 -1
  239. package/build/components/primitives/RadioButton/style.d.ts +5 -3
  240. package/build/components/primitives/RadioButton/type.d.ts +1 -1
  241. package/build/components/primitives/index.js +1 -1
  242. package/build/constants/assets.d.ts +1 -0
  243. package/build/constants/index.js +1 -1
  244. package/build/hooks/index.js +1 -1
  245. package/build/index.js +1 -1
  246. package/build/utils/index.js +1 -1
  247. package/package.json +1 -1
  248. package/build/_chunks/chunk-2B3IVXKZ.js +0 -1
  249. package/build/_chunks/chunk-6ZEXMPHP.js +0 -1
  250. package/build/_chunks/chunk-AJI6KFNE.js +0 -1
  251. package/build/_chunks/chunk-I56F47SX.js +0 -1
  252. package/build/_chunks/chunk-INGR3ES7.js +0 -1
  253. package/build/_chunks/chunk-LX3FZMBC.js +0 -1
  254. package/build/_chunks/chunk-P2ESF6CK.js +0 -1
  255. package/build/_chunks/chunk-PM76UI3C.js +0 -2
  256. package/build/_chunks/chunk-PWJAM3H7.js +0 -1
  257. package/build/_chunks/chunk-QQYR3XD5.js +0 -2
  258. package/build/_chunks/chunk-R3NBSKNX.js +0 -2
  259. package/build/_chunks/chunk-TTB3CTPJ.js +0 -1
  260. package/build/_chunks/chunk-TVAZADLI.js +0 -1
  261. package/build/_chunks/chunk-UKJ66LPD.js +0 -1
  262. package/build/components/RadioButton/RadioButton.d.ts +0 -8
  263. package/build/components/RadioButton/index.d.ts +0 -2
  264. package/build/components/RadioButton/index.js +0 -1
  265. package/build/components/RadioButton/style.d.ts +0 -27
  266. package/build/components/RadioButton/type.d.ts +0 -12
@@ -1 +1 @@
1
- import {yc,dc}from'./chunk-RBCDAZB4.js';import {forwardRef,useId,memo}from'react';import {styled}from'@mui/material/styles';import x from'@mui/material/TableCell';import {jsx}from'react/jsx-runtime';import {styled as styled$1,Avatar}from'@mui/material';import {motion}from'framer-motion';var p=styled(x,{shouldForwardProp:e=>e!=="rowId"})(({theme:e})=>({fontSize:e.typography.body2.fontSize,fontWeight:e.typography.fontWeightRegular,color:e.palette.text.primary,padding:e.spacing(0),verticalAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",width:"100%",border:"none",textAlign:e?.direction==="ltr"?"left":"right"}));var h=forwardRef(({children:e,...o},r)=>{let d=yc(useId(),"table-cell");return jsx(p,{id:d,component:"div","data-testid":"TableCell",...o,ref:r,children:e})}),a=memo(h);var W=styled$1("span",{shouldForwardProp:e=>e!=="variant"})(({theme:e,variant:o})=>({display:"flex",width:"17px",height:"12px",backgroundColor:o?dc(e.palette)[o]:"transparent",borderRadius:"2px",flexShrink:0,overflow:"hidden",visibility:"hidden","& > img":{width:"100%",height:"100%",objectFit:"cover"}})),A=styled$1("button")({background:"transparent",border:"none",padding:0,cursor:"pointer",outline:"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),F=styled$1(motion.div)(({theme:e})=>({borderRadius:"12px",backgroundColor:e.palette.background.paper,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",gap:e.spacing(.5)})),$=styled$1("img")(()=>({width:"12px",height:"12px"})),z=styled$1("span",{shouldForwardProp:e=>e!=="isShown"})(({theme:e,isShown:o})=>({...o&&{border:`1px solid ${e.palette.divider}`},borderRadius:"12px",backgroundColor:o?e.palette.background.paper:"transparent",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,overflow:"hidden",visibility:"hidden"})),G=styled$1("span")(({theme:e})=>({color:e.palette.common.white,borderRadius:e.spacing(.5),padding:"1.285px 2.569px",height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"9.782px",fontWeight:600})),L=styled$1("div")(()=>({display:"flex",width:"24px",height:"24px",alignItems:"center",justifyContent:"center",borderRadius:"64px;",border:"1px solid #F2F2F2;"})),O=styled$1(Avatar)(({theme:e})=>({width:24,height:24,fontSize:"8.5px",fontWeight:500,border:`1px solid ${e.palette.divider}`})),l=styled$1("div")(({theme:e})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${e.palette.divider}`})),V=styled$1(l)(({theme:e})=>({color:e.palette.info.dark,backgroundColor:e.palette.info.light,borderColor:e.palette.divider,minWidth:"88px",height:"24px"})),E=styled$1(l)(({theme:e})=>({color:e.palette.grey.A700,backgroundColor:`${e.palette.grey.A700}1A`,minWidth:"88px",height:"24px"})),H=styled$1(a)(()=>({fontSize:"11px",textAlign:"left",display:"flex",justifyContent:"flex-start",alignItems:"center",overflow:"hidden",gap:"4px",textOverflow:"ellipsis",whiteSpace:"nowrap"})),M=styled$1("span")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:e.spacing(1)})),Z=styled$1("span")(()=>({width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0})),q=styled$1("img")(()=>({width:"36px",height:"24px"})),D=styled$1("div")(({percentage:e,isCapture:o,theme:r})=>({background:`conic-gradient(${o?r.palette.info.dark:"#656565"} ${e}%, transparent 0.00%)`,borderRadius:"50%",width:"8.333px",height:"8.333px",border:`0.6px solid ${o?r.palette.info.dark:"#656565"}`}));export{a,W as b,A as c,F as d,$ as e,z as f,G as g,L as h,O as i,l as j,V as k,E as l,H as m,M as n,Z as o,q as p,D as q};
1
+ import {yc,dc}from'./chunk-2CIV4TII.js';import {forwardRef,useId,memo}from'react';import {styled}from'@mui/material/styles';import x from'@mui/material/TableCell';import {jsx}from'react/jsx-runtime';import {styled as styled$1,Avatar}from'@mui/material';import {motion}from'framer-motion';var p=styled(x,{shouldForwardProp:e=>e!=="rowId"})(({theme:e})=>({fontSize:e.typography.body2.fontSize,fontWeight:e.typography.fontWeightRegular,color:e.palette.text.primary,padding:e.spacing(0),verticalAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",width:"100%",border:"none",textAlign:e?.direction==="ltr"?"left":"right"}));var h=forwardRef(({children:e,...o},r)=>{let d=yc(useId(),"table-cell");return jsx(p,{id:d,component:"div","data-testid":"TableCell",...o,ref:r,children:e})}),a=memo(h);var W=styled$1("span",{shouldForwardProp:e=>e!=="variant"})(({theme:e,variant:o})=>({display:"flex",width:"17px",height:"12px",backgroundColor:o?dc(e.palette)[o]:"transparent",borderRadius:"2px",flexShrink:0,overflow:"hidden",visibility:"hidden","& > img":{width:"100%",height:"100%",objectFit:"cover"}})),A=styled$1("button")({background:"transparent",border:"none",padding:0,cursor:"pointer",outline:"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),F=styled$1(motion.div)(({theme:e})=>({borderRadius:"12px",backgroundColor:e.palette.background.paper,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",gap:e.spacing(.5)})),$=styled$1("img")(()=>({width:"12px",height:"12px"})),z=styled$1("span",{shouldForwardProp:e=>e!=="isShown"})(({theme:e,isShown:o})=>({...o&&{border:`1px solid ${e.palette.divider}`},borderRadius:"12px",backgroundColor:o?e.palette.background.paper:"transparent",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,overflow:"hidden",visibility:"hidden"})),G=styled$1("span")(({theme:e})=>({color:e.palette.common.white,borderRadius:e.spacing(.5),padding:"1.285px 2.569px",height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"9.782px",fontWeight:600})),L=styled$1("div")(()=>({display:"flex",width:"24px",height:"24px",alignItems:"center",justifyContent:"center",borderRadius:"64px;",border:"1px solid #F2F2F2;"})),O=styled$1(Avatar)(({theme:e})=>({width:24,height:24,fontSize:"8.5px",fontWeight:500,border:`1px solid ${e.palette.divider}`})),l=styled$1("div")(({theme:e})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${e.palette.divider}`})),V=styled$1(l)(({theme:e})=>({color:e.palette.info.dark,backgroundColor:e.palette.info.light,borderColor:e.palette.divider,minWidth:"88px",height:"24px"})),E=styled$1(l)(({theme:e})=>({color:e.palette.grey.A700,backgroundColor:`${e.palette.grey.A700}1A`,minWidth:"88px",height:"24px"})),H=styled$1(a)(()=>({fontSize:"11px",textAlign:"left",display:"flex",justifyContent:"flex-start",alignItems:"center",overflow:"hidden",gap:"4px",textOverflow:"ellipsis",whiteSpace:"nowrap"})),M=styled$1("span")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:e.spacing(1)})),Z=styled$1("span")(()=>({width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0})),q=styled$1("img")(()=>({width:"36px",height:"24px"})),D=styled$1("div")(({percentage:e,isCapture:o,theme:r})=>({background:`conic-gradient(${o?r.palette.info.dark:"#656565"} ${e}%, transparent 0.00%)`,borderRadius:"50%",width:"8.333px",height:"8.333px",border:`0.6px solid ${o?r.palette.info.dark:"#656565"}`}));export{a,W as b,A as c,F as d,$ as e,z as f,G as g,L as h,O as i,l as j,V as k,E as l,H as m,M as n,Z as o,q as p,D as q};
@@ -1 +1 @@
1
- import {Ra,Qa,$a,Pa,ze,Ae}from'./chunk-R3NBSKNX.js';import {styled}from'@mui/material/styles';import P from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';import k from'@mui/material/Typography';var e=styled(P)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var d=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.error.main}}));function S(o){return jsx(d,{...o,className:"header-icon",children:jsx("img",{src:Ra,alt:"close"})})}var x=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.warning.main}}));function U(o){return jsx(x,{...o,className:"header-icon",children:jsx("img",{src:Qa,alt:"minimize"})})}var u=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.info.dark}}));function ro({isMaximized:o,...r}){return jsx(u,{...r,className:"header-icon",children:jsx("img",{src:o?$a:Pa,alt:"maximize"})})}var g=styled(e,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},...r&&{backgroundColor:`${o.palette.success.main} !important`}})),h=styled(P)(({theme:o})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px","&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),y=styled(k,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({fontSize:"10px",color:o.palette.success.main,opacity:r?1:0}));function fo({isExpanded:o,isHovered:r,children:b,...B}){return jsxs(h,{...B,children:[jsx(g,{className:"header-icon",isHovered:r,children:jsx(P,{component:"img",sx:{...r&&{opacity:1}},src:o?ze:Ae,alt:"arrow"})}),jsx(y,{className:"request-text",isHovered:r,children:b})]})}export{S as a,U as b,ro as c,fo as d};
1
+ import {Sa,Ra,ab,Qa,Ae,Be}from'./chunk-KCEYICHJ.js';import {styled}from'@mui/material/styles';import P from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';import k from'@mui/material/Typography';var e=styled(P)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var d=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.error.main}}));function S(o){return jsx(d,{...o,className:"header-icon",children:jsx("img",{src:Sa,alt:"close"})})}var x=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.warning.main}}));function U(o){return jsx(x,{...o,className:"header-icon",children:jsx("img",{src:Ra,alt:"minimize"})})}var u=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.info.dark}}));function ro({isMaximized:o,...r}){return jsx(u,{...r,className:"header-icon",children:jsx("img",{src:o?ab:Qa,alt:"maximize"})})}var g=styled(e,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},...r&&{backgroundColor:`${o.palette.success.main} !important`}})),h=styled(P)(({theme:o})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px","&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),y=styled(k,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({fontSize:"10px",color:o.palette.success.main,opacity:r?1:0}));function fo({isExpanded:o,isHovered:r,children:b,...B}){return jsxs(h,{...B,children:[jsx(g,{className:"header-icon",isHovered:r,children:jsx(P,{component:"img",sx:{...r&&{opacity:1}},src:o?Ae:Be,alt:"arrow"})}),jsx(y,{className:"request-text",isHovered:r,children:b})]})}export{S as a,U as b,ro as c,fo as d};
@@ -1 +1 @@
1
- import {yc,Wb}from'./chunk-RBCDAZB4.js';import {Eb}from'./chunk-R3NBSKNX.js';import {useId}from'react';import i from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(i,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(i)(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),y=styled("span")(({theme:e})=>({fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),I=styled(i)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:e.palette.text.primary})),g=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),F=styled(i)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"}));var T=({files:e,disabled:n,sx:C,onRemoveFile:W,getFilePreview:b,renderBrandLogo:h,renderOpenFileInNewTab:P})=>{let v=yc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let l=Wb(t)?b(t.file):null,j=Wb(t)&&t.file.type.includes("application/pdf"),a=Wb(t)?t.file:t;return jsx(x,{id:`${v}-${d}`,"data-testid":"FilePreview",sx:C,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(g,{"data-slot":"file-icon-wrapper",children:Wb(t)&&l?jsx(i,{component:"img",src:l,width:24,height:24,sx:{borderRadius:"50%",objectFit:j?"none":"cover"},onError:k=>{k.currentTarget.src=a.name;}}):h?.(a.id)}),jsxs(I,{"data-slot":"text-wrapper",children:[jsx(y,{"data-slot":"filename",children:a.name}),!Wb(t)&&!l&&P?.(a.id)]})]}),!n&&jsx(F,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(i,{component:"img",src:Eb,width:10,height:10})})]})},d)})})},A=T;export{x as a,f as b,u as c,y as d,I as e,g as f,F as g,A as h};
1
+ import {yc,Wb}from'./chunk-2CIV4TII.js';import {Fb}from'./chunk-KCEYICHJ.js';import {useId}from'react';import i from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var x=styled(i,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:e.palette.grey[400],gap:"8px",...n&&{opacity:.6,cursor:"default"}})),f=styled(i)(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"})),u=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.palette.text.primary,cursor:"pointer",gap:"8px"})),y=styled("span")(({theme:e})=>({fontWeight:500,color:e.palette.text.primary,cursor:"pointer",fontSize:"9px"})),I=styled(i)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:e.palette.text.primary})),g=styled(i)(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",background:e.palette.common.white,borderRadius:"4px",border:`1px solid ${e.palette.divider}`})),F=styled(i)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"}));var T=({files:e,disabled:n,sx:C,onRemoveFile:W,getFilePreview:b,renderBrandLogo:h,renderOpenFileInNewTab:P})=>{let v=yc(useId(),"file-preview");return jsx(Fragment,{children:e?.map((t,d)=>{let l=Wb(t)?b(t.file):null,j=Wb(t)&&t.file.type.includes("application/pdf"),a=Wb(t)?t.file:t;return jsx(x,{id:`${v}-${d}`,"data-testid":"FilePreview",sx:C,disabled:n,children:jsxs(f,{"data-slot":"file-wrapper",children:[jsxs(u,{"data-slot":"file-Content",children:[jsx(g,{"data-slot":"file-icon-wrapper",children:Wb(t)&&l?jsx(i,{component:"img",src:l,width:24,height:24,sx:{borderRadius:"50%",objectFit:j?"none":"cover"},onError:k=>{k.currentTarget.src=a.name;}}):h?.(a.id)}),jsxs(I,{"data-slot":"text-wrapper",children:[jsx(y,{"data-slot":"filename",children:a.name}),!Wb(t)&&!l&&P?.(a.id)]})]}),!n&&jsx(F,{"data-slot":"close-icon-wrapper",onClick:()=>{W?.(t);},children:jsx(i,{component:"img",src:Fb,width:10,height:10})})]})},d)})})},A=T;export{x as a,f as b,u as c,y as d,I as e,g as f,F as g,A as h};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {memo,useId}from'react';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var o=styled(a)(()=>({flex:1,position:"relative",display:"flex",flexDirection:"column",height:"100%"}));function e({children:p,...r}){let s=yc(useId(),"list-layout");return jsx(o,{id:s,component:"article","data-testid":"ListLayout",...r,children:p})}e.displayName="ListLayout";var i=memo(e);var C=i;export{C as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {memo,useId}from'react';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var o=styled(a)(()=>({flex:1,position:"relative",display:"flex",flexDirection:"column",height:"100%"}));function e({children:p,...r}){let s=yc(useId(),"list-layout");return jsx(o,{id:s,component:"article","data-testid":"ListLayout",...r,children:p})}e.displayName="ListLayout";var i=memo(e);var C=i;export{C as a};
@@ -1 +1 @@
1
- import {xa,yc}from'./chunk-RBCDAZB4.js';import I,{useId}from'react';import h from'@mui/material/Box';import y from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:r=>!["isError","hideArrows"].includes(r)})(({theme:r,hideArrows:o})=>({padding:"8px",border:`1px solid ${r.palette.divider}`,borderRadius:"4px",height:32,color:r.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:r.palette.grey[700],fontWeight:400},...o&&{"& 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}}}));var w=xa();function l({isError:r,hideArrows:o,inputProps:s,onKeyDown:n,...t},m){let f=yc(useId(),"input-number"),b=e=>{if(["e","E","+","-"].includes(e.key)&&e.preventDefault(),n){n?.(e);return}w&&isNaN(e.key)&&e.key!=="Backspace"&&e.preventDefault();};return jsx(h,{id:f,"data-testid":"InputNumber",sx:{flexGrow:1},onClick:e=>{e.stopPropagation();},children:jsx(a,{...t,ref:m,value:t.value||"",placeholder:t.placeholder,hideArrows:true,isError:r,disableUnderline:true,inputProps:{...s,type:"number"},onKeyDown:b,onWheel:e=>{e.target instanceof HTMLElement&&e.target.blur();}})})}l.displayName="InputNumber";var d=I.forwardRef(l);var H=d;export{H as a};
1
+ import {xa,yc}from'./chunk-2CIV4TII.js';import I,{useId}from'react';import h from'@mui/material/Box';import y from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:r=>!["isError","hideArrows"].includes(r)})(({theme:r,hideArrows:o})=>({padding:"8px",border:`1px solid ${r.palette.divider}`,borderRadius:"4px",height:32,color:r.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:r.palette.grey[700],fontWeight:400},...o&&{"& 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}}}));var w=xa();function l({isError:r,hideArrows:o,inputProps:s,onKeyDown:n,...t},m){let f=yc(useId(),"input-number"),b=e=>{if(["e","E","+","-"].includes(e.key)&&e.preventDefault(),n){n?.(e);return}w&&isNaN(e.key)&&e.key!=="Backspace"&&e.preventDefault();};return jsx(h,{id:f,"data-testid":"InputNumber",sx:{flexGrow:1},onClick:e=>{e.stopPropagation();},children:jsx(a,{...t,ref:m,value:t.value||"",placeholder:t.placeholder,hideArrows:true,isError:r,disableUnderline:true,inputProps:{...s,type:"number"},onKeyDown:b,onWheel:e=>{e.target instanceof HTMLElement&&e.target.blur();}})})}l.displayName="InputNumber";var d=I.forwardRef(l);var H=d;export{H as a};
@@ -1 +1 @@
1
- import {d}from'./chunk-CHBYSMFC.js';import {a}from'./chunk-BFHCHIY3.js';import {yc}from'./chunk-RBCDAZB4.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=yc(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
1
+ import {d}from'./chunk-PPC5EHKW.js';import {a}from'./chunk-RMTT4FOG.js';import {yc}from'./chunk-2CIV4TII.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=yc(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
@@ -1 +1 @@
1
- import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-RBCDAZB4.js';import {Fj,Oe,Eb}from'./chunk-R3NBSKNX.js';import {useId,useCallback}from'react';import P from'@mui/material/Box';import A from'@mui/material/Stack';import {Box}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var I=styled(Box,{shouldForwardProp:t=>t!=="disabled"})(({theme:t,disabled:a})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:t.palette.grey[400],gap:"8px",cursor:a?"default":"pointer",position:"relative",'& [data-slot="input"]':{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"},...a&&{'& [data-slot="content"], & [data-slot="icon-wrapper"]':{cursor:"default",opacity:.6}}})),w=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:t.palette.text.primary,cursor:"pointer",gap:"8px"})),s=styled("span")(({theme:t})=>({fontWeight:500,color:t.palette.text.primary,cursor:"pointer",fontSize:"9px"})),c=styled(Box)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:t.palette.text.primary})),b=styled(Box)(({theme:t})=>({color:alpha(t.palette.text.primary,.3),fontSize:"8px",fontWeight:500})),U=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",background:t.palette.common.white,borderRadius:"4px",border:`1px solid ${t.palette.divider}`})),F=styled(a)(({theme:t})=>({color:t.palette.error.main,fontSize:"8px",fontWeight:500})),k=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backgroundColor:"transparent",border:"none",width:16,height:16}));var H=({getRootProps:t,getInputProps:a,open:S,onChangeFiles:B,processFiles:m,disabled:i,errorMessage:l,onResetError:d,maxFileSize:M,preventDuplicates:T,label:v="Click to upload",hintText:E,sx:j})=>{let z=yc(useId(),"file-uploader"),x=a(),D=useCallback(p=>{p.stopPropagation(),d?.(p);},[d]);return jsxs(I,{id:z,"data-testid":"FileUploader_root",...t(),sx:j,disabled:i,onClick:i?void 0:S,children:[jsx("input",{"data-slot":"input",...x,onChange:p=>{if(x.onChange?.(p),!m)return;let f=m(Array.from(p.target.files||[]));(f.length>0||!T)&&B?.(f);},disabled:i}),jsxs(w,{"data-slot":"content",flex:1,children:[jsx(U,{"data-slot":"icon-wrapper",children:jsx(P,{component:"img",src:l?Fj:Oe,width:16,height:16})}),l?jsxs(A,{direction:"row",alignItems:"center",flex:1,children:[jsxs(c,{flex:1,children:[jsx(F,{children:l}),jsx(s,{children:"Click to upload again"})]}),d&&jsx(k,{component:"button","data-slot":"close-icon-wrapper",onClick:D,children:jsx(P,{component:"img",src:Eb,width:10,height:10})})]}):jsxs(c,{children:[jsx(s,{children:v}),jsx(b,{children:E||`PDF, JPG or PNG files up to ${M}`})]})]})]})},W=H;var ot=W;export{ot as a};
1
+ import {a}from'./chunk-GNY2VGGW.js';import {yc}from'./chunk-2CIV4TII.js';import {Gj,Pe,Fb}from'./chunk-KCEYICHJ.js';import {useId,useCallback}from'react';import P from'@mui/material/Box';import A from'@mui/material/Stack';import {Box}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var I=styled(Box,{shouldForwardProp:t=>t!=="disabled"})(({theme:t,disabled:a})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:t.palette.grey[400],gap:"8px",cursor:a?"default":"pointer",position:"relative",'& [data-slot="input"]':{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"},...a&&{'& [data-slot="content"], & [data-slot="icon-wrapper"]':{cursor:"default",opacity:.6}}})),w=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:t.palette.text.primary,cursor:"pointer",gap:"8px"})),s=styled("span")(({theme:t})=>({fontWeight:500,color:t.palette.text.primary,cursor:"pointer",fontSize:"9px"})),c=styled(Box)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:t.palette.text.primary})),b=styled(Box)(({theme:t})=>({color:alpha(t.palette.text.primary,.3),fontSize:"8px",fontWeight:500})),U=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",background:t.palette.common.white,borderRadius:"4px",border:`1px solid ${t.palette.divider}`})),F=styled(a)(({theme:t})=>({color:t.palette.error.main,fontSize:"8px",fontWeight:500})),k=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backgroundColor:"transparent",border:"none",width:16,height:16}));var H=({getRootProps:t,getInputProps:a,open:S,onChangeFiles:B,processFiles:m,disabled:i,errorMessage:l,onResetError:d,maxFileSize:M,preventDuplicates:T,label:v="Click to upload",hintText:E,sx:j})=>{let z=yc(useId(),"file-uploader"),x=a(),D=useCallback(p=>{p.stopPropagation(),d?.(p);},[d]);return jsxs(I,{id:z,"data-testid":"FileUploader_root",...t(),sx:j,disabled:i,onClick:i?void 0:S,children:[jsx("input",{"data-slot":"input",...x,onChange:p=>{if(x.onChange?.(p),!m)return;let f=m(Array.from(p.target.files||[]));(f.length>0||!T)&&B?.(f);},disabled:i}),jsxs(w,{"data-slot":"content",flex:1,children:[jsx(U,{"data-slot":"icon-wrapper",children:jsx(P,{component:"img",src:l?Gj:Pe,width:16,height:16})}),l?jsxs(A,{direction:"row",alignItems:"center",flex:1,children:[jsxs(c,{flex:1,children:[jsx(F,{children:l}),jsx(s,{children:"Click to upload again"})]}),d&&jsx(k,{component:"button","data-slot":"close-icon-wrapper",onClick:D,children:jsx(P,{component:"img",src:Fb,width:10,height:10})})]}):jsxs(c,{children:[jsx(s,{children:v}),jsx(b,{children:E||`PDF, JPG or PNG files up to ${M}`})]})]})]})},W=H;var ot=W;export{ot as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-JQ6FKHTQ.js';import {yc}from'./chunk-RBCDAZB4.js';import {wa}from'./chunk-UKJ66LPD.js';import {memo,useId}from'react';import {jsx}from'react/jsx-runtime';var n={"3DS":{text:"3DS"},"Non-3DS":{text:"Non 3DS",styles:{...wa}},"Device Biometric":{text:"Biometric"}};function u({title:t,ref:r,...s}){let c=yc(useId(),"authentication-type-chip"),i=n[t];return jsx(b,{id:c,"data-testid":"AuthenticationTypeChip",chipStyles:i?.styles,ref:r,...s,children:i?.text||t})}var h=memo(u);var W=h;export{W as a};
1
+ import {b}from'./chunk-2U6YCW6N.js';import {yc}from'./chunk-2CIV4TII.js';import {wa}from'./chunk-BXMBE224.js';import {memo,useId}from'react';import {jsx}from'react/jsx-runtime';var n={"3DS":{text:"3DS"},"Non-3DS":{text:"Non 3DS",styles:{...wa}},"Device Biometric":{text:"Biometric"}};function u({title:t,ref:r,...s}){let c=yc(useId(),"authentication-type-chip"),i=n[t];return jsx(b,{id:c,"data-testid":"AuthenticationTypeChip",chipStyles:i?.styles,ref:r,...s,children:i?.text||t})}var h=memo(u);var W=h;export{W as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-A453QUU2.js';import {memo,useCallback,Fragment as Fragment$1,createElement}from'react';import {useTranslation}from'react-i18next';import {jsx,Fragment}from'react/jsx-runtime';function B({isActiveFilterVisible:f,availableStatuses:v,status:e,onStatusChange:i,buttonSx:l}){let{t:I}=useTranslation(),S=f??false,b$1=useCallback(s=>s===e&&!S?"active":"inActive",[e,S]),u=useCallback(s=>{i?.(s);},[i]);return jsx(Fragment,{children:v?.map(({render:s,...a},d)=>{if(s)return jsx(Fragment$1,{children:s({status:e,onChange:u},{...a,index:d})},`custom-status-slot-${d}`);if(!Array.isArray(a.status))return createElement(b,{...a,key:`status-button-array-${a.status}`,variant:b$1(a.status),onClick:()=>{Array.isArray(a.status)||u(a.status);},buttonSx:l});if(!a.status)return null;let o=a.status.filter(Boolean).map(t=>typeof t=="string"?{value:t}:t)||[],c=!!e&&o.some(t=>t?.value===e);return jsx("div",{children:jsx(b,{...a,selectedStatus:c?e:void 0,variant:c?"active":"inActive",onButtonBodyClick:t=>u(t),dropdownOptions:o.map(t=>({label:t?.label||I(t?.value||""),status:t?.value,icon:t.icon,onClick:()=>u(t.value)})),buttonSx:l})},o[0]?.value)})})}var p=memo(B);var M=p;export{M as a};
1
+ import {b}from'./chunk-DBKRFR7R.js';import {memo,useCallback,Fragment as Fragment$1,createElement}from'react';import {useTranslation}from'react-i18next';import {jsx,Fragment}from'react/jsx-runtime';function B({isActiveFilterVisible:f,availableStatuses:v,status:e,onStatusChange:i,buttonSx:l}){let{t:I}=useTranslation(),S=f??false,b$1=useCallback(s=>s===e&&!S?"active":"inActive",[e,S]),u=useCallback(s=>{i?.(s);},[i]);return jsx(Fragment,{children:v?.map(({render:s,...a},d)=>{if(s)return jsx(Fragment$1,{children:s({status:e,onChange:u},{...a,index:d})},`custom-status-slot-${d}`);if(!Array.isArray(a.status))return createElement(b,{...a,key:`status-button-array-${a.status}`,variant:b$1(a.status),onClick:()=>{Array.isArray(a.status)||u(a.status);},buttonSx:l});if(!a.status)return null;let o=a.status.filter(Boolean).map(t=>typeof t=="string"?{value:t}:t)||[],c=!!e&&o.some(t=>t?.value===e);return jsx("div",{children:jsx(b,{...a,selectedStatus:c?e:void 0,variant:c?"active":"inActive",onButtonBodyClick:t=>u(t),dropdownOptions:o.map(t=>({label:t?.label||I(t?.value||""),status:t?.value,icon:t.icon,onClick:()=>u(t.value)})),buttonSx:l})},o[0]?.value)})})}var p=memo(B);var M=p;export{M as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=yc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=yc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-ZONDSLTR.js';import {a}from'./chunk-KHM5KW53.js';import {yc,f as f$1}from'./chunk-RBCDAZB4.js';import {mb}from'./chunk-R3NBSKNX.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';var m=t=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}});var d=({children:t})=>jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2px"},children:t});function f({value:t,index:e}){let s=yc(useId(),"rating-count"),{t:u}=useTranslation();return jsx(a,{title:u("totalPaymentCount",{amount:f$1(t)}),wrapperProps:{display:"inline-flex"},children:jsx(a$1,{id:s,order:e,variants:m(e),"data-testid":"RatingCount",children:jsxs(d,{children:[jsx("img",{src:mb,alt:"star",style:{width:"10px",height:"10px"}})," ",(t||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:t})]})})})}export{f as a};
1
+ import {a as a$1}from'./chunk-ZONDSLTR.js';import {a}from'./chunk-KHM5KW53.js';import {yc,f as f$1}from'./chunk-2CIV4TII.js';import {nb}from'./chunk-KCEYICHJ.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';var m=t=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}});var d=({children:t})=>jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2px"},children:t});function f({value:t,index:e}){let s=yc(useId(),"rating-count"),{t:u}=useTranslation();return jsx(a,{title:u("totalPaymentCount",{amount:f$1(t)}),wrapperProps:{display:"inline-flex"},children:jsx(a$1,{id:s,order:e,variants:m(e),"data-testid":"RatingCount",children:jsxs(d,{children:[jsx("img",{src:nb,alt:"star",style:{width:"10px",height:"10px"}})," ",(t||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:t})]})})})}export{f as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-M2OAS36B.js';import {a as a$2}from'./chunk-WQXW2YTH.js';import {a}from'./chunk-GNY2VGGW.js';import {yc,Ka}from'./chunk-RBCDAZB4.js';import {_k,$k}from'./chunk-R3NBSKNX.js';import {useId,useState,useEffect}from'react';import te from'@mui/material/ClickAwayListener';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var L=styled(m)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),B=styled(a,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:p})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"19px",height:p==="large"?32:24,width:p==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:e.palette.info.dark}})),d=styled(m)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),S=styled(a,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:e.palette.info.dark,backgroundColor:alpha(e.palette.info.dark,.1)}})),z=styled(m)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),$=styled(m)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),k=styled(m)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),h=styled(a$1)(()=>({".MuiInput-input":{fontWeight:"500",fontSize:"11px"},height:32,width:32}));var _=e=>e===0?12:e<=12?e:e-12,ue=e=>e>=12?"PM":"AM",j=()=>new Date().getMinutes(),F=()=>{let e=new Date().getHours();return _(e)},ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e;var N=["AM","PM"],f=12,g=59;function R({onChange:e,defaultTime:o,enableRealTimeChange:p,size:O="large"}){let U=yc(useId(),"time-picker"),[A,y]=useState(null),[a$1,q]=useState(o?.period??(new Date().getHours()>=12?"PM":"AM")),[s,w]=useState(o?.hour??F()),[u,C]=useState(o?.minute??j()),H=!!A;useEffect(()=>{p&&e?.({hour:s,minute:u,period:a$1});},[s,u,a$1,p]);let G=r=>{y(r.currentTarget);},J=()=>{y(null),e?.({hour:s,minute:u,period:a$1});},K=r=>{q(r);},i=r=>r<10?`0${r}`:r.toString(),Q=r=>{let c=Ka(i(Number(r.target.value)));if(c>12){r.preventDefault();return}w(c);},I=()=>{w(r=>r===12?1:r+1);},v=()=>{w(r=>r===1?12:r-1);},V=r=>{let c=Ka(i(Number(r.target.value)));if(c>59){r.preventDefault();return}C(c);},X=()=>{C(r=>r===59?(I(),0):r+1);},Y=()=>{C(r=>r===0?(v(),59):r-1);};return jsx(te,{onClickAway:J,children:jsxs(m,{id:U,"data-testid":"TimePicker",children:[jsx(B,{size:O,open:H,onClick:G,children:`${i(s)}:${i(u)}${a$1.toLowerCase()}`}),jsx(a$2,{open:H,anchorEl:A,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(L,{children:[jsxs($,{children:[jsxs(k,{children:[jsx(d,{onClick:I,children:jsx("img",{src:_k,alt:"arrow"})}),jsx(h,{value:i(s),onChange:Q}),jsx(d,{onClick:v,children:jsx("img",{src:$k,alt:"arrow"})})]}),jsx(a,{children:":"}),jsxs(k,{children:[jsx(d,{onClick:X,children:jsx("img",{src:_k,alt:"arrow"})}),jsx(h,{value:i(u),onChange:V}),jsx(d,{onClick:Y,children:jsx("img",{src:$k,alt:"arrow"})})]})]}),jsx(z,{children:N.map(r=>jsx(S,{onClick:()=>{K(r);},selected:a$1===r,children:r},r))})]})})]})})}var ve=R;export{_ as a,ue as b,j as c,F as d,ce as e,N as f,f as g,g as h,R as i,ve as j};
1
+ import {a as a$1}from'./chunk-RWIFX3JL.js';import {a as a$2}from'./chunk-O2SPQA5J.js';import {a}from'./chunk-GNY2VGGW.js';import {yc,Ka}from'./chunk-2CIV4TII.js';import {$k,al}from'./chunk-KCEYICHJ.js';import {useId,useState,useEffect}from'react';import te from'@mui/material/ClickAwayListener';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var L=styled(m)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),B=styled(a,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:p})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"19px",height:p==="large"?32:24,width:p==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:e.palette.info.dark}})),d=styled(m)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),S=styled(a,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:e.palette.info.dark,backgroundColor:alpha(e.palette.info.dark,.1)}})),z=styled(m)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),$=styled(m)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),k=styled(m)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),h=styled(a$1)(()=>({".MuiInput-input":{fontWeight:"500",fontSize:"11px"},height:32,width:32}));var _=e=>e===0?12:e<=12?e:e-12,ue=e=>e>=12?"PM":"AM",j=()=>new Date().getMinutes(),F=()=>{let e=new Date().getHours();return _(e)},ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e;var N=["AM","PM"],f=12,g=59;function R({onChange:e,defaultTime:o,enableRealTimeChange:p,size:O="large"}){let U=yc(useId(),"time-picker"),[A,y]=useState(null),[a$1,q]=useState(o?.period??(new Date().getHours()>=12?"PM":"AM")),[s,w]=useState(o?.hour??F()),[u,C]=useState(o?.minute??j()),H=!!A;useEffect(()=>{p&&e?.({hour:s,minute:u,period:a$1});},[s,u,a$1,p]);let G=r=>{y(r.currentTarget);},J=()=>{y(null),e?.({hour:s,minute:u,period:a$1});},K=r=>{q(r);},i=r=>r<10?`0${r}`:r.toString(),Q=r=>{let c=Ka(i(Number(r.target.value)));if(c>12){r.preventDefault();return}w(c);},I=()=>{w(r=>r===12?1:r+1);},v=()=>{w(r=>r===1?12:r-1);},V=r=>{let c=Ka(i(Number(r.target.value)));if(c>59){r.preventDefault();return}C(c);},X=()=>{C(r=>r===59?(I(),0):r+1);},Y=()=>{C(r=>r===0?(v(),59):r-1);};return jsx(te,{onClickAway:J,children:jsxs(m,{id:U,"data-testid":"TimePicker",children:[jsx(B,{size:O,open:H,onClick:G,children:`${i(s)}:${i(u)}${a$1.toLowerCase()}`}),jsx(a$2,{open:H,anchorEl:A,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(L,{children:[jsxs($,{children:[jsxs(k,{children:[jsx(d,{onClick:I,children:jsx("img",{src:$k,alt:"arrow"})}),jsx(h,{value:i(s),onChange:Q}),jsx(d,{onClick:v,children:jsx("img",{src:al,alt:"arrow"})})]}),jsx(a,{children:":"}),jsxs(k,{children:[jsx(d,{onClick:X,children:jsx("img",{src:$k,alt:"arrow"})}),jsx(h,{value:i(u),onChange:V}),jsx(d,{onClick:Y,children:jsx("img",{src:al,alt:"arrow"})})]})]}),jsx(z,{children:N.map(r=>jsx(S,{onClick:()=>{K(r);},selected:a$1===r,children:r},r))})]})})]})})}var ve=R;export{_ as a,ue as b,j as c,F as d,ce as e,N as f,f as g,g as h,R as i,ve as j};
@@ -1 +1 @@
1
- import {c,d}from'./chunk-CHBYSMFC.js';import {a,c as c$1,d as d$1}from'./chunk-BFHCHIY3.js';import {b,a as a$1}from'./chunk-2VW4TETV.js';import {yc,xa}from'./chunk-RBCDAZB4.js';import {Gf}from'./chunk-R3NBSKNX.js';import {createContext,memo,useRef,useId,useContext,useMemo,useState,useLayoutEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import it from'@mui/material/Box';import {Resizable}from're-resizable';import nt from'react-draggable';import {motion}from'framer-motion';var Z=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{},containerRef:{current:null}});var Fe=555,Ge=545;function Y({children:e,isOpen:t,onClose:o,defaultWindowHeight:i,defaultWindowWidth:r,initialPosition:p,minWidth:l,maxWidth:a,minHeight:d,maxHeight:m,containerRef:s}){let{height:u,width:f}=a$1(),n=r||Fe,x=i||Ge,[D,I]=useState({x:p?.x??f/2+n/2,y:p?.y??u/2-x/2}),[h,P]=useState(false),[A,S]=useState(false),[B,w]=useState(false),[E,v]=useState(true),g=useRef(),[z,c]=useState({width:r??0,height:i??0}),M=useCallback(b=>{g?.current?.updateSize(b);},[]),k=useCallback(b=>{g.current?.updateSize(b),c(L=>({width:b.width??L.width,height:b.height??L.height}));},[]),q=useMemo(()=>({position:D,setPosition:I,resizableRef:g,windowZIndex:1,isOpen:t,setIsMaximized:P,setIsSidebarExpanded:v,setIsToolbarAnimationDisabled:w,setIsResized:S,isMaximized:h,isToolbarAnimationDisabled:B,isSidebarExpanded:E,isResized:A,dimensions:z,setNewDimensions:c,viewerDefaultWidth:n,viewerDefaultHeight:x,onClose:o,fullWindowWidth:f,fullWindowHeight:u,updateRefSize:M,updateSize:k,minWidth:l,maxWidth:a,minHeight:d,maxHeight:m,containerRef:s}),[D,I,g,t,P,v,w,S,h,B,E,A,z,c,f,u,n,x,M,k,o,l,a,d,m,s]);return jsx(Z.Provider,{value:q,children:e})}var fe=(e,t)=>t.toLowerCase().includes(e);function ce(e,t,o){let i=fe("top",t),r=fe("left",t);return !i&&!r?null:{x:r?e.x+o.width:e.x,y:i?e.y-o.height:e.y}}var y=.5,xe=183,he=287,we=840,ge=545,$=35;function Ne({title:e,onClose:t,onMaximize:o,maximized:i=false,id:r,onRequestClick:p,isSidebarExpanded:l=false,isHovered:a$1=false,onMouseHover:d$2,onMouseLeave:m,showSectionsButton:s,rightActions:u,icon:f}){return jsx(c,{id:r,"data-testid":"UserTitleBar",maximized:i||false,children:jsx(d,{onMouseEnter:d$2,onMouseLeave:m,isMaximized:i,isHovered:a$1,title:e,icon:f||Gf,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:i,onClick:o}),s&&jsx(d$1,{onClick:p,isExpanded:!l,isHovered:a$1,children:"Sidebar"})]}),rightActions:u})})}var be=memo(Ne);var J=be;function qe({isMaximized:e,setIsToolbarAnimationDisabled:t,setIsMaximized:o,onClose:i,isSidebarExpanded:r,setIsSidebarExpanded:p,isToolbarAnimationDisabled:l,title:a,showSectionsButton:d,rightActions:m,icon:s}){let{isHovered:u,onMouseEnter:f,onMouseLeave:n}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx(J,{title:a||"Users",showSectionsButton:d,onClose:i,onMaximize:()=>{o?.(x=>!x),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),p(!r);},isSidebarExpanded:r,isHovered:u,onMouseHover:f,onMouseLeave:n,rightActions:m,icon:s})})}var Ae=memo(qe);var He=Ae;function at({children:e,titleBar:t,titleBarText:o,mainAppOrder:i,mainAppIsMinimized:r,showSectionsButton:p=true,rightActions:l,titleBarIcon:a}){let d=useRef(null),m=yc(useId(),"app-window"),{dimensions:s,position:u,resizableRef:f,isMaximized:n,isOpen:x,onClose:D,viewerDefaultWidth:I,viewerDefaultHeight:h,windowZIndex:P,setPosition:A,setNewDimensions:S,isToolbarAnimationDisabled:B,fullWindowWidth:w,fullWindowHeight:E,setIsMaximized:v,setIsResized:g,isResized:z,setIsToolbarAnimationDisabled:c,setIsSidebarExpanded:M,isSidebarExpanded:k,minWidth:q,maxWidth:b,minHeight:L,maxHeight:Ce,containerRef:oe}=useContext(Z),H=useMemo(()=>document.createElement("div"),[]),[W,De]=useState(null);useLayoutEffect(()=>{De(oe?.current??document.body);},[oe]),useLayoutEffect(()=>{if(W)return W.appendChild(H),()=>{H.parentNode===W&&W.removeChild(H);}},[W,H]);let ie=useRef({x:0,y:0}),re=xa(),Pe=useCallback((K,F,ne,Me)=>{g(true),S({width:ne.offsetWidth,height:ne.offsetHeight});let ae=ce(ie.current,F,Me);ae&&A(ae);},[S,g,A]),_=s.width||I;if(!W)return null;let Be=jsx(nt,{nodeRef:d,disabled:n,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:w/2-_/2,y:E/2-h/2},position:{x:w-u.x,y:u.y},onStop:(K,F)=>{A({x:w-F.x,y:F.y});},...W===document.body&&{bounds:{top:10}},children:jsx(Dialog,{ref:d,sx:{backgroundColor:"transparent",pointerEvents:"none",zIndex:Number(i||0)+P,...r&&{display:"none"},transform:"translate(180px, 14px)",...!n&&{width:re?_:"fit-content",height:re?h:"fit-content"},...n&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",pointerEvents:"auto",width:z?"fit-content":_,height:z?"fit-content":"100%",...n&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{v(false),c(true),setTimeout(()=>{c(false);},.5*1e3);},open:x,hideBackdrop:true,disableEnforceFocus:true,container:H,fullScreen:n,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,topRight:true,bottomLeft:true,bottomRight:true,left:true,right:true,bottom:true,top:true},handleStyles:{bottom:{zIndex:2},bottomLeft:{zIndex:2},bottomRight:{zIndex:2}},size:{width:s.width,height:s.height},maxHeight:Ce??E-40,maxWidth:b??w,minWidth:n?"100vw":q??I,minHeight:n?"100vh":L??h,ref:K=>{f.current=K;},onResizeStart:()=>{ie.current=u,c(true);},onResizeStop:()=>{c(false);},onResize:Pe,defaultSize:{width:_,height:h},style:{background:"transparent",height:s.height,overflow:"hidden",...n&&{height:"100% !important",width:"100% !important",flex:1},...n&&{position:"relative"}},children:jsxs(it,{sx:{height:"100%"},id:m,"data-testid":"AppWindow",children:[t??jsx(He,{setIsToolbarAnimationDisabled:c,onClose:D,setIsMaximized:v,isToolbarAnimationDisabled:B,setIsSidebarExpanded:M,isSidebarExpanded:k,title:o,isMaximized:n,showSectionsButton:p,rightActions:l,icon:a}),e]})})})});return createPortal(Be,H)}var Ie=memo(at);var pt=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer"})),lt=styled(Button)(({theme:e,disabled:t})=>({background:t?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),mt=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),ut=styled(Box)(()=>({position:"fixed",height:35,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),ft=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var ee=Ie;function ct({children:e,windowProps:t,...o}){return o.isOpen?jsx(Y,{...o,children:jsx(ee,{...t,children:e})}):null}var ve=ct;function ht({title:e,maximized:t=false,id:o,isHovered:i=false,onMouseHover:r,onMouseLeave:p,leftActions:l,titleIconSrc:a,sx:d$1,...m}){return jsx(c,{className:"header-wrapper",id:o,maximized:t||false,sx:d$1,...m,children:jsx(d,{onMouseEnter:r,onMouseLeave:p,isMaximized:t,isHovered:i,title:e||"",icon:a,leftActions:l})})}var te=memo(ht);function bt({isMaximized:e,id:t,isToolbarAnimationDisabled:o,title:i,leftActions:r,onClose:p,onMaximize:l,sx:a$1}){let{isHovered:d,onMouseEnter:m,onMouseLeave:s}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...o&&{duration:0}},children:jsx(te,{title:i,maximized:e,id:t||"draggable-dialog-title",isHovered:d,onMouseHover:m,onMouseLeave:s,leftActions:r||jsxs(Fragment,{children:[jsx(a,{onClick:p}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:a$1})})}var Te=memo(bt);var Ht=Te;var Go=ve;export{Z as a,Y as b,y as c,xe as d,he as e,we as f,ge as g,$ as h,J as i,pt as j,lt as k,mt as l,ut as m,ft as n,ee as o,te as p,Ht as q,Go as r};
1
+ import {c,d}from'./chunk-PPC5EHKW.js';import {a,c as c$1,d as d$1}from'./chunk-RMTT4FOG.js';import {b,a as a$1}from'./chunk-O5KFJKRT.js';import {yc,xa}from'./chunk-2CIV4TII.js';import {Hf}from'./chunk-KCEYICHJ.js';import {createContext,memo,useRef,useId,useContext,useMemo,useState,useLayoutEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import it from'@mui/material/Box';import {Resizable}from're-resizable';import nt from'react-draggable';import {motion}from'framer-motion';var Z=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{},containerRef:{current:null}});var Fe=555,Ge=545;function Y({children:e,isOpen:t,onClose:o,defaultWindowHeight:i,defaultWindowWidth:r,initialPosition:p,minWidth:l,maxWidth:a,minHeight:d,maxHeight:m,containerRef:s}){let{height:u,width:f}=a$1(),n=r||Fe,x=i||Ge,[D,I]=useState({x:p?.x??f/2+n/2,y:p?.y??u/2-x/2}),[h,P]=useState(false),[A,S]=useState(false),[B,w]=useState(false),[E,v]=useState(true),g=useRef(),[z,c]=useState({width:r??0,height:i??0}),M=useCallback(b=>{g?.current?.updateSize(b);},[]),k=useCallback(b=>{g.current?.updateSize(b),c(L=>({width:b.width??L.width,height:b.height??L.height}));},[]),q=useMemo(()=>({position:D,setPosition:I,resizableRef:g,windowZIndex:1,isOpen:t,setIsMaximized:P,setIsSidebarExpanded:v,setIsToolbarAnimationDisabled:w,setIsResized:S,isMaximized:h,isToolbarAnimationDisabled:B,isSidebarExpanded:E,isResized:A,dimensions:z,setNewDimensions:c,viewerDefaultWidth:n,viewerDefaultHeight:x,onClose:o,fullWindowWidth:f,fullWindowHeight:u,updateRefSize:M,updateSize:k,minWidth:l,maxWidth:a,minHeight:d,maxHeight:m,containerRef:s}),[D,I,g,t,P,v,w,S,h,B,E,A,z,c,f,u,n,x,M,k,o,l,a,d,m,s]);return jsx(Z.Provider,{value:q,children:e})}var fe=(e,t)=>t.toLowerCase().includes(e);function ce(e,t,o){let i=fe("top",t),r=fe("left",t);return !i&&!r?null:{x:r?e.x+o.width:e.x,y:i?e.y-o.height:e.y}}var y=.5,xe=183,he=287,we=840,ge=545,$=35;function Ne({title:e,onClose:t,onMaximize:o,maximized:i=false,id:r,onRequestClick:p,isSidebarExpanded:l=false,isHovered:a$1=false,onMouseHover:d$2,onMouseLeave:m,showSectionsButton:s,rightActions:u,icon:f}){return jsx(c,{id:r,"data-testid":"UserTitleBar",maximized:i||false,children:jsx(d,{onMouseEnter:d$2,onMouseLeave:m,isMaximized:i,isHovered:a$1,title:e,icon:f||Hf,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:i,onClick:o}),s&&jsx(d$1,{onClick:p,isExpanded:!l,isHovered:a$1,children:"Sidebar"})]}),rightActions:u})})}var be=memo(Ne);var J=be;function qe({isMaximized:e,setIsToolbarAnimationDisabled:t,setIsMaximized:o,onClose:i,isSidebarExpanded:r,setIsSidebarExpanded:p,isToolbarAnimationDisabled:l,title:a,showSectionsButton:d,rightActions:m,icon:s}){let{isHovered:u,onMouseEnter:f,onMouseLeave:n}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx(J,{title:a||"Users",showSectionsButton:d,onClose:i,onMaximize:()=>{o?.(x=>!x),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),p(!r);},isSidebarExpanded:r,isHovered:u,onMouseHover:f,onMouseLeave:n,rightActions:m,icon:s})})}var Ae=memo(qe);var He=Ae;function at({children:e,titleBar:t,titleBarText:o,mainAppOrder:i,mainAppIsMinimized:r,showSectionsButton:p=true,rightActions:l,titleBarIcon:a}){let d=useRef(null),m=yc(useId(),"app-window"),{dimensions:s,position:u,resizableRef:f,isMaximized:n,isOpen:x,onClose:D,viewerDefaultWidth:I,viewerDefaultHeight:h,windowZIndex:P,setPosition:A,setNewDimensions:S,isToolbarAnimationDisabled:B,fullWindowWidth:w,fullWindowHeight:E,setIsMaximized:v,setIsResized:g,isResized:z,setIsToolbarAnimationDisabled:c,setIsSidebarExpanded:M,isSidebarExpanded:k,minWidth:q,maxWidth:b,minHeight:L,maxHeight:Ce,containerRef:oe}=useContext(Z),H=useMemo(()=>document.createElement("div"),[]),[W,De]=useState(null);useLayoutEffect(()=>{De(oe?.current??document.body);},[oe]),useLayoutEffect(()=>{if(W)return W.appendChild(H),()=>{H.parentNode===W&&W.removeChild(H);}},[W,H]);let ie=useRef({x:0,y:0}),re=xa(),Pe=useCallback((K,F,ne,Me)=>{g(true),S({width:ne.offsetWidth,height:ne.offsetHeight});let ae=ce(ie.current,F,Me);ae&&A(ae);},[S,g,A]),_=s.width||I;if(!W)return null;let Be=jsx(nt,{nodeRef:d,disabled:n,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:w/2-_/2,y:E/2-h/2},position:{x:w-u.x,y:u.y},onStop:(K,F)=>{A({x:w-F.x,y:F.y});},...W===document.body&&{bounds:{top:10}},children:jsx(Dialog,{ref:d,sx:{backgroundColor:"transparent",pointerEvents:"none",zIndex:Number(i||0)+P,...r&&{display:"none"},transform:"translate(180px, 14px)",...!n&&{width:re?_:"fit-content",height:re?h:"fit-content"},...n&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",pointerEvents:"auto",width:z?"fit-content":_,height:z?"fit-content":"100%",...n&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{v(false),c(true),setTimeout(()=>{c(false);},.5*1e3);},open:x,hideBackdrop:true,disableEnforceFocus:true,container:H,fullScreen:n,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,topRight:true,bottomLeft:true,bottomRight:true,left:true,right:true,bottom:true,top:true},handleStyles:{bottom:{zIndex:2},bottomLeft:{zIndex:2},bottomRight:{zIndex:2}},size:{width:s.width,height:s.height},maxHeight:Ce??E-40,maxWidth:b??w,minWidth:n?"100vw":q??I,minHeight:n?"100vh":L??h,ref:K=>{f.current=K;},onResizeStart:()=>{ie.current=u,c(true);},onResizeStop:()=>{c(false);},onResize:Pe,defaultSize:{width:_,height:h},style:{background:"transparent",height:s.height,overflow:"hidden",...n&&{height:"100% !important",width:"100% !important",flex:1},...n&&{position:"relative"}},children:jsxs(it,{sx:{height:"100%"},id:m,"data-testid":"AppWindow",children:[t??jsx(He,{setIsToolbarAnimationDisabled:c,onClose:D,setIsMaximized:v,isToolbarAnimationDisabled:B,setIsSidebarExpanded:M,isSidebarExpanded:k,title:o,isMaximized:n,showSectionsButton:p,rightActions:l,icon:a}),e]})})})});return createPortal(Be,H)}var Ie=memo(at);var pt=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer"})),lt=styled(Button)(({theme:e,disabled:t})=>({background:t?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),mt=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),ut=styled(Box)(()=>({position:"fixed",height:35,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),ft=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var ee=Ie;function ct({children:e,windowProps:t,...o}){return o.isOpen?jsx(Y,{...o,children:jsx(ee,{...t,children:e})}):null}var ve=ct;function ht({title:e,maximized:t=false,id:o,isHovered:i=false,onMouseHover:r,onMouseLeave:p,leftActions:l,titleIconSrc:a,sx:d$1,...m}){return jsx(c,{className:"header-wrapper",id:o,maximized:t||false,sx:d$1,...m,children:jsx(d,{onMouseEnter:r,onMouseLeave:p,isMaximized:t,isHovered:i,title:e||"",icon:a,leftActions:l})})}var te=memo(ht);function bt({isMaximized:e,id:t,isToolbarAnimationDisabled:o,title:i,leftActions:r,onClose:p,onMaximize:l,sx:a$1}){let{isHovered:d,onMouseEnter:m,onMouseLeave:s}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...o&&{duration:0}},children:jsx(te,{title:i,maximized:e,id:t||"draggable-dialog-title",isHovered:d,onMouseHover:m,onMouseLeave:s,leftActions:r||jsxs(Fragment,{children:[jsx(a,{onClick:p}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:a$1})})}var Te=memo(bt);var Ht=Te;var Go=ve;export{Z as a,Y as b,y as c,xe as d,he as e,we as f,ge as g,$ as h,J as i,pt as j,lt as k,mt as l,ut as m,ft as n,ee as o,te as p,Ht as q,Go as r};
@@ -1 +1 @@
1
- import {f as f$1}from'./chunk-TAZ3Z23V.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
1
+ import {f as f$1}from'./chunk-X2IIYK74.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=yc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId,useState,useRef,useCallback,useEffect}from'react';import v from'@mui/material/Stack';import {jsx}from'react/jsx-runtime';var E=50,g=(t,s=E)=>{let e=t.scrollTop+t.clientHeight;return t.scrollHeight-e<=s},H=t=>{let{component:s=v,loadMoreItems:e,hasMore:l,loading:i,isFetchingNextPage:a,children:S,...R}=t,C=yc(useId(),"scroll-loader"),[m,L]=useState(false),p=useRef(e),r=useRef(null);p.current=e;let k=s,n=useCallback(()=>{l&&!a&&p.current();},[l,a]),c=useCallback(()=>{let o=r.current;if(!o)return;g(o)&&n();},[n]);return useEffect(()=>{let o=r.current;if(o)return o.addEventListener("scroll",c),()=>o.removeEventListener("scroll",c)},[c]),useEffect(()=>{let o=r.current;if(!o||i||m)return;let d=setTimeout(()=>{L(true),g(o)&&n();},1e3);return ()=>{clearTimeout(d);}},[i,n,m]),jsx(k,{id:C,"data-testid":"ScrollLoader",overflow:"auto",ref:r,style:{overflow:"auto",height:"100%",maxHeight:"100%"},...R,children:S})},I=H;var q=I;export{q as a};
@@ -1 +1 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId}from'react';import a from'@mui/material/Box';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var e=styled(motion.div)(()=>({width:"100%",height:"100%",cursor:"pointer",".card-front > div, .card-back > div, .card-container":{width:"inherit",height:"inherit"},".card-container":{perspective:"1000px"},".card":{width:"100%",height:"100%",position:"relative",transformStyle:"preserve-3d"},".card-front, .card-back":{position:"absolute",backfaceVisibility:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},".card-back":{transform:"rotateY(180deg)"}}));function t({frontCard:d,backCard:n,isFlipped:p,isHovered:c}){let m=yc(useId(),"flipping-card");return jsx(e,{id:m,"data-testid":"FlippingCard",children:jsx(motion.div,{className:"card-container",children:jsxs(motion.div,{className:"card",animate:{rotateY:p?180:c?20:0},transition:{duration:.3},children:[jsx(motion.div,{className:"card-front",children:jsx(a,{children:d})}),jsx(motion.div,{className:"card-back",children:jsx(a,{children:n})})]})})})}var N=t;export{N as a};
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId}from'react';import a from'@mui/material/Box';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var e=styled(motion.div)(()=>({width:"100%",height:"100%",cursor:"pointer",".card-front > div, .card-back > div, .card-container":{width:"inherit",height:"inherit"},".card-container":{perspective:"1000px"},".card":{width:"100%",height:"100%",position:"relative",transformStyle:"preserve-3d"},".card-front, .card-back":{position:"absolute",backfaceVisibility:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},".card-back":{transform:"rotateY(180deg)"}}));function t({frontCard:d,backCard:n,isFlipped:p,isHovered:c}){let m=yc(useId(),"flipping-card");return jsx(e,{id:m,"data-testid":"FlippingCard",children:jsx(motion.div,{className:"card-container",children:jsxs(motion.div,{className:"card",animate:{rotateY:p?180:c?20:0},transition:{duration:.3},children:[jsx(motion.div,{className:"card-front",children:jsx(a,{children:d})}),jsx(motion.div,{className:"card-back",children:jsx(a,{children:n})})]})})})}var N=t;export{N as a};
@@ -1 +1 @@
1
- import {f}from'./chunk-PM76UI3C.js';import {yc}from'./chunk-RBCDAZB4.js';import {useId}from'react';import {styled,MenuItem,Menu,ListItemIcon,ListItemText,Select,useTheme,Divider,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var m=styled(MenuItem,{shouldForwardProp:t=>t!=="alwaysShowRightAction"})(({theme:t,alwaysShowRightAction:n})=>({backgroundColor:n?t.palette.common.lightOrange:"","&:hover":{backgroundColor:n?t.palette.common.lightOrange:"",boxShadow:t.shadows[10],":hover":{"& .sandbox-Icon":{left:"-16px !important",transition:"all 0.3s ease-in-out"},"& .close-Icon":{display:"block !important"}}}})),g=styled(Menu,{shouldForwardProp:t=>t!=="minWidth"})(({theme:t,minWidth:n})=>({".MuiMenu-paper":{borderRadius:4,minWidth:n},".MuiMenuItem-root":{display:"flex",gap:"4px",minHeight:"36px",alignItems:"center",paddingInline:8,transition:t.transitions.create(["visibility"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.complex}),".menu-right-action":{visibility:"hidden"},"&:hover":{".menu-right-action":{visibility:"visible"}}},"&.tap-dropdown":{zIndex:2e3,".MuiList-root":{padding:0}}})),h=styled(ListItemIcon)(()=>({minWidth:"16px !important"})),x=styled(ListItemText)(()=>({".MuiTypography-root":{fontSize:"0.6875rem"}})),T=styled(Select)(({theme:t})=>({padding:"0.25rem 0.34rem 0.25rem 0.5rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.19rem",width:"auto",flexShrink:0,borderRadius:"0.5rem",boxShadow:t.shadows[5],cursor:"pointer",outline:t.palette.background.default,border:"none",backgroundColor:t.palette.background.default,"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiMenuList-root":{padding:"0px !important",margin:0},"& .MuiSelect-outlined":{padding:"0px !important"}})),D=styled(MenuItem)(({theme:t})=>({display:"flex",height:"2.5rem",width:"10.43rem",alignItems:"center",gap:"0.5",alignSelf:"stretch",transition:"boxShadow 0.2s ease-in-out",backgroundColor:"inherit !important",margin:0,padding:0,paddingTop:"0px !important",paddingBottom:"0px !important","&:hover":{boxSizing:"border-box",boxShadow:`${t.shadows[3]}`}})),z=styled("p")(({theme:t})=>({color:t.palette.text.primary,fontSize:"0.68rem",fontWeight:600,textAlign:"center",padding:"0 !important",margin:"0 !important",textTransform:"capitalize",".MuiOutlinedInput-input":{paddingRight:0},"MuiInputBase-input":{paddingRight:0},".MuiSelect-select":{paddingRight:0}})),A=styled("p")(({theme:t})=>({fontSize:"0.75rem",fontWeight:500,color:t.palette.text.primary,paddingLeft:"1rem !important",transition:"boxShadow 0.2s ease-in-out"})),W=styled("img")(()=>({width:"0.75rem",height:"auto",padding:0,paddingBottom:.5,margin:0,verticalAlign:"middle",boxSizing:"border-box"})),S=styled(f)(()=>({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}));function N({open:t,menuItems:n,anchorEl:a,onClose:d,footer:I,selected:f,multiple:w,allowShadows:p=true,...M}){let C=yc(useId(),"dropdown-menu"),l=useTheme();return jsxs(g,{id:C,"data-testid":"DropdownMenu",open:t,anchorEl:a,onClose:d,onContextMenu:o=>{o.preventDefault(),d();},...M,className:"tap-dropdown",minWidth:a?.clientWidth||"auto",children:[n.map((o,r)=>o.name==="divider"?jsx(Divider,{sx:{margin:"0 !important"}},`${o.label}-${r}`):jsx("div",{children:o.label&&jsxs(m,{alwaysShowRightAction:o.alwaysShowRightAction,onClick:k=>{o.onClick&&o.onClick(k);},onContextMenu:o.onRightClick,selected:o.selected,sx:{"&:hover":{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none","& .sandbox-Icon":{display:"none"},"& .close-Icon":{display:"block !important"}},...r===f&&{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none"},...o.sx},children:[w&&jsx(S,{size:"small",checked:o.selected}),o.icon&&jsx(h,{children:o.icon}),jsx(x,{children:o.label}),jsx(Box,{className:o.alwaysShowRightAction?"":"menu-right-action",children:o.rightAction&&o.rightAction})]})},`${o.label}-${r}`)),I]})}var b=N;var X=b;export{T as a,D as b,z as c,A as d,W as e,X as f};
1
+ import {f}from'./chunk-DV5XS66I.js';import {yc}from'./chunk-2CIV4TII.js';import {useId}from'react';import {styled,MenuItem,Menu,ListItemIcon,ListItemText,Select,useTheme,Divider,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var m=styled(MenuItem,{shouldForwardProp:t=>t!=="alwaysShowRightAction"})(({theme:t,alwaysShowRightAction:n})=>({backgroundColor:n?t.palette.common.lightOrange:"","&:hover":{backgroundColor:n?t.palette.common.lightOrange:"",boxShadow:t.shadows[10],":hover":{"& .sandbox-Icon":{left:"-16px !important",transition:"all 0.3s ease-in-out"},"& .close-Icon":{display:"block !important"}}}})),g=styled(Menu,{shouldForwardProp:t=>t!=="minWidth"})(({theme:t,minWidth:n})=>({".MuiMenu-paper":{borderRadius:4,minWidth:n},".MuiMenuItem-root":{display:"flex",gap:"4px",minHeight:"36px",alignItems:"center",paddingInline:8,transition:t.transitions.create(["visibility"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.complex}),".menu-right-action":{visibility:"hidden"},"&:hover":{".menu-right-action":{visibility:"visible"}}},"&.tap-dropdown":{zIndex:2e3,".MuiList-root":{padding:0}}})),h=styled(ListItemIcon)(()=>({minWidth:"16px !important"})),x=styled(ListItemText)(()=>({".MuiTypography-root":{fontSize:"0.6875rem"}})),T=styled(Select)(({theme:t})=>({padding:"0.25rem 0.34rem 0.25rem 0.5rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.19rem",width:"auto",flexShrink:0,borderRadius:"0.5rem",boxShadow:t.shadows[5],cursor:"pointer",outline:t.palette.background.default,border:"none",backgroundColor:t.palette.background.default,"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiMenuList-root":{padding:"0px !important",margin:0},"& .MuiSelect-outlined":{padding:"0px !important"}})),D=styled(MenuItem)(({theme:t})=>({display:"flex",height:"2.5rem",width:"10.43rem",alignItems:"center",gap:"0.5",alignSelf:"stretch",transition:"boxShadow 0.2s ease-in-out",backgroundColor:"inherit !important",margin:0,padding:0,paddingTop:"0px !important",paddingBottom:"0px !important","&:hover":{boxSizing:"border-box",boxShadow:`${t.shadows[3]}`}})),z=styled("p")(({theme:t})=>({color:t.palette.text.primary,fontSize:"0.68rem",fontWeight:600,textAlign:"center",padding:"0 !important",margin:"0 !important",textTransform:"capitalize",".MuiOutlinedInput-input":{paddingRight:0},"MuiInputBase-input":{paddingRight:0},".MuiSelect-select":{paddingRight:0}})),A=styled("p")(({theme:t})=>({fontSize:"0.75rem",fontWeight:500,color:t.palette.text.primary,paddingLeft:"1rem !important",transition:"boxShadow 0.2s ease-in-out"})),W=styled("img")(()=>({width:"0.75rem",height:"auto",padding:0,paddingBottom:.5,margin:0,verticalAlign:"middle",boxSizing:"border-box"})),S=styled(f)(()=>({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}));function N({open:t,menuItems:n,anchorEl:a,onClose:d,footer:I,selected:f,multiple:w,allowShadows:p=true,...M}){let C=yc(useId(),"dropdown-menu"),l=useTheme();return jsxs(g,{id:C,"data-testid":"DropdownMenu",open:t,anchorEl:a,onClose:d,onContextMenu:o=>{o.preventDefault(),d();},...M,className:"tap-dropdown",minWidth:a?.clientWidth||"auto",children:[n.map((o,r)=>o.name==="divider"?jsx(Divider,{sx:{margin:"0 !important"}},`${o.label}-${r}`):jsx("div",{children:o.label&&jsxs(m,{alwaysShowRightAction:o.alwaysShowRightAction,onClick:k=>{o.onClick&&o.onClick(k);},onContextMenu:o.onRightClick,selected:o.selected,sx:{"&:hover":{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none","& .sandbox-Icon":{display:"none"},"& .close-Icon":{display:"block !important"}},...r===f&&{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none"},...o.sx},children:[w&&jsx(S,{size:"small",checked:o.selected}),o.icon&&jsx(h,{children:o.icon}),jsx(x,{children:o.label}),jsx(Box,{className:o.alwaysShowRightAction?"":"menu-right-action",children:o.rightAction&&o.rightAction})]})},`${o.label}-${r}`)),I]})}var b=N;var X=b;export{T as a,D as b,z as c,A as d,W as e,X as f};
@@ -1,2 +1,2 @@
1
- import {yc}from'./chunk-RBCDAZB4.js';import {useId}from'react';import e from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(e)(({theme:t})=>({fontSize:"10px",padding:"4px 8px 4px 4px",color:t.palette.common.white,borderRadius:"45px",fontWeight:500,background:"var(--Garident---Checkout, linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%))",boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",display:"flex",gap:"6px",alignItems:"center",height:30})),i=styled(e)(()=>({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",top:"15px"})),a=styled(e)(({theme:t})=>({borderRadius:"13px",background:t.palette.common.white,boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center"}));function o({title:t}){let g=yc(useId(),"no-internet");return jsx(i,{id:g,"data-testid":"NoInternet",children:jsxs(n,{children:[jsx(a,{children:jsxs("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{"clip-path":"url(#clip0_4838_500791)",children:jsx("path",{d:"M12.6359 1.34444L12.6359 1.34444L1.84425 12.1361L1.84324 12.1371L1.84323 12.1371C1.80796 12.171 1.7798 12.2115 1.76041 12.2564C1.74101 12.3013 1.73076 12.3496 1.73026 12.3985C1.72977 12.4474 1.73903 12.4959 1.75751 12.5411C1.77599 12.5864 1.80332 12.6275 1.8379 12.6621C1.87247 12.6967 1.9136 12.724 1.95886 12.7425C2.00413 12.761 2.05263 12.7702 2.10153 12.7697C2.15042 12.7693 2.19872 12.759 2.2436 12.7396C2.28849 12.7202 2.32905 12.692 2.36291 12.6568L2.3639 12.6558L2.36391 12.6558L6.87107 8.1486L6.88649 8.13318L6.90794 8.12925C7.83177 7.95978 8.82148 8.22837 9.53582 8.94271C9.60683 9.01372 9.70218 9.05038 9.79508 9.05038C9.88808 9.05038 9.98396 9.01366 10.0549 8.94271L10.0553 8.94229C10.1993 8.80078 10.1999 8.5686 10.0549 8.42362C9.42924 7.79795 8.63373 7.44893 7.81425 7.36712L7.66723 7.35244L7.7717 7.24797L9.21295 5.80672L9.24408 5.77559L9.28562 5.79017C10.0624 6.06276 10.7767 6.50589 11.3758 7.10498C11.4471 7.17626 11.5402 7.21322 11.6357 7.21322C11.7275 7.21322 11.8209 7.17675 11.8957 7.10478C12.0374 6.95995 12.0372 6.72746 11.8952 6.58281C11.3154 6.00304 10.6422 5.55399 9.91133 5.24449L9.81569 5.20398L9.88914 5.13053L11.1806 3.83911L11.217 3.80262L11.2627 3.82668C11.9646 4.19662 12.6233 4.67474 13.2136 5.26497C13.2845 5.33592 13.3804 5.37265 13.4734 5.37265C13.569 5.37265 13.6615 5.33616 13.7326 5.26497C13.8776 5.11999 13.877 4.88724 13.7331 4.74574L13.7325 4.74522C13.1559 4.16612 12.5156 3.69094 11.8371 3.30814L11.7568 3.26285L11.822 3.19767L13.1556 1.8641L13.1562 1.86344C13.2093 1.81181 13.2454 1.74537 13.2601 1.67282C13.2747 1.60028 13.2671 1.525 13.2383 1.45685C13.2094 1.3887 13.1606 1.33084 13.0984 1.29086C13.0361 1.25088 12.9632 1.23062 12.8892 1.23275L12.6359 1.34444ZM12.6359 1.34444L12.6366 1.34377M12.6359 1.34444L12.6366 1.34377M12.6366 1.34377C12.7032 1.27535 12.7938 1.23554 12.8892 1.23275L12.6366 1.34377ZM1.15567 4.74574L1.1561 4.74532C2.82333 3.07809 4.99232 2.21114 7.18124 2.14706C8.13805 2.11905 9.09854 2.24422 10.0224 2.52326L9.42386 3.12232C6.7366 2.45348 3.77167 3.16849 1.67518 5.26497L1.67477 5.2654C1.53326 5.40934 1.30108 5.40996 1.1561 5.26497C1.01112 5.11999 1.01173 4.88724 1.15567 4.74574ZM2.99668 6.58304C4.18518 5.39454 5.76276 4.74246 7.44465 4.74246C7.56138 4.74246 7.67793 4.74531 7.7943 4.7519L7.05489 5.49131C5.71805 5.58262 4.47253 6.1454 3.51594 7.10481C3.37084 7.24718 3.13819 7.2465 2.99668 7.10498C2.85193 6.96023 2.85193 6.72779 2.99668 6.58304ZM6.72445 10.308C6.93012 10.1023 7.20906 9.98677 7.49991 9.98677C7.79077 9.98677 8.06971 10.1023 8.27537 10.308C8.48104 10.5136 8.59658 10.7926 8.59658 11.0834C8.59658 11.3743 8.48104 11.6532 8.27537 11.8589C8.06971 12.0646 7.79077 12.1801 7.49991 12.1801C7.20906 12.1801 6.93012 12.0646 6.72445 11.8589C6.51879 11.6532 6.40325 11.3743 6.40325 11.0834C6.40325 10.7926 6.51879 10.5136 6.72445 10.308Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.14"})}),jsx("defs",{children:jsx("clipPath",{id:"clip0_4838_500791",children:jsx("rect",{width:"14",height:"14",fill:"white",transform:"translate(0.5)"})})})]})}),jsx(e,{children:t})]})})}var W=o;
1
+ import {yc}from'./chunk-2CIV4TII.js';import {useId}from'react';import e from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(e)(({theme:t})=>({fontSize:"10px",padding:"4px 8px 4px 4px",color:t.palette.common.white,borderRadius:"45px",fontWeight:500,background:"var(--Garident---Checkout, linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%))",boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",display:"flex",gap:"6px",alignItems:"center",height:30})),i=styled(e)(()=>({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",top:"15px"})),a=styled(e)(({theme:t})=>({borderRadius:"13px",background:t.palette.common.white,boxShadow:"0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center"}));function o({title:t}){let g=yc(useId(),"no-internet");return jsx(i,{id:g,"data-testid":"NoInternet",children:jsxs(n,{children:[jsx(a,{children:jsxs("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{"clip-path":"url(#clip0_4838_500791)",children:jsx("path",{d:"M12.6359 1.34444L12.6359 1.34444L1.84425 12.1361L1.84324 12.1371L1.84323 12.1371C1.80796 12.171 1.7798 12.2115 1.76041 12.2564C1.74101 12.3013 1.73076 12.3496 1.73026 12.3985C1.72977 12.4474 1.73903 12.4959 1.75751 12.5411C1.77599 12.5864 1.80332 12.6275 1.8379 12.6621C1.87247 12.6967 1.9136 12.724 1.95886 12.7425C2.00413 12.761 2.05263 12.7702 2.10153 12.7697C2.15042 12.7693 2.19872 12.759 2.2436 12.7396C2.28849 12.7202 2.32905 12.692 2.36291 12.6568L2.3639 12.6558L2.36391 12.6558L6.87107 8.1486L6.88649 8.13318L6.90794 8.12925C7.83177 7.95978 8.82148 8.22837 9.53582 8.94271C9.60683 9.01372 9.70218 9.05038 9.79508 9.05038C9.88808 9.05038 9.98396 9.01366 10.0549 8.94271L10.0553 8.94229C10.1993 8.80078 10.1999 8.5686 10.0549 8.42362C9.42924 7.79795 8.63373 7.44893 7.81425 7.36712L7.66723 7.35244L7.7717 7.24797L9.21295 5.80672L9.24408 5.77559L9.28562 5.79017C10.0624 6.06276 10.7767 6.50589 11.3758 7.10498C11.4471 7.17626 11.5402 7.21322 11.6357 7.21322C11.7275 7.21322 11.8209 7.17675 11.8957 7.10478C12.0374 6.95995 12.0372 6.72746 11.8952 6.58281C11.3154 6.00304 10.6422 5.55399 9.91133 5.24449L9.81569 5.20398L9.88914 5.13053L11.1806 3.83911L11.217 3.80262L11.2627 3.82668C11.9646 4.19662 12.6233 4.67474 13.2136 5.26497C13.2845 5.33592 13.3804 5.37265 13.4734 5.37265C13.569 5.37265 13.6615 5.33616 13.7326 5.26497C13.8776 5.11999 13.877 4.88724 13.7331 4.74574L13.7325 4.74522C13.1559 4.16612 12.5156 3.69094 11.8371 3.30814L11.7568 3.26285L11.822 3.19767L13.1556 1.8641L13.1562 1.86344C13.2093 1.81181 13.2454 1.74537 13.2601 1.67282C13.2747 1.60028 13.2671 1.525 13.2383 1.45685C13.2094 1.3887 13.1606 1.33084 13.0984 1.29086C13.0361 1.25088 12.9632 1.23062 12.8892 1.23275L12.6359 1.34444ZM12.6359 1.34444L12.6366 1.34377M12.6359 1.34444L12.6366 1.34377M12.6366 1.34377C12.7032 1.27535 12.7938 1.23554 12.8892 1.23275L12.6366 1.34377ZM1.15567 4.74574L1.1561 4.74532C2.82333 3.07809 4.99232 2.21114 7.18124 2.14706C8.13805 2.11905 9.09854 2.24422 10.0224 2.52326L9.42386 3.12232C6.7366 2.45348 3.77167 3.16849 1.67518 5.26497L1.67477 5.2654C1.53326 5.40934 1.30108 5.40996 1.1561 5.26497C1.01112 5.11999 1.01173 4.88724 1.15567 4.74574ZM2.99668 6.58304C4.18518 5.39454 5.76276 4.74246 7.44465 4.74246C7.56138 4.74246 7.67793 4.74531 7.7943 4.7519L7.05489 5.49131C5.71805 5.58262 4.47253 6.1454 3.51594 7.10481C3.37084 7.24718 3.13819 7.2465 2.99668 7.10498C2.85193 6.96023 2.85193 6.72779 2.99668 6.58304ZM6.72445 10.308C6.93012 10.1023 7.20906 9.98677 7.49991 9.98677C7.79077 9.98677 8.06971 10.1023 8.27537 10.308C8.48104 10.5136 8.59658 10.7926 8.59658 11.0834C8.59658 11.3743 8.48104 11.6532 8.27537 11.8589C8.06971 12.0646 7.79077 12.1801 7.49991 12.1801C7.20906 12.1801 6.93012 12.0646 6.72445 11.8589C6.51879 11.6532 6.40325 11.3743 6.40325 11.0834C6.40325 10.7926 6.51879 10.5136 6.72445 10.308Z",fill:"#20232B",stroke:"#20232B",strokeWidth:"0.14"})}),jsx("defs",{children:jsx("clipPath",{id:"clip0_4838_500791",children:jsx("rect",{width:"14",height:"14",fill:"white",transform:"translate(0.5)"})})})]})}),jsx(e,{children:t})]})})}var W=o;
2
2
  export{W as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-65ROHES3.js';import {yc}from'./chunk-RBCDAZB4.js';import {ri,A}from'./chunk-R3NBSKNX.js';import {useId}from'react';import g from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var s=styled(a)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),d=styled(g)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var v=({value:o,name:c,placeholder:l,onSearchChange:u,onSearchReset:f,...h})=>{let I=yc(useId(),"search-list-input");return jsx(d,{id:I,"data-testid":"SearchListInput",...h,children:jsx(s,{className:"input",name:c,placeholder:l,onChange:t=>u(t.target.value),onKeyDown:t=>t.stopPropagation(),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(g,{component:"img","data-icon":o?"close":"search",src:o?ri:A,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:f})})})},m=v;var R=m;export{R as a};
1
+ import {a}from'./chunk-R4GFBLY3.js';import {yc}from'./chunk-2CIV4TII.js';import {si,B}from'./chunk-KCEYICHJ.js';import {useId}from'react';import g from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var s=styled(a)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),d=styled(g)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var v=({value:o,name:c,placeholder:l,onSearchChange:u,onSearchReset:f,...h})=>{let I=yc(useId(),"search-list-input");return jsx(d,{id:I,"data-testid":"SearchListInput",...h,children:jsx(s,{className:"input",name:c,placeholder:l,onChange:t=>u(t.target.value),onKeyDown:t=>t.stopPropagation(),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(g,{component:"img","data-icon":o?"close":"search",src:o?si:B,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:f})})})},m=v;var R=m;export{R as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-ZONDSLTR.js';import {yc}from'./chunk-RBCDAZB4.js';import c,{forwardRef,useId,useMemo,useState,useRef,useEffect}from'react';import {styled,Box,useTheme}from'@mui/material';import {motion}from'framer-motion';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var f=styled(forwardRef((t,o)=>{let{className:r,variant:n="text",...e}=t,i=`${r||""} CustomVariant_${n}`;return jsx(Box,{ref:o,...e,className:i})}),{shouldForwardProp:t=>t!=="icon"})(({theme:t,variant:o="text",icon:r})=>({border:`1px solid ${t.palette.divider}`,borderRadius:"30px",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",...r&&{justifyContent:"flex-start",gap:t.spacing(1)},...o==="text"&&{padding:`${t.spacing(.75)} ${t.spacing(1)}`,height:"30px",maxWidth:"150px"},...o==="circular"&&{height:24,width:24},...o==="pill-icon"&&{height:24,width:36}})),C=styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)})),h=styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({sourcesCount:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${t*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:"transparent",borderRadius:"16px"})),x=t=>{let{index:o,xDelta:r=39,shadow:n,itemsCount:e=0,expandDirection:i="RIGHT"}=t,a=(e-1)*6;return {start:{x:o*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:i==="RIGHT"?o*r:a+-1*((e-1-o)*r),transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:n}}};var $=forwardRef(({children:t,...o},r)=>{let n=yc(useId(),"chip"),{icon:e}=o;return jsxs(f,{ref:r,id:n,"data-testid":"Chip",...o,children:[jsx(Fragment,{children:e}),t]})}),H=$;var F=({order:t,children:o,getSourceAnimation:r,sourceCount:n,expandDirection:e})=>{let i=r||x,a=useTheme(),p=useMemo(()=>i({index:t,shadow:a.shadows[4],itemsCount:n,expandDirection:e}),[t,a.shadows,i,n,e]);return jsx(b,{order:t,variants:p,children:o})},u=F;var g=({children:t,className:o,getSourceAnimation:r,expandDirection:n})=>{let e=c.Children.count(t),[i,a]=useState({width:0,height:0}),p=useRef(null);useEffect(()=>{if(!p.current)return;let s=p.current;a({width:s.clientWidth,height:s.clientHeight});},[]);let y=useMemo(()=>c.Children.map(t,s=>!c.isValidElement(s)||s.type!==u?(console.error(`\u26A0\uFE0F WARNING: "${g.name}" must contains only children of type "${u.name}"`),s):c.cloneElement(s,{...s.props,sourceCount:e,getSourceAnimation:r,expandDirection:n})),[t,r,e,n]);return jsx(C,{"data-testid":"styled-source-cell",sx:{...i},children:jsx(h,{ref:p,layout:true,className:o,whileHover:"animate",animate:"start",sourcesCount:e,variants:{animate:{width:e*38,zIndex:50}},style:{zIndex:29},children:y})})},L=g;export{H as a,u as b,L as c};
1
+ import {b}from'./chunk-ZONDSLTR.js';import {yc}from'./chunk-2CIV4TII.js';import c,{forwardRef,useId,useMemo,useState,useRef,useEffect}from'react';import {styled,Box,useTheme}from'@mui/material';import {motion}from'framer-motion';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var f=styled(forwardRef((t,o)=>{let{className:r,variant:n="text",...e}=t,i=`${r||""} CustomVariant_${n}`;return jsx(Box,{ref:o,...e,className:i})}),{shouldForwardProp:t=>t!=="icon"})(({theme:t,variant:o="text",icon:r})=>({border:`1px solid ${t.palette.divider}`,borderRadius:"30px",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",...r&&{justifyContent:"flex-start",gap:t.spacing(1)},...o==="text"&&{padding:`${t.spacing(.75)} ${t.spacing(1)}`,height:"30px",maxWidth:"150px"},...o==="circular"&&{height:24,width:24},...o==="pill-icon"&&{height:24,width:36}})),C=styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)})),h=styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({sourcesCount:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${t*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:"transparent",borderRadius:"16px"})),x=t=>{let{index:o,xDelta:r=39,shadow:n,itemsCount:e=0,expandDirection:i="RIGHT"}=t,a=(e-1)*6;return {start:{x:o*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:i==="RIGHT"?o*r:a+-1*((e-1-o)*r),transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:n}}};var $=forwardRef(({children:t,...o},r)=>{let n=yc(useId(),"chip"),{icon:e}=o;return jsxs(f,{ref:r,id:n,"data-testid":"Chip",...o,children:[jsx(Fragment,{children:e}),t]})}),H=$;var F=({order:t,children:o,getSourceAnimation:r,sourceCount:n,expandDirection:e})=>{let i=r||x,a=useTheme(),p=useMemo(()=>i({index:t,shadow:a.shadows[4],itemsCount:n,expandDirection:e}),[t,a.shadows,i,n,e]);return jsx(b,{order:t,variants:p,children:o})},u=F;var g=({children:t,className:o,getSourceAnimation:r,expandDirection:n})=>{let e=c.Children.count(t),[i,a]=useState({width:0,height:0}),p=useRef(null);useEffect(()=>{if(!p.current)return;let s=p.current;a({width:s.clientWidth,height:s.clientHeight});},[]);let y=useMemo(()=>c.Children.map(t,s=>!c.isValidElement(s)||s.type!==u?(console.error(`\u26A0\uFE0F WARNING: "${g.name}" must contains only children of type "${u.name}"`),s):c.cloneElement(s,{...s.props,sourceCount:e,getSourceAnimation:r,expandDirection:n})),[t,r,e,n]);return jsx(C,{"data-testid":"styled-source-cell",sx:{...i},children:jsx(h,{ref:p,layout:true,className:o,whileHover:"animate",animate:"start",sourcesCount:e,variants:{animate:{width:e*38,zIndex:50}},style:{zIndex:29},children:y})})},L=g;export{H as a,u as b,L as c};
@@ -1 +1 @@
1
- import {a}from'./chunk-P2ESF6CK.js';import {ec,yc,x,Ia}from'./chunk-RBCDAZB4.js';import {ea}from'./chunk-UKJ66LPD.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ea.AMOUNT?`${Ia(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return x(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),y=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=ec(o?.dataKey,o?.value),f=o?.payload?.date&&$(o?.payload?.date,y,o?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(w,{children:f??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ea.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},C=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=yc(useId(),"activity-area-chart"),l=useTheme(),[y,o]=useState(false),[m,f]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},R=useMemo(()=>jsx(C,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:y?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},F=rt;var zt=F;export{C as a,T as b,zt as c};
1
+ import {a}from'./chunk-4DSO4G5S.js';import {ec,yc,x,Ia}from'./chunk-2CIV4TII.js';import {ea}from'./chunk-BXMBE224.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ea.AMOUNT?`${Ia(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return x(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),y=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=ec(o?.dataKey,o?.value),f=o?.payload?.date&&$(o?.payload?.date,y,o?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(w,{children:f??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ea.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},C=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=yc(useId(),"activity-area-chart"),l=useTheme(),[y,o]=useState(false),[m,f]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},R=useMemo(()=>jsx(C,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:y?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},F=rt;var zt=F;export{C as a,T as b,zt as c};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-5ZAUKWVJ.js';import {a as a$1}from'./chunk-TGRKEJOI.js';import {a as a$3}from'./chunk-3LNOZKKV.js';import {a}from'./chunk-GNY2VGGW.js';import {Vb,yc}from'./chunk-RBCDAZB4.js';import {yj,zj,Fj,Oe}from'./chunk-R3NBSKNX.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),b=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),L=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),O=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var X=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:te,error:R,errorHint:oe,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:B,successFooter:pe,progressVariant:ne},ae)=>{let{t:n}=useTranslation(),[a,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:j,isDragReject:M,fileRejections:s}=useDropzone(x);useImperativeHandle(ae,()=>({open:f}),[f]),useEffect(()=>{H(j);},[j]);let C=Vb(x?.maxSize||0,0).toUpperCase(),m=useMemo(()=>{let me=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),ce=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return M||me?n("invalidFileType"):ce?`File is larger than ${C}`:R},[M,R,s,C,n]),W=useMemo(()=>a.length?jsxs(b,{sx:{fontWeight:600},children:[jsx(p,{children:a[0].name}),jsx(z,{children:Vb(a[0].size)})]}):null,[a]);return P&&a.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:yj,width:56,height:56}),W]})}),pe??jsxs(O,{children:[jsx(a$1,{onClick:()=>{H([]);},children:jsx(a$2,{src:zj,alt:"delete",sx:{width:14,height:14}})}),jsx(L,{disabled:ie,onClick:()=>{re?.(a);},children:"Bulk Send"})]})]}):U&&a.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??n("uploading")}),jsx(g,{children:n("wait")})]}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[U&&jsx(a$3,{size:56,value:te,variant:ne}),W]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[m?jsx(d,{isError:true,children:m}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:n("uploadBulkFile")}),S||!!m&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:B,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:m?Fj:Oe,width:56,height:56}),oe,W,m?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:n("uploadAgain")})}):jsxs(b,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",C]}),e&&jsx(g,{children:n("supportedFormats",{accept:e})})]})]})]}),i]})});X.displayName="FileUploadBase";var Y=memo(X);var _=forwardRef((e,i)=>{let x=yc(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Y,{...e,ref:i})})});_.displayName="FileUpload";var ee=memo(_);var Qe=ee;export{Qe as a};
1
+ import {a as a$2}from'./chunk-H6HHXYRL.js';import {a as a$1}from'./chunk-TGRKEJOI.js';import {a as a$3}from'./chunk-3L2BA4XQ.js';import {a}from'./chunk-GNY2VGGW.js';import {Vb,yc}from'./chunk-2CIV4TII.js';import {zj,Aj,Gj,Pe}from'./chunk-KCEYICHJ.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),b=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),L=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),O=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var X=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:te,error:R,errorHint:oe,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:B,successFooter:pe,progressVariant:ne},ae)=>{let{t:n}=useTranslation(),[a,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:j,isDragReject:M,fileRejections:s}=useDropzone(x);useImperativeHandle(ae,()=>({open:f}),[f]),useEffect(()=>{H(j);},[j]);let C=Vb(x?.maxSize||0,0).toUpperCase(),m=useMemo(()=>{let me=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),ce=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return M||me?n("invalidFileType"):ce?`File is larger than ${C}`:R},[M,R,s,C,n]),W=useMemo(()=>a.length?jsxs(b,{sx:{fontWeight:600},children:[jsx(p,{children:a[0].name}),jsx(z,{children:Vb(a[0].size)})]}):null,[a]);return P&&a.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:zj,width:56,height:56}),W]})}),pe??jsxs(O,{children:[jsx(a$1,{onClick:()=>{H([]);},children:jsx(a$2,{src:Aj,alt:"delete",sx:{width:14,height:14}})}),jsx(L,{disabled:ie,onClick:()=>{re?.(a);},children:"Bulk Send"})]})]}):U&&a.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??n("uploading")}),jsx(g,{children:n("wait")})]}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[U&&jsx(a$3,{size:56,value:te,variant:ne}),W]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[m?jsx(d,{isError:true,children:m}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:n("uploadBulkFile")}),S||!!m&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:B,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:m?Gj:Pe,width:56,height:56}),oe,W,m?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:n("uploadAgain")})}):jsxs(b,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",C]}),e&&jsx(g,{children:n("supportedFormats",{accept:e})})]})]})]}),i]})});X.displayName="FileUploadBase";var Y=memo(X);var _=forwardRef((e,i)=>{let x=yc(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Y,{...e,ref:i})})});_.displayName="FileUpload";var ee=memo(_);var Qe=ee;export{Qe as a};
@@ -1 +1 @@
1
- export{a as default}from'../../_chunks/chunk-3UHLQWRW.js';import'../../_chunks/chunk-GNY2VGGW.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{a as default}from'../../_chunks/chunk-DYLJN3W4.js';import'../../_chunks/chunk-GNY2VGGW.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1 +1 @@
1
- export{a as ActionMenuDropDown,b as ActionMenuItem,c as default}from'../../_chunks/chunk-DOT5ZDI2.js';import'../../_chunks/chunk-4PJI6O5J.js';import'../../_chunks/chunk-RZDTMTLU.js';import'../../_chunks/chunk-P2ESF6CK.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{a as ActionMenuDropDown,b as ActionMenuItem,c as default}from'../../_chunks/chunk-767TZTOZ.js';import'../../_chunks/chunk-2YUYBTYF.js';import'../../_chunks/chunk-PUIZRXVZ.js';import'../../_chunks/chunk-4DSO4G5S.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1 +1 @@
1
- export{a as ActionsDropdownMenu,b as AppMenuItem}from'../../_chunks/chunk-PWJAM3H7.js';import'../../_chunks/chunk-TEGPKTJ6.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{a as ActionsDropdownMenu,b as AppMenuItem}from'../../_chunks/chunk-NTJZ733T.js';import'../../_chunks/chunk-NJFK5TAC.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1 +1 @@
1
- export{a as default}from'../../_chunks/chunk-ZHZNVM7Z.js';import'../../_chunks/chunk-NFHZQEUH.js';import'../../_chunks/chunk-TAZ3Z23V.js';import'../../_chunks/chunk-PM76UI3C.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{a as default}from'../../_chunks/chunk-7OEJSZPG.js';import'../../_chunks/chunk-VB7FCFAH.js';import'../../_chunks/chunk-X2IIYK74.js';import'../../_chunks/chunk-DV5XS66I.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1 +1 @@
1
- export{a as ChartTooltip,b as LoadingChart,c as default}from'../../_chunks/chunk-2VCDJEGW.js';import'../../_chunks/chunk-P2ESF6CK.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{a as ChartTooltip,b as LoadingChart,c as default}from'../../_chunks/chunk-Z66FPFEW.js';import'../../_chunks/chunk-4DSO4G5S.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';
@@ -1 +1 @@
1
- export{ac as TotalAmount}from'../../_chunks/chunk-QQYR3XD5.js';import'../../_chunks/chunk-LX3FZMBC.js';import'../../_chunks/chunk-G7NWZUZ3.js';import'../../_chunks/chunk-WZM4DBSN.js';import'../../_chunks/chunk-7H5XBVPX.js';import'../../_chunks/chunk-TLZLKR7U.js';import'../../_chunks/chunk-25H25Q54.js';import'../../_chunks/chunk-CBZTAI7O.js';import'../../_chunks/chunk-54QYUSHQ.js';import'../../_chunks/chunk-6ZEXMPHP.js';import'../../_chunks/chunk-52PIMKF7.js';import'../../_chunks/chunk-QBAIMI2A.js';import'../../_chunks/chunk-EKMLYUWT.js';import'../../_chunks/chunk-FFTRYAHQ.js';import'../../_chunks/chunk-OLRRHASW.js';import'../../_chunks/chunk-6UOULENE.js';import'../../_chunks/chunk-WAQHJCE2.js';import'../../_chunks/chunk-AJI6KFNE.js';import'../../_chunks/chunk-3VUNIEDW.js';import'../../_chunks/chunk-KBMYESA4.js';import'../../_chunks/chunk-A453QUU2.js';import'../../_chunks/chunk-47IKB4PU.js';import'../../_chunks/chunk-ZFJ6GUPN.js';import'../../_chunks/chunk-YPGVUZUZ.js';import'../../_chunks/chunk-INGR3ES7.js';import'../../_chunks/chunk-TTB3CTPJ.js';import'../../_chunks/chunk-HA4UOJIP.js';import'../../_chunks/chunk-T3XQWHTK.js';import'../../_chunks/chunk-RS5TVJ7R.js';import'../../_chunks/chunk-KJ6NK75P.js';import'../../_chunks/chunk-5DQPJCQP.js';import'../../_chunks/chunk-2Z4YOMWE.js';import'../../_chunks/chunk-B4AATE4F.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-EDJGLQW3.js';import'../../_chunks/chunk-2X2MNDCM.js';import'../../_chunks/chunk-NI7VGDQW.js';import'../../_chunks/chunk-AMHTC5C2.js';import'../../_chunks/chunk-JVNJM6T6.js';import'../../_chunks/chunk-BU7IMNX6.js';import'../../_chunks/chunk-NP25LI2M.js';import'../../_chunks/chunk-Y6KG2IWI.js';import'../../_chunks/chunk-VSVL2PNY.js';import'../../_chunks/chunk-S4RT3VB6.js';import'../../_chunks/chunk-ZZHAYV5P.js';import'../../_chunks/chunk-JQRIG5FB.js';import'../../_chunks/chunk-65ROHES3.js';import'../../_chunks/chunk-JHIPGNC2.js';import'../../_chunks/chunk-TVAZADLI.js';import'../../_chunks/chunk-7W7ZXZDB.js';import'../../_chunks/chunk-VH2A4PRP.js';import'../../_chunks/chunk-5ZAUKWVJ.js';import'../../_chunks/chunk-DLGM747U.js';import'../../_chunks/chunk-JZCM7T3M.js';import'../../_chunks/chunk-IGIVQ5NH.js';import'../../_chunks/chunk-ZI2427WJ.js';import'../../_chunks/chunk-WXMVHEBR.js';import'../../_chunks/chunk-I56F47SX.js';import'../../_chunks/chunk-BAKMLZI4.js';import'../../_chunks/chunk-7DFD7WJS.js';import'../../_chunks/chunk-WXZAKC23.js';import'../../_chunks/chunk-2B3IVXKZ.js';import'../../_chunks/chunk-FXUDI6NO.js';import'../../_chunks/chunk-VSXBLD2E.js';import'../../_chunks/chunk-N3IRDIUC.js';import'../../_chunks/chunk-QCMIRJFM.js';import'../../_chunks/chunk-2AWDKWKY.js';import'../../_chunks/chunk-UAHUS5PL.js';import'../../_chunks/chunk-HJ4J56OP.js';import'../../_chunks/chunk-XH5AY5UF.js';import'../../_chunks/chunk-TGKCKZOV.js';import'../../_chunks/chunk-TGRKEJOI.js';import'../../_chunks/chunk-MYPSQEJ5.js';import'../../_chunks/chunk-H7HCLGNO.js';import'../../_chunks/chunk-M2OAS36B.js';import'../../_chunks/chunk-WQXW2YTH.js';import'../../_chunks/chunk-XONJTPVT.js';import'../../_chunks/chunk-UPUPMXR3.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-4FNSHIAS.js';import'../../_chunks/chunk-MBQCD5AC.js';import'../../_chunks/chunk-KHM5KW53.js';import'../../_chunks/chunk-3LNOZKKV.js';import'../../_chunks/chunk-EF4ASBGX.js';import'../../_chunks/chunk-CCQTVHAD.js';import'../../_chunks/chunk-QRGXADXK.js';import'../../_chunks/chunk-S3OR26U4.js';import'../../_chunks/chunk-CHBYSMFC.js';import'../../_chunks/chunk-M5MYK5ZE.js';import'../../_chunks/chunk-BFHCHIY3.js';import'../../_chunks/chunk-2GUSQI3N.js';import'../../_chunks/chunk-JQ6FKHTQ.js';import'../../_chunks/chunk-IKUDFCXC.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-AWXRPX7U.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-LIIULUSD.js';import'../../_chunks/chunk-DOT5ZDI2.js';import'../../_chunks/chunk-4PJI6O5J.js';import'../../_chunks/chunk-RZDTMTLU.js';import'../../_chunks/chunk-PWJAM3H7.js';import'../../_chunks/chunk-TEGPKTJ6.js';import'../../_chunks/chunk-ZHZNVM7Z.js';import'../../_chunks/chunk-NFHZQEUH.js';import'../../_chunks/chunk-TAZ3Z23V.js';import'../../_chunks/chunk-PM76UI3C.js';import'../../_chunks/chunk-2VCDJEGW.js';import'../../_chunks/chunk-P2ESF6CK.js';import'../../_chunks/chunk-2VW4TETV.js';import'../../_chunks/chunk-3UHLQWRW.js';import'../../_chunks/chunk-GNY2VGGW.js';import'../../_chunks/chunk-RBCDAZB4.js';import'../../_chunks/chunk-UKJ66LPD.js';import'../../_chunks/chunk-R3NBSKNX.js';import'../../_chunks/chunk-VWSQS7GB.js';
1
+ export{ac as TotalAmount}from'../../_chunks/chunk-CO3EEXJQ.js';import'../../_chunks/chunk-KCXHCJAA.js';import'../../_chunks/chunk-CAV4XNQI.js';import'../../_chunks/chunk-F6UETIKM.js';import'../../_chunks/chunk-L2RZBHC7.js';import'../../_chunks/chunk-FKYLAEBS.js';import'../../_chunks/chunk-OMFYODPG.js';import'../../_chunks/chunk-52PIMKF7.js';import'../../_chunks/chunk-P2DG6H76.js';import'../../_chunks/chunk-6ZDUY6EO.js';import'../../_chunks/chunk-DLHTKK6K.js';import'../../_chunks/chunk-TNV4RSI6.js';import'../../_chunks/chunk-GYI5NSQ5.js';import'../../_chunks/chunk-OVUUOEZN.js';import'../../_chunks/chunk-LDLGBNMM.js';import'../../_chunks/chunk-UC7E3QT2.js';import'../../_chunks/chunk-6OIXV5L2.js';import'../../_chunks/chunk-VSJHH432.js';import'../../_chunks/chunk-JVVVLEUF.js';import'../../_chunks/chunk-DBKRFR7R.js';import'../../_chunks/chunk-KKIVDOOU.js';import'../../_chunks/chunk-4IRFUOW5.js';import'../../_chunks/chunk-CWBSYHQB.js';import'../../_chunks/chunk-77BF7TSG.js';import'../../_chunks/chunk-PVUEYH5J.js';import'../../_chunks/chunk-UJ4IYIJH.js';import'../../_chunks/chunk-3VOBVZFJ.js';import'../../_chunks/chunk-JYTLSEW2.js';import'../../_chunks/chunk-MDJ47T6T.js';import'../../_chunks/chunk-XEEGI3DA.js';import'../../_chunks/chunk-GIWRSAQ2.js';import'../../_chunks/chunk-HEVN6IWL.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-GWT72RF2.js';import'../../_chunks/chunk-KW2A7ATU.js';import'../../_chunks/chunk-5ALWC7FS.js';import'../../_chunks/chunk-YLDK4XKQ.js';import'../../_chunks/chunk-6NNBWGIW.js';import'../../_chunks/chunk-OK6HCBL2.js';import'../../_chunks/chunk-NBGDT62B.js';import'../../_chunks/chunk-EH6DS7Z7.js';import'../../_chunks/chunk-RW3NBL6C.js';import'../../_chunks/chunk-N2Q6HRNZ.js';import'../../_chunks/chunk-FYOVM5SL.js';import'../../_chunks/chunk-HIILTBHV.js';import'../../_chunks/chunk-R4GFBLY3.js';import'../../_chunks/chunk-26M2HXR5.js';import'../../_chunks/chunk-K5MU74T4.js';import'../../_chunks/chunk-RSZUTATX.js';import'../../_chunks/chunk-ZGLDEF2J.js';import'../../_chunks/chunk-H6HHXYRL.js';import'../../_chunks/chunk-TKEWLZ3T.js';import'../../_chunks/chunk-WLBPY6QG.js';import'../../_chunks/chunk-HBTIZDBD.js';import'../../_chunks/chunk-PB4RPRX3.js';import'../../_chunks/chunk-NY3LCGE5.js';import'../../_chunks/chunk-C6FBKUMX.js';import'../../_chunks/chunk-ABYPGA6A.js';import'../../_chunks/chunk-BNWEQO2B.js';import'../../_chunks/chunk-AVIDTGY5.js';import'../../_chunks/chunk-7UD2S336.js';import'../../_chunks/chunk-2WHC5EPT.js';import'../../_chunks/chunk-M5XBR2HX.js';import'../../_chunks/chunk-4XDOS6NM.js';import'../../_chunks/chunk-S2VISI6Z.js';import'../../_chunks/chunk-NA72WEHU.js';import'../../_chunks/chunk-FZJGVE3N.js';import'../../_chunks/chunk-KZZ4GNLK.js';import'../../_chunks/chunk-F44NMQ5K.js';import'../../_chunks/chunk-DYNS62II.js';import'../../_chunks/chunk-TGRKEJOI.js';import'../../_chunks/chunk-MINGPVVR.js';import'../../_chunks/chunk-UJ5BJK35.js';import'../../_chunks/chunk-RWIFX3JL.js';import'../../_chunks/chunk-O2SPQA5J.js';import'../../_chunks/chunk-R7TZPC2K.js';import'../../_chunks/chunk-YYWTZ25R.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-DXJJ34JD.js';import'../../_chunks/chunk-RHUTFOWS.js';import'../../_chunks/chunk-KHM5KW53.js';import'../../_chunks/chunk-3L2BA4XQ.js';import'../../_chunks/chunk-7U4TEMF7.js';import'../../_chunks/chunk-KPR7PEDZ.js';import'../../_chunks/chunk-LA3XKVYQ.js';import'../../_chunks/chunk-ULE5G4WB.js';import'../../_chunks/chunk-PPC5EHKW.js';import'../../_chunks/chunk-GIJKKRNG.js';import'../../_chunks/chunk-RMTT4FOG.js';import'../../_chunks/chunk-TNJNIJJH.js';import'../../_chunks/chunk-2U6YCW6N.js';import'../../_chunks/chunk-MVTU6CC5.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-QRU7WDPB.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-N3FCB33M.js';import'../../_chunks/chunk-767TZTOZ.js';import'../../_chunks/chunk-2YUYBTYF.js';import'../../_chunks/chunk-PUIZRXVZ.js';import'../../_chunks/chunk-NTJZ733T.js';import'../../_chunks/chunk-NJFK5TAC.js';import'../../_chunks/chunk-7OEJSZPG.js';import'../../_chunks/chunk-VB7FCFAH.js';import'../../_chunks/chunk-X2IIYK74.js';import'../../_chunks/chunk-DV5XS66I.js';import'../../_chunks/chunk-Z66FPFEW.js';import'../../_chunks/chunk-4DSO4G5S.js';import'../../_chunks/chunk-O5KFJKRT.js';import'../../_chunks/chunk-DYLJN3W4.js';import'../../_chunks/chunk-GNY2VGGW.js';import'../../_chunks/chunk-2CIV4TII.js';import'../../_chunks/chunk-BXMBE224.js';import'../../_chunks/chunk-KCEYICHJ.js';import'../../_chunks/chunk-VWSQS7GB.js';