@tap-payments/os-micro-frontend-shared 0.1.472 → 0.1.475

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 (202) hide show
  1. package/build/{chunk-26YGUUXY.js → chunk-3RB7SOD6.js} +1 -1
  2. package/build/{chunk-PAOJKU5D.js → chunk-4Q2P3FSI.js} +1 -1
  3. package/build/{chunk-7BZ3EITU.js → chunk-4V53CG4R.js} +1 -1
  4. package/build/{chunk-QIRLSWFA.js → chunk-5DNHU7PK.js} +1 -1
  5. package/build/{chunk-ZENVX7NO.js → chunk-5TZ7ULEI.js} +1 -1
  6. package/build/{chunk-IQD7WEXN.js → chunk-6L4MABJY.js} +1 -1
  7. package/build/{chunk-2JJSGK7T.js → chunk-6MDDTWPF.js} +1 -1
  8. package/build/{chunk-77UTB7YN.js → chunk-73XZ7PNL.js} +1 -1
  9. package/build/{chunk-BZPQ5ZFC.js → chunk-7DADB2HO.js} +1 -1
  10. package/build/{chunk-JAXERZJ3.js → chunk-APIJ4QLV.js} +1 -1
  11. package/build/{chunk-R43YILB3.js → chunk-ARP7EMGQ.js} +1 -1
  12. package/build/{chunk-B6Y77OY7.js → chunk-AZQFHZX2.js} +1 -1
  13. package/build/{chunk-5SRHIQCO.js → chunk-B2RQJXU4.js} +1 -1
  14. package/build/{chunk-7KR6YG54.js → chunk-BCCTNMMH.js} +1 -1
  15. package/build/{chunk-EIHUP5HB.js → chunk-BCRVZBC2.js} +1 -1
  16. package/build/{chunk-XQMAEJWD.js → chunk-CAOMTYOH.js} +1 -1
  17. package/build/{chunk-JLWZKJAL.js → chunk-CKKISQHJ.js} +2 -2
  18. package/build/{chunk-WDKFWEWI.js → chunk-COZF3FS7.js} +1 -1
  19. package/build/{chunk-EYL6U6ME.js → chunk-DHDB2BWN.js} +1 -1
  20. package/build/{chunk-5ATIK4B3.js → chunk-E2CLXIAM.js} +1 -1
  21. package/build/{chunk-OPS2H7Q5.js → chunk-ELLASN4E.js} +1 -1
  22. package/build/{chunk-OTX46VG3.js → chunk-EOMM6XCF.js} +1 -1
  23. package/build/{chunk-GVBVAEZP.js → chunk-F3V7FDUX.js} +1 -1
  24. package/build/chunk-FG2Z2C5R.js +1 -0
  25. package/build/{chunk-NQL2MIVA.js → chunk-FIOHVAAY.js} +1 -1
  26. package/build/{chunk-6PUXOAWY.js → chunk-FKHCHDZT.js} +1 -1
  27. package/build/{chunk-QC4O6BNP.js → chunk-G7YNX2UW.js} +1 -1
  28. package/build/{chunk-O3ZTYI26.js → chunk-GEGX54AG.js} +1 -1
  29. package/build/{chunk-KI7RBLTV.js → chunk-GH3KMMFT.js} +1 -1
  30. package/build/{chunk-MTYAUX2G.js → chunk-GKIGJ23N.js} +1 -1
  31. package/build/{chunk-J4YYI4VU.js → chunk-GS2X4BJY.js} +1 -1
  32. package/build/{chunk-DSZ3EA4L.js → chunk-ICOEWMSH.js} +1 -1
  33. package/build/{chunk-OFYB4SEK.js → chunk-IK52PLCA.js} +1 -1
  34. package/build/{chunk-3NIYEWF3.js → chunk-IKTHVN4T.js} +1 -1
  35. package/build/{chunk-IVWVU7DE.js → chunk-JDGPSV7G.js} +1 -1
  36. package/build/{chunk-NLW2POZA.js → chunk-KL2AZ2HL.js} +1 -1
  37. package/build/{chunk-URBKISJQ.js → chunk-KWX3JZJF.js} +1 -1
  38. package/build/{chunk-A25S3DYQ.js → chunk-KYBMM3GI.js} +1 -1
  39. package/build/{chunk-X7NZ32SR.js → chunk-L55ILJ72.js} +1 -1
  40. package/build/{chunk-EJYI3XZI.js → chunk-LSHA44HR.js} +1 -1
  41. package/build/{chunk-JE4VIAIA.js → chunk-M6WLN3OC.js} +1 -1
  42. package/build/{chunk-YNUHIAZP.js → chunk-M7EZXHXI.js} +1 -1
  43. package/build/chunk-MRFF7D7J.js +2 -0
  44. package/build/chunk-NK266ZWT.js +2 -0
  45. package/build/{chunk-3T2EOLSI.js → chunk-OAYY5RGV.js} +1 -1
  46. package/build/{chunk-SYWPSROW.js → chunk-OSJA6643.js} +1 -1
  47. package/build/{chunk-OXADOLDW.js → chunk-PN65X6R7.js} +1 -1
  48. package/build/{chunk-GSQWF6IJ.js → chunk-PVEIIX2J.js} +1 -1
  49. package/build/{chunk-BRKIJ4GN.js → chunk-QNXJUX7P.js} +1 -1
  50. package/build/{chunk-E3R6C6V5.js → chunk-QQNUNWEU.js} +1 -1
  51. package/build/{chunk-ECXZUB3Y.js → chunk-R3DYVCA4.js} +1 -1
  52. package/build/{chunk-W7TX7ZNP.js → chunk-REVY6BKK.js} +1 -1
  53. package/build/{chunk-BJJBLWBN.js → chunk-RHEH7EAE.js} +1 -1
  54. package/build/{chunk-3LLO5WTA.js → chunk-RLQYKZGG.js} +1 -1
  55. package/build/{chunk-D4OMLLKG.js → chunk-RP2UIZAV.js} +1 -1
  56. package/build/{chunk-YD3HDRHE.js → chunk-S6RFPF3E.js} +1 -1
  57. package/build/{chunk-7673FIZM.js → chunk-TDRIWSNP.js} +1 -1
  58. package/build/{chunk-OKQTYPM5.js → chunk-TF4KUC77.js} +1 -1
  59. package/build/{chunk-WTXA5NG3.js → chunk-TT7DYANM.js} +1 -1
  60. package/build/chunk-TZWXCSB4.js +1 -0
  61. package/build/{chunk-JQQJDM4E.js → chunk-UJX4TDKD.js} +1 -1
  62. package/build/{chunk-PNQKPYZL.js → chunk-V42VTMSG.js} +1 -1
  63. package/build/{chunk-H3WM2II4.js → chunk-V4SLRQPK.js} +1 -1
  64. package/build/{chunk-Y7PYIT57.js → chunk-VJWLLAT4.js} +1 -1
  65. package/build/{chunk-WQ6G6GA3.js → chunk-VR2CIW5E.js} +1 -1
  66. package/build/{chunk-GCUGZON2.js → chunk-W5YSBRNJ.js} +1 -1
  67. package/build/{chunk-YCTRDTXT.js → chunk-WI37VPEY.js} +1 -1
  68. package/build/chunk-WRMULCMZ.js +2 -0
  69. package/build/{chunk-GDNSLZ6T.js → chunk-XAWNPPH7.js} +1 -1
  70. package/build/chunk-XUSUPNMX.js +1 -0
  71. package/build/{chunk-RCNWJ5D2.js → chunk-XW7LUPFA.js} +1 -1
  72. package/build/{chunk-WPEMOXYM.js → chunk-Z4FHHHC4.js} +1 -1
  73. package/build/{chunk-VQ6MS7BN.js → chunk-ZQ6VMOQ7.js} +1 -1
  74. package/build/components/AccordionAdapter/index.js +1 -1
  75. package/build/components/AccountDropdown/index.js +1 -1
  76. package/build/components/ActivityAreaChart/index.js +1 -1
  77. package/build/components/Amount/index.js +1 -1
  78. package/build/components/AmountConversionFilter/index.js +1 -1
  79. package/build/components/AmountInput/index.js +1 -1
  80. package/build/components/AmountStatusChip/index.js +1 -1
  81. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  82. package/build/components/AppServices/index.js +1 -1
  83. package/build/components/AppServicesActionMenu/index.js +1 -1
  84. package/build/components/AppServicesBar/index.js +1 -1
  85. package/build/components/AppWindowWrapper/index.js +1 -1
  86. package/build/components/AuthenticationTypeChip/index.js +1 -1
  87. package/build/components/Autocomplete/index.js +1 -1
  88. package/build/components/BrandLogo/index.js +1 -1
  89. package/build/components/Button/index.js +1 -1
  90. package/build/components/Calender/index.js +1 -1
  91. package/build/components/CardEmptyState/index.js +1 -1
  92. package/build/components/Checkbox/index.js +1 -1
  93. package/build/components/ColorPicker/index.js +1 -1
  94. package/build/components/CopyImage/index.js +1 -1
  95. package/build/components/CountBadge/index.js +1 -1
  96. package/build/components/CountryFilter/index.js +1 -1
  97. package/build/components/CountryFlag/index.js +1 -1
  98. package/build/components/CurrencyFilter/index.js +1 -1
  99. package/build/components/CurrencySymbol/index.js +1 -1
  100. package/build/components/Customer/index.js +1 -1
  101. package/build/components/DateButton/index.js +1 -1
  102. package/build/components/DateFilter/index.js +1 -1
  103. package/build/components/DeviceIcon/index.js +1 -1
  104. package/build/components/Dialog/index.js +1 -1
  105. package/build/components/Discount/index.js +1 -1
  106. package/build/components/DisplayAmount/index.js +1 -1
  107. package/build/components/Dropdown2/index.js +1 -1
  108. package/build/components/DropdownButton/index.js +1 -1
  109. package/build/components/Error/index.js +1 -1
  110. package/build/components/ErrorToast/index.js +1 -1
  111. package/build/components/ExpandableSideBar/index.js +1 -1
  112. package/build/components/FileInputPreview/index.js +1 -1
  113. package/build/components/FilePreview/index.js +1 -1
  114. package/build/components/FileUpload/index.js +1 -1
  115. package/build/components/FileUploader/index.js +1 -1
  116. package/build/components/FilterDropdown/index.js +1 -1
  117. package/build/components/FilteredIds/index.js +1 -1
  118. package/build/components/Filters/index.js +1 -1
  119. package/build/components/FlagDetails/index.js +1 -1
  120. package/build/components/IconGallery/index.js +1 -1
  121. package/build/components/IconWithBadge/index.js +1 -1
  122. package/build/components/IconWithLabel/index.js +1 -1
  123. package/build/components/IconsDropdown/index.js +1 -1
  124. package/build/components/InputBase/index.js +1 -1
  125. package/build/components/InputNumber/index.js +1 -1
  126. package/build/components/Inputs/index.js +1 -1
  127. package/build/components/JSONViewer/index.js +1 -1
  128. package/build/components/LabeledIconDropdown/index.js +1 -1
  129. package/build/components/LanguageDropdown/index.js +1 -1
  130. package/build/components/ListColumnFilter/index.js +1 -1
  131. package/build/components/MFWidgetLoader/index.js +1 -1
  132. package/build/components/MaskedText/index.js +1 -1
  133. package/build/components/MenuItem/index.js +1 -1
  134. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  135. package/build/components/MerchantLogo/index.js +1 -1
  136. package/build/components/MerchantsDropdown/index.js +1 -1
  137. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  138. package/build/components/MultiSelectStatusButton/index.js +1 -1
  139. package/build/components/MultiSelectWithSearch/index.js +1 -1
  140. package/build/components/NestedDropdown/index.js +1 -1
  141. package/build/components/PartnersFilter/index.js +1 -1
  142. package/build/components/PaymentSourceFilter/index.js +1 -1
  143. package/build/components/PhoneFilter/index.js +1 -1
  144. package/build/components/ProgressRing/index.js +1 -1
  145. package/build/components/RFH/index.js +1 -1
  146. package/build/components/RangeCalender/index.js +1 -1
  147. package/build/components/ReceiptsViewer/index.js +1 -1
  148. package/build/components/ReferenceTypeFilter/index.js +1 -1
  149. package/build/components/SalesChannelFilter/index.js +1 -1
  150. package/build/components/Sandbox/index.js +1 -1
  151. package/build/components/SearchButton/index.js +1 -1
  152. package/build/components/SearchListInput/index.js +1 -1
  153. package/build/components/SelectDropdown/index.js +1 -1
  154. package/build/components/SelectWithSearch/index.js +1 -1
  155. package/build/components/StatusBar/index.js +1 -1
  156. package/build/components/StatusButton/index.js +1 -1
  157. package/build/components/StatusChip/index.js +1 -1
  158. package/build/components/StatusChipWithCopy/index.js +1 -1
  159. package/build/components/StatusFilter/index.js +1 -1
  160. package/build/components/StatusGroupChips/index.js +1 -1
  161. package/build/components/StatusIcons/index.js +1 -1
  162. package/build/components/StatusLabel/index.js +1 -1
  163. package/build/components/TableCells/index.js +1 -1
  164. package/build/components/TableHeader/TableView/ViewsMenu.d.ts +1 -1
  165. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.d.ts +1 -1
  166. package/build/components/TableHeader/TableView/hooks/useViewsManager.d.ts +1 -1
  167. package/build/components/TableHeader/TableView/types.d.ts +9 -3
  168. package/build/components/TableHeader/index.js +1 -1
  169. package/build/components/TableHeader/type.d.ts +2 -1
  170. package/build/components/TableReports/index.js +1 -1
  171. package/build/components/TableView/index.js +1 -1
  172. package/build/components/Timepicker/index.js +1 -1
  173. package/build/components/Toaster/index.js +1 -1
  174. package/build/components/ToggleView/index.js +1 -1
  175. package/build/components/Toolbar/index.js +1 -1
  176. package/build/components/ToolbarIcon/index.js +1 -1
  177. package/build/components/TreeDropdown/index.js +1 -1
  178. package/build/components/VAT/index.js +1 -1
  179. package/build/components/VerificationIcon/index.js +1 -1
  180. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  181. package/build/components/VirtualTables/index.js +1 -1
  182. package/build/components/Widget/index.js +1 -1
  183. package/build/components/Window/index.js +1 -1
  184. package/build/components/WindowSideBar/index.js +1 -1
  185. package/build/components/index.js +1 -1
  186. package/build/constants/assets.d.ts +2 -0
  187. package/build/constants/index.js +1 -1
  188. package/build/hooks/index.js +1 -1
  189. package/build/index.js +1 -1
  190. package/build/types/index.d.ts +1 -0
  191. package/build/types/index.js +1 -1
  192. package/build/types/views.d.ts +10 -0
  193. package/build/utils/index.js +1 -1
  194. package/build/utils/localStorage.d.ts +3 -1
  195. package/package.json +1 -1
  196. package/build/chunk-3NCT7EIJ.js +0 -2
  197. package/build/chunk-IYZWNIGG.js +0 -2
  198. package/build/chunk-KW7XUEXS.js +0 -1
  199. package/build/chunk-N3WMUGVO.js +0 -2
  200. package/build/chunk-NKA62XLB.js +0 -1
  201. package/build/chunk-OCSFMAY5.js +0 -1
  202. /package/build/{chunk-LQSDB47Q.js → chunk-D7UBYLOL.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import {b as b$1}from'./chunk-5TBO732O.js';import {jsxs,jsx}from'react/jsx-runtime';var el={};b$1(el,{ACCEPTANCE_TIMEZONE:()=>bd,AIOverviewIcon:()=>Gt,API_BASE_LIMIT:()=>xl,API_LIST_CONSTANTS:()=>rd,API_URL:()=>nd,APP_CODES:()=>o,APP_DIMENSIONS:()=>ji,APP_ICONS:()=>ed,APP_WINDOW_Z_INDEX:()=>ol,AUTHENTICATION_LABEL:()=>Qd,AuthenticationModeType:()=>Z,BASE_URL:()=>H,BUSINESS_COUNTRIES:()=>Jd,BUSINESS_DOCUMENT_TYPE_MAP:()=>Kd,BUSINESS_FUNCTIONS:()=>G,CATEGORIZED_CURRENCY_CODES:()=>Nd,CHECKED_ICON:()=>Xd,COUNTRIES_TIMEZONES:()=>wd,ChallengeIcon:()=>ze,DATA_KEY:()=>Pd,DATA_KEY_LABEL:()=>Od,DEVELOPMENT_HOUSE_SEGMENT_CODES:()=>Wd,DirhamIconImage:()=>de,ENV:()=>sd,FOOTER_HEIGHT:()=>Xi,FrictionlessIcon:()=>Ve,HEADER_HEIGHT:()=>Ji,HSBCBankIcon:()=>Es,MPGSProviderIcon:()=>ma,NETCETERAProviderIcon:()=>fa,PAYMENT_INITIATED_CUSTOMER_KEY:()=>V,PAYMENT_INITIATED_MERCHANT_KEY:()=>z,PAYMENT_INITIATED_OPTIONS:()=>Md,PAYMENT_INSTITUTION_SEGMENT_CODES:()=>kd,PAYMENT_ISSUER_SEGMENT_CODES:()=>Fd,PAYMENT_TECHNOLOGY_SEGMENT_CODES:()=>Gd,PAYMENT_TYPES:()=>Bd,PAYMENT_TYPES_ICONS:()=>p,PLATFORM_SEGMENT_CODES:()=>Ud,RATES:()=>Yd,REPORTS_APPS:()=>zd,REPORT_FILTER_TYPES:()=>s,RadioButtonCheckedIcon:()=>Co,RadioButtonUncheckedIcon:()=>yo,SARIconImage:()=>ie,SEGMENT_FILTER_KEY:()=>a,SEGMENT_TYPE_FILTERS_MAP:()=>Dd,SERVICE_COMMON_FUNCTIONS:()=>n,SHEET_VIEW_TABLE_LIST_OVER_SCAN:()=>Dl,SHEET_VIEW_TABLE_ROW_HEIGHT:()=>kl,SHEET_VIEW_TABLE_THRESHOLD:()=>Ul,SUPPORTED_CURRENCY_CODES:()=>Ld,SUPPORTED_CURRENCY_DETAILS:()=>Rd,SandboxDefault:()=>vn,SandboxHovered:()=>gn,SandboxHoveredLightIcon:()=>Fn,TABLE_CONTENT_ROW_HEIGHT:()=>Pl,TABLE_LIST_OVER_SCAN:()=>Ml,TABLE_LOADING_ROW_HEIGHT:()=>Nl,TABLE_ROW_HEIGHT:()=>Ol,TABLE_THRESHOLD:()=>Bl,TAP3DSPROVIDERIcon:()=>Ea,TEST_SECRET_KEY:()=>cd,TIMEZONES:()=>Y,UNCHECKED_ICON:()=>jd,abandonedIcon:()=>le,abandonedNoBGIcon:()=>Ba,abandonedTableIcon:()=>Dc,abandonedYellowIcon:()=>ue,acceptanceAppDisabledIcon:()=>an,acceptanceAppIcon:()=>x,acceptanceBlueIcon:()=>sn,acceptanceDisabledRoundedIcon:()=>ln,acceptanceEnabledIcon:()=>nn,acceptanceWindowIcon:()=>_,acceptedFlag:()=>zt,accountAppIcon:()=>f,accountWindowIcon:()=>O,acquirerIcon:()=>to,acquirerOrangeIcon:()=>co,acquirerRedIcon:()=>no,actionFailIcon:()=>qo,actionSuccessIcon:()=>Qo,actionsIcon:()=>Lp,activeActionIcon:()=>or,activeGreenIcon:()=>Ci,activeLeadStatusIcon:()=>nc,addIconWhite:()=>Mx,addItem:()=>Np,addItemIcon:()=>dr,addidasIcon:()=>So,agreementInstallmentIcon:()=>mp,agreementOrderIcon:()=>hp,agreementSavedCardIcon:()=>fp,agreementSubscriptionIcon:()=>Ep,allAuthenticationStatuses:()=>qd,androidAppIcon:()=>lx,androidIcon:()=>$c,appBaseUrl:()=>t,appPlatformSubSegmentIcon:()=>Hi,applePayIcon:()=>ke,appsGridIcon:()=>Ip,arcIcon:()=>Oc,archievedOutlined:()=>Jx,archivedVerifyIcon:()=>Er,attachIcon:()=>Pp,attachIcon2:()=>xr,attentionIcon:()=>rs,authenticatedIcon:()=>Xc,authenticatedSuccessIcon:()=>ga,authenticationAppIcon:()=>i,authenticationAppTypeIcon:()=>Ya,authenticationAttemptedIcon:()=>sa,authenticationBiometricIcon:()=>Va,authenticationDeclinedIcon:()=>aa,authenticationDeviceIcon:()=>za,authenticationExemptedWithTransactionIcon:()=>ra,authenticationExemptedWithoutTransactionIcon:()=>pa,authenticationFailedIcon:()=>xa,authenticationFailedTableIcon:()=>Jc,authenticationGatewaySubSegmentIcon:()=>Ki,authenticationInitiatedIcon:()=>ia,authenticationIssuerIcon:()=>Ka,authenticationNoAuthIcon:()=>ca,authenticationPendingIcon:()=>va,authenticationSchemeIcon:()=>Za,authenticationUnavailableIcon:()=>da,authenticationUndeterminedIcon:()=>la,authenticationWalletIcon:()=>Ha,authenticationWindowIcon:()=>M,authenticationWithTransactionIcon:()=>Ia,authenticationWithoutTransactionIcon:()=>ua,authenticationsTableCellWidth:()=>xd,authorizationServiceIcon:()=>Gx,authorizationTableCellWidth:()=>id,authorizedIcon:()=>xx,autoCapturedIcon:()=>Wr,autoVoidIcon:()=>Hr,babyBlueCheckIcon:()=>bx,backButtonLeftIcon:()=>Ts,bahrainIcon:()=>Oe,bankIcon:()=>Ho,bankNoteIcon:()=>Rx,billingAppIcon:()=>r,billingPlatformSubSegmentIcon:()=>zi,billingWindowIcon:()=>w,biometricIcon:()=>Cr,blackBrushIcon:()=>Nx,blackHeadingDownArrow:()=>yn,blackLinkIcon:()=>ci,blackMobileBatteryIcon:()=>Ii,blackMobileSignalIcon:()=>gi,blackRightArrowIcon:()=>xo,blackSettingsIcon:()=>ai,blackSettingsVariant2Icon:()=>wi,blackUnLinkIcon:()=>fi,blackWallet:()=>pi,blueAppsIcon:()=>ic,blueArrowUpIcon:()=>lp,blueCheckIcon:()=>En,blueCircleCheckIcon:()=>lr,blueCircleLoaderIcon:()=>up,blueCircleWithWhiteCheckIcon:()=>qi,blueCopyIcon:()=>si,blueDropdownArrowIcon:()=>bn,blueGradientBrushIcon:()=>ri,blueHeadingDropdownArrow:()=>_n,blueNoteIcon:()=>rr,bluePlusIcon:()=>bi,blueVerifyIcon:()=>Ir,blueZigzagCheckIcon:()=>bo,brandPlaceholderIcon:()=>Ap,brandServiceIcon:()=>kx,braveIcon:()=>Pc,businessSegmentIcon:()=>Rn,businessesAppIcon:()=>m,businessesWindowIcon:()=>B,buyNowPayLaterIcon:()=>He,calenderIcon:()=>Fr,cancelledIcon:()=>Yr,cancelledInvoiceIcon:()=>gt,cancelledNoBgIcon:()=>Ot,cancelledStatusIcon:()=>Zs,cancelledTableIcon:()=>Uc,capturedAuthorizeIcon:()=>ao,capturedDropdownIcon:()=>Xe,capturedIcon:()=>Vr,capturedTableIcon:()=>kc,cardIcon:()=>Me,cardViewButtonIcon:()=>ip,cashIcon:()=>Ge,chargeBackIcon:()=>Je,chargeBackRequestedIcon:()=>Qe,chargeBackRequestedTableIcon:()=>Fc,chargeBackTableIcon:()=>Gc,chargeBackWhiteIcon:()=>mi,chargeTableCellWidth:()=>dd,chargebacksServiceIcon:()=>Fx,chargesServiceIcon:()=>Wx,chatDisabledIcon:()=>vc,checkIcon:()=>ho,checkMarkIcon:()=>Jo,checkboxIcon:()=>Eo,checkoutStatusBlueIcon:()=>_a,checkoutStatusIcon:()=>ya,checkoutWithMarkStatusIcon:()=>ba,chevronDownIcon:()=>Ie,chevronGrayIcon:()=>ss,chevronWhiteIcon:()=>ns,chromeIcon:()=>wc,chromiumIcon:()=>Bc,clearCoinIcon:()=>Fo,clearIcon:()=>Kt,clipboardIcon:()=>Tp,clockIcon:()=>Ns,closeCircle:()=>eo,closeIcon:()=>Lt,closeOutlinedCircle:()=>Xx,closeXIcon:()=>mo,closedDisputeIcon:()=>xt,closedFlagIcon:()=>uo,closedLeadStatusIcon:()=>cc,closedOutlinedYellowCircle:()=>$i,closedVerifyIcon:()=>fr,codeIcon:()=>pt,collapseArrowIcon:()=>Tn,collapseArrows:()=>Op,collapseArrowsIcon:()=>us,columnIcon:()=>mt,columnResizeIndicatorIcon:()=>Ur,commercePlatformSubSegmentIcon:()=>Vi,commercialRegulatorSubSegmentIcon:()=>Wi,completedAcceptanceIcon:()=>is,completedBlackIcon:()=>ea,completedIcon:()=>qe,completedLeadStatusIcon:()=>sc,completedPayoutsIcon:()=>ls,completedTableIcon:()=>Wc,copyIcon:()=>at,createChargeIcon:()=>_r,createdStatusIcon:()=>Ks,csvIcon:()=>Bs,customerIcon:()=>Bp,customerIcon2:()=>ar,customersAppIcon:()=>h,customersWindowIcon:()=>R,cyberSourceProviderIcon:()=>ha,darkBlueVerifyIcon:()=>gr,darkCheckIcon:()=>$n,darkFilterIcon:()=>Dr,darkGreyTimezoneIcon:()=>_c,darkLeftArrowIcon:()=>Vo,darkRightArrowIcon:()=>zo,dashedCheckIcon:()=>Nt,dashedOutlinedCircle:()=>jx,deMaximizeIcon:()=>Ft,deactivatedCircle:()=>ei,deactivatedIcon:()=>Ut,deactivatedOrangeCircle:()=>Ti,declinedIcon:()=>zr,declinedNoBgTableIcon:()=>qc,declinedTableIcon:()=>Hc,deemaWithLabel:()=>hi,defaultCountryIcon:()=>Tr,defaultDeviceIcon:()=>Sr,deletedStatusIcon:()=>Vs,deliveredStatusIcon:()=>Js,desktopIcon:()=>dt,destinationReversedTableIcon:()=>Yc,destinationSolidIcon:()=>ve,destinationSuccessTableIcon:()=>Qc,destinationWithoutBackgroundIcon:()=>Vc,destinationsIcon:()=>Kr,destinationsServiceIcon:()=>Hx,destinationsTableCellWidth:()=>ld,developmentSegmentIcon:()=>Pn,deviceIcon:()=>De,digitalReceiptIcon:()=>wx,dimmedZigzagCheckIcon:()=>Ro,disabledCardIcon:()=>dc,disabledCheckIcon:()=>An,disabledCodeIcon:()=>lc,discountIcon:()=>Mp,disputeIcon:()=>$e,disputeResolvedIcon:()=>je,disputeResolvedTableIcon:()=>zc,dollarSignIcon:()=>Hs,doneIcon:()=>ks,dottedLine:()=>Fs,downArrowIcon:()=>vo,downArrowIcon3:()=>cr,draftStatusIcon:()=>zs,dragIcon:()=>fo,dueDateBlackIcon:()=>Xn,dueDateBlueIcon:()=>Zn,dueDateGrayIcon:()=>jn,dueDateOrangeIcon:()=>qn,dueDateRedIcon:()=>Jn,dueDateYellowIcon:()=>Qn,edgeIcon:()=>Lc,editIcon:()=>Sa,egyptFlagIcon:()=>_e,ellipsisHorizontalIcon:()=>tt,emailBlackIcon:()=>Up,emailChannelIcon:()=>Wn,emailIcon:()=>Dp,emptyIcon:()=>Ga,emptyMobileWifiIcon:()=>vi,emptyStatusChipColors:()=>Hd,entityServiceIcon:()=>Yx,entityTimezoneIcon:()=>Lr,europeFlagIcon:()=>Pe,exclamationDarkIcon:()=>hc,exclamationErrorIcon:()=>fc,exclamationGreyIcon:()=>St,exclamationOutlinedCircle:()=>ti,exclamationOutlinedOrangeCircle:()=>Si,exclamationWarningIcon:()=>mc,exclamationWhiteIcon:()=>Ri,excludedApps:()=>td,expandArrows:()=>Gp,expandArrowsIcon:()=>Is,expiredIcon:()=>ts,expiredInvoiceIcon:()=>vt,expiredLeadStatusIcon:()=>ac,expiredNoBgIcon:()=>Bt,expiredStatusIcon:()=>qs,expressCheckoutIcon:()=>Ue,externalLinkIcon:()=>Qi,eyeHideIcon:()=>Ss,eyeShowIcon:()=>Cs,failedIcon:()=>Zr,failedNoBgTableIcon:()=>Zc,failedTableIcon:()=>Kc,failedWhiteBgIcon:()=>Tt,feeIcon:()=>Fp,fileDownloadBlueIcon:()=>Or,fileDownloadGreyIcon:()=>Br,financialSegmentIcon:()=>Nn,firefoxIcon:()=>Rc,flagIcon:()=>Ae,functionBaseUrl:()=>X,gadientLink:()=>xi,gatewayIcon:()=>so,gatewayOrangeIcon:()=>qr,gatewayRedIcon:()=>Qr,genericIcon:()=>Vn,genericIconNew:()=>oo,getAuthorityIcon:()=>ae,getBrowserIcon:()=>pe,getCountriesIcon:()=>oe,getCurrenciesIcon:()=>ce,getLightUrlIcon:()=>j,getPaymentGatewaysIcon:()=>xe,getPaymentInitiatorIcon:()=>re,getPaymentIssuersIcon:()=>te,getPaymentMethodsIcon:()=>ee,getServiceFunctionIcon:()=>ne,getStatusIcon:()=>se,gradientSettings:()=>ii,gradientWallet:()=>di,grayBrandIcon:()=>Mn,grayCircleIcon:()=>Dn,grayCloseIcon:()=>vp,grayFlagIcon:()=>go,grayProductLabel:()=>nr,grayUpArrowIcon:()=>Cn,grayVerifyIcon:()=>vr,greenArrowLeftIcon:()=>vs,greenArrowRightIcon:()=>gs,greenArrowUpIcon:()=>hs,greenCheck2ACE00:()=>ni,greenCheckIcon:()=>rt,greenCheckV2Icon:()=>Ec,greenVerifyIcon:()=>hr,greenZigzagCheckIcon:()=>wo,greyAppleIcon:()=>Sc,greyCheckIcon:()=>mn,greyCrossIcon:()=>fn,greyDesktopIcon:()=>yc,greyDownArrowIcon:()=>Ux,greyDropdownIcon:()=>wn,greyLocationIcon:()=>Cc,greyMinusIcon:()=>$a,greyPlusIcon:()=>Aa,greyTimezoneIcon:()=>Se,greyUpArrowIcon:()=>Dx,hideIcon:()=>Jt,hijriIcon:()=>Yo,homeIcon:()=>kr,iOSAppIcon:()=>ux,ibanIcon:()=>Ht,idIcon:()=>ct,inActiveGreyIcon:()=>yi,initialAcceptanceIcon:()=>xs,initialPayoutsIcon:()=>ds,initiatedIcon:()=>ix,inprogressIcon:()=>_s,intentCancelledStatusIcon:()=>La,intentExpiredStatusIcon:()=>wa,intentInitiatedStatusIcon:()=>Ra,intentTransactedStatusIcon:()=>Na,intentsServiceIcon:()=>Qx,intentsTableCellWidth:()=>ud,invoiceIcon:()=>It,invoiceIdIcon:()=>nt,invoiceNumberIcon:()=>ht,invoiceServiceIcon:()=>Vx,invoicesTableCellWidth:()=>Id,iosIcon:()=>Ac,jordanFlagIcon:()=>we,jsonBlackIcon:()=>kn,jsonIcon:()=>Un,kuwaitFlagIcon:()=>Le,lateFeeIcon2:()=>ir,layersIcon:()=>uc,leadAppIcon:()=>A,leadTitleIcon:()=>$,leadWhiteIcon:()=>gc,leadsTableCellWidth:()=>gd,lebanonFlagIcon:()=>Re,lightPlatformSegmentIcon:()=>Bn,lightUrl:()=>e,linkTiltedIcon:()=>kp,listShadowBg:()=>$r,listViewButtonIcon:()=>dp,loaderWhiteIcon:()=>Fa,lockIcon:()=>Gr,logOutIcon:()=>Xo,longWordsIcon:()=>Pa,macIcon:()=>_o,manyCurrencyCoin:()=>li,manyCurrencyCoinGradient:()=>ui,marketPlaceBlackIcon:()=>No,marketPlaceBlueIcon:()=>Lo,marketPlaceDimmedIcon:()=>Po,maximizeIcon:()=>wt,merchantInitiatedIcon:()=>po,merchantServiceProviderSubSegmentIcon:()=>Bi,merchantsTableCellWidth:()=>yd,messageIcon:()=>Uo,metaIcon:()=>Mr,minimizeIcon:()=>Rt,minusIcon:()=>Wp,mobileIcon:()=>lt,moneyInDimmedIcon:()=>Do,moneyInIcon:()=>Mo,moneyOutDimmedIcon:()=>Bo,moneyOutIcon:()=>Oo,mutedOutlinedCheckIcon:()=>Px,navigationIcon:()=>_x,navigationPointerBlack:()=>Bx,newFileIcon:()=>rc,newInvoiceIcon:()=>tr,newReceiptIcon:()=>on,newWindowIcon:()=>qt,noAgreementIcon:()=>Sp,noPreviewIcon:()=>Ta,notVerifiedIcon:()=>cs,noteIcon:()=>Hp,noteIcon2:()=>pr,openBankingIcon:()=>Ye,openDisputeIcon:()=>it,openFlagIcon:()=>lo,operaIcon:()=>Nc,orangeFlagIcon:()=>io,orderAppIcon:()=>T,orderIcon:()=>Hn,orderWindowIcon:()=>S,ordersTableCellWidth:()=>vd,outlinedCircle:()=>oi,outlinedPlatformIcon:()=>Ox,outstandingIcon:()=>Pt,paidNoBgIcon:()=>Mt,paidOutFilterIcon:()=>ta,paidOutIcon:()=>Jr,paidOutTableIcon:()=>Ma,paidStatusIcon:()=>Qs,passThruWalletIcon:()=>Fe,passwordDotsIcon:()=>Ws,payStreamIcon:()=>Go,paymentAcquirerSubSegmentIcon:()=>ki,paymentFacilitatorSubSegmentIcon:()=>Fi,paymentGatewayProviderSubSegmentIcon:()=>Ni,paymentIssuerSubSegmentIcon:()=>Ui,paymentMethodSubSegmentIcon:()=>Gi,paymentProcessorSubSegmentIcon:()=>Mi,paymentSchemeSubSegmentIcon:()=>Di,paymentTechnologySubSegmentIcon:()=>Li,paymentTechnologyV2SubSegmentIcon:()=>Pi,paymentTerminalProviderSubSegmentIcon:()=>Oi,payoutAppDisabledIcon:()=>pn,payoutDisabledRoundedIcon:()=>dn,payoutEnabledIcon:()=>rn,payoutGreenIcon:()=>xn,payoutIcon:()=>Yt,payoutServiceIcon:()=>zx,payoutWindowIcon:()=>L,payoutsAppIcon:()=>l,payoutsGreenIcon:()=>cn,payoutsTableCellWidth:()=>hd,pdfGrayIcon:()=>Yp,pdfIcon:()=>Ms,penIcon:()=>Ar,pendingFlag:()=>Wt,pendingIcon:()=>ko,pendingOnTapIcon:()=>Ic,pendingPayoutIcon:()=>Ua,pendingStatusIcon:()=>tc,percentage0Icon:()=>Ct,percentage100Icon:()=>bt,percentage50Icon:()=>yt,percentage75Icon:()=>_t,physicalLocationIcon:()=>Ix,pinIcon:()=>qa,platformSegmentIcon:()=>On,plusQty:()=>sr,preferencesIcon:()=>jo,previewModeIcon:()=>ja,productLabel:()=>Vp,protectAppIcon:()=>v,protectAuthorizationsTableCellWidth:()=>md,protectChargesTableCellWidth:()=>fd,protectIcon:()=>$o,protectWindowIcon:()=>N,providerSegmentIcon:()=>Ln,quantityIcon:()=>zp,quitIcon:()=>Xt,readyLeadStatusIcon:()=>pc,receiptBillIcon:()=>tn,receiptIcon:()=>wr,redArrowDownIcon:()=>Ze,redCloseIcon:()=>Ps,redFlagIcon:()=>Io,redVerifyIcon:()=>mr,refundInitiatedIcon:()=>jr,refundSettledIcon:()=>ex,refundTableCellWidth:()=>Ed,refundedIcon:()=>Xr,refundedNotSettledIcon:()=>tx,refundedStatusIcon:()=>oc,refundsServiceIcon:()=>Kx,refunededNoBgIcon:()=>Dt,releasedFlag:()=>Vt,reloadIcon:()=>Ys,remindedRedIcon:()=>os,removeAllItem:()=>Kp,removeItem:()=>Zp,reportAppIcon:()=>E,reportAppsIcon:()=>Gs,reportFilterTypesMap:()=>Vd,reportIcon:()=>Ds,reportsIcon:()=>Ee,reportsIconOutlined:()=>Us,reportsWindowIcon:()=>D,restrictedIcon:()=>ox,retailPlatformSubSegmentIcon:()=>Yi,retailerSubSegmentIcon:()=>Zi,reverseActionIcon:()=>Wa,reversePayoutIcon:()=>et,reversePayoutTableIcon:()=>Da,reversedIcon:()=>ge,rightArrow:()=>ro,rightLightArrowIcon:()=>mx,rowIdIcon:()=>st,safariIcon:()=>bc,sandboxDefaultIcon:()=>Rs,sandboxHoveredIcon:()=>ws,sandboxOrangeIcon:()=>Ls,saudiArabiaFlagIcon:()=>be,saveTokenIcon:()=>oa,savedCardIcon:()=>ye,savedStatusIcon:()=>js,savedTimezoneIcon:()=>Nr,scheduledFilterIcon:()=>jc,scheduledStatusIcon:()=>ec,searchBlueIcon:()=>hx,searchIcon:()=>he,segmentDevelopmentHouseIcon:()=>Ax,segmentInstitutionIcon:()=>fx,segmentTechnologyIcon:()=>Ex,servicesTags:()=>pd,settledIcon:()=>nx,settlementInitiatedIcon:()=>sx,sheetViewIcon:()=>Oa,shopifyBadgeIcon:()=>As,slaProcessAppIcon:()=>C,slaProcessWindowIcon:()=>y,smallBlueCheckIcon:()=>Pr,smallLeftArrowIcon:()=>vx,smsChannelIcon:()=>zn,smsIcon:()=>qp,socialLinksIcon:()=>gx,sortAscArrowIcon:()=>Ai,sortAzIcon:()=>ft,sortDescArrowIcon:()=>Ei,sortIcon:()=>Gn,sortZaIcon:()=>Et,spinnerLoadingAnimatedIcon:()=>Zo,spinnerLoadingIcon:()=>Ko,starIcon:()=>jt,storedValueWalletIcon:()=>We,subscriptionIcon:()=>Ce,successCheckIcon:()=>br,successWhiteBgIcon:()=>$t,switcherIcon:()=>Ja,tableBackgroundLoader:()=>pp,tableBlueArrowUpIcon:()=>rp,tableBlueCheckMarkShadowedIcon:()=>xp,tableLoadingSpinnerIcon:()=>cp,tableLoadingSpinnerWhiteIcon:()=>ap,tabletIcon:()=>ut,taxIcon:()=>Qp,teamWindowIcon:()=>xc,terminalAppIcon:()=>U,terminalBrushIcon:()=>Cx,terminalBrushMuted:()=>yx,terminalCardPhone:()=>$x,terminalDeviceFrame:()=>Lx,terminalLinkVideo:()=>_i,terminalTypeIcon:()=>Sx,terminalWindowIcon:()=>k,terminalsTableCellWidth:()=>_d,threeDSIcon:()=>yr,threeDsIcon:()=>ot,timedOutIcon:()=>cx,timerBlueIcon:()=>es,timezoneIcon:()=>Te,toastPOSIcon:()=>Tx,tokenAppIcon:()=>g,tokenCardIcon:()=>sp,tokenExpiredStatusIcon:()=>op,tokenPendingStatusIcon:()=>np,tokenSavedStatusIcon:()=>ep,tokenTransactedStatusIcon:()=>tp,tokensReportsIcon:()=>Cp,tokensTableCellWidth:()=>Ad,tokensWindowIcon:()=>P,topUpIcon:()=>kt,topupsTableCellWidth:()=>$d,totalAmountIcon:()=>Jp,transactionIcon:()=>Yn,transformIcon:()=>en,trashBinIcon:()=>ur,unAuthenticatedStatuses:()=>K,unAuthorizedIcon:()=>me,unAvailableIcon:()=>ax,unCapturedIcon:()=>Zt,unCapturedStatuses:()=>ad,unCheckedIcon:()=>un,unauthenticatedIcon:()=>na,unfocusRemoveItem:()=>Xp,unisoIcon:()=>To,unitedArabEmiratesFlagIcon:()=>Ne,unitedStatesFlagIcon:()=>Be,unknownIcon:()=>px,unpinIcon:()=>Qa,uploadBlueIcon:()=>bs,uploadIcon:()=>ys,userIcon:()=>Mc,userTimezoneIcon:()=>Rr,usersIcon:()=>$p,usersServiceIcon:()=>Zx,verifiedGreenBadgeIcon:()=>$s,verifiedIcon:()=>as,verifyReviewIcon:()=>ps,verticalLineIcon:()=>Xa,videosUrl:()=>W,viewAllIcon:()=>Qt,viewIcon:()=>fe,viewInvoiceIcon:()=>Ca,viewedStatusIcon:()=>Xs,visaIcon:()=>Ke,voidedIcon:()=>rx,walletAppIcon:()=>d,walletDetailsTableCellWidth:()=>Sd,walletIcon:()=>Wo,walletServiceIcon:()=>qx,walletStatementTableCellWidth:()=>Cd,walletTableCellWidth:()=>Td,walletWindowIcon:()=>b,warningInfoIcon:()=>hn,websiteBlueIcon:()=>dx,websiteIcon:()=>Tc,whatsappChannelIcon:()=>Kn,whatsappIcon:()=>jp,whiteArrow2:()=>er,whiteArrowLeftIcon:()=>fs,whiteArrowRightIcon:()=>ms,whiteCloseIcon:()=>ka,whiteFilterIcon:()=>gp,whitePlusIcon:()=>Ao,wifiOffIcon:()=>In,windowBankIcon:()=>bp,windowBrandIcon:()=>yp,windowEntityIcon:()=>_p,windowIndividualIcon:()=>wp,windowPasswordIcon:()=>Rp,worldIcon:()=>Sn,xlsIcon:()=>Os,zipFileIcon:()=>At});var u="https://cdn.tap.company/tap-assets",e=`${u}/icons/dashboard/light`,t=`${e}/other`,X=`${e}/function`,W=`${u}/videos`,j=c=>`${e}/${c}.svg`,ee=c=>`${e}/payment-method/v2/${c}.svg`,te=c=>`${e}/payment-issuer/${c}.svg`,oe=c=>`${e}/country/v3/${c}.svg`,ne=c=>`${e}/function/${c}.svg`,se=c=>`${e}/statusIcons/${c}.svg`,ce=c=>`${u}/currency/v3/light/${c}.svg`,ae=c=>{let Q=c.replace(/\s/g,"");return `${u}/icons/dashboard/light/authority/v2/${Q}.svg`},pe=c=>`${e}/browsers/${c}.svg`,re=c=>`${e}/payment-initiator/${c}.svg`,xe=c=>`${e}/payment-gateways/${c}.svg`,ie=`${e}/currency/sar.svg`,de=`${e}/currency/dirham.svg`,le=`${e}/abandoned.svg`,ue=`${e}/abandonedYellow.svg`,Ie=`${e}/chevron-down.svg`,ge=`${e}/reversed.svg`,ve=`${e}/destinationSolid.svg`,he=`${e}/search.svg`,me=`${e}/unauthorized.svg`,fe=`${e}/view.svg`,Ee=`${e}/reports.svg`,Ae=`${e}/flag.svg`,$e=`${e}/dispute.svg`,Te=`${e}/timezone.svg`,Se=`${e}/greyTimezone.svg`,Ce=`${e}/subscription.svg`,ye=`${e}/savedCard.svg`,_e=`${e}/egypt.svg`,be=`${e}/saudiArabia.svg`,we=`${e}/jordan.svg`,Re=`${e}/lebanon.svg`,Le=`${e}/kuwait.svg`,Ne=`${e}/unitedArabEmirates.svg`,Pe=`${e}/europe.svg`,Oe=`${e}/bahrain.svg`,Be=`${e}/america.svg`,Me=`${e}/payment-method/v2/card.svg`,De=`${e}/device.svg`,Ue=`${e}/expressCheckout.svg`,ke=`${e}/applePay.svg`,Ge=`${e}/cash.svg`,Fe=`${e}/passThruWallet.svg`,We=`${e}/storedValueWallet.svg`,He=`${e}/buyNowPayLater.svg`,Ye=`${e}/openBanking.svg`,Ve=`${e}/FrictionlessIcon.svg`,ze=`${e}/ChallengeIcon.svg`,Ke=`${e}/visa.svg`,Ze=`${e}/redArrowDownIcon.svg`,qe=`${e}/completed.svg`,Qe=`${e}/chargebackRequested.svg`,Je=`${e}/chargeback.svg`,Xe=`${t}/captureDropdown.svg`,je=`${e}/disputeResolved.svg`,et=`${e}/reversePayout.svg`,tt=`${e}/ellipsisHorizontal.svg`,ot=`${e}/3ds.svg`,nt=`${e}/invoiceIdIcon3.svg`,st=`${e}/idIcon3.svg`,ct=`${e}/id.svg`,at=`${t}/copyIcon.svg`,pt=`${t}/codeIcon.svg`,rt=`${t}/GreenCheckMark2.svg`,xt=`${e}/closedDispute.svg`,it=`${e}/openDispute.svg`,dt=`${e}/desktop.svg`,lt=`${e}/mobile.svg`,ut=`${e}/tablet.svg`,It=`${e}/invoice.svg`,gt=`${e}/cancelledInvoiceIcon.svg`,vt=`${e}/expiredInvoiceIcon.svg`,ht=`${e}/invoiceNumberIcon.svg`,mt=`${e}/column.svg`,ft=`${e}/sortAz.svg`,Et=`${e}/sortZa.svg`,At=`${e}/zipFile.svg`,$t=`${e}/successWhiteBg.svg`,Tt=`${e}/failedWhiteBgIcon.svg`,St=`${e}/exclamationGreyIcon.svg`,Ct=`${e}/percentage0.svg`,yt=`${e}/percentage50.svg`,_t=`${e}/percentage75.svg`,bt=`${e}/percentage100.svg`,wt=`${e}/maximize.svg`,Rt=`${e}/minimize.svg`,Lt=`${e}/close.svg`,Nt=`${e}/dashedCheckIcon.svg`,Pt=`${e}/outstandingIcon.svg`,Ot=`${e}/cancelledStatusIcon.svg`,Bt=`${e}/expiredStatusIcon.svg`,Mt=`${e}/paidStatusIcon.svg`,Dt=`${e}/refundedStatusIcon.svg`,Ut=`${e}/deactivatedIcon.svg`,kt=`${e}/topup.svg`,Gt=`${e}/AIOverviewIcon.svg`,Ft=`${t}/demaximize.svg`,Wt=`${e}/pendingFlag.svg`,Ht=`${e}/ibanIcon.svg`,Yt=`${e}/payoutIcon.svg`,Vt=`${e}/releasedFlag.svg`,zt=`${e}/acceptedFlag.svg`,Kt=`${e}/clearIcon.svg`,Zt=`${e}/status/unCaptured.svg`,qt=`${t}/newWindow.svg`,Qt=`${t}/viewAll.svg`,Jt=`${t}/hide.svg`,Xt=`${t}/close.svg`,jt=`${t}/star.svg`,eo=`${t}/closeCircle.svg`,to=`${t}/acquirer.svg`,oo=`${e}/GenericIconNew.svg`,no=`${t}/acquirerRed.svg`,so=`${t}/gateway.svg`,co=`${t}/acquirerOrange.svg`,ao=`${e}/status/capturedAuthorize.svg`,po=`${t}/merchantInitiated.svg`,ro=`${t}/rightArow.svg`,xo=`${e}/blackRightArrow.svg`,io=`${t}/orangeFlag.svg`,lo=`${t}/openFlag.svg`,uo=`${t}/closedFlag.svg`,Io=`${t}/redFlag.svg`,go=`${t}/grayFlag.svg`,vo=`${t}/downArrow.svg`,ho=`${t}/check.svg`,mo=`${t}/closeX.svg`,fo=`${t}/drag.svg`,Eo=`${t}/checkboxIcon.svg`,Ao=`${e}/plusWhite.svg`,$o=`${t}/checkboxIcon.svg`,To=`${e}/Uniso.svg`,So=`${e}/addidas.svg`,Co=`${e}/radioButtonChecked.svg`,yo=`${e}/radioButtonUnchecked.svg`,_o=`${e}/Mac.svg`,bo=`${e}/blueCheckIconZigzag.svg`,wo=`${e}/greenCheckIconZigzag.svg`,Ro=`${e}/dimmedCheckIconZigzag.svg`,Lo=`${e}/marketPlaceBlue.svg`,No=`${e}/marketplaceBlackIcon.svg`,Po=`${e}/marketPlaceDimmed.svg`,Oo=`${e}/moneyOut.svg`,Bo=`${e}/moneyOutDimmed.svg`,Mo=`${e}/moneyIn.svg`,Do=`${e}/moneyInDimmed.svg`,Uo=`${e}/message.svg`,ko=`${e}/pending.svg`,Go=`${e}/payStream.svg`,Fo=`${e}/clearCoin.svg`,Wo=`${t}/walletSmall.svg`,Ho=`${t}/bank.svg`,Yo=`${t}/hijri.svg`,Vo=`${t}/darkLeftArrow.svg`,zo=`${t}/darkRightArrow.svg`,Ko=`${t}/spinnerLoading.svg`,Zo=`${t}/spinnerLoadingAnimated.svg`,qo=`${t}/actionFail.svg`,Qo=`${t}/actionSuccess.svg`,Jo=`${t}/checkMark.svg`,Xo=`${t}/logout.svg`,jo=`${t}/preferences.svg`,en=`${t}/transform.svg`,g=`${t}/token.svg`,r=`${t}/billing.svg`,tn=`${t}/receiptBill.svg`,on=`${e}/newReceiptIcon.svg`,x=`${t}/acceptance.svg`,nn=`${e}/acceptanceEnabled.svg`,sn=`${e}/acceptanceBlue.svg`,cn=`${e}/payoutsGreen.svg`,an=`${t}/acceptanceAppIconDisabled.svg`,pn=`${t}/payoutsAppIconDisabled.svg`,rn=`${e}/payoutEnabled.svg`,xn=`${e}/payoutAppGreenIcon.svg`,dn=`${e}/payoutDisabledRounded.svg`,ln=`${e}/acceptanceDisabledRounded.svg`,i=`${t}/AuthenticationApp.svg`,d=`${t}/walletApp.svg`,l=`${t}/payouts.svg`,v=`${t}/protect.svg`,h=`${t}/customers.svg`,m=`${t}/business.svg`,f=`${t}/account.svg`,un=`${t}/disableCheck.svg`,In=`${t}/wifiOff.svg`,gn=`${t}/SandboxHovered.svg`,vn=`${t}/Sandbox.svg`,hn=`${t}/ExclamationError.svg`,mn=`${t}/greyCheck.svg`,fn=`${t}/greyCross.svg`,En=`${t}/blueCheck.svg`,An=`${t}/disabledCheck.svg`,$n=`${t}/darkCheck.svg`,Tn=`${t}/collapseArrow.svg`,Sn=`${t}/world.svg`,Cn=`${t}/grayUpArrow.svg`,yn=`${t}/blackHeadingDownArrowIcon.svg`,_n=`${t}/blueHeadingDropdownArrow.svg`,bn=`${t}/dropdownArrow.svg`,wn=`${t}/greyDropdownIcon.svg`,Rn=`${t}/business2.svg`,Ln=`${t}/provider.svg`,Nn=`${t}/financial.svg`,Pn=`${t}/development.svg`,On=`${t}/platform.svg`,Bn=`${t}/light_platform.svg`,Mn=`${t}/brandGray.svg`,Dn=`${e}/grayCircleIcon.svg`,Un=`${t}/json.svg`,kn=`${t}/jsonBlackIcon.svg`,Gn=`${t}/sort1.svg`,Fn=`${t}/SandboxHoveredLight.svg`,Wn=`${t}/emailColoured.svg`,Hn=`${e}/OrderIcon.svg`,Yn=`${e}/TransactionIcon.svg`,Vn=`${e}/GenericIcon.svg`,zn=`${t}/smsColoured.svg`,Kn=`${t}/whatsAppColored.svg`,Zn=`${t}/dueDateBlue.svg`,qn=`${t}/dueDateOrange.svg`,Qn=`${t}/dueDateYellow.svg`,Jn=`${t}/dueDateRed.svg`,Xn=`${t}/dueDateBlack.svg`,jn=`${t}/dueDateGray.svg`,es=`${t}/timerBlue.svg`,ts=`${t}/expiredIcon.svg`,os=`${t}/remindedRed.svg`,ns=`${t}/chevronWhite.svg`,ss=`${t}/chevronGray.svg`,cs=`${t}/notVerified.svg`,as=`${t}/verified.svg`,ps=`${t}/verifyReview.svg`,rs=`${e}/window/attention.svg`,xs=`${e}/window/initalAcceptance.svg`,is=`${e}/window/completedAcceptance.svg`,ds=`${e}/window/initalPayouts.svg`,ls=`${e}/window/completedPayouts.svg`,us=`${t}/collapseArrowsIcon.svg`,Is=`${t}/expandArrowsIcon.svg`,gs=`${t}/greenArrowRight.svg`,vs=`${t}/greenArrowLeft1.svg`,hs=`${t}/greenIconWithArrowUp.svg`,ms=`${t}/whiteArrowRight.svg`,fs=`${t}/whiteArrowLeft.svg`,Es=`${e}/HSBCBank.svg`,As=`${e}/shopifyIcon.svg`,$s=`${e}/verifiedGreenBadge.svg`,Ts=`${e}/backButtonLeft.svg`,Ss=`${e}/eyeHideIcon.svg`,Cs=`${e}/eyeShowIcon.svg`,ys=`${t}/uploadIcon.svg`,_s=`${e}/inprogressIcon.svg`,bs=`${t}/uploadBlueIcon.svg`,ws=`${t}/SandboxHovered.svg`,Rs=`${t}/sandboxDefaultIcon.svg`,Ls=`${t}/SandboxIcon.svg`,Ns=`${t}/clock.svg`,Ps=`${t}/RedClose.svg`,Os=`${t}/xls.svg`,Bs=`${t}/csv.svg`,Ms=`${t}/pdf.svg`,Ds=`${t}/Download.svg`,Us=`${t}/reportsIconOutlined.svg`,ks=`${t}/Done.svg`,Gs=`${t}/reportApps.svg`,E=`${e}/window/ReportsApp.svg`,A=`${e}/window/leadApp.svg`,$=`${e}/window/leadTitleIcon.svg`,T=`${t}/OrderApp.svg`,S=`${t}/OrderTitleIcon.svg`,Fs=`${e}/dottedLine.svg`,Ws=`${e}/passwordDots.svg`,Hs=`${e}/dollarSign.svg`,Ys=`${e}/reload.svg`,Vs=`${t}/deletedStatus1.svg`,zs=`${t}/draftedStatus1.svg`,Ks=`${t}/createdStatus1.svg`,Zs=`${t}/cancelledStatus1.svg`,qs=`${t}/expiredStatus1.svg`,Qs=`${t}/paidStatus1.svg`,Js=`${t}/deliveredStatus1.svg`,Xs=`${t}/viewedStatus1.svg`,js=`${t}/savedStatus1.svg`,ec=`${t}/scheduledStatus1.svg`,tc=`${t}/invoicePendingStatus2.svg`,oc=`${t}/invoiceRefundedStatus2.svg`,nc=`${e}/activeLeadStatus.svg`,sc=`${e}/completedLeadStatus.svg`,cc=`${e}/closedLeadStatus.svg`,ac=`${e}/expiredLeadStatus.svg`,pc=`${e}/readyLeadStatus.svg`,rc=`${e}/newFileIcon.svg`,xc=`${e}/teamWindowIcon.svg`,ic=`${e}/blueAppsIcon.svg`,dc=`${e}/disabledCardIcon.svg`,lc=`${e}/disabledCodeIcon.svg`,uc=`${e}/layersIcon.svg`,Ic=`${e}/status/pendingOnTapIcon.svg`,gc=`${e}/leadWhiteIcon.svg`,vc=`${t}/chatDisabledIcon.svg`,hc=`${e}/exclamationDarkIcon.svg`,mc=`${t}/exclamationWarning.svg`,fc=`${e}/exclamationError.svg`,Ec=`${t}/greenCheckV2.svg`,Ac=`${e}/iosIcon1.svg`,$c=`${e}/androidIcon.svg`,Tc=`${e}/websiteIcon.svg`,Sc=`${t}/greyApple.svg`,Cc=`${t}/greyLocationIcon.svg`,yc=`${t}/greyDesktopIcon.svg`,_c=`${t}/greyTimezone.svg`,bc=`${t}/safariBrowser.svg`,wc=`${t}/chromeBrowser.svg`,Rc=`${t}/firefoxBrowser.svg`,Lc=`${t}/microsoftBrowser.svg`,Nc=`${t}/operaBrowser.svg`,Pc=`${t}/braveBrowser.svg`,Oc=`${t}/arcBrowser.svg`,Bc=`${t}/chromiumBrowser.svg`,Mc=`${t}/userIcon.svg`,C=`${t}/slaProcess.svg`,y=`${e}/window/slaProcess.svg`,Dc=`${e}/status/table/abandoned.svg`,Uc=`${e}/status/table/cancelled.svg`,kc=`${e}/status/table/captured.svg`,Gc=`${e}/status/table/chargeBack.svg`,Fc=`${e}/status/table/chargeBackRequested.svg`,Wc=`${e}/status/table/completed.svg`,Hc=`${e}/status/table/declined.svg`,Yc=`${e}/status/table/destinationReversed.svg`,Vc=`${t}/DestinationWithoutBackground.svg`,zc=`${e}/status/table/disputeResolved.svg`,Kc=`${e}/status/table/failed.svg`,Zc=`${e}/status/table/failedNoBG.svg`,qc=`${e}/status/table/declinedNoBg.svg`,Qc=`${t}/destinationSuccess.svg`,Jc=`${e}/status/authenticationFailed.svg`,Xc=`${e}/status/table/authenticated.svg`,jc=`${e}/paidOutFilterIcon.svg`,ea=`${e}/completedBlackIcon.svg`,ta=`${e}/scheduledFilterIcon.svg`,oa=`${e}/saveTokenIcon.svg`,na=`${e}/status/unauthenticated.svg`,sa=`${e}/status/authenticationAttempted.svg`,ca=`${e}/status/authenticationNoAuth.svg`,aa=`${e}/status/authenticationDeclined.svg`,pa=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,ra=`${e}/status/authenticationExemptedWithTransaction2.svg`,xa=`${e}/status/authenticationFailed1.svg`,ia=`${e}/status/authenticationInitiated.svg`,da=`${e}/status/authenticationUnavailable.svg`,la=`${e}/status/authenticationUndetermined.svg`,ua=`${e}/status/AuthenticationWithoutTransaction1.svg`,Ia=`${e}/status/authenticationWithTransaction1 2.svg`,ga=`${e}/status/AuthenticationAuthenticated.svg`,va=`${e}/status/authenticationPending2.svg`,ha=`${e}/provider/CYBERSOURCE.svg`,ma=`${e}/provider/MPGS.svg`,fa=`${e}/provider/NETCETERA.svg`,Ea=`${e}/provider/TAP3DS.svg`,Aa=`${e}/greyPlusIcon.svg`,$a=`${e}/greyMinusIcon.svg`,Ta=`${e}/noPreviewIcon.svg`,Sa=`${e}/other/editIcon.svg`,Ca=`${t}/viewInvoice.svg`,ya=`${t}/checkoutStatus.svg`,_a=`${t}/checkStatusOutBlue.svg`,ba=`${t}/checkoutWithMarkStatus.svg`,wa=`${t}/intentExpiredStatus.svg`,Ra=`${t}/intentInitiatedStatus.svg`,La=`${t}/intentCancelledStatus.svg`,Na=`${t}/intentTransactedStatus.svg`,Pa=`${e}/SheetViewUnionIcon.svg`,Oa=`${e}/sheetView.svg`,Ba=`${e}/abandonedNoBG.svg`,Ma=`${e}/status/table/paidOut.svg`,Da=`${e}/status/table/reversePayout.svg`,Ua=`${e}/status/pendingPayout.svg`,ka=`${t}/whiteCloseIcon.svg`,Ga=`${e}/window/empty.svg`,Fa=`${e}/loaderWhiteIcon.svg`,Wa=`${t}/reverseActionIcon.svg`,Ha=`${e}/status/authenticationWallet.svg`,Ya=`${e}/status/authenticationApp.svg`,Va=`${e}/status/authenticationBiometric.svg`,za=`${e}/status/authenticationDevice.svg`,Ka=`${e}/status/authenticationIssuer.svg`,Za=`${e}/status/authenticationScheme.svg`,qa=`${e}/pin.svg`,Qa=`${e}/unpin.svg`,Ja=`${t}/switcher.svg`,Xa=`${e}/verticalLine.svg`,ja=`${e}/previewModeIcon.svg`,ep=`${e}/status/table/tokensSaved.svg`,tp=`${e}/status/table/tokensTransacted.svg`,op=`${e}/status/table/tokensExpired.svg`,np=`${e}/status/table/tokensPending.svg`,sp=`${e}/status/table/tokenCardIcon.svg`,cp=`${t}/TableloadingSpinner.svg`,ap=`${t}/loadingSpinnerWhite.svg`,pp=`${e}/backgroundLoader.svg`,rp=`${t}/arrowUpBlue1.svg`,xp=`${t}/BlueCheckMarkShadowed1.svg`,ip=`${t}/cardViewButton.svg`,dp=`${t}/listViewButton1.svg`,lp=`${e}/BlueArrowUpIcon.svg`,up=`${e}/BlueCircleLoaderIcon.svg`,Ip=`${e}/appsGridIcon2.svg`,gp=`${e}/whiteFilter.svg`,vp=`${e}/grayCloseIcon.svg`,hp=`${e}/status/OrderAgreementIcon.svg`,mp=`${e}/status/InstallmentAgreementIcon.svg`,fp=`${e}/status/CardAgreementIcon.svg`,Ep=`${e}/status/SubscriptionAgreementIcon.svg`,Ap=`${e}/brandPlaceholder.svg`,$p=`${e}/users-icons.svg`,Tp=`${e}/Board-Icons.svg`,Sp=`${t}/No Agreement.svg`,_=`${e}/window/acceptance.svg`,b=`${e}/window/wallet.svg`,w=`${e}/window/billing.svg`,R=`${e}/window/customers.svg`,L=`${e}/window/payout.svg`,N=`${e}/window/protect.svg`,P=`${e}/window/tokens.svg`,O=`${e}/window/account.svg`,B=`${e}/window/businesses.svg`,M=`${e}/window/authentication.svg`,D=`${t}/reportsIcon.svg`,Cp=`${e}/window/tokensReports.svg`,yp=`${e}/window/brand.svg`,_p=`${e}/window/entity.svg`,bp=`${e}/window/bank.svg`,wp=`${e}/window/individual.svg`,Rp=`${e}/window/password.svg`,Lp=`${e}/actionsIcon.svg`,Np=`${e}/addItem.svg`,Pp=`${e}/attachIcon.svg`,Op=`${e}/CollapseArrows.svg`,Bp=`${e}/customerIcon.svg`,Mp=`${e}/discountIcon.svg`,Dp=`${e}/emailIcon.svg`,Up=`${e}/emailBlackIcon.svg`,kp=`${e}/linkTiltedIcon.svg`,Gp=`${e}/ExpandArrows.svg`,Fp=`${e}/feeIcon.svg`,Wp=`${e}/minusIcon.svg`,Hp=`${e}/noteIcon.svg`,Yp=`${e}/pdfGrayIcon.svg`,Vp=`${e}/productLabel.svg`,zp=`${e}/quantityIcon.svg`,Kp=`${e}/removeItem.svg`,Zp=`${t}/removeItem2.svg`,qp=`${e}/smsIcon.svg`,Qp=`${e}/taxIcon.svg`,Jp=`${e}/totalAmountIcon.svg`,Xp=`${e}/unfocusRemoveItem.svg`,jp=`${e}/whatsappIcon1.svg`,er=`${e}/whiteArrow2.svg`,tr=`${e}/newInvoice.svg`,or=`${e}/activeActionIcon.svg`,nr=`${e}/grayProductLabel.svg`,sr=`${e}/plusQty.svg`,cr=`${t}/downArrow3.svg`,ar=`${e}/customer.svg`,pr=`${t}/note.svg`,rr=`${e}/blueNoteIcon.svg`,xr=`${t}/attach.svg`,ir=`${e}/lateFee.svg`,dr=`${e}/addItemIcon.svg`,lr=`${e}/blueCheckIcon.svg`,ur=`${t}/trash-bin.svg`,Ir=`${e}/blueVerifyIcon.svg`,gr=`${e}/verificationDarkBlue.svg`,vr=`${e}/grayVerifyIcon.svg`,hr=`${e}/greenVerifyIcon.svg`,mr=`${e}/redVerifyIcon.svg`,fr=`${e}/closedVerifyIcon.svg`,Er=`${e}/archivedVerifyIcon.svg`,Ar=`${e}/penIcon.svg`,$r=`${t}/listShadow.svg`,Tr=`${e}/defaultCountryIcon.svg`,Sr=`${e}/defaultDeviceIcon.svg`,Cr=`${e}/biometric.svg`,yr=`${e}/3dsBlue.svg`,_r=`${t}/createCharge.svg`,br=`${t}/successCheck.svg`,wr=`${t}/receipt.svg`,Rr=`${t}/browserTimezone.svg`,Lr=`${t}/entityTimezone.svg`,Nr=`${t}/historyTimezone.svg`,Pr=`${t}/smallBlueCheck.svg`,Or=`${t}/fileDownloadBlue.svg`,Br=`${t}/fileDownloadGrey.svg`,Mr=`${e}/meta.svg`,Dr=`${e}/darkFilterIcon.svg`,Ur=`${e}/resize-icon.svg`,kr=`${e}/home.svg`,Gr=`${e}/lockIcon.svg`,Fr=`${e}/Calendar.svg`,Wr=`${e}/status-v2/autoCapturedNoBG.svg`,Hr=`${e}/status-v2/autoVoidNoBG.svg`,Yr=`${e}/status-v2/cancelledNoBG.svg`,Vr=`${e}/status-v2/capturedNoBG.svg`,zr=`${e}/status-v2/declinedNoBG.svg`,Kr=`${e}/status-v2/destinationsNoBG.svg`,Zr=`${e}/status-v2/failedNoBG.svg`,qr=`${e}/status-v2/gatewayOrange.svg`,Qr=`${e}/status-v2/gatewayRedNoBG.svg`,Jr=`${e}/status-v2/paidoutNoBG.svg`,Xr=`${e}/status-v2/refundedIconNoBG2.svg`,jr=`${e}/status-v2/refundInitiatedNoBG.svg`,ex=`${e}/status-v2/refundSettledNoBG.svg`,tx=`${e}/status-v2/refundNotSettledNoBG.svg`,ox=`${e}/status-v2/restrictedNoBG.svg`,nx=`${e}/status-v2/settledNoBG.svg`,sx=`${e}/status-v2/settlementInitiatedNoBG.svg`,cx=`${e}/status-v2/timeoutNoBG.svg`,ax=`${e}/status-v2/unavailableNoBG.svg`,px=`${e}/status-v2/unknownNoBG.svg`,rx=`${e}/status-v2/void.svg`,xx=`${e}/status-v2/authorizeNoBG.svg`,ix=`${e}/status-v2/initiatedNoBG.svg`,dx=`${e}/websiteBlueIcon.svg`,lx=`${e}/androidAppIcon.svg`,ux=`${e}/iOSAppIcon.svg`,Ix=`${e}/physicalLocationIcon.svg`,gx=`${e}/socialLinksIcon.svg`,vx=`${e}/smallLeftArrow.svg`,hx=`${e}/searchBlueIcon.svg`,mx=`${t}/rightLightArrow.svg`,fx=`${t}/segmentInstitution.svg`,Ex=`${t}/segmentTechnology.svg`,Ax=`${t}/segmentDevelopmentHouse.svg`,U=`${t}/terminal.svg`,k=`${e}/window/terminal.svg`,$x=`${e}/terminalCardPhone.svg`,Tx=`${e}/ToastPOS.svg`,Sx=`${e}/terminalTypeIcon.svg`,Cx=`${e}/terminalBrush.svg`,yx=`${e}/terminalBrushMuted.svg`,_x=`${e}/navigationIcon.svg`,bx=`${e}/babyBlueCheckIcon.svg`,wx=`${e}/digitalReceiptIcon.svg`,Rx=`${e}/bankNoteIcon.svg`,Lx=`${e}/terminalDeviceFrame.svg`,Nx=`${e}/blackBrushIcon.svg`,Px=`${e}/mutedOutlinedCheckIcon.svg`,Ox=`${e}/outlinedPlatformIcon.svg`,Bx=`${e}/navigationPointerBlack.svg`,Mx=`${e}/addIconWhite.svg`,Dx=`${e}/greyUpArrow.svg`,Ux=`${e}/greyDownArrow.svg`,kx=`${e}/services/brandService.svg`,Gx=`${e}/services/authorizationService.svg`,Fx=`${e}/services/chargebacksService.svg`,Wx=`${e}/services/chargesService.svg`,Hx=`${e}/services/destinationsService.svg`,Yx=`${e}/services/entityService.svg`,Vx=`${e}/services/invoiceService.svg`,zx=`${e}/services/payoutService.svg`,Kx=`${e}/services/refundsService.svg`,Zx=`${e}/services/usersService.svg`,qx=`${e}/services/walletService.svg`,Qx=`${e}/services/intentsService.svg`,Jx=`${e}/archievedOutlined.svg`,Xx=`${e}/closeOutlinedCircle.svg`,jx=`${e}/dashedOutlinedCircle.svg`,ei=`${e}/deactivatedCircle.svg`,ti=`${e}/exclamationOutlinedCircle.svg`,oi=`${e}/outlinedCircle.svg`,ni=`${e}/greenCheck2ACE00.svg`,si=`${e}/blueCopyIcon.svg`,ci=`${e}/blackLinkIcon.svg`,ai=`${e}/blackSettingsIcon.svg`,pi=`${e}/blackWallet.svg`,ri=`${e}/blueGradientBrushIcon.svg`,xi=`${e}/gadientLink.svg`,ii=`${e}/gradientSettings.svg`,di=`${e}/gradientWallet.svg`,li=`${e}/manyCurrencyCoin.svg`,ui=`${e}/manyCurrencyCoinGradient.svg`,Ii=`${e}/blackMobileBatteryIcon.svg`,gi=`${e}/blackMobileSignalIcon.svg`,vi=`${e}/emptyMobileWifiIcon.svg`,hi=`${e}/deemaWithLabel.svg`,mi=`${e}/chargeBackWhiteIcon.svg`,fi=`${e}/blackUnLinkIcon.svg`,Ei=`${e}/sortDescArrowIcon.svg`,Ai=`${e}/sortAscArrowIcon.svg`,$i=`${e}/closedOutlinedYellowCircle.svg`,Ti=`${e}/deactivatedOrangeCircle.svg`,Si=`${e}/exclamationOutlinedOrangeCircle.svg`,Ci=`${e}/activeGreenIcon.svg`,yi=`${e}/inActiveGreyIcon.svg`,_i=`${W}/terminal_link.mp4`,bi=`${e}/bluePlusIcon.svg`,wi=`${e}/blackSettingsVariant2Icon.svg`,Ri=`${e}/exclamationWhite.svg`,Li=`${t}/paymentTechnology.svg`,Ni=`${t}/paymentGatewayProvider.svg`,Pi=`${t}/paymentTechnologyV2.svg`,Oi=`${t}/paymentTerminalProvider.svg`,Bi=`${t}/merchantServiceProvider.svg`,Mi=`${t}/paymentProcessor.svg`,Di=`${t}/paymentScheme.svg`,Ui=`${t}/paymentIssuer.svg`,ki=`${t}/paymentAcquirer.svg`,Gi=`${t}/paymentMethod.svg`,Fi=`${t}/paymentFacilitator.svg`,Wi=`${t}/commercialRegulator.svg`,Hi=`${t}/appPlatform.svg`,Yi=`${t}/retailPlatform.svg`,Vi=`${t}/commercePlatform.svg`,zi=`${t}/billingPlatform.svg`,Ki=`${t}/authenticationGateway.svg`,Zi=`${t}/retailer.svg`,qi=`${t}/blueCircleWithWhiteCheck.svg`,Qi=`${e}/externalLink.svg`;var ol=3,Ji=88,Xi=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},G={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateWallet:{code:"UPDATE_WALLET"}},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,...G}},retailer:{code:"RETAILER",functions:{...n,...G}}}},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"}}},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,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}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},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:{leads:{code:"LEADS",functions:{...n,account:{code:"ACCOUNT"},lead:{code:"LEAD"},create:{code:"CREATE"},update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},connect:{code:"CONNECT"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"}},ji={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.billing.code]:{minWidth:856}},ed=[{code:o.tokens.code,iconUrl:g,toolbarIconUrl:P},{code:o.billing.code,iconUrl:r,toolbarIconUrl:w},{code:o.acceptance.code,iconUrl:x,toolbarIconUrl:_},{code:o.wallet.code,iconUrl:d,toolbarIconUrl:b},{code:o.payouts.code,iconUrl:l,toolbarIconUrl:L},{code:o.protect.code,iconUrl:v,toolbarIconUrl:N},{code:o.authentication.code,iconUrl:i,toolbarIconUrl:M},{code:o.customers.code,iconUrl:h,toolbarIconUrl:R},{code:o.businesses.code,iconUrl:m,toolbarIconUrl:B},{code:o.reports.code,iconUrl:E,toolbarIconUrl:D},{code:o.account.code,iconUrl:f,toolbarIconUrl:O},{code:o.order.code,iconUrl:T,toolbarIconUrl:S},{code:o.leads.code,iconUrl:A,toolbarIconUrl:$},{code:o.terminals.code,iconUrl:U,toolbarIconUrl:k},{code:o.slaProcess.code,iconUrl:C,toolbarIconUrl:y}],td=["login"];var od=window.__GLOBAL_CONFIG__??{},H=od.MW_BASE_URL??import.meta.env.VITE_BASE_URL,nd=`${H}/api`,sd=import.meta.env.VITE_ENV,cd=import.meta.env.VITE_TEST_FIXED_SK;var ad=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var pd={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)"}};var xl=50,rd={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 xd={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 id={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"}};var dd={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:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"174px",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 ld={id:{default:"205px",text:"225px",sheet:"225px"},reference_order:{default:"255px",text:"255px",sheet:"255px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"180px"},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:"150px"},device:{default:"150px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"51px",text:"100px",sheet:"100px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"118px",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"},payout_status:{default:"120px",text:"120px",sheet:"120px"},reference_transfer:{default:"350px",text:"350px",sheet:"350px"}};var ud={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 Id={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"}};var gd={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 vd={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 hd={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 md={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 fd={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 Ed={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:"120px",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 Ad={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 $d={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 Td={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 Sd={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 Cd={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 yd={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:"160px",text:"170px",sheet:"170px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"136px",text:"185px",sheet:"203px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"77px",text:"180px",sheet:"180px"},status:{default:"86px",text:"100px",sheet:"172px"},partners:{default:"97px",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:"102px",text:"120px",sheet:"440px"},merchant:{default:"160px",text:"180px",sheet:"169px"}};var _d={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 Y={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"},bd=Y.UTC,wd=[{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 Rd={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"}},Ld=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],Nd={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var Nl=52,Pl=70,Ol=57,Bl=200,Ml=5,Dl=40,Ul=20,kl=28;var Pd={COUNT:"count",AMOUNT:"amount"},Od={count:"transaction",amount:"amount"};var p={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`},Bd=[{name:"CARD",label:"Card",icon:p.CARD},{name:"EXPRESS",label:"Express Checkout",icon:p.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:p.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:p.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:p.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:p.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:p.CASH_WALLET}],V="customer",z="merchant",Md=[{key:V,value:"true",label:"Customer"},{key:z,value:"false",label:"Merchant"}];var a={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},Dd={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},Ud=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM","PLATFORM"],kd=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],Gd=["PAYMENT_TECHNOLOGY"],Fd=["PAYMENT_ISSUER"],Wd=["DEVELOPMENT_HOUSE"];var Hd={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var Yd={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"},Vd={[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]},zd=[{code:o.billing.code,name:"Billing",icon:r,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:x,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:d,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:l,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:i,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var Kd={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var Zd=["AUTHENTICATED"],K=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","UNDETERMINED","EXEMPTED","INITIATED"],qd=[...Zd,...K],Z=(F=>(F.Challenge="C",F.Frictionless="F",F))(Z||{}),Qd={C:"Challenge",F:"Frictionless"};var Jd=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var Xd=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"})]}),jd=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"})]});
