@tap-payments/os-micro-frontend-shared 0.3.247 → 0.3.248

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.
@@ -1 +1 @@
1
- import {z,x,B,C,A,m,h,o,b as b$1,p as p$1,n}from'../../_chunks/chunk-PI3EDHDX.js';import {a as a$1}from'../../_chunks/chunk-U256MJMM.js';import'../../_chunks/chunk-J7QYO7VF.js';import'../../_chunks/chunk-RCDGEYAF.js';import'../../_chunks/chunk-RELMZYBK.js';import'../../_chunks/chunk-RLD5CRLM.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-N4JQPHMV.js';import'../../_chunks/chunk-JR2SE6NE.js';import'../../_chunks/chunk-7YA2ZJK2.js';import'../../_chunks/chunk-TSYTKL7B.js';import'../../_chunks/chunk-FIYP3ZOV.js';import'../../_chunks/chunk-FOPADEWF.js';import'../../_chunks/chunk-WUP4TVDI.js';import'../../_chunks/chunk-5QXPAJWO.js';import'../../_chunks/chunk-6IIAQUUK.js';import'../../_chunks/chunk-2LEYPKDY.js';import'../../_chunks/chunk-BGLVDXUY.js';import'../../_chunks/chunk-Z4W7NSLP.js';import'../../_chunks/chunk-BOLP7MMA.js';import'../../_chunks/chunk-MSWKK36W.js';import'../../_chunks/chunk-K5ICBD7X.js';import'../../_chunks/chunk-L3YJCK4S.js';import'../../_chunks/chunk-LFUN2LDH.js';import'../../_chunks/chunk-ECTKELII.js';import'../../_chunks/chunk-O3S6R2ZW.js';import'../../_chunks/chunk-U6FITGCU.js';import'../../_chunks/chunk-UKTF67RR.js';import'../../_chunks/chunk-6TC3HE2J.js';import'../../_chunks/chunk-RWVFAVMU.js';import'../../_chunks/chunk-4S23GCB4.js';import'../../_chunks/chunk-V6DYLCV6.js';import'../../_chunks/chunk-BHSKFHRE.js';import'../../_chunks/chunk-TEX4F257.js';import'../../_chunks/chunk-OUR46KNI.js';import'../../_chunks/chunk-AFZXDM2P.js';import'../../_chunks/chunk-OFJUINIE.js';import'../../_chunks/chunk-NYJGWFJT.js';import'../../_chunks/chunk-6XFK3FBM.js';import'../../_chunks/chunk-Z7FUZSNV.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-HYQHLNHN.js';import'../../_chunks/chunk-LIL6WT4C.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-DZFU4QPT.js';import'../../_chunks/chunk-RMVM33KN.js';import'../../_chunks/chunk-ALCLM4Q4.js';import'../../_chunks/chunk-7HGWMTG5.js';import'../../_chunks/chunk-DCBLRIF5.js';import'../../_chunks/chunk-J2BWFYQR.js';import'../../_chunks/chunk-LXNWEXDA.js';import {a}from'../../_chunks/chunk-26JDD265.js';import'../../_chunks/chunk-XMBYYJDJ.js';import'../../_chunks/chunk-AIGHGP5B.js';import'../../_chunks/chunk-N2NRDIX7.js';import'../../_chunks/chunk-JO5WFWAJ.js';import'../../_chunks/chunk-N4FY6YQH.js';import'../../_chunks/chunk-WP2PBXEG.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-HROFC3Z7.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-BT3UVL7P.js';import'../../_chunks/chunk-B2YAQVYT.js';import'../../_chunks/chunk-7Y5OFXS3.js';import'../../_chunks/chunk-VXWMLX6J.js';import'../../_chunks/chunk-7UXWUUSC.js';import'../../_chunks/chunk-7BC26ES3.js';import'../../_chunks/chunk-WSJJHYS2.js';import'../../_chunks/chunk-OJNERB3L.js';import'../../_chunks/chunk-2TEDNP2G.js';import'../../_chunks/chunk-KZEFSEPK.js';import {b}from'../../_chunks/chunk-UF2EN2FL.js';import'../../_chunks/chunk-3MBZ55DP.js';import'../../_chunks/chunk-74T2P2DI.js';import'../../_chunks/chunk-UOSPFZFL.js';import'../../_chunks/chunk-Z6KCOMOK.js';import {j,L,B as B$1,x as x$1,p,R as R$1,h as h$1}from'../../_chunks/chunk-TNT6LPG6.js';import'../../_chunks/chunk-6BJANCV7.js';import {Bc,Wa,Ka}from'../../_chunks/chunk-BYJ7JVY3.js';import {Vj,Wj,Xj,Yj,H,Wc,dc,fc,ec,dl,el}from'../../_chunks/chunk-4FJ26UVI.js';import'../../_chunks/chunk-ZDBICST5.js';import {memo,createContext,useState,useMemo,useId,useRef,useEffect,useContext}from'react';import y from'@mui/material/Box';import ut from'@mui/material/Popper';import {useTranslation}from'react-i18next';import yt from'@mui/material/ClickAwayListener';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import q from'@mui/material/Button';import {Calendar,DateObject}from'react-multi-date-picker';import Ee from'react-date-object';import ht from'react-date-object/calendars/arabic';import Tt from'react-date-object/calendars/gregorian';import kt from'react-date-object/locales/arabic_en';import wt from'react-date-object/locales/gregorian_en';var co=styled(y)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),fe=styled(y)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),$=styled(y)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),_=styled(y)(()=>({width:12,height:12})),K=styled(y)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function Re({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a$1=m=>{i||p(m.currentTarget);},l=()=>{i&&p(null);},r=(m,T)=>{m.stopPropagation(),o(T);},g=useMemo(()=>n.map(A).filter(m=>!!m),[n]),c=g.some(m=>B(m,e)),x=c?e:t;return jsxs($,{onMouseEnter:a$1,onMouseLeave:l,onClick:()=>{o(x);},children:[c?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Wj,alt:"entity-timezone"}),jsx(a,{countryCode:x.countryCode}),jsx(K,{className:c?"selected":"",children:C(x)}),jsx(ut,{open:!!i,anchorEl:i,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(fe,{sx:{maxHeight:300},children:g.map(m=>{let T=B(m,e);return jsxs($,{onClick:G=>{r(G,m);},sx:{gap:"4px"},children:[T?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx(a,{countryCode:m.countryCode}),jsx(K,{className:T?"selected":"",children:C(m)})]},m.countryCode)})})})]})}function ve({zone:e,onChange:o}){let t=z(x());if(!t)return null;let n=B(t,e);return jsxs($,{onClick:()=>o(t),children:[n?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Vj,alt:"user-timezone"}),jsx(a,{countryCode:t.countryCode}),jsx(K,{className:n?"selected":"",children:C(t)})]})}function Ct({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a$1=!!i,l=z(x()),r=()=>{p(null);},g=m=>{o(m),r();},c=m=>{p(m.currentTarget);},x$1=B(e,l)?Vj:B(e,t)?Wj:Xj;return jsx(yt,{onClickAway:r,children:jsxs(co,{"data-testid":"ZonePicker",children:[jsxs(mo,{open:a$1,onClick:c,children:[jsx("img",{src:x$1,alt:"zone-icon"}),jsx(a,{countryCode:e.countryCode}),jsx("span",{children:C(e)})]}),jsx(ut,{open:a$1,anchorEl:i,placement:"top-start",sx:{zIndex:1400},children:jsxs(fe,{"data-testid":"ZonePicker_dropdown",children:[jsx(Re,{zone:e,onChange:g,defaultCountryZone:t,countryCodes:n}),jsx(ve,{zone:e,onChange:g})]})})]})})}var Se=memo(Ct);var fo=styled(y)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),go=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),xo=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),yo=styled(y)(()=>({display:"flex",gap:8,marginLeft:"auto",flexShrink:0})),bo=styled(q,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),Co=styled(y)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),Do=styled(y)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),ho=styled(y)(()=>({display:"flex",alignItems:"center",gap:"10px"})),To=styled(y)(()=>({position:"relative"})),ko=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"24px"})),wo=styled(y)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),Po=styled(y)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),Ro=styled(y)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}})),vo=styled(y)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}})),Bo=styled(q)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),So=styled(q)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),Oo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),Eo=styled(y,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Zo=styled(y)(()=>({width:235})),Io=styled(y)(()=>({display:"flex",gap:"4px"})),Ao=styled(y)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Oe({calendarMode:e,onCalendarModeChange:o}){let{t}=useTranslation();return jsx(y,{children:jsxs(vo,{children:[jsxs(y,{children:[jsx("img",{src:dc,alt:"hijri"}),jsx("span",{children:t("hijri")})]}),jsx(h$1,{checked:e==="hijri",onChange:()=>o?.(e==="hijri"?"gregorian":"hijri")})]})})}var P=e=>e==="hijri"?kt:wt,R=e=>e==="hijri"?ht:Tt,jo=(e,o)=>!e||Number.isNaN(e.getTime())?void 0:new Ee({date:e,calendar:R(o),locale:P(o)}),Ze=(e,o,t)=>{let n=jo(b$1(e?.[0],t),o),i=jo(b$1(e?.[1],t),o);if(n&&i)return [n,i];let p=R(o),a=P(o),l=b$1(Date.now(),t)??new Date;return [new Ee({date:new Date(l.getFullYear(),l.getMonth(),l.getDate()-6),calendar:p,locale:a}),new Ee({date:l,calendar:p,locale:a})]},Ho=(e,o)=>Math.round((Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/864e5),xe=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),ye=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),Ie=e=>!!e[1]&&e[0].format("YYYYMMDD")===e[1].format("YYYYMMDD");var Bt=31,ze=createContext(null);function v(){let e=useContext(ze);if(!e)throw new Error("useDateRangeCalendar must be used inside a DateRangeCalendar");return e}function Wo({zone:e,range:o$1,onApply:t,calendarMode:n$1="gregorian",maxRangeDays:i,groupBy:p,onGroupByChange:a}){let[l,r]=useState(()=>Ze(o$1,n$1,e.zone)),[g,c]=useState(l),[x,m]=useState(e),[T,G]=useState(p??"day"),[te,D]=useState(()=>o(o$1,e.zone)),[re,V]=useState(null),[ne,ae]=useState(false),S=useRef(null),L=!!re,s=i===void 0?Bt:i;useEffect(()=>{if(L)return;let d=Ze(o$1,n$1,e.zone);r(d),c(d),D(o(o$1,e.zone)),S.current&&S.current.set("date",d[0]);},[o$1,e.zone,e.countryCode,n$1,L]),useEffect(()=>{let d=u=>new DateObject({date:u.toDate(),calendar:R(n$1),locale:P(n$1)});r(u=>[d(u[0]),d(u[1])]),c(u=>[d(u[0]),d(u[1])]);},[n$1]),useEffect(()=>{m(d=>d.zone===e.zone&&d.countryCode===e.countryCode?d:e);},[e.zone,e.countryCode,L]);let k=d=>{let u=d;if(d.length<2||s===0)return u;let j=Ho(xe(d[0]).toDate(),ye(d[1]).toDate());return j<=s?u:(ae(true),setTimeout(()=>{ae(false);},3e3),[d[0],d[1].subtract(j-s,"d")])},rt=d=>{let u=k(d);r(u),D(!Ie(u));},nt=d=>{let u=k(d);r([xe(u[0]),ye(u[1])]),D(true),S.current&&S.current.set("date",u[0]);},at=d=>r(d),it=d=>{D(d),d&&l[1]&&r([xe(l[0]),ye(l[1])]);},_e=()=>V(null),pt=d=>V(d.currentTarget),lt=()=>{let d=[l[0].toDate(),l[1].toDate()];return {range:(te?p$1(d,x.zone):n(d,x.zone))??d,zone:x}},dt=()=>{t(lt())!==false&&(c(l),a?.(T),_e());},st=d=>{let u=d[0]?.format("MMM D"),j=d[1]?.format("MMM D")??u;return u?u===j?u:`${u} - ${j}`:j};return {draft:l,isAllDay:te,isSameDay:Ie(l),isError:ne,maxRangeDays:s,open:L,anchorEl:re,pickedZone:x,selectedGroupBy:T,calendarRef:S,maxDate:b$1(Date.now(),x.zone),rangeLabel:st(g),pickRange:rt,pickPreset:nt,setTimes:at,setAllDay:it,pickZone:m,setGroupBy:G,openPicker:pt,closePicker:_e,apply:dt}}var Go={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function Zt(){let{selectedGroupBy:e,setGroupBy:o,open:t}=v(),[n,i]=useState(null),p=!!n&&t,{t:a}=useTranslation();return jsx(yt,{onClickAway:()=>i(null),children:jsxs(y,{children:[jsx(wo,{children:a("groupedBy")}),jsxs(Mo,{onClick:l=>i(l.currentTarget),open:p,children:[jsx("span",{children:Go[e]}),jsx(y,{component:"img",src:Wc,alt:"arrow",sx:{...p&&{transform:"rotate(180deg)"}}})]}),jsx(R$1,{open:p,anchorEl:n,children:jsx(Po,{sx:{width:n?.clientWidth},children:Object.entries(Go).map(([l,r])=>jsx(Ro,{onClick:()=>{o(l),i(null);},className:e===l?"active":"",children:r},l))})})]})})}var Yo=Zt;var At=["Su","Mo","Tu","We","Th","Fr","Sa"];function zt({calendarMode:e}){let{draft:o,maxDate:t,calendarRef:n,pickRange:i}=v();return jsx(Calendar,{ref:n,numberOfMonths:2,value:o,onChange:i,calendar:R(e),locale:P(e),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(p,a)=>jsx(Bo,{onClick:a,children:jsx("img",{src:p==="right"?fc:ec,alt:"arrow"})}),weekDays:At,maxDate:t})}var No=zt;function He({calendarMode:e}){let{t:o}=useTranslation(),{pickedZone:t,pickPreset:n}=v(),i=useMemo(()=>{let p=b$1(Date.now(),t.zone)??new Date,a=()=>new DateObject({date:p,calendar:R(e),locale:P(e)}),l=r=>a().subtract(r,"month");return [{id:"today",value:[a(),a()]},{id:"lastWeek",value:[a().subtract(6,"day"),a()]},{id:"lastMonth",value:[a().subtract(30,"day"),a()]},...[1,2,3].map(r=>({id:l(r).toFirstOfMonth().format("MMMM YYYY"),value:[l(r).toFirstOfMonth(),l(r).toLastOfMonth()]}))]},[e,t.zone]);return jsx(y,{"data-testid":"RangePresets",children:jsx(Oo,{children:i.map(p=>jsx(So,{onClick:a=>{a.preventDefault(),n(p.value);},children:o(p.id)},p.id))})})}var Q=e=>e===0?12:e<=12?e:e-12,be=e=>e>=12?"PM":"AM",Ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e,$o=()=>new Date().getMinutes(),_o=()=>Q(new Date().getHours());var Ko=styled(y)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),Uo=styled(j,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:t})=>{let{base:n,grey:i,brand:p}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:n.white,border:`1px solid ${i[100]}`,borderRadius:"19px",height:t==="large"?32:24,width:t==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:p[500]}}}),J=styled(y)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),qo=styled(j,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>{let{base:t,grey:n,brand:i}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:t.white,border:`1px solid ${n[100]}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:i[500],backgroundColor:alpha(i[500],.1)}}}),Qo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),Xo=styled(y)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),We=styled(y)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),Fe=styled(L)(()=>({flexGrow:1,maxWidth:"100%",".MuiInput-input":{fontWeight:"500",fontSize:"11px",textAlign:"center"},".MuiInput-root":{paddingInline:"8px"},height:32,width:32}));var $t=["AM","PM"],he=12,Ge=59;function Te({onChange:e,defaultTime:o,enableRealTimeChange:t,size:n="large"}){let i=Bc(useId(),"time-picker"),[p,a]=useState(null),[l,r]=useState(o?.period??(new Date().getHours()>=he?"PM":"AM")),[g,c]=useState(o?.hour??_o()),[x,m]=useState(o?.minute??$o()),T=!!p;useEffect(()=>{t&&e?.({hour:g,minute:x,period:l});},[g,x,l,t]);let G=s=>{a(s.currentTarget);},te=()=>{a(null),e?.({hour:g,minute:x,period:l});},D=s=>s<10?`0${s}`:s.toString(),re=s=>{let k=Ka(D(Number(s.target.value)));if(k>he){s.preventDefault();return}c(k);},V=()=>{c(s=>s===he?1:s+1);},ne=()=>{c(s=>s===1?he:s-1);},ae=s=>{let k=Ka(D(Number(s.target.value)));if(k>Ge){s.preventDefault();return}m(k);},S=()=>{m(s=>s===Ge?(V(),0):s+1);},L=()=>{m(s=>s===0?(ne(),Ge):s-1);};return jsx(yt,{onClickAway:te,children:jsxs(y,{id:i,"data-testid":"TimePicker",children:[jsx(Uo,{size:n,open:T,onClick:G,children:`${D(g)}:${D(x)}${l.toLowerCase()}`}),jsx(R$1,{open:T,anchorEl:p,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(Ko,{children:[jsxs(Xo,{children:[jsxs(We,{children:[jsx(J,{onClick:V,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(g),onChange:re}),jsx(J,{onClick:ne,children:jsx("img",{src:el,alt:"arrow"})})]}),jsx(j,{children:":"}),jsxs(We,{children:[jsx(J,{onClick:S,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(x),onChange:ae}),jsx(J,{onClick:L,children:jsx("img",{src:el,alt:"arrow"})})]})]}),jsx(Qo,{children:$t.map(s=>jsx(qo,{onClick:()=>r(s),selected:l===s,children:s},s))})]})})]})})}function Kt(){let{t:e}=useTranslation(),{draft:o,isAllDay:t,setTimes:n,setAllDay:i}=v(),p=new DateObject(o[0]),a=new DateObject(o[1]),l=({hour:g,minute:c,period:x})=>{n([p.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(0),a]);},r=({hour:g,minute:c,period:x})=>{n([p,a.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(59)]);};return jsx(Zo,{children:jsxs(Ao,{children:[jsxs(Eo,{isAllDay:t,children:[jsx("span",{className:"label",children:e("allDay")}),jsx(h$1,{checked:t,onChange:g=>i(g.target.checked)})]}),!t&&jsxs(Io,{children:[jsx(Te,{defaultTime:{hour:Q(p.hour),minute:p.minute,period:be(p.hour)},size:"small",onChange:l,enableRealTimeChange:true},`${o[0]?.toString()}-start`),jsx(Te,{defaultTime:{hour:Q(a.hour),minute:a.minute,period:be(a.hour)},size:"small",onChange:r,enableRealTimeChange:true},`${o[1]?.toString()}-end`)]})]})})}var et=Kt;function Jt(e){let{calendarMode:o="gregorian",onCalendarModeChange:t,defaultCountryZone:n,countryCodes:i,groupBy:p}=e,{t:a}=useTranslation(),l=Bc(useId(),"date-range-calendar"),r=Wo(e),g=c=>{c.key==="Enter"&&r.draft[1]&&!r.isError?(c.stopPropagation(),r.apply()):c.key==="Escape"&&(c.stopPropagation(),r.closePicker());};return jsx(ze.Provider,{value:r,children:jsxs(To,{id:l,"data-testid":"DateRangeCalendar",children:[jsx(bo,{onClick:r.openPicker,open:r.open,children:r.rangeLabel}),r.open&&jsx(B$1,{onClick:c=>{c.stopPropagation(),r.closePicker();}}),jsx(ut,{open:r.open,anchorEl:r.anchorEl,placement:"bottom-end",children:jsxs(fo,{onKeyDown:g,children:[jsxs(Do,{children:[jsx(He,{calendarMode:o}),jsxs(ko,{children:[p&&jsx(Yo,{}),jsx(Oe,{calendarMode:o,onCalendarModeChange:t})]})]}),jsxs(y,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(No,{calendarMode:o}),jsx(x$1,{in:r.isError&&r.maxRangeDays>0,children:jsx(b,{severity:"error",message:a("dateRangeError",{number:r.maxRangeDays}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(Co,{sx:{borderBottomLeftRadius:"8px"},children:[n&&i&&jsx(ho,{children:jsx(Se,{zone:r.pickedZone,onChange:r.pickZone,defaultCountryZone:n,countryCodes:i},String(r.open))}),r.isSameDay&&jsx(et,{}),jsxs(yo,{children:[jsx(go,{variant:"contained",onClick:r.closePicker,children:a("cancel")}),jsx(xo,{variant:"contained",onClick:r.apply,disabled:!r.draft[1],children:a("okay")})]})]})]})]})})]})})}var ot=Jt;function or({value:e,zone:o,format:t,...n}){let i=useMemo(()=>m(e,o,t),[e,o,t]);return jsx(a$1,{...n,children:i})}var tr=or;var tt=styled(y)({display:"flex",alignItems:"center",gap:"12px"});function lr({value:e,zone:o,format:t,rendered:n,tableMode:i,...p}){let a=useMemo(()=>n??m(e,o,t),[n,e,o,t]);return jsx(a$1,{...p,children:jsx(tt,{children:jsx(y,{sx:{...Wa(i)&&{fontSize:"11px"}},children:a})})})}var Ne=lr;function cr({value:e,zone:o,hintZone:t,format:n,tableMode:i,...p$1}){let a=useMemo(()=>{if(!(!t||e==null||e===""))return h(o,t,e)?m(e,t):void 0},[e,o,t]);return jsxs(y,{sx:{display:"flex",gap:"8px"},children:[jsx(Ne,{value:e,zone:o,format:n,tableMode:i,...p$1}),a!==void 0&&jsx(p,{title:a,children:jsx("img",{src:H,width:14,alt:"timezone"})})]})}var mr=cr;export{ot as DateRangeCalendar,Se as ZonePicker,tr as ZonedDateCell,mr as ZonedDateHintViewer,Ne as ZonedDateViewer};
1
+ import {a as a$1}from'../../_chunks/chunk-LTKS5H2X.js';import'../../_chunks/chunk-RCDGEYAF.js';import'../../_chunks/chunk-RELMZYBK.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-N4JQPHMV.js';import'../../_chunks/chunk-J7QYO7VF.js';import'../../_chunks/chunk-H4TK4QZS.js';import'../../_chunks/chunk-TSYTKL7B.js';import'../../_chunks/chunk-FIYP3ZOV.js';import'../../_chunks/chunk-RLD5CRLM.js';import'../../_chunks/chunk-WUP4TVDI.js';import'../../_chunks/chunk-5QXPAJWO.js';import'../../_chunks/chunk-6IIAQUUK.js';import'../../_chunks/chunk-2LEYPKDY.js';import'../../_chunks/chunk-BGLVDXUY.js';import'../../_chunks/chunk-Z4W7NSLP.js';import'../../_chunks/chunk-BOLP7MMA.js';import'../../_chunks/chunk-JR2SE6NE.js';import'../../_chunks/chunk-K5ICBD7X.js';import'../../_chunks/chunk-L3YJCK4S.js';import'../../_chunks/chunk-LFUN2LDH.js';import'../../_chunks/chunk-ECTKELII.js';import'../../_chunks/chunk-O3S6R2ZW.js';import'../../_chunks/chunk-U6FITGCU.js';import'../../_chunks/chunk-FOPADEWF.js';import'../../_chunks/chunk-6TC3HE2J.js';import'../../_chunks/chunk-RWVFAVMU.js';import'../../_chunks/chunk-4S23GCB4.js';import'../../_chunks/chunk-V6DYLCV6.js';import'../../_chunks/chunk-BHSKFHRE.js';import'../../_chunks/chunk-TEX4F257.js';import'../../_chunks/chunk-MSWKK36W.js';import'../../_chunks/chunk-AFZXDM2P.js';import'../../_chunks/chunk-OFJUINIE.js';import'../../_chunks/chunk-NYJGWFJT.js';import'../../_chunks/chunk-6XFK3FBM.js';import'../../_chunks/chunk-Z7FUZSNV.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-HYQHLNHN.js';import'../../_chunks/chunk-LIL6WT4C.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-UKTF67RR.js';import'../../_chunks/chunk-DZFU4QPT.js';import'../../_chunks/chunk-RMVM33KN.js';import'../../_chunks/chunk-ALCLM4Q4.js';import'../../_chunks/chunk-7HGWMTG5.js';import'../../_chunks/chunk-DCBLRIF5.js';import'../../_chunks/chunk-J2BWFYQR.js';import'../../_chunks/chunk-OUR46KNI.js';import {a}from'../../_chunks/chunk-26JDD265.js';import'../../_chunks/chunk-XMBYYJDJ.js';import'../../_chunks/chunk-AIGHGP5B.js';import'../../_chunks/chunk-N2NRDIX7.js';import'../../_chunks/chunk-JO5WFWAJ.js';import'../../_chunks/chunk-N4FY6YQH.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-HROFC3Z7.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-BT3UVL7P.js';import'../../_chunks/chunk-B2YAQVYT.js';import'../../_chunks/chunk-7Y5OFXS3.js';import'../../_chunks/chunk-VXWMLX6J.js';import'../../_chunks/chunk-7UXWUUSC.js';import'../../_chunks/chunk-7BC26ES3.js';import'../../_chunks/chunk-LXNWEXDA.js';import'../../_chunks/chunk-WSJJHYS2.js';import'../../_chunks/chunk-OJNERB3L.js';import'../../_chunks/chunk-2TEDNP2G.js';import'../../_chunks/chunk-KZEFSEPK.js';import {b}from'../../_chunks/chunk-UF2EN2FL.js';import'../../_chunks/chunk-3MBZ55DP.js';import'../../_chunks/chunk-74T2P2DI.js';import'../../_chunks/chunk-UOSPFZFL.js';import'../../_chunks/chunk-Z6KCOMOK.js';import {j,L,B as B$1,x as x$1,p,R as R$1,h as h$1}from'../../_chunks/chunk-TNT6LPG6.js';import'../../_chunks/chunk-WP2PBXEG.js';import {z,x,B,C,A,m,h,o,b as b$1,p as p$1,n}from'../../_chunks/chunk-PI3EDHDX.js';import'../../_chunks/chunk-6BJANCV7.js';import {Bc,Wa,Ka}from'../../_chunks/chunk-BYJ7JVY3.js';import {Vj,Wj,Xj,Yj,H,Wc,dc,fc,ec,dl,el}from'../../_chunks/chunk-4FJ26UVI.js';import'../../_chunks/chunk-ZDBICST5.js';import {memo,createContext,useState,useMemo,useId,useRef,useEffect,useContext}from'react';import y from'@mui/material/Box';import ut from'@mui/material/Popper';import {useTranslation}from'react-i18next';import yt from'@mui/material/ClickAwayListener';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import q from'@mui/material/Button';import {Calendar,DateObject}from'react-multi-date-picker';import Ee from'react-date-object';import ht from'react-date-object/calendars/arabic';import Tt from'react-date-object/calendars/gregorian';import kt from'react-date-object/locales/arabic_en';import wt from'react-date-object/locales/gregorian_en';var co=styled(y)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),fe=styled(y)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),$=styled(y)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),_=styled(y)(()=>({width:12,height:12})),K=styled(y)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function Re({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a$1=m=>{i||p(m.currentTarget);},l=()=>{i&&p(null);},r=(m,T)=>{m.stopPropagation(),o(T);},g=useMemo(()=>n.map(A).filter(m=>!!m),[n]),c=g.some(m=>B(m,e)),x=c?e:t;return jsxs($,{onMouseEnter:a$1,onMouseLeave:l,onClick:()=>{o(x);},children:[c?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Wj,alt:"entity-timezone"}),jsx(a,{countryCode:x.countryCode}),jsx(K,{className:c?"selected":"",children:C(x)}),jsx(ut,{open:!!i,anchorEl:i,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(fe,{sx:{maxHeight:300},children:g.map(m=>{let T=B(m,e);return jsxs($,{onClick:G=>{r(G,m);},sx:{gap:"4px"},children:[T?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx(a,{countryCode:m.countryCode}),jsx(K,{className:T?"selected":"",children:C(m)})]},m.countryCode)})})})]})}function ve({zone:e,onChange:o}){let t=z(x());if(!t)return null;let n=B(t,e);return jsxs($,{onClick:()=>o(t),children:[n?jsx("img",{src:Yj,alt:"icon"}):jsx(_,{}),jsx("img",{src:Vj,alt:"user-timezone"}),jsx(a,{countryCode:t.countryCode}),jsx(K,{className:n?"selected":"",children:C(t)})]})}function Ct({zone:e,onChange:o,defaultCountryZone:t,countryCodes:n}){let[i,p]=useState(null),a$1=!!i,l=z(x()),r=()=>{p(null);},g=m=>{o(m),r();},c=m=>{p(m.currentTarget);},x$1=B(e,l)?Vj:B(e,t)?Wj:Xj;return jsx(yt,{onClickAway:r,children:jsxs(co,{"data-testid":"ZonePicker",children:[jsxs(mo,{open:a$1,onClick:c,children:[jsx("img",{src:x$1,alt:"zone-icon"}),jsx(a,{countryCode:e.countryCode}),jsx("span",{children:C(e)})]}),jsx(ut,{open:a$1,anchorEl:i,placement:"top-start",sx:{zIndex:1400},children:jsxs(fe,{"data-testid":"ZonePicker_dropdown",children:[jsx(Re,{zone:e,onChange:g,defaultCountryZone:t,countryCodes:n}),jsx(ve,{zone:e,onChange:g})]})})]})})}var Se=memo(Ct);var fo=styled(y)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),go=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),xo=styled(q)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),yo=styled(y)(()=>({display:"flex",gap:8,marginLeft:"auto",flexShrink:0})),bo=styled(q,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),Co=styled(y)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),Do=styled(y)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),ho=styled(y)(()=>({display:"flex",alignItems:"center",gap:"10px"})),To=styled(y)(()=>({position:"relative"})),ko=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"24px"})),wo=styled(y)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Mo=styled(y,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),Po=styled(y)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),Ro=styled(y)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}})),vo=styled(y)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}})),Bo=styled(q)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}})),So=styled(q)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),Oo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),Eo=styled(y,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Zo=styled(y)(()=>({width:235})),Io=styled(y)(()=>({display:"flex",gap:"4px"})),Ao=styled(y)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Oe({calendarMode:e,onCalendarModeChange:o}){let{t}=useTranslation();return jsx(y,{children:jsxs(vo,{children:[jsxs(y,{children:[jsx("img",{src:dc,alt:"hijri"}),jsx("span",{children:t("hijri")})]}),jsx(h$1,{checked:e==="hijri",onChange:()=>o?.(e==="hijri"?"gregorian":"hijri")})]})})}var P=e=>e==="hijri"?kt:wt,R=e=>e==="hijri"?ht:Tt,jo=(e,o)=>!e||Number.isNaN(e.getTime())?void 0:new Ee({date:e,calendar:R(o),locale:P(o)}),Ze=(e,o,t)=>{let n=jo(b$1(e?.[0],t),o),i=jo(b$1(e?.[1],t),o);if(n&&i)return [n,i];let p=R(o),a=P(o),l=b$1(Date.now(),t)??new Date;return [new Ee({date:new Date(l.getFullYear(),l.getMonth(),l.getDate()-6),calendar:p,locale:a}),new Ee({date:l,calendar:p,locale:a})]},Ho=(e,o)=>Math.round((Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/864e5),xe=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),ye=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),Ie=e=>!!e[1]&&e[0].format("YYYYMMDD")===e[1].format("YYYYMMDD");var Bt=31,ze=createContext(null);function v(){let e=useContext(ze);if(!e)throw new Error("useDateRangeCalendar must be used inside a DateRangeCalendar");return e}function Wo({zone:e,range:o$1,onApply:t,calendarMode:n$1="gregorian",maxRangeDays:i,groupBy:p,onGroupByChange:a}){let[l,r]=useState(()=>Ze(o$1,n$1,e.zone)),[g,c]=useState(l),[x,m]=useState(e),[T,G]=useState(p??"day"),[te,D]=useState(()=>o(o$1,e.zone)),[re,V]=useState(null),[ne,ae]=useState(false),S=useRef(null),L=!!re,s=i===void 0?Bt:i;useEffect(()=>{if(L)return;let d=Ze(o$1,n$1,e.zone);r(d),c(d),D(o(o$1,e.zone)),S.current&&S.current.set("date",d[0]);},[o$1,e.zone,e.countryCode,n$1,L]),useEffect(()=>{let d=u=>new DateObject({date:u.toDate(),calendar:R(n$1),locale:P(n$1)});r(u=>[d(u[0]),d(u[1])]),c(u=>[d(u[0]),d(u[1])]);},[n$1]),useEffect(()=>{m(d=>d.zone===e.zone&&d.countryCode===e.countryCode?d:e);},[e.zone,e.countryCode,L]);let k=d=>{let u=d;if(d.length<2||s===0)return u;let j=Ho(xe(d[0]).toDate(),ye(d[1]).toDate());return j<=s?u:(ae(true),setTimeout(()=>{ae(false);},3e3),[d[0],d[1].subtract(j-s,"d")])},rt=d=>{let u=k(d);r(u),D(!Ie(u));},nt=d=>{let u=k(d);r([xe(u[0]),ye(u[1])]),D(true),S.current&&S.current.set("date",u[0]);},at=d=>r(d),it=d=>{D(d),d&&l[1]&&r([xe(l[0]),ye(l[1])]);},_e=()=>V(null),pt=d=>V(d.currentTarget),lt=()=>{let d=[l[0].toDate(),l[1].toDate()];return {range:(te?p$1(d,x.zone):n(d,x.zone))??d,zone:x}},dt=()=>{t(lt())!==false&&(c(l),a?.(T),_e());},st=d=>{let u=d[0]?.format("MMM D"),j=d[1]?.format("MMM D")??u;return u?u===j?u:`${u} - ${j}`:j};return {draft:l,isAllDay:te,isSameDay:Ie(l),isError:ne,maxRangeDays:s,open:L,anchorEl:re,pickedZone:x,selectedGroupBy:T,calendarRef:S,maxDate:b$1(Date.now(),x.zone),rangeLabel:st(g),pickRange:rt,pickPreset:nt,setTimes:at,setAllDay:it,pickZone:m,setGroupBy:G,openPicker:pt,closePicker:_e,apply:dt}}var Go={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function Zt(){let{selectedGroupBy:e,setGroupBy:o,open:t}=v(),[n,i]=useState(null),p=!!n&&t,{t:a}=useTranslation();return jsx(yt,{onClickAway:()=>i(null),children:jsxs(y,{children:[jsx(wo,{children:a("groupedBy")}),jsxs(Mo,{onClick:l=>i(l.currentTarget),open:p,children:[jsx("span",{children:Go[e]}),jsx(y,{component:"img",src:Wc,alt:"arrow",sx:{...p&&{transform:"rotate(180deg)"}}})]}),jsx(R$1,{open:p,anchorEl:n,children:jsx(Po,{sx:{width:n?.clientWidth},children:Object.entries(Go).map(([l,r])=>jsx(Ro,{onClick:()=>{o(l),i(null);},className:e===l?"active":"",children:r},l))})})]})})}var Yo=Zt;var At=["Su","Mo","Tu","We","Th","Fr","Sa"];function zt({calendarMode:e}){let{draft:o,maxDate:t,calendarRef:n,pickRange:i}=v();return jsx(Calendar,{ref:n,numberOfMonths:2,value:o,onChange:i,calendar:R(e),locale:P(e),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(p,a)=>jsx(Bo,{onClick:a,children:jsx("img",{src:p==="right"?fc:ec,alt:"arrow"})}),weekDays:At,maxDate:t})}var No=zt;function He({calendarMode:e}){let{t:o}=useTranslation(),{pickedZone:t,pickPreset:n}=v(),i=useMemo(()=>{let p=b$1(Date.now(),t.zone)??new Date,a=()=>new DateObject({date:p,calendar:R(e),locale:P(e)}),l=r=>a().subtract(r,"month");return [{id:"today",value:[a(),a()]},{id:"lastWeek",value:[a().subtract(6,"day"),a()]},{id:"lastMonth",value:[a().subtract(30,"day"),a()]},...[1,2,3].map(r=>({id:l(r).toFirstOfMonth().format("MMMM YYYY"),value:[l(r).toFirstOfMonth(),l(r).toLastOfMonth()]}))]},[e,t.zone]);return jsx(y,{"data-testid":"RangePresets",children:jsx(Oo,{children:i.map(p=>jsx(So,{onClick:a=>{a.preventDefault(),n(p.value);},children:o(p.id)},p.id))})})}var Q=e=>e===0?12:e<=12?e:e-12,be=e=>e>=12?"PM":"AM",Ce=(e,o)=>o==="AM"&&e===12?0:o==="PM"&&e!==12?e+12:e,$o=()=>new Date().getMinutes(),_o=()=>Q(new Date().getHours());var Ko=styled(y)(()=>({width:157,padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"})),Uo=styled(j,{shouldForwardProp:e=>e!=="open"&&e!=="size"})(({theme:e,open:o,size:t})=>{let{base:n,grey:i,brand:p}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:n.white,border:`1px solid ${i[100]}`,borderRadius:"19px",height:t==="large"?32:24,width:t==="large"?74:58,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{boxShadow:"0px 0px 4px 0px #1F88D080",borderColor:p[500]}}}),J=styled(y)(()=>({textAlign:"center",cursor:"pointer",userSelect:"none"})),qo=styled(j,{shouldForwardProp:e=>e!=="selected"})(({theme:e,selected:o})=>{let{base:t,grey:n,brand:i}=e.v2.palette;return {fontSize:"11px",fontWeight:500,background:t.white,border:`1px solid ${n[100]}`,borderRadius:"4px",height:24,width:33,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",...o&&{borderColor:"transparent",color:i[500],backgroundColor:alpha(i[500],.1)}}}),Qo=styled(y)(()=>({display:"flex",flexDirection:"column",gap:"4px"})),Xo=styled(y)(()=>({display:"flex",alignItems:"center",justifyContent:"center",gap:"4px"})),We=styled(y)(()=>({display:"flex",flexDirection:"column",justifyContent:"center",gap:"6px"})),Fe=styled(L)(()=>({flexGrow:1,maxWidth:"100%",".MuiInput-input":{fontWeight:"500",fontSize:"11px",textAlign:"center"},".MuiInput-root":{paddingInline:"8px"},height:32,width:32}));var $t=["AM","PM"],he=12,Ge=59;function Te({onChange:e,defaultTime:o,enableRealTimeChange:t,size:n="large"}){let i=Bc(useId(),"time-picker"),[p,a]=useState(null),[l,r]=useState(o?.period??(new Date().getHours()>=he?"PM":"AM")),[g,c]=useState(o?.hour??_o()),[x,m]=useState(o?.minute??$o()),T=!!p;useEffect(()=>{t&&e?.({hour:g,minute:x,period:l});},[g,x,l,t]);let G=s=>{a(s.currentTarget);},te=()=>{a(null),e?.({hour:g,minute:x,period:l});},D=s=>s<10?`0${s}`:s.toString(),re=s=>{let k=Ka(D(Number(s.target.value)));if(k>he){s.preventDefault();return}c(k);},V=()=>{c(s=>s===he?1:s+1);},ne=()=>{c(s=>s===1?he:s-1);},ae=s=>{let k=Ka(D(Number(s.target.value)));if(k>Ge){s.preventDefault();return}m(k);},S=()=>{m(s=>s===Ge?(V(),0):s+1);},L=()=>{m(s=>s===0?(ne(),Ge):s-1);};return jsx(yt,{onClickAway:te,children:jsxs(y,{id:i,"data-testid":"TimePicker",children:[jsx(Uo,{size:n,open:T,onClick:G,children:`${D(g)}:${D(x)}${l.toLowerCase()}`}),jsx(R$1,{open:T,anchorEl:p,placement:"top-start",sx:{marginTop:"8px",marginBottom:"8px"},children:jsxs(Ko,{children:[jsxs(Xo,{children:[jsxs(We,{children:[jsx(J,{onClick:V,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(g),onChange:re}),jsx(J,{onClick:ne,children:jsx("img",{src:el,alt:"arrow"})})]}),jsx(j,{children:":"}),jsxs(We,{children:[jsx(J,{onClick:S,children:jsx("img",{src:dl,alt:"arrow"})}),jsx(Fe,{type:"number",hideArrows:true,disableFocusRing:true,value:D(x),onChange:ae}),jsx(J,{onClick:L,children:jsx("img",{src:el,alt:"arrow"})})]})]}),jsx(Qo,{children:$t.map(s=>jsx(qo,{onClick:()=>r(s),selected:l===s,children:s},s))})]})})]})})}function Kt(){let{t:e}=useTranslation(),{draft:o,isAllDay:t,setTimes:n,setAllDay:i}=v(),p=new DateObject(o[0]),a=new DateObject(o[1]),l=({hour:g,minute:c,period:x})=>{n([p.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(0),a]);},r=({hour:g,minute:c,period:x})=>{n([p,a.setHour(Ce(g,x??"AM")).setMinute(c).setSecond(59)]);};return jsx(Zo,{children:jsxs(Ao,{children:[jsxs(Eo,{isAllDay:t,children:[jsx("span",{className:"label",children:e("allDay")}),jsx(h$1,{checked:t,onChange:g=>i(g.target.checked)})]}),!t&&jsxs(Io,{children:[jsx(Te,{defaultTime:{hour:Q(p.hour),minute:p.minute,period:be(p.hour)},size:"small",onChange:l,enableRealTimeChange:true},`${o[0]?.toString()}-start`),jsx(Te,{defaultTime:{hour:Q(a.hour),minute:a.minute,period:be(a.hour)},size:"small",onChange:r,enableRealTimeChange:true},`${o[1]?.toString()}-end`)]})]})})}var et=Kt;function Jt(e){let{calendarMode:o="gregorian",onCalendarModeChange:t,defaultCountryZone:n,countryCodes:i,groupBy:p}=e,{t:a}=useTranslation(),l=Bc(useId(),"date-range-calendar"),r=Wo(e),g=c=>{c.key==="Enter"&&r.draft[1]&&!r.isError?(c.stopPropagation(),r.apply()):c.key==="Escape"&&(c.stopPropagation(),r.closePicker());};return jsx(ze.Provider,{value:r,children:jsxs(To,{id:l,"data-testid":"DateRangeCalendar",children:[jsx(bo,{onClick:r.openPicker,open:r.open,children:r.rangeLabel}),r.open&&jsx(B$1,{onClick:c=>{c.stopPropagation(),r.closePicker();}}),jsx(ut,{open:r.open,anchorEl:r.anchorEl,placement:"bottom-end",children:jsxs(fo,{onKeyDown:g,children:[jsxs(Do,{children:[jsx(He,{calendarMode:o}),jsxs(ko,{children:[p&&jsx(Yo,{}),jsx(Oe,{calendarMode:o,onCalendarModeChange:t})]})]}),jsxs(y,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(No,{calendarMode:o}),jsx(x$1,{in:r.isError&&r.maxRangeDays>0,children:jsx(b,{severity:"error",message:a("dateRangeError",{number:r.maxRangeDays}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(Co,{sx:{borderBottomLeftRadius:"8px"},children:[n&&i&&jsx(ho,{children:jsx(Se,{zone:r.pickedZone,onChange:r.pickZone,defaultCountryZone:n,countryCodes:i},String(r.open))}),r.isSameDay&&jsx(et,{}),jsxs(yo,{children:[jsx(go,{variant:"contained",onClick:r.closePicker,children:a("cancel")}),jsx(xo,{variant:"contained",onClick:r.apply,disabled:!r.draft[1],children:a("okay")})]})]})]})]})})]})})}var ot=Jt;function or({value:e,zone:o,format:t,...n}){let i=useMemo(()=>m(e,o,t),[e,o,t]);return jsx(a$1,{...n,children:i})}var tr=or;var tt=styled(y)({display:"flex",alignItems:"center",gap:"12px"});function lr({value:e,zone:o,format:t,rendered:n,tableMode:i,...p}){let a=useMemo(()=>n??m(e,o,t),[n,e,o,t]);return jsx(a$1,{...p,children:jsx(tt,{children:jsx(y,{sx:{...Wa(i)&&{fontSize:"11px"}},children:a})})})}var Ne=lr;function cr({value:e,zone:o,hintZone:t,format:n,tableMode:i,...p$1}){let a=useMemo(()=>{if(!(!t||e==null||e===""))return h(o,t,e)?m(e,t):void 0},[e,o,t]);return jsxs(y,{sx:{display:"flex",gap:"8px"},children:[jsx(Ne,{value:e,zone:o,format:n,tableMode:i,...p$1}),a!==void 0&&jsx(p,{title:a,children:jsx("img",{src:H,width:14,alt:"timezone"})})]})}var mr=cr;export{ot as DateRangeCalendar,Se as ZonePicker,tr as ZonedDateCell,mr as ZonedDateHintViewer,Ne as ZonedDateViewer};
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{N as ActionCell,P as ActionIconColumn,L as ActionIconsVariants,O as ActionsColumn,ta as AgreementCell,Q as AgreementIcon,F as AmountCell,x as AmountCellContainer,H as AmountCellSheet,G as AmountCellText,C as AmountConversionTooltipLabel,xc as AppServices,yc as AppServicesBar,bb as ApplicationStatusCell,ua as AuthCell,S as AuthIcons,R as AuthSourceAnimation,Oa as AuthenticationCell,Wc as AuthenticationMode,sa as AuthenticationModeBadge,Ea as AuthenticationStatusCell,Fa as AuthenticationTypeCell,Uc as AuthenticationTypeFilter,U as AuthorizationAutoIcons,V as AuthorizedIcon,i as AvatarStyled,d as BadgeWrapper,la as BalanceCell,ma as BalanceCellSheet,za as BankCell,Ma as BankReferenceCell,Wa as BrandCell,fb as BrandsCell,Bc as CancelButton,k as CaptureTextLabel,Ga as ChannelsCell,Ua as ChargeStatus,W as ChargeStatusIcon,Pa as CheckoutStatusCell,y as ConversionBadge,A as ConversionTooltip,B as ConversionTooltipRow,D as ConversionTypeLabel,g as CountBadge,Gc as CountriesItem,Hc as CurrenciesItem,Ka as CurrencyCell,E as CurrencyInfo,z as CurrencySpan,v as CustomerCell,w as CustomerCellSheet,X as CustomerInitiatedIcon,s as DateCell,Xc as DateFilter,r as DateViewer,ha as DestinationCell,ia as DestinationCellSheet,ja as DestinationCellText,fa as DestinationIcon,Ca as DestinationStatusCell,ga as DeviceCell,Z as DeviceIconChip,_ as DisputeIcon,Ha as DueDateCell,ab as EntityCell,Dc as FilterDropdown,zc as Footer,b as GeographyBox,Y as GeographyIcon,M as IDButton,Jc as ID_SEPERATOR,h as IdButtonContainer,eb as IndividualsCell,Qa as IntentsStatusCell,Sa as InvoiceStatusCell,$ as IssuerIcon,ib as LeadStatusCell,mb as LinkCell,Zc as ListColumnFilter,wc as ListHeader,vc as ListHeaderToolbarAside,db as MarketPlaceCell,Ec as MerchantItem,Nc as MerchantsFilterItem,Xa as MetadataCell,Ac as OkayButton,t as OrderCell,u as OrderCellSheet,nb as OrdersCellSheet,jb as PaymentAgreementCellSheet,oa as PaymentCardNumberSource,Tc as PaymentInitiated,pa as PaymentMethodSource,Rc as PaymentMethods,ra as PaymentSchemeSource,Sc as PaymentSchemes,Vc as PaymentSourceFilter,qa as PaymentTypeSource,La as PayoutDateCell,aa as PayoutIcon,Ya as PayoutReportCell,Aa as PayoutStatusCell,Oc as PhoneFilter,q as PiePercentage,Ia as ProductsCell,kb as ProviderCell,lb as PurposeCell,Za as ReceiptCell,_a as ReceiptCellSheet,$a as ReceiptCellText,Na as ReferenceCell,Yc as ReferenceTypeFilter,Ra as RefundChargeCell,ba as RefundIcon,wa as RefundStateIcon,xa as RefundStatusCell,va as RefundStatusIcon,Ba as RefundTooltipView,Fc as RetailersItem,Kc as SEARCH_THRESHOLD,gb as SalesChannelCell,hb as SalesChannelCellSheet,cb as SegmentsCell,na as SourceCell,da as SourceIcon,ea as SourceIcons,f as StarBadgeWrapper,I as StatusCell,n as StatusCellContainer,J as StatusCellSheet,K as StatusCellText,Qc as StatusFilter,p as StatusIcon,o as StatusIconWrapper,m as StyledTextTableCell,a as TableCell,j as TextLabel,Ja as TextTableCell,Ta as TextWithBadgeCell,e as TimeZone,Va as TokenStatusCell,c as TransparentButton,Ic as TreeLevel,cd as VerificationIcon,$c as VerificationIconStatus,Pc as ViewColumnRadioFilter,T as VoidAutoIcon,l as VoidTextLabel,ya as WalletCell,Da as authenticationStatusIcons,Mc as createTreeDefinitions,ka as generateDestinationTooltip,Lc as generateIdFromParts,ca as getPaymentMethodKey,bd as iconVariantBG,ad as iconVariantMap,oc as useCustomTableViews,Cc as useFilterDropdown,_c as verificationIconClassNames}from'./_chunks/chunk-U256MJMM.js';export{a as SelectedState,c as TreeDropdown,b as TreeManager}from'./_chunks/chunk-J7QYO7VF.js';export{d as ColumnFilter,b as Inputs,t as LastRowContent,c as List,A as ListItemWrapperWithCard,q as RowErrorState,$ as SheetViewVirtualTable,h as StyledCell,u as StyledItemWrapper,o as TableError,k as TableLastItem,m as TableLoading,x as TableLoadingWithCard,p as TableNoData,y as TableNoDataWithCard,r as TableRow,l as TableRowLoading,w as TableRowLoadingWithCard,z as TableRowWithCard,e as VirtualScrollInner,g as VirtualScrollList,f as VirtualScrollOuter,v as VirtualTable,j as VirtualTableHeader,B as VirtualTableWithCard}from'./_chunks/chunk-RCDGEYAF.js';export{b as ListItem,a as WidgetList}from'./_chunks/chunk-RELMZYBK.js';export{c as DownloadButton,b as DownloadIconButton,d as TableReports,a as useDownloadReport}from'./_chunks/chunk-RLD5CRLM.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{a as Timeline}from'./_chunks/chunk-XB7FBOZY.js';export{b as ToggleView,a as ToggleViews}from'./_chunks/chunk-N4JQPHMV.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-JR2SE6NE.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-7YA2ZJK2.js';export{a as StatusBar}from'./_chunks/chunk-TSYTKL7B.js';export{h as StatusLabel}from'./_chunks/chunk-FIYP3ZOV.js';export{a as ProgressRing}from'./_chunks/chunk-FOPADEWF.js';export{a as RadioGroup}from'./_chunks/chunk-WUP4TVDI.js';export{a as RangeCalender}from'./_chunks/chunk-5QXPAJWO.js';import'./_chunks/chunk-6IIAQUUK.js';export{a as RightLeftExpandingCenterChip}from'./_chunks/chunk-2LEYPKDY.js';export{a as SearchButton}from'./_chunks/chunk-BGLVDXUY.js';export{a as ChevronIcon,b as StatusButton}from'./_chunks/chunk-Z4W7NSLP.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-BOLP7MMA.js';export{a as MFWidgetLoader}from'./_chunks/chunk-MSWKK36W.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-K5ICBD7X.js';export{a as MultiSelect}from'./_chunks/chunk-L3YJCK4S.js';export{b as Dropdown,c as NestedDropdown,a as NestedMenuItem}from'./_chunks/chunk-LFUN2LDH.js';export{b as NestedMultiSelect,a as nestedMultiSelectClassNames}from'./_chunks/chunk-ECTKELII.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-O3S6R2ZW.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-U6FITGCU.js';export{a as Select}from'./_chunks/chunk-UKTF67RR.js';export{a as FooterButton,d as JSONTitleBar,j as JSONViewer,f as JSONViewerList,e as JsonViewerDialogContext,g as JsonViewerDialogContextProvider,i as useJsonViewerContext}from'./_chunks/chunk-6TC3HE2J.js';export{c as TableFooter}from'./_chunks/chunk-RWVFAVMU.js';export{a as LeftPeekRightExpandingChip}from'./_chunks/chunk-4S23GCB4.js';export{a as ListLayout}from'./_chunks/chunk-V6DYLCV6.js';export{a as Loader}from'./_chunks/chunk-BHSKFHRE.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-TEX4F257.js';export{a as FlippingCard}from'./_chunks/chunk-OUR46KNI.js';export{a as FormSelect}from'./_chunks/chunk-AFZXDM2P.js';import'./_chunks/chunk-OFJUINIE.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-NYJGWFJT.js';export{b as HeatMap}from'./_chunks/chunk-6XFK3FBM.js';import'./_chunks/chunk-Z7FUZSNV.js';export{b as ImageWrapper}from'./_chunks/chunk-ZONDSLTR.js';export{a as SelectBase}from'./_chunks/chunk-HYQHLNHN.js';export{h as SelectBaseMultiple}from'./_chunks/chunk-LIL6WT4C.js';import'./_chunks/chunk-HDCNWBW5.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-DZFU4QPT.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-RMVM33KN.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-ALCLM4Q4.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-7HGWMTG5.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-DCBLRIF5.js';export{d as FilterCancelButton,b as FilterFooter,c as FilterOkayButton,a as FilterTitle}from'./_chunks/chunk-J2BWFYQR.js';export{a as CountryFilter}from'./_chunks/chunk-LXNWEXDA.js';export{a as CountryFlag}from'./_chunks/chunk-26JDD265.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-XMBYYJDJ.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-AIGHGP5B.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-N2NRDIX7.js';export{a as CurrencySymbol}from'./_chunks/chunk-JO5WFWAJ.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-N4FY6YQH.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-WP2PBXEG.js';import'./_chunks/chunk-FQ2VMVUY.js';export{a as Autocomplete}from'./_chunks/chunk-HROFC3Z7.js';import'./_chunks/chunk-MUR4ILTY.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-BT3UVL7P.js';export{a as Calender}from'./_chunks/chunk-B2YAQVYT.js';export{j as Timepicker}from'./_chunks/chunk-7Y5OFXS3.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-VXWMLX6J.js';export{a as ColorPicker}from'./_chunks/chunk-7UXWUUSC.js';export{b as ConfirmDialogProvider,a as useConfirm}from'./_chunks/chunk-7BC26ES3.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-WSJJHYS2.js';export{a as ActiveFilterChip}from'./_chunks/chunk-OJNERB3L.js';import'./_chunks/chunk-2TEDNP2G.js';export{f as DropdownMenu,e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent}from'./_chunks/chunk-KZEFSEPK.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-UF2EN2FL.js';export{a as AnimatedSpinnerIcon}from'./_chunks/chunk-3MBZ55DP.js';export{d as AccountHeaderTitle,j as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,l as AppWindowHeader,m as AppWindowWrapper,h as StyledFooter,i as StyledHideButton,e as StyledMenuLink,f as StyledSubmitButton,g as SubmitButtonWrapper}from'./_chunks/chunk-74T2P2DI.js';export{a as StyledHeaderWrapper,c as StyledHeaderWrapperStyled,d as Toolbar}from'./_chunks/chunk-UOSPFZFL.js';export{a as CloseIcon,d as ExpandButton,c as MaximizeIcon,b as MinimizeIcon}from'./_chunks/chunk-Z6KCOMOK.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-TNT6LPG6.js';export{l as useAppEventListener,k as useAppEventPublisher,j as useAppsInfo,d as useBadgesCount,e as useCheckUserLoggedIn,q as useColumnFiltersGate,i as useCountdown,c as useDelayToSetValue,r as useFilterKeyDown,b as useMouseState,p as useNetworkState,s as useScrollWithShadow,o as useScrolledTo,m as useSelectedMerchantDetails,g as useStickyHeaderShadow,f as useTableViews,h as useThemeMode,n as useToast,a as useWindowDimensions}from'./_chunks/chunk-6BJANCV7.js';export{sc as DEFAULT_SKELETON_WIDTHS,ic as SELECTION_COLORS,lc as alignToJustifyContent,ua as api,xc as applyColumnFiltersGate,Yb as areFilesEqual,Sb as backendErrorHandler,Ta as calculateMaxAllowedRows,cb as capitalizeFirstLetter,gb as capitalizeString,t as changeDateTimezone,ta as clearTapOsLocalStorage,Da as conversionTypesLabels,r as convertCalendarDateToUTC,Ka as convertToNumber,s as convertUTCtoLocalDate,bb as copyText,Ea as currencyConfig,Kb as downloadFile,pb as extractIdsFromRowData,Db as filterShownColumns,Ha as formatAmount,Ia as formatAmountWithCurrency,x as formatCellDate,Ga as formatCurrencyWithInput,y as formatDate,Pa as formatFlagDate,H as formatInTimezone,Ac as formatLogDate,g as formatNumber,f as formatOrdinal,Oa as formatPayoutDate,C as formatRelativeTimeWithinHour,A as formatSecondsAsTime,n as formatUTCOffset,F as generateBirthYearList,jb as generateChargeErrors,u as generateDayList,v as generateMonthList,G as generatePastYearList,$b as generateReportLocalStorageKey,tc as generateSkeletonColumns,ab as generateUniqueUUID,w as generateYearList,l as getAmountPlaceholder,Ob as getApiErrorMessage,Tb as getApp,wa as getBrowserName,L as getBusinessSegmentConfig,fa as getCalenderTimezone,ga as getCalenderTimezoneHistory,hb as getCardNumber,Sa as getCellWidth,Eb as getColumnOrderFromViews,Ra as getColumnWidthPercentage,Bc as getComponentId,Ja as getConversion,La as getCountryNameByISO,o as getDefaultDateRange,Dc as getFieldFeedbackState,_b as getFileIconFromExtension,$a as getFirstChar,gc as getGeographyBoxColor,ka as getGlobalTableModeStorage,va as getHeaders,Vb as getIdentificationTypeList,hc as getLocalizedUnitLabel,Z as getLoggedInUserActiveSegment,X as getLoggedInUserData,U as getLoggedInUserJwtToken,Y as getLoggedInUserSegment,cc as getNameText,R as getNavigationData,N as getNonBusinessSegmentConfig,I as getOrderedWeekDays,ib as getPaymentMethodWithId,ec as getPaymentTypeKey,Qa as getPayoutDetails,Jb as getPhoneDetails,Xa as getPossibleActionNavigationView,pa as getPreviewStorage,uc as getProcessedColumns,za as getRandomColor,Aa as getRandomGradientColor,ba as getReportRecord,kc as getRowSelectionBorderStyles,P as getSecretKey,K as getSegmentData,jc as getSelectionStyles,Ub as getService,na as getSheetViewColumnsStorage,bc as getTextByLang,J as getTimestamp,q as getTimestampByTimezone,oc as getTimezoneByCountryCode,pc as getTimezoneByTimezone,m as getUTCOffset,p as getUTCTimestamp,d as getUniqueListBy,ya as getUserAgentDeviceType,dc as getUsername,z as getValueOfEndOfDay,ra as getViewsSelectionStorage,Lb as handleFileDownload,Mb as handleURLDownload,wc as hasActiveColumnFilters,Pb as hasError,Cc as hasFieldFeedbackMessage,Ba as hexa2Rgba,Fa as intlCurrency,ac as isArabic,Zb as isDuplicateFile,lb as isEmptyValue,Xb as isFile,Ua as isHeightNotFullyFilledByRows,_ as isJwtTokenExpired,Nb as isNetworkError,Rb as isNotFoundError,Na as isOman,Fb as isParameterSelected,xa as isSafariBrowser,fc as isSamePaymentSource,Ma as isSaudiArabia,M as isSegmentActLikeBusinessSegment,Va as isTableDefaultMode,Wa as isTableSheetMode,nb as isTapstersFrontend,Qb as isTimeoutError,D as isTodayDate,$ as isUserLoggedInAndJwtTokenActive,e as isValidNumber,Ya as isValidString,B as isWithinTimeAgo,E as isYesterdayDate,nc as joinClassNames,Gb as mapDataToViews,Hb as mapViewsToData,eb as maskValue,_a as matchOccurrence,mc as mergeSx,j as numberToString,k as pad,h as parseAmount,db as percentageToNumber,Wb as readableFileSize,ob as removeAllCharsFromNumber,ha as removeCalenderTimezone,ia as removeCalenderTimezoneHistory,la as removeGlobalTableModeStorage,V as removeLoggedInUserJwtToken,S as removeNavigationData,Za as removePrefixFromString,qa as removePreviewStorage,ca as removeReportRecord,c as removeUndefinedArrayElements,mb as removeUndefinedArrayValues,kb as removeUndefinedValues,Ca as rgba2Hexa,yc as sanitizeHtml,da as setCalenderTimezone,ea as setCalenderTimezoneHistory,ja as setGlobalTableModeStorage,W as setLoggedInUserData,T as setLoggedInUserJwtToken,Q as setNavigationData,oa as setPreviewStorage,aa as setReportRecord,O as setSecretKey,ma as setSheetViewColumnsStorage,sa as setViewsSelectionStorage,b as sortByString,a as sortList,i as stringToNumber,zc as trackFeatureEvent,qc as transformPaymentMethodsData,rc as transformPaymentSchemesData,fb as transformStringToProperCase,Ib as updateColumnSelection,vc as updateViewsSelection}from'./_chunks/chunk-BYJ7JVY3.js';export{lo as ACCEPTANCE_TIMEZONE,$a as AIOverviewIcon,On as API_BASE_LIMIT,Pn as API_LIST_CONSTANTS,Hn as API_URL,Cn as APP_CODES,Dn as APP_DIMENSIONS,En as APP_ICONS,yn as APP_SETTINGS_FUNCTIONS,tn as APP_WINDOW_Z_INDEX,ep as AUTHENTICATION_LABEL,Oo as AUTHENTICATION_TYPE_OPTIONS,dp as AuthenticationModeType,Gn as BASE_URL,fp as BUSINESS_COUNTRIES,ap as BUSINESS_DOCUMENT_TYPE_MAP,zn as BUSINESS_FUNCTIONS,xo as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,Po as DARK_SEGMENT_LOGOS,Go as DATA_KEY,Ho as DATA_KEY_LABEL,mo as DEFAULT_TIMEZONE_COUNTRY_CODE,oo as DEFAULT_TIMEZONE_COUNTRY_NAME,no as DEFAULT_TIMEZONE_IANA_NAME,Xo as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,In as ENV,gp as FILE_ICON_MAP,vn as FOOTER_HEIGHT,ca as FrictionlessIcon,un as HEADER_HEIGHT,Kn as HOST_APP_NAME,Ln as HOST_APP_NAMES,Ce as HSBCBankIcon,ro as LEFT_SIDEBAR_WIDTH,Qo as LIGHT_SEGMENT_LOGOS,po as MINUTES_PER_HOUR,rm as MPGSProviderIcon,sm as NETCETERAProviderIcon,Bn as OPERATOR_FUNCTIONS,Ko as PAYMENT_INITIATED_CUSTOMER_KEY,Lo as PAYMENT_INITIATED_MERCHANT_KEY,Mo as PAYMENT_INITIATED_OPTIONS,Uo as PAYMENT_INSTITUTION_SEGMENT_CODES,Wo as PAYMENT_ISSUER_SEGMENT_CODES,No as PAYMENT_LOCATION_OPTIONS,Vo as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Jo as PAYMENT_TYPES,Io as PAYMENT_TYPES_ICONS,To as PLATFORM_SUB_SEGMENT_CODES,$o as REPORTS_APPS,Zo as REPORT_FILTER_TYPES,An as REVIEW_FUNCTIONS,so as RIGHT_SIDEBAR_WIDTH,Mb as RadioButtonCheckedIcon,Nb as RadioButtonUncheckedIcon,s as SARIconImage,Ro as SEGMENT_FILTER_KEY,So as SEGMENT_TYPE_FILTERS_MAP,xn as SERVICE_COMMON_FUNCTIONS,Do as SHEET_VIEW_TABLE_LIST_OVER_SCAN,Fo as SHEET_VIEW_TABLE_ROW_HEIGHT,Eo as SHEET_VIEW_TABLE_THRESHOLD,wo as SUPPORTED_CURRENCY_CODES,vo as SUPPORTED_CURRENCY_DETAILS,Mc as SandboxDefault,Lc as SandboxHovered,Xd as SandboxHoveredLightIcon,zo as TABLE_CONTENT_ROW_HEIGHT,Co as TABLE_LIST_OVER_SCAN,yo as TABLE_LOADING_ROW_HEIGHT,Ao as TABLE_ROW_HEIGHT,Bo as TABLE_THRESHOLD,um as TAP3DSPROVIDERIcon,Qn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,Jn as TEST_SECRET_KEY,ko as TIMEZONES,uo as VIEWER_HEIGHT,to as VIEWER_WIDTH,qo as WINDOW_ANIMATION_DURATION,wn as WINDOW_TOOL_BAR_HEIGHT,u as abandonedIcon,Mh as abandonedNoBGIcon,Gg as abandonedTableIcon,v as abandonedYellowIcon,wc as acceptanceAppDisabledIcon,sc as acceptanceAppIcon,uc as acceptanceBlueIcon,Bc as acceptanceDisabledRoundedIcon,tc as acceptanceEnabledIcon,Ei as acceptanceWindowIcon,fb as acceptedFlag,Ic as accountAppIcon,Li as accountWindowIcon,pb as acquirerIcon,tb as acquirerOrangeIcon,rb as acquirerRedIcon,ic as actionFailIcon,jc as actionSuccessIcon,Vi as actionsIcon,sj as activeActionIcon,dm as activeBlueIcon,cm as activeGreenIcon,vf as activeLeadStatusIcon,cl as addIconWhite,Wi as addItem,Bj as addItemIcon,Lb as addidasIcon,xi as agreementInstallmentIcon,wi as agreementOrderIcon,yi as agreementSavedCardIcon,zi as agreementSubscriptionIcon,kb as allAppsIcon,cp as allAuthenticationStatuses,Dk as androidAppIcon,Vf as androidIcon,b as appBaseUrl,Y as applePayIcon,tm as applePayProviderIcon,ti as appsGridIcon,fg as arcIcon,wl as archievedOutlined,Lj as archivedVerifyIcon,Xi as attachIcon,zj as attachIcon2,qe as attentionIcon,Vg as authenticatedIcon,kh as authenticatedSuccessIcon,vh as authenticatedSuccessNoBgIcon,Cc as authenticationAppIcon,Vh as authenticationAppTypeIcon,$g as authenticationAttemptedIcon,ph as authenticationAttemptedNoBgIcon,Wh as authenticationBiometricIcon,bh as authenticationDeclinedIcon,sh as authenticationDeclinedNoBgIcon,Xh as authenticationDeviceIcon,dh as authenticationExemptedWithTransactionIcon,qh as authenticationExemptedWithTransactionNoBgIcon,ch as authenticationExemptedWithoutTransactionIcon,rh as authenticationExemptedWithoutTransactionNoBgIcon,eh as authenticationFailedIcon,mh as authenticationFailedNoBgIcon,Ug as authenticationFailedTableIcon,fh as authenticationInitiatedIcon,Yh as authenticationIssuerIcon,ah as authenticationNoAuthIcon,oh as authenticationNoAuthNoBgIcon,lh as authenticationPendingIcon,nh as authenticationPendingNoBgIcon,Zh as authenticationSchemeIcon,gh as authenticationUnavailableIcon,th as authenticationUnavailableNoBgIcon,hh as authenticationUndeterminedIcon,uh as authenticationUndeterminedNoBgIcon,Uh as authenticationWalletIcon,Ni as authenticationWindowIcon,jh as authenticationWithTransactionIcon,wh as authenticationWithTransactionNoBgIcon,ih as authenticationWithoutTransactionIcon,xh as authenticationWithoutTransactionNoBgIcon,Rn as authenticationsTableCellWidth,gl as authorizationServiceIcon,Sn as authorizationTableCellWidth,Ak as authorizedIcon,fk as autoCapturedIcon,gk as autoVoidIcon,Wk as babyBlueCheckIcon,Fe as backButtonLeftIcon,R as bahrainIcon,tg as bankBlueIcon,cc as bankIcon,Yk as bankNoteIcon,vm as benefitPayProviderIcon,wm as benefitProviderIcon,pc as billingAppIcon,Gi as billingWindowIcon,Qj as biometricIcon,_k as blackBrushIcon,Ll as blackDeviceIcon,Wc as blackHeadingDownArrow,Gl as blackLinkIcon,Sl as blackMobileBatteryIcon,Tl as blackMobileSignalIcon,xb as blackRightArrowIcon,Hl as blackSettingsIcon,hm as blackSettingsVariant2Icon,Xl as blackUnLinkIcon,Il as blackWallet,If as blueAppsIcon,ri as blueArrowUpIcon,Qc as blueCheckIcon,Cj as blueCircleCheckIcon,si as blueCircleLoaderIcon,jm as blueCircleWithWhiteCheckIcon,Fl as blueCopyIcon,Yc as blueDropdownArrowIcon,Jl as blueGradientBrushIcon,Xc as blueHeadingDropdownArrow,yj as blueNoteIcon,gm as bluePlusIcon,Fj as blueVerifyIcon,Pb as blueZigzagCheckIcon,Ai as brandPlaceholderIcon,fl as brandServiceIcon,eg as braveIcon,mn as bulkInvoiceTemplate,ln as bulkRefundTemplate,Hc as businessesAppIcon,Mi as businessesWindowIcon,aa as buyNowPayLaterIcon,ek as calenderIcon,hk as cancelledIcon,Aa as cancelledInvoiceIcon,Va as cancelledNoBgIcon,mf as cancelledStatusIcon,Hg as cancelledTableIcon,ub as capturedAuthorizeIcon,ja as capturedDropdownIcon,ik as capturedIcon,Ig as capturedTableIcon,xg as carIcon,T as cardIcon,Wm as cardUploadIcon,pi as cardViewButtonIcon,xm as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Kg as chargeBackRequestedTableIcon,Jg as chargeBackTableIcon,Wl as chargeBackWhiteIcon,Tn as chargeTableCellWidth,hl as chargebacksServiceIcon,il as chargesServiceIcon,Of as chatDisabledIcon,Eb as checkIcon,kc as checkMarkIcon,Hb as checkboxIcon,Eh as checkoutStatusBlueIcon,Dh as checkoutStatusIcon,Fh as checkoutWithMarkStatusIcon,w as chevronDownIcon,me as chevronGrayIcon,le as chevronWhiteIcon,ag as chromeIcon,gg as chromiumIcon,ac as clearCoinIcon,gb as clearIcon,Bf as clipboardFileGrayIcon,Ci as clipboardIcon,Te as clockIcon,ob as closeCircle,Sa as closeIcon,xl as closeOutlinedCircle,Fb as closeXIcon,ua as closedDisputeIcon,Ab as closedFlagIcon,xf as closedLeadStatusIcon,_l as closedOutlinedYellowCircle,bi as closedStatusIcon,Kj as closedVerifyIcon,Pl as codeBlackIcon,sa as codeIcon,Tc as collapseArrowIcon,Yi as collapseArrows,ve as collapseArrowsIcon,Da as columnIcon,bk as columnResizeIndicatorIcon,se as completedAcceptanceIcon,Xg as completedBlackIcon,ga as completedIcon,wf as completedLeadStatusIcon,ue as completedPayoutsIcon,Lg as completedTableIcon,ra as copyIcon,Bg as corporateLoanBlackIcon,Ag as corporateLoanIcon,Sj as createChargeIcon,ul as createLeadIcon,lf as createdStatusIcon,We as csvIcon,Zi as customerIcon,wj as customerIcon2,Gc as customersAppIcon,Hi as customersWindowIcon,qm as cyberSourceProviderIcon,ed as darkAppPlatformSubSegmentIcon,fd as darkAuthenticationGatewaySubSegmentIcon,gd as darkBillingPlatformSubSegmentIcon,Gj as darkBlueVerifyIcon,_c as darkBusinessSegmentIcon,Sc as darkCheckIcon,hd as darkCommercePlatformSubSegmentIcon,id as darkCommercialRegulatorSubSegmentIcon,$c as darkDevelopmentSegmentIcon,ak as darkFilterIcon,ad as darkFinancialSegmentIcon,_f as darkGreyTimezoneIcon,ec as darkLeftArrowIcon,bd as darkMasterOrchestratorSegmentIcon,jd as darkMerchantServiceProviderSubSegmentIcon,kd as darkPaymentAcquirerSubSegmentIcon,ld as darkPaymentFacilitatorSubSegmentIcon,md as darkPaymentGatewayProviderSubSegmentIcon,nd as darkPaymentIssuerSubSegmentIcon,od as darkPaymentMethodSubSegmentIcon,pd as darkPaymentProcessorSubSegmentIcon,qd as darkPaymentSchemeSubSegmentIcon,rd as darkPaymentTechnologySubSegmentIcon,sd as darkPaymentTerminalProviderSubSegmentIcon,cd as darkPlatformSegmentIcon,dd as darkProviderSegmentIcon,td as darkRetailPlatformSubSegmentIcon,ud as darkRetailerSubSegmentIcon,fc as darkRightArrowIcon,Ta as dashedCheckIcon,yl as dashedOutlinedCircle,ab as deMaximizeIcon,zl as deactivatedCircle,Al as deactivatedCircleV2,Za as deactivatedIcon,$l as deactivatedOrangeCircle,am as deactivatedOrangeCircleV2,on as deactiveIcon,jk as declinedIcon,Sg as declinedNoBgTableIcon,Mg as declinedTableIcon,qg as deemaAppIcon,ym as deemaProviderIcon,rg as deemaWindowIcon,Vl as deemaWithLabel,Oj as defaultCountryIcon,Pj as defaultDeviceIcon,jf as deletedStatusIcon,pf as deliveredStatusIcon,wa as desktopIcon,Ng as destinationReversedTableIcon,z as destinationSolidIcon,Tg as destinationSuccessTableIcon,Og as destinationWithoutBackgroundIcon,kk as destinationsIcon,jl as destinationsServiceIcon,Un as destinationsTableCellWidth,W as deviceIcon,Xk as digitalReceiptIcon,Rb as dimmedZigzagCheckIcon,pn as disableIcon,Jf as disabledCardIcon,Rc as disabledCheckIcon,Kf as disabledCodeIcon,_i as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Pg as disputeResolvedTableIcon,hf as dollarSignIcon,_e as doneIcon,_m as dottedConnectorIcon,ff as dottedLine,Db as downArrowIcon,vj as downArrowIcon3,Pm as downloadBlueIcon,Df as downloadFileIcon,kf as draftStatusIcon,Gb as dragIcon,ge as dueDateBlackIcon,ce as dueDateBlueIcon,he as dueDateGrayIcon,de as dueDateOrangeIcon,fe as dueDateRedIcon,ee as dueDateYellowIcon,fn as earlySettlementsIcon,cg as edgeIcon,Bh as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,aj as emailBlackIcon,Yd as emailChannelIcon,$i as emailIcon,nn as emptyCopyIcon,Rh as emptyIcon,Ul as emptyMobileWifiIcon,Yo as emptyStatusChipColors,Ym as endConnectorIcon,kl as entityServiceIcon,Wj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Pf as exclamationDarkIcon,Rf as exclamationErrorIcon,Ja as exclamationGreyIcon,Sf as exclamationOrangeIcon,Bl as exclamationOutlinedCircle,bm as exclamationOutlinedOrangeCircle,Qf as exclamationWarningIcon,im as exclamationWhiteIcon,en as excludeIcon,Fn as excludedApps,cj as expandArrows,we as expandArrowsIcon,je as expiredIcon,Ba as expiredInvoiceIcon,yf as expiredLeadStatusIcon,Wa as expiredNoBgIcon,nf as expiredStatusIcon,X as expressCheckoutIcon,qn as extendIcon,km as externalLinkIcon,Qm as eyeBlueIcon,Ge as eyeHideIcon,He as eyeShowIcon,lk as failedIcon,Rg as failedNoBgTableIcon,Qg as failedTableIcon,Ia as failedWhiteBgIcon,Rm as fastBlackIcon,sg as fastIcon,zm as fawryProviderIcon,dj as feeIcon,Zj as fileDownloadBlueIcon,_j as fileDownloadGreyIcon,Af as fileIcon,Um as fileMinusIcon,e as filesUrl,Zm as filledConnectorIcon,hn as financeFeaturesIcon,gn as financedByIcon,bg as firefoxIcon,E as flagIcon,mm as flipIcon,Am as fssProviderIcon,c as functionBaseUrl,Kl as gadientLink,sb as gatewayIcon,mk as gatewayOrangeIcon,nk as gatewayRedIcon,sn as gatewaySolidIcon,$d as genericIcon,qb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Ml as gradientDeviceIcon,Nl as gradientSettings,Ol as gradientWallet,Sd as grayBrandIcon,Td as grayCircleIcon,vi as grayCloseIcon,Cb as grayFlagIcon,tj as grayProductLabel,Vc as grayUpArrowIcon,Hj as grayVerifyIcon,ye as greenArrowLeftIcon,xe as greenArrowRightIcon,ze as greenArrowUpIcon,El as greenCheck2ACE00,ta as greenCheckIcon,Tf as greenCheckV2Icon,Ij as greenVerifyIcon,Qb as greenZigzagCheckIcon,Xf as greyAppleIcon,Oc as greyCheckIcon,Pc as greyCrossIcon,Zf as greyDesktopIcon,el as greyDownArrowIcon,Zc as greyDropdownIcon,Yf as greyLocationIcon,zh as greyMinusIcon,yh as greyPlusIcon,H as greyTimezoneIcon,dl as greyUpArrowIcon,Pa as halfCircleIcon,yg as handCoinsWhiteIcon,pm as helpCircleIcon,lb as hideIcon,dc as hijriIcon,ck as homeIcon,Ek as iOSAppIcon,cb as ibanIcon,qa as idIcon,em as inActiveGreyIcon,re as initialAcceptanceIcon,te as initialPayoutsIcon,Bk as initiatedIcon,Ne as inprogressIcon,rl as insightsServiceIcon,Ih as intentCancelledStatusIcon,Gh as intentExpiredStatusIcon,Hh as intentInitiatedStatusIcon,Jh as intentTransactedStatusIcon,ql as intentsServiceIcon,Vn as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ll as invoiceServiceIcon,Wn as invoicesTableCellWidth,Uf as iosIcon,bn as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Vd as jsonBlackIcon,Ud as jsonIcon,Bm as knetProviderIcon,O as kuwaitFlagIcon,Aj as lateFeeIcon2,Lf as layersIcon,bf as leadAppIcon,cf as leadTitleIcon,Nf as leadWhiteIcon,Xn as leadsTableCellWidth,N as lebanonFlagIcon,ng as lendingAppIcon,pg as lendingProviderAppIcon,og as lendingWindowIcon,Bd as lightAppPlatformSubSegmentIcon,Cd as lightAuthenticationGatewaySubSegmentIcon,Dd as lightBillingPlatformSubSegmentIcon,vd as lightBusinessSegmentIcon,Ed as lightCommercePlatformSubSegmentIcon,Fd as lightCommercialRegulatorSubSegmentIcon,wd as lightDevelopmentSegmentIcon,xd as lightFinancialSegmentIcon,yd as lightMasterOrchestratorSegmentIcon,Gd as lightMerchantServiceProviderSubSegmentIcon,Hd as lightPaymentAcquirerSubSegmentIcon,Id as lightPaymentFacilitatorSubSegmentIcon,Jd as lightPaymentGatewayProviderSubSegmentIcon,Kd as lightPaymentIssuerSubSegmentIcon,Ld as lightPaymentMethodSubSegmentIcon,Md as lightPaymentProcessorSubSegmentIcon,Nd as lightPaymentSchemeSubSegmentIcon,Od as lightPaymentTechnologySubSegmentIcon,Pd as lightPaymentTerminalProviderSubSegmentIcon,zd as lightPlatformSegmentIcon,Ad as lightProviderSegmentIcon,Qd as lightRetailPlatformSubSegmentIcon,Rd as lightRetailerSubSegmentIcon,a as lightUrl,bj as linkTiltedIcon,zg as listIcon,Nj as listShadowBg,qi as listViewButtonIcon,Sh as loaderWhiteIcon,in as loanAmountIcon,Nk as locationIcon,dk as lockIcon,lc as logOutIcon,Kh as longWordsIcon,Ob as macIcon,Ql as manyCurrencyCoin,Rl as manyCurrencyCoinGradient,Tb as marketPlaceBlackIcon,Sb as marketPlaceBlueIcon,Ub as marketPlaceDimmedIcon,Qa as maximizeIcon,Cm as meezaProviderIcon,an as merchantAttributesIcon,vb as merchantInitiatedIcon,go as merchantsTableCellWidth,Zb as messageIcon,$j as metaIcon,Ra as minimizeIcon,ej as minusIcon,xa as mobileIcon,Yb as moneyInDimmedIcon,Xb as moneyInIcon,Wb as moneyOutDimmedIcon,Vb as moneyOutIcon,wg as moonStarIcon,vg as mosqueBlackIcon,ug as mosqueIcon,jn as murabhaFinanceIcon,$k as mutedOutlinedCheckIcon,Dm as nGenIusProviderIcon,Vk as navigationIcon,bl as navigationPointerBlack,Cf as newFileIcon,rj as newInvoiceIcon,rc as newReceiptIcon,ib as newWindowIcon,Di as noAgreementIcon,Ah as noPreviewIcon,ne as notVerifiedIcon,fj as noteIcon,xj as noteIcon2,Em as npgProviderIcon,Fm as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,zb as openFlagIcon,dg as operaIcon,yb as orangeFlagIcon,kg as orchestrationAppIcon,jo as orchestrationRoutingTableCellWidth,io as orchestrationTerminalsTableCellWidth,mg as orchestrationWindowBg,lg as orchestrationWindowIcon,df as orderAppIcon,Zd as orderIcon,ef as orderWindowIcon,Yn as ordersTableCellWidth,Eg as osAppIcon,Fg as osAppWindowIcon,Dl as outlinedCircle,al as outlinedPlatformIcon,Ua as outstandingIcon,Xa as paidNoBgIcon,Yg as paidOutFilterIcon,ok as paidOutIcon,Nh as paidOutTableIcon,of as paidStatusIcon,_ as passThruWalletIcon,gf as passwordDotsIcon,$b as payStreamIcon,rn as payersIcon,Me as paylinkAppIcon,Le as paylinkWindowIcon,xc as payoutAppDisabledIcon,Ac as payoutDisabledRoundedIcon,yc as payoutEnabledIcon,zc as payoutGreenIcon,db as payoutIcon,ml as payoutServiceIcon,Ii as payoutWindowIcon,Ec as payoutsAppIcon,vc as payoutsGreenIcon,Zn as payoutsTableCellWidth,Gm as paypalProviderIcon,gj as pdfGrayIcon,Xe as pdfIcon,Mj as penIcon,bb as pendingFlag,_b as pendingIcon,Mf as pendingOnTapIcon,Ph as pendingPayoutIcon,tf as pendingStatusIcon,Vm as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Fk as physicalLocationIcon,_h as pinIcon,Cg as platformAppIcon,Dg as platformWindowIcon,$m as playIcon,uj as plusQty,Hm as postpayProviderIcon,mc as preferencesIcon,di as previewModeIcon,hj as productLabel,Ef as progressFileIcon,Fc as protectAppIcon,_n as protectAuthorizationsTableCellWidth,$n as protectChargesTableCellWidth,Jb as protectIcon,Ji as protectWindowIcon,Im as qPayProviderIcon,ij as quantityIcon,Cl as questionOutlinedCircle,mb as quitIcon,zf as readyLeadStatusIcon,qc as receiptBillIcon,Uj as receiptIcon,fa as redArrowDownIcon,Oe as redCloseCircleIcon,Ue as redCloseIcon,Bb as redFlagIcon,Ej as redTrashBinIcon,Jj as redVerifyIcon,cn as refreshIcon,qk as refundInitiatedIcon,rk as refundSettledIcon,ao as refundTableCellWidth,pk as refundedIcon,sk as refundedNotSettledIcon,uf as refundedStatusIcon,nl as refundsServiceIcon,Ya as refunededNoBgIcon,eb as releasedFlag,if as reloadIcon,ke as remindedRedIcon,jj as removeAllItem,x as removeIcon,kj as removeItem,Sm as repeatIcon,af as reportAppIcon,$e as reportAppsIcon,_o as reportFilterTypesMap,Ye as reportIcon,D as reportsIcon,Ze as reportsIconOutlined,Oi as reportsWindowIcon,tk as restrictedIcon,sl as retailersServiceIcon,Th as reverseActionIcon,la as reversePayoutIcon,Oh as reversePayoutTableIcon,y as reversedIcon,wb as rightArrow,Jk as rightLightArrowIcon,dn as riskAttributesIcon,pa as rowIdIcon,$f as safariIcon,Re as sandboxDefaultIcon,Qe as sandboxHoveredIcon,Se as sandboxOrangeIcon,L as saudiArabiaFlagIcon,Zg as saveTokenIcon,J as savedCardIcon,rf as savedStatusIcon,Xj as savedTimezoneIcon,Wg as scheduledFilterIcon,sf as scheduledStatusIcon,Ik as searchBlueIcon,A as searchIcon,Mk as segmentDevelopmentHouseIcon,Kk as segmentInstitutionIcon,Lk as segmentTechnologyIcon,Nn as servicesTags,lm as settingsIcon,uk as settledIcon,vk as settlementInitiatedIcon,Lh as sheetViewIcon,Tm as shieldIcon,De as shopifyBadgeIcon,nm as shoppingCartIcon,ig as slaProcessAppIcon,jg as slaProcessWindowIcon,Yj as smallBlueCheckIcon,Hk as smallLeftArrowIcon,ae as smsChannelIcon,lj as smsIcon,Gk as socialLinksIcon,Zl as sortAscArrowIcon,Ea as sortAzIcon,Yl as sortDescArrowIcon,Wd as sortIcon,Fa as sortZaIcon,Jm as spgProviderIcon,hc as spinnerLoadingAnimatedIcon,li as spinnerLoadingBlueIcon,gc as spinnerLoadingIcon,nb as starIcon,Xm as startConnectorIcon,Km as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Tj as successCheckIcon,Ff as successFileIcon,Ha as successWhiteBgIcon,ai as switcherIcon,Lm as tabbyProviderIcon,mi as tableBackgroundLoader,ni as tableBlueArrowUpIcon,oi as tableBlueCheckMarkShadowedIcon,ji as tableLoadingSpinnerIcon,ki as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Mm as tamaraProviderIcon,mj as taxIcon,Hf as teamWindowIcon,f as templatesUrl,Ok as terminalAppIcon,Tk as terminalBrushIcon,Uk as terminalBrushMuted,Qk as terminalCardPhone,Zk as terminalDeviceFrame,fm as terminalLinkVideo,tl as terminalServiceIcon,Sk as terminalTypeIcon,Pk as terminalWindowIcon,ho as terminalsTableCellWidth,kn as testimonialIcon,Rj as threeDSIcon,na as threeDsIcon,wk as timedOutIcon,ie as timerBlueIcon,G as timezoneIcon,Rk as toastPOSIcon,oc as tokenAppIcon,ii as tokenCardIcon,gi as tokenExpiredStatusIcon,hi as tokenPendingStatusIcon,ei as tokenSavedStatusIcon,fi as tokenTransactedStatusIcon,Pi as tokensReportsIcon,bo as tokensTableCellWidth,Ki as tokensWindowIcon,_a as topUpIcon,co as topupsTableCellWidth,nj as totalAmountIcon,Nm as tpayProviderIcon,Om as tpgProviderIcon,_d as transactionIcon,nc as transformIcon,Dj as trashBinIcon,bp as unAuthenticatedStatuses,B as unAuthorizedIcon,xk as unAvailableIcon,hb as unCapturedIcon,Mn as unCapturedStatuses,Jc as unCheckedIcon,_g as unauthenticatedIcon,oj as unfocusRemoveItem,U as unionPayIcon,Kb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,yk as unknownIcon,$h as unpinIcon,Ke as uploadAppIcon,Pe as uploadBlueIcon,Ie as uploadIcon,Je as uploadWindowIcon,hg as userIcon,Vj as userTimezoneIcon,Bi as usersIcon,ol as usersServiceIcon,Ee as verifiedGreenBadgeIcon,oe as verifiedIcon,om as verifyAvatarIcon,pe as verifyReviewIcon,ci as verticalLineIcon,d as videosUrl,jb as viewAllIcon,C as viewIcon,Ch as viewInvoiceIcon,vl as viewLeadIcon,qf as viewedStatusIcon,ea as visaIcon,zk as voidedIcon,Dc as walletAppIcon,eo as walletDetailsTableCellWidth,bc as walletIcon,pl as walletServiceIcon,fo as walletStatementTableCellWidth,do as walletTableCellWidth,Fi as walletWindowIcon,Nc as warningInfoIcon,Ck as websiteBlueIcon,Wf as websiteIcon,be as whatsappChannelIcon,pj as whatsappIcon,qj as whiteArrow2,Gf as whiteArrowDownIcon,Be as whiteArrowLeftIcon,Ae as whiteArrowRightIcon,Qh as whiteCloseIcon,ui as whiteFilterIcon,Ib as whitePlusIcon,Kc as wifiOffIcon,Si as windowBankIcon,Qi as windowBrandIcon,Ri as windowEntityIcon,Ti as windowIndividualIcon,Ui as windowPasswordIcon,Uc as worldIcon,Ve as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-4FJ26UVI.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-ZDBICST5.js';
1
+ export{N as ActionCell,P as ActionIconColumn,L as ActionIconsVariants,O as ActionsColumn,ta as AgreementCell,Q as AgreementIcon,F as AmountCell,x as AmountCellContainer,H as AmountCellSheet,G as AmountCellText,C as AmountConversionTooltipLabel,xc as AppServices,yc as AppServicesBar,bb as ApplicationStatusCell,ua as AuthCell,S as AuthIcons,R as AuthSourceAnimation,Oa as AuthenticationCell,Wc as AuthenticationMode,sa as AuthenticationModeBadge,Ea as AuthenticationStatusCell,Fa as AuthenticationTypeCell,Uc as AuthenticationTypeFilter,U as AuthorizationAutoIcons,V as AuthorizedIcon,i as AvatarStyled,d as BadgeWrapper,la as BalanceCell,ma as BalanceCellSheet,za as BankCell,Ma as BankReferenceCell,Wa as BrandCell,fb as BrandsCell,Bc as CancelButton,k as CaptureTextLabel,Ga as ChannelsCell,Ua as ChargeStatus,W as ChargeStatusIcon,Pa as CheckoutStatusCell,y as ConversionBadge,A as ConversionTooltip,B as ConversionTooltipRow,D as ConversionTypeLabel,g as CountBadge,Gc as CountriesItem,Hc as CurrenciesItem,Ka as CurrencyCell,E as CurrencyInfo,z as CurrencySpan,v as CustomerCell,w as CustomerCellSheet,X as CustomerInitiatedIcon,s as DateCell,Xc as DateFilter,r as DateViewer,ha as DestinationCell,ia as DestinationCellSheet,ja as DestinationCellText,fa as DestinationIcon,Ca as DestinationStatusCell,ga as DeviceCell,Z as DeviceIconChip,_ as DisputeIcon,Ha as DueDateCell,ab as EntityCell,Dc as FilterDropdown,zc as Footer,b as GeographyBox,Y as GeographyIcon,M as IDButton,Jc as ID_SEPERATOR,h as IdButtonContainer,eb as IndividualsCell,Qa as IntentsStatusCell,Sa as InvoiceStatusCell,$ as IssuerIcon,ib as LeadStatusCell,mb as LinkCell,Zc as ListColumnFilter,wc as ListHeader,vc as ListHeaderToolbarAside,db as MarketPlaceCell,Ec as MerchantItem,Nc as MerchantsFilterItem,Xa as MetadataCell,Ac as OkayButton,t as OrderCell,u as OrderCellSheet,nb as OrdersCellSheet,jb as PaymentAgreementCellSheet,oa as PaymentCardNumberSource,Tc as PaymentInitiated,pa as PaymentMethodSource,Rc as PaymentMethods,ra as PaymentSchemeSource,Sc as PaymentSchemes,Vc as PaymentSourceFilter,qa as PaymentTypeSource,La as PayoutDateCell,aa as PayoutIcon,Ya as PayoutReportCell,Aa as PayoutStatusCell,Oc as PhoneFilter,q as PiePercentage,Ia as ProductsCell,kb as ProviderCell,lb as PurposeCell,Za as ReceiptCell,_a as ReceiptCellSheet,$a as ReceiptCellText,Na as ReferenceCell,Yc as ReferenceTypeFilter,Ra as RefundChargeCell,ba as RefundIcon,wa as RefundStateIcon,xa as RefundStatusCell,va as RefundStatusIcon,Ba as RefundTooltipView,Fc as RetailersItem,Kc as SEARCH_THRESHOLD,gb as SalesChannelCell,hb as SalesChannelCellSheet,cb as SegmentsCell,na as SourceCell,da as SourceIcon,ea as SourceIcons,f as StarBadgeWrapper,I as StatusCell,n as StatusCellContainer,J as StatusCellSheet,K as StatusCellText,Qc as StatusFilter,p as StatusIcon,o as StatusIconWrapper,m as StyledTextTableCell,a as TableCell,j as TextLabel,Ja as TextTableCell,Ta as TextWithBadgeCell,e as TimeZone,Va as TokenStatusCell,c as TransparentButton,Ic as TreeLevel,cd as VerificationIcon,$c as VerificationIconStatus,Pc as ViewColumnRadioFilter,T as VoidAutoIcon,l as VoidTextLabel,ya as WalletCell,Da as authenticationStatusIcons,Mc as createTreeDefinitions,ka as generateDestinationTooltip,Lc as generateIdFromParts,ca as getPaymentMethodKey,bd as iconVariantBG,ad as iconVariantMap,oc as useCustomTableViews,Cc as useFilterDropdown,_c as verificationIconClassNames}from'./_chunks/chunk-LTKS5H2X.js';export{d as ColumnFilter,b as Inputs,t as LastRowContent,c as List,A as ListItemWrapperWithCard,q as RowErrorState,$ as SheetViewVirtualTable,h as StyledCell,u as StyledItemWrapper,o as TableError,k as TableLastItem,m as TableLoading,x as TableLoadingWithCard,p as TableNoData,y as TableNoDataWithCard,r as TableRow,l as TableRowLoading,w as TableRowLoadingWithCard,z as TableRowWithCard,e as VirtualScrollInner,g as VirtualScrollList,f as VirtualScrollOuter,v as VirtualTable,j as VirtualTableHeader,B as VirtualTableWithCard}from'./_chunks/chunk-RCDGEYAF.js';export{b as ListItem,a as WidgetList}from'./_chunks/chunk-RELMZYBK.js';export{a as ThemeProvider}from'./_chunks/chunk-G3QDXDRW.js';export{a as Timeline}from'./_chunks/chunk-XB7FBOZY.js';export{b as ToggleView,a as ToggleViews}from'./_chunks/chunk-N4JQPHMV.js';export{a as SelectedState,c as TreeDropdown,b as TreeManager}from'./_chunks/chunk-J7QYO7VF.js';export{b as Sidebar,a as sidebarClassNames}from'./_chunks/chunk-H4TK4QZS.js';export{a as StatusBar}from'./_chunks/chunk-TSYTKL7B.js';export{h as StatusLabel}from'./_chunks/chunk-FIYP3ZOV.js';export{c as DownloadButton,b as DownloadIconButton,d as TableReports,a as useDownloadReport}from'./_chunks/chunk-RLD5CRLM.js';export{a as RadioGroup}from'./_chunks/chunk-WUP4TVDI.js';export{a as RangeCalender}from'./_chunks/chunk-5QXPAJWO.js';import'./_chunks/chunk-6IIAQUUK.js';export{a as RightLeftExpandingCenterChip}from'./_chunks/chunk-2LEYPKDY.js';export{a as SearchButton}from'./_chunks/chunk-BGLVDXUY.js';export{a as ChevronIcon,b as StatusButton}from'./_chunks/chunk-Z4W7NSLP.js';export{b as SearchInput,a as searchInputClassNames}from'./_chunks/chunk-BOLP7MMA.js';export{b as SheetViewChip,a as sheetViewChipClassNames}from'./_chunks/chunk-JR2SE6NE.js';export{b as MaskedText,a as maskedTextClassNames}from'./_chunks/chunk-K5ICBD7X.js';export{a as MultiSelect}from'./_chunks/chunk-L3YJCK4S.js';export{b as Dropdown,c as NestedDropdown,a as NestedMenuItem}from'./_chunks/chunk-LFUN2LDH.js';export{b as NestedMultiSelect,a as nestedMultiSelectClassNames}from'./_chunks/chunk-ECTKELII.js';export{a as CountriesList,b as PhoneInput}from'./_chunks/chunk-O3S6R2ZW.js';export{b as TextInput,a as textInputClassNames}from'./_chunks/chunk-U6FITGCU.js';export{a as ProgressRing}from'./_chunks/chunk-FOPADEWF.js';export{a as FooterButton,d as JSONTitleBar,j as JSONViewer,f as JSONViewerList,e as JsonViewerDialogContext,g as JsonViewerDialogContextProvider,i as useJsonViewerContext}from'./_chunks/chunk-6TC3HE2J.js';export{c as TableFooter}from'./_chunks/chunk-RWVFAVMU.js';export{a as LeftPeekRightExpandingChip}from'./_chunks/chunk-4S23GCB4.js';export{a as ListLayout}from'./_chunks/chunk-V6DYLCV6.js';export{a as Loader}from'./_chunks/chunk-BHSKFHRE.js';export{b as Logo,a as logoClassNames}from'./_chunks/chunk-TEX4F257.js';export{a as MFWidgetLoader}from'./_chunks/chunk-MSWKK36W.js';export{a as FormSelect}from'./_chunks/chunk-AFZXDM2P.js';import'./_chunks/chunk-OFJUINIE.js';export{b as GroupedSelect,a as groupedSelectClassNames}from'./_chunks/chunk-NYJGWFJT.js';export{b as HeatMap}from'./_chunks/chunk-6XFK3FBM.js';import'./_chunks/chunk-Z7FUZSNV.js';export{b as ImageWrapper}from'./_chunks/chunk-ZONDSLTR.js';export{a as SelectBase}from'./_chunks/chunk-HYQHLNHN.js';export{h as SelectBaseMultiple}from'./_chunks/chunk-LIL6WT4C.js';import'./_chunks/chunk-HDCNWBW5.js';export{a as Select}from'./_chunks/chunk-UKTF67RR.js';export{b as EmptyState,a as emptyStateClassNames}from'./_chunks/chunk-DZFU4QPT.js';export{b as ErrorToast,a as errorToastClassNames}from'./_chunks/chunk-RMVM33KN.js';export{b as FileDropbox,a as fileDropboxClassNames}from'./_chunks/chunk-ALCLM4Q4.js';export{b as FilePreview,a as filePreviewClassNames}from'./_chunks/chunk-7HGWMTG5.js';export{b as FileUploader,a as fileUploaderClassNames}from'./_chunks/chunk-DCBLRIF5.js';export{d as FilterCancelButton,b as FilterFooter,c as FilterOkayButton,a as FilterTitle}from'./_chunks/chunk-J2BWFYQR.js';export{a as FlippingCard}from'./_chunks/chunk-OUR46KNI.js';export{a as CountryFlag}from'./_chunks/chunk-26JDD265.js';export{b as CurrenciesMenu,a as currenciesMenuClassNames}from'./_chunks/chunk-XMBYYJDJ.js';export{b as CurrencyAmount,a as currencyAmountClassNames}from'./_chunks/chunk-AIGHGP5B.js';export{b as CurrencyAmountInput,a as currencyAmountInputClassNames}from'./_chunks/chunk-N2NRDIX7.js';export{a as CurrencySymbol}from'./_chunks/chunk-JO5WFWAJ.js';export{a as DEVICE_ICON,c as DeviceIcon,b as isDeviceIconShown}from'./_chunks/chunk-N4FY6YQH.js';import'./_chunks/chunk-FQ2VMVUY.js';export{a as Autocomplete}from'./_chunks/chunk-HROFC3Z7.js';import'./_chunks/chunk-MUR4ILTY.js';export{b as AVATAR_STACK_VARIANTS,e as AvatarStack,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames}from'./_chunks/chunk-BT3UVL7P.js';export{a as Calender}from'./_chunks/chunk-B2YAQVYT.js';export{j as Timepicker}from'./_chunks/chunk-7Y5OFXS3.js';export{b as Card,c as CardHeader,a as cardClassNames}from'./_chunks/chunk-VXWMLX6J.js';export{a as ColorPicker}from'./_chunks/chunk-7UXWUUSC.js';export{b as ConfirmDialogProvider,a as useConfirm}from'./_chunks/chunk-7BC26ES3.js';export{a as CountryFilter}from'./_chunks/chunk-LXNWEXDA.js';export{a as ActionsDropdownMenu,b as AppMenuItem}from'./_chunks/chunk-WSJJHYS2.js';export{a as ActiveFilterChip}from'./_chunks/chunk-OJNERB3L.js';import'./_chunks/chunk-2TEDNP2G.js';export{f as DropdownMenu,e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent}from'./_chunks/chunk-KZEFSEPK.js';export{b as Alert,a as alertClassNames}from'./_chunks/chunk-UF2EN2FL.js';export{a as AnimatedSpinnerIcon}from'./_chunks/chunk-3MBZ55DP.js';export{d as AccountHeaderTitle,j as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,l as AppWindowHeader,m as AppWindowWrapper,h as StyledFooter,i as StyledHideButton,e as StyledMenuLink,f as StyledSubmitButton,g as SubmitButtonWrapper}from'./_chunks/chunk-74T2P2DI.js';export{a as StyledHeaderWrapper,c as StyledHeaderWrapperStyled,d as Toolbar}from'./_chunks/chunk-UOSPFZFL.js';export{a as CloseIcon,d as ExpandButton,c as MaximizeIcon,b as MinimizeIcon}from'./_chunks/chunk-Z6KCOMOK.js';export{P as Accordion,t as Avatar,B as Backdrop,z as Badge,b as Button,f as Checkbox,H as Chip,n as CircularProgress,x as Collapse,D as CopyButton,T as Dialog,v as Divider,ba as FieldFeedback,d as Icon,L as Input,_ as LazyImage,R as Menu,V as MenuItem,F as ProgressBar,l as RadioButton,da as ScrollLoader,r as Skeleton,J as Slider,h as Switch,N as Textarea,Y as ToggleButtons,p as Tooltip,j as Typography,O as accordionClassNames,s as avatarClassNames,A as backdropClassNames,y as badgeClassNames,a as buttonClassNames,e as checkboxClassNames,G as chipClassNames,m as circularProgressClassNames,w as collapseClassNames,C as copyButtonClassNames,S as dialogClassNames,u as dividerClassNames,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors,c as iconClassNames,K as inputClassNames,Z as lazyImageClassNames,Q as menuClassNames,U as menuItemClassNames,E as progressBarClassNames,k as radioButtonClassNames,ca as scrollLoaderClassNames,q as skeletonClassNames,I as sliderClassNames,g as switchClassNames,M as textareaClassNames,W as toggleButtonsClassNames,X as toggleButtonsSize,o as tooltipClassNames,i as typographyClassNames}from'./_chunks/chunk-TNT6LPG6.js';export{b as AreaChart,a as areaChartClassNames}from'./_chunks/chunk-WP2PBXEG.js';export{l as useAppEventListener,k as useAppEventPublisher,j as useAppsInfo,d as useBadgesCount,e as useCheckUserLoggedIn,q as useColumnFiltersGate,i as useCountdown,c as useDelayToSetValue,r as useFilterKeyDown,b as useMouseState,p as useNetworkState,s as useScrollWithShadow,o as useScrolledTo,m as useSelectedMerchantDetails,g as useStickyHeaderShadow,f as useTableViews,h as useThemeMode,n as useToast,a as useWindowDimensions}from'./_chunks/chunk-6BJANCV7.js';export{f as appTheme,a as components,c as darkPalette,b as lightPalette,d as shadows,e as typography}from'./_chunks/chunk-YPOZVOUV.js';export{sc as DEFAULT_SKELETON_WIDTHS,ic as SELECTION_COLORS,lc as alignToJustifyContent,ua as api,xc as applyColumnFiltersGate,Yb as areFilesEqual,Sb as backendErrorHandler,Ta as calculateMaxAllowedRows,cb as capitalizeFirstLetter,gb as capitalizeString,t as changeDateTimezone,ta as clearTapOsLocalStorage,Da as conversionTypesLabels,r as convertCalendarDateToUTC,Ka as convertToNumber,s as convertUTCtoLocalDate,bb as copyText,Ea as currencyConfig,Kb as downloadFile,pb as extractIdsFromRowData,Db as filterShownColumns,Ha as formatAmount,Ia as formatAmountWithCurrency,x as formatCellDate,Ga as formatCurrencyWithInput,y as formatDate,Pa as formatFlagDate,H as formatInTimezone,Ac as formatLogDate,g as formatNumber,f as formatOrdinal,Oa as formatPayoutDate,C as formatRelativeTimeWithinHour,A as formatSecondsAsTime,n as formatUTCOffset,F as generateBirthYearList,jb as generateChargeErrors,u as generateDayList,v as generateMonthList,G as generatePastYearList,$b as generateReportLocalStorageKey,tc as generateSkeletonColumns,ab as generateUniqueUUID,w as generateYearList,l as getAmountPlaceholder,Ob as getApiErrorMessage,Tb as getApp,wa as getBrowserName,L as getBusinessSegmentConfig,fa as getCalenderTimezone,ga as getCalenderTimezoneHistory,hb as getCardNumber,Sa as getCellWidth,Eb as getColumnOrderFromViews,Ra as getColumnWidthPercentage,Bc as getComponentId,Ja as getConversion,La as getCountryNameByISO,o as getDefaultDateRange,Dc as getFieldFeedbackState,_b as getFileIconFromExtension,$a as getFirstChar,gc as getGeographyBoxColor,ka as getGlobalTableModeStorage,va as getHeaders,Vb as getIdentificationTypeList,hc as getLocalizedUnitLabel,Z as getLoggedInUserActiveSegment,X as getLoggedInUserData,U as getLoggedInUserJwtToken,Y as getLoggedInUserSegment,cc as getNameText,R as getNavigationData,N as getNonBusinessSegmentConfig,I as getOrderedWeekDays,ib as getPaymentMethodWithId,ec as getPaymentTypeKey,Qa as getPayoutDetails,Jb as getPhoneDetails,Xa as getPossibleActionNavigationView,pa as getPreviewStorage,uc as getProcessedColumns,za as getRandomColor,Aa as getRandomGradientColor,ba as getReportRecord,kc as getRowSelectionBorderStyles,P as getSecretKey,K as getSegmentData,jc as getSelectionStyles,Ub as getService,na as getSheetViewColumnsStorage,bc as getTextByLang,J as getTimestamp,q as getTimestampByTimezone,oc as getTimezoneByCountryCode,pc as getTimezoneByTimezone,m as getUTCOffset,p as getUTCTimestamp,d as getUniqueListBy,ya as getUserAgentDeviceType,dc as getUsername,z as getValueOfEndOfDay,ra as getViewsSelectionStorage,Lb as handleFileDownload,Mb as handleURLDownload,wc as hasActiveColumnFilters,Pb as hasError,Cc as hasFieldFeedbackMessage,Ba as hexa2Rgba,Fa as intlCurrency,ac as isArabic,Zb as isDuplicateFile,lb as isEmptyValue,Xb as isFile,Ua as isHeightNotFullyFilledByRows,_ as isJwtTokenExpired,Nb as isNetworkError,Rb as isNotFoundError,Na as isOman,Fb as isParameterSelected,xa as isSafariBrowser,fc as isSamePaymentSource,Ma as isSaudiArabia,M as isSegmentActLikeBusinessSegment,Va as isTableDefaultMode,Wa as isTableSheetMode,nb as isTapstersFrontend,Qb as isTimeoutError,D as isTodayDate,$ as isUserLoggedInAndJwtTokenActive,e as isValidNumber,Ya as isValidString,B as isWithinTimeAgo,E as isYesterdayDate,nc as joinClassNames,Gb as mapDataToViews,Hb as mapViewsToData,eb as maskValue,_a as matchOccurrence,mc as mergeSx,j as numberToString,k as pad,h as parseAmount,db as percentageToNumber,Wb as readableFileSize,ob as removeAllCharsFromNumber,ha as removeCalenderTimezone,ia as removeCalenderTimezoneHistory,la as removeGlobalTableModeStorage,V as removeLoggedInUserJwtToken,S as removeNavigationData,Za as removePrefixFromString,qa as removePreviewStorage,ca as removeReportRecord,c as removeUndefinedArrayElements,mb as removeUndefinedArrayValues,kb as removeUndefinedValues,Ca as rgba2Hexa,yc as sanitizeHtml,da as setCalenderTimezone,ea as setCalenderTimezoneHistory,ja as setGlobalTableModeStorage,W as setLoggedInUserData,T as setLoggedInUserJwtToken,Q as setNavigationData,oa as setPreviewStorage,aa as setReportRecord,O as setSecretKey,ma as setSheetViewColumnsStorage,sa as setViewsSelectionStorage,b as sortByString,a as sortList,i as stringToNumber,zc as trackFeatureEvent,qc as transformPaymentMethodsData,rc as transformPaymentSchemesData,fb as transformStringToProperCase,Ib as updateColumnSelection,vc as updateViewsSelection}from'./_chunks/chunk-BYJ7JVY3.js';export{lo as ACCEPTANCE_TIMEZONE,$a as AIOverviewIcon,On as API_BASE_LIMIT,Pn as API_LIST_CONSTANTS,Hn as API_URL,Cn as APP_CODES,Dn as APP_DIMENSIONS,En as APP_ICONS,yn as APP_SETTINGS_FUNCTIONS,tn as APP_WINDOW_Z_INDEX,ep as AUTHENTICATION_LABEL,Oo as AUTHENTICATION_TYPE_OPTIONS,dp as AuthenticationModeType,Gn as BASE_URL,fp as BUSINESS_COUNTRIES,ap as BUSINESS_DOCUMENT_TYPE_MAP,zn as BUSINESS_FUNCTIONS,xo as CATEGORIZED_CURRENCY_CODES,da as ChallengeIcon,Po as DARK_SEGMENT_LOGOS,Go as DATA_KEY,Ho as DATA_KEY_LABEL,mo as DEFAULT_TIMEZONE_COUNTRY_CODE,oo as DEFAULT_TIMEZONE_COUNTRY_NAME,no as DEFAULT_TIMEZONE_IANA_NAME,Xo as DEVELOPMENT_HOUSE_SEGMENT_CODES,t as DirhamIconImage,In as ENV,gp as FILE_ICON_MAP,vn as FOOTER_HEIGHT,ca as FrictionlessIcon,un as HEADER_HEIGHT,Kn as HOST_APP_NAME,Ln as HOST_APP_NAMES,Ce as HSBCBankIcon,ro as LEFT_SIDEBAR_WIDTH,Qo as LIGHT_SEGMENT_LOGOS,po as MINUTES_PER_HOUR,rm as MPGSProviderIcon,sm as NETCETERAProviderIcon,Bn as OPERATOR_FUNCTIONS,Ko as PAYMENT_INITIATED_CUSTOMER_KEY,Lo as PAYMENT_INITIATED_MERCHANT_KEY,Mo as PAYMENT_INITIATED_OPTIONS,Uo as PAYMENT_INSTITUTION_SEGMENT_CODES,Wo as PAYMENT_ISSUER_SEGMENT_CODES,No as PAYMENT_LOCATION_OPTIONS,Vo as PAYMENT_TECHNOLOGY_SEGMENT_CODES,Jo as PAYMENT_TYPES,Io as PAYMENT_TYPES_ICONS,To as PLATFORM_SUB_SEGMENT_CODES,$o as REPORTS_APPS,Zo as REPORT_FILTER_TYPES,An as REVIEW_FUNCTIONS,so as RIGHT_SIDEBAR_WIDTH,Mb as RadioButtonCheckedIcon,Nb as RadioButtonUncheckedIcon,s as SARIconImage,Ro as SEGMENT_FILTER_KEY,So as SEGMENT_TYPE_FILTERS_MAP,xn as SERVICE_COMMON_FUNCTIONS,Do as SHEET_VIEW_TABLE_LIST_OVER_SCAN,Fo as SHEET_VIEW_TABLE_ROW_HEIGHT,Eo as SHEET_VIEW_TABLE_THRESHOLD,wo as SUPPORTED_CURRENCY_CODES,vo as SUPPORTED_CURRENCY_DETAILS,Mc as SandboxDefault,Lc as SandboxHovered,Xd as SandboxHoveredLightIcon,zo as TABLE_CONTENT_ROW_HEIGHT,Co as TABLE_LIST_OVER_SCAN,yo as TABLE_LOADING_ROW_HEIGHT,Ao as TABLE_ROW_HEIGHT,Bo as TABLE_THRESHOLD,um as TAP3DSPROVIDERIcon,Qn as TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED,Jn as TEST_SECRET_KEY,ko as TIMEZONES,uo as VIEWER_HEIGHT,to as VIEWER_WIDTH,qo as WINDOW_ANIMATION_DURATION,wn as WINDOW_TOOL_BAR_HEIGHT,u as abandonedIcon,Mh as abandonedNoBGIcon,Gg as abandonedTableIcon,v as abandonedYellowIcon,wc as acceptanceAppDisabledIcon,sc as acceptanceAppIcon,uc as acceptanceBlueIcon,Bc as acceptanceDisabledRoundedIcon,tc as acceptanceEnabledIcon,Ei as acceptanceWindowIcon,fb as acceptedFlag,Ic as accountAppIcon,Li as accountWindowIcon,pb as acquirerIcon,tb as acquirerOrangeIcon,rb as acquirerRedIcon,ic as actionFailIcon,jc as actionSuccessIcon,Vi as actionsIcon,sj as activeActionIcon,dm as activeBlueIcon,cm as activeGreenIcon,vf as activeLeadStatusIcon,cl as addIconWhite,Wi as addItem,Bj as addItemIcon,Lb as addidasIcon,xi as agreementInstallmentIcon,wi as agreementOrderIcon,yi as agreementSavedCardIcon,zi as agreementSubscriptionIcon,kb as allAppsIcon,cp as allAuthenticationStatuses,Dk as androidAppIcon,Vf as androidIcon,b as appBaseUrl,Y as applePayIcon,tm as applePayProviderIcon,ti as appsGridIcon,fg as arcIcon,wl as archievedOutlined,Lj as archivedVerifyIcon,Xi as attachIcon,zj as attachIcon2,qe as attentionIcon,Vg as authenticatedIcon,kh as authenticatedSuccessIcon,vh as authenticatedSuccessNoBgIcon,Cc as authenticationAppIcon,Vh as authenticationAppTypeIcon,$g as authenticationAttemptedIcon,ph as authenticationAttemptedNoBgIcon,Wh as authenticationBiometricIcon,bh as authenticationDeclinedIcon,sh as authenticationDeclinedNoBgIcon,Xh as authenticationDeviceIcon,dh as authenticationExemptedWithTransactionIcon,qh as authenticationExemptedWithTransactionNoBgIcon,ch as authenticationExemptedWithoutTransactionIcon,rh as authenticationExemptedWithoutTransactionNoBgIcon,eh as authenticationFailedIcon,mh as authenticationFailedNoBgIcon,Ug as authenticationFailedTableIcon,fh as authenticationInitiatedIcon,Yh as authenticationIssuerIcon,ah as authenticationNoAuthIcon,oh as authenticationNoAuthNoBgIcon,lh as authenticationPendingIcon,nh as authenticationPendingNoBgIcon,Zh as authenticationSchemeIcon,gh as authenticationUnavailableIcon,th as authenticationUnavailableNoBgIcon,hh as authenticationUndeterminedIcon,uh as authenticationUndeterminedNoBgIcon,Uh as authenticationWalletIcon,Ni as authenticationWindowIcon,jh as authenticationWithTransactionIcon,wh as authenticationWithTransactionNoBgIcon,ih as authenticationWithoutTransactionIcon,xh as authenticationWithoutTransactionNoBgIcon,Rn as authenticationsTableCellWidth,gl as authorizationServiceIcon,Sn as authorizationTableCellWidth,Ak as authorizedIcon,fk as autoCapturedIcon,gk as autoVoidIcon,Wk as babyBlueCheckIcon,Fe as backButtonLeftIcon,R as bahrainIcon,tg as bankBlueIcon,cc as bankIcon,Yk as bankNoteIcon,vm as benefitPayProviderIcon,wm as benefitProviderIcon,pc as billingAppIcon,Gi as billingWindowIcon,Qj as biometricIcon,_k as blackBrushIcon,Ll as blackDeviceIcon,Wc as blackHeadingDownArrow,Gl as blackLinkIcon,Sl as blackMobileBatteryIcon,Tl as blackMobileSignalIcon,xb as blackRightArrowIcon,Hl as blackSettingsIcon,hm as blackSettingsVariant2Icon,Xl as blackUnLinkIcon,Il as blackWallet,If as blueAppsIcon,ri as blueArrowUpIcon,Qc as blueCheckIcon,Cj as blueCircleCheckIcon,si as blueCircleLoaderIcon,jm as blueCircleWithWhiteCheckIcon,Fl as blueCopyIcon,Yc as blueDropdownArrowIcon,Jl as blueGradientBrushIcon,Xc as blueHeadingDropdownArrow,yj as blueNoteIcon,gm as bluePlusIcon,Fj as blueVerifyIcon,Pb as blueZigzagCheckIcon,Ai as brandPlaceholderIcon,fl as brandServiceIcon,eg as braveIcon,mn as bulkInvoiceTemplate,ln as bulkRefundTemplate,Hc as businessesAppIcon,Mi as businessesWindowIcon,aa as buyNowPayLaterIcon,ek as calenderIcon,hk as cancelledIcon,Aa as cancelledInvoiceIcon,Va as cancelledNoBgIcon,mf as cancelledStatusIcon,Hg as cancelledTableIcon,ub as capturedAuthorizeIcon,ja as capturedDropdownIcon,ik as capturedIcon,Ig as capturedTableIcon,xg as carIcon,T as cardIcon,Wm as cardUploadIcon,pi as cardViewButtonIcon,xm as careemPayProviderIcon,Z as cashIcon,ia as chargeBackIcon,ha as chargeBackRequestedIcon,Kg as chargeBackRequestedTableIcon,Jg as chargeBackTableIcon,Wl as chargeBackWhiteIcon,Tn as chargeTableCellWidth,hl as chargebacksServiceIcon,il as chargesServiceIcon,Of as chatDisabledIcon,Eb as checkIcon,kc as checkMarkIcon,Hb as checkboxIcon,Eh as checkoutStatusBlueIcon,Dh as checkoutStatusIcon,Fh as checkoutWithMarkStatusIcon,w as chevronDownIcon,me as chevronGrayIcon,le as chevronWhiteIcon,ag as chromeIcon,gg as chromiumIcon,ac as clearCoinIcon,gb as clearIcon,Bf as clipboardFileGrayIcon,Ci as clipboardIcon,Te as clockIcon,ob as closeCircle,Sa as closeIcon,xl as closeOutlinedCircle,Fb as closeXIcon,ua as closedDisputeIcon,Ab as closedFlagIcon,xf as closedLeadStatusIcon,_l as closedOutlinedYellowCircle,bi as closedStatusIcon,Kj as closedVerifyIcon,Pl as codeBlackIcon,sa as codeIcon,Tc as collapseArrowIcon,Yi as collapseArrows,ve as collapseArrowsIcon,Da as columnIcon,bk as columnResizeIndicatorIcon,se as completedAcceptanceIcon,Xg as completedBlackIcon,ga as completedIcon,wf as completedLeadStatusIcon,ue as completedPayoutsIcon,Lg as completedTableIcon,ra as copyIcon,Bg as corporateLoanBlackIcon,Ag as corporateLoanIcon,Sj as createChargeIcon,ul as createLeadIcon,lf as createdStatusIcon,We as csvIcon,Zi as customerIcon,wj as customerIcon2,Gc as customersAppIcon,Hi as customersWindowIcon,qm as cyberSourceProviderIcon,ed as darkAppPlatformSubSegmentIcon,fd as darkAuthenticationGatewaySubSegmentIcon,gd as darkBillingPlatformSubSegmentIcon,Gj as darkBlueVerifyIcon,_c as darkBusinessSegmentIcon,Sc as darkCheckIcon,hd as darkCommercePlatformSubSegmentIcon,id as darkCommercialRegulatorSubSegmentIcon,$c as darkDevelopmentSegmentIcon,ak as darkFilterIcon,ad as darkFinancialSegmentIcon,_f as darkGreyTimezoneIcon,ec as darkLeftArrowIcon,bd as darkMasterOrchestratorSegmentIcon,jd as darkMerchantServiceProviderSubSegmentIcon,kd as darkPaymentAcquirerSubSegmentIcon,ld as darkPaymentFacilitatorSubSegmentIcon,md as darkPaymentGatewayProviderSubSegmentIcon,nd as darkPaymentIssuerSubSegmentIcon,od as darkPaymentMethodSubSegmentIcon,pd as darkPaymentProcessorSubSegmentIcon,qd as darkPaymentSchemeSubSegmentIcon,rd as darkPaymentTechnologySubSegmentIcon,sd as darkPaymentTerminalProviderSubSegmentIcon,cd as darkPlatformSegmentIcon,dd as darkProviderSegmentIcon,td as darkRetailPlatformSubSegmentIcon,ud as darkRetailerSubSegmentIcon,fc as darkRightArrowIcon,Ta as dashedCheckIcon,yl as dashedOutlinedCircle,ab as deMaximizeIcon,zl as deactivatedCircle,Al as deactivatedCircleV2,Za as deactivatedIcon,$l as deactivatedOrangeCircle,am as deactivatedOrangeCircleV2,on as deactiveIcon,jk as declinedIcon,Sg as declinedNoBgTableIcon,Mg as declinedTableIcon,qg as deemaAppIcon,ym as deemaProviderIcon,rg as deemaWindowIcon,Vl as deemaWithLabel,Oj as defaultCountryIcon,Pj as defaultDeviceIcon,jf as deletedStatusIcon,pf as deliveredStatusIcon,wa as desktopIcon,Ng as destinationReversedTableIcon,z as destinationSolidIcon,Tg as destinationSuccessTableIcon,Og as destinationWithoutBackgroundIcon,kk as destinationsIcon,jl as destinationsServiceIcon,Un as destinationsTableCellWidth,W as deviceIcon,Xk as digitalReceiptIcon,Rb as dimmedZigzagCheckIcon,pn as disableIcon,Jf as disabledCardIcon,Rc as disabledCheckIcon,Kf as disabledCodeIcon,_i as discountIcon,F as disputeIcon,ka as disputeResolvedIcon,Pg as disputeResolvedTableIcon,hf as dollarSignIcon,_e as doneIcon,_m as dottedConnectorIcon,ff as dottedLine,Db as downArrowIcon,vj as downArrowIcon3,Pm as downloadBlueIcon,Df as downloadFileIcon,kf as draftStatusIcon,Gb as dragIcon,ge as dueDateBlackIcon,ce as dueDateBlueIcon,he as dueDateGrayIcon,de as dueDateOrangeIcon,fe as dueDateRedIcon,ee as dueDateYellowIcon,fn as earlySettlementsIcon,cg as edgeIcon,Bh as editIcon,K as egyptFlagIcon,ma as ellipsisHorizontalIcon,aj as emailBlackIcon,Yd as emailChannelIcon,$i as emailIcon,nn as emptyCopyIcon,Rh as emptyIcon,Ul as emptyMobileWifiIcon,Yo as emptyStatusChipColors,Ym as endConnectorIcon,kl as entityServiceIcon,Wj as entityTimezoneIcon,Q as europeFlagIcon,Ka as exclamationDarkGreyIcon,Pf as exclamationDarkIcon,Rf as exclamationErrorIcon,Ja as exclamationGreyIcon,Sf as exclamationOrangeIcon,Bl as exclamationOutlinedCircle,bm as exclamationOutlinedOrangeCircle,Qf as exclamationWarningIcon,im as exclamationWhiteIcon,en as excludeIcon,Fn as excludedApps,cj as expandArrows,we as expandArrowsIcon,je as expiredIcon,Ba as expiredInvoiceIcon,yf as expiredLeadStatusIcon,Wa as expiredNoBgIcon,nf as expiredStatusIcon,X as expressCheckoutIcon,qn as extendIcon,km as externalLinkIcon,Qm as eyeBlueIcon,Ge as eyeHideIcon,He as eyeShowIcon,lk as failedIcon,Rg as failedNoBgTableIcon,Qg as failedTableIcon,Ia as failedWhiteBgIcon,Rm as fastBlackIcon,sg as fastIcon,zm as fawryProviderIcon,dj as feeIcon,Zj as fileDownloadBlueIcon,_j as fileDownloadGreyIcon,Af as fileIcon,Um as fileMinusIcon,e as filesUrl,Zm as filledConnectorIcon,hn as financeFeaturesIcon,gn as financedByIcon,bg as firefoxIcon,E as flagIcon,mm as flipIcon,Am as fssProviderIcon,c as functionBaseUrl,Kl as gadientLink,sb as gatewayIcon,mk as gatewayOrangeIcon,nk as gatewayRedIcon,sn as gatewaySolidIcon,$d as genericIcon,qb as genericIconNew,r as getAgingIcon,n as getAuthorityIcon,o as getBrowserIcon,j as getCountriesIcon,m as getCurrenciesIcon,g as getLightUrlIcon,q as getPaymentGatewaysIcon,p as getPaymentInitiatorIcon,i as getPaymentIssuersIcon,h as getPaymentMethodsIcon,k as getServiceFunctionIcon,l as getStatusIcon,Ml as gradientDeviceIcon,Nl as gradientSettings,Ol as gradientWallet,Sd as grayBrandIcon,Td as grayCircleIcon,vi as grayCloseIcon,Cb as grayFlagIcon,tj as grayProductLabel,Vc as grayUpArrowIcon,Hj as grayVerifyIcon,ye as greenArrowLeftIcon,xe as greenArrowRightIcon,ze as greenArrowUpIcon,El as greenCheck2ACE00,ta as greenCheckIcon,Tf as greenCheckV2Icon,Ij as greenVerifyIcon,Qb as greenZigzagCheckIcon,Xf as greyAppleIcon,Oc as greyCheckIcon,Pc as greyCrossIcon,Zf as greyDesktopIcon,el as greyDownArrowIcon,Zc as greyDropdownIcon,Yf as greyLocationIcon,zh as greyMinusIcon,yh as greyPlusIcon,H as greyTimezoneIcon,dl as greyUpArrowIcon,Pa as halfCircleIcon,yg as handCoinsWhiteIcon,pm as helpCircleIcon,lb as hideIcon,dc as hijriIcon,ck as homeIcon,Ek as iOSAppIcon,cb as ibanIcon,qa as idIcon,em as inActiveGreyIcon,re as initialAcceptanceIcon,te as initialPayoutsIcon,Bk as initiatedIcon,Ne as inprogressIcon,rl as insightsServiceIcon,Ih as intentCancelledStatusIcon,Gh as intentExpiredStatusIcon,Hh as intentInitiatedStatusIcon,Jh as intentTransactedStatusIcon,ql as intentsServiceIcon,Vn as intentsTableCellWidth,za as invoiceIcon,oa as invoiceIdIcon,Ca as invoiceNumberIcon,ll as invoiceServiceIcon,Wn as invoicesTableCellWidth,Uf as iosIcon,bn as issuerAttributesIcon,V as jaywanIcon,M as jordanFlagIcon,Vd as jsonBlackIcon,Ud as jsonIcon,Bm as knetProviderIcon,O as kuwaitFlagIcon,Aj as lateFeeIcon2,Lf as layersIcon,bf as leadAppIcon,cf as leadTitleIcon,Nf as leadWhiteIcon,Xn as leadsTableCellWidth,N as lebanonFlagIcon,ng as lendingAppIcon,pg as lendingProviderAppIcon,og as lendingWindowIcon,Bd as lightAppPlatformSubSegmentIcon,Cd as lightAuthenticationGatewaySubSegmentIcon,Dd as lightBillingPlatformSubSegmentIcon,vd as lightBusinessSegmentIcon,Ed as lightCommercePlatformSubSegmentIcon,Fd as lightCommercialRegulatorSubSegmentIcon,wd as lightDevelopmentSegmentIcon,xd as lightFinancialSegmentIcon,yd as lightMasterOrchestratorSegmentIcon,Gd as lightMerchantServiceProviderSubSegmentIcon,Hd as lightPaymentAcquirerSubSegmentIcon,Id as lightPaymentFacilitatorSubSegmentIcon,Jd as lightPaymentGatewayProviderSubSegmentIcon,Kd as lightPaymentIssuerSubSegmentIcon,Ld as lightPaymentMethodSubSegmentIcon,Md as lightPaymentProcessorSubSegmentIcon,Nd as lightPaymentSchemeSubSegmentIcon,Od as lightPaymentTechnologySubSegmentIcon,Pd as lightPaymentTerminalProviderSubSegmentIcon,zd as lightPlatformSegmentIcon,Ad as lightProviderSegmentIcon,Qd as lightRetailPlatformSubSegmentIcon,Rd as lightRetailerSubSegmentIcon,a as lightUrl,bj as linkTiltedIcon,zg as listIcon,Nj as listShadowBg,qi as listViewButtonIcon,Sh as loaderWhiteIcon,in as loanAmountIcon,Nk as locationIcon,dk as lockIcon,lc as logOutIcon,Kh as longWordsIcon,Ob as macIcon,Ql as manyCurrencyCoin,Rl as manyCurrencyCoinGradient,Tb as marketPlaceBlackIcon,Sb as marketPlaceBlueIcon,Ub as marketPlaceDimmedIcon,Qa as maximizeIcon,Cm as meezaProviderIcon,an as merchantAttributesIcon,vb as merchantInitiatedIcon,go as merchantsTableCellWidth,Zb as messageIcon,$j as metaIcon,Ra as minimizeIcon,ej as minusIcon,xa as mobileIcon,Yb as moneyInDimmedIcon,Xb as moneyInIcon,Wb as moneyOutDimmedIcon,Vb as moneyOutIcon,wg as moonStarIcon,vg as mosqueBlackIcon,ug as mosqueIcon,jn as murabhaFinanceIcon,$k as mutedOutlinedCheckIcon,Dm as nGenIusProviderIcon,Vk as navigationIcon,bl as navigationPointerBlack,Cf as newFileIcon,rj as newInvoiceIcon,rc as newReceiptIcon,ib as newWindowIcon,Di as noAgreementIcon,Ah as noPreviewIcon,ne as notVerifiedIcon,fj as noteIcon,xj as noteIcon2,Em as npgProviderIcon,Fm as omanNetProviderIcon,ba as openBankingIcon,va as openDisputeIcon,zb as openFlagIcon,dg as operaIcon,yb as orangeFlagIcon,kg as orchestrationAppIcon,jo as orchestrationRoutingTableCellWidth,io as orchestrationTerminalsTableCellWidth,mg as orchestrationWindowBg,lg as orchestrationWindowIcon,df as orderAppIcon,Zd as orderIcon,ef as orderWindowIcon,Yn as ordersTableCellWidth,Eg as osAppIcon,Fg as osAppWindowIcon,Dl as outlinedCircle,al as outlinedPlatformIcon,Ua as outstandingIcon,Xa as paidNoBgIcon,Yg as paidOutFilterIcon,ok as paidOutIcon,Nh as paidOutTableIcon,of as paidStatusIcon,_ as passThruWalletIcon,gf as passwordDotsIcon,$b as payStreamIcon,rn as payersIcon,Me as paylinkAppIcon,Le as paylinkWindowIcon,xc as payoutAppDisabledIcon,Ac as payoutDisabledRoundedIcon,yc as payoutEnabledIcon,zc as payoutGreenIcon,db as payoutIcon,ml as payoutServiceIcon,Ii as payoutWindowIcon,Ec as payoutsAppIcon,vc as payoutsGreenIcon,Zn as payoutsTableCellWidth,Gm as paypalProviderIcon,gj as pdfGrayIcon,Xe as pdfIcon,Mj as penIcon,bb as pendingFlag,_b as pendingIcon,Mf as pendingOnTapIcon,Ph as pendingPayoutIcon,tf as pendingStatusIcon,Vm as percentIcon,La as percentage0Icon,Oa as percentage100Icon,Ma as percentage50Icon,Na as percentage75Icon,Fk as physicalLocationIcon,_h as pinIcon,Cg as platformAppIcon,Dg as platformWindowIcon,$m as playIcon,uj as plusQty,Hm as postpayProviderIcon,mc as preferencesIcon,di as previewModeIcon,hj as productLabel,Ef as progressFileIcon,Fc as protectAppIcon,_n as protectAuthorizationsTableCellWidth,$n as protectChargesTableCellWidth,Jb as protectIcon,Ji as protectWindowIcon,Im as qPayProviderIcon,ij as quantityIcon,Cl as questionOutlinedCircle,mb as quitIcon,zf as readyLeadStatusIcon,qc as receiptBillIcon,Uj as receiptIcon,fa as redArrowDownIcon,Oe as redCloseCircleIcon,Ue as redCloseIcon,Bb as redFlagIcon,Ej as redTrashBinIcon,Jj as redVerifyIcon,cn as refreshIcon,qk as refundInitiatedIcon,rk as refundSettledIcon,ao as refundTableCellWidth,pk as refundedIcon,sk as refundedNotSettledIcon,uf as refundedStatusIcon,nl as refundsServiceIcon,Ya as refunededNoBgIcon,eb as releasedFlag,if as reloadIcon,ke as remindedRedIcon,jj as removeAllItem,x as removeIcon,kj as removeItem,Sm as repeatIcon,af as reportAppIcon,$e as reportAppsIcon,_o as reportFilterTypesMap,Ye as reportIcon,D as reportsIcon,Ze as reportsIconOutlined,Oi as reportsWindowIcon,tk as restrictedIcon,sl as retailersServiceIcon,Th as reverseActionIcon,la as reversePayoutIcon,Oh as reversePayoutTableIcon,y as reversedIcon,wb as rightArrow,Jk as rightLightArrowIcon,dn as riskAttributesIcon,pa as rowIdIcon,$f as safariIcon,Re as sandboxDefaultIcon,Qe as sandboxHoveredIcon,Se as sandboxOrangeIcon,L as saudiArabiaFlagIcon,Zg as saveTokenIcon,J as savedCardIcon,rf as savedStatusIcon,Xj as savedTimezoneIcon,Wg as scheduledFilterIcon,sf as scheduledStatusIcon,Ik as searchBlueIcon,A as searchIcon,Mk as segmentDevelopmentHouseIcon,Kk as segmentInstitutionIcon,Lk as segmentTechnologyIcon,Nn as servicesTags,lm as settingsIcon,uk as settledIcon,vk as settlementInitiatedIcon,Lh as sheetViewIcon,Tm as shieldIcon,De as shopifyBadgeIcon,nm as shoppingCartIcon,ig as slaProcessAppIcon,jg as slaProcessWindowIcon,Yj as smallBlueCheckIcon,Hk as smallLeftArrowIcon,ae as smsChannelIcon,lj as smsIcon,Gk as socialLinksIcon,Zl as sortAscArrowIcon,Ea as sortAzIcon,Yl as sortDescArrowIcon,Wd as sortIcon,Fa as sortZaIcon,Jm as spgProviderIcon,hc as spinnerLoadingAnimatedIcon,li as spinnerLoadingBlueIcon,gc as spinnerLoadingIcon,nb as starIcon,Xm as startConnectorIcon,Km as stcPayProviderIcon,$ as storedValueWalletIcon,I as subscriptionIcon,Tj as successCheckIcon,Ff as successFileIcon,Ha as successWhiteBgIcon,ai as switcherIcon,Lm as tabbyProviderIcon,mi as tableBackgroundLoader,ni as tableBlueArrowUpIcon,oi as tableBlueCheckMarkShadowedIcon,ji as tableLoadingSpinnerIcon,ki as tableLoadingSpinnerWhiteIcon,ya as tabletIcon,Mm as tamaraProviderIcon,mj as taxIcon,Hf as teamWindowIcon,f as templatesUrl,Ok as terminalAppIcon,Tk as terminalBrushIcon,Uk as terminalBrushMuted,Qk as terminalCardPhone,Zk as terminalDeviceFrame,fm as terminalLinkVideo,tl as terminalServiceIcon,Sk as terminalTypeIcon,Pk as terminalWindowIcon,ho as terminalsTableCellWidth,kn as testimonialIcon,Rj as threeDSIcon,na as threeDsIcon,wk as timedOutIcon,ie as timerBlueIcon,G as timezoneIcon,Rk as toastPOSIcon,oc as tokenAppIcon,ii as tokenCardIcon,gi as tokenExpiredStatusIcon,hi as tokenPendingStatusIcon,ei as tokenSavedStatusIcon,fi as tokenTransactedStatusIcon,Pi as tokensReportsIcon,bo as tokensTableCellWidth,Ki as tokensWindowIcon,_a as topUpIcon,co as topupsTableCellWidth,nj as totalAmountIcon,Nm as tpayProviderIcon,Om as tpgProviderIcon,_d as transactionIcon,nc as transformIcon,Dj as trashBinIcon,bp as unAuthenticatedStatuses,B as unAuthorizedIcon,xk as unAvailableIcon,hb as unCapturedIcon,Mn as unCapturedStatuses,Jc as unCheckedIcon,_g as unauthenticatedIcon,oj as unfocusRemoveItem,U as unionPayIcon,Kb as unisoIcon,P as unitedArabEmiratesFlagIcon,S as unitedStatesFlagIcon,yk as unknownIcon,$h as unpinIcon,Ke as uploadAppIcon,Pe as uploadBlueIcon,Ie as uploadIcon,Je as uploadWindowIcon,hg as userIcon,Vj as userTimezoneIcon,Bi as usersIcon,ol as usersServiceIcon,Ee as verifiedGreenBadgeIcon,oe as verifiedIcon,om as verifyAvatarIcon,pe as verifyReviewIcon,ci as verticalLineIcon,d as videosUrl,jb as viewAllIcon,C as viewIcon,Ch as viewInvoiceIcon,vl as viewLeadIcon,qf as viewedStatusIcon,ea as visaIcon,zk as voidedIcon,Dc as walletAppIcon,eo as walletDetailsTableCellWidth,bc as walletIcon,pl as walletServiceIcon,fo as walletStatementTableCellWidth,do as walletTableCellWidth,Fi as walletWindowIcon,Nc as warningInfoIcon,Ck as websiteBlueIcon,Wf as websiteIcon,be as whatsappChannelIcon,pj as whatsappIcon,qj as whiteArrow2,Gf as whiteArrowDownIcon,Be as whiteArrowLeftIcon,Ae as whiteArrowRightIcon,Qh as whiteCloseIcon,ui as whiteFilterIcon,Ib as whitePlusIcon,Kc as wifiOffIcon,Si as windowBankIcon,Qi as windowBrandIcon,Ri as windowEntityIcon,Ti as windowIndividualIcon,Ui as windowPasswordIcon,Uc as worldIcon,Ve as xlsIcon,Ga as zipFileIcon}from'./_chunks/chunk-4FJ26UVI.js';export{m as ACCOUNT_APP_SETTINGS,l as ACCOUNT_SECTION,n as AppEvent,h as ChargeBreakDownType,f as CurrencyCodes,o as DISCOUNT_TYPE,b as LanguageMode,i as NewRelicEventType,k as NewRelicFeatureName,j as NewRelicFeatureType,c as RECURRENCE_TYPE,q as ReportStatusEnum,g as SEGMENT_CODE,d as SEND_INVOICE,e as SalesChannelTypes,p as StatusValue,a as ThemeMode}from'./_chunks/chunk-ZDBICST5.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.3.247",
4
+ "version": "0.3.248",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "build/index.js",
@@ -1,2 +0,0 @@
1
- import {P as P$1,O}from'./chunk-TNT6LPG6.js';import {nc}from'./chunk-BYJ7JVY3.js';import'./chunk-4FJ26UVI.js';import {forwardRef,useMemo,useState,memo}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var d="os-shared-Sidebar",e={root:`${d}-root`,header:`${d}-header`,content:`${d}-content`,footer:`${d}-footer`,link:`${d}-link`,group:`${d}-group`,groupSummary:`${d}-groupSummary`,groupSummaryActive:`${d}-groupSummaryActive`,groupHeader:`${d}-groupHeader`,groupContent:`${d}-groupContent`,groupItem:`${d}-groupItem`,startAdornment:`${d}-startAdornment`,endAdornment:`${d}-endAdornment`};var N=r=>{let{palette:n}=useTheme();return jsx("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:jsx("path",{d:"M9.97437 5.23633C10.0426 5.23465 10.1087 5.25507 10.1648 5.29395C10.2207 5.33278 10.264 5.3876 10.2888 5.45117C10.3136 5.51487 10.3195 5.5852 10.3064 5.65234C10.2934 5.71873 10.2614 5.77954 10.2146 5.82813L7.23608 9.01172C7.17462 9.07723 7.08968 9.11518 6.99976 9.11523C6.90985 9.11523 6.82492 9.07717 6.76343 9.01172L3.78394 5.8291L3.78491 5.82812C3.73877 5.77985 3.70612 5.71999 3.69312 5.6543C3.68007 5.58802 3.68575 5.51818 3.70972 5.45508C3.7337 5.39201 3.77618 5.33717 3.83081 5.29785C3.88553 5.25857 3.95095 5.23732 4.01831 5.2373C4.0635 5.23736 4.10797 5.24702 4.14917 5.26562C4.18997 5.28407 4.2263 5.31071 4.25659 5.34375L6.99878 8.27246L9.74194 5.34375C9.80179 5.27779 9.88521 5.23858 9.97437 5.23633Z",fill:n.text.textSecondary,stroke:n.text.textSecondary,strokeWidth:"0.204167"})})};var w="linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)",G=styled("div")(({theme:r})=>{let{base:n}=r.v2.palette;return {backgroundColor:alpha(n.white,.7),backdropFilter:r.v2.blur[16],width:183,position:"sticky",padding:`${r.v2.spacing(16)} ${r.v2.spacing(8)}`,height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"}}),H=styled("div")({flexShrink:0}),L=styled("div")(({theme:r})=>({display:"flex",flexDirection:"column",gap:r.v2.spacing(4),flex:1,minHeight:0,overflow:"auto"})),R=styled("div")({flexShrink:0}),S={border:"none",width:"100%",textAlign:"left",font:"inherit",cursor:"pointer"},f=styled("span")({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),v=styled("span")({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:"auto"}),E=styled("button",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:a}=r.v2.palette;return {...S,...r.v2.typography.textVariants.body.small.regular,background:n?w:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:n?o.white:a.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4)}}),P=styled(P$1)(({theme:r})=>({background:"transparent",border:"none !important",borderRadius:"4px !important",[`& .${O.summary}`]:{padding:0,paddingRight:8,minHeight:"24px",height:"24px","&.Mui-expanded":{minHeight:"24px",height:"24px"},marginBottom:4,borderRadius:"4px !important",background:"transparent",transition:"none"},[`& .${O.summary}.${e.groupSummaryActive}`]:{backgroundColor:r.v2.palette.base.white},[`& .${O.content}`]:{borderTop:"none",padding:0},[`& .${O.labelContent}`]:{flexGrow:1,minWidth:0}})),D=styled("span",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:a}=r.v2.palette;return {...S,...r.v2.typography.textVariants.body.small.regular,background:n?o.white:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:a.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4),width:"100%",cursor:"pointer"}}),F=styled("div")({display:"flex",flexDirection:"column"}),V=styled("button",{shouldForwardProp:r=>r!=="$isActive"})(({theme:r,$isActive:n=false})=>{let{base:o,foreground:a}=r.v2.palette;return {...S,...r.v2.typography.textVariants.body.small.regular,background:n?w:"transparent",borderRadius:r.v2.radius(4),padding:`${r.v2.spacing(4)} ${r.v2.spacing(8)}`,color:n?o.white:a.primary,display:"flex",alignItems:"center",justifyContent:"flex-start",gap:r.v2.spacing(4)}});var $=r=>!!r.sections?.length;function B(r,n){let o=n??r?.[0]?.sections?.[0]?.id??r?.[0]?.id,a=r?.find(u=>u.id===o),m=!a||!$(a),l=m?r?.find(u=>u.sections?.some(g=>g.id===o)):a,b=l?.id??a?.id??o,y=l?m?o:l.sections?.[0]?.id:void 0;return {activeId:o,activeGroupId:b,activeLeafId:y}}var M=forwardRef(({sections:r,activeSectionId:n,onSelect:o,header:a,footer:m,id:l,className:b,sx:y},u)=>{let{activeId:g,activeGroupId:A,activeLeafId:h}=useMemo(()=>B(r,n),[r,n]),[T,j]=useState({});return jsxs(G,{ref:u,id:l,"data-testid":l??"Sidebar",className:nc(e.root,b),sx:y,children:[a?jsx(H,{className:e.header,children:a}):null,jsx(L,{className:e.content,children:r?.map(t=>$(t)?jsx(P,{className:e.group,expanded:T[t.id]??t.id===A,onChange:i=>j(W=>({...W,[t.id]:i})),expandIcon:jsx(N,{}),slotProps:{root:{component:"section"},summary:{className:nc(e.groupSummary,A===t.id&&e.groupSummaryActive)}},label:jsxs(D,{$isActive:A===t.id,className:e.groupHeader,children:[t.startAdornment?jsx(f,{className:e.startAdornment,children:t.startAdornment}):null,t.title,t.endAdornment?jsx(v,{className:e.endAdornment,children:t.endAdornment}):null]}),content:jsx(F,{className:e.groupContent,children:t.sections?.map(i=>jsxs(V,{type:"button",$isActive:h===i.id,"aria-current":h===i.id?"true":void 0,onClick:()=>o?.(i,t,[t,i]),className:e.groupItem,children:[i.startAdornment?jsx(f,{className:e.startAdornment,children:i.startAdornment}):null,i.title,i.endAdornment?jsx(v,{className:e.endAdornment,children:i.endAdornment}):null]},`${t.id}-${i.id}`))})},t.id):jsxs(E,{type:"button",$isActive:g===t.id,"aria-current":g===t.id?"true":void 0,onClick:()=>o?.(t,void 0,[t]),className:e.link,children:[t.startAdornment?jsx(f,{className:e.startAdornment,children:t.startAdornment}):null,t.title,t.endAdornment?jsx(v,{className:e.endAdornment,children:t.endAdornment}):null]},t.id))}),m?jsx(R,{className:e.footer,children:m}):null]})});M.displayName="Sidebar";var Q=memo(M);
2
- export{e as a,Q as b};