@zeniai/web-app-ui 5.3.31-prod → 5.3.32-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-Dst-9gUw.js +9 -0
- package/dist/assets/AddressRoutes-O-cTW9EV.js +1 -0
- package/dist/assets/{AddressScreen-lw7TKwyq.js → AddressScreen-LFBV9KsX.js} +2 -2
- package/dist/assets/{AiCfoScreen-DCL1Hzq-.js → AiCfoScreen-N1tWqaxl.js} +1 -1
- package/dist/assets/{AppDrawer-BIgFOgvw.js → AppDrawer-DmTC2F7R.js} +3 -3
- package/dist/assets/{BillPayApprovalRoutes-CXiRj9PG.js → BillPayApprovalRoutes-sbvXc3_Z.js} +1 -1
- package/dist/assets/{BillPayRoutes-DOVyvcf4.js → BillPayRoutes-Cf4T_cOn.js} +18 -18
- package/dist/assets/BusinessVerificationPageScreen--LjYD0BK.js +9 -0
- package/dist/assets/{CardsAiCfoScreen-yIiz5h6K.js → CardsAiCfoScreen-p_ZDfSVk.js} +2 -2
- package/dist/assets/{ChargeCardRoutes-DiWZ-ZiS.js → ChargeCardRoutes-DWtJK7tn.js} +7 -7
- package/dist/assets/CompanyPassportScreen-Cr55ZhHa.js +1 -0
- package/dist/assets/ConnectionAuthScreen-D-vDZGov.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-Cs_F35vo.js +1 -0
- package/dist/assets/CustomerOnboardingRoutes-deFe2P-n.js +30 -0
- package/dist/assets/{DashboardRoutes-DHewAcPg.js → DashboardRoutes-DmGJojZS.js} +3 -3
- package/dist/assets/{DefaultTenantHome-BqNVIe7c.js → DefaultTenantHome-CWi1XNJj.js} +1 -1
- package/dist/assets/DomesticWireDetailScreen-D5RLzOT3.js +18 -0
- package/dist/assets/{DrawerScreen-C-8KLRJM.js → DrawerScreen-DVJ1nhu5.js} +1 -1
- package/dist/assets/EntityDetailRoutes-DJgrP2Nz.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-eoCnwcrW.js → ExpenseAutomationRoutes-OyBtxM5J.js} +4 -4
- package/dist/assets/FeaturePreviewScreen-BhrA_knX.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-Dm5LF-fb.js +1 -0
- package/dist/assets/{InboxNotificationsProvider-5qCqmUI8.js → InboxNotificationsProvider-DBc6Mphu.js} +1 -1
- package/dist/assets/{InvoicingRoutes-CBnQHbV_.js → InvoicingRoutes-B1FBFxmX.js} +2 -2
- package/dist/assets/{MagicLinkRoutes-eKUojX66.js → MagicLinkRoutes-70CKQAmw.js} +7 -7
- package/dist/assets/MagicLinkSignInScreen-CC7wdqci.js +12 -0
- package/dist/assets/MobileAppDrawer-BtnNKdri.js +1 -0
- package/dist/assets/NotFoundScreen-DjDyDYWZ.js +1 -0
- package/dist/assets/NotificationRoutes-Jy_Q0gUN.js +1 -0
- package/dist/assets/OAuthConsentScreen-DB2EvPsq.js +1 -0
- package/dist/assets/{PandLWithForecastRoutes-CXuH6-lq.js → PandLWithForecastRoutes-DHCQWgYM.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-Cb7u9fKa.js → PaymentLinkScreen-nMdnk521.js} +4 -4
- package/dist/assets/PeopleRoutes-rPdm-Ydn.js +22 -0
- package/dist/assets/PerformanceRoutes-CF0jBH_I.js +1 -0
- package/dist/assets/{Preview-CJfcRzEF.js → Preview-C_55fm97.js} +1 -1
- package/dist/assets/QBOConnectionScreen-Dlky0ESM.js +100 -0
- package/dist/assets/ReimbursementApprovalRoutes-Bf9cBzdf.js +1 -0
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-XQSOHGYn.js +1 -0
- package/dist/assets/ReimbursementRoutes-CgvBDllF.js +68 -0
- package/dist/assets/{ReportsRoutes-DiYTJu27.js → ReportsRoutes-BMuQOI7M.js} +1 -1
- package/dist/assets/RewardsRoutes-CF7hyIJJ.js +1 -0
- package/dist/assets/ScreenRoutes-vV1s5761.js +2 -0
- package/dist/assets/{SettingsRoutes-BACEcxdy.js → SettingsRoutes-6XcFcNwI.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BjTv-gJ-.js → SetupPagesScreen-BxDIT7Xu.js} +5 -5
- package/dist/assets/SignInScreen-UcqpfzAX.js +1 -0
- package/dist/assets/SignOutScreen-14vW04Vy.js +9 -0
- package/dist/assets/TaskListScreen-CwNgkHwd.js +9 -0
- package/dist/assets/TaskRoutes-uBt2S29g.js +9 -0
- package/dist/assets/TransactionDetailRoutes-Burs226A.js +1 -0
- package/dist/assets/{TransactionDetailScreen-CYqaDKU1.js → TransactionDetailScreen-2kUyCbFm.js} +2 -2
- package/dist/assets/TransactionListRoutes-Dm5jOGqp.js +1 -0
- package/dist/assets/TreasuryRoutes-C3nO4w9n.js +37 -0
- package/dist/assets/{VendorsRoutes-DHhjevDF.js → VendorsRoutes-zeljYW53.js} +20 -20
- package/dist/assets/WiseConfirmationScreen-BBqG7Bw5.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-BI1Dy1bu.js → ZeniAccountRoutes-Dl9FUScI.js} +9 -9
- package/dist/assets/ZeniAccountStatementScreen-BjcRzB88.js +9 -0
- package/dist/assets/{accountMappingHelper-B06MQSKH.js → accountMappingHelper-ZLBxLrOl.js} +1 -1
- package/dist/assets/{analytics-DZ_IK-Kq.js → analytics-DHBkdK00.js} +1 -1
- package/dist/assets/{analyticsHelper-CcegxGUw.js → analyticsHelper-C8sM1z8L.js} +1 -1
- package/dist/assets/{core-BZ1rdEBJ.js → core-DuNHGHBC.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-Bqc80Z_5.js → decodeURIComponentSafe-CcNRl55W.js} +1 -1
- package/dist/assets/{dnd-DzXS-Yl8.js → dnd-DKR3QBLX.js} +1 -1
- package/dist/assets/{empty-AsM4qApo.js → empty-BA0WbUFe.js} +1 -1
- package/dist/assets/{empty-cCNdrc28.js → empty-DRiI770H.js} +1 -1
- package/dist/assets/{emptyVideoElement-Rzrwu9a7.js → emptyVideoElement-h3Sv0Oh_.js} +1 -1
- package/dist/assets/epic-leJAVePQ.js +2 -0
- package/dist/assets/{expenseAutomationHelper-L0bEaNW0.js → expenseAutomationHelper-DGi7tuOw.js} +1 -1
- package/dist/assets/{getLocaleForTenant-pNMINwIt.js → getLocaleForTenant-D1jcEP43.js} +1 -1
- package/dist/assets/{index-BtxI1s-C.js → index-B21g9_qj.js} +1 -1
- package/dist/assets/{index-CD2K4LCZ.js → index-CFb8siio.js} +1 -1
- package/dist/assets/{index-CTFYwhi_.js → index-CxkwDRG8.js} +31275 -30310
- package/dist/assets/{index-DUwNnz-H.js → index-DRythsNE.js} +1 -1
- package/dist/assets/{index-s3SqlTSi.js → index-DgXVMYGv.js} +1 -1
- package/dist/assets/{index-BCqMFJBd.js → index-DplrRYRh.js} +1 -1
- package/dist/assets/{index-C2_5ePPm.js → index-bPK7WXlx.js} +2 -2
- package/dist/assets/{index-D6ajdYmw.js → index-y1KlwLzp.js} +1 -1
- package/dist/assets/{lexical-CXbrQPvX.js → lexical-CcqvVKiN.js} +1 -1
- package/dist/assets/{liveblocks-BlM-yJIK.js → liveblocks-BkTNzfNi.js} +1 -1
- package/dist/assets/{lottie-BRnok4t-.js → lottie-DACJJNY9.js} +1 -1
- package/dist/assets/{mui-BFHFLIBn.js → mui-DaLeH41l.js} +1 -1
- package/dist/assets/{pathToGoBack-3nPRQATL.js → pathToGoBack-CmznLvKE.js} +1 -1
- package/dist/assets/{pdf-CCE45QO9.js → pdf-BjtwR-dW.js} +3 -3
- package/dist/assets/{pdf-lib-C7pdf7jS.js → pdf-lib-oygBYinp.js} +1 -1
- package/dist/assets/{plaid-B4PUsiXy.js → plaid-BVNoSR_u.js} +1 -1
- package/dist/assets/{pusher-CXiKJSqU.js → pusher-Db4sFIYV.js} +1 -1
- package/dist/assets/{react-DSLLCnPg.js → react-1oTTb5wo.js} +1 -1
- package/dist/assets/{react-B1sjzw5V.js → react-CEkBTHgm.js} +1 -1
- package/dist/assets/{react-BS78iUa1.js → react-CMoOPPDa.js} +1 -1
- package/dist/assets/{react-CfJUXWQ6.js → react-CNf8hG5M.js} +1 -1
- package/dist/assets/{react-DyJyDxfJ.js → react-CYKQo_kF.js} +1 -1
- package/dist/assets/{react-DP4ZD9OQ.js → react-eY-XTCmQ.js} +1 -1
- package/dist/assets/{recharts-Cp8vAfrX.js → recharts-CkuQpH_L.js} +1 -1
- package/dist/assets/{routePaths-B_N5gTZd.js → routePaths-CKTfFzY9.js} +1 -1
- package/dist/assets/{sentry-CoUvtkTT.js → sentry-CNLjKkQW.js} +1 -1
- package/dist/assets/{url-CnOwCc5F.js → url-C3nvEZls.js} +1 -1
- package/dist/assets/url-CaYHIgYK.js +6 -0
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-RsZy7Pno.js → useAiCfoDashboardSuggestedQuestionsChips-BnMQqj78.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-D-XiURTy.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-BUm4XlrP.js → useChargeCardPusherEvents-B74EcXIV.js} +1 -1
- package/dist/assets/{useDeviceId-Cm20XW3g.js → useDeviceId-J3kskmrp.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-F2D_LM69.js +1 -0
- package/dist/assets/{useInitialThreadRequest-DLJzdGrt.js → useInitialThreadRequest-DANB6KeB.js} +1 -1
- package/dist/assets/useTaskManagerAccess-CgZlooKP.js +1 -0
- package/dist/assets/utils-BN2UhEgk.js +36 -0
- package/dist/assets/{withTransactionSidePanel-DeFt4H26.js → withTransactionSidePanel-CbsHNOl9.js} +2 -2
- package/dist/assets/{zeni-epic-state-CRmviUHA.js → zeni-epic-state-IKQP0lNP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountMappingScreen-D5SnfpgG.js +0 -9
- package/dist/assets/AddressRoutes-DxNwOKyW.js +0 -1
- package/dist/assets/BusinessVerificationPageScreen-B3ZQAAhl.js +0 -9
- package/dist/assets/CompanyPassportScreen-CZzl3z9T.js +0 -1
- package/dist/assets/ConnectionAuthScreen-C42jakDq.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-C14qTLI_.js +0 -1
- package/dist/assets/CustomerOnboardingRoutes-O_YOoRN1.js +0 -30
- package/dist/assets/DomesticWireDetailScreen-CFzZ2YyI.js +0 -18
- package/dist/assets/EntityDetailRoutes-0kc30WGx.js +0 -1
- package/dist/assets/FeaturePreviewScreen-gRTJmh4o.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-D8IxiMzs.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-D9n4aCxk.js +0 -12
- package/dist/assets/MobileAppDrawer-Cwqn_b45.js +0 -1
- package/dist/assets/NotFoundScreen-75_Gn0cI.js +0 -1
- package/dist/assets/NotificationRoutes-BrErGUvj.js +0 -1
- package/dist/assets/OAuthConsentScreen-CicUQ_O4.js +0 -1
- package/dist/assets/PeopleRoutes-DbLiKITu.js +0 -22
- package/dist/assets/PerformanceRoutes-Cs1f1cGn.js +0 -1
- package/dist/assets/QBOConnectionScreen-DMWIfg2I.js +0 -100
- package/dist/assets/ReimbursementApprovalRoutes-D6JXZy7H.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-DfsoUCdz.js +0 -1
- package/dist/assets/ReimbursementRoutes-wJV0bMxF.js +0 -68
- package/dist/assets/RewardsRoutes-hsuwRKfr.js +0 -1
- package/dist/assets/ScreenRoutes-Dd_1LkfX.js +0 -2
- package/dist/assets/SignInScreen-uIYYM64L.js +0 -1
- package/dist/assets/SignOutScreen-CDaf30dp.js +0 -9
- package/dist/assets/TaskListScreen-J9jUMTBb.js +0 -9
- package/dist/assets/TaskRoutes-t8wf1y1X.js +0 -9
- package/dist/assets/TransactionDetailRoutes-Cfne4xm1.js +0 -1
- package/dist/assets/TransactionListRoutes-CowKNLk5.js +0 -1
- package/dist/assets/TreasuryRoutes-Dt8Cgba2.js +0 -37
- package/dist/assets/WiseConfirmationScreen-BluQRSGS.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-y7BZNAye.js +0 -9
- package/dist/assets/epic-Bave6uHn.js +0 -2
- package/dist/assets/url-DpG-51AL.js +0 -6
- package/dist/assets/useAskAiCfoHostNavButtonProps-fRSEHozy.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-BHeKh6Ep.js +0 -1
- package/dist/assets/useTaskManagerAccess-D9-djiWT.js +0 -1
- package/dist/assets/utils-BKpHrBI5.js +0 -36
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{d as Le,c as ft}from"./sentry-CoUvtkTT.js";import{t as Ie,u as lt,v as st}from"./utils-BKpHrBI5.js";(function(){try{var N=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},I=new N.Error().stack;I&&(N._sentryDebugIds=N._sentryDebugIds||{},N._sentryDebugIds[I]="f36be0d5-88b6-4bac-af9c-b3cda8367ead",N._sentryDebugIdIdentifier="sentry-dbid-f36be0d5-88b6-4bac-af9c-b3cda8367ead")}catch{}})();var Fe,Pe={exports:{}},De={exports:{}},pt=De.exports;function ht(){return Fe||(Fe=1,N=De,I=De.exports,(function(q){var b=I&&!I.nodeType&&I,Q=N&&!N.nodeType&&N,R=typeof Le=="object"&&Le;R.global!==R&&R.window!==R&&R.self!==R||(q=R);var S,j,m=2147483647,O=36,E=/^xn--/,B=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,i={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},s=Math.floor,u=String.fromCharCode;function n(f){throw new RangeError(i[f])}function l(f,h){for(var a=f.length,M=[];a--;)M[a]=h(f[a]);return M}function _(f,h){var a=f.split("@"),M="";return a.length>1&&(M=a[0]+"@",f=a[1]),M+l((f=f.replace(c,".")).split("."),h).join(".")}function d(f){for(var h,a,M=[],K=0,V=f.length;K<V;)(h=f.charCodeAt(K++))>=55296&&h<=56319&&K<V?(64512&(a=f.charCodeAt(K++)))==56320?M.push(((1023&h)<<10)+(1023&a)+65536):(M.push(h),K--):M.push(h);return M}function T(f){return l(f,(function(h){var a="";return h>65535&&(a+=u((h-=65536)>>>10&1023|55296),h=56320|1023&h),a+=u(h)})).join("")}function v(f,h){return f+22+75*(f<26)-((h!=0)<<5)}function x(f,h,a){var M=0;for(f=a?s(f/700):f>>1,f+=s(f/h);f>455;M+=O)f=s(f/35);return s(M+36*f/(f+38))}function p(f){var h,a,M,K,V,$,Z,L,oe,le,X,ae=[],ce=f.length,G=0,se=128,te=72;for((a=f.lastIndexOf("-"))<0&&(a=0),M=0;M<a;++M)f.charCodeAt(M)>=128&&n("not-basic"),ae.push(f.charCodeAt(M));for(K=a>0?a+1:0;K<ce;){for(V=G,$=1,Z=O;K>=ce&&n("invalid-input"),((L=(X=f.charCodeAt(K++))-48<10?X-22:X-65<26?X-65:X-97<26?X-97:O)>=O||L>s((m-G)/$))&&n("overflow"),G+=L*$,!(L<(oe=Z<=te?1:Z>=te+26?26:Z-te));Z+=O)$>s(m/(le=O-oe))&&n("overflow"),$*=le;te=x(G-V,h=ae.length+1,V==0),s(G/h)>m-se&&n("overflow"),se+=s(G/h),G%=h,ae.splice(G++,0,se)}return T(ae)}function D(f){var h,a,M,K,V,$,Z,L,oe,le,X,ae,ce,G,se,te=[];for(ae=(f=d(f)).length,h=128,a=0,V=72,$=0;$<ae;++$)(X=f[$])<128&&te.push(u(X));for(M=K=te.length,K&&te.push("-");M<ae;){for(Z=m,$=0;$<ae;++$)(X=f[$])>=h&&X<Z&&(Z=X);for(Z-h>s((m-a)/(ce=M+1))&&n("overflow"),a+=(Z-h)*ce,h=Z,$=0;$<ae;++$)if((X=f[$])<h&&++a>m&&n("overflow"),X==h){for(L=a,oe=O;!(L<(le=oe<=V?1:oe>=V+26?26:oe-V));oe+=O)se=L-le,G=O-le,te.push(u(v(le+se%G,0))),L=s(se/G);te.push(u(v(L,0))),V=x(a,ce,M==K),a=0,++M}++a,++h}return te.join("")}if(S={version:"1.4.1",ucs2:{decode:d,encode:T},decode:p,encode:D,toASCII:function(f){return _(f,(function(h){return B.test(h)?"xn--"+D(h):h}))},toUnicode:function(f){return _(f,(function(h){return E.test(h)?p(h.slice(4).toLowerCase()):h}))}},b&&Q)if(N.exports==b)Q.exports=S;else for(j in S)S.hasOwnProperty(j)&&(b[j]=S[j]);else q.punycode=S})(pt)),De.exports;var N,I}const yt=ft(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Me,He,Ke,$e,ze,Be,Qe,Ve,Ze,Ge,Je,Ye,Ae,Xe,Ne,et,tt,rt,nt,ot,it;function Re(){if(He)return Me;He=1;var N=typeof Map=="function"&&Map.prototype,I=Object.getOwnPropertyDescriptor&&N?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,q=N&&I&&typeof I.get=="function"?I.get:null,b=N&&Map.prototype.forEach,Q=typeof Set=="function"&&Set.prototype,R=Object.getOwnPropertyDescriptor&&Q?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,S=Q&&R&&typeof R.get=="function"?R.get:null,j=Q&&Set.prototype.forEach,m=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,O=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,B=Boolean.prototype.valueOf,c=Object.prototype.toString,i=Function.prototype.toString,s=String.prototype.match,u=String.prototype.slice,n=String.prototype.replace,l=String.prototype.toUpperCase,_=String.prototype.toLowerCase,d=RegExp.prototype.test,T=Array.prototype.concat,v=Array.prototype.join,x=Array.prototype.slice,p=Math.floor,D=typeof BigInt=="function"?BigInt.prototype.valueOf:null,f=Object.getOwnPropertySymbols,h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,a=typeof Symbol=="function"&&typeof Symbol.iterator=="object",M=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===a||!0)?Symbol.toStringTag:null,K=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(o){return o.__proto__}:null);function $(o,r){if(o===1/0||o===-1/0||o!=o||o&&o>-1e3&&o<1e3||d.call(/e/,r))return r;var A=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof o=="number"){var W=o<0?-p(-o):p(o);if(W!==o){var U=String(W),C=u.call(r,U.length+1);return n.call(U,A,"$&_")+"."+n.call(n.call(C,/([0-9]{3})/g,"$&_"),/_$/,"")}}return n.call(r,A,"$&_")}var Z=yt,L=Z.custom,oe=ge(L)?L:null,le={__proto__:null,double:'"',single:"'"},X={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function ae(o,r,A){var W=A.quoteStyle||r,U=le[W];return U+o+U}function ce(o){return n.call(String(o),/"/g,""")}function G(o){return!M||!(typeof o=="object"&&(M in o||o[M]!==void 0))}function se(o){return pe(o)==="[object Array]"&&G(o)}function te(o){return pe(o)==="[object RegExp]"&&G(o)}function ge(o){if(a)return o&&typeof o=="object"&&o instanceof Symbol;if(typeof o=="symbol")return!0;if(!o||typeof o!="object"||!h)return!1;try{return h.call(o),!0}catch{}return!1}Me=function o(r,A,W,U){var C=A||{};if(re(C,"quoteStyle")&&!re(le,C.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(re(C,"maxStringLength")&&(typeof C.maxStringLength=="number"?C.maxStringLength<0&&C.maxStringLength!==1/0:C.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var z=!re(C,"customInspect")||C.customInspect;if(typeof z!="boolean"&&z!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(re(C,"indent")&&C.indent!==null&&C.indent!==" "&&!(parseInt(C.indent,10)===C.indent&&C.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(re(C,"numericSeparator")&&typeof C.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ue=C.numericSeparator;if(r===void 0)return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return k(r,C);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var ne=String(r);return ue?$(r,ne):ne}if(typeof r=="bigint"){var ee=String(r)+"n";return ue?$(r,ee):ee}var ve=C.depth===void 0?5:C.depth;if(W===void 0&&(W=0),W>=ve&&ve>0&&typeof r=="object")return se(r)?"[Array]":"[Object]";var P=(function(y,J){var Ee;if(y.indent===" ")Ee=" ";else{if(!(typeof y.indent=="number"&&y.indent>0))return null;Ee=v.call(Array(y.indent+1)," ")}return{base:Ee,prev:v.call(Array(J+1),Ee)}})(C,W);if(U===void 0)U=[];else if(t(U,r)>=0)return"[Circular]";function ie(y,J,Ee){if(J&&(U=x.call(U)).push(J),Ee){var We={depth:C.depth};return re(C,"quoteStyle")&&(We.quoteStyle=C.quoteStyle),o(y,We,W+1,U)}return o(y,C,W+1,U)}if(typeof r=="function"&&!te(r)){var ye=(function(y){if(y.name)return y.name;var J=s.call(i.call(y),/^function\s*([\w$]+)/);return J?J[1]:null})(r),Oe=H(r,ie);return"[Function"+(ye?": "+ye:" (anonymous)")+"]"+(Oe.length>0?" { "+v.call(Oe,", ")+" }":"")}if(ge(r)){var de=a?n.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):h.call(r);return typeof r!="object"||a?de:g(de)}if((function(y){return!y||typeof y!="object"?!1:typeof HTMLElement<"u"&&y instanceof HTMLElement?!0:typeof y.nodeName=="string"&&typeof y.getAttribute=="function"})(r)){for(var fe="<"+_.call(String(r.nodeName)),he=r.attributes||[],me=0;me<he.length;me++)fe+=" "+he[me].name+"="+ae(ce(he[me].value),"double",C);return fe+=">",r.childNodes&&r.childNodes.length&&(fe+="..."),fe+="</"+_.call(String(r.nodeName))+">"}if(se(r)){if(r.length===0)return"[]";var _e=H(r,ie);return P&&!(function(y){for(var J=0;J<y.length;J++)if(t(y[J],`
|
|
2
|
-
`)>=0)return!1;return!0})(_e)?"["+w(_e,P)+"]":"[ "+v.call(_e,", ")+" ]"}if((function(y){return pe(y)==="[object Error]"&&G(y)})(r)){var be=H(r,ie);return"cause"in Error.prototype||!("cause"in r)||K.call(r,"cause")?be.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+v.call(be,", ")+" }":"{ ["+String(r)+"] "+v.call(T.call("[cause]: "+ie(r.cause),be),", ")+" }"}if(typeof r=="object"&&z){if(oe&&typeof r[oe]=="function"&&Z)return Z(r,{depth:ve-W});if(z!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if((function(y){if(!q||!y||typeof y!="object")return!1;try{q.call(y);try{S.call(y)}catch{return!0}return y instanceof Map}catch{}return!1})(r)){var Se=[];return b&&b.call(r,(function(y,J){Se.push(ie(J,r,!0)+" => "+ie(y,r))})),Y("Map",q.call(r),Se,P)}if((function(y){if(!S||!y||typeof y!="object")return!1;try{S.call(y);try{q.call(y)}catch{return!0}return y instanceof Set}catch{}return!1})(r)){var xe=[];return j&&j.call(r,(function(y){xe.push(ie(y,r))})),Y("Set",S.call(r),xe,P)}if((function(y){if(!m||!y||typeof y!="object")return!1;try{m.call(y,m);try{O.call(y,O)}catch{return!0}return y instanceof WeakMap}catch{}return!1})(r))return F("WeakMap");if((function(y){if(!O||!y||typeof y!="object")return!1;try{O.call(y,O);try{m.call(y,m)}catch{return!0}return y instanceof WeakSet}catch{}return!1})(r))return F("WeakSet");if((function(y){if(!E||!y||typeof y!="object")return!1;try{return E.call(y),!0}catch{}return!1})(r))return F("WeakRef");if((function(y){return pe(y)==="[object Number]"&&G(y)})(r))return g(ie(Number(r)));if((function(y){if(!y||typeof y!="object"||!D)return!1;try{return D.call(y),!0}catch{}return!1})(r))return g(ie(D.call(r)));if((function(y){return pe(y)==="[object Boolean]"&&G(y)})(r))return g(B.call(r));if((function(y){return pe(y)==="[object String]"&&G(y)})(r))return g(ie(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(typeof globalThis<"u"&&r===globalThis||Le!==void 0&&r===Le)return"{ [object globalThis] }";if(!(function(y){return pe(y)==="[object Date]"&&G(y)})(r)&&!te(r)){var je=H(r,ie),Te=V?V(r)===Object.prototype:r instanceof Object||r.constructor===Object,ke=r instanceof Object?"":"null prototype",qe=!Te&&M&&Object(r)===r&&M in r?u.call(pe(r),8,-1):ke?"Object":"",Ce=(Te||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"")+(qe||ke?"["+v.call(T.call([],qe||[],ke||[]),": ")+"] ":"");return je.length===0?Ce+"{}":P?Ce+"{"+w(je,P)+"}":Ce+"{ "+v.call(je,", ")+" }"}return String(r)};var we=Object.prototype.hasOwnProperty||function(o){return o in this};function re(o,r){return we.call(o,r)}function pe(o){return c.call(o)}function t(o,r){if(o.indexOf)return o.indexOf(r);for(var A=0,W=o.length;A<W;A++)if(o[A]===r)return A;return-1}function k(o,r){if(o.length>r.maxStringLength){var A=o.length-r.maxStringLength,W="... "+A+" more character"+(A>1?"s":"");return k(u.call(o,0,r.maxStringLength),r)+W}var U=X[r.quoteStyle||"single"];return U.lastIndex=0,ae(n.call(n.call(o,U,"\\$1"),/[\x00-\x1f]/g,e),"single",r)}function e(o){var r=o.charCodeAt(0),A={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return A?"\\"+A:"\\x"+(r<16?"0":"")+l.call(r.toString(16))}function g(o){return"Object("+o+")"}function F(o){return o+" { ? }"}function Y(o,r,A,W){return o+" ("+r+") {"+(W?w(A,W):v.call(A,", "))+"}"}function w(o,r){if(o.length===0)return"";var A=`
|
|
3
|
-
`+r.prev+r.base;return A+v.call(o,","+A)+`
|
|
4
|
-
`+r.prev}function H(o,r){var A=se(o),W=[];if(A){W.length=o.length;for(var U=0;U<o.length;U++)W[U]=re(o,U)?r(o[U],o):""}var C,z=typeof f=="function"?f(o):[];if(a){C={};for(var ue=0;ue<z.length;ue++)C["$"+z[ue]]=z[ue]}for(var ne in o)re(o,ne)&&(A&&String(Number(ne))===ne&&ne<o.length||a&&C["$"+ne]instanceof Symbol||(d.call(/[^\w$]/,ne)?W.push(r(ne,o)+": "+r(o[ne],o)):W.push(ne+": "+r(o[ne],o))));if(typeof f=="function")for(var ee=0;ee<z.length;ee++)K.call(o,z[ee])&&W.push("["+r(z[ee])+"]: "+r(o[z[ee]],o));return W}return Me}function dt(){if($e)return Ke;$e=1;var N=Re(),I=Ie(),q=function(b,Q,R){for(var S,j=b;(S=j.next)!=null;j=S)if(S.key===Q)return j.next=S.next,R||(S.next=b.next,b.next=S),S};return Ke=function(){var b,Q={assert:function(R){if(!Q.has(R))throw new I("Side channel does not contain "+N(R))},delete:function(R){var S=b&&b.next,j=(function(m,O){if(m)return q(m,O,!0)})(b,R);return j&&S&&S===j&&(b=void 0),!!j},get:function(R){return(function(S,j){if(S){var m=q(S,j);return m&&m.value}})(b,R)},has:function(R){return(function(S,j){return!!S&&!!q(S,j)})(b,R)},set:function(R,S){b||(b={next:void 0}),(function(j,m,O){var E=q(j,m);E?E.value=O:j.next={key:m,next:j.next,value:O}})(b,R,S)}};return Q}}function at(){if(Be)return ze;Be=1;var N=lt(),I=st(),q=Re(),b=Ie(),Q=N("%Map%",!0),R=I("Map.prototype.get",!0),S=I("Map.prototype.set",!0),j=I("Map.prototype.has",!0),m=I("Map.prototype.delete",!0),O=I("Map.prototype.size",!0);return ze=!!Q&&function(){var E,B={assert:function(c){if(!B.has(c))throw new b("Side channel does not contain "+q(c))},delete:function(c){if(E){var i=m(E,c);return O(E)===0&&(E=void 0),i}return!1},get:function(c){if(E)return R(E,c)},has:function(c){return!!E&&j(E,c)},set:function(c,i){E||(E=new Q),S(E,c,i)}};return B}}function ct(){if(Ge)return Ze;Ge=1;var N=Ie(),I=Re(),q=dt(),b=at(),Q=(function(){if(Ve)return Qe;Ve=1;var S=lt(),j=st(),m=Re(),O=at(),E=Ie(),B=S("%WeakMap%",!0),c=j("WeakMap.prototype.get",!0),i=j("WeakMap.prototype.set",!0),s=j("WeakMap.prototype.has",!0),u=j("WeakMap.prototype.delete",!0);return Qe=B?function(){var n,l,_={assert:function(d){if(!_.has(d))throw new E("Side channel does not contain "+m(d))},delete:function(d){if(B&&d&&(typeof d=="object"||typeof d=="function")){if(n)return u(n,d)}else if(O&&l)return l.delete(d);return!1},get:function(d){return B&&d&&(typeof d=="object"||typeof d=="function")&&n?c(n,d):l&&l.get(d)},has:function(d){return B&&d&&(typeof d=="object"||typeof d=="function")&&n?s(n,d):!!l&&l.has(d)},set:function(d,T){B&&d&&(typeof d=="object"||typeof d=="function")?(n||(n=new B),i(n,d,T)):O&&(l||(l=O()),l.set(d,T))}};return _}:O})(),R=Q||b||q;return Ze=function(){var S,j={assert:function(m){if(!j.has(m))throw new N("Side channel does not contain "+I(m))},delete:function(m){return!!S&&S.delete(m)},get:function(m){return S&&S.get(m)},has:function(m){return!!S&&S.has(m)},set:function(m,O){S||(S=R()),S.set(m,O)}};return j}}function Ue(){if(Ye)return Je;Ye=1;var N=String.prototype.replace,I=/%20/g,q="RFC3986";return Je={default:q,formatters:{RFC1738:function(b){return N.call(b,I,"+")},RFC3986:function(b){return String(b)}},RFC1738:"RFC1738",RFC3986:q}}function ut(){if(Xe)return Ae;Xe=1;var N=Ue(),I=ct(),q=Object.prototype.hasOwnProperty,b=Array.isArray,Q=I(),R=function(c,i){return Q.set(c,i),c},S=function(c){return Q.has(c)},j=function(c){return Q.get(c)},m=function(c,i){Q.set(c,i)},O=(function(){for(var c=[],i=0;i<256;++i)c[c.length]="%"+((i<16?"0":"")+i.toString(16)).toUpperCase();return c})(),E=function(c,i){for(var s=i&&i.plainObjects?{__proto__:null}:{},u=0;u<c.length;++u)c[u]!==void 0&&(s[u]=c[u]);return s},B=1024;return Ae={arrayToObject:E,assign:function(c,i){return Object.keys(i).reduce((function(s,u){return s[u]=i[u],s}),c)},combine:function(c,i,s,u){if(S(c)){var n=j(c)+1;return c[n]=i,m(c,n),c}var l=[].concat(c,i);return l.length>s?R(E(l,{plainObjects:u}),l.length-1):l},compact:function(c){for(var i=[{obj:{o:c},prop:"o"}],s=[],u=0;u<i.length;++u)for(var n=i[u],l=n.obj[n.prop],_=Object.keys(l),d=0;d<_.length;++d){var T=_[d],v=l[T];typeof v=="object"&&v!==null&&s.indexOf(v)===-1&&(i[i.length]={obj:l,prop:T},s[s.length]=v)}return(function(x){for(;x.length>1;){var p=x.pop(),D=p.obj[p.prop];if(b(D)){for(var f=[],h=0;h<D.length;++h)D[h]!==void 0&&(f[f.length]=D[h]);p.obj[p.prop]=f}}})(i),c},decode:function(c,i,s){var u=c.replace(/\+/g," ");if(s==="iso-8859-1")return u.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(u)}catch{return u}},encode:function(c,i,s,u,n){if(c.length===0)return c;var l=c;if(typeof c=="symbol"?l=Symbol.prototype.toString.call(c):typeof c!="string"&&(l=String(c)),s==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(D){return"%26%23"+parseInt(D.slice(2),16)+"%3B"}));for(var _="",d=0;d<l.length;d+=B){for(var T=l.length>=B?l.slice(d,d+B):l,v=[],x=0;x<T.length;++x){var p=T.charCodeAt(x);p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||n===N.RFC1738&&(p===40||p===41)?v[v.length]=T.charAt(x):p<128?v[v.length]=O[p]:p<2048?v[v.length]=O[192|p>>6]+O[128|63&p]:p<55296||p>=57344?v[v.length]=O[224|p>>12]+O[128|p>>6&63]+O[128|63&p]:(x+=1,p=65536+((1023&p)<<10|1023&T.charCodeAt(x)),v[v.length]=O[240|p>>18]+O[128|p>>12&63]+O[128|p>>6&63]+O[128|63&p])}_+=v.join("")}return _},isBuffer:function(c){return!(!c||typeof c!="object")&&!!(c.constructor&&c.constructor.isBuffer&&c.constructor.isBuffer(c))},isOverflow:S,isRegExp:function(c){return Object.prototype.toString.call(c)==="[object RegExp]"},markOverflow:R,maybeMap:function(c,i){if(b(c)){for(var s=[],u=0;u<c.length;u+=1)s[s.length]=i(c[u]);return s}return i(c)},merge:function c(i,s,u){if(!s)return i;if(typeof s!="object"&&typeof s!="function"){if(b(i)){var n=i.length;if(u&&typeof u.arrayLimit=="number"&&n>u.arrayLimit)return R(E(i.concat(s),u),n);i[n]=s}else{if(!i||typeof i!="object")return[i,s];if(S(i)){var l=j(i)+1;i[l]=s,m(i,l)}else{if(u&&u.strictMerge)return[i,s];(u&&(u.plainObjects||u.allowPrototypes)||!q.call(Object.prototype,s))&&(i[s]=!0)}}return i}if(!i||typeof i!="object"){if(S(s)){for(var _=Object.keys(s),d=u&&u.plainObjects?{__proto__:null,0:i}:{0:i},T=0;T<_.length;T++)d[parseInt(_[T],10)+1]=s[_[T]];return R(d,j(s)+1)}var v=[i].concat(s);return u&&typeof u.arrayLimit=="number"&&v.length>u.arrayLimit?R(E(v,u),v.length-1):v}var x=i;return b(i)&&!b(s)&&(x=E(i,u)),b(i)&&b(s)?(s.forEach((function(p,D){if(q.call(i,D)){var f=i[D];f&&typeof f=="object"&&p&&typeof p=="object"?i[D]=c(f,p,u):i[i.length]=p}else i[D]=p})),i):Object.keys(s).reduce((function(p,D){var f=s[D];if(q.call(p,D)?p[D]=c(p[D],f,u):p[D]=f,S(s)&&!S(p)&&R(p,j(s)),S(p)){var h=parseInt(D,10);String(h)===D&&h>=0&&h>j(p)&&m(p,h)}return p}),x)}},Ae}function mt(){if(et)return Ne;et=1;var N=ct(),I=ut(),q=Ue(),b=Object.prototype.hasOwnProperty,Q={brackets:function(i){return i+"[]"},comma:"comma",indices:function(i,s){return i+"["+s+"]"},repeat:function(i){return i}},R=Array.isArray,S=Array.prototype.push,j=function(i,s){S.apply(i,R(s)?s:[s])},m=Date.prototype.toISOString,O=q.default,E={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:I.encode,encodeValuesOnly:!1,filter:void 0,format:O,formatter:q.formatters[O],indices:!1,serializeDate:function(i){return m.call(i)},skipNulls:!1,strictNullHandling:!1},B={},c=function i(s,u,n,l,_,d,T,v,x,p,D,f,h,a,M,K,V,$){for(var Z,L=s,oe=$,le=0,X=!1;(oe=oe.get(B))!==void 0&&!X;){var ae=oe.get(s);if(le+=1,ae!==void 0){if(ae===le)throw new RangeError("Cyclic object value");X=!0}oe.get(B)===void 0&&(le=0)}if(typeof p=="function"?L=p(u,L):L instanceof Date?L=h(L):n==="comma"&&R(L)&&(L=I.maybeMap(L,(function(g){return g instanceof Date?h(g):g}))),L===null){if(d)return M(x&&!K?x(u,E.encoder,V,"key",a):u);L=""}if(typeof(Z=L)=="string"||typeof Z=="number"||typeof Z=="boolean"||typeof Z=="symbol"||typeof Z=="bigint"||I.isBuffer(L))return x?[M(K?u:x(u,E.encoder,V,"key",a))+"="+M(x(L,E.encoder,V,"value",a))]:[M(u)+"="+M(String(L))];var ce,G=[];if(L===void 0)return G;if(n==="comma"&&R(L))K&&x&&(L=I.maybeMap(L,(function(g){return g==null?g:x(g)}))),ce=[{value:L.length>0?L.join(",")||null:void 0}];else if(R(p))ce=p;else{var se=Object.keys(L);ce=D?se.sort(D):se}var te=v?String(u).replace(/\./g,"%2E"):String(u),ge=l&&R(L)&&L.length===1?te+"[]":te;if(_&&R(L)&&L.length===0)return ge+"[]";for(var we=0;we<ce.length;++we){var re=ce[we],pe=typeof re=="object"&&re&&re.value!==void 0?re.value:L[re];if(!T||pe!==null){var t=f&&v?String(re).replace(/\./g,"%2E"):String(re),k=R(L)?typeof n=="function"?n(ge,t):ge:ge+(f?"."+t:"["+t+"]");$.set(s,le);var e=N();e.set(B,$),j(G,i(pe,k,n,l,_,d,T,v,n==="comma"&&K&&R(L)?null:x,p,D,f,h,a,M,K,V,e))}}return G};return Ne=function(i,s){var u,n=i,l=(function(a){if(!a)return E;if(a.allowEmptyArrays!==void 0&&typeof a.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(a.encodeDotInKeys!==void 0&&typeof a.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(a.encoder!==null&&a.encoder!==void 0&&typeof a.encoder!="function")throw new TypeError("Encoder has to be a function.");var M=a.charset||E.charset;if(a.charset!==void 0&&a.charset!=="utf-8"&&a.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var K=q.default;if(a.format!==void 0){if(!b.call(q.formatters,a.format))throw new TypeError("Unknown format option provided.");K=a.format}var V,$=q.formatters[K],Z=E.filter;if((typeof a.filter=="function"||R(a.filter))&&(Z=a.filter),V=a.arrayFormat in Q?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":E.arrayFormat,"commaRoundTrip"in a&&typeof a.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var L=a.allowDots===void 0?a.encodeDotInKeys===!0||E.allowDots:!!a.allowDots;return{addQueryPrefix:typeof a.addQueryPrefix=="boolean"?a.addQueryPrefix:E.addQueryPrefix,allowDots:L,allowEmptyArrays:typeof a.allowEmptyArrays=="boolean"?!!a.allowEmptyArrays:E.allowEmptyArrays,arrayFormat:V,charset:M,charsetSentinel:typeof a.charsetSentinel=="boolean"?a.charsetSentinel:E.charsetSentinel,commaRoundTrip:!!a.commaRoundTrip,delimiter:a.delimiter===void 0?E.delimiter:a.delimiter,encode:typeof a.encode=="boolean"?a.encode:E.encode,encodeDotInKeys:typeof a.encodeDotInKeys=="boolean"?a.encodeDotInKeys:E.encodeDotInKeys,encoder:typeof a.encoder=="function"?a.encoder:E.encoder,encodeValuesOnly:typeof a.encodeValuesOnly=="boolean"?a.encodeValuesOnly:E.encodeValuesOnly,filter:Z,format:K,formatter:$,serializeDate:typeof a.serializeDate=="function"?a.serializeDate:E.serializeDate,skipNulls:typeof a.skipNulls=="boolean"?a.skipNulls:E.skipNulls,sort:typeof a.sort=="function"?a.sort:null,strictNullHandling:typeof a.strictNullHandling=="boolean"?a.strictNullHandling:E.strictNullHandling}})(s);typeof l.filter=="function"?n=(0,l.filter)("",n):R(l.filter)&&(u=l.filter);var _=[];if(typeof n!="object"||n===null)return"";var d=Q[l.arrayFormat],T=d==="comma"&&l.commaRoundTrip;u||(u=Object.keys(n)),l.sort&&u.sort(l.sort);for(var v=N(),x=0;x<u.length;++x){var p=u[x];if(p!=null){var D=n[p];l.skipNulls&&D===null||j(_,c(D,p,d,T,l.allowEmptyArrays,l.strictNullHandling,l.skipNulls,l.encodeDotInKeys,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,v))}}var f=_.join(l.delimiter),h=l.addQueryPrefix===!0?"?":"";return l.charsetSentinel&&(l.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B"+l.delimiter:h+="utf8=%E2%9C%93"+l.delimiter),f.length>0?h+f:""},Ne}function gt(){if(rt)return tt;rt=1;var N=ut(),I=Object.prototype.hasOwnProperty,q=Array.isArray,b={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:N.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},Q=function(j){return j.replace(/&#(\d+);/g,(function(m,O){return String.fromCharCode(parseInt(O,10))}))},R=function(j,m,O){if(j&&typeof j=="string"&&m.comma&&j.indexOf(",")>-1)return j.split(",");if(m.throwOnLimitExceeded&&O>=m.arrayLimit)throw new RangeError("Array limit exceeded. Only "+m.arrayLimit+" element"+(m.arrayLimit===1?"":"s")+" allowed in an array.");return j},S=function(j,m,O,E){if(j){var B=(function(c,i){var s=i.allowDots?c.replace(/\.([^.[]+)/g,"[$1]"):c;if(i.depth<=0)return!i.plainObjects&&I.call(Object.prototype,s)&&!i.allowPrototypes?void 0:[s];var u=[],n=s.indexOf("["),l=n>=0?s.slice(0,n):s;if(l){if(!i.plainObjects&&I.call(Object.prototype,l)&&!i.allowPrototypes)return;u[u.length]=l}for(var _=s.length,d=n,T=0;d>=0&&T<i.depth;){for(var v=1,x=d+1,p=-1;x<_&&p<0;){var D=s.charCodeAt(x);D===91?v+=1:D===93&&(v-=1)==0&&(p=x),x+=1}if(p<0)return u[u.length]="["+s.slice(d)+"]",u;var f=s.slice(d,p+1),h=f.slice(1,-1);if(!i.plainObjects&&I.call(Object.prototype,h)&&!i.allowPrototypes)return;u[u.length]=f,T+=1,d=s.indexOf("[",p+1)}if(d>=0){if(i.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+i.depth+" and strictDepth is true");u[u.length]="["+s.slice(d)+"]"}return u})(j,O);if(B)return(function(c,i,s,u){var n=0;if(c.length>0&&c[c.length-1]==="[]"){var l=c.slice(0,-1).join("");n=Array.isArray(i)&&i[l]?i[l].length:0}for(var _=u?i:R(i,s,n),d=c.length-1;d>=0;--d){var T,v=c[d];if(v==="[]"&&s.parseArrays)T=N.isOverflow(_)?_:s.allowEmptyArrays&&(_===""||s.strictNullHandling&&_===null)?[]:N.combine([],_,s.arrayLimit,s.plainObjects);else{T=s.plainObjects?{__proto__:null}:{};var x=v.charAt(0)==="["&&v.charAt(v.length-1)==="]"?v.slice(1,-1):v,p=s.decodeDotInKeys?x.replace(/%2E/g,"."):x,D=parseInt(p,10),f=!isNaN(D)&&v!==p&&String(D)===p&&D>=0&&s.parseArrays;if(s.parseArrays||p!=="")if(f&&D<s.arrayLimit)(T=[])[D]=_;else{if(f&&s.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+s.arrayLimit+" element"+(s.arrayLimit===1?"":"s")+" allowed in an array.");f?(T[D]=_,N.markOverflow(T,D)):p!=="__proto__"&&(T[p]=_)}else T={0:_}}_=T}return _})(B,m,O,E)}};return tt=function(j,m){var O=(function(n){if(!n)return b;if(n.allowEmptyArrays!==void 0&&typeof n.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(n.decodeDotInKeys!==void 0&&typeof n.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(n.decoder!==null&&n.decoder!==void 0&&typeof n.decoder!="function")throw new TypeError("Decoder has to be a function.");if(n.charset!==void 0&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(n.throwOnLimitExceeded!==void 0&&typeof n.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var l=n.charset===void 0?b.charset:n.charset,_=n.duplicates===void 0?b.duplicates:n.duplicates;if(_!=="combine"&&_!=="first"&&_!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:n.allowDots===void 0?n.decodeDotInKeys===!0||b.allowDots:!!n.allowDots,allowEmptyArrays:typeof n.allowEmptyArrays=="boolean"?!!n.allowEmptyArrays:b.allowEmptyArrays,allowPrototypes:typeof n.allowPrototypes=="boolean"?n.allowPrototypes:b.allowPrototypes,allowSparse:typeof n.allowSparse=="boolean"?n.allowSparse:b.allowSparse,arrayLimit:typeof n.arrayLimit=="number"?n.arrayLimit:b.arrayLimit,charset:l,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:b.charsetSentinel,comma:typeof n.comma=="boolean"?n.comma:b.comma,decodeDotInKeys:typeof n.decodeDotInKeys=="boolean"?n.decodeDotInKeys:b.decodeDotInKeys,decoder:typeof n.decoder=="function"?n.decoder:b.decoder,delimiter:typeof n.delimiter=="string"||N.isRegExp(n.delimiter)?n.delimiter:b.delimiter,depth:typeof n.depth=="number"||n.depth===!1?+n.depth:b.depth,duplicates:_,ignoreQueryPrefix:n.ignoreQueryPrefix===!0,interpretNumericEntities:typeof n.interpretNumericEntities=="boolean"?n.interpretNumericEntities:b.interpretNumericEntities,parameterLimit:typeof n.parameterLimit=="number"?n.parameterLimit:b.parameterLimit,parseArrays:n.parseArrays!==!1,plainObjects:typeof n.plainObjects=="boolean"?n.plainObjects:b.plainObjects,strictDepth:typeof n.strictDepth=="boolean"?!!n.strictDepth:b.strictDepth,strictMerge:typeof n.strictMerge=="boolean"?!!n.strictMerge:b.strictMerge,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:b.strictNullHandling,throwOnLimitExceeded:typeof n.throwOnLimitExceeded=="boolean"&&n.throwOnLimitExceeded}})(m);if(j===""||j==null)return O.plainObjects?{__proto__:null}:{};for(var E=typeof j=="string"?(function(n,l){var _={__proto__:null},d=l.ignoreQueryPrefix?n.replace(/^\?/,""):n;d=d.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var T=l.parameterLimit===1/0?void 0:l.parameterLimit,v=d.split(l.delimiter,l.throwOnLimitExceeded&&T!==void 0?T+1:T);if(l.throwOnLimitExceeded&&T!==void 0&&v.length>T)throw new RangeError("Parameter limit exceeded. Only "+T+" parameter"+(T===1?"":"s")+" allowed.");var x,p=-1,D=l.charset;if(l.charsetSentinel)for(x=0;x<v.length;++x)v[x].indexOf("utf8=")===0&&(v[x]==="utf8=%E2%9C%93"?D="utf-8":v[x]==="utf8=%26%2310003%3B"&&(D="iso-8859-1"),p=x,x=v.length);for(x=0;x<v.length;++x)if(x!==p){var f,h,a=v[x],M=a.indexOf("]="),K=M===-1?a.indexOf("="):M+1;if(K===-1?(f=l.decoder(a,b.decoder,D,"key"),h=l.strictNullHandling?null:""):(f=l.decoder(a.slice(0,K),b.decoder,D,"key"))!==null&&(h=N.maybeMap(R(a.slice(K+1),l,q(_[f])?_[f].length:0),(function($){return l.decoder($,b.decoder,D,"value")}))),h&&l.interpretNumericEntities&&D==="iso-8859-1"&&(h=Q(String(h))),a.indexOf("[]=")>-1&&(h=q(h)?[h]:h),l.comma&&q(h)&&h.length>l.arrayLimit){if(l.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+l.arrayLimit+" element"+(l.arrayLimit===1?"":"s")+" allowed in an array.");h=N.combine([],h,l.arrayLimit,l.plainObjects)}if(f!==null){var V=I.call(_,f);V&&(l.duplicates==="combine"||a.indexOf("[]=")>-1)?_[f]=N.combine(_[f],h,l.arrayLimit,l.plainObjects):V&&l.duplicates!=="last"||(_[f]=h)}}return _})(j,O):j,B=O.plainObjects?{__proto__:null}:{},c=Object.keys(E),i=0;i<c.length;++i){var s=c[i],u=S(s,E[s],O,typeof j=="string");B=N.merge(B,u,O)}return O.allowSparse===!0?B:N.compact(B)}}function vt(){if(ot)return nt;ot=1;var N=mt(),I=gt();return nt={formats:Ue(),parse:I,stringify:N}}function jt(){return it||(it=1,(function(N,I){Object.defineProperty(I,"__esModule",{value:!0});var q=ht(),b=vt();function Q(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var R=Q(q),S=Q(b),j=R.default;function m(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var O=/^([a-z0-9.+-]+:)/i,E=/:[0-9]*$/,B=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
5
|
-
`," "]),i=["'"].concat(c),s=["%","/","?",";","#"].concat(i),u=["/","?","#"],n=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},T={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=S.default;function x(t,k,e){if(t&&typeof t=="object"&&t instanceof m)return t;var g=new m;return g.parse(t,k,e),g}m.prototype.parse=function(t,k,e){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var g=t.indexOf("?"),F=g!==-1&&g<t.indexOf("#")?"?":"#",Y=t.split(F);Y[0]=Y[0].replace(/\\/g,"/");var w=t=Y.join(F);if(w=w.trim(),!e&&t.split("#").length===1){var H=B.exec(w);if(H)return this.path=w,this.href=w,this.pathname=H[1],H[2]?(this.search=H[2],this.query=k?v.parse(this.search.substr(1)):this.search.substr(1)):k&&(this.search="",this.query={}),this}var o=O.exec(w);if(o){var r=(o=o[0]).toLowerCase();this.protocol=r,w=w.substr(o.length)}if(e||o||w.match(/^\/\/[^@/]+@[^@/]+/)){var A=w.substr(0,2)==="//";!A||o&&d[o]||(w=w.substr(2),this.slashes=!0)}if(!d[o]&&(A||o&&!T[o])){for(var W,U,C=-1,z=0;z<u.length;z++)(ue=w.indexOf(u[z]))!==-1&&(C===-1||ue<C)&&(C=ue);for((U=C===-1?w.lastIndexOf("@"):w.lastIndexOf("@",C))!==-1&&(W=w.slice(0,U),w=w.slice(U+1),this.auth=decodeURIComponent(W)),C=-1,z=0;z<s.length;z++){var ue;(ue=w.indexOf(s[z]))!==-1&&(C===-1||ue<C)&&(C=ue)}C===-1&&(C=w.length),this.host=w.slice(0,C),w=w.slice(C),this.parseHost(),this.hostname=this.hostname||"";var ne=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ne)for(var ee=this.hostname.split(/\./),ve=(z=0,ee.length);z<ve;z++){var P=ee[z];if(P&&!P.match(n)){for(var ie="",ye=0,Oe=P.length;ye<Oe;ye++)P.charCodeAt(ye)>127?ie+="x":ie+=P[ye];if(!ie.match(n)){var de=ee.slice(0,z),fe=ee.slice(z+1),he=P.match(l);he&&(de.push(he[1]),fe.unshift(he[2])),fe.length&&(w="/"+fe.join(".")+w),this.hostname=de.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ne||(this.hostname=j.toASCII(this.hostname));var me=this.port?":"+this.port:"",_e=this.hostname||"";this.host=_e+me,this.href+=this.host,ne&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),w[0]!=="/"&&(w="/"+w))}if(!_[r])for(z=0,ve=i.length;z<ve;z++){var be=i[z];if(w.indexOf(be)!==-1){var Se=encodeURIComponent(be);Se===be&&(Se=escape(be)),w=w.split(be).join(Se)}}var xe=w.indexOf("#");xe!==-1&&(this.hash=w.substr(xe),w=w.slice(0,xe));var je=w.indexOf("?");if(je!==-1?(this.search=w.substr(je),this.query=w.substr(je+1),k&&(this.query=v.parse(this.query)),w=w.slice(0,je)):k&&(this.search="",this.query={}),w&&(this.pathname=w),T[r]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){me=this.pathname||"";var Te=this.search||"";this.path=me+Te}return this.href=this.format(),this},m.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var k=this.protocol||"",e=this.pathname||"",g=this.hash||"",F=!1,Y="";this.host?F=t+this.host:this.hostname&&(F=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(F+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(Y=v.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var w=this.search||Y&&"?"+Y||"";return k&&k.substr(-1)!==":"&&(k+=":"),this.slashes||(!k||T[k])&&F!==!1?(F="//"+(F||""),e&&e.charAt(0)!=="/"&&(e="/"+e)):F||(F=""),g&&g.charAt(0)!=="#"&&(g="#"+g),w&&w.charAt(0)!=="?"&&(w="?"+w),k+F+(e=e.replace(/[?#]/g,(function(H){return encodeURIComponent(H)})))+(w=w.replace("#","%23"))+g},m.prototype.resolve=function(t){return this.resolveObject(x(t,!1,!0)).format()},m.prototype.resolveObject=function(t){if(typeof t=="string"){var k=new m;k.parse(t,!1,!0),t=k}for(var e=new m,g=Object.keys(this),F=0;F<g.length;F++){var Y=g[F];e[Y]=this[Y]}if(e.hash=t.hash,t.href==="")return e.href=e.format(),e;if(t.slashes&&!t.protocol){for(var w=Object.keys(t),H=0;H<w.length;H++){var o=w[H];o!=="protocol"&&(e[o]=t[o])}return T[e.protocol]&&e.hostname&&!e.pathname&&(e.pathname="/",e.path=e.pathname),e.href=e.format(),e}if(t.protocol&&t.protocol!==e.protocol){if(!T[t.protocol]){for(var r=Object.keys(t),A=0;A<r.length;A++){var W=r[A];e[W]=t[W]}return e.href=e.format(),e}if(e.protocol=t.protocol,t.host||d[t.protocol])e.pathname=t.pathname;else{for(var U=(t.pathname||"").split("/");U.length&&!(t.host=U.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),U[0]!==""&&U.unshift(""),U.length<2&&U.unshift(""),e.pathname=U.join("/")}if(e.search=t.search,e.query=t.query,e.host=t.host||"",e.auth=t.auth,e.hostname=t.hostname||t.host,e.port=t.port,e.pathname||e.search){var C=e.pathname||"",z=e.search||"";e.path=C+z}return e.slashes=e.slashes||t.slashes,e.href=e.format(),e}var ue=e.pathname&&e.pathname.charAt(0)==="/",ne=t.host||t.pathname&&t.pathname.charAt(0)==="/",ee=ne||ue||e.host&&t.pathname,ve=ee,P=e.pathname&&e.pathname.split("/")||[],ie=(U=t.pathname&&t.pathname.split("/")||[],e.protocol&&!T[e.protocol]);if(ie&&(e.hostname="",e.port=null,e.host&&(P[0]===""?P[0]=e.host:P.unshift(e.host)),e.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(U[0]===""?U[0]=t.host:U.unshift(t.host)),t.host=null),ee=ee&&(U[0]===""||P[0]==="")),ne)e.host=t.host||t.host===""?t.host:e.host,e.hostname=t.hostname||t.hostname===""?t.hostname:e.hostname,e.search=t.search,e.query=t.query,P=U;else if(U.length)P||(P=[]),P.pop(),P=P.concat(U),e.search=t.search,e.query=t.query;else if(t.search!=null)return ie&&(e.host=P.shift(),e.hostname=e.host,(he=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=he.shift(),e.hostname=he.shift(),e.host=e.hostname)),e.search=t.search,e.query=t.query,e.pathname===null&&e.search===null||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e;if(!P.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var ye=P.slice(-1)[0],Oe=(e.host||t.host||P.length>1)&&(ye==="."||ye==="..")||ye==="",de=0,fe=P.length;fe>=0;fe--)(ye=P[fe])==="."?P.splice(fe,1):ye===".."?(P.splice(fe,1),de++):de&&(P.splice(fe,1),de--);if(!ee&&!ve)for(;de--;de)P.unshift("..");!ee||P[0]===""||P[0]&&P[0].charAt(0)==="/"||P.unshift(""),Oe&&P.join("/").substr(-1)!=="/"&&P.push("");var he,me=P[0]===""||P[0]&&P[0].charAt(0)==="/";return ie&&(e.hostname=me?"":P.length?P.shift():"",e.host=e.hostname,(he=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=he.shift(),e.hostname=he.shift(),e.host=e.hostname)),(ee=ee||e.host&&P.length)&&!me&&P.unshift(""),P.length>0?e.pathname=P.join("/"):(e.pathname=null,e.path=null),e.pathname===null&&e.search===null||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=t.auth||e.auth,e.slashes=e.slashes||t.slashes,e.href=e.format(),e},m.prototype.parseHost=function(){var t=this.host,k=E.exec(t);k&&((k=k[0])!==":"&&(this.port=k.substr(1)),t=t.substr(0,t.length-k.length)),t&&(this.hostname=t)};var p=x,D=function(t,k){return x(t,!1,!0).resolve(k)},f=function(t,k){return t?x(t,!1,!0).resolveObject(k):k},h=function(t){return typeof t=="string"&&(t=x(t)),t instanceof m?t.format():m.prototype.format.call(t)},a=m,M=(function(t){function k(){var e=this||self;return delete t.prototype.__magic__,e}return typeof globalThis=="object"?globalThis:this?k():(t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:k}),__magic__)})(Object),K=h,V=p,$=D,Z=a,L=M.URL,oe=M.URLSearchParams,le=/%/g,X=/\\/g,ae=/\n/g,ce=/\r/g,G=/\t/g,se=function(t){if(t===void 0)throw new TypeError('The "domain" argument must be specified');return new L("http://"+t).hostname},te=function(t){if(t===void 0)throw new TypeError('The "domain" argument must be specified');return new L("http://"+t).hostname},ge=function(t){var k=new L("file://"),e=(function(){for(var g="",F=!1,Y=arguments.length-1;Y>=-1&&!F;Y--){var w=Y>=0?arguments[Y]:"/";if(typeof w!="string")throw new TypeError("Arguments to path.resolve must be strings");w&&(g=w+"/"+g,F=w.charAt(0)==="/")}return g=(function(H,o){for(var r=0,A=H.length-1;A>=0;A--){var W=H[A];W==="."?H.splice(A,1):W===".."?(H.splice(A,1),r++):r&&(H.splice(A,1),r--)}if(o)for(;r--;r)H.unshift("..");return H})((function(H,o){if(H.filter)return H.filter(o);for(var r=[],A=0;A<H.length;A++)o(H[A],A,H)&&r.push(H[A]);return r})(g.split("/"),(function(H){return!!H})),!F).join("/"),(F?"/":"")+g||"."})(t);return t.charCodeAt(t.length-1)===47&&e[e.length-1]!=="/"&&(e+="/"),k.pathname=(function(g){return g.includes("%")&&(g=g.replace(le,"%25")),g.includes("\\")&&(g=g.replace(X,"%5C")),g.includes(`
|
|
6
|
-
`)&&(g=g.replace(ae,"%0A")),g.includes("\r")&&(g=g.replace(ce,"%0D")),g.includes(" ")&&(g=g.replace(G,"%09")),g})(e),k},we=function(t){if(!(function(e){var g=e??null;return!!(g!==null&&g?.href&&g?.origin)})(t)&&typeof t!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+" ("+t+")");var k=new L(t);if(k.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return(function(e){if(e.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var g=e.pathname,F=0;F<g.length;F++)if(g[F]==="%"){var Y=32|g.codePointAt(F+2);if(g[F+1]==="2"&&Y===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(g)})(k)},re=function(t,k){var e,g,F;if(k===void 0&&(k={}),!(t instanceof L))return K(t);if(typeof k!="object"||k===null)throw new TypeError('The "options" argument must be of type object.');var Y=(e=k.auth)==null||e,w=(g=k.fragment)==null||g,H=(F=k.search)==null||F;k.unicode;var o=new L(t.toString());return Y||(o.username="",o.password=""),w||(o.hash=""),H||(o.search=""),o.toString()},pe={format:re,parse:V,resolve:$,resolveObject:f,Url:Z,URL:L,URLSearchParams:oe,domainToASCII:se,domainToUnicode:te,pathToFileURL:ge,fileURLToPath:we};I.URL=L,I.URLSearchParams=oe,I.Url=Z,I.default=pe,I.domainToASCII=se,I.domainToUnicode=te,I.fileURLToPath=we,I.format=re,I.parse=V,I.pathToFileURL=ge,I.resolve=$,I.resolveObject=f,I=N.exports=pe})(Pe,Pe.exports)),Pe.exports}export{jt as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./sentry-CoUvtkTT.js";import{h as u,g,i as h,j as y}from"./core-BZ1rdEBJ.js";import{fB as S}from"./zeni-epic-state-CRmviUHA.js";import{a as k,$ as C,f as A,ap as T,y as I,p as w,as as D}from"./index-CTFYwhi_.js";import"./mui-BFHFLIBn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8992fa99-f9de-43d6-8e71-bbc9b2429507",e._sentryDebugIdIdentifier="sentry-dbid-8992fa99-f9de-43d6-8e71-bbc9b2429507")}catch{}})();function B(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),c=C(),f=D(c),l=A(),p=T(),m=y((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?S(a):void 0)),d=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:b.useCallback((()=>{if(n!=null)if(d)if(f){const a=w(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else I({location:o,navigate:s,mergeState:{referrer:t}})}),[d,f,o,t,s,i,n])}}export{B as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./sentry-CoUvtkTT.js";import{u as v}from"./plaid-B4PUsiXy.js";import{u as A,j as m}from"./core-BZ1rdEBJ.js";import{UD as C,F0 as U,Ly as F,Bf as w,UE as R,fB as $,gJ as N,AV as T,UF as V}from"./zeni-epic-state-CRmviUHA.js";import{aH as q,z as B}from"./index-CTFYwhi_.js";import"./mui-BFHFLIBn.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]="2151ea0b-a133-4f48-ba71-4489018328da",e._sentryDebugIdIdentifier="sentry-dbid-2151ea0b-a133-4f48-ba71-4489018328da")}catch{}})();const j=new Set(R),O=({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=>C(t.paymentAccountState))),r=a.useRef(!1),[o,u]=a.useState(void 0),[c,l]=a.useState(!1);a.useEffect((()=>{n(U())}),[n]);const f=a.useCallback((t=>{e!=null&&(n(F(t,e,"external_account",void 0,o!=null?"update_account":"link_external_account")),r.current=!1,o!=null&&l(!0))}),[n,e,o]),D=a.useCallback((()=>{r.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,x=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:h}=v({token:x,onSuccess:f,onExit:D});a.useEffect((()=>{r.current&&h&&(g(),r.current=!1)}),[h,g]);const b=p.fetchStatus.fetchState;a.useEffect((()=>{b==="Error"&&(r.current=!1)}),[b]);const E=a.useCallback((()=>{e!=null&&(u(void 0),r.current=!0,n(w("external_account","link_external_account")))}),[n,e]),L=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 P=q(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:j.has(t.providerVerificationStatus?.code??""),isLoginRequired:t.isLoginRequired,reLoginStatus:t.paymentAccountId===o?_:"Not-Started",institutionLogoUrl:P};var S,y}))),[d,o,_]),onAddPlaidAccount:E,onReLoginPlaidAccount:L}},I="email_connect_result",k="onboarding_step",Q=()=>{const e=A(),n=m((o=>$(o).tenantId)),i=B.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:V(u)})))}),[e,n,i]),{pendingAutoFocusTabId:d}};export{O as a,Q as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CoUvtkTT.js";import{bn as i}from"./zeni-epic-state-CRmviUHA.js";import{I as d,d as t}from"./index-CTFYwhi_.js";import"./mui-BFHFLIBn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="ca56ceef-65ff-4627-95d8-25113e2993b0",e._sentryDebugIdIdentifier="sentry-dbid-ca56ceef-65ff-4627-95d8-25113e2993b0")}catch{}})();const c=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{c as u};
|