1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,229265,e=>{"use strict";var t=e.i(651682),a=e.i(843476),n=e.i(271645),s=e.i(657688),i=e.i(522016),r=e.i(209690),l=["the family, reunited","the wedding day","the celebration","the quiet escape","a story for life"];function o(){var e=(0,t._)((0,n.useState)(!1),2),s=e[0],i=e[1],r=(0,t._)((0,n.useState)(!1),2),l=r[0],o=r[1];return((0,n.useEffect)(function(){if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!(window.innerWidth<768)){var e=!1,t=function(){e||i(!0)},a=window,n=null,s=null;return"function"==typeof a.requestIdleCallback?n=a.requestIdleCallback(t,{timeout:2500}):s=setTimeout(t,1500),function(){e=!0,null!==n&&"function"==typeof a.cancelIdleCallback&&a.cancelIdleCallback(n),null!==s&&clearTimeout(s)}}},[]),s)?(0,a.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:(0,a.jsx)("video",{src:"/video/temple-house-hero.mp4",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",poster:"/video/temple-house-hero-poster.jpg",disablePictureInPicture:!0,disableRemotePlayback:!0,tabIndex:-1,onLoadedData:function(){return o(!0)},onPlaying:function(){return o(!0)},className:"absolute inset-0 h-full w-full object-cover transition-opacity duration-[1800ms] ease-out ".concat(l?"opacity-100":"opacity-0")})}):null}function c(){var e=(0,t._)((0,n.useState)(0),2),c=e[0],u=e[1],d=(0,t._)((0,n.useState)(!1),2),m=d[0],p=d[1];return(0,n.useEffect)(function(){var e=requestAnimationFrame(function(){return p(!0)}),t=setInterval(function(){return u(function(e){return(e+1)%l.length})},3500);return function(){cancelAnimationFrame(e),clearInterval(t)}},[]),(0,a.jsxs)("section",{id:"hero",className:"relative min-h-screen bg-green-deep overflow-hidden",children:[(0,a.jsx)("style",{children:"\n @keyframes th-kenburns {\n 0% { transform: scale(1); }\n 100% { transform: scale(1.08); }\n }\n .th-kenburns { animation: th-kenburns 24s ease-out forwards; }\n "}),(0,a.jsxs)("div",{className:"absolute inset-0 transition-all duration-[2200ms] ease-out ".concat(m?"scale-100 opacity-100":"scale-105 opacity-0"),children:[(0,a.jsx)(s.default,{src:"/images/temple-house-estate-aerial.jpg",alt:"Aerial view of the Temple House estate and lake in County Sligo",fill:!0,priority:!0,sizes:"100vw",className:"object-cover th-kenburns"}),(0,a.jsx)(o,{}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-green-deep/45 via-green-deep/40 to-green-deep/80"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_35%,rgba(26,34,29,0.35)_100%)]"})]}),(0,a.jsxs)("div",{className:"relative z-10 min-h-screen flex flex-col justify-center items-center text-center px-5",children:[(0,a.jsxs)("div",{className:"transition-all duration-1000 delay-200 ".concat(m?"opacity-100 translate-y-0":"opacity-0 translate-y-6"),children:[(0,a.jsx)("p",{className:"text-brass-light text-[0.65rem] tracking-[0.4em] uppercase",children:"A Private Estate · County Sligo"}),(0,a.jsx)("div",{className:"h-px w-16 bg-brass/60 mx-auto mt-6"})]}),(0,a.jsxs)("h1",{className:"font-display font-light leading-[1.02] mt-8 transition-all duration-1000 delay-300 ".concat(m?"opacity-100 translate-y-0":"opacity-0 translate-y-8"),style:{fontSize:"clamp(2.25rem, 6.5vw, 5.5rem)"},children:[(0,a.jsx)("span",{className:"block text-white",children:"Kept for"}),(0,a.jsx)("span",{className:"block mt-1",children:(0,a.jsxs)("span",{className:"relative inline-block whitespace-nowrap","aria-live":"polite",children:[(0,a.jsx)("span",{className:"invisible","aria-hidden":"true",children:l[0]}),l.map(function(e,t){return(0,a.jsx)("span",{"aria-hidden":t!==c,className:"absolute inset-0 flex items-center justify-center italic text-eau-light transition-all ease-out ".concat(t===c?"opacity-100 translate-y-0 duration-[1100ms]":"opacity-0 translate-y-3 duration-700"),children:e},e)})]})})]}),(0,a.jsxs)("div",{className:"mt-14 flex flex-col items-center gap-6 transition-all duration-1000 delay-700 ".concat(m?"opacity-100 translate-y-0":"opacity-0 translate-y-6"),
1children:[(0,a.jsx)(i.default,{href:"/make-a-plan",className:"px-10 py-4 bg-brass text-white tracking-wide hover:bg-brass-light transition-colors",onClick:function(){return(0,r.track)(r.EVENTS.CTA_CLICKED,{location:"hero",page:"/"})},children:"Make a Plan"}),(0,a.jsx)("a",{href:"#estate",className:"text-white/70 text-sm tracking-wide border-b border-white/30 pb-1 hover:text-white hover:border-white transition-colors",onClick:function(){return(0,r.track)(r.EVENTS.CTA_CLICKED,{location:"hero-secondary",page:"/"})},children:"Discover the estate"})]})]}),(0,a.jsx)("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-10 text-white/50 text-xs tracking-[0.3em] uppercase",children:"Scroll"})]})}var u=[{src:"/images/temple-house-facade.jpg",alt:"The facade of Temple House"},{src:"/images/temple-house-staircase-hall.webp",alt:"The staircase hall at Temple House"},{src:"/images/temple-house-manor-parkland.webp",alt:"Temple House across the parkland"},{src:"/images/temple-house-estate-aerial.jpg",alt:"Aerial view of the Temple House estate"}];function d(){var e=(0,t._)((0,n.useState)(0),2),i=e[0],r=e[1];return(0,n.useEffect)(function(){var e=setInterval(function(){return r(function(e){return(e+1)%u.length})},5e3);return function(){return clearInterval(e)}},[]),(0,a.jsxs)("div",{className:"relative aspect-[4/5] overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0 bg-green-deep",children:[u.map(function(e,t){return(0,a.jsx)(s.default,{src:e.src,alt:e.alt,fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"object-cover transition-opacity duration-[1600ms] ease-in-out ".concat(t===i?"opacity-100 z-20":"opacity-0 z-0")},e.src)}),(0,a.jsx)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-30 flex items-center gap-2",children:u.map(function(e,t){return(0,a.jsx)("button",{type:"button","aria-label":"Show image ".concat(t+1),"aria-current":t===i,onClick:function(){return r(t)},className:"h-1.5 rounded-full transition-all duration-500 ".concat(t===i?"w-7 bg-white":"w-1.5 bg-white/50 hover:bg-white/80")},e.src)})})]}),(0,a.jsx)("div",{className:"absolute inset-0 ring-1 ring-inset ring-ink/10 pointer-events-none"})]})}function m(e){var s=e.children,i=e.delay,r=e.className,l=(0,n.useRef)(null),o=(0,t._)((0,n.useState)(!1),2),c=o[0],u=o[1];return(0,n.useEffect)(function(){var e=l.current;if(e){if("u"<typeof IntersectionObserver)return void u(!0);var a=new IntersectionObserver(function(e){(0,t._)(e,1)[0].isIntersecting&&(u(!0),a.disconnect())},{rootMargin:"0px 0px -80px 0px"});return a.observe(e),function(){return a.disconnect()}}},[]),(0,a.jsx)("div",{ref:l,style:{transitionDelay:"".concat(void 0===i?0:i,"ms")},className:"transition-all duration-1000 ease-out ".concat(c?"opacity-100 translate-y-0":"opacity-0 translate-y-6"," ").concat(void 0===r?"":r),children:s})}e.s(["EstateImageRotator",()=>d,"HomeHero",()=>c,"Reveal",()=>m])}]);
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.