1import{n as e,r as t}from"./rolldown-runtime-S-ySWqyJ.js";import{i as n,r}from"./framework-CXnKph_e.js";import{u as i}from"./index-Cuhe3KoS.js";var a=t(n(),1),o=r();function s({label:e,onClose:t,href:n,tone:r=`cream`,navigation:i=!1}){let a=i?`BACK â`:`CLOSE Ã`;return(0,o.jsxs)(`div`,{className:`sectionBar sectionBar-${r}${i?` sectionBar-navigation`:``}`,children:[(0,o.jsx)(`span`,{children:e}),n?(0,o.jsx)(`a`,{className:`sectionBarClose`,href:n,children:a}):t?(0,o.jsx)(`button`,{className:`sectionBarClose`,onClick:t,children:a}):null]})}var c=e({default:()=>l});function l({label:e,directEntry:t=!1}){let n=i().get(`from`),r=n===`main`?`/?tab=home`:n===`entrance`||!t?`/entrance-preview`:void 0,[c,l]=(0,a.useState)();return(0,a.useEffect)(()=>{try{let e=new URL(document.referrer);e.origin===location.origin&&e.pathname!==location.pathname&&l(e.pathname+e.search+e.hash)}catch{}},[]),(0,o.jsx)(s,{label:e,navigation:!0,href:c||r})}export{c as n,s as r,l as t};
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.