@zeniai/web-components 4.2.57-betaAK0 → 4.2.57-betaAK1

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.
@@ -290725,16 +290725,19 @@ const {
290725
290725
  }, fe = le.find(
290726
290726
  (Ie) => Ie.id === n.transactionId
290727
290727
  ), ue = (Ie, ve) => {
290728
- const { transactionType: Pe } = ve.transactionReviewLocalData, Ee = Ie.target;
290729
- let _e = Ee;
290730
- for (; _e; ) {
290731
- if (_e.classList.contains("select-value-container") || _e !== Ee && _e.classList.contains("item-value-container") || _e.classList.contains(
290732
- "grouped-single-select-field__value-container"
290733
- ) || _e.classList.contains(
290734
- "auto-complete-grouped-creatable-single-custom-group-select-field__option"
290735
- ) || _e.classList.contains("grouped-single-select-field__input") || _e.classList.contains("grouped-single-select-field__menu"))
290736
- return;
290737
- _e = _e.parentElement;
290728
+ const { transactionType: Pe } = ve.transactionReviewLocalData;
290729
+ if (D !== !0) {
290730
+ const Ee = Ie.target;
290731
+ let _e = Ee;
290732
+ for (; _e; ) {
290733
+ if (_e.classList.contains("select-value-container") || _e !== Ee && _e.classList.contains("item-value-container") || _e.classList.contains(
290734
+ "grouped-single-select-field__value-container"
290735
+ ) || _e.classList.contains(
290736
+ "auto-complete-grouped-creatable-single-custom-group-select-field__option"
290737
+ ) || _e.classList.contains("grouped-single-select-field__input") || _e.classList.contains("grouped-single-select-field__menu"))
290738
+ return;
290739
+ _e = _e.parentElement;
290740
+ }
290738
290741
  }
290739
290742
  Pe != null && b(
290740
290743
  ve.transactionId,
@@ -75020,7 +75020,7 @@ ${ii.beneficiaryAddress} ${X}`,d(xe),L(!0)},ne=(me,xe,oe,de)=>{let pe,fe;switch(
75020
75020
  }
75021
75021
  `,eUs=s(xt)`
75022
75022
  display: flex;
75023
- `,k_="expenseAutomationTransactionsPage",e4="transactionCategorizationListTable",tr="account",Qc="class",Wj="project",Up="lineEntitySelection",tUs="lineEntity",oUs="recommendations",hVe="lineInfo",nUs="vendorDetails",sUs="customerDetails",vk="selectedTransactionIds",kx=(e,n,i)=>`${e}.${i}.${n}`,iUs=e=>j.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},j.createElement("path",{d:"M4.85022 13.5836L5.52057 12.9133C5.63229 12.8016 5.77164 12.7217 5.92438 12.6815C6.07712 12.6413 6.23779 12.6424 6.38999 12.6846C6.54218 12.7268 6.68046 12.8086 6.7907 12.9217C6.90094 13.0348 6.97919 13.1751 7.01747 13.3283L7.08174 13.5836L7.8119 13.0972C7.98361 12.9827 8.1897 12.9312 8.39508 12.9515C8.60046 12.9719 8.79245 13.0628 8.93837 13.2087L9.31326 13.5836H11.0985",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M17.4206 6H2.24629C2.12792 6 2.01441 6.04702 1.93071 6.13072C1.84701 6.21442 1.79999 6.32794 1.79999 6.4463V17.1576C1.79999 17.276 1.84701 17.3895 1.93071 17.4732C2.01441 17.5569 2.12792 17.6039 2.24629 17.6039H21.8837C22.0021 17.6039 22.1156 17.5569 22.1993 17.4732C22.283 17.3895 22.33 17.276 22.33 17.1576V6.4463C22.33 6.32794 22.283 6.21442 22.1993 6.13072C22.1156 6.04702 22.0021 6 21.8837 6H17.4206Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M16.0854 9.6521H19.6559V12.0656H16.0854V9.6521Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),rUs=e=>j.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},j.createElement("path",{d:"M20.25 19.5H6.75C6.55109 19.5 6.36032 19.421 6.21967 19.2803C6.07902 19.1397 6 18.9489 6 18.75V2.25C6 2.05109 6.07902 1.86032 6.21967 1.71967C6.36032 1.57902 6.55109 1.5 6.75 1.5H15.75L21 6.75V18.75C21 18.9489 20.921 19.1397 20.7803 19.2803C20.6397 19.421 20.4489 19.5 20.25 19.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M15.75 1.5V6.75H21",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M10.4941 11.2559H16.4941",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M10.4941 14.2559H16.4941",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M16.5 22.5H3V5.85315",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:{strings:{underscore:aUs,hyphen:Ix,empty:v2,colon:Hwe},tooltips:{addReceipt:lUs,viewReceipt:cUs,viewReceipts:dUs}},expenseAutomation:{transactions:Ad},dateFormat:uUs}=F.getLocalizedStrings(),np={containerPaddingLeftRight:new w(p[3],p[3]),containerPaddingTopBottom:new w(6,6),controlHeight:new w(p[4],p[5]),nameLogoWidth:new w(p[2],p[3]),nameLogoHeight:new w(p[2],p[3]),borderRadius:6},Wwe=({windowSize:e,wrapperWidth:n,widthPercentage:i})=>t.jsxRuntimeExports.jsxs(Ma,{windowSize:e,wrapperWidth:n,widthPercentage:i,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx("span",{})}),t.jsxRuntimeExports.jsx(X7,{children:t.jsxRuntimeExports.jsx(je,{width:"100%",height:p[4]})})]}),pUs=(e,n)=>e==="journal_entry"&&n==="credit",mUs=({transactionView:e,transaction:n,sectionId:i,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:a,selectedTab:l,containerRef:c,listContainerRef:d,isAccountingClassesEnabled:u,showProjectField:m,isCOTEnabled:x,isCreateTransferEntryFromExpenseEnabled:g,transferConvertibleSourceTypes:f,isPanelSelected:y,cotTracking:C,onTransactionCategorizationRowClick:b,setCurrentTransactionInAction:E,vendorLoadOptions:A,openTooltipId:R,setOpenTooltipId:$,isUncategorizedExpenseCategoryEnabled:k,onOpenTransferDrawer:I,authParams:S,onUploadTransactionReceipt:T,rowCommenting:B})=>{const L=J(),D=Rr(),O=bM(),{isCommentingActive:M,rowRef:_,totalThreadCount:Q,isThreadsLoading:z,handleActiveThreadClick:H,handleAddRowCommentClick:N}=B,[V,Y]=h.useState(!1),{lineItemById:q,sortedLineItems:ee}=n.transactionReviewLocalData,G=n.transactionReviewLocalData.tabSpecificLineItems?.[l]||[],Z=ee.filter(Re=>G.indexOf(Re)!==-1),K=[];Z.forEach(Re=>{K.push(q[Re])});const{accountList:X,accountsHierarchyList:te,classHierarchyList:ie,classList:se,projectList:ne,uncategorizedAccounts:re,transactions:le,selectedCheckBoxTransactionIds:ae}=e,me=ne?.projects??[],xe=e.uploadReceiptStatusById,oe=ae.includes(n.transactionId),de=D!==!0&&oe===!0,pe=t.useTheme(),fe={control:()=>({marginLeft:-2,backgroundColor:V?pe.colors.background:pe.colors.grey5,minHeight:p[5]}),valueContainer:()=>({justifyContent:"flex-start",paddingLeft:p[0],height:p[5],backgroundColor:pe.colors.grey5}),menu:()=>({width:"150%",background:pe.colors.grey5}),singleValue:()=>({color:V||de?pe.colors.primary:pe.colors.champion,paddingLeft:p[2]}),input:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion,textAlign:"left",paddingLeft:p[2]}),menuPortal:Re=>({...Re,zIndex:10})},ce={...fe,singleValue:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion}),menu:()=>({marginTop:p[1],marginLeft:-p[2]}),input:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion,textAlign:"left",...W.standardMedium}),control:Re=>({...Re,height:p[5]})},ge=le.find(Re=>Re.id===n.transactionId),ue=(Re,we)=>{const{transactionType:ke}=we.transactionReviewLocalData,Se=Re.target;let Fe=Se;for(;Fe;){if(Fe.classList.contains("select-value-container")||Fe!==Se&&Fe.classList.contains("item-value-container")||Fe.classList.contains("grouped-single-select-field__value-container")||Fe.classList.contains("auto-complete-grouped-creatable-single-custom-group-select-field__option")||Fe.classList.contains("grouped-single-select-field__input")||Fe.classList.contains("grouped-single-select-field__menu"))return;Fe=Fe.parentElement}ke!=null&&b(we.transactionId,ke)},he=h.useRef(null),[ye,Ae]=h.useState(void 0),[ve,$e]=h.useState("bottom");return h.useEffect(()=>{if(ye===void 0)return;const we=d?.current?._outerRef??null,ke=()=>{const Se=he.current;if(Se==null||we==null)return;const Fe=Se.getBoundingClientRect(),Pe=we.getBoundingClientRect(),Ee=we.scrollTop+(Fe.bottom-Pe.top),Te=we.scrollHeight-Ee;$e(Te>=288?"bottom":"top")};return ke(),window.addEventListener("resize",ke),we?.addEventListener("scroll",ke),()=>{window.removeEventListener("resize",ke),we?.removeEventListener("scroll",ke)}},[d,ye]),t.jsxRuntimeExports.jsx(hUs,{ref:_,onMouseEnter:()=>Y(!0),onMouseLeave:()=>Y(!1),children:t.jsxRuntimeExports.jsxs(fUs,{className:"categorization-row-card",windowSize:L,isSelected:oe,isPanelSelected:y,isQuickViewMode:D,isHovered:V,style:{position:"relative"},children:[t.jsxRuntimeExports.jsx(yUs,{windowSize:L,isQuickViewMode:D,children:K.map((Re,we)=>t.jsxRuntimeExports.jsx(CUs,{ref:ye===we?he:void 0,isFirstItem:we===0,isLastItem:we===K.length-1,"data-testid":P("transaction-categorization-list-row",Re.lineId),flexibleWidth:O,isQuickViewMode:D,windowSize:L,onClick:ke=>ue(ke,n),children:t.jsxRuntimeExports.jsx(xUs,{isAccountingClassesEnabled:u,showProjectField:m,allProjectList:me,line:Re,isHovered:V||de||y,isSelected:oe,isQuickViewMode:D,lineIndex:we,sectionId:i,transaction:n,currentTransaction:ge,windowSize:L,accountsHierarchyList:te,classHierarchyList:ie,allAccountList:X,allClassList:se,uncategorizedAccounts:re,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:a,setCurrentTransactionInAction:E,vendorLoadOptions:A,customStyle:fe,customStyleAutoComplete:ce,recommendations:Re.recommendationsWithCOT,selectedTab:l,isCOTEnabled:x,menuPlacement:ve,cotTracking:C,openTooltipId:R,setOpenTooltipId:$,isUncategorizedExpenseCategoryEnabled:k,authParams:S,uploadReceiptStatus:xe?.[n.transactionId],onUploadTransactionReceipt:T,onDropdownClose:()=>Ae(void 0),onDropdownOpen:()=>Ae(we),onOpenTransferDrawer:I,isCreateTransferEntryFromExpenseEnabled:g,transferConvertibleSourceTypes:f})},`${n.transactionId}.${Re.lineId}.${we}`))},n.transactionId),D===!0&&M&&Q>0?t.jsxRuntimeExports.jsx(Ca,{flushRight:!0,children:t.jsxRuntimeExports.jsx(Ea,{isLoading:z,count:Q,style:{backgroundColor:pe.colors.grey4,borderRadius:"50% 50% 50% 0",cursor:"pointer"},openThread:H})}):null,D===!0&&M&&z===!1&&Q===0?t.jsxRuntimeExports.jsx(Ca,{flushRight:!0,innerClassName:"comment-add-icon",children:t.jsxRuntimeExports.jsx(by,{"data-testid":P("expense-automation-transaction-row-add-comment",n.transactionId),onClick:N})}):null,t.jsxRuntimeExports.jsx(Ob,{state:B})]},n.transactionId)})},xUs=({accountsHierarchyList:e,allAccountList:n,allClassList:i,allProjectList:r,showProjectField:a,classHierarchyList:l,customStyle:c,customStyleAutoComplete:d,line:u,lineIndex:m,transaction:x,currentTransaction:g,windowSize:f,uncategorizedAccounts:y,isHovered:C=!1,isQuickViewMode:b=!1,sectionId:E,recommendations:A,vendorSearchAutoCompleteData:R,selectedTab:$,isCOTEnabled:k,menuPlacement:I,cotTracking:S,openTooltipId:T,setCurrentTransactionInAction:B,vendorLoadOptions:L,setOpenTooltipId:D,isUncategorizedExpenseCategoryEnabled:O,isAccountingClassesEnabled:M,isCreateTransferEntryFromExpenseEnabled:_,transferConvertibleSourceTypes:Q,onDropdownClose:z,onDropdownOpen:H,authParams:N,onOpenTransferDrawer:V,uploadReceiptStatus:Y,onUploadTransactionReceipt:q})=>{const{transactionDate:ee,transactionType:G,transactionTypeName:Z,memo:K}=x.transactionReviewLocalData,[X,te]=h.useState(!1),ie=h.useMemo(()=>typeof document<"u"?document.body:null,[]),se=h.useMemo(()=>({...c,control:()=>({height:0,minHeight:0,overflow:"hidden",border:"none",padding:0,margin:0}),menuPortal:Ft=>({...Ft,zIndex:RK})}),[c]),ne=g?.account?.accountType,re=(g?.totalLinesCount??0)>1,le=_===!0&&_I(ne,G)&&!re,ae=_===!0&&_I(ne,G)&&re,me=g?.accountIntegrationId,xe=kx(E,"transactionType",m.toString()),{setValue:oe,watch:de}=t.useFormContext(),pe=de(xe),fe=h.useRef(pe?.selectedOption);h.useEffect(()=>{const Ft=pe?.selectedOption,ao=Ft==="transfer"||Ft==="credit_card_payment",Gt=fe.current==="transfer"||fe.current==="credit_card_payment";if(fe.current=Ft,ao&&!Gt&&V!=null){te(!1);const go=x.transactionReviewLocalData,qo=go.sortedLineItems.map(vn=>go.lineItemById[vn]).find(vn=>vn!=null);qo!=null&&(V({transactionId:x.transactionId,transactionType:Ft,sourceTransactionType:ABe(G),sourceTransactionTypeName:Z,payee:go.vendorDetails?.name??go.vendor?.name??"",category:qo.account?.accountName??"",className:qo.class?.className??"",amount:qo.amount,debitAccountIntegrationId:me??"",debitAccountName:g?.account?.accountName??"",memo:go.memo??""}),oe(xe,a6(G??"expense",ne,Z)))}},[pe?.selectedOption,V,oe,G,Z,xe,x.transactionId,x.transactionReviewLocalData,g,me,ne]);const ce=h.useCallback((Ft,ao)=>{S?.onCOTView!=null&&S.onCOTView(u.lineId,x.transactionId,Ft,ao)},[S,u.lineId,x.transactionId]),ge=u.lineDescription,ue=h.useMemo(()=>{if(ge||K)return[{title:Ad.description,description:ge||Ix},{title:Ad.header.memo,description:K||Ix}]},[K,ge]),he=kx(E,Up,m.toString()),ye=kx(E,tr,m.toString()),Ae=kx(E,Qc,m.toString()),ve=kx(E,Wj,m.toString()),$e=(Ft,ao)=>{if(b)return;let Gt;switch(ao){case"vendor":Gt=he;break;case"category":Gt=ye;break;case"class":Gt=Ae;break;default:return}oe(`${Gt}.selectedOption`,Ft,{shouldValidate:!0,shouldDirty:!0})},Re=t.useTheme(),we=h.useMemo(()=>g!=null&&U.isVendorTransaction(g)===!0?{id:x.transactionReviewLocalData.customer?.id??"",logo:x.transactionReviewLocalData.customer?.logo,name:x.transactionReviewLocalData.customer?.name??""}:{id:u.customer?.id??"",logo:u.customer?.logo,name:u.customer?.name??""},[g,u.customer?.id,u.customer?.logo,u.customer?.name,x.transactionReviewLocalData.customer?.id,x.transactionReviewLocalData.customer?.logo,x.transactionReviewLocalData.customer?.name]),ke=h.useMemo(()=>g!=null&&U.isVendorTransaction(g)===!0?{id:x.transactionReviewLocalData.vendor?.id??"",logo:x.transactionReviewLocalData.vendor?.logo,name:x.transactionReviewLocalData.vendor?.name??""}:{id:u.vendor?.id??"",logo:u.vendor?.logo,name:u.vendor?.name??""},[g,u.vendor?.id,u.vendor?.logo,u.vendor?.name,x.transactionReviewLocalData.vendor?.id,x.transactionReviewLocalData.vendor?.logo,x.transactionReviewLocalData.vendor?.name]),Se=u[Qc]?.classId,Fe=u[Qc]?.className,Pe=u.project?.projectId,Ee=u.project?.projectName,Te=u[tr]?.qboId??u[tr]?.accountId,We=u[tr]?.accountName,Ie=we?.id,ze=ke?.id,Ve=ke?.name,[_e,Be]=h.useState(!Se),[Qe,Je]=h.useState(!Pe),[ut,tt]=h.useState(!Te||u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!0),[nt,et]=h.useState(!ze||!Ie),He=Ft=>A?.find(Gt=>Gt.vendor?.qboId===Ft||Gt.vendor?.id===Ft||Gt.vendor?.name===Ft)?.vendor?.reason??"",qe=x.transactionReviewLocalData.lineItemById[u.lineId]?.recommendationsWithCOT||[],at=B8(e,qe),gt=P8(l,qe),dt=y0(r),ct=Ft=>n.filter(Gt=>Gt.qboId===Ft)[0]?.qboId,kt=Ft=>i.filter(Gt=>Gt.classId===Ft)[0]?.accountingClassNumber??void 0,Mt=h.useCallback(Ft=>U.isAccountUncategorized(y,Ft,O===!0?["income"]:void 0),[y,O]),[Qt,Ze]=h.useState(!1),[wt,Ct]=h.useState(!1),[pt,De]=h.useState(!1),[mt,rt]=h.useState(!1),[_t,mo]=h.useState(0),[Vo,Co]=h.useState(null),[fo,jt]=h.useState([]),[To,Po]=h.useState(void 0),xn=h.useRef(null),[qn,fn]=h.useState(0),[zt,Do]=h.useState(0),tn=GG()?.url,[Vn,hs]=h.useState(!1),Ii=(Ft,ao)=>{B({transactionId:x.transactionId,lineItemId:u.lineId}),L(Ft,ao)},bs=()=>{et(!(ze||Ie)),Ze(!1),z?.()},ws=()=>{Te&&u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!1?tt(!1):tt(!0),hs(!1),z?.()},An=()=>{Be(!Se),Ct(!1),z?.()},Go=()=>{Je(!Pe),De(!1),z?.()},Ss=()=>{b||(ze||Ie)&&(Ze(!0),H?.())},Rn=()=>{b||(Ct(!0),H?.())},us=()=>{b||(De(!0),H?.())},Qo=()=>{b||(hs(!0),H?.())};h.useEffect(()=>{Te&&u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!1?tt(!1):tt(!0)},[Te]),h.useEffect(()=>{Be(!Se)},[Se]),h.useEffect(()=>{Je(!Pe)},[Pe]),h.useEffect(()=>{et(!(ze||Ie))},[ze,Ie]);const Xe=x.transactionReviewLocalData.selectedEntity,Ye=x.transactionReviewLocalData.lineItemById[u.lineId].selectedEntityLine,Ht=g!=null&&U.isVendorTransaction(g)===!0?Xe:Ye,xo=h.useMemo(()=>{const Ft=x.transactionReviewLocalData.lineItemById[u.lineId]?.recommendationsWithCOT||[],ao=R.entityAutoCompleteView;return{selectedOption:Ht?.qboId??Ht?.id,defaultOptions:iy(ao,Ht,Ft??[])}},[Ht,x.transactionReviewLocalData.lineItemById,u.lineId,R.entityAutoCompleteView]),Oo=()=>Ht!=null&&Ht.logo!=null?t.jsxRuntimeExports.jsx(Ku,{photoUrl:Ht.logo.toString(),styles:{width:np.nameLogoWidth.valuePx(f),height:np.nameLogoHeight.valuePx(f)},fallbackAvatar:t.jsxRuntimeExports.jsx(Vwe,{children:t.jsxRuntimeExports.jsx(un,{name:Ht.name})})}):Ht!=null&&Ht.name!=null?t.jsxRuntimeExports.jsx(Vwe,{children:t.jsxRuntimeExports.jsx(un,{name:Ht.name})}):null,it=(Ft,ao,Gt)=>{if(ao==null||!ao)return;let go=[];return Ft.forEach(qo=>{go=go.concat(qo.options)}),go.find(qo=>qo.value===ao)?.label??Gt??ao},Eo=it(gt,Se,Fe),At=it(dt,Pe,Ee),Lo=it(at,Te,We),Rt=$==="review",jo=n0("vendor",xo.defaultOptions,xo.selectedOption),$t=n0("category",at,Te),eo=n0("class",gt,Se),Pt=Ft=>{const{isLineRecommendationsLoading:ao,itemsData:Gt,key:go,resolvedWidthPercentage:qo}=Ft;if(ao===!0)return t.jsxRuntimeExports.jsx(Wwe,{windowSize:f,wrapperWidth:Gt.width,widthPercentage:qo},go);const vn=g?.lines!=null?g.lines[m]:void 0;return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:Gt.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"category",isReviewTab:Rt,isEnabled:!!u[tr]?.isPreFilled,isAccountOptionDisabled:Mt,isMisCategorized:$t,onRecommendationClick:$e,selectedValue:Te,selectedValueLabel:Lo,existingOption:{label:vn?.account?.accountName,value:vn?.account?.qboId??vn?.account?.accountId},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:ut===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:Ti=>{Ti.stopPropagation(),!b&&(H?.(),tt(!1),hs(!0))},"data-testid":P("category-selection-field",ye),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addCategory,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):Vn===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:ws,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("category-selection-dropdown-container",ye),children:t.jsxRuntimeExports.jsx(Rl,{name:ye,placeholder:Ad.addCategory,valueToId:Ti=>ct(Ti),type:"category",pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",showCOT:k,defaultValue:{selectedOption:Te,selectedOptionLabel:We,allOptions:at},style:{display:"flex",flexGrow:1,width:"100%",cursor:"inherit"},registerOptions:{required:!1},menuIsOpen:Vn,autoFocus:!ut&&(!Te||u[tr]?.qboId!=null&&[y.expense?.qboId,y.income?.qboId].includes(u[tr].qboId)),onMenuClose:ws,customStyleConfig:c,disableCurrentOption:Mt,menuPlacement:I,menuPortal:document.body,onCOTView:ce})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{onClick:Qo,"data-testid":P("category-label-text",ye),children:[t.jsxRuntimeExports.jsx(ns,{text:Lo??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go)},Yt=u!=null&&u.categoryClassRecommendationsFetchState?.fetchState==="In-Progress",Fs=()=>{const Ft=b?WX:NX(M,a);return Ft.map((ao,Gt)=>{const go=`${x.transactionId}_${ao.key}_${u.lineId}`,qo=HX(ao,M,a);if(m>0&&g!=null&&U.isVendorTransaction(g)===!0&&ao.key==="vendor")return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isSticky:ao.isSticky===!0},go);if(m>0&&(ao.key==="transaction_type"||ao.key==="memo_and_receipt"||ao.key==="payment_account"&&G!=="journal_entry"))return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b},go);switch(ao.key){case"activity":return t.jsxRuntimeExports.jsx(fVe,{},go);case"vendor":default:return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isSticky:ao.isSticky===!0,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"vendor",isEnabled:!!Ht?.isPreFilled,isMisCategorized:jo,onRecommendationClick:$e,selectedValue:ze,selectedValueLabel:Ve,isReviewTab:Rt,isAccountOptionDisabled:Mt,existingOption:{label:g!=null&&U.isVendorTransaction(g)===!0?g?.vendor?.name:void 0,value:g!=null&&U.isVendorTransaction(g)===!0?g?.vendor?.id:void 0},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:nt===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,isQuickViewMode:b,children:t.jsxRuntimeExports.jsxs(B$,{onClick:vn=>{vn.stopPropagation(),!b&&(H?.(),et(!1),Ze(!0))},"data-testid":P("add-vendor-button",E),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:[Ad.addPayee,b===!1&&t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):Qt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:bs,children:t.jsxRuntimeExports.jsx(DUs,{"data-testid":P("vendor-selection-dropdown-container",kx(E,Up,m.toString())),children:t.jsxRuntimeExports.jsx(PK,{name:he,placeholder:Ad.addPayee,valueToInfo:He,defaultValue:{selectedOption:xo.selectedOption,selectedOptionLabel:Ve,defaultOptions:xo.defaultOptions},type:"vendor",autoFocus:!nt,style:{width:"100%"},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",isOptionRemovable:!1,customStyleConfig:d,menuIsOpen:Qt,onMenuClose:bs,registerOptions:{required:!1},loadOptions:Ii,showCOT:k,onCOTView:ce,menuPlacement:I,menuPortal:document.body})})}):t.jsxRuntimeExports.jsx(FUs,{children:t.jsxRuntimeExports.jsxs(D$,{isHovered:C,isQuickViewMode:b,children:[Oo(),t.jsxRuntimeExports.jsxs(PUs,{onClick:Ss,"data-testid":P("vendor-name-text",E),children:[Ht!=null&&Ht.name?t.jsxRuntimeExports.jsx(ns,{text:Ht.name,itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}):t.jsxRuntimeExports.jsx(zUs,{children:Ix}),b===!1&&t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})]})})})]},go);case"category":return pUs(G,u.postingType)?t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go):Pt({isLineRecommendationsLoading:Yt,itemsData:ao,key:go,resolvedWidthPercentage:qo});case"class":{if(!M)return null;if(Yt===!0)return t.jsxRuntimeExports.jsx(Wwe,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo},go);const vn=g?.lines!=null?g?.lines[m]:void 0;return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"class",isReviewTab:Rt,isEnabled:!!u[Qc]?.isPreFilled,isAccountOptionDisabled:Mt,isMisCategorized:eo,onRecommendationClick:$e,selectedValue:Se,selectedValueLabel:Eo,existingOption:{label:vn?.class?.className,value:vn?.class?.classId},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:_e===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:Ti=>{Ti.stopPropagation(),!b&&(H?.(),Be(!1),Ct(!0))},"data-testid":P("class-selection-field",Ae),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addClass,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):wt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:An,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("class-selection-dropdown-container",Ae),children:t.jsxRuntimeExports.jsx(Rl,{name:Ae,placeholder:Ad.addClass,valueToId:Ti=>kt(Ti),type:"class",showCOT:k,defaultValue:{selectedOption:Se,selectedOptionLabel:Fe,allOptions:gt},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",menuIsOpen:wt,registerOptions:{required:!1},style:{width:"100%"},autoFocus:!_e&&!Se,customStyleConfig:c,onMenuClose:An,menuPlacement:I,menuPortal:document.body,onCOTView:ce})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{"data-testid":P("class-selection-field",Ae),onClick:Rn,children:[t.jsxRuntimeExports.jsx(ns,{text:Eo??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go)}case"project":return a?t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx("span",{})}),t.jsxRuntimeExports.jsx(X7,{children:Qe===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:vn=>{vn.stopPropagation(),!b&&(H?.(),Je(!1),De(!0))},"data-testid":P("project-selection-field",ve),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addProject,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):pt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:Go,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("project-selection-dropdown-container",ve),children:t.jsxRuntimeExports.jsx(Rl,{name:ve,placeholder:Ad.addProject,type:"project",showCOT:!1,defaultValue:{selectedOption:Pe,selectedOptionLabel:Ee,allOptions:dt},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",menuIsOpen:pt,registerOptions:{required:!1},style:{width:"100%"},autoFocus:!Qe&&!Pe,customStyleConfig:c,onMenuClose:Go,menuPlacement:I,menuPortal:document.body})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{"data-testid":P("project-selection-field",ve),onClick:us,children:[t.jsxRuntimeExports.jsx(ns,{text:At??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go):null;case"date":return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(gG,{"data-testid":P("date-field",kx(E,Qc,m.toString())),children:t.jsxRuntimeExports.jsx(h7,{style:{color:C?Re.colors.primary:Re.colors.champion},children:ee!=null?ee.format(uUs.visual.MMMDCommaYYYYformat):null})})})},go);case"transaction_type":{const vn=EBe(G,Q);return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:Z!=null?t.jsxRuntimeExports.jsx(C1,{windowSize:f,"data-testid":P("transaction-type-field",kx(E,Qc,m.toString())),isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsxs(OUs,{className:vn&&le?"select-value-container":void 0,children:[vn&&ae?t.jsxRuntimeExports.jsx(Le,{title:Ad.transactionTypeDropdown.multilineNotEligibleTooltip,enterDelay:600,placement:"bottom",children:t.jsxRuntimeExports.jsx(uo,{label:Z??G})}):t.jsxRuntimeExports.jsx(uo,{label:Z??G,onClick:vn&&le?()=>{oe(xe,a6(G??"expense",ne,Z)),te(!0)}:void 0,capsuleBackground:le&&X?Re.colors.background:void 0,showChevron:vn&&le}),vn&&le&&X&&t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:()=>te(!1),children:t.jsxRuntimeExports.jsx(MUs,{children:t.jsxRuntimeExports.jsx(Rl,{name:xe,defaultValue:a6(G??"expense",ne,Z),pageSource:"list_page",showCOT:!1,transactionStatus:Rt?"pending_review":"auto_categorized",type:"category",menuIsOpen:X,autoFocus:!0,onMenuClose:()=>te(!1),customStyleConfig:se,menuPlacement:I,menuPortal:ie,allowEmpty:!1,menuOptionPresentation:"typePill"})})})]})}):null},go)}case"amount":{const vn=Ne("0,0.[00]",u.amount,!0);return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,style:{marginRight:p[0]},wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isLastItem:!0,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:!0,style:{justifyContent:"flex-end"},children:t.jsxRuntimeExports.jsx(gG,{"data-testid":P("transaction-amount-field",kx(E,Qc,m.toString())),style:{color:C?Re.colors.primary:Re.colors.champion},children:vn})})},go)}case"payment_account":{if(G==="journal_entry")return u.postingType==="credit"?Pt({isLineRecommendationsLoading:Yt,itemsData:ao,key:go,resolvedWidthPercentage:qo}):t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go);if(!(G==="expense"||G==="check"||G==="bill_payment"||G==="vendor_credit"||G==="credit_card_credit"||G==="deposit"||G==="sales_receipt"||G==="refund"||G==="payment"))return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go);const Ti=g?.account?.accountName,rl=g?.paymentType,ni=g?.paymentTypeName,Xi=rl==="credit_card"?wUs:rl==="cash"?EUs:rl==="check"?RUs:rl==="ach"?_Us:AUs,er={title:v2,items:[{text:Ad.paymentAccountTooltip.accountLabel+Hwe,amount:Ti??Ix},...ni!=null?[{text:Ad.paymentAccountTooltip.methodLabel+Hwe,amount:ni}]:[]]};return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",variant:"list-description",data:er,title:Ti??Ix,enterDelay:600,arrow:!0,style:{overflow:"hidden",minWidth:0},children:t.jsxRuntimeExports.jsxs(bUs,{"data-testid":P("payment-account",E),style:{color:C?Re.colors.primary:Re.colors.champion},children:[Xi!=null&&t.jsxRuntimeExports.jsx(Xi,{style:{color:C?Re.colors.primary:Re.colors.champion,width:o.sp5}}),t.jsxRuntimeExports.jsx(h7,{style:{color:"inherit",whiteSpace:"pre-wrap"},children:Ti??Ix})]})})})},go)}case"memo_and_receipt":{const vn=g?.attachments??[],Ti=Y?.fetchState==="In-Progress",rl=Xi=>{if(Xi.stopPropagation(),vn.length===0||g==null)return;if(tn==null){console.warn("webV2MicroServiceEndpoint is not available, cannot fetch attachments.");return}Po(vn[0]),mo(0),rt(!0);const er=vn.map(vr=>vr.id),fd=`${tn}/transaction_attachments`;Wk(fd,N,{transaction_key:{transaction_id:g.id,transaction_type:g.type},attachment_ids:er}).then(vr=>{jt(vr),vr.length>0&&Co(vr[0])})},ni=Xi=>{Xi.stopPropagation(),xn.current?.click()};return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,"data-testid":P("memo-field",kx(E,Qc,m.toString())),children:t.jsxRuntimeExports.jsxs(NUs,{className:"item-value-container",children:[ue!=null?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",data:ue,variant:"multi-information-points",arrow:!0,style:{maxHeight:"min(60vh, 360px)",overflowY:"auto",overflowX:"hidden"},children:t.jsxRuntimeExports.jsx(SUs,{"data-testid":P("memo-icon",E),style:{color:C?Re.colors.primary:Re.colors.champion}})}):t.jsxRuntimeExports.jsx($Us,{style:{margin:0},children:Ix}),Ti?t.jsxRuntimeExports.jsx(Bt,{size:"Small",style:{display:"flex"},start:!0}):vn.length===0?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",title:lUs,arrow:!0,enterDelay:600,children:t.jsxRuntimeExports.jsx(vUs,{"data-testid":P("upload-receipt-icon",E),style:{margin:0},onClick:Xi=>{Xi.stopPropagation(),ni(Xi)}})}):vn.length===1?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",title:cUs,arrow:!0,enterDelay:600,children:t.jsxRuntimeExports.jsx(HUs,{"data-testid":P("view-receipt-icon",E),style:{color:C?Re.colors.primary:Re.colors.champion},onClick:rl})}):t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",arrow:!0,title:dUs,enterDelay:600,children:t.jsxRuntimeExports.jsx(WUs,{"data-testid":P("view-receipts-icon",E),style:{color:C?Re.colors.primary:Re.colors.hero},onClick:rl})}),t.jsxRuntimeExports.jsx(ac,{name:`transaction-receipt-${x.transactionId}`,fileRef:xn,sizeLimit:i4,multiple:!0,acceptableTypes:[...U.SUPPORTED_TRANSACTION_LINE_ATTACHMENT_FILE_TYPES],onFileChange:Xi=>{const er=Xi.target.files;if(er!=null&&er.length>0){const fd=Array.from(er);q($,x.transactionId,G??v2,fd,fd.map(vr=>vr.name))}},onFileSizeError:()=>{}})]})},go)}}})},So=g?.attachments??[],yn=To??So[0];return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[Fs(),mt&&So.length>0&&yn!=null?Ps.createPortal(t.jsxRuntimeExports.jsx(K4,{allFiles:fo,fileSource:Vo,file:yn,title:yn.fileName,attachments:So,showNavigation:!1,setFileSource:Co,setShowFullScreenView:rt,onCrossClick:()=>{rt(!1),Co(null),jt([]),Po(void 0),mo(0)},onNextClick:()=>{const Ft=(_t+1)%So.length;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft])},onPreviousClick:()=>{const Ft=(_t-1+So.length)%So.length;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft])},setSelectedFileAttachment:Ft=>{Po(typeof Ft=="function"?ao=>Ft(ao??So[0]):Ft)},handleTouchStart:Ft=>fn(Ft.targetTouches[0].clientX),handleTouchMove:Ft=>Do(Ft.targetTouches[0].clientX),handleTouchEnd:()=>{if(qn-zt>50&&zt!==0&&_t<So.length-1){const Ft=_t+1;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft]),fn(0),Do(0)}else if(qn-zt<-50&&zt!==0&&_t>0){const Ft=_t-1;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft]),fn(0),Do(0)}}}),document.body):null]})},_we=({isEnabled:e,isMisCategorized:n,hasRecommendations:i,isTooltipVisible:r=!1,type:a})=>e?r?t.jsxRuntimeExports.jsx(kUs,{"data-testid":P("recommendation-icon",a)}):t.jsxRuntimeExports.jsx(IUs,{className:"ai-icon-selected-plain","data-testid":P("recommendation-icon",a)}):!e&&n||i?r?t.jsxRuntimeExports.jsx(LUs,{"data-testid":P("recommendation-icon",a)}):t.jsxRuntimeExports.jsx(TUs,{"data-testid":P("recommendation-icon",a)}):null,mL=({children:e})=>t.jsxRuntimeExports.jsx(yVe,{children:e}),I_=({recommendations:e,isCOTEnabled:n,type:i,isReviewTab:r,selectedValueLabel:a,isEnabled:l=!1,isMisCategorized:c=!1,selectedValue:d,existingOption:u,cotTracking:m,lineId:x,openTooltipId:g,transactionId:f,isAccountOptionDisabled:y,onRecommendationClick:C,setOpenTooltipId:b})=>{const E=h.useMemo(()=>`${f}:${x}:${i}`,[f,x,i]),A=g===E,$=co().analytics,{createAlternateRecommendationCallback:k}=xE(),I=h.useCallback(M=>{const _=e[1],Q=e[0];k(i,{currentValue:a??v2,transactionCurrentStatus:r?"pending_review":"auto_categorized",transactionPage:"list_page",cotTracking:m?{transactionId:f,lineId:x,onCOTView:(z,H,N,V)=>{m.onCOTView?.(z,H,N,V)}}:void 0},_,Q)(M)},[k,e,a,r,i,m,x,f]),S=M8(e,i,n,u,"list_page",r?"pending_review":"auto_categorized",C,I,d,y),T=lb(e,i),B=h.useCallback(()=>{b(E);const M=S?.recommendations[0]?.cot??[],_=S?.recommendations[1]?.cot??[],Q=_.length>0;if($.trackTransactionCotView({recommendationFor:i,currentValue:a??v2,recommendation:S?.recommendations[0]?.name??v2,recommendationCot:M,isRecommendationCotAvailable:M.length>0,recommendationReason:S?.recommendations[0]?.reason??v2,recommendationConfidencePercentage:S?.recommendations[0]?.confidencePercentage??null,recommendationConfidenceLevel:id(qa(S?.recommendations[0]?.confidencePercentage).toLocaleLowerCase()),alternativeRecommendation:S?.recommendations[1]?.name??v2,alternativeRecommendationCot:_,isAlternativeRecommendationCotAvailable:Q,alternativeRecommendationReason:S?.recommendations[1]?.reason??v2,alternativeRecommendationConfidencePercentage:S?.recommendations[1]?.confidencePercentage??null,alternativeRecommendationConfidenceLevel:Q?id(qa(S?.recommendations[1]?.confidencePercentage).toLocaleLowerCase()):null,transactionCurrentStatus:r?"pending_review":"auto_categorized",transactionPage:"list_page"}),m?.onCOTView!=null){const z=dE(S);z!=null&&m.onCOTView(x,f,i,z)}},[$,S,r,a,i,x,f,E,b]),L=h.useCallback(()=>{g===E&&b(void 0)},[g,E,b]),D=h.useMemo(()=>!d||!T?!1:e.some(M=>i==="vendor"&&M.vendor!=null?M.vendor.id===d||M.vendor.qboId===d:i==="category"&&M.account!=null?M.account.qboId===d||M.account.accountId===d:i==="class"&&M.class!=null?M.class.classId===d:!1),[d,T,e,i]);if(!T)return t.jsxRuntimeExports.jsx(yVe,{});const O=l||D;return S?t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx(Le,{variant:"chain-of-thought",data:S,placement:"bottom-start",disableIntersectionObserver:!0,position:"static",display:"block",open:A,style:{width:"auto",height:"auto"},leaveDelay:200,onOpen:B,onClose:L,children:t.jsxRuntimeExports.jsx(BUs,{"data-testid":P("recommendation-icon",i),children:t.jsxRuntimeExports.jsx(_we,{isEnabled:O,isMisCategorized:c,hasRecommendations:T,isTooltipVisible:A})})})}):t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx(_we,{isEnabled:O,isMisCategorized:c,hasRecommendations:T,isTooltipVisible:A,type:i})})},gVe=({isAccountingClassesEnabled:e,showProjectField:n})=>{const i=J(),r=Rr(),a=bM(),l=r?WX:NX(e,n);return t.jsxRuntimeExports.jsx(gUs,{$flexibleWidth:a,windowSize:i,isQuickViewMode:r,children:l.map((c,d)=>{const u=`${d}${aUs}${c.key}`,m=HX(c,e,n);switch(c.key){case"activity":return t.jsxRuntimeExports.jsx(fVe,{},u);case"vendor":return t.jsxRuntimeExports.jsx(Ma,{windowSize:i,wrapperWidth:c.width,widthPercentage:m,isQuickViewMode:r,isSticky:c.isSticky,style:c.customStyle?.common,children:t.jsxRuntimeExports.jsx(C1,{windowSize:i,isLastItem:d===l.length-1,children:t.jsxRuntimeExports.jsxs(gG,{children:[t.jsxRuntimeExports.jsx(ys,{width:p[4],height:p[4]}),t.jsxRuntimeExports.jsx(je,{height:p[4],width:p[12],style:{display:"flex",alignItems:"center"}})]})})},u);default:{const x=d===l.length-1;return t.jsxRuntimeExports.jsx(Ma,{isLastItem:x,windowSize:i,wrapperWidth:c.width,widthPercentage:m,isQuickViewMode:r,style:c.customStyle?.common,children:t.jsxRuntimeExports.jsx(C1,{windowSize:i,isLastItem:x,children:t.jsxRuntimeExports.jsx(je,{width:"100%",height:p[4],style:{display:"flex",alignItems:"center"}})})},u)}}})})},fVe=s.div`
75023
+ `,k_="expenseAutomationTransactionsPage",e4="transactionCategorizationListTable",tr="account",Qc="class",Wj="project",Up="lineEntitySelection",tUs="lineEntity",oUs="recommendations",hVe="lineInfo",nUs="vendorDetails",sUs="customerDetails",vk="selectedTransactionIds",kx=(e,n,i)=>`${e}.${i}.${n}`,iUs=e=>j.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},j.createElement("path",{d:"M4.85022 13.5836L5.52057 12.9133C5.63229 12.8016 5.77164 12.7217 5.92438 12.6815C6.07712 12.6413 6.23779 12.6424 6.38999 12.6846C6.54218 12.7268 6.68046 12.8086 6.7907 12.9217C6.90094 13.0348 6.97919 13.1751 7.01747 13.3283L7.08174 13.5836L7.8119 13.0972C7.98361 12.9827 8.1897 12.9312 8.39508 12.9515C8.60046 12.9719 8.79245 13.0628 8.93837 13.2087L9.31326 13.5836H11.0985",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M17.4206 6H2.24629C2.12792 6 2.01441 6.04702 1.93071 6.13072C1.84701 6.21442 1.79999 6.32794 1.79999 6.4463V17.1576C1.79999 17.276 1.84701 17.3895 1.93071 17.4732C2.01441 17.5569 2.12792 17.6039 2.24629 17.6039H21.8837C22.0021 17.6039 22.1156 17.5569 22.1993 17.4732C22.283 17.3895 22.33 17.276 22.33 17.1576V6.4463C22.33 6.32794 22.283 6.21442 22.1993 6.13072C22.1156 6.04702 22.0021 6 21.8837 6H17.4206Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M16.0854 9.6521H19.6559V12.0656H16.0854V9.6521Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),rUs=e=>j.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},j.createElement("path",{d:"M20.25 19.5H6.75C6.55109 19.5 6.36032 19.421 6.21967 19.2803C6.07902 19.1397 6 18.9489 6 18.75V2.25C6 2.05109 6.07902 1.86032 6.21967 1.71967C6.36032 1.57902 6.55109 1.5 6.75 1.5H15.75L21 6.75V18.75C21 18.9489 20.921 19.1397 20.7803 19.2803C20.6397 19.421 20.4489 19.5 20.25 19.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M15.75 1.5V6.75H21",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M10.4941 11.2559H16.4941",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M10.4941 14.2559H16.4941",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M16.5 22.5H3V5.85315",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:{strings:{underscore:aUs,hyphen:Ix,empty:v2,colon:Hwe},tooltips:{addReceipt:lUs,viewReceipt:cUs,viewReceipts:dUs}},expenseAutomation:{transactions:Ad},dateFormat:uUs}=F.getLocalizedStrings(),np={containerPaddingLeftRight:new w(p[3],p[3]),containerPaddingTopBottom:new w(6,6),controlHeight:new w(p[4],p[5]),nameLogoWidth:new w(p[2],p[3]),nameLogoHeight:new w(p[2],p[3]),borderRadius:6},Wwe=({windowSize:e,wrapperWidth:n,widthPercentage:i})=>t.jsxRuntimeExports.jsxs(Ma,{windowSize:e,wrapperWidth:n,widthPercentage:i,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx("span",{})}),t.jsxRuntimeExports.jsx(X7,{children:t.jsxRuntimeExports.jsx(je,{width:"100%",height:p[4]})})]}),pUs=(e,n)=>e==="journal_entry"&&n==="credit",mUs=({transactionView:e,transaction:n,sectionId:i,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:a,selectedTab:l,containerRef:c,listContainerRef:d,isAccountingClassesEnabled:u,showProjectField:m,isCOTEnabled:x,isCreateTransferEntryFromExpenseEnabled:g,transferConvertibleSourceTypes:f,isPanelSelected:y,cotTracking:C,onTransactionCategorizationRowClick:b,setCurrentTransactionInAction:E,vendorLoadOptions:A,openTooltipId:R,setOpenTooltipId:$,isUncategorizedExpenseCategoryEnabled:k,onOpenTransferDrawer:I,authParams:S,onUploadTransactionReceipt:T,rowCommenting:B})=>{const L=J(),D=Rr(),O=bM(),{isCommentingActive:M,rowRef:_,totalThreadCount:Q,isThreadsLoading:z,handleActiveThreadClick:H,handleAddRowCommentClick:N}=B,[V,Y]=h.useState(!1),{lineItemById:q,sortedLineItems:ee}=n.transactionReviewLocalData,G=n.transactionReviewLocalData.tabSpecificLineItems?.[l]||[],Z=ee.filter(Re=>G.indexOf(Re)!==-1),K=[];Z.forEach(Re=>{K.push(q[Re])});const{accountList:X,accountsHierarchyList:te,classHierarchyList:ie,classList:se,projectList:ne,uncategorizedAccounts:re,transactions:le,selectedCheckBoxTransactionIds:ae}=e,me=ne?.projects??[],xe=e.uploadReceiptStatusById,oe=ae.includes(n.transactionId),de=D!==!0&&oe===!0,pe=t.useTheme(),fe={control:()=>({marginLeft:-2,backgroundColor:V?pe.colors.background:pe.colors.grey5,minHeight:p[5]}),valueContainer:()=>({justifyContent:"flex-start",paddingLeft:p[0],height:p[5],backgroundColor:pe.colors.grey5}),menu:()=>({width:"150%",background:pe.colors.grey5}),singleValue:()=>({color:V||de?pe.colors.primary:pe.colors.champion,paddingLeft:p[2]}),input:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion,textAlign:"left",paddingLeft:p[2]}),menuPortal:Re=>({...Re,zIndex:10})},ce={...fe,singleValue:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion}),menu:()=>({marginTop:p[1],marginLeft:-p[2]}),input:Re=>({...Re,color:V||de?pe.colors.primary:pe.colors.champion,textAlign:"left",...W.standardMedium}),control:Re=>({...Re,height:p[5]})},ge=le.find(Re=>Re.id===n.transactionId),ue=(Re,we)=>{const{transactionType:ke}=we.transactionReviewLocalData;if(D!==!0){const Se=Re.target;let Fe=Se;for(;Fe;){if(Fe.classList.contains("select-value-container")||Fe!==Se&&Fe.classList.contains("item-value-container")||Fe.classList.contains("grouped-single-select-field__value-container")||Fe.classList.contains("auto-complete-grouped-creatable-single-custom-group-select-field__option")||Fe.classList.contains("grouped-single-select-field__input")||Fe.classList.contains("grouped-single-select-field__menu"))return;Fe=Fe.parentElement}}ke!=null&&b(we.transactionId,ke)},he=h.useRef(null),[ye,Ae]=h.useState(void 0),[ve,$e]=h.useState("bottom");return h.useEffect(()=>{if(ye===void 0)return;const we=d?.current?._outerRef??null,ke=()=>{const Se=he.current;if(Se==null||we==null)return;const Fe=Se.getBoundingClientRect(),Pe=we.getBoundingClientRect(),Ee=we.scrollTop+(Fe.bottom-Pe.top),Te=we.scrollHeight-Ee;$e(Te>=288?"bottom":"top")};return ke(),window.addEventListener("resize",ke),we?.addEventListener("scroll",ke),()=>{window.removeEventListener("resize",ke),we?.removeEventListener("scroll",ke)}},[d,ye]),t.jsxRuntimeExports.jsx(hUs,{ref:_,onMouseEnter:()=>Y(!0),onMouseLeave:()=>Y(!1),children:t.jsxRuntimeExports.jsxs(fUs,{className:"categorization-row-card",windowSize:L,isSelected:oe,isPanelSelected:y,isQuickViewMode:D,isHovered:V,style:{position:"relative"},children:[t.jsxRuntimeExports.jsx(yUs,{windowSize:L,isQuickViewMode:D,children:K.map((Re,we)=>t.jsxRuntimeExports.jsx(CUs,{ref:ye===we?he:void 0,isFirstItem:we===0,isLastItem:we===K.length-1,"data-testid":P("transaction-categorization-list-row",Re.lineId),flexibleWidth:O,isQuickViewMode:D,windowSize:L,onClick:ke=>ue(ke,n),children:t.jsxRuntimeExports.jsx(xUs,{isAccountingClassesEnabled:u,showProjectField:m,allProjectList:me,line:Re,isHovered:V||de||y,isSelected:oe,isQuickViewMode:D,lineIndex:we,sectionId:i,transaction:n,currentTransaction:ge,windowSize:L,accountsHierarchyList:te,classHierarchyList:ie,allAccountList:X,allClassList:se,uncategorizedAccounts:re,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:a,setCurrentTransactionInAction:E,vendorLoadOptions:A,customStyle:fe,customStyleAutoComplete:ce,recommendations:Re.recommendationsWithCOT,selectedTab:l,isCOTEnabled:x,menuPlacement:ve,cotTracking:C,openTooltipId:R,setOpenTooltipId:$,isUncategorizedExpenseCategoryEnabled:k,authParams:S,uploadReceiptStatus:xe?.[n.transactionId],onUploadTransactionReceipt:T,onDropdownClose:()=>Ae(void 0),onDropdownOpen:()=>Ae(we),onOpenTransferDrawer:I,isCreateTransferEntryFromExpenseEnabled:g,transferConvertibleSourceTypes:f})},`${n.transactionId}.${Re.lineId}.${we}`))},n.transactionId),D===!0&&M&&Q>0?t.jsxRuntimeExports.jsx(Ca,{flushRight:!0,children:t.jsxRuntimeExports.jsx(Ea,{isLoading:z,count:Q,style:{backgroundColor:pe.colors.grey4,borderRadius:"50% 50% 50% 0",cursor:"pointer"},openThread:H})}):null,D===!0&&M&&z===!1&&Q===0?t.jsxRuntimeExports.jsx(Ca,{flushRight:!0,innerClassName:"comment-add-icon",children:t.jsxRuntimeExports.jsx(by,{"data-testid":P("expense-automation-transaction-row-add-comment",n.transactionId),onClick:N})}):null,t.jsxRuntimeExports.jsx(Ob,{state:B})]},n.transactionId)})},xUs=({accountsHierarchyList:e,allAccountList:n,allClassList:i,allProjectList:r,showProjectField:a,classHierarchyList:l,customStyle:c,customStyleAutoComplete:d,line:u,lineIndex:m,transaction:x,currentTransaction:g,windowSize:f,uncategorizedAccounts:y,isHovered:C=!1,isQuickViewMode:b=!1,sectionId:E,recommendations:A,vendorSearchAutoCompleteData:R,selectedTab:$,isCOTEnabled:k,menuPlacement:I,cotTracking:S,openTooltipId:T,setCurrentTransactionInAction:B,vendorLoadOptions:L,setOpenTooltipId:D,isUncategorizedExpenseCategoryEnabled:O,isAccountingClassesEnabled:M,isCreateTransferEntryFromExpenseEnabled:_,transferConvertibleSourceTypes:Q,onDropdownClose:z,onDropdownOpen:H,authParams:N,onOpenTransferDrawer:V,uploadReceiptStatus:Y,onUploadTransactionReceipt:q})=>{const{transactionDate:ee,transactionType:G,transactionTypeName:Z,memo:K}=x.transactionReviewLocalData,[X,te]=h.useState(!1),ie=h.useMemo(()=>typeof document<"u"?document.body:null,[]),se=h.useMemo(()=>({...c,control:()=>({height:0,minHeight:0,overflow:"hidden",border:"none",padding:0,margin:0}),menuPortal:Ft=>({...Ft,zIndex:RK})}),[c]),ne=g?.account?.accountType,re=(g?.totalLinesCount??0)>1,le=_===!0&&_I(ne,G)&&!re,ae=_===!0&&_I(ne,G)&&re,me=g?.accountIntegrationId,xe=kx(E,"transactionType",m.toString()),{setValue:oe,watch:de}=t.useFormContext(),pe=de(xe),fe=h.useRef(pe?.selectedOption);h.useEffect(()=>{const Ft=pe?.selectedOption,ao=Ft==="transfer"||Ft==="credit_card_payment",Gt=fe.current==="transfer"||fe.current==="credit_card_payment";if(fe.current=Ft,ao&&!Gt&&V!=null){te(!1);const go=x.transactionReviewLocalData,qo=go.sortedLineItems.map(vn=>go.lineItemById[vn]).find(vn=>vn!=null);qo!=null&&(V({transactionId:x.transactionId,transactionType:Ft,sourceTransactionType:ABe(G),sourceTransactionTypeName:Z,payee:go.vendorDetails?.name??go.vendor?.name??"",category:qo.account?.accountName??"",className:qo.class?.className??"",amount:qo.amount,debitAccountIntegrationId:me??"",debitAccountName:g?.account?.accountName??"",memo:go.memo??""}),oe(xe,a6(G??"expense",ne,Z)))}},[pe?.selectedOption,V,oe,G,Z,xe,x.transactionId,x.transactionReviewLocalData,g,me,ne]);const ce=h.useCallback((Ft,ao)=>{S?.onCOTView!=null&&S.onCOTView(u.lineId,x.transactionId,Ft,ao)},[S,u.lineId,x.transactionId]),ge=u.lineDescription,ue=h.useMemo(()=>{if(ge||K)return[{title:Ad.description,description:ge||Ix},{title:Ad.header.memo,description:K||Ix}]},[K,ge]),he=kx(E,Up,m.toString()),ye=kx(E,tr,m.toString()),Ae=kx(E,Qc,m.toString()),ve=kx(E,Wj,m.toString()),$e=(Ft,ao)=>{if(b)return;let Gt;switch(ao){case"vendor":Gt=he;break;case"category":Gt=ye;break;case"class":Gt=Ae;break;default:return}oe(`${Gt}.selectedOption`,Ft,{shouldValidate:!0,shouldDirty:!0})},Re=t.useTheme(),we=h.useMemo(()=>g!=null&&U.isVendorTransaction(g)===!0?{id:x.transactionReviewLocalData.customer?.id??"",logo:x.transactionReviewLocalData.customer?.logo,name:x.transactionReviewLocalData.customer?.name??""}:{id:u.customer?.id??"",logo:u.customer?.logo,name:u.customer?.name??""},[g,u.customer?.id,u.customer?.logo,u.customer?.name,x.transactionReviewLocalData.customer?.id,x.transactionReviewLocalData.customer?.logo,x.transactionReviewLocalData.customer?.name]),ke=h.useMemo(()=>g!=null&&U.isVendorTransaction(g)===!0?{id:x.transactionReviewLocalData.vendor?.id??"",logo:x.transactionReviewLocalData.vendor?.logo,name:x.transactionReviewLocalData.vendor?.name??""}:{id:u.vendor?.id??"",logo:u.vendor?.logo,name:u.vendor?.name??""},[g,u.vendor?.id,u.vendor?.logo,u.vendor?.name,x.transactionReviewLocalData.vendor?.id,x.transactionReviewLocalData.vendor?.logo,x.transactionReviewLocalData.vendor?.name]),Se=u[Qc]?.classId,Fe=u[Qc]?.className,Pe=u.project?.projectId,Ee=u.project?.projectName,Te=u[tr]?.qboId??u[tr]?.accountId,We=u[tr]?.accountName,Ie=we?.id,ze=ke?.id,Ve=ke?.name,[_e,Be]=h.useState(!Se),[Qe,Je]=h.useState(!Pe),[ut,tt]=h.useState(!Te||u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!0),[nt,et]=h.useState(!ze||!Ie),He=Ft=>A?.find(Gt=>Gt.vendor?.qboId===Ft||Gt.vendor?.id===Ft||Gt.vendor?.name===Ft)?.vendor?.reason??"",qe=x.transactionReviewLocalData.lineItemById[u.lineId]?.recommendationsWithCOT||[],at=B8(e,qe),gt=P8(l,qe),dt=y0(r),ct=Ft=>n.filter(Gt=>Gt.qboId===Ft)[0]?.qboId,kt=Ft=>i.filter(Gt=>Gt.classId===Ft)[0]?.accountingClassNumber??void 0,Mt=h.useCallback(Ft=>U.isAccountUncategorized(y,Ft,O===!0?["income"]:void 0),[y,O]),[Qt,Ze]=h.useState(!1),[wt,Ct]=h.useState(!1),[pt,De]=h.useState(!1),[mt,rt]=h.useState(!1),[_t,mo]=h.useState(0),[Vo,Co]=h.useState(null),[fo,jt]=h.useState([]),[To,Po]=h.useState(void 0),xn=h.useRef(null),[qn,fn]=h.useState(0),[zt,Do]=h.useState(0),tn=GG()?.url,[Vn,hs]=h.useState(!1),Ii=(Ft,ao)=>{B({transactionId:x.transactionId,lineItemId:u.lineId}),L(Ft,ao)},bs=()=>{et(!(ze||Ie)),Ze(!1),z?.()},ws=()=>{Te&&u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!1?tt(!1):tt(!0),hs(!1),z?.()},An=()=>{Be(!Se),Ct(!1),z?.()},Go=()=>{Je(!Pe),De(!1),z?.()},Ss=()=>{b||(ze||Ie)&&(Ze(!0),H?.())},Rn=()=>{b||(Ct(!0),H?.())},us=()=>{b||(De(!0),H?.())},Qo=()=>{b||(hs(!0),H?.())};h.useEffect(()=>{Te&&u[tr]?.qboId!=null&&U.isAccountUncategorized(y,u[tr].qboId,O===!0?["income"]:void 0)===!1?tt(!1):tt(!0)},[Te]),h.useEffect(()=>{Be(!Se)},[Se]),h.useEffect(()=>{Je(!Pe)},[Pe]),h.useEffect(()=>{et(!(ze||Ie))},[ze,Ie]);const Xe=x.transactionReviewLocalData.selectedEntity,Ye=x.transactionReviewLocalData.lineItemById[u.lineId].selectedEntityLine,Ht=g!=null&&U.isVendorTransaction(g)===!0?Xe:Ye,xo=h.useMemo(()=>{const Ft=x.transactionReviewLocalData.lineItemById[u.lineId]?.recommendationsWithCOT||[],ao=R.entityAutoCompleteView;return{selectedOption:Ht?.qboId??Ht?.id,defaultOptions:iy(ao,Ht,Ft??[])}},[Ht,x.transactionReviewLocalData.lineItemById,u.lineId,R.entityAutoCompleteView]),Oo=()=>Ht!=null&&Ht.logo!=null?t.jsxRuntimeExports.jsx(Ku,{photoUrl:Ht.logo.toString(),styles:{width:np.nameLogoWidth.valuePx(f),height:np.nameLogoHeight.valuePx(f)},fallbackAvatar:t.jsxRuntimeExports.jsx(Vwe,{children:t.jsxRuntimeExports.jsx(un,{name:Ht.name})})}):Ht!=null&&Ht.name!=null?t.jsxRuntimeExports.jsx(Vwe,{children:t.jsxRuntimeExports.jsx(un,{name:Ht.name})}):null,it=(Ft,ao,Gt)=>{if(ao==null||!ao)return;let go=[];return Ft.forEach(qo=>{go=go.concat(qo.options)}),go.find(qo=>qo.value===ao)?.label??Gt??ao},Eo=it(gt,Se,Fe),At=it(dt,Pe,Ee),Lo=it(at,Te,We),Rt=$==="review",jo=n0("vendor",xo.defaultOptions,xo.selectedOption),$t=n0("category",at,Te),eo=n0("class",gt,Se),Pt=Ft=>{const{isLineRecommendationsLoading:ao,itemsData:Gt,key:go,resolvedWidthPercentage:qo}=Ft;if(ao===!0)return t.jsxRuntimeExports.jsx(Wwe,{windowSize:f,wrapperWidth:Gt.width,widthPercentage:qo},go);const vn=g?.lines!=null?g.lines[m]:void 0;return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:Gt.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"category",isReviewTab:Rt,isEnabled:!!u[tr]?.isPreFilled,isAccountOptionDisabled:Mt,isMisCategorized:$t,onRecommendationClick:$e,selectedValue:Te,selectedValueLabel:Lo,existingOption:{label:vn?.account?.accountName,value:vn?.account?.qboId??vn?.account?.accountId},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:ut===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:Ti=>{Ti.stopPropagation(),!b&&(H?.(),tt(!1),hs(!0))},"data-testid":P("category-selection-field",ye),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addCategory,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):Vn===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:ws,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("category-selection-dropdown-container",ye),children:t.jsxRuntimeExports.jsx(Rl,{name:ye,placeholder:Ad.addCategory,valueToId:Ti=>ct(Ti),type:"category",pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",showCOT:k,defaultValue:{selectedOption:Te,selectedOptionLabel:We,allOptions:at},style:{display:"flex",flexGrow:1,width:"100%",cursor:"inherit"},registerOptions:{required:!1},menuIsOpen:Vn,autoFocus:!ut&&(!Te||u[tr]?.qboId!=null&&[y.expense?.qboId,y.income?.qboId].includes(u[tr].qboId)),onMenuClose:ws,customStyleConfig:c,disableCurrentOption:Mt,menuPlacement:I,menuPortal:document.body,onCOTView:ce})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{onClick:Qo,"data-testid":P("category-label-text",ye),children:[t.jsxRuntimeExports.jsx(ns,{text:Lo??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go)},Yt=u!=null&&u.categoryClassRecommendationsFetchState?.fetchState==="In-Progress",Fs=()=>{const Ft=b?WX:NX(M,a);return Ft.map((ao,Gt)=>{const go=`${x.transactionId}_${ao.key}_${u.lineId}`,qo=HX(ao,M,a);if(m>0&&g!=null&&U.isVendorTransaction(g)===!0&&ao.key==="vendor")return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isSticky:ao.isSticky===!0},go);if(m>0&&(ao.key==="transaction_type"||ao.key==="memo_and_receipt"||ao.key==="payment_account"&&G!=="journal_entry"))return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b},go);switch(ao.key){case"activity":return t.jsxRuntimeExports.jsx(fVe,{},go);case"vendor":default:return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isSticky:ao.isSticky===!0,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"vendor",isEnabled:!!Ht?.isPreFilled,isMisCategorized:jo,onRecommendationClick:$e,selectedValue:ze,selectedValueLabel:Ve,isReviewTab:Rt,isAccountOptionDisabled:Mt,existingOption:{label:g!=null&&U.isVendorTransaction(g)===!0?g?.vendor?.name:void 0,value:g!=null&&U.isVendorTransaction(g)===!0?g?.vendor?.id:void 0},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:nt===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,isQuickViewMode:b,children:t.jsxRuntimeExports.jsxs(B$,{onClick:vn=>{vn.stopPropagation(),!b&&(H?.(),et(!1),Ze(!0))},"data-testid":P("add-vendor-button",E),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:[Ad.addPayee,b===!1&&t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):Qt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:bs,children:t.jsxRuntimeExports.jsx(DUs,{"data-testid":P("vendor-selection-dropdown-container",kx(E,Up,m.toString())),children:t.jsxRuntimeExports.jsx(PK,{name:he,placeholder:Ad.addPayee,valueToInfo:He,defaultValue:{selectedOption:xo.selectedOption,selectedOptionLabel:Ve,defaultOptions:xo.defaultOptions},type:"vendor",autoFocus:!nt,style:{width:"100%"},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",isOptionRemovable:!1,customStyleConfig:d,menuIsOpen:Qt,onMenuClose:bs,registerOptions:{required:!1},loadOptions:Ii,showCOT:k,onCOTView:ce,menuPlacement:I,menuPortal:document.body})})}):t.jsxRuntimeExports.jsx(FUs,{children:t.jsxRuntimeExports.jsxs(D$,{isHovered:C,isQuickViewMode:b,children:[Oo(),t.jsxRuntimeExports.jsxs(PUs,{onClick:Ss,"data-testid":P("vendor-name-text",E),children:[Ht!=null&&Ht.name?t.jsxRuntimeExports.jsx(ns,{text:Ht.name,itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}):t.jsxRuntimeExports.jsx(zUs,{children:Ix}),b===!1&&t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})]})})})]},go);case"category":return pUs(G,u.postingType)?t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go):Pt({isLineRecommendationsLoading:Yt,itemsData:ao,key:go,resolvedWidthPercentage:qo});case"class":{if(!M)return null;if(Yt===!0)return t.jsxRuntimeExports.jsx(Wwe,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo},go);const vn=g?.lines!=null?g?.lines[m]:void 0;return t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(I_,{isCOTEnabled:k,recommendations:qe,type:"class",isReviewTab:Rt,isEnabled:!!u[Qc]?.isPreFilled,isAccountOptionDisabled:Mt,isMisCategorized:eo,onRecommendationClick:$e,selectedValue:Se,selectedValueLabel:Eo,existingOption:{label:vn?.class?.className,value:vn?.class?.classId},cotTracking:S,lineId:u.lineId,transactionId:x.transactionId,openTooltipId:T,setOpenTooltipId:D}),t.jsxRuntimeExports.jsx(X7,{children:_e===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:Ti=>{Ti.stopPropagation(),!b&&(H?.(),Be(!1),Ct(!0))},"data-testid":P("class-selection-field",Ae),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addClass,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):wt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:An,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("class-selection-dropdown-container",Ae),children:t.jsxRuntimeExports.jsx(Rl,{name:Ae,placeholder:Ad.addClass,valueToId:Ti=>kt(Ti),type:"class",showCOT:k,defaultValue:{selectedOption:Se,selectedOptionLabel:Fe,allOptions:gt},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",menuIsOpen:wt,registerOptions:{required:!1},style:{width:"100%"},autoFocus:!_e&&!Se,customStyleConfig:c,onMenuClose:An,menuPlacement:I,menuPortal:document.body,onCOTView:ce})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{"data-testid":P("class-selection-field",Ae),onClick:Rn,children:[t.jsxRuntimeExports.jsx(ns,{text:Eo??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go)}case"project":return a?t.jsxRuntimeExports.jsxs(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,className:"item-value-container",children:[t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx("span",{})}),t.jsxRuntimeExports.jsx(X7,{children:Qe===!0?t.jsxRuntimeExports.jsx(P$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(B$,{onClick:vn=>{vn.stopPropagation(),!b&&(H?.(),Je(!1),De(!0))},"data-testid":P("project-selection-field",ve),style:{display:"inline-flex",alignItems:"center",color:v.neutralGrey1Light,cursor:"pointer"},children:[Ad.addProject,t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})}):pt===!0?t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:Go,children:t.jsxRuntimeExports.jsx(T_,{isHovered:C,"data-testid":P("project-selection-dropdown-container",ve),children:t.jsxRuntimeExports.jsx(Rl,{name:ve,placeholder:Ad.addProject,type:"project",showCOT:!1,defaultValue:{selectedOption:Pe,selectedOptionLabel:Ee,allOptions:dt},pageSource:"list_page",transactionStatus:Rt?"pending_review":"auto_categorized",menuIsOpen:pt,registerOptions:{required:!1},style:{width:"100%"},autoFocus:!Qe&&!Pe,customStyleConfig:c,onMenuClose:Go,menuPlacement:I,menuPortal:document.body})})}):t.jsxRuntimeExports.jsx(D$,{isHovered:C,children:t.jsxRuntimeExports.jsxs(L_,{"data-testid":P("project-selection-field",ve),onClick:us,children:[t.jsxRuntimeExports.jsx(ns,{text:At??"",itemTextStyle:{color:C?Re.colors.primary:Re.colors.champion,fontSize:W.standardMedium.fontSizeValue,fontWeight:W.standardMedium.fontWeight}}),t.jsxRuntimeExports.jsx(Kg,{children:t.jsxRuntimeExports.jsx(Zg,{})})]})})})]},go):null;case"date":return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(gG,{"data-testid":P("date-field",kx(E,Qc,m.toString())),children:t.jsxRuntimeExports.jsx(h7,{style:{color:C?Re.colors.primary:Re.colors.champion},children:ee!=null?ee.format(uUs.visual.MMMDCommaYYYYformat):null})})})},go);case"transaction_type":{const vn=EBe(G,Q);return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:Z!=null?t.jsxRuntimeExports.jsx(C1,{windowSize:f,"data-testid":P("transaction-type-field",kx(E,Qc,m.toString())),isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsxs(OUs,{className:vn&&le?"select-value-container":void 0,children:[vn&&ae?t.jsxRuntimeExports.jsx(Le,{title:Ad.transactionTypeDropdown.multilineNotEligibleTooltip,enterDelay:600,placement:"bottom",children:t.jsxRuntimeExports.jsx(uo,{label:Z??G})}):t.jsxRuntimeExports.jsx(uo,{label:Z??G,onClick:vn&&le?()=>{oe(xe,a6(G??"expense",ne,Z)),te(!0)}:void 0,capsuleBackground:le&&X?Re.colors.background:void 0,showChevron:vn&&le}),vn&&le&&X&&t.jsxRuntimeExports.jsx(t.ClickAwayListener,{onClickAway:()=>te(!1),children:t.jsxRuntimeExports.jsx(MUs,{children:t.jsxRuntimeExports.jsx(Rl,{name:xe,defaultValue:a6(G??"expense",ne,Z),pageSource:"list_page",showCOT:!1,transactionStatus:Rt?"pending_review":"auto_categorized",type:"category",menuIsOpen:X,autoFocus:!0,onMenuClose:()=>te(!1),customStyleConfig:se,menuPlacement:I,menuPortal:ie,allowEmpty:!1,menuOptionPresentation:"typePill"})})})]})}):null},go)}case"amount":{const vn=Ne("0,0.[00]",u.amount,!0);return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,style:{marginRight:p[0]},wrapperWidth:ao.width,widthPercentage:qo,isQuickViewMode:b,isLastItem:!0,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:!0,style:{justifyContent:"flex-end"},children:t.jsxRuntimeExports.jsx(gG,{"data-testid":P("transaction-amount-field",kx(E,Qc,m.toString())),style:{color:C?Re.colors.primary:Re.colors.champion},children:vn})})},go)}case"payment_account":{if(G==="journal_entry")return u.postingType==="credit"?Pt({isLineRecommendationsLoading:Yt,itemsData:ao,key:go,resolvedWidthPercentage:qo}):t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go);if(!(G==="expense"||G==="check"||G==="bill_payment"||G==="vendor_credit"||G==="credit_card_credit"||G==="deposit"||G==="sales_receipt"||G==="refund"||G==="payment"))return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,style:{paddingLeft:o.sp6},isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(h7,{style:{textAlign:"left",width:"100%"},children:Ix})})},go);const Ti=g?.account?.accountName,rl=g?.paymentType,ni=g?.paymentTypeName,Xi=rl==="credit_card"?wUs:rl==="cash"?EUs:rl==="check"?RUs:rl==="ach"?_Us:AUs,er={title:v2,items:[{text:Ad.paymentAccountTooltip.accountLabel+Hwe,amount:Ti??Ix},...ni!=null?[{text:Ad.paymentAccountTooltip.methodLabel+Hwe,amount:ni}]:[]]};return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,children:t.jsxRuntimeExports.jsx(C1,{windowSize:f,isLastItem:Gt===Ft.length-1,children:t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",variant:"list-description",data:er,title:Ti??Ix,enterDelay:600,arrow:!0,style:{overflow:"hidden",minWidth:0},children:t.jsxRuntimeExports.jsxs(bUs,{"data-testid":P("payment-account",E),style:{color:C?Re.colors.primary:Re.colors.champion},children:[Xi!=null&&t.jsxRuntimeExports.jsx(Xi,{style:{color:C?Re.colors.primary:Re.colors.champion,width:o.sp5}}),t.jsxRuntimeExports.jsx(h7,{style:{color:"inherit",whiteSpace:"pre-wrap"},children:Ti??Ix})]})})})},go)}case"memo_and_receipt":{const vn=g?.attachments??[],Ti=Y?.fetchState==="In-Progress",rl=Xi=>{if(Xi.stopPropagation(),vn.length===0||g==null)return;if(tn==null){console.warn("webV2MicroServiceEndpoint is not available, cannot fetch attachments.");return}Po(vn[0]),mo(0),rt(!0);const er=vn.map(vr=>vr.id),fd=`${tn}/transaction_attachments`;Wk(fd,N,{transaction_key:{transaction_id:g.id,transaction_type:g.type},attachment_ids:er}).then(vr=>{jt(vr),vr.length>0&&Co(vr[0])})},ni=Xi=>{Xi.stopPropagation(),xn.current?.click()};return t.jsxRuntimeExports.jsx(Ma,{windowSize:f,wrapperWidth:ao.width,widthPercentage:qo,"data-testid":P("memo-field",kx(E,Qc,m.toString())),children:t.jsxRuntimeExports.jsxs(NUs,{className:"item-value-container",children:[ue!=null?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",data:ue,variant:"multi-information-points",arrow:!0,style:{maxHeight:"min(60vh, 360px)",overflowY:"auto",overflowX:"hidden"},children:t.jsxRuntimeExports.jsx(SUs,{"data-testid":P("memo-icon",E),style:{color:C?Re.colors.primary:Re.colors.champion}})}):t.jsxRuntimeExports.jsx($Us,{style:{margin:0},children:Ix}),Ti?t.jsxRuntimeExports.jsx(Bt,{size:"Small",style:{display:"flex"},start:!0}):vn.length===0?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",title:lUs,arrow:!0,enterDelay:600,children:t.jsxRuntimeExports.jsx(vUs,{"data-testid":P("upload-receipt-icon",E),style:{margin:0},onClick:Xi=>{Xi.stopPropagation(),ni(Xi)}})}):vn.length===1?t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",title:cUs,arrow:!0,enterDelay:600,children:t.jsxRuntimeExports.jsx(HUs,{"data-testid":P("view-receipt-icon",E),style:{color:C?Re.colors.primary:Re.colors.champion},onClick:rl})}):t.jsxRuntimeExports.jsx(Le,{display:"flex",placement:"bottom",arrow:!0,title:dUs,enterDelay:600,children:t.jsxRuntimeExports.jsx(WUs,{"data-testid":P("view-receipts-icon",E),style:{color:C?Re.colors.primary:Re.colors.hero},onClick:rl})}),t.jsxRuntimeExports.jsx(ac,{name:`transaction-receipt-${x.transactionId}`,fileRef:xn,sizeLimit:i4,multiple:!0,acceptableTypes:[...U.SUPPORTED_TRANSACTION_LINE_ATTACHMENT_FILE_TYPES],onFileChange:Xi=>{const er=Xi.target.files;if(er!=null&&er.length>0){const fd=Array.from(er);q($,x.transactionId,G??v2,fd,fd.map(vr=>vr.name))}},onFileSizeError:()=>{}})]})},go)}}})},So=g?.attachments??[],yn=To??So[0];return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[Fs(),mt&&So.length>0&&yn!=null?Ps.createPortal(t.jsxRuntimeExports.jsx(K4,{allFiles:fo,fileSource:Vo,file:yn,title:yn.fileName,attachments:So,showNavigation:!1,setFileSource:Co,setShowFullScreenView:rt,onCrossClick:()=>{rt(!1),Co(null),jt([]),Po(void 0),mo(0)},onNextClick:()=>{const Ft=(_t+1)%So.length;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft])},onPreviousClick:()=>{const Ft=(_t-1+So.length)%So.length;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft])},setSelectedFileAttachment:Ft=>{Po(typeof Ft=="function"?ao=>Ft(ao??So[0]):Ft)},handleTouchStart:Ft=>fn(Ft.targetTouches[0].clientX),handleTouchMove:Ft=>Do(Ft.targetTouches[0].clientX),handleTouchEnd:()=>{if(qn-zt>50&&zt!==0&&_t<So.length-1){const Ft=_t+1;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft]),fn(0),Do(0)}else if(qn-zt<-50&&zt!==0&&_t>0){const Ft=_t-1;mo(Ft),Po(So[Ft]),fo[Ft]!=null&&Co(fo[Ft]),fn(0),Do(0)}}}),document.body):null]})},_we=({isEnabled:e,isMisCategorized:n,hasRecommendations:i,isTooltipVisible:r=!1,type:a})=>e?r?t.jsxRuntimeExports.jsx(kUs,{"data-testid":P("recommendation-icon",a)}):t.jsxRuntimeExports.jsx(IUs,{className:"ai-icon-selected-plain","data-testid":P("recommendation-icon",a)}):!e&&n||i?r?t.jsxRuntimeExports.jsx(LUs,{"data-testid":P("recommendation-icon",a)}):t.jsxRuntimeExports.jsx(TUs,{"data-testid":P("recommendation-icon",a)}):null,mL=({children:e})=>t.jsxRuntimeExports.jsx(yVe,{children:e}),I_=({recommendations:e,isCOTEnabled:n,type:i,isReviewTab:r,selectedValueLabel:a,isEnabled:l=!1,isMisCategorized:c=!1,selectedValue:d,existingOption:u,cotTracking:m,lineId:x,openTooltipId:g,transactionId:f,isAccountOptionDisabled:y,onRecommendationClick:C,setOpenTooltipId:b})=>{const E=h.useMemo(()=>`${f}:${x}:${i}`,[f,x,i]),A=g===E,$=co().analytics,{createAlternateRecommendationCallback:k}=xE(),I=h.useCallback(M=>{const _=e[1],Q=e[0];k(i,{currentValue:a??v2,transactionCurrentStatus:r?"pending_review":"auto_categorized",transactionPage:"list_page",cotTracking:m?{transactionId:f,lineId:x,onCOTView:(z,H,N,V)=>{m.onCOTView?.(z,H,N,V)}}:void 0},_,Q)(M)},[k,e,a,r,i,m,x,f]),S=M8(e,i,n,u,"list_page",r?"pending_review":"auto_categorized",C,I,d,y),T=lb(e,i),B=h.useCallback(()=>{b(E);const M=S?.recommendations[0]?.cot??[],_=S?.recommendations[1]?.cot??[],Q=_.length>0;if($.trackTransactionCotView({recommendationFor:i,currentValue:a??v2,recommendation:S?.recommendations[0]?.name??v2,recommendationCot:M,isRecommendationCotAvailable:M.length>0,recommendationReason:S?.recommendations[0]?.reason??v2,recommendationConfidencePercentage:S?.recommendations[0]?.confidencePercentage??null,recommendationConfidenceLevel:id(qa(S?.recommendations[0]?.confidencePercentage).toLocaleLowerCase()),alternativeRecommendation:S?.recommendations[1]?.name??v2,alternativeRecommendationCot:_,isAlternativeRecommendationCotAvailable:Q,alternativeRecommendationReason:S?.recommendations[1]?.reason??v2,alternativeRecommendationConfidencePercentage:S?.recommendations[1]?.confidencePercentage??null,alternativeRecommendationConfidenceLevel:Q?id(qa(S?.recommendations[1]?.confidencePercentage).toLocaleLowerCase()):null,transactionCurrentStatus:r?"pending_review":"auto_categorized",transactionPage:"list_page"}),m?.onCOTView!=null){const z=dE(S);z!=null&&m.onCOTView(x,f,i,z)}},[$,S,r,a,i,x,f,E,b]),L=h.useCallback(()=>{g===E&&b(void 0)},[g,E,b]),D=h.useMemo(()=>!d||!T?!1:e.some(M=>i==="vendor"&&M.vendor!=null?M.vendor.id===d||M.vendor.qboId===d:i==="category"&&M.account!=null?M.account.qboId===d||M.account.accountId===d:i==="class"&&M.class!=null?M.class.classId===d:!1),[d,T,e,i]);if(!T)return t.jsxRuntimeExports.jsx(yVe,{});const O=l||D;return S?t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx(Le,{variant:"chain-of-thought",data:S,placement:"bottom-start",disableIntersectionObserver:!0,position:"static",display:"block",open:A,style:{width:"auto",height:"auto"},leaveDelay:200,onOpen:B,onClose:L,children:t.jsxRuntimeExports.jsx(BUs,{"data-testid":P("recommendation-icon",i),children:t.jsxRuntimeExports.jsx(_we,{isEnabled:O,isMisCategorized:c,hasRecommendations:T,isTooltipVisible:A})})})}):t.jsxRuntimeExports.jsx(mL,{children:t.jsxRuntimeExports.jsx(_we,{isEnabled:O,isMisCategorized:c,hasRecommendations:T,isTooltipVisible:A,type:i})})},gVe=({isAccountingClassesEnabled:e,showProjectField:n})=>{const i=J(),r=Rr(),a=bM(),l=r?WX:NX(e,n);return t.jsxRuntimeExports.jsx(gUs,{$flexibleWidth:a,windowSize:i,isQuickViewMode:r,children:l.map((c,d)=>{const u=`${d}${aUs}${c.key}`,m=HX(c,e,n);switch(c.key){case"activity":return t.jsxRuntimeExports.jsx(fVe,{},u);case"vendor":return t.jsxRuntimeExports.jsx(Ma,{windowSize:i,wrapperWidth:c.width,widthPercentage:m,isQuickViewMode:r,isSticky:c.isSticky,style:c.customStyle?.common,children:t.jsxRuntimeExports.jsx(C1,{windowSize:i,isLastItem:d===l.length-1,children:t.jsxRuntimeExports.jsxs(gG,{children:[t.jsxRuntimeExports.jsx(ys,{width:p[4],height:p[4]}),t.jsxRuntimeExports.jsx(je,{height:p[4],width:p[12],style:{display:"flex",alignItems:"center"}})]})})},u);default:{const x=d===l.length-1;return t.jsxRuntimeExports.jsx(Ma,{isLastItem:x,windowSize:i,wrapperWidth:c.width,widthPercentage:m,isQuickViewMode:r,style:c.customStyle?.common,children:t.jsxRuntimeExports.jsx(C1,{windowSize:i,isLastItem:x,children:t.jsxRuntimeExports.jsx(je,{width:"100%",height:p[4],style:{display:"flex",alignItems:"center"}})})},u)}}})})},fVe=s.div`
75024
75024
  width: ${o.sp0};
75025
75025
  height: ${o.sp0};
75026
75026
  `,hUs=s.div`
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-DJ_JK1i4.cjs"),o=require("./vendor-.pnpm-C8FI_grH.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),ee=require("@zeniai/client-epic-state"),ks=require("@liveblocks/react-ui"),Ee=require("@emotion/react"),Po=require("react-dom"),yt=require("@liveblocks/react-ui/primitives"),fi=require("@liveblocks/react/suspense");function Pa(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=Pa(u),Ia=({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(Aa,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(ks.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(ks.InboxNotification.Thread,{...d,showRoomName:!0})}})})},Aa=s.div`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-D72k2JDm.cjs"),o=require("./vendor-.pnpm-C8FI_grH.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),ee=require("@zeniai/client-epic-state"),ks=require("@liveblocks/react-ui"),Ee=require("@emotion/react"),Po=require("react-dom"),yt=require("@liveblocks/react-ui/primitives"),fi=require("@liveblocks/react/suspense");function Pa(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=Pa(u),Ia=({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(Aa,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(ks.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(ks.InboxNotification.Thread,{...d,showRoomName:!0})}})})},Aa=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  cursor: ${e=>e.isClickable?"pointer":"initial"};
@@ -1,5 +1,5 @@
1
- import { ee as o, hx as Ne, k as bt, gk as L, eP as It, bV as Xr, a2 as Fe, eU as rp, gF as ip, gQ as sp, aH as I, gI as H, d_ as ap, i2 as ge, hP as co, fo as lt, aJ as Wt, cE as Vs, z as So, ff as gs, cz as vo, eR as xs, f4 as lp, eq as Xt, en as Re, gP as Kl, fb as wo, d$ as Us, cu as ze, hH as cp, bh as dp, bD as _t, be as pp, eN as Gl, gY as up, br as ys, O as fs, h9 as hp, ha as mp, hb as gp, aI as xp, cQ as yp, cs as xt, eT as Yl, c_ as fp, eD as qr, f9 as bs, hv as B, dU as bp, bO as $p, e5 as Ce, eJ as Cp, dK as F, c$ as Be, hy as pt, ez as $s, bR as zr, e6 as wp, eK as Cs, bE as ei, hi as Te, bW as ti, eL as Zl, f1 as Ql, eY as er, gB as zt, fq as dt, ej as yn, cw as Sp, cy as Jl, eO as Xl, gR as Pt, gi as et, fL as Br, ge as vp, fm as fn, fn as bn, n as $n, gx as Wo, ew as _o, ct as oi, eS as ws, cx as jp, eV as ql, eM as po, eQ as Vo, bp as Jt, gd as Hs, h6 as kp, gW as Tp, h0 as Lp, eX as Pp, fe as Ip, fd as tr, ek as Ap, el as Ss, gS as Op, eW as ec, f0 as tc, e$ as oc, bA as nc, hr as Dp, cm as Ks, cn as vs, ch as Rp, cl as Ep, bS as or, bB as Cn, e_ as js, aL as Np, e2 as ni, gL as ft, eb as rc, ck as Fr, cq as Mp, bz as ks, ce as zp, dL as hn, eI as Bp, eH as Fp, eE as Wp, cf as ri, e0 as Gs, ci as ic, hV as Wr, d0 as sc, eB as ac, gG as Ts, cg as _p, aU as mn, aS as Jn, aT as Xn, i4 as lc, bj as Vp, hR as Up, bF as Zt, aW as Lt, f8 as Ls, f3 as cc, er as Hp, cC as dc, f5 as Kp, ep as Gp, aX as Ht, hh as lr, bJ as Yp, i0 as Zp, cp as Kt, b6 as pc, P as pn, da as uc, db as _r, d9 as hc, bY as Qp, cG as Jp, ey as Xp, bZ as Vr, b$ as os, de as Ys, dc as qp, dd as eu, b_ as di, bX as pi, c0 as tu, e1 as Zs, cj as ou, co as nu, dx as Qs, b5 as ru, e as iu, d2 as su, eF as au, ea as nr, hM as mc, hQ as gc, bI as Qt, a6 as ii, a7 as gn, hS as xc, h1 as yc, bk as lu, cH as cu, cV as fc, cU as du, h7 as pu, cL as Ur, aC as bc, cK as uu, cJ as hu, bo as mu, cI as Ps, gT as $c, bM as Cc, gm as wc, m as Sc, fk as vc, bN as gu, B as jc, bQ as kc, fM as xu, ei as yu, hL as fu, cS as bu, gX as $u, gU as Cu, a1 as wu, dH as Js, g$ as Su, fc as Tc, h8 as Xs, cW as vu, cv as ju, eo as ku, eZ as Tu, f2 as Lu, eG as Pu, gu as qs, f7 as Iu, ec as Lc, e7 as Au, gA as Pc, bq as Ou, es as Du, bC as Ru, bG as Eu, e8 as Ic, f6 as Nu, cr as Mu, fa as zu, e4 as Bu, e9 as Ac, em as Fu, bH as Wu, e3 as _u } from "./SessionTimeoutPopup-BGNkTo3_.js";
2
- import { A as Pk, a as Ik, b as Ak, c as Ok, d as Dk, f as Rk, g as Ek, h as Nk, i as Mk, j as zk, l as Bk, o as Fk, p as Wk, q as _k, r as Vk, s as Uk, t as Hk, u as Kk, v as Gk, w as Yk, x as Zk, y as Qk, C as Jk, D as Xk, E as qk, F as eT, G as tT, H as oT, I as nT, J as rT, K as iT, L as sT, M as aT, N as lT, Q as cT, R as dT, S as pT, T as uT, U as hT, V as mT, W as gT, X as xT, Y as yT, eh as fT, Z as bT, _ as $T, $ as CT, a0 as wT, a3 as ST, a4 as vT, a5 as jT, a8 as kT, a9 as TT, aa as LT, ab as PT, ac as IT, ad as AT, ae as OT, af as DT, ag as RT, ah as ET, ai as NT, aj as MT, ak as zT, al as BT, am as FT, an as WT, ao as _T, ap as VT, aq as UT, ar as HT, as as KT, at as GT, au as YT, av as ZT, aw as QT, eh as JT, ax as XT, ay as qT, az as eL, aA as tL, aB as oL, aD as nL, aE as rL, aF as iL, aG as sL, aK as aL, aM as lL, aN as cL, aO as dL, aP as pL, aQ as uL, aR as hL, aV as mL, aY as gL, aZ as xL, a_ as yL, a$ as fL, b0 as bL, b1 as $L, b2 as CL, b3 as wL, b4 as SL, b7 as vL, b8 as jL, b9 as kL, ba as TL, bb as LL, bc as PL, bd as IL, bf as AL, bi as OL, bl as DL, bm as RL, bn as EL, bs as NL, bt as ML, bu as zL, bv as BL, bw as FL, bx as WL, by as _L, bK as VL, bL as UL, bP as HL, bT as KL, bU as GL, c1 as YL, c2 as ZL, c3 as QL, c4 as JL, c5 as XL, c6 as qL, c7 as eP, c8 as tP, c9 as oP, ca as nP, cb as rP, cc as iP, cd as sP, cA as aP, cB as lP, cD as cP, cF as dP, cM as pP, cN as uP, cO as hP, cP as mP, cR as gP, cT as xP, cX as yP, cY as fP, cZ as bP, d1 as $P, d3 as CP, d4 as wP, d5 as SP, d6 as vP, d7 as jP, d8 as kP, df as TP, dg as LP, dh as PP, di as IP, dj as AP, dk as OP, dl as DP, dm as RP, dn as EP, dp as NP, dq as MP, dr as zP, ds as BP, dt as FP, du as WP, dv as _P, dw as VP, dy as UP, bg as HP, dz as KP, dA as GP, dB as YP, dC as ZP, dD as QP, dE as JP, dF as XP, eh as qP, dI as eI, dG as tI, dJ as oI, dM as nI, dN as rI, dO as iI, dP as sI, dQ as aI, dR as lI, dS as cI, dT as dI, dV as pI, dW as uI, dX as hI, dY as mI, dZ as gI, ed as xI, ef as yI, eg as fI, et as bI, eu as $I, ev as CI, ex as wI, eA as SI, eC as vI, fg as jI, fh as kI, fi as TI, fj as LI, fl as PI, fp as II, fr as AI, fs as OI, ft as DI, fu as RI, fv as EI, fw as NI, fx as MI, fy as zI, fz as BI, fA as FI, fB as WI, fC as _I, fD as VI, fE as UI, fF as HI, fG as KI, fH as GI, fI as YI, fJ as ZI, fK as QI, fN as JI, fO as XI, fP as qI, fQ as eA, fR as tA, fS as oA, fT as nA, fU as rA, fV as iA, fW as sA, fX as aA, fY as lA, fZ as cA, f_ as dA, f$ as pA, g0 as uA, g1 as hA, g2 as mA, g3 as gA, g4 as xA, g5 as yA, g6 as fA, g7 as bA, g8 as $A, g9 as CA, ga as wA, gb as SA, gc as vA, gf as jA, gg as kA, gh as TA, gj as LA, gl as PA, gn as IA, go as AA, gp as OA, gq as DA, gr as RA, gs as EA, gt as NA, gv as MA, gw as zA, gy as BA, gz as FA, gC as WA, gE as _A, gD as VA, gH as UA, gJ as HA, gK as KA, gM as GA, gN as YA, gO as ZA, gV as QA, gZ as JA, g_ as XA, h2 as qA, h3 as eO, h4 as tO, h5 as oO, hc as nO, hd as rO, he as iO, hf as sO, hg as aO, hj as lO, hk as cO, hl as dO, hm as pO, hn as uO, ho as hO, hp as mO, hq as gO, hs as xO, ht as yO, hu as fO, hw as bO, hz as $O, hA as CO, hB as wO, hC as SO, hD as vO, hE as jO, hF as kO, hG as TO, hI as LO, hJ as PO, hK as IO, hN as AO, hO as OO, hT as DO, hU as RO, hW as EO, hX as NO, hY as MO, hZ as zO, h_ as BO, h$ as FO, i1 as WO, i3 as _O, i5 as VO, i6 as UO } from "./SessionTimeoutPopup-BGNkTo3_.js";
1
+ import { ee as o, hx as Ne, k as bt, gk as L, eP as It, bV as Xr, a2 as Fe, eU as rp, gF as ip, gQ as sp, aH as I, gI as H, d_ as ap, i2 as ge, hP as co, fo as lt, aJ as Wt, cE as Vs, z as So, ff as gs, cz as vo, eR as xs, f4 as lp, eq as Xt, en as Re, gP as Kl, fb as wo, d$ as Us, cu as ze, hH as cp, bh as dp, bD as _t, be as pp, eN as Gl, gY as up, br as ys, O as fs, h9 as hp, ha as mp, hb as gp, aI as xp, cQ as yp, cs as xt, eT as Yl, c_ as fp, eD as qr, f9 as bs, hv as B, dU as bp, bO as $p, e5 as Ce, eJ as Cp, dK as F, c$ as Be, hy as pt, ez as $s, bR as zr, e6 as wp, eK as Cs, bE as ei, hi as Te, bW as ti, eL as Zl, f1 as Ql, eY as er, gB as zt, fq as dt, ej as yn, cw as Sp, cy as Jl, eO as Xl, gR as Pt, gi as et, fL as Br, ge as vp, fm as fn, fn as bn, n as $n, gx as Wo, ew as _o, ct as oi, eS as ws, cx as jp, eV as ql, eM as po, eQ as Vo, bp as Jt, gd as Hs, h6 as kp, gW as Tp, h0 as Lp, eX as Pp, fe as Ip, fd as tr, ek as Ap, el as Ss, gS as Op, eW as ec, f0 as tc, e$ as oc, bA as nc, hr as Dp, cm as Ks, cn as vs, ch as Rp, cl as Ep, bS as or, bB as Cn, e_ as js, aL as Np, e2 as ni, gL as ft, eb as rc, ck as Fr, cq as Mp, bz as ks, ce as zp, dL as hn, eI as Bp, eH as Fp, eE as Wp, cf as ri, e0 as Gs, ci as ic, hV as Wr, d0 as sc, eB as ac, gG as Ts, cg as _p, aU as mn, aS as Jn, aT as Xn, i4 as lc, bj as Vp, hR as Up, bF as Zt, aW as Lt, f8 as Ls, f3 as cc, er as Hp, cC as dc, f5 as Kp, ep as Gp, aX as Ht, hh as lr, bJ as Yp, i0 as Zp, cp as Kt, b6 as pc, P as pn, da as uc, db as _r, d9 as hc, bY as Qp, cG as Jp, ey as Xp, bZ as Vr, b$ as os, de as Ys, dc as qp, dd as eu, b_ as di, bX as pi, c0 as tu, e1 as Zs, cj as ou, co as nu, dx as Qs, b5 as ru, e as iu, d2 as su, eF as au, ea as nr, hM as mc, hQ as gc, bI as Qt, a6 as ii, a7 as gn, hS as xc, h1 as yc, bk as lu, cH as cu, cV as fc, cU as du, h7 as pu, cL as Ur, aC as bc, cK as uu, cJ as hu, bo as mu, cI as Ps, gT as $c, bM as Cc, gm as wc, m as Sc, fk as vc, bN as gu, B as jc, bQ as kc, fM as xu, ei as yu, hL as fu, cS as bu, gX as $u, gU as Cu, a1 as wu, dH as Js, g$ as Su, fc as Tc, h8 as Xs, cW as vu, cv as ju, eo as ku, eZ as Tu, f2 as Lu, eG as Pu, gu as qs, f7 as Iu, ec as Lc, e7 as Au, gA as Pc, bq as Ou, es as Du, bC as Ru, bG as Eu, e8 as Ic, f6 as Nu, cr as Mu, fa as zu, e4 as Bu, e9 as Ac, em as Fu, bH as Wu, e3 as _u } from "./SessionTimeoutPopup-BoJIVI7K.js";
2
+ import { A as Pk, a as Ik, b as Ak, c as Ok, d as Dk, f as Rk, g as Ek, h as Nk, i as Mk, j as zk, l as Bk, o as Fk, p as Wk, q as _k, r as Vk, s as Uk, t as Hk, u as Kk, v as Gk, w as Yk, x as Zk, y as Qk, C as Jk, D as Xk, E as qk, F as eT, G as tT, H as oT, I as nT, J as rT, K as iT, L as sT, M as aT, N as lT, Q as cT, R as dT, S as pT, T as uT, U as hT, V as mT, W as gT, X as xT, Y as yT, eh as fT, Z as bT, _ as $T, $ as CT, a0 as wT, a3 as ST, a4 as vT, a5 as jT, a8 as kT, a9 as TT, aa as LT, ab as PT, ac as IT, ad as AT, ae as OT, af as DT, ag as RT, ah as ET, ai as NT, aj as MT, ak as zT, al as BT, am as FT, an as WT, ao as _T, ap as VT, aq as UT, ar as HT, as as KT, at as GT, au as YT, av as ZT, aw as QT, eh as JT, ax as XT, ay as qT, az as eL, aA as tL, aB as oL, aD as nL, aE as rL, aF as iL, aG as sL, aK as aL, aM as lL, aN as cL, aO as dL, aP as pL, aQ as uL, aR as hL, aV as mL, aY as gL, aZ as xL, a_ as yL, a$ as fL, b0 as bL, b1 as $L, b2 as CL, b3 as wL, b4 as SL, b7 as vL, b8 as jL, b9 as kL, ba as TL, bb as LL, bc as PL, bd as IL, bf as AL, bi as OL, bl as DL, bm as RL, bn as EL, bs as NL, bt as ML, bu as zL, bv as BL, bw as FL, bx as WL, by as _L, bK as VL, bL as UL, bP as HL, bT as KL, bU as GL, c1 as YL, c2 as ZL, c3 as QL, c4 as JL, c5 as XL, c6 as qL, c7 as eP, c8 as tP, c9 as oP, ca as nP, cb as rP, cc as iP, cd as sP, cA as aP, cB as lP, cD as cP, cF as dP, cM as pP, cN as uP, cO as hP, cP as mP, cR as gP, cT as xP, cX as yP, cY as fP, cZ as bP, d1 as $P, d3 as CP, d4 as wP, d5 as SP, d6 as vP, d7 as jP, d8 as kP, df as TP, dg as LP, dh as PP, di as IP, dj as AP, dk as OP, dl as DP, dm as RP, dn as EP, dp as NP, dq as MP, dr as zP, ds as BP, dt as FP, du as WP, dv as _P, dw as VP, dy as UP, bg as HP, dz as KP, dA as GP, dB as YP, dC as ZP, dD as QP, dE as JP, dF as XP, eh as qP, dI as eI, dG as tI, dJ as oI, dM as nI, dN as rI, dO as iI, dP as sI, dQ as aI, dR as lI, dS as cI, dT as dI, dV as pI, dW as uI, dX as hI, dY as mI, dZ as gI, ed as xI, ef as yI, eg as fI, et as bI, eu as $I, ev as CI, ex as wI, eA as SI, eC as vI, fg as jI, fh as kI, fi as TI, fj as LI, fl as PI, fp as II, fr as AI, fs as OI, ft as DI, fu as RI, fv as EI, fw as NI, fx as MI, fy as zI, fz as BI, fA as FI, fB as WI, fC as _I, fD as VI, fE as UI, fF as HI, fG as KI, fH as GI, fI as YI, fJ as ZI, fK as QI, fN as JI, fO as XI, fP as qI, fQ as eA, fR as tA, fS as oA, fT as nA, fU as rA, fV as iA, fW as sA, fX as aA, fY as lA, fZ as cA, f_ as dA, f$ as pA, g0 as uA, g1 as hA, g2 as mA, g3 as gA, g4 as xA, g5 as yA, g6 as fA, g7 as bA, g8 as $A, g9 as CA, ga as wA, gb as SA, gc as vA, gf as jA, gg as kA, gh as TA, gj as LA, gl as PA, gn as IA, go as AA, gp as OA, gq as DA, gr as RA, gs as EA, gt as NA, gv as MA, gw as zA, gy as BA, gz as FA, gC as WA, gE as _A, gD as VA, gH as UA, gJ as HA, gK as KA, gM as GA, gN as YA, gO as ZA, gV as QA, gZ as JA, g_ as XA, h2 as qA, h3 as eO, h4 as tO, h5 as oO, hc as nO, hd as rO, he as iO, hf as sO, hg as aO, hj as lO, hk as cO, hl as dO, hm as pO, hn as uO, ho as hO, hp as mO, hq as gO, hs as xO, ht as yO, hu as fO, hw as bO, hz as $O, hA as CO, hB as wO, hC as SO, hD as vO, hE as jO, hF as kO, hG as TO, hI as LO, hJ as PO, hK as IO, hN as AO, hO as OO, hT as DO, hU as RO, hW as EO, hX as NO, hY as MO, hZ as zO, h_ as BO, h$ as FO, i1 as WO, i3 as _O, i5 as VO, i6 as UO } from "./SessionTimeoutPopup-BoJIVI7K.js";
3
3
  import { al as t, D as Vu, a1 as Uu, aM as Ve, q as wn, O as rt, L as Hu, s as Ku, T as Gu, o as si, f as qt, h as ye, aI as uo, i as Sn, aH as ho, Y as Uo, m as mo, J as Ho, b as eo, V as Ko, ae as nt, I as Oc, X as Yu, ao as Mt, aa as Fo, aG as Zu, k as Is, C as Dc, n as Qu, d as Ju, e as As, B as Os, at as ea } from "./vendor-.pnpm-CUrsb6Rf.js";
