1import{_ as C}from"./BSzfj3ll.js";import{d as g,c as h,a as k,b as w,l as A,q as E,r as T,o as x,E as R,m as b,O as I,e as U,f as L,g as M,a1 as j,x as q,i as B,v as O,M as S}from"./CfwR7KjC.js";import{u as V}from"./D3mpzuaT.js";import"./CNv4Olc0.js";import"./CDNhshiE.js";import"./CK3j4WxR.js";import"./DahKxLZg.js";import"./BvGUKApx.js";import"./BlYXyQln.js";import"./DKm_AvMO.js";import"./Dsl0BBls.js";import"./lT2WgMtg.js";import"./CCWZUn3U.js";import"./jtcf1M5Q.js";import"./BJSkHfsU.js";import"./Bbu50V-a.js";import"./C_CSrYdp.js";import"./fuATp9Jy.js";import"./DYKVvAC3.js";import"./CVLkF-jX.js";import"./tDWCj05o.js";import"./DQu_lKCM.js";import"./Bm92f-5u.js";import"./CxIZtCgj.js";import"./B4-JW-ap.js";import"./B_ZaJEvG.js";import"./BkKQwNi9.js";import"./BEABXW8M.js";const ve=g({__name:"[slug]",async setup(D){var l,c,d,_,v;let a,i;const r=h().params.id,n=k(),m=w(),{data:p,error:t}=([a,i]=A(async()=>E(`content-article:${r}`,async()=>await S().fetchItem({client:n,url:m},{id:parseInt(r),unpublished:!0}))),a=await a,i(),a);if(!p.value)throw T({statusCode:((l=t==null?void 0:t.value)==null?void 0:l.statusCode)||500,message:((c=t==null?void 0:t.value)==null?void 0:c.statusCode)===404?"Artikel niet gevonden.":"Fout bij ophalen artikel.",fatal:!0,cause:t.value});const e=p.value;x(async()=>{const s={pageview:{id:e.id,collectionType:I.Content},url:b().href,eventType:R.Pageview},f=U(),o=!0,y=L("session").value;M().addEvent({client:n,url:m},{event:s,analyticsEvents:f,immediate:o,sessionCookieValue:y})});const u={...e==null?void 0:e.seo,metaImage:((d=e==null?void 0:e.seo)==null?void 0:d.metaImage)??(e==null?void 0:e.cover)};return u.metaTitle=((_=e==null?void 0:e.seo)==null?void 0:_.metaTitle)??(e==null?void 0:e.title),V().set(u),(v=e==null?void 0:e.seo)!=null&&v.canonicalURL&&j(()=>{var s;return{link:[{rel:"canonical",href:(s=e==null?void 0:e.seo)==null?void 0:s.canonicalURL}]}}),(s,f)=>{const o=C;return B(),q(o,{content:O(e)},null,8,["content"])}}});export{ve 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.