1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1857],{11857:function(e,l,t){"use strict";t.d(l,{default:function(){return w}});var s=t(57437),a=t(71304),i=t(2265),n=t(75028),o=t(67834),c=t(33145),r=t(91676);t(1012),t(54005),t(46090),t(94774),t(43863);var x=t(44079),d=t(13747),m=t.n(d),h=t(38728),g=t(38328),u=t(76904),p=t(88),f=t(50739),b=t(96422);function w(e){var l,t;let{title:d,buttons:u,className:p="",data:w}=e,{lockScroll:v,unlockScroll:j}=(0,x.Z)(),N=(0,i.useRef)(null),y=(0,i.useRef)(null),k=(0,i.useRef)(null),C=(0,i.useRef)(null),[_,S]=(0,i.useState)(),[U,z]=(0,i.useState)(!1),[P,L]=(0,i.useState)(0),[Z,B]=(0,i.useState)(0),[J,M]=(0,i.useState)(0);(0,i.useEffect)(()=>{setTimeout(()=>z(!0),0)},[]);let[R,Y]=(0,i.useState)({toggler:!1,slide:1});function E(e,l,t){B(l),M(t),Y({toggler:!R.toggler,slide:e})}let[I,q]=(0,i.useState)({toggler:!1,link:"",label:"",bgColor:"white",imageUrl:""});function A(){q({toggler:!1,link:"",label:"",bgColor:"white",imageUrl:""}),j()}return(0,s.jsxs)("section",{className:"carousel ".concat(p," ").concat((0,g.jo)(w.bgColor)," py-10 sm:py-16 md:py-24 "),children:[(0,s.jsxs)("div",{className:"block",children:[(0,s.jsxs)("div",{className:"pb-container ".concat(w.imageUrl?"mb-14":""," flex flex-col ").concat((0,g.Y7)(w.bgColor)),children:[w.subheading&&(0,s.jsx)("p",{className:"!text-center uppercase text-base font-light mb-7 tracking-widest",children:(0,a.z)(w.subheading)||""}),w.heading&&(0,s.jsx)("h2",{className:"text-center uppercase text-2xl md:text-4xl xl:text-5xl w-full mb-7 overflow-ellipsis max-w-[740px] mx-auto font-extralight",children:(0,a.z)(w.heading)}),w.description&&"Privacy Policy"!==w.heading&&(0,s.jsx)("p",{className:"text-center text-sm md:text-base max-w-[900px] mx-auto font-light whitespace-break-spaces [&_span]:block ".concat(w.subheading?"":"mt-7"),children:(0,a.z)(w.description)}),w.description&&"Privacy Policy"===w.heading&&(0,s.jsx)("div",{className:"privacy-policy text-left text-sm md:text-base max-w-[900px] mx-auto font-light whitespace-break-spaces [&_span]:block ".concat(w.subheading?"":"mt-7"," ").concat(formatting),children:(0,a.z)(w.description)})]}),(null==u?void 0:u.length)>0&&(0,s.jsx)("div",{className:"pb-container mt-14 flex flex-col ".concat((0,g.Y7)(w.bgColor)),children:(0,s.jsx)("div",{className:"buttons flex justify-center w-62 flex-wrap md:no-wrap",children:u.map((e,l)=>(0,s.jsx)(r.Z,{as:e.isButton?"button":"link",path:e.href,label:e.label,target:e.target,parent:w.bgColor,simpleLinkStyle:e.simpleLinkStyle,action:e.action,formBgColor:e.bgColor,formImageUrl:e.imageUrl},"section-carousel-alt-button-".concat(l)))})})]}),(0,s.jsx)("div",{className:"pb-container flex flex-col justify-center items-center mt-10",children:(0,s.jsx)("div",{className:"flex justify-center w-full flex-wrap lg:flex-nowrap",children:!!(null===(l=w.items)||void 0===l?void 0:l.length)&&w.items.length>0&&w.items.map((e,l)=>(0,s.jsxs)("div",{className:"w-1/2 md:w-1/3 lg:1/4 relative ".concat((0,g.Y7)(w.bgColor)),children:[(0,s.jsx)("div",{className:"py-5 lg:py-7 px-4 text-left lg:text-center",children:(0,s.jsx)("div",{className:"flex flex-row lg:flex-col",children:(0,s.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,s.jsx)("p",{className:"text-sm uppercase font-bold",children:e.heading}),(0,s.jsx)("p",{className:"pt-1 font-light text-xs uppercase [&_span]:block h-14 opacity-70 ",children:e.subheading}),(0,s.jsx)("button",{className:"text-xs text-left lg:text-center ".concat(l===P?"font-bold":"underline"),onClick:()=>{_&&(null==_||_.slideTo(l)),C.current.scrollIntoView({behavior:"smooth"})},children:l===P?"Layout Selected":"View Layout"})]})})}),(0,s.jsx)("div",{"data-items":"".concat(w.items.length),className:"w-[90%] lg:w-0 border-b border-pb-grey-light mx-auto ".concat(3===l?"md:border-transparent":""," ").concat(4===l?"border-transparent":""," ").concat(l===w.items.length-1?"border-transparent":"")}),(0,s.jsx)("div",{className:"absolute right-0 top-0 h-full lg:border-r border-pb-grey-light ".concat(l===w.items.length-1?"border-transparent":"")})]},"key-".concat(l)))})}),!!(null===(t=w.items)||void 0===t?void 0:t.length)&&w.items.length>0&&(0,s.jsxs)("div",{ref:N,className:"mt-20 md:pb-container flex flex-col ".concat((0,g.Y7)(w.bgColor)," relative"),children:[(0,s.jsx)("div",{ref:C,className:"translate-y-[-100px]"}),(0,s.jsx)("div",{className:"w-full h-full flex justify-center items-center mb-10",children:U&&(0,s.jsx)(o.tq,{ref:k,onSwiper:e=>S(e),onSlideChange:e=>L(e.activeIndex),className:"auto-swiper h-auto pb-container-sm w-full",modules:[n.tl,n.s5,n.Gk,n.gI,n.xW,n.pt],effect:"fade",fadeEffect:{crossFade:!0},grabCursor:!0,allowTouchMove:!0,speed:1e3,loop:!0,noSwiping:!0,noSwipingClass:"swiper-slide",children:w.items.map((e,l)=>(0,s.jsxs)(o.o5,{className:"text-center relative",children:[(0,s.jsx)("h2",{className:"text-center uppercase text-2xl md:text-4xl w-full overflow-ellipsis max-w-[740px] mx-auto font-extralight",children:(0,a.z)(e.heading)}),(0,s.jsx)("p",{className:"text-base opacity-70 mb-4",children:e.subheading}),e.url&&(0,s.jsx)("p",{className:"text-base opacity-70 mb-4",children:(0,s.jsx)("button",{className:"underline",onClick:()=>{q({toggler:!0,link:e.url,label:"".concat(e.heading," - ").concat(e.subheading),bgColor:w.bgColor||"white",imageUrl:e.imageUrl||""}),v()},children:"Download layout PDF"})}),(0,s.jsxs)("p",{className:"text-base opacity-70 mb-4",children:[(0,s.jsx)("svg",{className:"".concat((0,g.AJ)(w.bgColor)," inline-block w-4 mr-2"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,s.jsx)("path",{d:"M384 208A176 176 0 1 0 32 208a176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"})}),(0,s.jsx)("span",{children:"Select a layout to view in detail"})]}),(0,s.jsx)("div",{className:"relative mx-auto w-[min(100%,92vw)] max-w-[1437px] aspect-square md:aspect-[2000/1800]",children:(0,s.jsxs)("div",{className:"absolute left-1/2 top-1/2 w-[90%] h-full md:h-[111.111%] -translate-x-1/2 -translate-y-1/2 rotate-90",children:[(0,s.jsx)(c.default,{quality:100,src:(0,f.J)(e.imageUrl),alt:d,width:1800,height:2e3,sizes:"(max-width: 1437px) 92vw, 1437px",className:"h-full w-full object-contain object-center pointer-events-none"}),(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsxs)("div",{className:"hotspot absolute inset-0 flex",children:[(0,s.jsx)("div",{className:"w-1/3 h-full",onClick:()=>E(1,0,(0,f.J)(e.imageUrl))}),(0,s.jsx)("div",{className:"w-1/3 h-full",onClick:()=>E(1,600,(0,f.J)(e.imageUrl))}),(0,s.jsx)("div",{className:"w-1/3 h-full",onClick:()=>E(1,1200,(0,f.J)(e.imageUrl))})]}),(0,s.jsxs)("svg",{className:"hotspot w-full h-full pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 2000",preserveAspectRatio:"xMidYMid meet",children:[(0,s.jsx)("rect",{width:"600",height:"2000",x:"0",y:"0",fill:"none",stroke:"none"}),(0,s.jsx)("rect",{width:"600",height:"2000",x:"600",y:"0",fill:"none",stroke:"none"}),(0,s.jsx)("rect",{width:"600",height:"2000",x:"1200",y:"0",fill:"none",stroke:"none"})]})]})]})})]},"section-carousel-swiper-slide-".concat(l)))})}),(0,s.jsx)("div",{ref:y,className:"outslide-bullets"})]}),(0,s.jsx)(h.Z,{show:!0,selector:"body",children:(0,s.jsx)(m(),{toggler:R.toggler,sources:[(0,s.jsx)("div",{className:"!h-[100vh] !w-[100vw] overflow-y-scroll overflow-x-hidden",onClick:()=>Y({toggler:!1}),children:(0,s.jsx)("svg",{className:"w-full max-w-[600px] h-auto mx-auto",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 600 2000",children:(0,s.jsx)("image",{x:"-".concat(Z),height:"2000",xlinkHref:J})})},"item-1")],type:"image",slide:R.slide},R.key)}),(0,s.jsx)(h.Z,{show:I.toggler,selector:"body",children:(0,s.jsxs)("div",{className:"modal fixed top-0 left-0 h-full w-full z-50 flex justify-center items-center",children:[(0,s.jsx)("div",{className:"bg absolute top-0 left-0 bg-black/30 h-full w-full z-0",onClick:()=>A()}),(0,s.jsxs)("div",{className:"card relative h-auto max-h-[90vh] overflow-hidden z-[1] ".concat(I.imageUrl?"w-[min(920px,calc(100%_-_20px))] p-0":"w-[500px] max-w-[calc(100%_-_20px)] p-10 overflow-y-auto"," ").concat((0,g.jo)(I.bgColor)||"bg-white"),children:[(0,s.jsx)("div",{className:"close absolute top-5 right-5 z-10",children:(0,s.jsxs)("button",{className:"\n inline-flex justify-center items-center flex-col\n h-[15px] w-[15px] ml-2 relative\n ".concat("slate"===I.bgColor||"black"===I.bgColor||"blank"===I.bgColor?"[&_span]:bg-white":"[&_span]:bg-gb-slate","\n [&_span]:absolute [&_span]:w-full [&_span]:h-px [&_span]:transition-all [&_span]:duration-400\n rotate-45 origin-[50%_50%] transition duration-300"),onClick:()=>A(),children:[(0,s.jsx)("span",{className:"w-full origin-[50%_50%] rotate-90"}),(0,s.jsx)("span",{className:"w-full origin-[50%_50%]"})]})}),(0,s.jsx)("div",{className:I.imageUrl?"overflow-y-auto max-h-[90vh]":"",children:(0,s.jsx)(b.Z,{link:I.link,label:I.label,bg:I.bgColor||"white",imageUrl:I.imageUrl||""})})]})]})})]})}u.ZP.registerPlugin(p.i)},43863:function(){}}]);
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.