@zeniai/web-app-ui 5.3.52-dev → 5.3.53-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AccountMappingScreen-CfjKXYvl.js → AccountMappingScreen-h6RQnGUG.js} +2 -2
- package/dist/assets/{ActualMatchingMatchDetailScreen-Ctlw5YXu.js → ActualMatchingMatchDetailScreen-B7Vw_l4c.js} +1 -1
- package/dist/assets/AddressRoutes-w8tyo6J5.js +1 -0
- package/dist/assets/AddressScreen-DcUrSOsf.js +9 -0
- package/dist/assets/AiCfoScreen-CpQfUa4g.js +22 -0
- package/dist/assets/{AppDrawer-QudxLZqd.js → AppDrawer-DrLIFDtl.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes--p2o0UTq.js → BillPayApprovalRoutes-Cjvq2rbF.js} +1 -1
- package/dist/assets/BillPayRoutes-CPJm_O1t.js +119 -0
- package/dist/assets/{BusinessVerificationPageScreen-fABxFj6p.js → BusinessVerificationPageScreen-DJA0DrrC.js} +2 -2
- package/dist/assets/CardsAiCfoScreen-DDb2ZuZ_.js +14 -0
- package/dist/assets/{ChargeCardRoutes-8okIr07w.js → ChargeCardRoutes-CbSM_5m3.js} +8 -8
- package/dist/assets/CompanyPassportScreen-j_dRH50h.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-BkpK3Q9m.js → ConnectionAuthScreen-DsPkAmru.js} +2 -2
- package/dist/assets/CustomerOnboardingAuthScreen-BNBLWcXr.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-A9qZQBlL.js → CustomerOnboardingRoutes-ZSH-nufQ.js} +3 -3
- package/dist/assets/{DashboardRoutes-monhFGcO.js → DashboardRoutes-BtOqv-MN.js} +3 -3
- package/dist/assets/{DefaultTenantHome-B4aMzjG6.js → DefaultTenantHome-DToEgYOq.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-DSnjP_Z5.js → DomesticWireDetailScreen-CVW4GyMY.js} +3 -3
- package/dist/assets/{DrawerScreen-C728nU-t.js → DrawerScreen-_ojy_hFg.js} +1 -1
- package/dist/assets/EntityDetailRoutes-CK-mH_-b.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-lJCxAksc.js → ExpenseAutomationRoutes-b3yLxHwD.js} +7 -7
- package/dist/assets/FeaturePreviewScreen-BoONdT_D.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-DndTTZ9T.js +1 -0
- package/dist/assets/{InboxNotificationsProvider-Bd8tLMl8.js → InboxNotificationsProvider-D6QvVVj8.js} +1 -1
- package/dist/assets/{InvoicingRoutes-BFDQ_AF7.js → InvoicingRoutes-DkUuCZTT.js} +2 -2
- package/dist/assets/MagicLinkRoutes-D3FD1AQ_.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-xu1o-sOL.js +12 -0
- package/dist/assets/MobileAppDrawer-BnS3AEOn.js +1 -0
- package/dist/assets/NotFoundScreen-zRiKZg68.js +1 -0
- package/dist/assets/{NotificationRoutes-Dq1wMoB2.js → NotificationRoutes-BNeDbLRn.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-QrzCNvCR.js → OAuthConsentScreen-CFGSPUJy.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-LfSp6i3w.js +1 -0
- package/dist/assets/{PaymentLinkScreen-BYkX6g2m.js → PaymentLinkScreen-DeBS8t6S.js} +4 -4
- package/dist/assets/{PeopleRoutes-BSwZbUJ-.js → PeopleRoutes-Dq1v6Pp-.js} +5 -5
- package/dist/assets/PerformanceRoutes-DIdRvtFD.js +1 -0
- package/dist/assets/{Preview-Bt5Z89U4.js → Preview-CDuSXomS.js} +1 -1
- package/dist/assets/QBOConnectionScreen-BnB1aZoV.js +100 -0
- package/dist/assets/ReimbursementApprovalRoutes-C1kq5riD.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BqumfK_F.js → ReimbursementApprovalRuleDetailScreen-Cs7pkBs7.js} +1 -1
- package/dist/assets/ReimbursementRoutes-DnFb48rt.js +68 -0
- package/dist/assets/{ReportsRoutes-BbjIc2Jw.js → ReportsRoutes-CbRMfUn0.js} +1 -1
- package/dist/assets/RewardsRoutes-BS5WcL7W.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-DETwY7pD.js → ScheduleDetailsPrepaidExpensesScreen-U50ydaXU.js} +5 -5
- package/dist/assets/ScreenRoutes-0QveS_Gw.js +2 -0
- package/dist/assets/{SettingsRoutes-DwAkdZyX.js → SettingsRoutes-DsqPy7ab.js} +6 -6
- package/dist/assets/{SetupPagesScreen-Y9SYCogP.js → SetupPagesScreen-DyVC5Tjr.js} +5 -5
- package/dist/assets/SignInScreen-0Mg5cQhJ.js +1 -0
- package/dist/assets/SignOutScreen-DXrcHbwR.js +9 -0
- package/dist/assets/TaskListScreen-D8nGyAze.js +9 -0
- package/dist/assets/TaskRoutes-CvGAs8TT.js +9 -0
- package/dist/assets/TransactionDetailRoutes-Bn3kvwnI.js +1 -0
- package/dist/assets/{TransactionDetailScreen-0HhiaPRe.js → TransactionDetailScreen-CpeLNLRs.js} +2 -2
- package/dist/assets/TransactionListRoutes-GwUAS2rg.js +1 -0
- package/dist/assets/{TreasuryRoutes-DKuwHbrg.js → TreasuryRoutes-DGbJojow.js} +3 -3
- package/dist/assets/{VendorsRoutes-DXw2vvr4.js → VendorsRoutes-D_uL1WqL.js} +12 -12
- package/dist/assets/WiseConfirmationScreen-BGmtQRG5.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-BU1gb-LE.js → ZeniAccountRoutes-DnIPkvTG.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-D1FrDKPz.js +9 -0
- package/dist/assets/{accountMappingHelper-DQktkWkn.js → accountMappingHelper-DNRaFM1C.js} +1 -1
- package/dist/assets/{analytics-GZ8dIY_c.js → analytics-Y9Rn1Gu7.js} +1 -1
- package/dist/assets/analyticsHelper-b_0JgbzW.js +1 -0
- package/dist/assets/{core-DOBELRta.js → core-Dh_SHcAD.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DjVlhgki.js → decodeURIComponentSafe-B9wRnGXi.js} +1 -1
- package/dist/assets/{dnd-0MaFz9wL.js → dnd-CwwWYFuT.js} +1 -1
- package/dist/assets/{empty-DsXUnWhI.js → empty-BT_7GI6y.js} +1 -1
- package/dist/assets/{empty-C3pt8GU3.js → empty-XI8MiQF0.js} +1 -1
- package/dist/assets/{emptyVideoElement-DObxt-h2.js → emptyVideoElement-JNmKZqZz.js} +1 -1
- package/dist/assets/epic-COW9EFJg.js +2 -0
- package/dist/assets/expenseAutomationHelper-jy143DnO.js +1 -0
- package/dist/assets/{getLocaleForTenant-Dfv4vBw9.js → getLocaleForTenant-CCfef8lM.js} +1 -1
- package/dist/assets/{index-px1SxWJw.js → index-8Q8Cb_pA.js} +1 -1
- package/dist/assets/index-B23hmQHl.js +1 -0
- package/dist/assets/{index-CXbL8CxL.js → index-BeqOty_5.js} +12169 -12162
- package/dist/assets/{index-BmFszw0H.js → index-C4rZANm7.js} +1 -1
- package/dist/assets/{index-rIJ81ix1.js → index-D3h8toFn.js} +1 -1
- package/dist/assets/{index-1mAhqt2L.js → index-DOYaY83A.js} +1 -1
- package/dist/assets/{index-JlXkO7-y.js → index-DTprL6g9.js} +1 -1
- package/dist/assets/{index-F4l7OCjI.js → index-D_bKIveY.js} +2 -2
- package/dist/assets/{lexical-CAgOy6Q-.js → lexical-CaftfZ9D.js} +1 -1
- package/dist/assets/{liveblocks-BPL36a6x.js → liveblocks-DR8KfETq.js} +1 -1
- package/dist/assets/{lottie-38LSfraF.js → lottie-ODKvpFjz.js} +1 -1
- package/dist/assets/{mui-wO6EIETx.js → mui-BYn_Ugho.js} +1 -1
- package/dist/assets/{pathToGoBack-BTiQNxwp.js → pathToGoBack-BiqpVJeS.js} +1 -1
- package/dist/assets/{pdf-B2N0erO1.js → pdf-DnQo5-Qw.js} +3 -3
- package/dist/assets/{pdf-lib-Ct6vdrHd.js → pdf-lib-DdZd3IiB.js} +1 -1
- package/dist/assets/{plaid-C-eBmVPr.js → plaid-Dw8l1kdg.js} +1 -1
- package/dist/assets/{pusher-Qt-2jBy4.js → pusher-CewboUYG.js} +1 -1
- package/dist/assets/{react-D0sfM7Iy.js → react-8By583h-.js} +1 -1
- package/dist/assets/{react-DSWUEYTa.js → react-B8IvMjeE.js} +1 -1
- package/dist/assets/{react-BogDsHCA.js → react-BgmP_PBP.js} +1 -1
- package/dist/assets/{react-ByoUrZyD.js → react-CWd2ZkNi.js} +1 -1
- package/dist/assets/{react-9dynYr-j.js → react-gSPYEWZo.js} +1 -1
- package/dist/assets/{react-ofgvrscL.js → react-ygIo2ccY.js} +1 -1
- package/dist/assets/{recharts-Sp9X2zHo.js → recharts-BTL88W4R.js} +1 -1
- package/dist/assets/{routePaths-7schl7H2.js → routePaths-CN71IXC6.js} +1 -1
- package/dist/assets/{sentry-_x3Yh1Jc.js → sentry-FwaDhTzy.js} +1 -1
- package/dist/assets/{stripSplatSuffix-bz-VGo3l.js → stripSplatSuffix-CvpfThkG.js} +1 -1
- package/dist/assets/{url-DBFa8kl5.js → url-DHu7Ejzz.js} +1 -1
- package/dist/assets/{url-DW2CK7rX.js → url-DybJ-sxa.js} +1 -1
- package/dist/assets/useActualMatchingMatchDetail-CgMvOK9S.js +1 -0
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-BdSnJq4D.js → useAiCfoDashboardSuggestedQuestionsChips-B5JNAQpD.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BnkkGFrU.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-BHookjIG.js → useChargeCardPusherEvents-D9DQtbnp.js} +1 -1
- package/dist/assets/{useDeviceId-EJu2KjP1.js → useDeviceId-CUJxM_KE.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-DWvxRsrW.js +1 -0
- package/dist/assets/{useInitialThreadRequest-TFVuVZA_.js → useInitialThreadRequest-AIPuwXqX.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CiaMEBoG.js → useTaskManagerAccess-DJBrAqGh.js} +1 -1
- package/dist/assets/useTaskManagerPusherEvents-CWsImhYv.js +1 -0
- package/dist/assets/utils-DEAaFgLU.js +36 -0
- package/dist/assets/{withTransactionSidePanel-BR8uip_B.js → withTransactionSidePanel-BA2-aFQT.js} +6 -6
- package/dist/assets/{zeni-epic-state-DXFYDM66.js → zeni-epic-state-DJh0-ZeR.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddressRoutes-DakZpUxU.js +0 -1
- package/dist/assets/AddressScreen-dsCmoEfc.js +0 -9
- package/dist/assets/AiCfoScreen-1hhGcQPM.js +0 -22
- package/dist/assets/BillPayRoutes-BQ5naZy9.js +0 -119
- package/dist/assets/CardsAiCfoScreen-D7lfbMvU.js +0 -14
- package/dist/assets/CompanyPassportScreen-DGlmYKZ8.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CUL244kC.js +0 -1
- package/dist/assets/EntityDetailRoutes-Bn5UTAGi.js +0 -1
- package/dist/assets/FeaturePreviewScreen-BTcHNbYq.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-DeY4bk0n.js +0 -1
- package/dist/assets/MagicLinkRoutes-CDa3T_71.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-DkY-AFQs.js +0 -12
- package/dist/assets/MobileAppDrawer-CZL1M8HC.js +0 -1
- package/dist/assets/NotFoundScreen-rNwJ2-Qg.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-CGjGCsop.js +0 -1
- package/dist/assets/PerformanceRoutes-Cr1pAdV3.js +0 -1
- package/dist/assets/QBOConnectionScreen-TrNoYiXG.js +0 -100
- package/dist/assets/ReimbursementApprovalRoutes-C2OtR60a.js +0 -1
- package/dist/assets/ReimbursementRoutes-CPjQ0Aws.js +0 -68
- package/dist/assets/RewardsRoutes-Ca33Xd5P.js +0 -1
- package/dist/assets/ScreenRoutes-CiAckpHg.js +0 -2
- package/dist/assets/SignInScreen-McvwseEQ.js +0 -1
- package/dist/assets/SignOutScreen-lXmArlao.js +0 -9
- package/dist/assets/TaskListScreen-CZxRWWOz.js +0 -9
- package/dist/assets/TaskRoutes-q7JoPp0N.js +0 -9
- package/dist/assets/TransactionDetailRoutes-ZlWD_PWX.js +0 -1
- package/dist/assets/TransactionListRoutes-UQ_0OeeD.js +0 -1
- package/dist/assets/WiseConfirmationScreen-XQZz5N0L.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-CrkxN9K8.js +0 -9
- package/dist/assets/analyticsHelper-B9ZU7ow3.js +0 -1
- package/dist/assets/epic-BqUfEKD1.js +0 -2
- package/dist/assets/expenseAutomationHelper-CRKfrxDD.js +0 -1
- package/dist/assets/index-C_zqEcVM.js +0 -1
- package/dist/assets/useActualMatchingMatchDetail-BFtfLe4Y.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-gnFsttzV.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-bvDRvnqZ.js +0 -1
- package/dist/assets/utils-BU0XThgM.js +0 -36
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Uy as a}from"./zeni-epic-state-DXFYDM66.js";import"./sentry-_x3Yh1Jc.js";import{q as c,g as d}from"./core-DOBELRta.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="295cfb46-f10c-4de4-a04c-b234e3a5ed61",e._sentryDebugIdIdentifier="sentry-dbid-295cfb46-f10c-4de4-a04c-b234e3a5ed61")}catch{}})();const i=/^(0?[1-9]|1[0-2])-\d{4}$/;function l(e){if(e!=null&&e!=="")return a(e)}function y(e){const{selectedPeriod:n,selectedTab:s,tenantEmailDomain:t}=e,o=l(s);if(t!=null&&t!==""&&o!=null&&(function(r){return r!=null&&i.test(r)})(n))return`/${t}/month_end_close_checks/review/${o}/${n}`}const g=()=>{const e=u();return c("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*")!=null||e},u=()=>d().state?.message==="expenseAutomation";export{l as a,y as m,g as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as l,p as C}from"./sentry-_x3Yh1Jc.js";import{L as T}from"./zeni-epic-state-DXFYDM66.js";import{s as N,o as q}from"./utils-BU0XThgM.js";import{r as U}from"./url-DBFa8kl5.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new a.Error().stack;f&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[f]="7c6e733b-9145-40a6-9755-922cd2719660",a._sentryDebugIdIdentifier="sentry-dbid-7c6e733b-9145-40a6-9755-922cd2719660")}catch{}})();var E,A={},R={exports:{}},S={};function I(){return E||(E=1,(function(a){var f;function m(){if(f!==void 0)return f;if(l.XMLHttpRequest){f=new l.XMLHttpRequest;try{f.open("GET",l.XDomainRequest?"/":"https://example.com")}catch{f=null}}else f=null;return f}function h(c){var r=m();if(!r)return!1;try{return r.responseType=c,r.responseType===c}catch{}return!1}function p(c){return typeof c=="function"}a.fetch=p(l.fetch)&&p(l.ReadableStream),a.writableStream=p(l.WritableStream),a.abortController=p(l.AbortController),a.arraybuffer=a.fetch||h("arraybuffer"),a.msstream=!a.fetch&&h("ms-stream"),a.mozchunkedarraybuffer=!a.fetch&&h("moz-chunked-arraybuffer"),a.overrideMimeType=a.fetch||!!m()&&p(m().overrideMimeType),f=null})(S)),S}var x,k,w,O,H,M,P,b={};function L(){if(x)return b;x=1;var a=I(),f=N(),m=q(),h=b.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},p=b.IncomingMessage=function(c,r,s,e){var t=this;if(m.Readable.call(t),t._mode=s,t.headers={},t.rawHeaders=[],t.trailers={},t.rawTrailers=[],t.on("end",(function(){C.nextTick((function(){t.emit("close")}))})),s==="fetch"){let y=function(){u.read().then((function(n){t._destroyed||(e(n.done),n.done?t.push(null):(t.push(T.from(n.value)),y()))})).catch((function(n){e(!0),t._destroyed||t.emit("error",n)}))};if(t._fetchResponse=r,t.url=r.url,t.statusCode=r.status,t.statusMessage=r.statusText,r.headers.forEach((function(n,i){t.headers[i.toLowerCase()]=n,t.rawHeaders.push(i,n)})),a.writableStream){var o=new WritableStream({write:function(n){return e(!1),new Promise((function(i,v){t._destroyed?v():t.push(T.from(n))?i():t._resumeFetch=i}))},close:function(){e(!0),t._destroyed||t.push(null)},abort:function(n){e(!0),t._destroyed||t.emit("error",n)}});try{return void r.body.pipeTo(o).catch((function(n){e(!0),t._destroyed||t.emit("error",n)}))}catch{}}var u=r.body.getReader();y()}else if(t._xhr=c,t._pos=0,t.url=c.responseURL,t.statusCode=c.status,t.statusMessage=c.statusText,c.getAllResponseHeaders().split(/\r?\n/).forEach((function(y){var n=y.match(/^([^:]+):\s*(.*)/);if(n){var i=n[1].toLowerCase();i==="set-cookie"?(t.headers[i]===void 0&&(t.headers[i]=[]),t.headers[i].push(n[2])):t.headers[i]!==void 0?t.headers[i]+=", "+n[2]:t.headers[i]=n[2],t.rawHeaders.push(n[1],n[2])}})),t._charset="x-user-defined",!a.overrideMimeType){var d=t.rawHeaders["mime-type"];if(d){var _=d.match(/;\s*charset=([^;])(;|$)/);_&&(t._charset=_[1].toLowerCase())}t._charset||(t._charset="utf-8")}};return f(p,m.Readable),p.prototype._read=function(){var c=this._resumeFetch;c&&(this._resumeFetch=null,c())},p.prototype._onXHRProgress=function(c){var r=this,s=r._xhr,e=null;switch(r._mode){case"text":if((e=s.responseText).length>r._pos){var t=e.substr(r._pos);if(r._charset==="x-user-defined"){for(var o=T.alloc(t.length),u=0;u<t.length;u++)o[u]=255&t.charCodeAt(u);r.push(o)}else r.push(t,r._charset);r._pos=e.length}break;case"arraybuffer":if(s.readyState!==h.DONE||!s.response)break;e=s.response,r.push(T.from(new Uint8Array(e)));break;case"moz-chunked-arraybuffer":if(e=s.response,s.readyState!==h.LOADING||!e)break;r.push(T.from(new Uint8Array(e)));break;case"ms-stream":if(e=s.response,s.readyState!==h.LOADING)break;var d=new l.MSStreamReader;d.onprogress=function(){d.result.byteLength>r._pos&&(r.push(T.from(new Uint8Array(d.result.slice(r._pos)))),r._pos=d.result.byteLength)},d.onload=function(){c(!0),r.push(null)},d.readAsArrayBuffer(e)}r._xhr.readyState===h.DONE&&r._mode!=="ms-stream"&&(c(!0),r.push(null))},b}function F(){if(k)return R.exports;k=1;var a=I(),f=N(),m=L(),h=q(),p=m.IncomingMessage,c=m.readyStates,r=R.exports=function(e){var t,o=this;h.Writable.call(o),o._opts=e,o._body=[],o._headers={},e.auth&&o.setHeader("Authorization","Basic "+T.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(d){o.setHeader(d,e.headers[d])}));var u=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!a.abortController)u=!1,t=!0;else if(e.mode==="prefer-streaming")t=!1;else if(e.mode==="allow-wrong-content-type")t=!a.overrideMimeType;else{if(e.mode&&e.mode!=="default"&&e.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");t=!0}o._mode=(function(d,_){return a.fetch&&_?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&d?"arraybuffer":"text"})(t,u),o._fetchTimer=null,o._socketTimeout=null,o._socketTimer=null,o.on("finish",(function(){o._onFinish()}))};f(r,h.Writable),r.prototype.setHeader=function(e,t){var o=e.toLowerCase();s.indexOf(o)===-1&&(this._headers[o]={name:e,value:t})},r.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},r.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},r.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&t.timeout!==0&&e.setTimeout(t.timeout);var o=e._headers,u=null;t.method!=="GET"&&t.method!=="HEAD"&&(u=new Blob(e._body,{type:(o["content-type"]||{}).value||""}));var d=[];if(Object.keys(o).forEach((function(i){var v=o[i].name,g=o[i].value;Array.isArray(g)?g.forEach((function(D){d.push([v,D])})):d.push([v,g])})),e._mode==="fetch"){var _=null;if(a.abortController){var y=new AbortController;_=y.signal,e._fetchAbortController=y,"requestTimeout"in t&&t.requestTimeout!==0&&(e._fetchTimer=l.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}l.fetch(e._opts.url,{method:e._opts.method,headers:d,body:u||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:_}).then((function(i){e._fetchResponse=i,e._resetTimers(!1),e._connect()}),(function(i){e._resetTimers(!0),e._destroyed||e.emit("error",i)}))}else{var n=e._xhr=new l.XMLHttpRequest;try{n.open(e._opts.method,e._opts.url,!0)}catch(i){return void C.nextTick((function(){e.emit("error",i)}))}"responseType"in n&&(n.responseType=e._mode),"withCredentials"in n&&(n.withCredentials=!!t.withCredentials),e._mode==="text"&&"overrideMimeType"in n&&n.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(n.timeout=t.requestTimeout,n.ontimeout=function(){e.emit("requestTimeout")}),d.forEach((function(i){n.setRequestHeader(i[0],i[1])})),e._response=null,n.onreadystatechange=function(){switch(n.readyState){case c.LOADING:case c.DONE:e._onXHRProgress()}},e._mode==="moz-chunked-arraybuffer"&&(n.onprogress=function(){e._onXHRProgress()}),n.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{n.send(u)}catch(i){return void C.nextTick((function(){e.emit("error",i)}))}}}},r.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),(function(t){try{var o=t.status;return o!==null&&o!==0}catch{return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},r.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},r.prototype._write=function(e,t,o){this._body.push(e),o()},r.prototype._resetTimers=function(e){var t=this;l.clearTimeout(t._socketTimer),t._socketTimer=null,e?(l.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=l.setTimeout((function(){t.emit("timeout")}),t._socketTimeout))},r.prototype.abort=r.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},r.prototype.end=function(e,t,o){typeof e=="function"&&(o=e,e=void 0),h.Writable.prototype.end.call(this,e,t,o)},r.prototype.setTimeout=function(e,t){var o=this;t&&o.once("timeout",t),o._socketTimeout=e,o._resetTimers(!1)},r.prototype.flushHeaders=function(){},r.prototype.setNoDelay=function(){},r.prototype.setSocketKeepAlive=function(){};var s=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return R.exports}function K(){return P||(P=1,(function(a){var f=F(),m=L(),h=(function(){if(O)return w;O=1,w=function(){for(var e={},t=0;t<arguments.length;t++){var o=arguments[t];for(var u in o)s.call(o,u)&&(e[u]=o[u])}return e};var s=Object.prototype.hasOwnProperty;return w})(),p=M?H:(M=1,H={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),c=U(),r=a;r.request=function(s,e){s=typeof s=="string"?c.parse(s):h(s);var t=l.location.protocol.search(/^https?:$/)===-1?"http:":"",o=s.protocol||t,u=s.hostname||s.host,d=s.port,_=s.path||"/";u&&u.indexOf(":")!==-1&&(u="["+u+"]"),s.url=(u?o+"//"+u:"")+(d?":"+d:"")+_,s.method=(s.method||"GET").toUpperCase(),s.headers=s.headers||{};var y=new f(s);return e&&y.on("response",e),y},r.get=function(s,e){var t=r.request(s,e);return t.end(),t},r.ClientRequest=f,r.IncomingMessage=m.IncomingMessage,r.Agent=function(){},r.Agent.defaultMaxSockets=4,r.globalAgent=new r.Agent,r.STATUS_CODES=p,r.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(A)),A}export{K as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./sentry-_x3Yh1Jc.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-DOBELRta.js";import{a1N as B,a16 as C,rP as m,a17 as I,se as D,s8 as E,sP as G}from"./zeni-epic-state-DXFYDM66.js";import{a as M}from"./stripSplatSuffix-bz-VGo3l.js";import{a5 as O,p as $}from"./index-CXbL8CxL.js";import{c as A}from"./routePaths-7schl7H2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="02d513c7-6a9e-4a7f-8221-7f338817ce50",e._sentryDebugIdIdentifier="sentry-dbid-02d513c7-6a9e-4a7f-8221-7f338817ce50")}catch{}})();function d(e){return"jeOneTimeAccrualKey"in e&&e.jeOneTimeAccrualKey!=null?e:{...e,jeOneTimeAccrualKey:`${e.accrualId}_one_time_accrual`}}function q(e){const a=T(),c=v(),s=R(),{tenantEmailDomain:o}=w(),{match:l,detailFetchState:r,refreshStatus:f,undoReversalStatus:h,lastMatchResults:p,lastUndoResults:b}=i((t=>B(t,e))),u=i(C);n.useEffect((()=>{e!==""&&l==null&&r.fetchState==="Not-Started"&&a(m(e))}),[e,l,r.fetchState,a]),n.useEffect((()=>{if(u!==!0||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=O(s.state?.pathnameStackToGoBack);c(M(t.poppedPathname,`/${o??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),a(I())}),[u,a,s.pathname,s.state,c,o]);const k=n.useMemo((()=>l==null?void 0:(function(t){return{...t,leftovers:t.leftovers?.map(d),members:t.members.map(d)}})(l)),[l]),y=n.useCallback((()=>{e!==""&&a(m(e,!0))}),[a,e]),S=n.useCallback((t=>{e!==""&&a(D(e,t))}),[a,e]),_=n.useCallback((()=>{e!==""&&a(E(e))}),[a,e]),g=n.useCallback((t=>{o!=null&&c(A({id:t.id,type:G(t.type)},o),{state:{pathnameStackToGoBack:$(s.state?.pathnameStackToGoBack,`${s.pathname}${s.search}`)}})}),[s.pathname,s.search,s.state,c,o]);return{match:k,detailFetchState:r,handleOpenBill:g,handleContinueMatch:_,handleRefresh:y,handleUndoReversal:S,lastMatchResults:p,lastUndoResults:b,refreshStatus:f,undoReversalStatus:h}}export{q as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./sentry-_x3Yh1Jc.js";import{h as u,g,i as h,j as S}from"./core-DOBELRta.js";import{fF as y}from"./zeni-epic-state-DXFYDM66.js";import{a as k,a2 as C,e as A,as as T,v,p as I,av as w}from"./index-CXbL8CxL.js";import"./mui-wO6EIETx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e9acf596-c2ea-43fb-9fe4-1a6f970037e2",e._sentryDebugIdIdentifier="sentry-dbid-e9acf596-c2ea-43fb-9fe4-1a6f970037e2")}catch{}})();function j(e){const{mobileExploreReferrer:a}=e,{isAiCfoOpen:f,setIsAiCfoOpen:r}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),l=C(),i=w(l),d=A(),p=T(),m=S((t=>t.tenantState.fetchState==="Completed"||t.tenantState.activeTenantFetchState.fetchState==="Completed"?y(t):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&d&&!f,onAskAiCfoClick:b.useCallback((()=>{if(n!=null)if(c)if(i){const t=I(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:t,referrer:a}})}else r(!0);else v({location:o,navigate:s,mergeState:{referrer:a}})}),[c,i,o,a,s,r,n])}}export{j as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./sentry-_x3Yh1Jc.js";import{u as L}from"./plaid-C-eBmVPr.js";import{u as A,j as m}from"./core-DOBELRta.js";import{Vz as v,FW as F,Mp as R,C9 as w,VA as V,fF as $,gM as N,BP as T,VB as U}from"./zeni-epic-state-DXFYDM66.js";import{aK as M,z as q}from"./index-CXbL8CxL.js";import"./mui-wO6EIETx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b263f4bf-66ad-4b31-9f2a-d0336468e808",e._sentryDebugIdIdentifier="sentry-dbid-b263f4bf-66ad-4b31-9f2a-d0336468e808")}catch{}})();const z=new Set(V),J=({companyId:e})=>{const n=A(),i=m((t=>t.plaidAccountViewState.external_account.plaidConnectionDetails.link_external_account)),s=m((t=>t.plaidAccountViewState.external_account.plaidConnectionDetails.update_account)),d=m((t=>v(t.paymentAccountState))),r=a.useRef(!1),[o,u]=a.useState(void 0),[c,l]=a.useState(!1);a.useEffect((()=>{n(F())}),[n]);const f=a.useCallback((t=>{e!=null&&(n(R(t,e,"external_account",void 0,o!=null?"update_account":"link_external_account")),r.current=!1,o!=null&&l(!0))}),[n,e,o]),x=a.useCallback((()=>{r.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,D=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:b}=L({token:D,onSuccess:f,onExit:x});a.useEffect((()=>{r.current&&b&&(g(),r.current=!1)}),[b,g]);const h=p.fetchStatus.fetchState;a.useEffect((()=>{h==="Error"&&(r.current=!1)}),[h]);const E=a.useCallback((()=>{e!=null&&(u(void 0),r.current=!0,n(w("external_account","link_external_account")))}),[n,e]),P=a.useCallback((t=>{e!=null&&(u(t),l(!1),r.current=!0,n(w("external_account","update_account",t)))}),[n,e]),_=s.fetchStatus.fetchState==="In-Progress"||s.updateStatus.fetchState==="In-Progress"?"In-Progress":s.fetchStatus.fetchState==="Error"||c&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((t=>{const C=M(t.institutionDetails?.logo);return{accountId:t.paymentAccountId,name:t.institutionDetails?.institutionName??t.accountName,mask:t.accountLast4Digits,balanceFormatted:(S=t.balances?.current?.amount,y=t.balances?.current?.currencySymbol,S==null?"":`${y??"$"}${S.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`),isActive:z.has(t.providerVerificationStatus?.code??""),isLoginRequired:t.isLoginRequired,reLoginStatus:t.paymentAccountId===o?_:"Not-Started",institutionLogoUrl:C};var S,y}))),[d,o,_]),onAddPlaidAccount:E,onReLoginPlaidAccount:P}},I="email_connect_result",k="onboarding_step",O=()=>{const e=A(),n=m((o=>$(o).tenantId)),i=q.getSignedInUser()?.userId,s=a.useRef(!1),[d,r]=a.useState(null);return a.useEffect((()=>{if(s.current||i==null||i===""||n==null||n==="")return;const{consumed:o,onboardingStep:u}=(()=>{const c=new URL(window.location.href),l=c.searchParams.has(I),f=c.searchParams.get(k);return l||f!=null?(c.searchParams.delete(I),c.searchParams.delete(k),window.history.replaceState(window.history.state,"",`${c.pathname}${c.search}${c.hash}`),{consumed:l,onboardingStep:f}):{consumed:!1,onboardingStep:null}})();!o&&u==null||(s.current=!0,o&&(e(N(i,n)),r("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&e(T({step:U(u)})))}),[e,n,i]),{pendingAutoFocusTabId:d}};export{J as a,O as u};
|