1import{o as e}from"./VCwxa7ww.js";import{g as t}from"./CoKk4mC0.js";import{i as n}from"./DuSrhGdw.js";import{t as r}from"./CV1ffuEZ.js";import{t as i}from"./B5Bb5rl7.js";function a(t,n){return i(t,{...n,$fetch:e().$apiTransdev},`$-flgWJBDvS`)}var o=()=>{let e=r(`page`,()=>null),i=t(()=>e.value?.page_items??[]),o=t(()=>e.value?.stage.background_image),s=t(()=>e.value?.region?.id?e.value?.region:null),c=t(()=>e.value?.context_payload);async function l(t,r){let{data:i,error:o}=await a(`/api/page`,{method:`POST`,body:{full_path:r,slug:t},server:!0});if(e.value=i.value,o.value)throw n({statusCode:404,statusMessage:`Page not found`})}async function u(t){let{data:r,error:i}=await a(`/api/preview`,{method:`POST`,body:{id:t},server:!0});if(e.value=r.value,i.value)throw n({statusCode:404,statusMessage:`Preview not found`})}function d(t){e.value=t}function f(){e.value=null}return{setPage:d,resetPage:f,fetchPage:l,fetchPreview:u,page:e,pageItems:i,headerImage:o,region:s,contextPayload:c}};export{a as n,o 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.