1import{G as t}from"./B8XHxhss.js";import{J as e,bt as n}from"#entry";function a(a={}){const r=function(t){const n={};t?.breadcrumb?.length&&(n.breadcrumb=JSON.stringify(t.breadcrumb.map(t=>({name:t.name,url:t.url}))));t?.updateDate&&(n.lastUpdated=t.updateDate);t?.name&&(n.name=t.name);t?.intro?.title&&(n.title=t.intro.title);t?.intro?.teaser&&(n.teaser=t.intro.teaser);t?.intro?.image&&(n.image=JSON.stringify(e(t.intro.image,["url","cropUrl","width","height","altText"])));t?.template&&(n.template=t.template);if(t?.contentElements?.length){const e=[];t.contentElements.forEach(t=>{["BlockLinkList","BlockDocumentList"].includes(t.alias)&&(t?.content?.items||[]).forEach(t=>{"file"===t?.type&&e.push(t)})}),e.length&&(n.documents=JSON.stringify(e.map(t=>({name:t.name,url:t.url,size:t.size}))))}return i(n)}(t("pageContent",{}));function i(t){if(t){const e={};return Object.keys(t).forEach(n=>{const a=n;n&&!n.startsWith("page:")&&(n=`page:${n}`),e[n]=t[a]}),e}return t}Object.assign(r,i(a)),n({meta:Object.keys(r).map(t=>({tagPriority:"low",key:t,name:t,content:r[t]}))})}export{a 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.