4
4
  import { aB as KO } from "./vendor-.pnpm-CUrsb6Rf.js";
5
5
  import * as me from "react";
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-DJ_JK1i4.cjs"),a=require("./vendor-.pnpm-C8FI_grH.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.AccountReconDetailsDrawerPageV2=e.AccountReconDetailsDrawerPage$1;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.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.CardsShutdownBanner=e.CardsShutdownBanner;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.StatementParseInfo=e.StatementParseInfo;exports.StatementProcessingPage=e.StatementProcessingPage;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.computeStatementProcessingStepsFromElapsedTime=e.computeStatementProcessingStepsFromElapsedTime;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.formatReconAccountDisplayName=e.formatReconAccountDisplayName;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.getReconAccountDisplayName=e.getReconAccountDisplayName;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.getStatementParseTransactionCount=e.getStatementParseTransactionCount;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.resolveBackgroundStatementProcessingCompletedSteps=e.resolveBackgroundStatementProcessingCompletedSteps;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.useZeniCardsVisibilityConfig=e.useZeniCardsVisibilityConfig;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-D72k2JDm.cjs"),a=require("./vendor-.pnpm-C8FI_grH.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.AccountReconDetailsDrawerPageV2=e.AccountReconDetailsDrawerPage$1;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.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.CardsShutdownBanner=e.CardsShutdownBanner;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.StatementParseInfo=e.StatementParseInfo;exports.StatementProcessingPage=e.StatementProcessingPage;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.computeStatementProcessingStepsFromElapsedTime=e.computeStatementProcessingStepsFromElapsedTime;exports.computeStickyLeftOffsets=e.computeStickyLeftOffsets;exports.darkColors=e.darkColors;exports.darkTheme=e.darkTheme;exports.dashboardCardDimension=e.designDimension;exports.defaultCardPolicyFormValues=e.defaultCardPolicyFormValues;exports.formatReconAccountDisplayName=e.formatReconAccountDisplayName;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.getReconAccountDisplayName=e.getReconAccountDisplayName;exports.getShowNegativeAmountInParenthesisDefaultValue=e.getShowNegativeAmountInParenthesisDefaultValue;exports.getShowNegativeAmountInParenthesisForPercentDefaultValue=e.getShowNegativeAmountInParenthesisForPercentDefaultValue;exports.getStableTransactionId=e.getStableTransactionId;exports.getStatementParseTransactionCount=e.getStatementParseTransactionCount;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.resolveBackgroundStatementProcessingCompletedSteps=e.resolveBackgroundStatementProcessingCompletedSteps;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.useZeniCardsVisibilityConfig=e.useZeniCardsVisibilityConfig;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 i, c as o, d as n, f as r, g as l, h as g, i as d, j as P, k as c, l as u, o as C, p as m, q as S, r as p, s as h, t as A, u as b, v as f, w as D, x as y, y as T, C as R, D as v, E as I, F as L, G as w, H as k, I as V, J as E, K as F, L as B, M as O, N as M, Q as N, R as x, S as _, T as W, U, V as Z, W as H, X as z, Y as G, eh as q, Z as Q, _ as J, $ as X, a0 as Y, a3 as K, a4 as j, a5 as $, a8 as aa, a9 as ea, aa as sa, ab as ta, ac as ia, ad as oa, 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 Sa, ap as pa, aq as ha, ar as Aa, as as ba, at as fa, au as Da, av as ya, aw as Ta, eh as Ra, ax as va, ay as Ia, az as La, aA as wa, aB as ka, aD as Va, aE as Ea, aF as Fa, aG as Ba, aH as Oa, aJ as Ma, aK as Na, aM as xa, aN as _a, aO as Wa, aP as Ua, aQ as Za, aR as Ha, aU as za, aV as Ga, aY as qa, aZ as Qa, a_ as Ja, a$ as Xa, b0 as Ya, b1 as Ka, b2 as ja, b3 as $a, b4 as ae, b7 as ee, b8 as se, b9 as te, ba as ie, bb as oe, bc as ne, bd as re, bf as le, bi as ge, bl as de, bm as Pe, bn as ce, bs as ue, bt as Ce, bu as me, bv as Se, bw as pe, bx as he, by as Ae, bj as be, bJ as fe, bK as De, bL as ye, bP as Te, bR as Re, bT as ve, bU as Ie, c1 as Le, c2 as we, c3 as ke, c4 as Ve, c5 as Ee, c6 as Fe, c7 as Be, c8 as Oe, c9 as Me, ca as Ne, cb as xe, cc as _e, cd as We, cA as Ue, cB as Ze, cD as He, cE as ze, cF as Ge, cM as qe, cN as Qe, cO as Je, cP as Xe, cR as Ye, cT as Ke, cX as je, cY as $e, cZ as as, d0 as es, d1 as ss, d3 as ts, d4 as is, d5 as os, f4 as ns, d6 as rs, d7 as ls, d8 as gs, df as ds, dg as Ps, dh as cs, di as us, dj as Cs, dk as ms, dl as Ss, dm as ps, dn as hs, dp as As, dq as bs, dr as fs, ds as Ds, dt as ys, du as Ts, dv as Rs, dw as vs, dy as Is, bg as Ls, dz as ws, dA as ks, dB as Vs, dC as Es, dD as Fs, dE as Bs, dF as Os, eh as Ms, dI as Ns, dG as xs, dJ as _s, dK as Ws, dM as Us, dN as Zs, dO as Hs, dP as zs, dQ as Gs, dR as qs, dS as Qs, dT as Js, dV as Xs, dW as Ys, dX as Ks, dY as js, dZ as $s, ed as at, ee as et, ef as st, eg as tt, et as it, eu as ot, 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 St, fs as pt, ft as ht, fu as At, fv as bt, fw as ft, fx as Dt, fy as yt, fz as Tt, fA as Rt, fB as vt, fC as It, fD as Lt, fE as wt, fF as kt, fG as Vt, fH as Et, fI as Ft, fJ as Bt, fK as Ot, fN as Mt, fO as Nt, fP as xt, fQ as _t, fR as Wt, fS as Ut, fT as Zt, fU as Ht, fV as zt, fW as Gt, fX as qt, fY as Qt, fZ as Jt, f_ as Xt, f$ as Yt, g0 as Kt, g1 as jt, g2 as $t, g3 as ai, g4 as ei, g5 as si, g6 as ti, g7 as ii, g8 as oi, g9 as ni, ga as ri, gb as li, gc as gi, gf as di, gg as Pi, gh as ci, gi as ui, gj as Ci, gk as mi, gl as Si, gn as pi, go as hi, gp as Ai, gq as bi, gr as fi, gs as Di, gt as yi, gv as Ti, gw as Ri, gx as vi, gy as Ii, gz as Li, gB as wi, gC as ki, gE as Vi, gD as Ei, gH as Fi, gJ as Bi, gK as Oi, gM as Mi, gN as Ni, gO as xi, gS as _i, gV as Wi, gZ as Ui, g_ as Zi, h2 as Hi, h3 as zi, h4 as Gi, h5 as qi, hc as Qi, hd as Ji, he as Xi, hf as Yi, hg as Ki, hi as ji, hj as $i, hk as ao, hl as eo, hm as so, hn as to, ho as io, hp as oo, hq as no, hs as ro, ht as lo, hu as go, hv as Po, hw as co, hx as uo, hz as Co, hA as mo, hB as So, hC as po, hD as ho, hE as Ao, hF as bo, hG as fo, hI as Do, hJ as yo, hK as To, hL as Ro, hN as vo, hO as Io, hR as Lo, hT as wo, hU as ko, hV as Vo, hW as Eo, hX as Fo, hY as Bo, hZ as Oo, h_ as Mo, h$ as No, i0 as xo, i1 as _o, i2 as Wo, i3 as Uo, i4 as Zo, i5 as Ho, i6 as zo } from "./SessionTimeoutPopup-BGNkTo3_.js";
1
+ import { A as s, a as t, b as i, c as o, d as n, f as r, g as l, h as g, i as d, j as P, k as c, l as u, o as C, p as m, q as S, r as p, s as h, t as A, u as b, v as f, w as D, x as y, y as T, C as R, D as v, E as I, F as L, G as w, H as k, I as V, J as E, K as F, L as B, M as O, N as M, Q as N, R as x, S as _, T as W, U, V as Z, W as H, X as z, Y as G, eh as q, Z as Q, _ as J, $ as X, a0 as Y, a3 as K, a4 as j, a5 as $, a8 as aa, a9 as ea, aa as sa, ab as ta, ac as ia, ad as oa, 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 Sa, ap as pa, aq as ha, ar as Aa, as as ba, at as fa, au as Da, av as ya, aw as Ta, eh as Ra, ax as va, ay as Ia, az as La, aA as wa, aB as ka, aD as Va, aE as Ea, aF as Fa, aG as Ba, aH as Oa, aJ as Ma, aK as Na, aM as xa, aN as _a, aO as Wa, aP as Ua, aQ as Za, aR as Ha, aU as za, aV as Ga, aY as qa, aZ as Qa, a_ as Ja, a$ as Xa, b0 as Ya, b1 as Ka, b2 as ja, b3 as $a, b4 as ae, b7 as ee, b8 as se, b9 as te, ba as ie, bb as oe, bc as ne, bd as re, bf as le, bi as ge, bl as de, bm as Pe, bn as ce, bs as ue, bt as Ce, bu as me, bv as Se, bw as pe, bx as he, by as Ae, bj as be, bJ as fe, bK as De, bL as ye, bP as Te, bR as Re, bT as ve, bU as Ie, c1 as Le, c2 as we, c3 as ke, c4 as Ve, c5 as Ee, c6 as Fe, c7 as Be, c8 as Oe, c9 as Me, ca as Ne, cb as xe, cc as _e, cd as We, cA as Ue, cB as Ze, cD as He, cE as ze, cF as Ge, cM as qe, cN as Qe, cO as Je, cP as Xe, cR as Ye, cT as Ke, cX as je, cY as $e, cZ as as, d0 as es, d1 as ss, d3 as ts, d4 as is, d5 as os, f4 as ns, d6 as rs, d7 as ls, d8 as gs, df as ds, dg as Ps, dh as cs, di as us, dj as Cs, dk as ms, dl as Ss, dm as ps, dn as hs, dp as As, dq as bs, dr as fs, ds as Ds, dt as ys, du as Ts, dv as Rs, dw as vs, dy as Is, bg as Ls, dz as ws, dA as ks, dB as Vs, dC as Es, dD as Fs, dE as Bs, dF as Os, eh as Ms, dI as Ns, dG as xs, dJ as _s, dK as Ws, dM as Us, dN as Zs, dO as Hs, dP as zs, dQ as Gs, dR as qs, dS as Qs, dT as Js, dV as Xs, dW as Ys, dX as Ks, dY as js, dZ as $s, ed as at, ee as et, ef as st, eg as tt, et as it, eu as ot, 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 St, fs as pt, ft as ht, fu as At, fv as bt, fw as ft, fx as Dt, fy as yt, fz as Tt, fA as Rt, fB as vt, fC as It, fD as Lt, fE as wt, fF as kt, fG as Vt, fH as Et, fI as Ft, fJ as Bt, fK as Ot, fN as Mt, fO as Nt, fP as xt, fQ as _t, fR as Wt, fS as Ut, fT as Zt, fU as Ht, fV as zt, fW as Gt, fX as qt, fY as Qt, fZ as Jt, f_ as Xt, f$ as Yt, g0 as Kt, g1 as jt, g2 as $t, g3 as ai, g4 as ei, g5 as si, g6 as ti, g7 as ii, g8 as oi, g9 as ni, ga as ri, gb as li, gc as gi, gf as di, gg as Pi, gh as ci, gi as ui, gj as Ci, gk as mi, gl as Si, gn as pi, go as hi, gp as Ai, gq as bi, gr as fi, gs as Di, gt as yi, gv as Ti, gw as Ri, gx as vi, gy as Ii, gz as Li, gB as wi, gC as ki, gE as Vi, gD as Ei, gH as Fi, gJ as Bi, gK as Oi, gM as Mi, gN as Ni, gO as xi, gS as _i, gV as Wi, gZ as Ui, g_ as Zi, h2 as Hi, h3 as zi, h4 as Gi, h5 as qi, hc as Qi, hd as Ji, he as Xi, hf as Yi, hg as Ki, hi as ji, hj as $i, hk as ao, hl as eo, hm as so, hn as to, ho as io, hp as oo, hq as no, hs as ro, ht as lo, hu as go, hv as Po, hw as co, hx as uo, hz as Co, hA as mo, hB as So, hC as po, hD as ho, hE as Ao, hF as bo, hG as fo, hI as Do, hJ as yo, hK as To, hL as Ro, hN as vo, hO as Io, hR as Lo, hT as wo, hU as ko, hV as Vo, hW as Eo, hX as Fo, hY as Bo, hZ as Oo, h_ as Mo, h$ as No, i0 as xo, i1 as _o, i2 as Wo, i3 as Uo, i4 as Zo, i5 as Ho, i6 as zo } from "./SessionTimeoutPopup-BoJIVI7K.js";
2
2
  import { aM as qo, aB as Qo } from "./vendor-.pnpm-CUrsb6Rf.js";
3
3
  import { default as Xo } 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.57-betaAK0",
3
+ "version": "4.2.57-betaAK1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [