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:`ndla-frontend@5177c0d`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4ab830b4-8947-431f-a1ad-69bca8755658`,e._sentryDebugIdIdentifier=`sentry-dbid-4ab830b4-8947-431f-a1ad-69bca8755658`)}catch{}})();import{E as e,_t as t,st as n}from"./constants-RhVSlIKL.js";import{U as r,i,j as a,o}from"./runtime-C9sYHesu.js";var s=t(n(),1),c=e(),l=t(i(),1),u=e=>{let{children:t,disabled:n}=e,[r,i]=(0,s.useState)(e.container?.current),a=(0,s.useSyncExternalStore)(f,()=>!1,()=>!0),{getRootNode:u}=o();if((0,s.useEffect)(()=>{i(()=>e.container?.current)},[e.container]),a||n)return(0,c.jsx)(c.Fragment,{children:t});let p=r??d(u);return(0,c.jsx)(c.Fragment,{children:s.Children.map(t,e=>(0,l.createPortal)(e,p))})},d=e=>{let t=e?.(),n=t.getRootNode();return r(n)?n:a(t).body},f=()=>()=>{};export{u as t}; 2//# sourceMappingURL=portal-iTAdUClW.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.