1import b from"./BrT-YQ59.js";import{u as E}from"./C1zaJ8KS.js";import{u as w}from"./C4_QyQ5x.js";import{as as $,at as R,aD as f,af as k,k as I,aB as N,ao as a,h as x,i as V,a6 as M,av as T,$ as g,Z as P}from"./DLbABYnb.js";import{a as S,u as U}from"./SwV2H2nh.js";import"./DNuuDTlM.js";import"./DbHSgv2O.js";import"./ChO7nv25.js";import"./DlAUqK2U.js";import"./pavanVpq.js";import"./DXYpDPw8.js";import"./B4_l8MY8.js";import"./CYfjXOEd.js";import"./oBp65Ksk.js";import"./Cpj98o6Y.js";import"./CHtJMb8x.js";import"./CTfXv1NM.js";import"./DyG2fEZ9.js";const et={__name:"[news]",async setup(A){let o,i;const{fetchStoryBySlug:_}=E(),{getRobotsMeta:h}=w(),s=T(),t=M(),v=$(),n=R();v.hook("page:finish",()=>{window&&window.scrollTo(0,0)});const{story:c,pending:u,error:y}=([o,i]=f(()=>_(n.path.replace("/",""),{ignorePendingAndError:!1})),o=await o,i(),o);if(t.value=c?.value?.story,y.value)throw k({statusCode:404,statusMessage:"Page Not Found"}),I({statusCode:404,statusMessage:"Page Not Found"});return N(u,async()=>{u.value||(t.value=c?.value?.story),s.public.NUXT_ENV==="development"&&await g(t?.value?.id,e=>t.value=e)}),s.public.NUXT_ENV==="development"&&([o,i]=f(()=>g(t?.value?.id,e=>t.value=e)),await o,i()),(({content:e={},first_published_at:m="",published_at:p=""}={})=>{const r=e.title?e.title+" | REIV - Real Estate Institute of Victoria":"REIV - Real Estate Institute of Victoria",l=e.snippet||"",d=`${s.public.SITE_URL}${n.fullPath}`;S({title:r,ogTitle:r,description:l,ogDescription:l,ogUrl:d,ogImage:"https://a.storyblok.com/f/224482/183x98/410c640932/reiv-logo.svg",formatDetection:()=>"telephone=no",robots:()=>h(s.public.SITE_URL.includes("staging.reiv.com.au"),!!e.noindex)}),U({title:r,script:[{type:"application/ld+json",innerHTML:`{ 2 "@context": "https://schema.org", 3 "@type": "NewsArticle", 4 "mainEntityOfPage": { 5 "@type": "WebPage", 6 "@id": "${d}" 7 }, 8 "headline": "${r}", 9 "description": "${l}", 10 "author": { 11 "@type": "Organization", 12 "name": "REIV" 13 }, 14 "publisher": { 15 "@type": "Organization", 16 "name": "REIV", 17 "logo": { 18 "@type": "ImageObject", 19 "url": "https://a.storyblok.com/f/224482/183x98/410c640932/reiv-logo.svg" 20 } 21 }, 22 "datePublished": "${m}", 23 "dateModified": "${p}" 24 }`}],link:[{rel:"canonical",href:`${s.public.SITE_URL}${n.path}`}]})})(t.value),(e,m)=>{const p=b;return a(t)?(P(),x(p,{key:0,blok:a(t).content,meta:a(t).meta_data,datetime:a(t).meta_data?.migrated_from==="kentico"?a(t).first_published_at.replace(/Z$/,"+10:00"):a(t).first_published_at},null,8,["blok","meta","datetime"])):V("",!0)}}};export{et 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.