1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`c884f511e2637bc8d4525c01a72d90f4a6056222`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`badb1d84-e3c0-4a40-9b7c-a25ed922ca5b`,e._sentryDebugIdIdentifier=`sentry-dbid-badb1d84-e3c0-4a40-9b7c-a25ed922ca5b`)}catch{}})();import{o as e}from"./rolldown-runtime-nEP6ovML.js";import{U as t}from"./_locales-BEhMCub6.js";import{Cr as n}from"./_assets-BoGX2oZD.js";import{l as r,v as i}from"./_react-DHgdk-tz.js";import{zw as a}from"./payhawk-CMDa5uvV.js";var o=e(n(),1),s=(e,n)=>{let a=i(),[s]=r(),c=s.get(e),{fallbackPath:l,onNotFound:u}=n;return(0,o.useEffect)(()=>{if(!c){if(u)u();else if(l){console.warn(`Parameter not found, redirecting to fallback path:`,l);let e=s.get(t);if(e){let n=l.includes(`?`)?`&`:`?`;a(`${l}${n}${t}=${e}`)}else a(l)}else console.warn(`Parameter not found and no fallback behavior specified`)}},[c,a,l,u,s]),c},c=()=>{let e=a(),t=(0,o.useCallback)(()=>{},[]),n=s(`account`,e?{onNotFound:t}:{fallbackPath:`/`});return e??n};export{c as t}; 2//# sourceMappingURL=useCurrentAccount-Bu_5lXFx.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.