@tap-payments/os-micro-frontend-shared 0.1.478 → 0.1.479

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 (193) hide show
  1. package/build/{chunk-63E3R5PA.js → chunk-2F7CMVJF.js} +1 -1
  2. package/build/{chunk-6HF3RRHM.js → chunk-2GDVNEYP.js} +1 -1
  3. package/build/{chunk-6R62IHYU.js → chunk-3GZSMHUB.js} +2 -2
  4. package/build/{chunk-MT5QLVFK.js → chunk-3JID4PRN.js} +1 -1
  5. package/build/{chunk-26O5AFVA.js → chunk-5A6OASSZ.js} +1 -1
  6. package/build/{chunk-E6MD7WFS.js → chunk-5FCCQOWS.js} +1 -1
  7. package/build/chunk-5FFE2OLR.js +2 -0
  8. package/build/{chunk-6MGFWHFE.js → chunk-5UY5NQ26.js} +1 -1
  9. package/build/{chunk-IBQ5J3J3.js → chunk-5X6BHXBI.js} +1 -1
  10. package/build/{chunk-SPP7UMVK.js → chunk-6AY4NJSZ.js} +1 -1
  11. package/build/{chunk-27CJKJ7T.js → chunk-6DKSWE4L.js} +1 -1
  12. package/build/{chunk-ZXIJT5DT.js → chunk-7GC7AQHI.js} +1 -1
  13. package/build/{chunk-S4ZK6QGJ.js → chunk-7VT2W7FL.js} +1 -1
  14. package/build/{chunk-X4FY4LSJ.js → chunk-AFTQLD2Q.js} +1 -1
  15. package/build/{chunk-QHZBPLTG.js → chunk-BFPC63FI.js} +1 -1
  16. package/build/{chunk-5J4ZTV3V.js → chunk-BMAJHN6S.js} +1 -1
  17. package/build/{chunk-4HPJPKH2.js → chunk-BUDUHRFC.js} +1 -1
  18. package/build/{chunk-CPDH5SRY.js → chunk-BWKGSURQ.js} +1 -1
  19. package/build/{chunk-QGPGFPW5.js → chunk-CMKKWFUZ.js} +1 -1
  20. package/build/{chunk-5AP2LF3H.js → chunk-CNWNLPG6.js} +1 -1
  21. package/build/{chunk-WOTZJWJO.js → chunk-CT2E6DVO.js} +1 -1
  22. package/build/{chunk-LLA5JSVK.js → chunk-D2S2RUMI.js} +1 -1
  23. package/build/{chunk-GCAVKPOC.js → chunk-DAZOSMT5.js} +1 -1
  24. package/build/{chunk-GLZ7GEBP.js → chunk-EA52JEKL.js} +1 -1
  25. package/build/chunk-EQAYVJEI.js +1 -0
  26. package/build/{chunk-2YHDR6KJ.js → chunk-FI67OFFE.js} +1 -1
  27. package/build/{chunk-TVF6SSDQ.js → chunk-FJ45GUBT.js} +1 -1
  28. package/build/{chunk-WC257EIO.js → chunk-G7RAWIXZ.js} +1 -1
  29. package/build/{chunk-QODYGBWL.js → chunk-GHDBOF5R.js} +2 -2
  30. package/build/{chunk-DOS7HEOK.js → chunk-GIMYJ2UO.js} +1 -1
  31. package/build/{chunk-DHXBB2IU.js → chunk-GIXCIQ3A.js} +1 -1
  32. package/build/{chunk-RP4MJ5Q6.js → chunk-GUZIMNSU.js} +1 -1
  33. package/build/{chunk-OAW3HGVO.js → chunk-GXLCFLH4.js} +1 -1
  34. package/build/{chunk-TR3SEJSN.js → chunk-GZAF6RPV.js} +1 -1
  35. package/build/{chunk-DMSMH6Q6.js → chunk-H53F6GAU.js} +1 -1
  36. package/build/{chunk-63X52EKP.js → chunk-HPKA2JXZ.js} +1 -1
  37. package/build/{chunk-GMX5M76T.js → chunk-I252PGIG.js} +1 -1
  38. package/build/{chunk-QGGRITXQ.js → chunk-I5KGHVJV.js} +1 -1
  39. package/build/{chunk-A5L5THUJ.js → chunk-IGSPXBQE.js} +1 -1
  40. package/build/{chunk-JXBLMQQW.js → chunk-J5EY6J3C.js} +1 -1
  41. package/build/{chunk-EVXUJZHR.js → chunk-J7GP3ZLW.js} +1 -1
  42. package/build/{chunk-AK6AGGIC.js → chunk-JCPIILVW.js} +1 -1
  43. package/build/{chunk-SN4NF2DB.js → chunk-JWV6BO4Y.js} +1 -1
  44. package/build/chunk-K6NTAYPA.js +1 -0
  45. package/build/{chunk-O5XTGPQS.js → chunk-KET6VK3T.js} +1 -1
  46. package/build/{chunk-ABBNDFGJ.js → chunk-LIZR5H2X.js} +1 -1
  47. package/build/{chunk-QHCXUNDI.js → chunk-LLVBAVMO.js} +1 -1
  48. package/build/{chunk-564ORABT.js → chunk-LP2DRSMR.js} +1 -1
  49. package/build/{chunk-LFEL2NAC.js → chunk-MALQPZFK.js} +1 -1
  50. package/build/{chunk-44TDOYFI.js → chunk-NCJJACOQ.js} +1 -1
  51. package/build/{chunk-NBGGOUIZ.js → chunk-NQ65PWAA.js} +1 -1
  52. package/build/{chunk-ZVR3N6WG.js → chunk-NW3GE57U.js} +1 -1
  53. package/build/{chunk-RJUHOAU4.js → chunk-P5PVMTSM.js} +1 -1
  54. package/build/{chunk-XBOCHTAW.js → chunk-PIWRC7NL.js} +1 -1
  55. package/build/{chunk-RRGMY7JG.js → chunk-PMBJYJLE.js} +1 -1
  56. package/build/{chunk-NFNAX7ZR.js → chunk-PXWWJZAF.js} +1 -1
  57. package/build/{chunk-WCKORXDZ.js → chunk-QHQW3ZPC.js} +1 -1
  58. package/build/{chunk-UPWJMPK6.js → chunk-QSEATRUO.js} +1 -1
  59. package/build/{chunk-QQVGTQT3.js → chunk-R2ZYFFOC.js} +1 -1
  60. package/build/{chunk-HER5WIWD.js → chunk-R7ZLIS7Y.js} +1 -1
  61. package/build/chunk-SNNWIGO2.js +2 -0
  62. package/build/chunk-SRFUGV6Q.js +1 -0
  63. package/build/{chunk-3LSEPLBS.js → chunk-TWP3DQFA.js} +1 -1
  64. package/build/{chunk-BFOMPZXL.js → chunk-UELDXP5F.js} +1 -1
  65. package/build/{chunk-D77WOGTR.js → chunk-VVU5VCKL.js} +1 -1
  66. package/build/{chunk-6X6APLPU.js → chunk-W6W2ZCH7.js} +1 -1
  67. package/build/{chunk-5XEW4QTS.js → chunk-WHO6YKN4.js} +1 -1
  68. package/build/{chunk-ECDED65U.js → chunk-WORLFJSX.js} +1 -1
  69. package/build/chunk-XIGLBKFQ.js +1 -0
  70. package/build/{chunk-HN3LUUAR.js → chunk-XKC5MIXK.js} +1 -1
  71. package/build/{chunk-L4B4IVAJ.js → chunk-XZZZGOJC.js} +1 -1
  72. package/build/{chunk-SPNQ2E2Q.js → chunk-YJGVCBU2.js} +1 -1
  73. package/build/{chunk-SICK5RMI.js → chunk-ZJSCKWFC.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/CustomCells/AuthenticationStatusCell/constant.d.ts +17 -0
  164. package/build/components/TableCells/index.js +1 -1
  165. package/build/components/TableHeader/index.js +1 -1
  166. package/build/components/TableReports/index.js +1 -1
  167. package/build/components/TableView/index.js +1 -1
  168. package/build/components/Timepicker/index.js +1 -1
  169. package/build/components/Toaster/index.js +1 -1
  170. package/build/components/ToggleView/index.js +1 -1
  171. package/build/components/Toolbar/index.js +1 -1
  172. package/build/components/ToolbarIcon/index.js +1 -1
  173. package/build/components/TreeDropdown/index.js +1 -1
  174. package/build/components/VAT/index.js +1 -1
  175. package/build/components/VerificationIcon/index.js +1 -1
  176. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  177. package/build/components/VirtualTables/index.js +1 -1
  178. package/build/components/Widget/index.js +1 -1
  179. package/build/components/Window/index.js +1 -1
  180. package/build/components/WindowSideBar/index.js +1 -1
  181. package/build/components/index.js +1 -1
  182. package/build/constants/assets.d.ts +12 -0
  183. package/build/constants/index.js +1 -1
  184. package/build/hooks/index.js +1 -1
  185. package/build/index.js +1 -1
  186. package/build/utils/index.js +1 -1
  187. package/package.json +1 -1
  188. package/build/chunk-BW2NZYIQ.js +0 -1
  189. package/build/chunk-D5RQWU62.js +0 -1
  190. package/build/chunk-HGJC2ZZX.js +0 -2
  191. package/build/chunk-TCLN5DZD.js +0 -2
  192. package/build/chunk-XCLBERSS.js +0 -1
  193. package/build/chunk-ZCYVHGHI.js +0 -1
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-YU46KKNN.js';import {Lg,w}from'./chunk-TCLN5DZD.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?Lg: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 {Xg,w}from'./chunk-5FFE2OLR.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?Xg: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 {$l,_l}from'./chunk-TCLN5DZD.js';import {memo}from'react';import {Checkbox}from'@mui/material';import {jsx}from'react/jsx-runtime';function i(o){return jsx(Checkbox,{disableRipple:true,sx:r=>({'[data-testid="IndeterminateCheckBoxIcon"]':{fill:r.palette.info.dark,width:"16px !important",height:"16px !important"}}),checkedIcon:o.disabled?$l:_l,...o})}i.displayName="CheckboxInput";var p=memo(i);var l=p;export{l as a};
1
+ import {lm,km}from'./chunk-5FFE2OLR.js';import {memo}from'react';import {Checkbox}from'@mui/material';import {jsx}from'react/jsx-runtime';function i(o){return jsx(Checkbox,{disableRipple:true,sx:r=>({'[data-testid="IndeterminateCheckBoxIcon"]':{fill:r.palette.info.dark,width:"16px !important",height:"16px !important"}}),checkedIcon:o.disabled?lm:km,...o})}i.displayName="CheckboxInput";var p=memo(i);var l=p;export{l as a};
@@ -1,4 +1,4 @@
1
- import {am}from'./chunk-TCLN5DZD.js';import {b,c as c$1}from'./chunk-5QGYWOQI.js';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var c=styled(l)`
1
+ import {mm}from'./chunk-5FFE2OLR.js';import {b,c as c$1}from'./chunk-5QGYWOQI.js';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var c=styled(l)`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(3, 1fr);
4
4
  grid-gap: 10px;
@@ -13,4 +13,4 @@ import {am}from'./chunk-TCLN5DZD.js';import {b,c as c$1}from'./chunk-5QGYWOQI.js
13
13
  border: 1px solid ${r=>r.theme.palette.grey[100]};
14
14
  width: 100%;
15
15
  padding: 10px;
16
- `;var y=am;function f({theme:r="light"}){return jsx(c,{mode:r,children:Object.keys(am).sort().map(o=>{let d=y[o];return jsxs(s,{children:[jsx("img",{src:d,height:42,width:42,alt:`${o} icon`}),jsx(i,{mode:r,children:o})]},o)})})}var m=f;var G=m;export{G as a};
16
+ `;var y=mm;function f({theme:r="light"}){return jsx(c,{mode:r,children:Object.keys(mm).sort().map(o=>{let d=y[o];return jsxs(s,{children:[jsx("img",{src:d,height:42,width:42,alt:`${o} icon`}),jsx(i,{mode:r,children:o})]},o)})})}var m=f;var G=m;export{G as a};
@@ -1 +1 @@
1
- import {c as c$2}from'./chunk-DMSMH6Q6.js';import {c,e}from'./chunk-WCKORXDZ.js';import {a,c as c$1,d}from'./chunk-SPNQ2E2Q.js';import {b as b$1,a as a$1}from'./chunk-CPDH5SRY.js';import {Ra}from'./chunk-ECDED65U.js';import {na,_c,Cd,Bd,ma,ka,la}from'./chunk-TCLN5DZD.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:_c,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?Cd:Bd}),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?Cd:Bd}),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-H53F6GAU.js';import {c,e}from'./chunk-QHQW3ZPC.js';import {a,c as c$1,d}from'./chunk-YJGVCBU2.js';import {b as b$1,a as a$1}from'./chunk-BWKGSURQ.js';import {Ra}from'./chunk-WORLFJSX.js';import {na,_c,Cd,Bd,ma,ka,la}from'./chunk-5FFE2OLR.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:_c,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?Cd:Bd}),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?Cd:Bd}),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 {Kk}from'./chunk-TCLN5DZD.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===Kk.reports.code?jsx(f,{}):jsx(h,{}),m=b;var A=m;export{A as a};
1
+ import {Wk}from'./chunk-5FFE2OLR.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===Wk.reports.code?jsx(f,{}):jsx(h,{}),m=b;var A=m;export{A as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-TR3SEJSN.js';import {e}from'./chunk-ABBNDFGJ.js';import {gg}from'./chunk-TCLN5DZD.js';import {memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(Box,{shouldForwardProp:t=>t!=="isLongerString"})(({theme:t,isLongerString:r})=>({display:"flex",justifyContent:"center",alignItems:"center",padding:"6px 16px",height:"32px",background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,borderRadius:"50px",fontSize:"11px",gap:t.spacing(1),minWidth:r?"12rem":"8.4rem",marginRight:"auto",position:"relative"}));styled("div")(()=>({padding:"3.5px",background:"rgba(32, 35, 43, 0.10);",display:"flex",borderRadius:"50px"}));styled("button")(()=>({padding:0,cursor:"pointer",width:"auto",marginLeft:"auto",paddingRight:0,background:"none",border:"none"}));function u({Ids:t,onCancelClick:r,isShown:l,cardNumber:o}){return l?jsxs(a,{isLongerString:(o?.length??0)>11,children:[o?jsx(b,{children:o}):jsx("span",{children:t?.join(",")}),jsx(e,{pointer:true,round:true,onClick:r,variant:"active",sx:{position:"absolute",right:"8px"},children:jsx("img",{src:gg,alt:"close",style:{width:"8px",height:"7px"}})})]}):null}var s=memo(u);var L=s;export{L as a};
1
+ import {b}from'./chunk-GZAF6RPV.js';import {e}from'./chunk-LIZR5H2X.js';import {sg}from'./chunk-5FFE2OLR.js';import {memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(Box,{shouldForwardProp:t=>t!=="isLongerString"})(({theme:t,isLongerString:r})=>({display:"flex",justifyContent:"center",alignItems:"center",padding:"6px 16px",height:"32px",background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,borderRadius:"50px",fontSize:"11px",gap:t.spacing(1),minWidth:r?"12rem":"8.4rem",marginRight:"auto",position:"relative"}));styled("div")(()=>({padding:"3.5px",background:"rgba(32, 35, 43, 0.10);",display:"flex",borderRadius:"50px"}));styled("button")(()=>({padding:0,cursor:"pointer",width:"auto",marginLeft:"auto",paddingRight:0,background:"none",border:"none"}));function u({Ids:t,onCancelClick:r,isShown:l,cardNumber:o}){return l?jsxs(a,{isLongerString:(o?.length??0)>11,children:[o?jsx(b,{children:o}):jsx("span",{children:t?.join(",")}),jsx(e,{pointer:true,round:true,onClick:r,variant:"active",sx:{position:"absolute",right:"8px"},children:jsx("img",{src:sg,alt:"close",style:{width:"8px",height:"7px"}})})]}):null}var s=memo(u);var L=s;export{L as a};
@@ -0,0 +1,2 @@
1
+ import {b as b$1}from'./chunk-5TBO732O.js';import {jsxs,jsx}from'react/jsx-runtime';var ul={};b$1(ul,{ACCEPTANCE_TIMEZONE:()=>Fd,AIOverviewIcon:()=>Ft,API_BASE_LIMIT:()=>Al,API_LIST_CONSTANTS:()=>$d,API_URL:()=>vd,APP_CODES:()=>o,APP_DIMENSIONS:()=>ld,APP_ICONS:()=>ud,APP_WINDOW_Z_INDEX:()=>Il,AUTHENTICATION_LABEL:()=>xl,AuthenticationModeType:()=>Z,BASE_URL:()=>H,BUSINESS_COUNTRIES:()=>il,BUSINESS_DOCUMENT_TYPE_MAP:()=>al,BUSINESS_FUNCTIONS:()=>G,CATEGORIZED_CURRENCY_CODES:()=>Vd,CHECKED_ICON:()=>dl,COUNTRIES_TIMEZONES:()=>Wd,ChallengeIcon:()=>ze,DATA_KEY:()=>zd,DATA_KEY_LABEL:()=>Kd,DEVELOPMENT_HOUSE_SEGMENT_CODES:()=>tl,DirhamIconImage:()=>de,ENV:()=>hd,FOOTER_HEIGHT:()=>dd,FrictionlessIcon:()=>Ve,HEADER_HEIGHT:()=>id,HSBCBankIcon:()=>$s,MPGSProviderIcon:()=>Ra,NETCETERAProviderIcon:()=>La,PAYMENT_INITIATED_CUSTOMER_KEY:()=>V,PAYMENT_INITIATED_MERCHANT_KEY:()=>z,PAYMENT_INITIATED_OPTIONS:()=>qd,PAYMENT_INSTITUTION_SEGMENT_CODES:()=>Xd,PAYMENT_ISSUER_SEGMENT_CODES:()=>el,PAYMENT_TECHNOLOGY_SEGMENT_CODES:()=>jd,PAYMENT_TYPES:()=>Zd,PAYMENT_TYPES_ICONS:()=>p,PLATFORM_SEGMENT_CODES:()=>Jd,RATES:()=>nl,REPORTS_APPS:()=>cl,REPORT_FILTER_TYPES:()=>s,RadioButtonCheckedIcon:()=>yo,RadioButtonUncheckedIcon:()=>_o,SARIconImage:()=>ie,SEGMENT_FILTER_KEY:()=>a,SEGMENT_TYPE_FILTERS_MAP:()=>Qd,SERVICE_COMMON_FUNCTIONS:()=>n,SHEET_VIEW_TABLE_LIST_OVER_SCAN:()=>Ql,SHEET_VIEW_TABLE_ROW_HEIGHT:()=>Xl,SHEET_VIEW_TABLE_THRESHOLD:()=>Jl,SUPPORTED_CURRENCY_CODES:()=>Yd,SUPPORTED_CURRENCY_DETAILS:()=>Hd,SandboxDefault:()=>hn,SandboxHovered:()=>vn,SandboxHoveredLightIcon:()=>Wn,TABLE_CONTENT_ROW_HEIGHT:()=>zl,TABLE_LIST_OVER_SCAN:()=>ql,TABLE_LOADING_ROW_HEIGHT:()=>Vl,TABLE_ROW_HEIGHT:()=>Kl,TABLE_THRESHOLD:()=>Zl,TAP3DSPROVIDERIcon:()=>Pa,TEST_SECRET_KEY:()=>md,TIMEZONES:()=>Y,UNCHECKED_ICON:()=>ll,abandonedIcon:()=>le,abandonedNoBGIcon:()=>Za,abandonedTableIcon:()=>Uc,abandonedYellowIcon:()=>ue,acceptanceAppDisabledIcon:()=>pn,acceptanceAppIcon:()=>x,acceptanceBlueIcon:()=>cn,acceptanceDisabledRoundedIcon:()=>un,acceptanceEnabledIcon:()=>sn,acceptanceWindowIcon:()=>_,acceptedFlag:()=>Kt,accountAppIcon:()=>f,accountWindowIcon:()=>O,acquirerIcon:()=>oo,acquirerOrangeIcon:()=>ao,acquirerRedIcon:()=>so,actionFailIcon:()=>Qo,actionSuccessIcon:()=>Jo,actionsIcon:()=>Yp,activeActionIcon:()=>Ir,activeGreenIcon:()=>Ui,activeLeadStatusIcon:()=>sc,addIconWhite:()=>qx,addItem:()=>Vp,addItemIcon:()=>Sr,addidasIcon:()=>Co,agreementInstallmentIcon:()=>Rp,agreementOrderIcon:()=>Np,agreementSavedCardIcon:()=>Lp,agreementSubscriptionIcon:()=>Pp,allAuthenticationStatuses:()=>rl,androidAppIcon:()=>Cx,androidIcon:()=>Tc,appBaseUrl:()=>t,appPlatformSubSegmentIcon:()=>od,applePayIcon:()=>ke,appsGridIcon:()=>_p,arcIcon:()=>Bc,archievedOutlined:()=>ii,archivedVerifyIcon:()=>Pr,attachIcon:()=>zp,attachIcon2:()=>Ar,attentionIcon:()=>xs,authenticatedIcon:()=>jc,authenticatedSuccessIcon:()=>va,authenticatedSuccessNoBgIcon:()=>_a,authenticationAppIcon:()=>i,authenticationAppTypeIcon:()=>np,authenticationAttemptedIcon:()=>ca,authenticationAttemptedNoBgIcon:()=>$a,authenticationBiometricIcon:()=>sp,authenticationDeclinedIcon:()=>pa,authenticationDeclinedNoBgIcon:()=>Sa,authenticationDeviceIcon:()=>cp,authenticationExemptedWithTransactionIcon:()=>xa,authenticationExemptedWithTransactionNoBgIcon:()=>Aa,authenticationExemptedWithoutTransactionIcon:()=>ra,authenticationExemptedWithoutTransactionNoBgIcon:()=>Ta,authenticationFailedIcon:()=>ia,authenticationFailedNoBgIcon:()=>ma,authenticationFailedTableIcon:()=>Xc,authenticationGatewaySubSegmentIcon:()=>ad,authenticationInitiatedIcon:()=>da,authenticationIssuerIcon:()=>ap,authenticationNoAuthIcon:()=>aa,authenticationNoAuthNoBgIcon:()=>Ea,authenticationPendingIcon:()=>ha,authenticationPendingNoBgIcon:()=>fa,authenticationSchemeIcon:()=>pp,authenticationUnavailableIcon:()=>la,authenticationUnavailableNoBgIcon:()=>Ca,authenticationUndeterminedIcon:()=>ua,authenticationUndeterminedNoBgIcon:()=>ya,authenticationWalletIcon:()=>op,authenticationWindowIcon:()=>D,authenticationWithTransactionIcon:()=>Ia,authenticationWithTransactionNoBgIcon:()=>ba,authenticationWithoutTransactionIcon:()=>ga,authenticationWithoutTransactionNoBgIcon:()=>wa,authenticationsTableCellWidth:()=>Ad,authorizationServiceIcon:()=>jx,authorizationTableCellWidth:()=>Td,authorizedIcon:()=>Ax,autoCapturedIcon:()=>tx,autoVoidIcon:()=>ox,babyBlueCheckIcon:()=>Fx,backButtonLeftIcon:()=>Ss,bahrainIcon:()=>Oe,bankIcon:()=>Yo,bankNoteIcon:()=>Hx,billingAppIcon:()=>r,billingPlatformSubSegmentIcon:()=>cd,billingWindowIcon:()=>w,biometricIcon:()=>Ur,blackBrushIcon:()=>Vx,blackHeadingDownArrow:()=>_n,blackLinkIcon:()=>mi,blackMobileBatteryIcon:()=>_i,blackMobileSignalIcon:()=>bi,blackRightArrowIcon:()=>io,blackSettingsIcon:()=>fi,blackSettingsVariant2Icon:()=>Wi,blackUnLinkIcon:()=>Li,blackWallet:()=>Ei,blueAppsIcon:()=>dc,blueArrowUpIcon:()=>Cp,blueCheckIcon:()=>$n,blueCircleCheckIcon:()=>Cr,blueCircleLoaderIcon:()=>yp,blueCircleWithWhiteCheckIcon:()=>rd,blueCopyIcon:()=>hi,blueDropdownArrowIcon:()=>wn,blueGradientBrushIcon:()=>$i,blueHeadingDropdownArrow:()=>bn,blueNoteIcon:()=>$r,bluePlusIcon:()=>Fi,blueVerifyIcon:()=>_r,blueZigzagCheckIcon:()=>wo,brandPlaceholderIcon:()=>Op,brandServiceIcon:()=>Xx,braveIcon:()=>Oc,businessSegmentIcon:()=>Rn,businessesAppIcon:()=>m,businessesWindowIcon:()=>B,buyNowPayLaterIcon:()=>He,calenderIcon:()=>ex,cancelledIcon:()=>nx,cancelledInvoiceIcon:()=>It,cancelledNoBgIcon:()=>Bt,cancelledStatusIcon:()=>qs,cancelledTableIcon:()=>kc,capturedAuthorizeIcon:()=>po,capturedDropdownIcon:()=>Xe,capturedIcon:()=>sx,capturedTableIcon:()=>Gc,cardIcon:()=>De,cardViewButtonIcon:()=>Tp,cashIcon:()=>Ge,chargeBackIcon:()=>Je,chargeBackRequestedIcon:()=>Qe,chargeBackRequestedTableIcon:()=>Wc,chargeBackTableIcon:()=>Fc,chargeBackWhiteIcon:()=>Ri,chargeTableCellWidth:()=>Sd,chargebacksServiceIcon:()=>ei,chargesServiceIcon:()=>ti,chatDisabledIcon:()=>hc,checkIcon:()=>mo,checkMarkIcon:()=>Xo,checkboxIcon:()=>$o,checkoutStatusBlueIcon:()=>Ga,checkoutStatusIcon:()=>ka,checkoutWithMarkStatusIcon:()=>Fa,chevronDownIcon:()=>ge,chevronGrayIcon:()=>cs,chevronWhiteIcon:()=>ss,chromeIcon:()=>Nc,chromiumIcon:()=>Dc,clearCoinIcon:()=>Wo,clearIcon:()=>Zt,clipboardIcon:()=>Dp,clockIcon:()=>Ps,closeCircle:()=>to,closeIcon:()=>Lt,closeOutlinedCircle:()=>di,closeXIcon:()=>fo,closedDisputeIcon:()=>xt,closedFlagIcon:()=>go,closedLeadStatusIcon:()=>ac,closedOutlinedYellowCircle:()=>Bi,closedVerifyIcon:()=>Lr,codeIcon:()=>pt,collapseArrowIcon:()=>Sn,collapseArrows:()=>Kp,collapseArrowsIcon:()=>gs,columnIcon:()=>mt,columnResizeIndicatorIcon:()=>Jr,commercePlatformSubSegmentIcon:()=>sd,commercialRegulatorSubSegmentIcon:()=>td,completedAcceptanceIcon:()=>ds,completedBlackIcon:()=>ta,completedIcon:()=>qe,completedLeadStatusIcon:()=>cc,completedPayoutsIcon:()=>us,completedTableIcon:()=>Hc,copyIcon:()=>at,createChargeIcon:()=>Gr,createdStatusIcon:()=>Zs,csvIcon:()=>Ds,customerIcon:()=>Zp,customerIcon2:()=>fr,customersAppIcon:()=>h,customersWindowIcon:()=>N,cyberSourceProviderIcon:()=>Na,darkBlueVerifyIcon:()=>br,darkCheckIcon:()=>Tn,darkFilterIcon:()=>Qr,darkGreyTimezoneIcon:()=>bc,darkLeftArrowIcon:()=>zo,darkRightArrowIcon:()=>Ko,dashedCheckIcon:()=>Pt,dashedOutlinedCircle:()=>li,deMaximizeIcon:()=>Wt,deactivatedCircle:()=>ui,deactivatedIcon:()=>kt,deactivatedOrangeCircle:()=>Di,declinedIcon:()=>cx,declinedNoBgTableIcon:()=>Qc,declinedTableIcon:()=>Yc,deemaWithLabel:()=>Ni,defaultCountryIcon:()=>Dr,defaultDeviceIcon:()=>Mr,deletedStatusIcon:()=>zs,deliveredStatusIcon:()=>Xs,desktopIcon:()=>dt,destinationReversedTableIcon:()=>Vc,destinationSolidIcon:()=>ve,destinationSuccessTableIcon:()=>Jc,destinationWithoutBackgroundIcon:()=>zc,destinationsIcon:()=>ax,destinationsServiceIcon:()=>oi,destinationsTableCellWidth:()=>Cd,developmentSegmentIcon:()=>On,deviceIcon:()=>Me,digitalReceiptIcon:()=>Wx,dimmedZigzagCheckIcon:()=>Ro,disabledCardIcon:()=>lc,disabledCheckIcon:()=>An,disabledCodeIcon:()=>uc,discountIcon:()=>qp,disputeIcon:()=>Ae,disputeResolvedIcon:()=>je,disputeResolvedTableIcon:()=>Kc,dollarSignIcon:()=>Ys,doneIcon:()=>Gs,dottedLine:()=>Ws,downArrowIcon:()=>ho,downArrowIcon3:()=>mr,draftStatusIcon:()=>Ks,dragIcon:()=>Eo,dueDateBlackIcon:()=>jn,dueDateBlueIcon:()=>qn,dueDateGrayIcon:()=>es,dueDateOrangeIcon:()=>Qn,dueDateRedIcon:()=>Xn,dueDateYellowIcon:()=>Jn,edgeIcon:()=>Lc,editIcon:()=>Ma,egyptFlagIcon:()=>_e,ellipsisHorizontalIcon:()=>tt,emailBlackIcon:()=>Jp,emailChannelIcon:()=>Hn,emailIcon:()=>Qp,emptyIcon:()=>ja,emptyMobileWifiIcon:()=>wi,emptyStatusChipColors:()=>ol,entityServiceIcon:()=>ni,entityTimezoneIcon:()=>Yr,europeFlagIcon:()=>Pe,exclamationDarkGreyIcon:()=>Ct,exclamationDarkIcon:()=>mc,exclamationErrorIcon:()=>Ec,exclamationGreyIcon:()=>St,exclamationOutlinedCircle:()=>gi,exclamationOutlinedOrangeCircle:()=>Mi,exclamationWarningIcon:()=>fc,exclamationWhiteIcon:()=>Hi,excludedApps:()=>gd,expandArrows:()=>jp,expandArrowsIcon:()=>Is,expiredIcon:()=>os,expiredInvoiceIcon:()=>vt,expiredLeadStatusIcon:()=>pc,expiredNoBgIcon:()=>Dt,expiredStatusIcon:()=>Qs,expressCheckoutIcon:()=>Ue,externalLinkIcon:()=>xd,eyeHideIcon:()=>Cs,eyeShowIcon:()=>ys,failedIcon:()=>px,failedNoBgTableIcon:()=>qc,failedTableIcon:()=>Zc,failedWhiteBgIcon:()=>Tt,feeIcon:()=>er,fileDownloadBlueIcon:()=>Kr,fileDownloadGreyIcon:()=>Zr,financialSegmentIcon:()=>Pn,firefoxIcon:()=>Rc,flagIcon:()=>$e,functionBaseUrl:()=>X,gadientLink:()=>Ai,gatewayIcon:()=>co,gatewayOrangeIcon:()=>rx,gatewayRedIcon:()=>xx,genericIcon:()=>zn,genericIconNew:()=>no,getAuthorityIcon:()=>ae,getBrowserIcon:()=>pe,getCountriesIcon:()=>oe,getCurrenciesIcon:()=>ce,getLightUrlIcon:()=>j,getPaymentGatewaysIcon:()=>xe,getPaymentInitiatorIcon:()=>re,getPaymentIssuersIcon:()=>te,getPaymentMethodsIcon:()=>ee,getServiceFunctionIcon:()=>ne,getStatusIcon:()=>se,gradientSettings:()=>Ti,gradientWallet:()=>Si,grayBrandIcon:()=>Mn,grayCircleIcon:()=>Un,grayCloseIcon:()=>wp,grayFlagIcon:()=>vo,grayProductLabel:()=>vr,grayUpArrowIcon:()=>yn,grayVerifyIcon:()=>wr,greenArrowLeftIcon:()=>hs,greenArrowRightIcon:()=>vs,greenArrowUpIcon:()=>ms,greenCheck2ACE00:()=>vi,greenCheckIcon:()=>rt,greenCheckV2Icon:()=>$c,greenVerifyIcon:()=>Nr,greenZigzagCheckIcon:()=>No,greyAppleIcon:()=>Cc,greyCheckIcon:()=>fn,greyCrossIcon:()=>En,greyDesktopIcon:()=>_c,greyDownArrowIcon:()=>Jx,greyDropdownIcon:()=>Nn,greyLocationIcon:()=>yc,greyMinusIcon:()=>Ba,greyPlusIcon:()=>Oa,greyTimezoneIcon:()=>Se,greyUpArrowIcon:()=>Qx,hideIcon:()=>Xt,hijriIcon:()=>Vo,homeIcon:()=>Xr,iOSAppIcon:()=>yx,ibanIcon:()=>Yt,idIcon:()=>ct,inActiveGreyIcon:()=>ki,initialAcceptanceIcon:()=>is,initialPayoutsIcon:()=>ls,initiatedIcon:()=>Tx,inprogressIcon:()=>bs,intentCancelledStatusIcon:()=>Ya,intentExpiredStatusIcon:()=>Wa,intentInitiatedStatusIcon:()=>Ha,intentTransactedStatusIcon:()=>Va,intentsServiceIcon:()=>xi,intentsTableCellWidth:()=>yd,invoiceIcon:()=>gt,invoiceIdIcon:()=>nt,invoiceNumberIcon:()=>ht,invoiceServiceIcon:()=>si,invoicesTableCellWidth:()=>_d,iosIcon:()=>Ac,jordanFlagIcon:()=>we,jsonBlackIcon:()=>Gn,jsonIcon:()=>kn,kuwaitFlagIcon:()=>Re,lateFeeIcon2:()=>Tr,layersIcon:()=>gc,leadAppIcon:()=>$,leadTitleIcon:()=>A,leadWhiteIcon:()=>vc,leadsTableCellWidth:()=>bd,lebanonFlagIcon:()=>Ne,lightPlatformSegmentIcon:()=>Dn,lightUrl:()=>e,linkTiltedIcon:()=>Xp,listShadowBg:()=>Br,listViewButtonIcon:()=>Sp,loaderWhiteIcon:()=>ep,lockIcon:()=>jr,logOutIcon:()=>jo,longWordsIcon:()=>za,macIcon:()=>bo,manyCurrencyCoin:()=>Ci,manyCurrencyCoinGradient:()=>yi,marketPlaceBlackIcon:()=>Po,marketPlaceBlueIcon:()=>Lo,marketPlaceDimmedIcon:()=>Oo,maximizeIcon:()=>Nt,merchantInitiatedIcon:()=>ro,merchantServiceProviderSubSegmentIcon:()=>Zi,merchantsTableCellWidth:()=>kd,messageIcon:()=>ko,metaIcon:()=>qr,minimizeIcon:()=>Rt,minusIcon:()=>tr,mobileIcon:()=>lt,moneyInDimmedIcon:()=>Uo,moneyInIcon:()=>Mo,moneyOutDimmedIcon:()=>Do,moneyOutIcon:()=>Bo,mutedOutlinedCheckIcon:()=>zx,navigationIcon:()=>Gx,navigationPointerBlack:()=>Zx,newFileIcon:()=>xc,newInvoiceIcon:()=>gr,newReceiptIcon:()=>nn,newWindowIcon:()=>Qt,noAgreementIcon:()=>Mp,noPreviewIcon:()=>Da,notVerifiedIcon:()=>as,noteIcon:()=>or,noteIcon2:()=>Er,openBankingIcon:()=>Ye,openDisputeIcon:()=>it,openFlagIcon:()=>uo,operaIcon:()=>Pc,orangeFlagIcon:()=>lo,orderAppIcon:()=>T,orderIcon:()=>Yn,orderWindowIcon:()=>S,ordersTableCellWidth:()=>wd,outlinedCircle:()=>Ii,outlinedPlatformIcon:()=>Kx,outstandingIcon:()=>Ot,paidNoBgIcon:()=>Mt,paidOutFilterIcon:()=>oa,paidOutIcon:()=>ix,paidOutTableIcon:()=>qa,paidStatusIcon:()=>Js,passThruWalletIcon:()=>Fe,passwordDotsIcon:()=>Hs,payStreamIcon:()=>Fo,paymentAcquirerSubSegmentIcon:()=>Xi,paymentFacilitatorSubSegmentIcon:()=>ed,paymentGatewayProviderSubSegmentIcon:()=>Vi,paymentIssuerSubSegmentIcon:()=>Ji,paymentMethodSubSegmentIcon:()=>ji,paymentProcessorSubSegmentIcon:()=>qi,paymentSchemeSubSegmentIcon:()=>Qi,paymentTechnologySubSegmentIcon:()=>Yi,paymentTechnologyV2SubSegmentIcon:()=>zi,paymentTerminalProviderSubSegmentIcon:()=>Ki,payoutAppDisabledIcon:()=>rn,payoutDisabledRoundedIcon:()=>ln,payoutEnabledIcon:()=>xn,payoutGreenIcon:()=>dn,payoutIcon:()=>Vt,payoutServiceIcon:()=>ci,payoutWindowIcon:()=>R,payoutsAppIcon:()=>l,payoutsGreenIcon:()=>an,payoutsTableCellWidth:()=>Nd,pdfGrayIcon:()=>nr,pdfIcon:()=>Ms,penIcon:()=>Or,pendingFlag:()=>Ht,pendingIcon:()=>Go,pendingOnTapIcon:()=>Ic,pendingPayoutIcon:()=>Ja,pendingStatusIcon:()=>oc,percentage0Icon:()=>yt,percentage100Icon:()=>wt,percentage50Icon:()=>_t,percentage75Icon:()=>bt,physicalLocationIcon:()=>_x,pinIcon:()=>rp,platformSegmentIcon:()=>Bn,plusQty:()=>hr,preferencesIcon:()=>en,previewModeIcon:()=>lp,productLabel:()=>sr,protectAppIcon:()=>v,protectAuthorizationsTableCellWidth:()=>Rd,protectChargesTableCellWidth:()=>Ld,protectIcon:()=>To,protectWindowIcon:()=>L,providerSegmentIcon:()=>Ln,quantityIcon:()=>cr,quitIcon:()=>jt,readyLeadStatusIcon:()=>rc,receiptBillIcon:()=>on,receiptIcon:()=>Wr,redArrowDownIcon:()=>Ze,redCloseIcon:()=>Os,redFlagIcon:()=>Io,redVerifyIcon:()=>Rr,refundInitiatedIcon:()=>lx,refundSettledIcon:()=>ux,refundTableCellWidth:()=>Pd,refundedIcon:()=>dx,refundedNotSettledIcon:()=>gx,refundedStatusIcon:()=>nc,refundsServiceIcon:()=>ai,refunededNoBgIcon:()=>Ut,releasedFlag:()=>zt,reloadIcon:()=>Vs,remindedRedIcon:()=>ns,removeAllItem:()=>ar,removeItem:()=>pr,reportAppIcon:()=>E,reportAppsIcon:()=>Fs,reportFilterTypesMap:()=>sl,reportIcon:()=>Us,reportsIcon:()=>Ee,reportsIconOutlined:()=>ks,reportsWindowIcon:()=>M,restrictedIcon:()=>Ix,retailPlatformSubSegmentIcon:()=>nd,retailerSubSegmentIcon:()=>pd,reverseActionIcon:()=>tp,reversePayoutIcon:()=>et,reversePayoutTableIcon:()=>Qa,reversedIcon:()=>Ie,rightArrow:()=>xo,rightLightArrowIcon:()=>Rx,rowIdIcon:()=>st,safariIcon:()=>wc,sandboxDefaultIcon:()=>Rs,sandboxHoveredIcon:()=>Ns,sandboxOrangeIcon:()=>Ls,saudiArabiaFlagIcon:()=>be,saveTokenIcon:()=>na,savedCardIcon:()=>ye,savedStatusIcon:()=>ec,savedTimezoneIcon:()=>Vr,scheduledFilterIcon:()=>ea,scheduledStatusIcon:()=>tc,searchBlueIcon:()=>Nx,searchIcon:()=>he,segmentDevelopmentHouseIcon:()=>Ox,segmentInstitutionIcon:()=>Lx,segmentTechnologyIcon:()=>Px,servicesTags:()=>Ed,settledIcon:()=>vx,settlementInitiatedIcon:()=>hx,sheetViewIcon:()=>Ka,shopifyBadgeIcon:()=>As,slaProcessAppIcon:()=>C,slaProcessWindowIcon:()=>y,smallBlueCheckIcon:()=>zr,smallLeftArrowIcon:()=>wx,smsChannelIcon:()=>Kn,smsIcon:()=>rr,socialLinksIcon:()=>bx,sortAscArrowIcon:()=>Oi,sortAzIcon:()=>ft,sortDescArrowIcon:()=>Pi,sortIcon:()=>Fn,sortZaIcon:()=>Et,spinnerLoadingAnimatedIcon:()=>qo,spinnerLoadingIcon:()=>Zo,starIcon:()=>eo,storedValueWalletIcon:()=>We,subscriptionIcon:()=>Ce,successCheckIcon:()=>Fr,successWhiteBgIcon:()=>At,switcherIcon:()=>ip,tableBackgroundLoader:()=>Ep,tableBlueArrowUpIcon:()=>$p,tableBlueCheckMarkShadowedIcon:()=>Ap,tableLoadingSpinnerIcon:()=>mp,tableLoadingSpinnerWhiteIcon:()=>fp,tabletIcon:()=>ut,taxIcon:()=>xr,teamWindowIcon:()=>ic,terminalAppIcon:()=>U,terminalBrushIcon:()=>Ux,terminalBrushMuted:()=>kx,terminalCardPhone:()=>Bx,terminalDeviceFrame:()=>Yx,terminalLinkVideo:()=>Gi,terminalTypeIcon:()=>Mx,terminalWindowIcon:()=>k,terminalsTableCellWidth:()=>Gd,threeDSIcon:()=>kr,threeDsIcon:()=>ot,timedOutIcon:()=>mx,timerBlueIcon:()=>ts,timezoneIcon:()=>Te,toastPOSIcon:()=>Dx,tokenAppIcon:()=>I,tokenCardIcon:()=>hp,tokenExpiredStatusIcon:()=>Ip,tokenPendingStatusIcon:()=>vp,tokenSavedStatusIcon:()=>up,tokenTransactedStatusIcon:()=>gp,tokensReportsIcon:()=>Up,tokensTableCellWidth:()=>Od,tokensWindowIcon:()=>P,topUpIcon:()=>Gt,topupsTableCellWidth:()=>Bd,totalAmountIcon:()=>ir,transactionIcon:()=>Vn,transformIcon:()=>tn,trashBinIcon:()=>yr,unAuthenticatedStatuses:()=>K,unAuthorizedIcon:()=>me,unAvailableIcon:()=>fx,unCapturedIcon:()=>qt,unCapturedStatuses:()=>fd,unCheckedIcon:()=>gn,unauthenticatedIcon:()=>sa,unfocusRemoveItem:()=>dr,unisoIcon:()=>So,unitedArabEmiratesFlagIcon:()=>Le,unitedStatesFlagIcon:()=>Be,unknownIcon:()=>Ex,unpinIcon:()=>xp,uploadBlueIcon:()=>ws,uploadIcon:()=>_s,userIcon:()=>Mc,userTimezoneIcon:()=>Hr,usersIcon:()=>Bp,usersServiceIcon:()=>pi,verifiedGreenBadgeIcon:()=>Ts,verifiedIcon:()=>ps,verifyReviewIcon:()=>rs,verticalLineIcon:()=>dp,videosUrl:()=>W,viewAllIcon:()=>Jt,viewIcon:()=>fe,viewInvoiceIcon:()=>Ua,viewedStatusIcon:()=>js,visaIcon:()=>Ke,voidedIcon:()=>$x,walletAppIcon:()=>d,walletDetailsTableCellWidth:()=>Md,walletIcon:()=>Ho,walletServiceIcon:()=>ri,walletStatementTableCellWidth:()=>Ud,walletTableCellWidth:()=>Dd,walletWindowIcon:()=>b,warningInfoIcon:()=>mn,websiteBlueIcon:()=>Sx,websiteIcon:()=>Sc,whatsappChannelIcon:()=>Zn,whatsappIcon:()=>lr,whiteArrow2:()=>ur,whiteArrowLeftIcon:()=>Es,whiteArrowRightIcon:()=>fs,whiteCloseIcon:()=>Xa,whiteFilterIcon:()=>bp,whitePlusIcon:()=>Ao,wifiOffIcon:()=>In,windowBankIcon:()=>Fp,windowBrandIcon:()=>kp,windowEntityIcon:()=>Gp,windowIndividualIcon:()=>Wp,windowPasswordIcon:()=>Hp,worldIcon:()=>Cn,xlsIcon:()=>Bs,zipFileIcon:()=>$t});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`,ge=`${e}/chevron-down.svg`,Ie=`${e}/reversed.svg`,ve=`${e}/destinationSolid.svg`,he=`${e}/search.svg`,me=`${e}/unauthorized.svg`,fe=`${e}/view.svg`,Ee=`${e}/reports.svg`,$e=`${e}/flag.svg`,Ae=`${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`,Ne=`${e}/lebanon.svg`,Re=`${e}/kuwait.svg`,Le=`${e}/unitedArabEmirates.svg`,Pe=`${e}/europe.svg`,Oe=`${e}/bahrain.svg`,Be=`${e}/america.svg`,De=`${e}/payment-method/v2/card.svg`,Me=`${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`,gt=`${e}/invoice.svg`,It=`${e}/cancelledInvoiceIcon.svg`,vt=`${e}/expiredInvoiceIcon.svg`,ht=`${e}/invoiceNumberIcon.svg`,mt=`${e}/column.svg`,ft=`${e}/sortAz.svg`,Et=`${e}/sortZa.svg`,$t=`${e}/zipFile.svg`,At=`${e}/successWhiteBg.svg`,Tt=`${e}/failedWhiteBgIcon.svg`,St=`${e}/exclamationGreyIcon.svg`,Ct=`${e}/exclamationDarkGreyIcon.svg`,yt=`${e}/percentage0.svg`,_t=`${e}/percentage50.svg`,bt=`${e}/percentage75.svg`,wt=`${e}/percentage100.svg`,Nt=`${e}/maximize.svg`,Rt=`${e}/minimize.svg`,Lt=`${e}/close.svg`,Pt=`${e}/dashedCheckIcon.svg`,Ot=`${e}/outstandingIcon.svg`,Bt=`${e}/cancelledStatusIcon.svg`,Dt=`${e}/expiredStatusIcon.svg`,Mt=`${e}/paidStatusIcon.svg`,Ut=`${e}/refundedStatusIcon.svg`,kt=`${e}/deactivatedIcon.svg`,Gt=`${e}/topup.svg`,Ft=`${e}/AIOverviewIcon.svg`,Wt=`${t}/demaximize.svg`,Ht=`${e}/pendingFlag.svg`,Yt=`${e}/ibanIcon.svg`,Vt=`${e}/payoutIcon.svg`,zt=`${e}/releasedFlag.svg`,Kt=`${e}/acceptedFlag.svg`,Zt=`${e}/clearIcon.svg`,qt=`${e}/status/unCaptured.svg`,Qt=`${t}/newWindow.svg`,Jt=`${t}/viewAll.svg`,Xt=`${t}/hide.svg`,jt=`${t}/close.svg`,eo=`${t}/star.svg`,to=`${t}/closeCircle.svg`,oo=`${t}/acquirer.svg`,no=`${e}/GenericIconNew.svg`,so=`${t}/acquirerRed.svg`,co=`${t}/gateway.svg`,ao=`${t}/acquirerOrange.svg`,po=`${e}/status/capturedAuthorize.svg`,ro=`${t}/merchantInitiated.svg`,xo=`${t}/rightArow.svg`,io=`${e}/blackRightArrow.svg`,lo=`${t}/orangeFlag.svg`,uo=`${t}/openFlag.svg`,go=`${t}/closedFlag.svg`,Io=`${t}/redFlag.svg`,vo=`${t}/grayFlag.svg`,ho=`${t}/downArrow.svg`,mo=`${t}/check.svg`,fo=`${t}/closeX.svg`,Eo=`${t}/drag.svg`,$o=`${t}/checkboxIcon.svg`,Ao=`${e}/plusWhite.svg`,To=`${t}/checkboxIcon.svg`,So=`${e}/Uniso.svg`,Co=`${e}/addidas.svg`,yo=`${e}/radioButtonChecked.svg`,_o=`${e}/radioButtonUnchecked.svg`,bo=`${e}/Mac.svg`,wo=`${e}/blueCheckIconZigzag.svg`,No=`${e}/greenCheckIconZigzag.svg`,Ro=`${e}/dimmedCheckIconZigzag.svg`,Lo=`${e}/marketPlaceBlue.svg`,Po=`${e}/marketplaceBlackIcon.svg`,Oo=`${e}/marketPlaceDimmed.svg`,Bo=`${e}/moneyOut.svg`,Do=`${e}/moneyOutDimmed.svg`,Mo=`${e}/moneyIn.svg`,Uo=`${e}/moneyInDimmed.svg`,ko=`${e}/message.svg`,Go=`${e}/pending.svg`,Fo=`${e}/payStream.svg`,Wo=`${e}/clearCoin.svg`,Ho=`${t}/walletSmall.svg`,Yo=`${t}/bank.svg`,Vo=`${t}/hijri.svg`,zo=`${t}/darkLeftArrow.svg`,Ko=`${t}/darkRightArrow.svg`,Zo=`${t}/spinnerLoading.svg`,qo=`${t}/spinnerLoadingAnimated.svg`,Qo=`${t}/actionFail.svg`,Jo=`${t}/actionSuccess.svg`,Xo=`${t}/checkMark.svg`,jo=`${t}/logout.svg`,en=`${t}/preferences.svg`,tn=`${t}/transform.svg`,I=`${t}/token.svg`,r=`${t}/billing.svg`,on=`${t}/receiptBill.svg`,nn=`${e}/newReceiptIcon.svg`,x=`${t}/acceptance.svg`,sn=`${e}/acceptanceEnabled.svg`,cn=`${e}/acceptanceBlue.svg`,an=`${e}/payoutsGreen.svg`,pn=`${t}/acceptanceAppIconDisabled.svg`,rn=`${t}/payoutsAppIconDisabled.svg`,xn=`${e}/payoutEnabled.svg`,dn=`${e}/payoutAppGreenIcon.svg`,ln=`${e}/payoutDisabledRounded.svg`,un=`${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`,gn=`${t}/disableCheck.svg`,In=`${t}/wifiOff.svg`,vn=`${t}/SandboxHovered.svg`,hn=`${t}/Sandbox.svg`,mn=`${t}/ExclamationError.svg`,fn=`${t}/greyCheck.svg`,En=`${t}/greyCross.svg`,$n=`${t}/blueCheck.svg`,An=`${t}/disabledCheck.svg`,Tn=`${t}/darkCheck.svg`,Sn=`${t}/collapseArrow.svg`,Cn=`${t}/world.svg`,yn=`${t}/grayUpArrow.svg`,_n=`${t}/blackHeadingDownArrowIcon.svg`,bn=`${t}/blueHeadingDropdownArrow.svg`,wn=`${t}/dropdownArrow.svg`,Nn=`${t}/greyDropdownIcon.svg`,Rn=`${t}/business2.svg`,Ln=`${t}/provider.svg`,Pn=`${t}/financial.svg`,On=`${t}/development.svg`,Bn=`${t}/platform.svg`,Dn=`${t}/light_platform.svg`,Mn=`${t}/brandGray.svg`,Un=`${e}/grayCircleIcon.svg`,kn=`${t}/json.svg`,Gn=`${t}/jsonBlackIcon.svg`,Fn=`${t}/sort1.svg`,Wn=`${t}/SandboxHoveredLight.svg`,Hn=`${t}/emailColoured.svg`,Yn=`${e}/OrderIcon.svg`,Vn=`${e}/TransactionIcon.svg`,zn=`${e}/GenericIcon.svg`,Kn=`${t}/smsColoured.svg`,Zn=`${t}/whatsAppColored.svg`,qn=`${t}/dueDateBlue.svg`,Qn=`${t}/dueDateOrange.svg`,Jn=`${t}/dueDateYellow.svg`,Xn=`${t}/dueDateRed.svg`,jn=`${t}/dueDateBlack.svg`,es=`${t}/dueDateGray.svg`,ts=`${t}/timerBlue.svg`,os=`${t}/expiredIcon.svg`,ns=`${t}/remindedRed.svg`,ss=`${t}/chevronWhite.svg`,cs=`${t}/chevronGray.svg`,as=`${t}/notVerified.svg`,ps=`${t}/verified.svg`,rs=`${t}/verifyReview.svg`,xs=`${e}/window/attention.svg`,is=`${e}/window/initalAcceptance.svg`,ds=`${e}/window/completedAcceptance.svg`,ls=`${e}/window/initalPayouts.svg`,us=`${e}/window/completedPayouts.svg`,gs=`${t}/collapseArrowsIcon.svg`,Is=`${t}/expandArrowsIcon.svg`,vs=`${t}/greenArrowRight.svg`,hs=`${t}/greenArrowLeft1.svg`,ms=`${t}/greenIconWithArrowUp.svg`,fs=`${t}/whiteArrowRight.svg`,Es=`${t}/whiteArrowLeft.svg`,$s=`${e}/HSBCBank.svg`,As=`${e}/shopifyIcon.svg`,Ts=`${e}/verifiedGreenBadge.svg`,Ss=`${e}/backButtonLeft.svg`,Cs=`${e}/eyeHideIcon.svg`,ys=`${e}/eyeShowIcon.svg`,_s=`${t}/uploadIcon.svg`,bs=`${e}/inprogressIcon.svg`,ws=`${t}/uploadBlueIcon.svg`,Ns=`${t}/SandboxHovered.svg`,Rs=`${t}/sandboxDefaultIcon.svg`,Ls=`${t}/SandboxIcon.svg`,Ps=`${t}/clock.svg`,Os=`${t}/RedClose.svg`,Bs=`${t}/xls.svg`,Ds=`${t}/csv.svg`,Ms=`${t}/pdf.svg`,Us=`${t}/Download.svg`,ks=`${t}/reportsIconOutlined.svg`,Gs=`${t}/Done.svg`,Fs=`${t}/reportApps.svg`,E=`${e}/window/ReportsApp.svg`,$=`${e}/window/leadApp.svg`,A=`${e}/window/leadTitleIcon.svg`,T=`${t}/OrderApp.svg`,S=`${t}/OrderTitleIcon.svg`,Ws=`${e}/dottedLine.svg`,Hs=`${e}/passwordDots.svg`,Ys=`${e}/dollarSign.svg`,Vs=`${e}/reload.svg`,zs=`${t}/deletedStatus1.svg`,Ks=`${t}/draftedStatus1.svg`,Zs=`${t}/createdStatus1.svg`,qs=`${t}/cancelledStatus1.svg`,Qs=`${t}/expiredStatus1.svg`,Js=`${t}/paidStatus1.svg`,Xs=`${t}/deliveredStatus1.svg`,js=`${t}/viewedStatus1.svg`,ec=`${t}/savedStatus1.svg`,tc=`${t}/scheduledStatus1.svg`,oc=`${t}/invoicePendingStatus2.svg`,nc=`${t}/invoiceRefundedStatus2.svg`,sc=`${e}/activeLeadStatus.svg`,cc=`${e}/completedLeadStatus.svg`,ac=`${e}/closedLeadStatus.svg`,pc=`${e}/expiredLeadStatus.svg`,rc=`${e}/readyLeadStatus.svg`,xc=`${e}/newFileIcon.svg`,ic=`${e}/teamWindowIcon.svg`,dc=`${e}/blueAppsIcon.svg`,lc=`${e}/disabledCardIcon.svg`,uc=`${e}/disabledCodeIcon.svg`,gc=`${e}/layersIcon.svg`,Ic=`${e}/status/pendingOnTapIcon.svg`,vc=`${e}/leadWhiteIcon.svg`,hc=`${t}/chatDisabledIcon.svg`,mc=`${e}/exclamationDarkIcon.svg`,fc=`${t}/exclamationWarning.svg`,Ec=`${e}/exclamationError.svg`,$c=`${t}/greenCheckV2.svg`,Ac=`${e}/iosIcon1.svg`,Tc=`${e}/androidIcon.svg`,Sc=`${e}/websiteIcon.svg`,Cc=`${t}/greyApple.svg`,yc=`${t}/greyLocationIcon.svg`,_c=`${t}/greyDesktopIcon.svg`,bc=`${t}/greyTimezone.svg`,wc=`${t}/safariBrowser.svg`,Nc=`${t}/chromeBrowser.svg`,Rc=`${t}/firefoxBrowser.svg`,Lc=`${t}/microsoftBrowser.svg`,Pc=`${t}/operaBrowser.svg`,Oc=`${t}/braveBrowser.svg`,Bc=`${t}/arcBrowser.svg`,Dc=`${t}/chromiumBrowser.svg`,Mc=`${t}/userIcon.svg`,C=`${t}/slaProcess.svg`,y=`${e}/window/slaProcess.svg`,Uc=`${e}/status/table/abandoned.svg`,kc=`${e}/status/table/cancelled.svg`,Gc=`${e}/status/table/captured.svg`,Fc=`${e}/status/table/chargeBack.svg`,Wc=`${e}/status/table/chargeBackRequested.svg`,Hc=`${e}/status/table/completed.svg`,Yc=`${e}/status/table/declined.svg`,Vc=`${e}/status/table/destinationReversed.svg`,zc=`${t}/DestinationWithoutBackground.svg`,Kc=`${e}/status/table/disputeResolved.svg`,Zc=`${e}/status/table/failed.svg`,qc=`${e}/status/table/failedNoBG.svg`,Qc=`${e}/status/table/declinedNoBg.svg`,Jc=`${t}/destinationSuccess.svg`,Xc=`${e}/status/authenticationFailed.svg`,jc=`${e}/status/table/authenticated.svg`,ea=`${e}/paidOutFilterIcon.svg`,ta=`${e}/completedBlackIcon.svg`,oa=`${e}/scheduledFilterIcon.svg`,na=`${e}/saveTokenIcon.svg`,sa=`${e}/status/unauthenticated.svg`,ca=`${e}/status/authenticationAttempted.svg`,aa=`${e}/status/authenticationNoAuth.svg`,pa=`${e}/status/authenticationDeclined.svg`,ra=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,xa=`${e}/status/authenticationExemptedWithTransaction2.svg`,ia=`${e}/status/authenticationFailed1.svg`,da=`${e}/status/authenticationInitiated.svg`,la=`${e}/status/authenticationUnavailable.svg`,ua=`${e}/status/authenticationUndetermined.svg`,ga=`${e}/status/AuthenticationWithoutTransaction1.svg`,Ia=`${e}/status/authenticationWithTransaction1 2.svg`,va=`${e}/status/AuthenticationAuthenticated.svg`,ha=`${e}/status/authenticationPending2.svg`,ma=`${e}/authenticationFailedNoBg.svg`,fa=`${e}/authenticationPendingNoBg.svg`,Ea=`${e}/authenticationNoAuthNoBg.svg`,$a=`${e}/authenticationAttemptedNoBg.svg`,Aa=`${e}/authenticationExemptedWithTransactionNoBg.svg`,Ta=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,Sa=`${e}/authenticationDeclinedNoBg.svg`,Ca=`${e}/authenticationUnavailableNoBg.svg`,ya=`${e}/authenticationUndeterminedNoBg.svg`,_a=`${e}/authenticatedSuccessNoBg.svg`,ba=`${e}/authenticationWithTransactionNoBg.svg`,wa=`${e}/authenticationWithoutTransactionNoBg.svg`,Na=`${e}/provider/CYBERSOURCE.svg`,Ra=`${e}/provider/MPGS.svg`,La=`${e}/provider/NETCETERA.svg`,Pa=`${e}/provider/TAP3DS.svg`,Oa=`${e}/greyPlusIcon.svg`,Ba=`${e}/greyMinusIcon.svg`,Da=`${e}/noPreviewIcon.svg`,Ma=`${e}/other/editIcon.svg`,Ua=`${t}/viewInvoice.svg`,ka=`${t}/checkoutStatus.svg`,Ga=`${t}/checkStatusOutBlue.svg`,Fa=`${t}/checkoutWithMarkStatus.svg`,Wa=`${t}/intentExpiredStatus.svg`,Ha=`${t}/intentInitiatedStatus.svg`,Ya=`${t}/intentCancelledStatus.svg`,Va=`${t}/intentTransactedStatus.svg`,za=`${e}/SheetViewUnionIcon.svg`,Ka=`${e}/sheetView.svg`,Za=`${e}/abandonedNoBG.svg`,qa=`${e}/status/table/paidOut.svg`,Qa=`${e}/status/table/reversePayout.svg`,Ja=`${e}/status/pendingPayout.svg`,Xa=`${t}/whiteCloseIcon.svg`,ja=`${e}/window/empty.svg`,ep=`${e}/loaderWhiteIcon.svg`,tp=`${t}/reverseActionIcon.svg`,op=`${e}/status/authenticationWallet.svg`,np=`${e}/status/authenticationApp.svg`,sp=`${e}/status/authenticationBiometric.svg`,cp=`${e}/status/authenticationDevice.svg`,ap=`${e}/status/authenticationIssuer.svg`,pp=`${e}/status/authenticationScheme.svg`,rp=`${e}/pin.svg`,xp=`${e}/unpin.svg`,ip=`${t}/switcher.svg`,dp=`${e}/verticalLine.svg`,lp=`${e}/previewModeIcon.svg`,up=`${e}/status/table/tokensSaved.svg`,gp=`${e}/status/table/tokensTransacted.svg`,Ip=`${e}/status/table/tokensExpired.svg`,vp=`${e}/status/table/tokensPending.svg`,hp=`${e}/status/table/tokenCardIcon.svg`,mp=`${t}/TableloadingSpinner.svg`,fp=`${t}/loadingSpinnerWhite.svg`,Ep=`${e}/backgroundLoader.svg`,$p=`${t}/arrowUpBlue1.svg`,Ap=`${t}/BlueCheckMarkShadowed1.svg`,Tp=`${t}/cardViewButton.svg`,Sp=`${t}/listViewButton1.svg`,Cp=`${e}/BlueArrowUpIcon.svg`,yp=`${e}/BlueCircleLoaderIcon.svg`,_p=`${e}/appsGridIcon2.svg`,bp=`${e}/whiteFilter.svg`,wp=`${e}/grayCloseIcon.svg`,Np=`${e}/status/OrderAgreementIcon.svg`,Rp=`${e}/status/InstallmentAgreementIcon.svg`,Lp=`${e}/status/CardAgreementIcon.svg`,Pp=`${e}/status/SubscriptionAgreementIcon.svg`,Op=`${e}/brandPlaceholder.svg`,Bp=`${e}/users-icons.svg`,Dp=`${e}/Board-Icons.svg`,Mp=`${t}/No Agreement.svg`,_=`${e}/window/acceptance.svg`,b=`${e}/window/wallet.svg`,w=`${e}/window/billing.svg`,N=`${e}/window/customers.svg`,R=`${e}/window/payout.svg`,L=`${e}/window/protect.svg`,P=`${e}/window/tokens.svg`,O=`${e}/window/account.svg`,B=`${e}/window/businesses.svg`,D=`${e}/window/authentication.svg`,M=`${t}/reportsIcon.svg`,Up=`${e}/window/tokensReports.svg`,kp=`${e}/window/brand.svg`,Gp=`${e}/window/entity.svg`,Fp=`${e}/window/bank.svg`,Wp=`${e}/window/individual.svg`,Hp=`${e}/window/password.svg`,Yp=`${e}/actionsIcon.svg`,Vp=`${e}/addItem.svg`,zp=`${e}/attachIcon.svg`,Kp=`${e}/CollapseArrows.svg`,Zp=`${e}/customerIcon.svg`,qp=`${e}/discountIcon.svg`,Qp=`${e}/emailIcon.svg`,Jp=`${e}/emailBlackIcon.svg`,Xp=`${e}/linkTiltedIcon.svg`,jp=`${e}/ExpandArrows.svg`,er=`${e}/feeIcon.svg`,tr=`${e}/minusIcon.svg`,or=`${e}/noteIcon.svg`,nr=`${e}/pdfGrayIcon.svg`,sr=`${e}/productLabel.svg`,cr=`${e}/quantityIcon.svg`,ar=`${e}/removeItem.svg`,pr=`${t}/removeItem2.svg`,rr=`${e}/smsIcon.svg`,xr=`${e}/taxIcon.svg`,ir=`${e}/totalAmountIcon.svg`,dr=`${e}/unfocusRemoveItem.svg`,lr=`${e}/whatsappIcon1.svg`,ur=`${e}/whiteArrow2.svg`,gr=`${e}/newInvoice.svg`,Ir=`${e}/activeActionIcon.svg`,vr=`${e}/grayProductLabel.svg`,hr=`${e}/plusQty.svg`,mr=`${t}/downArrow3.svg`,fr=`${e}/customer.svg`,Er=`${t}/note.svg`,$r=`${e}/blueNoteIcon.svg`,Ar=`${t}/attach.svg`,Tr=`${e}/lateFee.svg`,Sr=`${e}/addItemIcon.svg`,Cr=`${e}/blueCheckIcon.svg`,yr=`${t}/trash-bin.svg`,_r=`${e}/blueVerifyIcon.svg`,br=`${e}/verificationDarkBlue.svg`,wr=`${e}/grayVerifyIcon.svg`,Nr=`${e}/greenVerifyIcon.svg`,Rr=`${e}/redVerifyIcon.svg`,Lr=`${e}/closedVerifyIcon.svg`,Pr=`${e}/archivedVerifyIcon.svg`,Or=`${e}/penIcon.svg`,Br=`${t}/listShadow.svg`,Dr=`${e}/defaultCountryIcon.svg`,Mr=`${e}/defaultDeviceIcon.svg`,Ur=`${e}/biometric.svg`,kr=`${e}/3dsBlue.svg`,Gr=`${t}/createCharge.svg`,Fr=`${t}/successCheck.svg`,Wr=`${t}/receipt.svg`,Hr=`${t}/browserTimezone.svg`,Yr=`${t}/entityTimezone.svg`,Vr=`${t}/historyTimezone.svg`,zr=`${t}/smallBlueCheck.svg`,Kr=`${t}/fileDownloadBlue.svg`,Zr=`${t}/fileDownloadGrey.svg`,qr=`${e}/meta.svg`,Qr=`${e}/darkFilterIcon.svg`,Jr=`${e}/resize-icon.svg`,Xr=`${e}/home.svg`,jr=`${e}/lockIcon.svg`,ex=`${e}/Calendar.svg`,tx=`${e}/status-v2/autoCapturedNoBG.svg`,ox=`${e}/status-v2/autoVoidNoBG.svg`,nx=`${e}/status-v2/cancelledNoBG.svg`,sx=`${e}/status-v2/capturedNoBG.svg`,cx=`${e}/status-v2/declinedNoBG.svg`,ax=`${e}/status-v2/destinationsNoBG.svg`,px=`${e}/status-v2/failedNoBG.svg`,rx=`${e}/status-v2/gatewayOrange.svg`,xx=`${e}/status-v2/gatewayRedNoBG.svg`,ix=`${e}/status-v2/paidoutNoBG.svg`,dx=`${e}/status-v2/refundedIconNoBG2.svg`,lx=`${e}/status-v2/refundInitiatedNoBG.svg`,ux=`${e}/status-v2/refundSettledNoBG.svg`,gx=`${e}/status-v2/refundNotSettledNoBG.svg`,Ix=`${e}/status-v2/restrictedNoBG.svg`,vx=`${e}/status-v2/settledNoBG.svg`,hx=`${e}/status-v2/settlementInitiatedNoBG.svg`,mx=`${e}/status-v2/timeoutNoBG.svg`,fx=`${e}/status-v2/unavailableNoBG.svg`,Ex=`${e}/status-v2/unknownNoBG.svg`,$x=`${e}/status-v2/void.svg`,Ax=`${e}/status-v2/authorizeNoBG.svg`,Tx=`${e}/status-v2/initiatedNoBG.svg`,Sx=`${e}/websiteBlueIcon.svg`,Cx=`${e}/androidAppIcon.svg`,yx=`${e}/iOSAppIcon.svg`,_x=`${e}/physicalLocationIcon.svg`,bx=`${e}/socialLinksIcon.svg`,wx=`${e}/smallLeftArrow.svg`,Nx=`${e}/searchBlueIcon.svg`,Rx=`${t}/rightLightArrow.svg`,Lx=`${t}/segmentInstitution.svg`,Px=`${t}/segmentTechnology.svg`,Ox=`${t}/segmentDevelopmentHouse.svg`,U=`${t}/terminal.svg`,k=`${e}/window/terminal.svg`,Bx=`${e}/terminalCardPhone.svg`,Dx=`${e}/ToastPOS.svg`,Mx=`${e}/terminalTypeIcon.svg`,Ux=`${e}/terminalBrush.svg`,kx=`${e}/terminalBrushMuted.svg`,Gx=`${e}/navigationIcon.svg`,Fx=`${e}/babyBlueCheckIcon.svg`,Wx=`${e}/digitalReceiptIcon.svg`,Hx=`${e}/bankNoteIcon.svg`,Yx=`${e}/terminalDeviceFrame.svg`,Vx=`${e}/blackBrushIcon.svg`,zx=`${e}/mutedOutlinedCheckIcon.svg`,Kx=`${e}/outlinedPlatformIcon.svg`,Zx=`${e}/navigationPointerBlack.svg`,qx=`${e}/addIconWhite.svg`,Qx=`${e}/greyUpArrow.svg`,Jx=`${e}/greyDownArrow.svg`,Xx=`${e}/services/brandService.svg`,jx=`${e}/services/authorizationService.svg`,ei=`${e}/services/chargebacksService.svg`,ti=`${e}/services/chargesService.svg`,oi=`${e}/services/destinationsService.svg`,ni=`${e}/services/entityService.svg`,si=`${e}/services/invoiceService.svg`,ci=`${e}/services/payoutService.svg`,ai=`${e}/services/refundsService.svg`,pi=`${e}/services/usersService.svg`,ri=`${e}/services/walletService.svg`,xi=`${e}/services/intentsService.svg`,ii=`${e}/archievedOutlined.svg`,di=`${e}/closeOutlinedCircle.svg`,li=`${e}/dashedOutlinedCircle.svg`,ui=`${e}/deactivatedCircle.svg`,gi=`${e}/exclamationOutlinedCircle.svg`,Ii=`${e}/outlinedCircle.svg`,vi=`${e}/greenCheck2ACE00.svg`,hi=`${e}/blueCopyIcon.svg`,mi=`${e}/blackLinkIcon.svg`,fi=`${e}/blackSettingsIcon.svg`,Ei=`${e}/blackWallet.svg`,$i=`${e}/blueGradientBrushIcon.svg`,Ai=`${e}/gadientLink.svg`,Ti=`${e}/gradientSettings.svg`,Si=`${e}/gradientWallet.svg`,Ci=`${e}/manyCurrencyCoin.svg`,yi=`${e}/manyCurrencyCoinGradient.svg`,_i=`${e}/blackMobileBatteryIcon.svg`,bi=`${e}/blackMobileSignalIcon.svg`,wi=`${e}/emptyMobileWifiIcon.svg`,Ni=`${e}/deemaWithLabel.svg`,Ri=`${e}/chargeBackWhiteIcon.svg`,Li=`${e}/blackUnLinkIcon.svg`,Pi=`${e}/sortDescArrowIcon.svg`,Oi=`${e}/sortAscArrowIcon.svg`,Bi=`${e}/closedOutlinedYellowCircle.svg`,Di=`${e}/deactivatedOrangeCircle.svg`,Mi=`${e}/exclamationOutlinedOrangeCircle.svg`,Ui=`${e}/activeGreenIcon.svg`,ki=`${e}/inActiveGreyIcon.svg`,Gi=`${W}/terminal_link.mp4`,Fi=`${e}/bluePlusIcon.svg`,Wi=`${e}/blackSettingsVariant2Icon.svg`,Hi=`${e}/exclamationWhite.svg`,Yi=`${t}/paymentTechnology.svg`,Vi=`${t}/paymentGatewayProvider.svg`,zi=`${t}/paymentTechnologyV2.svg`,Ki=`${t}/paymentTerminalProvider.svg`,Zi=`${t}/merchantServiceProvider.svg`,qi=`${t}/paymentProcessor.svg`,Qi=`${t}/paymentScheme.svg`,Ji=`${t}/paymentIssuer.svg`,Xi=`${t}/paymentAcquirer.svg`,ji=`${t}/paymentMethod.svg`,ed=`${t}/paymentFacilitator.svg`,td=`${t}/commercialRegulator.svg`,od=`${t}/appPlatform.svg`,nd=`${t}/retailPlatform.svg`,sd=`${t}/commercePlatform.svg`,cd=`${t}/billingPlatform.svg`,ad=`${t}/authenticationGateway.svg`,pd=`${t}/retailer.svg`,rd=`${t}/blueCircleWithWhiteCheck.svg`,xd=`${e}/externalLink.svg`;var Il=3,id=88,dd=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"}},ld={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}},ud=[{code:o.tokens.code,iconUrl:I,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:R},{code:o.protect.code,iconUrl:v,toolbarIconUrl:L},{code:o.authentication.code,iconUrl:i,toolbarIconUrl:D},{code:o.customers.code,iconUrl:h,toolbarIconUrl:N},{code:o.businesses.code,iconUrl:m,toolbarIconUrl:B},{code:o.reports.code,iconUrl:E,toolbarIconUrl:M},{code:o.account.code,iconUrl:f,toolbarIconUrl:O},{code:o.order.code,iconUrl:T,toolbarIconUrl:S},{code:o.leads.code,iconUrl:$,toolbarIconUrl:A},{code:o.terminals.code,iconUrl:U,toolbarIconUrl:k},{code:o.slaProcess.code,iconUrl:C,toolbarIconUrl:y}],gd=["login"];var Id=window.__GLOBAL_CONFIG__??{},H=Id.MW_BASE_URL??import.meta.env.VITE_BASE_URL,vd=`${H}/api`,hd=import.meta.env.VITE_ENV,md=import.meta.env.VITE_TEST_FIXED_SK;var fd=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var Ed={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 Al=50,$d={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 Ad={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 Td={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 Sd={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 Cd={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 yd={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 _d={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 bd={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 wd={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 Nd={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 Rd={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 Ld={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 Pd={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 Od={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 Bd={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 Dd={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 Md={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 Ud={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 kd={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 Gd={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"},Fd=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 Hd={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"}},Yd=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],Vd={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var Vl=52,zl=70,Kl=57,Zl=200,ql=5,Ql=40,Jl=20,Xl=28;var zd={COUNT:"count",AMOUNT:"amount"},Kd={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`},Zd=[{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",qd=[{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"},Qd={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},Jd=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM","PLATFORM"],Xd=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],jd=["PAYMENT_TECHNOLOGY"],el=["PAYMENT_ISSUER"],tl=["DEVELOPMENT_HOUSE"];var ol={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var nl={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"},sl={[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]},cl=[{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 al={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var pl=["AUTHENTICATED"],K=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","UNDETERMINED","EXEMPTED","INITIATED"],rl=[...pl,...K],Z=(F=>(F.Challenge="C",F.Frictionless="F",F))(Z||{}),xl={C:"Challenge",F:"Frictionless"};var il=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var dl=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"})]}),ll=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,Pp as $g,Ar as $h,Ax as $i,Ei as $j,vd as $k,ol as $l,$e as A,$t as Aa,Ao as Ab,f 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,Fd as Al,Ae as B,At as Ba,To as Bb,gn as Bc,gs as Bd,xc as Be,pa as Bf,pp as Bg,Qp as Bh,Qr as Bi,Zx as Bj,Zi as Bk,Wd as Bl,Te as C,Tt as Ca,So as Cb,In as Cc,Is as Cd,ic as Ce,ra as Cf,rp as Cg,Jp as Ch,Jr as Ci,qx as Cj,qi as Ck,Hd 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,Yd 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,Ji as Ek,Vd 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,Xi as Fk,Vl as Fl,_e as G,_t as Ga,bo as Gb,fn as Gc,fs as Gd,gc as Ge,la as Gf,lp as Gg,tr as Gh,tx as Gi,jx as Gj,ji as Gk,zl as Gl,be as H,bt as Ha,wo as Hb,En as Hc,Es as Hd,Ic as He,ua as Hf,up as Hg,or as Hh,ox as Hi,ei as Hj,ed as Hk,Kl as Hl,we as I,wt as Ia,No as Ib,$n as Ic,$s as Id,vc as Ie,ga as If,gp as Ig,nr as Ih,nx as Ii,ti as Ij,td as Ik,Zl as Il,Ne as J,Nt as Ja,Ro as Jb,An as Jc,As as Jd,hc as Je,Ia as Jf,Ip as Jg,sr as Jh,sx as Ji,oi as Jj,od as Jk,ql as Jl,Re as K,Rt as Ka,Lo 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,nd as Kk,Ql as Kl,Le as L,Lt 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,sd as Lk,Jl 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,cd as Mk,Xl as Ml,Oe as N,Ot as Na,Bo as Nb,yn as Nc,ys as Nd,$c as Ne,fa as Nf,fp as Ng,rr as Nh,rx as Ni,ai as Nj,ad as Nk,zd as Nl,Be as O,Bt as Oa,Do as Ob,_n as Oc,_s as Od,Ac as Oe,Ea as Of,Ep as Og,xr as Oh,xx as Oi,pi as Oj,pd as Ok,Kd as Ol,De as P,Dt as Pa,Mo as Pb,bn as Pc,bs as Pd,Tc as Pe,$a as Pf,$p as Pg,ir as Ph,ix as Pi,ri as Pj,rd as Pk,p as Pl,Me as Q,Mt as Qa,Uo as Qb,wn as Qc,ws as Qd,Sc as Qe,Aa as Qf,Ap as Qg,dr as Qh,dx as Qi,xi as Qj,xd as Qk,Zd as Ql,Ue as R,Ut as Ra,ko as Rb,Nn as Rc,Ns as Rd,Cc as Re,Ta as Rf,Tp as Rg,lr as Rh,lx as Ri,ii as Rj,Il as Rk,V as Rl,ke as S,kt as Sa,Go as Sb,Rn as Sc,Rs as Sd,yc as Se,Sa as Sf,Sp as Sg,ur as Sh,ux as Si,di as Sj,id as Sk,z as Sl,Ge as T,Gt as Ta,Fo as Tb,Ln as Tc,Ls as Td,_c as Te,Ca as Tf,Cp as Tg,gr as Th,gx as Ti,li as Tj,dd as Tk,qd as Tl,Fe as U,Ft as Ua,Wo as Ub,Pn as Uc,Ps as Ud,bc as Ue,ya as Uf,yp as Ug,Ir as Uh,Ix as Ui,ui as Uj,n as Uk,a as Ul,We as V,Wt as Va,Ho as Vb,On as Vc,Os as Vd,wc as Ve,_a as Vf,_p as Vg,vr as Vh,vx as Vi,gi as Vj,G as Vk,Qd as Vl,He as W,Ht as Wa,Yo as Wb,Bn as Wc,Bs as Wd,Nc as We,ba as Wf,bp as Wg,hr as Wh,hx as Wi,Ii as Wj,o as Wk,Jd as Wl,Ye as X,Yt as Xa,Vo as Xb,Dn as Xc,Ds as Xd,Rc as Xe,wa as Xf,wp as Xg,mr as Xh,mx as Xi,vi as Xj,ld as Xk,Xd as Xl,Ve as Y,Vt as Ya,zo as Yb,Mn as Yc,Ms as Yd,Lc as Ye,Na as Yf,Np as Yg,fr as Yh,fx as Yi,hi as Yj,ud as Yk,jd as Yl,ze as Z,zt as Za,Ko as Zb,Un as Zc,Us as Zd,Pc as Ze,Ra as Zf,Rp as Zg,Er as Zh,Ex as Zi,mi as Zj,gd as Zk,el as Zl,Ke as _,Kt as _a,Zo as _b,kn as _c,ks as _d,Oc as _e,La as _f,Lp as _g,$r as _h,$x as _i,fi as _j,H as _k,tl as _l,e as a,qe as aa,qt as ab,Qo as ac,Fn as ad,Fs as ae,Dc as af,Oa as ag,Op as ah,Tr as ai,Tx as aj,$i as ak,hd as al,nl as am,t as b,Qe as ba,Qt as bb,Jo as bc,Wn as bd,E as be,Mc as bf,Ba as bg,Bp as bh,Sr as bi,Sx as bj,Ai as bk,md as bl,s as bm,X as c,Je as ca,Jt as cb,Xo as cc,Hn as cd,$ as ce,C as cf,Da as cg,Dp as ch,Cr as ci,Cx as cj,Ti as ck,fd as cl,sl as cm,W as d,Xe as da,Xt as db,jo as dc,Yn as dd,A as de,y as df,Ma as dg,Mp as dh,yr as di,yx as dj,Si as dk,Ed as dl,cl as dm,j as e,je as ea,jt as eb,en as ec,Vn as ed,T as ee,Uc as ef,Ua as eg,_ as eh,_r as ei,_x as ej,Ci as ek,Al as el,al as em,ee as f,et as fa,eo as fb,tn as fc,zn as fd,S as fe,kc as ff,ka as fg,b as fh,br as fi,bx as fj,yi as fk,$d as fl,K as fm,te as g,tt as ga,to as gb,I as gc,Kn as gd,Ws as ge,Gc as gf,Ga as gg,w as gh,wr as gi,wx as gj,_i as gk,Ad as gl,rl as gm,oe as h,ot as ha,oo as hb,r as hc,Zn as hd,Hs as he,Fc as hf,Fa as hg,N as hh,Nr as hi,Nx as hj,bi as hk,Td as hl,Z as hm,ne as i,nt as ia,no as ib,on as ic,qn as id,Ys as ie,Wc as if,Wa as ig,R as ih,Rr as ii,Rx as ij,wi as ik,Sd as il,xl as im,se as j,st as ja,so as jb,nn as jc,Qn as jd,Vs as je,Hc as jf,Ha as jg,L as jh,Lr as ji,Lx as jj,Ni as jk,Cd as jl,il as jm,ce as k,ct as ka,co as kb,x as kc,Jn as kd,zs as ke,Yc as kf,Ya as kg,P as kh,Pr as ki,Px as kj,Ri as kk,yd as kl,dl as km,ae as l,at as la,ao as lb,sn as lc,Xn as ld,Ks as le,Vc as lf,Va as lg,O as lh,Or as li,Ox as lj,Li as lk,_d as ll,ll as lm,pe as m,pt as ma,po as mb,cn as mc,jn as md,Zs as me,zc as mf,za as mg,B as mh,Br as mi,U as mj,Pi as mk,bd as ml,ul as mm,re as n,rt as na,ro as nb,an as nc,es as nd,qs as ne,Kc as nf,Ka as ng,D as nh,Dr as ni,k as nj,Oi as nk,wd 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,M as oh,Mr as oi,Bx as oj,Bi as ok,Nd 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,Dx as pj,Di 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,Mx as qj,Mi 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,Pd as rl,ue as s,ut as sa,go 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,Od as sl,ge as t,gt as ta,Io as tb,un 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,Bd as tl,Ie as u,It as ua,vo as ub,i 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,Dd as ul,ve as v,vt as va,ho as vb,d 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,Md as vl,he as w,ht as wa,mo as wb,l 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,Ud as wl,me as x,mt as xa,fo as xb,v 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,kd as xl,fe as y,ft as ya,Eo as yb,h 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,Gd as yl,Ee as z,Et as za,$o as zb,m 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,Y as zl};
@@ -1 +1 @@
1
- import {a}from'./chunk-XCLBERSS.js';import {Dc,J,cb}from'./chunk-ECDED65U.js';import {Bl}from'./chunk-TCLN5DZD.js';import {useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import S from'dayjs';import U from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),b=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),w=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),K=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),B=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var L=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===Bl.AMOUNT?`${cb(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),W=(t,i,r=0)=>{let a=S(t).add(r,"hour").format(),n=new Date,o=S(a).isSame(n,"year");return J(a,i?void 0:{sameDay:`[Today] ${o?"":"YYYY"}`,nextDay:`[Tomorrow] ${o?"":"YYYY"}`,lastDay:`[Yesterday] ${o?"":"YYYY"}`,sameElse:`MMM DD ${o?"":", YYYY"}`,lastWeek:`MMM DD ${o?"":", YYYY"}`,nextWeek:`MMM DD ${o?"":", YYYY"}`},void 0,void 0,r!==void 0)};var V=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),o=S(r?.[0]),u=S(r?.[1]),d=o?.isSame(u,"day");if(t&&i?.length){let e=i[0],f=Dc(e?.dataKey,e?.value),y=e?.payload?.date&&W(e?.payload?.date,d,e?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(b,{children:y??e?.payload?.date}),jsxs(w,{children:[e?.dataKey===Bl.AMOUNT&&jsxs(K,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(B,{children:a$1})]}),jsx(U,{children:`${L(e,n(f),a$1)}`})]})]})}return null},x=V;var N=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],j=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:N,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=j;var tt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let o=useTheme(),[u,d]=useState(false),[e,f]=useState({x:0,y:0}),y=t?.length===0,P=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},O=useMemo(()=>jsx(x,{position:e,dateRange:a,selectedCurrency:n}),[e,a,n]);return r||y?jsx(T,{}):jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:P,children:[t.length>0&&jsx(Tooltip,{content:O,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:o.palette.success.dark,activeDot:{r:5,fill:o.palette.success.dark,strokeWidth:2,stroke:"white",cursor:u?"pointer":"default",onMouseOver:()=>d(true),onMouseLeave:()=>d(false)}})]})})},E=tt;var St=E;export{x as a,T as b,St as c};
1
+ import {a}from'./chunk-K6NTAYPA.js';import {Dc,J,cb}from'./chunk-WORLFJSX.js';import {Nl}from'./chunk-5FFE2OLR.js';import {useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import S from'dayjs';import U from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),b=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),w=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),K=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),B=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var L=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===Nl.AMOUNT?`${cb(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),W=(t,i,r=0)=>{let a=S(t).add(r,"hour").format(),n=new Date,o=S(a).isSame(n,"year");return J(a,i?void 0:{sameDay:`[Today] ${o?"":"YYYY"}`,nextDay:`[Tomorrow] ${o?"":"YYYY"}`,lastDay:`[Yesterday] ${o?"":"YYYY"}`,sameElse:`MMM DD ${o?"":", YYYY"}`,lastWeek:`MMM DD ${o?"":", YYYY"}`,nextWeek:`MMM DD ${o?"":", YYYY"}`},void 0,void 0,r!==void 0)};var V=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),o=S(r?.[0]),u=S(r?.[1]),d=o?.isSame(u,"day");if(t&&i?.length){let e=i[0],f=Dc(e?.dataKey,e?.value),y=e?.payload?.date&&W(e?.payload?.date,d,e?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(b,{children:y??e?.payload?.date}),jsxs(w,{children:[e?.dataKey===Nl.AMOUNT&&jsxs(K,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(B,{children:a$1})]}),jsx(U,{children:`${L(e,n(f),a$1)}`})]})]})}return null},x=V;var N=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],j=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:N,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=j;var tt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let o=useTheme(),[u,d]=useState(false),[e,f]=useState({x:0,y:0}),y=t?.length===0,P=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},O=useMemo(()=>jsx(x,{position:e,dateRange:a,selectedCurrency:n}),[e,a,n]);return r||y?jsx(T,{}):jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:P,children:[t.length>0&&jsx(Tooltip,{content:O,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:o.palette.success.dark,activeDot:{r:5,fill:o.palette.success.dark,strokeWidth:2,stroke:"white",cursor:u?"pointer":"default",onMouseOver:()=>d(true),onMouseLeave:()=>d(false)}})]})})},E=tt;var St=E;export{x as a,T as b,St as c};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-VBQVGZ4J.js';import {a as a$3}from'./chunk-R7QVUQBN.js';import {a as a$2}from'./chunk-NKNRVF6Q.js';import {a}from'./chunk-CNIYZZCP.js';import {tc}from'./chunk-ECDED65U.js';import {Sh,Th,Yh,Qd}from'./chunk-TCLN5DZD.js';import {memo,useState,useEffect,useMemo}from'react';import n from'@mui/material/Box';import {useDropzone}from'react-dropzone';import {useTranslation}from'react-i18next';import {Button}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var x=styled(n)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),m=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),H=styled(n)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),u=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),f=styled(n)(({theme:e})=>({width:431,height:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),g=styled(n)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),$=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),h=styled(n)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),F=styled(n)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),J=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),L=styled(n)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));function ie({accept:e,footer:i,options:b,isCreateLoading:y,progress:V,error:k,subtitleComponent:S,isSuccess:z,onConfirm:X,isSendDisabled:q}){let{t:a}=useTranslation(),[p,T]=useState([]),{getRootProps:G,getInputProps:K,open:U,acceptedFiles:I,isDragReject:P,fileRejections:s}=useDropzone(b);useEffect(()=>{T(I);},[I]);let w=tc(b?.maxSize||0,0).toUpperCase(),d=useMemo(()=>{let O=s.length&&s[0].errors.some(W=>W.code==="file-invalid-type"),Q=s.length&&s[0].errors.some(W=>W.code==="file-too-large");return P||O?a("invalidFileType"):Q?`File is larger than ${w}`:k},[P,k,s]);return z&&p.length&&!y?jsxs(x,{children:[jsxs(n,{children:[jsx(m,{children:"File uploaded"}),S]}),jsx(f,{children:jsxs(g,{children:[z&&jsx(n,{component:"img",src:Sh,width:56,height:56}),jsxs(h,{sx:{fontWeight:600},children:[jsx(n,{children:p[0].name}),jsx(F,{children:tc(p[0].size)})]})]})}),jsxs(L,{children:[jsx(a$1,{onClick:()=>{T([]);},children:jsx(a$2,{src:Th,alt:"delete",sx:{width:14,height:14}})}),jsx(J,{disabled:q,onClick:()=>{X?.(p);},children:"Bulk Send"})]})]}):y&&p.length?jsxs(x,{children:[jsxs(n,{children:[jsx(m,{children:a("uploading")}),jsx(u,{children:a("wait")}),S]}),jsx(f,{children:jsxs(g,{children:[y&&jsx(a$3,{size:56,value:V}),jsxs(h,{sx:{fontWeight:600},children:[jsx(n,{children:p[0].name}),jsx(F,{children:tc(p[0].size)})]})]})}),i&&i]}):jsxs(x,{children:[jsxs(n,{children:[jsx(m,{isError:!!d,children:d||a("uploadBulkFile")}),!!d&&jsx(u,{children:"Supported formats: xls, xlxs"}),S]}),jsxs(f,{...G(),children:[jsx("input",{...K()}),jsxs(g,{children:[jsx(n,{component:"img",src:d?Yh:Qd,width:56,height:56}),d?jsx(Fragment,{children:jsx(H,{onClick:U,children:a("uploadAgain")})}):jsxs(h,{children:[jsxs(n,{children:[jsx($,{onClick:U,children:"Click to upload"})," or drag and drop"]}),jsxs(F,{children:["Maximum file size ",w]}),e&&jsx(u,{children:a("supportedFormats",{accept:e})})]})]})]}),i&&i]})}var N=memo(ie);var Te=N;export{Te as a};
1
+ import {a as a$1}from'./chunk-VBQVGZ4J.js';import {a as a$3}from'./chunk-R7QVUQBN.js';import {a as a$2}from'./chunk-NKNRVF6Q.js';import {a}from'./chunk-CNIYZZCP.js';import {tc}from'./chunk-WORLFJSX.js';import {ci,di,ii,Qd}from'./chunk-5FFE2OLR.js';import {memo,useState,useEffect,useMemo}from'react';import n from'@mui/material/Box';import {useDropzone}from'react-dropzone';import {useTranslation}from'react-i18next';import {Button}from'@mui/material';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var x=styled(n)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),m=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),H=styled(n)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),u=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),f=styled(n)(({theme:e})=>({width:431,height:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),g=styled(n)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),$=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),h=styled(n)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),F=styled(n)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),J=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),L=styled(n)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));function ie({accept:e,footer:i,options:b,isCreateLoading:y,progress:V,error:k,subtitleComponent:S,isSuccess:z,onConfirm:X,isSendDisabled:q}){let{t:a}=useTranslation(),[p,T]=useState([]),{getRootProps:G,getInputProps:K,open:U,acceptedFiles:I,isDragReject:P,fileRejections:s}=useDropzone(b);useEffect(()=>{T(I);},[I]);let w=tc(b?.maxSize||0,0).toUpperCase(),d=useMemo(()=>{let O=s.length&&s[0].errors.some(W=>W.code==="file-invalid-type"),Q=s.length&&s[0].errors.some(W=>W.code==="file-too-large");return P||O?a("invalidFileType"):Q?`File is larger than ${w}`:k},[P,k,s]);return z&&p.length&&!y?jsxs(x,{children:[jsxs(n,{children:[jsx(m,{children:"File uploaded"}),S]}),jsx(f,{children:jsxs(g,{children:[z&&jsx(n,{component:"img",src:ci,width:56,height:56}),jsxs(h,{sx:{fontWeight:600},children:[jsx(n,{children:p[0].name}),jsx(F,{children:tc(p[0].size)})]})]})}),jsxs(L,{children:[jsx(a$1,{onClick:()=>{T([]);},children:jsx(a$2,{src:di,alt:"delete",sx:{width:14,height:14}})}),jsx(J,{disabled:q,onClick:()=>{X?.(p);},children:"Bulk Send"})]})]}):y&&p.length?jsxs(x,{children:[jsxs(n,{children:[jsx(m,{children:a("uploading")}),jsx(u,{children:a("wait")}),S]}),jsx(f,{children:jsxs(g,{children:[y&&jsx(a$3,{size:56,value:V}),jsxs(h,{sx:{fontWeight:600},children:[jsx(n,{children:p[0].name}),jsx(F,{children:tc(p[0].size)})]})]})}),i&&i]}):jsxs(x,{children:[jsxs(n,{children:[jsx(m,{isError:!!d,children:d||a("uploadBulkFile")}),!!d&&jsx(u,{children:"Supported formats: xls, xlxs"}),S]}),jsxs(f,{...G(),children:[jsx("input",{...K()}),jsxs(g,{children:[jsx(n,{component:"img",src:d?ii:Qd,width:56,height:56}),d?jsx(Fragment,{children:jsx(H,{onClick:U,children:a("uploadAgain")})}):jsxs(h,{children:[jsxs(n,{children:[jsx($,{onClick:U,children:"Click to upload"})," or drag and drop"]}),jsxs(F,{children:["Maximum file size ",w]}),e&&jsx(u,{children:a("supportedFormats",{accept:e})})]})]})]}),i&&i]})}var N=memo(ie);var Te=N;export{Te as a};
@@ -1 +1 @@
1
- import {b}from'./chunk-63X52EKP.js';import {he}from'./chunk-TCLN5DZD.js';import {jsxs,jsx}from'react/jsx-runtime';var x=({text:t,startLength:p=8,endLength:r=4,chipIndex:a,copyText:i,selectionProps:d})=>{let c=t.slice(0,p),m=t.slice(t.length-r);return jsxs(b,{chipIndex:a,copyText:i,selectionProps:d,children:[c,jsx("img",{src:he,alt:"passwordDots"}),m]})},s=x;var M=s;export{M as a};
1
+ import {b}from'./chunk-HPKA2JXZ.js';import {he}from'./chunk-5FFE2OLR.js';import {jsxs,jsx}from'react/jsx-runtime';var x=({text:t,startLength:p=8,endLength:r=4,chipIndex:a,copyText:i,selectionProps:d})=>{let c=t.slice(0,p),m=t.slice(t.length-r);return jsxs(b,{chipIndex:a,copyText:i,selectionProps:d,children:[c,jsx("img",{src:he,alt:"passwordDots"}),m]})},s=x;var M=s;export{M as a};
@@ -1 +1 @@
1
- import {Fc,bc}from'./chunk-TCLN5DZD.js';import a from'@mui/material/Box';import {Toaster,resolveValue}from'react-hot-toast';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(a)(({theme:o})=>({borderRadius:"4px",padding:"8px",backgroundColor:o.palette.common.white,fontWeight:"600",fontSize:"11px",color:o.palette.text.primary,boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",backdropFilter:"blur(6px)",display:"flex",alignItems:"center",gap:"8px"}));var s={success:bc,error:Fc};function r(){return jsx(Toaster,{children:o=>jsxs(n,{children:[s[o.type]&&jsx(a,{component:"img",src:s[o.type],alt:o.type}),jsx(a,{children:resolveValue(o.message,o)})]})})}var B=r;export{B as a};
1
+ import {Fc,bc}from'./chunk-5FFE2OLR.js';import a from'@mui/material/Box';import {Toaster,resolveValue}from'react-hot-toast';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var n=styled(a)(({theme:o})=>({borderRadius:"4px",padding:"8px",backgroundColor:o.palette.common.white,fontWeight:"600",fontSize:"11px",color:o.palette.text.primary,boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",backdropFilter:"blur(6px)",display:"flex",alignItems:"center",gap:"8px"}));var s={success:bc,error:Fc};function r(){return jsx(Toaster,{children:o=>jsxs(n,{children:[s[o.type]&&jsx(a,{component:"img",src:s[o.type],alt:o.type}),jsx(a,{children:resolveValue(o.message,o)})]})})}var B=r;export{B as a};
@@ -1 +1 @@
1
- import'./chunk-A5L5THUJ.js';import {a}from'./chunk-GLZ7GEBP.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-IGSPXBQE.js';import {a}from'./chunk-EA52JEKL.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}from'./chunk-JXBLMQQW.js';import {a as a$1}from'./chunk-S7OMWEM6.js';import {vb,w}from'./chunk-TCLN5DZD.js';import je,{memo,forwardRef,useMemo,useState,useEffect}from'react';import Q from'@mui/material/Box';import {styled}from'@mui/material/styles';import Ve from'@mui/material/TextField';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1,Popper,Box,CircularProgress,ClickAwayListener}from'@mui/material';import pt from'@mui/material/InputLabel';import lt from'@mui/material/MenuItem';import nt from'@mui/material/FormControl';import re from'@mui/material/Select';import bt from'@mui/material/Skeleton';import Rt from'@mui/material/Input';var Z=styled(Q)(()=>({display:"flex",flexDirection:"column",gap:"4px",width:"100%",height:40,"& *":{flex:1,margin:"0 !important"}})),V=styled(Ve,{shouldForwardProp:e=>e!=="hideArrows"})(({theme:e,error:t,hideArrows:n,disabled:o})=>({border:`1px solid ${e.palette.divider}`,...o&&{backgroundColor:e.palette.grey[400]},borderRadius:"4px",...!!t&&{border:`1px solid ${e.palette.error.main}`},...n&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}},"& .MuiFormLabel-asterisk":{color:"red"},"& .MuiInputBase-root":{maxHeight:"40px !important",alignItems:"flex-end !important",fontSize:"11px",height:"40px",padding:"8px",borderRadius:"4px"},"& .MuiInputBase-input":{margin:0,padding:0,color:e.palette.text.primary},"& .MuiFormLabel-root":{fontSize:"10px",fontWeight:500,lineHeight:"100%",transform:"translate(0, 8px) scale(1)",color:e.palette.grey[700],padding:"8px","&.MuiFormLabel-filled, &.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) "},"&.Mui-focused":{fontSize:"10px",fontWeight:500,lineHeight:"100%"}}})),j=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));var ee=je.forwardRef(({name:e,onChange:t,hasError:n,helperText:o,hideArrows:f,...i},p)=>{let l=d=>{t?.(d.target.value??"");};return jsxs(Q,{children:[jsx(Z,{"data-testid":"InputBase",children:jsx(V,{rows:1,error:n,fullWidth:true,size:"small",variant:"standard",ref:p,name:e,type:i.type??"text",label:i.placeholder||i.label,onChange:l,InputProps:{disableUnderline:true},hideArrows:f,...i})}),jsx(j,{children:o})]})});ee.displayName="InputBase";var te=ee;var rt=te;var H=styled(nt)(({theme:e})=>({minWidth:52,height:"40px !important",maxHeight:"40px !important",backgroundColor:"transparent",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)",color:`${e.palette.grey[700]} !important`},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));styled(re)(({theme:e})=>({fontSize:"11px",lineHeight:"11px",color:e.palette.common.black,borderRadius:"4px",boxShadow:e.shadows[17],border:"none",outline:"none","&:focus":{border:"1px solid #1F88D0"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"rgba(0, 0, 0, 0.23)"},"&.Mui-focused fieldset":{border:"2px solid red"}},minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));var N=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),z=styled(re)(({theme:e,error:t})=>({width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:"4px",overflow:"hidden",backgroundColor:e.palette.grey[400],"&.Mui-disabled":{backgroundColor:e.palette.grey[400]},".MuiSelect-select":{padding:"0 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important",backgroundColor:`${e.palette.grey[400]} !important`,borderRadius:"4px",fontSize:"11px"},".MuiSelect-filled":{padding:"0 8px !important"},"&.MuiInputBase-adornedStart > div:nth-of-type(1)":{backgroundColor:"red"},...t&&{border:`1px solid ${e.palette.error.main}`}})),$=styled(Q)(()=>({display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1}));function st({required:e,hasError:t,label:n,value:o,helperText:f,onChange:i,options:p,isOptionEqualToValue:l,renderOption:d,getOptionValue:s,isLoading:g,children:u,getOptionLabel:y,...h},C){let a=m=>{i?.(m);},S=()=>d?d(o):y?y(o):o.label;return jsxs($,{children:[jsxs(H,{variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(pt,{sx:{height:"100%"},id:`select-label-${n.trim()}`,"data-testid":"SelectBase_InputLabel",children:n}),jsx(z,{"data-testid":"SelectBase_Select",ref:C,value:(s?s(o):o?.id)??"",error:t,disableUnderline:true,required:e,labelId:`select-label-${n.trim()}`,id:`select-label-${n.trim()}`,renderValue:S,...h,disabled:h.disabled||g,endAdornment:g?jsx(CircularProgress,{size:20,sx:{backgroundColor:"transparent",color:m=>m.palette.grey.A400}}):null,children:u||p?.map((m,B)=>{let r=l?l(m,o):m?.id===o?.id;return jsx(lt,{disabled:!!m.disabled,value:(s?s(m):m?.id)??"",onClick:()=>{a(m);},sx:{fontSize:"12px",backgroundColor:c=>r?c.palette.action.hover:c.palette.common.white},children:d?d(m):m.label},`country-item-${B}`)})})]}),jsx(N,{children:f})]})}var ne=je.forwardRef(st);function gt({required:e,hasError:t,label:n,value:o,helperText:f,onChange:i,options:p,isOptionEqualToValue:l,renderOption:d,getOptionValue:s,isLoading:g,children:u,getOptionLabel:y,...h},C){let a=r=>{i?.(r);},S=()=>s?o?.map(s):o?.map(r=>r?.id),m=useMemo(()=>p?.filter(r=>o?.some(c=>l?l(r,c):r.id===c?.id)),[p,o,l]),B=()=>m?.map(r=>y?y(r):r.label)?.join(", ");return jsxs($,{children:[jsxs(H,{variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(pt,{id:`select-label-${n.trim()}`,"data-testid":"SelectBase_InputLabel",children:n}),jsx(z,{multiple:true,"data-testid":"SelectBase_Select",ref:C,value:S()??"",error:t,disableUnderline:true,required:e,labelId:`select-label-${n.trim()}`,id:`select-label-${n.trim()}`,renderValue:B,...h,disabled:h.disabled||g,endAdornment:g?jsx(CircularProgress,{size:20,sx:{backgroundColor:"transparent",color:r=>r.palette.grey.A400}}):null,onChange:r=>{let L=r.target.value?.map(I=>p?.find(X=>s?s(X)===I:X.id===I));i?.([...L]);},children:u||p?.map((r,c)=>{let L=l?l(r,o):r?.id===o?.id;return jsx(lt,{value:(s?s(r):r?.id)??"",onClick:()=>{a(r);},sx:{fontSize:"12px",backgroundColor:I=>L?I.palette.action.hover:I.palette.common.white},children:d?d(r):r.label},`country-item-${c}`)})})]}),jsx(N,{children:f})]})}var ie=je.forwardRef(gt);var xt=ne;var pe=styled$1("button")(({theme:e,disabled:t})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:t?"default":"pointer",opacity:t?.5:1})),le=styled$1(Popper)(({theme:e})=>({zIndex:9999,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),se=styled$1("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),de=styled$1("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),ue=styled$1(a)(()=>({height:24,padding:"4px",marginBottom:"4px"})),me=styled$1(Box)(()=>({color:"red !important"}));function xe({isLoading:e,countries:t,value:n,onCountryChange:o,required:f,disabled:i}){let[p,l]=useState(),[d,s]=useState(null),[g,u]=useState([]),[y,h]=useState(""),C=!!d&&!i,a=r=>{r.stopPropagation(),s(r.currentTarget);},S=()=>{s(null);},m=r=>{o?.(r),l(r),S(),u(t);},B=r=>{let c=r.target.value.toString()??"";if(h(c),!c){u(t);return}let L=t.filter(I=>I.idd_prefix.toString().startsWith(c)||I.iso2.toLowerCase().startsWith(c.toLowerCase()));u(L);};return useEffect(()=>{n&&l(n);},[n?.countryId]),useEffect(()=>{t.length&&u(t);},[t.length]),jsxs(Q,{"data-testid":"CountriesList",sx:{position:"relative"},children:[jsx(pe,{type:"button","aria-describedby":"CountriesList_CountriesWrapper",onClick:a,disabled:e||i,sx:{backgroundColor:"transparent",border:"none",height:34,paddingInlineStart:"8px"},children:e?jsx(bt,{variant:"rectangular",width:56.5,height:20,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[p&&jsxs(Fragment,{children:[jsx("img",{src:p.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${p?.idd_prefix}`})]}),f&&jsx(me,{component:"span",children:"*"}),jsx(Q,{component:"img",src:vb,alt:"d",className:"arrow",sx:{...C&&{transform:"rotate(180deg)"}}})]})}),C&&jsx(a$1,{onClick:S,sx:{zIndex:9999}}),C&&jsx(ClickAwayListener,{onClickAway:S,children:jsxs(le,{id:"CountriesList_CountriesWrapper",open:C,anchorEl:d,"data-testid":"CountriesList_CountriesWrapper",placement:"bottom-start",children:[jsx(ue,{endAdornment:jsx("img",{src:w,alt:"arrow"}),onChange:B,hideArrows:true,"data-testid":"CountriesList_InputStyled",value:y}),jsx(se,{"data-testid":"CountriesList_CountriesListStyled",children:g.map(r=>{let c=p?.countryId===r.countryId;return jsxs(de,{onClick:()=>{m(r);},sx:{backgroundColor:c?"#F9F9F9":"transparent",color:c?"#000":"#8D8D94"},children:[jsx("img",{src:r.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${r.idd_prefix}`})]},`country-code-${r.countryId}`)})})]})})]})}xe.displayName="CountriesList";var ye=memo(xe);var _=ye;var Ce=styled(Q,{shouldForwardProp:e=>e!=="hasError"})(({theme:e,hasError:t})=>({border:`1px solid ${e.palette.divider}`,display:"flex",position:"relative",paddingInline:"8px",paddingInlineStart:"0px",alignItems:"center",borderRadius:"4px",height:"40px",...t&&{border:`1px solid ${e.palette.error.main}`}})),be=styled(a)(({error:e})=>({border:"none",paddingInlineEnd:0,img:{cursor:"pointer"},...e&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"none"}})),Se=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),Ie=styled(Q)(()=>({flex:1}));function Be({phoneValue:e,hasError:t,countries:n,isCountriesLoading:o,countryValue:f,onCountryChange:i,onPhoneChange:p,helperText:l,countryError:d,required:s,disabled:g,...u},y){return jsxs(Ie,{"data-testid":"PhoneInput",children:[jsxs(Ce,{"data-testid":"PhoneInput_MobileWrapper",hasError:t,children:[jsx(_,{isLoading:o,countries:n,value:f,onCountryChange:a=>{i?.(a);},required:s,disabled:g}),jsx(be,{value:e,"data-testid":"PhoneInput_InputNumberStyled",ref:y,inputProps:{autoComplete:"off"},error:t,disabled:g,...u,onChange:a=>{p?.(a.target.value);},hideArrows:true})]}),jsx(Se,{children:l})]})}Be.displayName="PhoneInputBase";var Le=je.forwardRef(Be);var Mt=Le;var we=styled$1("button")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),ve=styled$1(Popper)(({theme:e})=>({zIndex:99,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),Pe=styled$1("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),Re=styled$1("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),Ee=styled$1(Box)(()=>({color:"red !important"}));function Fe({isLoading:e,currencies:t,value:n,onCurrencyChange:o,required:f}){let[i,p]=useState(),[l,d]=useState(null),[s,g]=useState([]),u=!!l,y=a=>{a.stopPropagation(),d(a.currentTarget);},h=()=>{d(null);},C=a=>{o?.(a),p(a),h(),g(t);};return useEffect(()=>{n&&p(n);},[n?.currencyId]),useEffect(()=>{t.length&&g(t);},[t.length]),jsxs(Q,{"data-testid":"currenciesList",sx:{position:"relative"},children:[jsx(we,{type:"button","aria-describedby":"currenciesList_currenciesWrapper",onClick:y,disabled:e,sx:{backgroundColor:"transparent",border:"none",height:34,paddingInlineStart:"8px"},children:e?jsx(bt,{variant:"rectangular",width:56.5,height:20,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[i&&jsxs(Fragment,{children:[jsx("img",{src:i.logo,alt:"c",className:"logo"}),jsx("span",{children:i?.code.english})]}),f&&jsx(Ee,{component:"span",children:"*"}),jsx(Q,{component:"img",src:vb,alt:"d",className:"arrow",sx:{...u&&{transform:"rotate(180deg)"}}})]})}),u&&jsx(a$1,{onClick:h}),u&&jsx(ve,{id:"currenciesList_currenciesWrapper",open:u,anchorEl:l,"data-testid":"currenciesList_currenciesWrapper",placement:"bottom-start",children:jsx(Pe,{"data-testid":"currenciesList_currenciesListStyled",children:s.map(a=>{let S=i?.currencyId===a.currencyId;return jsxs(Re,{onClick:()=>{C(a);},sx:{backgroundColor:S?"#F9F9F9":"transparent",color:S?"#000":"#8D8D94"},children:[jsx("img",{src:a.logo,alt:"c",className:"logo"}),jsx("span",{children:a?.code.english})]},`currency-code-${a.currencyId}`)})})})]})}Fe.displayName="CurrenciesList";var He=memo(Fe);var Ne=He;var $e=styled(Rt,{shouldForwardProp:e=>!["hasError","hideArrows"].includes(e)})(({theme:e,hideArrows:t})=>({padding:"8px",border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:32,color:e.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:e.palette.grey[700],fontWeight:400},...t&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}})),Te=styled(Q)(()=>({flex:1}));function Wt({hasError:e,hideArrows:t,inputProps:n,...o},f){return jsx(Te,{onClick:i=>{i.stopPropagation();},children:jsx($e,{ref:f,placeholder:o.placeholder,hideArrows:true,hasError:e,disableUnderline:true,inputProps:{...n,type:"number"},onKeyDown:i=>{["e","E","+","-"].includes(i.key)&&i.preventDefault();},...o})})}var De=forwardRef(Wt);var qe=De;var Oe=styled(Q,{shouldForwardProp:e=>e!=="hasError"})(({theme:e,hasError:t})=>({border:`1px solid ${e.palette.divider}`,display:"flex",justifyContent:"space-between",position:"relative",paddingInline:"8px",paddingInlineStart:"0px",alignItems:"center",borderRadius:"4px",height:"40px",...t&&{border:`1px solid ${e.palette.error.main}`}})),Ue=styled(Q)(()=>({width:"50px"})),Ge=styled(qe)(({error:e})=>({border:"none",paddingInlineEnd:0,img:{cursor:"pointer"},...e&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"none"}})),Ke=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),Je=styled(Q)(()=>({flex:1}));function Xe({amountValue:e,hasError:t,currencies:n,isCurrenciesLoading:o,currencyValue:f,onCurrencyChange:i,onAmountChange:p,onAmountBlur:l,helperText:d,required:s,...g},u){return jsxs(Je,{"data-testid":"AmountInput",children:[jsxs(Oe,{"data-testid":"AmountInput_MobileWrapper",hasError:t,children:[jsx(Ne,{isLoading:o,currencies:n,value:f,onCurrencyChange:a=>{i?.(a);},required:s}),jsx(Ue,{children:jsx(Ge,{value:e,"data-testid":"AmountInput_InputNumberStyled",ref:u,inputProps:{autoComplete:"off"},error:t,...g,onChange:a=>{p?.(a.target.value);},onBlur:a=>{l?.(a.target.value);},hideArrows:true})})]}),jsx(Ke,{children:d})]})}Xe.displayName="AmountInputBase";var Ye=je.forwardRef(Xe);var At=Ye;export{rt as a,ie as b,xt as c,_ as d,Mt as e,At as f};
1
+ import {a}from'./chunk-J5EY6J3C.js';import {a as a$1}from'./chunk-S7OMWEM6.js';import {vb,w}from'./chunk-5FFE2OLR.js';import je,{memo,forwardRef,useMemo,useState,useEffect}from'react';import Q from'@mui/material/Box';import {styled}from'@mui/material/styles';import Ve from'@mui/material/TextField';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1,Popper,Box,CircularProgress,ClickAwayListener}from'@mui/material';import pt from'@mui/material/InputLabel';import lt from'@mui/material/MenuItem';import nt from'@mui/material/FormControl';import re from'@mui/material/Select';import bt from'@mui/material/Skeleton';import Rt from'@mui/material/Input';var Z=styled(Q)(()=>({display:"flex",flexDirection:"column",gap:"4px",width:"100%",height:40,"& *":{flex:1,margin:"0 !important"}})),V=styled(Ve,{shouldForwardProp:e=>e!=="hideArrows"})(({theme:e,error:t,hideArrows:n,disabled:o})=>({border:`1px solid ${e.palette.divider}`,...o&&{backgroundColor:e.palette.grey[400]},borderRadius:"4px",...!!t&&{border:`1px solid ${e.palette.error.main}`},...n&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}},"& .MuiFormLabel-asterisk":{color:"red"},"& .MuiInputBase-root":{maxHeight:"40px !important",alignItems:"flex-end !important",fontSize:"11px",height:"40px",padding:"8px",borderRadius:"4px"},"& .MuiInputBase-input":{margin:0,padding:0,color:e.palette.text.primary},"& .MuiFormLabel-root":{fontSize:"10px",fontWeight:500,lineHeight:"100%",transform:"translate(0, 8px) scale(1)",color:e.palette.grey[700],padding:"8px","&.MuiFormLabel-filled, &.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) "},"&.Mui-focused":{fontSize:"10px",fontWeight:500,lineHeight:"100%"}}})),j=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));var ee=je.forwardRef(({name:e,onChange:t,hasError:n,helperText:o,hideArrows:f,...i},p)=>{let l=d=>{t?.(d.target.value??"");};return jsxs(Q,{children:[jsx(Z,{"data-testid":"InputBase",children:jsx(V,{rows:1,error:n,fullWidth:true,size:"small",variant:"standard",ref:p,name:e,type:i.type??"text",label:i.placeholder||i.label,onChange:l,InputProps:{disableUnderline:true},hideArrows:f,...i})}),jsx(j,{children:o})]})});ee.displayName="InputBase";var te=ee;var rt=te;var H=styled(nt)(({theme:e})=>({minWidth:52,height:"40px !important",maxHeight:"40px !important",backgroundColor:"transparent",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)",color:`${e.palette.grey[700]} !important`},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));styled(re)(({theme:e})=>({fontSize:"11px",lineHeight:"11px",color:e.palette.common.black,borderRadius:"4px",boxShadow:e.shadows[17],border:"none",outline:"none","&:focus":{border:"1px solid #1F88D0"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"rgba(0, 0, 0, 0.23)"},"&.Mui-focused fieldset":{border:"2px solid red"}},minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));var N=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),z=styled(re)(({theme:e,error:t})=>({width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:"4px",overflow:"hidden",backgroundColor:e.palette.grey[400],"&.Mui-disabled":{backgroundColor:e.palette.grey[400]},".MuiSelect-select":{padding:"0 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important",backgroundColor:`${e.palette.grey[400]} !important`,borderRadius:"4px",fontSize:"11px"},".MuiSelect-filled":{padding:"0 8px !important"},"&.MuiInputBase-adornedStart > div:nth-of-type(1)":{backgroundColor:"red"},...t&&{border:`1px solid ${e.palette.error.main}`}})),$=styled(Q)(()=>({display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1}));function st({required:e,hasError:t,label:n,value:o,helperText:f,onChange:i,options:p,isOptionEqualToValue:l,renderOption:d,getOptionValue:s,isLoading:g,children:u,getOptionLabel:y,...h},C){let a=m=>{i?.(m);},S=()=>d?d(o):y?y(o):o.label;return jsxs($,{children:[jsxs(H,{variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(pt,{sx:{height:"100%"},id:`select-label-${n.trim()}`,"data-testid":"SelectBase_InputLabel",children:n}),jsx(z,{"data-testid":"SelectBase_Select",ref:C,value:(s?s(o):o?.id)??"",error:t,disableUnderline:true,required:e,labelId:`select-label-${n.trim()}`,id:`select-label-${n.trim()}`,renderValue:S,...h,disabled:h.disabled||g,endAdornment:g?jsx(CircularProgress,{size:20,sx:{backgroundColor:"transparent",color:m=>m.palette.grey.A400}}):null,children:u||p?.map((m,B)=>{let r=l?l(m,o):m?.id===o?.id;return jsx(lt,{disabled:!!m.disabled,value:(s?s(m):m?.id)??"",onClick:()=>{a(m);},sx:{fontSize:"12px",backgroundColor:c=>r?c.palette.action.hover:c.palette.common.white},children:d?d(m):m.label},`country-item-${B}`)})})]}),jsx(N,{children:f})]})}var ne=je.forwardRef(st);function gt({required:e,hasError:t,label:n,value:o,helperText:f,onChange:i,options:p,isOptionEqualToValue:l,renderOption:d,getOptionValue:s,isLoading:g,children:u,getOptionLabel:y,...h},C){let a=r=>{i?.(r);},S=()=>s?o?.map(s):o?.map(r=>r?.id),m=useMemo(()=>p?.filter(r=>o?.some(c=>l?l(r,c):r.id===c?.id)),[p,o,l]),B=()=>m?.map(r=>y?y(r):r.label)?.join(", ");return jsxs($,{children:[jsxs(H,{variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(pt,{id:`select-label-${n.trim()}`,"data-testid":"SelectBase_InputLabel",children:n}),jsx(z,{multiple:true,"data-testid":"SelectBase_Select",ref:C,value:S()??"",error:t,disableUnderline:true,required:e,labelId:`select-label-${n.trim()}`,id:`select-label-${n.trim()}`,renderValue:B,...h,disabled:h.disabled||g,endAdornment:g?jsx(CircularProgress,{size:20,sx:{backgroundColor:"transparent",color:r=>r.palette.grey.A400}}):null,onChange:r=>{let L=r.target.value?.map(I=>p?.find(X=>s?s(X)===I:X.id===I));i?.([...L]);},children:u||p?.map((r,c)=>{let L=l?l(r,o):r?.id===o?.id;return jsx(lt,{value:(s?s(r):r?.id)??"",onClick:()=>{a(r);},sx:{fontSize:"12px",backgroundColor:I=>L?I.palette.action.hover:I.palette.common.white},children:d?d(r):r.label},`country-item-${c}`)})})]}),jsx(N,{children:f})]})}var ie=je.forwardRef(gt);var xt=ne;var pe=styled$1("button")(({theme:e,disabled:t})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:t?"default":"pointer",opacity:t?.5:1})),le=styled$1(Popper)(({theme:e})=>({zIndex:9999,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),se=styled$1("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),de=styled$1("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),ue=styled$1(a)(()=>({height:24,padding:"4px",marginBottom:"4px"})),me=styled$1(Box)(()=>({color:"red !important"}));function xe({isLoading:e,countries:t,value:n,onCountryChange:o,required:f,disabled:i}){let[p,l]=useState(),[d,s]=useState(null),[g,u]=useState([]),[y,h]=useState(""),C=!!d&&!i,a=r=>{r.stopPropagation(),s(r.currentTarget);},S=()=>{s(null);},m=r=>{o?.(r),l(r),S(),u(t);},B=r=>{let c=r.target.value.toString()??"";if(h(c),!c){u(t);return}let L=t.filter(I=>I.idd_prefix.toString().startsWith(c)||I.iso2.toLowerCase().startsWith(c.toLowerCase()));u(L);};return useEffect(()=>{n&&l(n);},[n?.countryId]),useEffect(()=>{t.length&&u(t);},[t.length]),jsxs(Q,{"data-testid":"CountriesList",sx:{position:"relative"},children:[jsx(pe,{type:"button","aria-describedby":"CountriesList_CountriesWrapper",onClick:a,disabled:e||i,sx:{backgroundColor:"transparent",border:"none",height:34,paddingInlineStart:"8px"},children:e?jsx(bt,{variant:"rectangular",width:56.5,height:20,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[p&&jsxs(Fragment,{children:[jsx("img",{src:p.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${p?.idd_prefix}`})]}),f&&jsx(me,{component:"span",children:"*"}),jsx(Q,{component:"img",src:vb,alt:"d",className:"arrow",sx:{...C&&{transform:"rotate(180deg)"}}})]})}),C&&jsx(a$1,{onClick:S,sx:{zIndex:9999}}),C&&jsx(ClickAwayListener,{onClickAway:S,children:jsxs(le,{id:"CountriesList_CountriesWrapper",open:C,anchorEl:d,"data-testid":"CountriesList_CountriesWrapper",placement:"bottom-start",children:[jsx(ue,{endAdornment:jsx("img",{src:w,alt:"arrow"}),onChange:B,hideArrows:true,"data-testid":"CountriesList_InputStyled",value:y}),jsx(se,{"data-testid":"CountriesList_CountriesListStyled",children:g.map(r=>{let c=p?.countryId===r.countryId;return jsxs(de,{onClick:()=>{m(r);},sx:{backgroundColor:c?"#F9F9F9":"transparent",color:c?"#000":"#8D8D94"},children:[jsx("img",{src:r.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${r.idd_prefix}`})]},`country-code-${r.countryId}`)})})]})})]})}xe.displayName="CountriesList";var ye=memo(xe);var _=ye;var Ce=styled(Q,{shouldForwardProp:e=>e!=="hasError"})(({theme:e,hasError:t})=>({border:`1px solid ${e.palette.divider}`,display:"flex",position:"relative",paddingInline:"8px",paddingInlineStart:"0px",alignItems:"center",borderRadius:"4px",height:"40px",...t&&{border:`1px solid ${e.palette.error.main}`}})),be=styled(a)(({error:e})=>({border:"none",paddingInlineEnd:0,img:{cursor:"pointer"},...e&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"none"}})),Se=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),Ie=styled(Q)(()=>({flex:1}));function Be({phoneValue:e,hasError:t,countries:n,isCountriesLoading:o,countryValue:f,onCountryChange:i,onPhoneChange:p,helperText:l,countryError:d,required:s,disabled:g,...u},y){return jsxs(Ie,{"data-testid":"PhoneInput",children:[jsxs(Ce,{"data-testid":"PhoneInput_MobileWrapper",hasError:t,children:[jsx(_,{isLoading:o,countries:n,value:f,onCountryChange:a=>{i?.(a);},required:s,disabled:g}),jsx(be,{value:e,"data-testid":"PhoneInput_InputNumberStyled",ref:y,inputProps:{autoComplete:"off"},error:t,disabled:g,...u,onChange:a=>{p?.(a.target.value);},hideArrows:true})]}),jsx(Se,{children:l})]})}Be.displayName="PhoneInputBase";var Le=je.forwardRef(Be);var Mt=Le;var we=styled$1("button")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),ve=styled$1(Popper)(({theme:e})=>({zIndex:99,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),Pe=styled$1("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),Re=styled$1("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),Ee=styled$1(Box)(()=>({color:"red !important"}));function Fe({isLoading:e,currencies:t,value:n,onCurrencyChange:o,required:f}){let[i,p]=useState(),[l,d]=useState(null),[s,g]=useState([]),u=!!l,y=a=>{a.stopPropagation(),d(a.currentTarget);},h=()=>{d(null);},C=a=>{o?.(a),p(a),h(),g(t);};return useEffect(()=>{n&&p(n);},[n?.currencyId]),useEffect(()=>{t.length&&g(t);},[t.length]),jsxs(Q,{"data-testid":"currenciesList",sx:{position:"relative"},children:[jsx(we,{type:"button","aria-describedby":"currenciesList_currenciesWrapper",onClick:y,disabled:e,sx:{backgroundColor:"transparent",border:"none",height:34,paddingInlineStart:"8px"},children:e?jsx(bt,{variant:"rectangular",width:56.5,height:20,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[i&&jsxs(Fragment,{children:[jsx("img",{src:i.logo,alt:"c",className:"logo"}),jsx("span",{children:i?.code.english})]}),f&&jsx(Ee,{component:"span",children:"*"}),jsx(Q,{component:"img",src:vb,alt:"d",className:"arrow",sx:{...u&&{transform:"rotate(180deg)"}}})]})}),u&&jsx(a$1,{onClick:h}),u&&jsx(ve,{id:"currenciesList_currenciesWrapper",open:u,anchorEl:l,"data-testid":"currenciesList_currenciesWrapper",placement:"bottom-start",children:jsx(Pe,{"data-testid":"currenciesList_currenciesListStyled",children:s.map(a=>{let S=i?.currencyId===a.currencyId;return jsxs(Re,{onClick:()=>{C(a);},sx:{backgroundColor:S?"#F9F9F9":"transparent",color:S?"#000":"#8D8D94"},children:[jsx("img",{src:a.logo,alt:"c",className:"logo"}),jsx("span",{children:a?.code.english})]},`currency-code-${a.currencyId}`)})})})]})}Fe.displayName="CurrenciesList";var He=memo(Fe);var Ne=He;var $e=styled(Rt,{shouldForwardProp:e=>!["hasError","hideArrows"].includes(e)})(({theme:e,hideArrows:t})=>({padding:"8px",border:`1px solid ${e.palette.divider}`,borderRadius:"4px",height:32,color:e.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:e.palette.grey[700],fontWeight:400},...t&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}})),Te=styled(Q)(()=>({flex:1}));function Wt({hasError:e,hideArrows:t,inputProps:n,...o},f){return jsx(Te,{onClick:i=>{i.stopPropagation();},children:jsx($e,{ref:f,placeholder:o.placeholder,hideArrows:true,hasError:e,disableUnderline:true,inputProps:{...n,type:"number"},onKeyDown:i=>{["e","E","+","-"].includes(i.key)&&i.preventDefault();},...o})})}var De=forwardRef(Wt);var qe=De;var Oe=styled(Q,{shouldForwardProp:e=>e!=="hasError"})(({theme:e,hasError:t})=>({border:`1px solid ${e.palette.divider}`,display:"flex",justifyContent:"space-between",position:"relative",paddingInline:"8px",paddingInlineStart:"0px",alignItems:"center",borderRadius:"4px",height:"40px",...t&&{border:`1px solid ${e.palette.error.main}`}})),Ue=styled(Q)(()=>({width:"50px"})),Ge=styled(qe)(({error:e})=>({border:"none",paddingInlineEnd:0,img:{cursor:"pointer"},...e&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"none"}})),Ke=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),Je=styled(Q)(()=>({flex:1}));function Xe({amountValue:e,hasError:t,currencies:n,isCurrenciesLoading:o,currencyValue:f,onCurrencyChange:i,onAmountChange:p,onAmountBlur:l,helperText:d,required:s,...g},u){return jsxs(Je,{"data-testid":"AmountInput",children:[jsxs(Oe,{"data-testid":"AmountInput_MobileWrapper",hasError:t,children:[jsx(Ne,{isLoading:o,currencies:n,value:f,onCurrencyChange:a=>{i?.(a);},required:s}),jsx(Ue,{children:jsx(Ge,{value:e,"data-testid":"AmountInput_InputNumberStyled",ref:u,inputProps:{autoComplete:"off"},error:t,...g,onChange:a=>{p?.(a.target.value);},onBlur:a=>{l?.(a.target.value);},hideArrows:true})})]}),jsx(Ke,{children:d})]})}Xe.displayName="AmountInputBase";var Ye=je.forwardRef(Xe);var At=Ye;export{rt as a,ie as b,xt as c,_ as d,Mt as e,At as f};
@@ -1 +1 @@
1
- import {a}from'./chunk-NFNAX7ZR.js';import {Lg,Xi}from'./chunk-TCLN5DZD.js';import {memo,useState}from'react';import {useTheme}from'@mui/material';import {motion,AnimatePresence}from'framer-motion';import {useTranslation}from'react-i18next';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var x=styled(motion.input)(({theme:t})=>({padding:"8px",paddingRight:"24px",borderRadius:"4px",height:32,color:t.palette.text.primary,fontSize:"11px",outline:0,zIndex:10,background:t.palette.common.white,display:"flex",minWidth:"80px",flexGrow:1,boxShadow:`0px 0px 4px 0px ${t.palette.info.dark}80`,border:`1px solid ${t.palette.info.dark}`,"::placeholder":{color:"#D5D5D5"}})),r=styled(motion.img)(()=>({position:"absolute",zIndex:11,cursor:"pointer"})),h=styled(a)(()=>({minWidth:"auto",borderRadius:"4px",paddingInline:"8px",position:"relative",zIndex:11})),f=styled(P)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"relative",zIndex:11,height:32,gap:8}));function K({onSearchChange:t,placeholder:I,...v}){let[a,p]=useState(false),[n,s]=useState(""),{t:b}=useTranslation(),w=useTheme(),B=()=>{p(false),t?.(""),s("");},C=()=>{p(true),l();},l=()=>{n&&t?.(n);},k=i=>{i.key==="Enter"&&t?.(n);},E=i=>{s(i.currentTarget.value);};return jsxs(f,{children:[jsx(AnimatePresence,{children:a&&jsxs(Fragment,{children:[jsx(x,{initial:{width:30},animate:{width:200},exit:{width:30,border:`1px solid ${w.palette.divider}`,boxShadow:"none"},placeholder:I??(b("search")||""),onKeyDown:k,onChange:E}),jsx(r,{style:{right:48},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},src:Lg,alt:"close",onClick:B}),jsx(r,{style:{right:9},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},src:Xi,alt:"search",onClick:l})]})}),jsx(h,{...v,variant:a?"active":"inActive",icon:"search",onClick:C})]})}var g=memo(K);var Y=g;export{Y as a};
1
+ import {a}from'./chunk-PXWWJZAF.js';import {Xg,hj}from'./chunk-5FFE2OLR.js';import {memo,useState}from'react';import {useTheme}from'@mui/material';import {motion,AnimatePresence}from'framer-motion';import {useTranslation}from'react-i18next';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var x=styled(motion.input)(({theme:t})=>({padding:"8px",paddingRight:"24px",borderRadius:"4px",height:32,color:t.palette.text.primary,fontSize:"11px",outline:0,zIndex:10,background:t.palette.common.white,display:"flex",minWidth:"80px",flexGrow:1,boxShadow:`0px 0px 4px 0px ${t.palette.info.dark}80`,border:`1px solid ${t.palette.info.dark}`,"::placeholder":{color:"#D5D5D5"}})),r=styled(motion.img)(()=>({position:"absolute",zIndex:11,cursor:"pointer"})),h=styled(a)(()=>({minWidth:"auto",borderRadius:"4px",paddingInline:"8px",position:"relative",zIndex:11})),f=styled(P)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"relative",zIndex:11,height:32,gap:8}));function K({onSearchChange:t,placeholder:I,...v}){let[a,p]=useState(false),[n,s]=useState(""),{t:b}=useTranslation(),w=useTheme(),B=()=>{p(false),t?.(""),s("");},C=()=>{p(true),l();},l=()=>{n&&t?.(n);},k=i=>{i.key==="Enter"&&t?.(n);},E=i=>{s(i.currentTarget.value);};return jsxs(f,{children:[jsx(AnimatePresence,{children:a&&jsxs(Fragment,{children:[jsx(x,{initial:{width:30},animate:{width:200},exit:{width:30,border:`1px solid ${w.palette.divider}`,boxShadow:"none"},placeholder:I??(b("search")||""),onKeyDown:k,onChange:E}),jsx(r,{style:{right:48},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},src:Xg,alt:"close",onClick:B}),jsx(r,{style:{right:9},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},src:hj,alt:"search",onClick:l})]})}),jsx(h,{...v,variant:a?"active":"inActive",icon:"search",onClick:C})]})}var g=memo(K);var Y=g;export{Y as a};