@zeniai/web-components 4.2.3 → 4.2.4

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.
@@ -17866,7 +17866,7 @@ to {
17866
17866
  color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
17867
17867
  }
17868
17868
  `,pKt=s.div`
17869
- margin-right: ${e=>e.searchIconMarginRight!=null?e.searchIconMarginRight:o.sp0};
17869
+ margin-right: ${e=>e.isSearchOpen&&e.searchIconMarginRight!=null?e.searchIconMarginRight:o.sp0};
17870
17870
  cursor: ${e=>e.disabled===!0?"default":e.isSearchOpen?"unset":"pointer"};
17871
17871
  box-sizing: unset;
17872
17872
  height: ${e=>e.windowSize==="small"?o.sp6:"unset"};
@@ -17890,7 +17890,7 @@ to {
17890
17890
  box-sizing: unset;
17891
17891
  display: flex;
17892
17892
  `,gKt=s.div`
17893
- margin-right: ${e=>e.isSearchOpen&&e.searchIconMarginRight!=null?e.searchIconMarginRight:o.sp0};
17893
+ margin-right: ${o.sp0};
17894
17894
  display: flex;
17895
17895
  align-items: center;
17896
17896
  justify-content: ${e=>e.windowSize==="small"?"space-between":"flex-end"};
@@ -17898,20 +17898,7 @@ to {
17898
17898
  border-radius: 6px;
17899
17899
  box-sizing: border-box;
17900
17900
  height: ${e=>e.windowSize==="small"?o.sp6:o.sp5};
17901
- /*
17902
- * Closed width is Space.sp5 (32px), not Space.sp4 (24px == icon size),
17903
- * for two reasons:
17904
- * 1. With box-sizing border-box, a 24px outer width minus the 1px
17905
- * transparent border on each side leaves only a 22px content area
17906
- * — the 24px icon gets clipped by overflow:hidden.
17907
- * 2. The icon then has to fight StyledInputWrapper (flex:1) for
17908
- * space; default flex-shrink:1 lets the icon get squeezed even
17909
- * when nominally the same width as the box.
17910
- * 32px gives the icon a comfortable hit area in both states (the row
17911
- * is also Space.sp5 tall, so the icon ends up centered in a square).
17912
- * The icon's own 24x24 hover surface still renders normally inside.
17913
- */
17914
- width: ${e=>e.windowSize==="small"?"auto":e.isSearchOpen?"400px":o.sp5};
17901
+ width: ${e=>e.windowSize==="small"?"auto":e.isSearchOpen?"400px":o.sp4};
17915
17902
  /*
17916
17903
  * Use the specific background-color property rather than the
17917
17904
  * background shorthand: the shorthand resets background-image /
@@ -17922,14 +17909,14 @@ to {
17922
17909
  * same property keeps the box fade smooth.
17923
17910
  */
17924
17911
  background-color: ${e=>e.isSearchOpen?e.theme.colors.background:"transparent"};
17925
- border: 1px solid
17912
+ box-shadow: inset 0 0 0 1px
17926
17913
  ${e=>e.isSearchOpen?e.theme.colors.grey2:"transparent"};
17927
17914
  padding-left: ${e=>e.isSearchOpen?o.sp2:o.sp0};
17928
17915
  padding-right: ${e=>e.isSearchOpen?o.sp2:o.sp0};
17929
17916
  transition:
17930
17917
  width 240ms cubic-bezier(0.4, 0, 0.2, 1),
17931
17918
  background-color 200ms ease-out,
17932
- border-color 200ms ease-out,
17919
+ box-shadow 200ms ease-out,
17933
17920
  padding-left 240ms cubic-bezier(0.4, 0, 0.2, 1),
17934
17921
  padding-right 240ms cubic-bezier(0.4, 0, 0.2, 1);
17935
17922
  `;function tf(e){const n=J(),{selectedEntity:i,currentTab:r}=e,a=i!=null&&r!=null?M("search",`${i}-${r}`):void 0;return t.jsxRuntimeExports.jsxs(fKt,{"data-testid":a,downloadPresent:!!e.downloadPresent,children:[t.jsxRuntimeExports.jsx(yKt,{isSearchOpen:e.isSearchOpen!=null&&n==="small",windowsize:n,children:n!=="small"&&t.jsxRuntimeExports.jsx(Z2,{enableSearchHotkey:e.enableSearchHotkey,style:{position:"absolute",left:"unset",right:o.sp0,...e.searchTextBoxStyle},searchBarDataTestId:e.searchBarDataTestId,searchIconMarginRight:e.searchIconMarginRight,placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},inputWrapperStyle:e.inputWrapperStyle,styledSearchCancelIconWrapperStyle:e.styledSearchCancelIconWrapperStyle,styledSearchIconContainerStyle:e.styledSearchIconContainerStyle,styledSearchIconWrapperStyle:e.styledSearchIconWrapperStyle})}),n==="small"?t.jsxRuntimeExports.jsx(Z2,{enableSearchHotkey:e.enableSearchHotkey,style:{position:"absolute",left:"5px",right:"unset",top:"52px",width:"98%",...e.searchTextBoxStyle},searchBarDataTestId:e.searchBarDataTestId,searchIconMarginRight:e.searchIconMarginRight,placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},keepSearchBoxOpen:!0,inputWrapperStyle:e.inputWrapperStyle,styledSearchCancelIconWrapperStyle:e.styledSearchCancelIconWrapperStyle,styledSearchIconContainerStyle:e.styledSearchIconContainerStyle,styledSearchIconWrapperStyle:e.styledSearchIconWrapperStyle}):null]})}const fKt=s.div`
@@ -56077,7 +56064,7 @@ ${ti.beneficiaryAddress} ${te}`,d(fe),L(!0)},oe=(ue,fe,ie,ce)=>{let pe,ge;switch
56077
56064
  width: ${o.sp3};
56078
56065
  height: ${o.sp3};
56079
56066
  }
56080
- `,{customerOnboardingPage:{sections:{aiAgentsActivating:v2e}}}=F.getLocalizedStrings(),B3=4,$2e=3,m_n=3e3,cDe=e=>Array.from({length:e},()=>"idle"),x_n=()=>{const e=cDe(B3);return e[0]="starting",e},dDe=({tenantName:e,stepNumber:n,totalSteps:i,ledgerRowStatuses:r,backgroundRowStatuses:a,showLedgerReadyInLabel:l,showBackgroundReadyInLabel:c,counts:d,forceContinueEnabled:u,rowStartingDurationMs:m=m_n,onContinueClick:x})=>{const[h,g]=f.useState(x_n),[y,j]=f.useState(()=>cDe($2e)),[b,E]=f.useState(!1),[R,v]=f.useState(!1),S=r!=null||a!=null||l!=null||c!=null;f.useEffect(()=>{if(S)return;const L=[],B=(_,U)=>{L.push(setTimeout(()=>{if(_<B3){const z=_;g(W=>{const H=[...W];return H[z]="starting",H})}else{const z=_-B3;j(W=>{const H=[...W];return H[z]="starting",H})}},U))},O=(_,U)=>{L.push(setTimeout(()=>{if(_<B3){const z=_;g(W=>{const H=[...W];return H[z]="building",H})}else{const z=_-B3;j(W=>{const H=[...W];return H[z]="building",H})}},U))},D=B3+$2e;for(let _=0;_<D;_+=1)B(_,_*m),O(_,(_+1)*m);return L.push(setTimeout(()=>E(!0),(B3+1)*m)),L.push(setTimeout(()=>v(!0),(D+1)*m)),()=>{L.forEach(clearTimeout)}},[S,m]);const k=r??h,I=a??y,A=l??b,T=c??R,P=u??k.every(L=>L==="building");return t.jsxRuntimeExports.jsx(_8,{title:v2e.pageTitle,stepNumber:n,totalSteps:i,ctaLabel:v2e.ctaLabel,onCtaClick:x,ctaDisabled:!P,children:t.jsxRuntimeExports.jsx(l_n,{tenantName:e,ledgerRowStatuses:k,backgroundRowStatuses:I,showLedgerReadyInLabel:A,showBackgroundReadyInLabel:T,counts:d})})},{customerOnboardingPage:{sections:{connectDataSources:fN,chrome:h_n}}}=F.getLocalizedStrings(),uDe=({stepNumber:e,totalSteps:n,isContinueEnabled:i,onContinueClick:r,onSkipClick:a,integrationsContent:l})=>t.jsxRuntimeExports.jsx(_8,{title:fN.pageTitle,subtitle:fN.pageSubtitle,stepNumber:e,totalSteps:n,ctaLabel:fN.ctaLabel,onCtaClick:r,ctaDisabled:!i,skipLabel:a!=null?h_n.skipLabel:void 0,onSkipClick:a,children:l}),{customerOnboardingPage:{sections:{unlockFinancialStack:ll}}}=F.getLocalizedStrings(),g_n=({onStartKycClick:e,onStartKybClick:n,className:i})=>{const r=J(),a=Sd(r),l=[{...ll.products.billPay,icon:rh,valueColor:$.graphColor20Dark},{...ll.products.reimbursements,icon:Hw,valueColor:$.graphColor20Dark}];return t.jsxRuntimeExports.jsxs(y_n,{className:i,children:[t.jsxRuntimeExports.jsxs(C_n,{children:[t.jsxRuntimeExports.jsxs(j_n,{children:[t.jsxRuntimeExports.jsx(b_n,{children:ll.introTitle}),t.jsxRuntimeExports.jsx(w_n,{children:ll.introBody})]}),t.jsxRuntimeExports.jsx(E_n,{children:l.map(c=>t.jsxRuntimeExports.jsx(f_n,{...c},c.name))})]}),t.jsxRuntimeExports.jsxs(T_n,{children:[t.jsxRuntimeExports.jsxs(L_n,{$isPhone:a,children:[t.jsxRuntimeExports.jsxs(P_n,{children:[t.jsxRuntimeExports.jsxs(M_n,{children:[t.jsxRuntimeExports.jsx(B_n,{children:t.jsxRuntimeExports.jsx(KMe,{})}),t.jsxRuntimeExports.jsx(D_n,{children:ll.aiActiveCallout.heading})]}),t.jsxRuntimeExports.jsx(O_n,{children:ll.aiActiveCallout.body})]}),t.jsxRuntimeExports.jsxs(z_n,{$isPhone:a,children:[t.jsxRuntimeExports.jsx(F_n,{as:Qa}),t.jsxRuntimeExports.jsx(N_n,{$isPhone:a,children:a?t.jsxRuntimeExports.jsx("span",{children:`${ll.aiActiveCallout.metaPrimary} ${ll.aiActiveCallout.metaSecondary}`}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx("span",{children:ll.aiActiveCallout.metaPrimary}),t.jsxRuntimeExports.jsx("span",{children:ll.aiActiveCallout.metaSecondary})]})})]})]}),t.jsxRuntimeExports.jsx(S2e,{title:ll.kycStep.title,body:ll.kycStep.body,meta:ll.kycStep.meta,onClick:e}),t.jsxRuntimeExports.jsx(S2e,{title:ll.kybStep.title,body:ll.kybStep.body,meta:ll.kybStep.meta,onClick:n})]})]})},f_n=({icon:e,name:n,value:i,valueColor:r,body:a})=>t.jsxRuntimeExports.jsxs(R_n,{children:[t.jsxRuntimeExports.jsxs(v_n,{children:[t.jsxRuntimeExports.jsxs($_n,{children:[t.jsxRuntimeExports.jsx(S_n,{children:n}),t.jsxRuntimeExports.jsx(A_n,{$color:r,children:i})]}),t.jsxRuntimeExports.jsx(k_n,{as:e})]}),t.jsxRuntimeExports.jsx(I_n,{children:a})]}),S2e=({title:e,body:n,meta:i,onClick:r})=>{const a=J(),l=Sd(a);return t.jsxRuntimeExports.jsxs(__n,{type:"button",onClick:r,$isPhone:l,children:[t.jsxRuntimeExports.jsxs(W_n,{children:[t.jsxRuntimeExports.jsx(V_n,{children:e}),t.jsxRuntimeExports.jsx(Q_n,{children:n})]}),t.jsxRuntimeExports.jsxs(H_n,{$isPhone:l,children:[t.jsxRuntimeExports.jsxs(U_n,{children:[t.jsxRuntimeExports.jsx(G_n,{as:Qa}),t.jsxRuntimeExports.jsx(Y_n,{children:i})]}),t.jsxRuntimeExports.jsx(q_n,{as:Q6})]})]})},y_n=s.div`
56067
+ `,{customerOnboardingPage:{sections:{aiAgentsActivating:v2e}}}=F.getLocalizedStrings(),B3=4,$2e=3,m_n=3e3,cDe=e=>Array.from({length:e},()=>"idle"),x_n=()=>{const e=cDe(B3);return e[0]="starting",e},dDe=({tenantName:e,stepNumber:n,totalSteps:i,ledgerRowStatuses:r,backgroundRowStatuses:a,showLedgerReadyInLabel:l,showBackgroundReadyInLabel:c,counts:d,forceContinueEnabled:u,rowStartingDurationMs:m=m_n,onContinueClick:x})=>{const[h,g]=f.useState(x_n),[y,j]=f.useState(()=>cDe($2e)),[b,E]=f.useState(!1),[R,v]=f.useState(!1),S=r!=null||a!=null||l!=null||c!=null;f.useEffect(()=>{if(S)return;const L=[],B=(_,U)=>{L.push(setTimeout(()=>{if(_<B3){const z=_;g(W=>{const H=[...W];return H[z]="starting",H})}else{const z=_-B3;j(W=>{const H=[...W];return H[z]="starting",H})}},U))},O=(_,U)=>{L.push(setTimeout(()=>{if(_<B3){const z=_;g(W=>{const H=[...W];return H[z]="building",H})}else{const z=_-B3;j(W=>{const H=[...W];return H[z]="building",H})}},U))},D=B3+$2e;for(let _=0;_<D;_+=1)B(_,_*m),O(_,(_+1)*m);return L.push(setTimeout(()=>E(!0),(B3+1)*m)),L.push(setTimeout(()=>v(!0),(D+1)*m)),()=>{L.forEach(clearTimeout)}},[S,m]);const k=r??h,I=a??y,A=l??b,T=c??R,P=u??k.every(L=>L==="building");return t.jsxRuntimeExports.jsx(_8,{title:v2e.pageTitle,stepNumber:n,totalSteps:i,ctaLabel:v2e.ctaLabel,onCtaClick:x,ctaDisabled:!P,children:t.jsxRuntimeExports.jsx(l_n,{tenantName:e,ledgerRowStatuses:k,backgroundRowStatuses:I,showLedgerReadyInLabel:A,showBackgroundReadyInLabel:T,counts:d})})},{customerOnboardingPage:{sections:{connectDataSources:fN,chrome:h_n}}}=F.getLocalizedStrings(),uDe=({stepNumber:e,totalSteps:n,isContinueEnabled:i,onContinueClick:r,onSkipClick:a,integrationsContent:l})=>t.jsxRuntimeExports.jsx(_8,{title:fN.pageTitle,subtitle:fN.pageSubtitle,stepNumber:e,totalSteps:n,ctaLabel:fN.ctaLabel,onCtaClick:r,ctaDisabled:!i,skipLabel:a!=null?h_n.skipLabel:void 0,onSkipClick:a,children:l}),{customerOnboardingPage:{sections:{unlockFinancialStack:ll}}}=F.getLocalizedStrings(),g_n=({onStartKycClick:e,onStartKybClick:n,className:i})=>{const r=J(),a=Sd(r),l=[{...ll.products.billPay,icon:rh,valueColor:$.graphColor20Dark},{...ll.products.reimbursements,icon:Hw,valueColor:$.graphColor20Dark}];return t.jsxRuntimeExports.jsxs(y_n,{className:i,children:[t.jsxRuntimeExports.jsxs(C_n,{children:[t.jsxRuntimeExports.jsxs(j_n,{children:[t.jsxRuntimeExports.jsx(b_n,{children:ll.introTitle}),t.jsxRuntimeExports.jsx(w_n,{children:ll.introBody})]}),t.jsxRuntimeExports.jsx(E_n,{$isPhone:a,children:l.map(c=>t.jsxRuntimeExports.jsx(f_n,{...c},c.name))})]}),t.jsxRuntimeExports.jsxs(T_n,{children:[t.jsxRuntimeExports.jsxs(L_n,{$isPhone:a,children:[t.jsxRuntimeExports.jsxs(P_n,{children:[t.jsxRuntimeExports.jsxs(M_n,{children:[t.jsxRuntimeExports.jsx(B_n,{children:t.jsxRuntimeExports.jsx(KMe,{})}),t.jsxRuntimeExports.jsx(D_n,{children:ll.aiActiveCallout.heading})]}),t.jsxRuntimeExports.jsx(O_n,{children:ll.aiActiveCallout.body})]}),t.jsxRuntimeExports.jsxs(z_n,{$isPhone:a,children:[t.jsxRuntimeExports.jsx(F_n,{as:Qa}),t.jsxRuntimeExports.jsx(N_n,{$isPhone:a,children:a?t.jsxRuntimeExports.jsx("span",{children:`${ll.aiActiveCallout.metaPrimary} ${ll.aiActiveCallout.metaSecondary}`}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx("span",{children:ll.aiActiveCallout.metaPrimary}),t.jsxRuntimeExports.jsx("span",{children:ll.aiActiveCallout.metaSecondary})]})})]})]}),t.jsxRuntimeExports.jsx(S2e,{title:ll.kycStep.title,body:ll.kycStep.body,meta:ll.kycStep.meta,onClick:e}),t.jsxRuntimeExports.jsx(S2e,{title:ll.kybStep.title,body:ll.kybStep.body,meta:ll.kybStep.meta,onClick:n})]})]})},f_n=({icon:e,name:n,value:i,valueColor:r,body:a})=>t.jsxRuntimeExports.jsxs(R_n,{children:[t.jsxRuntimeExports.jsxs(v_n,{children:[t.jsxRuntimeExports.jsxs($_n,{children:[t.jsxRuntimeExports.jsx(S_n,{children:n}),t.jsxRuntimeExports.jsx(A_n,{$color:r,children:i})]}),t.jsxRuntimeExports.jsx(k_n,{as:e})]}),t.jsxRuntimeExports.jsx(I_n,{children:a})]}),S2e=({title:e,body:n,meta:i,onClick:r})=>{const a=J(),l=Sd(a);return t.jsxRuntimeExports.jsxs(__n,{type:"button",onClick:r,$isPhone:l,children:[t.jsxRuntimeExports.jsxs(W_n,{children:[t.jsxRuntimeExports.jsx(V_n,{children:e}),t.jsxRuntimeExports.jsx(Q_n,{children:n})]}),t.jsxRuntimeExports.jsxs(H_n,{$isPhone:l,children:[t.jsxRuntimeExports.jsxs(U_n,{children:[t.jsxRuntimeExports.jsx(G_n,{as:Qa}),t.jsxRuntimeExports.jsx(Y_n,{children:i})]}),t.jsxRuntimeExports.jsx(q_n,{as:Q6})]})]})},y_n=s.div`
56081
56068
  display: flex;
56082
56069
  flex-direction: column;
56083
56070
  gap: ${o.sp5};
@@ -56097,8 +56084,8 @@ ${ti.beneficiaryAddress} ${te}`,d(fe),L(!0)},oe=(ue,fe,ie,ce)=>{let pe,ge;switch
56097
56084
  `,w_n=s(ma)`
56098
56085
  color: ${e=>e.theme.colors.champion};
56099
56086
  `,E_n=s.div`
56100
- display: flex;
56101
- flex-direction: column;
56087
+ display: grid;
56088
+ grid-template-columns: ${e=>e.$isPhone?"1fr":"repeat(2, 1fr)"};
56102
56089
  gap: ${o.sp3};
56103
56090
  width: 100%;
56104
56091
  `,R_n=s.div`
@@ -71812,7 +71799,7 @@ ${ti.beneficiaryAddress} ${te}`,d(fe),L(!0)},oe=(ue,fe,ie,ce)=>{let pe,ge;switch
71812
71799
  `,uLs=s.span`
71813
71800
  ${N.smallSemiBold.css}
71814
71801
  color: ${e=>e.$progressColor};
71815
- `,pLs=({currentSelectedView:e,onCommentDrawerClick:n})=>{const i=GB(),{isOpen:r}=w6(),a=n??i?.openCommentDrawer;return a==null||r?null:t.jsxRuntimeExports.jsx(pTs,{currentSelectedView:e,onClick:a})},mLs=({onAllThreadsClick:e,companyId:n,companyName:i})=>{const r={application:"cockpit",companyId:n,entityId:n,tab:"expense_automation",isGlobalComment:!1,entityType:"expense_automation.monthEndEmail",companyName:i,url:window.location.href},{url:a,...l}=r,c={...l},{threads:d,isLoading:u}=jl(c,!1,!1),{isOpen:m}=w6(),x=d.filter(h=>h.id.includes(_s)===!1);return m?null:t.jsxRuntimeExports.jsxs(KTs,{isDisabled:u,onClick:e,"data-testid":M("comment-icon"),children:[t.jsxRuntimeExports.jsx(Dr,{count:x.length,isLoading:u,style:{left:"12px"}}),t.jsxRuntimeExports.jsx(ZTs,{})]})},xLs=({headerData:e,refreshStatus:n,searchText:i,companyName:r,companyId:a,isZeniUser:l,onAllThreadsClick:c,onClose:d,onRefresh:u,onSearchTextChanged:m,filters:x,selectedEntity:h,onFiltersChange:g,filterOptions:y,vendorSearchAutoCompleteData:j,vendorSearchAutoCompleteActions:b,createdByUserListLoaded:E,filterComponent:R,currentSelectedView:v,currentTab:S,isAiCfoAccessEnabled:k,onAskAiCfoClick:I,onCommentDrawerClick:A})=>{const T=R??HTs,P=()=>{n!=="In-Progress"&&u()};return t.jsxRuntimeExports.jsxs(XTs,{children:[e.rightSection.map((L,B)=>{switch(L){case"filter":return x!=null&&g!=null&&y!=null?t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:UTs,style:{marginTop:"2px"},enterDelay:600,children:t.jsxRuntimeExports.jsx(T,{entity:h,filters:x,onFiltersChange:g,categoryWiseOptions:y,vendorSearchAutoCompleteData:j,vendorSearchAutoCompleteActions:b,createdByUserListLoaded:E},B+L)},B+L):null;case"search":return t.jsxRuntimeExports.jsx(tf,{selectedEntity:h,currentTab:S,isSearchOpen:(i.length??0)>0,searchPlaceHolder:e.searchPlaceholder,searchText:i,searchTextBoxStyle:{position:"initial",height:"fit-content",marginTop:"-3px"},styledSearchIconContainerStyle:{height:o.sp3},styledSearchCancelIconWrapperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},searchIconMarginRight:o.sp0,onSearchTextChanged:O=>{m(O)},downloadPresent:!1,enableSearchHotkey:!0},B+L);case"refresh":return t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:VTs,style:{marginTop:"2px"},enterDelay:600,children:t.jsxRuntimeExports.jsx(nje,{onClick:P,"data-testid":M("refresh-icon"),children:t.jsxRuntimeExports.jsx(nLs,{$spinning:n==="In-Progress"})})},B+L);case"comment":return l===!1?null:t.jsxRuntimeExports.jsx(mLs,{companyId:a,companyName:r,onAllThreadsClick:c});case"commentDrawer":return t.jsxRuntimeExports.jsx(pLs,{currentSelectedView:v,onCommentDrawerClick:A},`${B}-${L}`);case"close":return t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:QTs,enterDelay:600,style:{marginTop:"2px"},children:t.jsxRuntimeExports.jsx(nje,{onClick:d,"data-testid":M("close-icon"),children:t.jsxRuntimeExports.jsx(tLs,{})})},B+L);default:return null}}),t.jsxRuntimeExports.jsx(qn,{dataTestId:`month-end-close-${v}-ask-ai-cfo-button`,isAiCfoAccessEnabled:k,onAskAiCfoClick:I})]})},hLs=({headerData:e,onBack:n})=>t.jsxRuntimeExports.jsx(eLs,{children:e.leftSection.map((i,r)=>t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:WTs,enterDelay:600,style:{marginTop:"-14px"},children:t.jsxRuntimeExports.jsx(oLs,{onClick:n,"data-testid":M("back-button")})},r+i))});function gLs(e){const{headerData:n,currentTab:i,currentJeTab:r,onUpdateTab:a,onJeTabUpdate:l,getTabCountAndFetchState:c,currentSelectedView:d,currentMissingReceiptsTab:u,onMissingReceiptsTabUpdate:m,onReconTabUpdate:x,currentRecontab:h,navBarCustomElement:g,completionPercentage:y,completionProgressRaw:j,isCompletionLoading:b,titleStyle:E={},belowTabsSlot:R,selectedGenericTab:v,onGenericTabChange:S,hideTabSwitcher:k}=e,I=n.tabs.length>0&&k!==!0,A=t.useTheme(),T=J();let P=[];n.tabs.length>0&&(P=n.tabs.map(B=>({label:B.label,id:B.id,countDetails:c(B.id)})));const L=y!=null&&y>=0?bk(j??y):void 0;return t.jsxRuntimeExports.jsxs(JTs,{children:[t.jsxRuntimeExports.jsx(bt,{title:b===!0?t.jsxRuntimeExports.jsxs(rje,{children:[t.jsxRuntimeExports.jsx(ije,{children:n.title}),t.jsxRuntimeExports.jsx(ye,{height:18,width:p[11]})]}):L!=null?t.jsxRuntimeExports.jsxs(rje,{children:[t.jsxRuntimeExports.jsx(ije,{children:n.title}),t.jsxRuntimeExports.jsxs(cLs,{children:[t.jsxRuntimeExports.jsxs(dLs,{$progressColor:L,children:[y,GTs]}),t.jsxRuntimeExports.jsx(uLs,{$progressColor:L,children:YTs})]})]}):n.title,subTitle:n.subText,titleTextStyles:{flex:"1 1 0px"},backgroundColor:A.colors.grey4,onBackClick:()=>null,titleStyle:E,showBorderBottom:n.tabs.length===0,ignoreScrollAction:d!=="month_end_insights",keepBackgroundOnScroll:d!=="month_end_insights",leftSideComponent:t.jsxRuntimeExports.jsx(hLs,{...e}),rightSideComponent:t.jsxRuntimeExports.jsx(xLs,{...e}),source:"NavBarWithHeader"}),g??null,t.jsxRuntimeExports.jsx(vt,{controller:I===!0,children:t.jsxRuntimeExports.jsx(sje,{windowSize:T,children:n.tabs.length>0?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(rLs,{windowSize:T,children:t.jsxRuntimeExports.jsx(lc,{allTabs:P,selectedTab:v??(d==="transaction_categorization"?i??P[0].id:d==="je_schedules"?r??P[0].id:d==="missing_receipts"?u??P[0].id:h??P[0].id),onTabChange:B=>{if(S!=null){S(B);return}if(d==="transaction_categorization"){const O=G.toExpenseAutomationTransactionsTabKey(B.id);O!=null&&a(O)}else if(d==="reconciliation"){const O=G.toReconciliationTabsType(B.id);O!=null&&x(O)}else d==="missing_receipts"?m?.(B.id):d==="je_schedules"&&l?.(B.id)},maximumCountLimit:qTs})}),t.jsxRuntimeExports.jsx(aLs,{windowSize:T})]}):null})}),t.jsxRuntimeExports.jsx(vt,{controller:k===!0&&n.tabs.length>0,children:t.jsxRuntimeExports.jsx(lLs,{})}),R!=null?t.jsxRuntimeExports.jsx(sje,{windowSize:T,children:t.jsxRuntimeExports.jsx(iLs,{children:R})}):null]})}const fLs=e=>C.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M72.4185 11.061C72.4185 14.6835 75.357 17.622 78.9795 17.622C80.481 17.649 83.25 17.1 84.717 14.2515H78.912C78.912 14.2515 75.8025 13.9815 75.8025 11.142C75.8025 8.0325 78.912 8.0325 78.912 8.0325H84.798L84.1185 6.984C82.917 5.472 81.063 4.5 78.9795 4.5C75.357 4.5 72.4185 7.4385 72.4185 11.061Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M85.4682 8.03232H78.9117C77.1944 8.03232 75.8022 9.42348 75.8022 11.1396C75.8022 12.8557 77.1944 14.2468 78.9117 14.2468H85.4682C87.1856 14.2468 88.5777 12.8557 88.5777 11.1396C88.5777 9.42348 87.1856 8.03232 85.4682 8.03232Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M28.4263 14.2469H24.0028C22.2883 14.2469 20.8933 12.8564 20.8933 11.1374C20.8933 9.41842 22.2838 8.02792 24.0028 8.02792H28.2625C28.2625 8.02792 26.5813 10.8629 27.9763 14.2424L28.4263 14.2469Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M53.9688 68.3098H15.3093C11.5473 68.3098 8.49634 65.2588 8.49634 61.4968C8.49634 57.7348 11.5473 54.6838 15.3093 54.6838H51.4263",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M65.6235 45.9497L77.8365 18.1982H33.3135L15.7905 54.6572C15.7905 54.6572 37.872 54.6752 51.435 54.6842",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("g",{opacity:.2},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.8128 16.0468C84.7317 18.3797 82.3687 19.998 79.6276 19.998L78.7323 20.0077L67.0499 46.8002L65.4818 47.8361C65.6694 47.9711 65.8535 48.1339 66.0367 48.296C66.4128 48.6286 66.7851 48.9578 67.1764 49.0365C67.5728 49.1158 68.0543 48.9552 68.537 48.7942C69.0956 48.6079 69.6559 48.4211 70.0879 48.6045C70.5193 48.7877 70.7584 49.309 70.996 49.8271C71.202 50.2763 71.4068 50.723 71.7349 50.9445C72.0683 51.1703 72.5689 51.1942 73.0687 51.2181C73.6349 51.2452 74.2002 51.2723 74.5204 51.5925C74.8415 51.9136 74.8691 52.4809 74.8968 53.0485C74.9211 53.5469 74.9454 54.0456 75.1684 54.378C75.3909 54.7076 75.8415 54.9157 76.2933 55.1244C76.8101 55.3631 77.3283 55.6025 77.5084 56.025C77.6876 56.4455 77.5053 56.9915 77.3211 57.5433C77.1583 58.0308 76.9941 58.5228 77.0764 58.9365C77.1553 59.3307 77.4857 59.7039 77.8189 60.0802C78.2085 60.5202 78.6019 60.9645 78.6019 61.452C78.6019 61.9403 78.2072 62.3866 77.817 62.8278L77.8169 62.8279C77.4844 63.2039 77.1551 63.5762 77.0764 63.9675C76.9971 64.3639 77.1577 64.8454 77.3187 65.3282C77.505 65.8867 77.6919 66.447 77.5084 66.879C77.3253 67.3104 76.8039 67.5495 76.2859 67.7871C75.8367 67.9931 75.3899 68.1979 75.1684 68.526C74.9454 68.8564 74.9211 69.355 74.8968 69.854C74.8691 70.4221 74.8414 70.9905 74.5204 71.3115C74.1994 71.6326 73.6321 71.6602 73.0645 71.6879C72.5661 71.7122 72.0674 71.7365 71.7349 71.9595C71.4054 72.182 71.1972 72.6326 70.9886 73.0844C70.7504 73.6 70.5116 74.117 70.0909 74.2982L69.9433 86.6701C69.9388 86.9896 69.6013 87.2011 69.3133 87.0616L63.9853 84.5191C63.8593 84.4561 63.7108 84.4606 63.5848 84.5281L59.0443 87.0031C58.7518 87.1606 58.3963 86.9491 58.3963 86.6161V73.2221C58.375 73.1765 58.3539 73.1307 58.3328 73.0849C58.1243 72.6329 57.9162 72.1818 57.5869 71.9595C57.2565 71.7365 56.7579 71.7122 56.2589 71.6879C55.6909 71.6602 55.1224 71.6325 54.8014 71.3115C54.5284 71.0386 54.4676 70.5876 54.4385 70.1098H16.2094C13.4696 70.1098 11.1069 68.4916 10.0252 66.159H5.3595C3.64217 66.159 2.25 64.7678 2.25 63.0517C2.25 61.3356 3.64217 59.9445 5.3595 59.9445H10.2772C11.4475 57.8784 13.6659 56.4838 16.2094 56.4838H16.8914L34.0978 20.2418C32.0553 19.6588 30.3782 18.0406 29.5344 16.0459L29.3264 16.0469H24.9029C23.1884 16.0469 21.7934 14.6564 21.7934 12.9374C21.7934 11.2184 23.1839 9.82792 24.9029 9.82792H29.8292C31.0005 7.76679 33.2164 6.37645 35.7571 6.37645H78.8745C79.1951 6.32719 79.5233 6.30112 79.8574 6.30002L79.8794 6.29999C82.4104 6.29999 84.6067 7.73319 85.701 9.83231H86.3681C88.0855 9.83231 89.4776 11.2235 89.4776 12.9396C89.4776 14.6557 88.0855 16.0468 86.3681 16.0468H85.8128Z",fill:"#97C3B9"})),C.createElement("path",{d:"M64.1251 65.7C67.7288 65.7 70.6501 62.7787 70.6501 59.175C70.6501 55.5713 67.7288 52.65 64.1251 52.65C60.5214 52.65 57.6001 55.5713 57.6001 59.175C57.6001 62.7787 60.5214 65.7 64.1251 65.7Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M61.2 59.4484L63.4903 61.65L67.5 56.7",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M33.6736 27.0088H66.7216",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M30.2854 35.8198H63.3334",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M26.8962 43.875H59.9442",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M50.27 59.202C50.27 58.2975 51.6245 57.537 51.7955 56.6865C51.971 55.8045 51.0215 54.5805 51.3635 53.775C51.7055 52.9695 53.2265 52.8345 53.7035 52.128C54.1805 51.4215 53.7485 49.9455 54.3515 49.3425C54.9545 48.7395 56.426 49.1715 57.137 48.6945C57.848 48.2175 57.992 46.692 58.784 46.3545C59.576 46.017 60.8135 46.962 61.6955 46.7865C62.5505 46.6155 63.3065 45.261 64.211 45.261C65.1155 45.261 65.876 46.6155 66.7265 46.7865C67.5815 46.9575 68.8325 46.0125 69.638 46.3545C70.4435 46.6965 70.5785 48.2175 71.285 48.6945C71.996 49.176 73.4675 48.7395 74.0705 49.3425C74.6735 49.9455 74.2415 51.417 74.7185 52.128C75.1955 52.8345 76.721 52.983 77.0585 53.775C77.396 54.567 76.451 55.8045 76.6265 56.6865C76.7975 57.5415 78.152 58.2975 78.152 59.202C78.152 60.1065 76.7975 60.867 76.6265 61.7175C76.4555 62.5725 77.4005 63.8235 77.0585 64.629C76.7165 65.4345 75.1955 65.5695 74.7185 66.276C74.2415 66.9825 74.6735 68.4585 74.0705 69.0615C73.4675 69.6645 71.996 69.2325 71.285 69.7095C70.5785 70.1865 70.43 71.712 69.638 72.0495C68.846 72.387 67.6085 71.442 66.7265 71.6175C65.8715 71.7885 65.1155 73.143 64.211 73.143C63.3065 73.143 62.546 71.7885 61.6955 71.6175C60.845 71.4465 59.5895 72.3915 58.784 72.0495C57.992 71.7165 57.8435 70.1865 57.137 69.7095C56.4305 69.2325 54.9545 69.6645 54.3515 69.0615C53.7485 68.4585 54.1805 66.987 53.7035 66.276C53.2265 65.565 51.701 65.421 51.3635 64.629C51.026 63.837 51.971 62.5995 51.7955 61.7175C51.6245 60.8625 50.27 60.1065 50.27 59.202Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M57.9463 70.5151V84.8161C57.9463 85.1491 58.3018 85.3606 58.5943 85.2031L63.1348 82.7281C63.2608 82.6606 63.4093 82.6561 63.5353 82.7191L68.8633 85.2616C69.1513 85.4011 69.4888 85.1896 69.4933 84.8701L69.6463 72.0496",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M78.228 18.1215C78.1965 18.1215 78.165 18.1215 78.138 18.1215H34.263C30.501 18.1215 27.45 15.0705 27.45 11.3085C27.45 7.5465 30.501 4.5 34.263 4.5C34.263 4.5 78.138 4.5 78.147 4.5",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M9.38255 64.2645H4.90955C3.19505 64.2645 1.80005 62.874 1.80005 61.155C1.80005 59.436 3.19055 58.05 4.90955 58.05H9.22955",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10})),yLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M178 14L19 65L53 76M178 14L123 123.5L90.5 91M178 14L53 76M178 14L78.5 79M78.5 79L62 104M78.5 79L90.5 91M62 104L90.5 91M62 104L53 76",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{opacity:.2,d:"M21 68L180 17L125 126.5L92.5 94L64 107L55 79L21 68Z",fill:"#97C3B9"}),C.createElement("path",{d:"M94.495 135.259C83.8632 135.259 75.2592 143.863 75.2592 154.495C75.2592 143.863 66.6318 135.259 56 135.259C66.6318 135.259 75.2592 126.632 75.2592 116C75.2592 126.632 83.8632 135.259 94.495 135.259Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M180.481 94.79C173.445 94.79 167.748 100.506 167.748 107.565C167.748 100.506 162.036 94.79 155 94.79C162.036 94.79 167.748 89.0591 167.748 82C167.748 89.0591 173.445 94.79 180.481 94.79Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinejoin:"round"}),C.createElement("path",{d:"M42 35.0047C37.582 35.0047 34.0047 38.582 34.0047 43C34.0047 38.582 30.418 35.0047 26 35.0047C30.418 35.0047 34.0047 31.418 34.0047 27C34.0047 31.418 37.582 35.0047 42 35.0047Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinejoin:"round"}),C.createElement("path",{d:"M21.5625 129.486C22.3958 127.153 24.8625 121.586 28.0625 117.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M35.5631 109.486C37.3272 107.746 41.5625 103.486 45.7381 101.468",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M19.0623 140.486C18.8956 142.653 18.9623 148.286 20.5623 153.486",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M26.5625 162.986C28.0625 164.82 32.3625 168.886 37.5625 170.486M48.0625 173.986C50.7292 174.32 57.1625 174.986 61.5625 174.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M72.0625 175.486H85.5625M96.0625 175.486H110.562M121.062 175.486H135.062",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M145.562 176.486C148.229 176.486 154.662 176.786 159.062 177.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M169.562 180.986C172.062 181.653 178.062 183.686 182.062 186.486",stroke:"#97C3B9",strokeWidth:2})),CLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M197 140.889C186.368 140.889 177.764 149.493 177.764 160.124C177.764 149.493 169.137 140.889 158.505 140.889C169.137 140.889 177.764 132.261 177.764 121.629C177.764 132.261 186.368 140.889 197 140.889Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M43.2928 47.6752C32.661 47.6752 24.0571 56.2792 24.0571 66.911C24.0571 56.2792 15.4297 47.6752 4.79785 47.6752C15.4297 47.6752 24.0571 39.0479 24.0571 28.416C24.0571 39.0479 32.661 47.6752 43.2928 47.6752Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M76.2983 17.0808C70.0153 17.0808 64.9279 22.1681 64.9279 28.4511C64.9279 22.1681 59.8289 17.0808 53.5459 17.0808C59.8289 17.0808 64.9279 11.9817 64.9279 5.69873C64.9279 11.9817 70.0153 17.0808 76.2983 17.0808Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M112.065 93.8122C112.065 93.8122 118.524 67.2385 125.499 46.9477C132.473 26.657 141.968 12.825 147.899 9.73043C153.831 6.63583 162.341 5.32297 166.631 15.9196C170.429 25.2738 166.608 36.3393 166.608 36.3393C166.608 36.3393 163.712 48.7295 148.825 70.462C139.647 83.8603 132.626 93.8122 132.626 93.8122H166.76C169.022 93.8122 170.851 95.6408 170.851 97.9032C170.851 100.166 169.022 101.994 166.76 101.994H142.641L143.093 102.006L153.69 178.914C155.284 185.97 147.688 187.916 147.688 187.916C147.688 187.916 144.195 192.441 105.841 192.687C89.1723 192.793 70.6985 190.038 62.9268 187.74C55.1551 185.443 56.9251 174.319 56.9251 174.319L63.4165 119.209C58.0319 119.224 55.4195 115.095 54.4752 107.023C54.2796 105.351 54.2251 103.546 54.3058 101.643L54.276 102.018V102.006H42.1554C39.8931 102.006 38.0645 100.177 38.0645 97.9149C38.0645 95.6526 39.8931 93.8239 42.1554 93.8239H55.2855C57.1676 84.4084 61.6018 73.8826 68.0493 65.2575H68.061C68.061 65.2575 75.4693 56.3253 84.1319 57.2162C94.2714 58.2712 100.308 62.3504 100.308 62.3504L100.11 63.0914L105.841 93.8122H112.065ZM90.1921 93.8122H90.1837L90.1322 93.9283L90.1921 93.8122Z",fill:"#97C3B9"}),C.createElement("path",{d:"M101.841 90.8122L96.5003 60.5H96.0003C96.0003 60.5 91.4672 78.8323 86.2861 90.5894L101.841 90.8122Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M64.0607 62.2576C64.0607 62.2576 71.469 53.3254 80.1316 54.2163C90.2711 55.2713 96.3079 59.3505 96.3079 59.3505L92.3576 74.1437L86.2856 90.5779C86.2856 90.5779 78.2795 109.415 67.3429 114.162C56.4063 118.91 51.7995 115.346 50.4749 104.023C49.1504 92.6995 54.2963 75.3041 64.049 62.2576H64.0607Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M114.126 90.812L127.595 50.4532C127.595 50.4532 134.511 27.5602 142.587 17.8544C150.745 8.05481 159.502 15.6272 154.707 30.901C150.406 44.6157 133.631 70.4275 121.37 90.812H114.126Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M108.065 90.8122C108.065 90.8122 114.524 64.2385 121.499 43.9477C128.473 23.657 137.968 9.82504 143.9 6.73043C149.831 3.63583 158.341 2.32297 162.631 12.9196C166.429 22.2738 162.608 33.3393 162.608 33.3393C162.608 33.3393 159.712 45.7295 144.826 67.462C135.647 80.8603 128.626 90.8122 128.626 90.8122H108.077H108.065Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M86.1926 90.812H162.761C165.023 90.812 166.852 92.6406 166.852 94.903C166.852 97.1653 165.023 98.994 162.761 98.994H81.9727",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M50.276 99.0057H38.1554C35.8931 99.0057 34.0645 97.1771 34.0645 94.9147C34.0645 92.6524 35.8931 90.8237 38.1554 90.8237H51.4247L50.7683 93.9652L50.4752 96.5089L50.276 99.0174V99.0057Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M59.9937 117.105L52.9253 171.319C52.9253 171.319 51.1553 182.443 58.927 184.74C66.6986 187.038 85.1725 189.793 101.841 189.687C140.195 189.441 143.689 184.916 143.689 184.916C143.689 184.916 151.284 182.97 149.69 175.914L139.094 99.0059H81.9021C81.9021 99.0059 76.0119 113.988 59.9937 117.105Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M60.7893 119.993L60.799 119.476H140.794L140.851 119.765L60.7893 119.993Z",fill:"#231F20",stroke:"#97C3B9",strokeWidth:2})),jLs=e=>C.createElement("svg",{width:87,height:69,viewBox:"0 0 87 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("g",{opacity:.2},C.createElement("rect",{x:5.07362,y:5.97328,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07362,y:5.97328,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("rect",{x:5.07411,y:48.5582,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07411,y:48.5582,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("rect",{x:5.07411,y:27.2658,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07411,y:27.2658,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("path",{d:"M32.1074 33.6116C32.1074 38.8302 34.1805 43.835 37.8706 47.5251C41.5607 51.2152 46.5656 53.2883 51.7842 53.2883C57.0028 53.2883 62.0076 51.2152 65.6978 47.5251C69.3879 43.835 71.4609 38.8302 71.4609 33.6116C71.4609 28.393 69.3879 23.3881 65.6978 19.698C62.0076 16.0079 57.0028 13.9348 51.7842 13.9348C46.5656 13.9348 41.5607 16.0079 37.8706 19.698C34.1805 23.3881 32.1074 28.393 32.1074 33.6116Z",fill:"#97C3B9"})),C.createElement("rect",{x:8.69056,y:8.82703,width:56.8595,height:.277597,rx:.138799,stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M35.078 17.3912H1.60915C1.14382 17.3912 0.766602 17.014 0.766602 16.5487V1.38283C0.766602 0.917506 1.14382 0.540283 1.60915 0.540283H72.4708C72.9374 0.540283 73.3152 0.919552 73.3133 1.38619L73.2532 16.4851C73.2513 16.9491 72.8747 17.3243 72.4106 17.3243H67.0575",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("path",{d:"M70.126 22.3201H72.471C72.9376 22.3201 73.3154 22.6993 73.3135 23.166L73.253 38.3766C73.2514 38.7789 72.9248 39.1041 72.5226 39.1041",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("rect",{x:8.69056,y:30.6068,width:19.2475,height:.277597,rx:.138799,stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M30.8562 22.3201H1.17556C0.710229 22.3201 0.333008 22.6973 0.333008 23.1626V38.3285C0.333008 38.7938 0.710229 39.171 1.17556 39.171H29.7519",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("rect",{x:8.69056,y:52.6395,width:26.7253,height:.277597,rx:.138799,fill:"#97C3B9",stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M73.2257 58.1678V60.3613C73.2257 60.8266 72.8485 61.2039 72.3831 61.2039H1.60915C1.14382 61.2039 0.766602 60.8266 0.766602 60.3613V45.1955C0.766602 44.7301 1.14382 44.3529 1.60915 44.3529H30.6776",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("path",{d:"M70.126 43.9727H72.4743C72.9397 43.9727 73.3169 44.3499 73.3169 44.8152V53.3979",stroke:"#97C3B9",strokeWidth:.842547,strokeLinecap:"round"}),C.createElement("path",{d:"M31.7017 33.9263C31.7017 39.1449 33.7747 44.1497 37.4648 47.8398C41.155 51.5299 46.1598 53.603 51.3784 53.603C56.597 53.603 61.6019 51.5299 65.292 47.8398C68.9821 44.1497 71.0552 39.1449 71.0552 33.9263C71.0552 28.7077 68.9821 23.7028 65.292 20.0127C61.6019 16.3226 56.597 14.2495 51.3784 14.2495C46.1598 14.2495 41.155 16.3226 37.4648 20.0127C33.7747 23.7028 31.7017 28.7077 31.7017 33.9263Z",stroke:"#EEBA7D",strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M84.3854 67.1342L65.6099 48.3586",stroke:"#EEBA7D",strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M58.0977 26.9509L45.0031 40.0455",stroke:"#EEBA7D",strokeLinecap:"round"}),C.createElement("path",{d:"M58.0977 40.0457L45.0031 26.9511",stroke:"#EEBA7D",strokeLinecap:"round"}),C.createElement("path",{opacity:.2,d:"M84.4455 68.4403L65.6699 49.6648",stroke:"#97C3B9",strokeWidth:1.11039,strokeLinecap:"round",strokeLinejoin:"round"})),bLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M8.54492 149.483C8.54492 149.483 31.4705 136.963 39.2741 116.167C39.2741 116.167 43.7687 99.3912 46.3662 81.1928C46.3662 81.1928 47.0668 72.2067 47.5519 68.9204C48.0369 65.6341 50.5483 62.1431 53.2644 62.2401C55.9806 62.3371 57.0368 66.1082 57.4249 68.1446C57.5326 68.7102 57.386 69.962 57.118 71.4755C58.1719 66.7819 59.2474 61.7944 59.4512 60.1175C59.947 56.0339 60.8093 51.2176 63.9027 48.6963C66.9961 46.175 69.2272 45.7979 71.1673 45.8841C71.1673 45.8841 73.3014 40.4644 78.3349 40.2705C78.3349 40.2705 81.5253 39.8826 83.5624 42.4039C83.5624 42.4039 87.6259 40.0766 90.9241 43.7615C94.2222 47.4464 95.0845 52.0903 95.4725 60.5054C95.564 62.4897 95.58 64.8514 95.551 67.3023C96.4299 61.724 98.2955 55.6981 100.161 53.3186C104.86 47.3064 108.396 48.8579 108.396 48.8579C108.396 48.8579 110.573 43.309 114.744 42.8133C118.915 42.3177 118.139 46.2289 118.139 46.2289C120.683 43.9016 123.475 44.5049 123.475 44.5049C126.676 45.2053 128.336 47.5757 126.751 56.2063C125.167 64.8368 127.549 69.7931 127.549 69.7931C135.094 63.9425 137.605 69.1898 138.166 72.3683C138.279 72.9998 138.264 73.8438 138.243 75.1149C138.199 77.7258 138.125 82.1383 139.06 90.2112C140.451 102.214 143.124 105.878 143.124 105.878C144.783 108.353 146.57 110.433 148.29 112.148C148.295 112.041 148.297 111.933 148.297 111.825C148.297 111.825 151.897 107.612 156.898 109.994C159.836 111.392 164.068 115.762 168.352 120.184C171.36 123.29 174.394 126.422 177.022 128.569C177.304 128.8 177.579 129.024 177.849 129.244C183.67 133.994 186.768 136.522 193.804 145.151C193.804 145.151 195.959 147.5 198.805 149.666L162.051 191.569C162.051 191.569 141.316 174.666 118.316 149.666C118.316 149.666 121.603 148.5 125.547 145.509C121.267 140.784 115.527 134.794 110.767 131.047C102.326 124.402 99.325 120.466 99.0785 120.134C96.0268 123.958 90.4968 130.202 83.1636 135.627C83.1636 135.627 74.9289 143.955 68.4511 154.795C61.9733 165.634 50.4405 176.376 44.0489 179.577L8.54492 149.483ZM90.439 96.2235C90.4595 96.2104 90.4799 96.1972 90.5001 96.1839L90.5273 96.1764C90.4685 96.2087 90.439 96.2235 90.439 96.2235Z",fill:"#97C3B9"}),C.createElement("path",{d:"M4.5459 145.483C4.5459 145.483 27.4715 132.963 35.2751 112.168C35.2751 112.168 39.7696 95.3917 42.3672 77.1933C42.3672 77.1933 43.0678 68.2072 43.5528 64.9209C44.0379 61.6346 46.5492 58.1436 49.2654 58.2406C51.9815 58.3376 53.0378 62.1087 53.4258 64.1451C53.8139 66.1815 50.9037 77.1179 50.9037 77.1179C50.9037 77.1179 55.0318 59.5766 55.4522 56.118C55.948 52.0344 56.8102 47.2181 59.9036 44.6968C62.997 42.1755 65.2282 41.7984 67.1683 41.8846C67.1683 41.8846 69.3024 36.4649 74.3359 36.271C74.3359 36.271 77.5263 35.8831 79.5634 38.4044C79.5634 38.4044 83.6269 36.077 86.925 39.762C90.2232 43.4469 91.0855 48.0908 91.4735 56.5059C91.8615 64.9209 90.8915 80.124 90.8915 80.124C90.8915 80.124 90.6975 89.5087 86.44 92.224C86.44 92.224 90.1154 90.3815 97.186 82.8392C104.257 75.2969 105.895 75.674 108.805 76.0619C111.715 76.4498 114.13 79.5422 111.996 87.774C109.861 96.0059 97.7573 112.556 97.7573 112.556C97.7573 112.556 90.6867 123.104 79.1646 131.627C79.1646 131.627 70.9299 139.956 64.4521 150.795C57.9743 161.635 46.4414 172.377 40.0499 175.577",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M60.0654 79.2617C60.0654 79.2617 64.1073 66.1812 64.4738 59.4471C64.8403 52.7129 65.5516 44.5133 67.1684 41.8735",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M71.1992 80.8566C71.1992 80.8566 75.1118 73.8854 75.974 61.419C76.8363 48.9527 76.5237 45.6557 76.8255 43.0805C77.3106 38.9215 79.5632 38.4043 79.5632 38.4043",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M44.8614 135.143C51.6486 134.887 56.9589 129.594 56.7222 123.32C56.4855 117.047 50.7915 112.168 44.0042 112.424C37.217 112.68 31.9067 117.973 32.1434 124.247C32.3801 130.52 38.0742 135.399 44.8614 135.143Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M44.9719 137.801C53.0975 137.495 59.4577 131.23 59.1777 123.809C58.8977 116.388 52.0836 110.62 43.9579 110.927C35.8323 111.233 29.4721 117.498 29.7521 124.919C30.0321 132.34 36.8462 138.108 44.9719 137.801Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M39.6943 121.046L43.4452 127.026L48.7266 119.117",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M30.2517 119.117L24.2589 125.614C24.2589 125.614 24.1619 129.676 30.2517 129.773C30.2517 129.773 28.3223 124.602 30.2517 119.117Z",fill:"#97C3B9"}),C.createElement("path",{d:"M55.0212 114.14C55.0212 114.14 57.3385 114.959 60.9062 119.516C60.9062 119.516 71.1564 121.854 77.5588 135.15C77.5588 135.15 71.7708 145.914 67.6103 148.242C67.6103 148.242 57.3601 139.309 52.8871 138.9C52.8871 138.9 49.0284 143.264 40.5997 141.335C32.171 139.406 29.2285 129.763 29.2285 129.763H30.2417C30.2417 129.763 37.3877 141.292 50.214 136.691C50.214 136.691 57.6619 134.03 58.869 127.015C60.0762 120.001 56.6487 116.144 55.0104 114.129L55.0212 114.14Z",fill:"#97C3B9"}),C.createElement("path",{d:"M68.9787 127.92C68.9787 127.92 68.4613 132.844 63.1152 136.885",stroke:"#FAFAFA",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M72.7079 132.402C72.7079 132.402 71.824 135.29 70.1318 136.087",stroke:"#FAFAFA",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M152.91 114.667C152.91 114.667 145.171 110.896 139.124 101.878C139.124 101.878 136.451 98.2143 135.061 86.2113C133.67 74.2083 134.511 70.2971 134.166 68.3684C133.606 65.1899 131.094 59.9426 123.549 65.7933C123.549 65.7933 121.167 60.8369 122.752 52.2064C124.336 43.5759 122.676 41.2054 119.475 40.5051C119.475 40.5051 116.684 39.9017 114.14 42.229C114.14 42.229 114.916 38.3178 110.745 38.8134C106.573 39.3091 104.396 44.858 104.396 44.858C104.396 44.858 100.861 43.3065 96.1616 49.3188C94.2861 51.7107 92.4107 57.7877 91.5377 63.3905L91.1389 75.3935C91.1389 75.3935 91.5592 88.1939 86.4287 92.2021C86.4287 92.2021 91.958 88.6787 99.0717 80.8455C106.185 73.0123 111.025 75.8892 112.372 79.2509C113.72 82.6126 113.536 88.2154 106.94 98.5268C100.344 108.838 95.0622 116.111 95.0622 116.111C95.0622 116.111 97.94 120.098 106.768 127.047C115.595 133.997 127.796 148.661 127.796 148.661C127.796 148.661 143.867 134.676 152.888 114.657L152.91 114.667Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M111.058 108.612C111.058 108.612 111.252 98.1068 115.919 91.4588C115.919 91.4588 118.236 87.2028 118.204 79.8545C118.161 70.4051 123.561 65.772 123.561 65.772",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M114.151 42.2183C114.151 42.2183 110.216 45.2352 108.772 52.9822C106.724 63.9939 107.382 72.8184 107.382 72.8184",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M99.3845 78.1522C99.3845 78.1522 98.8671 67.7546 99.8695 59.0271C100.872 50.2996 104.407 44.8584 104.407 44.8584",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M92.4217 79.1864C92.4217 79.1864 91.3223 63.8002 92.1953 59.6304",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M152.91 114.667C156.09 108.332 150.075 108.623 150.075 108.623",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M118.16 137.833C118.16 137.833 109.699 149.319 119.68 151.194C119.68 151.194 125.856 150.493 127.818 148.672L118.16 137.833Z",fill:"#97C3B9"}),C.createElement("path",{d:"M158.051 187.569C158.051 187.569 139.65 173 116.65 148C116.65 148 124.15 160 140.978 134.256C140.978 134.256 152.263 119.236 152.511 114.01C152.511 114.01 147.284 111.36 144.298 107.826C144.298 107.826 147.898 103.613 152.899 105.994C157.9 108.375 166.652 119.365 173.022 124.569C179.392 129.774 182.443 132.122 189.804 141.152C189.804 141.152 191.96 143.501 194.805 145.666",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M160.746 81.6538C160.746 81.6538 182.443 82.699 184.868 83.3885",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M145.99 53.8984L169.25 44.8584",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M122.041 30.474L139.922 14.1719",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M82.4735 30.474C82.4735 30.474 75.3597 15.9066 62.167 9.48486",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M40.9985 49.3833C40.9985 49.3833 33.3674 39.3305 23.1172 37.0786",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M28.3231 74.5425C28.3231 74.5425 8.71728 83.2269 1.59277 93.7214",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"})),wLs=s.div`
71802
+ `,pLs=({currentSelectedView:e,onCommentDrawerClick:n})=>{const i=GB(),{isOpen:r}=w6(),a=n??i?.openCommentDrawer;return a==null||r?null:t.jsxRuntimeExports.jsx(pTs,{currentSelectedView:e,onClick:a})},mLs=({onAllThreadsClick:e,companyId:n,companyName:i})=>{const r={application:"cockpit",companyId:n,entityId:n,tab:"expense_automation",isGlobalComment:!1,entityType:"expense_automation.monthEndEmail",companyName:i,url:window.location.href},{url:a,...l}=r,c={...l},{threads:d,isLoading:u}=jl(c,!1,!1),{isOpen:m}=w6(),x=d.filter(h=>h.id.includes(_s)===!1);return m?null:t.jsxRuntimeExports.jsxs(KTs,{isDisabled:u,onClick:e,"data-testid":M("comment-icon"),children:[t.jsxRuntimeExports.jsx(Dr,{count:x.length,isLoading:u,style:{left:"12px"}}),t.jsxRuntimeExports.jsx(ZTs,{})]})},xLs=({headerData:e,refreshStatus:n,searchText:i,companyName:r,companyId:a,isZeniUser:l,onAllThreadsClick:c,onClose:d,onRefresh:u,onSearchTextChanged:m,filters:x,selectedEntity:h,onFiltersChange:g,filterOptions:y,vendorSearchAutoCompleteData:j,vendorSearchAutoCompleteActions:b,createdByUserListLoaded:E,filterComponent:R,currentSelectedView:v,currentTab:S,isAiCfoAccessEnabled:k,onAskAiCfoClick:I,onCommentDrawerClick:A})=>{const T=R??HTs,P=()=>{n!=="In-Progress"&&u()};return t.jsxRuntimeExports.jsxs(XTs,{children:[e.rightSection.map((L,B)=>{switch(L){case"filter":return x!=null&&g!=null&&y!=null?t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:UTs,style:{marginTop:"2px"},enterDelay:600,children:t.jsxRuntimeExports.jsx(T,{entity:h,filters:x,onFiltersChange:g,categoryWiseOptions:y,vendorSearchAutoCompleteData:j,vendorSearchAutoCompleteActions:b,createdByUserListLoaded:E},B+L)},B+L):null;case"search":return t.jsxRuntimeExports.jsx(tf,{selectedEntity:h,currentTab:S,isSearchOpen:(i.length??0)>0,searchPlaceHolder:e.searchPlaceholder,searchText:i,searchTextBoxStyle:{position:"initial",height:"fit-content",marginTop:"-3px"},styledSearchIconContainerStyle:{height:o.sp3},styledSearchCancelIconWrapperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},searchIconMarginRight:o.sp1,onSearchTextChanged:O=>{m(O)},downloadPresent:!1,enableSearchHotkey:!0},B+L);case"refresh":return t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:VTs,style:{marginTop:"2px"},enterDelay:600,children:t.jsxRuntimeExports.jsx(nje,{onClick:P,"data-testid":M("refresh-icon"),children:t.jsxRuntimeExports.jsx(nLs,{$spinning:n==="In-Progress"})})},B+L);case"comment":return l===!1?null:t.jsxRuntimeExports.jsx(mLs,{companyId:a,companyName:r,onAllThreadsClick:c});case"commentDrawer":return t.jsxRuntimeExports.jsx(pLs,{currentSelectedView:v,onCommentDrawerClick:A},`${B}-${L}`);case"close":return t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:QTs,enterDelay:600,style:{marginTop:"2px"},children:t.jsxRuntimeExports.jsx(nje,{onClick:d,"data-testid":M("close-icon"),children:t.jsxRuntimeExports.jsx(tLs,{})})},B+L);default:return null}}),t.jsxRuntimeExports.jsx(qn,{dataTestId:`month-end-close-${v}-ask-ai-cfo-button`,isAiCfoAccessEnabled:k,onAskAiCfoClick:I})]})},hLs=({headerData:e,onBack:n})=>t.jsxRuntimeExports.jsx(eLs,{children:e.leftSection.map((i,r)=>t.jsxRuntimeExports.jsx(Be,{display:"block",placement:"bottom",title:WTs,enterDelay:600,style:{marginTop:"-14px"},children:t.jsxRuntimeExports.jsx(oLs,{onClick:n,"data-testid":M("back-button")})},r+i))});function gLs(e){const{headerData:n,currentTab:i,currentJeTab:r,onUpdateTab:a,onJeTabUpdate:l,getTabCountAndFetchState:c,currentSelectedView:d,currentMissingReceiptsTab:u,onMissingReceiptsTabUpdate:m,onReconTabUpdate:x,currentRecontab:h,navBarCustomElement:g,completionPercentage:y,completionProgressRaw:j,isCompletionLoading:b,titleStyle:E={},belowTabsSlot:R,selectedGenericTab:v,onGenericTabChange:S,hideTabSwitcher:k}=e,I=n.tabs.length>0&&k!==!0,A=t.useTheme(),T=J();let P=[];n.tabs.length>0&&(P=n.tabs.map(B=>({label:B.label,id:B.id,countDetails:c(B.id)})));const L=y!=null&&y>=0?bk(j??y):void 0;return t.jsxRuntimeExports.jsxs(JTs,{children:[t.jsxRuntimeExports.jsx(bt,{title:b===!0?t.jsxRuntimeExports.jsxs(rje,{children:[t.jsxRuntimeExports.jsx(ije,{children:n.title}),t.jsxRuntimeExports.jsx(ye,{height:18,width:p[11]})]}):L!=null?t.jsxRuntimeExports.jsxs(rje,{children:[t.jsxRuntimeExports.jsx(ije,{children:n.title}),t.jsxRuntimeExports.jsxs(cLs,{children:[t.jsxRuntimeExports.jsxs(dLs,{$progressColor:L,children:[y,GTs]}),t.jsxRuntimeExports.jsx(uLs,{$progressColor:L,children:YTs})]})]}):n.title,subTitle:n.subText,titleTextStyles:{flex:"1 1 0px"},backgroundColor:A.colors.grey4,onBackClick:()=>null,titleStyle:E,showBorderBottom:n.tabs.length===0,ignoreScrollAction:d!=="month_end_insights",keepBackgroundOnScroll:d!=="month_end_insights",leftSideComponent:t.jsxRuntimeExports.jsx(hLs,{...e}),rightSideComponent:t.jsxRuntimeExports.jsx(xLs,{...e}),source:"NavBarWithHeader"}),g??null,t.jsxRuntimeExports.jsx(vt,{controller:I===!0,children:t.jsxRuntimeExports.jsx(sje,{windowSize:T,children:n.tabs.length>0?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(rLs,{windowSize:T,children:t.jsxRuntimeExports.jsx(lc,{allTabs:P,selectedTab:v??(d==="transaction_categorization"?i??P[0].id:d==="je_schedules"?r??P[0].id:d==="missing_receipts"?u??P[0].id:h??P[0].id),onTabChange:B=>{if(S!=null){S(B);return}if(d==="transaction_categorization"){const O=G.toExpenseAutomationTransactionsTabKey(B.id);O!=null&&a(O)}else if(d==="reconciliation"){const O=G.toReconciliationTabsType(B.id);O!=null&&x(O)}else d==="missing_receipts"?m?.(B.id):d==="je_schedules"&&l?.(B.id)},maximumCountLimit:qTs})}),t.jsxRuntimeExports.jsx(aLs,{windowSize:T})]}):null})}),t.jsxRuntimeExports.jsx(vt,{controller:k===!0&&n.tabs.length>0,children:t.jsxRuntimeExports.jsx(lLs,{})}),R!=null?t.jsxRuntimeExports.jsx(sje,{windowSize:T,children:t.jsxRuntimeExports.jsx(iLs,{children:R})}):null]})}const fLs=e=>C.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M72.4185 11.061C72.4185 14.6835 75.357 17.622 78.9795 17.622C80.481 17.649 83.25 17.1 84.717 14.2515H78.912C78.912 14.2515 75.8025 13.9815 75.8025 11.142C75.8025 8.0325 78.912 8.0325 78.912 8.0325H84.798L84.1185 6.984C82.917 5.472 81.063 4.5 78.9795 4.5C75.357 4.5 72.4185 7.4385 72.4185 11.061Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M85.4682 8.03232H78.9117C77.1944 8.03232 75.8022 9.42348 75.8022 11.1396C75.8022 12.8557 77.1944 14.2468 78.9117 14.2468H85.4682C87.1856 14.2468 88.5777 12.8557 88.5777 11.1396C88.5777 9.42348 87.1856 8.03232 85.4682 8.03232Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M28.4263 14.2469H24.0028C22.2883 14.2469 20.8933 12.8564 20.8933 11.1374C20.8933 9.41842 22.2838 8.02792 24.0028 8.02792H28.2625C28.2625 8.02792 26.5813 10.8629 27.9763 14.2424L28.4263 14.2469Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M53.9688 68.3098H15.3093C11.5473 68.3098 8.49634 65.2588 8.49634 61.4968C8.49634 57.7348 11.5473 54.6838 15.3093 54.6838H51.4263",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M65.6235 45.9497L77.8365 18.1982H33.3135L15.7905 54.6572C15.7905 54.6572 37.872 54.6752 51.435 54.6842",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("g",{opacity:.2},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.8128 16.0468C84.7317 18.3797 82.3687 19.998 79.6276 19.998L78.7323 20.0077L67.0499 46.8002L65.4818 47.8361C65.6694 47.9711 65.8535 48.1339 66.0367 48.296C66.4128 48.6286 66.7851 48.9578 67.1764 49.0365C67.5728 49.1158 68.0543 48.9552 68.537 48.7942C69.0956 48.6079 69.6559 48.4211 70.0879 48.6045C70.5193 48.7877 70.7584 49.309 70.996 49.8271C71.202 50.2763 71.4068 50.723 71.7349 50.9445C72.0683 51.1703 72.5689 51.1942 73.0687 51.2181C73.6349 51.2452 74.2002 51.2723 74.5204 51.5925C74.8415 51.9136 74.8691 52.4809 74.8968 53.0485C74.9211 53.5469 74.9454 54.0456 75.1684 54.378C75.3909 54.7076 75.8415 54.9157 76.2933 55.1244C76.8101 55.3631 77.3283 55.6025 77.5084 56.025C77.6876 56.4455 77.5053 56.9915 77.3211 57.5433C77.1583 58.0308 76.9941 58.5228 77.0764 58.9365C77.1553 59.3307 77.4857 59.7039 77.8189 60.0802C78.2085 60.5202 78.6019 60.9645 78.6019 61.452C78.6019 61.9403 78.2072 62.3866 77.817 62.8278L77.8169 62.8279C77.4844 63.2039 77.1551 63.5762 77.0764 63.9675C76.9971 64.3639 77.1577 64.8454 77.3187 65.3282C77.505 65.8867 77.6919 66.447 77.5084 66.879C77.3253 67.3104 76.8039 67.5495 76.2859 67.7871C75.8367 67.9931 75.3899 68.1979 75.1684 68.526C74.9454 68.8564 74.9211 69.355 74.8968 69.854C74.8691 70.4221 74.8414 70.9905 74.5204 71.3115C74.1994 71.6326 73.6321 71.6602 73.0645 71.6879C72.5661 71.7122 72.0674 71.7365 71.7349 71.9595C71.4054 72.182 71.1972 72.6326 70.9886 73.0844C70.7504 73.6 70.5116 74.117 70.0909 74.2982L69.9433 86.6701C69.9388 86.9896 69.6013 87.2011 69.3133 87.0616L63.9853 84.5191C63.8593 84.4561 63.7108 84.4606 63.5848 84.5281L59.0443 87.0031C58.7518 87.1606 58.3963 86.9491 58.3963 86.6161V73.2221C58.375 73.1765 58.3539 73.1307 58.3328 73.0849C58.1243 72.6329 57.9162 72.1818 57.5869 71.9595C57.2565 71.7365 56.7579 71.7122 56.2589 71.6879C55.6909 71.6602 55.1224 71.6325 54.8014 71.3115C54.5284 71.0386 54.4676 70.5876 54.4385 70.1098H16.2094C13.4696 70.1098 11.1069 68.4916 10.0252 66.159H5.3595C3.64217 66.159 2.25 64.7678 2.25 63.0517C2.25 61.3356 3.64217 59.9445 5.3595 59.9445H10.2772C11.4475 57.8784 13.6659 56.4838 16.2094 56.4838H16.8914L34.0978 20.2418C32.0553 19.6588 30.3782 18.0406 29.5344 16.0459L29.3264 16.0469H24.9029C23.1884 16.0469 21.7934 14.6564 21.7934 12.9374C21.7934 11.2184 23.1839 9.82792 24.9029 9.82792H29.8292C31.0005 7.76679 33.2164 6.37645 35.7571 6.37645H78.8745C79.1951 6.32719 79.5233 6.30112 79.8574 6.30002L79.8794 6.29999C82.4104 6.29999 84.6067 7.73319 85.701 9.83231H86.3681C88.0855 9.83231 89.4776 11.2235 89.4776 12.9396C89.4776 14.6557 88.0855 16.0468 86.3681 16.0468H85.8128Z",fill:"#97C3B9"})),C.createElement("path",{d:"M64.1251 65.7C67.7288 65.7 70.6501 62.7787 70.6501 59.175C70.6501 55.5713 67.7288 52.65 64.1251 52.65C60.5214 52.65 57.6001 55.5713 57.6001 59.175C57.6001 62.7787 60.5214 65.7 64.1251 65.7Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M61.2 59.4484L63.4903 61.65L67.5 56.7",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M33.6736 27.0088H66.7216",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M30.2854 35.8198H63.3334",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M26.8962 43.875H59.9442",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M50.27 59.202C50.27 58.2975 51.6245 57.537 51.7955 56.6865C51.971 55.8045 51.0215 54.5805 51.3635 53.775C51.7055 52.9695 53.2265 52.8345 53.7035 52.128C54.1805 51.4215 53.7485 49.9455 54.3515 49.3425C54.9545 48.7395 56.426 49.1715 57.137 48.6945C57.848 48.2175 57.992 46.692 58.784 46.3545C59.576 46.017 60.8135 46.962 61.6955 46.7865C62.5505 46.6155 63.3065 45.261 64.211 45.261C65.1155 45.261 65.876 46.6155 66.7265 46.7865C67.5815 46.9575 68.8325 46.0125 69.638 46.3545C70.4435 46.6965 70.5785 48.2175 71.285 48.6945C71.996 49.176 73.4675 48.7395 74.0705 49.3425C74.6735 49.9455 74.2415 51.417 74.7185 52.128C75.1955 52.8345 76.721 52.983 77.0585 53.775C77.396 54.567 76.451 55.8045 76.6265 56.6865C76.7975 57.5415 78.152 58.2975 78.152 59.202C78.152 60.1065 76.7975 60.867 76.6265 61.7175C76.4555 62.5725 77.4005 63.8235 77.0585 64.629C76.7165 65.4345 75.1955 65.5695 74.7185 66.276C74.2415 66.9825 74.6735 68.4585 74.0705 69.0615C73.4675 69.6645 71.996 69.2325 71.285 69.7095C70.5785 70.1865 70.43 71.712 69.638 72.0495C68.846 72.387 67.6085 71.442 66.7265 71.6175C65.8715 71.7885 65.1155 73.143 64.211 73.143C63.3065 73.143 62.546 71.7885 61.6955 71.6175C60.845 71.4465 59.5895 72.3915 58.784 72.0495C57.992 71.7165 57.8435 70.1865 57.137 69.7095C56.4305 69.2325 54.9545 69.6645 54.3515 69.0615C53.7485 68.4585 54.1805 66.987 53.7035 66.276C53.2265 65.565 51.701 65.421 51.3635 64.629C51.026 63.837 51.971 62.5995 51.7955 61.7175C51.6245 60.8625 50.27 60.1065 50.27 59.202Z",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M57.9463 70.5151V84.8161C57.9463 85.1491 58.3018 85.3606 58.5943 85.2031L63.1348 82.7281C63.2608 82.6606 63.4093 82.6561 63.5353 82.7191L68.8633 85.2616C69.1513 85.4011 69.4888 85.1896 69.4933 84.8701L69.6463 72.0496",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M78.228 18.1215C78.1965 18.1215 78.165 18.1215 78.138 18.1215H34.263C30.501 18.1215 27.45 15.0705 27.45 11.3085C27.45 7.5465 30.501 4.5 34.263 4.5C34.263 4.5 78.138 4.5 78.147 4.5",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10}),C.createElement("path",{d:"M9.38255 64.2645H4.90955C3.19505 64.2645 1.80005 62.874 1.80005 61.155C1.80005 59.436 3.19055 58.05 4.90955 58.05H9.22955",stroke:"#97C3B9",strokeWidth:.9,strokeMiterlimit:10})),yLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M178 14L19 65L53 76M178 14L123 123.5L90.5 91M178 14L53 76M178 14L78.5 79M78.5 79L62 104M78.5 79L90.5 91M62 104L90.5 91M62 104L53 76",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{opacity:.2,d:"M21 68L180 17L125 126.5L92.5 94L64 107L55 79L21 68Z",fill:"#97C3B9"}),C.createElement("path",{d:"M94.495 135.259C83.8632 135.259 75.2592 143.863 75.2592 154.495C75.2592 143.863 66.6318 135.259 56 135.259C66.6318 135.259 75.2592 126.632 75.2592 116C75.2592 126.632 83.8632 135.259 94.495 135.259Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M180.481 94.79C173.445 94.79 167.748 100.506 167.748 107.565C167.748 100.506 162.036 94.79 155 94.79C162.036 94.79 167.748 89.0591 167.748 82C167.748 89.0591 173.445 94.79 180.481 94.79Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinejoin:"round"}),C.createElement("path",{d:"M42 35.0047C37.582 35.0047 34.0047 38.582 34.0047 43C34.0047 38.582 30.418 35.0047 26 35.0047C30.418 35.0047 34.0047 31.418 34.0047 27C34.0047 31.418 37.582 35.0047 42 35.0047Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinejoin:"round"}),C.createElement("path",{d:"M21.5625 129.486C22.3958 127.153 24.8625 121.586 28.0625 117.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M35.5631 109.486C37.3272 107.746 41.5625 103.486 45.7381 101.468",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M19.0623 140.486C18.8956 142.653 18.9623 148.286 20.5623 153.486",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M26.5625 162.986C28.0625 164.82 32.3625 168.886 37.5625 170.486M48.0625 173.986C50.7292 174.32 57.1625 174.986 61.5625 174.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M72.0625 175.486H85.5625M96.0625 175.486H110.562M121.062 175.486H135.062",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M145.562 176.486C148.229 176.486 154.662 176.786 159.062 177.986",stroke:"#97C3B9",strokeWidth:2}),C.createElement("path",{d:"M169.562 180.986C172.062 181.653 178.062 183.686 182.062 186.486",stroke:"#97C3B9",strokeWidth:2})),CLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M197 140.889C186.368 140.889 177.764 149.493 177.764 160.124C177.764 149.493 169.137 140.889 158.505 140.889C169.137 140.889 177.764 132.261 177.764 121.629C177.764 132.261 186.368 140.889 197 140.889Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M43.2928 47.6752C32.661 47.6752 24.0571 56.2792 24.0571 66.911C24.0571 56.2792 15.4297 47.6752 4.79785 47.6752C15.4297 47.6752 24.0571 39.0479 24.0571 28.416C24.0571 39.0479 32.661 47.6752 43.2928 47.6752Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M76.2983 17.0808C70.0153 17.0808 64.9279 22.1681 64.9279 28.4511C64.9279 22.1681 59.8289 17.0808 53.5459 17.0808C59.8289 17.0808 64.9279 11.9817 64.9279 5.69873C64.9279 11.9817 70.0153 17.0808 76.2983 17.0808Z",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M112.065 93.8122C112.065 93.8122 118.524 67.2385 125.499 46.9477C132.473 26.657 141.968 12.825 147.899 9.73043C153.831 6.63583 162.341 5.32297 166.631 15.9196C170.429 25.2738 166.608 36.3393 166.608 36.3393C166.608 36.3393 163.712 48.7295 148.825 70.462C139.647 83.8603 132.626 93.8122 132.626 93.8122H166.76C169.022 93.8122 170.851 95.6408 170.851 97.9032C170.851 100.166 169.022 101.994 166.76 101.994H142.641L143.093 102.006L153.69 178.914C155.284 185.97 147.688 187.916 147.688 187.916C147.688 187.916 144.195 192.441 105.841 192.687C89.1723 192.793 70.6985 190.038 62.9268 187.74C55.1551 185.443 56.9251 174.319 56.9251 174.319L63.4165 119.209C58.0319 119.224 55.4195 115.095 54.4752 107.023C54.2796 105.351 54.2251 103.546 54.3058 101.643L54.276 102.018V102.006H42.1554C39.8931 102.006 38.0645 100.177 38.0645 97.9149C38.0645 95.6526 39.8931 93.8239 42.1554 93.8239H55.2855C57.1676 84.4084 61.6018 73.8826 68.0493 65.2575H68.061C68.061 65.2575 75.4693 56.3253 84.1319 57.2162C94.2714 58.2712 100.308 62.3504 100.308 62.3504L100.11 63.0914L105.841 93.8122H112.065ZM90.1921 93.8122H90.1837L90.1322 93.9283L90.1921 93.8122Z",fill:"#97C3B9"}),C.createElement("path",{d:"M101.841 90.8122L96.5003 60.5H96.0003C96.0003 60.5 91.4672 78.8323 86.2861 90.5894L101.841 90.8122Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M64.0607 62.2576C64.0607 62.2576 71.469 53.3254 80.1316 54.2163C90.2711 55.2713 96.3079 59.3505 96.3079 59.3505L92.3576 74.1437L86.2856 90.5779C86.2856 90.5779 78.2795 109.415 67.3429 114.162C56.4063 118.91 51.7995 115.346 50.4749 104.023C49.1504 92.6995 54.2963 75.3041 64.049 62.2576H64.0607Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M114.126 90.812L127.595 50.4532C127.595 50.4532 134.511 27.5602 142.587 17.8544C150.745 8.05481 159.502 15.6272 154.707 30.901C150.406 44.6157 133.631 70.4275 121.37 90.812H114.126Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M108.065 90.8122C108.065 90.8122 114.524 64.2385 121.499 43.9477C128.473 23.657 137.968 9.82504 143.9 6.73043C149.831 3.63583 158.341 2.32297 162.631 12.9196C166.429 22.2738 162.608 33.3393 162.608 33.3393C162.608 33.3393 159.712 45.7295 144.826 67.462C135.647 80.8603 128.626 90.8122 128.626 90.8122H108.077H108.065Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M86.1926 90.812H162.761C165.023 90.812 166.852 92.6406 166.852 94.903C166.852 97.1653 165.023 98.994 162.761 98.994H81.9727",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M50.276 99.0057H38.1554C35.8931 99.0057 34.0645 97.1771 34.0645 94.9147C34.0645 92.6524 35.8931 90.8237 38.1554 90.8237H51.4247L50.7683 93.9652L50.4752 96.5089L50.276 99.0174V99.0057Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M59.9937 117.105L52.9253 171.319C52.9253 171.319 51.1553 182.443 58.927 184.74C66.6986 187.038 85.1725 189.793 101.841 189.687C140.195 189.441 143.689 184.916 143.689 184.916C143.689 184.916 151.284 182.97 149.69 175.914L139.094 99.0059H81.9021C81.9021 99.0059 76.0119 113.988 59.9937 117.105Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10}),C.createElement("path",{d:"M60.7893 119.993L60.799 119.476H140.794L140.851 119.765L60.7893 119.993Z",fill:"#231F20",stroke:"#97C3B9",strokeWidth:2})),jLs=e=>C.createElement("svg",{width:87,height:69,viewBox:"0 0 87 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("g",{opacity:.2},C.createElement("rect",{x:5.07362,y:5.97328,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07362,y:5.97328,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("rect",{x:5.07411,y:48.5582,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07411,y:48.5582,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("rect",{x:5.07411,y:27.2658,width:71.6165,height:16.0084,rx:.421274,fill:"#97C3B9"}),C.createElement("rect",{x:5.07411,y:27.2658,width:71.6165,height:16.0084,rx:.421274,stroke:"#97C3B9",strokeWidth:.842547}),C.createElement("path",{d:"M32.1074 33.6116C32.1074 38.8302 34.1805 43.835 37.8706 47.5251C41.5607 51.2152 46.5656 53.2883 51.7842 53.2883C57.0028 53.2883 62.0076 51.2152 65.6978 47.5251C69.3879 43.835 71.4609 38.8302 71.4609 33.6116C71.4609 28.393 69.3879 23.3881 65.6978 19.698C62.0076 16.0079 57.0028 13.9348 51.7842 13.9348C46.5656 13.9348 41.5607 16.0079 37.8706 19.698C34.1805 23.3881 32.1074 28.393 32.1074 33.6116Z",fill:"#97C3B9"})),C.createElement("rect",{x:8.69056,y:8.82703,width:56.8595,height:.277597,rx:.138799,stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M35.078 17.3912H1.60915C1.14382 17.3912 0.766602 17.014 0.766602 16.5487V1.38283C0.766602 0.917506 1.14382 0.540283 1.60915 0.540283H72.4708C72.9374 0.540283 73.3152 0.919552 73.3133 1.38619L73.2532 16.4851C73.2513 16.9491 72.8747 17.3243 72.4106 17.3243H67.0575",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("path",{d:"M70.126 22.3201H72.471C72.9376 22.3201 73.3154 22.6993 73.3135 23.166L73.253 38.3766C73.2514 38.7789 72.9248 39.1041 72.5226 39.1041",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("rect",{x:8.69056,y:30.6068,width:19.2475,height:.277597,rx:.138799,stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M30.8562 22.3201H1.17556C0.710229 22.3201 0.333008 22.6973 0.333008 23.1626V38.3285C0.333008 38.7938 0.710229 39.171 1.17556 39.171H29.7519",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("rect",{x:8.69056,y:52.6395,width:26.7253,height:.277597,rx:.138799,fill:"#97C3B9",stroke:"#97C3B9",strokeWidth:.277597}),C.createElement("path",{d:"M73.2257 58.1678V60.3613C73.2257 60.8266 72.8485 61.2039 72.3831 61.2039H1.60915C1.14382 61.2039 0.766602 60.8266 0.766602 60.3613V45.1955C0.766602 44.7301 1.14382 44.3529 1.60915 44.3529H30.6776",stroke:"#97C3B9",strokeWidth:.666234,strokeLinecap:"round"}),C.createElement("path",{d:"M70.126 43.9727H72.4743C72.9397 43.9727 73.3169 44.3499 73.3169 44.8152V53.3979",stroke:"#97C3B9",strokeWidth:.842547,strokeLinecap:"round"}),C.createElement("path",{d:"M31.7017 33.9263C31.7017 39.1449 33.7747 44.1497 37.4648 47.8398C41.155 51.5299 46.1598 53.603 51.3784 53.603C56.597 53.603 61.6019 51.5299 65.292 47.8398C68.9821 44.1497 71.0552 39.1449 71.0552 33.9263C71.0552 28.7077 68.9821 23.7028 65.292 20.0127C61.6019 16.3226 56.597 14.2495 51.3784 14.2495C46.1598 14.2495 41.155 16.3226 37.4648 20.0127C33.7747 23.7028 31.7017 28.7077 31.7017 33.9263Z",stroke:"#EEBA7D",strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M84.3854 67.1342L65.6099 48.3586",stroke:"#EEBA7D",strokeLinecap:"round",strokeLinejoin:"round"}),C.createElement("path",{d:"M58.0977 26.9509L45.0031 40.0455",stroke:"#EEBA7D",strokeLinecap:"round"}),C.createElement("path",{d:"M58.0977 40.0457L45.0031 26.9511",stroke:"#EEBA7D",strokeLinecap:"round"}),C.createElement("path",{opacity:.2,d:"M84.4455 68.4403L65.6699 49.6648",stroke:"#97C3B9",strokeWidth:1.11039,strokeLinecap:"round",strokeLinejoin:"round"})),bLs=e=>C.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M8.54492 149.483C8.54492 149.483 31.4705 136.963 39.2741 116.167C39.2741 116.167 43.7687 99.3912 46.3662 81.1928C46.3662 81.1928 47.0668 72.2067 47.5519 68.9204C48.0369 65.6341 50.5483 62.1431 53.2644 62.2401C55.9806 62.3371 57.0368 66.1082 57.4249 68.1446C57.5326 68.7102 57.386 69.962 57.118 71.4755C58.1719 66.7819 59.2474 61.7944 59.4512 60.1175C59.947 56.0339 60.8093 51.2176 63.9027 48.6963C66.9961 46.175 69.2272 45.7979 71.1673 45.8841C71.1673 45.8841 73.3014 40.4644 78.3349 40.2705C78.3349 40.2705 81.5253 39.8826 83.5624 42.4039C83.5624 42.4039 87.6259 40.0766 90.9241 43.7615C94.2222 47.4464 95.0845 52.0903 95.4725 60.5054C95.564 62.4897 95.58 64.8514 95.551 67.3023C96.4299 61.724 98.2955 55.6981 100.161 53.3186C104.86 47.3064 108.396 48.8579 108.396 48.8579C108.396 48.8579 110.573 43.309 114.744 42.8133C118.915 42.3177 118.139 46.2289 118.139 46.2289C120.683 43.9016 123.475 44.5049 123.475 44.5049C126.676 45.2053 128.336 47.5757 126.751 56.2063C125.167 64.8368 127.549 69.7931 127.549 69.7931C135.094 63.9425 137.605 69.1898 138.166 72.3683C138.279 72.9998 138.264 73.8438 138.243 75.1149C138.199 77.7258 138.125 82.1383 139.06 90.2112C140.451 102.214 143.124 105.878 143.124 105.878C144.783 108.353 146.57 110.433 148.29 112.148C148.295 112.041 148.297 111.933 148.297 111.825C148.297 111.825 151.897 107.612 156.898 109.994C159.836 111.392 164.068 115.762 168.352 120.184C171.36 123.29 174.394 126.422 177.022 128.569C177.304 128.8 177.579 129.024 177.849 129.244C183.67 133.994 186.768 136.522 193.804 145.151C193.804 145.151 195.959 147.5 198.805 149.666L162.051 191.569C162.051 191.569 141.316 174.666 118.316 149.666C118.316 149.666 121.603 148.5 125.547 145.509C121.267 140.784 115.527 134.794 110.767 131.047C102.326 124.402 99.325 120.466 99.0785 120.134C96.0268 123.958 90.4968 130.202 83.1636 135.627C83.1636 135.627 74.9289 143.955 68.4511 154.795C61.9733 165.634 50.4405 176.376 44.0489 179.577L8.54492 149.483ZM90.439 96.2235C90.4595 96.2104 90.4799 96.1972 90.5001 96.1839L90.5273 96.1764C90.4685 96.2087 90.439 96.2235 90.439 96.2235Z",fill:"#97C3B9"}),C.createElement("path",{d:"M4.5459 145.483C4.5459 145.483 27.4715 132.963 35.2751 112.168C35.2751 112.168 39.7696 95.3917 42.3672 77.1933C42.3672 77.1933 43.0678 68.2072 43.5528 64.9209C44.0379 61.6346 46.5492 58.1436 49.2654 58.2406C51.9815 58.3376 53.0378 62.1087 53.4258 64.1451C53.8139 66.1815 50.9037 77.1179 50.9037 77.1179C50.9037 77.1179 55.0318 59.5766 55.4522 56.118C55.948 52.0344 56.8102 47.2181 59.9036 44.6968C62.997 42.1755 65.2282 41.7984 67.1683 41.8846C67.1683 41.8846 69.3024 36.4649 74.3359 36.271C74.3359 36.271 77.5263 35.8831 79.5634 38.4044C79.5634 38.4044 83.6269 36.077 86.925 39.762C90.2232 43.4469 91.0855 48.0908 91.4735 56.5059C91.8615 64.9209 90.8915 80.124 90.8915 80.124C90.8915 80.124 90.6975 89.5087 86.44 92.224C86.44 92.224 90.1154 90.3815 97.186 82.8392C104.257 75.2969 105.895 75.674 108.805 76.0619C111.715 76.4498 114.13 79.5422 111.996 87.774C109.861 96.0059 97.7573 112.556 97.7573 112.556C97.7573 112.556 90.6867 123.104 79.1646 131.627C79.1646 131.627 70.9299 139.956 64.4521 150.795C57.9743 161.635 46.4414 172.377 40.0499 175.577",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M60.0654 79.2617C60.0654 79.2617 64.1073 66.1812 64.4738 59.4471C64.8403 52.7129 65.5516 44.5133 67.1684 41.8735",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M71.1992 80.8566C71.1992 80.8566 75.1118 73.8854 75.974 61.419C76.8363 48.9527 76.5237 45.6557 76.8255 43.0805C77.3106 38.9215 79.5632 38.4043 79.5632 38.4043",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M44.8614 135.143C51.6486 134.887 56.9589 129.594 56.7222 123.32C56.4855 117.047 50.7915 112.168 44.0042 112.424C37.217 112.68 31.9067 117.973 32.1434 124.247C32.3801 130.52 38.0742 135.399 44.8614 135.143Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M44.9719 137.801C53.0975 137.495 59.4577 131.23 59.1777 123.809C58.8977 116.388 52.0836 110.62 43.9579 110.927C35.8323 111.233 29.4721 117.498 29.7521 124.919C30.0321 132.34 36.8462 138.108 44.9719 137.801Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M39.6943 121.046L43.4452 127.026L48.7266 119.117",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M30.2517 119.117L24.2589 125.614C24.2589 125.614 24.1619 129.676 30.2517 129.773C30.2517 129.773 28.3223 124.602 30.2517 119.117Z",fill:"#97C3B9"}),C.createElement("path",{d:"M55.0212 114.14C55.0212 114.14 57.3385 114.959 60.9062 119.516C60.9062 119.516 71.1564 121.854 77.5588 135.15C77.5588 135.15 71.7708 145.914 67.6103 148.242C67.6103 148.242 57.3601 139.309 52.8871 138.9C52.8871 138.9 49.0284 143.264 40.5997 141.335C32.171 139.406 29.2285 129.763 29.2285 129.763H30.2417C30.2417 129.763 37.3877 141.292 50.214 136.691C50.214 136.691 57.6619 134.03 58.869 127.015C60.0762 120.001 56.6487 116.144 55.0104 114.129L55.0212 114.14Z",fill:"#97C3B9"}),C.createElement("path",{d:"M68.9787 127.92C68.9787 127.92 68.4613 132.844 63.1152 136.885",stroke:"#FAFAFA",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M72.7079 132.402C72.7079 132.402 71.824 135.29 70.1318 136.087",stroke:"#FAFAFA",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M152.91 114.667C152.91 114.667 145.171 110.896 139.124 101.878C139.124 101.878 136.451 98.2143 135.061 86.2113C133.67 74.2083 134.511 70.2971 134.166 68.3684C133.606 65.1899 131.094 59.9426 123.549 65.7933C123.549 65.7933 121.167 60.8369 122.752 52.2064C124.336 43.5759 122.676 41.2054 119.475 40.5051C119.475 40.5051 116.684 39.9017 114.14 42.229C114.14 42.229 114.916 38.3178 110.745 38.8134C106.573 39.3091 104.396 44.858 104.396 44.858C104.396 44.858 100.861 43.3065 96.1616 49.3188C94.2861 51.7107 92.4107 57.7877 91.5377 63.3905L91.1389 75.3935C91.1389 75.3935 91.5592 88.1939 86.4287 92.2021C86.4287 92.2021 91.958 88.6787 99.0717 80.8455C106.185 73.0123 111.025 75.8892 112.372 79.2509C113.72 82.6126 113.536 88.2154 106.94 98.5268C100.344 108.838 95.0622 116.111 95.0622 116.111C95.0622 116.111 97.94 120.098 106.768 127.047C115.595 133.997 127.796 148.661 127.796 148.661C127.796 148.661 143.867 134.676 152.888 114.657L152.91 114.667Z",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M111.058 108.612C111.058 108.612 111.252 98.1068 115.919 91.4588C115.919 91.4588 118.236 87.2028 118.204 79.8545C118.161 70.4051 123.561 65.772 123.561 65.772",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M114.151 42.2183C114.151 42.2183 110.216 45.2352 108.772 52.9822C106.724 63.9939 107.382 72.8184 107.382 72.8184",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M99.3845 78.1522C99.3845 78.1522 98.8671 67.7546 99.8695 59.0271C100.872 50.2996 104.407 44.8584 104.407 44.8584",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M92.4217 79.1864C92.4217 79.1864 91.3223 63.8002 92.1953 59.6304",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M152.91 114.667C156.09 108.332 150.075 108.623 150.075 108.623",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M118.16 137.833C118.16 137.833 109.699 149.319 119.68 151.194C119.68 151.194 125.856 150.493 127.818 148.672L118.16 137.833Z",fill:"#97C3B9"}),C.createElement("path",{d:"M158.051 187.569C158.051 187.569 139.65 173 116.65 148C116.65 148 124.15 160 140.978 134.256C140.978 134.256 152.263 119.236 152.511 114.01C152.511 114.01 147.284 111.36 144.298 107.826C144.298 107.826 147.898 103.613 152.899 105.994C157.9 108.375 166.652 119.365 173.022 124.569C179.392 129.774 182.443 132.122 189.804 141.152C189.804 141.152 191.96 143.501 194.805 145.666",stroke:"#97C3B9",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M160.746 81.6538C160.746 81.6538 182.443 82.699 184.868 83.3885",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M145.99 53.8984L169.25 44.8584",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M122.041 30.474L139.922 14.1719",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M82.4735 30.474C82.4735 30.474 75.3597 15.9066 62.167 9.48486",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M40.9985 49.3833C40.9985 49.3833 33.3674 39.3305 23.1172 37.0786",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"}),C.createElement("path",{d:"M28.3231 74.5425C28.3231 74.5425 8.71728 83.2269 1.59277 93.7214",stroke:"#EEBA7D",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round"})),wLs=s.div`
71816
71803
  width: 100%;
71817
71804
  display: flex;
71818
71805
  justify-content: center;
@@ -71845,7 +71832,7 @@ ${ti.beneficiaryAddress} ${te}`,d(fe),L(!0)},oe=(ue,fe,ie,ce)=>{let pe,ge;switch
71845
71832
  color: ${e=>e.theme.colors.brandColorJade};
71846
71833
  `,ILs=s(Ss)`
71847
71834
  color: ${e=>e.theme.colors.primary};
71848
- `,TLs=e=>{const{tab:n,useNoSearchResultIcon:i}=e;if(i===!0)return t.jsxRuntimeExports.jsx(SLs,{});switch(n){case"transaction_categorization":return t.jsxRuntimeExports.jsx(ELs,{});case"je_schedules":case"reconciliation":return t.jsxRuntimeExports.jsx($Ls,{});case"flux_analysis":return t.jsxRuntimeExports.jsx(vLs,{});default:return t.jsxRuntimeExports.jsx(RLs,{})}};function Lu(e){const{title:n,subTitle:i}=e;return t.jsxRuntimeExports.jsx(wLs,{children:t.jsxRuntimeExports.jsxs(ALs,{children:[t.jsxRuntimeExports.jsx(TLs,{...e}),t.jsxRuntimeExports.jsx(kLs,{children:n}),t.jsxRuntimeExports.jsx(ILs,{children:i})]})})}const{common:{headers:{transactions:LLs,jeSchedules:BLs,fluxAnalysis:PLs,missingReceipts:MLs,insights:DLs,reconciliation:aje},strings:{empty:Cp}},uncategorizedTransactionList:{missingReceipt:{bulkUpload:{missing:OLs,unmatched:zLs,completed:FLs}}},expenseAutomation:{transactions:{tabs:lje,subTitles:{review:{item1:y$,item2:C$},autoCategorized:{item1:j$,item2:NLs}},searchPlaceholder:_Ls,allDoneText:HLs},jeSchedules:{searchPlaceholder:WLs,allDoneText:VLs},missingReceipts:{subTitles:QLs,searchPlaceholder:ULs,allDoneText:F_},fluxAnalysis:{subTitles:{item1:GLs,item2:YLs},searchPlaceholder:qLs,emptyPageTexts:{youDidIt:ZLs,allReviewed:KLs}},accountRecon:{review:{allDoneText:cje},reconcile:{allDoneText:JLs},tabs:dje,subTitles:{review:{item1:XLs,item2:b$},reconcile:{item1:w$,item2:eBs}}}}}=F.getLocalizedStrings(),oa=(e,n,i,r,a,l,c,d,u)=>{const m=(x,h)=>u!==!0?x:h==="transaction_categorization"||h==="reconciliation"||h==="missing_receipts"||h==="flux_analysis"||h==="je_schedules"?["commentDrawer",...x]:x;switch(e){case"transaction_categorization":return{key:"transaction_categorization",title:LLs,subTitle:[],tabs:[{label:lje.pendingReview,id:"review",subTitle:[{pre:y$.pre,bold:y$.bold,prefixIconName:y$.prefixIconName,post:y$.post},{pre:C$.pre,bold:C$.bold,prefixIconName:C$.prefixIconName,post:C$.post}]},{label:lje.completed,id:"autoCategorized",subTitle:[{pre:j$.pre,bold:j$.bold,prefixIconName:j$.prefixIconName,post:j$.post.replace("#number",n!=null&&n!=0?n.toString():"")},NLs]}],rightSection:m(c!==!1&&l==="review"?["search","filter","refresh"]:["refresh"],"transaction_categorization"),leftSection:[],searchPlaceholder:_Ls,allDoneText:HLs};case"je_schedules":return{key:"je_schedules",title:BLs,subTitle:[],tabs:[{id:"pending_review",label:"Pending Review",subTitle:[]},{id:"ongoing",label:"Ongoing",subTitle:[]},{id:"completed",label:"Completed",subTitle:[]}],rightSection:m(["refresh"],"je_schedules"),leftSection:[],searchPlaceholder:WLs,allDoneText:VLs};case"missing_receipts":{const x=d?.includeBulkUploadTabs!==!1;return{key:"missing_receipts",title:d?.navTitle??MLs,subTitle:[QLs],tabs:x?[{label:OLs,id:"missing",subTitle:[],allDoneText:F_},{label:zLs,id:"unmatched",subTitle:[]},{label:FLs,id:"completed",subTitle:[],allDoneText:F_}]:[],rightSection:m(["refresh"],"missing_receipts"),leftSection:[],searchPlaceholder:ULs,allDoneText:F_}}case"flux_analysis":return{key:"flux_analysis",title:PLs,subTitle:[GLs,YLs],tabs:[],rightSection:m(["refresh"],"flux_analysis"),leftSection:[],searchPlaceholder:qLs,allDoneText:{title:ZLs,subTitle:KLs}};case"month_end_insights":return{key:"month_end_insights",title:DLs,subTitle:[],tabs:[],rightSection:["comment","refresh"],leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}};case"reconciliation":return i==null?{key:"reconciliation",title:aje,subTitle:[],tabs:[],rightSection:m(["refresh"],"reconciliation"),leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}}:{key:"reconciliation",title:r??aje,subText:a??void 0,subTitle:[],tabs:[{label:dje.review,id:"review",subTitle:[XLs,{pre:b$.pre,bold:b$.bold,prefixIconName:b$.prefixIconName,post:b$.post}],allDoneText:cje},{label:dje.reconcile,id:"reconcile",subTitle:[{pre:w$.pre,bold:w$.bold,prefixIconName:w$.prefixIconName,post:w$.post},eBs],allDoneText:JLs}],rightSection:m(["refresh"],"reconciliation"),leftSection:["back"],searchPlaceholder:Cp,allDoneText:cje};default:return{key:"transaction_categorization",title:Cp,subTitle:[],tabs:[],rightSection:[],leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}}}},W4=s(Ow)`
71835
+ `,TLs=e=>{const{tab:n,useNoSearchResultIcon:i}=e;if(i===!0)return t.jsxRuntimeExports.jsx(SLs,{});switch(n){case"transaction_categorization":return t.jsxRuntimeExports.jsx(ELs,{});case"je_schedules":case"reconciliation":return t.jsxRuntimeExports.jsx($Ls,{});case"flux_analysis":return t.jsxRuntimeExports.jsx(vLs,{});default:return t.jsxRuntimeExports.jsx(RLs,{})}};function Lu(e){const{title:n,subTitle:i}=e;return t.jsxRuntimeExports.jsx(wLs,{children:t.jsxRuntimeExports.jsxs(ALs,{children:[t.jsxRuntimeExports.jsx(TLs,{...e}),t.jsxRuntimeExports.jsx(kLs,{children:n}),t.jsxRuntimeExports.jsx(ILs,{children:i})]})})}const{common:{headers:{transactions:LLs,jeSchedules:BLs,fluxAnalysis:PLs,missingReceipts:MLs,insights:DLs,reconciliation:aje},strings:{empty:Cp}},uncategorizedTransactionList:{missingReceipt:{bulkUpload:{missing:OLs,unmatched:zLs,completed:FLs}}},expenseAutomation:{transactions:{tabs:lje,subTitles:{review:{item1:y$,item2:C$},autoCategorized:{item1:j$,item2:NLs}},searchPlaceholder:_Ls,allDoneText:HLs},jeSchedules:{searchPlaceholder:WLs,allDoneText:VLs},missingReceipts:{subTitles:QLs,searchPlaceholder:ULs,allDoneText:F_},fluxAnalysis:{subTitles:{item1:GLs,item2:YLs},searchPlaceholder:qLs,emptyPageTexts:{youDidIt:ZLs,allReviewed:KLs}},accountRecon:{review:{allDoneText:cje},reconcile:{allDoneText:JLs},tabs:dje,subTitles:{review:{item1:XLs,item2:b$},reconcile:{item1:w$,item2:eBs}}}}}=F.getLocalizedStrings(),oa=(e,n,i,r,a,l,c,d)=>{const u=(m,x)=>d!==!0?m:x==="transaction_categorization"||x==="reconciliation"||x==="missing_receipts"||x==="flux_analysis"||x==="je_schedules"?[...m,"commentDrawer"]:m;switch(e){case"transaction_categorization":return{key:"transaction_categorization",title:LLs,subTitle:[],tabs:[{label:lje.pendingReview,id:"review",subTitle:[{pre:y$.pre,bold:y$.bold,prefixIconName:y$.prefixIconName,post:y$.post},{pre:C$.pre,bold:C$.bold,prefixIconName:C$.prefixIconName,post:C$.post}]},{label:lje.completed,id:"autoCategorized",subTitle:[{pre:j$.pre,bold:j$.bold,prefixIconName:j$.prefixIconName,post:j$.post.replace("#number",n!=null&&n!=0?n.toString():"")},NLs]}],rightSection:u(l!==!1?["search","filter","refresh"]:["refresh"],"transaction_categorization"),leftSection:[],searchPlaceholder:_Ls,allDoneText:HLs};case"je_schedules":return{key:"je_schedules",title:BLs,subTitle:[],tabs:[{id:"pending_review",label:"Pending Review",subTitle:[]},{id:"ongoing",label:"Ongoing",subTitle:[]},{id:"completed",label:"Completed",subTitle:[]}],rightSection:u(["refresh"],"je_schedules"),leftSection:[],searchPlaceholder:WLs,allDoneText:VLs};case"missing_receipts":{const m=c?.includeBulkUploadTabs!==!1;return{key:"missing_receipts",title:c?.navTitle??MLs,subTitle:[QLs],tabs:m?[{label:OLs,id:"missing",subTitle:[],allDoneText:F_},{label:zLs,id:"unmatched",subTitle:[]},{label:FLs,id:"completed",subTitle:[],allDoneText:F_}]:[],rightSection:u(["refresh"],"missing_receipts"),leftSection:[],searchPlaceholder:ULs,allDoneText:F_}}case"flux_analysis":return{key:"flux_analysis",title:PLs,subTitle:[GLs,YLs],tabs:[],rightSection:u(["refresh"],"flux_analysis"),leftSection:[],searchPlaceholder:qLs,allDoneText:{title:ZLs,subTitle:KLs}};case"month_end_insights":return{key:"month_end_insights",title:DLs,subTitle:[],tabs:[],rightSection:["comment","refresh"],leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}};case"reconciliation":return i==null?{key:"reconciliation",title:aje,subTitle:[],tabs:[],rightSection:u(["refresh"],"reconciliation"),leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}}:{key:"reconciliation",title:r??aje,subText:a??void 0,subTitle:[],tabs:[{label:dje.review,id:"review",subTitle:[XLs,{pre:b$.pre,bold:b$.bold,prefixIconName:b$.prefixIconName,post:b$.post}],allDoneText:cje},{label:dje.reconcile,id:"reconcile",subTitle:[{pre:w$.pre,bold:w$.bold,prefixIconName:w$.prefixIconName,post:w$.post},eBs],allDoneText:JLs}],rightSection:u(["refresh"],"reconciliation"),leftSection:["back"],searchPlaceholder:Cp,allDoneText:cje};default:return{key:"transaction_categorization",title:Cp,subTitle:[],tabs:[],rightSection:[],leftSection:[],searchPlaceholder:Cp,allDoneText:{title:Cp,subTitle:Cp}}}},W4=s(Ow)`
71849
71836
  color: ${e=>e.theme.colors.hero};
71850
71837
  height: ${o.sp3};
71851
71838
  width: ${o.sp3};
@@ -75423,7 +75410,7 @@ ${ti.beneficiaryAddress} ${te}`,d(fe),L(!0)},oe=(ue,fe,ie,ce)=>{let pe,ge;switch
75423
75410
  width: ${o.sp3};
75424
75411
  cursor: pointer;
75425
75412
  color: inherit;
75426
- `,{common:{footer:Yi,texts:{maxLimitReached:jVs,confirmAction:bVs},headers:B_e,create:wVs,strings:V9,texts:aj,cancel:EVs,confirm:RVs,monthsByIndex:vVs},dateFormat:{visual:{MMMDCommaYYYYformat:V6e}},expenseAutomation:jA,uncategorizedTransactionList:{missingReceipt:{bulkUpload:$Vs}}}=F.getLocalizedStrings();function SVs(...e){for(const n of e)if(n!=null&&n>0&&!Number.isNaN(n))return n;return 0}const AVs=e=>{const{accountsForFilters:n,categoryOptions:i,classesForFilters:r,expenseAutomationViewSelector:a,isDisabled:l,isRealtimeInsightsFeatureEnabled:c,isUncategorizedExpenseCategoryEnabled:d,isCOTEnabled:u,onUpdateTab:m,onReconTabUpdate:x,onUpdateStep:h,onSearchTextChanged:g,onFiltersChange:y,onRefresh:j,onClose:b,onBack:E,onBulkUploadConfirmMatchAcknowledged:R,onClearMissingReceiptsTabNavigation:v,closeSidePanel:S,initialMissingReceiptsTab:k,resetTransactionCategorizationLocalData:I,updateOperatingExpensesIdsForReview:A,clearJeScheduleLocalData:T,onSaveReconciliation:P}=e,{isAccountingClassesEnabled:L}=e,B=e.bulkUploadEndpoint!=null||e.onBulkUploadFiles!=null,O=uVs({authParams:e.authParams,bulkUploadEndpoint:e.bulkUploadEndpoint,onBulkUploadProgress:e.onBulkUploadProgress,onBulkUploadSuccess:e.onBulkUploadSuccess,onBulkUploadUploadedFileCount:e.onBulkUploadUploadedFileCount,onBulkUploadFilesFallback:e.onBulkUploadFiles,onUploadError:e.onBulkUploadError}),{currentSelectedView:D,allSteps:_,missingReceipts:U,jeSchedules:z,fluxAnalysis:W,monthEndInsights:H,transactionView:V,selectedTransactionCategorizationTab:Q,reconciliation:q,selectedPeriod:Z}=a,{pendingMissingReceiptsTabNavigation:Y}=U,[K,ee]=f.useState("expenseAutomationPage"),te=z.uiState.selectedMainTab??"pending_review",{onUpdateJESchedulesUIState:X}=e,se=f.useCallback(ht=>{X({selectedMainTab:ht})},[X]),[ne,oe]=f.useState(()=>{}),[de,ae]=f.useState(!1),le=J(),ue=!!e.loggedInUser?.userEmail?.includes("zeni.ai"),fe=ue?Vs:np,{openThread:ie,setOpenThread:ce}=f.useContext(fe),{useFeatureGate:pe}=Hr(),ge=pe(Ma.isExpenseAutomationSearchAndFilterEnabled),[re,xe]=f.useState(!1),[Ce,he]=f.useState(!1),[je,we]=f.useState(k??"missing"),Ae=f.useRef(null);f.useEffect(()=>{const ht=Ae.current;ht!==null&&ht!==je&&S?.(),Ae.current=je},[je,S]);const Ee=f.useCallback(ht=>{we(ht)},[]),[Re,$e]=f.useState(null),Le=f.useCallback(ht=>{$e(ht),ee(ht!=null?"expenseAutomationMissingReceipts":"expenseAutomationPage")},[ee]),Ie=e.bulkUploadSelector?.confirmMatchStatus.fetchState,Fe=f.useRef(void 0);f.useEffect(()=>{Fe.current==="In-Progress"&&Ie==="Completed"&&Re!=null&&(Le(null),R?.()),Fe.current=Ie},[Ie,Re,Le,R]),f.useEffect(()=>{je!=="unmatched"&&Le(null)},[je,Le]),f.useEffect(()=>{Y==="unmatched"&&(B&&Ee("unmatched"),v?.())},[Y,v,B,Ee]),f.useEffect(()=>{B===!1&&(je==="unmatched"||je==="completed")&&Ee("missing")},[B,je,Ee]);const{bulkUploadSelector:ke,onSetBulkUploadCompletedSubTab:ve}=e,Se=f.useRef(null);f.useEffect(()=>{if(ke==null||ke.phase!=="completed")return;const ht=ke.currentBatchId;if(ht==null||ke.currentBatchDetailsFetched!==!0||Se.current===ht)return;Se.current=ht,ke.unmatchedFiles.length+ke.pastUnmatchedFiles.length>0?Ee("unmatched"):(Ee("completed"),ve?.("ai_accountant"))},[ke,ve,Ee]);const[De,Ne]=f.useState({categories:[],categoryCombinationOperator:"AND"});f.useEffect(()=>{if(ge.isFeatureEnabled===!1&&De.categories.length>0){const ht={categories:[],categoryCombinationOperator:"AND"};Ne(ht),y(ht)}},[ge.isFeatureEnabled,De.categories.length,y]);const Me=_.find(ht=>ht.step===D),{nextStep:_e,previousStep:We}=TVs(_,D),{uiState:{searchString:Ve,pageToken:qe},totalCountByTab:Xe,parentTabTotalCountByTab:tt,transactions:Ct,fetchStateByTransactionTabs:pt,transactionLocalData:jt}=V,[Te,Ze]=f.useState(Ve??"");f.useEffect(()=>{Ze(Ve??"")},[Ve]);const Je=f.useMemo(()=>t.debounce(ht=>g(ht),500,{leading:!1,trailing:!0}),[g]);f.useEffect(()=>()=>{Je.cancel()},[Je]);const nt=f.useCallback(ht=>{Ze(ht),Je(ht)},[Je]),{selectedReconAccount:lt,reconciliationTabsState:{reconcile:{localData:{selectedTransactionIds:xt}}}}=q;let ut="Not-Started",$t="complete";switch(D){case"missing_receipts":ut=U.refreshStatus.fetchState,$t=U.completionStatus,je==="unmatched"&&e.bulkUploadSelector!=null&&(e.bulkUploadSelector.batchListFetchState.fetchState==="In-Progress"||e.bulkUploadSelector.batchDetailsPaginationState.fetchState==="In-Progress"||e.bulkUploadSelector.batchDetailsRevalidating===!0)&&ut!=="In-Progress"&&(ut="In-Progress");break;case"je_schedules":ut=z.refreshStatus.fetchState,$t=z.completionStatus;break;case"month_end_insights":H!=null&&(ut=H?.fetchState);break;case"flux_analysis":ut=W.refreshStatus.fetchState,$t=W.completionStatus;break;case"transaction_categorization":ut=V.refreshStatus.fetchState,$t=V.completionStatus;break;case"reconciliation":lt==null?(ut=q.refreshStatus.fetchState,$t=q.completionStatus):(ut=q.selectedReconAccount?.refreshStatus.fetchState??"Not-Started",$t=q.completionStatus)}const Zt=a.monthEndCloseChecksView.fetchState,Ht=Zt==="Not-Started"||Zt==="In-Progress",mt=a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(ht=>ht.id===D),At=Ht?void 0:Math.floor(mt?.progress??0),Et=()=>{ne()},Ue=ht=>{Ne(ht),y(ht)},It=f.useMemo(()=>{const ht=G.TRANSACTION_FILTER_CATEGORIES,Vo=n??[],Oo=r??[];return ht.reduce((Fn,Lt)=>{const uo=Lt.value;switch(uo){case"amount":return{...Fn,[uo]:[]};case"payment_account_name":{const gt=Vo.map(Jt=>({label:Jt.accountName??"",value:Jt.accountName??""}));return{...Fn,[uo]:gt}}case"payment_account_type":{const gt=new Set,Jt=[];for(const Ot of Ct)Ot.paymentType==null||Ot.paymentType===""||gt.has(Ot.paymentType)||(gt.add(Ot.paymentType),Jt.push({label:Ot.paymentTypeName??Ot.paymentType,value:Ot.paymentType}));return{...Fn,[uo]:Jt}}case"class":{const gt=Oo.map(Jt=>({label:Jt.className??"",value:Jt.classId??""}));return{...Fn,[uo]:gt}}case"category":{const gt=i?.map(Jt=>({label:Jt.accountName??"",value:Jt.accountId??""}))??[];return{...Fn,[uo]:gt}}default:return{...Fn,[uo]:[]}}},{})},[n,r,i,Ct]),{saveStatus:St,selectedCheckBoxTransactionIds:yo}=V,On=()=>{const ht=MNe(a.fluxAnalysis.sections,a.fluxAnalysis.reviewOperatingExpensesIds);switch(K){case"expenseAutomationFluxPage":return{formId:"expenseAutomationFluxPage",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:ht===!0?Yi.markAsReviewed:aj.undo,style:{justifyContent:"space-evenly"},isLoading:a.fluxAnalysis.bulkReviewStatus.fetchState==="In-Progress",isDisabled:!1},leftSideComponent:pH(a.fluxAnalysis.reviewOperatingExpensesIds.length,h8,le,aj.vendor,D),cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>{A([])}}};case"expenseAutomationTransactionsPage":return{formId:"expenseAutomationTransactionsPage",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.save,style:{minWidth:"96px",justifyContent:"space-evenly"},isLoading:St.fetchState==="In-Progress",isDisabled:V.hasInFlightCategoryClassRecommendations===!0},leftSideComponent:pH(yo.length,G.MAX_SELECTION_LIMIT,le,aj.transaction,D),cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>{I(Q,Ct.map(Vo=>Vo.id),Z,!1,Xe[Q],G.getLineItemsByTransactionIdsFromLocalData(jt,Q),d,qe)}}};case"expenseAutomationJESchedulePage":return{formId:"expenseAutomationJESchedulePage",nextBtnLabel:Yi.next,backBtnLabel:Yi.back,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.next,style:{justifyContent:"space-evenly"},isDisabled:l||Me?.isNextDisabled===!0||_e==null,suffixIcon:t.jsxRuntimeExports.jsx(H6e,{}),onClick:()=>{_e!=null&&h(_e.step)}},cancelBtn:{label:Yi.back,isDisabled:l||Me?.isPrevDisabled===!0||We==null,style:{width:"96px",justifyContent:"space-evenly"},prefixIcon:t.jsxRuntimeExports.jsx(W6e,{}),onClick:()=>{We!=null&&h(We.step)}}};case"expenseAutomationBankReconReconcilePage":return{formId:"expenseAutomationBankReconReconcilePage",nextBtnLabel:Yi.reconcile,backBtnLabel:Yi.saveForLater,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.reconcile,onClick:()=>{P({reconcileAction:"reconcile"})},isDisabled:q.reconciliationTabsState.balances.variance.amount!==0,isLoading:q.actionFetchStates.reconcileFetch.fetchState==="In-Progress",style:{justifyContent:"space-evenly",minWidth:132}},leftSideComponent:pH(xt.length,1/0,le,aj.transaction,D),cancelBtn:{onClick:()=>{P({reconcileAction:"save_reconcile_for_later"})},reverseSpinnerColor:!1,isLoading:q.actionFetchStates.saveForLaterFetch.fetchState==="In-Progress",label:Yi.saveForLater,style:{minWidth:132,justifyContent:"space-evenly"}}};case"expenseAutomationJEAccountSettingsPage":return{formId:"expenseAutomationJEAccountSettingsPage",nextBtnLabel:Yi.save,backBtnLabel:Yi.cancel,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.save,isLoading:z.accountSettingsView.saveState.fetchState==="In-Progress",style:{justifyContent:"space-evenly",minWidth:82}},cancelBtn:{onClick:()=>Et(),label:Yi.cancel,style:{minWidth:82,justifyContent:"space-evenly"}}};case"expenseAutomationMissingReceipts":return{formId:"expenseAutomationMissingReceipts",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:$Vs.confirmMatch,isLoading:e.bulkUploadSelector?.confirmMatchStatus.fetchState==="In-Progress",isDisabled:Re==null||e.bulkUploadSelector?.confirmMatchStatus.fetchState==="In-Progress",style:{minWidth:"96px",justifyContent:"space-evenly"},onClick:()=>{Re!=null&&e.bulkUploadSelector?.confirmMatchStatus.fetchState!=="In-Progress"&&e.onConfirmBulkUploadMatch?.(Re.batchId,Re.attachmentId,Re.transactionId,Re.transactionType,Re.fileName)}},cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>Le(null)}};default:{const Vo=D==="reconciliation"&&a.reconciliation.selectedTab==="review"&&a.reconciliation.selectedAccountId!=null,Oo=D==="reconciliation"&&a.reconciliation.selectedAccountId==null,Fn=D==="reconciliation"&&a.reconciliation.selectedTab==="reconcile"&&a.reconciliation.selectedAccountId!=null,Lt=_e?.step==="month_end_insights"&&(D==="flux_analysis"&&(a.fluxAnalysis.sections.generalExpense?.balancesByMonth!=null||a.fluxAnalysis.sections.reimbursement?.balancesByMonth!=null)||Oo),uo=D==="transaction_categorization"&&a.selectedTransactionCategorizationTab==="review",gt=D==="transaction_categorization"&&a.selectedTransactionCategorizationTab==="autoCategorized",Jt=a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(As=>As.id==="month_end_insights"),Ot=a.monthEndCloseChecksView.monthEndCloseChecks?.reportEmailSentDate==null&&Jt?.isDisabled===!1&&(c||Me?.isNextDisabled===!1),po=_e?.step==="month_end_insights"&&(Oo||D==="flux_analysis")?!Ot:Me?.isNextDisabled===!0;return{formId:"expenseAutomationPage",nextBtnLabel:Yi.next,backBtnLabel:Yi.back,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Lt===!0?IVs(a.selectedPeriod.month):Yi.next,style:{justifyContent:"space-evenly"},isDisabled:po||_e==null,suffixIcon:t.jsxRuntimeExports.jsx(H6e,{}),onClick:()=>{uo?m("autoCategorized"):Vo?x("reconcile"):_e!=null&&h(_e.step)}},cancelBtn:{label:Yi.back,isDisabled:l||Me?.isPrevDisabled===!0||We==null,style:{width:"96px",justifyContent:"space-evenly"},prefixIcon:t.jsxRuntimeExports.jsx(W6e,{}),onClick:()=>{gt?m("review"):Fn?x("review"):Vo?E():We!=null&&h(We.step)}}}}}},Fo=()=>{switch(K){case"expenseAutomationFluxPage":return{confirmAction:()=>{xe(!1),A([]),b()}};case"expenseAutomationTransactionsPage":return{confirmAction:()=>{xe(!1),I(Q,Ct.map(ht=>ht.id),Z,!1,Xe[Q],G.getLineItemsByTransactionIdsFromLocalData(jt,Q),d,qe),b()}};case"expenseAutomationJESchedulePage":return{confirmAction:()=>{xe(!1),T(),b()}};default:return{confirmAction:()=>{xe(!1)},confirmationDescription:V9.empty}}},xn=()=>{K==="expenseAutomationFluxPage"||K==="expenseAutomationJESchedulePage"||K==="expenseAutomationTransactionsPage"?xe(!0):b()},{primaryBtn:Ut,cancelBtn:Mt,leftSideComponent:en}=On(),{confirmAction:as}=Fo(),zn=ht=>{if(D==="transaction_categorization"&&(ht==="autoCategorized"||ht==="review")){const Vo=ht;return{count:tt[Vo],isFetching:pt[Vo].fetchState==="In-Progress"}}if(D==="reconciliation"){const{reconciliation:Vo}=a,{selectedAccountId:Oo}=Vo;return Oo==null?{count:0,isFetching:!1}:ht==="review"?{count:Vo.accountReconciliationsByAccountID[Oo]?.accountReconEntity?.transactionsToReview.length,isFetching:Vo.accountReconciliationsByAccountID[Oo]?.transactionFetchState.fetchState==="In-Progress"}:{count:Vo.accountReconciliationsByAccountID[Oo]?.accountReconEntity?.transactionsToReconcile.length,isFetching:Vo.accountReconciliationsByAccountID[Oo]?.transactionFetchState.fetchState==="In-Progress"}}if(D==="missing_receipts"){if(ht==="missing")return{count:U.transactions.length,isFetching:U.fetchState==="In-Progress"};if(ht==="unmatched")return{count:(e.bulkUploadSelector?.unmatchedFiles.length??0)+(e.bulkUploadSelector?.pastUnmatchedFiles.length??0),isFetching:je==="unmatched"&&m_e({bulkUploadSelector:e.bulkUploadSelector})};if(ht==="completed")return{count:e.bulkUploadSelector?.completedTransactions?.totalCount??0,isFetching:e.bulkUploadSelector?.completedTransactions?.fetchState?.fetchState==="In-Progress",hideCountInTab:!0}}if(D==="je_schedules"){if(ht==="pending_review")return{count:z.draftSchedules.length+z.resolveSchedules.length,isFetching:z.fetchState==="In-Progress"};if(ht==="ongoing")return z.ongoingSchedules.length>0?{count:z.ongoingSchedules.length,isFetching:!1}:void 0;if(ht==="completed")return z.completedSchedules.length>0?{count:z.completedSchedules.length,isFetching:!1}:void 0}},es=D==="reconciliation"&&q.selectedAccountId!=null&&q.selectedReconAccount!=null,{month:$n,year:hs}=Z,ls=G.dateNow().set("month",$n-1).set("year",hs),Wn=ls.startOf("month").format(V6e),cs=ls.endOf("month").format(V6e),Vn=`${Wn} ${V9.hyphen} ${cs}`,js=e.sidePanelIsOpen??!1,bs=e.sidePanelIsFullView??!1,Yo=D==="missing_receipts"&&je==="missing"&&B,hn=e.bulkUploadSelector?.phase,kn=e.bulkUploadSelector,ts=SVs(kn?.progress.total,kn?.uploadedFileCount,O.uploadFileCount),_o={bulkUploadPhase:hn,isDraggingFiles:O.isDraggingFiles,isUploading:O.isUploading===!0,matchingProgressBannerTotal:ts,onDismissUploadError:O.clearUploadError,onFilesSelected:O.handleBulkUploadFiles,showEmailOrDropZone:O.isUploading!==!0&&hn!=="matching"&&U.fetchState!=="In-Progress"&&U.fetchState!=="Not-Started",uploadError:O.uploadError,uploadFileCount:O.uploadFileCount},Dn=D==="missing_receipts"&&je==="completed"&&B&&e.bulkUploadSelector!=null,wt=D==="transaction_categorization"&&Q==="autoCategorized",Ge={onDragLeave:O.handleDragLeave,onDragOver:O.handleDragOver,onDrop:O.handleDrop},He=D==="reconciliation"&&q.selectedAccountId==null,Nt=wt?t.jsxRuntimeExports.jsx(lTs,{activeSubTab:V.selectedTransactionCategorizationCompletedSubTab,allTabs:pVs,onSubTabChange:e.onUpdateTransactionCategorizationCompletedSubTab}):null,Wt=Yo===!0&&!(js&&bs)?t.jsxRuntimeExports.jsx(B6e,{...Ge,children:t.jsxRuntimeExports.jsx(N6e,{..._o})}):Dn===!0&&!(js&&bs)&&e.bulkUploadSelector!=null?t.jsxRuntimeExports.jsx(_6e,{activeSubTab:e.bulkUploadSelector.completedSubTab,onSubTabChange:ht=>{e.onSetBulkUploadCompletedSubTab?.(ht)}}):wt&&!(js&&bs)?Nt:He?t.jsxRuntimeExports.jsx(SNs,{}):null,go=e.isExpenseAutomationCommentingEnabled===!0&&(D==="transaction_categorization"||D==="reconciliation"||D==="missing_receipts"||D==="flux_analysis"||D==="je_schedules");return t.jsxRuntimeExports.jsx(T5o,{companyId:e.companyId,currentSelectedView:D,isCommentingEnabled:go,onThreadClickRoute:e.onExpenseAutomationCommentingThreadClick,children:t.jsxRuntimeExports.jsxs(xVs,{children:[re?t.jsxRuntimeExports.jsx(fo,{titleComponent:t.jsxRuntimeExports.jsx(Io,{children:bVs}),primaryButtonText:RVs,secondaryButtonText:EVs,proceedButtonVariant:"destructive",action:{onOkClick:()=>{as()},onCancelClick:()=>xe(!1)},descriptionComponent:t.jsxRuntimeExports.jsx(Mo,{children:jA.confirmationDescription})}):null,t.jsxRuntimeExports.jsx(af,{isOpen:e.sidePanelIsOpen??!1,isFullView:e.sidePanelIsFullView??!1,listContentPercent:e.sidePanelListPercent,disableMarginTop:cVs(D,B),panelContent:e.panelContent,headerContent:t.jsxRuntimeExports.jsx(gLs,{filters:De,selectedEntity:"transaction_categorization",vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,hideTabSwitcher:de===!0,isCompletionLoading:Ht,completionProgressRaw:mt!=null&&Number.isFinite(mt.progress)?mt.progress:void 0,completionPercentage:At,onBack:E,navBarCustomElement:D==="reconciliation"&&q.selectedAccountId!=null?t.jsxRuntimeExports.jsx(kVs,{reconciliation:q}):void 0,onReconTabUpdate:x,currentRecontab:q.selectedTab,currentMissingReceiptsTab:je,onMissingReceiptsTabUpdate:Ee,currentJeTab:te,onJeTabUpdate:se,selectedGenericTab:D==="je_schedules"?te:void 0,searchText:Te,onRefresh:D==="missing_receipts"?()=>{switch(je){case"missing":e.onFetchMissingReceiptsList();break;case"unmatched":e.onFetchBulkUploadBatches?.({cacheOverride:!0,invalidateBatchDetailsCache:!0});break;case"completed":e.onFetchCompletedTransactions?.(void 0,!0);break}}:j,onFiltersChange:Ue,filterOptions:It,onGenericTabChange:D==="je_schedules"?ht=>se(ht.id):void 0,reconcileDetailPageFetchState:q.selectedAccountId!=null?q.accountReconciliationsByAccountID[q.selectedAccountId]?.transactionFetchState.fetchState:"Not-Started",selectedReconAccountId:es?q.selectedAccountId:void 0,currentSelectedView:D,titleStyle:{justifyContent:"center",marginLeft:o.sp0},headerData:oa(D,tt.autoCategorized,es?q.selectedAccountId:void 0,es?q.selectedReconAccount?.accountReconEntity?.account.accountName:void 0,es?Vn:void 0,Q,ge.isFeatureEnabled,D==="missing_receipts"?{includeBulkUploadTabs:B,navTitle:B?B_e.receipts:void 0}:void 0,go),currentTab:Q,getTabCountAndFetchState:zn,completionStatus:$t,refreshStatus:ut,companyId:e.companyId,companyName:a.monthEndInsights?.companyName??V9.empty,isZeniUser:ue,onAllThreadsClick:()=>{ie!=null&&ce(null),he(!0)},onUpdateTab:m,onSearchTextChanged:nt,onClose:xn,belowTabsSlot:Wt,isAiCfoAccessEnabled:e.isAiCfoAccessEnabled,onAskAiCfoClick:e.onAskAiCfoClick}),listContent:t.jsxRuntimeExports.jsxs(hVs,{children:[D==="missing_receipts"?t.jsxRuntimeExports.jsx(cWs,{isAccountingClassesEnabled:L,missingReceiptsTab:je,missingTransactionCount:U.transactions.length,missingReceiptsBulkUploadChromeInPageBody:Yo===!0&&js&&bs?t.jsxRuntimeExports.jsx(B6e,{...Ge,children:t.jsxRuntimeExports.jsx(N6e,{..._o})}):null,missingReceiptsCompletedChromeInPageBody:Dn===!0&&js&&bs&&e.bulkUploadSelector!=null?t.jsxRuntimeExports.jsx(_6e,{activeSubTab:e.bulkUploadSelector.completedSubTab,onSubTabChange:ht=>{e.onSetBulkUploadCompletedSubTab?.(ht)}}):wt&&js&&bs?Nt:null,bulkUploadInteractions:O,bulkUploadSelector:e.bulkUploadSelector,selectedPeriod:Z,authParams:e.authParams,bulkUploadEndpoint:e.bulkUploadEndpoint,transactionAttachmentsEndpoint:e.transactionAttachmentsEndpoint,onBulkUploadSuccess:e.onBulkUploadSuccess,onBulkUploadFiles:e.onBulkUploadFiles,onClearBulkUploadBatchDetailsForScopeChange:e.onClearBulkUploadBatchDetailsForScopeChange,onFetchBulkUploadBatches:e.onFetchBulkUploadBatches,onFetchMoreBatchDetails:e.onFetchMoreBatchDetails,onFetchCompletedTransactions:e.onFetchCompletedTransactions,onDeleteUnmatchedReceipt:e.onDeleteUnmatchedReceipt,onLoadMoreManualSearch:e.onLoadMoreManualSearch,onSearchTransactionsForManualMatch:e.onSearchTransactionsForManualMatch,onPendingMatchChange:Le,pendingMatchAttachmentId:Re?.attachmentId??null,pendingMatchTransactionId:Re?.transactionId??null,onMissingReceiptsRowClick:e.onMissingReceiptsRowClick,onSetBulkUploadCompletedSubTab:e.onSetBulkUploadCompletedSubTab,onSetBulkUploadSortConfig:e.onSetBulkUploadSortConfig,onResetBulkUploadSort:e.onResetBulkUploadSort,setMissingReceiptsTab:Ee,tableSectionProps:{parentProps:{...e,filters:De,isAccountingClassesEnabled:L},isCOTEnabled:u,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)}}):D==="flux_analysis"?t.jsxRuntimeExports.jsxs(CVs,{children:[t.jsxRuntimeExports.jsx(ANs,{}),t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)})]}):D==="transaction_categorization"?t.jsxRuntimeExports.jsxs(gVs,{children:[t.jsxRuntimeExports.jsx(fVs,{children:t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)})}),e.isTransactionActivityEnabled===!0||e.isRightPanelOpen===!0?t.jsxRuntimeExports.jsx(yVs,{$isOpen:e.isRightPanelOpen===!0&&e.rightSidePanel!=null,children:e.isRightPanelOpen===!0&&e.rightSidePanel!=null?e.rightSidePanel:null}):null]}):t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)}),t.jsxRuntimeExports.jsx(vt,{controller:D!=="month_end_insights"&&e.sidePanelIsOpen!==!0&&K!=="expenseAutomationPage",children:t.jsxRuntimeExports.jsx(Qt,{style:{width:"-webkit-fill-available",height:p[8]},formId:LVs(K),primaryBtn:Ut,leftSideComponent:en,cancelBtn:Mt,separatorStyle:{marginRight:o.sp4}})})]})})]})})},kVs=({reconciliation:e})=>{const{clearedBalance:n,variance:i,variancePercentage:r,deposits:a,payments:l}=e.reconciliationTabsState.balances,{balance:c}=e.selectedReconAccount?.accountReconEntity??{},{selectedReconAccount:d}=e,{transactionFetchState:u}=d??{},m=u?.fetchState==="In-Progress";return t.jsxRuntimeExports.jsx(OVs,{children:t.jsxRuntimeExports.jsxs(zVs,{children:[t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.bankBalance}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(FVs,{})})]}),t.jsxRuntimeExports.jsx(gH,{children:ze("0,0.00",c)})]})}),t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsxs(WVs,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.clearedBalance}),t.jsxRuntimeExports.jsx(Be,{placement:"bottom",title:t.jsxRuntimeExports.jsxs(VVs,{children:[t.jsxRuntimeExports.jsxs(Q6e,{children:[t.jsxRuntimeExports.jsxs(U6e,{children:[l.count," ",aj.payments]}),t.jsxRuntimeExports.jsx(G6e,{children:ze("0,0.[00]",l.totalAmount)})]}),t.jsxRuntimeExports.jsxs(Q6e,{children:[t.jsxRuntimeExports.jsxs(U6e,{children:[a.count," ",aj.deposits]}),t.jsxRuntimeExports.jsx(G6e,{children:ze("0,0.[00]",a.totalAmount)})]})]}),display:"flex",children:t.jsxRuntimeExports.jsx(HVs,{})})]}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(_Vs,{})})]}),t.jsxRuntimeExports.jsx(gH,{children:ze("0,0.00",n)})]})}),t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.variance}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(NVs,{})})]}),t.jsxRuntimeExports.jsxs(gH,{children:[ze("0,0.00",i),r!=null&&t.jsxRuntimeExports.jsx("span",{style:{marginLeft:2},children:`(${r.toFixed(2)}%)`})]})]})})]})})},pH=(e,n,i,r,a)=>{const l=r,c=(e>1?l+"s":l)+" selected";return e>0?t.jsxRuntimeExports.jsxs(BVs,{currentView:a,style:i==="small"?{position:"absolute",top:o.sp2,left:`-${o.sp5}`}:{},children:[t.jsxRuntimeExports.jsx(PVs,{multiDigit:e>=5,children:e}),t.jsxRuntimeExports.jsx(MVs,{children:c}),e===n?t.jsxRuntimeExports.jsx(DVs,{children:`(${jVs})`}):null]}):null},IVs=e=>{const n=vVs[e];return`${wVs}${V9.space}${n}${V9.space}${B_e.insights}`};function TVs(e,n){if(e.length===0)return{nextStep:void 0,previousStep:void 0};const i=e.findIndex(d=>d.step===n);if(i===-1)return{nextStep:void 0,previousStep:void 0};const r=(i+1)%e.length,a=(i-1+e.length)%e.length,l=e[r],c=e[a];return{nextStep:l,previousStep:c}}const LVs=e=>`${e}_form`,BVs=s.div`
75413
+ `,{common:{footer:Yi,texts:{maxLimitReached:jVs,confirmAction:bVs},headers:B_e,create:wVs,strings:V9,texts:aj,cancel:EVs,confirm:RVs,monthsByIndex:vVs},dateFormat:{visual:{MMMDCommaYYYYformat:V6e}},expenseAutomation:jA,uncategorizedTransactionList:{missingReceipt:{bulkUpload:$Vs}}}=F.getLocalizedStrings();function SVs(...e){for(const n of e)if(n!=null&&n>0&&!Number.isNaN(n))return n;return 0}const AVs=e=>{const{accountsForFilters:n,categoryOptions:i,classesForFilters:r,expenseAutomationViewSelector:a,isDisabled:l,isRealtimeInsightsFeatureEnabled:c,isUncategorizedExpenseCategoryEnabled:d,isCOTEnabled:u,onUpdateTab:m,onReconTabUpdate:x,onUpdateStep:h,onSearchTextChanged:g,onFiltersChange:y,onRefresh:j,onClose:b,onBack:E,onBulkUploadConfirmMatchAcknowledged:R,onClearMissingReceiptsTabNavigation:v,closeSidePanel:S,initialMissingReceiptsTab:k,resetTransactionCategorizationLocalData:I,updateOperatingExpensesIdsForReview:A,clearJeScheduleLocalData:T,onSaveReconciliation:P}=e,{isAccountingClassesEnabled:L}=e,B=e.bulkUploadEndpoint!=null||e.onBulkUploadFiles!=null,O=uVs({authParams:e.authParams,bulkUploadEndpoint:e.bulkUploadEndpoint,onBulkUploadProgress:e.onBulkUploadProgress,onBulkUploadSuccess:e.onBulkUploadSuccess,onBulkUploadUploadedFileCount:e.onBulkUploadUploadedFileCount,onBulkUploadFilesFallback:e.onBulkUploadFiles,onUploadError:e.onBulkUploadError}),{currentSelectedView:D,allSteps:_,missingReceipts:U,jeSchedules:z,fluxAnalysis:W,monthEndInsights:H,transactionView:V,selectedTransactionCategorizationTab:Q,reconciliation:q,selectedPeriod:Z}=a,{pendingMissingReceiptsTabNavigation:Y}=U,[K,ee]=f.useState("expenseAutomationPage"),te=z.uiState.selectedMainTab??"pending_review",{onUpdateJESchedulesUIState:X}=e,se=f.useCallback(ht=>{X({selectedMainTab:ht})},[X]),[ne,oe]=f.useState(()=>{}),[de,ae]=f.useState(!1),le=J(),ue=!!e.loggedInUser?.userEmail?.includes("zeni.ai"),fe=ue?Vs:np,{openThread:ie,setOpenThread:ce}=f.useContext(fe),{useFeatureGate:pe}=Hr(),ge=pe(Ma.isExpenseAutomationSearchAndFilterEnabled),[re,xe]=f.useState(!1),[Ce,he]=f.useState(!1),[je,we]=f.useState(k??"missing"),Ae=f.useRef(null);f.useEffect(()=>{const ht=Ae.current;ht!==null&&ht!==je&&S?.(),Ae.current=je},[je,S]);const Ee=f.useCallback(ht=>{we(ht)},[]),[Re,$e]=f.useState(null),Le=f.useCallback(ht=>{$e(ht),ee(ht!=null?"expenseAutomationMissingReceipts":"expenseAutomationPage")},[ee]),Ie=e.bulkUploadSelector?.confirmMatchStatus.fetchState,Fe=f.useRef(void 0);f.useEffect(()=>{Fe.current==="In-Progress"&&Ie==="Completed"&&Re!=null&&(Le(null),R?.()),Fe.current=Ie},[Ie,Re,Le,R]),f.useEffect(()=>{je!=="unmatched"&&Le(null)},[je,Le]),f.useEffect(()=>{Y==="unmatched"&&(B&&Ee("unmatched"),v?.())},[Y,v,B,Ee]),f.useEffect(()=>{B===!1&&(je==="unmatched"||je==="completed")&&Ee("missing")},[B,je,Ee]);const{bulkUploadSelector:ke,onSetBulkUploadCompletedSubTab:ve}=e,Se=f.useRef(null);f.useEffect(()=>{if(ke==null||ke.phase!=="completed")return;const ht=ke.currentBatchId;if(ht==null||ke.currentBatchDetailsFetched!==!0||Se.current===ht)return;Se.current=ht,ke.unmatchedFiles.length+ke.pastUnmatchedFiles.length>0?Ee("unmatched"):(Ee("completed"),ve?.("ai_accountant"))},[ke,ve,Ee]);const[De,Ne]=f.useState({categories:[],categoryCombinationOperator:"AND"});f.useEffect(()=>{if(ge.isFeatureEnabled===!1&&De.categories.length>0){const ht={categories:[],categoryCombinationOperator:"AND"};Ne(ht),y(ht)}},[ge.isFeatureEnabled,De.categories.length,y]);const Me=_.find(ht=>ht.step===D),{nextStep:_e,previousStep:We}=TVs(_,D),{uiState:{searchString:Ve,pageToken:qe},totalCountByTab:Xe,parentTabTotalCountByTab:tt,transactions:Ct,fetchStateByTransactionTabs:pt,transactionLocalData:jt}=V,[Te,Ze]=f.useState(Ve??"");f.useEffect(()=>{Ze(Ve??"")},[Ve]);const Je=f.useMemo(()=>t.debounce(ht=>{g(ht)},500,{leading:!1,trailing:!0}),[g]);f.useEffect(()=>()=>{Je.cancel()},[Je]);const nt=f.useCallback(ht=>{Ze(ht),Je(ht)},[Je]),{selectedReconAccount:lt,reconciliationTabsState:{reconcile:{localData:{selectedTransactionIds:xt}}}}=q;let ut="Not-Started",$t="complete";switch(D){case"missing_receipts":ut=U.refreshStatus.fetchState,$t=U.completionStatus,je==="unmatched"&&e.bulkUploadSelector!=null&&(e.bulkUploadSelector.batchListFetchState.fetchState==="In-Progress"||e.bulkUploadSelector.batchDetailsPaginationState.fetchState==="In-Progress"||e.bulkUploadSelector.batchDetailsRevalidating===!0)&&ut!=="In-Progress"&&(ut="In-Progress");break;case"je_schedules":ut=z.refreshStatus.fetchState,$t=z.completionStatus;break;case"month_end_insights":H!=null&&(ut=H?.fetchState);break;case"flux_analysis":ut=W.refreshStatus.fetchState,$t=W.completionStatus;break;case"transaction_categorization":ut=V.refreshStatus.fetchState,$t=V.completionStatus;break;case"reconciliation":lt==null?(ut=q.refreshStatus.fetchState,$t=q.completionStatus):(ut=q.selectedReconAccount?.refreshStatus.fetchState??"Not-Started",$t=q.completionStatus)}const Zt=a.monthEndCloseChecksView.fetchState,Ht=Zt==="Not-Started"||Zt==="In-Progress",mt=a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(ht=>ht.id===D),At=Ht?void 0:Math.floor(mt?.progress??0),Et=()=>{ne()},Ue=ht=>{Ne(ht),y(ht)},It=f.useMemo(()=>{const ht=G.TRANSACTION_FILTER_CATEGORIES,Vo=n??[],Oo=r??[];return ht.reduce((Fn,Lt)=>{const uo=Lt.value;switch(uo){case"amount":return{...Fn,[uo]:[]};case"payment_account_name":{const gt=Vo.map(Jt=>({label:Jt.accountName??"",value:Jt.accountName??""}));return{...Fn,[uo]:gt}}case"payment_account_type":{const gt=new Set,Jt=[];for(const Ot of Ct)Ot.paymentType==null||Ot.paymentType===""||gt.has(Ot.paymentType)||(gt.add(Ot.paymentType),Jt.push({label:Ot.paymentTypeName??Ot.paymentType,value:Ot.paymentType}));return{...Fn,[uo]:Jt}}case"class":{const gt=Oo.map(Jt=>({label:Jt.className??"",value:Jt.classId??""}));return{...Fn,[uo]:gt}}case"category":{const gt=i?.map(Jt=>({label:Jt.accountName??"",value:Jt.accountId??""}))??[];return{...Fn,[uo]:gt}}default:return{...Fn,[uo]:[]}}},{})},[n,r,i,Ct]),{saveStatus:St,selectedCheckBoxTransactionIds:yo}=V,On=()=>{const ht=MNe(a.fluxAnalysis.sections,a.fluxAnalysis.reviewOperatingExpensesIds);switch(K){case"expenseAutomationFluxPage":return{formId:"expenseAutomationFluxPage",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:ht===!0?Yi.markAsReviewed:aj.undo,style:{justifyContent:"space-evenly"},isLoading:a.fluxAnalysis.bulkReviewStatus.fetchState==="In-Progress",isDisabled:!1},leftSideComponent:pH(a.fluxAnalysis.reviewOperatingExpensesIds.length,h8,le,aj.vendor,D),cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>{A([])}}};case"expenseAutomationTransactionsPage":return{formId:"expenseAutomationTransactionsPage",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.save,style:{minWidth:"96px",justifyContent:"space-evenly"},isLoading:St.fetchState==="In-Progress",isDisabled:V.hasInFlightCategoryClassRecommendations===!0},leftSideComponent:pH(yo.length,G.MAX_SELECTION_LIMIT,le,aj.transaction,D),cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>{I(Q,Ct.map(Vo=>Vo.id),Z,!1,Xe[Q],G.getLineItemsByTransactionIdsFromLocalData(jt,Q),d,qe)}}};case"expenseAutomationJESchedulePage":return{formId:"expenseAutomationJESchedulePage",nextBtnLabel:Yi.next,backBtnLabel:Yi.back,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.next,style:{justifyContent:"space-evenly"},isDisabled:l||Me?.isNextDisabled===!0||_e==null,suffixIcon:t.jsxRuntimeExports.jsx(H6e,{}),onClick:()=>{_e!=null&&h(_e.step)}},cancelBtn:{label:Yi.back,isDisabled:l||Me?.isPrevDisabled===!0||We==null,style:{width:"96px",justifyContent:"space-evenly"},prefixIcon:t.jsxRuntimeExports.jsx(W6e,{}),onClick:()=>{We!=null&&h(We.step)}}};case"expenseAutomationBankReconReconcilePage":return{formId:"expenseAutomationBankReconReconcilePage",nextBtnLabel:Yi.reconcile,backBtnLabel:Yi.saveForLater,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.reconcile,onClick:()=>{P({reconcileAction:"reconcile"})},isDisabled:q.reconciliationTabsState.balances.variance.amount!==0,isLoading:q.actionFetchStates.reconcileFetch.fetchState==="In-Progress",style:{justifyContent:"space-evenly",minWidth:132}},leftSideComponent:pH(xt.length,1/0,le,aj.transaction,D),cancelBtn:{onClick:()=>{P({reconcileAction:"save_reconcile_for_later"})},reverseSpinnerColor:!1,isLoading:q.actionFetchStates.saveForLaterFetch.fetchState==="In-Progress",label:Yi.saveForLater,style:{minWidth:132,justifyContent:"space-evenly"}}};case"expenseAutomationJEAccountSettingsPage":return{formId:"expenseAutomationJEAccountSettingsPage",nextBtnLabel:Yi.save,backBtnLabel:Yi.cancel,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Yi.save,isLoading:z.accountSettingsView.saveState.fetchState==="In-Progress",style:{justifyContent:"space-evenly",minWidth:82}},cancelBtn:{onClick:()=>Et(),label:Yi.cancel,style:{minWidth:82,justifyContent:"space-evenly"}}};case"expenseAutomationMissingReceipts":return{formId:"expenseAutomationMissingReceipts",isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:$Vs.confirmMatch,isLoading:e.bulkUploadSelector?.confirmMatchStatus.fetchState==="In-Progress",isDisabled:Re==null||e.bulkUploadSelector?.confirmMatchStatus.fetchState==="In-Progress",style:{minWidth:"96px",justifyContent:"space-evenly"},onClick:()=>{Re!=null&&e.bulkUploadSelector?.confirmMatchStatus.fetchState!=="In-Progress"&&e.onConfirmBulkUploadMatch?.(Re.batchId,Re.attachmentId,Re.transactionId,Re.transactionType,Re.fileName)}},cancelBtn:{label:Yi.cancel,style:{width:"96px",justifyContent:"space-evenly"},onClick:()=>Le(null)}};default:{const Vo=D==="reconciliation"&&a.reconciliation.selectedTab==="review"&&a.reconciliation.selectedAccountId!=null,Oo=D==="reconciliation"&&a.reconciliation.selectedAccountId==null,Fn=D==="reconciliation"&&a.reconciliation.selectedTab==="reconcile"&&a.reconciliation.selectedAccountId!=null,Lt=_e?.step==="month_end_insights"&&(D==="flux_analysis"&&(a.fluxAnalysis.sections.generalExpense?.balancesByMonth!=null||a.fluxAnalysis.sections.reimbursement?.balancesByMonth!=null)||Oo),uo=D==="transaction_categorization"&&a.selectedTransactionCategorizationTab==="review",gt=D==="transaction_categorization"&&a.selectedTransactionCategorizationTab==="autoCategorized",Jt=a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(As=>As.id==="month_end_insights"),Ot=a.monthEndCloseChecksView.monthEndCloseChecks?.reportEmailSentDate==null&&Jt?.isDisabled===!1&&(c||Me?.isNextDisabled===!1),po=_e?.step==="month_end_insights"&&(Oo||D==="flux_analysis")?!Ot:Me?.isNextDisabled===!0;return{formId:"expenseAutomationPage",nextBtnLabel:Yi.next,backBtnLabel:Yi.back,isNextDisabled:!1,isPrevDisabled:!1,primaryBtn:{label:Lt===!0?IVs(a.selectedPeriod.month):Yi.next,style:{justifyContent:"space-evenly"},isDisabled:po||_e==null,suffixIcon:t.jsxRuntimeExports.jsx(H6e,{}),onClick:()=>{uo?m("autoCategorized"):Vo?x("reconcile"):_e!=null&&h(_e.step)}},cancelBtn:{label:Yi.back,isDisabled:l||Me?.isPrevDisabled===!0||We==null,style:{width:"96px",justifyContent:"space-evenly"},prefixIcon:t.jsxRuntimeExports.jsx(W6e,{}),onClick:()=>{gt?m("review"):Fn?x("review"):Vo?E():We!=null&&h(We.step)}}}}}},Fo=()=>{switch(K){case"expenseAutomationFluxPage":return{confirmAction:()=>{xe(!1),A([]),b()}};case"expenseAutomationTransactionsPage":return{confirmAction:()=>{xe(!1),I(Q,Ct.map(ht=>ht.id),Z,!1,Xe[Q],G.getLineItemsByTransactionIdsFromLocalData(jt,Q),d,qe),b()}};case"expenseAutomationJESchedulePage":return{confirmAction:()=>{xe(!1),T(),b()}};default:return{confirmAction:()=>{xe(!1)},confirmationDescription:V9.empty}}},xn=()=>{K==="expenseAutomationFluxPage"||K==="expenseAutomationJESchedulePage"||K==="expenseAutomationTransactionsPage"?xe(!0):b()},{primaryBtn:Ut,cancelBtn:Mt,leftSideComponent:en}=On(),{confirmAction:as}=Fo(),zn=ht=>{if(D==="transaction_categorization"&&(ht==="autoCategorized"||ht==="review")){const Vo=ht;return{count:tt[Vo],isFetching:pt[Vo].fetchState==="In-Progress"}}if(D==="reconciliation"){const{reconciliation:Vo}=a,{selectedAccountId:Oo}=Vo;return Oo==null?{count:0,isFetching:!1}:ht==="review"?{count:Vo.accountReconciliationsByAccountID[Oo]?.accountReconEntity?.transactionsToReview.length,isFetching:Vo.accountReconciliationsByAccountID[Oo]?.transactionFetchState.fetchState==="In-Progress"}:{count:Vo.accountReconciliationsByAccountID[Oo]?.accountReconEntity?.transactionsToReconcile.length,isFetching:Vo.accountReconciliationsByAccountID[Oo]?.transactionFetchState.fetchState==="In-Progress"}}if(D==="missing_receipts"){if(ht==="missing")return{count:U.transactions.length,isFetching:U.fetchState==="In-Progress"};if(ht==="unmatched")return{count:(e.bulkUploadSelector?.unmatchedFiles.length??0)+(e.bulkUploadSelector?.pastUnmatchedFiles.length??0),isFetching:je==="unmatched"&&m_e({bulkUploadSelector:e.bulkUploadSelector})};if(ht==="completed")return{count:e.bulkUploadSelector?.completedTransactions?.totalCount??0,isFetching:e.bulkUploadSelector?.completedTransactions?.fetchState?.fetchState==="In-Progress",hideCountInTab:!0}}if(D==="je_schedules"){if(ht==="pending_review")return{count:z.draftSchedules.length+z.resolveSchedules.length,isFetching:z.fetchState==="In-Progress"};if(ht==="ongoing")return z.ongoingSchedules.length>0?{count:z.ongoingSchedules.length,isFetching:!1}:void 0;if(ht==="completed")return z.completedSchedules.length>0?{count:z.completedSchedules.length,isFetching:!1}:void 0}},es=D==="reconciliation"&&q.selectedAccountId!=null&&q.selectedReconAccount!=null,{month:$n,year:hs}=Z,ls=G.dateNow().set("month",$n-1).set("year",hs),Wn=ls.startOf("month").format(V6e),cs=ls.endOf("month").format(V6e),Vn=`${Wn} ${V9.hyphen} ${cs}`,js=e.sidePanelIsOpen??!1,bs=e.sidePanelIsFullView??!1,Yo=D==="missing_receipts"&&je==="missing"&&B,hn=e.bulkUploadSelector?.phase,kn=e.bulkUploadSelector,ts=SVs(kn?.progress.total,kn?.uploadedFileCount,O.uploadFileCount),_o={bulkUploadPhase:hn,isDraggingFiles:O.isDraggingFiles,isUploading:O.isUploading===!0,matchingProgressBannerTotal:ts,onDismissUploadError:O.clearUploadError,onFilesSelected:O.handleBulkUploadFiles,showEmailOrDropZone:O.isUploading!==!0&&hn!=="matching"&&U.fetchState!=="In-Progress"&&U.fetchState!=="Not-Started",uploadError:O.uploadError,uploadFileCount:O.uploadFileCount},Dn=D==="missing_receipts"&&je==="completed"&&B&&e.bulkUploadSelector!=null,wt=D==="transaction_categorization"&&Q==="autoCategorized",Ge={onDragLeave:O.handleDragLeave,onDragOver:O.handleDragOver,onDrop:O.handleDrop},He=D==="reconciliation"&&q.selectedAccountId==null,Nt=wt?t.jsxRuntimeExports.jsx(lTs,{activeSubTab:V.selectedTransactionCategorizationCompletedSubTab,allTabs:pVs,onSubTabChange:e.onUpdateTransactionCategorizationCompletedSubTab}):null,Wt=Yo===!0&&!(js&&bs)?t.jsxRuntimeExports.jsx(B6e,{...Ge,children:t.jsxRuntimeExports.jsx(N6e,{..._o})}):Dn===!0&&!(js&&bs)&&e.bulkUploadSelector!=null?t.jsxRuntimeExports.jsx(_6e,{activeSubTab:e.bulkUploadSelector.completedSubTab,onSubTabChange:ht=>{e.onSetBulkUploadCompletedSubTab?.(ht)}}):wt&&!(js&&bs)?Nt:He?t.jsxRuntimeExports.jsx(SNs,{}):null,go=e.isExpenseAutomationCommentingEnabled===!0&&(D==="transaction_categorization"||D==="reconciliation"||D==="missing_receipts"||D==="flux_analysis"||D==="je_schedules");return t.jsxRuntimeExports.jsx(T5o,{companyId:e.companyId,currentSelectedView:D,isCommentingEnabled:go,onThreadClickRoute:e.onExpenseAutomationCommentingThreadClick,children:t.jsxRuntimeExports.jsxs(xVs,{children:[re?t.jsxRuntimeExports.jsx(fo,{titleComponent:t.jsxRuntimeExports.jsx(Io,{children:bVs}),primaryButtonText:RVs,secondaryButtonText:EVs,proceedButtonVariant:"destructive",action:{onOkClick:()=>{as()},onCancelClick:()=>xe(!1)},descriptionComponent:t.jsxRuntimeExports.jsx(Mo,{children:jA.confirmationDescription})}):null,t.jsxRuntimeExports.jsx(af,{isOpen:e.sidePanelIsOpen??!1,isFullView:e.sidePanelIsFullView??!1,listContentPercent:e.sidePanelListPercent,disableMarginTop:cVs(D,B),panelContent:e.panelContent,headerContent:t.jsxRuntimeExports.jsx(gLs,{filters:De,selectedEntity:"transaction_categorization",vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,hideTabSwitcher:de===!0,isCompletionLoading:Ht,completionProgressRaw:mt!=null&&Number.isFinite(mt.progress)?mt.progress:void 0,completionPercentage:At,onBack:E,navBarCustomElement:D==="reconciliation"&&q.selectedAccountId!=null?t.jsxRuntimeExports.jsx(kVs,{reconciliation:q}):void 0,onReconTabUpdate:x,currentRecontab:q.selectedTab,currentMissingReceiptsTab:je,onMissingReceiptsTabUpdate:Ee,currentJeTab:te,onJeTabUpdate:se,selectedGenericTab:D==="je_schedules"?te:void 0,searchText:Te,onRefresh:D==="missing_receipts"?()=>{switch(je){case"missing":e.onFetchMissingReceiptsList();break;case"unmatched":e.onFetchBulkUploadBatches?.({cacheOverride:!0,invalidateBatchDetailsCache:!0});break;case"completed":e.onFetchCompletedTransactions?.(void 0,!0);break}}:j,onFiltersChange:Ue,filterOptions:It,onGenericTabChange:D==="je_schedules"?ht=>se(ht.id):void 0,reconcileDetailPageFetchState:q.selectedAccountId!=null?q.accountReconciliationsByAccountID[q.selectedAccountId]?.transactionFetchState.fetchState:"Not-Started",selectedReconAccountId:es?q.selectedAccountId:void 0,currentSelectedView:D,titleStyle:{justifyContent:"center",marginLeft:o.sp0},headerData:oa(D,tt.autoCategorized,es?q.selectedAccountId:void 0,es?q.selectedReconAccount?.accountReconEntity?.account.accountName:void 0,es?Vn:void 0,ge.isFeatureEnabled,D==="missing_receipts"?{includeBulkUploadTabs:B,navTitle:B?B_e.receipts:void 0}:void 0,go),currentTab:Q,getTabCountAndFetchState:zn,completionStatus:$t,refreshStatus:ut,companyId:e.companyId,companyName:a.monthEndInsights?.companyName??V9.empty,isZeniUser:ue,onAllThreadsClick:()=>{ie!=null&&ce(null),he(!0)},onUpdateTab:m,onSearchTextChanged:nt,onClose:xn,belowTabsSlot:Wt,isAiCfoAccessEnabled:e.isAiCfoAccessEnabled,onAskAiCfoClick:e.onAskAiCfoClick}),listContent:t.jsxRuntimeExports.jsxs(hVs,{children:[D==="missing_receipts"?t.jsxRuntimeExports.jsx(cWs,{isAccountingClassesEnabled:L,missingReceiptsTab:je,missingTransactionCount:U.transactions.length,missingReceiptsBulkUploadChromeInPageBody:Yo===!0&&js&&bs?t.jsxRuntimeExports.jsx(B6e,{...Ge,children:t.jsxRuntimeExports.jsx(N6e,{..._o})}):null,missingReceiptsCompletedChromeInPageBody:Dn===!0&&js&&bs&&e.bulkUploadSelector!=null?t.jsxRuntimeExports.jsx(_6e,{activeSubTab:e.bulkUploadSelector.completedSubTab,onSubTabChange:ht=>{e.onSetBulkUploadCompletedSubTab?.(ht)}}):wt&&js&&bs?Nt:null,bulkUploadInteractions:O,bulkUploadSelector:e.bulkUploadSelector,selectedPeriod:Z,authParams:e.authParams,bulkUploadEndpoint:e.bulkUploadEndpoint,transactionAttachmentsEndpoint:e.transactionAttachmentsEndpoint,onBulkUploadSuccess:e.onBulkUploadSuccess,onBulkUploadFiles:e.onBulkUploadFiles,onClearBulkUploadBatchDetailsForScopeChange:e.onClearBulkUploadBatchDetailsForScopeChange,onFetchBulkUploadBatches:e.onFetchBulkUploadBatches,onFetchMoreBatchDetails:e.onFetchMoreBatchDetails,onFetchCompletedTransactions:e.onFetchCompletedTransactions,onDeleteUnmatchedReceipt:e.onDeleteUnmatchedReceipt,onLoadMoreManualSearch:e.onLoadMoreManualSearch,onSearchTransactionsForManualMatch:e.onSearchTransactionsForManualMatch,onPendingMatchChange:Le,pendingMatchAttachmentId:Re?.attachmentId??null,pendingMatchTransactionId:Re?.transactionId??null,onMissingReceiptsRowClick:e.onMissingReceiptsRowClick,onSetBulkUploadCompletedSubTab:e.onSetBulkUploadCompletedSubTab,onSetBulkUploadSortConfig:e.onSetBulkUploadSortConfig,onResetBulkUploadSort:e.onResetBulkUploadSort,setMissingReceiptsTab:Ee,tableSectionProps:{parentProps:{...e,filters:De,isAccountingClassesEnabled:L},isCOTEnabled:u,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)}}):D==="flux_analysis"?t.jsxRuntimeExports.jsxs(CVs,{children:[t.jsxRuntimeExports.jsx(ANs,{}),t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)})]}):D==="transaction_categorization"?t.jsxRuntimeExports.jsxs(gVs,{children:[t.jsxRuntimeExports.jsx(fVs,{children:t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)})}),e.isTransactionActivityEnabled===!0||e.isRightPanelOpen===!0?t.jsxRuntimeExports.jsx(yVs,{$isOpen:e.isRightPanelOpen===!0&&e.rightSidePanel!=null,children:e.isRightPanelOpen===!0&&e.rightSidePanel!=null?e.rightSidePanel:null}):null]}):t.jsxRuntimeExports.jsx(CA,{filters:De,...e,isAccountingClassesEnabled:L,isCOTEnabled:u,selectedMainTab:te,setIsJeAccountSettingsOpened:ae,setResetJeAccountSettingsForm:oe,allThreadsSectionOpen:Ce,setCurrentFooterFormId:ee,currentFooterFormId:K,onCloseAllThreadsSection:()=>he(!1)}),t.jsxRuntimeExports.jsx(vt,{controller:D!=="month_end_insights"&&e.sidePanelIsOpen!==!0&&K!=="expenseAutomationPage",children:t.jsxRuntimeExports.jsx(Qt,{style:{width:"-webkit-fill-available",height:p[8]},formId:LVs(K),primaryBtn:Ut,leftSideComponent:en,cancelBtn:Mt,separatorStyle:{marginRight:o.sp4}})})]})})]})})},kVs=({reconciliation:e})=>{const{clearedBalance:n,variance:i,variancePercentage:r,deposits:a,payments:l}=e.reconciliationTabsState.balances,{balance:c}=e.selectedReconAccount?.accountReconEntity??{},{selectedReconAccount:d}=e,{transactionFetchState:u}=d??{},m=u?.fetchState==="In-Progress";return t.jsxRuntimeExports.jsx(OVs,{children:t.jsxRuntimeExports.jsxs(zVs,{children:[t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.bankBalance}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(FVs,{})})]}),t.jsxRuntimeExports.jsx(gH,{children:ze("0,0.00",c)})]})}),t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsxs(WVs,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.clearedBalance}),t.jsxRuntimeExports.jsx(Be,{placement:"bottom",title:t.jsxRuntimeExports.jsxs(VVs,{children:[t.jsxRuntimeExports.jsxs(Q6e,{children:[t.jsxRuntimeExports.jsxs(U6e,{children:[l.count," ",aj.payments]}),t.jsxRuntimeExports.jsx(G6e,{children:ze("0,0.[00]",l.totalAmount)})]}),t.jsxRuntimeExports.jsxs(Q6e,{children:[t.jsxRuntimeExports.jsxs(U6e,{children:[a.count," ",aj.deposits]}),t.jsxRuntimeExports.jsx(G6e,{children:ze("0,0.[00]",a.totalAmount)})]})]}),display:"flex",children:t.jsxRuntimeExports.jsx(HVs,{})})]}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(_Vs,{})})]}),t.jsxRuntimeExports.jsx(gH,{children:ze("0,0.00",n)})]})}),t.jsxRuntimeExports.jsx(mH,{children:m?t.jsxRuntimeExports.jsxs(yH,{children:[t.jsxRuntimeExports.jsx(ye,{height:22,width:120,style:{borderRadius:o.sp2}}),t.jsxRuntimeExports.jsx(ye,{height:27,width:120,style:{borderRadius:o.sp2}})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsxs(xH,{children:[t.jsxRuntimeExports.jsx(hH,{children:jA.accountRecon.reconciliation.headers.variance}),t.jsxRuntimeExports.jsx(fH,{children:t.jsxRuntimeExports.jsx(NVs,{})})]}),t.jsxRuntimeExports.jsxs(gH,{children:[ze("0,0.00",i),r!=null&&t.jsxRuntimeExports.jsx("span",{style:{marginLeft:2},children:`(${r.toFixed(2)}%)`})]})]})})]})})},pH=(e,n,i,r,a)=>{const l=r,c=(e>1?l+"s":l)+" selected";return e>0?t.jsxRuntimeExports.jsxs(BVs,{currentView:a,style:i==="small"?{position:"absolute",top:o.sp2,left:`-${o.sp5}`}:{},children:[t.jsxRuntimeExports.jsx(PVs,{multiDigit:e>=5,children:e}),t.jsxRuntimeExports.jsx(MVs,{children:c}),e===n?t.jsxRuntimeExports.jsx(DVs,{children:`(${jVs})`}):null]}):null},IVs=e=>{const n=vVs[e];return`${wVs}${V9.space}${n}${V9.space}${B_e.insights}`};function TVs(e,n){if(e.length===0)return{nextStep:void 0,previousStep:void 0};const i=e.findIndex(d=>d.step===n);if(i===-1)return{nextStep:void 0,previousStep:void 0};const r=(i+1)%e.length,a=(i-1+e.length)%e.length,l=e[r],c=e[a];return{nextStep:l,previousStep:c}}const LVs=e=>`${e}_form`,BVs=s.div`
75427
75414
  display: flex;
75428
75415
  justify-content: flex-start;
75429
75416
  align-items: center;
@@ -69925,7 +69925,7 @@ const Yoo = i.div`
69925
69925
  color: ${(e) => e.disabled === !0 ? e.theme.colors.grey2 : e.theme.colors.primary};
69926
69926
  }
69927
69927
  `, Joo = i.div`
69928
- margin-right: ${(e) => e.searchIconMarginRight != null ? e.searchIconMarginRight : o.sp0};
69928
+ margin-right: ${(e) => e.isSearchOpen && e.searchIconMarginRight != null ? e.searchIconMarginRight : o.sp0};
69929
69929
  cursor: ${(e) => e.disabled === !0 ? "default" : e.isSearchOpen ? "unset" : "pointer"};
69930
69930
  box-sizing: unset;
69931
69931
  height: ${(e) => e.windowSize === "small" ? o.sp6 : "unset"};
@@ -69949,7 +69949,7 @@ const Yoo = i.div`
69949
69949
  box-sizing: unset;
69950
69950
  display: flex;
69951
69951
  `, ono = i.div`
69952
- margin-right: ${(e) => e.isSearchOpen && e.searchIconMarginRight != null ? e.searchIconMarginRight : o.sp0};
69952
+ margin-right: ${o.sp0};
69953
69953
  display: flex;
69954
69954
  align-items: center;
69955
69955
  justify-content: ${(e) => e.windowSize === "small" ? "space-between" : "flex-end"};
@@ -69957,20 +69957,7 @@ const Yoo = i.div`
69957
69957
  border-radius: 6px;
69958
69958
  box-sizing: border-box;
69959
69959
  height: ${(e) => e.windowSize === "small" ? o.sp6 : o.sp5};
69960
- /*
69961
- * Closed width is Space.sp5 (32px), not Space.sp4 (24px == icon size),
69962
- * for two reasons:
69963
- * 1. With box-sizing border-box, a 24px outer width minus the 1px
69964
- * transparent border on each side leaves only a 22px content area
69965
- * — the 24px icon gets clipped by overflow:hidden.
69966
- * 2. The icon then has to fight StyledInputWrapper (flex:1) for
69967
- * space; default flex-shrink:1 lets the icon get squeezed even
69968
- * when nominally the same width as the box.
69969
- * 32px gives the icon a comfortable hit area in both states (the row
69970
- * is also Space.sp5 tall, so the icon ends up centered in a square).
69971
- * The icon's own 24x24 hover surface still renders normally inside.
69972
- */
69973
- width: ${(e) => e.windowSize === "small" ? "auto" : e.isSearchOpen ? "400px" : o.sp5};
69960
+ width: ${(e) => e.windowSize === "small" ? "auto" : e.isSearchOpen ? "400px" : o.sp4};
69974
69961
  /*
69975
69962
  * Use the specific background-color property rather than the
69976
69963
  * background shorthand: the shorthand resets background-image /
@@ -69981,14 +69968,14 @@ const Yoo = i.div`
69981
69968
  * same property keeps the box fade smooth.
69982
69969
  */
69983
69970
  background-color: ${(e) => e.isSearchOpen ? e.theme.colors.background : "transparent"};
69984
- border: 1px solid
69971
+ box-shadow: inset 0 0 0 1px
69985
69972
  ${(e) => e.isSearchOpen ? e.theme.colors.grey2 : "transparent"};
69986
69973
  padding-left: ${(e) => e.isSearchOpen ? o.sp2 : o.sp0};
69987
69974
  padding-right: ${(e) => e.isSearchOpen ? o.sp2 : o.sp0};
69988
69975
  transition:
69989
69976
  width 240ms cubic-bezier(0.4, 0, 0.2, 1),
69990
69977
  background-color 200ms ease-out,
69991
- border-color 200ms ease-out,
69978
+ box-shadow 200ms ease-out,
69992
69979
  padding-left 240ms cubic-bezier(0.4, 0, 0.2, 1),
69993
69980
  padding-right 240ms cubic-bezier(0.4, 0, 0.2, 1);
69994
69981
  `;
@@ -215532,7 +215519,7 @@ const QQn = io`
215532
215519
  /* @__PURE__ */ t.jsx(LUn, { children: Ol.introTitle }),
215533
215520
  /* @__PURE__ */ t.jsx(BUn, { children: Ol.introBody })
215534
215521
  ] }),
