1import{A as l}from"./UG8pIHQv.js";import{B as u}from"./DCzfS_qh.js";import{d as f,a as y,w as g,X as h,V as _,f as b,g as w,m as v,b as C,h as a,j as i,o as s}from"./DRREkx-t.js";import{c as E}from"./B2eE2O7_.js";class x extends u{constructor(e){super(e)}async init(){return this}format(){const e={title:this.pageData.title??void 0,embedUrl:this.pageData.embedUrl?.url??void 0};return this.prune(e)}}const D=["data-ceros-experience","data-embed-title"],k={key:1},B=f({name:"ceros-page",__name:"ceros-entry-type",props:{pageData:{}},async setup(r){let e,o;const n=r,d=y(),c=new x(n.pageData),{data:t}=([e,o]=g(async()=>C(`ceros-formatted-${d}-${n.pageData.id}`,async()=>(await c.init(),c.format()))),e=await e,o(),e);if(!t.value)throw new Error("No formatted ceros data available");h({script:[{key:"ceros-embed",src:"https://assets.ceros.site/js/embed.v1.js",defer:!0,tagPosition:"bodyClose"}]});const m=v(),p=E("craft-cms");return m.public.DEBUG==="true"&&_(()=>p.log("Formatted ceros: ",t.value)),(U,j)=>(s(),b(l,{class:"flow"},{default:w(()=>[a(t)&&a(t).embedUrl?(s(),i("div",{key:0,"data-embed-width":"100%","data-embed-height":"100dvh","data-ceros-experience":a(t).embedUrl,"data-embed-title":a(t).title},null,8,D)):(s(),i("div",k))]),_:1}))}}),F=Object.assign(B,{__name:"CerosEntryType"});export{F as default};
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.