1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-6HLFpW99.js";import{t as n}from"./jsx-runtime-BdxMnOeJ.js";import{t as r}from"./link-Uj9Wplrw.js";import{t as i}from"./button-CjI5ieNQ.js";import{t as a}from"./_home.index-Xcl74NFy.js";import{t as o}from"./edit-DBHG9kbn.js";import{t as s}from"./hooks-12Npz7_b.js";import{n as c,t as l}from"./footer-DnnB1Jq-.js";import{n as u,pn as d,r as f,t as p}from"./block-context-BnF6WbCU.js";import{t as m}from"./top-info-bar-CnI91wot.js";var h=e(t()),g=n();function _(){let{blockMap:e,blockTree:t}=a.useLoaderData(),{user:n}=s(),_=u({blockMap:e,blockTree:t}),v=(0,h.useMemo)(()=>d(e,t),[e,t]);return(0,g.jsxs)(`div`,{className:`overflow-x-hidden`,children:[(0,g.jsx)(m,{}),(0,g.jsx)(c,{hasTopInfoBar:!0}),(0,g.jsx)(p,{value:_,children:(0,g.jsx)(`div`,{className:`@container relative`,children:(0,g.jsx)(f,{block:v})})}),(0,g.jsx)(l,{}),n?.role===`admin`&&(0,g.jsx)(i,{asChild:!0,className:`fixed bottom-16 left-16 size-64! rounded-full! drop-shadow-2xl`,children:(0,g.jsx)(r,{to:`/web/editor/$id`,params:{id:t.id},children:(0,g.jsx)(o,{className:`size-28!`})})})]})}export{_ as component};
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.