@tap-payments/os-micro-frontend-shared 0.3.67 → 0.3.69

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 (291) hide show
  1. package/build/_chunks/{chunk-IA3KT5KN.js → chunk-2ACC7E2D.js} +1 -1
  2. package/build/_chunks/{chunk-EACF7BID.js → chunk-2B3PDSRZ.js} +1 -1
  3. package/build/_chunks/{chunk-OZMCGQL5.js → chunk-2R4AJCHF.js} +1 -1
  4. package/build/_chunks/{chunk-4IOYLJ5U.js → chunk-2YPZ5SFL.js} +1 -1
  5. package/build/_chunks/{chunk-PH2ZY7ZU.js → chunk-346UWREM.js} +1 -1
  6. package/build/_chunks/{chunk-ZD3JWH3P.js → chunk-43QDLDPG.js} +1 -1
  7. package/build/_chunks/{chunk-2H2LJL4F.js → chunk-47ZRUJFI.js} +1 -1
  8. package/build/_chunks/{chunk-ATNY2LPI.js → chunk-4VLIH5YX.js} +1 -1
  9. package/build/_chunks/chunk-4YKRQISC.js +2 -0
  10. package/build/_chunks/{chunk-764VR23Y.js → chunk-55JPH7AB.js} +1 -1
  11. package/build/_chunks/{chunk-UMKD7WPP.js → chunk-5BLMSN42.js} +1 -1
  12. package/build/_chunks/{chunk-BYB2TJ24.js → chunk-5FNDQU3R.js} +1 -1
  13. package/build/_chunks/{chunk-TANTFJSX.js → chunk-5HBH7HFR.js} +1 -1
  14. package/build/_chunks/{chunk-AYIKMAN7.js → chunk-5JDM2OHR.js} +1 -1
  15. package/build/_chunks/{chunk-R7YGGX5F.js → chunk-66KB36KX.js} +1 -1
  16. package/build/_chunks/{chunk-SW5ZXNRC.js → chunk-6DJZR6DT.js} +1 -1
  17. package/build/_chunks/{chunk-XAGR5WQP.js → chunk-6HFXNELS.js} +1 -1
  18. package/build/_chunks/{chunk-WJRRBCIT.js → chunk-6KSZMOFB.js} +1 -1
  19. package/build/_chunks/chunk-6MPSFN4G.js +1 -0
  20. package/build/_chunks/{chunk-QQS2GEQN.js → chunk-6NJALO76.js} +1 -1
  21. package/build/_chunks/{chunk-ISG5DFBU.js → chunk-6OSEDUDN.js} +1 -1
  22. package/build/_chunks/{chunk-JWLOOVO2.js → chunk-77E7FMPY.js} +1 -1
  23. package/build/_chunks/{chunk-TEVO5QLL.js → chunk-7SBZNLSY.js} +1 -1
  24. package/build/_chunks/{chunk-ANMHKZOI.js → chunk-7UPV7K3Y.js} +1 -1
  25. package/build/_chunks/{chunk-RVJYNC6F.js → chunk-AMSVJBGD.js} +1 -1
  26. package/build/_chunks/{chunk-SDOPMVGM.js → chunk-AR64QIOP.js} +1 -1
  27. package/build/_chunks/{chunk-YQ4QVMV4.js → chunk-B45LLXB2.js} +1 -1
  28. package/build/_chunks/{chunk-MDFWWFT5.js → chunk-BFSA5L5Z.js} +1 -1
  29. package/build/_chunks/chunk-BI555NOS.js +1 -0
  30. package/build/_chunks/{chunk-D4NZTMT5.js → chunk-BOCI55GN.js} +1 -1
  31. package/build/_chunks/{chunk-EUHTPAPD.js → chunk-BQIH2BOK.js} +1 -1
  32. package/build/_chunks/chunk-C6RYKVKW.js +1 -0
  33. package/build/_chunks/{chunk-UBQX4DMM.js → chunk-CEZORDNW.js} +1 -1
  34. package/build/_chunks/{chunk-73WKW7YD.js → chunk-CMDBF33G.js} +1 -1
  35. package/build/_chunks/{chunk-MCV7YQYC.js → chunk-CMOFC5SW.js} +1 -1
  36. package/build/_chunks/{chunk-DL2LBZ5Y.js → chunk-CPOSZ3EH.js} +1 -1
  37. package/build/_chunks/{chunk-7JMAMJNE.js → chunk-CSRKMSDK.js} +1 -1
  38. package/build/_chunks/{chunk-KB7ZTJAY.js → chunk-DBRJHYVN.js} +1 -1
  39. package/build/_chunks/{chunk-LZXTN22L.js → chunk-DELIWRGO.js} +1 -1
  40. package/build/_chunks/{chunk-MK5G3IMK.js → chunk-DZY3V62F.js} +1 -1
  41. package/build/_chunks/{chunk-MZYSUSSH.js → chunk-ELL2VCGP.js} +1 -1
  42. package/build/_chunks/{chunk-HCSTVLWZ.js → chunk-ETSNG4XO.js} +1 -1
  43. package/build/_chunks/{chunk-JAJ5265D.js → chunk-FI5CR4W5.js} +1 -1
  44. package/build/_chunks/chunk-GVSL3HWN.js +1 -0
  45. package/build/_chunks/{chunk-6KJ6CHWL.js → chunk-H2DSVSAE.js} +1 -1
  46. package/build/_chunks/{chunk-IG2IXY2B.js → chunk-H62OG6KW.js} +1 -1
  47. package/build/_chunks/{chunk-BG2HSP35.js → chunk-HAOTU5DE.js} +1 -1
  48. package/build/_chunks/{chunk-7APCULZS.js → chunk-HQ7YLNI5.js} +1 -1
  49. package/build/_chunks/{chunk-NEI4KSW5.js → chunk-I3HYEGSI.js} +1 -1
  50. package/build/_chunks/{chunk-V26DL2MP.js → chunk-IPWFGPPG.js} +1 -1
  51. package/build/_chunks/chunk-IQKHU3XP.js +1 -0
  52. package/build/_chunks/{chunk-W2B46SCX.js → chunk-IXPRQJFF.js} +1 -1
  53. package/build/_chunks/{chunk-27KHBOEV.js → chunk-J22GDBBE.js} +1 -1
  54. package/build/_chunks/chunk-J4QSOF5Y.js +1 -0
  55. package/build/_chunks/{chunk-HCZBZTHK.js → chunk-JND4XH3U.js} +1 -1
  56. package/build/_chunks/{chunk-WW5TOO2I.js → chunk-JUSTPI24.js} +1 -1
  57. package/build/_chunks/chunk-K4BR7FG4.js +1 -0
  58. package/build/_chunks/{chunk-JPNY4T2X.js → chunk-KBCTRX65.js} +1 -1
  59. package/build/_chunks/{chunk-Q7552UF6.js → chunk-KDM7NNGS.js} +1 -1
  60. package/build/_chunks/{chunk-ZSL2ERF4.js → chunk-KLP3RHLG.js} +1 -1
  61. package/build/_chunks/{chunk-P26WGX7M.js → chunk-KOEYEHSY.js} +1 -1
  62. package/build/_chunks/chunk-KZMCX534.js +1 -0
  63. package/build/_chunks/{chunk-4DSYCKXL.js → chunk-LDBE3FOT.js} +1 -1
  64. package/build/_chunks/{chunk-7XNJMJAY.js → chunk-LFLINYCK.js} +1 -1
  65. package/build/_chunks/{chunk-BMKJYNYK.js → chunk-LKUKKVZ4.js} +1 -1
  66. package/build/_chunks/chunk-LSYUKVPD.js +2 -0
  67. package/build/_chunks/{chunk-LKOKRT4C.js → chunk-M7KPGXBF.js} +1 -1
  68. package/build/_chunks/{chunk-CIBPWJVX.js → chunk-M7UZPJWT.js} +1 -1
  69. package/build/_chunks/{chunk-3LTDIC5X.js → chunk-MDK2NPHG.js} +1 -1
  70. package/build/_chunks/{chunk-3QFKDGRN.js → chunk-MDSO6FCJ.js} +1 -1
  71. package/build/_chunks/{chunk-XHUQPWOG.js → chunk-MGJLU6IG.js} +1 -1
  72. package/build/_chunks/{chunk-BNOBAPA7.js → chunk-MJKU37OI.js} +1 -1
  73. package/build/_chunks/{chunk-Z22XG4XN.js → chunk-MK36AKOL.js} +1 -1
  74. package/build/_chunks/{chunk-TQFHKPDH.js → chunk-MPLZL76D.js} +1 -1
  75. package/build/_chunks/{chunk-UP5KPJCN.js → chunk-MQ3TZ2GQ.js} +1 -1
  76. package/build/_chunks/{chunk-LH6KMKRH.js → chunk-MQ6AMFP4.js} +1 -1
  77. package/build/_chunks/{chunk-YZEAJGUJ.js → chunk-NJ2F6342.js} +1 -1
  78. package/build/_chunks/{chunk-6YGAPBP4.js → chunk-NWS7VJY6.js} +1 -1
  79. package/build/_chunks/{chunk-J3TIUQ5M.js → chunk-OEM7QW2A.js} +1 -1
  80. package/build/_chunks/{chunk-XGI2MOK6.js → chunk-OJHGFPHF.js} +1 -1
  81. package/build/_chunks/{chunk-6JOISCUJ.js → chunk-P2YTFHOG.js} +1 -1
  82. package/build/_chunks/{chunk-CDONIFLM.js → chunk-P76XLU3U.js} +1 -1
  83. package/build/_chunks/{chunk-JRWSLIFR.js → chunk-PQFS3XBC.js} +1 -1
  84. package/build/_chunks/{chunk-LLKTXUEO.js → chunk-Q7NBCUSF.js} +1 -1
  85. package/build/_chunks/{chunk-LUEKQ7GS.js → chunk-QEHZ5MS5.js} +1 -1
  86. package/build/_chunks/{chunk-555ZEZNM.js → chunk-QIOPDN2Y.js} +1 -1
  87. package/build/_chunks/{chunk-DSIGGVQE.js → chunk-R3ZLBBCE.js} +1 -1
  88. package/build/_chunks/{chunk-ZIMZBUVO.js → chunk-RCINZGWW.js} +1 -1
  89. package/build/_chunks/{chunk-HUEARGE6.js → chunk-RFYR4WE5.js} +1 -1
  90. package/build/_chunks/{chunk-M7CFTCNU.js → chunk-RHUIIFXT.js} +1 -1
  91. package/build/_chunks/{chunk-CUXBPB6G.js → chunk-RINZ5A3K.js} +1 -1
  92. package/build/_chunks/{chunk-UVWEJZFZ.js → chunk-RIX3K2WP.js} +1 -1
  93. package/build/_chunks/{chunk-QKTYXRDI.js → chunk-S3STTXQ5.js} +1 -1
  94. package/build/_chunks/{chunk-RYK5CCWU.js → chunk-STIRHX3F.js} +1 -1
  95. package/build/_chunks/{chunk-ZDHD72GJ.js → chunk-SYJ4BJZ2.js} +1 -1
  96. package/build/_chunks/{chunk-JANHYNGN.js → chunk-T2U7I6TF.js} +1 -1
  97. package/build/_chunks/chunk-TMCWI7CN.js +1 -0
  98. package/build/_chunks/{chunk-BOMLR7JS.js → chunk-U4YQQ6RO.js} +1 -1
  99. package/build/_chunks/{chunk-XVZ4GZKR.js → chunk-U66EQATC.js} +1 -1
  100. package/build/_chunks/{chunk-FLAHJLXX.js → chunk-VKEFADQU.js} +1 -1
  101. package/build/_chunks/{chunk-57XJWGTB.js → chunk-VTU6JWHB.js} +1 -1
  102. package/build/_chunks/{chunk-EDUHSV6A.js → chunk-WIQZF7V7.js} +1 -1
  103. package/build/_chunks/{chunk-UWRTO6RB.js → chunk-WQ6SVIPH.js} +1 -1
  104. package/build/_chunks/chunk-WTHQXJUX.js +2 -0
  105. package/build/_chunks/{chunk-4LRVQEZH.js → chunk-WVXNMIFE.js} +1 -1
  106. package/build/_chunks/chunk-WWXOBVLS.js +1 -0
  107. package/build/_chunks/chunk-XNFKZZAS.js +1 -0
  108. package/build/_chunks/{chunk-J323OWW6.js → chunk-XWQ52OH6.js} +1 -1
  109. package/build/_chunks/{chunk-HPAY7TIX.js → chunk-Y2PLX7HJ.js} +1 -1
  110. package/build/_chunks/{chunk-N6AJG3N6.js → chunk-YLRYR2ZA.js} +1 -1
  111. package/build/_chunks/{chunk-C6K7UNZC.js → chunk-Z4UI23PC.js} +1 -1
  112. package/build/_v2/components/primitives/Slider/style.d.ts +1 -1
  113. package/build/components/Accordion/index.js +1 -1
  114. package/build/components/AccountDropdown/index.js +1 -1
  115. package/build/components/ActionMenu/index.js +1 -1
  116. package/build/components/ActionMenu/style.d.ts +1 -1
  117. package/build/components/ActionsDropdownMenu/index.js +1 -1
  118. package/build/components/ActiveFilterChip/index.js +1 -1
  119. package/build/components/ActivityAreaChart/index.js +1 -1
  120. package/build/components/Amount/index.js +1 -1
  121. package/build/components/AmountConversionFilter/index.js +1 -1
  122. package/build/components/AmountInput/index.js +1 -1
  123. package/build/components/AmountSlider/index.js +1 -1
  124. package/build/components/AmountStatusChip/index.js +1 -1
  125. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  126. package/build/components/AppServices/index.js +1 -1
  127. package/build/components/AppServicesBar/index.js +1 -1
  128. package/build/components/AppWindowWrapper/index.js +1 -1
  129. package/build/components/AuthenticationTypeChip/index.js +1 -1
  130. package/build/components/Autocomplete/index.js +1 -1
  131. package/build/components/BetaBanner/index.js +1 -1
  132. package/build/components/BrandLogo/index.js +1 -1
  133. package/build/components/Button/index.js +1 -1
  134. package/build/components/Calender/index.js +1 -1
  135. package/build/components/CardEmptyState/index.js +1 -1
  136. package/build/components/Checkbox/index.js +1 -1
  137. package/build/components/Chip/index.js +1 -1
  138. package/build/components/ChipStack/index.js +1 -1
  139. package/build/components/CircularProgressWithLabel/index.js +1 -1
  140. package/build/components/Collapse/index.js +1 -1
  141. package/build/components/ColorPicker/index.js +1 -1
  142. package/build/components/ColumnViews/index.js +1 -1
  143. package/build/components/ConfirmDialog/index.js +1 -1
  144. package/build/components/CopyImage/index.js +1 -1
  145. package/build/components/CountBadge/index.js +1 -1
  146. package/build/components/CountryFilter/index.js +1 -1
  147. package/build/components/CountryFlag/index.js +1 -1
  148. package/build/components/CurrencyAmount/index.js +1 -1
  149. package/build/components/CurrencyFilter/index.js +1 -1
  150. package/build/components/CurrencySymbol/index.js +1 -1
  151. package/build/components/CustomBackdrop/index.js +1 -1
  152. package/build/components/Customer/index.js +1 -1
  153. package/build/components/DateFilter/index.js +1 -1
  154. package/build/components/DeviceIcon/index.js +1 -1
  155. package/build/components/Dialog/index.js +1 -1
  156. package/build/components/Discount/index.js +1 -1
  157. package/build/components/DisplayAmount/index.js +1 -1
  158. package/build/components/Dropdown2/index.js +1 -1
  159. package/build/components/DropdownButton/index.js +1 -1
  160. package/build/components/DropdownMenu/index.js +1 -1
  161. package/build/components/Error/index.js +1 -1
  162. package/build/components/ErrorToast/index.js +1 -1
  163. package/build/components/ExpandableSideBar/index.js +1 -1
  164. package/build/components/FieldFeedback/index.js +1 -1
  165. package/build/components/FileInputPreview/index.js +1 -1
  166. package/build/components/FilePreview/index.js +1 -1
  167. package/build/components/FileUpload/index.js +1 -1
  168. package/build/components/FileUploader/index.js +1 -1
  169. package/build/components/FilterDropdown/index.js +1 -1
  170. package/build/components/Filters/index.js +1 -1
  171. package/build/components/FlippingCard/index.js +1 -1
  172. package/build/components/HeatMap/index.js +1 -1
  173. package/build/components/IOSSwitch/index.js +1 -1
  174. package/build/components/Icon/index.js +1 -1
  175. package/build/components/IconWithBadge/index.js +1 -1
  176. package/build/components/Input/index.js +1 -1
  177. package/build/components/InputBase/index.js +1 -1
  178. package/build/components/InputNumber/index.js +1 -1
  179. package/build/components/Inputs/index.js +1 -1
  180. package/build/components/JSONViewer/components/JSONSearchBar/styles.d.ts +1 -1
  181. package/build/components/JSONViewer/index.js +1 -1
  182. package/build/components/LanguageDropdown/index.js +1 -1
  183. package/build/components/LazyImage/index.js +1 -1
  184. package/build/components/LazyRemote/index.d.ts +1 -0
  185. package/build/components/LazyRemote/index.js +1 -0
  186. package/build/{moduleFederation/components → components/LazyRemote}/lazyRemote.d.ts +1 -1
  187. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  188. package/build/components/ListColumnFilter/index.js +1 -1
  189. package/build/components/ListHeader/index.js +1 -1
  190. package/build/components/ListLayout/index.js +1 -1
  191. package/build/components/Loader/index.js +1 -1
  192. package/build/components/MFWidgetLoader/index.js +1 -1
  193. package/build/components/MaskedText/index.js +1 -1
  194. package/build/components/Menu/index.js +1 -1
  195. package/build/components/MenuItem/index.js +1 -1
  196. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  197. package/build/components/MerchantLogo/index.js +1 -1
  198. package/build/components/MerchantsDropdown/index.js +1 -1
  199. package/build/components/MerchantsDropdown/type.d.ts +2 -2
  200. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  201. package/build/components/MultiSelectWithSearch/index.js +1 -1
  202. package/build/components/NestedDropdown/index.js +1 -1
  203. package/build/components/NoInternet/index.js +1 -1
  204. package/build/components/OpenFileInNewTab/index.js +1 -1
  205. package/build/components/PartnersFilter/index.js +1 -1
  206. package/build/components/PaymentSourceFilter/index.js +1 -1
  207. package/build/components/PhoneFilter/index.js +1 -1
  208. package/build/components/ProgressBar/index.js +1 -1
  209. package/build/components/ProgressRing/index.js +1 -1
  210. package/build/components/RFH/index.js +1 -1
  211. package/build/components/RadioButton/index.js +1 -1
  212. package/build/components/RadioGroup/index.js +1 -1
  213. package/build/components/RangeCalender/index.js +1 -1
  214. package/build/components/ReceiptsViewer/index.js +1 -1
  215. package/build/components/ReferenceTypeFilter/index.js +1 -1
  216. package/build/components/RemoteFallback/RemoteFallback.d.ts +7 -0
  217. package/build/components/RemoteFallback/index.d.ts +2 -0
  218. package/build/components/RemoteFallback/index.js +1 -0
  219. package/build/components/ResizableHeightInput/index.js +1 -1
  220. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  221. package/build/components/SalesChannelFilter/index.js +1 -1
  222. package/build/components/ScrollLoader/index.js +1 -1
  223. package/build/components/SearchButton/index.js +1 -1
  224. package/build/components/SearchButton/styles.d.ts +1 -1
  225. package/build/components/SearchListInput/index.js +1 -1
  226. package/build/components/SelectDropdown/index.js +1 -1
  227. package/build/components/SelectWithSearch/index.js +1 -1
  228. package/build/components/Skeleton/index.js +1 -1
  229. package/build/components/Slider/index.js +1 -1
  230. package/build/components/Slider/style.d.ts +1 -1
  231. package/build/components/StatusBar/index.js +1 -1
  232. package/build/components/StatusButton/index.js +1 -1
  233. package/build/components/StatusChip/index.js +1 -1
  234. package/build/components/StatusChipWithCopy/index.js +1 -1
  235. package/build/components/StatusFilter/index.js +1 -1
  236. package/build/components/StatusGroupChips/index.js +1 -1
  237. package/build/components/StatusIcons/index.js +1 -1
  238. package/build/components/StatusLabel/index.js +1 -1
  239. package/build/components/TableCells/index.js +1 -1
  240. package/build/components/TableReports/index.js +1 -1
  241. package/build/components/Timepicker/index.js +1 -1
  242. package/build/components/Toaster/index.js +1 -1
  243. package/build/components/ToggleButtons/index.js +1 -1
  244. package/build/components/ToggleView/index.js +1 -1
  245. package/build/components/Toolbar/index.js +1 -1
  246. package/build/components/ToolbarIcon/index.js +1 -1
  247. package/build/components/TooltipChip/index.js +1 -1
  248. package/build/components/TreeDropdown/index.js +1 -1
  249. package/build/components/VAT/index.js +1 -1
  250. package/build/components/VerificationIcon/index.js +1 -1
  251. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  252. package/build/components/VirtualTables/index.js +1 -1
  253. package/build/components/Widget/index.js +1 -1
  254. package/build/components/Window/index.js +1 -1
  255. package/build/components/WindowAppIcon/index.js +1 -1
  256. package/build/components/WindowBackdrop/index.js +1 -1
  257. package/build/components/WindowSideBar/index.js +1 -1
  258. package/build/components/_v2/index.js +2 -2
  259. package/build/components/index.d.ts +2 -0
  260. package/build/components/index.js +1 -1
  261. package/build/constants/index.d.ts +1 -1
  262. package/build/constants/index.js +1 -1
  263. package/build/hooks/index.js +1 -1
  264. package/build/index.js +1 -1
  265. package/build/types/accountWidget.d.ts +1 -3
  266. package/build/types/index.d.ts +1 -0
  267. package/build/types/index.js +1 -1
  268. package/build/{moduleFederation/types.d.ts → types/moduleFederation.d.ts} +2 -0
  269. package/build/utils/index.d.ts +1 -0
  270. package/build/utils/index.js +1 -1
  271. package/build/{moduleFederation/utils.d.ts → utils/moduleFederation.d.ts} +1 -1
  272. package/package.json +1 -5
  273. package/build/_chunks/chunk-6EH7LVBA.js +0 -1
  274. package/build/_chunks/chunk-6LH4XJTL.js +0 -2
  275. package/build/_chunks/chunk-6OBS7WRS.js +0 -1
  276. package/build/_chunks/chunk-AKJKJP6C.js +0 -1
  277. package/build/_chunks/chunk-ARL3R4Y2.js +0 -2
  278. package/build/_chunks/chunk-AYZX6OZ5.js +0 -1
  279. package/build/_chunks/chunk-GIWVIX7C.js +0 -1
  280. package/build/_chunks/chunk-NHMTWJBL.js +0 -1
  281. package/build/_chunks/chunk-NYR3PWRQ.js +0 -1
  282. package/build/_chunks/chunk-V74IUKZ5.js +0 -1
  283. package/build/_chunks/chunk-YLT5MRX2.js +0 -1
  284. package/build/constants/remoteModules.d.ts +0 -1
  285. package/build/moduleFederation/components/RemoteFallback.d.ts +0 -5
  286. package/build/moduleFederation/components/index.d.ts +0 -2
  287. package/build/moduleFederation/index.d.ts +0 -4
  288. package/build/moduleFederation/index.js +0 -1
  289. /package/build/_chunks/{chunk-5NA6NVWL.js → chunk-ZXT2FT26.js} +0 -0
  290. /package/build/{moduleFederation/components → components/RemoteFallback}/style.d.ts +0 -0
  291. /package/build/{moduleFederation/constants.d.ts → constants/moduleFederation.d.ts} +0 -0