215535
- /* @__PURE__ */ t.jsx(EUn, { children: l.map((c) => /* @__PURE__ */ t.jsx(jUn, { ...c }, c.name)) })
215522
+ /* @__PURE__ */ t.jsx(EUn, { $isPhone: a, children: l.map((c) => /* @__PURE__ */ t.jsx(jUn, { ...c }, c.name)) })
215536
215523
  ] }),
215537
215524
  /* @__PURE__ */ t.jsxs(NUn, { children: [
215538
215525
  /* @__PURE__ */ t.jsxs(_Un, { $isPhone: a, children: [
@@ -215626,8 +215613,8 @@ const QQn = io`
215626
215613
  `, BUn = i(Al)`
215627
215614
  color: ${(e) => e.theme.colors.champion};
215628
215615
  `, EUn = i.div`
215629
- display: flex;
215630
- flex-direction: column;
215616
+ display: grid;
215617
+ grid-template-columns: ${(e) => e.$isPhone ? "1fr" : "repeat(2, 1fr)"};
215631
215618
  gap: ${o.sp3};
215632
215619
  width: 100%;
215633
215620
  `, PUn = i.div`
@@ -274957,7 +274944,7 @@ const IMi = (e) => [
274957
274944
  paddingTop: o.sp0,
274958
274945
  paddingBottom: o.sp0
274959
274946
  },
274960
- searchIconMarginRight: o.sp0,
274947
+ searchIconMarginRight: o.sp1,
274961
274948
  onSearchTextChanged: (D) => {
274962
274949
  p(D);
274963
274950
  },
@@ -275289,8 +275276,8 @@ const {
275289
275276
  }
275290
275277
  }
275291
275278
  }
275292
- } = z.getLocalizedStrings(), Ba = (e, n, r, s, a, l, c, d, u) => {
275293
- const p = (m, g) => u !== !0 ? m : g === "transaction_categorization" || g === "reconciliation" || g === "missing_receipts" || g === "flux_analysis" || g === "je_schedules" ? ["commentDrawer", ...m] : m;
275279
+ } = z.getLocalizedStrings(), Ba = (e, n, r, s, a, l, c, d) => {
275280
+ const u = (p, m) => d !== !0 ? p : m === "transaction_categorization" || m === "reconciliation" || m === "missing_receipts" || m === "flux_analysis" || m === "je_schedules" ? [...p, "commentDrawer"] : p;
275294
275281
  switch (e) {
275295
275282
  case "transaction_categorization":
275296
275283
  return {
@@ -275333,8 +275320,8 @@ const {
275333
275320
  ]
275334
275321
  }
275335
275322
  ],
275336
- rightSection: p(
275337
- c !== !1 && l === "review" ? ["search", "filter", "refresh"] : ["refresh"],
275323
+ rightSection: u(
275324
+ l !== !1 ? ["search", "filter", "refresh"] : ["refresh"],
275338
275325
  "transaction_categorization"
275339
275326
  ),
275340
275327
  leftSection: [],
@@ -275363,18 +275350,18 @@ const {
275363
275350
  subTitle: []
275364
275351
  }
275365
275352
  ],
275366
- rightSection: p(["refresh"], "je_schedules"),
275353
+ rightSection: u(["refresh"], "je_schedules"),
275367
275354
  leftSection: [],
275368
275355
  searchPlaceholder: VDi,
275369
275356
  allDoneText: QDi
275370
275357
  };
275371
275358
  case "missing_receipts": {
275372
- const m = d?.includeBulkUploadTabs !== !1;
275359
+ const p = c?.includeBulkUploadTabs !== !1;
275373
275360
  return {
275374
275361
  key: "missing_receipts",
275375
- title: d?.navTitle ?? DDi,
275362
+ title: c?.navTitle ?? DDi,
275376
275363
  subTitle: [UDi],
275377
- tabs: m ? [
275364
+ tabs: p ? [
275378
275365
  {
275379
275366
  label: zDi,
275380
275367
  id: "missing",
@@ -275393,7 +275380,7 @@ const {
275393
275380
  allDoneText: BW
275394
275381
  }
275395
275382
  ] : [],
275396
- rightSection: p(["refresh"], "missing_receipts"),
275383
+ rightSection: u(["refresh"], "missing_receipts"),
275397
275384
  leftSection: [],
275398
275385
  searchPlaceholder: GDi,
275399
275386
  allDoneText: BW
@@ -275405,7 +275392,7 @@ const {
275405
275392
  title: MDi,
275406
275393
  subTitle: [YDi, qDi],
275407
275394
  tabs: [],
275408
- rightSection: p(["refresh"], "flux_analysis"),
275395
+ rightSection: u(["refresh"], "flux_analysis"),
275409
275396
  leftSection: [],
275410
275397
  searchPlaceholder: ZDi,
275411
275398
  allDoneText: {
@@ -275430,7 +275417,7 @@ const {
275430
275417
  title: Nbe,
275431
275418
  subTitle: [],
275432
275419
  tabs: [],
275433
- rightSection: p(["refresh"], "reconciliation"),
275420
+ rightSection: u(["refresh"], "reconciliation"),
275434
275421
  leftSection: [],
275435
275422
  searchPlaceholder: pp,
275436
275423
  allDoneText: { title: pp, subTitle: pp }
@@ -275469,7 +275456,7 @@ const {
275469
275456
  allDoneText: XDi
275470
275457
  }
275471
275458
  ],
275472
- rightSection: p(["refresh"], "reconciliation"),
275459
+ rightSection: u(["refresh"], "reconciliation"),
275473
275460
  leftSection: ["back"],
275474
275461
  searchPlaceholder: pp,
275475
275462
  allDoneText: Hbe
@@ -292863,10 +292850,13 @@ const Kpr = (e) => {
292863
292850
  ot(Ye ?? "");
292864
292851
  }, [Ye]);
292865
292852
  const rt = Ae(
292866
- () => fr((St) => f(St), 500, {
292867
- leading: !1,
292868
- trailing: !0
292869
- }),
292853
+ () => fr(
292854
+ (St) => {
292855
+ f(St);
292856
+ },
292857
+ 500,
292858
+ { leading: !1, trailing: !0 }
292859
+ ),
292870
292860
  [f]
292871
292861
  );
292872
292862
  J(() => () => {
@@ -293414,7 +293404,6 @@ const Kpr = (e) => {
293414
293404
  xi ? Y.selectedAccountId : void 0,
293415
293405
  xi ? Y.selectedReconAccount?.accountReconEntity?.account.accountName : void 0,
293416
293406
  xi ? si : void 0,
293417
- Q,
293418
293407
  ge.isFeatureEnabled,
293419
293408
  M === "missing_receipts" ? {
293420
293409
  includeBulkUploadTabs: E,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-C2wAOgg4.cjs"),o=require("./vendor-.pnpm-XfeS4-Fh.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),J=require("@zeniai/client-epic-state"),Es=require("@liveblocks/react-ui"),we=require("@emotion/react"),Lo=require("react-dom"),St=require("@liveblocks/react-ui/primitives"),xi=require("@liveblocks/react/suspense");function wa(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const le=wa(u),va=({inboxNotification:e,onNotificationClick:n})=>{const r=Xe.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(ka,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(Es.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(Es.InboxNotification.Thread,{...d,showRoomName:!0})}})})},ka=s.div`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-Bw7q74PL.cjs"),o=require("./vendor-.pnpm-XfeS4-Fh.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),J=require("@zeniai/client-epic-state"),Es=require("@liveblocks/react-ui"),we=require("@emotion/react"),Lo=require("react-dom"),St=require("@liveblocks/react-ui/primitives"),xi=require("@liveblocks/react/suspense");function wa(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const le=wa(u),va=({inboxNotification:e,onNotificationClick:n})=>{const r=Xe.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(ka,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(Es.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(Es.InboxNotification.Thread,{...d,showRoomName:!0})}})})},ka=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  cursor: ${e=>e.isClickable?"pointer":"initial"};
@@ -1,5 +1,5 @@
1
- import { eg as o, hs as Ne, j as $t, gk as O, eP as It, bX as Jr, a2 as We, eU as qd, gE as ep, gO as tp, aJ as I, gG as U, e0 as op, hZ as ge, hK as lo, fo as lt, aL as Bt, cG as Bs, y as wo, ff as us, cB as So, eR as hs, f4 as np, es as Jt, ep as De, gN as Wl, fb as Co, e1 as Ws, cw as Fe, hC as rp, bj as ip, bF as Wt, bg as sp, eN as _l, gW as ap, bt as ms, O as gs, h5 as lp, h6 as cp, h7 as dp, aK as pp, cS as up, cu as xt, eT as Vl, d0 as hp, eD as Xr, f9 as xs, hq as M, dW as mp, bQ as gp, e7 as be, eJ as xp, dM as z, d1 as Be, ht as pt, ez as ys, bT as Mr, e8 as yp, eK as fs, bG as qr, he as Pe, bY as ei, eL as Ul, f1 as Hl, eY as qn, gA as zt, fq as dt, el as xn, cy as fp, cA as Kl, eO as Gl, gP as Pt, gi as qe, fL as zr, ge as bp, fm as yn, fn, m as bn, gx as Bo, ew as Wo, cv as ti, eS as bs, cz as $p, eV as Yl, eM as co, eQ as _o, br as Qt, gd as _s, h2 as Cp, gU as wp, gZ as Sp, eX as vp, fe as jp, fd as er, em as kp, en as $s, gQ as Tp, eW as Zl, f0 as Ql, e$ as Jl, bC as Xl, hm as Lp, co as Vs, cp as Cs, cj as Pp, cn as Ip, bU as tr, bD as $n, e_ as ws, aN as Ap, e4 as oi, gJ as bt, ed as ql, cm as Fr, cs as Op, bB as Ss, cg as Dp, dN as un, eI as Rp, eH as Ep, eE as Np, ch as ni, e2 as Us, ck as ec, hQ as Br, d2 as tc, eB as oc, gF as vs, ci as Mp, aW as hn, aU as Qn, aV as Jn, h_ as nc, bl as zp, hM as Fp, bH as Yt, aY as Lt, f8 as js, f3 as rc, et as Bp, cE as ic, f5 as Wp, er as _p, aZ as Ut, hd as ar, bL as Vp, cr as Ht, b8 as sc, P as dn, dc as ac, dd as Wr, db as lc, b_ as Up, cI as Hp, ey as Kp, b$ as _r, c1 as qi, dg as Hs, de as Gp, df as Yp, c0 as ci, bZ as di, c2 as Zp, e3 as Ks, cl as Qp, cq as Jp, dz as Gs, b7 as Xp, e as qp, d4 as eu, eF as tu, ec as or, hH as cc, hL as dc, bK as Zt, a6 as ri, a7 as mn, hN as pc, g_ as uc, bm as ou, cJ as nu, cX as hc, cW as ru, h3 as iu, cN as Vr, aE as mc, cM as su, cL as au, bq as lu, cK as ks, gR as gc, bO as xc, gm as yc, l as fc, fk as bc, bP as cu, z as $c, bS as Cc, fM as du, ek as pu, hG as uu, cU as hu, gV as mu, gS as gu, a1 as xu, dJ as Ys, gY as yu, fc as wc, h4 as Zs, cY as fu, cx as bu, eq as $u, eZ as Cu, f2 as wu, eG as Su, gu as Qs, f7 as vu, ee as Sc, e9 as ju, gz as vc, bs as ku, eu as Tu, bE as Lu, bI as Pu, ea as jc, f6 as Iu, ct as Au, fa as Ou, e6 as Du, eb as kc, eo as Ru, bJ as Eu, e5 as Nu } from "./SessionTimeoutPopup-fksT7FXp.js";
2
- import { A as hk, a as mk, b as gk, c as xk, d as yk, f as fk, g as bk, h as $k, i as Ck, k as wk, n as Sk, o as vk, p as jk, q as kk, r as Tk, s as Lk, t as Pk, u as Ik, v as Ak, w as Ok, x as Dk, B as Rk, C as Ek, D as Nk, E as Mk, F as zk, G as Fk, H as Bk, I as Wk, J as _k, K as Vk, L as Uk, M as Hk, N as Kk, Q as Gk, R as Yk, S as Zk, T as Qk, U as Jk, V as Xk, W as qk, X as eT, Y as tT, ej as oT, Z as nT, _ as rT, $ as iT, a0 as sT, a3 as aT, a4 as lT, a5 as cT, a8 as dT, a9 as pT, aa as uT, ab as hT, ac as mT, ad as gT, ae as xT, af as yT, ag as fT, ah as bT, ai as $T, aj as CT, ak as wT, al as ST, am as vT, an as jT, ao as kT, ap as TT, aq as LT, ar as PT, as as IT, at as AT, au as OT, av as DT, aw as RT, ax as ET, ay as NT, ej as MT, az as zT, aA as FT, aB as BT, aC as WT, aD as _T, aF as VT, aG as UT, aH as HT, aI as KT, aM as GT, aO as YT, aP as ZT, aQ as QT, aR as JT, aS as XT, aT as qT, aX as eL, a_ as tL, a$ as oL, b0 as nL, b1 as rL, b2 as iL, b3 as sL, b4 as aL, b5 as lL, b6 as cL, b9 as dL, ba as pL, bb as uL, bc as hL, bd as mL, be as gL, bf as xL, bh as yL, bk as fL, bn as bL, bo as $L, bp as CL, bu as wL, bv as SL, bw as vL, bx as jL, by as kL, bz as TL, bA as LL, bM as PL, bN as IL, bR as AL, bV as OL, bW as DL, c3 as RL, c4 as EL, c5 as NL, c6 as ML, c7 as zL, c8 as FL, c9 as BL, ca as WL, cb as _L, cc as VL, cd as UL, ce as HL, cf as KL, cC as GL, cD as YL, cF as ZL, cH as QL, cO as JL, cP as XL, cQ as qL, cR as eP, cT as tP, cV as oP, cZ as nP, c_ as rP, c$ as iP, d3 as sP, d5 as aP, d6 as lP, d7 as cP, d8 as dP, d9 as pP, da as uP, dh as hP, di as mP, dj as gP, dk as xP, dl as yP, dm as fP, dn as bP, dp as $P, dq as CP, dr as wP, ds as SP, dt as vP, du as jP, dv as kP, dw as TP, dx as LP, dy as PP, dA as IP, bi as AP, dB as OP, dC as DP, dD as RP, dE as EP, dF as NP, dG as MP, dH as zP, ej as FP, dK as BP, dI as WP, dL as _P, dO as VP, dP as UP, dQ as HP, dR as KP, dS as GP, dT as YP, dU as ZP, dV as QP, dX as JP, dY as XP, dZ as qP, d_ as eI, d$ as tI, ef as oI, eh as nI, ei as rI, ev as iI, ex as sI, eA as aI, eC as lI, fg as cI, fh as dI, fi as pI, fj as uI, fl as hI, fp as mI, fr as gI, fs as xI, ft as yI, fu as fI, fv as bI, fw as $I, fx as CI, fy as wI, fz as SI, fA as vI, fB as jI, fC as kI, fD as TI, fE as LI, fF as PI, fG as II, fH as AI, fI as OI, fJ as DI, fK as RI, fN as EI, fO as NI, fP as MI, fQ as zI, fR as FI, fS as BI, fT as WI, fU as _I, fV as VI, fW as UI, fX as HI, fY as KI, fZ as GI, f_ as YI, f$ as ZI, g0 as QI, g1 as JI, g2 as XI, g3 as qI, g4 as eA, g5 as tA, g6 as oA, g7 as nA, g8 as rA, g9 as iA, ga as sA, gb as aA, gc as lA, gf as cA, gg as dA, gh as pA, gj as uA, gl as hA, gn as mA, go as gA, gp as xA, gq as yA, gr as fA, gs as bA, gt as $A, gv as CA, gw as wA, gy as SA, gB as vA, gD as jA, gC as kA, gH as TA, gI as LA, gK as PA, gL as IA, gM as AA, gT as OA, gX as DA, g$ as RA, h0 as EA, h1 as NA, h8 as MA, h9 as zA, ha as FA, hb as BA, hc as WA, hf as _A, hg as VA, hh as UA, hi as HA, hj as KA, hk as GA, hl as YA, hn as ZA, ho as QA, hp as JA, hr as XA, hu as qA, hv as eO, hw as tO, hx as oO, hy as nO, hz as rO, hA as iO, hB as sO, hD as aO, hE as lO, hF as cO, hI as dO, hJ as pO, hO as uO, hP as hO, hR as mO, hS as gO, hT as xO, hU as yO, hV as fO, hW as bO, hX as $O, hY as CO, h$ as wO, i0 as SO } from "./SessionTimeoutPopup-fksT7FXp.js";
1
+ import { eg as o, hs as Ne, j as $t, gk as O, eP as It, bX as Jr, a2 as We, eU as qd, gE as ep, gO as tp, aJ as I, gG as U, e0 as op, hZ as ge, hK as lo, fo as lt, aL as Bt, cG as Bs, y as wo, ff as us, cB as So, eR as hs, f4 as np, es as Jt, ep as De, gN as Wl, fb as Co, e1 as Ws, cw as Fe, hC as rp, bj as ip, bF as Wt, bg as sp, eN as _l, gW as ap, bt as ms, O as gs, h5 as lp, h6 as cp, h7 as dp, aK as pp, cS as up, cu as xt, eT as Vl, d0 as hp, eD as Xr, f9 as xs, hq as M, dW as mp, bQ as gp, e7 as be, eJ as xp, dM as z, d1 as Be, ht as pt, ez as ys, bT as Mr, e8 as yp, eK as fs, bG as qr, he as Pe, bY as ei, eL as Ul, f1 as Hl, eY as qn, gA as zt, fq as dt, el as xn, cy as fp, cA as Kl, eO as Gl, gP as Pt, gi as qe, fL as zr, ge as bp, fm as yn, fn, m as bn, gx as Bo, ew as Wo, cv as ti, eS as bs, cz as $p, eV as Yl, eM as co, eQ as _o, br as Qt, gd as _s, h2 as Cp, gU as wp, gZ as Sp, eX as vp, fe as jp, fd as er, em as kp, en as $s, gQ as Tp, eW as Zl, f0 as Ql, e$ as Jl, bC as Xl, hm as Lp, co as Vs, cp as Cs, cj as Pp, cn as Ip, bU as tr, bD as $n, e_ as ws, aN as Ap, e4 as oi, gJ as bt, ed as ql, cm as Fr, cs as Op, bB as Ss, cg as Dp, dN as un, eI as Rp, eH as Ep, eE as Np, ch as ni, e2 as Us, ck as ec, hQ as Br, d2 as tc, eB as oc, gF as vs, ci as Mp, aW as hn, aU as Qn, aV as Jn, h_ as nc, bl as zp, hM as Fp, bH as Yt, aY as Lt, f8 as js, f3 as rc, et as Bp, cE as ic, f5 as Wp, er as _p, aZ as Ut, hd as ar, bL as Vp, cr as Ht, b8 as sc, P as dn, dc as ac, dd as Wr, db as lc, b_ as Up, cI as Hp, ey as Kp, b$ as _r, c1 as qi, dg as Hs, de as Gp, df as Yp, c0 as ci, bZ as di, c2 as Zp, e3 as Ks, cl as Qp, cq as Jp, dz as Gs, b7 as Xp, e as qp, d4 as eu, eF as tu, ec as or, hH as cc, hL as dc, bK as Zt, a6 as ri, a7 as mn, hN as pc, g_ as uc, bm as ou, cJ as nu, cX as hc, cW as ru, h3 as iu, cN as Vr, aE as mc, cM as su, cL as au, bq as lu, cK as ks, gR as gc, bO as xc, gm as yc, l as fc, fk as bc, bP as cu, z as $c, bS as Cc, fM as du, ek as pu, hG as uu, cU as hu, gV as mu, gS as gu, a1 as xu, dJ as Ys, gY as yu, fc as wc, h4 as Zs, cY as fu, cx as bu, eq as $u, eZ as Cu, f2 as wu, eG as Su, gu as Qs, f7 as vu, ee as Sc, e9 as ju, gz as vc, bs as ku, eu as Tu, bE as Lu, bI as Pu, ea as jc, f6 as Iu, ct as Au, fa as Ou, e6 as Du, eb as kc, eo as Ru, bJ as Eu, e5 as Nu } from "./SessionTimeoutPopup-Dt1NMLn5.js";
2
+ import { A as hk, a as mk, b as gk, c as xk, d as yk, f as fk, g as bk, h as $k, i as Ck, k as wk, n as Sk, o as vk, p as jk, q as kk, r as Tk, s as Lk, t as Pk, u as Ik, v as Ak, w as Ok, x as Dk, B as Rk, C as Ek, D as Nk, E as Mk, F as zk, G as Fk, H as Bk, I as Wk, J as _k, K as Vk, L as Uk, M as Hk, N as Kk, Q as Gk, R as Yk, S as Zk, T as Qk, U as Jk, V as Xk, W as qk, X as eT, Y as tT, ej as oT, Z as nT, _ as rT, $ as iT, a0 as sT, a3 as aT, a4 as lT, a5 as cT, a8 as dT, a9 as pT, aa as uT, ab as hT, ac as mT, ad as gT, ae as xT, af as yT, ag as fT, ah as bT, ai as $T, aj as CT, ak as wT, al as ST, am as vT, an as jT, ao as kT, ap as TT, aq as LT, ar as PT, as as IT, at as AT, au as OT, av as DT, aw as RT, ax as ET, ay as NT, ej as MT, az as zT, aA as FT, aB as BT, aC as WT, aD as _T, aF as VT, aG as UT, aH as HT, aI as KT, aM as GT, aO as YT, aP as ZT, aQ as QT, aR as JT, aS as XT, aT as qT, aX as eL, a_ as tL, a$ as oL, b0 as nL, b1 as rL, b2 as iL, b3 as sL, b4 as aL, b5 as lL, b6 as cL, b9 as dL, ba as pL, bb as uL, bc as hL, bd as mL, be as gL, bf as xL, bh as yL, bk as fL, bn as bL, bo as $L, bp as CL, bu as wL, bv as SL, bw as vL, bx as jL, by as kL, bz as TL, bA as LL, bM as PL, bN as IL, bR as AL, bV as OL, bW as DL, c3 as RL, c4 as EL, c5 as NL, c6 as ML, c7 as zL, c8 as FL, c9 as BL, ca as WL, cb as _L, cc as VL, cd as UL, ce as HL, cf as KL, cC as GL, cD as YL, cF as ZL, cH as QL, cO as JL, cP as XL, cQ as qL, cR as eP, cT as tP, cV as oP, cZ as nP, c_ as rP, c$ as iP, d3 as sP, d5 as aP, d6 as lP, d7 as cP, d8 as dP, d9 as pP, da as uP, dh as hP, di as mP, dj as gP, dk as xP, dl as yP, dm as fP, dn as bP, dp as $P, dq as CP, dr as wP, ds as SP, dt as vP, du as jP, dv as kP, dw as TP, dx as LP, dy as PP, dA as IP, bi as AP, dB as OP, dC as DP, dD as RP, dE as EP, dF as NP, dG as MP, dH as zP, ej as FP, dK as BP, dI as WP, dL as _P, dO as VP, dP as UP, dQ as HP, dR as KP, dS as GP, dT as YP, dU as ZP, dV as QP, dX as JP, dY as XP, dZ as qP, d_ as eI, d$ as tI, ef as oI, eh as nI, ei as rI, ev as iI, ex as sI, eA as aI, eC as lI, fg as cI, fh as dI, fi as pI, fj as uI, fl as hI, fp as mI, fr as gI, fs as xI, ft as yI, fu as fI, fv as bI, fw as $I, fx as CI, fy as wI, fz as SI, fA as vI, fB as jI, fC as kI, fD as TI, fE as LI, fF as PI, fG as II, fH as AI, fI as OI, fJ as DI, fK as RI, fN as EI, fO as NI, fP as MI, fQ as zI, fR as FI, fS as BI, fT as WI, fU as _I, fV as VI, fW as UI, fX as HI, fY as KI, fZ as GI, f_ as YI, f$ as ZI, g0 as QI, g1 as JI, g2 as XI, g3 as qI, g4 as eA, g5 as tA, g6 as oA, g7 as nA, g8 as rA, g9 as iA, ga as sA, gb as aA, gc as lA, gf as cA, gg as dA, gh as pA, gj as uA, gl as hA, gn as mA, go as gA, gp as xA, gq as yA, gr as fA, gs as bA, gt as $A, gv as CA, gw as wA, gy as SA, gB as vA, gD as jA, gC as kA, gH as TA, gI as LA, gK as PA, gL as IA, gM as AA, gT as OA, gX as DA, g$ as RA, h0 as EA, h1 as NA, h8 as MA, h9 as zA, ha as FA, hb as BA, hc as WA, hf as _A, hg as VA, hh as UA, hi as HA, hj as KA, hk as GA, hl as YA, hn as ZA, ho as QA, hp as JA, hr as XA, hu as qA, hv as eO, hw as tO, hx as oO, hy as nO, hz as rO, hA as iO, hB as sO, hD as aO, hE as lO, hF as cO, hI as dO, hJ as pO, hO as uO, hP as hO, hR as mO, hS as gO, hT as xO, hU as yO, hV as fO, hW as bO, hX as $O, hY as CO, h$ as wO, i0 as SO } from "./SessionTimeoutPopup-Dt1NMLn5.js";
3
3
  import { ak as t, D as Mu, a1 as zu, aL as Ve, q as Cn, O as rt, L as Fu, s as Bu, T as Wu, o as ii, f as Xt, h as ye, aH as po, i as wn, aG as uo, Y as Vo, m as ho, J as Uo, b as qt, V as Ho, ae as nt, I as Tc, X as _u, an as Mt, aa as Fo, aF as Vu, k as Ts, C as Lc, n as Uu, d as Hu, e as Ls, B as Ps, as as Js } from "./vendor-.pnpm-EsH0c3YJ.js";
4
4
  import { aA as jO } from "./vendor-.pnpm-EsH0c3YJ.js";
5
5
  import * as me from "react";
@@ -35,7 +35,7 @@ export interface ExpenseAutomationNavbarHeaderData {
35
35
  title: string;
36
36
  subText?: string;
37
37
  }
38
- export declare const getNavBarHeaderData: (expenseAutomationViewType: ExpenseAutomationViewType, autoCategorizedTransactionNumber?: number, accountId?: ID, customTitle?: string, navBarSubText?: string, currentTab?: ExpenseAutomationTransactionsTab, isSearchAndFilterEnabled?: boolean,
38
+ export declare const getNavBarHeaderData: (expenseAutomationViewType: ExpenseAutomationViewType, autoCategorizedTransactionNumber?: number, accountId?: ID, customTitle?: string, navBarSubText?: string, isSearchAndFilterEnabled?: boolean,
39
39
  /** When `{ includeBulkUploadTabs: false }` (bulk upload / feature off), no sub-tabs — original subtitle only. */
40
40
  missingReceiptsOptions?: {
41
41
  includeBulkUploadTabs?: boolean;
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-C2wAOgg4.cjs"),a=require("./vendor-.pnpm-XfeS4-Fh.cjs"),t=require("@emotion/styled");exports.AIAgentsActivatingPage=e.AIAgentsActivatingPage;exports.AIIconButton=e.AIIconButton;exports.AIPerformancePage=e.AIPerformancePage;exports.ALL_AI_CFO_MENU_OPTIONS=e.ALL_AI_CFO_MENU_OPTIONS;exports.ALL_SETTINGS_MENU_OPTIONS=e.ALL_SETTINGS_MENU_OPTIONS;exports.APP_DRAWER_CONTENT_WIDTH_PX=e.APP_DRAWER_CONTENT_WIDTH_PX;exports.AccountInfoPage=e.AccountInfoPage;exports.AccountLockedInfoModal=e.AccountLockedInfoModal;exports.AccountReconDetailsDrawerPage=e.AccountReconDetailsDrawerPage;exports.ActivityIndicator=e.ActivityIndicator;exports.AddAddressForCardDrawer=e.AddAddressForCardDrawer;exports.AddToWalletPage=e.AddToWalletPage;exports.AddressFormPage=e.AddressFormPage;exports.AgingReportsPage=e.AgingReportsPage;exports.AiCfoChatHeader=e.AiCfoChatHeader;exports.AiCfoMenuContent=e.AiCfoMenuContent;exports.AiCfoOnboardingPage=e.AiCfoOnboardingPage;exports.AiCfoPage=e.AiCfoPage;exports.AiCfoScopeModal=e.AiCfoScopeModal;exports.AiCfoScopeModalScrollBody=e.AiCfoScopeModalScrollBody;exports.AiCfoSidePanel=e.AiCfoSidePanel;exports.AiFinanceTeamReadyPage=e.AiFinanceTeamReadyPage;exports.AllowBlockChipPicker=e.AllowBlockChipPicker;exports.AnalyticsOnLoad=e.AnalyticsOnLoad;exports.ApAgingDetailPage=e.ApAgingDetailPage;exports.AppBasePage=e.AppBasePage;exports.AppDrawerContent=e.AppDrawerContent;exports.AppDrawerHeightMobile=e.AppDrawerHeightMobile;exports.ApprovalRulesSettingsPage=e.ApprovalRulesSettingsPage;exports.ArAgingDetailPage=e.ArAgingDetailPage;exports.AskAiCfoNavButton=e.AskAiCfoNavButton;exports.AskAiCfoNavButtonWhenEnabled=e.AskAiCfoNavButtonWhenEnabled;exports.AttachmentView=e.AttachmentView;exports.AutoSweepFlow=e.AutoSweepFlow;exports.AutoTransferRulePage=e.AutoTransferRulePage;exports.BackNavigationProvider=e.BackNavigationProvider;exports.BankConnectionsSettingsPage=e.BankConnectionsSettingsPage;exports.BillDetailPage=e.BillDetailPage;exports.BillDetailPageSkeleton=e.BillDetailPageSkeleton;exports.BillPayApprovalRuleDetailPage=e.BillPayApprovalRuleDetailPage;exports.BillPayApprovalRuleDetailPageV1=e.BillPayApprovalRuleDetailPage$1;exports.BillPayApprovalRulesPage=e.BillPayApprovalRulesPage;exports.BillPayApprovalRulesPageV1=e.BillPayApprovalRulesPage$1;exports.BillPayPromoPage=e.BillPayPromoPage;exports.BillPaySetUpLoading=e.SpendManagementSetUpLoading;exports.BillPaySetUpPage=e.BillPaySetUpPage;exports.BillingSettingsPage=e.BillingSettingsPage;exports.BillsBulkReviewDrawerPage=e.BillsBulkReviewDrawerPage;exports.BusinessVerificationPage=e.BusinessVerificationPage;exports.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT=e.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT;exports.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION=e.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION;exports.COMMAND_CENTER_SUBMENU_TYPES=e.COMMAND_CENTER_SUBMENU_TYPES;exports.CapitalizationOnboardingPopup=e.CapitalizationOnboardingPopup;exports.CapitalizationSettingsSection=e.CapitalizationSettingsSection;exports.CardPolicyCreatePage=e.CardPolicyCreatePage;exports.CardPolicyEditPage=e.CardPolicyEditPage;exports.CardPolicyFormPageSkeleton=e.CardPolicyFormPageSkeleton;exports.CardPolicyFormSections=e.CardPolicyFormSections;exports.CardPolicyListPage=e.CardPolicyListPage;exports.CardPolicyListPageSkeleton=e.CardPolicyListPageSkeleton;exports.CardPolicyListRow=e.CardPolicyListRow;exports.CardPolicyListSkeletonRow=e.CardPolicyListSkeletonRow;exports.CardPolicyManualEmptyState=e.CardPolicyManualEmptyState;exports.CardsAiCfoHero=e.CardsAiCfoHero;exports.CashManagementBanner=e.CashManagementBanner;exports.CashManagementNavCTA=e.CashManagementNavCTA;exports.CashOverview=e.CashOverview;exports.CashbackDetailLoading=e.CashbackDetailLoading;exports.CashbackDetailPage=e.CashbackDetailPage;exports.ChargeCardCVVActivate=e.ChargeCardCVVActivate;exports.ChargeCardDetailLoading=e.ChargeCardDetailLoading;exports.ChargeCardDetailPage=e.ChargeCardDetailPage;exports.ChargeCardListLoading=e.ChargeCardListLoading;exports.ChargeCardListPage=e.ChargeCardListPage;exports.ChargeCardListSkeletonRow=e.ChargeCardListSkeletonRow;exports.ChargeCardPaymentHistoryPage=e.ChargeCardPaymentHistoryPage;exports.ChargeCardPromoPage=e.ChargeCardPromoPage;exports.ChargeCardPromoPageSkeleton=e.ChargeCardPromoPageSkeleton;exports.ChargeCardSetUpPage=e.ChargeCardSetUpPage;exports.ChargeCardSetupLoading=e.SpendManagementSetUpLoading;exports.ChargeCardStatementsLoading=e.ChargeCardStatementsLoading;exports.ChargeCardStatementsPage=e.ChargeCardStatementsPage;exports.ChargeCardUserOnboardingPromoPage=e.ChargeCardUserOnboardingPromoPage;exports.ChargeCardUserOnboardingPromoPageSkeleton=e.ChargeCardUserOnboardingPromoPageSkeleton;exports.CheckDepositDrawerPage=e.CheckDepositDrawerPage;exports.ClickableRow=e.ClickableRow;exports.CollaborationGlobalStyles=e.CollaborationGlobalStyles;exports.CollaborationProvider=e.CollaborationProvider;exports.CollaborationRoomProvider=e.CollaborationRoomProvider;exports.Colors=e.Colors;exports.CommentsAndNotesCount=e.CommentsAndNotesCount;exports.CommentsDrawerProvider=e.CommentsDrawerProvider;exports.CompanyOfficerOnboardingDetailsSection=e.CompanyOfficerOnboardingDetailsSection;exports.CompanyOnboardingDetailsSection=e.CompanyOnboardingDetailsSection;exports.CompanyPassportCard=e.CompanyPassportCard;exports.CompanyPassportPage=e.CompanyPassportPage;exports.CompleteProfile=e.CompleteProfile;exports.ConfettiBurst=e.ConfettiBurst;exports.ConfirmationPopup=e.ConfirmationPopup;exports.ConnectDataSourcesPage=e.ConnectDataSourcesPage;exports.CreateOrEditVendorPage=e.CreateOrEditVendorPage;exports.CreateOrEditVendorPageSkeleton=e.CreateOrEditVendorPageSkeleton;exports.CreatedEntitiesAnswer=e.CreatedEntitiesAnswer;exports.CreatingEntitiesAnswerLoading=e.CreatingEntitiesAnswerLoading;exports.CreditCardPaymentDrawerPage=e.CreditCardPaymentDrawerPage;exports.CustomerOnboardingContainerPage=e.CustomerOnboardingContainerPage;exports.CustomerOnboardingNoStepsPage=e.CustomerOnboardingNoStepsPage;exports.CustomerOnboardingPage=e.CustomerOnboardingPage;exports.CustomerOnboardingProductSuitePage=e.CustomerOnboardingProductSuitePage;exports.Dashboard=e.Dashboard;exports.DashboardReportPage=e.DashboardReportPage;exports.DashboardSidebarLogoAnimation=e.DashboardSidebarLogoAnimation;exports.DataListTable=e.DataListTable;exports.DataListTableHeader=e.DataListTableHeader;exports.DataListTableRow=e.DataListTableRow;exports.DataListTableSortIndicator=e.DataListTableSortIndicator;exports.DebitCardSetPin=e.DebitCardSetPin;exports.DropdownPortalContext=e.DropdownPortalContext;exports.EditPeoplePage=e.EditPeoplePage;exports.EditReimbursementDetailPage=e.EditReimbursementDetailPage;exports.EditableBillDetailPage=e.EditableBillDetailPage;exports.EntityDetailPage=e.EntityDetailPage;exports.ErrorBoundaryWrapper=e.ErrorBoundaryWrapper;exports.ExcludedAccountReconDetailsDrawerPage=e.ExcludedAccountReconDetailsDrawerPage;exports.ExpenseAutomationOverviewPage=e.ExpenseAutomationOverviewPage;exports.ExpenseAutomationOverviewPageSkeleton=e.ExpenseAutomationOverviewPageSkeleton;exports.ExpenseAutomationPage=e.ExpenseAutomationPage;exports.ExpressPayPage=e.ExpressPayPage;exports.FeatureDynamicConfigNames=e.DynamicConfigNames;exports.FeatureGatesNames=e.FeatureGatesNames;exports.FeaturePreviewPage=e.FeaturePreviewPage;exports.FeatureProvider=e.FeatureProvider;exports.FirstReviewVendorDetailPage=e.FirstReviewVendorDetailPage;exports.FontWeight=e.FontWeight;exports.GlobalInfoProvider=e.GlobalInfoProvider;exports.GlobalReviewListPage=e.GlobalReviewListPage;exports.InformationCardStack=e.InformationCardStack;exports.InitialCollaborationProvider=e.InitialCollaborationProvider;exports.InsightsCardStack=e.InsightCardStack;exports.IntegrationsSection=e.IntegrationsSection;exports.IntegrationsSettingsPage=e.IntegrationsSettingsPage;exports.InternationalWireVerificationPage=e.InternationalWireVerificationPage;exports.InviteFormPage=e.InviteFormPage;exports.InvitePageListView=e.InvitePageListView;exports.InvitePeoplePage=e.InvitePeoplePage;exports.InvoiceUploadSection=e.InvoiceUploadSection;exports.InvoiceUploadSectionSkeleton=e.InvoiceUploadSectionSkeleton;exports.IssueChargeCardPage=e.IssueChargeCardPage;exports.IssueChargeCardPageSkeleton=e.IssueChargeCardPageSkeleton;exports.LinkBillExpensePage=e.LinkBillExpensePage;exports.LinkJETransactionPage=e.LinkJETransactionPage;exports.Loader=e.Loader;exports.LogoutButton=e.LogoutButton;exports.MCC_CHIP_ID_PREFIX=e.MCC_CHIP_ID_PREFIX;exports.MagicLinkDomesticWireDetailsPage=e.MagicLinkDomesticWireDetailsPage;exports.MagicLinkInternationalWireDetailsPage=e.MagicLinkInternationalWireDetailsPage;exports.MagicLinkSuccessPage=e.MagicLinkSuccessPage;exports.MagicLinkVendorACHDetailsPage=e.MagicLinkVendorACHDetailsPage;exports.Modal=e.Modal;exports.MonthEndEmailDrawerCustomerRequestPage=e.MonthEndEmailDrawerCustomerRequestPage;exports.MyBankConnectionsSettingsPage=e.MyBankConnectionsSettingsPage;exports.MyPendingActivationChargeCardListPage=e.MyPendingActivationChargeCardListPage;exports.MyProfileSettingsPage=e.MyProfileSettingsPage;exports.NavBar=e.NavBar;exports.NavBarRightRowStyled=e.NavBarRightRowStyled;exports.NewGlobalMerchantPage=e.NewGlobalMerchantPage;exports.NewUpdateAvailablePage=e.NewUpdateAvailablePage;exports.NotFoundPage=e.NotFoundPage;exports.NotificationIcon=e.SvgNotification;exports.NotificationSettingsPage=e.NotificationSettingsPage;exports.NotificationsPage=e.NotificationsPage;exports.OAuthConsentPage=e.OAuthConsentPage;exports.OnboardingInitialLoader=e.OnboardingInitialLoader;exports.OnboardingSidebar=e.OnboardingSidebar;exports.OnboardingStepFrame=e.OnboardingStepFrame;exports.OpExByVendorPage=e.OpExByVendorPage;exports.OverlayContainerPage=e.OverlayContainerPage;exports.PandLWithForecastPage=e.PandLWithForecastPage;exports.PanelInternalContext=e.PanelInternalContext;exports.PaymentAccountSetupBillingAddressSection=e.PaymentAccountSetupBillingAddressSection;exports.PeoplePage=e.PeoplePage;exports.Picker=e.Picker;exports.PolicyLimitsRowList=e.PolicyLimitsRowList;exports.PolicyModeSelector=e.PolicyModeSelector;exports.PortfolioAllocationFormPage=e.PortfolioAllocationFormPage;exports.QBOConnectionDialog=e.QBOConnectionDialog;exports.QBOSetupSectionWithForm=e.QBOSetupSectionWithForm;exports.QuickResponsesPage=e.QuickResponsesPage;exports.QuickViewModeContext=e.QuickViewModeContext;exports.RIGHT_SIDE_PANEL_WIDTH_PX=e.RIGHT_SIDE_PANEL_WIDTH_PX;exports.ReferralDrawerPage=e.DrawerPage;exports.ReimbursementApprovalRuleDetailPage=e.ReimbursementApprovalRuleDetailPage;exports.ReimbursementApprovalRuleDetailPageV1=e.ReimbursementApprovalRuleDetailPage$1;exports.ReimbursementApprovalRulesPage=e.ReimbursementApprovalRulesPage;exports.ReimbursementApprovalRulesPageV1=e.ReimbursementApprovalRulesPage$1;exports.ReimbursementDetailPage=e.ReimbursementDetailPage;exports.ReimbursementDetailPageSkeleton=e.ReimbursementDetailPageSkeleton;exports.ReimbursementPromoPage=e.ReimbursementPromoPage;exports.ReimbursementSetUpLoading=e.SpendManagementSetUpLoading;exports.ReimbursementSetUpPage=e.RemiSetupPage;exports.RemisBulkReviewDrawerPage=e.ReimbursementsBulkReviewDrawerPage;exports.ReportsPage=e.ReportsPage;exports.ResponsiveSized=e.ResponsiveSized;exports.ReviewBillDetailsPage=e.ReviewBillDetailsPage;exports.ReviewConfirmTransferPanel=e.ReviewConfirmTransferPanel;exports.ReviewDetailsPageSkeleton=e.ReviewDetailsPageSkeleton;exports.ScheduleDetailSkeleton=e.ScheduleDetailSkeleton;exports.ScheduleDetailsAccruedExpensesPage=e.ScheduleDetailsAccruedExpensesPage;exports.ScheduleDetailsFixedAssetsPage=e.ScheduleDetailsFixedAssetsPage;exports.ScheduleDetailsPage=e.ScheduleDetailsPage;exports.SchedulePanelInternalContext=e.SchedulePanelInternalContext;exports.SearchableCheckboxCardList=e.SearchableCheckboxCardList;exports.SessionTimeoutPopup=e.SessionTimeoutPopup;exports.SidePanelContext=e.SidePanelContext;exports.SidePanelProvider=e.SidePanelProvider;exports.SignIn=e.SignIn;exports.SomethingWrongPage=e.SomethingWrongPage;exports.Space=e.Space;exports.SpendManagementListLoading=e.SpendManagementListLoading;exports.SpendManagementListViewPage=e.SpendManagementListViewPage;exports.StatementsPage=e.StatementsPage;exports.StyledCapsule=e.StyledCapsule;exports.SubscriptionDetailPage=e.SubscriptionDetailPage;exports.SubscriptionSummaryPage=e.SubscriptionSummaryPage;exports.SyntheticAiCfoAnswerView=e.SyntheticAiCfoAnswerView;exports.TaskDetailPage=e.TaskDetailPage;exports.TaskManagementPage=e.TaskManagementPage;exports.TenantsDropDown=e.TenantsDropDown;exports.TextStyle=e.TextStyle;exports.ToolkitProvider=e.ToolkitProvider;exports.TopExDetailPage=e.TopExDetailPage;exports.TransactionActivityLogPage=e.TransactionActivityLogPage;exports.TransactionActivityLogPanel=e.TransactionActivityLogPanel;exports.TransactionDetailPage=e.TransactionDetailPage;exports.TransactionDetailSkeleton=e.TransactionDetailSkeleton;exports.TransactionListBig=e.TransactionListBig;exports.TransactionListPage=e.TransactionListPage;exports.TransactionPanelInternalContext=e.TransactionPanelInternalContext;exports.TransactionSidePanelLayout=e.TransactionSidePanelLayout;exports.TransactionVendorDetailPage=e.TransactionVendorDetailPage;exports.TransferDrawerPage=e.TransferDrawerPage;exports.TreasuryOverviewPage=e.TreasuryOverviewPage;exports.TreasuryPromoPage=e.TreasuryPromoPage;exports.TreasurySetUpPage=e.TreasurySetUpPage;exports.TreasuryStatementsPage=e.TreasuryStatementsPage;exports.TreasuryTaxLetterPage=e.TreasuryTaxLetterPage;exports.TreasuryTransferOrReviewPage=e.TreasuryTransferOrReviewPage;exports.TrendChart=e.TrendChart;exports.UncategorizedAccountsMappingPage=e.UncategorizedAccountsMappingPage;exports.UnitIntegrationPage=e.UnitIntegrationPage;exports.VENDOR_CHIP_ID_PREFIX=e.VENDOR_CHIP_ID_PREFIX;exports.Vendor2FAPopup=e.Vendor2FAPopup;exports.VendorACHDetailsPage=e.VendorACHDetailsPage;exports.VendorAccruedSchedulesPage=e.VendorAccruedSchedulesPage;exports.VendorDetailPage=e.VendorDetailPage;exports.VendorDomesticWireDetailsPage=e.VendorDomesticWireDetailsPage;exports.VendorFiling1099DetailsEditablePage=e.VendorFiling1099DetailsEditablePage;exports.VendorFiling1099EditableFormSkeleton=e.VendorFiling1099EditableFormSkeleton;exports.VendorFiling1099ListPage=e.VendorFiling1099ListPage;exports.VendorFirstReviewPage=e.VendorFirstReviewPage;exports.VendorInternationalSwiftBasedDetailsPage=e.VendorInternationalSwiftBasedDetailsPage;exports.VendorInternationalWireDetailsPage=e.VendorInternationalWireDetailsPage;exports.VendorListPage=e.VendorListPage;exports.VendorSchedulesPage=e.VendorSchedulesPage;exports.VerificationFrame=e.VerificationFrame;exports.VerifyDevice=e.VerifyDevice;exports.VerifyUnlockFinancialStackPage=e.VerifyUnlockFinancialStackPage;exports.WebV2MicroService=e.WebV2MicroService;exports.WebV2MicroServiceProvider=e.WebV2MicroServiceProvider;exports.WelcomeAnimation=e.WelcomeAnimation;exports.WindowSizeProvider=e.WindowSizeProvider;exports.ZeniAccountDetailLoading=e.ZeniAccountDetailLoading;exports.ZeniAccountDetailNavBarTitleShimmer=e.ZeniAccountDetailNavBarTitleShimmer;exports.ZeniAccountDetailPage=e.ZeniAccountDetailPage;exports.ZeniAccountListLoading=e.ZeniAccountListLoading;exports.ZeniAccountListViewPage=e.ZeniAccountListViewPage;exports.ZeniAccountPromoPage=e.ZeniAccountPromoPage;exports.ZeniAccountSetUpPage=e.ZeniAccountSetUpPage;exports.ZeniText=e.ZeniText;exports.ZeniThemeProvider=e.ZeniThemeProvider;exports.alignToJustify=e.alignToJustify;exports.amountToString=e.amountToString;exports.amountValueToString=e.amountValueToString;exports.appLocale=e.appLocale;exports.applyExtractedPolicyRulesToFormValues=e.applyExtractedPolicyRulesToFormValues;exports.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm=e.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm;exports.buildCardPolicyFormValuesFromRequest=e.buildCardPolicyFormValuesFromRequest;exports.buildCreateCardPolicyTemplateRequest=e.buildCreateCardPolicyTemplateRequest;exports.buildCreateCardPolicyTemplateRequestFromInteractiveForm=e.buildCreateCardPolicyTemplateRequestFromInteractiveForm;exports.buildMccCategoryChipId=e.buildMccCategoryChipId;exports.buildStickyKeySet=e.buildStickyKeySet;exports.buildVendorChipId=e.buildVendorChipId;exports.cellVerticalAlignToFlexAlign=e.cellVerticalAlignToFlexAlign;exports.clearAutoLogoutContext=e.clearAutoLogoutContext;exports.clickableRowStyles=e.clickableRowStyles;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.getAlpha2=e.getAlpha2;exports.getAlpha3=e.getAlpha3;exports.getColorForALabel=e.getColorForALabel;exports.getCountries=e.getCountries;exports.getCustomerDataFromAutoComplete=e.getCustomerDataFromAutoComplete;exports.getFullName=e.getFullName;exports.getInitialOpenThreadRequestFromSearch=e.getInitialOpenThreadRequestFromSearch;exports.getRecipientTotalAmount=e.getRecipientTotalAmount;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.isCloseManagementMenu=e.isCloseManagementMenu;exports.isClosedCardStatus=e.isClosedCardStatus;exports.isCollaborationEntityType=e.isCollaborationEntityType;exports.isMobileOrTabletView=e.isMobileOrTabletView;exports.isMobilePhoneScreen=e.isMobilePhoneScreen;exports.lightColors=e.lightColors;exports.lightTheme=e.lightTheme;exports.mergeColumnDeclarativeWithRenderers=e.mergeColumnDeclarativeWithRenderers;exports.mergeLayoutDefaults=e.mergeLayoutDefaults;exports.percentValueToString=e.percentValueToString;exports.resolveColumnWidth=e.resolveColumnWidth;exports.roundAmountIfNeeded=e.roundAmountIfNeeded;exports.roundOffNumberToTwoDecimal=e.roundOffNumberToTwoDecimal;exports.setAutoLogoutContext=e.setAutoLogoutContext;exports.setShowNegativeAmountInParenthesisDefaultValue=e.setShowNegativeAmountInParenthesisDefaultValue;exports.setShowNegativeAmountInParenthesisForPercentDefaultValue=e.setShowNegativeAmountInParenthesisForPercentDefaultValue;exports.sp=e.sp;exports.textAlignForCell=e.textAlignForCell;exports.textStyles=e.textStyles;exports.toInstitutionLogoDataUri=e.toInstitutionLogoDataUri;exports.toMccCategoryChipFieldValue=e.toMccCategoryChipFieldValue;exports.toMenuOptionType=e.toMenuOptionType;exports.toSettingsMenuOptionTypeStrict=e.toSettingsMenuOptionTypeStrict;exports.toSupportedLocaleStrict=e.toSupportedLocaleStrict;exports.toVendorChipFieldValue=e.toVendorChipFieldValue;exports.trackTreasuryTransferAnalytics=e.trackTreasuryTransferAnalytics;exports.uploadAttachmentReceipts=e.uploadAttachmentReceipts;exports.useApprovalRulesV3Config=e.useApprovalRulesV3Config;exports.useBackNavigation=e.useBackNavigation;exports.useCollaborationInfoContext=e.useCollaborationInfoContext;exports.useCommentsDrawer=e.useCommentsDrawer;exports.useDropdownPortal=e.useDropdownPortal;exports.useExpenseAutomationEnabledForUser=e.useExpenseAutomationEnabledForUser;exports.useGlobalInfoContext=e.useGlobalInfoContext;exports.useLockBodyScroll=e.useLockBodyScroll;exports.usePanelInternal=e.usePanelInternal;exports.usePrevious=e.usePrevious;exports.useQuickViewMode=e.useQuickViewMode;exports.useRegisterBackHandler=e.useRegisterBackHandler;exports.useRequestCloseAllCommentDrawers=e.useRequestCloseAllCommentDrawers;exports.useSchedulePanelInternal=e.useSchedulePanelInternal;exports.useSessionAutoLogoutConfig=e.useSessionAutoLogoutConfig;exports.useSidePanelContext=e.useSidePanelContext;exports.useToolkitContext=e.useToolkitContext;exports.useTransactionPanelInternal=e.useTransactionPanelInternal;exports.useWindowSizeContext=e.useWindowSizeContext;exports.useZeniFeatureContext=e.useZeniFeatureContext;exports.useZeniThemeContext=e.useZeniThemeContext;exports.waitFor=e.waitFor;exports.useZeniTheme=a.useTheme;exports.zeniStyled=a.styled;exports.zeniEmotionStyled=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-Bw7q74PL.cjs"),a=require("./vendor-.pnpm-XfeS4-Fh.cjs"),t=require("@emotion/styled");exports.AIAgentsActivatingPage=e.AIAgentsActivatingPage;exports.AIIconButton=e.AIIconButton;exports.AIPerformancePage=e.AIPerformancePage;exports.ALL_AI_CFO_MENU_OPTIONS=e.ALL_AI_CFO_MENU_OPTIONS;exports.ALL_SETTINGS_MENU_OPTIONS=e.ALL_SETTINGS_MENU_OPTIONS;exports.APP_DRAWER_CONTENT_WIDTH_PX=e.APP_DRAWER_CONTENT_WIDTH_PX;exports.AccountInfoPage=e.AccountInfoPage;exports.AccountLockedInfoModal=e.AccountLockedInfoModal;exports.AccountReconDetailsDrawerPage=e.AccountReconDetailsDrawerPage;exports.ActivityIndicator=e.ActivityIndicator;exports.AddAddressForCardDrawer=e.AddAddressForCardDrawer;exports.AddToWalletPage=e.AddToWalletPage;exports.AddressFormPage=e.AddressFormPage;exports.AgingReportsPage=e.AgingReportsPage;exports.AiCfoChatHeader=e.AiCfoChatHeader;exports.AiCfoMenuContent=e.AiCfoMenuContent;exports.AiCfoOnboardingPage=e.AiCfoOnboardingPage;exports.AiCfoPage=e.AiCfoPage;exports.AiCfoScopeModal=e.AiCfoScopeModal;exports.AiCfoScopeModalScrollBody=e.AiCfoScopeModalScrollBody;exports.AiCfoSidePanel=e.AiCfoSidePanel;exports.AiFinanceTeamReadyPage=e.AiFinanceTeamReadyPage;exports.AllowBlockChipPicker=e.AllowBlockChipPicker;exports.AnalyticsOnLoad=e.AnalyticsOnLoad;exports.ApAgingDetailPage=e.ApAgingDetailPage;exports.AppBasePage=e.AppBasePage;exports.AppDrawerContent=e.AppDrawerContent;exports.AppDrawerHeightMobile=e.AppDrawerHeightMobile;exports.ApprovalRulesSettingsPage=e.ApprovalRulesSettingsPage;exports.ArAgingDetailPage=e.ArAgingDetailPage;exports.AskAiCfoNavButton=e.AskAiCfoNavButton;exports.AskAiCfoNavButtonWhenEnabled=e.AskAiCfoNavButtonWhenEnabled;exports.AttachmentView=e.AttachmentView;exports.AutoSweepFlow=e.AutoSweepFlow;exports.AutoTransferRulePage=e.AutoTransferRulePage;exports.BackNavigationProvider=e.BackNavigationProvider;exports.BankConnectionsSettingsPage=e.BankConnectionsSettingsPage;exports.BillDetailPage=e.BillDetailPage;exports.BillDetailPageSkeleton=e.BillDetailPageSkeleton;exports.BillPayApprovalRuleDetailPage=e.BillPayApprovalRuleDetailPage;exports.BillPayApprovalRuleDetailPageV1=e.BillPayApprovalRuleDetailPage$1;exports.BillPayApprovalRulesPage=e.BillPayApprovalRulesPage;exports.BillPayApprovalRulesPageV1=e.BillPayApprovalRulesPage$1;exports.BillPayPromoPage=e.BillPayPromoPage;exports.BillPaySetUpLoading=e.SpendManagementSetUpLoading;exports.BillPaySetUpPage=e.BillPaySetUpPage;exports.BillingSettingsPage=e.BillingSettingsPage;exports.BillsBulkReviewDrawerPage=e.BillsBulkReviewDrawerPage;exports.BusinessVerificationPage=e.BusinessVerificationPage;exports.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT=e.CARD_POLICY_LIMIT_ROW_ID_REQUIRE_RECEIPT;exports.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION=e.CARD_POLICY_LIMIT_ROW_ID_TRANSACTION;exports.COMMAND_CENTER_SUBMENU_TYPES=e.COMMAND_CENTER_SUBMENU_TYPES;exports.CapitalizationOnboardingPopup=e.CapitalizationOnboardingPopup;exports.CapitalizationSettingsSection=e.CapitalizationSettingsSection;exports.CardPolicyCreatePage=e.CardPolicyCreatePage;exports.CardPolicyEditPage=e.CardPolicyEditPage;exports.CardPolicyFormPageSkeleton=e.CardPolicyFormPageSkeleton;exports.CardPolicyFormSections=e.CardPolicyFormSections;exports.CardPolicyListPage=e.CardPolicyListPage;exports.CardPolicyListPageSkeleton=e.CardPolicyListPageSkeleton;exports.CardPolicyListRow=e.CardPolicyListRow;exports.CardPolicyListSkeletonRow=e.CardPolicyListSkeletonRow;exports.CardPolicyManualEmptyState=e.CardPolicyManualEmptyState;exports.CardsAiCfoHero=e.CardsAiCfoHero;exports.CashManagementBanner=e.CashManagementBanner;exports.CashManagementNavCTA=e.CashManagementNavCTA;exports.CashOverview=e.CashOverview;exports.CashbackDetailLoading=e.CashbackDetailLoading;exports.CashbackDetailPage=e.CashbackDetailPage;exports.ChargeCardCVVActivate=e.ChargeCardCVVActivate;exports.ChargeCardDetailLoading=e.ChargeCardDetailLoading;exports.ChargeCardDetailPage=e.ChargeCardDetailPage;exports.ChargeCardListLoading=e.ChargeCardListLoading;exports.ChargeCardListPage=e.ChargeCardListPage;exports.ChargeCardListSkeletonRow=e.ChargeCardListSkeletonRow;exports.ChargeCardPaymentHistoryPage=e.ChargeCardPaymentHistoryPage;exports.ChargeCardPromoPage=e.ChargeCardPromoPage;exports.ChargeCardPromoPageSkeleton=e.ChargeCardPromoPageSkeleton;exports.ChargeCardSetUpPage=e.ChargeCardSetUpPage;exports.ChargeCardSetupLoading=e.SpendManagementSetUpLoading;exports.ChargeCardStatementsLoading=e.ChargeCardStatementsLoading;exports.ChargeCardStatementsPage=e.ChargeCardStatementsPage;exports.ChargeCardUserOnboardingPromoPage=e.ChargeCardUserOnboardingPromoPage;exports.ChargeCardUserOnboardingPromoPageSkeleton=e.ChargeCardUserOnboardingPromoPageSkeleton;exports.CheckDepositDrawerPage=e.CheckDepositDrawerPage;exports.ClickableRow=e.ClickableRow;exports.CollaborationGlobalStyles=e.CollaborationGlobalStyles;exports.CollaborationProvider=e.CollaborationProvider;exports.CollaborationRoomProvider=e.CollaborationRoomProvider;exports.Colors=e.Colors;exports.CommentsAndNotesCount=e.CommentsAndNotesCount;exports.CommentsDrawerProvider=e.CommentsDrawerProvider;exports.CompanyOfficerOnboardingDetailsSection=e.CompanyOfficerOnboardingDetailsSection;exports.CompanyOnboardingDetailsSection=e.CompanyOnboardingDetailsSection;exports.CompanyPassportCard=e.CompanyPassportCard;exports.CompanyPassportPage=e.CompanyPassportPage;exports.CompleteProfile=e.CompleteProfile;exports.ConfettiBurst=e.ConfettiBurst;exports.ConfirmationPopup=e.ConfirmationPopup;exports.ConnectDataSourcesPage=e.ConnectDataSourcesPage;exports.CreateOrEditVendorPage=e.CreateOrEditVendorPage;exports.CreateOrEditVendorPageSkeleton=e.CreateOrEditVendorPageSkeleton;exports.CreatedEntitiesAnswer=e.CreatedEntitiesAnswer;exports.CreatingEntitiesAnswerLoading=e.CreatingEntitiesAnswerLoading;exports.CreditCardPaymentDrawerPage=e.CreditCardPaymentDrawerPage;exports.CustomerOnboardingContainerPage=e.CustomerOnboardingContainerPage;exports.CustomerOnboardingNoStepsPage=e.CustomerOnboardingNoStepsPage;exports.CustomerOnboardingPage=e.CustomerOnboardingPage;exports.CustomerOnboardingProductSuitePage=e.CustomerOnboardingProductSuitePage;exports.Dashboard=e.Dashboard;exports.DashboardReportPage=e.DashboardReportPage;exports.DashboardSidebarLogoAnimation=e.DashboardSidebarLogoAnimation;exports.DataListTable=e.DataListTable;exports.DataListTableHeader=e.DataListTableHeader;exports.DataListTableRow=e.DataListTableRow;exports.DataListTableSortIndicator=e.DataListTableSortIndicator;exports.DebitCardSetPin=e.DebitCardSetPin;exports.DropdownPortalContext=e.DropdownPortalContext;exports.EditPeoplePage=e.EditPeoplePage;exports.EditReimbursementDetailPage=e.EditReimbursementDetailPage;exports.EditableBillDetailPage=e.EditableBillDetailPage;exports.EntityDetailPage=e.EntityDetailPage;exports.ErrorBoundaryWrapper=e.ErrorBoundaryWrapper;exports.ExcludedAccountReconDetailsDrawerPage=e.ExcludedAccountReconDetailsDrawerPage;exports.ExpenseAutomationOverviewPage=e.ExpenseAutomationOverviewPage;exports.ExpenseAutomationOverviewPageSkeleton=e.ExpenseAutomationOverviewPageSkeleton;exports.ExpenseAutomationPage=e.ExpenseAutomationPage;exports.ExpressPayPage=e.ExpressPayPage;exports.FeatureDynamicConfigNames=e.DynamicConfigNames;exports.FeatureGatesNames=e.FeatureGatesNames;exports.FeaturePreviewPage=e.FeaturePreviewPage;exports.FeatureProvider=e.FeatureProvider;exports.FirstReviewVendorDetailPage=e.FirstReviewVendorDetailPage;exports.FontWeight=e.FontWeight;exports.GlobalInfoProvider=e.GlobalInfoProvider;exports.GlobalReviewListPage=e.GlobalReviewListPage;exports.InformationCardStack=e.InformationCardStack;exports.InitialCollaborationProvider=e.InitialCollaborationProvider;exports.InsightsCardStack=e.InsightCardStack;exports.IntegrationsSection=e.IntegrationsSection;exports.IntegrationsSettingsPage=e.IntegrationsSettingsPage;exports.InternationalWireVerificationPage=e.InternationalWireVerificationPage;exports.InviteFormPage=e.InviteFormPage;exports.InvitePageListView=e.InvitePageListView;exports.InvitePeoplePage=e.InvitePeoplePage;exports.InvoiceUploadSection=e.InvoiceUploadSection;exports.InvoiceUploadSectionSkeleton=e.InvoiceUploadSectionSkeleton;exports.IssueChargeCardPage=e.IssueChargeCardPage;exports.IssueChargeCardPageSkeleton=e.IssueChargeCardPageSkeleton;exports.LinkBillExpensePage=e.LinkBillExpensePage;exports.LinkJETransactionPage=e.LinkJETransactionPage;exports.Loader=e.Loader;exports.LogoutButton=e.LogoutButton;exports.MCC_CHIP_ID_PREFIX=e.MCC_CHIP_ID_PREFIX;exports.MagicLinkDomesticWireDetailsPage=e.MagicLinkDomesticWireDetailsPage;exports.MagicLinkInternationalWireDetailsPage=e.MagicLinkInternationalWireDetailsPage;exports.MagicLinkSuccessPage=e.MagicLinkSuccessPage;exports.MagicLinkVendorACHDetailsPage=e.MagicLinkVendorACHDetailsPage;exports.Modal=e.Modal;exports.MonthEndEmailDrawerCustomerRequestPage=e.MonthEndEmailDrawerCustomerRequestPage;exports.MyBankConnectionsSettingsPage=e.MyBankConnectionsSettingsPage;exports.MyPendingActivationChargeCardListPage=e.MyPendingActivationChargeCardListPage;exports.MyProfileSettingsPage=e.MyProfileSettingsPage;exports.NavBar=e.NavBar;exports.NavBarRightRowStyled=e.NavBarRightRowStyled;exports.NewGlobalMerchantPage=e.NewGlobalMerchantPage;exports.NewUpdateAvailablePage=e.NewUpdateAvailablePage;exports.NotFoundPage=e.NotFoundPage;exports.NotificationIcon=e.SvgNotification;exports.NotificationSettingsPage=e.NotificationSettingsPage;exports.NotificationsPage=e.NotificationsPage;exports.OAuthConsentPage=e.OAuthConsentPage;exports.OnboardingInitialLoader=e.OnboardingInitialLoader;exports.OnboardingSidebar=e.OnboardingSidebar;exports.OnboardingStepFrame=e.OnboardingStepFrame;exports.OpExByVendorPage=e.OpExByVendorPage;exports.OverlayContainerPage=e.OverlayContainerPage;exports.PandLWithForecastPage=e.PandLWithForecastPage;exports.PanelInternalContext=e.PanelInternalContext;exports.PaymentAccountSetupBillingAddressSection=e.PaymentAccountSetupBillingAddressSection;exports.PeoplePage=e.PeoplePage;exports.Picker=e.Picker;exports.PolicyLimitsRowList=e.PolicyLimitsRowList;exports.PolicyModeSelector=e.PolicyModeSelector;exports.PortfolioAllocationFormPage=e.PortfolioAllocationFormPage;exports.QBOConnectionDialog=e.QBOConnectionDialog;exports.QBOSetupSectionWithForm=e.QBOSetupSectionWithForm;exports.QuickResponsesPage=e.QuickResponsesPage;exports.QuickViewModeContext=e.QuickViewModeContext;exports.RIGHT_SIDE_PANEL_WIDTH_PX=e.RIGHT_SIDE_PANEL_WIDTH_PX;exports.ReferralDrawerPage=e.DrawerPage;exports.ReimbursementApprovalRuleDetailPage=e.ReimbursementApprovalRuleDetailPage;exports.ReimbursementApprovalRuleDetailPageV1=e.ReimbursementApprovalRuleDetailPage$1;exports.ReimbursementApprovalRulesPage=e.ReimbursementApprovalRulesPage;exports.ReimbursementApprovalRulesPageV1=e.ReimbursementApprovalRulesPage$1;exports.ReimbursementDetailPage=e.ReimbursementDetailPage;exports.ReimbursementDetailPageSkeleton=e.ReimbursementDetailPageSkeleton;exports.ReimbursementPromoPage=e.ReimbursementPromoPage;exports.ReimbursementSetUpLoading=e.SpendManagementSetUpLoading;exports.ReimbursementSetUpPage=e.RemiSetupPage;exports.RemisBulkReviewDrawerPage=e.ReimbursementsBulkReviewDrawerPage;exports.ReportsPage=e.ReportsPage;exports.ResponsiveSized=e.ResponsiveSized;exports.ReviewBillDetailsPage=e.ReviewBillDetailsPage;exports.ReviewConfirmTransferPanel=e.ReviewConfirmTransferPanel;exports.ReviewDetailsPageSkeleton=e.ReviewDetailsPageSkeleton;exports.ScheduleDetailSkeleton=e.ScheduleDetailSkeleton;exports.ScheduleDetailsAccruedExpensesPage=e.ScheduleDetailsAccruedExpensesPage;exports.ScheduleDetailsFixedAssetsPage=e.ScheduleDetailsFixedAssetsPage;exports.ScheduleDetailsPage=e.ScheduleDetailsPage;exports.SchedulePanelInternalContext=e.SchedulePanelInternalContext;exports.SearchableCheckboxCardList=e.SearchableCheckboxCardList;exports.SessionTimeoutPopup=e.SessionTimeoutPopup;exports.SidePanelContext=e.SidePanelContext;exports.SidePanelProvider=e.SidePanelProvider;exports.SignIn=e.SignIn;exports.SomethingWrongPage=e.SomethingWrongPage;exports.Space=e.Space;exports.SpendManagementListLoading=e.SpendManagementListLoading;exports.SpendManagementListViewPage=e.SpendManagementListViewPage;exports.StatementsPage=e.StatementsPage;exports.StyledCapsule=e.StyledCapsule;exports.SubscriptionDetailPage=e.SubscriptionDetailPage;exports.SubscriptionSummaryPage=e.SubscriptionSummaryPage;exports.SyntheticAiCfoAnswerView=e.SyntheticAiCfoAnswerView;exports.TaskDetailPage=e.TaskDetailPage;exports.TaskManagementPage=e.TaskManagementPage;exports.TenantsDropDown=e.TenantsDropDown;exports.TextStyle=e.TextStyle;exports.ToolkitProvider=e.ToolkitProvider;exports.TopExDetailPage=e.TopExDetailPage;exports.TransactionActivityLogPage=e.TransactionActivityLogPage;exports.TransactionActivityLogPanel=e.TransactionActivityLogPanel;exports.TransactionDetailPage=e.TransactionDetailPage;exports.TransactionDetailSkeleton=e.TransactionDetailSkeleton;exports.TransactionListBig=e.TransactionListBig;exports.TransactionListPage=e.TransactionListPage;exports.TransactionPanelInternalContext=e.TransactionPanelInternalContext;exports.TransactionSidePanelLayout=e.TransactionSidePanelLayout;exports.TransactionVendorDetailPage=e.TransactionVendorDetailPage;exports.TransferDrawerPage=e.TransferDrawerPage;exports.TreasuryOverviewPage=e.TreasuryOverviewPage;exports.TreasuryPromoPage=e.TreasuryPromoPage;exports.TreasurySetUpPage=e.TreasurySetUpPage;exports.TreasuryStatementsPage=e.TreasuryStatementsPage;exports.TreasuryTaxLetterPage=e.TreasuryTaxLetterPage;exports.TreasuryTransferOrReviewPage=e.TreasuryTransferOrReviewPage;exports.TrendChart=e.TrendChart;exports.UncategorizedAccountsMappingPage=e.UncategorizedAccountsMappingPage;exports.UnitIntegrationPage=e.UnitIntegrationPage;exports.VENDOR_CHIP_ID_PREFIX=e.VENDOR_CHIP_ID_PREFIX;exports.Vendor2FAPopup=e.Vendor2FAPopup;exports.VendorACHDetailsPage=e.VendorACHDetailsPage;exports.VendorAccruedSchedulesPage=e.VendorAccruedSchedulesPage;exports.VendorDetailPage=e.VendorDetailPage;exports.VendorDomesticWireDetailsPage=e.VendorDomesticWireDetailsPage;exports.VendorFiling1099DetailsEditablePage=e.VendorFiling1099DetailsEditablePage;exports.VendorFiling1099EditableFormSkeleton=e.VendorFiling1099EditableFormSkeleton;exports.VendorFiling1099ListPage=e.VendorFiling1099ListPage;exports.VendorFirstReviewPage=e.VendorFirstReviewPage;exports.VendorInternationalSwiftBasedDetailsPage=e.VendorInternationalSwiftBasedDetailsPage;exports.VendorInternationalWireDetailsPage=e.VendorInternationalWireDetailsPage;exports.VendorListPage=e.VendorListPage;exports.VendorSchedulesPage=e.VendorSchedulesPage;exports.VerificationFrame=e.VerificationFrame;exports.VerifyDevice=e.VerifyDevice;exports.VerifyUnlockFinancialStackPage=e.VerifyUnlockFinancialStackPage;exports.WebV2MicroService=e.WebV2MicroService;exports.WebV2MicroServiceProvider=e.WebV2MicroServiceProvider;exports.WelcomeAnimation=e.WelcomeAnimation;exports.WindowSizeProvider=e.WindowSizeProvider;exports.ZeniAccountDetailLoading=e.ZeniAccountDetailLoading;exports.ZeniAccountDetailNavBarTitleShimmer=e.ZeniAccountDetailNavBarTitleShimmer;exports.ZeniAccountDetailPage=e.ZeniAccountDetailPage;exports.ZeniAccountListLoading=e.ZeniAccountListLoading;exports.ZeniAccountListViewPage=e.ZeniAccountListViewPage;exports.ZeniAccountPromoPage=e.ZeniAccountPromoPage;exports.ZeniAccountSetUpPage=e.ZeniAccountSetUpPage;exports.ZeniText=e.ZeniText;exports.ZeniThemeProvider=e.ZeniThemeProvider;exports.alignToJustify=e.alignToJustify;exports.amountToString=e.amountToString;exports.amountValueToString=e.amountValueToString;exports.appLocale=e.appLocale;exports.applyExtractedPolicyRulesToFormValues=e.applyExtractedPolicyRulesToFormValues;exports.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm=e.buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm;exports.buildCardPolicyFormValuesFromRequest=e.buildCardPolicyFormValuesFromRequest;exports.buildCreateCardPolicyTemplateRequest=e.buildCreateCardPolicyTemplateRequest;exports.buildCreateCardPolicyTemplateRequestFromInteractiveForm=e.buildCreateCardPolicyTemplateRequestFromInteractiveForm;exports.buildMccCategoryChipId=e.buildMccCategoryChipId;exports.buildStickyKeySet=e.buildStickyKeySet;exports.buildVendorChipId=e.buildVendorChipId;exports.cellVerticalAlignToFlexAlign=e.cellVerticalAlignToFlexAlign;exports.clearAutoLogoutContext=e.clearAutoLogoutContext;exports.clickableRowStyles=e.clickableRowStyles;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.getAlpha2=e.getAlpha2;exports.getAlpha3=e.getAlpha3;exports.getColorForALabel=e.getColorForALabel;exports.getCountries=e.getCountries;exports.getCustomerDataFromAutoComplete=e.getCustomerDataFromAutoComplete;exports.getFullName=e.getFullName;exports.getInitialOpenThreadRequestFromSearch=e.getInitialOpenThreadRequestFromSearch;exports.getRecipientTotalAmount=e.getRecipientTotalAmount;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.isCloseManagementMenu=e.isCloseManagementMenu;exports.isClosedCardStatus=e.isClosedCardStatus;exports.isCollaborationEntityType=e.isCollaborationEntityType;exports.isMobileOrTabletView=e.isMobileOrTabletView;exports.isMobilePhoneScreen=e.isMobilePhoneScreen;exports.lightColors=e.lightColors;exports.lightTheme=e.lightTheme;exports.mergeColumnDeclarativeWithRenderers=e.mergeColumnDeclarativeWithRenderers;exports.mergeLayoutDefaults=e.mergeLayoutDefaults;exports.percentValueToString=e.percentValueToString;exports.resolveColumnWidth=e.resolveColumnWidth;exports.roundAmountIfNeeded=e.roundAmountIfNeeded;exports.roundOffNumberToTwoDecimal=e.roundOffNumberToTwoDecimal;exports.setAutoLogoutContext=e.setAutoLogoutContext;exports.setShowNegativeAmountInParenthesisDefaultValue=e.setShowNegativeAmountInParenthesisDefaultValue;exports.setShowNegativeAmountInParenthesisForPercentDefaultValue=e.setShowNegativeAmountInParenthesisForPercentDefaultValue;exports.sp=e.sp;exports.textAlignForCell=e.textAlignForCell;exports.textStyles=e.textStyles;exports.toInstitutionLogoDataUri=e.toInstitutionLogoDataUri;exports.toMccCategoryChipFieldValue=e.toMccCategoryChipFieldValue;exports.toMenuOptionType=e.toMenuOptionType;exports.toSettingsMenuOptionTypeStrict=e.toSettingsMenuOptionTypeStrict;exports.toSupportedLocaleStrict=e.toSupportedLocaleStrict;exports.toVendorChipFieldValue=e.toVendorChipFieldValue;exports.trackTreasuryTransferAnalytics=e.trackTreasuryTransferAnalytics;exports.uploadAttachmentReceipts=e.uploadAttachmentReceipts;exports.useApprovalRulesV3Config=e.useApprovalRulesV3Config;exports.useBackNavigation=e.useBackNavigation;exports.useCollaborationInfoContext=e.useCollaborationInfoContext;exports.useCommentsDrawer=e.useCommentsDrawer;exports.useDropdownPortal=e.useDropdownPortal;exports.useExpenseAutomationEnabledForUser=e.useExpenseAutomationEnabledForUser;exports.useGlobalInfoContext=e.useGlobalInfoContext;exports.useLockBodyScroll=e.useLockBodyScroll;exports.usePanelInternal=e.usePanelInternal;exports.usePrevious=e.usePrevious;exports.useQuickViewMode=e.useQuickViewMode;exports.useRegisterBackHandler=e.useRegisterBackHandler;exports.useRequestCloseAllCommentDrawers=e.useRequestCloseAllCommentDrawers;exports.useSchedulePanelInternal=e.useSchedulePanelInternal;exports.useSessionAutoLogoutConfig=e.useSessionAutoLogoutConfig;exports.useSidePanelContext=e.useSidePanelContext;exports.useToolkitContext=e.useToolkitContext;exports.useTransactionPanelInternal=e.useTransactionPanelInternal;exports.useWindowSizeContext=e.useWindowSizeContext;exports.useZeniFeatureContext=e.useZeniFeatureContext;exports.useZeniThemeContext=e.useZeniThemeContext;exports.waitFor=e.waitFor;exports.useZeniTheme=a.useTheme;exports.zeniStyled=a.styled;exports.zeniEmotionStyled=t;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as t, b as o, c as i, d as n, f as r, g as l, h as g, i as d, j as P, k as c, n as u, o as C, p as m, q as h, r as S, s as p, t as A, u as b, v as f, w as D, x as T, B as y, C as R, D as v, E as I, F as L, G as w, H as k, I as V, J as F, K as E, L as O, M as B, N as M, Q as x, R as N, S as _, T as W, U, V as H, W as Z, X as G, Y as Q, ej as q, Z as z, _ as X, $ as j, a0 as Y, a3 as $, a4 as J, a5 as K, a8 as aa, a9 as ea, aa as sa, ab as ta, ac as oa, ad as ia, ae as na, af as ra, ag as la, ah as ga, ai as da, aj as Pa, ak as ca, al as ua, am as Ca, an as ma, ao as ha, ap as Sa, aq as pa, ar as Aa, as as ba, at as fa, au as Da, av as Ta, aw as ya, ax as Ra, ay as va, ej as Ia, az as La, aA as wa, aB as ka, aC as Va, aD as Fa, aF as Ea, aG as Oa, aH as Ba, aI as Ma, aJ as xa, aL as Na, aM as _a, aO as Wa, aP as Ua, aQ as Ha, aR as Za, aS as Ga, aT as Qa, aW as qa, aX as za, a_ as Xa, a$ as ja, b0 as Ya, b1 as $a, b2 as Ja, b3 as Ka, b4 as ae, b5 as ee, b6 as se, b9 as te, ba as oe, bb as ie, bc as ne, bd as re, be as le, bf as ge, bh as de, bk as Pe, bn as ce, bo as ue, bp as Ce, bu as me, bv as he, bw as Se, bx as pe, by as Ae, bz as be, bA as fe, bl as De, bL as Te, bM as ye, bN as Re, bR as ve, bT as Ie, bV as Le, bW as we, c3 as ke, c4 as Ve, c5 as Fe, c6 as Ee, c7 as Oe, c8 as Be, c9 as Me, ca as xe, cb as Ne, cc as _e, cd as We, ce as Ue, cf as He, cC as Ze, cD as Ge, cF as Qe, cG as qe, cH as ze, cO as Xe, cP as je, cQ as Ye, cR as $e, cT as Je, cV as Ke, cZ as as, c_ as es, c$ as ss, d2 as ts, d3 as os, d5 as is, d6 as ns, d7 as rs, f4 as ls, d8 as gs, d9 as ds, da as Ps, dh as cs, di as us, dj as Cs, dk as ms, dl as hs, dm as Ss, dn as ps, dp as As, dq as bs, dr as fs, ds as Ds, dt as Ts, du as ys, dv as Rs, dw as vs, dx as Is, dy as Ls, dA as ws, bi as ks, dB as Vs, dC as Fs, dD as Es, dE as Os, dF as Bs, dG as Ms, dH as xs, ej as Ns, dK as _s, dI as Ws, dL as Us, dM as Hs, dO as Zs, dP as Gs, dQ as Qs, dR as qs, dS as zs, dT as Xs, dU as js, dV as Ys, dX as $s, dY as Js, dZ as Ks, d_ as at, d$ as et, ef as st, eg as tt, eh as ot, ei as it, ev as nt, ex as rt, eA as lt, eC as gt, fg as dt, fh as Pt, fi as ct, fj as ut, fl as Ct, fp as mt, fr as ht, fs as St, ft as pt, fu as At, fv as bt, fw as ft, fx as Dt, fy as Tt, fz as yt, fA as Rt, fB as vt, fC as It, fD as Lt, fE as wt, fF as kt, fG as Vt, fH as Ft, fI as Et, fJ as Ot, fK as Bt, fN as Mt, fO as xt, fP as Nt, fQ as _t, fR as Wt, fS as Ut, fT as Ht, fU as Zt, fV as Gt, fW as Qt, fX as qt, fY as zt, fZ as Xt, f_ as jt, f$ as Yt, g0 as $t, g1 as Jt, g2 as Kt, g3 as ao, g4 as eo, g5 as so, g6 as to, g7 as oo, g8 as io, g9 as no, ga as ro, gb as lo, gc as go, gf as Po, gg as co, gh as uo, gi as Co, gj as mo, gk as ho, gl as So, gn as po, go as Ao, gp as bo, gq as fo, gr as Do, gs as To, gt as yo, gv as Ro, gw as vo, gx as Io, gy as Lo, gA as wo, gB as ko, gD as Vo, gC as Fo, gH as Eo, gI as Oo, gK as Bo, gL as Mo, gM as xo, gQ as No, gT as _o, gX as Wo, g$ as Uo, h0 as Ho, h1 as Zo, h8 as Go, h9 as Qo, ha as qo, hb as zo, hc as Xo, he as jo, hf as Yo, hg as $o, hh as Jo, hi as Ko, hj as ai, hk as ei, hl as si, hn as ti, ho as oi, hp as ii, hq as ni, hr as ri, hs as li, hu as gi, hv as di, hw as Pi, hx as ci, hy as ui, hz as Ci, hA as mi, hB as hi, hD as Si, hE as pi, hF as Ai, hG as bi, hI as fi, hJ as Di, hM as Ti, hO as yi, hP as Ri, hQ as vi, hR as Ii, hS as Li, hT as wi, hU as ki, hV as Vi, hW as Fi, hX as Ei, hY as Oi, hZ as Bi, h_ as Mi, h$ as xi, i0 as Ni } from "./SessionTimeoutPopup-fksT7FXp.js";
1
+ import { A as s, a as t, b as o, c as i, d as n, f as r, g as l, h as g, i as d, j as P, k as c, n as u, o as C, p as m, q as h, r as S, s as p, t as A, u as b, v as f, w as D, x as T, B as y, C as R, D as v, E as I, F as L, G as w, H as k, I as V, J as F, K as E, L as O, M as B, N as M, Q as x, R as N, S as _, T as W, U, V as H, W as Z, X as G, Y as Q, ej as q, Z as z, _ as X, $ as j, a0 as Y, a3 as $, a4 as J, a5 as K, a8 as aa, a9 as ea, aa as sa, ab as ta, ac as oa, ad as ia, ae as na, af as ra, ag as la, ah as ga, ai as da, aj as Pa, ak as ca, al as ua, am as Ca, an as ma, ao as ha, ap as Sa, aq as pa, ar as Aa, as as ba, at as fa, au as Da, av as Ta, aw as ya, ax as Ra, ay as va, ej as Ia, az as La, aA as wa, aB as ka, aC as Va, aD as Fa, aF as Ea, aG as Oa, aH as Ba, aI as Ma, aJ as xa, aL as Na, aM as _a, aO as Wa, aP as Ua, aQ as Ha, aR as Za, aS as Ga, aT as Qa, aW as qa, aX as za, a_ as Xa, a$ as ja, b0 as Ya, b1 as $a, b2 as Ja, b3 as Ka, b4 as ae, b5 as ee, b6 as se, b9 as te, ba as oe, bb as ie, bc as ne, bd as re, be as le, bf as ge, bh as de, bk as Pe, bn as ce, bo as ue, bp as Ce, bu as me, bv as he, bw as Se, bx as pe, by as Ae, bz as be, bA as fe, bl as De, bL as Te, bM as ye, bN as Re, bR as ve, bT as Ie, bV as Le, bW as we, c3 as ke, c4 as Ve, c5 as Fe, c6 as Ee, c7 as Oe, c8 as Be, c9 as Me, ca as xe, cb as Ne, cc as _e, cd as We, ce as Ue, cf as He, cC as Ze, cD as Ge, cF as Qe, cG as qe, cH as ze, cO as Xe, cP as je, cQ as Ye, cR as $e, cT as Je, cV as Ke, cZ as as, c_ as es, c$ as ss, d2 as ts, d3 as os, d5 as is, d6 as ns, d7 as rs, f4 as ls, d8 as gs, d9 as ds, da as Ps, dh as cs, di as us, dj as Cs, dk as ms, dl as hs, dm as Ss, dn as ps, dp as As, dq as bs, dr as fs, ds as Ds, dt as Ts, du as ys, dv as Rs, dw as vs, dx as Is, dy as Ls, dA as ws, bi as ks, dB as Vs, dC as Fs, dD as Es, dE as Os, dF as Bs, dG as Ms, dH as xs, ej as Ns, dK as _s, dI as Ws, dL as Us, dM as Hs, dO as Zs, dP as Gs, dQ as Qs, dR as qs, dS as zs, dT as Xs, dU as js, dV as Ys, dX as $s, dY as Js, dZ as Ks, d_ as at, d$ as et, ef as st, eg as tt, eh as ot, ei as it, ev as nt, ex as rt, eA as lt, eC as gt, fg as dt, fh as Pt, fi as ct, fj as ut, fl as Ct, fp as mt, fr as ht, fs as St, ft as pt, fu as At, fv as bt, fw as ft, fx as Dt, fy as Tt, fz as yt, fA as Rt, fB as vt, fC as It, fD as Lt, fE as wt, fF as kt, fG as Vt, fH as Ft, fI as Et, fJ as Ot, fK as Bt, fN as Mt, fO as xt, fP as Nt, fQ as _t, fR as Wt, fS as Ut, fT as Ht, fU as Zt, fV as Gt, fW as Qt, fX as qt, fY as zt, fZ as Xt, f_ as jt, f$ as Yt, g0 as $t, g1 as Jt, g2 as Kt, g3 as ao, g4 as eo, g5 as so, g6 as to, g7 as oo, g8 as io, g9 as no, ga as ro, gb as lo, gc as go, gf as Po, gg as co, gh as uo, gi as Co, gj as mo, gk as ho, gl as So, gn as po, go as Ao, gp as bo, gq as fo, gr as Do, gs as To, gt as yo, gv as Ro, gw as vo, gx as Io, gy as Lo, gA as wo, gB as ko, gD as Vo, gC as Fo, gH as Eo, gI as Oo, gK as Bo, gL as Mo, gM as xo, gQ as No, gT as _o, gX as Wo, g$ as Uo, h0 as Ho, h1 as Zo, h8 as Go, h9 as Qo, ha as qo, hb as zo, hc as Xo, he as jo, hf as Yo, hg as $o, hh as Jo, hi as Ko, hj as ai, hk as ei, hl as si, hn as ti, ho as oi, hp as ii, hq as ni, hr as ri, hs as li, hu as gi, hv as di, hw as Pi, hx as ci, hy as ui, hz as Ci, hA as mi, hB as hi, hD as Si, hE as pi, hF as Ai, hG as bi, hI as fi, hJ as Di, hM as Ti, hO as yi, hP as Ri, hQ as vi, hR as Ii, hS as Li, hT as wi, hU as ki, hV as Vi, hW as Fi, hX as Ei, hY as Oi, hZ as Bi, h_ as Mi, h$ as xi, i0 as Ni } from "./SessionTimeoutPopup-Dt1NMLn5.js";
2
2
  import { aL as Wi, aA as Ui } from "./vendor-.pnpm-EsH0c3YJ.js";
3
3
  import { default as Zi } from "@emotion/styled";
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -50,7 +50,7 @@
50
50
  "@stripe/react-stripe-js": "^2.7.3",
51
51
  "@stripe/stripe-js": "^4.4.0",
52
52
  "@zeniai/client-analytics": "2.0.28",
53
- "@zeniai/client-epic-state": "5.1.16",
53
+ "@zeniai/client-epic-state": "5.1.21",
54
54
  "autosuggest-highlight": "^3.2.1",
55
55
  "browser-image-compression": "^2.0.2",
56
56
  "countries-list": "^2.6.1",