1import{_ as ee}from"./Cv6iHAEA.js";import{_ as ie}from"./Yah279Jw.js";import oe from"./BhODqlCA.js";import{b as g,A as Z,c as ae,o as J,n as le,M as i,G as n,Q as d,X as r,E as T,L as G,V as K,R as Y,u as t,Z as S,Y as h,U as _,F as U,_ as Q,a0 as se,$ as re}from"./BzCePANG.js";import{g as j,S as ce}from"./DOcN_8TD.js";import{_ as de}from"./DlAUqK2U.js";function ge(){const e=g(null),w=g(!0),u=g(!1);function m(o){e.value=o,e.value.update(),a()}function f(){a()}function p(){e.value&&(e.value.slideNext(),e.value.update(),a())}function s(){e.value&&(e.value.slidePrev(),e.value.update(),a())}function a(){e.value&&(w.value=e.value.isBeginning,u.value=e.value.isEnd)}return Z(()=>{e.value&&e.value.update()}),{swiperInstance:e,atBeginning:w,atEnd:u,onSwiperInit:m,onSlideChange:f,slideNext:p,slidePrev:s}}const ue=["id"],me={class:"small-width-section mb-[40px] text-primary"},he={ref:"contentContainer",class:"right-short relative z-20 text-left"},ve=["innerHTML"],fe=["innerHTML"],xe={class:"inline-content z-20 flex flex-row items-center gap-8"},ye=["innerHTML"],be=["innerHTML"],we={key:3,class:"nav-container relative top-0 flex"},pe={key:0,class:"small-width-section overflow-visible"},ke={class:"mt-16 flex flex-row items-center justify-start gap-[46px]"},Se={key:0,class:"nav-container relative top-0 flex"},je={__name:"TileSlider",props:{content:{type:Object,required:!0},numbering:{type:String,default:null},motif:{type:Boolean,default:!0},tileSize:{type:String,default:"slider"}},setup(e){const w=e;let u=null,m=null,f=null;const p=g(null),s=g(null),a=g(null),o=g(null),x=g(null),y=g(null),b=g(0),k=g("30vh"),v=g("30vh"),F=g(null),{atBeginning:L,atEnd:C,onSwiperInit:te,onSlideChange:ne,slideNext:P,slidePrev:A}=ge(),X=g(!1),V=()=>{X.value=window.innerWidth<1024},N=()=>{if(o.value&&x.value){const z=o.value.getBoundingClientRect().bottom,c=x.value.getBoundingClientRect().bottom,M=x.value.offsetParent.getBoundingClientRect().bottom;b.value=Math.max(z,c)-M}},q=()=>{if(a.value&&y.value){const z=a.value.offsetHeight;y.value.style.height=`${z}px`}};return ae(()=>w.content,N),J(()=>{window.removeEventListener("resize",N)}),Z(()=>{V(),window.addEventListener("resize",q),window.addEventListener("resize",V);const z=window.innerHeight;if(F.value){const c=F.value.offsetHeight,B=(z-c)/2;k.value=`${B}px`,v.value=`${B}px`}le(()=>{if(q(),w.content.blockTypeContentSlider!=="manualScroll"){let c=function(){if(!s.value||!a.value)return;u&&u.kill(),m&&m.kill(),f&&f.kill();const B=(()=>{const D=s.value.getBoundingClientRect(),R=s.value.lastElementChild,l=R==null?void 0:R.getBoundingClientRect(),E=parseFloat(window.getComputedStyle(s.value).paddingRight)||0;return-(l.right-(D.right-E))})(),$="50vw";u=j.fromTo(s.value,{x:"100vw"},{x:$,scrollTrigger:{trigger:a.value,start:"top 60%",end:"top -50px",scrub:!0}}),f=ce.create({trigger:a.value,start:"top top",end:"+=2000",pin:!0}),m=j.fromTo(s.value,{x:$},{x:B,scrollTrigger:{trigger:a.value,start:"top top",end:"+=2000",scrub:!0}})};N(),window.addEventListener("resize",N),c(),window.addEventListener("resize",()=>{q(),c()})}})}),J(()=>{window.removeEventListener("resize",V),window.removeEventListener("resize",N),u==null||u.kill(),m==null||m.kill(),f==null||f.kill()}),(z,c)=>{const M=ee,B=ie,$=oe,D=se,R=re;return n(),i("section",{ref_key:"pinSection",ref:a,class:h(["section-padding overflow-visible lg:py-0",e.content.backgroundColourWG==="white"?"bg-secondaryLight":"bg-brandLight"]),style:S(t(X)?{}:{paddingTop:t(k),paddingBottom:t(v)}),id:e.content.anchor},[d("div",{ref_key:"innerContent",ref:F},[d("div",me,[d("div",he,[e.numbering?(n(),i("h5",{key:0,class:"numbering text-brandYellow",innerHTML:e.numbering},null,8,ve)):r("",!0),e.content.eyebrowHeading?(n(),i("h5",{key:1,class:"heading-5 heading-5 text-brandYellow",innerHTML:e.content.eyebrowHeading},null,8,fe)):r("",!0),d("div",xe,[e.content.sliderHeading||e.content.heading?(n(),i("h2",{key:0,ref_key:"heading",ref:o,class:"z-20 mb-4 pr-[21px] font-bold text-[#4B4B4B] ~text-[33px]/[70px] ~leading-[50px]/[80px] ~tracking-[-0.66px]/[-1.4px]",innerHTML:e.content.sliderHeading||e.content.heading},null,8,ye)):r("",!0),e.content.cta?(n(),T(M,{key:1,class:"btn-primary z-20 mb-4 hidden lg:block",to:e.content.ctaLink},{default:G(()=>[K(Y(e.content.cta),1)]),_:1},8,["to"])):r("",!0)]),e.content.richTextMin?(n(),i("div",{key:2,ref_key:"description",ref:x,innerHTML:e.content.richTextMin,class:"body relative z-20 text-primary"},null,8,be)):r("",!0),t(X)?(n(),i("div",we,[d("div",{class:h(["custom-prev h-[3.188rem] w-[3.188rem] cursor-pointer bg-contain bg-no-repeat",{muted:t(L)}]),style:S({"background-image":`url(${e.content.backgroundColourWG==="white"?t(L)?"/assets/images/sh
1ared/greyLeftNavMute.svg":"/assets/images/shared/greyLeftNav.svg":t(L)?"/assets/images/shared/whiteLeftNavMute.svg":"/assets/images/shared/whiteLeftNav.svg"})`}),onClick:c[0]||(c[0]=(...l)=>t(A)&&t(A)(...l))},null,6),d("div",{class:h(["custom-next h-[3.188rem] w-[3.188rem] cursor-pointer bg-contain bg-no-repeat",{muted:t(C)}]),style:S({"background-image":`url(${e.content.backgroundColourWG==="white"?t(C)?"/assets/images/shared/greyRightNavMute.svg":"/assets/images/shared/greyRightNav.svg":t(C)?"/assets/images/shared/whiteRightNavMute.svg":"/assets/images/shared/whiteRightNav.svg"})`}),onClick:c[1]||(c[1]=(...l)=>t(P)&&t(P)(...l))},null,6)])):r("",!0),e.motif?(n(),T(B,{key:4,fillClass:e.content.backgroundColourWG==="white"?"text-brandLight":"text-secondaryLight",class:"absolute right-0 z-10 hidden h-[280px] w-[280px] lg:block",style:S({bottom:t(b)+"px"})},null,8,["fillClass","style"])):r("",!0)],512)]),e.content.blockTypeContentSlider==="manualScroll"||t(X)?(n(),i("div",pe,[_(R,{class:"-ml-4 !overflow-visible sm:-ml-6 lg:-ml-8","slides-per-view":"auto","allow-touch-move":!0,loop:!1,onSwiper:t(te),onSlideChange:t(ne)},{default:G(()=>[(n(!0),i(U,null,Q(e.content.tiledContentCBInfo,(l,E)=>(n(),T(D,{key:E,class:h(["relative !w-fit origin-center transform items-center justify-center",[e.content.tileSize==="sliderLarge"?"~sm/md:~mr-[8px]/[58px]":"~sm/md:~mr-[8px]/[36px]"]])},{default:G(()=>{var H,O,W,I;return[_($,{imageSrc:(I=(W=(O=(H=l.iconCategorySelector)==null?void 0:H[0])==null?void 0:O.iconImage)==null?void 0:W[0])==null?void 0:I.title,title:l.heading,description:l.textContent,darkmode:e.content.tileColourWG!=="white",size:e.tileSize,class:h([[e.content.tileColor],"eStoreTileAnim"])},null,8,["imageSrc","title","description","darkmode","size","class"])]}),_:2},1032,["class"]))),128))]),_:1},8,["onSwiper","onSlideChange"]),d("div",ke,[e.content.blockTypeContentSlider==="manualScroll"?(n(),i("div",Se,[d("div",{class:h(["custom-prev h-[3.188rem] w-[3.188rem] cursor-pointer bg-contain bg-no-repeat",{muted:t(L)}]),style:S({"background-image":`url(${e.content.backgroundColourWG==="white"?t(L)?"/assets/images/shared/greyLeftNavMute.svg":"/assets/images/shared/greyLeftNav.svg":t(L)?"/assets/images/shared/whiteLeftNavMute.svg":"/assets/images/shared/whiteLeftNav.svg"})`}),onClick:c[2]||(c[2]=(...l)=>t(A)&&t(A)(...l))},null,6),d("div",{class:h(["custom-next h-[3.188rem] w-[3.188rem] cursor-pointer bg-contain bg-no-repeat",{muted:t(C)}]),style:S({"background-image":`url(${e.content.backgroundColourWG==="white"?t(C)?"/assets/images/shared/greyRightNavMute.svg":"/assets/images/shared/greyRightNav.svg":t(C)?"/assets/images/shared/whiteRightNavMute.svg":"/assets/images/shared/whiteRightNav.svg"})`}),onClick:c[3]||(c[3]=(...l)=>t(P)&&t(P)(...l))},null,6)])):r("",!0),e.content.cta?(n(),T(M,{key:1,to:e.content.ctaLink,class:"btn-primary text-extraDark"},{default:G(()=>[K(Y(e.content.buttonText),1)]),_:1},8,["to"])):r("",!0)])])):(n(),i("div",{key:1,class:"overflow-visible",ref_key:"sliderSection",ref:p},[d("div",{ref_key:"tileContainer",ref:s,class:h(["tile-container small-width-section flex flex-nowrap",e.content.tileSize==="sliderLarge"?"gap-[58px]":"gap-[36px]"])},[(n(!0),i(U,null,Q(e.content.tiledContentCBInfo,(l,E)=>{var H,O,W,I;return n(),T($,{key:E,imageSrc:(I=(W=(O=(H=l.iconCategorySelector)==null?void 0:H[0])==null?void 0:O.iconImage)==null?void 0:W[0])==null?void 0:I.title,title:l.heading,description:l.textContent,darkmode:e.content.tileColourWG!=="white",size:e.tileSize,class:h([[e.content.tileColor],"eStoreTileAnim"]),ref_for:!0,ref:"tile"},null,8,["imageSrc","title","description","darkmode","size","class"])}),128))],2)],512))],512)],14,ue)}}},Te={key:0,class:"z-10 mb-[0.563rem] mt-[0.5rem] font-primary text-[clamp(1.063rem,0.786rem+0.595vw,1.5rem)] font-bold leading-[33px]",style:{"text-shadow":"0px 4px 4px rgba(0, 0, 0, 0.25)"}},Le={key:1,class:"tile-description body mt-1 overflow-hidden text-secondaryLight"},Ce={__name:"Tile",props:{title:String,image:String,size:String,darkMode:Boolean,link:String,tripleSection:Boolean,description:String},setup(e){return(w,u)=>{const m=ee;return e.image?(n(),T(m,{key:0,class:h(["locationsTile z-1 relative flex max-h-[334px] max-w-[818px] flex-col justify-start overflow-visible rounded-[25px] bg-dark bg-cover bg-center p-[3.5rem] pt-[2.5rem] text-secondaryLight",{"tile-large":e.size==="large","tile-small":e.size==="small","tile-third":e.size==="third","has-description":!!e.description}]),to:e.link,style:S({"--bg-url":`url(${e.image})`})},{default:G(()=>[d("div",{class:h(["overlay absolute inset-[-2px] z-20 flex items-start justify-start overflow-visible",[e.darkMode?"bg-brandLight":"bg-secondaryLight"]]
1)},null,2),e.title?(n(),i("h4",Te,Y(e.title),1)):r("",!0),e.description?(n(),i("p",Le,Y(e.description),1)):r("",!0)]),_:1},8,["to","style","class"])):r("",!0)}}},ze=de(Ce,[["__scopeId","data-v-23a2555a"]]),Me=["id"],Be={class:"small-width-section mb-[40px] text-left"},He={class:"right-short"},Ne=["innerHTML"],$e=["innerHTML"],Re=["innerHTML"],Ee=["innerHTML"],Oe={class:"large-width-section locationsSection"},We={class:"mx-auto flex max-w-full flex-wrap gap-[23px] align-middle"},Fe={__name:"StaggeredWall",props:{content:{type:Object,required:!0},tripleSection:{type:Boolean,default:!1},smallTitle:{type:Boolean,default:!1},numbering:{type:String,default:null}},setup(e){const w=e,u=["large","small","third","third","third"],m=["large","small","small","large"];function f(p){const s=w.tripleSection?u:m;return s[p%s.length]}return Z(()=>{const p=j.timeline({scrollTrigger:{trigger:".locationsSection",start:"top bottom",toggleActions:"play none none reverse"}});document.querySelectorAll(".locationsTile").forEach((s,a)=>{const o=s.querySelector(".overlay"),x=[{axis:"horizontal",transformOrigin:"left top"},{axis:"horizontal",transformOrigin:"right top"},{axis:"vertical",transformOrigin:"left top"},{axis:"vertical",transformOrigin:"left bottom"}],y=x[a%x.length],b=y.axis==="horizontal",k=y.transformOrigin,v=j.timeline();v.fromTo(o,{scaleX:1,scaleY:1},{scaleX:b?.5:1,scaleY:b?1:.5,transformOrigin:y.transformOrigin,duration:.7,ease:"power3.out"}),b?v.to(o,{scaleY:0,transformOrigin:k,duration:.7,ease:"power3.out"}):v.to(o,{scaleX:0,transformOrigin:k,duration:.7,ease:"power3.out"}),v.fromTo(s,{boxShadow:"none"},{boxShadow:"116px 235px 73px 0px rgba(0, 0, 0, 0), 74px 151px 67px 0px rgba(0, 0, 0, 0.01), 42px 85px 57px 0px rgba(0, 0, 0, 0.05), 19px 38px 42px 0px rgba(0, 0, 0, 0.09), 5px 9px 23px 0px rgba(0, 0, 0, 0.1)",duration:.3,ease:"power2.inOut"}),p.add(v,0)})}),(p,s)=>{const a=ze;return n(),i("section",{class:h(["top-template bottom-template",e.content.darkMode?"bg-brandLight":"bg-secondaryLight"]),id:e.content.anchor},[d("div",Be,[d("div",He,[e.numbering?(n(),i("h5",{key:0,class:"numbering text-brandYellow",innerHTML:e.numbering},null,8,Ne)):r("",!0),e.content.heading&&!e.smallTitle?(n(),i("h2",{key:1,innerHTML:e.content.heading,class:"text-primary"},null,8,$e)):r("",!0),e.content.heading&&e.smallTitle?(n(),i("h4",{key:2,innerHTML:e.content.heading,class:"heading-4 text-primary"},null,8,Re)):r("",!0),e.content.richTextMin?(n(),i("div",{key:3,class:"heading-9 pt-[20px] text-lighterBody ~pr-[0px]/[205px]",innerHTML:e.content.richTextMin},null,8,Ee)):r("",!0)])]),d("div",Oe,[d("div",We,[(n(!0),i(U,null,Q(e.content.masonryTilesCBitem||e.content.masonryTiles,(o,x)=>{var y,b,k,v;return n(),T(a,{key:x,title:o.heading||o.location,image:((b=(y=o.tileImage)==null?void 0:y[0])==null?void 0:b.url)||((v=(k=o.locationImage)==null?void 0:k[0])==null?void 0:v.url),description:o.description||o.tileContent,link:o.linkAll||o.locationLink,size:f(x),tripleSection:e.tripleSection,darkMode:e.content.darkMode},null,8,["title","image","description","link","size","tripleSection","darkMode"])}),128))])])],10,Me)}}};export{Fe as _,je as a,ge as u};
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.