@@ -1 +0,0 @@
1
- import {Kc}from'./chunk-V74IUKZ5.js';import {yo,xo}from'./chunk-ARL3R4Y2.js';import {memo,useId}from'react';import {Checkbox}from'@mui/material';import {jsx}from'react/jsx-runtime';function p(o){let m=Kc(useId(),"checkbox");return jsx(Checkbox,{id:m,"data-testid":"Checkbox",disableRipple:true,sx:r=>({'[data-testid="IndeterminateCheckBoxIcon"]':{fill:r.palette.info.dark,width:"16px !important",height:"16px !important"}}),checkedIcon:o.disabled?yo:xo,...o})}p.displayName="CheckboxInput";var d=memo(p);var u=d;export{u as a};
@@ -1 +0,0 @@
1
- import {a}from'./chunk-57XJWGTB.js';var m=a;export{m as a};
@@ -1,2 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';var x="https://cdn.tap.company/tap-assets",e=`${x}/icons/dashboard/light`,t=`${e}/other`,je=`${e}/function`,De=`${x}/videos`,Fe=`${x}/files`,Ge=`${Fe}/templates`,Xe=c=>`${e}/${c}.svg`,et=c=>`${e}/payment-method/v2/${c}.svg`,tt=c=>`${e}/payment-issuer/${c}.svg`,ot=c=>`${e}/country/v3/${c}.svg`,nt=c=>`${e}/function/${c}.svg`,st=c=>`${e}/statusIcons/${c}.svg`,ct=c=>`${x}/currency/v3/light/${c}.svg`,at=c=>{let Ue=c.replace(/\s/g,"");return `${x}/icons/dashboard/light/authority/v2/${Ue}.svg`},pt=c=>`${e}/browsers/${c}.svg`,rt=c=>`${e}/payment-initiator/${c}.svg`,xt=c=>`${e}/payment-gateways/${c}.svg`,it=c=>`${e}/aging/${c}.svg`,dt=`${e}/currency/sar.svg`,lt=`${e}/currency/dirham.svg`,ut=`${e}/abandoned.svg`,gt=`${e}/abandonedYellow.svg`,It=`${e}/chevron-down.svg`,vt=`${e}/sliderThumb.svg`,ht=`${e}/reversed.svg`,mt=`${e}/destinationSolid.svg`,ft=`${e}/search.svg`,Et=`${e}/unauthorized.svg`,At=`${e}/view.svg`,$t=`${e}/reports.svg`,Tt=`${e}/flag.svg`,St=`${e}/dispute.svg`,_t=`${e}/timezone.svg`,yt=`${e}/greyTimezone.svg`,Ct=`${e}/subscription.svg`,bt=`${e}/savedCard.svg`,Pt=`${e}/egypt.svg`,Rt=`${e}/saudiArabia.svg`,Nt=`${e}/jordan.svg`,wt=`${e}/lebanon.svg`,Lt=`${e}/kuwait.svg`,Ot=`${e}/unitedArabEmirates.svg`,Mt=`${e}/europe.svg`,Bt=`${e}/bahrain.svg`,kt=`${e}/america.svg`,Ut=`${e}/payment-method/v2/card.svg`,Dt=`${e}/device.svg`,Ft=`${e}/expressCheckout.svg`,Gt=`${e}/applePay.svg`,Wt=`${e}/cash.svg`,Ht=`${e}/passThruWallet.svg`,Yt=`${e}/storedValueWallet.svg`,Vt=`${e}/buyNowPayLater.svg`,zt=`${e}/openBanking.svg`,Kt=`${e}/FrictionlessIcon.svg`,qt=`${e}/ChallengeIcon.svg`,Zt=`${e}/visa.svg`,Qt=`${e}/redArrowDownIcon.svg`,Jt=`${e}/completed.svg`,jt=`${e}/chargebackRequested.svg`,Xt=`${e}/chargeback.svg`,eo=`${t}/captureDropdown.svg`,to=`${e}/disputeResolved.svg`,oo=`${e}/reversePayout.svg`,no=`${e}/ellipsisHorizontal.svg`,so=`${e}/3ds.svg`,co=`${e}/invoiceIdIcon3.svg`,ao=`${e}/idIcon3.svg`,po=`${e}/id.svg`,ro=`${t}/copyIcon.svg`,xo=`${t}/codeIcon.svg`,io=`${t}/GreenCheckMark2.svg`,lo=`${e}/closedDispute.svg`,uo=`${e}/openDispute.svg`,go=`${e}/desktop.svg`,Io=`${e}/mobile.svg`,vo=`${e}/tablet.svg`,ho=`${e}/invoice.svg`,mo=`${e}/cancelledInvoiceIcon.svg`,fo=`${e}/expiredInvoiceIcon.svg`,Eo=`${e}/invoiceNumberIcon.svg`,Ao=`${e}/column.svg`,$o=`${e}/sortAz.svg`,To=`${e}/sortZa.svg`,f=`${e}/zipFile.svg`,So=`${e}/successWhiteBg.svg`,_o=`${e}/failedWhiteBgIcon.svg`,yo=`${e}/exclamationGreyIcon.svg`,Co=`${e}/exclamationDarkGreyIcon.svg`,bo=`${e}/percentage0.svg`,Po=`${e}/percentage50.svg`,Ro=`${e}/percentage75.svg`,No=`${e}/percentage100.svg`,wo=`${e}/maximize.svg`,Lo=`${e}/minimize.svg`,Oo=`${e}/close.svg`,Mo=`${e}/dashedCheckIcon.svg`,Bo=`${e}/outstandingIcon.svg`,ko=`${e}/cancelledStatusIcon.svg`,Uo=`${e}/expiredStatusIcon.svg`,Do=`${e}/paidStatusIcon.svg`,Fo=`${e}/refundedStatusIcon.svg`,Go=`${e}/deactivatedIcon.svg`,Wo=`${e}/topup.svg`,Ho=`${e}/AIOverviewIcon.svg`,Yo=`${t}/demaximize.svg`,Vo=`${e}/pendingFlag.svg`,zo=`${e}/ibanIcon.svg`,Ko=`${e}/payoutIcon.svg`,qo=`${e}/releasedFlag.svg`,Zo=`${e}/acceptedFlag.svg`,Qo=`${e}/clearIcon.svg`,Jo=`${e}/status/unCaptured.svg`,jo=`${t}/newWindow.svg`,Xo=`${t}/viewAll.svg`,en=`${t}/allApps.svg`,tn=`${t}/hide.svg`,on=`${t}/close.svg`,nn=`${t}/star.svg`,sn=`${t}/closeCircle.svg`,cn=`${t}/acquirer.svg`,an=`${e}/GenericIconNew.svg`,pn=`${t}/acquirerRed.svg`,rn=`${t}/gateway.svg`,xn=`${t}/acquirerOrange.svg`,dn=`${e}/status/capturedAuthorize.svg`,ln=`${t}/merchantInitiated.svg`,un=`${t}/rightArow.svg`,gn=`${e}/blackRightArrow.svg`,In=`${t}/orangeFlag.svg`,vn=`${t}/openFlag.svg`,hn=`${t}/closedFlag.svg`,mn=`${t}/redFlag.svg`,fn=`${t}/grayFlag.svg`,En=`${t}/downArrow.svg`,An=`${t}/check.svg`,$n=`${t}/closeX.svg`,Tn=`${t}/drag.svg`,Sn=`${t}/checkboxIcon.svg`,_n=`${e}/plusWhite.svg`,yn=`${t}/checkboxIcon.svg`,Cn=`${e}/Uniso.svg`,bn=`${e}/addidas.svg`,Pn=`${e}/radioButtonChecked.svg`,Rn=`${e}/radioButtonUnchecked.svg`,Nn=`${e}/Mac.svg`,wn=`${e}/blueCheckIconZigzag.svg`,Ln=`${e}/greenCheckIconZigzag.svg`,On=`${e}/dimmedCheckIconZigzag.svg`,Mn=`${e}/marketPlaceBlue.svg`,Bn=`${e}/marketplaceBlackIcon.svg`,kn=`${e}/marketPlaceDimmed.svg`,Un=`${e}/moneyOut.svg`,Dn=`${e}/moneyOutDimmed.svg`,Fn=`${e}/moneyIn.svg`,Gn=`${e}/moneyInDimmed.svg`,Wn=`${e}/message.svg`,Hn=`${e}/pending.svg`,Yn=`${e}/payStream.svg`,Vn=`${e}/clearCoin.svg`,zn=`${t}/walletSmall.svg`,Kn=`${t}/bank.svg`,qn=`${t}/hijri.svg`,Zn=`${t}/darkLeftArrow.svg`,Qn=`${t}/darkRightArrow.svg`,Jn=`${t}/spinnerLoading.svg`,jn=`${t}/spinnerLoadingAnimated.svg`,Xn=`${t}/actionFail.svg`,es=`${t}/actionSuccess.svg`,ts=`${t}/checkMark.svg`,os=`${t}/logout.svg`,ns=`${t}/preferences.svg`,ss=`${t}/transform.svg`,E=`${t}/token.svg`,d=`${t}/billing.svg`,cs=`${t}/receiptBill.svg`,as=`${e}/newReceiptIcon.svg`,l=`${t}/acceptance.svg`,ps=`${e}/acceptanceEnabled.svg`,rs=`${e}/acceptanceBlue.svg`,xs=`${e}/payoutsGreen.svg`,is=`${t}/acceptanceAppIconDisabled.svg`,ds=`${t}/payoutsAppIconDisabled.svg`,ls=`${e}/payoutEnabled.svg`,us=`${e}/payoutAppGreenIcon.svg`,gs=`${e}/payoutDisabledRounded.svg`,Is=`${e}/acceptanceDisabledRounded.svg`,u=`${t}/AuthenticationApp.svg`,g=`${t}/walletApp.svg`,I=`${t}/payouts.svg`,A=`${t}/protect.svg`,$=`${t}/customers.svg`,T=`${t}/business.svg`,S=`${t}/account.svg`,vs=`${t}/disableCheck.svg`,hs=`${t}/wifiOff.svg`,ms=`${t}/SandboxHovered.svg`,fs=`${t}/Sandbox.svg`,Es=`${t}/ExclamationError.svg`,As=`${t}/greyCheck.svg`,$s=`${t}/greyCross.svg`,Ts=`${t}/blueCheck.svg`,Ss=`${t}/disabledCheck.svg`,_s=`${t}/darkCheck.svg`,ys=`${t}/collapseArrow.svg`,Cs=`${t}/world.svg`,bs=`${t}/grayUpArrow.svg`,Ps=`${t}/blackHeadingDownArrowIcon.svg`,Rs=`${t}/blueHeadingDropdownArrow.svg`,Ns=`${t}/dropdownArrow.svg`,ws=`${t}/greyDropdownIcon.svg`,_=`${t}/business2.svg`,y=`${t}/development.svg`,Ls=`${t}/financial.svg`,C=`${t}/light_master_orchestrator.svg`,b=`${t}/platform.svg`,Os=`${t}/provider.svg`,P=`${t}/appPlatform.svg`,Ms=`${t}/authenticationGateway.svg`,R=`${t}/billingPlatform.svg`,N=`${t}/commercePlatform.svg`,Bs=`${t}/commercialRegulator.svg`,ks=`${t}/merchantServiceProvider.svg`,w=`${t}/paymentAcquirer.svg`,L=`${t}/paymentFacilitator.svg`,O=`${t}/paymentGatewayProvider.svg`,M=`${t}/paymentIssuer.svg`,B=`${t}/paymentMethod.svg`,k=`${t}/paymentProcessor.svg`,U=`${t}/paymentScheme.svg`,D=`${t}/paymentTechnologyV2.svg`,F=`${t}/paymentTerminalProvider.svg`,G=`${t}/retailPlatform.svg`,Us=`${t}/retailer.svg`,W=`${t}/light_business.svg`,H=`${t}/light_development.svg`,Ds=`${t}/financial.svg`,Y=`${t}/light_master_orchestrator.svg`,V=`${t}/light_platform.svg`,Fs=`${t}/provider.svg`,z=`${t}/light_app_platform.svg`,Gs=`${t}/light_authentication_gateway.svg`,K=`${t}/light_billing_platform.svg`,q=`${t}/light_commerce_platform.svg`,Ws=`${t}/light_commercial_regulator.svg`,Hs=`${t}/light_merchant_service_provider.svg`,Z=`${t}/light_payment_acquirer.svg`,Q=`${t}/light_payment_facilitator.svg`,J=`${t}/light_payment_gateway_provider.svg`,j=`${t}/light_payment_issuer.svg`,X=`${t}/light_payment_method.svg`,ee=`${t}/light_payment_processor.svg`,te=`${t}/light_payment_scheme.svg`,oe=`${t}/light_payment_technology_v2.svg`,ne=`${t}/light_payment_terminal_provider.svg`,se=`${t}/light_retail_platform.svg`,Ys=`${t}/light_retailer.svg`,Vs=`${t}/brandGray.svg`,zs=`${e}/grayCircleIcon.svg`,Ks=`${t}/json.svg`,qs=`${t}/jsonBlackIcon.svg`,Zs=`${t}/sort1.svg`,Qs=`${t}/SandboxHoveredLight.svg`,Js=`${t}/emailColoured.svg`,js=`${e}/OrderIcon.svg`,Xs=`${e}/TransactionIcon.svg`,ec=`${e}/GenericIcon.svg`,tc=`${t}/smsColoured.svg`,oc=`${t}/whatsAppColored.svg`,nc=`${t}/dueDateBlue.svg`,sc=`${t}/dueDateOrange.svg`,cc=`${t}/dueDateYellow.svg`,ac=`${t}/dueDateRed.svg`,pc=`${t}/dueDateBlack.svg`,rc=`${t}/dueDateGray.svg`,xc=`${t}/timerBlue.svg`,ic=`${t}/expiredIcon.svg`,dc=`${t}/remindedRed.svg`,lc=`${t}/chevronWhite.svg`,uc=`${t}/chevronGray.svg`,gc=`${t}/notVerified.svg`,Ic=`${t}/verified.svg`,vc=`${t}/verifyReview.svg`,hc=`${e}/window/attention.svg`,mc=`${e}/window/initalAcceptance.svg`,fc=`${e}/window/completedAcceptance.svg`,Ec=`${e}/window/initalPayouts.svg`,Ac=`${e}/window/completedPayouts.svg`,$c=`${t}/collapseArrowsIcon.svg`,Tc=`${t}/expandArrowsIcon.svg`,Sc=`${t}/greenArrowRight.svg`,_c=`${t}/greenArrowLeft1.svg`,yc=`${t}/greenIconWithArrowUp.svg`,Cc=`${t}/whiteArrowRight.svg`,bc=`${t}/whiteArrowLeft.svg`,Pc=`${e}/HSBCBank.svg`,Rc=`${e}/shopifyIcon.svg`,Nc=`${e}/verifiedGreenBadge.svg`,wc=`${e}/backButtonLeft.svg`,Lc=`${e}/eyeHideIcon.svg`,Oc=`${e}/eyeShowIcon.svg`,Mc=`${t}/uploadIcon.svg`,ce=`${e}/window/uploadGreyIcon.svg`,ae=`${e}/uploadAppIcon.svg`,pe=`${e}/window/paylinkGreyIcon.svg`,re=`${e}/paylinkAppIcon.svg`,Bc=`${e}/inprogressIcon.svg`,kc=`${t}/uploadBlueIcon.svg`,Uc=`${t}/SandboxHovered.svg`,Dc=`${t}/sandboxDefaultIcon.svg`,Fc=`${t}/SandboxIcon.svg`,Gc=`${t}/clock.svg`,Wc=`${t}/RedClose.svg`,h=`${t}/xls.svg`,xe=`${t}/csv.svg`,Hc=`${t}/pdf.svg`,Yc=`${t}/Download.svg`,Vc=`${t}/reportsIconOutlined.svg`,zc=`${t}/Done.svg`,Kc=`${t}/reportApps.svg`,ie=`${e}/window/ReportsApp.svg`,de=`${e}/window/leadApp.svg`,le=`${e}/window/leadTitleIcon.svg`,ue=`${t}/OrderApp.svg`,ge=`${t}/OrderTitleIcon.svg`,qc=`${e}/dottedLine.svg`,Zc=`${e}/passwordDots.svg`,Qc=`${e}/dollarSign.svg`,Jc=`${e}/reload.svg`,jc=`${t}/deletedStatus1.svg`,Xc=`${t}/draftedStatus1.svg`,ea=`${t}/createdStatus1.svg`,ta=`${t}/cancelledStatus1.svg`,oa=`${t}/expiredStatus1.svg`,na=`${t}/paidStatus1.svg`,sa=`${t}/deliveredStatus1.svg`,ca=`${t}/viewedStatus1.svg`,aa=`${t}/savedStatus1.svg`,pa=`${t}/scheduledStatus1.svg`,ra=`${t}/invoicePendingStatus2.svg`,xa=`${t}/invoiceRefundedStatus2.svg`,ia=`${e}/activeLeadStatus.svg`,da=`${e}/completedLeadStatus.svg`,la=`${e}/closedLeadStatus.svg`,ua=`${e}/expiredLeadStatus.svg`,ga=`${e}/readyLeadStatus.svg`,Ia=`${e}/newFileIcon.svg`,va=`${e}/downloadFileIcon.svg`,ha=`${e}/progressFileIcon.svg`,ma=`${e}/successFileIcon.svg`,fa=`${e}/whiteArrowDownIcon.svg`,Ea=`${e}/teamWindowIcon.svg`,Aa=`${e}/blueAppsIcon.svg`,$a=`${e}/disabledCardIcon.svg`,Ta=`${e}/disabledCodeIcon.svg`,Sa=`${e}/layersIcon.svg`,_a=`${e}/status/pendingOnTapIcon.svg`,ya=`${e}/leadWhiteIcon.svg`,Ca=`${t}/chatDisabledIcon.svg`,ba=`${e}/exclamationDarkIcon.svg`,Pa=`${t}/exclamationWarning.svg`,Ra=`${e}/exclamationError.svg`,Na=`${e}/exclamationOrangeIcon.svg`,wa=`${t}/greenCheckV2.svg`,La=`${e}/iosIcon1.svg`,Oa=`${e}/androidIcon.svg`,Ma=`${e}/websiteIcon.svg`,Ba=`${t}/greyApple.svg`,ka=`${t}/greyLocationIcon.svg`,Ua=`${t}/greyDesktopIcon.svg`,Da=`${t}/greyTimezone.svg`,Fa=`${t}/safariBrowser.svg`,Ga=`${t}/chromeBrowser.svg`,Wa=`${t}/firefoxBrowser.svg`,Ha=`${t}/microsoftBrowser.svg`,Ya=`${t}/operaBrowser.svg`,Va=`${t}/braveBrowser.svg`,za=`${t}/arcBrowser.svg`,Ka=`${t}/chromiumBrowser.svg`,qa=`${t}/userIcon.svg`,Ie=`${t}/slaProcess.svg`,ve=`${e}/window/slaProcess.svg`,he=`${e}/orchestrationApp.svg`,me=`${e}/window/orchestration.svg`,Za=`${e}/window/orchestrationWindowBg.svg`,fe=`${e}/lendingApp.svg`,Ee=`${e}/window/lending.svg`,Qa=`${e}/fast.svg`,Ja=`${e}/bankBlue.svg`,ja=`${e}/mosque.svg`,Xa=`${e}/corpotateLoan.svg`,Ae=`${e}/platformApp.svg`,$e=`${e}/window/platform.svg`,ep=`${e}/status/table/abandoned.svg`,tp=`${e}/status/table/cancelled.svg`,op=`${e}/status/table/captured.svg`,np=`${e}/status/table/chargeBack.svg`,sp=`${e}/status/table/chargeBackRequested.svg`,cp=`${e}/status/table/completed.svg`,ap=`${e}/status/table/declined.svg`,pp=`${e}/status/table/destinationReversed.svg`,rp=`${t}/DestinationWithoutBackground.svg`,xp=`${e}/status/table/disputeResolved.svg`,ip=`${e}/status/table/failed.svg`,dp=`${e}/status/table/failedNoBG.svg`,lp=`${e}/status/table/declinedNoBg.svg`,up=`${t}/destinationSuccess.svg`,gp=`${e}/status/authenticationFailed.svg`,Ip=`${e}/status/table/authenticated.svg`,vp=`${e}/paidOutFilterIcon.svg`,hp=`${e}/completedBlackIcon.svg`,mp=`${e}/scheduledFilterIcon.svg`,fp=`${e}/saveTokenIcon.svg`,Ep=`${e}/status/unauthenticated.svg`,Ap=`${e}/status/authenticationAttempted.svg`,$p=`${e}/status/authenticationNoAuth.svg`,Tp=`${e}/status/authenticationDeclined.svg`,Sp=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,_p=`${e}/status/authenticationExemptedWithTransaction2.svg`,yp=`${e}/status/authenticationFailed1.svg`,Cp=`${e}/status/authenticationInitiated.svg`,bp=`${e}/status/authenticationUnavailable.svg`,Pp=`${e}/status/authenticationUndetermined.svg`,Rp=`${e}/status/AuthenticationWithoutTransaction1.svg`,Np=`${e}/status/authenticationWithTransaction1 2.svg`,wp=`${e}/status/AuthenticationAuthenticated.svg`,Lp=`${e}/status/authenticationPending2.svg`,Op=`${e}/authenticationFailedNoBg.svg`,Mp=`${e}/authenticationPendingNoBg.svg`,Bp=`${e}/authenticationNoAuthNoBg.svg`,kp=`${e}/authenticationAttemptedNoBg.svg`,Up=`${e}/authenticationExemptedWithTransactionNoBg.svg`,Dp=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,Fp=`${e}/authenticationDeclinedNoBg.svg`,Gp=`${e}/authenticationUnavailableNoBg.svg`,Wp=`${e}/authenticationUndeterminedNoBg.svg`,Hp=`${e}/authenticatedSuccessNoBg.svg`,Yp=`${e}/authenticationWithTransactionNoBg.svg`,Vp=`${e}/authenticationWithoutTransactionNoBg.svg`,zp=`${e}/greyPlusIcon.svg`,Kp=`${e}/greyMinusIcon.svg`,qp=`${e}/noPreviewIcon.svg`,Zp=`${e}/other/editIcon.svg`,Qp=`${t}/viewInvoice.svg`,Jp=`${t}/checkoutStatus.svg`,jp=`${t}/checkStatusOutBlue.svg`,Xp=`${t}/checkoutWithMarkStatus.svg`,er=`${t}/intentExpiredStatus.svg`,tr=`${t}/intentInitiatedStatus.svg`,or=`${t}/intentCancelledStatus.svg`,nr=`${t}/intentTransactedStatus.svg`,sr=`${e}/SheetViewUnionIcon.svg`,cr=`${e}/sheetView.svg`,ar=`${e}/abandonedNoBG.svg`,pr=`${e}/status/table/paidOut.svg`,rr=`${e}/status/table/reversePayout.svg`,xr=`${e}/status/pendingPayout.svg`,ir=`${t}/whiteCloseIcon.svg`,dr=`${e}/window/empty.svg`,lr=`${e}/loaderWhiteIcon.svg`,ur=`${t}/reverseActionIcon.svg`,gr=`${e}/status/authenticationWallet.svg`,Ir=`${e}/status/authenticationApp.svg`,vr=`${e}/status/authenticationBiometric.svg`,hr=`${e}/status/authenticationDevice.svg`,mr=`${e}/status/authenticationIssuer.svg`,fr=`${e}/status/authenticationScheme.svg`,Er=`${e}/pin.svg`,Ar=`${e}/unpin.svg`,$r=`${t}/switcher.svg`,Tr=`${e}/closedStatusIcon.svg`,Sr=`${e}/verticalLine.svg`,_r=`${e}/previewModeIcon.svg`,yr=`${e}/status/table/tokensSaved.svg`,Cr=`${e}/status/table/tokensTransacted.svg`,br=`${e}/status/table/tokensExpired.svg`,Pr=`${e}/status/table/tokensPending.svg`,Rr=`${e}/status/table/tokenCardIcon.svg`,Nr=`${t}/TableloadingSpinner.svg`,wr=`${t}/loadingSpinnerWhite.svg`,Lr=`${e}/spinnerLoadingBlue.svg`,Or=`${e}/backgroundLoader.svg`,Mr=`${t}/arrowUpBlue1.svg`,Br=`${t}/BlueCheckMarkShadowed1.svg`,kr=`${t}/cardViewButton.svg`,Ur=`${t}/listViewButton1.svg`,Dr=`${e}/BlueArrowUpIcon.svg`,Fr=`${e}/BlueCircleLoaderIcon.svg`,Gr=`${e}/appsGridIcon2.svg`,Wr=`${e}/whiteFilter.svg`,Hr=`${e}/grayCloseIcon.svg`,Yr=`${e}/status/OrderAgreementIcon.svg`,Vr=`${e}/status/InstallmentAgreementIcon.svg`,zr=`${e}/status/CardAgreementIcon.svg`,Kr=`${e}/status/SubscriptionAgreementIcon.svg`,qr=`${e}/brandPlaceholder.svg`,Zr=`${e}/users-icons.svg`,Qr=`${e}/Board-Icons.svg`,Jr=`${t}/No Agreement.svg`,Te=`${e}/window/acceptance.svg`,Se=`${e}/window/wallet.svg`,_e=`${e}/window/billing.svg`,ye=`${e}/window/customers.svg`,Ce=`${e}/window/payout.svg`,be=`${e}/window/protect.svg`,Pe=`${e}/window/tokens.svg`,Re=`${e}/window/account.svg`,Ne=`${e}/window/businesses.svg`,we=`${e}/window/authentication.svg`,Le=`${t}/reportsIcon.svg`,jr=`${e}/window/tokensReports.svg`,Xr=`${e}/window/brand.svg`,ex=`${e}/window/entity.svg`,tx=`${e}/window/bank.svg`,ox=`${e}/window/individual.svg`,nx=`${e}/window/password.svg`,sx=`${e}/actionsIcon.svg`,cx=`${e}/addItem.svg`,ax=`${e}/attachIcon.svg`,px=`${e}/CollapseArrows.svg`,rx=`${e}/customerIcon.svg`,xx=`${e}/discountIcon.svg`,ix=`${e}/emailIcon.svg`,dx=`${e}/emailBlackIcon.svg`,lx=`${e}/linkTiltedIcon.svg`,ux=`${e}/ExpandArrows.svg`,gx=`${e}/feeIcon.svg`,Ix=`${e}/minusIcon.svg`,vx=`${e}/noteIcon.svg`,hx=`${e}/pdfGrayIcon.svg`,mx=`${e}/productLabel.svg`,fx=`${e}/quantityIcon.svg`,Ex=`${e}/removeItem.svg`,Ax=`${t}/removeItem2.svg`,$x=`${e}/smsIcon.svg`,Tx=`${e}/taxIcon.svg`,Sx=`${e}/totalAmountIcon.svg`,_x=`${e}/unfocusRemoveItem.svg`,yx=`${e}/whatsappIcon1.svg`,Cx=`${e}/whiteArrow2.svg`,bx=`${e}/newInvoice.svg`,Px=`${e}/activeActionIcon.svg`,Rx=`${e}/grayProductLabel.svg`,Nx=`${e}/plusQty.svg`,wx=`${t}/downArrow3.svg`,Lx=`${e}/customer.svg`,Ox=`${t}/note.svg`,Mx=`${e}/blueNoteIcon.svg`,Bx=`${t}/attach.svg`,kx=`${e}/lateFee.svg`,Ux=`${e}/addItemIcon.svg`,Dx=`${e}/blueCheckIcon.svg`,Fx=`${t}/trash-bin.svg`,Gx=`${e}/redTrashBin.svg`,Wx=`${e}/blueVerifyIcon.svg`,Hx=`${e}/verificationDarkBlue.svg`,Yx=`${e}/grayVerifyIcon.svg`,Vx=`${e}/greenVerifyIcon.svg`,zx=`${e}/redVerifyIcon.svg`,Kx=`${e}/closedVerifyIcon.svg`,qx=`${e}/archivedVerifyIcon.svg`,Zx=`${e}/penIcon.svg`,Qx=`${t}/listShadow.svg`,Jx=`${e}/defaultCountryIcon.svg`,jx=`${e}/defaultDeviceIcon.svg`,Xx=`${e}/biometric.svg`,ei=`${e}/3dsBlue.svg`,ti=`${t}/createCharge.svg`,oi=`${t}/successCheck.svg`,ni=`${t}/receipt.svg`,si=`${t}/browserTimezone.svg`,ci=`${t}/entityTimezone.svg`,ai=`${t}/historyTimezone.svg`,pi=`${t}/smallBlueCheck.svg`,ri=`${t}/fileDownloadBlue.svg`,xi=`${t}/fileDownloadGrey.svg`,ii=`${e}/meta.svg`,di=`${e}/darkFilterIcon.svg`,li=`${e}/resize-icon.svg`,ui=`${e}/home.svg`,gi=`${e}/lockIcon.svg`,Ii=`${e}/Calendar.svg`,vi=`${e}/status-v2/autoCapturedNoBG.svg`,hi=`${e}/status-v2/autoVoidNoBG.svg`,mi=`${e}/status-v2/cancelledNoBG.svg`,fi=`${e}/status-v2/capturedNoBG.svg`,Ei=`${e}/status-v2/declinedNoBG.svg`,Ai=`${e}/status-v2/destinationsNoBG.svg`,$i=`${e}/status-v2/failedNoBG.svg`,Ti=`${e}/status-v2/gatewayOrange.svg`,Si=`${e}/status-v2/gatewayRedNoBG.svg`,_i=`${e}/status-v2/paidoutNoBG.svg`,yi=`${e}/status-v2/refundedIconNoBG2.svg`,Ci=`${e}/status-v2/refundInitiatedNoBG.svg`,bi=`${e}/status-v2/refundSettledNoBG.svg`,Pi=`${e}/status-v2/refundNotSettledNoBG.svg`,Ri=`${e}/status-v2/restrictedNoBG.svg`,Ni=`${e}/status-v2/settledNoBG.svg`,wi=`${e}/status-v2/settlementInitiatedNoBG.svg`,Li=`${e}/status-v2/timeoutNoBG.svg`,Oi=`${e}/status-v2/unavailableNoBG.svg`,Mi=`${e}/status-v2/unknownNoBG.svg`,Bi=`${e}/status-v2/void.svg`,ki=`${e}/status-v2/authorizeNoBG.svg`,Ui=`${e}/status-v2/initiatedNoBG.svg`,Di=`${e}/websiteBlueIcon.svg`,Fi=`${e}/androidAppIcon.svg`,Gi=`${e}/iOSAppIcon.svg`,Wi=`${e}/physicalLocationIcon.svg`,Hi=`${e}/socialLinksIcon.svg`,Yi=`${e}/smallLeftArrow.svg`,Vi=`${e}/searchBlueIcon.svg`,zi=`${t}/rightLightArrow.svg`,Ki=`${t}/segmentInstitution.svg`,qi=`${t}/segmentTechnology.svg`,Zi=`${t}/segmentDevelopmentHouse.svg`,Oe=`${t}/terminal.svg`,Me=`${e}/window/terminal.svg`,Qi=`${e}/terminalCardPhone.svg`,Ji=`${e}/ToastPOS.svg`,ji=`${e}/terminalTypeIcon.svg`,Xi=`${e}/terminalBrush.svg`,ed=`${e}/terminalBrushMuted.svg`,td=`${e}/navigationIcon.svg`,od=`${e}/babyBlueCheckIcon.svg`,nd=`${e}/digitalReceiptIcon.svg`,sd=`${e}/bankNoteIcon.svg`,cd=`${e}/terminalDeviceFrame.svg`,ad=`${e}/blackBrushIcon.svg`,pd=`${e}/mutedOutlinedCheckIcon.svg`,rd=`${e}/outlinedPlatformIcon.svg`,xd=`${e}/navigationPointerBlack.svg`,id=`${e}/addIconWhite.svg`,dd=`${e}/greyUpArrow.svg`,ld=`${e}/greyDownArrow.svg`,ud=`${e}/services/brandService.svg`,gd=`${e}/services/authorizationService.svg`,Id=`${e}/services/chargebacksService.svg`,vd=`${e}/services/chargesService.svg`,hd=`${e}/services/destinationsService.svg`,md=`${e}/services/entityService.svg`,fd=`${e}/services/invoiceService.svg`,Ed=`${e}/services/payoutService.svg`,Ad=`${e}/services/refundsService.svg`,$d=`${e}/services/usersService.svg`,Td=`${e}/services/walletService.svg`,Sd=`${e}/services/intentsService.svg`,_d=`${e}/services/insightsService.svg`,yd=`${e}/services/retailersService.svg`,Cd=`${e}/services/terminalService.svg`,bd=`${e}/services/createLead.svg`,Pd=`${e}/services/viewLead.svg`,Rd=`${e}/archievedOutlined.svg`,Nd=`${e}/closeOutlinedCircle.svg`,wd=`${e}/dashedOutlinedCircle.svg`,Ld=`${e}/deactivatedCircle.svg`,Od=`${e}/deactivatedOutlinedCircleV2.svg`,Md=`${e}/exclamationOutlinedCircle.svg`,Bd=`${e}/questionOutlinedCircle.svg`,kd=`${e}/outlinedCircle.svg`,Ud=`${e}/greenCheck2ACE00.svg`,Dd=`${e}/blueCopyIcon.svg`,Fd=`${e}/blackLinkIcon.svg`,Gd=`${e}/blackSettingsIcon.svg`,Wd=`${e}/blackWallet.svg`,Hd=`${e}/blueGradientBrushIcon.svg`,Yd=`${e}/gadientLink.svg`,Vd=`${e}/blackDeviceIcon.svg`,zd=`${e}/gradientDeviceIcon.svg`,Kd=`${e}/gradientSettings.svg`,qd=`${e}/gradientWallet.svg`,Zd=`${e}/codeIcon.svg`,Qd=`${e}/manyCurrencyCoin.svg`,Jd=`${e}/manyCurrencyCoinGradient.svg`,jd=`${e}/blackMobileBatteryIcon.svg`,Xd=`${e}/blackMobileSignalIcon.svg`,el=`${e}/emptyMobileWifiIcon.svg`,tl=`${e}/deemaWithLabel.svg`,ol=`${e}/chargeBackWhiteIcon.svg`,nl=`${e}/blackUnLinkIcon.svg`,sl=`${e}/sortDescArrowIcon.svg`,cl=`${e}/sortAscArrowIcon.svg`,al=`${e}/closedOutlinedYellowCircle.svg`,pl=`${e}/deactivatedOrangeCircle.svg`,rl=`${e}/deactivatedCircleV2.svg`,xl=`${e}/exclamationOutlinedOrangeCircle.svg`,il=`${e}/activeGreenIcon.svg`,dl=`${e}/activeBlue.svg`,ll=`${e}/inActiveGreyIcon.svg`,ul=`${De}/terminal_link.mp4`,gl=`${e}/bluePlusIcon.svg`,Il=`${e}/blackSettingsVariant2Icon.svg`,vl=`${e}/exclamationWhite.svg`,hl=`${t}/blueCircleWithWhiteCheck.svg`,ml=`${e}/externalLink.svg`,fl=`${e}/settingsIcon.svg`,El=`${e}/flipIcon.svg`,Al=`${e}/shoppingCart.svg`,$l=`${e}/verifyAvatar.svg`,Tl=`${e}/helpCircle.svg`,Sl=`${e}/provider/CYBERSOURCE.svg`,_l=`${e}/provider/MPGS.svg`,yl=`${e}/provider/NETCETERA.svg`,Cl=`${e}/provider/TAP3DS.svg`,bl=`${e}/provider/BENEFIT_PAY.svg`,Pl=`${e}/provider/BENEFIT.svg`,Rl=`${e}/provider/CAREEM_PAY.svg`,Nl=`${e}/provider/DEEMA.svg`,wl=`${e}/provider/FAWRY.svg`,Ll=`${e}/provider/FSS.svg`,Ol=`${e}/provider/KNET.svg`,Ml=`${e}/provider/MEEZA.svg`,Bl=`${e}/provider/NGENIUS.svg`,kl=`${e}/provider/NPG.svg`,Ul=`${e}/provider/OMAN_NET.svg`,Dl=`${e}/provider/PAYPAL.svg`,Fl=`${e}/provider/POSTPAY.svg`,Gl=`${e}/provider/QPAY.svg`,Wl=`${e}/provider/SPG.svg`,Hl=`${e}/provider/STC_PAY.svg`,Yl=`${e}/provider/TABBY.svg`,Vl=`${e}/provider/TAMARA.svg`,zl=`${e}/provider/TPAY.svg`,Kl=`${e}/provider/TPG.svg`,ql=`${e}/downloadBlue.svg`,Zl=`${e}/eyeBlue.svg`,Ql=`${e}/fastBlack.svg`,Jl=`${e}/repeat.svg`,jl=`${e}/shield.svg`,Xl=`${e}/fileMinus.svg`,eu=`${e}/percent.svg`,tu=`${e}/cardUpload.svg`,ou=`${e}/startConnector.svg`,nu=`${e}/endConnector.svg`,su=`${e}/filledConnector.svg`,cu=`${e}/dottedConnector.svg`,au=`${e}/play.svg`,pu=`${e}/merchantAttributes.svg`,ru=`${e}/issuerAttributes.svg`,xu=`${e}/refresh.svg`,iu=`${e}/riskAttributes.svg`,du=`${e}/exclude.svg`,lu=`${e}/earlySettlements.svg`,uu=`${e}/financedBy.svg`,gu=`${e}/financeFeatures.svg`,Iu=`${e}/loanAmount.svg`,vu=`${e}/murabhaFinance.svg`,hu=`${e}/testimonial.svg`,mu=`${Ge}/bulk-refund-template.xlsx`,fu=`${e}/emptyCopyIcon.svg`;var Au=3,We=88,He=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},p={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateWallet:{code:"UPDATE_WALLET"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"}},i={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"},viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{invoices:{code:"INVOICES",functions:{...n,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...n,...p}},retailer:{code:"RETAILER",functions:{...n,...p}},businesses:{code:"BUSINESS",functions:{...n,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...n,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"}}},intents:{code:"INTENTS",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...n,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...n}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{businesses:{code:"BUSINESS_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...n,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...n,create:{code:"CREATE"}}}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...n,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...n,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...p,...i}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...p,...i}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...p,...i}},app:{code:"APP",functions:{...n,...p,...i}},billing:{code:"BILLING",functions:{...n,...p,...i}}}}},Su={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.paylink.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},_u=[{code:o.tokens.code,iconUrl:E,toolbarIconUrl:Pe},{code:o.billing.code,iconUrl:d,toolbarIconUrl:_e},{code:o.acceptance.code,iconUrl:l,toolbarIconUrl:Te},{code:o.wallet.code,iconUrl:g,toolbarIconUrl:Se},{code:o.payouts.code,iconUrl:I,toolbarIconUrl:Ce},{code:o.protect.code,iconUrl:A,toolbarIconUrl:be},{code:o.authentication.code,iconUrl:u,toolbarIconUrl:we},{code:o.customers.code,iconUrl:$,toolbarIconUrl:ye},{code:o.businesses.code,iconUrl:T,toolbarIconUrl:Ne},{code:o.reports.code,iconUrl:ie,toolbarIconUrl:Le},{code:o.upload.code,iconUrl:ae,toolbarIconUrl:ce},{code:o.paylink.code,iconUrl:re,toolbarIconUrl:pe},{code:o.account.code,iconUrl:S,toolbarIconUrl:Re},{code:o.order.code,iconUrl:ue,toolbarIconUrl:ge},{code:o.leads.code,iconUrl:de,toolbarIconUrl:le},{code:o.terminals.code,iconUrl:Oe,toolbarIconUrl:Me},{code:o.slaProcess.code,iconUrl:Ie,toolbarIconUrl:ve},{code:o.orchestration.code,iconUrl:he,toolbarIconUrl:me},{code:o.lending.code,iconUrl:fe,toolbarIconUrl:Ee},{code:o.platform.code,iconUrl:Ae,toolbarIconUrl:$e}],yu=["login"];var Be=window.__GLOBAL_CONFIG__??{},Ye=Be.MW_BASE_URL??import.meta.env.VITE_BASE_URL,bu=`${Ye}/api`,Pu=import.meta.env.VITE_ENV,Ru=import.meta.env.VITE_TEST_FIXED_SK,Nu=Be.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,wu={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var Ou=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var Bu={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var Uu=50,Du={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var Gu="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var Hu={id:{default:"180px",text:"180px",sheet:"180px"},merchant:{default:"115px",text:"150px",sheet:"138px"},brand:{default:"125px",text:"116px",sheet:"116px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"90px",text:"250px",sheet:"250px"},provider:{default:"102px",text:"102px",sheet:"102px"},purpose:{default:"126px",text:"126px",sheet:"126px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"175px",text:"175px",sheet:"175px"},status:{default:"86px",text:"250px",sheet:"250px"},authentication_id:{default:"260px",text:"320px",sheet:"320px"},charge_id:{default:"245px",text:"290px",sheet:"290px"},actions:{default:"100px",text:"100px",sheet:"100px"},date:{default:"150px",text:"170px",sheet:"130px"},channel:{default:"100px",text:"100px",sheet:"100px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"}};var Vu={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var Ku={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var Zu={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var Ju={created:{default:"170px",text:"170px",sheet:"170px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"195px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Xu={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var tg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var ng={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},authenticate:{default:"150px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var cg={id:{default:"225px",text:"225px",sheet:"225px"},date:{default:"150px",text:"150px",sheet:"150px"},wallet:{default:"150px",text:"250px",sheet:"250px"},bankAccount:{default:"240px",text:"250px",sheet:"250px"},amount:{default:"210px",text:"210px",sheet:"210px"},status:{default:"51px",text:"250px",sheet:"250px"},report:{default:"56px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"100px"},referenceId:{default:"72px",text:"140px",sheet:"100px"},currency:{default:"80px",text:"80px",sheet:"80px"},beneficiary_name:{default:"180px",text:"180px",sheet:"180px"}};var pg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},auto:{default:"150px",text:"250px",sheet:"250px"},balance:{default:"50px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var xg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var dg={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var ug={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Ig={id:{default:"180px",text:"180px",sheet:"180px"},created:{default:"170px",text:"170px",sheet:"170px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var hg={id:{default:"180px",text:"180px",sheet:"180px"},type:{default:"150px",text:"250px",sheet:"250px"},wallet:{default:"150px",text:"250px",sheet:"250px"},source:{default:"92px",text:"125px",sheet:"125px"},amount:{default:"195px",text:"195px",sheet:"195px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var fg={id:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"220px",text:"220px",sheet:"220px"},actions:{default:"70px",text:"70px",sheet:"70px"},date:{default:"130px",text:"130px",sheet:"130px"},description:{default:"210px",text:"210px",sheet:"210px"},transactions:{default:"90px",text:"90px",sheet:"90px"}};var Ag={id:{default:"225px",text:"225px",sheet:"225px"},postdate:{default:"170px",text:"170px",sheet:"170px"},date:{default:"110px",text:"110px",sheet:"110px"},description:{default:"210px",text:"210px",sheet:"210px"},receipt:{default:"80px",text:"150px",sheet:"150px"},authenticate:{default:"70px",text:"100px",sheet:"100px"},debit:{default:"400px",text:"400px",sheet:"400px"},source:{default:"75px",text:"125px",sheet:"125px"},actions:{default:"100px",text:"100px",sheet:"100px"},amount:{default:"195px",text:"195px",sheet:"195px"},reference:{default:"95px",text:"110px",sheet:"110px"},card:{default:"120px",text:"120px",sheet:"120px"}};var Tg={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var _g={device:{default:"120px",text:"120px",sheet:"120px"},terminalId:{default:"100px",text:"100px",sheet:"100px"},merchantId:{default:"120px",text:"120px",sheet:"120px"},type:{default:"80px",text:"80px",sheet:"80px"},platform:{default:"100px",text:"100px",sheet:"100px"},branding:{default:"80px",text:"80px",sheet:"80px"},features:{default:"100px",text:"100px",sheet:"100px"},acceptance:{default:"80px",text:"80px",sheet:"80px"},brand:{default:"80px",text:"80px",sheet:"80px"},address:{default:"160px",text:"160px",sheet:"160px"},status:{default:"80px",text:"80px",sheet:"80px"},actions:{default:"80px",text:"80px",sheet:"80px"},charges:{default:"180px",text:"180px",sheet:"180px"},chargesTransactions:{default:"70px",text:"70px",sheet:"70px"}};var Ve={AE:"UTC +04:00",SA:"UTC +03:00",KW:"UTC +03:00",OM:"UTC +04:00",YM:"UTC +03:00",EG:"UTC +03:00",BH:"UTC +03:00",JO:"UTC +03:00",LB:"UTC +03:00",QA:"UTC +03:00",GB:"UTC +01:00",IE:"UTC +01:00",FR:"UTC +02:00",NL:"UTC +02:00",DE:"UTC +02:00",ES:"UTC +02:00",IT:"UTC +02:00",PK:"UTC +05:00",IN:"UTC +05:00",SG:"UTC +08:00",US:"UTC -05:00",UTC:"UTC +00:00"},Cg=Ve.UTC,bg=[{countryCode:"SA",label:"(GMT:+0300) Saudi Arabia",timezone:"Asia/Riyadh",offset:3},{countryCode:"BH",label:"(GMT:+0300) Bahrain",timezone:"Asia/Bahrain",offset:3},{countryCode:"EG",label:"(GMT:+0300) Egypt",timezone:"Africa/Cairo",offset:3},{countryCode:"LB",label:"(GMT:+0200) Lebanon",timezone:"Asia/Beirut",offset:2},{countryCode:"JO",label:"(GMT:+0300) Jordan",timezone:"Asia/Amman",offset:3},{countryCode:"KW",label:"(GMT:+0300) Kuwait",timezone:"Asia/Kuwait",offset:3},{countryCode:"OM",label:"(GMT:+0400) Oman",timezone:"Asia/Muscat",offset:4},{countryCode:"QA",label:"(GMT:+0300) Qatar",timezone:"Asia/Qatar",offset:3},{countryCode:"AE",label:"(GMT:+0400) United Arab Emirates",timezone:"Asia/Dubai",offset:4},{countryCode:"GB",label:"(GMT:+0000) United Kingdom",timezone:"Europe/London",offset:0},{countryCode:"IE",label:"(GMT:+0000) Ireland",timezone:"Europe/Dublin",offset:0},{countryCode:"FR",label:"(GMT:+0100) France",timezone:" Europe/Paris",offset:1},{countryCode:"NL",label:"(GMT:+0100) Netherlands",timezone:"Europe/Amsterdam",offset:1},{countryCode:"DE",label:"(GMT:+0100) Germany",timezone:"Europe/Berlin",offset:1},{countryCode:"IT",label:"(GMT:+0100) Italy",timezone:"Europe/Rome",offset:1},{countryCode:"ES",label:"(GMT:+0100) Spain",timezone:"Europe/Madrid",offset:1},{countryCode:"PK",label:"(GMT:+0500) Pakistan",timezone:"Asia/Karachi",offset:5},{countryCode:"IN",label:"(GMT:-0500) India",timezone:"America/Indiana/Indianapolis",offset:-5},{countryCode:"SG",label:"(GMT:+0800) Singapore",timezone:"Asia/Singapore",offset:8},{countryCode:"US",label:"(GMT:-0500) Eastern Time (US & Canada)",timezone:"America/New_York",offset:-5}];var Rg={SAR:{decimals:2,country:"SA"},BHD:{decimals:3,country:"BH"},EGP:{decimals:2,country:"EG"},JOD:{decimals:3,country:"JO"},KWD:{decimals:3,country:"KW"},LBP:{decimals:2,country:"LB"},OMR:{decimals:3,country:"OM"},AED:{decimals:2,country:"AE"},PKR:{decimals:2,country:"PK"},INR:{decimals:2,country:"IN"},SGD:{decimals:2,country:"SG"},USD:{decimals:2,country:"US"},GBP:{decimals:2,country:"GB"},EUR:{decimals:2,country:"GR"},QAR:{decimals:2,country:"QA"}},Ng=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],wg={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var Og=52,Mg=70,Bg=57,kg=200,Ug=5,Dg=40,Fg=20,Gg=28;var Hg={COUNT:"count",AMOUNT:"amount"},Yg={count:"transaction",amount:"amount"};var r={DEVICE:`${e}/device.svg`,CARD:`${e}/payment-method/card.svg`,PASS_THRU_WALLET:`${e}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${e}/express_checkout.svg`,STORED_VALUE_WALLET:`${e}/storedValueWallet.svg`,CASH_WALLET:`${e}/cash.svg`,BUY_NOW_PAY_LATER:`${e}/buyNowPayLater.svg`},Kg=[{name:"CARD",label:"Card",icon:r.CARD},{name:"EXPRESS",label:"Express Checkout",icon:r.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:r.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:r.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:r.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:r.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:r.CASH_WALLET}],ze="customer",Ke="merchant",qg=[{key:ze,value:"true",label:"Customer"},{key:Ke,value:"false",label:"Merchant"}],Zg=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],Qg=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var Xg={PAYMENT_GATEWAY_PROVIDER:O,PAYMENT_TECHNOLOGY:D,PAYMENT_TERMINAL_PROVIDER:F,PAYMENT_PROCESSOR:k,PAYMENT_SCHEME:U,PAYMENT_ISSUER:M,PAYMENT_ACQUIRER:w,PAYMENT_METHOD:B,PAYMENT_FACILITATOR:L,APP_PLATFORM:P,RETAIL_PLATFORM:G,COMMERCE_PLATFORM:N,BILLING_PLATFORM:R,BUSINESS:_,DEVELOPMENT_HOUSE:y,MASTER_ORCHESTRATOR:C,PLATFORM:b},e0={PAYMENT_GATEWAY_PROVIDER:J,PAYMENT_TECHNOLOGY:oe,PAYMENT_TERMINAL_PROVIDER:ne,PAYMENT_PROCESSOR:ee,PAYMENT_SCHEME:te,PAYMENT_ISSUER:j,PAYMENT_ACQUIRER:Z,PAYMENT_METHOD:X,PAYMENT_FACILITATOR:Q,APP_PLATFORM:z,RETAIL_PLATFORM:se,COMMERCE_PLATFORM:q,BILLING_PLATFORM:K,BUSINESS:W,DEVELOPMENT_HOUSE:H,MASTER_ORCHESTRATOR:Y,PLATFORM:V},a={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},t0={PLATFORM:a.PLATFORM,RETAIL_PLATFORM:a.PLATFORM,BILLING_PLATFORM:a.PLATFORM,COMMERCE_PLATFORM:a.PLATFORM,APP_PLATFORM:a.PLATFORM,DEVELOPMENT_HOUSE:a.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:a.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:a.PAYMENT_ISSUER,PAYMENT_ACQUIRER:a.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:a.PAYMENT_INSTITUTION},o0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],n0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],s0=["PAYMENT_TECHNOLOGY"],c0=["PAYMENT_ISSUER"],a0=["DEVELOPMENT_HOUSE"];var r0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var i0={ZERO:0,FIVE:5,TEN:10,FIFTEEN:15};var s={CHARGE:"CHARGE",AUTHORIZE:"AUTHORIZE",REFUND:"REFUND",CHARGEBACKS:"CHARGEBACKS",DESTINATIONS:"DESTINATIONS",REVERSED_DESTINATIONS:"REVERSED_DESTINATIONS",STATEMENT:"STATEMENT",STATEMENT_SUMMARY:"STATEMENT_SUMMARY",INVOICE:"INVOICE",PAYOUT:"PAYOUT",MERCHANT_PAYOUT:"MERCHANT_PAYOUT",RETAILER_PAYOUT:"RETAILER_PAYOUT",AUTHENTICATION:"AUTHENTICATION"},g0={[o.acceptance.services.charges.code]:[s.CHARGE],[o.acceptance.services.authorization.code]:[s.AUTHORIZE],[o.acceptance.services.refunds.code]:[s.REFUND],[o.acceptance.services.chargeback.code]:[s.CHARGEBACKS],[o.acceptance.services.destinations.code]:[s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.acceptance.code]:[s.CHARGE,s.AUTHORIZE,s.REFUND,s.CHARGEBACKS,s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.wallet.services.merchants.functions.statement.code]:[s.STATEMENT],[o.wallet.services.merchants.functions.summary.code]:[s.STATEMENT_SUMMARY],[o.wallet.code]:[s.STATEMENT,s.STATEMENT_SUMMARY],[o.billing.services.invoices.code]:[s.INVOICE],[o.billing.code]:[s.INVOICE],[o.payouts.services.payouts.code]:[s.PAYOUT],[o.payouts.services.merchantPayout.code]:[s.MERCHANT_PAYOUT],[o.payouts.services.retailerPayout.code]:[s.RETAILER_PAYOUT],[o.payouts.code]:[s.PAYOUT,s.MERCHANT_PAYOUT,s.RETAILER_PAYOUT],[o.authentication.code]:[s.AUTHENTICATION]},I0=[{code:o.billing.code,name:"Billing",icon:d,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:l,services:[{name:"Authorisations",code:o.acceptance.services.authorization.code},{name:"Charges",code:o.acceptance.services.charges.code},{name:"Refunds",code:o.acceptance.services.refunds.code},{name:"Chargebacks",code:o.acceptance.services.chargeback.code},{name:"Destinations",code:o.acceptance.services.destinations.code}]},{code:o.wallet.code,name:"Wallet",icon:g,services:[{name:"Aggregated Statement",code:o.wallet.services.merchants.functions.summary.code},{name:"Detailed Statement",code:o.wallet.services.merchants.functions.statement.code}]},{code:o.payouts.code,name:"Payouts",icon:I,services:[{name:"Payouts",code:o.payouts.services.payouts.code},{name:"Merchant Payouts",code:o.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:o.payouts.services.retailerPayout.code}]},{code:o.authentication.code,name:"Authentication",icon:u,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var h0={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var qe=["AUTHENTICATED"],Ze=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],f0=[...qe,...Ze],Qe=(m=>(m.Challenge="C",m.Frictionless="F",m))(Qe||{}),E0={C:"Challenge",F:"Frictionless"};var $0=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var S0=jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"0.600098",y:"0.599998",width:"10.8",height:"10.8",rx:"2.4",fill:"#1F88D0"}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74245C9.04243 3.94469 9.05652 4.2875 8.86537 4.50814L5.64586 8.22426C5.55146 8.33322 5.41909 8.39666 5.27942 8.39987C5.13975 8.40308 5.0049 8.34579 4.90612 8.24127L3.15002 6.38321C2.94999 6.17157 2.94999 5.82843 3.15002 5.61679C3.35004 5.40516 3.67435 5.40516 3.87437 5.61679L5.2522 7.07463L8.11024 3.77574C8.30138 3.55511 8.62538 3.5402 8.83391 3.74245Z",fill:"white"})]}),_0=jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74242C9.04243 3.94467 9.05652 4.28748 8.86537 4.50811L5.64586 8.22424C5.55146 8.3332 5.41909 8.39664 5.27942 8.39985C5.13975 8.40306 5.0049 8.34577 4.90612 8.24125L3.15002 6.38318C2.94999 6.17154 2.94999 5.82841 3.15002 5.61677C3.35004 5.40513 3.67435 5.40513 3.87437 5.61677L5.2522 7.07461L8.11024 3.77571C8.30138 3.55508 8.62538 3.54018 8.83391 3.74242Z",fill:"#D2D5D8"})]});var P0={csv:xe,xls:h,xlsx:h,zip:f};var Je={acceptance:{app:"app"},account:{app:"app",accountWidget:"accountWidget"},authentication:{app:"app"},billing:{app:"app"},business:{app:"app"},lead:{app:"app"},lending:{app:"app"},orchestration:{app:"app"},order:{app:"app"},payout:{app:"app"},platform:{app:"app"},protect:{app:"app"},report:{app:"app"},sallaProcess:{app:"app"},terminal:{app:"app"},token:{app:"app"},upload:{app:"app"},wallet:{app:"app"}};
2
- export{zt as $,zo as $a,Kn as $b,b as $c,nc as $d,ue as $e,za as $f,Up as $g,Ur as $h,Cx as $i,Ci as $j,_d as $k,_l as $l,i as $m,Ke as $n,ft as A,Eo as Aa,En as Ab,g as Ac,K as Ad,Rc as Ae,fa as Af,dp as Ag,dr as Ah,ex as Ai,ei as Aj,ji as Ak,jd as Al,jl as Am,dg as An,Je as Ao,Et as B,Ao as Ba,An as Bb,I as Bc,q as Bd,Nc as Be,Ea as Bf,lp as Bg,lr as Bh,tx as Bi,ti as Bj,Xi as Bk,Xd as Bl,Xl as Bm,ug as Bn,At as C,$o as Ca,$n as Cb,A as Cc,Ws as Cd,wc as Ce,Aa as Cf,up as Cg,ur as Ch,ox as Ci,oi as Cj,ed as Ck,el as Cl,eu as Cm,Ig as Cn,$t as D,To as Da,Tn as Db,$ as Dc,Hs as Dd,Lc as De,$a as Df,gp as Dg,gr as Dh,nx as Di,ni as Dj,td as Dk,tl as Dl,tu as Dm,hg as Dn,Tt as E,f as Ea,Sn as Eb,T as Ec,Z as Ed,Oc as Ee,Ta as Ef,Ip as Eg,Ir as Eh,sx as Ei,si as Ej,od as Ek,ol as El,ou as Em,fg as En,St as F,So as Fa,_n as Fb,S as Fc,Q as Fd,Mc as Fe,Sa as Ff,vp as Fg,vr as Fh,cx as Fi,ci as Fj,nd as Fk,nl as Fl,nu as Fm,Ag as Fn,_t as G,_o as Ga,yn as Gb,vs as Gc,J as Gd,ce as Ge,_a as Gf,hp as Gg,hr as Gh,ax as Gi,ai as Gj,sd as Gk,sl as Gl,su as Gm,Tg as Gn,yt as H,yo as Ha,Cn as Hb,hs as Hc,j as Hd,ae as He,ya as Hf,mp as Hg,mr as Hh,px as Hi,pi as Hj,cd as Hk,cl as Hl,cu as Hm,_g as Hn,Ct as I,Co as Ia,bn as Ib,ms as Ic,X as Id,pe as Ie,Ca as If,fp as Ig,fr as Ih,rx as Ii,ri as Ij,ad as Ik,al as Il,au as Im,Ve as In,bt as J,bo as Ja,Pn as Jb,fs as Jc,ee as Jd,re as Je,ba as Jf,Ep as Jg,Er as Jh,xx as Ji,xi as Jj,pd as Jk,pl as Jl,pu as Jm,Cg as Jn,Pt as K,Po as Ka,Rn as Kb,Es as Kc,te as Kd,Bc as Ke,Pa as Kf,Ap as Kg,Ar as Kh,ix as Ki,ii as Kj,rd as Kk,rl as Kl,ru as Km,bg as Kn,Rt as L,Ro as La,Nn as Lb,As as Lc,oe as Ld,kc as Le,Ra as Lf,$p as Lg,$r as Lh,dx as Li,di as Lj,xd as Lk,xl as Ll,xu as Lm,Rg as Ln,Nt as M,No as Ma,wn as Mb,$s as Mc,ne as Md,Uc as Me,Na as Mf,Tp as Mg,Tr as Mh,lx as Mi,li as Mj,id as Mk,il as Ml,iu as Mm,Ng as Mn,wt as N,wo as Na,Ln as Nb,Ts as Nc,se as Nd,Dc as Ne,wa as Nf,Sp as Ng,Sr as Nh,ux as Ni,ui as Nj,dd as Nk,dl as Nl,du as Nm,wg as Nn,Lt as O,Lo as Oa,On as Ob,Ss as Oc,Ys as Od,Fc as Oe,La as Of,_p as Og,_r as Oh,gx as Oi,gi as Oj,ld as Ok,ll as Ol,lu as Om,Og as On,Ot as P,Oo as Pa,Mn as Pb,_s as Pc,Vs as Pd,Gc as Pe,Oa as Pf,yp as Pg,yr as Ph,Ix as Pi,Ii as Pj,ud as Pk,ul as Pl,uu as Pm,Mg as Pn,Mt as Q,Mo as Qa,Bn as Qb,ys as Qc,zs as Qd,Wc as Qe,Ma as Qf,Cp as Qg,Cr as Qh,vx as Qi,vi as Qj,gd as Qk,gl as Ql,gu as Qm,Bg as Qn,Bt as R,Bo as Ra,kn as Rb,Cs as Rc,Ks as Rd,h as Re,Ba as Rf,bp as Rg,br as Rh,hx as Ri,hi as Rj,Id as Rk,Il as Rl,Iu as Rm,kg as Rn,kt as S,ko as Sa,Un as Sb,bs as Sc,qs as Sd,xe as Se,ka as Sf,Pp as Sg,Pr as Sh,mx as Si,mi as Sj,vd as Sk,vl as Sl,vu as Sm,Ug as Sn,Ut as T,Uo as Ta,Dn as Tb,Ps as Tc,Zs as Td,Hc as Te,Ua as Tf,Rp as Tg,Rr as Th,fx as Ti,fi as Tj,hd as Tk,hl as Tl,hu as Tm,Dg as Tn,Dt as U,Do as Ua,Fn as Ub,Rs as Uc,Qs as Ud,Yc as Ue,Da as Uf,Np as Ug,Nr as Uh,Ex as Ui,Ei as Uj,md as Uk,ml as Ul,mu as Um,Fg as Un,Ft as V,Fo as Va,Gn as Vb,Ns as Vc,Js as Vd,Vc as Ve,Fa as Vf,wp as Vg,wr as Vh,Ax as Vi,Ai as Vj,fd as Vk,fl as Vl,fu as Vm,Gg as Vn,Gt as W,Go as Wa,Wn as Wb,ws as Wc,js as Wd,zc as We,Ga as Wf,Lp as Wg,Lr as Wh,$x as Wi,$i as Wj,Ed as Wk,El as Wl,Au as Wm,Hg as Wn,Wt as X,Wo as Xa,Hn as Xb,_ as Xc,Xs as Xd,Kc as Xe,Wa as Xf,Op as Xg,Or as Xh,Tx as Xi,Ti as Xj,Ad as Xk,Al as Xl,We as Xm,Yg as Xn,Ht as Y,Ho as Ya,Yn as Yb,y as Yc,ec as Yd,ie as Ye,Ha as Yf,Mp as Yg,Mr as Yh,Sx as Yi,Si as Yj,$d as Yk,$l as Yl,He as Ym,r as Yn,Yt as Z,Yo as Za,Vn as Zb,Ls as Zc,tc as Zd,de as Ze,Ya as Zf,Bp as Zg,Br as Zh,_x as Zi,_i as Zj,Td as Zk,Tl as Zl,n as Zm,Kg as Zn,Vt as _,Vo as _a,zn as _b,C as _c,oc as _d,le as _e,Va as _f,kp as _g,kr as _h,yx as _i,yi as _j,Sd as _k,Sl as _l,p as _m,ze as _n,e as a,Kt as aa,Ko as ab,qn as ac,Os as ad,sc as ae,ge as af,Ka as ag,Dp as ah,Dr as ai,bx as aj,bi as ak,yd as al,yl as am,o as an,qg as ao,t as b,qt as ba,qo as bb,Zn as bc,P as bd,cc as be,qc as bf,qa as bg,Fp as bh,Fr as bi,Px as bj,Pi as bk,Cd as bl,Cl as bm,Su as bn,Zg as bo,je as c,Zt as ca,Zo as cb,Qn as cc,Ms as cd,ac as ce,Zc as cf,Ie as cg,Gp as ch,Gr as ci,Rx as cj,Ri as ck,bd as cl,bl as cm,_u as cn,Qg as co,De as d,Qt as da,Qo as db,Jn as dc,R as dd,pc as de,Qc as df,ve as dg,Wp as dh,Wr as di,Nx as dj,Ni as dk,Pd as dl,Pl as dm,yu as dn,Xg as do,Fe as e,Jt as ea,Jo as eb,jn as ec,N as ed,rc as ee,Jc as ef,he as eg,Hp as eh,Hr as ei,wx as ej,wi as ek,Rd as el,Rl as em,Ye as en,e0 as eo,Ge as f,jt as fa,jo as fb,Xn as fc,Bs as fd,xc as fe,jc as ff,me as fg,Yp as fh,Yr as fi,Lx as fj,Li as fk,Nd as fl,Nl as fm,bu as fn,a as fo,Xe as g,Xt as ga,Xo as gb,es as gc,ks as gd,ic as ge,Xc as gf,Za as gg,Vp as gh,Vr as gi,Ox as gj,Oi as gk,wd as gl,wl as gm,Pu as gn,t0 as go,et as h,eo as ha,en as hb,ts as hc,w as hd,dc as he,ea as hf,fe as hg,zp as hh,zr as hi,Mx as hj,Mi as hk,Ld as hl,Ll as hm,Ru as hn,o0 as ho,tt as i,to as ia,tn as ib,os as ic,L as id,lc as ie,ta as if,Ee as ig,Kp as ih,Kr as ii,Bx as ij,Bi as ik,Od as il,Ol as im,Nu as in,n0 as io,ot as j,oo as ja,on as jb,ns as jc,O as jd,uc as je,oa as jf,Qa as jg,qp as jh,qr as ji,kx as jj,ki as jk,Md as jl,Ml as jm,wu as jn,s0 as jo,nt as k,no as ka,nn as kb,ss as kc,M as kd,gc as ke,na as kf,Ja as kg,Zp as kh,Zr as ki,Ux as kj,Ui as kk,Bd as kl,Bl as km,Ou as kn,c0 as ko,st as l,so as la,sn as lb,E as lc,B as ld,Ic as le,sa as lf,ja as lg,Qp as lh,Qr as li,Dx as lj,Di as lk,kd as ll,kl as lm,Bu as ln,a0 as lo,ct as m,co as ma,cn as mb,d as mc,k as md,vc as me,ca as mf,Xa as mg,Jp as mh,Jr as mi,Fx as mj,Fi as mk,Ud as ml,Ul as mm,Uu as mn,r0 as mo,at as n,ao as na,an as nb,cs as nc,U as nd,hc as ne,aa as nf,Ae as ng,jp as nh,Te as ni,Gx as nj,Gi as nk,Dd as nl,Dl as nm,Du as nn,i0 as no,pt as o,po as oa,pn as ob,as as oc,D as od,mc as oe,pa as of,$e as og,Xp as oh,Se as oi,Wx as oj,Wi as ok,Fd as ol,Fl as om,Gu as on,s as oo,rt as p,ro as pa,rn as pb,l as pc,F as pd,fc as pe,ra as pf,ep as pg,er as ph,_e as pi,Hx as pj,Hi as pk,Gd as pl,Gl as pm,Hu as pn,g0 as po,xt as q,xo as qa,xn as qb,ps as qc,G as qd,Ec as qe,xa as qf,tp as qg,tr as qh,ye as qi,Yx as qj,Yi as qk,Wd as ql,Wl as qm,Vu as qn,I0 as qo,it as r,io as ra,dn as rb,rs as rc,Us as rd,Ac as re,ia as rf,op as rg,or as rh,Ce as ri,Vx as rj,Vi as rk,Hd as rl,Hl as rm,Ku as rn,h0 as ro,dt as s,lo as sa,ln as sb,xs as sc,W as sd,$c as se,da as sf,np as sg,nr as sh,be as si,zx as sj,zi as sk,Yd as sl,Yl as sm,Zu as sn,Ze as so,lt as t,uo as ta,un as tb,is as tc,H as td,Tc as te,la as tf,sp as tg,sr as th,Pe as ti,Kx as tj,Ki as tk,Vd as tl,Vl as tm,Ju as tn,f0 as to,ut as u,go as ua,gn as ub,ds as uc,Ds as ud,Sc as ue,ua as uf,cp as ug,cr as uh,Re as ui,qx as uj,qi as uk,zd as ul,zl as um,Xu as un,Qe as uo,gt as v,Io as va,In as vb,ls as vc,Y as vd,_c as ve,ga as vf,ap as vg,ar as vh,Ne as vi,Zx as vj,Zi as vk,Kd as vl,Kl as vm,tg as vn,E0 as vo,It as w,vo as wa,vn as wb,us as wc,V as wd,yc as we,Ia as wf,pp as wg,pr as wh,we as wi,Qx as wj,Oe as wk,qd as wl,ql as wm,ng as wn,$0 as wo,vt as x,ho as xa,hn as xb,gs as xc,Fs as xd,Cc as xe,va as xf,rp as xg,rr as xh,Le as xi,Jx as xj,Me as xk,Zd as xl,Zl as xm,cg as xn,S0 as xo,ht as y,mo as ya,mn as yb,Is as yc,z as yd,bc as ye,ha as yf,xp as yg,xr as yh,jr as yi,jx as yj,Qi as yk,Qd as yl,Ql as ym,pg as yn,_0 as yo,mt as z,fo as za,fn as zb,u as zc,Gs as zd,Pc as ze,ma as zf,ip as zg,ir as zh,Xr as zi,Xx as zj,Ji as zk,Jd as zl,Jl as zm,xg as zn,P0 as zo};
@@ -1 +0,0 @@
1
- import {Kc}from'./chunk-V74IUKZ5.js';import {an}from'./chunk-ARL3R4Y2.js';import {useId}from'react';import f from'@mui/material/Stack';import a from'@mui/material/Box';import d from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){let o=Kc(useId(),"default-mf-widget-loader");return jsxs(f,{id:o,"data-testid":"DefaultMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(f,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:g=>g.palette.background.transparent[0]},children:[jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(a,{flex:1,bgcolor:"#fff"})]})}var W=4;function x(){let o=Kc(useId(),"reports-mf-widget-loader");return jsx(f,{id:o,"data-testid":"ReportsMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:W}).map((g,u)=>jsx(a,{children:jsxs(f,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(d,{variant:"rounded",width:32,height:32}),jsxs(a,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(d,{width:80,height:12.29}),jsxs(a,{sx:{display:"flex",gap:"4px"},children:[jsx(d,{width:50,height:12.29}),jsx(d,{width:125,height:12.29})]})]})]})},u))})}var F=({appCode:o})=>o===an.reports.code||o===an.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
@@ -1 +0,0 @@
1
- import {Kc,nb,kc}from'./chunk-V74IUKZ5.js';import {ra,pa,mo}from'./chunk-ARL3R4Y2.js';import {useId,useState,useCallback,useMemo}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import f from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var m=styled(f,{shouldForwardProp:o=>!["textColor","bgColor","borderColor","disabled","minWidth","padding","maxWidth","isSelected","disableAnimation"].includes(o)})(({theme:o,isSelected:a,textColor:n=o.palette.text.primary,bgColor:e="#EFF1F2",borderColor:c="#EFF1F2",disabled:s=false,padding:i,minWidth:r,maxWidth:d,disableAnimation:l})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",height:"18px",padding:i||"0px 8px",borderRadius:"30px",border:`1px solid ${c}`,backgroundColor:e,color:n,cursor:s?"not-allowed":"pointer",opacity:s?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:r||"67px",maxWidth:d||"none",width:"fit-content",overflow:"hidden",textOverflow:d?"ellipsis":"unset",boxSizing:"border-box",...a&&{boxShadow:"white 7px 0px 8px 2px"},...l&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),y=styled(f)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),k=styled(f)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var q=({children:o,unknownText:a,copyText:n,expandDirection:e="right",chipStyles:c,containerStyles:s,fullWidth:i=false,...r})=>{let d=Kc(useId(),"status-chip"),[l,C]=useState(false),{t:g}=useTranslation(),p=r.isSelected,w=p&&n,S=useCallback(x=>{if(x.stopPropagation(),n){C(true),nb(n);let B=setTimeout(()=>{C(false);},2e3);return ()=>{clearTimeout(B);}}},[n]),b=useMemo(()=>jsx(k,{sx:{...e==="right"&&{right:"8px"},...e==="left"&&{left:"8px"}},children:jsx(motion.img,{initial:{opacity:0,x:-5},animate:{opacity:1,x:0},exit:{opacity:0,x:-2},transition:{duration:.1},onClick:S,src:l?ra:pa,style:{height:12,width:12,objectFit:"contain"}})}),[l,S,e]),v=w&&e==="right",P=w&&e==="left";return o?jsxs(motion.div,{id:d,"data-testid":"StatusChip",style:{position:"relative",...s,...i&&{width:"100%",minWidth:0}},animate:{zIndex:p?3:0},children:[jsx(m,{...r,sx:{visibility:"hidden",pointerEvents:"none",width:i?"100%":"auto"},children:jsx(y,{children:o})}),jsx(motion.div,{style:{position:"absolute",top:0,zIndex:p?3:0,width:i?"100%":"auto",left:e==="right"?0:"unset",right:e==="left"?0:"unset"},transition:{delay:p?0:.3,duration:.2},children:jsx(m,{...r,isSelected:p,sx:{width:i?"100%":"auto"},...c,children:jsxs(motion.div,{layout:"size",style:{display:"flex",gap:"4px",...i&&{maxWidth:"100%",width:"100%"}},animate:{...v&&{paddingRight:12},...P&&{paddingLeft:12}},transition:{delay:p?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:P&&b}),jsx(y,{"data-is-arabic":typeof o=="string"&&kc(o),children:o}),jsx(AnimatePresence,{children:v&&b})]})})})]}):jsx(m,{...mo,...r,isSelected:false,sx:x=>({borderColor:x.palette.divider,width:i?"100%":"auto"}),children:g(a||"unknown")})},j=q;var et=j;export{et as a};
@@ -1 +0,0 @@
1
- import {a as a$4}from'./chunk-555ZEZNM.js';import {a as a$3}from'./chunk-UWRTO6RB.js';import {j,a as a$5}from'./chunk-W2B46SCX.js';import {a}from'./chunk-MDFWWFT5.js';import {a as a$2}from'./chunk-6YGAPBP4.js';import {a as a$1}from'./chunk-ZSL2ERF4.js';import {xc,Kc,z}from'./chunk-V74IUKZ5.js';import {Sc,Tc,Ej,Fj,Gj,bc,cc,Hj,Kn,ac}from'./chunk-ARL3R4Y2.js';import {memo,forwardRef,useState,useMemo,useRef,useId,useEffect,useCallback}from'react';import S from'@mui/material/Box';import Rt from'@mui/material/Collapse';import xt from'@mui/material/Popper';import Pt from'dayjs';import {useTranslation}from'react-i18next';import {Calendar,DateObject}from'react-multi-date-picker';import No from'@mui/material/ClickAwayListener';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import he from'@mui/material/Button';import q from'react-date-object';import et from'react-date-object/calendars/arabic';import ot from'react-date-object/calendars/gregorian';import tt from'react-date-object/locales/arabic_ar';import rt from'react-date-object/locales/arabic_en';import nt from'react-date-object/locales/gregorian_ar';import it from'react-date-object/locales/gregorian_en';var Ue=styled(S)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Ne=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),Ke=styled(S)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),_e=styled(S)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}}));var Ze={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function _o({sx:e,groupBy:o,isCalenderOpen:a$1,onUpdate:t}){let[n,p]=useState(null),l=!!n&&a$1,{t:m}=useTranslation(),c=()=>{p(null);},u=d=>{p(d.currentTarget);},s=d=>{t?.(d),c();};return jsx(No,{onClickAway:c,children:jsxs(S,{sx:e,children:[jsx(Ue,{children:m("groupedBy")}),jsxs(Ne,{onClick:u,open:l,children:[jsx("span",{children:Ze[o]}),jsx(S,{component:"img",src:Tc,alt:"arrow",sx:{...l&&{transform:"rotate(180deg)"}}})]}),jsx(a,{open:l,anchorEl:n,children:jsx(Ke,{sx:{width:n?.clientWidth},children:Object.entries(Ze).map(([d,i])=>jsx(_e,{onClick:()=>{s(d);},className:o===d?"active":"",children:i},`${d}-groupedBy`))})})]})})}var Xe=memo(_o);var Ve=Xe;var eo=styled(S)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}}));function le({isHijri:e,onCalendarModeSwitch:o}){let{t:a}=useTranslation(),t=()=>{o?.(e?"gregorian":"hijri");};return jsx(S,{children:jsxs(eo,{children:[jsxs(S,{children:[jsx("img",{src:ac,alt:"hijri"}),jsx("span",{children:a("hijri")})]}),jsx(a$4,{checked:e,onChange:t})]})})}var ro=le;var io=styled(he)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),ao=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"8px"}));var Z=({isHijri:e,isAr:o=false})=>e?o?tt:rt:o?nt:it,J=e=>e?et:ot,M=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),B=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),X=e=>{if(!(e?.[0]instanceof Date)||!(e?.[1]instanceof Date)){let[o,a]=z();return [new q(o),new q(a)]}return [new q(e?.[0]),new q(e?.[1])]};function ce({onChange:e,isHijri:o,isAr:a=false}){let t={locale:Z({isHijri:o,isAr:a}),calendar:J(o)},n=useMemo(()=>[{id:"today",value:[new DateObject(t),new DateObject(t)]},{id:"lastWeek",value:[new DateObject(t).subtract(6,"day"),new DateObject(t)]},{id:"lastMonth",value:[new DateObject(t).subtract(30,"day"),new DateObject(t)]},{id:new DateObject(t).subtract(1,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(1,"month").toFirstOfMonth(),new DateObject(t).subtract(1,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(2,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(2,"month").toFirstOfMonth(),new DateObject(t).subtract(2,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(3,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(3,"month").toFirstOfMonth(),new DateObject(t).subtract(3,"month").toLastOfMonth()]}],[o,a]),{t:p}=useTranslation();return jsx(S,{"data-testid":"RangeCalender_QuickFilters",children:jsx(ao,{children:n.map(l=>jsx(io,{onClick:m=>{m.preventDefault(),e(l.value);},children:p(l.id)},l.id))})})}var po=ce;var so=styled(he)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}}));var ut=["Su","Mo","Tu","We","Th","Fr","Sa"];function ft({isAr:e=false,isHijri:o,values:a,onChange:t,numberOfMonths:n=2,...p},l){let m=c=>c==="right"?e?bc:cc:e?cc:bc;return jsx(Calendar,{ref:l,numberOfMonths:n,value:a,onChange:t,calendar:J(o),locale:Z({isHijri:o,isAr:e}),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(c,u)=>jsx(so,{onClick:u,children:jsx("img",{src:m(c),alt:"arrow"})}),weekDays:e?void 0:ut,maxDate:new Date,...p})}var lo=forwardRef(ft);var mo=lo;var co=styled(S)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),V=styled(S)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),uo=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),L=styled(S)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),A=styled(S)(()=>({width:12,height:12})),W=styled(S)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function ge({selectedTimezone:e,onChange:o,timezoneCountriesCodes:a,defaultCountryTimezone:t}){let[n,p]=useState(null),l=i=>{n||p(i.currentTarget);},m=()=>{n&&p(null);},c=(i,D)=>{i.stopPropagation(),o(D);},u=useMemo(()=>a?.map(i=>xc(i)),[a]),s=useMemo(()=>u?.some(i=>e?.timezone===i?.timezone),[u,e]),d=useMemo(()=>e&&s?e:t,[e,t,s]);return jsxs(L,{onMouseEnter:l,onMouseLeave:m,onClick:()=>{e&&o(d);},children:[s?jsx("img",{src:Hj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Fj,alt:"entity-timezone"}),jsx(a$1,{countryCode:d?.countryCode}),jsx(W,{className:s?"selected":"",children:s?e?.label:t?.label}),jsx(xt,{open:!!n,anchorEl:n,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(V,{sx:{maxHeight:300},children:u?.map((i,D)=>{let j=i?.timezone===e?.timezone;return jsxs(L,{onClick:te=>{c(te,i);},sx:{gap:"4px"},children:[j?jsx("img",{src:Hj,alt:"icon"}):jsx(A,{}),jsx(a$1,{countryCode:i?.countryCode}),jsx(W,{className:j?"selected":"",children:i?.label})]},`timezone-item-${D}`)})})})]})}function xe({onChange:e,selectedTimezone:o,browserTimezone:a}){let t=useMemo(()=>Kn.find(({timezone:l})=>l===a),[a]),n=()=>{t&&e(t);},p=t?.timezone===o?.timezone;return jsxs(L,{onClick:n,children:[p?jsx("img",{src:Hj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Ej,alt:"user-timezone"}),jsx(a$1,{countryCode:t?.countryCode}),jsx(W,{className:p?"selected":"",children:t?.label})]})}function zt({onChange:e,selectedTimezone:o,browserTimezone:a,defaultCountryTimezone:t,timezoneCountriesCodes:n}){let[p,l]=useState(null),m=!!p,c=()=>{l(null);},u=i=>{e(i),c();},s=i=>{l(i.currentTarget);},d=useMemo(()=>a===o?.timezone?Ej:o?.timezone===t.timezone?Fj:Gj,[a,t.timezone,o?.timezone]);return jsx(No,{onClickAway:c,children:jsxs(co,{"data-testid":"CustomTimezone",children:[jsxs(uo,{open:m,onClick:s,children:[jsx("img",{src:d,alt:"timezone-icon"}),jsx(a$1,{countryCode:o?.countryCode}),jsx("span",{children:o?.label})]}),jsx(xt,{open:m,anchorEl:p,placement:"top-start",sx:{zIndex:1400},children:jsxs(V,{"data-testid":"CustomTimezone_dropdown",children:[jsx(ge,{onChange:u,selectedTimezone:o,defaultCountryTimezone:t,timezoneCountriesCodes:n}),jsx(xe,{onChange:u,selectedTimezone:o,browserTimezone:a})]})})]})})}var go=memo(zt);var xo=go;var bo=styled(S)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),ho=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),yo=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),wo=styled(S)(()=>({display:"flex",gap:8})),Co=styled(he,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),To=styled(S)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),ko=styled(S)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),zo=styled(S)(()=>({display:"flex",alignItems:"center",gap:"10px"})),So=styled(S)(()=>({position:"relative"})),vo=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"24px"}));var Do=styled(S,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Mo=styled(S)(()=>({width:235})),Bo=styled(S)(({theme:e})=>({display:"flex",gap:"4px",".rmdp-input":{width:"64px",borderRadius:"19px",border:"1px solid",borderColor:e.palette.divider,color:e.palette.text.primary,fontSize:"11px",fontWeight:500,background:"transparent",cursor:"pointer"},".rmdp-input:focus":{boxShadow:e.shadows[7],border:`1px solid ${e.palette.info.dark}`,borderRadius:"19px"},".rmdp-time-picker":{boxShadow:e.shadows[5],borderRadius:e.spacing(1),padding:e.spacing(2),minWidth:"auto !important",div:{marginTop:0,display:"block"},"> div":{width:32,height:64},".rmdp-arrow":{borderColor:`${e.palette.background.transparent[1]} !important`},".rmdp-arrow-container":{justifyContent:"center","&:hover":{backgroundColor:"transparent",boxShadow:"unset"}},input:{borderRadius:"4px",border:`1px solid ${e.palette.divider}`,padding:0,width:32,height:32,fontSize:"11px",color:e.palette.text.primary,fontWeight:500,"&:focus, &:focus-visible":{border:`1px solid ${e.palette.info.dark}`,outline:"unset"}},".dvdr":{margin:"7px 4px 0"},".rmdp-am, .rmdp-pm":{margin:0,width:32,height:32,flex:"auto",justifyContent:"center",fontSize:"11px",color:e.palette.text.primary,fontWeight:500,display:"flex",cursor:"default"},"> div:last-child":{marginInlineStart:"4px",display:"block !important"},".rmdp-down, .rmdp-up":{position:"relative",i:{display:"none"},"&:before":{content:'""',position:"absolute",top:"5px",width:"10px",height:"10px",backgroundImage:`url(${Sc})`}},".rmdp-down:before":{transform:"rotate(180deg)"}},".rmdp-container":{position:"relative","> div":{top:"unset !important",bottom:"28px",transform:"unset !important"}}})),Eo=styled(S)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Dt({values:e,setValues:o}){let{t:a}=useTranslation(),t=new DateObject(e[0]),n=new DateObject(e[1]),[p,l]=useState(t.dayOfYear===n.dayOfYear&&t.hour===0&&t.minute===0&&n.hour===23&&n.minute===59),m=({period:s,hour:d})=>s==="PM"&&d!==12?d+12:s==="AM"&&d===12?0:d,c=({hour:s,minute:d,period:i})=>{o([t.setHour(m({hour:s,period:i})).setMinute(d).setSecond(0),n]);},u=({hour:s,minute:d,period:i})=>{o([t,n.setHour(m({hour:s,period:i})).setMinute(d).setSecond(59)]);};return jsx(Mo,{children:jsxs(Eo,{children:[jsxs(Do,{isAllDay:p,children:[jsx("span",{className:"label",children:a("allDay")}),jsx(a$4,{checked:p,onChange:s=>{l(!p),s.target.checked?o([M(e[0]),B(e[1])]):o(e);}})]}),!p&&jsxs(Bo,{children:[jsx(j,{defaultTime:{hour:a$5(t.hour),minute:t.minute,period:t.hour>=12?"PM":"AM"},size:"small",onChange:c,enableRealTimeChange:true},`${e[0]?.toString()}-start`),jsx(j,{defaultTime:{hour:a$5(n.hour),minute:n.minute,period:n.hour>=12?"PM":"AM"},size:"small",onChange:u,enableRealTimeChange:true},`${e[1]?.toString()}-end`)]})]})})}var Ro=Dt;var Io=Ro;function At({defaultDate:e,onDateChange:o,mode:a="gregorian",onCalendarModeSwitch:t,numberOfMonths:n,noTimezone:p,noQuickFilter:l,maxDateRange:m,onCalendarGroupChange:c,groupBy:u,timezone:s,onChangeTimezone:d,browserTimezone:i,renderCalendarButton:D,mainSx:j,popperProps:te,rangeDatePickerProps:Ao,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te}){let[w,ke]=useState(X(e)),[x,C]=useState(w),[ze,Se]=useState(s??null),[ve,Wo]=useState(u||"day"),[De,Me]=useState(null),y=!!De,[Be,Ee]=useState(false),{t:re}=useTranslation(),I=useRef(null),Fo=Kc(useId(),"range-calender"),ne=a==="hijri",Y=()=>{Me(null);},Oe=r=>{Me(r.currentTarget);};useEffect(()=>{if(!y){if(n===1)return;C(X(e));}},[y]),useEffect(()=>{if(e){let r=X(e);ke(r),C(r),I.current&&I.current.set("date",r[0]);}},[e]),useEffect(()=>{Se(s??null);},[s,y]);let Re=()=>{ke(x),Y();let r;x[0].dayOfYear===x[1].dayOfYear?r=[x[0],x[1]]:r=[M(x[0]),B(x[1])],o([r[0].toDate(),r[1].toDate()]),c?.(ve||"day"),d?.(ze);},Ho=useCallback(()=>{let r=w[0].format("MMM D"),G=w[1]?w[1].format("MMM D"):w[0].format("MMM D");return r===G&&!p?r:`${r} - ${G}`},[w,p]),jo=r=>{if(r.length<2||!m){C(r);return}let G=M(r[0]).toDate(),$o=B(r[1]).toDate(),Ie=Pt($o).diff(G,"day");if(Ie<=m){C(r);return}Ee(true),C([r[0],r[1].subtract(Ie-m,"d")]),setTimeout(()=>{Ee(false);},3e3);},Yo=r=>{C([M(r[0]),B(r[1])]),I.current&&I.current.set("date",r[0]);},Go=r=>{r.key==="Enter"&&x[1]&&!Be?(r.stopPropagation(),Re()):r.key==="Escape"&&(r.stopPropagation(),Y());};return jsxs(So,{id:Fo,"data-testid":"RangeCalender",sx:j,children:[D?D(y,Oe):jsx(Co,{onClick:Oe,open:y,children:(w[0]||w[1])&&Ho()}),y&&jsx(a$2,{onClick:r=>{r.stopPropagation(),Y();}}),jsx(xt,{open:y,anchorEl:De,placement:"bottom-end",...te,children:jsxs(bo,{onKeyDown:Go,children:[!l&&jsxs(ko,{children:[jsx(po,{onChange:Yo,isHijri:ne}),jsxs(vo,{children:[u&&jsx(Ve,{groupBy:ve,isCalenderOpen:y,onUpdate:r=>{Wo(r);}}),jsx(ro,{isHijri:ne,onCalendarModeSwitch:t})]})]}),jsxs(S,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(mo,{values:x,onChange:jo,isHijri:ne,ref:I,numberOfMonths:n,...Ao}),jsx(Rt,{in:Be&&!!m,children:jsx(a$3,{error:re("dateRangeError",{number:m}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(To,{sx:{borderBottomLeftRadius:"8px"},children:[!p&&Ce&&i&&Te?jsx(zo,{children:jsx(xo,{onChange:Se,selectedTimezone:ze,browserTimezone:i,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te},String(y))}):jsx("div",{}),new DateObject(x[0]).dayOfYear===new DateObject(x[1]).dayOfYear&&jsx(Io,{values:x,setValues:C}),jsxs(wo,{children:[jsx(ho,{variant:"contained",onClick:Y,children:re("cancel")}),jsx(yo,{variant:"contained",onClick:Re,disabled:!x[1],children:re("okay")})]})]})]})]})})]})}var Lo=At;var xi=Lo;export{xi as a};
@@ -1 +0,0 @@
1
- import {e as e$1,a as a$5,b as b$2,d,c as c$2}from'./chunk-R7YGGX5F.js';import {a as a$2}from'./chunk-JPNY4T2X.js';import {a as a$3,b as b$1,c as c$1}from'./chunk-764VR23Y.js';import {a as a$8}from'./chunk-AKJKJP6C.js';import {a as a$7}from'./chunk-MDFWWFT5.js';import {a as a$9}from'./chunk-GNY2VGGW.js';import {a as a$6}from'./chunk-6YGAPBP4.js';import {a as a$4}from'./chunk-6OBS7WRS.js';import {c,s}from'./chunk-HCSTVLWZ.js';import {a as a$1,i,e,ab,cc,zb as zb$1,tc,uc,vc,$b,bc,ac,Dc,bb,ib,xa,p,wa as wa$1}from'./chunk-V74IUKZ5.js';import {Xh,bi as bi$1,Mj,di,Pa as Pa$1,Ba,Ca,Da,Ah,on,Kh,Jh,ei as ei$1,A as A$1,F}from'./chunk-ARL3R4Y2.js';import {a,b}from'./chunk-YRT7GXGY.js';import ze,{memo,createContext,useContext,useRef,useCallback,useEffect,useMemo,useState,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import jl from'memoize-one';import Gl from'react-virtualized-auto-sizer';import Kl from'react-window-infinite-loader';import Ce from'@mui/material/Box';import ia from'@mui/material/Popper';import Qi from'@mui/material/Collapse';import {useTranslation}from'react-i18next';import Gi from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import La from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Fa from'@mui/material/TableHead';import Ja from'@mui/material/Skeleton';import Qa from'@mui/material/TableCell';import {createPortal}from'react-dom';var Nr=a((Yd,Or)=>{var $i=a$1();function Ui(e,t){return $i(t,function(o){return e[o]})}Or.exports=Ui;});var Ur=a((Jd,$r)=>{var Xi=Nr(),qi=i();function ji(e){return e==null?[]:Xi(e,qi(e))}$r.exports=ji;});var Pt=a((fu,wn)=>{var ja=e(),Ga=0;function Ka(e){var t=++Ga;return ja(e)+t}wn.exports=Ka;});var en=b(Ur(),1);var Xr=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:"188px",marginTop:"10px",boxShadow:e.shadows[3]}),qr=styled(Ce)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),jr=styled(a$2)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),Gr=styled(Ce)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),Kr=styled(Gi)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),Yr=styled(Ce)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function ta({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s$1}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((T,{apiKey:g})=>({...T,[g]:r?.[g]??""}),{}));},[]);let{t:d$1}=useTranslation(),u=()=>{o?.(i);},c=s(u,e),y=T=>{u(),e(T);},m=T=>{e(T);},b=()=>{a?.(),p(t.reduce((T,{apiKey:g})=>({...T,[g]:""}),{}));},f=T=>i[T]!==void 0&&i[T].length>0,x=T=>i[T]!==void 0&&i[T].length?i[T]:"",h=T=>{f(T)&&p({...i,[T]:""});},S=useMemo(()=>(0, en.default)(i).some(T=>!!T),[i]),w=useCallback(T=>t.find(g=>g.apiKey===T),[t]),E=useCallback((T,g)=>{let R=i?.[T]!==void 0&&i?.[T]!==""&&i?.[T]!==null,k=Object.entries(i).some(([C,v])=>!!v&&(w(C)?.filterGroup!==g||!g));return n&&!R&&k},[t,i,n]);return jsxs(Ce,{component:"article","data-testid":"ColumnFilterInputs",sx:T=>({...Xr(T),...Object.assign({},...[s$1].flat().filter(g=>g&&typeof g=="object"))}),onKeyDown:c,children:[jsx(qr,{component:"header","data-testid":"ColumnFilterInputs_title",children:d$1("filterBy")}),jsx(Gr,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:T,apiKey:g,isDisabled:R,filterGroup:k,render:C})=>jsx(Fragment$1,{children:C?C():jsx(jr,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:g,placeholder:T,onChange:v=>{p({...i,[g]:v.target.value});},disabled:R||E(g,k),value:x(g),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(Ce,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":f(g)?"close":"search",src:f(g)?ei$1:A$1,alt:"search",className:"icon",sx:{cursor:f(g)?"pointer":"default"},onClick:()=>{h(g);}})})},g))}),jsx(Qi,{in:S,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(Yr,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(Kr,{type:"button",onClick:b,"data-testid":"ColumnFilterInputs_ClearButton",children:d$1("clear")})})}),jsxs(b$2,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(d,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d$1("cancel")}),jsx(c$2,{type:"button",onClick:y,"data-testid":"ColumnFilterInputs_OkayButton",children:d$1("okay")})]})]})}var tn=ta;var gt=tn;function aa(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(e$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(gt,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(a$5,{children:[jsx(Ce,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:di,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Ce,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Pa$1,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Ce,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Ba,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$6,{onClick:l}),jsx(ia,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},children:d})})]})}var nn=memo(aa);var Ge=nn;var to=styled("img")(()=>({width:"13.3px",height:"13.3px"})),ln=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function pa({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,c)=>{d&&(e?.({[d]:u}),i(c));};return jsxs(Fragment,{children:[jsx(ln,{onClick:s,src:Ba,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$6,{onClick:i}),jsxs(a$7,{anchorEl:n,open:l,children:[jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Ca,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Da,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var sn=memo(pa);var Ct=sn;var pn=ze.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Ce,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));pn.displayName="VirtualScrollInner";var oo=pn;var St=createContext(null);var ro=({children:e,value:t})=>jsx(St.Provider,{value:t,children:e});var mn=ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(St);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});mn.displayName="VirtualScrollOuter";var no=mn;function wa({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var un=wa;var Pa=ze.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=un({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),c=useRef(0),y=useRef(void 0),m=useRef(false),b=useRef(null),f=i||n||b,x=useCallback(()=>(u(),y.current!==void 0&&f.current?(m.current=false,c.current=y.current,y.current=void 0,p(),f.current?.scrollTo?.(c.current),true):(d(),false)),[d,u,p,f]),h=ze.useCallback(E=>{y.current=E.currentTarget.scrollTop,m.current||(m.current=true,x());},[x]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&f.current?.scrollTo&&f.current?.scrollToItem(r,"center");},[r,f]);let S=ze.useMemo(()=>({...e,renderedScrollTopRef:c}),[e]),w=ze.useCallback(E=>{a?.(E),m.current=x();},[x,a]);return jsx(ro,{value:h,children:jsx(VariableSizeList,{ref:f,"data-testid":"VirtualScrollList",itemData:S,outerElementType:no,innerElementType:oo,...s,onScroll:w,children:t})})}),io=Pa;var A=styled(Ce,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),ce=styled(Ce,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:a$3})),De=styled(Ce)(({theme:e})=>({backgroundColor:e.palette.background.default})),Se=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",cursor:"pointer",...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),wt=styled("button")(({theme:e})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),He=styled(io,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),Rt=styled(La,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:e?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...o&&{backgroundColor:`${e.palette.info.dark}08 !important`},...t&&{boxShadow:e.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),ao=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),It=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),fn=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),bn=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),Et=styled(a$4,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var va=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},Ke=va;function hn({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:c,totalCount:y,isFilterEnabled:m}){let[b,f]=useState(null),x=useRef(null),{isFilterApplied:h,filterDisabled:S}=Ke({filter:a,totalCount:y,isFilterEnabled:m});return jsx(Se,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":!!a,isFirst:i,isLast:p,ref:x,sx:E=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:E.spacing(.5),alignItems:"center",justifyContent:vc[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...S&&{cursor:"not-allowed"},...r}),isSheetView:d,children:jsxs(wt,{disabled:S,onClick:()=>{f(x.current);},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Ge,{...a,anchorEl:b,setAnchorEl:f,isFilterApplied:h,disabled:S}),n&&jsx(Ct,{onColumnSort:u,columnsSorting:c,columnId:t})]})})}var so=hn;var xn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Cn=styled(La,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Aa({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,c=i&&p>0&&i.ids.length===p,y=useCallback(()=>{i&&i.setIds(c?[]:d?.()??[]);},[i,c,d]);return jsx(xn,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(Cn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(Et,{size:"small",checked:c,indeterminate:u&&!c,onChange:y,onClick:m=>m.stopPropagation()}),e.map((m,b)=>jsx(so,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${b}`))]})})}var Sn=memo(Aa);var mo=Sn;var Xa=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),uo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function qa({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Xa,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(uo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var co=qa;var In=b(Pt(),1);var ol=styled(Ja)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function rl({columns:e,style:t,index:o,animationType:r}){return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Qa,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(ol,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var bo=memo(rl,areEqual);var al=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ll({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||ab(t,r);return a=a>0?a:5,jsx(al,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(bo,{columns:e,animationType:o},`i-${(0, In.default)("TableLoadingRow_")}`))})}var ho=memo(ll);var Vn=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Ln=styled(Ce,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),kn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),vn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),Wn=styled("img")(()=>({width:"2rem",height:"2rem"})),Mn=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),Dn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function pl({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(Vn,{sandboxMode:n,...s,children:jsxs(Ln,{shouldMinimizeWidth:r,children:[!a&&jsx(Wn,{src:F,alt:"info icon"}),jsx(kn,{children:i(t)}),jsx(vn,{children:i(o)}),!l&&jsx(Mn,{variant:"contained",onClick:()=>{e();},children:jsx(Dn,{children:i("tryAgain")})})]})})}var oe=pl;var Vt=oe;var Hn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Fn=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),Bn=styled$1(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),go=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function zn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(Bn,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(go,{src:Ah,alt:"empty container"}),jsx(Hn,{children:n(t)}),jsx(Fn,{children:n(o)})]})}zn.displayName="EmptyList";var kt=memo(zn);var _n=kt;var gl=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=cc({error:s,fallbackMessage:"connectionErrorMsg"}),u=zb$1()&&d===on;return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=cc({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(_n,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Co=memo(gl);function An({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(ho,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Co,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}An.displayName="TableNoData";var Je=memo(An);function yo(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Rl({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:c,hasAdjacentCheckedAbove:y,hasAdjacentCheckedBelow:m}){let b=c?e[c.selector]:void 0,f=c&&c.ids.includes(b),x=c?.isDisabled?.(e),h=ze.useCallback(()=>{!c||x||c.setIds(f?c.ids.filter(g=>g!==b):[...c.ids,b]);},[c?.setIds,c?.ids,f,x,b]),S=ze.useCallback((g,R)=>(k,C)=>{u?.(o,g,k,C,R);},[u,o]),w=ze.useCallback((g,R,k)=>{let{render:C,format:v,selector:I}=g;if(!g?.id||!e)return null;let V=I?I({row:e,index:o,value:e[g?.id]}):e[g?.id],L=v?v({value:V,row:e,index:o}):V;return C?C({row:e,column:g,index:o,value:e[g?.id],selectionProps:{onClick:S(k,g.pinned),rowIndex:R,colIndex:k,selectedId:i}}):jsx(Fragment,{children:L})},[e,o,i,S]),E=a!==null||l!==null||s!==null,P=ze.useCallback((g,R)=>k=>{p?.(o,g,k,R);},[p,o]),T=useMemo(()=>{let g=t[0]?.id,R=t[t.length-1]?.id,k=s===o;return jsx(Fragment,{children:t.map((C,v)=>{if(!C?.id)return null;let I=`${C.pinned??"default"}-${o}-${v}`,V=`${C.pinned??"default"}-${v}`,L=E&&a===I,M=E&&l===V,H=tc({isSelected:E&&(L||M||k),isCellSelected:L,isColumnSelected:M,isRowSelected:k,isLastRow:d}),N=C.id===g,G=C.id===R,W=C.pinned?N:N&&C.pinned!=="start",_=C.pinned?G:G&&C.pinned!=="end",U=k&&E?uc({effectiveFirst:W,isPinnedStart:C.pinned==="start",isPinnedEnd:C.pinned==="end"}):{},B=C.pinned==="start"&&W;return jsx(Se,{component:"div","data-testid":"TableRow_TableCell","data-column-id":C.id,"data-column-width":C.width,"data-column-width-used":C.width,"data-column-align":C.align,"data-column-order":C.order,"data-column-header":typeof C.header=="string"?C.header:"component","data-column-sortable":!!C.sortable,"data-column-filterable":!!C.filter,isFirst:W,isLast:_,onClick:P(v,C.pinned),sx:{width:C.width,minWidth:C.width,textAlign:C.align,justifyContent:vc[B?"center":C.align??"left"],cursor:p?"pointer":"default",...H,...U,...C.cellStyle},isSheetView:n,isSelected:L,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:w(C,o,v)}):jsx(Fragment,{children:w(C,o,v)})},`${C.id}-${v}`)})})},[t,e,o,a,l,s,E,p,d,i,n,w,P]);return createElement(Rt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:f,adjacentAbove:y,adjacentBelow:m},c&&jsx(Et,{isRow:true,size:"small",checked:f,onChange:h,disabled:x}),T)}var Ro=memo(Rl,areEqual);var Ml=styled(Ja)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Dl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",c=d&&u;return jsx(Qa,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:c&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ml,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var Ze=memo(Dl,areEqual);var Bl=ze.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(Ze,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(ao,{sx:{position:"absolute"},src:Xh}),jsx(ao,{sx:{position:"absolute",padding:"3px"},src:bi$1,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(uo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),zl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},_l=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Al({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:c=false,isLoadMoreLoading:y=false,...m}}){let b=r.length-1,{hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x}=ze.useMemo(()=>{let R=m.selection;if(!R)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=r[e]?.[R.selector];if(!R.ids.includes(k))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let v=e>0?r[e-1]?.[R.selector]:void 0,I=e<b?r[e+1]?.[R.selector]:void 0;return {hasAdjacentCheckedAbove:v!==void 0&&R.ids.includes(v),hasAdjacentCheckedBelow:I!==void 0&&R.ids.includes(I)}},[m.selection?.ids,m.selection?.selector,r,e,b]),h=r[e],S=l&&e===b+1,w=e<=i,E=ze.useCallback(()=>zl(h,n?.onRowClick),[h,n?.onRowClick]),P=ze.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:w,...n,onClick:E}),[s,e,w,n,E]),T=ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(yo,{}):R}),[p]),g=ze.useMemo(()=>{let R=jsx(Bl,{isSheetView:u,isLoadingRow:S,columns:a,currentRowCount:r.length}),k=S||d&&e===b+1;return c&&k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(yo,{}):R})}):jsx(Ro,{index:e,row:h,columns:a,rowProps:P,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:y,hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x,...m},`row-${e}`)},[m,e,h,a,P,u,S,p,d,b,c,r.length,T,y]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(_l,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:g})})}var Dt=Al;var Yl=jl((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Jl({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:c$1,triggerDataRefetch:y,scrollToIndex:m,areAllRowsLoaded:b=false,tableBodyStyles:f,tableMode:x,tableTitle:h,onStartDrag:S,isSheetView:w=false,isMinimized:E,footerComponent:P,customNoDataComponent:T,defaultSkeleton:g=false,selection:R,isFilterEnabled:k}){let C=useTheme(),v=z=>{S?.(z);},I=c({value:c$1,delay:1e3}),[V,L]=useState(false),[M,D]=useState("INITIAL_KEY");useEffect(()=>{let z=`${l?.maximized}-${E}`,J=requestAnimationFrame(()=>D(z));return ()=>cancelAnimationFrame(J)},[l?.maximized,E]);let H=$b(i),N=s??true,G=!s&&t.length===0&&H&&!bc(i),W=!s&&t.length===0,_=ac(i),U=t.length-1,B=useMemo(()=>Dc(e,s??false,g),[e,s,g]),F=useMemo(()=>B.filter(z=>!z.hidden),[B]),ne=useMemo(()=>F.sort((z,J)=>(z?.order??1e6)-(J?.order??1e6)),[F]),Ne=useMemo(()=>R?R.isDisabled?t.filter(z=>!R.isDisabled(z)).length:t.length:0,[t,R?.isDisabled]),$t=useCallback(()=>R?(R.isDisabled?t.filter(J=>!R.isDisabled(J)):t).map(J=>J[R.selector]):[],[t,R?.isDisabled,R?.selector]),K=bb(t.length)&&!N,ie=I||b&&!K?t.length+1:t.length,$e=Yl(ne,I,t,a,m,U,l?.totalCount??0,H,b&&!K,w,R),ae=w?28:57,he=useRef(null);useEffect(()=>{he.current&&typeof he.current.resetAfterIndex=="function"&&he.current.resetAfterIndex(0,true);},[w,ae]);let Ut=useMemo(()=>{let z=ge=>{L(ge);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:ge=>ge!==U,itemCount:ie,loadMoreItems:async()=>{b||await u?.();},threshold:o,children:({onItemsRendered:ge,ref:Xt})=>jsx(Gl,{ref:Xt,"data-testid":"VirtualTable_AutoSizer",children:({height:nt,width:it})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:$e,height:K?ie*ae:nt||0,width:it||0,itemCount:ie,itemSize:()=>ae,onItemsRendered:ge,setBackdropVisibility:z,areTotalRowsNotFillingHeight:K,scrollToIndex:m,overscanCount:5,isSheetView:w,listRef:he,style:{paddingBottom:"13px"},children:Dt})},M)})},[U,u,o,b,K,ie,ae,w,$e,m,M]),X=N||G||W||_;return jsxs(Fragment,{children:[jsx(It,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":C.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!c$1,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!H,"data-is-error-timeout":!!_,"data-table-mode":x,height:"100%",dir:C.direction,showNoDataView:X,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:X,compact:!X&&K,sx:{...f},children:[r&&jsx(mo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:ne,headerProps:n,showBackDrop:V,isSheetView:w,totalCount:l?.totalCount??0,selection:R,selectableCount:Ne,getSelectableKeys:$t,isFilterEnabled:k}),X?T||jsx(Je,{error:i,tableEmpty:W,isTimeoutError:_,tableError:G,tableLoading:N,orderedColumns:ne,triggerDataRefetch:y,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:K?ie*ae:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:Ut})})]}),!X&&K&&!c$1&&jsx(co,{height:(ie+1)*ae,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(b$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:V,onPointerDown:v,selectedCount:R?.ids.length,...l}),P]})}var Zl=memo(Jl);var Xn=b(Pt(),1);function ns({style:e,index:t,cardLoadingComponent:o}){return jsx(La,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Qa,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Po=memo(ns,areEqual);var ls=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ss({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||ab(e,t);return n=n>0?n:5,jsx(ls,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Po,{cardLoadingComponent:r},`i-${(0, Xn.default)("TableLoadingRow_")}`))})}var Vo=memo(ss);function qn({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Vo,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=cc({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}qn.displayName="TableNoDataWithCard";var Lo=memo(qn);function us({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(Rt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var ko=memo(us,areEqual);var hs=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},gs=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function xs({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],c=a&&e===d+1,y=e<=s,m=ze.useCallback(hs(u,n?.onRowClick),[u,n?.onRowClick]),b=ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:y,...n,onClick:m}),[l,e,y,n,m,c,i,d]),f=ze.useMemo(()=>jsx(ko,{index:e,row:u,renderCardComponent:p,rowProps:b},`row-${e}`),[e,u,b]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(gs,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:f})})}var Mo=xs;var Ps=jl((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function Vs({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:c$2=false,tableBodyStyles:y,tableMode:m,tableTitle:b,renderCardComponent:f,cardLoadingComponent:x,tableHeight:h,tableHeaderHeight:S,noDataComponent:w,onStartDrag:E}){let P=useTheme(),T=_=>{E?.(_);},g=c({value:p,delay:1e3}),[R,k]=useState(false),C=$b(l),v=a??true,I=!a&&e.length===0&&C&&!bc(l),V=!a&&e.length===0,L=ac(l),M=e.length-1,D=bb(e.length)&&!v,H=g||c$2&&!D?e.length+1:e.length,N=Ps(g,e,o,u,M,r?.totalCount??0,C,c$2&&!D,f),G=useMemo(()=>{let _=B=>{k(B);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:B=>B!==M,itemCount:H,loadMoreItems:async()=>{c$2||await i?.();},threshold:t,children:({onItemsRendered:B,ref:F})=>jsx(Ce,{sx:{height:`${h-(S??0)}px`},id:"auto-sizer-wrapper",children:jsx(Gl,{ref:F,"data-testid":"VirtualTable_AutoSizer",children:({height:ne,width:Ne})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:N,height:ne||0,width:Ne||0,itemCount:H,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:_,areTotalRowsNotFillingHeight:D,scrollToIndex:u,overscanCount:5,children:Mo})})})})},[l,a,M,i,n,e,o,I,v,t,g,c$2,D,H]),W=v||I||V||L;return jsxs(Fragment,{children:[jsx(It,{children:jsx(bn,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":b,"data-direction":P.direction,"data-are-all-rows-loaded":!!c$2,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!C,"data-is-error-timeout":!!L,"data-table-mode":m,dir:P.direction,showNoDataView:W,sx:{height:`${h}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:W,sx:{...y},children:[s,W?jsx(Lo,{error:l,tableEmpty:V,isTimeoutError:L,tableError:I,tableLoading:v,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:x,noDataComponent:w}):G]})})}),jsx(c$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:R,onPointerDown:T,sx:{marginTop:"-37px"},...r})]})}var Ls=memo(Vs);var Bb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),zb=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),Gn=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Kn=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Yn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Jn=styled(La)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Do=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Zn=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Qn=styled(Zn)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),ei=styled(Zn)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),Ht=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),_e=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Ho=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(f=>f.pinned==="start").map(f=>f.id):[],b=e.filter(f=>f.isDefaultPinned&&f.pinned!=="end").map(f=>f.id);return Array.from(new Set([...b,...m]))}),[a,l]=useState(()=>{let m=e.filter(h=>h.isDefaultPinned&&h.pinned==="end").map(h=>h.id);if(!t)return m;let b=e.filter(h=>h.pinned==="end").map(h=>h.id),f=e.filter(h=>!h.hidden),x=f[f.length-1];return b.length===0&&x&&!x.pinned&&!x.isDefaultPinned?[x.id]:b}),s=useCallback((m,b="start")=>{if(!t)return;let f=[...r],x=[...a];b==="unpin"?(f=f.filter(S=>S!==m),x=x.filter(S=>S!==m)):b==="start"?(f=[...f.filter(S=>S!==m),m],x=x.filter(S=>S!==m)):b==="end"&&(x=[...x.filter(S=>S!==m),m],f=f.filter(S=>S!==m)),n(f),l(x);let h=f.includes(m)||x.includes(m);o?.(m,h);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(w=>r.includes(w.id)),b=i.filter(w=>a.includes(w.id)),f=i.filter(w=>!r.includes(w.id)&&!a.includes(w.id)),x=m.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),h=b.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),S=f.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6));return {pinnedStartColumnsData:x,pinnedEndColumnsData:h,unpinnedColumnsData:S}},[i,r,a]),c=useMemo(()=>[...p,...u,...d],[p,u,d]),y=useMemo(()=>{let m=c[c.length-1];return m?m.id:null},[c]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:c,lastColumnId:y}};var Fo=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var Bo=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,b,f,x,h)=>{f.stopPropagation();let S=`${h??"default"}-${m}-${b}-${x}`,w=`${h??"default"}-${m}-${b}`;if(n===S){a(null),t(null);return}a(S),t(w),s(null);},[n,a,t,s]),u=useCallback((m,b,f,x)=>{if(f.stopPropagation(),x==="start"&&b===0){s(S=>S===m?null:m),t(null),r(null),a(null);return}let h=`${x??"default"}-${m}-${b}`;t(S=>S===h?null:h),r(null),a(null),s(null);},[l]),c=useCallback((m,b,f)=>{b.stopPropagation();let x=`${f??"default"}-${m}`;r(h=>h===x?null:x),t(null),a(null),s(null);},[]),y=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:c,resetSelection:y}};var Hs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,zo=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c({value:r,delay:1e3}),l=useMemo(()=>{let i=$b(o||null),p=t??true,d=o&&Hs(o)?o:null,u=!t&&e.length===0&&i&&!bc(d),c=!t&&e.length===0,y=ac(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:c,hasTimeoutError:y,showNoDataView:p||u||c||y}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=bb(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Bs=jl((e,t,o,r,n,a,l,s,i,p,d,u,c,y,m,b,f,x)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:c,selectedChip:y,onCellClick:m,onChipClick:b,containerHeight:f,rowHeight:x})),_o=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:c,handleChipClick:y})=>{let m=useCallback((h,S)=>{if(t&&h===o.length){let E=o.length*e,P=S-E,T=e*2;return Math.max(P,T)}return e},[t,o.length,e]),b=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),f=useMemo(()=>[i,p,d,u,c,y],[i,p,d,u,c,y]),x=useCallback((h,S,w)=>Bs(h,...b,S,...f,w,e),[b,f,e]);return {getItemSize:m,getItemDataForContainer:x}};var zs=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var Ao=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var ai=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),li=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),_t=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${Mj})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Us({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),c=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx(ai,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:c,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(_t,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var No=memo(Us);function Ks({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(li,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(_t,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var $o=memo(Ks);var Zs=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&p(t.width)},Qs=e=>!e||typeof e!="object"?false:Object.values(e).every(Zs),ed=e=>!e||typeof e!="object"?false:Object.values(e).every(Qs),mi=e=>!e||typeof e!="object"?false:Object.values(e).every(ed),ui=()=>{try{let e=xa();if(!e)return {};let t=e;return mi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},td=e=>{if(!mi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return wa$1(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},ci=(e,t,o,r)=>{if(!ib(e)||!ib(t)||!ib(o))return r;try{return ui()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},fi=(e,t,o,r)=>{if(!ib(e)||!ib(t)||!ib(o)||!p(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=ui();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},td(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var ye={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var bi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?ye.DEFAULT_WIDTH:t}return e||ye.DEFAULT_WIDTH},Uo=e=>Math.max(ye.MIN_WIDTH,Math.min(ye.MAX_WIDTH,e)),j=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},Xo=(e,t)=>e.map(o=>{let r=j(o);return {...o,width:t[r]||o.width}}),hi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},od=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=Uo(t+d);l(c=>({...c,columnWidths:{...c.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(fi(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},gi=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let c=r.current.getBoundingClientRect(),y=c.left,m=c.right;a==="start"&&n===1&&(m=m-38),d=Math.max(y,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let c=s.current-i.current+ye.MIN_WIDTH;d<c&&(u=c);}e(c=>({...c,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},xi=(e,t)=>e[t]||ye.DEFAULT_WIDTH,Ci=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{od(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var qo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((I,V)=>{let L=j(V),M=bi(V.width),D=M;if(r&&n)try{D=ci(r,n,L,M)??M;}catch(H){console.warn(`Failed to load stored width for column ${L}:`,H),D=M;}return I[L]=Uo(D),I},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[c,y]=useState({x:0,y:0}),m=useRef(false),b=useRef(0),f=useRef(0),x=useRef(0),h=useRef(0),S=useRef(),w=useRef();useEffect(()=>{u(I=>{let V=new Set(Object.keys(I.columnWidths)),L=new Set(Object.keys(l));return V.size!==L.size?{...I,columnWidths:l}:Array.from(L).some(D=>!V.has(D)||I.columnWidths[D]!==l[D])?{...I,columnWidths:l}:I});},[]);let E=useCallback(I=>xi(s,I),[s]),P=useCallback(()=>{hi(S,w);},[]),T=useCallback((I,V,L)=>Ci(r,n,t,u,P,m,f)(I,V,L),[r,n,t,P]),g=useCallback((I,V)=>gi(u,y,b,a,I,V,f,x,h),[a]),R=useCallback((I,V)=>{I.preventDefault(),I.stopPropagation();try{let L=E(V),M=I.clientX,D=e.find(F=>j(F)===V),H=D?e.filter(F=>F.pinned===D.pinned).findIndex(F=>j(F)===V):void 0,N=D?.pinned,W=I.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),_=I.clientY;if(W){let F=W.getBoundingClientRect();_=F.top+F.height/2;}u(F=>({...F,isResizing:!0,resizingColumn:V,startX:M,startWidth:L,resizeIndicatorX:M,resizingColumnIndex:H,resizingColumnPinned:N})),b.current=_,f.current=M,x.current=M,h.current=L,y({x:M,y:_}),m.current=!0;let U=g(H,N),B=T(V,L,M);S.current=U,w.current=B,document.addEventListener("mousemove",U),document.addEventListener("mouseup",B),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(L){console.error("Error starting resize:",L),P();}},[E,g,T,P,e]),k=useCallback(()=>{try{u(I=>({...I,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,P();}catch(I){console.error("Error stopping resize:",I),P();}},[P]),C=useCallback(()=>m.current,[]),v=useCallback((I,V,L)=>{C()||o(I,V,L);},[o,C]);return useEffect(()=>P,[P]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:c,getColumnWidth:E,startResize:R,stopResize:k,isCurrentlyResizing:C,handleColumnClick:v}};var jo=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var wi=b(Pt(),1);var sd=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function dd({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min(ab(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min(ab(t,r),25);let c=u.parentElement?.clientHeight||0,y=28,b=c-40;if(b<=0)return Math.min(ab(t,r),25);let f=Math.floor(b/y);return Math.max(3,Math.min(f+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(sd,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(Ze,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${(0, wi.default)("SheetViewTableLoadingRow_")}`))})}var le=memo(dd);function Ri({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(De,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=cc({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=cc({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx(kt,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}Ri.displayName="SheetViewTableNoData";var md=memo(Ri);function xd({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:c,isLast:y,isSelected:m,isDefaultPinned:b,onColumnSort:f,columnsSorting:x,onColumnPin:h,isPinnable:S,lastColumnId:w,onColumnClick:E,pinnedColumns:P,onStartResize:T,isResizing:g=false,resizingColumn:R=null}){let k=j({id:t,tableViewId:o}),[C,v]=useState(null),I=useRef(null),{isFilterApplied:V}=Ke({filter:l}),L=useCallback(W=>P?.includes(W),[P]),M=useMemo(()=>L(t),[t,L]),D=W=>{L(W)?h?.(W,"unpin"):W===w?h?.(W,"end"):h?.(W,"start");},H=()=>{v(I.current);};return jsxs(Se,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":M,isFirst:c,isLast:y,isSheetView:true,ref:I,onClick:W=>{W.target===W.currentTarget&&E?.(u,W,d);},sx:W=>({display:"flex",gap:W.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(wt,{onClick:W=>{W.stopPropagation(),H();},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(Gn,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ge,{...l,anchorEl:C,setAnchorEl:v,isFilterApplied:V}),a&&jsx(Ct,{columnId:t,onColumnSort:f,columnsSorting:x,onClick:W=>{E?.(u,W,d);}}),S&&s&&!b&&!y&&jsx(Kn,{onClick:W=>{W.stopPropagation(),D(t);},title:M?"Unpin column":"Pin column",children:jsx("img",{src:M?Kh:Jh,alt:"pin-icon"})})]}),T&&d!=="end"&&jsx(No,{columnId:k,onStartResize:T,isResizing:g,isLast:y})]})}var Ei=memo(xd);function Sd({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:c=false,resizingColumn:y=null}){return jsx(Yn,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Jn,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,b)=>{let f=`${m.pinned??"default"}-${b}`;return jsx(Ei,{column:m,colIndex:b,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===f,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:c,resizingColumn:y},`${m.id}-${b}`)})})})}var se=memo(Sd);function Rd({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:c,onScroll:y,setBackdropVisibility:m,listRef:b,overscanCount:f=40}){return jsx(Kl,{isItemLoaded:h=>h!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:h,ref:S})=>jsx(Gl,{ref:S,children:({height:w,width:E})=>{let P=g=>l(g,w),T=s(e,i,w);return jsx(He,{listRef:b,height:w,width:p||E,itemCount:t,itemSize:P,itemData:T,onItemsRendered:h,overscanCount:f,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:y,clearBackdropVisibilityTimeout:c,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:Dt})}})})}var Yo=memo(Rd);function Pd({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,hasPinnedStart:m,hasPinnedEnd:b,tableTitle:f,areAllRowsLoaded:x,isFetchingNextPage:h,scrollToIndex:S,isLoading:w,isError:E,hasTimeoutError:P,tableMode:T,showNoDataView:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();if(t.length===0)return null;let L=e==="start"?Qn:ei,M=e==="start"?"pinnedStart":"pinnedEnd";return jsx(L,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":f,"data-direction":V.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!h,"data-scroll-to-index":S,"data-is-loading":!!w,"data-is-error":!!E,"data-is-error-timeout":!!P,"data-table-mode":T,height:"100%",dir:V.direction,showNoDataView:g,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:b,onStartResize:C,isResizing:v,resizingColumn:I}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):k(t,M,true,o)})})]})})}var Oe=memo(Pd);function vd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":V.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:V.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:C,isResizing:v,resizingColumn:I})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):k(o,"scrollable",false)})})]})})})}var Jo=memo(vd);function Hd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g}){let R=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":b,"data-direction":R.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:R.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var Zo=memo(Hd);function _d({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tableTitle:m,areAllRowsLoaded:b,isFetchingNextPage:f,scrollToIndex:x,isLoading:h,isError:S,tableMode:w,tableBodyStyles:E,error:P,triggerDataRefetch:T,footerProps:g,customNoDataComponent:R}){let k=useTheme(),C=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":k.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!f,"data-scroll-to-index":x,"data-is-loading":!!h,"data-is-error":!!S,"data-is-error-timeout":!!r,"data-table-mode":w,height:"100%",dir:k.direction,showNoDataView:C,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:C,sx:E,children:[a&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:c,onColumnClick:y})}),R||jsx(Je,{error:P||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:T||(()=>Promise.resolve()),footerProps:g})]})})}var Qo=memo(_d);function Ud({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:c,isFetchingNextPage:y,triggerDataRefetch:m,scrollToIndex:b,areAllRowsLoaded:f=false,tableBodyStyles:x,tableTitle:h,onStartDrag:S,onColumnPin:w,clearBackdropVisibilityTimeout:E=100,isPinnable:P=false,tableMode:T,overscanCount:g,windowId:R,serviceCode:k,customNoDataComponent:C,defaultSkeleton:v=true}){let I=useMemo(()=>Dc(e,i??false,v),[e,i,v]),{selectedCell:V,selectedColumn:L,selectedRow:M,showBackDrop:D,setShowBackdrop:H,handleCellClick:N,handleColumnClick:G,handleChipClick:W,selectedChip:_}=Bo(),U=useRef(null),B=useRef(null),{isError:F,tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,showNoDataView:ie,lastItemIndex:$e,areTotalRowsNotFillingHeight:ae,itemsCount:he,isDelayedFetchingNextPage:Ut}=zo({rows:t,isLoading:i,error:p,isFetchingNextPage:y,areAllRowsLoaded:f}),{pinnedStartColumns:X,pinnedEndColumns:z,handleColumnPin:J,pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,unpinnedColumnsData:nt,orderedColumns:it,lastColumnId:Vi}=Ho(I,P,w),{pinnedStartVirtualListRef:at,scrollableVirtualListRef:lt,pinnedEndVirtualListRef:st,handleScroll:or}=Fo();useEffect(()=>{at.current?.resetAfterIndex(0),lt.current?.resetAfterIndex(0),st.current?.resetAfterIndex(0);},[t.length,at,lt,st]);let{columnWidths:Ue,isResizing:qt,resizingColumn:Li,resizeIndicatorX:ki,cursorPosition:rr,startResize:vi,handleColumnClick:Wi}=qo({columns:I,handleColumnClick:G,windowId:R,serviceCode:k,tableContainerRef:B}),nr=Ao({tableContainerRef:U,showHeader:r??false,isResizing:qt}),{pinnedStartColumnsWidth:ir,pinnedEndColumnsWidth:ar,pinnedStartColumnsDataWithWidths:Z,pinnedEndColumnsDataWithWidths:Q}=jo({pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,columnWidths:Ue}),lr=useMemo(()=>Xo(nt,Ue),[nt,Ue]),Mi=useMemo(()=>Xo(it,Ue),[it,Ue]),{getItemSize:sr,getItemDataForContainer:dr}=_o({rowHeight:s,areAllRowsLoaded:f,rows:t,isDelayedFetchingNextPage:Ut,rowProps:a,scrollToIndex:b,footerProps:l,isError:F,selectedCell:V,selectedColumn:L,selectedRow:M,selectedChip:_,handleCellClick:N,handleChipClick:W}),Di=jt=>{S?.(jt);},Xe=useCallback((jt,dt,Hi=false,Fi)=>jsx(Yo,{columnsData:jt,itemCount:he,lastItemIndex:$e,areAllRowsLoaded:f,loadMoreItems:c,threshold:o,getItemSize:sr,getItemData:dr,isPinned:Hi,fixedWidth:Fi,scrollToIndex:b,areTotalRowsNotFillingHeight:ae,clearBackdropVisibilityTimeout:E,onScroll:Bi=>{or(Bi,dt==="pinnedStart"?"start":dt==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:H,listRef:dt==="pinnedStart"?at:dt==="pinnedEnd"?st:lt,overscanCount:g}),[he,$e,f,c,o,sr,dr,b,ae,E,or,H,at,st,lt,g]),pr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:D,onColumnPin:J,isPinnable:P,lastColumnId:Vi,selectedColumn:L,onColumnClick:Wi,tableTitle:h,areAllRowsLoaded:f,isFetchingNextPage:y,scrollToIndex:b,isLoading:i,isError:F,tableMode:T,showNoDataView:ie,tableBodyStyles:x,onStartResize:vi,isResizing:qt,resizingColumn:Li},Pe={...pr,hasTimeoutError:K,tableLoading:ne};return jsxs(Fragment,{children:[jsx(fn,{ref:U,children:ie?ne?jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Zo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]}):jsx(Qo,{tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,orderedColumns:Mi,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:C,...pr}):jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Jo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,createVirtualTableContainer:Xe,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]})}),jsx(b$1,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:D,onPointerDown:Di,...l}),jsx($o,{isVisible:qt,indicatorX:ki,indicatorHeight:nr.height,indicatorTop:nr.top,iconX:rr.x,iconY:rr.y})]})}var Xd=memo(Ud);export{Xd as $,Mo as A,Ls as B,Bb as C,zb as D,Gn as E,Kn as F,Yn as G,Jn as H,Do as I,Qn as J,ei as K,Ht as L,_e as M,Ho as N,Fo as O,Bo as P,zo as Q,_o as R,zs as S,Ao as T,le as U,md as V,se as W,Oe as X,Jo as Y,Zo as Z,Qo as _,Ur as a,Xr as b,gt as c,Ge as d,oo as e,no as f,io as g,Se as h,Ke as i,mo as j,co as k,bo as l,ho as m,go as n,Co as o,Je as p,yo as q,Ro as r,Ze as s,Bl as t,_l as u,Zl as v,Po as w,Vo as x,Lo as y,ko as z};