1import{b_ as $,b6 as U,bn as M,bf as b,b7 as N,b4 as O,aV as l,b5 as u,aX as a,b1 as o,a_ as p,b8 as j,bc as A,b0 as h,be as _,bd as F,aY as z,aZ as q,a$ as G,bg as H,aW as r,bb as V}from"./KtXYa9-g.js";import{u as Y,_ as W}from"./BxR0_NmN.js";import{_ as J}from"./DpaQVkPr.js";import{u as X,_ as K}from"./CzitB8BU.js";import{j as Z,k as R,l as Q,m as ee}from"./Cwr6Ne2x.js";import{u as te}from"./BsxVumS3.js";import"./DVcbWb_A.js";import"./Bsh3P2TN.js";import"./CGoZLU78.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};d.SENTRY_RELEASE={id:"04096d812c2c9959af5754722141432a3fe86a2f"};var m=new d.Error().stack;m&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[m]="2010e6ee-fbbd-47ee-8a5f-f6b0637b05e8",d._sentryDebugIdIdentifier="sentry-dbid-2010e6ee-fbbd-47ee-8a5f-f6b0637b05e8")}catch{}})();const oe={key:0,class:"border-t border-b border-[#bfbfbf]"},ne=["href"],ae={class:"2xl:px-[50px] lg:px-[30px] sm:px-[20px] px-[15px] py-[50px] bg-[#fff]"},re={class:"max-w-7xl mx-auto"},se={key:0},ie={key:1},le={class:"2xl:text-[48px] lg:text-[40px] md:text-[32px] text-[24px] 2xl:leading-[48px] lg:leading-[40px] md:leading-[32px] leading-[28px] font-bold text-center"},pe={class:"flex flex-wrap items-center justify-center gap-2 lg:text-[20px] text-base text-[#666] text-center mt-[20px]"},ge={class:"flex items-center gap-1"},ce={class:"flex items-center gap-1"},de={class:"flex items-center gap-1"},me={class:"flex items-center gap-1"},ue={key:0,class:"py-[20px] flex items-center justify-center"},he=["src","alt"],be=["innerHTML"],ye={key:1,class:"text-center"},fe=["href"],xe={class:"border-t border-[#bfbfbf]"},we={key:2,class:"text-center py-[100px]"},_e={key:1,class:"border-t border-b border-[#bfbfbf]"},Se=["href"],ve={key:2,class:"2xl:px-[50px] lg:px-[30px] sm:px-[20px] px-[15px] py-[50px] bg-[#F5F5F5]"},Ee={class:"grid lg:grid-cols-3 grid-cols-1 sm:gap-[20px] gap-[15px] mt-[30px]"},Le={__name:"[slug]",async setup(d){let m,y;const S=$(),{changeMenuActive:k}=U(),{blogItems:f,fetchBlogs:P}=X(),{bannerItems:v,fetchPostBanners:B}=te(),{data:n,pending:I}=([m,y]=M(()=>Y("/api/article/detail",{query:{slug:S.params.slug},server:!0,default:()=>null},"$qPqKVeUHEH")),m=await m,y(),m),C=b(()=>{if(!n.value?.html)return!1;const e=n.value.html.toLowerCase(),t=e.includes("disclaimer"),c=e.includes("this information is provided solely on a goodwill basis and does not relieve parties of their responsibility to verify the information");return!t||!c}),T=b(()=>n.value?.imageUrl?n.value?.html?!n.value.html.toLowerCase().includes(n.value.imageUrl.toLowerCase()):!0:!1);N(()=>{if(!n.value)return{title:"Blog Not Found - ERA Singapore",meta:[{name:"robots",content:"noindex, nofollow"}]};const e=n.value;if(!e||!e.title)return{title:"Blog - ERA Singapore",meta:[{name:"robots",content:"noindex, nofollow"}]};const t=`https://www.era.com.sg${Z("blogs",e.slug,e.title,e.id)}`,c=R(e.html||""),i=new Date(e.publishedAt||new Date).toISOString(),s=new Date(e.entryDate||e.publishedAt||new Date).toISOString();return{title:`${e.title} | ERA Singapore Property Blog`,meta:[{name:"description",content:e.description||`Read ${e.title} - Expert insights on Singapore property market, real estate trends, and investment tips from ERA Singapore's property professionals.`},{name:"keywords",content:`${e.title}, ERA blog Singapore, property blog, real estate insights Singapore, property market analysis, investment tips, ERA property experts`},{name:"author",content:e.publisher?.publisherName||"ERA Real Estate Singapore"},{property:"og:title",content:`${e.title} | ERA Property Blog Singapore`},{property:"og:description",content:e.description||"Expert property insights and real estate analysis from ERA Singapore."},{property:"og:image",content:e.imageUrl||"https://danv9wqo493xx.cloudfront.net/property-portal/images/logo/era-blog-og.jpg"},{property:"og:url",content:t},{property:"og:type",content:"article"},{property:"og:site_name",content:"ERA Real Estate Singapore"},{property:"og:locale",content:"en_SG"},{property:"article:published_time",content:i},{property:"article:modified_time",content:s},{property:"article:author",content:e.publisher?.publisherName||"ERA Singapore"},{property:"article:section",content:"Property Blog & Insights"},{property:"article:tag",content:"property blog, real estate insights, ERA Singapore, property market analysis"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:"@ERASingapore"},{name:"twitter:title",content:`${e.title} | ERA Property Blog`},{name:"twitter:description",content:e.description||"Expert property insights from ERA Singapore's real estate professionals."},{name:"twitter:image",content:e.imageUrl||"https://danv9wqo493xx.cloudfront.net/property-portal/images/logo/era-blog-og.jpg"},{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1"},{name:"googlebot",content:"index, follow, max-image-preview:large"},{name:"bingbot",content:"index, follow"},{name:"viewport",content:"width=device-width, initial-scale=1.0"},{"http-equiv":"X-UA-Compatible",content:"IE=edge"},{name:"geo.region",content:"SG"},{name:"geo.placename",content:"Singapore"},{name:"geo.position",content:"1.3521;103.8198"},{name:"ICBM",content:"1.3521, 103.8198"},{name:"content:type",content:"blog post"},{name:"content:category",content:e.category||"Property Blog"},{name:"content:language",content:"en-SG"},{name:"content:published",content:i.split("T")[0]},{name:"content:modified",content:s.split("T")[0]},{name:"reading:time",content:c},{name:"blog:topic",content:"Singapore Property & Real Estate"},{name:"blog:category",content:"Property Insights & Market Analysis"},{name:"page:section",content:"Property Blog & Expert Insights"},{name:"page:tag",content:"property blog, real estate insights, market analysis, ERA Singapore"},{name:"business:contact_data:locality",content:"Singapore"},{name:"business:contact_data:country_name",content:"Singapore"},{name:"news:keywords",content:"Singapore property, real estate market, property investment, ERA insights"},{name:"theme-color",content:"#cf0425"},{name:"msapplication-TileColor",content:"#cf0425"}],script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"BlogPosting","@id":`${t}
1#blogpost`,url:t,headline:e.title,description:e.description||"",image:e.imageUrl?{"@type":"ImageObject",url:e.imageUrl,width:1200,height:630,caption:e.title}:void 0,datePublished:i,dateModified:s,author:{"@type":"Organization","@id":"https://www.era.com.sg/#organization",name:e.publisher?.publisherName||"ERA Real Estate Singapore",logo:{"@type":"ImageObject",url:"https://danv9wqo493xx.cloudfront.net/property-portal/images/logo/header-logo_20260528.png"}},publisher:{"@id":"https://www.era.com.sg/#organization"},mainEntityOfPage:{"@type":"WebPage","@id":t},isPartOf:{"@type":"Blog","@id":"https://www.era.com.sg/blogs#blog"},blogPost:{"@id":`${t}#blogpost`},articleSection:"Property Blog & Expert Insights",wordCount:e.html?e.html.replace(/<[^>]*>/g,"").split(" ").length:0,timeRequired:c,inLanguage:"en-US",about:[{"@type":"Thing",name:"Singapore Property Market"},{"@type":"Thing",name:"Real Estate Investment"},{"@type":"Thing",name:"Property Market Analysis"}],mentions:[{"@type":"Organization",name:"ERA Real Estate Singapore"},{"@type":"Place",name:"Singapore",geo:{"@type":"GeoCoordinates",latitude:1.3521,longitude:103.8198}}],keywords:["property blog Singapore","real estate insights","property market analysis","ERA Singapore","investment tips"],copyrightHolder:{"@id":"https://www.era.com.sg/#organization"},copyrightYear:new Date(e.publishedAt||new Date).getFullYear().toString()},{"@type":"BreadcrumbList","@id":`${t}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.era.com.sg/"},{"@type":"ListItem",position:2,name:"Blogs",item:"https://www.era.com.sg/blogs"},{"@type":"ListItem",position:3,name:e.title}]},{"@type":"RealEstateBusiness","@id":"https://www.era.com.sg/#organization",name:"ERA Real Estate Singapore",alternateName:["ERA Singapore","ERA SG"],url:"https://www.era.com.sg",logo:{"@type":"ImageObject",url:"https://danv9wqo493xx.cloudfront.net/property-portal/images/logo/header-logo_20260528.png",width:200,height:60},description:"Leading real estate agency in Singapore providing expert property insights through comprehensive blog content.",address:{"@type":"PostalAddress",streetAddress:"ERA APAC Centre, 450 Lorong 6 Toa Payoh",addressLocality:"Singapore",postalCode:"319394",addressCountry:"SG"},contactPoint:{"@type":"ContactPoint",telephone:"+65-6226-2000",contactType:"customer service"},areaServed:{"@type":"Country",name:"Singapore"},sameAs:["https://www.facebook.com/ERASGOfficial","https://www.instagram.com/erasgofficial/","https://www.linkedin.com/company/erasingapore/","https://www.youtube.com/@ERASGOfficial"]},{"@type":"Blog","@id":"https://www.era.com.sg/blogs#blog",url:"https://www.era.com.sg/blogs",name:"ERA Singapore Property Blog",description:"Expert insights, market analysis, and investment tips for Singapore property market from ERA real estate professionals.",publisher:{"@id":"https://www.era.com.sg/#organization"},inLanguage:"en-US",about:[{"@type":"Thing",name:"Singapore Real Estate Market"},{"@type":"Thing",name:"Property Investment Strategies"},{"@type":"Thing",name:"Market Trends Analysis"}],audience:{"@type":"Audience",audienceType:"Property Investors, Homebuyers, Real Estate Professionals",geographicArea:{"@type":"Country",name:"Singapore"}}},{"@type":"WebPage","@id":t,url:t,name:`${e.title} | ERA Singapore Property Blog`,description:e.description||"",isPartOf:{"@id":"https://www.era.com.sg/#website"},breadcrumb:{"@id":`${t}#breadcrumb`},mainEntity:{"@id":`${t}#blogpost`},datePublished:i,dateModified:s,author:{"@id":"https://www.era.com.sg/#organization"},publisher:{"@id":"https://www.era.com.sg/#organization"},inLanguage:"en-US",potentialAction:[{"@type":"ReadAction",target:t},{"@type":"ShareAction",target:t},{"@type":"CommentAction",target:t}]},{"@type":"WebSite","@id":"https://www.era.com.sg/#website",url:"https://www.era.com.sg/",name:"ERA Real Estate Singapore",description:"Singapore's leading real estate platform featuring expert property blog insights",publisher:{"@id":"https://www.era.com.sg/#organization"},inLanguage:"en-US"}].filter(Boolean)})}],link:[{rel:"canonical",href:t},{rel:"alternate",hreflang:"en-SG",href:t},{rel:"alternate",hreflang:"x-default",href:t},{rel:"alternate",type:"application/rss+xml",title:"ERA Property Blog RSS Feed",href:"https://www.era.com.sg/blogs/rss"},{rel:"alternate",type:"application/json",title:"ERA Property Blog JSON Feed",href:"https://www.era.com.sg/blogs/feed.json"}]}}),O(()=>{k("property_insights","pi_blogs"),B(),P(1,9)});const g=b(()=>v.value?.length?v.value.find(t=>t.position==="post")?.slider?.[0]??null:null),x=b(()=>{if(!f.value||f.value.length===0)return[];const e=Q(S.params.id),t=f.value.filter(s=>s.id!==e);return t.length<=3?t:[...t].sort(()=>.5-Math.random()).slice(0,3).sort((s,w)=>new Date(w.publishedAt)-new Date(s.publishedAt))});return(e,t)=>{const c=G,i=V,s=W,w=J,D=H,L=K;return r(),l("div",null,[o(g)?(r(),l("div",oe,[a("a",{href:o(g).slug,target:"_blank",class:"block"},[p(c,{src:o(g).image_url.url,alt:o(g).title,class:"w-full h-auto"},null,8,["src","alt"])],8,ne)])):u("",!0),a("div",ae,[a("div",re,[o(I)||!o(n)?(r(),l("div",se,t[0]||(t[0]=[j('<div class="animate-pulse"><div class="h-[100px] bg-gray-300 animate-pulse rounded mt-[10px]"></div><div class="h-[30px] bg-gray-300 animate-pulse rounded mt-[10px]"></div><div class="h-[30px] bg-gray-300 animate-pulse rounded mt-[10px]"></div><div class="h-[300px] bg-gray-300 animate-pulse rounded"></div><div class="h-[500px] bg-gray-300 animate-pulse rounded"></div></div>',1)]))):o(n)?(r(),l("div",ie,[a("h1",le,h(o(n).title),1),a("ul",pe,[a("li",ge,[p(i,{name:"prime:user"}),a("span",null,h(o(n).publisher?.publisherName||"ERA Singapore"),1)]),a("li",ce,[p(i,{name:"prime:book"}),_(" "+h(o(R)(o(n).html||"")),1)]),a("li",de,[p(i,{name:"prime:tag"}),a("span",null,h(o(n).category||"Blog"),1)]),a("li",me,[p(i,{name:"prime:calendar"}),_(" "+h(o(ee)(o(n).publishedAt)),1)])]),p(s,{title:o(n).title,slug:o(n).slug,page:"blogs"},null,8,["title","slug"]),o(T)?(r(),l("div",ue,[a("img",{src:o(n).imageUrl,alt:o(n).title,class:"max-w-[100%] object-cover"},null,8,he)])):u("",!0),a("div",{class:"ck-content pt-[30px]",innerHTML:o(n).html},null,8,be),o(n).pdfUrl?(r(),l("div",ye,[a("a",{href:o(n).pdfUrl,target:"_blank",rel:"noopener",class:"bg-[#cf0425] lg:text-lg text-base text-white inline-block py-2 px-6 rounded-md font-bold hover:bg-black"},"Read PDF",8,fe)])):u("",!0),o(C)?(r(),A(w,{key:2})):u("",!0),a("div",xe,[p(s,{title:o(n).title,slug:o(n).slug,page:"blogs"},null,8,["title","slug"])])])):(r(),l("div",we,[t[2]||(t[2]=a("h1",{class:"text-2xl font-bold mb-4"},"Blog Post Not Found",-1)),t[3]||(t[3]=a("p",{class:"text-gray-600 mb-6"},"The blog post you're looking for doesn't exist or has been removed.",-1)),p(D,{to:"/blogs",class:"bg-main-red text-white px-6 py-3 rounded hover:bg-black-one"},{default:F(()=>t[1]||(t[1]=[_(" Back to Blogs ",-1)])),_:1,__:[1]})]))])]),o(g)?(r(),l("div",_e,[a("a",{href:o(g).slug,target:"_blank",class:"block"},[p(c,{src:o(g).image_url.url,alt:o(g).title,class:"w-full h-auto"},null,8,["src","alt"])],8,Se)])):u("",!0),o(x)&&o(x).length>0?(r(),l("div",ve,[t[4]||(t[4]=a("h2",{class:"2xl:text-[48px] lg:text-[40px] md:text-[32px] text-[24px] 2xl:leading-[48px] lg:leading-[40px] md:leading-[32px] leading-[24px] font-bold text-center"}," You May Also Like ",-1)),a("div",Ee,[(r(!0),l(z,null,q(o(x),E=>(r(),A(L,{key:E.id,item:E},null,8,["item"]))),128))])])):u("",!0)])}}};export{Le 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.