1import{u as B,_ as C,a as F,b as N}from"./homepage.config.4a4ac851.js";import{d as y,o as s,e as n,F as V,m as j,J as l,j as o,h as i,t as b,w as D,s as L,a as M,b as a,g as f,f as c,i as P}from"./entry.aa8be494.js";import{_ as R}from"./carousel.es.fea30114.js";import{u as z}from"./index.a7c17737.js";import"./index.5cd1c318.js";import"./Modal.vue.f5a87e4a.js";const A={class:"homepage-tiles"},S=["alt"],E=o("div",{class:"homepage-tiles__item__overlay"},null,-1),I={class:"homepage-tiles__item__content"},J={class:"container"},W=["innerHTML"],q={key:1,class:"homepage-tiles__item__bar-text-wrapper"},G={class:"has-text-centered pt-sm"},K=["href"],O=y({__name:"Tiles",props:{slides:{default:()=>[]}},setup(k){return(_,r)=>(s(),n("div",A,[(s(!0),n(V,null,j(_.slides.slice(0,3),(t,e)=>(s(),n("div",{key:e,class:l(["homepage-tiles__item",[`tile-${e+1}`,{"has-bar":t.bar_enable}]])},[o("img",{class:"homepage-tiles__item__image",src:"https://img.freepik.com/free-photo/background_53876-32169.jpg",alt:t.image.alt,loading:"lazy"},null,8,S),E,o("div",I,[o("div",J,[t.title?(s(),n("div",{key:0,class:l(["homepage-tiles__item__content__title pb-b",{"small-text":e>0}])},[o("h2",{innerHTML:t.title},null,8,W)],2)):i("",!0),t.bar_enable?(s(),n("div",q,[o("span",{class:l(["homepage-tiles__item__bar__text",{"small-bar-text":e>0}])},b(t.bar.text),3),o("div",G,[o("a",{href:t.bar.link.url,class:"button is-primary is-rounded is-responsive"},b(t.bar.link.title),9,K)])])):i("",!0)])])],2))),128))]))}});const Q={key:0},se=y({__name:"home-test",async setup(k){var p,m,d,u,g,h,v;let _,r;const t=B();[_,r]=D(()=>P("homepage",()=>(t.setParams("record",{key:"slug",value:"home"}),t.fetchRecord()))),await _,r();const{record:e}=L(t);return M({title:e.value.data.title,link:[{rel:"canonical",href:"https://proctorgroup.com"}]}),z({title:(p=e.value.data.seo)==null?void 0:p.title,description:(m=e.value.data.seo)!=null&&m.description?(d=e.value.data.seo)==null?void 0:d.description:e.value.data.content.introduction.replace(/<\/?[^>]+(>|$)/g,"").substring(0,154)+"...",ogTitle:(u=e.value.data.seo)==null?void 0:u["og:title"],ogDescription:(g=e.value.data.seo)!=null&&g["og:description"]?(h=e.value.data.seo)==null?void 0:h["og:description"]:e.value.data.content.introduction.replace(/<\/?[^>]+(>|$)/g,"").substring(0,154)+"...",ogImage:(v=e.value.data.seo)==null?void 0:v["og:image"]}),(U,X)=>{const x=C,H=O,T=F,w=N,$=R;return a(e).data.template==="homepage"?(s(),n("div",Q,[a(e).data.content.homepage_video?(s(),f(x,{key:0,video:a(e).data.content.homepage_video,title:a(e).data.content.homepage_video_title},null,8,["video","title"])):a(e).data.content.homepage_slider?(s(),f(H,{key:1,slides:a(e).data.content.homepage_slider,autoplay:a(e).data.content.homepage_slider_autoplay},null,8,["slides","autoplay"])):i("",!0),o("main",null,[c(T,{page:a(e).data},null,8,["page"]),c(w,{page:a(e).data},null,8,["page"]),c($)])])):i("",!0)}}});export{se 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.