2
+ export{Ze as $,Zt as $a,qo as $b,Gn as $c,Gs as $d,Bc as $e,Pa as $f,B as $g,$r as $h,U as $i,Ei as $j,gd as $k,el as $l,Ae as A,At as Aa,$o as Ab,un as Ac,us as Ad,rc as Ae,aa as Af,ap as Ag,qp as Ah,qr as Ai,Kx as Aj,Ki as Ak,Pd as Al,$e as B,$t as Ba,To as Bb,In as Bc,Is as Bd,xc as Be,pa as Bf,pp as Bg,Qp as Bh,Qr as Bi,Zx as Bj,Zi as Bk,Od as Bl,Te as C,Tt as Ca,So as Cb,gn as Cc,gs as Cd,ic as Ce,ra as Cf,rp as Cg,Jp as Ch,Jr as Ci,qx as Cj,qi as Ck,p as Cl,Se as D,St as Da,Co as Db,vn as Dc,vs as Dd,dc as De,xa as Df,xp as Dg,Xp as Dh,Xr as Di,Qx as Dj,Qi as Dk,Bd as Dl,Ce as E,Ct as Ea,yo as Eb,hn as Ec,hs as Ed,lc as Ee,ia as Ef,ip as Eg,jp as Eh,jr as Ei,Jx as Ej,ol as Ek,V as El,ye as F,yt as Fa,_o as Fb,mn as Fc,ms as Fd,uc as Fe,da as Ff,dp as Fg,er as Fh,ex as Fi,Xx as Fj,Ji as Fk,z as Fl,_e as G,_t as Ga,bo as Gb,fn as Gc,fs as Gd,Ic as Ge,la as Gf,lp as Gg,tr as Gh,tx as Gi,jx as Gj,Xi as Gk,Md as Gl,be as H,bt as Ha,wo as Hb,En as Hc,Es as Hd,gc as He,ua as Hf,up as Hg,or as Hh,ox as Hi,ei as Hj,n as Hk,a as Hl,we as I,wt as Ia,Ro as Ib,An as Ic,As as Id,vc as Ie,Ia as If,Ip as Ig,nr as Ih,nx as Ii,ti as Ij,G as Ik,Dd as Il,Re as J,Rt as Ja,Lo as Jb,$n as Jc,$s as Jd,hc as Je,ga as Jf,gp as Jg,sr as Jh,sx as Ji,oi as Jj,o as Jk,Ud as Jl,Le as K,Lt as Ka,No as Kb,Tn as Kc,Ts as Kd,mc as Ke,va as Kf,vp as Kg,cr as Kh,cx as Ki,ni as Kj,ji as Kk,kd as Kl,Ne as L,Nt as La,Po as Lb,Sn as Lc,Ss as Ld,fc as Le,ha as Lf,hp as Lg,ar as Lh,ax as Li,si as Lj,ed as Lk,Gd as Ll,Pe as M,Pt as Ma,Oo as Mb,Cn as Mc,Cs as Md,Ec as Me,ma as Mf,mp as Mg,pr as Mh,px as Mi,ci as Mj,td as Mk,Fd as Ml,Oe as N,Ot as Na,Bo as Nb,yn as Nc,ys as Nd,Ac as Ne,fa as Nf,fp as Ng,rr as Nh,rx as Ni,ai as Nj,H as Nk,Wd as Nl,Be as O,Bt as Oa,Mo as Ob,_n as Oc,_s as Od,$c as Oe,Ea as Of,Ep as Og,xr as Oh,xx as Oi,pi as Oj,nd as Ok,Hd as Ol,Me as P,Mt as Pa,Do as Pb,bn as Pc,bs as Pd,Tc as Pe,Aa as Pf,Ap as Pg,ir as Ph,ix as Pi,ri as Pj,sd as Pk,Yd as Pl,De as Q,Dt as Qa,Uo as Qb,wn as Qc,ws as Qd,Sc as Qe,$a as Qf,$p as Qg,dr as Qh,dx as Qi,xi as Qj,cd as Qk,s as Ql,Ue as R,Ut as Ra,ko as Rb,Rn as Rc,Rs as Rd,Cc as Re,Ta as Rf,Tp as Rg,lr as Rh,lx as Ri,ii as Rj,ad as Rk,Vd as Rl,ke as S,kt as Sa,Go as Sb,Ln as Sc,Ls as Sd,yc as Se,Sa as Sf,Sp as Sg,ur as Sh,ux as Si,di as Sj,pd as Sk,zd as Sl,Ge as T,Gt as Ta,Fo as Tb,Nn as Tc,Ns as Td,_c as Te,Ca as Tf,_ as Tg,Ir as Th,Ix as Ti,li as Tj,xl as Tk,Kd as Tl,Fe as U,Ft as Ua,Wo as Ub,Pn as Uc,Ps as Ud,bc as Ue,ya as Uf,b as Ug,gr as Uh,gx as Ui,ui as Uj,rd as Uk,K as Ul,We as V,Wt as Va,Ho as Vb,On as Vc,Os as Vd,wc as Ve,_a as Vf,w as Vg,vr as Vh,vx as Vi,Ii as Vj,xd as Vk,qd as Vl,He as W,Ht as Wa,Yo as Wb,Bn as Wc,Bs as Wd,Rc as We,ba as Wf,R as Wg,hr as Wh,hx as Wi,gi as Wj,id as Wk,Z as Wl,Ye as X,Yt as Xa,Vo as Xb,Mn as Xc,Ms as Xd,Lc as Xe,wa as Xf,L as Xg,mr as Xh,mx as Xi,vi as Xj,dd as Xk,Qd as Xl,Ve as Y,Vt as Ya,zo as Yb,Dn as Yc,Ds as Yd,Nc as Ye,Ra as Yf,N as Yg,fr as Yh,fx as Yi,hi as Yj,ld as Yk,Jd as Yl,ze as Z,zt as Za,Ko as Zb,Un as Zc,Us as Zd,Pc as Ze,La as Zf,P as Zg,Er as Zh,Ex as Zi,mi as Zj,ud as Zk,Xd as Zl,Ke as _,Kt as _a,Zo as _b,kn as _c,ks as _d,Oc as _e,Na as _f,O as _g,Ar as _h,Ax as _i,fi as _j,Id as _k,jd as _l,e as a,qe as aa,qt as ab,Qo as ac,Fn as ad,E as ae,Mc as af,Oa as ag,M as ah,Tr as ai,k as aj,Ai as ak,vd as al,t as b,Qe as ba,Qt as bb,Jo as bc,Wn as bd,A as be,C as bf,Ba as bg,D as bh,Sr as bi,$x as bj,$i as bk,hd as bl,X as c,Je as ca,Jt as cb,Xo as cc,Hn as cd,$ as ce,y as cf,Ma as cg,Cp as ch,Cr as ci,Tx as cj,Ti as ck,md as cl,W as d,Xe as da,Xt as db,jo as dc,Yn as dd,T as de,Dc as df,Da as dg,yp as dh,yr as di,Sx as dj,Si as dk,fd as dl,j as e,je as ea,jt as eb,en as ec,Vn as ed,S as ee,Uc as ef,Ua as eg,_p as eh,_r as ei,Cx as ej,Ci as ek,Ed as el,ee as f,et as fa,eo as fb,g as fc,zn as fd,Fs as fe,kc as ff,ka as fg,bp as fh,br as fi,yx as fj,yi as fk,Ad as fl,te as g,tt as ga,to as gb,r as gc,Kn as gd,Ws as ge,Gc as gf,Ga as gg,wp as gh,wr as gi,_x as gj,_i as gk,$d as gl,oe as h,ot as ha,oo as hb,tn as hc,Zn as hd,Hs as he,Fc as hf,Fa as hg,Rp as hh,Rr as hi,bx as hj,bi as hk,Td as hl,ne as i,nt as ia,no as ib,on as ic,qn as id,Ys as ie,Wc as if,Wa as ig,Lp as ih,Lr as ii,wx as ij,wi as ik,Sd as il,se as j,st as ja,so as jb,x as jc,Qn as jd,Vs as je,Hc as jf,Ha as jg,Np as jh,Nr as ji,Rx as jj,Ri as jk,Cd as jl,ce as k,ct as ka,co as kb,nn as kc,Jn as kd,zs as ke,Yc as kf,Ya as kg,Pp as kh,Pr as ki,Lx as kj,Li as kk,yd as kl,ae as l,at as la,ao as lb,sn as lc,Xn as ld,Ks as le,Vc as lf,Va as lg,Op as lh,Or as li,Nx as lj,Ni as lk,_d as ll,pe as m,pt as ma,po as mb,cn as mc,jn as md,Zs as me,zc as mf,za as mg,Bp as mh,Br as mi,Px as mj,Pi as mk,Y as ml,re as n,rt as na,ro as nb,an as nc,es as nd,qs as ne,Kc as nf,Ka as ng,Mp as nh,Mr as ni,Ox as nj,Oi as nk,bd as nl,xe as o,xt as oa,xo as ob,pn as oc,ts as od,Qs as oe,Zc as of,Za as og,Dp as oh,Dr as oi,Bx as oj,Bi as ok,wd as ol,ie as p,it as pa,io as pb,rn as pc,os as pd,Js as pe,qc as pf,qa as pg,Up as ph,Ur as pi,Mx as pj,Mi as pk,Rd as pl,de as q,dt as qa,lo as qb,xn as qc,ns as qd,Xs as qe,Qc as qf,Qa as qg,kp as qh,kr as qi,Dx as qj,Di as qk,Ld as ql,le as r,lt as ra,uo as rb,dn as rc,ss as rd,js as re,Jc as rf,Ja as rg,Gp as rh,Gr as ri,Ux as rj,Ui as rk,Nd as rl,ue as s,ut as sa,Io as sb,ln as sc,cs as sd,ec as se,Xc as sf,Xa as sg,Fp as sh,Fr as si,kx as sj,ki as sk,Nl as sl,Ie as t,It as ta,go as tb,i as tc,as as td,tc as te,jc as tf,ja as tg,Wp as th,Wr as ti,Gx as tj,Gi as tk,Pl as tl,ge as u,gt as ua,vo as ub,d as uc,ps as ud,oc as ue,ea as uf,ep as ug,Hp as uh,Hr as ui,Fx as uj,Fi as uk,Ol as ul,ve as v,vt as va,ho as vb,l as vc,rs as vd,nc as ve,ta as vf,tp as vg,Yp as vh,Yr as vi,Wx as vj,Wi as vk,Bl as vl,he as w,ht as wa,mo as wb,v as wc,xs as wd,sc as we,oa as wf,op as wg,Vp as wh,Vr as wi,Hx as wj,Hi as wk,Ml as wl,me as x,mt as xa,fo as xb,h as xc,is as xd,cc as xe,na as xf,np as xg,zp as xh,zr as xi,Yx as xj,Yi as xk,Dl as xl,fe as y,ft as ya,Eo as yb,m as yc,ds as yd,ac as ye,sa as yf,sp as yg,Kp as yh,Kr as yi,Vx as yj,Vi as yk,Ul as yl,Ee as z,Et as za,Ao as zb,f as zc,ls as zd,pc as ze,ca as zf,cp as zg,Zp as zh,Zr as zi,zx as zj,zi as zk,kl as zl};
@@ -1 +1 @@
1
- import {Hk}from'./chunk-N3WMUGVO.js';import g from'@mui/material/Stack';import d from'@mui/material/Box';import e from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){return jsxs(g,{height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(g,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:r=>r.palette.background.transparent[0]},children:[jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(d,{flex:1,bgcolor:"#fff"})]})}var u=4;function f(){return jsx(g,{height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:u}).map((r,c)=>jsx(d,{children:jsxs(g,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(e,{variant:"rounded",width:32,height:32}),jsxs(d,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(e,{width:80,height:12.29}),jsxs(d,{sx:{display:"flex",gap:"4px"},children:[jsx(e,{width:50,height:12.29}),jsx(e,{width:125,height:12.29})]})]})]})},c))})}var b=({appCode:r})=>r===Hk.reports.code?jsx(f,{}):jsx(h,{}),m=b;var A=m;export{A as a};
1
+ import {Jk}from'./chunk-NK266ZWT.js';import g from'@mui/material/Stack';import d from'@mui/material/Box';import e from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){return jsxs(g,{height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(g,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:r=>r.palette.background.transparent[0]},children:[jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(e,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(d,{flex:1,bgcolor:"#fff"})]})}var u=4;function f(){return jsx(g,{height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:u}).map((r,c)=>jsx(d,{children:jsxs(g,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(e,{variant:"rounded",width:32,height:32}),jsxs(d,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(e,{width:80,height:12.29}),jsxs(d,{sx:{display:"flex",gap:"4px"},children:[jsx(e,{width:50,height:12.29}),jsx(e,{width:125,height:12.29})]})]})]})},c))})}var b=({appCode:r})=>r===Jk.reports.code?jsx(f,{}):jsx(h,{}),m=b;var A=m;export{A as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-3QA32K6H.js';import {tb,Ab}from'./chunk-IYZWNIGG.js';import {sa,ra,qa,ai}from'./chunk-N3WMUGVO.js';import {c}from'./chunk-5TBO732O.js';import {memo}from'react';import T from'@mui/material/Box';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=c(tb(),1);var f=styled(T,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:t==="sheet"?"18px":"24px"}));var e={DESKTOP:qa,PHONE:ra,TABLET:sa};var i=o=>!!e[o];function O({type:o,isTextShown:t,tableMode:I,...b}){let{t:D}=useTranslation(),n=i(o)?e[o]:null;return jsx(a,{title:n?`Device - ${Ab((o??"").toLowerCase())}`:D("unKnown"),children:t?jsxs(f,{tableMode:I,children:[" ",o?(0, d.default)(o):"Unknown"]}):jsx(T,{...b,component:"img",src:o?n||ai:ai,alt:o})})}var x=memo(O);var G=x;export{e as a,i as b,G as c};
1
+ import {a}from'./chunk-3QA32K6H.js';import {vb,Cb}from'./chunk-MRFF7D7J.js';import {sa,ra,qa,bi}from'./chunk-NK266ZWT.js';import {c}from'./chunk-5TBO732O.js';import {memo}from'react';import T from'@mui/material/Box';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=c(vb(),1);var f=styled(T,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:t==="sheet"?"18px":"24px"}));var e={DESKTOP:qa,PHONE:ra,TABLET:sa};var i=o=>!!e[o];function O({type:o,isTextShown:t,tableMode:I,...b}){let{t:D}=useTranslation(),n=i(o)?e[o]:null;return jsx(a,{title:n?`Device - ${Cb((o??"").toLowerCase())}`:D("unKnown"),children:t?jsxs(f,{tableMode:I,children:[" ",o?(0, d.default)(o):"Unknown"]}):jsx(T,{...b,component:"img",src:o?n||bi:bi,alt:o})})}var x=memo(O);var G=x;export{e as a,i as b,G as c};
@@ -1 +1 @@
1
- import {c as c$2}from'./chunk-WDKFWEWI.js';import {c,e}from'./chunk-GDNSLZ6T.js';import {a,c as c$1,d}from'./chunk-GSQWF6IJ.js';import {b as b$1,a as a$1}from'./chunk-MTYAUX2G.js';import {Pa}from'./chunk-IYZWNIGG.js';import {na,Zc,Bd,Ad,ma,ka,la}from'./chunk-N3WMUGVO.js';import tt,{memo,createContext,useState,useRef,useMemo,useEffect,useCallback,useContext}from'react';import {styled,Popover,Input,Typography,Box,Dialog}from'@mui/material';import B from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import xt from'react-draggable';import it from'@mui/material/Box';import {useTranslation}from'react-i18next';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var w=37,oe="32px",h=545;styled(Popover)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"12px"}}));var et=44,ie={"--w-rjv-color":"#9cdcfe","--w-rjv-key-string":"#357fb9","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ffffff","--w-rjv-arrow-color":"#116e6bed","--w-rjv-edit-color":"#9cdcfe","--w-rjv-info-color":"#9c9c9c7a","--w-rjv-update-color":"#FFE20B","--w-rjv-copied-color":"#9cdcfe","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#000000","--w-rjv-colon-color":"#000000","--w-rjv-brackets-color":"#000000","--w-rjv-quotes-color":"#9cdcfe","--w-rjv-quotes-string-color":"#c27c46","--w-rjv-type-string-color":"#c27c46","--w-rjv-type-int-color":"#956ea5","--w-rjv-type-float-color":"#956ea5","--w-rjv-type-bigint-color":"#956ea5","--w-rjv-type-boolean-color":"#956ea5","--w-rjv-type-date-color":"#956ea5","--w-rjv-type-url-color":"#3b89cf","--w-rjv-type-null-color":"#956ea5","--w-rjv-type-nan-color":"#956ea5","--w-rjv-type-undefined-color":"#956ea5",padding:"1rem",height:`calc(100% - ${et+w}px`,overflow:"auto"},Pe={...ie,background:"transparent","--w-rjv-line-color":"transparent"},ze=styled("button")(({theme:e})=>({padding:"0rem",borderRadius:"0.25rem",backgroundColor:e.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem",color:e.palette.text.primary,fontSize:"0.625rem",fontWeight:e.typography.fontWeightBold,outline:"none",cursor:"pointer",border:`1px solid ${e.palette.grey[100]}`,"&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark};`},position:"relative",overflow:"hidden",transition:"all 0.2s ease-in-out",width:"24px",height:"24px",flexShrink:0})),re=styled("button")(({theme:e})=>({outline:"none",cursor:"pointer",border:"1px solid transparent","&:hover":{boxShadow:e.shadows[8]},borderRadius:"0.25rem",position:"relative",backgroundColor:e.palette.background.transparent,display:"inline-flex",alignItems:"center",justifyContent:"center"}));styled(Input)(({theme:e})=>({border:`1px solid ${e.palette.grey[100]}`,borderRadius:"0.25rem",padding:"0.375rem",fontSize:"0.625rem",outline:"none",width:"100%",maxWidth:"150px",height:"1.5rem",backgroundColor:e.palette.background.paper,"&:focus":{border:`1px solid ${e.palette.info.dark}`}}));var ne=styled(Typography)(()=>({border:"1px solid rgba(242, 242, 242, 0.70);",display:"inline-flex",height:"24px",padding:"0px 8px",justifyContent:"center",alignItems:"center",borderRadius:"37.5px",backgroundColor:"#fff"})),se=styled(Box,{shouldForwardProp:e=>!["isMaximized","isScrollingRequest","isRequestShown"].includes(e)})(({isScrollingRequest:e,isMaximized:i,isRequestShown:n,theme:a})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",paddingBlock:"0px",paddingInlineStart:"12px",paddingInlineEnd:"12px",position:"sticky",left:0,right:0,top:0,background:"#fff",zIndex:5,...e&&{boxShadow:a.shadows[23]},...i&&{paddingTop:oe,transition:"padding 0.3s ease-in-out",...n&&{width:"50%"}}})),ae=styled(Box,{shouldForwardProp:e=>!["isMaximized","isRequestShown"].includes(e)})(({isMaximized:e,isRequestShown:i})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px",height:w,position:"fixed",bottom:0,right:0,left:e?"50vw":0,...!i&&{left:0}})),le=styled(Box)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"8px",paddingInlineEnd:"0px"})),de=styled(Box)(()=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"0px",paddingInlineEnd:"12px"})),Ee=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:i})=>({width:"100%",height:"100%",overflowY:"auto",background:"#fff",zIndex:20,position:"relative",display:"flex",flexDirection:"column",borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...i&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"100vh"}}));styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:i})=>({backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:e?"100vh":"100%",overflowY:"auto",position:"absolute",width:e?"100vw":i,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"}));styled(Box,{shouldForwardProp:e=>!["isMaximized","currentHeight"].includes(e)})(({isMaximized:e,currentHeight:i})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:e?`calc(100vh - ${w}px)`:(i||h)-w+5,background:"transparent",position:"fixed",width:"100%"}));var Ve=styled(Box)(()=>({position:"fixed",width:"100%",background:"transparent",height:"100%"}));function nt({onClick:e,icon:i,label:n,disableAnimation:a,...p}){let[l,t]=tt.useState(false),{t:x}=useTranslation();return jsxs(ze,{...p,onClick:S=>{e?.(S),!a&&(t(true),setTimeout(()=>{t(false);},2e3));},children:[jsxs(it,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:l&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!l&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:i,alt:"icon"},"id-icon")})]}),n&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:l&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:x("copied")})}),jsx(AnimatePresence,{children:!l&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:n})})]})]})}var Oe=memo(nt);var b=Oe;function lt({title:e$1,onClose:i,onMaximize:n,maximized:a$1=false,id:p,onMouseHover:l,onMouseLeave:t,onRequestClick:x,isRequestExpanded:v=false,showRequestIcon:S=false,isHovered:I=false}){return jsx(c,{id:p,maximized:a$1||false,children:jsx(e,{isHovered:true,onMouseEnter:l,onMouseLeave:t,isMaximized:a$1,title:e$1,icon:Zc,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:i}),jsx(c$1,{isMaximized:a$1,onClick:n}),S&&jsx(d,{onClick:x,isExpanded:v,isHovered:I,children:"Request"})]})})})}var Me=memo(lt);var ce=Me;var q=400,E=.5;function H({index:e,json:i,requestJson:n={},isWindowMinimized:a,windowOrder:p,onClose:l}){let[t,x]=useState(false),[v,S]=useState(false),[I,L]=useState(false),[f,C]=useState(false),[V,J]=useState({width:0,height:0}),[R,k]=useState(true),[d,_e]=useState(false),[fe,Fe]=useState(true),[Le,me]=useState(false),[D,xe]=useState(q),$=useRef(),{onMouseEnter:$e,onMouseLeave:Ge,isHovered:Ye}=b$1(),{height:G,width:O}=a$1(),[we,Xe]=useState({x:O/2+q/4-e*20,y:G/2-h/2+e*30}),A=useRef(),Ze=useMemo(()=>Object.keys(i)?.length,[i]),he=Pa(),g=Number(A.current?.state?.width)||q,ge=r=>{setTimeout(()=>{navigator.clipboard.writeText(r||"").then(()=>{});},10);},ye=useMemo(()=>Object.keys(n)?.length,[n]);return useEffect(()=>{if($.current&&clearTimeout($.current),!d){$.current=setTimeout(()=>{xe(g);},E*1e3);return}xe(g);},[d,g]),jsx(xt,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:O/2-q/4,y:G/2-h/2},position:{x:O-we.x,y:we.y},onStop:(r,s)=>{Xe({x:O-s.x,y:s.y});},bounds:{top:10},children:jsx(Dialog,{disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(p||0)+3+(t?1:0),...a&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:he?V?.width||D:"fit-content",height:he?V?.height||h:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:v?"fit-content":D,height:v?"fit-content":h,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{x(false),k(true),setTimeout(()=>{k(false);},E*1e3);},open:true,hideBackdrop:true,fullScreen:t,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:G-40,maxWidth:O,minWidth:t?"100vw":D,minHeight:t?"100vh":"300px",ref:r=>{A.current=r;},onResizeStart:()=>{k(true);},onResizeStop:()=>{k(false);},onResize:(r,s,T)=>{S(true),J({width:T.offsetWidth,height:T.offsetHeight});},defaultSize:{width:D,height:h},style:{background:"transparent",...t&&{height:"100% !important",width:"100% !important",flex:1},...t&&{position:"relative"}},children:jsxs(Ve,{children:[jsx(motion.div,{style:{...t&&{height:oe,position:"fixed",zIndex:1e3}},animate:{width:d?g*2:g,...t&&{width:"100vw"},...!t&&{transform:`translateX(${d?-g:0}px)`}},transition:{duration:E,...R&&{duration:0}},children:jsx(ce,{title:d?"JSON Request & Response":"JSON Response",onClose:()=>l(),onMaximize:()=>{x(r=>!r),k(true),setTimeout(()=>{k(false);},E*1e3);},isHovered:Ye,onMouseHover:$e,onMouseLeave:Ge,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{_e(r=>!r),k(false),d||A.current?.updateSize({width:q,height:h});},isRequestExpanded:d,showRequestIcon:!!ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${w}px)`:(Number(A.current?.state?.height)||h)-w+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:d&&jsxs(motion.div,{initial:{left:t?"50vw":0,...t&&{position:"relative",left:"-50vw"}},animate:{left:t?"50vw":-g,...t&&{position:"relative",left:"0"},...!d&&{left:0}},exit:{left:t?"50vw":0,...t&&{position:"relative",left:"0"}},transition:{duration:E,...R&&{duration:0}},style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:t?"100vh":"100%",overflowY:"auto",position:"absolute",width:t?"100vw":g,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{me(true),setTimeout(()=>{me(false);},2e3);},children:[jsxs(se,{isMaximized:t,isScrollingRequest:Le,sx:{background:"#E7E7E7B2"},isRequestShown:d,children:[jsx(de,{children:jsx(ne,{variant:"subtitle1",children:"API Request"})}),jsxs(le,{children:[jsx(b,{disableAnimation:true,onClick:()=>{Fe(r=>!r);},icon:fe?Bd:Ad}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(i)).then(()=>{});},icon:ma}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(i?.id||"").then(()=>{});},icon:ka})]})]}),jsxs(B,{value:n,style:Pe,displayDataTypes:false,collapsed:fe?1:void 0,onCopied:(r,s)=>{typeof s=="string"&&ge(s);},enableClipboard:false,children:[jsx(B.CountInfo,{render:(r,{keyName:s})=>{if(!s)return jsx("span",{})}}),jsx(B.Copied,{render:({"data-copied":r,style:s,onClick:T},{keyName:Y})=>Y?jsxs(re,{style:s,onClick:X=>{T?.(X);},children:[jsx(AnimatePresence,{children:r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:la,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:d&&jsx(ae,{sx:{flex:1,height:w,left:0},children:jsx(c$2,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:ye})})})]})}),jsxs(Ee,{isMaximized:t,isRequestShown:d,style:{left:0,maxHeight:"100vw"},initial:{...t&&{width:"100vw",left:0}},animate:{...t&&{position:"absolute",left:d?"50vw":"0"}},transition:{duration:E,...R&&{duration:0}},onScroll:()=>{C(true),setTimeout(()=>{C(false);},2e3);},children:[jsxs(se,{isMaximized:t,isScrollingRequest:f,isRequestShown:d,children:[jsx(de,{children:jsx(ne,{variant:"subtitle1",children:"API Response"})}),jsxs(le,{children:[jsx(b,{disableAnimation:true,onClick:()=>{L(r=>!r);},icon:I?Bd:Ad}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(i,null,2)).then(()=>{});},icon:ma}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(i?.id||"").then(()=>{});},icon:ka})]})]}),jsxs(B,{value:i,style:ie,displayDataTypes:false,collapsed:I?1:void 0,onCopied:(r,s)=>{typeof s=="string"&&ge(s);},children:[jsx(B.CountInfo,{render:(r,{keyName:s})=>{if(!s)return jsx("span",{})}}),jsx(B.Copied,{render:({"data-copied":r,style:s,onClick:T},{keyName:Y})=>Y?jsxs(re,{style:s,onClick:X=>{T?.(X);},children:[jsx(AnimatePresence,{children:r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:la,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(ae,{sx:{flex:1,height:w},children:jsx(c$2,{sx:{borderBottomLeftRadius:d?0:"12px",background:"#f8f9fb",flex:1},totalCount:Ze})})]})]})]})})})})}var F=createContext({jsonViewerList:[],handleJsonViewerDialogOpen:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{}});var De=({list:e,onClose:i,isWindowMinimized:n,windowOrder:a})=>e?.length?jsx(Fragment,{children:e.map((p,l)=>jsx(H,{index:l,json:p.json,requestJson:p?.requestJson,onClose:()=>{i(l);},isWindowMinimized:n,windowOrder:a},p.json.id))}):null;var bt=({children:e})=>{let[i,n]=useState([]),[a,p]=useState(false),[l,t]=useState(1),x=useCallback(f=>{if(i.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(i.some(R=>R.json.id===f.json.id))return;let C=structuredClone(f.json),V=C.request_body,J={json:C,requestJson:f.requestJson||V||void 0};delete J.json.request_body,n(R=>[...R,J]);},[i]),v=f=>{n(C=>C.filter((V,J)=>f!==J));},S=f=>{p(f);},I=f=>{t(f);},L=useMemo(()=>({jsonViewerList:i,handleJsonViewerDialogOpen:x,handleWindowMinimize:S,handleWindowOrder:I}),[i,x]);return jsxs(F.Provider,{value:L,children:[e,jsx(De,{list:i,onClose:v,isWindowMinimized:a,windowOrder:l})]})};var Rt=({isWindowMinimized:e,windowOrder:i})=>{let{handleJsonViewerDialogOpen:n,handleWindowMinimize:a,handleWindowOrder:p}=useContext(F),l=useCallback(()=>{a(e);},[a,e]),t=useCallback(()=>{p(i);},[p,i]);return useEffect(()=>{t();},[t]),useEffect(()=>{l();},[l]),{handleJsonViewerDialogOpen:n}};var Mo=H;export{b as a,ce as b,F as c,De as d,bt as e,Rt as f,Mo as g};
1
+ import {c as c$2}from'./chunk-COZF3FS7.js';import {c,e}from'./chunk-XAWNPPH7.js';import {a,c as c$1,d}from'./chunk-PVEIIX2J.js';import {b as b$1,a as a$1}from'./chunk-GKIGJ23N.js';import {Ra}from'./chunk-MRFF7D7J.js';import {na,Zc,Bd,Ad,ma,ka,la}from'./chunk-NK266ZWT.js';import tt,{memo,createContext,useState,useRef,useMemo,useEffect,useCallback,useContext}from'react';import {styled,Popover,Input,Typography,Box,Dialog}from'@mui/material';import B from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import xt from'react-draggable';import it from'@mui/material/Box';import {useTranslation}from'react-i18next';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var w=37,oe="32px",h=545;styled(Popover)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"12px"}}));var et=44,ie={"--w-rjv-color":"#9cdcfe","--w-rjv-key-string":"#357fb9","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ffffff","--w-rjv-arrow-color":"#116e6bed","--w-rjv-edit-color":"#9cdcfe","--w-rjv-info-color":"#9c9c9c7a","--w-rjv-update-color":"#FFE20B","--w-rjv-copied-color":"#9cdcfe","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#000000","--w-rjv-colon-color":"#000000","--w-rjv-brackets-color":"#000000","--w-rjv-quotes-color":"#9cdcfe","--w-rjv-quotes-string-color":"#c27c46","--w-rjv-type-string-color":"#c27c46","--w-rjv-type-int-color":"#956ea5","--w-rjv-type-float-color":"#956ea5","--w-rjv-type-bigint-color":"#956ea5","--w-rjv-type-boolean-color":"#956ea5","--w-rjv-type-date-color":"#956ea5","--w-rjv-type-url-color":"#3b89cf","--w-rjv-type-null-color":"#956ea5","--w-rjv-type-nan-color":"#956ea5","--w-rjv-type-undefined-color":"#956ea5",padding:"1rem",height:`calc(100% - ${et+w}px`,overflow:"auto"},Pe={...ie,background:"transparent","--w-rjv-line-color":"transparent"},ze=styled("button")(({theme:e})=>({padding:"0rem",borderRadius:"0.25rem",backgroundColor:e.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem",color:e.palette.text.primary,fontSize:"0.625rem",fontWeight:e.typography.fontWeightBold,outline:"none",cursor:"pointer",border:`1px solid ${e.palette.grey[100]}`,"&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark};`},position:"relative",overflow:"hidden",transition:"all 0.2s ease-in-out",width:"24px",height:"24px",flexShrink:0})),re=styled("button")(({theme:e})=>({outline:"none",cursor:"pointer",border:"1px solid transparent","&:hover":{boxShadow:e.shadows[8]},borderRadius:"0.25rem",position:"relative",backgroundColor:e.palette.background.transparent,display:"inline-flex",alignItems:"center",justifyContent:"center"}));styled(Input)(({theme:e})=>({border:`1px solid ${e.palette.grey[100]}`,borderRadius:"0.25rem",padding:"0.375rem",fontSize:"0.625rem",outline:"none",width:"100%",maxWidth:"150px",height:"1.5rem",backgroundColor:e.palette.background.paper,"&:focus":{border:`1px solid ${e.palette.info.dark}`}}));var ne=styled(Typography)(()=>({border:"1px solid rgba(242, 242, 242, 0.70);",display:"inline-flex",height:"24px",padding:"0px 8px",justifyContent:"center",alignItems:"center",borderRadius:"37.5px",backgroundColor:"#fff"})),se=styled(Box,{shouldForwardProp:e=>!["isMaximized","isScrollingRequest","isRequestShown"].includes(e)})(({isScrollingRequest:e,isMaximized:i,isRequestShown:n,theme:a})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",paddingBlock:"0px",paddingInlineStart:"12px",paddingInlineEnd:"12px",position:"sticky",left:0,right:0,top:0,background:"#fff",zIndex:5,...e&&{boxShadow:a.shadows[23]},...i&&{paddingTop:oe,transition:"padding 0.3s ease-in-out",...n&&{width:"50%"}}})),ae=styled(Box,{shouldForwardProp:e=>!["isMaximized","isRequestShown"].includes(e)})(({isMaximized:e,isRequestShown:i})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px",height:w,position:"fixed",bottom:0,right:0,left:e?"50vw":0,...!i&&{left:0}})),le=styled(Box)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"8px",paddingInlineEnd:"0px"})),de=styled(Box)(()=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"0px",paddingInlineEnd:"12px"})),Ee=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:i})=>({width:"100%",height:"100%",overflowY:"auto",background:"#fff",zIndex:20,position:"relative",display:"flex",flexDirection:"column",borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...i&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"100vh"}}));styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:i})=>({backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:e?"100vh":"100%",overflowY:"auto",position:"absolute",width:e?"100vw":i,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"}));styled(Box,{shouldForwardProp:e=>!["isMaximized","currentHeight"].includes(e)})(({isMaximized:e,currentHeight:i})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:e?`calc(100vh - ${w}px)`:(i||h)-w+5,background:"transparent",position:"fixed",width:"100%"}));var Ve=styled(Box)(()=>({position:"fixed",width:"100%",background:"transparent",height:"100%"}));function nt({onClick:e,icon:i,label:n,disableAnimation:a,...p}){let[l,t]=tt.useState(false),{t:x}=useTranslation();return jsxs(ze,{...p,onClick:S=>{e?.(S),!a&&(t(true),setTimeout(()=>{t(false);},2e3));},children:[jsxs(it,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:l&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!l&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:i,alt:"icon"},"id-icon")})]}),n&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:l&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:x("copied")})}),jsx(AnimatePresence,{children:!l&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:n})})]})]})}var Oe=memo(nt);var b=Oe;function lt({title:e$1,onClose:i,onMaximize:n,maximized:a$1=false,id:p,onMouseHover:l,onMouseLeave:t,onRequestClick:x,isRequestExpanded:v=false,showRequestIcon:S=false,isHovered:I=false}){return jsx(c,{id:p,maximized:a$1||false,children:jsx(e,{isHovered:true,onMouseEnter:l,onMouseLeave:t,isMaximized:a$1,title:e$1,icon:Zc,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:i}),jsx(c$1,{isMaximized:a$1,onClick:n}),S&&jsx(d,{onClick:x,isExpanded:v,isHovered:I,children:"Request"})]})})})}var Me=memo(lt);var ce=Me;var q=400,E=.5;function H({index:e,json:i,requestJson:n={},isWindowMinimized:a,windowOrder:p,onClose:l}){let[t,x]=useState(false),[v,S]=useState(false),[I,L]=useState(false),[f,C]=useState(false),[V,J]=useState({width:0,height:0}),[R,k]=useState(true),[d,_e]=useState(false),[fe,Fe]=useState(true),[Le,me]=useState(false),[D,xe]=useState(q),$=useRef(),{onMouseEnter:$e,onMouseLeave:Ge,isHovered:Ye}=b$1(),{height:G,width:O}=a$1(),[we,Xe]=useState({x:O/2+q/4-e*20,y:G/2-h/2+e*30}),A=useRef(),Ze=useMemo(()=>Object.keys(i)?.length,[i]),he=Ra(),g=Number(A.current?.state?.width)||q,ge=r=>{setTimeout(()=>{navigator.clipboard.writeText(r||"").then(()=>{});},10);},ye=useMemo(()=>Object.keys(n)?.length,[n]);return useEffect(()=>{if($.current&&clearTimeout($.current),!d){$.current=setTimeout(()=>{xe(g);},E*1e3);return}xe(g);},[d,g]),jsx(xt,{disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:O/2-q/4,y:G/2-h/2},position:{x:O-we.x,y:we.y},onStop:(r,s)=>{Xe({x:O-s.x,y:s.y});},bounds:{top:10},children:jsx(Dialog,{disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(p||0)+3+(t?1:0),...a&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:he?V?.width||D:"fit-content",height:he?V?.height||h:"fit-content"},...t&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:v?"fit-content":D,height:v?"fit-content":h,...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{x(false),k(true),setTimeout(()=>{k(false);},E*1e3);},open:true,hideBackdrop:true,fullScreen:t,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:G-40,maxWidth:O,minWidth:t?"100vw":D,minHeight:t?"100vh":"300px",ref:r=>{A.current=r;},onResizeStart:()=>{k(true);},onResizeStop:()=>{k(false);},onResize:(r,s,T)=>{S(true),J({width:T.offsetWidth,height:T.offsetHeight});},defaultSize:{width:D,height:h},style:{background:"transparent",...t&&{height:"100% !important",width:"100% !important",flex:1},...t&&{position:"relative"}},children:jsxs(Ve,{children:[jsx(motion.div,{style:{...t&&{height:oe,position:"fixed",zIndex:1e3}},animate:{width:d?g*2:g,...t&&{width:"100vw"},...!t&&{transform:`translateX(${d?-g:0}px)`}},transition:{duration:E,...R&&{duration:0}},children:jsx(ce,{title:d?"JSON Request & Response":"JSON Response",onClose:()=>l(),onMaximize:()=>{x(r=>!r),k(true),setTimeout(()=>{k(false);},E*1e3);},isHovered:Ye,onMouseHover:$e,onMouseLeave:Ge,maximized:t,id:"draggable-dialog-title",onRequestClick:()=>{_e(r=>!r),k(false),d||A.current?.updateSize({width:q,height:h});},isRequestExpanded:d,showRequestIcon:!!ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:t?`calc(100vh - ${w}px)`:(Number(A.current?.state?.height)||h)-w+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:d&&jsxs(motion.div,{initial:{left:t?"50vw":0,...t&&{position:"relative",left:"-50vw"}},animate:{left:t?"50vw":-g,...t&&{position:"relative",left:"0"},...!d&&{left:0}},exit:{left:t?"50vw":0,...t&&{position:"relative",left:"0"}},transition:{duration:E,...R&&{duration:0}},style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:t?"100vh":"100%",overflowY:"auto",position:"absolute",width:t?"100vw":g,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{me(true),setTimeout(()=>{me(false);},2e3);},children:[jsxs(se,{isMaximized:t,isScrollingRequest:Le,sx:{background:"#E7E7E7B2"},isRequestShown:d,children:[jsx(de,{children:jsx(ne,{variant:"subtitle1",children:"API Request"})}),jsxs(le,{children:[jsx(b,{disableAnimation:true,onClick:()=>{Fe(r=>!r);},icon:fe?Bd:Ad}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(i)).then(()=>{});},icon:ma}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(i?.id||"").then(()=>{});},icon:ka})]})]}),jsxs(B,{value:n,style:Pe,displayDataTypes:false,collapsed:fe?1:void 0,onCopied:(r,s)=>{typeof s=="string"&&ge(s);},enableClipboard:false,children:[jsx(B.CountInfo,{render:(r,{keyName:s})=>{if(!s)return jsx("span",{})}}),jsx(B.Copied,{render:({"data-copied":r,style:s,onClick:T},{keyName:Y})=>Y?jsxs(re,{style:s,onClick:X=>{T?.(X);},children:[jsx(AnimatePresence,{children:r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:la,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:d&&jsx(ae,{sx:{flex:1,height:w,left:0},children:jsx(c$2,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:ye})})})]})}),jsxs(Ee,{isMaximized:t,isRequestShown:d,style:{left:0,maxHeight:"100vw"},initial:{...t&&{width:"100vw",left:0}},animate:{...t&&{position:"absolute",left:d?"50vw":"0"}},transition:{duration:E,...R&&{duration:0}},onScroll:()=>{C(true),setTimeout(()=>{C(false);},2e3);},children:[jsxs(se,{isMaximized:t,isScrollingRequest:f,isRequestShown:d,children:[jsx(de,{children:jsx(ne,{variant:"subtitle1",children:"API Response"})}),jsxs(le,{children:[jsx(b,{disableAnimation:true,onClick:()=>{L(r=>!r);},icon:I?Bd:Ad}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(i,null,2)).then(()=>{});},icon:ma}),jsx(b,{onClick:()=>{navigator.clipboard.writeText(i?.id||"").then(()=>{});},icon:ka})]})]}),jsxs(B,{value:i,style:ie,displayDataTypes:false,collapsed:I?1:void 0,onCopied:(r,s)=>{typeof s=="string"&&ge(s);},children:[jsx(B.CountInfo,{render:(r,{keyName:s})=>{if(!s)return jsx("span",{})}}),jsx(B.Copied,{render:({"data-copied":r,style:s,onClick:T},{keyName:Y})=>Y?jsxs(re,{style:s,onClick:X=>{T?.(X);},children:[jsx(AnimatePresence,{children:r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:na,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!r&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:la,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(ae,{sx:{flex:1,height:w},children:jsx(c$2,{sx:{borderBottomLeftRadius:d?0:"12px",background:"#f8f9fb",flex:1},totalCount:Ze})})]})]})]})})})})}var F=createContext({jsonViewerList:[],handleJsonViewerDialogOpen:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{}});var De=({list:e,onClose:i,isWindowMinimized:n,windowOrder:a})=>e?.length?jsx(Fragment,{children:e.map((p,l)=>jsx(H,{index:l,json:p.json,requestJson:p?.requestJson,onClose:()=>{i(l);},isWindowMinimized:n,windowOrder:a},p.json.id))}):null;var bt=({children:e})=>{let[i,n]=useState([]),[a,p]=useState(false),[l,t]=useState(1),x=useCallback(f=>{if(i.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(i.some(R=>R.json.id===f.json.id))return;let C=structuredClone(f.json),V=C.request_body,J={json:C,requestJson:f.requestJson||V||void 0};delete J.json.request_body,n(R=>[...R,J]);},[i]),v=f=>{n(C=>C.filter((V,J)=>f!==J));},S=f=>{p(f);},I=f=>{t(f);},L=useMemo(()=>({jsonViewerList:i,handleJsonViewerDialogOpen:x,handleWindowMinimize:S,handleWindowOrder:I}),[i,x]);return jsxs(F.Provider,{value:L,children:[e,jsx(De,{list:i,onClose:v,isWindowMinimized:a,windowOrder:l})]})};var Rt=({isWindowMinimized:e,windowOrder:i})=>{let{handleJsonViewerDialogOpen:n,handleWindowMinimize:a,handleWindowOrder:p}=useContext(F),l=useCallback(()=>{a(e);},[a,e]),t=useCallback(()=>{p(i);},[p,i]);return useEffect(()=>{t();},[t]),useEffect(()=>{l();},[l]),{handleJsonViewerDialogOpen:n}};var Mo=H;export{b as a,ce as b,F as c,De as d,bt as e,Rt as f,Mo as g};
@@ -1 +1 @@
1
- import {Ka,Ja,Ua,Ia,Fd,Gd}from'./chunk-N3WMUGVO.js';import {styled}from'@mui/material/styles';import P from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';import k from'@mui/material/Typography';var e=styled(P)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var d=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.error.main}}));function S(o){return jsx(d,{...o,className:"header-icon",children:jsx("img",{src:Ka,alt:"close"})})}var x=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.warning.main}}));function U(o){return jsx(x,{...o,className:"header-icon",children:jsx("img",{src:Ja,alt:"minimize"})})}var u=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.info.dark}}));function ro({isMaximized:o,...r}){return jsx(u,{...r,className:"header-icon",children:jsx("img",{src:o?Ua:Ia,alt:"maximize"})})}var g=styled(e,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},...r&&{backgroundColor:`${o.palette.success.main} !important`}})),h=styled(P)(({theme:o})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px","&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),y=styled(k,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({fontSize:"10px",color:o.palette.success.main,opacity:r?1:0}));function fo({isExpanded:o,isHovered:r,children:b,...B}){return jsxs(h,{...B,children:[jsx(g,{className:"header-icon",isHovered:r,children:jsx(P,{component:"img",sx:{...r&&{opacity:1}},src:o?Fd:Gd,alt:"arrow"})}),jsx(y,{className:"request-text",isHovered:r,children:b})]})}export{S as a,U as b,ro as c,fo as d};
1
+ import {Ka,Ja,Ua,Ia,Fd,Gd}from'./chunk-NK266ZWT.js';import {styled}from'@mui/material/styles';import P from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';import k from'@mui/material/Typography';var e=styled(P)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var d=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.error.main}}));function S(o){return jsx(d,{...o,className:"header-icon",children:jsx("img",{src:Ka,alt:"close"})})}var x=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.warning.main}}));function U(o){return jsx(x,{...o,className:"header-icon",children:jsx("img",{src:Ja,alt:"minimize"})})}var u=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.info.dark}}));function ro({isMaximized:o,...r}){return jsx(u,{...r,className:"header-icon",children:jsx("img",{src:o?Ua:Ia,alt:"maximize"})})}var g=styled(e,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},...r&&{backgroundColor:`${o.palette.success.main} !important`}})),h=styled(P)(({theme:o})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px","&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),y=styled(k,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({fontSize:"10px",color:o.palette.success.main,opacity:r?1:0}));function fo({isExpanded:o,isHovered:r,children:b,...B}){return jsxs(h,{...B,children:[jsx(g,{className:"header-icon",isHovered:r,children:jsx(P,{component:"img",sx:{...r&&{opacity:1}},src:o?Fd:Gd,alt:"arrow"})}),jsx(y,{className:"request-text",isHovered:r,children:b})]})}export{S as a,U as b,ro as c,fo as d};
@@ -1 +1 @@
1
- import {b as b$1}from'./chunk-J4YYI4VU.js';import {memo}from'react';import {styled}from'@mui/material/styles';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(b$1)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),p=styled("span")(()=>({display:"flex",alignItems:"center"}));function l({amount:m,currency:t,...s}){return jsx(n,{disableAnimation:true,expandDirection:"left",...s,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(p,{children:t}),m]})})}var i=memo(l);var b=i;export{b as a};
1
+ import {b as b$1}from'./chunk-GS2X4BJY.js';import {memo}from'react';import {styled}from'@mui/material/styles';import {Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(b$1)(()=>({backgroundColor:"#EFF1F2",border:"none",display:"flex",alignItems:"center",justifyContent:"center"})),p=styled("span")(()=>({display:"flex",alignItems:"center"}));function l({amount:m,currency:t,...s}){return jsx(n,{disableAnimation:true,expandDirection:"left",...s,children:jsxs(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"},children:[t&&jsx(p,{children:t}),m]})})}var i=memo(l);var b=i;export{b as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-CNIYZZCP.js';import {Wh,Pd}from'./chunk-N3WMUGVO.js';import M from'@mui/material/Box';import {Box}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var c=styled(Box)(({theme:t})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:t.palette.grey[400],gap:"8px",cursor:"pointer"})),m=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:t.palette.text.primary,cursor:"pointer",gap:"8px"})),l=styled("span")(({theme:t})=>({fontWeight:500,color:t.palette.text.primary,cursor:"pointer",fontSize:"9px"})),n=styled(Box)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:t.palette.text.primary})),f=styled(Box)(({theme:t})=>({color:alpha(t.palette.text.primary,.3),fontSize:"8px",fontWeight:500})),u=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",background:t.palette.common.white,borderRadius:"4px",border:`1px solid ${t.palette.divider}`})),y=styled(a)(({theme:t})=>({color:t.palette.error.main,fontSize:"8px",fontWeight:500}));var j=({getRootProps:t,getInputProps:C,open:U,onChangeFiles:h,processFiles:F,disabled:W,errorMessage:a,maxFileSize:I,preventDuplicates:b,label:P="Click to upload",hintText:S,sx:k})=>jsxs(c,{...t(),sx:k,onClick:U,children:[jsx("input",{"data-slot":"input",...C(),onChange:T=>{let i=F(Array.from(T.target.files||[]));(i.length>0||!b)&&h(i);},disabled:W}),jsxs(m,{"data-slot":"content",children:[jsx(u,{"data-slot":"icon-wrapper",children:jsx(M,{component:"img",src:a?Wh:Pd,width:16,height:16})}),a?jsxs(n,{children:[jsx(y,{children:a}),jsx(l,{children:"Click to upload again"})]}):jsxs(n,{children:[jsx(l,{children:P}),jsx(f,{children:S||`PDF, JPG or PNG files up to ${I}`})]})]})]}),g=j;var N=g;export{N as a};
1
+ import {a}from'./chunk-CNIYZZCP.js';import {Xh,Pd}from'./chunk-NK266ZWT.js';import M from'@mui/material/Box';import {Box}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var c=styled(Box)(({theme:t})=>({width:"100%",borderRadius:"4px",padding:"4px 8px",display:"flex",alignItems:"center",justifyContent:"flex-start",background:t.palette.grey[400],gap:"8px",cursor:"pointer"})),m=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",color:t.palette.text.primary,cursor:"pointer",gap:"8px"})),l=styled("span")(({theme:t})=>({fontWeight:500,color:t.palette.text.primary,cursor:"pointer",fontSize:"9px"})),n=styled(Box)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",gap:"4px",color:t.palette.text.primary})),f=styled(Box)(({theme:t})=>({color:alpha(t.palette.text.primary,.3),fontSize:"8px",fontWeight:500})),u=styled(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",background:t.palette.common.white,borderRadius:"4px",border:`1px solid ${t.palette.divider}`})),y=styled(a)(({theme:t})=>({color:t.palette.error.main,fontSize:"8px",fontWeight:500}));var j=({getRootProps:t,getInputProps:C,open:U,onChangeFiles:h,processFiles:F,disabled:W,errorMessage:a,maxFileSize:I,preventDuplicates:b,label:P="Click to upload",hintText:S,sx:k})=>jsxs(c,{...t(),sx:k,onClick:U,children:[jsx("input",{"data-slot":"input",...C(),onChange:T=>{let i=F(Array.from(T.target.files||[]));(i.length>0||!b)&&h(i);},disabled:W}),jsxs(m,{"data-slot":"content",children:[jsx(u,{"data-slot":"icon-wrapper",children:jsx(M,{component:"img",src:a?Xh:Pd,width:16,height:16})}),a?jsxs(n,{children:[jsx(y,{children:a}),jsx(l,{children:"Click to upload again"})]}):jsxs(n,{children:[jsx(l,{children:P}),jsx(f,{children:S||`PDF, JPG or PNG files up to ${I}`})]})]})]}),g=j;var N=g;export{N as a};
@@ -1 +1 @@
1
- import'./chunk-BZPQ5ZFC.js';import {a}from'./chunk-R43YILB3.js';import {memo}from'react';import n from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var x="32px";var m=styled(n,{shouldForwardProp:e=>e!=="isMaximized"})(({theme:e,isMaximized:o})=>({background:alpha(e.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:o?x:"16px",height:"100%",overflow:"auto"})),u=styled(n)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),l=styled(n,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:o})=>({background:o?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:o?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),s=styled(n,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:o})=>({background:o?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600}));function B({sections:e,isMaximized:o,onClick:p,activeSection:b,activeSubSection:S}){let d=b||e?.[0]?.id,g=S||e?.[0]?.subSections?.[0]?.id;return jsx(m,{isMaximized:o,children:jsx(u,{children:e?.map(t=>jsx(a,{defaultExpanded:d===t.id,summarySx:{padding:0,minHeight:0,marginBottom:"4px",borderRadius:"4px !important","& .MuiAccordionSummary-content":{margin:"0 !important"}},sx:{background:"transparent",border:"none !important","&.MuiAccordion-root":{borderRadius:"4px !important"}},Header:jsx(s,{onClick:()=>{p?.(t.id,t.subSections?.[0]?.id);},isActive:d===t.id,children:t.title},t.id),children:jsx(Fragment,{children:t.subSections?.map(i=>jsx(l,{onClick:()=>{p?.(t.id,i.id);},isActive:g===i.id,children:i.title},`${t.id}-${i.id}`))})},`${t.id}`))})})}var f=memo(B);var P=f;export{P as a};
1
+ import'./chunk-7DADB2HO.js';import {a}from'./chunk-ARP7EMGQ.js';import {memo}from'react';import n from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var x="32px";var m=styled(n,{shouldForwardProp:e=>e!=="isMaximized"})(({theme:e,isMaximized:o})=>({background:alpha(e.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:o?x:"16px",height:"100%",overflow:"auto"})),u=styled(n)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),l=styled(n,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:o})=>({background:o?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:o?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),s=styled(n,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:o})=>({background:o?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600}));function B({sections:e,isMaximized:o,onClick:p,activeSection:b,activeSubSection:S}){let d=b||e?.[0]?.id,g=S||e?.[0]?.subSections?.[0]?.id;return jsx(m,{isMaximized:o,children:jsx(u,{children:e?.map(t=>jsx(a,{defaultExpanded:d===t.id,summarySx:{padding:0,minHeight:0,marginBottom:"4px",borderRadius:"4px !important","& .MuiAccordionSummary-content":{margin:"0 !important"}},sx:{background:"transparent",border:"none !important","&.MuiAccordion-root":{borderRadius:"4px !important"}},Header:jsx(s,{onClick:()=>{p?.(t.id,t.subSections?.[0]?.id);},isActive:d===t.id,children:t.title},t.id),children:jsx(Fragment,{children:t.subSections?.map(i=>jsx(l,{onClick:()=>{p?.(t.id,i.id);},isActive:g===i.id,children:i.title},`${t.id}-${i.id}`))})},`${t.id}`))})})}var f=memo(B);var P=f;export{P as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-YU46KKNN.js';import {Kg,w}from'./chunk-N3WMUGVO.js';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(a$1)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),s=styled(h)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var g=({value:o,name:c,placeholder:d,onSearchChange:m,onSearchReset:l,...u})=>jsx(s,{...u,children:jsx(a,{className:"input",name:c,placeholder:d,onChange:f=>m(f.target.value),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(h,{component:"img","data-icon":o?"close":"search",src:o?Kg:w,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:l})})}),i=g;var k=i;export{k as a};
1
+ import {a as a$1}from'./chunk-YU46KKNN.js';import {Kg,w}from'./chunk-NK266ZWT.js';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(a$1)(({theme:o})=>({border:`1px solid ${o.palette.divider}`,".icon":{width:14}})),s=styled(h)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}}));var g=({value:o,name:c,placeholder:d,onSearchChange:m,onSearchReset:l,...u})=>jsx(s,{...u,children:jsx(a,{className:"input",name:c,placeholder:d,onChange:f=>m(f.target.value),value:o,inputProps:{autoComplete:"off"},endAdornment:jsx(h,{component:"img","data-icon":o?"close":"search",src:o?Kg:w,alt:"search",className:"icon",sx:{cursor:o?"pointer":"default"},onClick:l})})}),i=g;var k=i;export{k as a};
@@ -1 +1 @@
1
- import {zb,jc}from'./chunk-IYZWNIGG.js';import {na,la,Ml}from'./chunk-N3WMUGVO.js';import {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:s,textColor:r=o.palette.text.primary,bgColor:e="#EFF1F2",borderColor:c="#EFF1F2",disabled:d=false,padding:i,minWidth:n,maxWidth:a,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:r,cursor:d?"not-allowed":"pointer",opacity:d?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:n||"67px",maxWidth:a||"none",width:"fit-content",overflow:"hidden",textOverflow:a?"ellipsis":"unset",boxSizing:"border-box",...s&&{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"}}})),u=styled(f)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),I=styled(f)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var H=({children:o,unknownText:s,copyText:r,expandDirection:e="right",chipStyles:c,containerStyles:d,fullWidth:i=false,...n})=>{let[a,l]=useState(false),{t:C}=useTranslation(),p=n.isSelected,g=p&&r,w=useCallback(x=>{if(x.stopPropagation(),r){l(true),zb(r);let R=setTimeout(()=>{l(false);},2e3);return ()=>{clearTimeout(R);}}},[r]),S=useMemo(()=>jsx(I,{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:w,src:a?na:la,style:{height:12,width:12,objectFit:"contain"}})}),[a,w,e]),b=g&&e==="right",v=g&&e==="left";return o?jsxs(motion.div,{style:{position:"relative",...d,...i&&{width:"100%",minWidth:0}},animate:{zIndex:p?3:0},children:[jsx(m,{...n,sx:{visibility:"hidden",pointerEvents:"none",width:i?"100%":"auto"},children:jsx(u,{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,{...n,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:{...b&&{paddingRight:12},...v&&{paddingLeft:12}},transition:{delay:p?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:v&&S}),jsx(u,{"data-is-arabic":typeof o=="string"&&jc(o),children:o}),jsx(AnimatePresence,{children:b&&S})]})})})]}):jsx(m,{...Ml,...n,isSelected:false,sx:x=>({borderColor:x.palette.divider,width:i?"100%":"auto"}),children:C(s||"unknown")})},M=H;var D=M;export{D as a};
1
+ import {Bb,lc}from'./chunk-MRFF7D7J.js';import {na,la,Ol}from'./chunk-NK266ZWT.js';import {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:s,textColor:r=o.palette.text.primary,bgColor:e="#EFF1F2",borderColor:c="#EFF1F2",disabled:d=false,padding:i,minWidth:n,maxWidth:a,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:r,cursor:d?"not-allowed":"pointer",opacity:d?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:n||"67px",maxWidth:a||"none",width:"fit-content",overflow:"hidden",textOverflow:a?"ellipsis":"unset",boxSizing:"border-box",...s&&{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"}}})),u=styled(f)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),I=styled(f)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var H=({children:o,unknownText:s,copyText:r,expandDirection:e="right",chipStyles:c,containerStyles:d,fullWidth:i=false,...n})=>{let[a,l]=useState(false),{t:C}=useTranslation(),p=n.isSelected,g=p&&r,w=useCallback(x=>{if(x.stopPropagation(),r){l(true),Bb(r);let R=setTimeout(()=>{l(false);},2e3);return ()=>{clearTimeout(R);}}},[r]),S=useMemo(()=>jsx(I,{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:w,src:a?na:la,style:{height:12,width:12,objectFit:"contain"}})}),[a,w,e]),b=g&&e==="right",v=g&&e==="left";return o?jsxs(motion.div,{style:{position:"relative",...d,...i&&{width:"100%",minWidth:0}},animate:{zIndex:p?3:0},children:[jsx(m,{...n,sx:{visibility:"hidden",pointerEvents:"none",width:i?"100%":"auto"},children:jsx(u,{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,{...n,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:{...b&&{paddingRight:12},...v&&{paddingLeft:12}},transition:{delay:p?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:v&&S}),jsx(u,{"data-is-arabic":typeof o=="string"&&lc(o),children:o}),jsx(AnimatePresence,{children:b&&S})]})})})]}):jsx(m,{...Ol,...n,isSelected:false,sx:x=>({borderColor:x.palette.divider,width:i?"100%":"auto"}),children:C(s||"unknown")})},M=H;var D=M;export{D as a};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-OPS2H7Q5.js';import {a as a$3}from'./chunk-4W6J54AY.js';import {a as a$1}from'./chunk-26YGUUXY.js';import {a as a$4}from'./chunk-NKNRVF6Q.js';import {a}from'./chunk-CNIYZZCP.js';import {nb,wb,w,ub,Hc}from'./chunk-N3WMUGVO.js';import re,{useState,useRef,useMemo}from'react';import {Box,CircularProgress,Typography}from'@mui/material';import le from'@mui/material/ClickAwayListener';import f from'@mui/material/Box';import j from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';styled(a)(({theme:e})=>({fontSize:"10px",color:e.palette.grey[700],fontWeight:600,lineHeight:"10px"}));styled(a)(({theme:e})=>({fontSize:"11px",color:e.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200}));styled(f)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"}));var A=styled(j)(({theme:e})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:e.palette.info.dark}}));styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}}));var L=styled(f)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),B=styled(f)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap",paddingInlineEnd:"20px"})),M=styled(f)(({theme:e,maxWidth:p})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${e.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer",...p&&{maxWidth:`${p}%`}}));styled(a)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:e.palette.common.black,cursor:"pointer",padding:8}));var H=styled(f)(({theme:e})=>({width:"100%",flexDirection:"column",border:`1px solid ${e.palette.grey[100]}`,borderRadius:"4px",backgroundColor:e.palette.grey[400],minWidth:"89px",position:"relative"})),z=styled(f)(()=>({position:"absolute",right:8,bottom:13.5,width:15,height:15}));var D=(e,p,l)=>e.map(n=>{let c=n?.options.map(i=>{let S=i?.options?.filter(r=>l.some(m=>r?.[m]?.toLowerCase().includes(p.toLowerCase())));return {...i,options:S}}).filter(i=>i?.options?.length>0);return {...n,options:c}}).filter(n=>n?.options?.length>0);function N({childOption:e,selectedOptions:p,onChangeOptions:l}){let[n,c]=useState(null),i=r=>{l([...p||[],r]);},S=r=>{l(p?.filter(m=>m.value!==r.value)||[]);};return jsxs(a$2,{onMouseEnter:r=>{e.options?.length>0&&c(r.currentTarget);},onMouseLeave:()=>{n&&c(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"220px",minWidth:"89px"},children:[e.label,jsx("img",{src:nb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!n,anchorEl:n,placement:"right-start",children:e.options?.map(r=>{let a=!!p?.find(d=>d.value===r.value);return jsx(a$2,{isSelected:a,onClick:d=>{d.stopPropagation(),d.preventDefault(),a?S(r):i(r);},children:jsx(Box,{sx:{flex:1,maxWidth:"220px",minWidth:"89px"},children:r.label})},r.value)})})]})}function G({parentOption:e,selectedOptions:p,onChangeOptions:l}){let[n,c]=useState(null);return jsxs(a$2,{onMouseEnter:i=>{e.options?.length>0&&c(i.currentTarget);},onMouseLeave:()=>{n&&c(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"340px",minWidth:"89px"},children:[e.label,jsx("img",{src:nb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!n,anchorEl:n,placement:"right-start",children:e.options?.map(i=>jsx(N,{childOption:i,selectedOptions:p,onChangeOptions:l},i.label))})]})}function ae({nestedOptions:e,onChangeOptions:p,selectedOptions:l,placeholder:n,isLoading:c,searchBy:i=["label"],disabled:S}){let[r,m]=useState(null),[a,d]=useState(""),q=useRef(null),y=!!r,J=t=>{m(y?null:t.currentTarget);},K=()=>{m(null);},Q=()=>{a&&d("");},Y=useMemo(()=>a?D(e,a,i):e,[e,a,i]),Z=c?jsx(CircularProgress,{size:16}):jsx(a$4,{src:a?wb:w,alt:a?"close":"search",onClick:Q,sx:{width:12,height:12}}),x=Number(l?.length??0);return jsx(le,{onClickAway:()=>{y&&K();},children:jsxs(H,{id:"TriggerWrapper",onClick:t=>!S&&J(t),ref:q,children:[jsx(Typography,{color:"grey",sx:{cursor:"pointer",fontSize:"10px",padding:"4px"},component:"label",children:n}),x===0&&jsx(Typography,{sx:{fontWeight:500,fontSize:"11px",padding:"0px 4px 4px"},component:"p",children:"Please Select"}),jsx(z,{component:"img",src:ub,alt:"down arrow",sx:{...y&&{transform:"rotate(180deg)"}}}),!!x&&jsx(B,{id:"SelectedBadgesWrapper",children:x>0&&x<=2?l?.map(t=>jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]},t.value)):x>2&&l?.slice(0,2)?.map((t,b)=>jsxs(re.Fragment,{children:[jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]}),b===1&&jsx(M,{maxWidth:90,children:jsxs("span",{children:["+",x-2]})})]},t.value))}),jsx(a$3,{open:y,anchorEl:r,sx:{margin:"8px 0",maxHeight:330,overflow:"auto",maxWidth:"340px"},children:jsxs(L,{children:[jsx(A,{placeholder:n||"Select",endAdornment:Z,onClick:t=>{t.stopPropagation();},value:a,onChange:t=>{d(t.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...e.length&&{marginBottom:"4px"},...a&&{cursor:"pointer"}}}),jsx(B,{children:l?.map(t=>jsxs(M,{sx:{maxWidth:"150px"},onClick:b=>{b.stopPropagation(),b.preventDefault(),p(l?.filter(_=>_.value!==t.value)||[]);},children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.label}),jsx(a$4,{src:wb,alt:"close",sx:{width:9,height:9}})]},t.value))}),Y?.map(t=>jsx(G,{parentOption:t,selectedOptions:l,onChangeOptions:p},t.label))]})})]})})}var X=ae;var Qe=X;export{N as a,G as b,Qe as c};
1
+ import {a as a$2}from'./chunk-ELLASN4E.js';import {a as a$3}from'./chunk-4W6J54AY.js';import {a as a$1}from'./chunk-3RB7SOD6.js';import {a as a$4}from'./chunk-NKNRVF6Q.js';import {a}from'./chunk-CNIYZZCP.js';import {nb,wb,w,ub,Hc}from'./chunk-NK266ZWT.js';import re,{useState,useRef,useMemo}from'react';import {Box,CircularProgress,Typography}from'@mui/material';import le from'@mui/material/ClickAwayListener';import f from'@mui/material/Box';import j from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';styled(a)(({theme:e})=>({fontSize:"10px",color:e.palette.grey[700],fontWeight:600,lineHeight:"10px"}));styled(a)(({theme:e})=>({fontSize:"11px",color:e.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200}));styled(f)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"}));var A=styled(j)(({theme:e})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:e.palette.info.dark}}));styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}}));var L=styled(f)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),B=styled(f)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap",paddingInlineEnd:"20px"})),M=styled(f)(({theme:e,maxWidth:p})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${e.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer",...p&&{maxWidth:`${p}%`}}));styled(a)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:e.palette.common.black,cursor:"pointer",padding:8}));var H=styled(f)(({theme:e})=>({width:"100%",flexDirection:"column",border:`1px solid ${e.palette.grey[100]}`,borderRadius:"4px",backgroundColor:e.palette.grey[400],minWidth:"89px",position:"relative"})),z=styled(f)(()=>({position:"absolute",right:8,bottom:13.5,width:15,height:15}));var D=(e,p,l)=>e.map(n=>{let c=n?.options.map(i=>{let S=i?.options?.filter(r=>l.some(m=>r?.[m]?.toLowerCase().includes(p.toLowerCase())));return {...i,options:S}}).filter(i=>i?.options?.length>0);return {...n,options:c}}).filter(n=>n?.options?.length>0);function N({childOption:e,selectedOptions:p,onChangeOptions:l}){let[n,c]=useState(null),i=r=>{l([...p||[],r]);},S=r=>{l(p?.filter(m=>m.value!==r.value)||[]);};return jsxs(a$2,{onMouseEnter:r=>{e.options?.length>0&&c(r.currentTarget);},onMouseLeave:()=>{n&&c(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"220px",minWidth:"89px"},children:[e.label,jsx("img",{src:nb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!n,anchorEl:n,placement:"right-start",children:e.options?.map(r=>{let a=!!p?.find(d=>d.value===r.value);return jsx(a$2,{isSelected:a,onClick:d=>{d.stopPropagation(),d.preventDefault(),a?S(r):i(r);},children:jsx(Box,{sx:{flex:1,maxWidth:"220px",minWidth:"89px"},children:r.label})},r.value)})})]})}function G({parentOption:e,selectedOptions:p,onChangeOptions:l}){let[n,c]=useState(null);return jsxs(a$2,{onMouseEnter:i=>{e.options?.length>0&&c(i.currentTarget);},onMouseLeave:()=>{n&&c(null);},children:[jsxs(Box,{sx:{display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",maxWidth:"340px",minWidth:"89px"},children:[e.label,jsx("img",{src:nb,className:"arrow-icon",alt:"arrow"})]}),jsx(a$3,{sx:{maxHeight:"450px",overflow:"auto"},open:!!n,anchorEl:n,placement:"right-start",children:e.options?.map(i=>jsx(N,{childOption:i,selectedOptions:p,onChangeOptions:l},i.label))})]})}function ae({nestedOptions:e,onChangeOptions:p,selectedOptions:l,placeholder:n,isLoading:c,searchBy:i=["label"],disabled:S}){let[r,m]=useState(null),[a,d]=useState(""),q=useRef(null),y=!!r,J=t=>{m(y?null:t.currentTarget);},K=()=>{m(null);},Q=()=>{a&&d("");},Y=useMemo(()=>a?D(e,a,i):e,[e,a,i]),Z=c?jsx(CircularProgress,{size:16}):jsx(a$4,{src:a?wb:w,alt:a?"close":"search",onClick:Q,sx:{width:12,height:12}}),x=Number(l?.length??0);return jsx(le,{onClickAway:()=>{y&&K();},children:jsxs(H,{id:"TriggerWrapper",onClick:t=>!S&&J(t),ref:q,children:[jsx(Typography,{color:"grey",sx:{cursor:"pointer",fontSize:"10px",padding:"4px"},component:"label",children:n}),x===0&&jsx(Typography,{sx:{fontWeight:500,fontSize:"11px",padding:"0px 4px 4px"},component:"p",children:"Please Select"}),jsx(z,{component:"img",src:ub,alt:"down arrow",sx:{...y&&{transform:"rotate(180deg)"}}}),!!x&&jsx(B,{id:"SelectedBadgesWrapper",children:x>0&&x<=2?l?.map(t=>jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]},t.value)):x>2&&l?.slice(0,2)?.map((t,b)=>jsxs(re.Fragment,{children:[jsxs(M,{maxWidth:90,children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{children:t.label})]}),b===1&&jsx(M,{maxWidth:90,children:jsxs("span",{children:["+",x-2]})})]},t.value))}),jsx(a$3,{open:y,anchorEl:r,sx:{margin:"8px 0",maxHeight:330,overflow:"auto",maxWidth:"340px"},children:jsxs(L,{children:[jsx(A,{placeholder:n||"Select",endAdornment:Z,onClick:t=>{t.stopPropagation();},value:a,onChange:t=>{d(t.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...e.length&&{marginBottom:"4px"},...a&&{cursor:"pointer"}}}),jsx(B,{children:l?.map(t=>jsxs(M,{sx:{maxWidth:"150px"},onClick:b=>{b.stopPropagation(),b.preventDefault(),p(l?.filter(_=>_.value!==t.value)||[]);},children:[jsx(a$4,{src:Hc,alt:"blue-check",sx:{width:10,height:7.5}}),jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.label}),jsx(a$4,{src:wb,alt:"close",sx:{width:9,height:9}})]},t.value))}),Y?.map(t=>jsx(G,{parentOption:t,selectedOptions:l,onChangeOptions:p},t.label))]})})]})})}var X=ae;var Qe=X;export{N as a,G as b,Qe as c};
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-JAXERZJ3.js';import {a as a$3}from'./chunk-PAOJKU5D.js';import {a as a$1}from'./chunk-26YGUUXY.js';import {a}from'./chunk-CNIYZZCP.js';import {wb,w,Hc}from'./chunk-N3WMUGVO.js';import {useState,useMemo}from'react';import c from'@mui/material/Box';import $ from'@mui/material/Input';import {styled}from'@mui/material/styles';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var Y=styled(a)(({theme:o})=>({fontSize:"10px",color:o.palette.grey[700],fontWeight:600,lineHeight:"10px"})),Z=styled(a)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200})),_=styled(c)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"})),k=styled($)(({theme:o})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:o.palette.info.dark}})),O=styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}})),W=styled(c)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),ee=styled(c)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap"})),oe=styled(c)(({theme:o})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${o.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer"})),F=styled(a)(({theme:o,selected:a})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:o.palette.common.black,cursor:"pointer",padding:8,justifyContent:"space-between",...a&&{backgroundColor:"#F8F8F8"}}));function q({options:o,onChangeOption:a,selectedOption:l,placeholder:D,label:M,isLoading:z,renderOption:f,iconUrl:d,disabled:u,onClearValue:A}){let[g,S]=useState(null),[n,m]=useState(""),x=!!g,H=e=>{S(x?null:e.currentTarget);},h=()=>{S(null),m("");},T=z?jsx(CircularProgress,{size:16}):jsx(c,{component:"img",src:n?wb:w,alt:"search",onClick:()=>{n&&m("");}}),R=useMemo(()=>n?o.filter(e=>{let p=e?.label?.toLowerCase(),X=e?.value?.toLowerCase();return p?.includes(n.toLowerCase())||X?.includes(n.toLowerCase())}):o,[o,n]),V=useMemo(()=>jsx(c,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(c,{component:"img",src:d,alt:"icon",sx:{maxWidth:12,height:12}})}),[d]);return jsx(a$2,{disabled:u,open:x,anchorEl:g,onOpen:e=>!u&&H(e),onClose:h,hasValue:!!l?.value,onClear:A,trigger:jsx(a$3,{name:"name",placeholder:"Please Select",hasError:false,label:M,sx:{cursor:"pointer"},value:l?.label||"",InputLabelProps:{filled:!!l?.label},disabled:u,InputProps:{disableUnderline:true,...!!d&&{startAdornment:V}}}),children:jsxs(W,{children:[jsx(k,{placeholder:D||"Select",endAdornment:T,onClick:e=>{e.stopPropagation();},value:n,onChange:e=>{m(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...n&&{cursor:"pointer"}}}),R.map(e=>f?f(e,{closeDropdown:h,open:x}):jsxs(F,{selected:l?.value===e.value,onClick:p=>{p.stopPropagation(),p.preventDefault(),l?.value===e.value?a(null):a(e),h();},children:[jsx("span",{children:e.label}),l?.value===e?.value&&jsx(c,{component:"img",src:Hc,alt:"close",sx:{width:10,height:7.5}})]},e.value))]})})}var L=q;var xe=L;export{Y as a,Z as b,_ as c,k as d,O as e,W as f,ee as g,oe as h,F as i,xe as j};
1
+ import {a as a$2}from'./chunk-APIJ4QLV.js';import {a as a$3}from'./chunk-4Q2P3FSI.js';import {a as a$1}from'./chunk-3RB7SOD6.js';import {a}from'./chunk-CNIYZZCP.js';import {wb,w,Hc}from'./chunk-NK266ZWT.js';import {useState,useMemo}from'react';import c from'@mui/material/Box';import $ from'@mui/material/Input';import {styled}from'@mui/material/styles';import {CircularProgress}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var Y=styled(a)(({theme:o})=>({fontSize:"10px",color:o.palette.grey[700],fontWeight:600,lineHeight:"10px"})),Z=styled(a)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200})),_=styled(c)(()=>({display:"flex",flexDirection:"column",maxHeight:400,overflow:"auto",gap:"8px"})),k=styled($)(({theme:o})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:o.palette.info.dark}})),O=styled(a$1)(()=>({padding:0,width:12,height:12,".MuiSvgIcon-root, img":{width:12,height:12}})),W=styled(c)(()=>({display:"flex",flexDirection:"column",gap:"8px",padding:"4px"})),ee=styled(c)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap"})),oe=styled(c)(({theme:o})=>({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${o.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer"})),F=styled(a)(({theme:o,selected:a})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:o.palette.common.black,cursor:"pointer",padding:8,justifyContent:"space-between",...a&&{backgroundColor:"#F8F8F8"}}));function q({options:o,onChangeOption:a,selectedOption:l,placeholder:D,label:M,isLoading:z,renderOption:f,iconUrl:d,disabled:u,onClearValue:A}){let[g,S]=useState(null),[n,m]=useState(""),x=!!g,H=e=>{S(x?null:e.currentTarget);},h=()=>{S(null),m("");},T=z?jsx(CircularProgress,{size:16}):jsx(c,{component:"img",src:n?wb:w,alt:"search",onClick:()=>{n&&m("");}}),R=useMemo(()=>n?o.filter(e=>{let p=e?.label?.toLowerCase(),X=e?.value?.toLowerCase();return p?.includes(n.toLowerCase())||X?.includes(n.toLowerCase())}):o,[o,n]),V=useMemo(()=>jsx(c,{sx:{display:"flex",alignItems:"center",maxWidth:16},children:jsx(c,{component:"img",src:d,alt:"icon",sx:{maxWidth:12,height:12}})}),[d]);return jsx(a$2,{disabled:u,open:x,anchorEl:g,onOpen:e=>!u&&H(e),onClose:h,hasValue:!!l?.value,onClear:A,trigger:jsx(a$3,{name:"name",placeholder:"Please Select",hasError:false,label:M,sx:{cursor:"pointer"},value:l?.label||"",InputLabelProps:{filled:!!l?.label},disabled:u,InputProps:{disableUnderline:true,...!!d&&{startAdornment:V}}}),children:jsxs(W,{children:[jsx(k,{placeholder:D||"Select",endAdornment:T,onClick:e=>{e.stopPropagation();},value:n,onChange:e=>{m(e.target.value);},disableUnderline:true,sx:{cursor:"default",width:"100%",backgroundColor:"white",border:"1px solid #F2F2F2",...o.length&&{marginBottom:"4px"},...n&&{cursor:"pointer"}}}),R.map(e=>f?f(e,{closeDropdown:h,open:x}):jsxs(F,{selected:l?.value===e.value,onClick:p=>{p.stopPropagation(),p.preventDefault(),l?.value===e.value?a(null):a(e),h();},children:[jsx("span",{children:e.label}),l?.value===e?.value&&jsx(c,{component:"img",src:Hc,alt:"close",sx:{width:10,height:7.5}})]},e.value))]})})}var L=q;var xe=L;export{Y as a,Z as b,_ as c,k as d,O as e,W as f,ee as g,oe as h,F as i,xe as j};
@@ -1 +1 @@
1
- import {a,d,b,c,j as j$1,e}from'./chunk-OKQTYPM5.js';import {Xb,Yb}from'./chunk-N3WMUGVO.js';import {memo,useState}from'react';import X from'@mui/material/ClickAwayListener';import Z from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import i from'@mui/material/Box';import l from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var W=styled(l)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),O=styled(i)(()=>({position:"relative"})),z=styled(i,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({display:t?"flex":"none",flexDirection:"column",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),top:37,color:e.palette.text.primary,fontSize:"11px",margin:"8px 0",".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"}})),H=styled(l,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:500,padding:e.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,textTransform:"none",height:32,...t&&{border:"1px solid",borderColor:e.palette.info.dark,boxShadow:e.shadows[7]}})),j=styled(i)(({theme:t})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:8,padding:"16px",borderTop:`1px solid ${t.palette.divider}`})),A=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:t.palette.text.primary,border:"1px solid",borderColor:t.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:t.palette.text.primary}})),E=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:t.palette.info.dark,"&:hover":{background:t.palette.info.dark}})),Y=styled(i)(()=>({display:"flex",gap:"8px"}));var te=["Su","Mo","Tu","We","Th","Fr","Sa"];function re({isAr:t=false,value:e$1,setValue:y,enableTimePicker:p,placement:L,sx:R,...I}){let[w,k]=useState(null),[C,N]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),[D,g]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),V=e$1?.hour?a(e$1.hour):d(),$=e$1?.hour?b(e$1.hour):b(new Date().getHours()),[a$1,q]=useState({hour:V,minute:e$1?.minute??c(),period:$}),{t:B}=useTranslation(),u=!!w,G=r=>r==="right"?t?Xb:Yb:t?Yb:Xb,J=r=>{k(r.currentTarget);},f=()=>{k(null);},K=()=>{let r=a$1.hour;p&&(r=e(a$1.hour,a$1.period||"AM"));let d=p?D.setHour(r).setMinute(a$1.minute):D;N(d),y&&y(d),f();},Q=r=>{q(r);};return jsx(X,{onClickAway:f,children:jsxs(O,{sx:{...R},children:[jsx(H,{onClick:J,open:u,className:"date-button",children:C.format("MMM D, YYYY")}),jsx(Z,{open:u,anchorEl:w,placement:L,children:jsxs(z,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(r,d)=>jsx(W,{onClick:d,children:jsx("img",{src:G(r),alt:"arrow"})}),onMonthChange:r=>{g(r);},onYearChange:r=>{g(r);},onChange:r=>{g(r);},weekDays:t?void 0:te,minDate:new Date,value:C,...I}),jsxs(j,{sx:{...p&&{justifyContent:"space-between"}},children:[p&&jsx(j$1,{enableRealTimeChange:true,onChange:Q,defaultTime:a$1}),jsxs(Y,{children:[jsx(A,{variant:"contained",onClick:f,children:B("cancel")}),jsx(E,{variant:"contained",onClick:K,children:B("okay")})]})]})]})})]})})}var F=memo(re);var Ce=F;export{Ce as a};
1
+ import {a,d,b,c,j as j$1,e}from'./chunk-TF4KUC77.js';import {Xb,Yb}from'./chunk-NK266ZWT.js';import {memo,useState}from'react';import X from'@mui/material/ClickAwayListener';import Z from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import i from'@mui/material/Box';import l from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var W=styled(l)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),O=styled(i)(()=>({position:"relative"})),z=styled(i,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({display:t?"flex":"none",flexDirection:"column",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),top:37,color:e.palette.text.primary,fontSize:"11px",margin:"8px 0",".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"}})),H=styled(l,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:500,padding:e.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,textTransform:"none",height:32,...t&&{border:"1px solid",borderColor:e.palette.info.dark,boxShadow:e.shadows[7]}})),j=styled(i)(({theme:t})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:8,padding:"16px",borderTop:`1px solid ${t.palette.divider}`})),A=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:t.palette.text.primary,border:"1px solid",borderColor:t.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:t.palette.text.primary}})),E=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:t.palette.info.dark,"&:hover":{background:t.palette.info.dark}})),Y=styled(i)(()=>({display:"flex",gap:"8px"}));var te=["Su","Mo","Tu","We","Th","Fr","Sa"];function re({isAr:t=false,value:e$1,setValue:y,enableTimePicker:p,placement:L,sx:R,...I}){let[w,k]=useState(null),[C,N]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),[D,g]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),V=e$1?.hour?a(e$1.hour):d(),$=e$1?.hour?b(e$1.hour):b(new Date().getHours()),[a$1,q]=useState({hour:V,minute:e$1?.minute??c(),period:$}),{t:B}=useTranslation(),u=!!w,G=r=>r==="right"?t?Xb:Yb:t?Yb:Xb,J=r=>{k(r.currentTarget);},f=()=>{k(null);},K=()=>{let r=a$1.hour;p&&(r=e(a$1.hour,a$1.period||"AM"));let d=p?D.setHour(r).setMinute(a$1.minute):D;N(d),y&&y(d),f();},Q=r=>{q(r);};return jsx(X,{onClickAway:f,children:jsxs(O,{sx:{...R},children:[jsx(H,{onClick:J,open:u,className:"date-button",children:C.format("MMM D, YYYY")}),jsx(Z,{open:u,anchorEl:w,placement:L,children:jsxs(z,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(r,d)=>jsx(W,{onClick:d,children:jsx("img",{src:G(r),alt:"arrow"})}),onMonthChange:r=>{g(r);},onYearChange:r=>{g(r);},onChange:r=>{g(r);},weekDays:t?void 0:te,minDate:new Date,value:C,...I}),jsxs(j,{sx:{...p&&{justifyContent:"space-between"}},children:[p&&jsx(j$1,{enableRealTimeChange:true,onChange:Q,defaultTime:a$1}),jsxs(Y,{children:[jsx(A,{variant:"contained",onClick:f,children:B("cancel")}),jsx(E,{variant:"contained",onClick:K,children:B("okay")})]})]})]})})]})})}var F=memo(re);var Ce=F;export{Ce as a};
@@ -1 +1 @@
1
- import {c}from'./chunk-Y7PYIT57.js';import {memo,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import g from'@mui/material/Box';import k from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var A=styled(g)(({theme:e})=>({background:e.palette.grey[700],width:27,height:14,display:"inline-flex",alignItems:"center",marginInlineStart:"4px",borderRadius:"10px",padding:"2px 6px",img:{cursor:"pointer"}})),I=styled(g)(()=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center"})),h=styled(k)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${e.palette.info.dark}`,backgroundColor:e.palette.info.dark,fontWeight:700,fontSize:"11px",color:e.palette.common.white,"&:hover":{backgroundColor:e.palette.info.dark}})),w=styled(k)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,fontWeight:500,fontSize:"11px",color:e.palette.text.primary,"&:hover":{background:"transparent"}}));function T({onCloseDropdown:e,filter:r,styles:f}){let[C,L]=useState([]),[S,O]=useState([]),{t:u}=useTranslation(),x=t=>{let o=r?.data?.[r.apiKey]??[];if(Array.isArray(o)&&o.length)return new Set(o).has(t)};useEffect(()=>{let t=o=>o.map(({placeholder:s,value:n,isSelected:a,icon:l,options:i})=>({...s&&{label:s},name:n,selected:(a||x(n)||i?.every(({value:p})=>x(p)))??false,...l&&{icon:l},...i?.length&&{menuItems:t(i)}}));r.options&&O(t(r.options));},[r?.data]);let V=t=>{e(t);},v=t=>{let o=C.reduce((n,{options:a,apiKey:l,isSelected:i})=>{if(a){let p=a.filter(({isSelected:m})=>m);p.length&&n.push(...p.map(({apiKey:m})=>m));}else i&&n.push(l);return n},[]),s=new Set(o);Object.keys(C).length&&r?.onConfirm?.({[r.apiKey]:[...s]}),e(t);},B=t=>{let o=s=>s.map(({name:n,selected:a,menuItems:l,label:i})=>({...i&&{placeholder:i},apiKey:n,isSelected:a,...l?.length&&{options:o(l)}}));L(o(t));};return jsx(c,{"data-testid":"ColumnFilter_List",title:u("filterBy")||"Filter by",menuItems:S,style:f,sx:t=>({marginTop:"10px",textAlign:"left",boxShadow:t.shadows[3],".nested-menu-item":{height:41,zIndex:9999},...f}),updatedList:B,footer:jsxs(I,{sx:{position:"sticky",bottom:0,backgroundColor:"white",zIndex:99999},children:[jsx(w,{onClick:V,children:u("cancel")},"nested-dropdown-cancel"),jsx(h,{onClick:v,children:u("okay")},"nested-dropdown-ok")]})})}var b=memo(T);var Q=b;export{A as a,I as b,h as c,w as d,Q as e};
1
+ import {c}from'./chunk-VJWLLAT4.js';import {memo,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import g from'@mui/material/Box';import k from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var A=styled(g)(({theme:e})=>({background:e.palette.grey[700],width:27,height:14,display:"inline-flex",alignItems:"center",marginInlineStart:"4px",borderRadius:"10px",padding:"2px 6px",img:{cursor:"pointer"}})),I=styled(g)(()=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center"})),h=styled(k)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${e.palette.info.dark}`,backgroundColor:e.palette.info.dark,fontWeight:700,fontSize:"11px",color:e.palette.common.white,"&:hover":{backgroundColor:e.palette.info.dark}})),w=styled(k)(({theme:e})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,fontWeight:500,fontSize:"11px",color:e.palette.text.primary,"&:hover":{background:"transparent"}}));function T({onCloseDropdown:e,filter:r,styles:f}){let[C,L]=useState([]),[S,O]=useState([]),{t:u}=useTranslation(),x=t=>{let o=r?.data?.[r.apiKey]??[];if(Array.isArray(o)&&o.length)return new Set(o).has(t)};useEffect(()=>{let t=o=>o.map(({placeholder:s,value:n,isSelected:a,icon:l,options:i})=>({...s&&{label:s},name:n,selected:(a||x(n)||i?.every(({value:p})=>x(p)))??false,...l&&{icon:l},...i?.length&&{menuItems:t(i)}}));r.options&&O(t(r.options));},[r?.data]);let V=t=>{e(t);},v=t=>{let o=C.reduce((n,{options:a,apiKey:l,isSelected:i})=>{if(a){let p=a.filter(({isSelected:m})=>m);p.length&&n.push(...p.map(({apiKey:m})=>m));}else i&&n.push(l);return n},[]),s=new Set(o);Object.keys(C).length&&r?.onConfirm?.({[r.apiKey]:[...s]}),e(t);},B=t=>{let o=s=>s.map(({name:n,selected:a,menuItems:l,label:i})=>({...i&&{placeholder:i},apiKey:n,isSelected:a,...l?.length&&{options:o(l)}}));L(o(t));};return jsx(c,{"data-testid":"ColumnFilter_List",title:u("filterBy")||"Filter by",menuItems:S,style:f,sx:t=>({marginTop:"10px",textAlign:"left",boxShadow:t.shadows[3],".nested-menu-item":{height:41,zIndex:9999},...f}),updatedList:B,footer:jsxs(I,{sx:{position:"sticky",bottom:0,backgroundColor:"white",zIndex:99999},children:[jsx(w,{onClick:V,children:u("cancel")},"nested-dropdown-cancel"),jsx(h,{onClick:v,children:u("okay")},"nested-dropdown-ok")]})})}var b=memo(T);var Q=b;export{A as a,I as b,h as c,w as d,Q as e};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-EYL6U6ME.js';import {a as a$2}from'./chunk-4W6J54AY.js';import {a}from'./chunk-CNIYZZCP.js';import {db}from'./chunk-IYZWNIGG.js';import {pj,qj}from'./chunk-N3WMUGVO.js';import {useState,useEffect}from'react';import _ from'@mui/material/ClickAwayListener';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var W=styled(m)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),L=styled(a,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:p})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"19px",height:p==="large"?32:24,width:p==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:e.palette.info.dark}})),f=styled(m)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),B=styled(a,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:e.palette.info.dark,backgroundColor:alpha(e.palette.info.dark,.1)}})),S=styled(m)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),z=styled(m)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),h=styled(m)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),k=styled(a$1)(()=>({".MuiInput-input":{fontWeight:"500",fontSize:"11px"},height:32,width:32}));var Y=e=>e===0?12:e<=12?e:e-12,pe=e=>e>=12?"PM":"AM",$=()=>new Date().getMinutes(),j=()=>{let e=new Date().getHours();return Y(e)},ae=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e;var F=["AM","PM"],x=12,g=59;function N({onChange:e,defaultTime:o,enableRealTimeChange:p,size:R="large"}){let[A,y]=useState(null),[a$1,O]=useState(o?.period??(new Date().getHours()>=12?"PM":"AM")),[u,w]=useState(o?.hour??j()),[s,C]=useState(o?.minute??$()),H=!!A;useEffect(()=>{p&&e?.({hour:u,minute:s,period:a$1});},[u,s,a$1,p]);let U=r=>{y(r.currentTarget);},q=()=>{y(null),e?.({hour:u,minute:s,period:a$1});},G=r=>{O(r);},i=r=>r<10?`0${r}`:r.toString(),J=r=>{let l=db(i(Number(r.target.value)));if(l>12){r.preventDefault();return}w(l);},v=()=>{w(r=>r===12?1:r+1);},D=()=>{w(r=>r===1?12:r-1);},K=r=>{let l=db(i(Number(r.target.value)));if(l>59){r.preventDefault();return}C(l);},Q=()=>{C(r=>r===59?(v(),0):r+1);},V=()=>{C(r=>r===0?(D(),59):r-1);};return jsx(_,{onClickAway:q,children:jsxs(m,{children:[jsx(L,{size:R,open:H,onClick:U,children:`${i(u)}:${i(s)}${a$1.toLowerCase()}`}),jsx(a$2,{open:H,anchorEl:A,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(W,{children:[jsxs(z,{children:[jsxs(h,{children:[jsx(f,{onClick:v,children:jsx("img",{src:pj,alt:"arrow"})}),jsx(k,{value:i(u),onChange:J}),jsx(f,{onClick:D,children:jsx("img",{src:qj,alt:"arrow"})})]}),jsx(a,{children:":"}),jsxs(h,{children:[jsx(f,{onClick:Q,children:jsx("img",{src:pj,alt:"arrow"})}),jsx(k,{value:i(s),onChange:K}),jsx(f,{onClick:V,children:jsx("img",{src:qj,alt:"arrow"})})]})]}),jsx(S,{children:F.map(r=>jsx(B,{onClick:()=>{G(r);},selected:a$1===r,children:r},r))})]})})]})})}var ye=N;export{Y as a,pe as b,$ as c,j as d,ae as e,F as f,x as g,g as h,N as i,ye as j};
1
+ import {a as a$1}from'./chunk-DHDB2BWN.js';import {a as a$2}from'./chunk-4W6J54AY.js';import {a}from'./chunk-CNIYZZCP.js';import {fb}from'./chunk-MRFF7D7J.js';import {qj,rj}from'./chunk-NK266ZWT.js';import {useState,useEffect}from'react';import _ from'@mui/material/ClickAwayListener';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var W=styled(m)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),L=styled(a,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:p})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"19px",height:p==="large"?32:24,width:p==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:e.palette.info.dark}})),f=styled(m)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),B=styled(a,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>({fontSize:"11px",fontWeight:500,background:e.palette.common.white,border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:e.palette.info.dark,backgroundColor:alpha(e.palette.info.dark,.1)}})),S=styled(m)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),z=styled(m)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),h=styled(m)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),k=styled(a$1)(()=>({".MuiInput-input":{fontWeight:"500",fontSize:"11px"},height:32,width:32}));var Y=e=>e===0?12:e<=12?e:e-12,pe=e=>e>=12?"PM":"AM",$=()=>new Date().getMinutes(),j=()=>{let e=new Date().getHours();return Y(e)},ae=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e;var F=["AM","PM"],x=12,g=59;function N({onChange:e,defaultTime:o,enableRealTimeChange:p,size:R="large"}){let[A,y]=useState(null),[a$1,O]=useState(o?.period??(new Date().getHours()>=12?"PM":"AM")),[u,w]=useState(o?.hour??j()),[s,C]=useState(o?.minute??$()),H=!!A;useEffect(()=>{p&&e?.({hour:u,minute:s,period:a$1});},[u,s,a$1,p]);let U=r=>{y(r.currentTarget);},q=()=>{y(null),e?.({hour:u,minute:s,period:a$1});},G=r=>{O(r);},i=r=>r<10?`0${r}`:r.toString(),J=r=>{let l=fb(i(Number(r.target.value)));if(l>12){r.preventDefault();return}w(l);},v=()=>{w(r=>r===12?1:r+1);},D=()=>{w(r=>r===1?12:r-1);},K=r=>{let l=fb(i(Number(r.target.value)));if(l>59){r.preventDefault();return}C(l);},Q=()=>{C(r=>r===59?(v(),0):r+1);},V=()=>{C(r=>r===0?(D(),59):r-1);};return jsx(_,{onClickAway:q,children:jsxs(m,{children:[jsx(L,{size:R,open:H,onClick:U,children:`${i(u)}:${i(s)}${a$1.toLowerCase()}`}),jsx(a$2,{open:H,anchorEl:A,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(W,{children:[jsxs(z,{children:[jsxs(h,{children:[jsx(f,{onClick:v,children:jsx("img",{src:qj,alt:"arrow"})}),jsx(k,{value:i(u),onChange:J}),jsx(f,{onClick:D,children:jsx("img",{src:rj,alt:"arrow"})})]}),jsx(a,{children:":"}),jsxs(h,{children:[jsx(f,{onClick:Q,children:jsx("img",{src:qj,alt:"arrow"})}),jsx(k,{value:i(s),onChange:K}),jsx(f,{onClick:V,children:jsx("img",{src:rj,alt:"arrow"})})]})]}),jsx(S,{children:F.map(r=>jsx(B,{onClick:()=>{G(r);},selected:a$1===r,children:r},r))})]})})]})})}var ye=N;export{Y as a,pe as b,$ as c,j as d,ae as e,F as f,x as g,g as h,N as i,ye as j};