@tap-payments/os-micro-frontend-shared 0.3.199 → 0.3.200
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-3B4WT3AY.js → chunk-2HABJ2YO.js} +1 -1
- package/build/_chunks/{chunk-Y4LVUCON.js → chunk-2ZNBHUXU.js} +1 -1
- package/build/_chunks/{chunk-JFD456Y4.js → chunk-3EC4NBRJ.js} +1 -1
- package/build/_chunks/{chunk-OIYAGPBM.js → chunk-3LALIQPV.js} +1 -1
- package/build/_chunks/{chunk-7KVWQHNV.js → chunk-3TQWY3JK.js} +1 -1
- package/build/_chunks/{chunk-ACJNCTJ4.js → chunk-46FAQ3DG.js} +1 -1
- package/build/_chunks/chunk-4N5OYONN.js +2 -0
- package/build/_chunks/{chunk-VBBBGDJR.js → chunk-52DALMTG.js} +1 -1
- package/build/_chunks/{chunk-CVEKXQG7.js → chunk-5TTL7VLV.js} +1 -1
- package/build/_chunks/{chunk-7K5742TG.js → chunk-6AXQGLXU.js} +1 -1
- package/build/_chunks/{chunk-WDJPGLUC.js → chunk-6B7TOKSL.js} +1 -1
- package/build/_chunks/{chunk-APMAMMOZ.js → chunk-6C7BOMF3.js} +1 -1
- package/build/_chunks/{chunk-ON7MQW7I.js → chunk-6KNJQLBN.js} +1 -1
- package/build/_chunks/{chunk-AI76WNMU.js → chunk-75VEIAWK.js} +1 -1
- package/build/_chunks/{chunk-WCEIDCEK.js → chunk-772SJ3P7.js} +1 -1
- package/build/_chunks/{chunk-YBD5IHPY.js → chunk-7IB7BQIQ.js} +1 -1
- package/build/_chunks/{chunk-GJYXQOBC.js → chunk-7TEYZQZ4.js} +1 -1
- package/build/_chunks/{chunk-UHFA7Y4Y.js → chunk-ACVUPOFT.js} +1 -1
- package/build/_chunks/{chunk-TZCPVIH4.js → chunk-AFYPJ4ON.js} +1 -1
- package/build/_chunks/{chunk-PDXWQNZW.js → chunk-AXVL2FO2.js} +1 -1
- package/build/_chunks/{chunk-GFDU6L5X.js → chunk-AZ5I5JE6.js} +1 -1
- package/build/_chunks/{chunk-ZNSPCRMR.js → chunk-BUQEV7SR.js} +1 -1
- package/build/_chunks/{chunk-SS3YHZOA.js → chunk-BWUHUMYT.js} +1 -1
- package/build/_chunks/{chunk-AVQUPT7Q.js → chunk-EIX2WI5M.js} +1 -1
- package/build/_chunks/{chunk-SVCHQL7X.js → chunk-EMNE6GTT.js} +1 -1
- package/build/_chunks/{chunk-WIA7MI5M.js → chunk-EMQJ6YCL.js} +1 -1
- package/build/_chunks/{chunk-SAUGPBSF.js → chunk-EV5JK6RC.js} +1 -1
- package/build/_chunks/{chunk-K7YT6I6Z.js → chunk-FN4TMG5M.js} +1 -1
- package/build/_chunks/{chunk-P2W2PE7V.js → chunk-GCFSW6FP.js} +1 -1
- package/build/_chunks/{chunk-DSS6DKAJ.js → chunk-GFJJ5JUO.js} +1 -1
- package/build/_chunks/{chunk-HK574PGH.js → chunk-GNRJ33DR.js} +1 -1
- package/build/_chunks/{chunk-SQ4J2HHV.js → chunk-GTQIVMLT.js} +1 -1
- package/build/_chunks/{chunk-AQI2GP5C.js → chunk-H374NLSY.js} +1 -1
- package/build/_chunks/{chunk-NXHZMUHX.js → chunk-H6MOILSY.js} +1 -1
- package/build/_chunks/{chunk-AIKY3BXO.js → chunk-HFD55RNJ.js} +1 -1
- package/build/_chunks/{chunk-4UESUTQ3.js → chunk-K2EPDQ2Q.js} +1 -1
- package/build/_chunks/{chunk-XUYSRIOL.js → chunk-K6VHIAQT.js} +1 -1
- package/build/_chunks/{chunk-6TENNXVH.js → chunk-KDJ2GUN2.js} +1 -1
- package/build/_chunks/chunk-KFGQ2TZN.js +1 -0
- package/build/_chunks/{chunk-L75MJYKH.js → chunk-KKM6MHZN.js} +1 -1
- package/build/_chunks/{chunk-JKCOX623.js → chunk-KPNGCYYS.js} +1 -1
- package/build/_chunks/{chunk-5KZPTTXQ.js → chunk-KQFZ6DKE.js} +1 -1
- package/build/_chunks/{chunk-JBCDII7Y.js → chunk-KRGK2V6Q.js} +1 -1
- package/build/_chunks/{chunk-TIBNT63K.js → chunk-KRZPKEUB.js} +1 -1
- package/build/_chunks/{chunk-JCC5EN6X.js → chunk-KSHGK7MW.js} +1 -1
- package/build/_chunks/{chunk-AFZVO2FX.js → chunk-KXNLSIUS.js} +1 -1
- package/build/_chunks/{chunk-QZDGNK3H.js → chunk-L44PANEB.js} +1 -1
- package/build/_chunks/{chunk-5L3U4XWW.js → chunk-L5PTPWOF.js} +1 -1
- package/build/_chunks/{chunk-ICIEVSK6.js → chunk-LKMOU4TC.js} +1 -1
- package/build/_chunks/{chunk-IVYSMKLW.js → chunk-MYZ75YJ6.js} +1 -1
- package/build/_chunks/{chunk-SM5W367U.js → chunk-NA6GA7TJ.js} +1 -1
- package/build/_chunks/{chunk-64YP7EIR.js → chunk-NLGE3HGE.js} +1 -1
- package/build/_chunks/{chunk-6XECEWPN.js → chunk-NNCMKQ5I.js} +1 -1
- package/build/_chunks/{chunk-A4Y3L4EM.js → chunk-OVUDPNEA.js} +1 -1
- package/build/_chunks/{chunk-LDZ2KGF6.js → chunk-PZULFYYD.js} +1 -1
- package/build/_chunks/{chunk-PTLEH5QC.js → chunk-QMDWOTXI.js} +1 -1
- package/build/_chunks/{chunk-NUTKGLKP.js → chunk-QMW23HXG.js} +1 -1
- package/build/_chunks/{chunk-PV7BHBTQ.js → chunk-QX2KNAXY.js} +1 -1
- package/build/_chunks/{chunk-RTHMIFP4.js → chunk-RDTMVV43.js} +1 -1
- package/build/_chunks/{chunk-Z5J75KNQ.js → chunk-RGZBT2GL.js} +1 -1
- package/build/_chunks/{chunk-XSPSZMRL.js → chunk-T7MF2XEW.js} +1 -1
- package/build/_chunks/{chunk-CPXBAREN.js → chunk-TK6RUFRE.js} +1 -1
- package/build/_chunks/{chunk-6RKOTFJV.js → chunk-UAESAECT.js} +1 -1
- package/build/_chunks/{chunk-OSRQZQQZ.js → chunk-UGIHAE3B.js} +1 -1
- package/build/_chunks/{chunk-YYHBNKPF.js → chunk-VCYYAJCT.js} +1 -1
- package/build/_chunks/{chunk-VTAEL4NV.js → chunk-VOGHV6K3.js} +1 -1
- package/build/_chunks/{chunk-L5SXTPQF.js → chunk-VRQROQJJ.js} +1 -1
- package/build/_chunks/{chunk-74MOID4D.js → chunk-VWLCKJLZ.js} +1 -1
- package/build/_chunks/{chunk-JJ5UUOVE.js → chunk-WFLEPFOZ.js} +1 -1
- package/build/_chunks/{chunk-RJ3MWXX7.js → chunk-WLUULX2E.js} +1 -1
- package/build/_chunks/{chunk-2UE35TIU.js → chunk-WVVTZ3VP.js} +1 -1
- package/build/_chunks/{chunk-ZNFO7RVR.js → chunk-WYMLQNE4.js} +1 -1
- package/build/_chunks/{chunk-OCW4NMSW.js → chunk-XCG5E6K2.js} +1 -1
- package/build/_chunks/{chunk-IK4NIWK3.js → chunk-XVQZHMPL.js} +1 -1
- package/build/_chunks/{chunk-R6ZVSLSQ.js → chunk-YL7VY4GA.js} +1 -1
- package/build/_chunks/{chunk-Q2YO46BR.js → chunk-ZO44DKQ7.js} +1 -1
- package/build/_chunks/{chunk-NGNDLXSN.js → chunk-ZTGOWDIY.js} +1 -1
- package/build/_chunks/chunk-ZX5JJXJM.js +2 -0
- package/build/_chunks/{chunk-MX6II55S.js → chunk-ZXIEFKKV.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/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/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/Autocomplete/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/CardEmptyState/index.js +1 -1
- package/build/components/ChipStack/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/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/Discount/index.js +1 -1
- package/build/components/DisplayAmount/index.js +1 -1
- package/build/components/Dropdown2/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/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/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/HeatMap/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/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/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/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/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/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/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/SearchButton/index.js +1 -1
- package/build/components/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/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/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- 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/WindowSideBar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-E7VBBAFI.js +0 -2
- package/build/_chunks/chunk-QMBLENVJ.js +0 -1
- package/build/_chunks/chunk-UVKRET3U.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j,p,d as d$1}from'./chunk-
|
|
1
|
+
import {j,p,d as d$1}from'./chunk-ZXIEFKKV.js';import {yc}from'./chunk-KFGQ2TZN.js';import {Bk,zk,xk,uk,kk,mk,Ck,jk,ik,Ak,Nh,sb,nk,qb,ok,qk,rk,wk,vk,pk}from'./chunk-4N5OYONN.js';import {useId}from'react';import W from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var R={ABANDONED:Nh,IN_PROGRESS:Ck,VOID:Ak,CANCELLED:ik,CAPTURED:jk,INITIATED:Ck,FAILED:mk,DECLINED:kk,RESTRICTED:uk,TIMEDOUT:xk,UNKNOWN:zk,AUTHORIZED:Bk},O={UNKNOWN:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:ok,acquirerIcon:qb,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:ok,acquirerIcon:qb,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:nk,acquirerIcon:sb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:nk,acquirerIcon:sb}},K={PENDING:rk,REFUNDED:qk},M={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},Z={PAID_OUT:pk,SETTLED:vk,PENDING:wk},_={AUTHORIZED:Bk},L={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};var q=styled(W)(()=>({display:"flex",gap:"4px",alignItems:"center",justifyContent:"center",borderRadius:"56px",padding:"2px 4px",cursor:"default"})),U=styled(j)(({theme:r})=>({color:r.v2.palette.base.white,fontWeight:600,fontSize:"8px",padding:"3px 2.57px",borderRadius:"4px",lineHeight:"100%"}));function d({tooltip:r,status:e,statusCode:P}){let h=yc(useId(),"status-label"),I=O[e]??L[e]??null;return jsx(p,{title:r,children:jsxs(q,{id:h,"data-testid":"StatusLabel",sx:{backgroundColor:I?.background||"transparent"},children:[jsx(d$1,{src:R[e]}),jsx(U,{sx:B=>({backgroundColor:I?.color||B.palette.info.dark}),children:P})]})})}var co=d;export{R as a,O as b,K as c,M as d,Z as e,_ as f,L as g,co as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-QMBLENVJ.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=yc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
|
|
1
|
+
import {yc}from'./chunk-KFGQ2TZN.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=yc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-
|
|
1
|
+
import {yc}from'./chunk-KFGQ2TZN.js';import {memo,useId}from'react';import f from'@mui/material/Box';import a from'@mui/material/Input';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var p=styled(a,{shouldForwardProp:o=>o!=="isError"})(({theme:o})=>({padding:"8px",border:`1px solid ${o.palette.divider}`,borderRadius:"4px",height:32,color:o.palette.text.primary,fontSize:"11px",outline:0,maxWidth:"100%",display:"flex",flexGrow:1,"::placeholder":{color:o.palette.grey[700],fontWeight:400}}));function i({isError:o,...t}){let l=yc(useId(),"input");return jsx(f,{id:l,"data-testid":"Input",sx:{flexGrow:1},onClick:d=>{d.stopPropagation();},children:jsx(p,{...t,placeholder:t.placeholder,isError:o,disableUnderline:true})})}i.displayName="Input";var n=memo(i);var S=n;export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ra,Qa,$a,Pa,ze,Ae}from'./chunk-
|
|
1
|
+
import {Ra,Qa,$a,Pa,ze,Ae}from'./chunk-4N5OYONN.js';import {styled}from'@mui/material/styles';import P from'@mui/material/Box';import {jsx,jsxs}from'react/jsx-runtime';import k from'@mui/material/Typography';var e=styled(P)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var d=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.error.main}}));function S(o){return jsx(d,{...o,className:"header-icon",children:jsx("img",{src:Ra,alt:"close"})})}var x=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.warning.main}}));function U(o){return jsx(x,{...o,className:"header-icon",children:jsx("img",{src:Qa,alt:"minimize"})})}var u=styled(e)(({theme:o})=>({"&.header-icon:hover":{backgroundColor:o.palette.info.dark}}));function ro({isMaximized:o,...r}){return jsx(u,{...r,className:"header-icon",children:jsx("img",{src:o?$a:Pa,alt:"maximize"})})}var g=styled(e,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({"&.header-icon:hover":{backgroundColor:o.palette.success.main},...r&&{backgroundColor:`${o.palette.success.main} !important`}})),h=styled(P)(({theme:o})=>({alignItems:"center",justifyContent:"center",display:"flex",height:12,gap:"5px",marginInlineStart:"10px","&:hover":{"& .request-text":{opacity:1},"& .header-icon":{backgroundColor:`${o.palette.success.main} !important`}},cursor:"pointer"})),y=styled(k,{shouldForwardProp:o=>o!=="isHovered"})(({theme:o,isHovered:r})=>({fontSize:"10px",color:o.palette.success.main,opacity:r?1:0}));function fo({isExpanded:o,isHovered:r,children:b,...B}){return jsxs(h,{...B,children:[jsx(g,{className:"header-icon",isHovered:r,children:jsx(P,{component:"img",sx:{...r&&{opacity:1}},src:o?ze:Ae,alt:"arrow"})}),jsx(y,{className:"request-text",isHovered:r,children:b})]})}export{S as a,U as b,ro as c,fo as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-EMNE6GTT.js';import {memo}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=styled(r)(({theme:o})=>({display:"flex",gap:o.spacing(1),insetInlineStart:o.spacing(1.25),zIndex:1}));styled(r)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var l=styled(r)(({theme:o})=>({display:"flex",height:"2rem",justifyContent:"space-between",alignItems:"center",width:"100%",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),"& > *":{flex:"1 1 0px;"}})),p=styled("div",{shouldForwardProp:o=>o!=="sandboxMode"&&o!=="maximized"&&o!=="isDragging"})(({maximized:o,isDragging:t})=>({...!o&&{borderTopRightRadius:12,borderTopLeftRadius:12},...t&&{cursor:"move"},margin:0})),H=styled(r,{shouldForwardProp:o=>o!=="maximized"&&o!=="isDragging"})(({isDragging:o})=>({...o&&{cursor:"move"},position:"relative",zIndex:1,margin:0})),s=styled(r,{shouldForwardProp:o=>o!=="maximized"&&o!=="isHovered"})(({theme:o,maximized:t})=>({height:32,position:"relative",display:"flex",width:"100%",justifyContent:"center",transition:"all 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",...t&&{display:"block !important",position:"fixed",right:0,left:0,zIndex:999,background:"transparent",".toolbar-wrapper":{display:"flex",justifyContent:"space-between",gap:10,alignItems:"center",position:"absolute",right:0,left:0,height:"2rem",".action-box":{visibility:"hidden"}},"&:hover":{".toolbar-wrapper":{top:0},".action-box":{visibility:"visible"}}},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1}}})),f=styled(p)(()=>({position:"sticky",top:0,left:0,right:0,zIndex:1e3,background:"#eaeaea",backdropFilter:"blur(32px)"}));function v({onMouseEnter:o,onMouseLeave:t,isMaximized:g,isHovered:x,children:w,rightActions:m,leftActions:a$1,title:b,icon:y,...u}){return jsx(s,{onMouseEnter:o,onMouseLeave:t,maximized:g,id:"toolbar","data-testid":"Toolbar",isHovered:x,...u,children:jsxs(l,{className:"toolbar-wrapper",children:[a$1?jsx(d,{className:"action-box",children:a$1}):jsx("div",{}),jsx(a,{title:b,icon:y}),m||jsx("div",{})]})})}var c=memo(v);var D=c;export{p as a,H as b,f as c,D as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-
|
|
1
|
+
import {yc}from'./chunk-KFGQ2TZN.js';import {memo,useId,useState,useRef}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var p=styled(l)(({theme:e})=>({position:"absolute",color:e.palette.grey[700],zIndex:0})),u=styled(l)(()=>({position:"relative",flexGrow:1,fontSize:"11px"}));function D({value:e,updateValue:m,placeholder:f,sx:g,maxLength:r}){let x=yc(useId(),"resizable-height-input"),[h,i]=useState(false),n=useRef(null);return jsxs(u,{id:x,"data-testid":"ResizableHeightInput",sx:g,onClick:()=>{n.current&&n.current.focus(),i(true);},children:[!h&&!e&&jsx(p,{children:f}),jsx(l,{contentEditable:true,suppressContentEditableWarning:true,sx:{outline:"none",flexGrow:1},onBlur:t=>{let o=t.target;m(o.innerText),i(false);},ref:n,onKeyDown:t=>{let o=t.target;r&&o.innerText.length>=r&&t.preventDefault();},children:e})]})}var c=memo(D);var k=c;export{k as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var i="https://cdn.tap.company/tap-assets",e=`${i}/icons/dashboard/light`,t=`${e}/other`,st=`${e}/function`,ze=`${i}/videos`,Ke=`${i}/files`,f=`${Ke}/templates`,ct=c=>`${e}/${c}.svg`,pt=c=>`${e}/payment-method/v2/${c}.svg`,at=c=>`${e}/payment-issuer/${c}.svg`,rt=c=>`${e}/country/v3/${c}.svg`,xt=c=>`${e}/function/${c}.svg`,it=c=>`${e}/statusIcons/${c}.svg`,dt=c=>`${i}/currency/v3/light/${c}.svg`,lt=c=>{let Ve=c.replace(/\s/g,"");return `${i}/icons/dashboard/light/authority/v2/${Ve}.svg`},ut=c=>`${e}/browsers/${c}.svg`,gt=c=>`${e}/payment-initiator/${c}.svg`,It=c=>`${e}/payment-gateways/${c}.svg`,vt=c=>`${e}/aging/${c}.svg`,ht=`${e}/currency/sar.svg`,mt=`${e}/currency/dirham.svg`,At=`${e}/abandoned.svg`,ft=`${e}/abandonedYellow.svg`,Et=`${e}/chevron-down.svg`,$t=`${e}/removeIcon.svg`,Tt=`${e}/reversed.svg`,St=`${e}/destinationSolid.svg`,_t=`${e}/search.svg`,yt=`${e}/unauthorized.svg`,Pt=`${e}/view.svg`,bt=`${e}/reports.svg`,Ct=`${e}/flag.svg`,Rt=`${e}/dispute.svg`,Nt=`${e}/timezone.svg`,wt=`${e}/greyTimezone.svg`,Ot=`${e}/subscription.svg`,Lt=`${e}/savedCard.svg`,kt=`${e}/egypt.svg`,Bt=`${e}/saudiArabia.svg`,Mt=`${e}/jordan.svg`,Ut=`${e}/lebanon.svg`,Dt=`${e}/kuwait.svg`,Ft=`${e}/unitedArabEmirates.svg`,Wt=`${e}/europe.svg`,Gt=`${e}/bahrain.svg`,Ht=`${e}/america.svg`,Yt=`${e}/payment-method/v2/card.svg`,Vt=`${e}/payment-method/v2/UnionPay.svg`,zt=`${e}/payment-method/v2/JAYWAN.svg`,Kt=`${e}/device.svg`,qt=`${e}/expressCheckout.svg`,Zt=`${e}/applePay.svg`,Qt=`${e}/cash.svg`,jt=`${e}/passThruWallet.svg`,Jt=`${e}/storedValueWallet.svg`,Xt=`${e}/buyNowPayLater.svg`,eo=`${e}/openBanking.svg`,to=`${e}/FrictionlessIcon.svg`,oo=`${e}/ChallengeIcon.svg`,no=`${e}/visa.svg`,so=`${e}/redArrowDownIcon.svg`,co=`${e}/completed.svg`,po=`${e}/chargebackRequested.svg`,ao=`${e}/chargeback.svg`,ro=`${t}/captureDropdown.svg`,xo=`${e}/disputeResolved.svg`,io=`${e}/reversePayout.svg`,lo=`${e}/ellipsisHorizontal.svg`,uo=`${e}/3ds.svg`,go=`${e}/invoiceIdIcon3.svg`,Io=`${e}/idIcon3.svg`,vo=`${e}/id.svg`,ho=`${t}/copyIcon.svg`,mo=`${t}/codeIcon.svg`,Ao=`${t}/GreenCheckMark2.svg`,fo=`${e}/closedDispute.svg`,Eo=`${e}/openDispute.svg`,$o=`${e}/desktop.svg`,To=`${e}/mobile.svg`,So=`${e}/tablet.svg`,_o=`${e}/invoice.svg`,yo=`${e}/cancelledInvoiceIcon.svg`,Po=`${e}/expiredInvoiceIcon.svg`,bo=`${e}/invoiceNumberIcon.svg`,Co=`${e}/column.svg`,Ro=`${e}/sortAz.svg`,No=`${e}/sortZa.svg`,E=`${e}/zipFile.svg`,wo=`${e}/successWhiteBg.svg`,Oo=`${e}/failedWhiteBgIcon.svg`,Lo=`${e}/exclamationGreyIcon.svg`,ko=`${e}/exclamationDarkGreyIcon.svg`,Bo=`${e}/percentage0.svg`,Mo=`${e}/percentage50.svg`,Uo=`${e}/percentage75.svg`,Do=`${e}/percentage100.svg`,Fo=`${e}/maximize.svg`,Wo=`${e}/minimize.svg`,Go=`${e}/close.svg`,Ho=`${e}/dashedCheckIcon.svg`,Yo=`${e}/outstandingIcon.svg`,Vo=`${e}/cancelledStatusIcon.svg`,zo=`${e}/expiredStatusIcon.svg`,Ko=`${e}/paidStatusIcon.svg`,qo=`${e}/refundedStatusIcon.svg`,Zo=`${e}/deactivatedIcon.svg`,Qo=`${e}/topup.svg`,jo=`${e}/AIOverviewIcon.svg`,Jo=`${t}/demaximize.svg`,Xo=`${e}/pendingFlag.svg`,en=`${e}/ibanIcon.svg`,tn=`${e}/payoutIcon.svg`,on=`${e}/releasedFlag.svg`,nn=`${e}/acceptedFlag.svg`,sn=`${e}/clearIcon.svg`,cn=`${e}/status/unCaptured.svg`,pn=`${t}/newWindow.svg`,an=`${t}/viewAll.svg`,rn=`${t}/allApps.svg`,xn=`${t}/hide.svg`,dn=`${t}/close.svg`,ln=`${t}/star.svg`,un=`${t}/closeCircle.svg`,gn=`${t}/acquirer.svg`,In=`${e}/GenericIconNew.svg`,vn=`${t}/acquirerRed.svg`,hn=`${t}/gateway.svg`,mn=`${t}/acquirerOrange.svg`,An=`${e}/status/capturedAuthorize.svg`,fn=`${t}/merchantInitiated.svg`,En=`${t}/rightArow.svg`,$n=`${e}/blackRightArrow.svg`,Tn=`${t}/orangeFlag.svg`,Sn=`${t}/openFlag.svg`,_n=`${t}/closedFlag.svg`,yn=`${t}/redFlag.svg`,Pn=`${t}/grayFlag.svg`,bn=`${t}/downArrow.svg`,Cn=`${t}/check.svg`,Rn=`${t}/closeX.svg`,Nn=`${t}/drag.svg`,wn=`${t}/checkboxIcon.svg`,On=`${e}/plusWhite.svg`,Ln=`${t}/checkboxIcon.svg`,kn=`${e}/Uniso.svg`,Bn=`${e}/addidas.svg`,Mn=`${e}/radioButtonChecked.svg`,Un=`${e}/radioButtonUnchecked.svg`,Dn=`${e}/Mac.svg`,Fn=`${e}/blueCheckIconZigzag.svg`,Wn=`${e}/greenCheckIconZigzag.svg`,Gn=`${e}/dimmedCheckIconZigzag.svg`,Hn=`${e}/marketPlaceBlue.svg`,Yn=`${e}/marketplaceBlackIcon.svg`,Vn=`${e}/marketPlaceDimmed.svg`,zn=`${e}/moneyOut.svg`,Kn=`${e}/moneyOutDimmed.svg`,qn=`${e}/moneyIn.svg`,Zn=`${e}/moneyInDimmed.svg`,Qn=`${e}/message.svg`,jn=`${e}/pending.svg`,Jn=`${e}/payStream.svg`,Xn=`${e}/clearCoin.svg`,es=`${t}/walletSmall.svg`,ts=`${t}/bank.svg`,os=`${t}/hijri.svg`,ns=`${t}/darkLeftArrow.svg`,ss=`${t}/darkRightArrow.svg`,cs=`${t}/spinnerLoading.svg`,ps=`${t}/spinnerLoadingAnimated.svg`,as=`${t}/actionFail.svg`,rs=`${t}/actionSuccess.svg`,xs=`${t}/checkMark.svg`,is=`${t}/logout.svg`,ds=`${t}/preferences.svg`,ls=`${t}/transform.svg`,$=`${t}/token.svg`,l=`${t}/billing.svg`,us=`${t}/receiptBill.svg`,gs=`${e}/newReceiptIcon.svg`,u=`${t}/acceptance.svg`,Is=`${e}/acceptanceEnabled.svg`,vs=`${e}/acceptanceBlue.svg`,hs=`${e}/payoutsGreen.svg`,ms=`${t}/acceptanceAppIconDisabled.svg`,As=`${t}/payoutsAppIconDisabled.svg`,fs=`${e}/payoutEnabled.svg`,Es=`${e}/payoutAppGreenIcon.svg`,$s=`${e}/payoutDisabledRounded.svg`,Ts=`${e}/acceptanceDisabledRounded.svg`,g=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,v=`${t}/payouts.svg`,T=`${t}/protect.svg`,S=`${t}/customers.svg`,_=`${t}/business.svg`,y=`${t}/account.svg`,Ss=`${t}/disableCheck.svg`,_s=`${t}/wifiOff.svg`,ys=`${t}/SandboxHovered.svg`,Ps=`${t}/Sandbox.svg`,bs=`${t}/ExclamationError.svg`,Cs=`${t}/greyCheck.svg`,Rs=`${t}/greyCross.svg`,Ns=`${t}/blueCheck.svg`,ws=`${t}/disabledCheck.svg`,Os=`${t}/darkCheck.svg`,Ls=`${t}/collapseArrow.svg`,ks=`${t}/world.svg`,Bs=`${t}/grayUpArrow.svg`,Ms=`${t}/blackHeadingDownArrowIcon.svg`,Us=`${t}/blueHeadingDropdownArrow.svg`,Ds=`${t}/dropdownArrow.svg`,Fs=`${t}/greyDropdownIcon.svg`,P=`${t}/business2.svg`,b=`${t}/development.svg`,Ws=`${t}/financial.svg`,C=`${t}/light_master_orchestrator.svg`,R=`${t}/platform.svg`,Gs=`${t}/provider.svg`,N=`${t}/appPlatform.svg`,Hs=`${t}/authenticationGateway.svg`,w=`${t}/billingPlatform.svg`,O=`${t}/commercePlatform.svg`,Ys=`${t}/commercialRegulator.svg`,Vs=`${t}/merchantServiceProvider.svg`,L=`${t}/paymentAcquirer.svg`,k=`${t}/paymentFacilitator.svg`,B=`${t}/paymentGatewayProvider.svg`,M=`${t}/paymentIssuer.svg`,U=`${t}/paymentMethod.svg`,D=`${t}/paymentProcessor.svg`,F=`${t}/paymentScheme.svg`,W=`${t}/paymentTechnologyV2.svg`,G=`${t}/paymentTerminalProvider.svg`,H=`${t}/retailPlatform.svg`,zs=`${t}/retailer.svg`,Y=`${t}/light_business.svg`,V=`${t}/light_development.svg`,Ks=`${t}/financial.svg`,z=`${t}/light_master_orchestrator.svg`,K=`${t}/light_platform.svg`,qs=`${t}/provider.svg`,q=`${t}/light_app_platform.svg`,Zs=`${t}/light_authentication_gateway.svg`,Z=`${t}/light_billing_platform.svg`,Q=`${t}/light_commerce_platform.svg`,Qs=`${t}/light_commercial_regulator.svg`,js=`${t}/light_merchant_service_provider.svg`,j=`${t}/light_payment_acquirer.svg`,J=`${t}/light_payment_facilitator.svg`,X=`${t}/light_payment_gateway_provider.svg`,ee=`${t}/light_payment_issuer.svg`,te=`${t}/light_payment_method.svg`,oe=`${t}/light_payment_processor.svg`,ne=`${t}/light_payment_scheme.svg`,se=`${t}/light_payment_technology_v2.svg`,ce=`${t}/light_payment_terminal_provider.svg`,pe=`${t}/light_retail_platform.svg`,Js=`${t}/light_retailer.svg`,Xs=`${t}/brandGray.svg`,ec=`${e}/grayCircleIcon.svg`,tc=`${t}/json.svg`,oc=`${t}/jsonBlackIcon.svg`,nc=`${t}/sort1.svg`,sc=`${t}/SandboxHoveredLight.svg`,cc=`${t}/emailColoured.svg`,pc=`${e}/OrderIcon.svg`,ac=`${e}/TransactionIcon.svg`,rc=`${e}/GenericIcon.svg`,xc=`${t}/smsColoured.svg`,ic=`${t}/whatsAppColored.svg`,dc=`${t}/dueDateBlue.svg`,lc=`${t}/dueDateOrange.svg`,uc=`${t}/dueDateYellow.svg`,gc=`${t}/dueDateRed.svg`,Ic=`${t}/dueDateBlack.svg`,vc=`${t}/dueDateGray.svg`,hc=`${t}/timerBlue.svg`,mc=`${t}/expiredIcon.svg`,Ac=`${t}/remindedRed.svg`,fc=`${t}/chevronWhite.svg`,Ec=`${t}/chevronGray.svg`,$c=`${t}/notVerified.svg`,Tc=`${t}/verified.svg`,Sc=`${t}/verifyReview.svg`,_c=`${e}/window/attention.svg`,yc=`${e}/window/initalAcceptance.svg`,Pc=`${e}/window/completedAcceptance.svg`,bc=`${e}/window/initalPayouts.svg`,Cc=`${e}/window/completedPayouts.svg`,Rc=`${t}/collapseArrowsIcon.svg`,Nc=`${t}/expandArrowsIcon.svg`,wc=`${t}/greenArrowRight.svg`,Oc=`${t}/greenArrowLeft1.svg`,Lc=`${t}/greenIconWithArrowUp.svg`,kc=`${t}/whiteArrowRight.svg`,Bc=`${t}/whiteArrowLeft.svg`,Mc=`${e}/HSBCBank.svg`,Uc=`${e}/shopifyIcon.svg`,Dc=`${e}/verifiedGreenBadge.svg`,Fc=`${e}/backButtonLeft.svg`,Wc=`${e}/eyeHideIcon.svg`,Gc=`${e}/eyeShowIcon.svg`,Hc=`${t}/uploadIcon.svg`,ae=`${e}/window/uploadGreyIcon.svg`,re=`${e}/uploadAppIcon.svg`,xe=`${e}/window/paylinkGreyIcon.svg`,ie=`${e}/paylinkAppIcon.svg`,Yc=`${e}/inprogressIcon.svg`,Vc=`${e}/redCloseCircleIcon.svg`,zc=`${t}/uploadBlueIcon.svg`,Kc=`${t}/SandboxHovered.svg`,qc=`${t}/sandboxDefaultIcon.svg`,Zc=`${t}/SandboxIcon.svg`,Qc=`${t}/clock.svg`,jc=`${t}/RedClose.svg`,h=`${t}/xls.svg`,de=`${t}/csv.svg`,Jc=`${t}/pdf.svg`,Xc=`${t}/Download.svg`,ep=`${t}/reportsIconOutlined.svg`,tp=`${t}/Done.svg`,op=`${t}/reportApps.svg`,le=`${e}/window/ReportsApp.svg`,ue=`${e}/window/leadApp.svg`,ge=`${e}/window/leadTitleIcon.svg`,Ie=`${t}/OrderApp.svg`,ve=`${t}/OrderTitleIcon.svg`,np=`${e}/dottedLine.svg`,sp=`${e}/passwordDots.svg`,cp=`${e}/dollarSign.svg`,pp=`${e}/reload.svg`,ap=`${t}/deletedStatus1.svg`,rp=`${t}/draftedStatus1.svg`,xp=`${t}/createdStatus1.svg`,ip=`${t}/cancelledStatus1.svg`,dp=`${t}/expiredStatus1.svg`,lp=`${t}/paidStatus1.svg`,up=`${t}/deliveredStatus1.svg`,gp=`${t}/viewedStatus1.svg`,Ip=`${t}/savedStatus1.svg`,vp=`${t}/scheduledStatus1.svg`,hp=`${t}/invoicePendingStatus2.svg`,mp=`${t}/invoiceRefundedStatus2.svg`,Ap=`${e}/activeLeadStatus.svg`,fp=`${e}/completedLeadStatus.svg`,Ep=`${e}/closedLeadStatus.svg`,$p=`${e}/expiredLeadStatus.svg`,Tp=`${e}/readyLeadStatus.svg`,Sp=`${e}/fileIcon.svg`,_p=`${e}/clipboardFileGrayIcon.svg`,yp=`${e}/newFileIcon.svg`,Pp=`${e}/downloadFileIcon.svg`,bp=`${e}/progressFileIcon.svg`,Cp=`${e}/successFileIcon.svg`,Rp=`${e}/whiteArrowDownIcon.svg`,Np=`${e}/teamWindowIcon.svg`,wp=`${e}/blueAppsIcon.svg`,Op=`${e}/disabledCardIcon.svg`,Lp=`${e}/disabledCodeIcon.svg`,kp=`${e}/layersIcon.svg`,Bp=`${e}/status/pendingOnTapIcon.svg`,Mp=`${e}/leadWhiteIcon.svg`,Up=`${t}/chatDisabledIcon.svg`,Dp=`${e}/exclamationDarkIcon.svg`,Fp=`${t}/exclamationWarning.svg`,Wp=`${e}/exclamationError.svg`,Gp=`${e}/exclamationOrangeIcon.svg`,Hp=`${t}/greenCheckV2.svg`,Yp=`${e}/iosIcon1.svg`,Vp=`${e}/androidIcon.svg`,zp=`${e}/websiteIcon.svg`,Kp=`${t}/greyApple.svg`,qp=`${t}/greyLocationIcon.svg`,Zp=`${t}/greyDesktopIcon.svg`,Qp=`${t}/greyTimezone.svg`,jp=`${t}/safariBrowser.svg`,Jp=`${t}/chromeBrowser.svg`,Xp=`${t}/firefoxBrowser.svg`,ea=`${t}/microsoftBrowser.svg`,ta=`${t}/operaBrowser.svg`,oa=`${t}/braveBrowser.svg`,na=`${t}/arcBrowser.svg`,sa=`${t}/chromiumBrowser.svg`,ca=`${t}/userIcon.svg`,he=`${t}/slaProcess.svg`,me=`${e}/window/slaProcess.svg`,Ae=`${e}/orchestrationApp.svg`,fe=`${e}/window/orchestration.svg`,pa=`${e}/window/orchestrationWindowBg.svg`,Ee=`${e}/lendingApp.svg`,m=`${e}/window/lending.svg`,$e=`${e}/lendingProviderApp.svg`,Te=`${e}/deemaApp.svg`,Se=`${e}/window/deema.svg`,aa=`${e}/fast.svg`,ra=`${e}/bankBlue.svg`,xa=`${e}/mosque.svg`,ia=`${e}/mosqueBlack.svg`,da=`${e}/moonStar.svg`,la=`${e}/car.svg`,ua=`${e}/handCoinsWhite.svg`,ga=`${e}/list.svg`,Ia=`${e}/corporateLoan.svg`,va=`${e}/corporateLoanBlack.svg`,_e=`${e}/platformApp.svg`,ye=`${e}/window/platform.svg`,Pe=`${e}/osApp.svg`,be=`${e}/window/osApp.svg`,Ce=`${e}/riskApp.svg`,Re=`${e}/window/riskApp.svg`,ha=`${e}/status/table/abandoned.svg`,ma=`${e}/status/table/cancelled.svg`,Aa=`${e}/status/table/captured.svg`,fa=`${e}/status/table/chargeBack.svg`,Ea=`${e}/status/table/chargeBackRequested.svg`,$a=`${e}/status/table/completed.svg`,Ta=`${e}/status/table/declined.svg`,Sa=`${e}/status/table/destinationReversed.svg`,_a=`${t}/DestinationWithoutBackground.svg`,ya=`${e}/status/table/disputeResolved.svg`,Pa=`${e}/status/table/failed.svg`,ba=`${e}/status/table/failedNoBG.svg`,Ca=`${e}/status/table/declinedNoBg.svg`,Ra=`${t}/destinationSuccess.svg`,Na=`${e}/status/authenticationFailed.svg`,wa=`${e}/status/table/authenticated.svg`,Oa=`${e}/paidOutFilterIcon.svg`,La=`${e}/completedBlackIcon.svg`,ka=`${e}/scheduledFilterIcon.svg`,Ba=`${e}/saveTokenIcon.svg`,Ma=`${e}/status/unauthenticated.svg`,Ua=`${e}/status/authenticationAttempted.svg`,Da=`${e}/status/authenticationNoAuth.svg`,Fa=`${e}/status/authenticationDeclined.svg`,Wa=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Ga=`${e}/status/authenticationExemptedWithTransaction2.svg`,Ha=`${e}/status/authenticationFailed1.svg`,Ya=`${e}/status/authenticationInitiated.svg`,Va=`${e}/status/authenticationUnavailable.svg`,za=`${e}/status/authenticationUndetermined.svg`,Ka=`${e}/status/AuthenticationWithoutTransaction1.svg`,qa=`${e}/status/authenticationWithTransaction1 2.svg`,Za=`${e}/status/AuthenticationAuthenticated.svg`,Qa=`${e}/status/authenticationPending2.svg`,ja=`${e}/authenticationFailedNoBg.svg`,Ja=`${e}/authenticationPendingNoBg.svg`,Xa=`${e}/authenticationNoAuthNoBg.svg`,er=`${e}/authenticationAttemptedNoBg.svg`,tr=`${e}/authenticationExemptedWithTransactionNoBg.svg`,or=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,nr=`${e}/authenticationDeclinedNoBg.svg`,sr=`${e}/authenticationUnavailableNoBg.svg`,cr=`${e}/authenticationUndeterminedNoBg.svg`,pr=`${e}/authenticatedSuccessNoBg.svg`,ar=`${e}/authenticationWithTransactionNoBg.svg`,rr=`${e}/authenticationWithoutTransactionNoBg.svg`,xr=`${e}/greyPlusIcon.svg`,ir=`${e}/greyMinusIcon.svg`,dr=`${e}/noPreviewIcon.svg`,lr=`${e}/other/editIcon.svg`,ur=`${t}/viewInvoice.svg`,gr=`${t}/checkoutStatus.svg`,Ir=`${t}/checkStatusOutBlue.svg`,vr=`${t}/checkoutWithMarkStatus.svg`,hr=`${t}/intentExpiredStatus.svg`,mr=`${t}/intentInitiatedStatus.svg`,Ar=`${t}/intentCancelledStatus.svg`,fr=`${t}/intentTransactedStatus.svg`,Er=`${e}/SheetViewUnionIcon.svg`,$r=`${e}/sheetView.svg`,Tr=`${e}/abandonedNoBG.svg`,Sr=`${e}/status/table/paidOut.svg`,_r=`${e}/status/table/reversePayout.svg`,yr=`${e}/status/pendingPayout.svg`,Pr=`${t}/whiteCloseIcon.svg`,br=`${e}/window/empty.svg`,Cr=`${e}/loaderWhiteIcon.svg`,Rr=`${t}/reverseActionIcon.svg`,Nr=`${e}/status/authenticationWallet.svg`,wr=`${e}/status/authenticationApp.svg`,Or=`${e}/status/authenticationBiometric.svg`,Lr=`${e}/status/authenticationDevice.svg`,kr=`${e}/status/authenticationIssuer.svg`,Br=`${e}/status/authenticationScheme.svg`,Mr=`${e}/pin.svg`,Ur=`${e}/unpin.svg`,Dr=`${t}/switcher.svg`,Fr=`${e}/closedStatusIcon.svg`,Wr=`${e}/verticalLine.svg`,Gr=`${e}/previewModeIcon.svg`,Hr=`${e}/status/table/tokensSaved.svg`,Yr=`${e}/status/table/tokensTransacted.svg`,Vr=`${e}/status/table/tokensExpired.svg`,zr=`${e}/status/table/tokensPending.svg`,Kr=`${e}/status/table/tokenCardIcon.svg`,qr=`${t}/TableloadingSpinner.svg`,Zr=`${t}/loadingSpinnerWhite.svg`,Qr=`${e}/spinnerLoadingBlue.svg`,jr=`${e}/backgroundLoader.svg`,Jr=`${t}/arrowUpBlue1.svg`,Xr=`${t}/BlueCheckMarkShadowed1.svg`,ex=`${t}/cardViewButton.svg`,tx=`${t}/listViewButton1.svg`,ox=`${e}/BlueArrowUpIcon.svg`,nx=`${e}/BlueCircleLoaderIcon.svg`,sx=`${e}/appsGridIcon2.svg`,cx=`${e}/whiteFilter.svg`,px=`${e}/grayCloseIcon.svg`,ax=`${e}/status/OrderAgreementIcon.svg`,rx=`${e}/status/InstallmentAgreementIcon.svg`,xx=`${e}/status/CardAgreementIcon.svg`,ix=`${e}/status/SubscriptionAgreementIcon.svg`,dx=`${e}/brandPlaceholder.svg`,lx=`${e}/users-icons.svg`,ux=`${e}/Board-Icons.svg`,gx=`${t}/No Agreement.svg`,Ne=`${e}/window/acceptance.svg`,we=`${e}/window/wallet.svg`,Oe=`${e}/window/billing.svg`,Le=`${e}/window/customers.svg`,ke=`${e}/window/payout.svg`,Be=`${e}/window/protect.svg`,Me=`${e}/window/tokens.svg`,Ue=`${e}/window/account.svg`,De=`${e}/window/businesses.svg`,Fe=`${e}/window/authentication.svg`,We=`${t}/reportsIcon.svg`,Ix=`${e}/window/tokensReports.svg`,vx=`${e}/window/brand.svg`,hx=`${e}/window/entity.svg`,mx=`${e}/window/bank.svg`,Ax=`${e}/window/individual.svg`,fx=`${e}/window/password.svg`,Ex=`${e}/actionsIcon.svg`,$x=`${e}/addItem.svg`,Tx=`${e}/attachIcon.svg`,Sx=`${e}/CollapseArrows.svg`,_x=`${e}/customerIcon.svg`,yx=`${e}/discountIcon.svg`,Px=`${e}/emailIcon.svg`,bx=`${e}/emailBlackIcon.svg`,Cx=`${e}/linkTiltedIcon.svg`,Rx=`${e}/ExpandArrows.svg`,Nx=`${e}/feeIcon.svg`,wx=`${e}/minusIcon.svg`,Ox=`${e}/noteIcon.svg`,Lx=`${e}/pdfGrayIcon.svg`,kx=`${e}/productLabel.svg`,Bx=`${e}/quantityIcon.svg`,Mx=`${e}/removeItem.svg`,Ux=`${t}/removeItem2.svg`,Dx=`${e}/smsIcon.svg`,Fx=`${e}/taxIcon.svg`,Wx=`${e}/totalAmountIcon.svg`,Gx=`${e}/unfocusRemoveItem.svg`,Hx=`${e}/whatsappIcon1.svg`,Yx=`${e}/whiteArrow2.svg`,Vx=`${e}/newInvoice.svg`,zx=`${e}/activeActionIcon.svg`,Kx=`${e}/grayProductLabel.svg`,qx=`${e}/plusQty.svg`,Zx=`${t}/downArrow3.svg`,Qx=`${e}/customer.svg`,jx=`${t}/note.svg`,Jx=`${e}/blueNoteIcon.svg`,Xx=`${t}/attach.svg`,ei=`${e}/lateFee.svg`,ti=`${e}/addItemIcon.svg`,oi=`${e}/blueCheckIcon.svg`,ni=`${t}/trash-bin.svg`,si=`${e}/redTrashBin.svg`,ci=`${e}/blueVerifyIcon.svg`,pi=`${e}/verificationDarkBlue.svg`,ai=`${e}/grayVerifyIcon.svg`,ri=`${e}/greenVerifyIcon.svg`,xi=`${e}/redVerifyIcon.svg`,ii=`${e}/closedVerifyIcon.svg`,di=`${e}/archivedVerifyIcon.svg`,li=`${e}/penIcon.svg`,ui=`${t}/listShadow.svg`,gi=`${e}/defaultCountryIcon.svg`,Ii=`${e}/defaultDeviceIcon.svg`,vi=`${e}/biometric.svg`,hi=`${e}/3dsBlue.svg`,mi=`${t}/createCharge.svg`,Ai=`${t}/successCheck.svg`,fi=`${t}/receipt.svg`,Ei=`${t}/browserTimezone.svg`,$i=`${t}/entityTimezone.svg`,Ti=`${t}/historyTimezone.svg`,Si=`${t}/smallBlueCheck.svg`,_i=`${t}/fileDownloadBlue.svg`,yi=`${t}/fileDownloadGrey.svg`,Pi=`${e}/meta.svg`,bi=`${e}/darkFilterIcon.svg`,Ci=`${e}/resize-icon.svg`,Ri=`${e}/home.svg`,Ni=`${e}/lockIcon.svg`,wi=`${e}/Calendar.svg`,Oi=`${e}/status-v2/autoCapturedNoBG.svg`,Li=`${e}/status-v2/autoVoidNoBG.svg`,ki=`${e}/status-v2/cancelledNoBG.svg`,Bi=`${e}/status-v2/capturedNoBG.svg`,Mi=`${e}/status-v2/declinedNoBG.svg`,Ui=`${e}/status-v2/destinationsNoBG.svg`,Di=`${e}/status-v2/failedNoBG.svg`,Fi=`${e}/status-v2/gatewayOrange.svg`,Wi=`${e}/status-v2/gatewayRedNoBG.svg`,Gi=`${e}/status-v2/paidoutNoBG.svg`,Hi=`${e}/status-v2/refundedIconNoBG2.svg`,Yi=`${e}/status-v2/refundInitiatedNoBG.svg`,Vi=`${e}/status-v2/refundSettledNoBG.svg`,zi=`${e}/status-v2/refundNotSettledNoBG.svg`,Ki=`${e}/status-v2/restrictedNoBG.svg`,qi=`${e}/status-v2/settledNoBG.svg`,Zi=`${e}/status-v2/settlementInitiatedNoBG.svg`,Qi=`${e}/status-v2/timeoutNoBG.svg`,ji=`${e}/status-v2/unavailableNoBG.svg`,Ji=`${e}/status-v2/unknownNoBG.svg`,Xi=`${e}/status-v2/void.svg`,ed=`${e}/status-v2/authorizeNoBG.svg`,td=`${e}/status-v2/initiatedNoBG.svg`,od=`${e}/websiteBlueIcon.svg`,nd=`${e}/androidAppIcon.svg`,sd=`${e}/iOSAppIcon.svg`,cd=`${e}/physicalLocationIcon.svg`,pd=`${e}/socialLinksIcon.svg`,ad=`${e}/smallLeftArrow.svg`,rd=`${e}/searchBlueIcon.svg`,xd=`${t}/rightLightArrow.svg`,id=`${t}/segmentInstitution.svg`,dd=`${t}/segmentTechnology.svg`,ld=`${t}/segmentDevelopmentHouse.svg`,ud=`${e}/locationIcon.svg`,Ge=`${t}/terminal.svg`,He=`${e}/window/terminal.svg`,gd=`${e}/terminalCardPhone.svg`,Id=`${e}/ToastPOS.svg`,vd=`${e}/terminalTypeIcon.svg`,hd=`${e}/terminalBrush.svg`,md=`${e}/terminalBrushMuted.svg`,Ad=`${e}/navigationIcon.svg`,fd=`${e}/babyBlueCheckIcon.svg`,Ed=`${e}/digitalReceiptIcon.svg`,$d=`${e}/bankNoteIcon.svg`,Td=`${e}/terminalDeviceFrame.svg`,Sd=`${e}/blackBrushIcon.svg`,_d=`${e}/mutedOutlinedCheckIcon.svg`,yd=`${e}/outlinedPlatformIcon.svg`,Pd=`${e}/navigationPointerBlack.svg`,bd=`${e}/addIconWhite.svg`,Cd=`${e}/greyUpArrow.svg`,Rd=`${e}/greyDownArrow.svg`,Nd=`${e}/services/brandService.svg`,wd=`${e}/services/authorizationService.svg`,Od=`${e}/services/chargebacksService.svg`,Ld=`${e}/services/chargesService.svg`,kd=`${e}/services/destinationsService.svg`,Bd=`${e}/services/entityService.svg`,Md=`${e}/services/invoiceService.svg`,Ud=`${e}/services/payoutService.svg`,Dd=`${e}/services/refundsService.svg`,Fd=`${e}/services/usersService.svg`,Wd=`${e}/services/walletService.svg`,Gd=`${e}/services/intentsService.svg`,Hd=`${e}/services/insightsService.svg`,Yd=`${e}/services/retailersService.svg`,Vd=`${e}/services/terminalService.svg`,zd=`${e}/services/createLead.svg`,Kd=`${e}/services/viewLead.svg`,qd=`${e}/archievedOutlined.svg`,Zd=`${e}/closeOutlinedCircle.svg`,Qd=`${e}/dashedOutlinedCircle.svg`,jd=`${e}/deactivatedCircle.svg`,Jd=`${e}/deactivatedOutlinedCircleV2.svg`,Xd=`${e}/exclamationOutlinedCircle.svg`,el=`${e}/questionOutlinedCircle.svg`,tl=`${e}/outlinedCircle.svg`,ol=`${e}/greenCheck2ACE00.svg`,nl=`${e}/blueCopyIcon.svg`,sl=`${e}/blackLinkIcon.svg`,cl=`${e}/blackSettingsIcon.svg`,pl=`${e}/blackWallet.svg`,al=`${e}/blueGradientBrushIcon.svg`,rl=`${e}/gadientLink.svg`,xl=`${e}/blackDeviceIcon.svg`,il=`${e}/gradientDeviceIcon.svg`,dl=`${e}/gradientSettings.svg`,ll=`${e}/gradientWallet.svg`,ul=`${e}/codeIcon.svg`,gl=`${e}/manyCurrencyCoin.svg`,Il=`${e}/manyCurrencyCoinGradient.svg`,vl=`${e}/blackMobileBatteryIcon.svg`,hl=`${e}/blackMobileSignalIcon.svg`,ml=`${e}/emptyMobileWifiIcon.svg`,Al=`${e}/deemaWithLabel.svg`,fl=`${e}/chargeBackWhiteIcon.svg`,El=`${e}/blackUnLinkIcon.svg`,$l=`${e}/sortDescArrowIcon.svg`,Tl=`${e}/sortAscArrowIcon.svg`,Sl=`${e}/closedOutlinedYellowCircle.svg`,_l=`${e}/deactivatedOrangeCircle.svg`,yl=`${e}/deactivatedCircleV2.svg`,Pl=`${e}/exclamationOutlinedOrangeCircle.svg`,bl=`${e}/activeGreenIcon.svg`,Cl=`${e}/activeBlue.svg`,Rl=`${e}/inActiveGreyIcon.svg`,Nl=`${ze}/terminal_link.mp4`,wl=`${e}/bluePlusIcon.svg`,Ol=`${e}/blackSettingsVariant2Icon.svg`,Ll=`${e}/exclamationWhite.svg`,kl=`${t}/blueCircleWithWhiteCheck.svg`,Bl=`${e}/externalLink.svg`,Ml=`${e}/settingsIcon.svg`,Ul=`${e}/flipIcon.svg`,Dl=`${e}/shoppingCart.svg`,Fl=`${e}/verifyAvatar.svg`,Wl=`${e}/helpCircle.svg`,Gl=`${e}/provider/CYBERSOURCE.svg`,Hl=`${e}/provider/MPGS.svg`,Yl=`${e}/provider/NETCETERA.svg`,Vl=`${e}/provider/APPLEPAY.svg`,zl=`${e}/provider/TAP3DS.svg`,Kl=`${e}/provider/BENEFIT_PAY.svg`,ql=`${e}/provider/BENEFIT.svg`,Zl=`${e}/provider/CAREEM_PAY.svg`,Ql=`${e}/provider/DEEMA.svg`,jl=`${e}/provider/FAWRY.svg`,Jl=`${e}/provider/FSS.svg`,Xl=`${e}/provider/KNET.svg`,eu=`${e}/provider/MEEZA.svg`,tu=`${e}/provider/NGENIUS.svg`,ou=`${e}/provider/NPG.svg`,nu=`${e}/provider/OMAN_NET.svg`,su=`${e}/provider/PAYPAL.svg`,cu=`${e}/provider/POSTPAY.svg`,pu=`${e}/provider/QPAY.svg`,au=`${e}/provider/SPG.svg`,ru=`${e}/provider/STC_PAY.svg`,xu=`${e}/provider/TABBY.svg`,iu=`${e}/provider/TAMARA.svg`,du=`${e}/provider/TPAY.svg`,lu=`${e}/provider/TPG.svg`,uu=`${e}/downloadBlue.svg`,gu=`${e}/eyeBlue.svg`,Iu=`${e}/fastBlack.svg`,vu=`${e}/repeat.svg`,hu=`${e}/shield.svg`,mu=`${e}/fileMinus.svg`,Au=`${e}/percent.svg`,fu=`${e}/cardUpload.svg`,Eu=`${e}/startConnector.svg`,$u=`${e}/endConnector.svg`,Tu=`${e}/filledConnector.svg`,Su=`${e}/dottedConnector.svg`,_u=`${e}/play.svg`,yu=`${e}/merchantAttributes.svg`,Pu=`${e}/issuerAttributes.svg`,bu=`${e}/refresh.svg`,Cu=`${e}/riskAttributes.svg`,Ru=`${e}/exclude.svg`,Nu=`${e}/earlySettlements.svg`,wu=`${e}/financedBy.svg`,Ou=`${e}/financeFeatures.svg`,Lu=`${e}/loanAmount.svg`,ku=`${e}/murabhaFinance.svg`,Bu=`${e}/testimonial.svg`,Mu=`${f}/bulk-refund-template.xlsx`,Uu=`${f}/bulk-invoice-template.xlsx`,Du=`${e}/emptyCopyIcon.svg`,Fu=`${e}/deactiveIcon.svg`,Wu=`${e}/disableIcon.svg`,Gu=`${e}/extendIcon.svg`,Hu=`${e}/payers.svg`,Yu=`${e}/gatewayIcon.svg`;var zu=3,qe=88,Ze=24;var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},Qe={updateMerchant:{code:"UPDATE_MERCHANT"},activateMarketplace:{code:"ACTIVATE_MARKETPLACE"},updateWallet:{code:"UPDATE_WALLET"},updateRisk:{code:"UPDATE_RISK"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateShareholder:{code:"UPDATE_SHAREHOLDER"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"},...Qe},r={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"}},d={viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{insights:{code:"INSIGHTS"},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,...r,businessProfile:{code:"BUSINESS_PROFILE"}}},retailer:{code:"RETAILER",functions:{...n,...a,...r}},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:{insights:{code:"INSIGHTS"},authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...n,create:{code:"CREATE"}}}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},shareholders:{code:"SHAREHOLDERS",functions:{view:{code:"VIEW"},create:{code:"CREATE"},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"},lendingProvider:{code:"LENDING_PROVIDER"},deema:{code:"DEEMA"},osApp:{code:"OS_APP"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...r,...d}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...r,...d}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...r,...d}},app:{code:"APP",functions:{...n,...a,...r,...d}},billing:{code:"BILLING",functions:{...n,...a,...r,...d}}}},risk:{code:"RISK"}},Zu={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.paylink.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},Qu=[{code:o.tokens.code,iconUrl:$,toolbarIconUrl:Me},{code:o.billing.code,iconUrl:l,toolbarIconUrl:Oe},{code:o.acceptance.code,iconUrl:u,toolbarIconUrl:Ne},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:we},{code:o.payouts.code,iconUrl:v,toolbarIconUrl:ke},{code:o.protect.code,iconUrl:T,toolbarIconUrl:Be},{code:o.authentication.code,iconUrl:g,toolbarIconUrl:Fe},{code:o.customers.code,iconUrl:S,toolbarIconUrl:Le},{code:o.businesses.code,iconUrl:_,toolbarIconUrl:De},{code:o.reports.code,iconUrl:le,toolbarIconUrl:We},{code:o.upload.code,iconUrl:re,toolbarIconUrl:ae},{code:o.paylink.code,iconUrl:ie,toolbarIconUrl:xe},{code:o.account.code,iconUrl:y,toolbarIconUrl:Ue},{code:o.order.code,iconUrl:Ie,toolbarIconUrl:ve},{code:o.leads.code,iconUrl:ue,toolbarIconUrl:ge},{code:o.terminals.code,iconUrl:Ge,toolbarIconUrl:He},{code:o.slaProcess.code,iconUrl:he,toolbarIconUrl:me},{code:o.orchestration.code,iconUrl:Ae,toolbarIconUrl:fe},{code:o.lending.code,iconUrl:Ee,toolbarIconUrl:m},{code:o.lendingProvider.code,iconUrl:$e,toolbarIconUrl:m},{code:o.deema.code,iconUrl:Te,toolbarIconUrl:Se},{code:o.platform.code,iconUrl:_e,toolbarIconUrl:ye},{code:o.osApp.code,iconUrl:Pe,toolbarIconUrl:be},{code:o.risk.code,iconUrl:Ce,toolbarIconUrl:Re}],ju=["login"];var Ye=window.__GLOBAL_CONFIG__??{},je=Ye.MW_BASE_URL??import.meta.env.VITE_BASE_URL,Xu=`${je}/api`,eg=import.meta.env.VITE_ENV,tg=import.meta.env.VITE_TEST_FIXED_SK,og=Ye.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,ng={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var cg=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var ag={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var xg=50,ig={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 lg="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var gg={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 vg={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 mg={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 fg={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 $g={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 Sg={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 yg={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 bg={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 Rg={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 wg={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 Lg={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 Bg={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var Ug={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Fg={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 Gg={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 Yg={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 zg={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 qg={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 Qg={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 Jg={id:{default:"111px",text:"111px",sheet:"215px"},acquirer_id:{default:"197px",text:"197px",sheet:"197px"},provider_id:{default:"88px",text:"88px",sheet:"88px"},merchant_id:{default:"160px",text:"160px",sheet:"160px"},acquirer_merchant_id:{default:"180px",text:"180px",sheet:"180px"},acceptance_mode:{default:"132px",text:"132px",sheet:"132px"},transaction_source:{default:"136px",text:"136px",sheet:"132px"},transaction_mode:{default:"132px",text:"132px",sheet:"132px"},charge_currency:{default:"132px",text:"132px",sheet:"132px"},settle_currency:{default:"120px",text:"120px",sheet:"120px"},gateway_type:{default:"132px",text:"132px",sheet:"100px"},gateway:{default:"150px",text:"150px",sheet:"150px"},three_ds:{default:"120px",text:"120px",sheet:"150px"},status:{default:"149px",text:"149px",sheet:"100px"},live_mode:{default:"100px",text:"100px",sheet:"100px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var e0={id:{default:"112px",text:"112px",sheet:"215px"},name:{default:"225px",text:"225px",sheet:"180px"},terminal_id:{default:"118px",text:"118px",sheet:"160px"},rank:{default:"66px",text:"66px",sheet:"88px"},acceptance_rate:{default:"107px",text:"107px",sheet:"132px"},route_issuer_scheme:{default:"112px",text:"112px",sheet:"140px"},acceptance_mode:{default:"132px",text:"132px",sheet:"140px"},transaction_mode:{default:"128px",text:"128px",sheet:"140px"},active:{default:"87px",text:"87px",sheet:"120px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},live_mode:{default:"100px",text:"100px",sheet:"110px"},status:{default:"112px",text:"112px",sheet:"140px"},route_ref:{default:"140px",text:"140px",sheet:"160px"},filter_usage:{default:"110px",text:"110px",sheet:"120px"},route_issuer_id:{default:"140px",text:"140px",sheet:"160px"},route_issuer_bin:{default:"140px",text:"140px",sheet:"160px"},route_issuer_brand:{default:"140px",text:"140px",sheet:"160px"},route_issuer_category:{default:"150px",text:"150px",sheet:"170px"},route_issuer_country:{default:"150px",text:"150px",sheet:"170px"},route_issuer_type:{default:"140px",text:"140px",sheet:"160px"},route_merchant:{default:"150px",text:"150px",sheet:"170px"},route_merchant_bank:{default:"150px",text:"150px",sheet:"170px"},route_merchant_country:{default:"150px",text:"150px",sheet:"170px"},route_merchant_currency:{default:"150px",text:"150px",sheet:"170px"},route_merchant_mcc:{default:"140px",text:"140px",sheet:"160px"},route_merchant_sector:{default:"150px",text:"150px",sheet:"170px"},route_transaction_currency:{default:"160px",text:"160px",sheet:"180px"},route_keywords:{default:"160px",text:"160px",sheet:"180px"},keyword_usage:{default:"150px",text:"150px",sheet:"170px"},exclude_condition:{default:"140px",text:"140px",sheet:"140px"},exclude_issuer_scheme:{default:"156px",text:"156px",sheet:"160px"},exclude_issuer_bin:{default:"150px",text:"150px",sheet:"160px"},exclude_issuer_country:{default:"160px",text:"160px",sheet:"170px"},exclude_issuer_type:{default:"150px",text:"150px",sheet:"160px"},exclude_route_merchant:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_mcc:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_country:{default:"177px",text:"177px",sheet:"180px"},exclude_merchant_currency:{default:"183px",text:"183px",sheet:"180px"},exclude_merchant_bank:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_sector:{default:"170px",text:"170px",sheet:"180px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var Je={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"},o0=Je.UTC,n0="SA",s0="Asia/Riyadh",c0="Saudi Arabia",p0=60;var r0={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"}},x0=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],i0={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var l0=52,u0=70,g0=57,I0=200,v0=5,h0=40,m0=20,A0=28;var E0={COUNT:"count",AMOUNT:"amount"},$0={count:"transaction",amount:"amount"};var x={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`},_0=[{name:"CARD",label:"Card",icon:x.CARD},{name:"EXPRESS",label:"Express Checkout",icon:x.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:x.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:x.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:x.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:x.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:x.CASH_WALLET}],Xe="customer",et="merchant",y0=[{key:Xe,value:"true",label:"Customer"},{key:et,value:"false",label:"Merchant"}],P0=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],b0=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var N0={PAYMENT_GATEWAY_PROVIDER:B,PAYMENT_TECHNOLOGY:W,PAYMENT_TERMINAL_PROVIDER:G,PAYMENT_PROCESSOR:D,PAYMENT_SCHEME:F,PAYMENT_ISSUER:M,PAYMENT_ACQUIRER:L,PAYMENT_METHOD:U,PAYMENT_FACILITATOR:k,APP_PLATFORM:N,RETAIL_PLATFORM:H,COMMERCE_PLATFORM:O,BILLING_PLATFORM:w,BUSINESS:P,DEVELOPMENT_HOUSE:b,MASTER_ORCHESTRATOR:C,PLATFORM:R},w0={PAYMENT_GATEWAY_PROVIDER:X,PAYMENT_TECHNOLOGY:se,PAYMENT_TERMINAL_PROVIDER:ce,PAYMENT_PROCESSOR:oe,PAYMENT_SCHEME:ne,PAYMENT_ISSUER:ee,PAYMENT_ACQUIRER:j,PAYMENT_METHOD:te,PAYMENT_FACILITATOR:J,APP_PLATFORM:q,RETAIL_PLATFORM:pe,COMMERCE_PLATFORM:Q,BILLING_PLATFORM:Z,BUSINESS:Y,DEVELOPMENT_HOUSE:V,MASTER_ORCHESTRATOR:z,PLATFORM:K},p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},O0={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},L0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],k0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],B0=["PAYMENT_TECHNOLOGY"],M0=["PAYMENT_ISSUER"],U0=["DEVELOPMENT_HOUSE"];var F0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var G0={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"},z0={[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]},K0=[{code:o.billing.code,name:"Billing",icon:l,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:u,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:v,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:g,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var Z0={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var tt=["AUTHENTICATED"],ot=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],j0=[...tt,...ot],nt=(A=>(A.Challenge="C",A.Frictionless="F",A))(nt||{}),J0={C:"Challenge",F:"Frictionless"};var eI=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var nI={csv:de,xls:h,xlsx:h,zip:E};
|
|
2
|
+
export{Jt as $,Jo as $a,Xn as $b,Ws as $c,xc as $d,le as $e,Jp as $f,Ma as $g,Mr as $h,yx as $i,yi as $j,Sd as $k,Sl as $l,Su as $m,Lg as $n,nt as $o,_t as A,yo as Aa,yn as Ab,Ts as Ac,q as Ad,Bc as Ae,_p as Af,va as Ag,ir as Ah,ix as Ai,Xx as Aj,Xi as Ak,jd as Al,jl as Am,r as An,A0 as Ao,yt as B,Po as Ba,Pn as Bb,g as Bc,Zs as Bd,Mc as Be,yp as Bf,_e as Bg,dr as Bh,dx as Bi,ei as Bj,ed as Bk,Jd as Bl,Jl as Bm,d as Bn,E0 as Bo,Pt as C,bo as Ca,bn as Cb,I as Cc,Z as Cd,Uc as Ce,Pp as Cf,ye as Cg,lr as Ch,lx as Ci,ti as Cj,td as Ck,Xd as Cl,Xl as Cm,o as Cn,$0 as Co,bt as D,Co as Da,Cn as Db,v as Dc,Q as Dd,Dc as De,bp as Df,Pe as Dg,ur as Dh,ux as Di,oi as Dj,od as Dk,el as Dl,eu as Dm,Zu as Dn,x as Do,Ct as E,Ro as Ea,Rn as Eb,T as Ec,Qs as Ed,Fc as Ee,Cp as Ef,be as Eg,gr as Eh,gx as Ei,ni as Ej,nd as Ek,tl as El,tu as Em,Qu as En,_0 as Eo,Rt as F,No as Fa,Nn as Fb,S as Fc,js as Fd,Wc as Fe,Rp as Ff,Ce as Fg,Ir as Fh,Ne as Fi,si as Fj,sd as Fk,ol as Fl,ou as Fm,ju as Fn,Xe as Fo,Nt as G,E as Ga,wn as Gb,_ as Gc,j as Gd,Gc as Ge,Np as Gf,Re as Gg,vr as Gh,we as Gi,ci as Gj,cd as Gk,nl as Gl,nu as Gm,je as Gn,et as Go,wt as H,wo as Ha,On as Hb,y as Hc,J as Hd,Hc as He,wp as Hf,ha as Hg,hr as Hh,Oe as Hi,pi as Hj,pd as Hk,sl as Hl,su as Hm,Xu as Hn,y0 as Ho,Ot as I,Oo as Ia,Ln as Ib,Ss as Ic,X as Id,ae as Ie,Op as If,ma as Ig,mr as Ih,Le as Ii,ai as Ij,ad as Ik,cl as Il,cu as Im,eg as In,P0 as Io,Lt as J,Lo as Ja,kn as Jb,_s as Jc,ee as Jd,re as Je,Lp as Jf,Aa as Jg,Ar as Jh,ke as Ji,ri as Jj,rd as Jk,pl as Jl,pu as Jm,tg as Jn,b0 as Jo,kt as K,ko as Ka,Bn as Kb,ys as Kc,te as Kd,xe as Ke,kp as Kf,fa as Kg,fr as Kh,Be as Ki,xi as Kj,xd as Kk,al as Kl,au as Km,og as Kn,N0 as Ko,Bt as L,Bo as La,Mn as Lb,Ps as Lc,oe as Ld,ie as Le,Bp as Lf,Ea as Lg,Er as Lh,Me as Li,ii as Lj,id as Lk,rl as Ll,ru as Lm,ng as Ln,w0 as Lo,Mt as M,Mo as Ma,Un as Mb,bs as Mc,ne as Md,Yc as Me,Mp as Mf,$a as Mg,$r as Mh,Ue as Mi,di as Mj,dd as Mk,xl as Ml,xu as Mm,cg as Mn,p as Mo,Ut as N,Uo as Na,Dn as Nb,Cs as Nc,se as Nd,Vc as Ne,Up as Nf,Ta as Ng,Tr as Nh,De as Ni,li as Nj,ld as Nk,il as Nl,iu as Nm,ag as Nn,O0 as No,Dt as O,Do as Oa,Fn as Ob,Rs as Oc,ce as Od,zc as Oe,Dp as Of,Sa as Og,Sr as Oh,Fe as Oi,ui as Oj,ud as Ok,dl as Ol,du as Om,xg as On,L0 as Oo,Ft as P,Fo as Pa,Wn as Pb,Ns as Pc,pe as Pd,Kc as Pe,Fp as Pf,_a as Pg,_r as Ph,We as Pi,gi as Pj,Ge as Pk,ll as Pl,lu as Pm,ig as Pn,k0 as Po,Wt as Q,Wo as Qa,Gn as Qb,ws as Qc,Js as Qd,qc as Qe,Wp as Qf,ya as Qg,yr as Qh,Ix as Qi,Ii as Qj,He as Qk,ul as Ql,uu as Qm,lg as Qn,B0 as Qo,Gt as R,Go as Ra,Hn as Rb,Os as Rc,Xs as Rd,Zc as Re,Gp as Rf,Pa as Rg,Pr as Rh,vx as Ri,vi as Rj,gd as Rk,gl as Rl,gu as Rm,gg as Rn,M0 as Ro,Ht as S,Ho as Sa,Yn as Sb,Ls as Sc,ec as Sd,Qc as Se,Hp as Sf,ba as Sg,br as Sh,hx as Si,hi as Sj,Id as Sk,Il as Sl,Iu as Sm,vg as Sn,U0 as So,Yt as T,Yo as Ta,Vn as Tb,ks as Tc,tc as Td,jc as Te,Yp as Tf,Ca as Tg,Cr as Th,mx as Ti,mi as Tj,vd as Tk,vl as Tl,vu as Tm,mg as Tn,F0 as To,Vt as U,Vo as Ua,zn as Ub,Bs as Uc,oc as Ud,h as Ue,Vp as Uf,Ra as Ug,Rr as Uh,Ax as Ui,Ai as Uj,hd as Uk,hl as Ul,hu as Um,fg as Un,G0 as Uo,zt as V,zo as Va,Kn as Vb,Ms as Vc,nc as Vd,de as Ve,zp as Vf,Na as Vg,Nr as Vh,fx as Vi,fi as Vj,md as Vk,ml as Vl,mu as Vm,$g as Vn,s as Vo,Kt as W,Ko as Wa,qn as Wb,Us as Wc,sc as Wd,Jc as We,Kp as Wf,wa as Wg,wr as Wh,Ex as Wi,Ei as Wj,Ad as Wk,Al as Wl,Au as Wm,Sg as Wn,z0 as Wo,qt as X,qo as Xa,Zn as Xb,Ds as Xc,cc as Xd,Xc as Xe,qp as Xf,Oa as Xg,Or as Xh,$x as Xi,$i as Xj,fd as Xk,fl as Xl,fu as Xm,yg as Xn,K0 as Xo,Zt as Y,Zo as Ya,Qn as Yb,Fs as Yc,pc as Yd,ep as Ye,Zp as Yf,La as Yg,Lr as Yh,Tx as Yi,Ti as Yj,Ed as Yk,El as Yl,Eu as Ym,bg as Yn,Z0 as Yo,Qt as Z,Qo as Za,jn as Zb,P as Zc,ac as Zd,tp as Ze,Qp as Zf,ka as Zg,kr as Zh,Sx as Zi,Si as Zj,$d as Zk,$l as Zl,$u as Zm,Rg as Zn,ot as Zo,jt as _,jo as _a,Jn as _b,b as _c,rc as _d,op as _e,jp as _f,Ba as _g,Br as _h,_x as _i,_i as _j,Td as _k,Tl as _l,Tu as _m,wg as _n,j0 as _o,e as a,Xt as aa,Xo as ab,es as ac,C as ad,ic as ae,ue as af,Xp as ag,Ua as ah,Ur as ai,Px as aj,Pi as ak,_d as al,_l as am,_u as an,Bg as ao,J0 as ap,t as b,eo as ba,en as bb,ts as bc,R as bd,dc as be,ge as bf,ea as bg,Da as bh,Dr as bi,bx as bj,bi as bk,yd as bl,yl as bm,yu as bn,Ug as bo,eI as bp,st as c,to as ca,tn as cb,os as cc,Gs as cd,lc as ce,Ie as cf,ta as cg,Fa as ch,Fr as ci,Cx as cj,Ci as ck,Pd as cl,Pl as cm,Pu as cn,Fg as co,nI as cp,ze as d,oo as da,on as db,ns as dc,N as dd,uc as de,ve as df,oa as dg,Wa as dh,Wr as di,Rx as dj,Ri as dk,bd as dl,bl as dm,bu as dn,Gg as do,Ke as e,no as ea,nn as eb,ss as ec,Hs as ed,gc as ee,np as ef,na as eg,Ga as eh,Gr as ei,Nx as ej,Ni as ek,Cd as el,Cl as em,Cu as en,Yg as eo,f,so as fa,sn as fb,cs as fc,w as fd,Ic as fe,sp as ff,sa as fg,Ha as fh,Hr as fi,wx as fj,wi as fk,Rd as fl,Rl as fm,Ru as fn,zg as fo,ct as g,co as ga,cn as gb,ps as gc,O as gd,vc as ge,cp as gf,ca as gg,Ya as gh,Yr as gi,Ox as gj,Oi as gk,Nd as gl,Nl as gm,Nu as gn,qg as go,pt as h,po as ha,pn as hb,as as hc,Ys as hd,hc as he,pp as hf,he as hg,Va as hh,Vr as hi,Lx as hj,Li as hk,wd as hl,wl as hm,wu as hn,Qg as ho,at as i,ao as ia,an as ib,rs as ic,Vs as id,mc as ie,ap as if,me as ig,za as ih,zr as ii,kx as ij,ki as ik,Od as il,Ol as im,Ou as in,Jg as io,rt as j,ro as ja,rn as jb,xs as jc,L as jd,Ac as je,rp as jf,Ae as jg,Ka as jh,Kr as ji,Bx as jj,Bi as jk,Ld as jl,Ll as jm,Lu as jn,e0 as jo,xt as k,xo as ka,xn as kb,is as kc,k as kd,fc as ke,xp as kf,fe as kg,qa as kh,qr as ki,Mx as kj,Mi as kk,kd as kl,kl as km,ku as kn,Je as ko,it as l,io as la,dn as lb,ds as lc,B as ld,Ec as le,ip as lf,pa as lg,Za as lh,Zr as li,Ux as lj,Ui as lk,Bd as ll,Bl as lm,Bu as ln,o0 as lo,dt as m,lo as ma,ln as mb,ls as mc,M as md,$c as me,dp as mf,Ee as mg,Qa as mh,Qr as mi,Dx as mj,Di as mk,Md as ml,Ml as mm,Mu as mn,n0 as mo,lt as n,uo as na,un as nb,$ as nc,U as nd,Tc as ne,lp as nf,m as ng,ja as nh,jr as ni,Fx as nj,Fi as nk,Ud as nl,Ul as nm,Uu as nn,s0 as no,ut as o,go as oa,gn as ob,l as oc,D as od,Sc as oe,up as of,$e as og,Ja as oh,Jr as oi,Wx as oj,Wi as ok,Dd as ol,Dl as om,Du as on,c0 as oo,gt as p,Io as pa,In as pb,us as pc,F as pd,_c as pe,gp as pf,Te as pg,Xa as ph,Xr as pi,Gx as pj,Gi as pk,Fd as pl,Fl as pm,Fu as pn,p0 as po,It as q,vo as qa,vn as qb,gs as qc,W as qd,yc as qe,Ip as qf,Se as qg,er as qh,ex as qi,Hx as qj,Hi as qk,Wd as ql,Wl as qm,Wu as qn,r0 as qo,vt as r,ho as ra,hn as rb,u as rc,G as rd,Pc as re,vp as rf,aa as rg,tr as rh,tx as ri,Yx as rj,Yi as rk,Gd as rl,Gl as rm,Gu as rn,x0 as ro,ht as s,mo as sa,mn as sb,Is as sc,H as sd,bc as se,hp as sf,ra as sg,or as sh,ox as si,Vx as sj,Vi as sk,Hd as sl,Hl as sm,Hu as sn,i0 as so,mt as t,Ao as ta,An as tb,vs as tc,zs as td,Cc as te,mp as tf,xa as tg,nr as th,nx as ti,zx as tj,zi as tk,Yd as tl,Yl as tm,Yu as tn,l0 as to,At as u,fo as ua,fn as ub,hs as uc,Y as ud,Rc as ue,Ap as uf,ia as ug,sr as uh,sx as ui,Kx as uj,Ki as uk,Vd as ul,Vl as um,zu as un,u0 as uo,ft as v,Eo as va,En as vb,ms as vc,V as vd,Nc as ve,fp as vf,da as vg,cr as vh,cx as vi,qx as vj,qi as vk,zd as vl,zl as vm,qe as vn,g0 as vo,Et as w,$o as wa,$n as wb,As as wc,Ks as wd,wc as we,Ep as wf,la as wg,pr as wh,px as wi,Zx as wj,Zi as wk,Kd as wl,Kl as wm,Ze as wn,I0 as wo,$t as x,To as xa,Tn as xb,fs as xc,z as xd,Oc as xe,$p as xf,ua as xg,ar as xh,ax as xi,Qx as xj,Qi as xk,qd as xl,ql as xm,n as xn,v0 as xo,Tt as y,So as ya,Sn as yb,Es as yc,K as yd,Lc as ye,Tp as yf,ga as yg,rr as yh,rx as yi,jx as yj,ji as yk,Zd as yl,Zl as ym,Qe as yn,h0 as yo,St as z,_o as za,_n as zb,$s as zc,qs as zd,kc as ze,Sp as zf,Ia as zg,xr as zh,xx as zi,Jx as zj,Ji as zk,Qd as zl,Ql as zm,a as zn,m0 as zo};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-
|
|
1
|
+
import {yc}from'./chunk-KFGQ2TZN.js';import {Cn}from'./chunk-4N5OYONN.js';import {useId}from'react';import f from'@mui/material/Stack';import a from'@mui/material/Box';import d from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){let o=yc(useId(),"default-mf-widget-loader");return jsxs(f,{id:o,"data-testid":"DefaultMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(f,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:g=>g.palette.background.transparent[0]},children:[jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(a,{flex:1,bgcolor:"#fff"})]})}var W=4;function x(){let o=yc(useId(),"reports-mf-widget-loader");return jsx(f,{id:o,"data-testid":"ReportsMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:W}).map((g,u)=>jsx(a,{children:jsxs(f,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(d,{variant:"rounded",width:32,height:32}),jsxs(a,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(d,{width:80,height:12.29}),jsxs(a,{sx:{display:"flex",gap:"4px"},children:[jsx(d,{width:50,height:12.29}),jsx(d,{width:125,height:12.29})]})]})]})},u))})}var F=({appCode:o})=>o===Cn.reports.code||o===Cn.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {p}from'./chunk-
|
|
1
|
+
import {p}from'./chunk-ZXIEFKKV.js';import {yc}from'./chunk-KFGQ2TZN.js';import {Bi}from'./chunk-4N5OYONN.js';import {useState,useId}from'react';import T from'@mui/material/Skeleton';import i from'@mui/material/Box';import {styled,Box}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:12,border:"1.03px solid"})),c=styled(Box)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
`;function d({mainIcon:B,overlayIcon:p$1,mainIconAlt:u="main icon",mainIconSize:t=20,containerSize:a=24,overlayPosition:b={top:10,left:17},borderColor:w="#F2F2F2",label:y="",sx:I,onError:W,containerSx:C}){let[e,s]=useState(true),F=yc(useId(),"icon-with-badge");return jsx(p,{title:y,children:jsx(i,{id:F,"data-testid":"IconWithBadge",display:"flex",alignItems:"center",gap:1,sx:{position:"relative",...C},children:jsxs(h,{style:{borderColor:w,width:a,height:a},children:[t&&e&&jsx(i,{width:t,height:t,children:e&&jsx(T,{variant:"circular",width:`${t}px`,height:`${t}px`})}),jsxs(Fragment,{children:[p$1&&jsx(c,{sx:b,children:p$1}),jsx(i,{width:t,height:t,component:"img",src:B||Bi,alt:u,sx:{borderRadius:"50%",objectFit:"scale-down",opacity:e?0:1,...I},onError:n=>{s(false),n.currentTarget.src=Bi,W?.(n);},onLoad:()=>{s(false);}})]})]})})})}var M=d;export{M as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a,d,b,c,j as j$1,e}from'./chunk-
|
|
1
|
+
import {a,d,b,c,j as j$1,e}from'./chunk-NNCMKQ5I.js';import {yc}from'./chunk-KFGQ2TZN.js';import {dc,ec}from'./chunk-4N5OYONN.js';import {memo,useId,useState}from'react';import ee from'@mui/material/ClickAwayListener';import te from'@mui/material/Popper';import {useTranslation}from'react-i18next';import {DateObject,Calendar}from'react-multi-date-picker';import i from'@mui/material/Box';import l from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var O=styled(l)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),z=styled(i)(()=>({position:"relative"})),H=styled(i,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({display:t?"flex":"none",flexDirection:"column",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),top:37,color:e.palette.text.primary,fontSize:"11px",margin:"8px 0",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"}})),j=styled(l,{shouldForwardProp:t=>t!=="open"})(({open:t,theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:500,padding:e.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,textTransform:"none",height:32,...t&&{border:"1px solid",borderColor:e.palette.info.dark,boxShadow:e.shadows[7]}})),A=styled(i)(({theme:t})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:8,padding:"16px",borderTop:`1px solid ${t.palette.divider}`})),E=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:t.palette.text.primary,border:"1px solid",borderColor:t.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:t.palette.text.primary}})),Y=styled(l)(({theme:t})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:t.palette.info.dark,"&:hover":{background:t.palette.info.dark}})),F=styled(i)(()=>({display:"flex",gap:"8px"}));var ne=["Su","Mo","Tu","We","Th","Fr","Sa"];function ae({isAr:t=false,value:e$1,setValue:y,enableTimePicker:p,placement:L,sx:R,...N}){let V=yc(useId(),"calender"),[w,k]=useState(null),[C,$]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),[D,g]=useState(e$1?new DateObject(new Date(e$1.toLocaleString())):new DateObject(new Date)),q=e$1?.hour?a(e$1.hour):d(),G=e$1?.hour?b(e$1.hour):b(new Date().getHours()),[a$1,J]=useState({hour:q,minute:e$1?.minute??c(),period:G}),{t:B}=useTranslation(),u=!!w,K=r=>r==="right"?t?dc:ec:t?ec:dc,Q=r=>{k(r.currentTarget);},f=()=>{k(null);},U=()=>{let r=a$1.hour;p&&(r=e(a$1.hour,a$1.period||"AM"));let d=p?D.setHour(r).setMinute(a$1.minute):D;$(d),y&&y(d),f();},X=r=>{J(r);};return jsx(ee,{onClickAway:f,children:jsxs(z,{sx:{...R},id:V,"data-testid":"Calender",children:[jsx(j,{onClick:Q,open:u,className:"date-button",children:C.format("MMM D, YYYY")}),jsx(te,{open:u,anchorEl:w,placement:L,children:jsxs(H,{className:"calender-content",open:u,children:[jsx(Calendar,{numberOfMonths:1,format:"MMM DD YYYY",monthYearSeparator:" ",renderButton:(r,d)=>jsx(O,{onClick:d,children:jsx("img",{src:K(r),alt:"arrow"})}),onMonthChange:r=>{g(r);},onYearChange:r=>{g(r);},onChange:r=>{g(r);},weekDays:t?void 0:ne,minDate:new Date,value:C,...N}),jsxs(A,{sx:{...p&&{justifyContent:"space-between"}},children:[p&&jsx(j$1,{enableRealTimeChange:true,onChange:X,defaultTime:a$1}),jsxs(F,{children:[jsx(E,{variant:"contained",onClick:f,children:B("cancel")}),jsx(Y,{variant:"contained",onClick:U,children:B("okay")})]})]})]})})]})})}var I=memo(ae);var Te=I;export{Te as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {f as f$1}from'./chunk-
|
|
1
|
+
import {f as f$1}from'./chunk-XVQZHMPL.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-RDTMVV43.js';import {r}from'./chunk-ZXIEFKKV.js';import {a}from'./chunk-MYZ75YJ6.js';import {yc,Fa,Ga,Ea,h}from'./chunk-KFGQ2TZN.js';import {Yc,Xc,Oc,Nc,Mc,Pc,Te}from'./chunk-4N5OYONN.js';import {useRef,useId,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import {createPortal}from'react-dom';import {styled,alpha}from'@mui/material';import oe from'@mui/material/Popover';import Je from'react-currency-input-field';import {jsx,Fragment,jsxs}from'react/jsx-runtime';var ne=styled("div")(({showWarning:e})=>({display:"flex",gap:"0.25rem",justifyContent:"flex-start",alignItems:"flex-start",padding:"0.25rem",borderRadius:"0.25rem",width:"14.25rem",minHeight:e?"3.6rem":"2.5rem"})),te=styled("div")(()=>({display:"flex",flexDirection:"column",width:"100%"})),re=styled("div")(()=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",flex:1})),ie=styled("div")(({theme:e,showWarning:o,showDropDown:t})=>({height:"2rem",border:o?`1px solid ${e.palette.common.red}24`:t?`1px solid ${e.palette.info.dark}`:`1px solid ${e.palette.grey[100]}`,borderRadius:o?"0.25rem 0.25rem 0rem 0rem":"0.25rem",display:"flex",alignItems:"center",justifyContent:"space-between",paddingRight:"0.5rem",paddingLeft:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",margin:0,zIndex:4e3,...t&&{boxShadow:`0px 0px 4px 0px ${e.palette.info.dark}80`}})),ae=styled("div")(({theme:e})=>({height:"1.1rem",borderRadius:"0rem 0rem 0.25rem 0.25rem",display:"flex",justifyContent:"flex-start",margin:0,alignItems:"center",background:e.palette.background.gradient.error,paddingLeft:"0.5rem"})),se=styled("p")(({theme:e})=>({color:e.palette.common.red,fontSize:"0.62rem",fontWeight:400,fontFamily:"Lato",padding:0,margin:0,paddingLeft:"0.25rem"})),de=styled("img")({height:"auto",width:"auto",verticalAlign:"top"}),le=styled("div")({display:"flex",flexDirection:"column",justifyContent:"center"}),ce=styled("div")({display:"flex",height:"0.8rem",alignItems:"center",width:"8.5rem"}),pe=styled(Je)(({theme:e,showWarning:o,disabled:t})=>({color:o?e.palette.common.red:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"4.5rem",height:"0.9rem",border:"none",outline:"none",textAlign:"right",padding:0,"&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},backgroundColor:"transparent",alignSelf:"flex-end","&::placeholder":{color:e.palette.grey.A400},...t&&{opacity:.3}})),me=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.8125rem",fontWeight:600,width:"5.2rem",border:"none",outline:"none",padding:0,margin:0,paddingLeft:16,textAlign:"right","&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-webkit-inner-spin-button":{appearance:"none",margin:0},alignSelf:"center"})),I=styled("p")(({theme:e,showWarning:o,showBottomPadding:t,autoMargin:i})=>({color:o?e.palette.common.red:e.palette.grey[700],fontSize:"0.625rem",fontWeight:500,padding:0,margin:0,height:t?"0.43rem":"auto",...t&&{lineHeight:"0.625",leadingTrim:"both",paddingBottom:"0.31rem"},...i&&{paddingBottom:"0.43rem",lineHeight:"0.625"}})),Ne=styled("div")({display:"flex"}),v=styled(Ne)(({limited:e,paddingTop:o,marginRightAuto:t})=>({paddingRight:"0.5rem",alignItems:"center",cursor:"pointer",...t&&{marginRight:"auto"},...e&&{width:"3rem"},...o&&{paddingTop:"0.31rem"}})),A=styled("p")(({theme:e})=>({color:e.palette.text.primary,fontSize:"0.68rem",fontWeight:500,margin:0,padding:0,textTransform:"capitalize",paddingRight:"0.25rem",paddingLeft:"0.2rem",lineHeight:"0.865"})),ue=styled("div")({width:0,height:0}),ge=styled(oe)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"0.25rem"}})),F=styled("div")(({theme:e,disabled:o,isRefundInProcess:t,warning:i,isHighlighted:a})=>({borderRadius:"0.3rem",backgroundColor:e.palette.common.white,border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,width:"2rem",height:"2rem",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",pointerEvents:o?"none":"auto",transition:"all 0.2s ease-in-out","&:hover":{border:`1px solid ${i?e.palette.common.red:e.palette.info.dark}`},...a&&{border:`1px solid ${e.palette.info.dark}`},...o&&{opacity:.3}})),H=styled("img")(()=>({width:"0.85rem",height:"0.85rem"})),fe=styled(oe)(({theme:e})=>({backgroundColor:"transparent",boxShadow:e.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem"}})),he=styled("div")(({showDaysMenu:e})=>({height:e?"4.5rem":"auto"})),ye=styled("div")(({theme:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:`1px solid ${e.palette.grey[100]}`,maxWidth:"9.25rem",height:"2.75rem",padding:"0.5rem",cursor:"pointer",gap:"0.31rem",flexDirection:"column",transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0px 0px 16px 0px ${alpha(e.palette.common.black,.13)}`}})),Ce=styled("img")(({spaceFromBottom:e,currencyPadding:o})=>({height:"0.4rem",width:"0.6rem",cursor:"pointer",marginBottom:e||o?"0":"auto",verticalAlign:"middle",...e&&{marginTop:"2px"}}));var Xe=({selectedCurrency:e,option:o,closeDropdown:t,handleSelectOption:i})=>{let{t:a$1}=useTranslation();return jsxs(ye,{onClick:()=>{i&&i(o.value,o?.currency),t();},children:[jsx(I,{showBottomPadding:true,showWarning:false,children:a$1(o.name)}),jsxs(ce,{children:[jsxs(v,{marginRightAuto:true,children:[jsx(a,{currencyCode:o?.currency??e,width:"0.76rem"}),jsx(A,{children:o?.currency??e})]}),jsx(me,{showWarning:false,children:Fa(o.value||0,o?.currency??e)})]})]})};function Ye({menuAnchor:e,showDropDown:o,selectedCurrency:t,options:i,closeDropdown:a,handleSelectOption:g}){return i.length<=1?null:jsx(fe,{open:o,anchorEl:e,anchorOrigin:{vertical:18,horizontal:-76},style:{backgroundColor:"transparent",zIndex:4e3,padding:0,margin:0},onClose:a,children:jsx(he,{children:i.map(f=>jsx(Fragment,{children:Xe({selectedCurrency:t,option:f,closeDropdown:a,handleSelectOption:g})}))})})}var $=Ye;function oo({showWarning:e,selectedCurrency:o,onAmountChange:t,amount:i,currencyConfig:a$2,toggleDropDown:g,showDropDown:f,showDropdownIcon:M,disabled:x,isLoading:h}){let{t:b}=useTranslation(),y=useRef(null),C=()=>{y.current&&y.current.click();};return jsxs(Fragment,{children:[jsxs(le,{children:[jsx(I,{showBottomPadding:true,showWarning:e,children:b("amount")}),jsxs(v,{limited:true,paddingTop:true,onClick:C,children:[jsx(a,{currencyCode:o,width:"0.76rem"}),jsx(A,{children:jsx(a$1,{currency:o})}),!e&&M&&jsx(Ce,{src:f?Yc:Xc,alt:"drop-down icon",currencyPadding:true})]})]}),jsx(ue,{ref:y,onClick:g}),h?jsx(r,{variant:"text",width:"100%",height:"100%"}):jsx(pe,{disabled:x,placeholder:a$2[o]?"0.000":"0.00",onValueChange:t,value:i,decimalsLimit:a$2[o]??2,showWarning:e||false,decimalScale:a$2[o]??2,autoFocus:true})]})}var B=oo;function so({anchorEl:e,initialAmount:o,options:t,onConfirm:i,handleClose:a,currency:g,isCheckMarkHighlighted:f}){let M=yc(useId(),"action-menu"),{t:x}=useTranslation(),[h$1,b]=useState(o?.toString()),[y,C]=useState(),[u,k]=useState(""),be=useRef(null),[R,E]=useState(false),[c,Se]=useState(g),j=false,[De,Ie]=useState(false),[ve,G]=useState(Oc),[Ae,K]=useState(Nc),Me=useRef(),ke=()=>{C(void 0),E(false);};useEffect(()=>{Me.current?.focus();},[De]);let Re=()=>{ke(),Ie(r=>!r);},Ee=!!e,We=r=>{E(p=>!p),C(r.currentTarget);},Pe=t?.find(r=>r.currency===c)?.value,Te$1=Fa(Pe||0,c),Oe=`${x("maxAllowed")} ${Te$1}`,Fe=`${x("minAllowed")} ${Ga(.1,c||"KWD")}`,He=r=>{let p=h(r);p>o?k(Oe):p<.1&&r!==void 0?k(Fe):k(""),b(r);},Le=(r,p)=>{let Ve=Ga(r||0,p||"KWD");b(Ve),Se(p||c);},U=r=>{C(void 0),E(false),a(r);},$e=()=>{K(Pc);},ze=()=>{K(Nc);},V=r=>{U(r);},Be=()=>{U();},je=()=>{G(Te);},Ge=()=>{G(Oc);},Ke=()=>{i?.(h(h$1),c),V();},Ue=!!u||!h$1;return createPortal(jsx(ge,{id:M,"data-testid":"ActionMenu",open:Ee,anchorEl:e,style:{backgroundColor:"transparent",zIndex:3e3},"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",anchorOrigin:{vertical:"top",horizontal:-234},ref:be,onClose:r=>{V(r);},children:jsxs(ne,{showWarning:!!u,children:[jsxs(te,{children:[jsxs(ie,{showWarning:!!u,showDropDown:R,children:[jsx(B,{showWarning:!!u,selectedCurrency:c,onAmountChange:He,amount:h$1,currencyConfig:Ea,toggleDropDown:We,showDropDown:!R,showDropdownIcon:(t?.length||0)>1}),jsx($,{showDropDown:R,menuAnchor:y,selectedCurrency:c,closeDropdown:Re,options:t??[],handleSelectOption:Le})]}),!!u&&jsxs(ae,{children:[jsx(de,{src:Mc,alt:"info"}),jsx(se,{children:u})]})]}),jsxs(re,{children:[jsx(F,{onMouseLeave:Ge,onMouseEnter:je,warning:true,role:"button",onClick:Be,children:jsx(H,{isRefundInProcess:j,src:ve,alt:"Cross icon"})}),jsx(F,{onMouseLeave:ze,onMouseEnter:$e,isRefundInProcess:j,disabled:Ue,role:"button",onClick:Ke,isHighlighted:f,children:jsx(H,{src:Ae,alt:"Check icon"})})]})]})}),document.body)}var xe=so;var jo=xe;export{$ as a,B as b,jo as c};
|