1import{$ as e,st as t}from"./rFZFejli.js";import{Jt as n,K as r,Ot as i,S as a,b as o,d as s,f as c,lt as l,m as u,p as d,u as f,ut as p}from"./BsICRQHL.js";import{t as m}from"./BDNMzG2s.js";import{t as h}from"./CjhP04F7.js";import{t as g}from"./DecLmlfe.js";import{t as _}from"./9342S9pb.js";import{i as v}from"./BPcrP_cd.js";import{t as y}from"./CIpvthec.js";import{t as b}from"./CNv1-RvE.js";import{t as x}from"./fJtNjVJ8.js";var S={class:`max-w-165 mx-auto flex flex-col gap-14`},C={class:`flex flex-col gap-4`},w={key:0,class:`text-gray-500 text-heading-xxs`},T={key:1,class:`text-heading-xl`},E=[`innerHTML`],D=Object.assign(m(a({__name:`Legal`,props:{data:{}},setup(e){return(t,a)=>{let o=h;return r(),c(o,{class:`pt-18`},{default:p(()=>[s(`div`,S,[s(`div`,C,[e.data.date?(r(),u(`p`,w,n((`formatLongDate`in t?t.formatLongDate:i(_))(e.data.date)),1)):d(``,!0),e.data.pageTitle?(r(),u(`h1`,T,n(e.data.pageTitle),1)):d(``,!0)]),e.data.content?(r(),u(`div`,{key:0,class:`wysiwyg-content legal-wysiwyg`,innerHTML:(`sanitizeWysiwygHtml`in t?t.sanitizeWysiwygHtml:i(v))(e.data.content)},null,8,E)):d(``,!0)])]),_:1})}}}),[[`__scopeId`,`data-v-9f9c0171`]]),{__name:`PageLegal`}),O=a({__name:`[...slug]`,async setup(n){let a,s,p=t(),m=f(()=>p.path),{data:h,error:_}=([a,s]=l(()=>x(m)),a=await a,s(),a);if(_.value)throw e({statusCode:404,statusMessage:`Page Not Found`,message:`The page you are looking for does not exist.`});b(h.value?.seo);let v=f(()=>h.value?.blocks),S=f(()=>h.value?.template?.templateName===`Legal Page`?h.value?.legalPage:void 0);return(e,t)=>{let n=g,a=D,s=y;return r(),u(`div`,null,[o(n),i(S)?(r(),c(a,{key:0,data:i(S)},null,8,[`data`])):d(``,!0),i(v)?(r(),c(s,{key:1,blocks:i(v)},null,8,[`blocks`])):d(``,!0)])}}});export{O 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.