@tap-payments/os-micro-frontend-shared 0.3.40 → 0.3.41-test.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_chunks/{chunk-MGXAGXP2.js → chunk-2LHTA64I.js} +1 -1
- package/build/_chunks/{chunk-WHLF4QZJ.js → chunk-2N7C43B5.js} +1 -1
- package/build/_chunks/{chunk-HPG6LYER.js → chunk-2WRYLGXE.js} +1 -1
- package/build/_chunks/{chunk-WDSEBLDP.js → chunk-3DVXZVAD.js} +1 -1
- package/build/_chunks/{chunk-K5PC6OGJ.js → chunk-3ENQ6ZB2.js} +1 -1
- package/build/_chunks/{chunk-OU7SKBN2.js → chunk-3LGSENPU.js} +1 -1
- package/build/_chunks/chunk-4FITQL3E.js +1 -0
- package/build/_chunks/{chunk-PXCHUTXB.js → chunk-4FM4AJNQ.js} +1 -1
- package/build/_chunks/{chunk-IYIBZOJZ.js → chunk-54CUAOPI.js} +1 -1
- package/build/_chunks/{chunk-RYW2OL4X.js → chunk-5PRCEVBW.js} +1 -1
- package/build/_chunks/{chunk-SLPMPCQO.js → chunk-5Q5JNBWU.js} +1 -1
- package/build/_chunks/{chunk-264C3QJK.js → chunk-5VD6ILKM.js} +1 -1
- package/build/_chunks/{chunk-ZLPET4JG.js → chunk-67WBFAIB.js} +1 -1
- package/build/_chunks/{chunk-GHBO2N5J.js → chunk-6FFKMPUA.js} +1 -1
- package/build/_chunks/{chunk-MTWKS4EM.js → chunk-6GLYU7BG.js} +1 -1
- package/build/_chunks/{chunk-NO7TS2WN.js → chunk-6MUD4YHP.js} +1 -1
- package/build/_chunks/{chunk-24Z4SVNV.js → chunk-6UXEK5HE.js} +1 -1
- package/build/_chunks/{chunk-KD7BJLZ5.js → chunk-6Y4HNVOR.js} +1 -1
- package/build/_chunks/{chunk-UFUWCT7R.js → chunk-6YBH2DMM.js} +1 -1
- package/build/_chunks/{chunk-JALMJ6OW.js → chunk-6YUXDXTF.js} +1 -1
- package/build/_chunks/{chunk-R63GX4QD.js → chunk-7AHFI7ZX.js} +1 -1
- package/build/_chunks/{chunk-6FLQVJYC.js → chunk-7DIVF5KI.js} +1 -1
- package/build/_chunks/{chunk-7TTGX7LK.js → chunk-7NXWZMCQ.js} +1 -1
- package/build/_chunks/{chunk-IBVGFTG7.js → chunk-7W77TYCP.js} +1 -1
- package/build/_chunks/{chunk-W2XIAVS7.js → chunk-AMMWA7ZC.js} +1 -1
- package/build/_chunks/{chunk-M54Z67GK.js → chunk-ASGUYSWV.js} +1 -1
- package/build/_chunks/{chunk-SFU7NS23.js → chunk-ASKX2Q3M.js} +1 -1
- package/build/_chunks/{chunk-MDUFFIGC.js → chunk-AU6KEFRV.js} +1 -1
- package/build/_chunks/chunk-B2JRH27J.js +1 -0
- package/build/_chunks/{chunk-WB2EZ4AQ.js → chunk-BGYWBWKQ.js} +1 -1
- package/build/_chunks/{chunk-BFFZN7IG.js → chunk-BNWGGFIV.js} +1 -1
- package/build/_chunks/{chunk-I5L3DYZN.js → chunk-CFQNHKKB.js} +1 -1
- package/build/_chunks/{chunk-KQ4Z3Q4H.js → chunk-CKMRL2CA.js} +1 -1
- package/build/_chunks/{chunk-BYKEWDTH.js → chunk-CSZ2OR4M.js} +1 -1
- package/build/_chunks/{chunk-3JMCK5ZV.js → chunk-DTQDFFVT.js} +1 -1
- package/build/_chunks/{chunk-NXMTEH2G.js → chunk-ER7TIFHE.js} +1 -1
- package/build/_chunks/chunk-EW7LNXJG.js +1 -0
- package/build/_chunks/{chunk-NAA6S4QD.js → chunk-EZMHAD3T.js} +1 -1
- package/build/_chunks/{chunk-XP3FDFYS.js → chunk-FDN3KSOE.js} +1 -1
- package/build/_chunks/{chunk-ETWPWW7A.js → chunk-FXN3NFYU.js} +1 -1
- package/build/_chunks/{chunk-LQSV2U2M.js → chunk-GBBCSYEP.js} +1 -1
- package/build/_chunks/{chunk-PWA5AT5F.js → chunk-GFBN2CG2.js} +1 -1
- package/build/_chunks/chunk-GIROE252.js +2 -0
- package/build/_chunks/chunk-GKLSVCQU.js +2 -0
- package/build/_chunks/{chunk-DFSWXXN5.js → chunk-HD4GLT2I.js} +2 -2
- package/build/_chunks/{chunk-AQVAVB4K.js → chunk-HD6UWTBZ.js} +1 -1
- package/build/_chunks/chunk-HRRTUP6T.js +1 -0
- package/build/_chunks/{chunk-VNZEWYUT.js → chunk-ICD3ZSIO.js} +1 -1
- package/build/_chunks/{chunk-HJ4FEJQP.js → chunk-IN5KJTKO.js} +1 -1
- package/build/_chunks/{chunk-FAAG5CEB.js → chunk-IT4BXYEH.js} +1 -1
- package/build/_chunks/{chunk-UWLP24VO.js → chunk-IU4HZNY2.js} +1 -1
- package/build/_chunks/{chunk-HIYL36IO.js → chunk-IUWYP3DR.js} +1 -1
- package/build/_chunks/{chunk-OHQFHWAA.js → chunk-J3UFF57O.js} +1 -1
- package/build/_chunks/{chunk-KDJHWYHR.js → chunk-JDF3VCDC.js} +1 -1
- package/build/_chunks/{chunk-42MVBKRY.js → chunk-JGWDDGIU.js} +1 -1
- package/build/_chunks/{chunk-Y4NH4BVH.js → chunk-JNROHX73.js} +1 -1
- package/build/_chunks/{chunk-RAP5KYNR.js → chunk-KYMKMMEY.js} +1 -1
- package/build/_chunks/{chunk-6WBZD2A5.js → chunk-L35OX7XE.js} +1 -1
- package/build/_chunks/{chunk-WDOEOVVH.js → chunk-L6VLX37S.js} +1 -1
- package/build/_chunks/{chunk-6ZIN2VHL.js → chunk-LE2OTZNZ.js} +1 -1
- package/build/_chunks/{chunk-HS3IN75X.js → chunk-LI3P2UVP.js} +1 -1
- package/build/_chunks/{chunk-7YENBSAM.js → chunk-LZDX4T7W.js} +1 -1
- package/build/_chunks/{chunk-IQJE6FPB.js → chunk-MAUJE6EM.js} +1 -1
- package/build/_chunks/chunk-NF3VSGBM.js +1 -0
- package/build/_chunks/{chunk-BGKYGPNJ.js → chunk-NLNVAGOT.js} +1 -1
- package/build/_chunks/{chunk-LLB7TOQ5.js → chunk-NWF6QYVV.js} +1 -1
- package/build/_chunks/{chunk-GX5MYILV.js → chunk-O3ZPU35M.js} +1 -1
- package/build/_chunks/{chunk-QBPHRQCC.js → chunk-OA2CZW47.js} +1 -1
- package/build/_chunks/{chunk-K7BKPJ5F.js → chunk-OWKV6CST.js} +1 -1
- package/build/_chunks/{chunk-6OMHHIR5.js → chunk-P2RO6ITI.js} +1 -1
- package/build/_chunks/{chunk-A62KPF2H.js → chunk-PGHZBKKO.js} +1 -1
- package/build/_chunks/chunk-PPRDCADM.js +1 -0
- package/build/_chunks/{chunk-HU4ADGUJ.js → chunk-PVILLHD4.js} +1 -1
- package/build/_chunks/{chunk-RCWVS44M.js → chunk-Q4AFQ6PC.js} +1 -1
- package/build/_chunks/{chunk-462ZPKDZ.js → chunk-Q5PLP2P4.js} +1 -1
- package/build/_chunks/{chunk-HUG3GFUD.js → chunk-QU4P67LD.js} +1 -1
- package/build/_chunks/{chunk-UDLBWNVK.js → chunk-R22EY3MU.js} +1 -1
- package/build/_chunks/{chunk-4P55GHV7.js → chunk-RB7PNED7.js} +1 -1
- package/build/_chunks/{chunk-7JHIW4H3.js → chunk-RDVP5SOG.js} +1 -1
- package/build/_chunks/{chunk-C72BBFMS.js → chunk-RHHIMOJY.js} +1 -1
- package/build/_chunks/{chunk-PQT7FYQN.js → chunk-RJY2P4YM.js} +1 -1
- package/build/_chunks/{chunk-PSA3VYU2.js → chunk-RZNIJZF2.js} +1 -1
- package/build/_chunks/{chunk-RPQBJXE3.js → chunk-SJWYU6GP.js} +1 -1
- package/build/_chunks/{chunk-OVVSFIGT.js → chunk-SQUEHQDS.js} +1 -1
- package/build/_chunks/{chunk-MHSPRJMC.js → chunk-SXAMDTL4.js} +1 -1
- package/build/_chunks/{chunk-7YLO2ZYY.js → chunk-TB3VHS4Z.js} +1 -1
- package/build/_chunks/{chunk-67QXCU2P.js → chunk-TJIJ6Z4Q.js} +1 -1
- package/build/_chunks/{chunk-GMEOVJFI.js → chunk-TMP3ETGZ.js} +1 -1
- package/build/_chunks/{chunk-4WENIJI2.js → chunk-TSYI73JN.js} +1 -1
- package/build/_chunks/{chunk-PDCRN5SE.js → chunk-TTMIYNSA.js} +1 -1
- package/build/_chunks/{chunk-JIFGSGLK.js → chunk-UIN3S2CY.js} +1 -1
- package/build/_chunks/chunk-UNW2TUYC.js +1 -0
- package/build/_chunks/{chunk-7NEGNRKN.js → chunk-USGA3AKD.js} +1 -1
- package/build/_chunks/{chunk-VUCHCD25.js → chunk-VHPDTTMV.js} +1 -1
- package/build/_chunks/{chunk-KYQJVJYS.js → chunk-VOHQMRMX.js} +1 -1
- package/build/_chunks/{chunk-B4LU3SQW.js → chunk-WF33Q4MJ.js} +1 -1
- package/build/_chunks/{chunk-PZKKSGL6.js → chunk-WJ3JPCZ5.js} +1 -1
- package/build/_chunks/{chunk-2W6TCXVT.js → chunk-WKXP3JXD.js} +1 -1
- package/build/_chunks/chunk-WUBPM67I.js +1 -0
- package/build/_chunks/{chunk-BQMJMAC2.js → chunk-XEVF5HUV.js} +1 -1
- package/build/_chunks/{chunk-HKAKP3QF.js → chunk-XFEB34LQ.js} +1 -1
- package/build/_chunks/{chunk-CFD4YMQ5.js → chunk-XSZAO4RN.js} +1 -1
- package/build/_chunks/{chunk-Z4TFJO2W.js → chunk-XYKSXN3I.js} +1 -1
- package/build/_chunks/{chunk-KE2R76XR.js → chunk-Y4DQQKU6.js} +1 -1
- package/build/_chunks/{chunk-UFE4H7ZK.js → chunk-YGMD6OOD.js} +1 -1
- package/build/_chunks/{chunk-AV3RPL4E.js → chunk-YGTAFWD4.js} +1 -1
- package/build/_chunks/{chunk-7I5JB2Q6.js → chunk-YHKP64BF.js} +1 -1
- package/build/_chunks/{chunk-75OUTDIX.js → chunk-YKI5NNXR.js} +1 -1
- package/build/_chunks/{chunk-3ULHVMLZ.js → chunk-YY6VLE4L.js} +1 -1
- package/build/components/Accordion/index.js +1 -1
- package/build/components/AccountDropdown/index.js +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/ActivityAreaChart/index.js +1 -1
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AmountStatusChip/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AuthenticationTypeChip/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BetaBanner/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/CardEmptyState/index.js +1 -1
- package/build/components/Checkbox/index.js +1 -1
- package/build/components/Chip/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/CircularProgressWithLabel/index.js +1 -1
- package/build/components/Collapse/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CopyImage/index.js +1 -1
- package/build/components/CountBadge/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/Dialog/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/DisplayAmount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownButton/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FieldFeedback/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.d.ts +2 -0
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlagDetails/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IOSSwitch/index.js +1 -1
- package/build/components/Icon/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/Input/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/InputNumber/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/LazyImage/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/Menu/index.js +1 -1
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -1
- package/build/components/MultiSelectWithSearch/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NoInternet/index.js +1 -1
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressBar/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ResizableHeightInput/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/ScrollLoader/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/SimpleDialog/index.js +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Slider/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusChip/index.js +1 -1
- package/build/components/StatusChipWithCopy/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/Toaster/index.js +1 -1
- package/build/components/ToggleButtons/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TreeDropdown/hooks/useSearch.d.ts +1 -0
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/TreeDropdown/type.d.ts +8 -2
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/Window/index.js +1 -1
- package/build/components/WindowAppIcon/index.js +1 -1
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/_v2/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/constants/assets.d.ts +45 -24
- package/build/constants/index.js +1 -1
- package/build/constants/segment.d.ts +4 -0
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +3 -3
- package/build/_chunks/chunk-3UJEEQ4I.js +0 -2
- package/build/_chunks/chunk-6H433DZD.js +0 -1
- package/build/_chunks/chunk-FKIQI2VJ.js +0 -1
- package/build/_chunks/chunk-FUZDEBNI.js +0 -1
- package/build/_chunks/chunk-HOA25PMX.js +0 -2
- package/build/_chunks/chunk-NCQAIHN6.js +0 -1
- package/build/_chunks/chunk-NE6LUZYP.js +0 -1
- package/build/_chunks/chunk-TX2OWCL6.js +0 -1
- package/build/_chunks/chunk-WENEKDSO.js +0 -1
- package/build/_chunks/chunk-WQW3FS52.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c,d}from'./chunk-7I5JB2Q6.js';import {a,c as c$1,d as d$1}from'./chunk-NO7TS2WN.js';import {b,a as a$1}from'./chunk-2W6TCXVT.js';import {Jc,Ga}from'./chunk-WQW3FS52.js';import {Ke as Ke$1}from'./chunk-HOA25PMX.js';import {createContext,memo,useRef,useId,useContext,useCallback,useState,useMemo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import Ue from'@mui/material/Box';import {Resizable}from're-resizable';import Xe from'react-draggable';import {motion}from'framer-motion';var O=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{}});var ye=555,Te=545;function q({children:e,isOpen:o,onClose:i,defaultWindowHeight:r,defaultWindowWidth:a,initialPosition:s,minWidth:l,maxWidth:d,minHeight:p,maxHeight:m}){let{height:n,width:f}=a$1(),u=a||ye,t=r||Te,[b,z]=useState({x:s?.x??f/2+u/2,y:s?.y??n/2-t/2}),[I,c]=useState(false),[v,P]=useState(false),[S,C]=useState(false),[h,R]=useState(true),w=useRef(),[E,W]=useState({width:a??0,height:r??0}),x=useCallback(g=>{w?.current?.updateSize(g);},[]),D=useCallback(g=>{w.current?.updateSize(g),W(B=>({width:g.width??B.width,height:g.height??B.height}));},[]),U=useMemo(()=>({position:b,setPosition:z,resizableRef:w,windowZIndex:1,isOpen:o,setIsMaximized:c,setIsSidebarExpanded:R,setIsToolbarAnimationDisabled:C,setIsResized:P,isMaximized:I,isToolbarAnimationDisabled:S,isSidebarExpanded:h,isResized:v,dimensions:E,setNewDimensions:W,viewerDefaultWidth:u,viewerDefaultHeight:t,onClose:i,fullWindowWidth:f,fullWindowHeight:n,updateRefSize:x,updateSize:D,minWidth:l,maxWidth:d,minHeight:p,maxHeight:m}),[b,z,w,o,c,R,C,P,I,S,h,v,E,W,f,n,u,t,x,D,i,l,d,p,m]);return jsx(O.Provider,{value:U,children:e})}var A=.5,de=183,pe=287,se=840,le=545,Y=35;function Pe({title:e,onClose:o,onMaximize:i,maximized:r=false,id:a$1,onRequestClick:s,isSidebarExpanded:l=false,isHovered:d$2=false,onMouseHover:p,onMouseLeave:m,showSectionsButton:n,rightActions:f,icon:u}){return jsx(c,{id:a$1,"data-testid":"UserTitleBar",maximized:r||false,children:jsx(d,{onMouseEnter:p,onMouseLeave:m,isMaximized:r,isHovered:d$2,title:e,icon:u||Ke$1,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:o}),jsx(c$1,{isMaximized:r,onClick:i}),n&&jsx(d$1,{onClick:s,isExpanded:!l,isHovered:d$2,children:"Sidebar"})]}),rightActions:f})})}var me=memo(Pe);var $=me;function ke({isMaximized:e,setIsToolbarAnimationDisabled:o,setIsMaximized:i,onClose:r,isSidebarExpanded:a,setIsSidebarExpanded:s,isToolbarAnimationDisabled:l,title:d,showSectionsButton:p,rightActions:m,icon:n}){let{isHovered:f,onMouseEnter:u,onMouseLeave:t}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx($,{title:d||"Users",showSectionsButton:p,onClose:r,onMaximize:()=>{i?.(b=>!b),o?.(true),setTimeout(()=>{o?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{o?.(false),s(!a);},isSidebarExpanded:a,isHovered:f,onMouseHover:u,onMouseLeave:t,rightActions:m,icon:n})})}var ue=memo(ke);var xe=ue;function qe({children:e,titleBar:o,titleBarText:i,mainAppOrder:r,mainAppIsMinimized:a,showSectionsButton:s=true,rightActions:l,titleBarIcon:d}){let p=useRef(null),m=Jc(useId(),"app-window"),{dimensions:n,position:f,resizableRef:u,isMaximized:t,isOpen:b,onClose:z,viewerDefaultWidth:I,viewerDefaultHeight:c,windowZIndex:v,setPosition:P,setNewDimensions:S,isToolbarAnimationDisabled:C,fullWindowWidth:h,fullWindowHeight:R,setIsMaximized:w,setIsResized:E,isResized:W,setIsToolbarAnimationDisabled:x,setIsSidebarExpanded:D,isSidebarExpanded:U,minWidth:g,maxWidth:B,minHeight:He,maxHeight:Ae}=useContext(O),j=Ga(),Ie=useCallback((Z,X,ee)=>{E(true),S({width:ee.offsetWidth,height:ee.offsetHeight});},[S,E]),M=n.width||I;return createPortal(jsx(Xe,{nodeRef:p,disabled:t,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:h/2-M/2,y:R/2-c/2},position:{x:h-f.x,y:f.y},onStop:(Z,X)=>{P({x:h-X.x,y:X.y});},bounds:{top:10},children:jsx(Dialog,{ref:p,sx:{backgroundColor:"transparent",zIndex:Number(r||0)+v,...a&&{display:"none"},transform:"translate(180px, 14px)",...!t&&{width:j?M:"fit-content",height:j?c:"fit-content"},...t&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:W?"fit-content":M,height:W?"fit-content":"100%",...t&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{w(false),x(true),setTimeout(()=>{x(false);},.5*1e3);},open:b,hideBackdrop:true,fullScreen:t,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,left:true,right:true,bottomRight:true,bottom:true,top:true},size:{width:n.width,height:n.height},maxHeight:Ae??R-40,maxWidth:B??h,minWidth:t?"100vw":g??I,minHeight:t?"100vh":He??c,ref:Z=>{u.current=Z;},onResizeStart:()=>{x(true);},onResizeStop:()=>{x(false);},onResize:Ie,defaultSize:{width:M,height:c},style:{background:"transparent",height:n.height,overflow:"hidden",...t&&{height:"100% !important",width:"100% !important",flex:1},...t&&{position:"relative"}},children:jsxs(Ue,{sx:{height:"100%"},id:m,"data-testid":"AppWindow",children:[o??jsx(xe,{setIsToolbarAnimationDisabled:x,onClose:z,setIsMaximized:w,isToolbarAnimationDisabled:C,setIsSidebarExpanded:D,isSidebarExpanded:U,title:i,isMaximized:t,showSectionsButton:s,rightActions:l,icon:d}),e]})})})}),document.body)}var ce=memo(qe);var Je=styled(Box,{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"})),Ke=styled(Button)(({theme:e,disabled:o})=>({background:o?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),Qe=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),je=styled(Box)(()=>({position:"fixed",height:35,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),eo=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var K=ce;function oo({children:e,windowProps:o,...i}){return i.isOpen?jsx(q,{...i,children:jsx(K,{...o,children:e})}):null}var ge=oo;function io({title:e,maximized:o=false,id:i,isHovered:r=false,onMouseHover:a,onMouseLeave:s,leftActions:l,titleIconSrc:d$1,sx:p,...m}){return jsx(c,{className:"header-wrapper",id:i,maximized:o||false,sx:p,...m,children:jsx(d,{onMouseEnter:a,onMouseLeave:s,isMaximized:o,isHovered:r,title:e||"",icon:d$1,leftActions:l})})}var Q=memo(io);function ao({isMaximized:e,id:o,isToolbarAnimationDisabled:i,title:r,leftActions:a$1,onClose:s,onMaximize:l,sx:d}){let{isHovered:p,onMouseEnter:m,onMouseLeave:n}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...i&&{duration:0}},children:jsx(Q,{title:r,maximized:e,id:o||"draggable-dialog-title",isHovered:p,onMouseHover:m,onMouseLeave:n,leftActions:a$1||jsxs(Fragment,{children:[jsx(a,{onClick:s}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:d})})}var We=memo(ao);var lo=We;var Rt=ge;export{O as a,q as b,A as c,de as d,pe as e,se as f,le as g,Y as h,$ as i,Je as j,Ke as k,Qe as l,je as m,eo as n,K as o,Q as p,lo as q,Rt as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {sj,qj,oj,lj,bj,dj,tj,aj,$i,rj,Eg,qb,ej,ob,fj,hj,ij,nj,mj,gj}from'./chunk-HOA25PMX.js';var b={ABANDONED:Eg,IN_PROGRESS:tj,VOID:rj,CANCELLED:$i,CAPTURED:aj,INITIATED:tj,FAILED:dj,DECLINED:bj,RESTRICTED:lj,TIMEDOUT:oj,UNKNOWN:qj,AUTHORIZED:sj},C={UNKNOWN:{gatewayIcon:ej,acquirerIcon:qb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:ej,acquirerIcon:qb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:ej,acquirerIcon:qb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:fj,acquirerIcon:ob,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:fj,acquirerIcon:ob,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:ej,acquirerIcon:qb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:ej,acquirerIcon:qb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:ej,acquirerIcon:qb}},R={PENDING:ij,REFUNDED:hj},S={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},O={PAID_OUT:gj,SETTLED:mj,PENDING:nj},k={AUTHORIZED:sj},w={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};export{b as a,C as b,R as c,S as d,O as e,k as f,w as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-NAA6S4QD.js';var m=a;export{m as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';var x="https://cdn.tap.company/tap-assets",e=`${x}/icons/dashboard/light`,t=`${e}/other`,ge=`${e}/function`,ne=`${x}/videos`,se=`${x}/files`,ce=`${se}/templates`,ve=c=>`${e}/${c}.svg`,he=c=>`${e}/payment-method/v2/${c}.svg`,me=c=>`${e}/payment-issuer/${c}.svg`,fe=c=>`${e}/country/v3/${c}.svg`,Ae=c=>`${e}/function/${c}.svg`,$e=c=>`${e}/statusIcons/${c}.svg`,Ee=c=>`${x}/currency/v3/light/${c}.svg`,Te=c=>{let oe=c.replace(/\s/g,"");return `${x}/icons/dashboard/light/authority/v2/${oe}.svg`},Se=c=>`${e}/browsers/${c}.svg`,Ce=c=>`${e}/payment-initiator/${c}.svg`,_e=c=>`${e}/payment-gateways/${c}.svg`,ye=c=>`${e}/aging/${c}.svg`,be=`${e}/currency/sar.svg`,Re=`${e}/currency/dirham.svg`,Ne=`${e}/abandoned.svg`,we=`${e}/abandonedYellow.svg`,Le=`${e}/chevron-down.svg`,Pe=`${e}/sliderThumb.svg`,Oe=`${e}/reversed.svg`,Be=`${e}/destinationSolid.svg`,Ue=`${e}/search.svg`,De=`${e}/unauthorized.svg`,Me=`${e}/view.svg`,ke=`${e}/reports.svg`,We=`${e}/flag.svg`,Fe=`${e}/dispute.svg`,Ge=`${e}/timezone.svg`,He=`${e}/greyTimezone.svg`,Ye=`${e}/subscription.svg`,Ve=`${e}/savedCard.svg`,ze=`${e}/egypt.svg`,Ke=`${e}/saudiArabia.svg`,qe=`${e}/jordan.svg`,Ze=`${e}/lebanon.svg`,Qe=`${e}/kuwait.svg`,Je=`${e}/unitedArabEmirates.svg`,je=`${e}/europe.svg`,Xe=`${e}/bahrain.svg`,et=`${e}/america.svg`,tt=`${e}/payment-method/v2/card.svg`,ot=`${e}/device.svg`,nt=`${e}/expressCheckout.svg`,st=`${e}/applePay.svg`,ct=`${e}/cash.svg`,pt=`${e}/passThruWallet.svg`,at=`${e}/storedValueWallet.svg`,rt=`${e}/buyNowPayLater.svg`,xt=`${e}/openBanking.svg`,it=`${e}/FrictionlessIcon.svg`,dt=`${e}/ChallengeIcon.svg`,lt=`${e}/visa.svg`,ut=`${e}/redArrowDownIcon.svg`,It=`${e}/completed.svg`,gt=`${e}/chargebackRequested.svg`,vt=`${e}/chargeback.svg`,ht=`${t}/captureDropdown.svg`,mt=`${e}/disputeResolved.svg`,ft=`${e}/reversePayout.svg`,At=`${e}/ellipsisHorizontal.svg`,$t=`${e}/3ds.svg`,Et=`${e}/invoiceIdIcon3.svg`,Tt=`${e}/idIcon3.svg`,St=`${e}/id.svg`,Ct=`${t}/copyIcon.svg`,_t=`${t}/codeIcon.svg`,yt=`${t}/GreenCheckMark2.svg`,bt=`${e}/closedDispute.svg`,Rt=`${e}/openDispute.svg`,Nt=`${e}/desktop.svg`,wt=`${e}/mobile.svg`,Lt=`${e}/tablet.svg`,Pt=`${e}/invoice.svg`,Ot=`${e}/cancelledInvoiceIcon.svg`,Bt=`${e}/expiredInvoiceIcon.svg`,Ut=`${e}/invoiceNumberIcon.svg`,Dt=`${e}/column.svg`,Mt=`${e}/sortAz.svg`,kt=`${e}/sortZa.svg`,f=`${e}/zipFile.svg`,Wt=`${e}/successWhiteBg.svg`,Ft=`${e}/failedWhiteBgIcon.svg`,Gt=`${e}/exclamationGreyIcon.svg`,Ht=`${e}/exclamationDarkGreyIcon.svg`,Yt=`${e}/percentage0.svg`,Vt=`${e}/percentage50.svg`,zt=`${e}/percentage75.svg`,Kt=`${e}/percentage100.svg`,qt=`${e}/maximize.svg`,Zt=`${e}/minimize.svg`,Qt=`${e}/close.svg`,Jt=`${e}/dashedCheckIcon.svg`,jt=`${e}/outstandingIcon.svg`,Xt=`${e}/cancelledStatusIcon.svg`,eo=`${e}/expiredStatusIcon.svg`,to=`${e}/paidStatusIcon.svg`,oo=`${e}/refundedStatusIcon.svg`,no=`${e}/deactivatedIcon.svg`,so=`${e}/topup.svg`,co=`${e}/AIOverviewIcon.svg`,po=`${t}/demaximize.svg`,ao=`${e}/pendingFlag.svg`,ro=`${e}/ibanIcon.svg`,xo=`${e}/payoutIcon.svg`,io=`${e}/releasedFlag.svg`,lo=`${e}/acceptedFlag.svg`,uo=`${e}/clearIcon.svg`,Io=`${e}/status/unCaptured.svg`,go=`${t}/newWindow.svg`,vo=`${t}/viewAll.svg`,ho=`${t}/allApps.svg`,mo=`${t}/hide.svg`,fo=`${t}/close.svg`,Ao=`${t}/star.svg`,$o=`${t}/closeCircle.svg`,Eo=`${t}/acquirer.svg`,To=`${e}/GenericIconNew.svg`,So=`${t}/acquirerRed.svg`,Co=`${t}/gateway.svg`,_o=`${t}/acquirerOrange.svg`,yo=`${e}/status/capturedAuthorize.svg`,bo=`${t}/merchantInitiated.svg`,Ro=`${t}/rightArow.svg`,No=`${e}/blackRightArrow.svg`,wo=`${t}/orangeFlag.svg`,Lo=`${t}/openFlag.svg`,Po=`${t}/closedFlag.svg`,Oo=`${t}/redFlag.svg`,Bo=`${t}/grayFlag.svg`,Uo=`${t}/downArrow.svg`,Do=`${t}/check.svg`,Mo=`${t}/closeX.svg`,ko=`${t}/drag.svg`,Wo=`${t}/checkboxIcon.svg`,Fo=`${e}/plusWhite.svg`,Go=`${t}/checkboxIcon.svg`,Ho=`${e}/Uniso.svg`,Yo=`${e}/addidas.svg`,Vo=`${e}/radioButtonChecked.svg`,zo=`${e}/radioButtonUnchecked.svg`,Ko=`${e}/Mac.svg`,qo=`${e}/blueCheckIconZigzag.svg`,Zo=`${e}/greenCheckIconZigzag.svg`,Qo=`${e}/dimmedCheckIconZigzag.svg`,Jo=`${e}/marketPlaceBlue.svg`,jo=`${e}/marketplaceBlackIcon.svg`,Xo=`${e}/marketPlaceDimmed.svg`,en=`${e}/moneyOut.svg`,tn=`${e}/moneyOutDimmed.svg`,on=`${e}/moneyIn.svg`,nn=`${e}/moneyInDimmed.svg`,sn=`${e}/message.svg`,cn=`${e}/pending.svg`,pn=`${e}/payStream.svg`,an=`${e}/clearCoin.svg`,rn=`${t}/walletSmall.svg`,xn=`${t}/bank.svg`,dn=`${t}/hijri.svg`,ln=`${t}/darkLeftArrow.svg`,un=`${t}/darkRightArrow.svg`,In=`${t}/spinnerLoading.svg`,gn=`${t}/spinnerLoadingAnimated.svg`,vn=`${t}/actionFail.svg`,hn=`${t}/actionSuccess.svg`,mn=`${t}/checkMark.svg`,fn=`${t}/logout.svg`,An=`${t}/preferences.svg`,$n=`${t}/transform.svg`,A=`${t}/token.svg`,d=`${t}/billing.svg`,En=`${t}/receiptBill.svg`,Tn=`${e}/newReceiptIcon.svg`,l=`${t}/acceptance.svg`,Sn=`${e}/acceptanceEnabled.svg`,Cn=`${e}/acceptanceBlue.svg`,_n=`${e}/payoutsGreen.svg`,yn=`${t}/acceptanceAppIconDisabled.svg`,bn=`${t}/payoutsAppIconDisabled.svg`,Rn=`${e}/payoutEnabled.svg`,Nn=`${e}/payoutAppGreenIcon.svg`,wn=`${e}/payoutDisabledRounded.svg`,Ln=`${e}/acceptanceDisabledRounded.svg`,u=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,g=`${t}/payouts.svg`,$=`${t}/protect.svg`,E=`${t}/customers.svg`,T=`${t}/business.svg`,S=`${t}/account.svg`,Pn=`${t}/disableCheck.svg`,On=`${t}/wifiOff.svg`,Bn=`${t}/SandboxHovered.svg`,Un=`${t}/Sandbox.svg`,Dn=`${t}/ExclamationError.svg`,Mn=`${t}/greyCheck.svg`,kn=`${t}/greyCross.svg`,Wn=`${t}/blueCheck.svg`,Fn=`${t}/disabledCheck.svg`,Gn=`${t}/darkCheck.svg`,Hn=`${t}/collapseArrow.svg`,Yn=`${t}/world.svg`,Vn=`${t}/grayUpArrow.svg`,zn=`${t}/blackHeadingDownArrowIcon.svg`,Kn=`${t}/blueHeadingDropdownArrow.svg`,qn=`${t}/dropdownArrow.svg`,Zn=`${t}/greyDropdownIcon.svg`,Qn=`${t}/business2.svg`,Jn=`${t}/provider.svg`,jn=`${t}/financial.svg`,Xn=`${t}/development.svg`,es=`${t}/masterOrchestratorSegment.svg`,ts=`${t}/platform.svg`,os=`${t}/light_platform.svg`,ns=`${t}/brandGray.svg`,ss=`${e}/grayCircleIcon.svg`,cs=`${t}/json.svg`,ps=`${t}/jsonBlackIcon.svg`,as=`${t}/sort1.svg`,rs=`${t}/SandboxHoveredLight.svg`,xs=`${t}/emailColoured.svg`,is=`${e}/OrderIcon.svg`,ds=`${e}/TransactionIcon.svg`,ls=`${e}/GenericIcon.svg`,us=`${t}/smsColoured.svg`,Is=`${t}/whatsAppColored.svg`,gs=`${t}/dueDateBlue.svg`,vs=`${t}/dueDateOrange.svg`,hs=`${t}/dueDateYellow.svg`,ms=`${t}/dueDateRed.svg`,fs=`${t}/dueDateBlack.svg`,As=`${t}/dueDateGray.svg`,$s=`${t}/timerBlue.svg`,Es=`${t}/expiredIcon.svg`,Ts=`${t}/remindedRed.svg`,Ss=`${t}/chevronWhite.svg`,Cs=`${t}/chevronGray.svg`,_s=`${t}/notVerified.svg`,ys=`${t}/verified.svg`,bs=`${t}/verifyReview.svg`,Rs=`${e}/window/attention.svg`,Ns=`${e}/window/initalAcceptance.svg`,ws=`${e}/window/completedAcceptance.svg`,Ls=`${e}/window/initalPayouts.svg`,Ps=`${e}/window/completedPayouts.svg`,Os=`${t}/collapseArrowsIcon.svg`,Bs=`${t}/expandArrowsIcon.svg`,Us=`${t}/greenArrowRight.svg`,Ds=`${t}/greenArrowLeft1.svg`,Ms=`${t}/greenIconWithArrowUp.svg`,ks=`${t}/whiteArrowRight.svg`,Ws=`${t}/whiteArrowLeft.svg`,Fs=`${e}/HSBCBank.svg`,Gs=`${e}/shopifyIcon.svg`,Hs=`${e}/verifiedGreenBadge.svg`,Ys=`${e}/backButtonLeft.svg`,Vs=`${e}/eyeHideIcon.svg`,zs=`${e}/eyeShowIcon.svg`,Ks=`${t}/uploadIcon.svg`,C=`${e}/window/uploadWhiteIcon.svg`,_=`${e}/uploadAppIcon.svg`,qs=`${e}/inprogressIcon.svg`,Zs=`${t}/uploadBlueIcon.svg`,Qs=`${t}/SandboxHovered.svg`,Js=`${t}/sandboxDefaultIcon.svg`,js=`${t}/SandboxIcon.svg`,Xs=`${t}/clock.svg`,ec=`${t}/RedClose.svg`,h=`${t}/xls.svg`,y=`${t}/csv.svg`,tc=`${t}/pdf.svg`,oc=`${t}/Download.svg`,nc=`${t}/reportsIconOutlined.svg`,sc=`${t}/Done.svg`,cc=`${t}/reportApps.svg`,b=`${e}/window/ReportsApp.svg`,R=`${e}/window/leadApp.svg`,N=`${e}/window/leadTitleIcon.svg`,w=`${t}/OrderApp.svg`,L=`${t}/OrderTitleIcon.svg`,pc=`${e}/dottedLine.svg`,ac=`${e}/passwordDots.svg`,rc=`${e}/dollarSign.svg`,xc=`${e}/reload.svg`,ic=`${t}/deletedStatus1.svg`,dc=`${t}/draftedStatus1.svg`,lc=`${t}/createdStatus1.svg`,uc=`${t}/cancelledStatus1.svg`,Ic=`${t}/expiredStatus1.svg`,gc=`${t}/paidStatus1.svg`,vc=`${t}/deliveredStatus1.svg`,hc=`${t}/viewedStatus1.svg`,mc=`${t}/savedStatus1.svg`,fc=`${t}/scheduledStatus1.svg`,Ac=`${t}/invoicePendingStatus2.svg`,$c=`${t}/invoiceRefundedStatus2.svg`,Ec=`${e}/activeLeadStatus.svg`,Tc=`${e}/completedLeadStatus.svg`,Sc=`${e}/closedLeadStatus.svg`,Cc=`${e}/expiredLeadStatus.svg`,_c=`${e}/readyLeadStatus.svg`,yc=`${e}/newFileIcon.svg`,bc=`${e}/teamWindowIcon.svg`,Rc=`${e}/blueAppsIcon.svg`,Nc=`${e}/disabledCardIcon.svg`,wc=`${e}/disabledCodeIcon.svg`,Lc=`${e}/layersIcon.svg`,Pc=`${e}/status/pendingOnTapIcon.svg`,Oc=`${e}/leadWhiteIcon.svg`,Bc=`${t}/chatDisabledIcon.svg`,Uc=`${e}/exclamationDarkIcon.svg`,Dc=`${t}/exclamationWarning.svg`,Mc=`${e}/exclamationError.svg`,kc=`${e}/exclamationOrangeIcon.svg`,Wc=`${t}/greenCheckV2.svg`,Fc=`${e}/iosIcon1.svg`,Gc=`${e}/androidIcon.svg`,Hc=`${e}/websiteIcon.svg`,Yc=`${t}/greyApple.svg`,Vc=`${t}/greyLocationIcon.svg`,zc=`${t}/greyDesktopIcon.svg`,Kc=`${t}/greyTimezone.svg`,qc=`${t}/safariBrowser.svg`,Zc=`${t}/chromeBrowser.svg`,Qc=`${t}/firefoxBrowser.svg`,Jc=`${t}/microsoftBrowser.svg`,jc=`${t}/operaBrowser.svg`,Xc=`${t}/braveBrowser.svg`,ep=`${t}/arcBrowser.svg`,tp=`${t}/chromiumBrowser.svg`,op=`${t}/userIcon.svg`,P=`${t}/slaProcess.svg`,O=`${e}/window/slaProcess.svg`,B=`${e}/orchestrationApp.svg`,U=`${e}/window/orchestration.svg`,np=`${e}/window/orchestrationWindowBg.svg`,D=`${e}/lendingApp.svg`,M=`${e}/window/lending.svg`,sp=`${e}/fast.svg`,cp=`${e}/bankBlue.svg`,pp=`${e}/mosque.svg`,ap=`${e}/corpotateLoan.svg`,k=`${e}/platformApp.svg`,W=`${e}/window/platform.svg`,rp=`${e}/status/table/abandoned.svg`,xp=`${e}/status/table/cancelled.svg`,ip=`${e}/status/table/captured.svg`,dp=`${e}/status/table/chargeBack.svg`,lp=`${e}/status/table/chargeBackRequested.svg`,up=`${e}/status/table/completed.svg`,Ip=`${e}/status/table/declined.svg`,gp=`${e}/status/table/destinationReversed.svg`,vp=`${t}/DestinationWithoutBackground.svg`,hp=`${e}/status/table/disputeResolved.svg`,mp=`${e}/status/table/failed.svg`,fp=`${e}/status/table/failedNoBG.svg`,Ap=`${e}/status/table/declinedNoBg.svg`,$p=`${t}/destinationSuccess.svg`,Ep=`${e}/status/authenticationFailed.svg`,Tp=`${e}/status/table/authenticated.svg`,Sp=`${e}/paidOutFilterIcon.svg`,Cp=`${e}/completedBlackIcon.svg`,_p=`${e}/scheduledFilterIcon.svg`,yp=`${e}/saveTokenIcon.svg`,bp=`${e}/status/unauthenticated.svg`,Rp=`${e}/status/authenticationAttempted.svg`,Np=`${e}/status/authenticationNoAuth.svg`,wp=`${e}/status/authenticationDeclined.svg`,Lp=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Pp=`${e}/status/authenticationExemptedWithTransaction2.svg`,Op=`${e}/status/authenticationFailed1.svg`,Bp=`${e}/status/authenticationInitiated.svg`,Up=`${e}/status/authenticationUnavailable.svg`,Dp=`${e}/status/authenticationUndetermined.svg`,Mp=`${e}/status/AuthenticationWithoutTransaction1.svg`,kp=`${e}/status/authenticationWithTransaction1 2.svg`,Wp=`${e}/status/AuthenticationAuthenticated.svg`,Fp=`${e}/status/authenticationPending2.svg`,Gp=`${e}/authenticationFailedNoBg.svg`,Hp=`${e}/authenticationPendingNoBg.svg`,Yp=`${e}/authenticationNoAuthNoBg.svg`,Vp=`${e}/authenticationAttemptedNoBg.svg`,zp=`${e}/authenticationExemptedWithTransactionNoBg.svg`,Kp=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,qp=`${e}/authenticationDeclinedNoBg.svg`,Zp=`${e}/authenticationUnavailableNoBg.svg`,Qp=`${e}/authenticationUndeterminedNoBg.svg`,Jp=`${e}/authenticatedSuccessNoBg.svg`,jp=`${e}/authenticationWithTransactionNoBg.svg`,Xp=`${e}/authenticationWithoutTransactionNoBg.svg`,ea=`${e}/greyPlusIcon.svg`,ta=`${e}/greyMinusIcon.svg`,oa=`${e}/noPreviewIcon.svg`,na=`${e}/other/editIcon.svg`,sa=`${t}/viewInvoice.svg`,ca=`${t}/checkoutStatus.svg`,pa=`${t}/checkStatusOutBlue.svg`,aa=`${t}/checkoutWithMarkStatus.svg`,ra=`${t}/intentExpiredStatus.svg`,xa=`${t}/intentInitiatedStatus.svg`,ia=`${t}/intentCancelledStatus.svg`,da=`${t}/intentTransactedStatus.svg`,la=`${e}/SheetViewUnionIcon.svg`,ua=`${e}/sheetView.svg`,Ia=`${e}/abandonedNoBG.svg`,ga=`${e}/status/table/paidOut.svg`,va=`${e}/status/table/reversePayout.svg`,ha=`${e}/status/pendingPayout.svg`,ma=`${t}/whiteCloseIcon.svg`,fa=`${e}/window/empty.svg`,Aa=`${e}/loaderWhiteIcon.svg`,$a=`${t}/reverseActionIcon.svg`,Ea=`${e}/status/authenticationWallet.svg`,Ta=`${e}/status/authenticationApp.svg`,Sa=`${e}/status/authenticationBiometric.svg`,Ca=`${e}/status/authenticationDevice.svg`,_a=`${e}/status/authenticationIssuer.svg`,ya=`${e}/status/authenticationScheme.svg`,ba=`${e}/pin.svg`,Ra=`${e}/unpin.svg`,Na=`${t}/switcher.svg`,wa=`${e}/closedStatusIcon.svg`,La=`${e}/verticalLine.svg`,Pa=`${e}/previewModeIcon.svg`,Oa=`${e}/status/table/tokensSaved.svg`,Ba=`${e}/status/table/tokensTransacted.svg`,Ua=`${e}/status/table/tokensExpired.svg`,Da=`${e}/status/table/tokensPending.svg`,Ma=`${e}/status/table/tokenCardIcon.svg`,ka=`${t}/TableloadingSpinner.svg`,Wa=`${t}/loadingSpinnerWhite.svg`,Fa=`${e}/spinnerLoadingBlue.svg`,Ga=`${e}/backgroundLoader.svg`,Ha=`${t}/arrowUpBlue1.svg`,Ya=`${t}/BlueCheckMarkShadowed1.svg`,Va=`${t}/cardViewButton.svg`,za=`${t}/listViewButton1.svg`,Ka=`${e}/BlueArrowUpIcon.svg`,qa=`${e}/BlueCircleLoaderIcon.svg`,Za=`${e}/appsGridIcon2.svg`,Qa=`${e}/whiteFilter.svg`,Ja=`${e}/grayCloseIcon.svg`,ja=`${e}/status/OrderAgreementIcon.svg`,Xa=`${e}/status/InstallmentAgreementIcon.svg`,er=`${e}/status/CardAgreementIcon.svg`,tr=`${e}/status/SubscriptionAgreementIcon.svg`,or=`${e}/brandPlaceholder.svg`,nr=`${e}/users-icons.svg`,sr=`${e}/Board-Icons.svg`,cr=`${t}/No Agreement.svg`,F=`${e}/window/acceptance.svg`,G=`${e}/window/wallet.svg`,H=`${e}/window/billing.svg`,Y=`${e}/window/customers.svg`,V=`${e}/window/payout.svg`,z=`${e}/window/protect.svg`,K=`${e}/window/tokens.svg`,q=`${e}/window/account.svg`,Z=`${e}/window/businesses.svg`,Q=`${e}/window/authentication.svg`,J=`${t}/reportsIcon.svg`,pr=`${e}/window/tokensReports.svg`,ar=`${e}/window/brand.svg`,rr=`${e}/window/entity.svg`,xr=`${e}/window/bank.svg`,ir=`${e}/window/individual.svg`,dr=`${e}/window/password.svg`,lr=`${e}/actionsIcon.svg`,ur=`${e}/addItem.svg`,Ir=`${e}/attachIcon.svg`,gr=`${e}/CollapseArrows.svg`,vr=`${e}/customerIcon.svg`,hr=`${e}/discountIcon.svg`,mr=`${e}/emailIcon.svg`,fr=`${e}/emailBlackIcon.svg`,Ar=`${e}/linkTiltedIcon.svg`,$r=`${e}/ExpandArrows.svg`,Er=`${e}/feeIcon.svg`,Tr=`${e}/minusIcon.svg`,Sr=`${e}/noteIcon.svg`,Cr=`${e}/pdfGrayIcon.svg`,_r=`${e}/productLabel.svg`,yr=`${e}/quantityIcon.svg`,br=`${e}/removeItem.svg`,Rr=`${t}/removeItem2.svg`,Nr=`${e}/smsIcon.svg`,wr=`${e}/taxIcon.svg`,Lr=`${e}/totalAmountIcon.svg`,Pr=`${e}/unfocusRemoveItem.svg`,Or=`${e}/whatsappIcon1.svg`,Br=`${e}/whiteArrow2.svg`,Ur=`${e}/newInvoice.svg`,Dr=`${e}/activeActionIcon.svg`,Mr=`${e}/grayProductLabel.svg`,kr=`${e}/plusQty.svg`,Wr=`${t}/downArrow3.svg`,Fr=`${e}/customer.svg`,Gr=`${t}/note.svg`,Hr=`${e}/blueNoteIcon.svg`,Yr=`${t}/attach.svg`,Vr=`${e}/lateFee.svg`,zr=`${e}/addItemIcon.svg`,Kr=`${e}/blueCheckIcon.svg`,qr=`${t}/trash-bin.svg`,Zr=`${e}/redTrashBin.svg`,Qr=`${e}/blueVerifyIcon.svg`,Jr=`${e}/verificationDarkBlue.svg`,jr=`${e}/grayVerifyIcon.svg`,Xr=`${e}/greenVerifyIcon.svg`,ex=`${e}/redVerifyIcon.svg`,tx=`${e}/closedVerifyIcon.svg`,ox=`${e}/archivedVerifyIcon.svg`,nx=`${e}/penIcon.svg`,sx=`${t}/listShadow.svg`,cx=`${e}/defaultCountryIcon.svg`,px=`${e}/defaultDeviceIcon.svg`,ax=`${e}/biometric.svg`,rx=`${e}/3dsBlue.svg`,xx=`${t}/createCharge.svg`,ix=`${t}/successCheck.svg`,dx=`${t}/receipt.svg`,lx=`${t}/browserTimezone.svg`,ux=`${t}/entityTimezone.svg`,Ix=`${t}/historyTimezone.svg`,gx=`${t}/smallBlueCheck.svg`,vx=`${t}/fileDownloadBlue.svg`,hx=`${t}/fileDownloadGrey.svg`,mx=`${e}/meta.svg`,fx=`${e}/darkFilterIcon.svg`,Ax=`${e}/resize-icon.svg`,$x=`${e}/home.svg`,Ex=`${e}/lockIcon.svg`,Tx=`${e}/Calendar.svg`,Sx=`${e}/status-v2/autoCapturedNoBG.svg`,Cx=`${e}/status-v2/autoVoidNoBG.svg`,_x=`${e}/status-v2/cancelledNoBG.svg`,yx=`${e}/status-v2/capturedNoBG.svg`,bx=`${e}/status-v2/declinedNoBG.svg`,Rx=`${e}/status-v2/destinationsNoBG.svg`,Nx=`${e}/status-v2/failedNoBG.svg`,wx=`${e}/status-v2/gatewayOrange.svg`,Lx=`${e}/status-v2/gatewayRedNoBG.svg`,Px=`${e}/status-v2/paidoutNoBG.svg`,Ox=`${e}/status-v2/refundedIconNoBG2.svg`,Bx=`${e}/status-v2/refundInitiatedNoBG.svg`,Ux=`${e}/status-v2/refundSettledNoBG.svg`,Dx=`${e}/status-v2/refundNotSettledNoBG.svg`,Mx=`${e}/status-v2/restrictedNoBG.svg`,kx=`${e}/status-v2/settledNoBG.svg`,Wx=`${e}/status-v2/settlementInitiatedNoBG.svg`,Fx=`${e}/status-v2/timeoutNoBG.svg`,Gx=`${e}/status-v2/unavailableNoBG.svg`,Hx=`${e}/status-v2/unknownNoBG.svg`,Yx=`${e}/status-v2/void.svg`,Vx=`${e}/status-v2/authorizeNoBG.svg`,zx=`${e}/status-v2/initiatedNoBG.svg`,Kx=`${e}/websiteBlueIcon.svg`,qx=`${e}/androidAppIcon.svg`,Zx=`${e}/iOSAppIcon.svg`,Qx=`${e}/physicalLocationIcon.svg`,Jx=`${e}/socialLinksIcon.svg`,jx=`${e}/smallLeftArrow.svg`,Xx=`${e}/searchBlueIcon.svg`,ei=`${t}/rightLightArrow.svg`,ti=`${t}/segmentInstitution.svg`,oi=`${t}/segmentTechnology.svg`,ni=`${t}/segmentDevelopmentHouse.svg`,j=`${t}/terminal.svg`,X=`${e}/window/terminal.svg`,si=`${e}/terminalCardPhone.svg`,ci=`${e}/ToastPOS.svg`,pi=`${e}/terminalTypeIcon.svg`,ai=`${e}/terminalBrush.svg`,ri=`${e}/terminalBrushMuted.svg`,xi=`${e}/navigationIcon.svg`,ii=`${e}/babyBlueCheckIcon.svg`,di=`${e}/digitalReceiptIcon.svg`,li=`${e}/bankNoteIcon.svg`,ui=`${e}/terminalDeviceFrame.svg`,Ii=`${e}/blackBrushIcon.svg`,gi=`${e}/mutedOutlinedCheckIcon.svg`,vi=`${e}/outlinedPlatformIcon.svg`,hi=`${e}/navigationPointerBlack.svg`,mi=`${e}/addIconWhite.svg`,fi=`${e}/greyUpArrow.svg`,Ai=`${e}/greyDownArrow.svg`,$i=`${e}/services/brandService.svg`,Ei=`${e}/services/authorizationService.svg`,Ti=`${e}/services/chargebacksService.svg`,Si=`${e}/services/chargesService.svg`,Ci=`${e}/services/destinationsService.svg`,_i=`${e}/services/entityService.svg`,yi=`${e}/services/invoiceService.svg`,bi=`${e}/services/payoutService.svg`,Ri=`${e}/services/refundsService.svg`,Ni=`${e}/services/usersService.svg`,wi=`${e}/services/walletService.svg`,Li=`${e}/services/intentsService.svg`,Pi=`${e}/services/insightsService.svg`,Oi=`${e}/services/retailersService.svg`,Bi=`${e}/services/terminalService.svg`,Ui=`${e}/services/createLead.svg`,Di=`${e}/services/viewLead.svg`,Mi=`${e}/archievedOutlined.svg`,ki=`${e}/closeOutlinedCircle.svg`,Wi=`${e}/dashedOutlinedCircle.svg`,Fi=`${e}/deactivatedCircle.svg`,Gi=`${e}/deactivatedOutlinedCircleV2.svg`,Hi=`${e}/exclamationOutlinedCircle.svg`,Yi=`${e}/questionOutlinedCircle.svg`,Vi=`${e}/outlinedCircle.svg`,zi=`${e}/greenCheck2ACE00.svg`,Ki=`${e}/blueCopyIcon.svg`,qi=`${e}/blackLinkIcon.svg`,Zi=`${e}/blackSettingsIcon.svg`,Qi=`${e}/blackWallet.svg`,Ji=`${e}/blueGradientBrushIcon.svg`,ji=`${e}/gadientLink.svg`,Xi=`${e}/blackDeviceIcon.svg`,ed=`${e}/gradientDeviceIcon.svg`,td=`${e}/gradientSettings.svg`,od=`${e}/gradientWallet.svg`,nd=`${e}/codeIcon.svg`,sd=`${e}/manyCurrencyCoin.svg`,cd=`${e}/manyCurrencyCoinGradient.svg`,pd=`${e}/blackMobileBatteryIcon.svg`,ad=`${e}/blackMobileSignalIcon.svg`,rd=`${e}/emptyMobileWifiIcon.svg`,xd=`${e}/deemaWithLabel.svg`,id=`${e}/chargeBackWhiteIcon.svg`,dd=`${e}/blackUnLinkIcon.svg`,ld=`${e}/sortDescArrowIcon.svg`,ud=`${e}/sortAscArrowIcon.svg`,Id=`${e}/closedOutlinedYellowCircle.svg`,gd=`${e}/deactivatedOrangeCircle.svg`,vd=`${e}/deactivatedCircleV2.svg`,hd=`${e}/exclamationOutlinedOrangeCircle.svg`,md=`${e}/activeGreenIcon.svg`,fd=`${e}/activeBlue.svg`,Ad=`${e}/inActiveGreyIcon.svg`,$d=`${ne}/terminal_link.mp4`,Ed=`${e}/bluePlusIcon.svg`,Td=`${e}/blackSettingsVariant2Icon.svg`,Sd=`${e}/exclamationWhite.svg`,Cd=`${t}/paymentTechnology.svg`,_d=`${t}/paymentGatewayProvider.svg`,yd=`${t}/paymentTechnologyV2.svg`,bd=`${t}/paymentTerminalProvider.svg`,Rd=`${t}/merchantServiceProvider.svg`,Nd=`${t}/paymentProcessor.svg`,wd=`${t}/paymentScheme.svg`,Ld=`${t}/paymentIssuer.svg`,Pd=`${t}/paymentAcquirer.svg`,Od=`${t}/paymentMethod.svg`,Bd=`${t}/paymentFacilitator.svg`,Ud=`${t}/commercialRegulator.svg`,Dd=`${t}/appPlatform.svg`,Md=`${t}/retailPlatform.svg`,kd=`${t}/commercePlatform.svg`,Wd=`${t}/billingPlatform.svg`,Fd=`${t}/authenticationGateway.svg`,Gd=`${t}/retailer.svg`,Hd=`${t}/blueCircleWithWhiteCheck.svg`,Yd=`${e}/externalLink.svg`,Vd=`${e}/settingsIcon.svg`,zd=`${e}/flipIcon.svg`,Kd=`${e}/shoppingCart.svg`,qd=`${e}/verifyAvatar.svg`,Zd=`${e}/helpCircle.svg`,Qd=`${e}/provider/CYBERSOURCE.svg`,Jd=`${e}/provider/MPGS.svg`,jd=`${e}/provider/NETCETERA.svg`,Xd=`${e}/provider/TAP3DS.svg`,el=`${e}/provider/BENEFIT_PAY.svg`,tl=`${e}/provider/BENEFIT.svg`,ol=`${e}/provider/CAREEM_PAY.svg`,nl=`${e}/provider/DEEMA.svg`,sl=`${e}/provider/FAWRY.svg`,cl=`${e}/provider/FSS.svg`,pl=`${e}/provider/KNET.svg`,al=`${e}/provider/MEEZA.svg`,rl=`${e}/provider/NGENIUS.svg`,xl=`${e}/provider/NPG.svg`,il=`${e}/provider/OMAN_NET.svg`,dl=`${e}/provider/PAYPAL.svg`,ll=`${e}/provider/POSTPAY.svg`,ul=`${e}/provider/QPAY.svg`,Il=`${e}/provider/SPG.svg`,gl=`${e}/provider/STC_PAY.svg`,vl=`${e}/provider/TABBY.svg`,hl=`${e}/provider/TAMARA.svg`,ml=`${e}/provider/TPAY.svg`,fl=`${e}/provider/TPG.svg`,Al=`${e}/downloadBlue.svg`,$l=`${e}/eyeBlue.svg`,El=`${e}/fastBlack.svg`,Tl=`${e}/repeat.svg`,Sl=`${e}/shield.svg`,Cl=`${e}/fileMinus.svg`,_l=`${e}/percent.svg`,yl=`${e}/cardUpload.svg`,bl=`${e}/startConnector.svg`,Rl=`${e}/endConnector.svg`,Nl=`${e}/filledConnector.svg`,wl=`${e}/dottedConnector.svg`,Ll=`${e}/play.svg`,Pl=`${e}/merchantAttributes.svg`,Ol=`${e}/issuerAttributes.svg`,Bl=`${e}/refresh.svg`,Ul=`${e}/riskAttributes.svg`,Dl=`${e}/exclude.svg`,Ml=`${e}/earlySettlements.svg`,kl=`${e}/financedBy.svg`,Wl=`${e}/financeFeatures.svg`,Fl=`${e}/loanAmount.svg`,Gl=`${e}/murabhaFinance.svg`,Hl=`${e}/testimonial.svg`,Yl=`${ce}/bulk-refund-template.xlsx`,Vl=`${e}/emptyCopyIcon.svg`;var Kl=3,pe=88,ae=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateWallet:{code:"UPDATE_WALLET"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"}},i={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"},viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{invoices:{code:"INVOICES",functions:{...n,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...n,...a}},retailer:{code:"RETAILER",functions:{...n,...a}},businesses:{code:"BUSINESS",functions:{...n,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...n,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"}}},intents:{code:"INTENTS",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...n,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...n}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{businesses:{code:"BUSINESS_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...n,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...n,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...n,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...i}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...i}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...i}},app:{code:"APP",functions:{...n,...a,...i}},billing:{code:"BILLING",functions:{...n,...a,...i}}}}},Ql={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},Jl=[{code:o.tokens.code,iconUrl:A,toolbarIconUrl:K},{code:o.billing.code,iconUrl:d,toolbarIconUrl:H},{code:o.acceptance.code,iconUrl:l,toolbarIconUrl:F},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:G},{code:o.payouts.code,iconUrl:g,toolbarIconUrl:V},{code:o.protect.code,iconUrl:$,toolbarIconUrl:z},{code:o.authentication.code,iconUrl:u,toolbarIconUrl:Q},{code:o.customers.code,iconUrl:E,toolbarIconUrl:Y},{code:o.businesses.code,iconUrl:T,toolbarIconUrl:Z},{code:o.reports.code,iconUrl:b,toolbarIconUrl:J},{code:o.upload.code,iconUrl:_,toolbarIconUrl:C},{code:o.account.code,iconUrl:S,toolbarIconUrl:q},{code:o.order.code,iconUrl:w,toolbarIconUrl:L},{code:o.leads.code,iconUrl:R,toolbarIconUrl:N},{code:o.terminals.code,iconUrl:j,toolbarIconUrl:X},{code:o.slaProcess.code,iconUrl:P,toolbarIconUrl:O},{code:o.orchestration.code,iconUrl:B,toolbarIconUrl:U},{code:o.lending.code,iconUrl:D,toolbarIconUrl:M},{code:o.platform.code,iconUrl:k,toolbarIconUrl:W}],jl=["login"];var ee=window.__GLOBAL_CONFIG__??{},re=ee.MW_BASE_URL??import.meta.env.VITE_BASE_URL,eu=`${re}/api`,tu=import.meta.env.VITE_ENV,ou=import.meta.env.VITE_TEST_FIXED_SK,nu=ee.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,su={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var pu=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var ru={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 iu=50,du={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var uu="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var gu={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 hu={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var fu={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var $u={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var Tu={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 Cu={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var yu={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 Ru={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 wu={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 Pu={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 Bu={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 Du={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var ku={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 Fu={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 Hu={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 Vu={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 Ku={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 Zu={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var Ju={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 xe={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"},Xu=xe.UTC,e0=[{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 o0={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"}},n0=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],s0={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var p0=52,a0=70,r0=57,x0=200,i0=5,d0=40,l0=20,u0=28;var g0={COUNT:"count",AMOUNT:"amount"},v0={count:"transaction",amount:"amount"};var r={DEVICE:`${e}/device.svg`,CARD:`${e}/payment-method/card.svg`,PASS_THRU_WALLET:`${e}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${e}/express_checkout.svg`,STORED_VALUE_WALLET:`${e}/storedValueWallet.svg`,CASH_WALLET:`${e}/cash.svg`,BUY_NOW_PAY_LATER:`${e}/buyNowPayLater.svg`},f0=[{name:"CARD",label:"Card",icon:r.CARD},{name:"EXPRESS",label:"Express Checkout",icon:r.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:r.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:r.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:r.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:r.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:r.CASH_WALLET}],ie="customer",de="merchant",A0=[{key:ie,value:"true",label:"Customer"},{key:de,value:"false",label:"Merchant"}],$0=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],E0=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},S0={PLATFORM:p.PLATFORM,RETAIL_PLATFORM:p.PLATFORM,BILLING_PLATFORM:p.PLATFORM,COMMERCE_PLATFORM:p.PLATFORM,APP_PLATFORM:p.PLATFORM,DEVELOPMENT_HOUSE:p.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:p.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:p.PAYMENT_ISSUER,PAYMENT_ACQUIRER:p.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:p.PAYMENT_INSTITUTION},C0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],_0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],y0=["PAYMENT_TECHNOLOGY"],b0=["PAYMENT_ISSUER"],R0=["DEVELOPMENT_HOUSE"];var w0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var P0={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"},D0={[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]},M0=[{code:o.billing.code,name:"Billing",icon:d,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:l,services:[{name:"Authorisations",code:o.acceptance.services.authorization.code},{name:"Charges",code:o.acceptance.services.charges.code},{name:"Refunds",code:o.acceptance.services.refunds.code},{name:"Chargebacks",code:o.acceptance.services.chargeback.code},{name:"Destinations",code:o.acceptance.services.destinations.code}]},{code:o.wallet.code,name:"Wallet",icon:I,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:g,services:[{name:"Payouts",code:o.payouts.services.payouts.code},{name:"Merchant Payouts",code:o.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:o.payouts.services.retailerPayout.code}]},{code:o.authentication.code,name:"Authentication",icon:u,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var W0={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var le=["AUTHENTICATED"],ue=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],G0=[...le,...ue],Ie=(m=>(m.Challenge="C",m.Frictionless="F",m))(Ie||{}),H0={C:"Challenge",F:"Frictionless"};var V0=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var K0=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"})]}),q0=jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74242C9.04243 3.94467 9.05652 4.28748 8.86537 4.50811L5.64586 8.22424C5.55146 8.3332 5.41909 8.39664 5.27942 8.39985C5.13975 8.40306 5.0049 8.34577 4.90612 8.24125L3.15002 6.38318C2.94999 6.17154 2.94999 5.82841 3.15002 5.61677C3.35004 5.40513 3.67435 5.40513 3.87437 5.61677L5.2522 7.07461L8.11024 3.77571C8.30138 3.55508 8.62538 3.54018 8.83391 3.74242Z",fill:"#D2D5D8"})]});var j0={csv:y,xls:h,xlsx:h,zip:f};
|
|
2
|
-
export{xt as $,ro as $a,xn as $b,es as $c,js as $d,Vc as $e,Dp as $f,Da as $g,_r as $h,_x as $i,Si as $j,Sd as $k,Sl as $l,Du as $m,Ue as A,Ut as Aa,Uo as Ab,I as Ac,ys as Ad,mc as Ae,ip as Af,ia as Ag,V as Ah,Xr as Ai,Xx as Aj,Ji as Ak,Jd as Al,i as Am,de as An,De as B,Dt as Ba,Do as Bb,g as Bc,bs as Bd,fc as Be,dp as Bf,da as Bg,z as Bh,ex as Bi,ei as Bj,ji as Bk,jd as Bl,o as Bm,A0 as Bn,Me as C,Mt as Ca,Mo as Cb,$ as Cc,Rs as Cd,Ac as Ce,lp as Cf,la as Cg,K as Ch,tx as Ci,ti as Cj,Xi as Ck,Xd as Cl,Ql as Cm,$0 as Cn,ke as D,kt as Da,ko as Db,E as Dc,Ns as Dd,$c as De,up as Df,ua as Dg,q as Dh,ox as Di,oi as Dj,ed as Dk,el as Dl,Jl as Dm,E0 as Dn,We as E,f as Ea,Wo as Eb,T as Ec,ws as Ed,Ec as Ee,Ip as Ef,Ia as Eg,Z as Eh,nx as Ei,ni as Ej,td as Ek,tl as El,jl as Em,p as En,Fe as F,Wt as Fa,Fo as Fb,S as Fc,Ls as Fd,Tc as Fe,gp as Ff,ga as Fg,Q as Fh,sx as Fi,j as Fj,od as Fk,ol as Fl,re as Fm,S0 as Fn,Ge as G,Ft as Ga,Go as Gb,Pn as Gc,Ps as Gd,Sc as Ge,vp as Gf,va as Gg,J as Gh,cx as Gi,X as Gj,nd as Gk,nl as Gl,eu as Gm,C0 as Gn,He as H,Gt as Ha,Ho as Hb,On as Hc,Os as Hd,Cc as He,hp as Hf,ha as Hg,pr as Hh,px as Hi,si as Hj,sd as Hk,sl as Hl,tu as Hm,_0 as Hn,Ye as I,Ht as Ia,Yo as Ib,Bn as Ic,Bs as Id,_c as Ie,mp as If,ma as Ig,ar as Ih,ax as Ii,ci as Ij,cd as Ik,cl as Il,ou as Im,y0 as In,Ve as J,Yt as Ja,Vo as Jb,Un as Jc,Us as Jd,yc as Je,fp as Jf,fa as Jg,rr as Jh,rx as Ji,pi as Jj,pd as Jk,pl as Jl,nu as Jm,b0 as Jn,ze as K,Vt as Ka,zo as Kb,Dn as Kc,Ds as Kd,bc as Ke,Ap as Kf,Aa as Kg,xr as Kh,xx as Ki,ai as Kj,ad as Kk,al as Kl,su as Km,R0 as Kn,Ke as L,zt as La,Ko as Lb,Mn as Lc,Ms as Ld,Rc as Le,$p as Lf,$a as Lg,ir as Lh,ix as Li,ri as Lj,rd as Lk,rl as Ll,pu as Lm,w0 as Ln,qe as M,Kt as Ma,qo as Mb,kn as Mc,ks as Md,Nc as Me,Ep as Mf,Ea as Mg,dr as Mh,dx as Mi,xi as Mj,xd as Mk,xl as Ml,ru as Mm,P0 as Mn,Ze as N,qt as Na,Zo as Nb,Wn as Nc,Ws as Nd,wc as Ne,Tp as Nf,Ta as Ng,lr as Nh,lx as Ni,ii as Nj,id as Nk,il as Nl,iu as Nm,s as Nn,Qe as O,Zt as Oa,Qo as Ob,Fn as Oc,Fs as Od,Lc as Oe,Sp as Of,Sa as Og,ur as Oh,ux as Oi,di as Oj,dd as Ok,dl as Ol,du as Om,D0 as On,Je as P,Qt as Pa,Jo as Pb,Gn as Pc,Gs as Pd,Pc as Pe,Cp as Pf,Ca as Pg,Ir as Ph,Ix as Pi,li as Pj,ld as Pk,ll as Pl,uu as Pm,M0 as Pn,je as Q,Jt as Qa,jo as Qb,Hn as Qc,Hs as Qd,Oc as Qe,_p as Qf,_a as Qg,gr as Qh,gx as Qi,ui as Qj,ud as Qk,ul as Ql,gu as Qm,W0 as Qn,Xe as R,jt as Ra,Xo as Rb,Yn as Rc,Ys as Rd,Bc as Re,yp as Rf,ya as Rg,vr as Rh,vx as Ri,Ii as Rj,Id as Rk,Il as Rl,hu as Rm,ue as Rn,et as S,Xt as Sa,en as Sb,Vn as Sc,Vs as Sd,Uc as Se,bp as Sf,ba as Sg,hr as Sh,hx as Si,gi as Sj,gd as Sk,gl as Sl,fu as Sm,G0 as Sn,tt as T,eo as Ta,tn as Tb,zn as Tc,zs as Td,Dc as Te,Rp as Tf,Ra as Tg,mr as Th,mx as Ti,vi as Tj,vd as Tk,vl as Tl,$u as Tm,Ie as Tn,ot as U,to as Ua,on as Ub,Kn as Uc,Ks as Ud,Mc as Ue,Np as Uf,Na as Ug,fr as Uh,fx as Ui,hi as Uj,hd as Uk,hl as Ul,Tu as Um,H0 as Un,nt as V,oo as Va,nn as Vb,qn as Vc,C as Vd,kc as Ve,wp as Vf,wa as Vg,Ar as Vh,Ax as Vi,mi as Vj,md as Vk,ml as Vl,Cu as Vm,V0 as Vn,st as W,no as Wa,sn as Wb,Zn as Wc,_ as Wd,Wc as We,Lp as Wf,La as Wg,$r as Wh,$x as Wi,fi as Wj,fd as Wk,fl as Wl,yu as Wm,K0 as Wn,ct as X,so as Xa,cn as Xb,Qn as Xc,qs as Xd,Fc as Xe,Pp as Xf,Pa as Xg,Er as Xh,Ex as Xi,Ai as Xj,Ad as Xk,Al as Xl,Ru as Xm,q0 as Xn,pt as Y,co as Ya,pn as Yb,Jn as Yc,Zs as Yd,Gc as Ye,Op as Yf,Oa as Yg,Tr as Yh,Tx as Yi,$i as Yj,$d as Yk,$l as Yl,wu as Ym,j0 as Yn,at as Z,po as Za,an as Zb,jn as Zc,Qs as Zd,Hc as Ze,Bp as Zf,Ba as Zg,Sr as Zh,Sx as Zi,Ei as Zj,Ed as Zk,El as Zl,Pu as Zm,rt as _,ao as _a,rn as _b,Xn as _c,Js as _d,Yc as _e,Up as _f,Ua as _g,Cr as _h,Cx as _i,Ti as _j,Td as _k,Tl as _l,Bu as _m,e as a,it as aa,xo as ab,dn as ac,ts as ad,Xs as ae,zc as af,Mp as ag,Ma as ah,yr as ai,yx as aj,Ci as ak,Cd as al,Cl as am,ku as an,t as b,dt as ba,io as bb,ln as bc,os as bd,ec as be,Kc as bf,kp as bg,ka as bh,br as bi,bx as bj,_i as bk,_d as bl,_l as bm,Fu as bn,ge as c,lt as ca,lo as cb,un as cc,ns as cd,h as ce,qc as cf,Wp as cg,Wa as ch,Rr as ci,Rx as cj,yi as ck,yd as cl,yl as cm,Hu as cn,ne as d,ut as da,uo as db,In as dc,ss as dd,y as de,Zc as df,Fp as dg,Fa as dh,Nr as di,Nx as dj,bi as dk,bd as dl,bl as dm,Vu as dn,se as e,It as ea,Io as eb,gn as ec,cs as ed,tc as ee,Qc as ef,Gp as eg,Ga as eh,wr as ei,wx as ej,Ri as ek,Rd as el,Rl as em,Ku as en,ce as f,gt as fa,go as fb,vn as fc,ps as fd,oc as fe,Jc as ff,Hp as fg,Ha as fh,Lr as fi,Lx as fj,Ni as fk,Nd as fl,Nl as fm,Zu as fn,ve as g,vt as ga,vo as gb,hn as gc,as as gd,nc as ge,jc as gf,Yp as gg,Ya as gh,Pr as gi,Px as gj,wi as gk,wd as gl,wl as gm,Ju as gn,he as h,ht as ha,ho as hb,mn as hc,rs as hd,sc as he,Xc as hf,Vp as hg,Va as hh,Or as hi,Ox as hj,Li as hk,Ld as hl,Ll as hm,xe as hn,me as i,mt as ia,mo as ib,fn as ic,xs as id,cc as ie,ep as if,zp as ig,za as ih,Br as ii,Bx as ij,Pi as ik,Pd as il,Pl as im,Xu as in,fe as j,ft as ja,fo as jb,An as jc,is as jd,b as je,tp as jf,Kp as jg,Ka as jh,Ur as ji,Ux as jj,Oi as jk,Od as jl,Ol as jm,e0 as jn,Ae as k,At as ka,Ao as kb,$n as kc,ds as kd,R as ke,op as kf,qp as kg,qa as kh,Dr as ki,Dx as kj,Bi as kk,Bd as kl,Bl as km,o0 as kn,$e as l,$t as la,$o as lb,A as lc,ls as ld,N as le,P as lf,Zp as lg,Za as lh,Mr as li,Mx as lj,Ui as lk,Ud as ll,Ul as lm,n0 as ln,Ee as m,Et as ma,Eo as mb,d as mc,us as md,w as me,O as mf,Qp as mg,Qa as mh,kr as mi,kx as mj,Di as mk,Dd as ml,Dl as mm,s0 as mn,Te as n,Tt as na,To as nb,En as nc,Is as nd,L as ne,B as nf,Jp as ng,Ja as nh,Wr as ni,Wx as nj,Mi as nk,Md as nl,Ml as nm,p0 as nn,Se as o,St as oa,So as ob,Tn as oc,gs as od,pc as oe,U as of,jp as og,ja as oh,Fr as oi,Fx as oj,ki as ok,kd as ol,kl as om,a0 as on,Ce as p,Ct as pa,Co as pb,l as pc,vs as pd,ac as pe,np as pf,Xp as pg,Xa as ph,Gr as pi,Gx as pj,Wi as pk,Wd as pl,Wl as pm,r0 as pn,_e as q,_t as qa,_o as qb,Sn as qc,hs as qd,rc as qe,D as qf,ea as qg,er as qh,Hr as qi,Hx as qj,Fi as qk,Fd as ql,Fl as qm,x0 as qn,ye as r,yt as ra,yo as rb,Cn as rc,ms as rd,xc as re,M as rf,ta as rg,tr as rh,Yr as ri,Yx as rj,Gi as rk,Gd as rl,Gl as rm,i0 as rn,be as s,bt as sa,bo as sb,_n as sc,fs as sd,ic as se,sp as sf,oa as sg,or as sh,Vr as si,Vx as sj,Hi as sk,Hd as sl,Hl as sm,d0 as sn,Re as t,Rt as ta,Ro as tb,yn as tc,As as td,dc as te,cp as tf,na as tg,nr as th,zr as ti,zx as tj,Yi as tk,Yd as tl,Yl as tm,l0 as tn,Ne as u,Nt as ua,No as ub,bn as uc,$s as ud,lc as ue,pp as uf,sa as ug,sr as uh,Kr as ui,Kx as uj,Vi as uk,Vd as ul,Vl as um,u0 as un,we as v,wt as va,wo as vb,Rn as vc,Es as vd,uc as ve,ap as vf,ca as vg,cr as vh,qr as vi,qx as vj,zi as vk,zd as vl,Kl as vm,g0 as vn,Le as w,Lt as wa,Lo as wb,Nn as wc,Ts as wd,Ic as we,k as wf,pa as wg,F as wh,Zr as wi,Zx as wj,Ki as wk,Kd as wl,pe as wm,v0 as wn,Pe as x,Pt as xa,Po as xb,wn as xc,Ss as xd,gc as xe,W as xf,aa as xg,G as xh,Qr as xi,Qx as xj,qi as xk,qd as xl,ae as xm,r as xn,Oe as y,Ot as ya,Oo as yb,Ln as yc,Cs as yd,vc as ye,rp as yf,ra as yg,H as yh,Jr as yi,Jx as yj,Zi as yk,Zd as yl,n as ym,f0 as yn,Be as z,Bt as za,Bo as zb,u as zc,_s as zd,hc as ze,xp as zf,xa as zg,Y as zh,jr as zi,jx as zj,Qi as zk,Qd as zl,a as zm,ie as zn};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c as c$2}from'./chunk-K5PC6OGJ.js';import {c,d}from'./chunk-7I5JB2Q6.js';import {a,c as c$1,d as d$1}from'./chunk-NO7TS2WN.js';import {b,a as a$1}from'./chunk-2W6TCXVT.js';import {Jc,Ga}from'./chunk-WQW3FS52.js';import {ra,Wj,Xj,nh,Aj,A,ed,Id,Hd,qa,oa,pa}from'./chunk-HOA25PMX.js';import ho,{memo,createContext,useState,useRef,useId,useMemo,useEffect,useCallback,useContext}from'react';import {styled,Popover,Input,Typography,Box,Dialog}from'@mui/material';import R from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import jo from'react-draggable';import yo from'@mui/material/Box';import {useTranslation}from'react-i18next';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var I=37,Re="32px",J=545;styled(Popover)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"12px"}}));var go=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% - ${go+I}px`,overflow:"auto"},gt={...Ie,background:"transparent","--w-rjv-line-color":"transparent"},ht=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})),Je=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 ke=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"})),Be=styled(Box,{shouldForwardProp:e=>!["isMaximized","isScrollingRequest","isRequestShown"].includes(e)})(({isScrollingRequest:e,isMaximized:t,isRequestShown:i,theme:o})=>({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:o.shadows[23]},...t&&{paddingTop:Re,transition:"padding 0.3s ease-in-out",...i&&{width:"50%"}}})),Te=styled(Box,{shouldForwardProp:e=>!["isMaximized","isRequestShown"].includes(e)})(({isMaximized:e,isRequestShown:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px",height:I,position:"fixed",bottom:0,right:0,left:e?"50vw":0,...!t&&{left:0}})),Pe=styled(Box)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"8px",paddingInlineEnd:"0px"})),Ee=styled(Box)(()=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"0px",paddingInlineEnd:"12px"})),xt=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:t})=>({width:"100%",height:"100%",overflowY:"auto",overflowX:"hidden",background:"#fff",zIndex:20,position:"relative",display:"flex",flexDirection:"column",borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...t&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"100vh"}}));styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:t})=>({backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:e?"100vh":"100%",overflowY:"auto",overflowX:"hidden",position:"absolute",width:e?"100vw":t,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"}));styled(Box,{shouldForwardProp:e=>!["isMaximized","currentHeight"].includes(e)})(({isMaximized:e,currentHeight:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:e?`calc(100vh - ${I}px)`:(t||J)-I+5,background:"transparent",position:"fixed",width:"100%"}));var yt=styled(Box)(()=>({position:"fixed",width:"100%",background:"transparent",height:"100%"})),wt=styled("span")(()=>({color:"#032F62"})),bt=styled("span")(()=>({color:"#357fb9"}));function bo({onClick:e,icon:t,label:i,disableAnimation:o,...n}){let[s,l]=ho.useState(false),{t:d}=useTranslation();return jsxs(ht,{...n,onClick:u=>{e?.(u),!o&&(l(true),setTimeout(()=>{l(false);},2e3));},children:[jsxs(yo,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:s&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!s&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:t,alt:"icon"},"id-icon")})]}),i&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:s&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:d("copied")})}),jsx(AnimatePresence,{children:!s&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:i})})]})]})}var St=memo(bo);var H=St;var vt=styled$1("div")(()=>({display:"flex",alignItems:"center",position:"relative",flexShrink:0,width:"24px",height:"24px"})),Ct=styled$1("button")(({theme:e,isActive:t})=>({width:"24px",height:"24px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,backgroundColor:e.palette.background.paper,cursor:"pointer",outline:"none",padding:0,position:"relative",zIndex:11,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`}})),Rt=styled$1(motion.div)(()=>({position:"absolute",right:0,top:0,height:"24px",display:"flex",alignItems:"center",zIndex:20,background:"transparent"})),It=styled$1(motion.input)(({theme:e})=>({width:"177px",height:"24px",borderRadius:"4px",color:e.palette.text.primary,fontSize:"10px",outline:0,background:e.palette.background.paper,boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`,paddingLeft:"8px",boxSizing:"border-box","::placeholder":{color:"#D5D5D5"}})),Oe={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:2,userSelect:"none"},Jt={...Oe,background:"none",border:"none",padding:0,margin:0,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none","&:disabled":{opacity:.3,cursor:"default"}},kt=styled$1("button")(()=>({...Jt,right:53})),Bt=styled$1("button")(()=>({...Jt,right:39})),Tt=styled$1(motion.img)(()=>({...Oe,right:24,width:10,height:10,cursor:"pointer"})),Pt=styled$1(motion.img)(()=>({...Oe,right:8,width:11,height:11,cursor:"default"})),Ve=styled$1("img")(()=>({width:10,height:10})),Et=styled$1("img")(()=>({width:12,height:12})),Ht=styled$1("span")(({theme:e})=>({position:"absolute",right:67,top:"50%",transform:"translateY(-50%)",fontSize:"9px",lineHeight:1,color:e.palette.text.secondary,whiteSpace:"nowrap",userSelect:"none",zIndex:2,pointerEvents:"none"}));function Jo({value:e,onChange:t,currentIndex:i,totalCount:o,onPrev:n,onNext:s,onOpen:l,placeholder:d="Search..."}){let[p,u]=useState(false),w=useRef(null),S=e.trim().length>0,k=o>0,a=S,N=()=>{l?.(),u(true),requestAnimationFrame(()=>w.current?.focus());},f=()=>{t(""),u(false);};return jsxs(vt,{children:[jsx(AnimatePresence,{children:p&&jsxs(Rt,{initial:{clipPath:"inset(0 0 0 100%)",opacity:0},animate:{clipPath:"inset(0 0 0 0%)",opacity:1},exit:{clipPath:"inset(0 0 0 100%)",opacity:0},transition:{duration:.22,ease:[.4,0,.2,1]},children:[jsx(It,{ref:w,initial:false,animate:{paddingRight:a?"98px":"24px"},transition:{duration:.15},placeholder:d,value:e,onChange:v=>t(v.target.value),onKeyDown:v=>{v.key==="Enter"&&(v.shiftKey?n():s()),v.key==="Escape"&&f();},onBlur:()=>{S||u(false);}}),a&&jsx(kt,{onClick:n,disabled:!k,title:"Previous match (Shift+Enter)",children:jsx(Ve,{src:Wj,alt:"prev"})}),a&&jsx(Bt,{onClick:s,disabled:!k,title:"Next match (Enter)",children:jsx(Ve,{src:Xj,alt:"next"})}),a&&jsx(Tt,{src:nh,alt:"clear",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:f}),jsx(Pt,{src:Aj,alt:"search",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),a&&jsx(Ht,{children:k?`${i+1}/${o}`:"0/0"})]},"input-area")}),jsx(AnimatePresence,{children:!p&&jsx(motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:jsx(Ct,{isActive:false,onClick:N,title:"Search",children:jsx(Et,{src:A,alt:"search"})})})})]})}var K=memo(Jo);function Mt(e,t){let i=[],o=t.length,n=0,s=e.indexOf(t,n);for(;s!==-1;){let l=s+o;i.push([s,l]),n=l,s=e.indexOf(t,n);}return i}var ko={padding:0,outline:"none"};function Wt({text:e,queryLength:t,ranges:i,idPrefix:o}){let n=[],s=0;return i.forEach(([l,d],p)=>{l>s&&n.push(e.slice(s,l)),n.push(jsx("mark",{style:ko,children:e.slice(l,l+t)},`${o}-${p}`)),s=d;}),s<e.length&&n.push(e.slice(s)),jsx(Fragment,{children:n})}function W({text:e,query:t}){let i=useId(),o=useMemo(()=>t.trim().toLowerCase(),[t]),n=useMemo(()=>{if(!o)return e;let s=e.toLowerCase(),l=Mt(s,o);return l.length===0?e:jsx(Wt,{text:e,queryLength:t.length,ranges:l,idPrefix:i})},[e,t.length,o,i]);return jsx(Fragment,{children:n})}function re(e,t){return e.toLowerCase().includes(t)}function ie(e){return e.trim().toLowerCase()}function se(e){let t=ie(e);return (i,{keyName:o})=>{if(!t||!o)return;let n=String(o);if(re(n,t))return jsx(bt,{children:jsx(W,{text:String(o),query:e})})}}function ae(e){let t=ie(e);return (i,{value:o})=>{if(!t)return;let n=String(o??"");if(re(n,t))return jsxs(wt,{children:['"',jsx(W,{text:String(o??""),query:e}),'"']})}}function Vo({title:e,onClose:t,onMaximize:i,maximized:o=false,id:n,onMouseHover:s,onMouseLeave:l,onRequestClick:d$2,isRequestExpanded:p=false,showRequestIcon:u=false,isHovered:w=false}){return jsx(c,{id:n,maximized:o||false,children:jsx(d,{isHovered:true,onMouseEnter:s,onMouseLeave:l,isMaximized:o,title:e,icon:ed,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:o,onClick:i}),u&&jsx(d$1,{onClick:d$2,isExpanded:p,isHovered:w,children:"Request"})]})})})}var jt=memo(Vo);var Me=jt;var Ft="#FFE20B";function le(e,t){let[i,o]=useState(0),[n,s]=useState(0);useEffect(()=>{if(!t.trim()){s(0),o(0);return}let p=setTimeout(()=>{let u=e.current?.querySelectorAll("mark")??[];s(u.length),o(0);},50);return ()=>clearTimeout(p)},[t,e]),useEffect(()=>{if(!e.current||!t.trim())return;let p=Array.from(e.current.querySelectorAll("mark"));p.forEach((u,w)=>{let S=w===i;u.style.backgroundColor=S?Ft:"transparent",u.style.outline=S?`1px solid ${Ft}`:"none",u.style.borderRadius="2px";}),p[i]?.scrollIntoView({behavior:"smooth",block:"nearest"});},[i,n,t,e]);let l=useCallback(()=>{n!==0&&o(p=>(p+1)%n);},[n]),d=useCallback(()=>{n!==0&&o(p=>(p-1+n)%n);},[n]);return {currentIndex:i,totalCount:n,goNext:l,goPrev:d}}function Kt(e,t){return e==null?String(e).includes(t):typeof e=="string"?e.toLowerCase().includes(t):typeof e=="number"||typeof e=="boolean"?String(e).includes(t):false}function $t(e,t){if(Array.isArray(e)){let i=e.map(o=>$t(o,t)).filter(o=>o!=null);return i.length>0?i:null}return typeof e=="object"&&e!==null?Gt(e,t):Kt(e,t)?e:null}function Gt(e,t){let i={};for(let[o,n]of Object.entries(e))if(o.toLowerCase().includes(t))i[o]=n;else if(typeof n=="object"&&n!==null){let s=$t(n,t);s!==null&&(i[o]=s);}else Kt(n,t)&&(i[o]=n);return Object.keys(i).length>0?i:null}function ze(e,t){return t.trim()?Gt(e,t.toLowerCase()):e}var G=400,L=.5;function Y({index:e,json:t,requestJson:i={},isWindowMinimized:o,windowOrder:n,onClose:s,onJsonRequestOpen:l,onJsonSearch:d,onJsonCopy:p,onJsonIdCopy:u,onJsonNodesMinimize:w,onJsonNodesMaximize:S}){let k=Jc(useId(),"json-viewer"),[a,N]=useState(false),[f,O]=useState(false),[V,M]=useState(false),[v,qe]=useState(false),[je,eo]=useState({width:0,height:0}),[ue,z]=useState(true),[g,to]=useState(false),[fe,oo]=useState(true),[no,De]=useState(false),[Q,Le]=useState(G),[B,ro]=useState(""),[T,io]=useState(""),_e=useRef(null),Fe=useRef(null),U=le(_e,B),Z=le(Fe,T),me=useRef(),{onMouseEnter:so,onMouseLeave:ao,isHovered:lo}=b(),{height:ge,width:_}=a$1(),[Ke,po]=useState({x:_/2+G/4-e*20,y:ge/2-J/2+e*30}),ee=useRef(),co=useMemo(()=>Object.keys(t)?.length,[t]),$e=Ga(),P=Number(ee.current?.state?.width)||G,Ge=c=>{setTimeout(()=>{navigator.clipboard.writeText(c||"").then(()=>{});},10);},Ye=useMemo(()=>Object.keys(i)?.length,[i]),Xe=useMemo(()=>ze(t,B),[t,B]),Qe=useMemo(()=>ze(i,T),[i,T]);return useEffect(()=>{if(me.current&&clearTimeout(me.current),!g){me.current=setTimeout(()=>{Le(P);},L*1e3);return}Le(P);},[g,P]),jsx(jo,{disabled:a,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:_/2-G/4,y:ge/2-J/2},position:{x:_-Ke.x,y:Ke.y},onStop:(c,m)=>{po({x:_-m.x,y:m.y});},bounds:{top:10},children:jsx(Dialog,{id:k,"data-testid":"JSONViewer",disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(n||0)+3+(a?1:0),...o&&{display:"none"},transform:"translate(180px, 14px)",...!a&&{width:$e?je?.width||Q:"fit-content",height:$e?je?.height||J:"fit-content"},...a&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:f?"fit-content":Q,height:f?"fit-content":J,...a&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{N(false),z(true),setTimeout(()=>{z(false);},L*1e3);},open:true,hideBackdrop:true,fullScreen:a,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:ge-40,maxWidth:_,minWidth:a?"100vw":Q,minHeight:a?"100vh":"300px",ref:c=>{ee.current=c;},onResizeStart:()=>{z(true);},onResizeStop:()=>{z(false);},onResize:(c,m,A)=>{O(true),eo({width:A.offsetWidth,height:A.offsetHeight});},defaultSize:{width:Q,height:J},style:{background:"transparent",...a&&{height:"100% !important",width:"100% !important",flex:1},...a&&{position:"relative"}},children:jsxs(yt,{children:[jsx(motion.div,{style:{...a&&{height:Re,position:"fixed",zIndex:1e3}},animate:{width:g?P*2:P,...a&&{width:"100vw"},...!a&&{transform:`translateX(${g?-P:0}px)`}},transition:{duration:L,...ue&&{duration:0}},children:jsx(Me,{title:g?"JSON Request & Response":"JSON Response",onClose:()=>s(),onMaximize:()=>{N(c=>!c),z(true),setTimeout(()=>{z(false);},L*1e3);},isHovered:lo,onMouseHover:so,onMouseLeave:ao,maximized:a,id:"draggable-dialog-title",onRequestClick:()=>{to(c=>!c),z(false),g||(l?.(),ee.current?.updateSize({width:G,height:J}));},isRequestExpanded:g,showRequestIcon:!!Ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:a?`calc(100vh - ${I}px)`:(Number(ee.current?.state?.height)||J)-I+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:g&&jsxs(motion.div,{initial:{left:a?"50vw":0,...a&&{position:"relative",left:"-50vw"}},animate:{left:a?"50vw":-P,...a&&{position:"relative",left:"0"},...!g&&{left:0}},exit:{left:a?"50vw":0,...a&&{position:"relative",left:"0"}},transition:{duration:L,...ue&&{duration:0}},ref:Fe,style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:a?"100vh":"100%",overflowY:"auto",position:"absolute",width:a?"100vw":P,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{De(true),setTimeout(()=>{De(false);},2e3);},children:[jsxs(Be,{isMaximized:a,isScrollingRequest:no,sx:{background:"#E7E7E7B2"},isRequestShown:g,children:[jsx(Ee,{children:jsx(ke,{variant:"subtitle1",children:"API Request"})}),jsxs(Pe,{children:[jsx(K,{value:T,onChange:io,onOpen:()=>d?.(),currentIndex:Z.currentIndex,totalCount:Z.totalCount,onPrev:Z.goPrev,onNext:Z.goNext}),jsx(H,{disableAnimation:true,onClick:()=>{fe?S?.():w?.(),oo(c=>!c);},icon:fe?Id:Hd}),jsx(H,{onClick:()=>{p?.(),navigator.clipboard.writeText(JSON.stringify(t)).then(()=>{});},icon:qa}),jsx(H,{onClick:()=>{u?.(),navigator.clipboard.writeText(t?.id||"").then(()=>{});},icon:oa})]})]}),T.trim()&&Qe===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(R,{value:Qe??i,style:gt,displayDataTypes:false,collapsed:T.trim()?void 0:fe?1:void 0,onCopied:(c,m)=>{typeof m=="string"&&Ge(m);},enableClipboard:false,children:[jsx(R.String,{render:ae(T)}),jsx(R.KeyName,{render:se(T)}),jsx(R.CountInfo,{render:(c,{keyName:m})=>{if(!m)return jsx("span",{})}}),jsx(R.Copied,{render:({"data-copied":c,style:m,onClick:A},{keyName:he})=>he?jsxs(Je,{style:m,onClick:xe=>{A?.(xe);},children:[jsx(AnimatePresence,{children:c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:g&&jsx(Te,{sx:{flex:1,height:I,left:0},children:jsx(c$2,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:Ye})})})]})}),jsxs(xt,{ref:_e,isMaximized:a,isRequestShown:g,style:{left:0,maxHeight:"100vw"},initial:{...a&&{width:"100vw",left:0}},animate:{...a&&{position:"absolute",left:g?"50vw":"0"}},transition:{duration:L,...ue&&{duration:0}},onScroll:()=>{qe(true),setTimeout(()=>{qe(false);},2e3);},children:[jsxs(Be,{isMaximized:a,isScrollingRequest:v,isRequestShown:g,children:[jsx(Ee,{children:jsx(ke,{variant:"subtitle1",children:"API Response"})}),jsxs(Pe,{children:[jsx(K,{value:B,onChange:ro,onOpen:()=>d?.(),currentIndex:U.currentIndex,totalCount:U.totalCount,onPrev:U.goPrev,onNext:U.goNext}),jsx(H,{disableAnimation:true,onClick:()=>{V?S?.():w?.(),M(c=>!c);},icon:V?Id:Hd}),jsx(H,{onClick:()=>{p?.(),navigator.clipboard.writeText(JSON.stringify(t,null,2)).then(()=>{});},icon:qa}),jsx(H,{onClick:()=>{u?.(),navigator.clipboard.writeText(t?.id||"").then(()=>{});},icon:oa})]})]}),B.trim()&&Xe===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(R,{value:Xe??t,style:Ie,displayDataTypes:false,collapsed:B.trim()?void 0:V?1:void 0,onCopied:(c,m)=>{typeof m=="string"&&Ge(m);},children:[jsx(R.String,{render:ae(B)}),jsx(R.KeyName,{render:se(B)}),jsx(R.CountInfo,{render:(c,{keyName:m})=>{if(!m)return jsx("span",{})}}),jsx(R.Copied,{render:({"data-copied":c,style:m,onClick:A},{keyName:he})=>he?jsxs(Je,{style:m,onClick:xe=>{A?.(xe);},children:[jsx(AnimatePresence,{children:c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(Te,{sx:{flex:1,height:I},children:jsx(c$2,{sx:{borderBottomLeftRadius:g?0:"12px",background:"#f8f9fb",flex:1},totalCount:co})})]})]})]})})})})}var ce=createContext({jsonViewerList:[],handleJsonViewerDialogOpen:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{},registerJsonViewerEvents:()=>{}});var Qt=({list:e,events:t,onClose:i,isWindowMinimized:o,windowOrder:n})=>e?.length?jsx(Fragment,{children:e.map((s,l)=>jsx(Y,{index:l,...t,...s,onClose:()=>{i(l);},isWindowMinimized:o,windowOrder:n},s.json.id))}):null;var Fo=({children:e})=>{let[t,i]=useState([]),[o,n]=useState(false),[s,l]=useState(1),d=useRef({}),p=useCallback(f=>{if(t.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(t.some(v=>v.json.id===f.json.id))return;let O=structuredClone(f.json),V=O.request_body,M={...f,json:O,requestJson:f.requestJson||V||void 0};delete M.json.request_body,i(v=>[...v,M]);},[t]),u=useCallback(f=>{i(O=>O.filter((V,M)=>f!==M));},[]),w=useCallback(f=>{n(f);},[]),S=useCallback(f=>{l(f);},[]),k=useCallback(f=>{d.current=f;},[]),a=useMemo(()=>({onJsonRequestOpen:()=>d.current.onJsonRequestOpen?.(),onJsonSearch:()=>d.current.onJsonSearch?.(),onJsonCopy:()=>d.current.onJsonCopy?.(),onJsonIdCopy:()=>d.current.onJsonIdCopy?.(),onJsonNodesMinimize:()=>d.current.onJsonNodesMinimize?.(),onJsonNodesMaximize:()=>d.current.onJsonNodesMaximize?.()}),[]),N=useMemo(()=>({jsonViewerList:t,handleJsonViewerDialogOpen:p,handleWindowMinimize:w,handleWindowOrder:S,registerJsonViewerEvents:k}),[t,p,w,S,k]);return jsxs(ce.Provider,{value:N,children:[e,jsx(Qt,{list:t,events:a,onClose:u,isWindowMinimized:o,windowOrder:s})]})};var Yo=({isWindowMinimized:e,windowOrder:t,...i})=>{let{handleJsonViewerDialogOpen:o,handleWindowMinimize:n,handleWindowOrder:s,registerJsonViewerEvents:l}=useContext(ce),d=useCallback(()=>{n(e);},[n,e]),p=useCallback(()=>{s(t);},[s,t]);return useEffect(()=>{p();},[p]),useEffect(()=>{d();},[d]),useEffect(()=>{l(i);},[l,i]),{handleJsonViewerDialogOpen:o}};var ti=Y;export{H as a,K as b,W as c,Me as d,le as e,ce as f,Qt as g,Fo as h,Yo as i,ti as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {Jc}from'./chunk-WQW3FS52.js';import {Gi,j,m as m$1}from'./chunk-HOA25PMX.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {jsx}from'react/jsx-runtime';function g({countryCode:o,currencyCode:t,...n}){let l=Jc(useId(),"country-flag");return jsx(d,{...n,id:l,"data-testid":"CountryFlag",component:"img",src:o&&j(o)||t&&m$1(t)||Gi,width:n.width||16,alt:o??t??"flag",loading:"lazy",onError:u=>{u.currentTarget.src=Gi;}})}g.displayName="CountryFlag";var m=memo(g);var h=m;export{h as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {Jc}from'./chunk-WQW3FS52.js';import {Xn,Wn}from'./chunk-HOA25PMX.js';import {memo,useId}from'react';import {Checkbox}from'@mui/material';import {jsx}from'react/jsx-runtime';function p(o){let m=Jc(useId(),"checkbox");return jsx(Checkbox,{id:m,"data-testid":"Checkbox",disableRipple:true,sx:r=>({'[data-testid="IndeterminateCheckBoxIcon"]':{fill:r.palette.info.dark,width:"16px !important",height:"16px !important"}}),checkedIcon:o.disabled?Xn:Wn,...o})}p.displayName="CheckboxInput";var d=memo(p);var u=d;export{u as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {e as e$1,a as a$5,b as b$2,d,c as c$2}from'./chunk-OU7SKBN2.js';import {a as a$3,b as b$1,c as c$1}from'./chunk-K5PC6OGJ.js';import {a as a$2}from'./chunk-42MVBKRY.js';import {a as a$8}from'./chunk-FUZDEBNI.js';import {a as a$7}from'./chunk-264C3QJK.js';import {a as a$9}from'./chunk-GNY2VGGW.js';import {a as a$6}from'./chunk-7TTGX7LK.js';import {a as a$4}from'./chunk-TX2OWCL6.js';import {c,s}from'./chunk-2W6TCXVT.js';import {a as a$1,i,e,$a,bc,yb,sc,tc,uc,_b,ac,$b,Cc,ab,hb,wa as wa$1,p,va as va$1}from'./chunk-WQW3FS52.js';import {eh,kh,Vi,mh,Pa as Pa$1,Ba,Ca,Da,Jg,Pm,Tg,Sg,nh,A as A$1,F}from'./chunk-HOA25PMX.js';import {a,b}from'./chunk-YRT7GXGY.js';import ze,{memo,createContext,useContext,useRef,useCallback,useEffect,useMemo,useState,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import jl from'memoize-one';import Gl from'react-virtualized-auto-sizer';import Kl from'react-window-infinite-loader';import Ce from'@mui/material/Box';import ia from'@mui/material/Popper';import Qi from'@mui/material/Collapse';import {useTranslation}from'react-i18next';import Gi from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import La from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Fa from'@mui/material/TableHead';import Ja from'@mui/material/Skeleton';import Qa from'@mui/material/TableCell';import {createPortal}from'react-dom';var Nr=a((Yd,Or)=>{var $i=a$1();function Ui(e,t){return $i(t,function(o){return e[o]})}Or.exports=Ui;});var Ur=a((Jd,$r)=>{var Xi=Nr(),qi=i();function ji(e){return e==null?[]:Xi(e,qi(e))}$r.exports=ji;});var Pt=a((fu,wn)=>{var ja=e(),Ga=0;function Ka(e){var t=++Ga;return ja(e)+t}wn.exports=Ka;});var en=b(Ur(),1);var Xr=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:"188px",marginTop:"10px",boxShadow:e.shadows[3]}),qr=styled(Ce)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),jr=styled(a$2)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),Gr=styled(Ce)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),Kr=styled(Gi)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),Yr=styled(Ce)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function ta({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s$1}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((T,{apiKey:g})=>({...T,[g]:r?.[g]??""}),{}));},[]);let{t:d$1}=useTranslation(),u=()=>{o?.(i);},c=s(u,e),y=T=>{u(),e(T);},m=T=>{e(T);},b=()=>{a?.(),p(t.reduce((T,{apiKey:g})=>({...T,[g]:""}),{}));},f=T=>i[T]!==void 0&&i[T].length>0,x=T=>i[T]!==void 0&&i[T].length?i[T]:"",h=T=>{f(T)&&p({...i,[T]:""});},S=useMemo(()=>(0, en.default)(i).some(T=>!!T),[i]),w=useCallback(T=>t.find(g=>g.apiKey===T),[t]),E=useCallback((T,g)=>{let R=i?.[T]!==void 0&&i?.[T]!==""&&i?.[T]!==null,k=Object.entries(i).some(([C,v])=>!!v&&(w(C)?.filterGroup!==g||!g));return n&&!R&&k},[t,i,n]);return jsxs(Ce,{component:"article","data-testid":"ColumnFilterInputs",sx:T=>({...Xr(T),...Object.assign({},...[s$1].flat().filter(g=>g&&typeof g=="object"))}),onKeyDown:c,children:[jsx(qr,{component:"header","data-testid":"ColumnFilterInputs_title",children:d$1("filterBy")}),jsx(Gr,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:T,apiKey:g,isDisabled:R,filterGroup:k,render:C})=>jsx(Fragment$1,{children:C?C():jsx(jr,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:g,placeholder:T,onChange:v=>{p({...i,[g]:v.target.value});},disabled:R||E(g,k),value:x(g),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(Ce,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":f(g)?"close":"search",src:f(g)?nh:A$1,alt:"search",className:"icon",sx:{cursor:f(g)?"pointer":"default"},onClick:()=>{h(g);}})})},g))}),jsx(Qi,{in:S,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(Yr,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(Kr,{type:"button",onClick:b,"data-testid":"ColumnFilterInputs_ClearButton",children:d$1("clear")})})}),jsxs(b$2,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(d,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d$1("cancel")}),jsx(c$2,{type:"button",onClick:y,"data-testid":"ColumnFilterInputs_OkayButton",children:d$1("okay")})]})]})}var tn=ta;var gt=tn;function aa(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(e$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(gt,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(a$5,{children:[jsx(Ce,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:mh,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Ce,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Pa$1,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Ce,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Ba,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$6,{onClick:l}),jsx(ia,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},children:d})})]})}var nn=memo(aa);var Ge=nn;var to=styled("img")(()=>({width:"13.3px",height:"13.3px"})),ln=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function pa({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,c)=>{d&&(e?.({[d]:u}),i(c));};return jsxs(Fragment,{children:[jsx(ln,{onClick:s,src:Ba,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$6,{onClick:i}),jsxs(a$7,{anchorEl:n,open:l,children:[jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Ca,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Da,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var sn=memo(pa);var Ct=sn;var pn=ze.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Ce,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));pn.displayName="VirtualScrollInner";var oo=pn;var St=createContext(null);var ro=({children:e,value:t})=>jsx(St.Provider,{value:t,children:e});var mn=ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(St);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});mn.displayName="VirtualScrollOuter";var no=mn;function wa({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var un=wa;var Pa=ze.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=un({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),c=useRef(0),y=useRef(void 0),m=useRef(false),b=useRef(null),f=i||n||b,x=useCallback(()=>(u(),y.current!==void 0&&f.current?(m.current=false,c.current=y.current,y.current=void 0,p(),f.current?.scrollTo?.(c.current),true):(d(),false)),[d,u,p,f]),h=ze.useCallback(E=>{y.current=E.currentTarget.scrollTop,m.current||(m.current=true,x());},[x]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&f.current?.scrollTo&&f.current?.scrollToItem(r,"center");},[r,f]);let S=ze.useMemo(()=>({...e,renderedScrollTopRef:c}),[e]),w=ze.useCallback(E=>{a?.(E),m.current=x();},[x,a]);return jsx(ro,{value:h,children:jsx(VariableSizeList,{ref:f,"data-testid":"VirtualScrollList",itemData:S,outerElementType:no,innerElementType:oo,...s,onScroll:w,children:t})})}),io=Pa;var A=styled(Ce,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),ce=styled(Ce,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:a$3})),De=styled(Ce)(({theme:e})=>({backgroundColor:e.palette.background.default})),Se=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",cursor:"pointer",...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),wt=styled("button")(({theme:e})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),He=styled(io,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),Rt=styled(La,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:e?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...o&&{backgroundColor:`${e.palette.info.dark}08 !important`},...t&&{boxShadow:e.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),ao=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),It=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),fn=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),bn=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),Et=styled(a$4,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var va=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},Ke=va;function hn({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:c,totalCount:y,isFilterEnabled:m}){let[b,f]=useState(null),x=useRef(null),{isFilterApplied:h,filterDisabled:S}=Ke({filter:a,totalCount:y,isFilterEnabled:m});return jsx(Se,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":!!a,isFirst:i,isLast:p,ref:x,sx:E=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:E.spacing(.5),alignItems:"center",justifyContent:uc[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...S&&{cursor:"not-allowed"},...r}),isSheetView:d,children:jsxs(wt,{disabled:S,onClick:()=>{f(x.current);},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Ge,{...a,anchorEl:b,setAnchorEl:f,isFilterApplied:h,disabled:S}),n&&jsx(Ct,{onColumnSort:u,columnsSorting:c,columnId:t})]})})}var so=hn;var xn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Cn=styled(La,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Aa({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,c=i&&p>0&&i.ids.length===p,y=useCallback(()=>{i&&i.setIds(c?[]:d?.()??[]);},[i,c,d]);return jsx(xn,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(Cn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(Et,{size:"small",checked:c,indeterminate:u&&!c,onChange:y,onClick:m=>m.stopPropagation()}),e.map((m,b)=>jsx(so,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${b}`))]})})}var Sn=memo(Aa);var mo=Sn;var Xa=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),uo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function qa({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Xa,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(uo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var co=qa;var In=b(Pt(),1);var ol=styled(Ja)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function rl({columns:e,style:t,index:o,animationType:r}){return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Qa,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(ol,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var bo=memo(rl,areEqual);var al=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ll({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||$a(t,r);return a=a>0?a:5,jsx(al,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(bo,{columns:e,animationType:o},`i-${(0, In.default)("TableLoadingRow_")}`))})}var ho=memo(ll);var Vn=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Ln=styled(Ce,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),kn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),vn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),Wn=styled("img")(()=>({width:"2rem",height:"2rem"})),Mn=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),Dn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function pl({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(Vn,{sandboxMode:n,...s,children:jsxs(Ln,{shouldMinimizeWidth:r,children:[!a&&jsx(Wn,{src:F,alt:"info icon"}),jsx(kn,{children:i(t)}),jsx(vn,{children:i(o)}),!l&&jsx(Mn,{variant:"contained",onClick:()=>{e();},children:jsx(Dn,{children:i("tryAgain")})})]})})}var oe=pl;var Vt=oe;var Hn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Fn=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),Bn=styled$1(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),go=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function zn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(Bn,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(go,{src:Jg,alt:"empty container"}),jsx(Hn,{children:n(t)}),jsx(Fn,{children:n(o)})]})}zn.displayName="EmptyList";var kt=memo(zn);var _n=kt;var gl=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=bc({error:s,fallbackMessage:"connectionErrorMsg"}),u=yb()&&d===Pm;return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u,hideTryAgain:u})}if(a){let{formatted:i}=bc({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(_n,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Co=memo(gl);function An({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(ho,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Co,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}An.displayName="TableNoData";var Je=memo(An);function yo(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Rl({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:c,hasAdjacentCheckedAbove:y,hasAdjacentCheckedBelow:m}){let b=c?e[c.selector]:void 0,f=c&&c.ids.includes(b),x=c?.isDisabled?.(e),h=ze.useCallback(()=>{!c||x||c.setIds(f?c.ids.filter(g=>g!==b):[...c.ids,b]);},[c?.setIds,c?.ids,f,x,b]),S=ze.useCallback((g,R)=>(k,C)=>{u?.(o,g,k,C,R);},[u,o]),w=ze.useCallback((g,R,k)=>{let{render:C,format:v,selector:I}=g;if(!g?.id||!e)return null;let V=I?I({row:e,index:o,value:e[g?.id]}):e[g?.id],L=v?v({value:V,row:e,index:o}):V;return C?C({row:e,column:g,index:o,value:e[g?.id],selectionProps:{onClick:S(k,g.pinned),rowIndex:R,colIndex:k,selectedId:i}}):jsx(Fragment,{children:L})},[e,o,i,S]),E=a!==null||l!==null||s!==null,P=ze.useCallback((g,R)=>k=>{p?.(o,g,k,R);},[p,o]),T=useMemo(()=>{let g=t[0]?.id,R=t[t.length-1]?.id,k=s===o;return jsx(Fragment,{children:t.map((C,v)=>{if(!C?.id)return null;let I=`${C.pinned??"default"}-${o}-${v}`,V=`${C.pinned??"default"}-${v}`,L=E&&a===I,M=E&&l===V,H=sc({isSelected:E&&(L||M||k),isCellSelected:L,isColumnSelected:M,isRowSelected:k,isLastRow:d}),N=C.id===g,G=C.id===R,W=C.pinned?N:N&&C.pinned!=="start",_=C.pinned?G:G&&C.pinned!=="end",U=k&&E?tc({effectiveFirst:W,isPinnedStart:C.pinned==="start",isPinnedEnd:C.pinned==="end"}):{},B=C.pinned==="start"&&W;return jsx(Se,{component:"div","data-testid":"TableRow_TableCell","data-column-id":C.id,"data-column-width":C.width,"data-column-width-used":C.width,"data-column-align":C.align,"data-column-order":C.order,"data-column-header":typeof C.header=="string"?C.header:"component","data-column-sortable":!!C.sortable,"data-column-filterable":!!C.filter,isFirst:W,isLast:_,onClick:P(v,C.pinned),sx:{width:C.width,minWidth:C.width,textAlign:C.align,justifyContent:uc[B?"center":C.align??"left"],cursor:p?"pointer":"default",...H,...U,...C.cellStyle},isSheetView:n,isSelected:L,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:w(C,o,v)}):jsx(Fragment,{children:w(C,o,v)})},`${C.id}-${v}`)})})},[t,e,o,a,l,s,E,p,d,i,n,w,P]);return createElement(Rt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:f,adjacentAbove:y,adjacentBelow:m},c&&jsx(Et,{isRow:true,size:"small",checked:f,onChange:h,disabled:x}),T)}var Ro=memo(Rl,areEqual);var Ml=styled(Ja)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Dl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",c=d&&u;return jsx(Qa,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:c&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ml,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var Ze=memo(Dl,areEqual);var Bl=ze.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(Ze,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(ao,{sx:{position:"absolute"},src:eh}),jsx(ao,{sx:{position:"absolute",padding:"3px"},src:kh,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(uo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),zl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},_l=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Al({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:c=false,isLoadMoreLoading:y=false,...m}}){let b=r.length-1,{hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x}=ze.useMemo(()=>{let R=m.selection;if(!R)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=r[e]?.[R.selector];if(!R.ids.includes(k))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let v=e>0?r[e-1]?.[R.selector]:void 0,I=e<b?r[e+1]?.[R.selector]:void 0;return {hasAdjacentCheckedAbove:v!==void 0&&R.ids.includes(v),hasAdjacentCheckedBelow:I!==void 0&&R.ids.includes(I)}},[m.selection?.ids,m.selection?.selector,r,e,b]),h=r[e],S=l&&e===b+1,w=e<=i,E=ze.useCallback(()=>zl(h,n?.onRowClick),[h,n?.onRowClick]),P=ze.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:w,...n,onClick:E}),[s,e,w,n,E]),T=ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(yo,{}):R}),[p]),g=ze.useMemo(()=>{let R=jsx(Bl,{isSheetView:u,isLoadingRow:S,columns:a,currentRowCount:r.length}),k=S||d&&e===b+1;return c&&k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):k?u&&S&&a&&a.length>0?T(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(yo,{}):R})}):jsx(Ro,{index:e,row:h,columns:a,rowProps:P,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:y,hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x,...m},`row-${e}`)},[m,e,h,a,P,u,S,p,d,b,c,r.length,T,y]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(_l,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:g})})}var Dt=Al;var Yl=jl((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Jl({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:c$1,triggerDataRefetch:y,scrollToIndex:m,areAllRowsLoaded:b=false,tableBodyStyles:f,tableMode:x,tableTitle:h,onStartDrag:S,isSheetView:w=false,isMinimized:E,footerComponent:P,customNoDataComponent:T,defaultSkeleton:g=false,selection:R,isFilterEnabled:k}){let C=useTheme(),v=z=>{S?.(z);},I=c({value:c$1,delay:1e3}),[V,L]=useState(false),[M,D]=useState("INITIAL_KEY");useEffect(()=>{let z=`${l?.maximized}-${E}`,J=requestAnimationFrame(()=>D(z));return ()=>cancelAnimationFrame(J)},[l?.maximized,E]);let H=_b(i),N=s??true,G=!s&&t.length===0&&H&&!ac(i),W=!s&&t.length===0,_=$b(i),U=t.length-1,B=useMemo(()=>Cc(e,s??false,g),[e,s,g]),F=useMemo(()=>B.filter(z=>!z.hidden),[B]),ne=useMemo(()=>F.sort((z,J)=>(z?.order??1e6)-(J?.order??1e6)),[F]),Ne=useMemo(()=>R?R.isDisabled?t.filter(z=>!R.isDisabled(z)).length:t.length:0,[t,R?.isDisabled]),$t=useCallback(()=>R?(R.isDisabled?t.filter(J=>!R.isDisabled(J)):t).map(J=>J[R.selector]):[],[t,R?.isDisabled,R?.selector]),K=ab(t.length)&&!N,ie=I||b&&!K?t.length+1:t.length,$e=Yl(ne,I,t,a,m,U,l?.totalCount??0,H,b&&!K,w,R),ae=w?28:57,he=useRef(null);useEffect(()=>{he.current&&typeof he.current.resetAfterIndex=="function"&&he.current.resetAfterIndex(0,true);},[w,ae]);let Ut=useMemo(()=>{let z=ge=>{L(ge);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:ge=>ge!==U,itemCount:ie,loadMoreItems:async()=>{b||await u?.();},threshold:o,children:({onItemsRendered:ge,ref:Xt})=>jsx(Gl,{ref:Xt,"data-testid":"VirtualTable_AutoSizer",children:({height:nt,width:it})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:$e,height:K?ie*ae:nt||0,width:it||0,itemCount:ie,itemSize:()=>ae,onItemsRendered:ge,setBackdropVisibility:z,areTotalRowsNotFillingHeight:K,scrollToIndex:m,overscanCount:5,isSheetView:w,listRef:he,style:{paddingBottom:"13px"},children:Dt})},M)})},[U,u,o,b,K,ie,ae,w,$e,m,M]),X=N||G||W||_;return jsxs(Fragment,{children:[jsx(It,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":C.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!c$1,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!H,"data-is-error-timeout":!!_,"data-table-mode":x,height:"100%",dir:C.direction,showNoDataView:X,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:X,compact:!X&&K,sx:{...f},children:[r&&jsx(mo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:ne,headerProps:n,showBackDrop:V,isSheetView:w,totalCount:l?.totalCount??0,selection:R,selectableCount:Ne,getSelectableKeys:$t,isFilterEnabled:k}),X?T||jsx(Je,{error:i,tableEmpty:W,isTimeoutError:_,tableError:G,tableLoading:N,orderedColumns:ne,triggerDataRefetch:y,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:K?ie*ae:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:Ut})})]}),!X&&K&&!c$1&&jsx(co,{height:(ie+1)*ae,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(b$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:V,onPointerDown:v,selectedCount:R?.ids.length,...l}),P]})}var Zl=memo(Jl);var Xn=b(Pt(),1);function ns({style:e,index:t,cardLoadingComponent:o}){return jsx(La,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Qa,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Po=memo(ns,areEqual);var ls=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ss({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||$a(e,t);return n=n>0?n:5,jsx(ls,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Po,{cardLoadingComponent:r},`i-${(0, Xn.default)("TableLoadingRow_")}`))})}var Vo=memo(ss);function qn({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Vo,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=bc({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}qn.displayName="TableNoDataWithCard";var Lo=memo(qn);function us({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(Rt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var ko=memo(us,areEqual);var hs=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},gs=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function xs({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],c=a&&e===d+1,y=e<=s,m=ze.useCallback(hs(u,n?.onRowClick),[u,n?.onRowClick]),b=ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:y,...n,onClick:m}),[l,e,y,n,m,c,i,d]),f=ze.useMemo(()=>jsx(ko,{index:e,row:u,renderCardComponent:p,rowProps:b},`row-${e}`),[e,u,b]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(gs,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:f})})}var Mo=xs;var Ps=jl((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function Vs({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:c$2=false,tableBodyStyles:y,tableMode:m,tableTitle:b,renderCardComponent:f,cardLoadingComponent:x,tableHeight:h,tableHeaderHeight:S,noDataComponent:w,onStartDrag:E}){let P=useTheme(),T=_=>{E?.(_);},g=c({value:p,delay:1e3}),[R,k]=useState(false),C=_b(l),v=a??true,I=!a&&e.length===0&&C&&!ac(l),V=!a&&e.length===0,L=$b(l),M=e.length-1,D=ab(e.length)&&!v,H=g||c$2&&!D?e.length+1:e.length,N=Ps(g,e,o,u,M,r?.totalCount??0,C,c$2&&!D,f),G=useMemo(()=>{let _=B=>{k(B);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:B=>B!==M,itemCount:H,loadMoreItems:async()=>{c$2||await i?.();},threshold:t,children:({onItemsRendered:B,ref:F})=>jsx(Ce,{sx:{height:`${h-(S??0)}px`},id:"auto-sizer-wrapper",children:jsx(Gl,{ref:F,"data-testid":"VirtualTable_AutoSizer",children:({height:ne,width:Ne})=>jsx(He,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:N,height:ne||0,width:Ne||0,itemCount:H,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:_,areTotalRowsNotFillingHeight:D,scrollToIndex:u,overscanCount:5,children:Mo})})})})},[l,a,M,i,n,e,o,I,v,t,g,c$2,D,H]),W=v||I||V||L;return jsxs(Fragment,{children:[jsx(It,{children:jsx(bn,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":b,"data-direction":P.direction,"data-are-all-rows-loaded":!!c$2,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!C,"data-is-error-timeout":!!L,"data-table-mode":m,dir:P.direction,showNoDataView:W,sx:{height:`${h}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:W,sx:{...y},children:[s,W?jsx(Lo,{error:l,tableEmpty:V,isTimeoutError:L,tableError:I,tableLoading:v,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:x,noDataComponent:w}):G]})})}),jsx(c$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:R,onPointerDown:T,sx:{marginTop:"-37px"},...r})]})}var Ls=memo(Vs);var Bb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),zb=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),Gn=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Kn=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Yn=styled(Fa,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Jn=styled(La)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Do=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Zn=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Qn=styled(Zn)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),ei=styled(Zn)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),Ht=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),_e=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Ho=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(f=>f.pinned==="start").map(f=>f.id):[],b=e.filter(f=>f.isDefaultPinned&&f.pinned!=="end").map(f=>f.id);return Array.from(new Set([...b,...m]))}),[a,l]=useState(()=>{let m=e.filter(h=>h.isDefaultPinned&&h.pinned==="end").map(h=>h.id);if(!t)return m;let b=e.filter(h=>h.pinned==="end").map(h=>h.id),f=e.filter(h=>!h.hidden),x=f[f.length-1];return b.length===0&&x&&!x.pinned&&!x.isDefaultPinned?[x.id]:b}),s=useCallback((m,b="start")=>{if(!t)return;let f=[...r],x=[...a];b==="unpin"?(f=f.filter(S=>S!==m),x=x.filter(S=>S!==m)):b==="start"?(f=[...f.filter(S=>S!==m),m],x=x.filter(S=>S!==m)):b==="end"&&(x=[...x.filter(S=>S!==m),m],f=f.filter(S=>S!==m)),n(f),l(x);let h=f.includes(m)||x.includes(m);o?.(m,h);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(w=>r.includes(w.id)),b=i.filter(w=>a.includes(w.id)),f=i.filter(w=>!r.includes(w.id)&&!a.includes(w.id)),x=m.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),h=b.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),S=f.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6));return {pinnedStartColumnsData:x,pinnedEndColumnsData:h,unpinnedColumnsData:S}},[i,r,a]),c=useMemo(()=>[...p,...u,...d],[p,u,d]),y=useMemo(()=>{let m=c[c.length-1];return m?m.id:null},[c]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:c,lastColumnId:y}};var Fo=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var Bo=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,b,f,x,h)=>{f.stopPropagation();let S=`${h??"default"}-${m}-${b}-${x}`,w=`${h??"default"}-${m}-${b}`;if(n===S){a(null),t(null);return}a(S),t(w),s(null);},[n,a,t,s]),u=useCallback((m,b,f,x)=>{if(f.stopPropagation(),x==="start"&&b===0){s(S=>S===m?null:m),t(null),r(null),a(null);return}let h=`${x??"default"}-${m}-${b}`;t(S=>S===h?null:h),r(null),a(null),s(null);},[l]),c=useCallback((m,b,f)=>{b.stopPropagation();let x=`${f??"default"}-${m}`;r(h=>h===x?null:x),t(null),a(null),s(null);},[]),y=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:c,resetSelection:y}};var Hs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,zo=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c({value:r,delay:1e3}),l=useMemo(()=>{let i=_b(o||null),p=t??true,d=o&&Hs(o)?o:null,u=!t&&e.length===0&&i&&!ac(d),c=!t&&e.length===0,y=$b(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:c,hasTimeoutError:y,showNoDataView:p||u||c||y}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=ab(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Bs=jl((e,t,o,r,n,a,l,s,i,p,d,u,c,y,m,b,f,x)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:c,selectedChip:y,onCellClick:m,onChipClick:b,containerHeight:f,rowHeight:x})),_o=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:c,handleChipClick:y})=>{let m=useCallback((h,S)=>{if(t&&h===o.length){let E=o.length*e,P=S-E,T=e*2;return Math.max(P,T)}return e},[t,o.length,e]),b=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),f=useMemo(()=>[i,p,d,u,c,y],[i,p,d,u,c,y]),x=useCallback((h,S,w)=>Bs(h,...b,S,...f,w,e),[b,f,e]);return {getItemSize:m,getItemDataForContainer:x}};var zs=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var Ao=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var ai=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),li=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),_t=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${Vi})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Us({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),c=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx(ai,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:c,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(_t,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var No=memo(Us);function Ks({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(li,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(_t,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var $o=memo(Ks);var Zs=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&p(t.width)},Qs=e=>!e||typeof e!="object"?false:Object.values(e).every(Zs),ed=e=>!e||typeof e!="object"?false:Object.values(e).every(Qs),mi=e=>!e||typeof e!="object"?false:Object.values(e).every(ed),ui=()=>{try{let e=wa$1();if(!e)return {};let t=e;return mi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},td=e=>{if(!mi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return va$1(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},ci=(e,t,o,r)=>{if(!hb(e)||!hb(t)||!hb(o))return r;try{return ui()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},fi=(e,t,o,r)=>{if(!hb(e)||!hb(t)||!hb(o)||!p(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=ui();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},td(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var ye={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var bi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?ye.DEFAULT_WIDTH:t}return e||ye.DEFAULT_WIDTH},Uo=e=>Math.max(ye.MIN_WIDTH,Math.min(ye.MAX_WIDTH,e)),j=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},Xo=(e,t)=>e.map(o=>{let r=j(o);return {...o,width:t[r]||o.width}}),hi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},od=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=Uo(t+d);l(c=>({...c,columnWidths:{...c.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(fi(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},gi=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let c=r.current.getBoundingClientRect(),y=c.left,m=c.right;a==="start"&&n===1&&(m=m-38),d=Math.max(y,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let c=s.current-i.current+ye.MIN_WIDTH;d<c&&(u=c);}e(c=>({...c,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},xi=(e,t)=>e[t]||ye.DEFAULT_WIDTH,Ci=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{od(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var qo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((I,V)=>{let L=j(V),M=bi(V.width),D=M;if(r&&n)try{D=ci(r,n,L,M)??M;}catch(H){console.warn(`Failed to load stored width for column ${L}:`,H),D=M;}return I[L]=Uo(D),I},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[c,y]=useState({x:0,y:0}),m=useRef(false),b=useRef(0),f=useRef(0),x=useRef(0),h=useRef(0),S=useRef(),w=useRef();useEffect(()=>{u(I=>{let V=new Set(Object.keys(I.columnWidths)),L=new Set(Object.keys(l));return V.size!==L.size?{...I,columnWidths:l}:Array.from(L).some(D=>!V.has(D)||I.columnWidths[D]!==l[D])?{...I,columnWidths:l}:I});},[]);let E=useCallback(I=>xi(s,I),[s]),P=useCallback(()=>{hi(S,w);},[]),T=useCallback((I,V,L)=>Ci(r,n,t,u,P,m,f)(I,V,L),[r,n,t,P]),g=useCallback((I,V)=>gi(u,y,b,a,I,V,f,x,h),[a]),R=useCallback((I,V)=>{I.preventDefault(),I.stopPropagation();try{let L=E(V),M=I.clientX,D=e.find(F=>j(F)===V),H=D?e.filter(F=>F.pinned===D.pinned).findIndex(F=>j(F)===V):void 0,N=D?.pinned,W=I.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),_=I.clientY;if(W){let F=W.getBoundingClientRect();_=F.top+F.height/2;}u(F=>({...F,isResizing:!0,resizingColumn:V,startX:M,startWidth:L,resizeIndicatorX:M,resizingColumnIndex:H,resizingColumnPinned:N})),b.current=_,f.current=M,x.current=M,h.current=L,y({x:M,y:_}),m.current=!0;let U=g(H,N),B=T(V,L,M);S.current=U,w.current=B,document.addEventListener("mousemove",U),document.addEventListener("mouseup",B),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(L){console.error("Error starting resize:",L),P();}},[E,g,T,P,e]),k=useCallback(()=>{try{u(I=>({...I,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,P();}catch(I){console.error("Error stopping resize:",I),P();}},[P]),C=useCallback(()=>m.current,[]),v=useCallback((I,V,L)=>{C()||o(I,V,L);},[o,C]);return useEffect(()=>P,[P]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:c,getColumnWidth:E,startResize:R,stopResize:k,isCurrentlyResizing:C,handleColumnClick:v}};var jo=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var wi=b(Pt(),1);var sd=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function dd({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min($a(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min($a(t,r),25);let c=u.parentElement?.clientHeight||0,y=28,b=c-40;if(b<=0)return Math.min($a(t,r),25);let f=Math.floor(b/y);return Math.max(3,Math.min(f+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(sd,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(Ze,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${(0, wi.default)("SheetViewTableLoadingRow_")}`))})}var le=memo(dd);function Ri({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(De,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=bc({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=bc({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx(kt,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}Ri.displayName="SheetViewTableNoData";var md=memo(Ri);function xd({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:c,isLast:y,isSelected:m,isDefaultPinned:b,onColumnSort:f,columnsSorting:x,onColumnPin:h,isPinnable:S,lastColumnId:w,onColumnClick:E,pinnedColumns:P,onStartResize:T,isResizing:g=false,resizingColumn:R=null}){let k=j({id:t,tableViewId:o}),[C,v]=useState(null),I=useRef(null),{isFilterApplied:V}=Ke({filter:l}),L=useCallback(W=>P?.includes(W),[P]),M=useMemo(()=>L(t),[t,L]),D=W=>{L(W)?h?.(W,"unpin"):W===w?h?.(W,"end"):h?.(W,"start");},H=()=>{v(I.current);};return jsxs(Se,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":M,isFirst:c,isLast:y,isSheetView:true,ref:I,onClick:W=>{W.target===W.currentTarget&&E?.(u,W,d);},sx:W=>({display:"flex",gap:W.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(wt,{onClick:W=>{W.stopPropagation(),H();},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(Gn,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ge,{...l,anchorEl:C,setAnchorEl:v,isFilterApplied:V}),a&&jsx(Ct,{columnId:t,onColumnSort:f,columnsSorting:x,onClick:W=>{E?.(u,W,d);}}),S&&s&&!b&&!y&&jsx(Kn,{onClick:W=>{W.stopPropagation(),D(t);},title:M?"Unpin column":"Pin column",children:jsx("img",{src:M?Tg:Sg,alt:"pin-icon"})})]}),T&&d!=="end"&&jsx(No,{columnId:k,onStartResize:T,isResizing:g,isLast:y})]})}var Ei=memo(xd);function Sd({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:c=false,resizingColumn:y=null}){return jsx(Yn,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Jn,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,b)=>{let f=`${m.pinned??"default"}-${b}`;return jsx(Ei,{column:m,colIndex:b,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===f,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:c,resizingColumn:y},`${m.id}-${b}`)})})})}var se=memo(Sd);function Rd({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:c,onScroll:y,setBackdropVisibility:m,listRef:b,overscanCount:f=40}){return jsx(Kl,{isItemLoaded:h=>h!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:h,ref:S})=>jsx(Gl,{ref:S,children:({height:w,width:E})=>{let P=g=>l(g,w),T=s(e,i,w);return jsx(He,{listRef:b,height:w,width:p||E,itemCount:t,itemSize:P,itemData:T,onItemsRendered:h,overscanCount:f,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:y,clearBackdropVisibilityTimeout:c,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:Dt})}})})}var Yo=memo(Rd);function Pd({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,hasPinnedStart:m,hasPinnedEnd:b,tableTitle:f,areAllRowsLoaded:x,isFetchingNextPage:h,scrollToIndex:S,isLoading:w,isError:E,hasTimeoutError:P,tableMode:T,showNoDataView:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();if(t.length===0)return null;let L=e==="start"?Qn:ei,M=e==="start"?"pinnedStart":"pinnedEnd";return jsx(L,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":f,"data-direction":V.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!h,"data-scroll-to-index":S,"data-is-loading":!!w,"data-is-error":!!E,"data-is-error-timeout":!!P,"data-table-mode":T,height:"100%",dir:V.direction,showNoDataView:g,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:b,onStartResize:C,isResizing:v,resizingColumn:I}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):k(t,M,true,o)})})]})})}var Oe=memo(Pd);function vd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":V.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:V.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:C,isResizing:v,resizingColumn:I})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):k(o,"scrollable",false)})})]})})})}var Jo=memo(vd);function Hd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:S,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:T,tableBodyStyles:g}){let R=useTheme();return jsx(Ht,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":b,"data-direction":R.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!S,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:R.direction,showNoDataView:T,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:T,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:y,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var Zo=memo(Hd);function _d({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:c,onColumnClick:y,tableTitle:m,areAllRowsLoaded:b,isFetchingNextPage:f,scrollToIndex:x,isLoading:h,isError:S,tableMode:w,tableBodyStyles:E,error:P,triggerDataRefetch:T,footerProps:g,customNoDataComponent:R}){let k=useTheme(),C=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":k.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!f,"data-scroll-to-index":x,"data-is-loading":!!h,"data-is-error":!!S,"data-is-error-timeout":!!r,"data-table-mode":w,height:"100%",dir:k.direction,showNoDataView:C,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:C,sx:E,children:[a&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:c,onColumnClick:y})}),R||jsx(Je,{error:P||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:T||(()=>Promise.resolve()),footerProps:g})]})})}var Qo=memo(_d);function Ud({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:c,isFetchingNextPage:y,triggerDataRefetch:m,scrollToIndex:b,areAllRowsLoaded:f=false,tableBodyStyles:x,tableTitle:h,onStartDrag:S,onColumnPin:w,clearBackdropVisibilityTimeout:E=100,isPinnable:P=false,tableMode:T,overscanCount:g,windowId:R,serviceCode:k,customNoDataComponent:C,defaultSkeleton:v=true}){let I=useMemo(()=>Cc(e,i??false,v),[e,i,v]),{selectedCell:V,selectedColumn:L,selectedRow:M,showBackDrop:D,setShowBackdrop:H,handleCellClick:N,handleColumnClick:G,handleChipClick:W,selectedChip:_}=Bo(),U=useRef(null),B=useRef(null),{isError:F,tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,showNoDataView:ie,lastItemIndex:$e,areTotalRowsNotFillingHeight:ae,itemsCount:he,isDelayedFetchingNextPage:Ut}=zo({rows:t,isLoading:i,error:p,isFetchingNextPage:y,areAllRowsLoaded:f}),{pinnedStartColumns:X,pinnedEndColumns:z,handleColumnPin:J,pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,unpinnedColumnsData:nt,orderedColumns:it,lastColumnId:Vi}=Ho(I,P,w),{pinnedStartVirtualListRef:at,scrollableVirtualListRef:lt,pinnedEndVirtualListRef:st,handleScroll:or}=Fo();useEffect(()=>{at.current?.resetAfterIndex(0),lt.current?.resetAfterIndex(0),st.current?.resetAfterIndex(0);},[t.length,at,lt,st]);let{columnWidths:Ue,isResizing:qt,resizingColumn:Li,resizeIndicatorX:ki,cursorPosition:rr,startResize:vi,handleColumnClick:Wi}=qo({columns:I,handleColumnClick:G,windowId:R,serviceCode:k,tableContainerRef:B}),nr=Ao({tableContainerRef:U,showHeader:r??false,isResizing:qt}),{pinnedStartColumnsWidth:ir,pinnedEndColumnsWidth:ar,pinnedStartColumnsDataWithWidths:Z,pinnedEndColumnsDataWithWidths:Q}=jo({pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,columnWidths:Ue}),lr=useMemo(()=>Xo(nt,Ue),[nt,Ue]),Mi=useMemo(()=>Xo(it,Ue),[it,Ue]),{getItemSize:sr,getItemDataForContainer:dr}=_o({rowHeight:s,areAllRowsLoaded:f,rows:t,isDelayedFetchingNextPage:Ut,rowProps:a,scrollToIndex:b,footerProps:l,isError:F,selectedCell:V,selectedColumn:L,selectedRow:M,selectedChip:_,handleCellClick:N,handleChipClick:W}),Di=jt=>{S?.(jt);},Xe=useCallback((jt,dt,Hi=false,Fi)=>jsx(Yo,{columnsData:jt,itemCount:he,lastItemIndex:$e,areAllRowsLoaded:f,loadMoreItems:c,threshold:o,getItemSize:sr,getItemData:dr,isPinned:Hi,fixedWidth:Fi,scrollToIndex:b,areTotalRowsNotFillingHeight:ae,clearBackdropVisibilityTimeout:E,onScroll:Bi=>{or(Bi,dt==="pinnedStart"?"start":dt==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:H,listRef:dt==="pinnedStart"?at:dt==="pinnedEnd"?st:lt,overscanCount:g}),[he,$e,f,c,o,sr,dr,b,ae,E,or,H,at,st,lt,g]),pr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:D,onColumnPin:J,isPinnable:P,lastColumnId:Vi,selectedColumn:L,onColumnClick:Wi,tableTitle:h,areAllRowsLoaded:f,isFetchingNextPage:y,scrollToIndex:b,isLoading:i,isError:F,tableMode:T,showNoDataView:ie,tableBodyStyles:x,onStartResize:vi,isResizing:qt,resizingColumn:Li},Pe={...pr,hasTimeoutError:K,tableLoading:ne};return jsxs(Fragment,{children:[jsx(fn,{ref:U,children:ie?ne?jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Zo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]}):jsx(Qo,{tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,orderedColumns:Mi,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:C,...pr}):jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Jo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,createVirtualTableContainer:Xe,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]})}),jsx(b$1,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:D,onPointerDown:Di,...l}),jsx($o,{isVisible:qt,indicatorX:ki,indicatorHeight:nr.height,indicatorTop:nr.top,iconX:rr.x,iconY:rr.y})]})}var Xd=memo(Ud);export{Xd as $,Mo as A,Ls as B,Bb as C,zb as D,Gn as E,Kn as F,Yn as G,Jn as H,Do as I,Qn as J,ei as K,Ht as L,_e as M,Ho as N,Fo as O,Bo as P,zo as Q,_o as R,zs as S,Ao as T,le as U,md as V,se as W,Oe as X,Jo as Y,Zo as Z,Qo as _,Ur as a,Xr as b,gt as c,Ge as d,oo as e,no as f,io as g,Se as h,Ke as i,mo as j,co as k,bo as l,ho as m,go as n,Co as o,Je as p,yo as q,Ro as r,Ze as s,Bl as t,_l as u,Zl as v,Po as w,Vo as x,Lo as y,ko as z};
|