PageSourceSearch

https://treedwellers.co.uk/_next/static/chunks/3555ba4ttvz-z.js

js treedwellers.co.uk collected 2026-10-05 18:07:27 UTC 61,723 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91764,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(18566),l=e.i(70703),r=e.i(95187);let i=(0,r.createServerReference)("40f9cd073e52fdc2671a28ab77030a73fba372a349",r.callServer,void 0,r.findSourceMapURL,"storeSearchResults"),s=(0,l.default)(()=>e.A(29291),{loadableGenerated:{modules:[14833]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"h-10 w-full bg-gray-100 animate-pulse rounded"})});e.s(["default",0,({initialFromDate:e,initialToDate:l,initialGuests:r})=>{let o=(0,n.useRouter)(),[d,c]=(0,a.useState)(!1),[u,p]=(0,a.useState)(void 0),[m,h]=(0,a.useState)(void 0),[f,g]=(0,a.useState)(r?Number(r):2);(0,a.useEffect)(()=>{e&&p(new Date(e)),l&&h(new Date(l))},[e,l]);let b=e=>{let t=new Date(e);return t.setDate(t.getDate()+2),t},x=async e=>{if(e.preventDefault(),!u||!m)return void alert("Please select both check-in and check-out dates");let t=new Date;if(t.setHours(0,0,0,0),u<t)return void alert("Check-in date cannot be in the past");if(m<b(u))return void alert("Minimum stay is 2 nights");c(!0);let a=u.toISOString().split("T")[0],n=m.toISOString().split("T")[0];try{let e=await fetch("/api/availability",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({from_date:a,to_date:n})});if(!e.ok)throw Error(`API responded with status: ${e.status}`);let t=await e.json();(await i(t)).success&&sessionStorage.setItem("availabilityData",JSON.stringify(t));let l=Math.round((m-u)/864e5);localStorage.setItem("atbSearchData",JSON.stringify({from_date:a,days:l}));let r=new URLSearchParams({fromDate:a,toDate:n,guests:f.toString()});o.push(`/search?${r.toString()}`)}catch(e){console.error("Error fetching availability:",e),alert("Sorry, there was an error processing your search. Please try again.")}finally{c(!1)}},E=a.default.forwardRef(({value:e,onClick:a,id:n},l)=>(0,t.jsx)("input",{className:"w-full border-none text-base p-0 outline-none bg-transparent cursor-pointer text-black",value:e,onClick:a,ref:l,placeholder:"Select Date",readOnly:!0,id:n,name:n}));return E.displayName="CustomInput",(0,t.jsxs)("div",{className:"max-w-4xl mx-auto my-12 md:my-4 p-6 md:p-12 ",children:[(0,t.jsx)("h3",{className:"p-2.5 text-center text-2xl md:text-4xl font-semibold mb-4 text-black",children:"Find your Perfect Stay"}),(0,t.jsxs)("form",{onSubmit:x,className:"flex flex-col items-center bg-white border border-gray-200 rounded-2xl p-4 shadow-md md:flex-row md:rounded-[40px] md:p-2",children:[(0,t.jsxs)("div",{className:"w-full mb-3 md:flex-1 md:px-6 md:py-2 md:mb-0 md:border-r md:border-gray-200",children:[(0,t.jsx)("div",{className:"text-lg font-semibold mb-1 text-black",children:"Check in"}),(0,t.jsx)(s,{selected:u,onChange:e=>{if(p(e),e&&m){let t=b(e);m<t&&h(t)}},selectsStart:!0,startDate:u,endDate:m,minDate:new Date,dateFormat:"dd-MM-yyyy",placeholderText:"Select check-in date",required:!0,customInput:(0,t.jsx)(E,{id:"check-in-date"}),wrapperClassName:"w-full",calendarClassName:"text-base p-4 border border-gray-200 rounded-lg shadow-lg","aria-labelledby":"check-in-label"})]}),(0,t.jsxs)("div",{className:"w-full mb-3 md:flex-1 md:px-6 md:py-2 md:mb-0 md:border-r md:border-gray-200",children:[(0,t.jsx)("div",{className:"text-lg font-semibold mb-1 text-black",children:"Check out"}),(0,t.jsx)(s,{selected:m,onChange:e=>h(e),selectsEnd:!0,startDate:u,endDate:m,minDate:u?b(u):new Date,dateFormat:"dd-MM-yyyy",placeholderText:"Select check-out date",required:!0,disabled:!u,customInput:(0,t.jsx)(E,{id:"check-out-date"}),wrapperClassName:"w-full",calendarClassName:"text-base p-4 border border-gray-200 rounded-lg shadow-lg","aria-labelledby":"check-out-label"})]}),(0,t.jsxs)("div",{className:"w-full mb-3 md:flex-1 md:px-6 md:py-2 md:mb-0",children:[(0,t.jsx)("div",{className:"text-lg font-semibold mb-1 text-black",children:"Who"}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#717171",strokeWidth:"2",children:[(0,t.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"12",cy:"7",r:"4"})]}),(0,t.jsx)("select",{className:"w-full border-none text-lg p-0 ml-2 outline-none bg-transparent text-black",value:f,onChange:e=>g(Number(e.target.value)),id:"guest-count","aria-label":"guest count",children:[1,2,3,4,5].map(e=>(0,t.jsxs)("option",{value:e,children:[e," guest",1!==e?"s":""]},e))})]})]}),(0,t.jsx)("button",{type:"submit",className:"w-full py-3 px-6 bg-rose-500 text-white border-none rounded-3xl cursor-pointer flex items-center justify-center transition duration-200 ease-in-out hover:bg-rose-600 disabled:opacity-70 disabled:cursor-not-allowed md:w-auto md:ml-4",disabled:d,id:"search","aria-label":"search",children:d?(0,t.jsx)("div",{className:"h-4 w-4 border-2 border-white border-t-transparent roun
1ded-full animate-spin"}):(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,t.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})})]})]})}],91764)},95721,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(22368),l=e.i(22016),r=e.i(57688),i=e.i(98038);e.i(89472);var s=e.i(65218),o=e.i(52888),d=e.i(97601),c=e.i(96e3);e.s(["default",0,function({imageUrl:e,title:u,content:p,buttonText:m,buttonLink:h,buttonClassName:f}){let[g,b]=(0,a.useState)(0),x=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=null,t=()=>{if(e=null,!x.current)return;let t=x.current.getBoundingClientRect();t.bottom<=0||t.top>=window.innerHeight||b((0,d.parallaxOffset)(t.top,t.height,window.innerHeight))},a=()=>{null===e&&(e=window.requestAnimationFrame(t))};return window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),t(),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),null!==e&&window.cancelAnimationFrame(e)}},[]);let E=e=>{if(!e)return null;if("string"==typeof e)return e;if(e.json&&"object"==typeof e.json){let a={renderNode:{[s.BLOCKS.PARAGRAPH]:(e,a)=>(0,t.jsx)("p",{className:"m-0",children:a}),[s.BLOCKS.HEADING_3]:(e,a)=>(0,t.jsx)("span",{children:a})},renderMark:{[o.MARKS.BOLD]:e=>(0,t.jsx)("strong",{children:e})}};return(0,i.documentToReactComponents)(e.json,a)}return console.warn("Invalid rich text content structure",e),null};return e?(0,t.jsxs)("div",{ref:x,className:"relative min-h-[85vh] w-full bg-ash overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 w-full h-[120%] -top-[10%]",style:{transform:`translateY(${g}px)`,willChange:"transform"},children:(0,t.jsx)(r.default,{src:e,alt:"",fill:!0,loading:"lazy",quality:75,sizes:"100vw",placeholder:"blur",blurDataURL:c.BLUR_DATA_URL,className:"object-cover object-center","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"relative z-10 flex items-center justify-center h-screen max-h-[85vh] w-full text-white",children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)("div",{className:"w-full md:w-2/3 text-center",children:[(0,t.jsx)(n.Fade,{direction:"left",triggerOnce:!0,children:(0,t.jsx)("h5",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4 font-display",children:E(u)})}),p&&(0,t.jsx)(n.Fade,{direction:"left",triggerOnce:!0,delay:100,children:(0,t.jsx)("div",{className:"text-xl md:text-2xl",children:E(p)})}),(0,t.jsxs)(n.Fade,{direction:"left",triggerOnce:!0,delay:200,children:[(0,t.jsx)("p",{className:"signature",children:(0,t.jsx)(l.default,{href:"about",className:"no-underline font-babylonica",children:"Tim Rees"})}),(0,t.jsx)("p",{children:"Founder & CEO"})]})]})})})})]}):null}])},29620,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(57688),l=e.i(81231);e.s(["default",0,function(){let[e,r]=(0,a.useState)(!1);return(0,t.jsxs)("section",{className:"relative h-screen w-full overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(n.default,{src:l.default,alt:"Treehouse in forest",fill:!0,priority:!0,sizes:"100vw",quality:75,className:`object-cover ${e?"opacity-100":"opacity-0"} transition-opacity duration-500`,onLoad:()=>r(!0),fetchPriority:"high"})}),(0,t.jsx)("div",{className:"relative z-10 h-full w-full flex flex-col items-center justify-center",children:(0,t.jsx)("div",{className:"text-center max-w-4xl mx-auto px-4",children:(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsxs)("h1",{className:"text-5xl md:text-7xl font-bold font-display text-white mb-4",children:[(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom duration-700 delay-150",children:"Utterly Wild"}),(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom duration-700 delay-300",children:"Treehouses"})]}),(0,t.jsx)("p",{className:"text-2xl md:text-3xl text-white font-light animate-in fade-in slide-in-from-bottom duration-700 delay-500",children:"For those who love the highlife"})]})})})]})}])},46886,e=>{"use strict";var t=e.i(18050),a=e.i(22016),n=e.i(98038);e.i(89472);var l=e.i(65218),r=e.i(52888);l.BLOCKS.PARAGRAPH,r.MARKS.BOLD;let i=e=>{if(!e)return null;if("string"==typeof e)return e;if(e.json&&"object"==typeof e.json){let a={renderNode:{[l.BLOCKS.PARAGRAPH]:(e,a)=>(0,t.jsx)("p",{className:"m-0",children:a}),[l.BLOCKS.HEADING_3]:(e,a)=>(0,t.jsx)("span",{children:a})},renderMark:{[r.MARKS.BOLD]:e=>(0,t.jsx)("strong",{children:e})}};return(0,n.documentToReactComponents)(e.json,a)}return console.warn("Invalid rich text content structure",e),null};e.s(["default",0,function({title:e,paragraph:n,button:l,image:r}){return(0,t.jsx)("section",{className:"relative z-10 overflow-hidden bg-[#D7CBB0] section-sand after:content-[''] after:block after:absolute after:inset-0 after:opacity-50 after:-z-10 after:bg-[url('../assets/TreeDwellers_Silhouettes-treetrunks.webp'),url('../assets/TreeDwellers_Silhouettes-treetrunks.webp')] after:bg-no-repeat after:bg-contain after:bg-fixed after:bg-[position:bottom*left*-200%,bottom*right*-190%]",children:(0,t.jsx)("div",{className:"container mx-auto text-center px-0 md:px-4 py-8",children:(0,t.jsx)("div",{className:"w-full overflow-hidden bg-cover bg-center py-28 shadow-[0_14px_28px_rgba(0,0,0,0.25),_0_10px_10px_rgba(0,0,0,0.22)] hover:shadow-[0_24px_28px_rgba(0,0,0,0.25),_0_20px_20px_rgba(0,0,0,0.22)] transition-all duration-200 ease-[
1cubic-bezier(.25,.8,.25,1)]",style:{backgroundImage:`url(${r})`},children:(0,t.jsx)("div",{className:"flex justify-center items-center h-full",children:(0,t.jsxs)("div",{className:"md:w-2/3 text-white bg-black/50 p-8 md:p-16 ",children:[(0,t.jsx)("div",{className:"mt-5 mb-5",children:i(e)}),(0,t.jsx)("div",{className:"text-sm md:text-md",children:i(n)}),(0,t.jsx)(a.default,{href:"/weddings",children:(0,t.jsx)("button",{className:"btn outline-white outline-1 mt-5 btn-sm md:btn-lg",children:l})})]})})})})})}])},35494,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(57688),l=e.i(80401),r=e.i(72225),i=e.i(86301);e.s(["default",0,function({logos:e=[]}){let[s,o]=(0,a.useState)(!0);return((0,a.useEffect)(()=>{o(!1)},[e]),s)?(0,t.jsx)("div",{className:"text-center py-8 text-neutral-600",children:"Loading press logos..."}):(0,t.jsx)("div",{className:"w-full max-w-screen-xl mx-auto my-3 px-0 md:px-0",children:(0,t.jsx)(l.Swiper,{slidesPerView:3,spaceBetween:30,pagination:{clickable:!0},autoplay:{delay:3500,disableOnInteraction:!1},modules:[i.Pagination,r.Autoplay],className:"w-full pb-10",breakpoints:{320:{slidesPerView:1,spaceBetween:20},768:{slidesPerView:2,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:30}},children:e.length>0?e.map((e,a)=>(0,t.jsx)(l.SwiperSlide,{className:"flex items-center justify-center h-auto",children:(0,t.jsx)("div",{className:"w-full relative bg-neutral-100 rounded-lg overflow-hidden shadow-sm transition-transform duration-300 hover:-translate-y-1 pb-[60%]",children:(0,t.jsx)("a",{href:"https://treedwellers.co.uk/blog/connection-and-growth",className:"no-underline",children:(0,t.jsx)(n.default,{src:e.url,alt:e.description||`Press Logo ${a+1}`,title:e.title||void 0,width:400,height:240,className:"object-contain p-4 absolute top-0 left-0 w-full h-full",priority:a<3})})})},a)):(0,t.jsx)(l.SwiperSlide,{children:(0,t.jsx)("div",{className:"text-center py-8 text-neutral-600",children:"No press logos found"})})})})}])},56999,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(57688),l=e.i(22016),r=e.i(18566),i=e.i(97058),s=e.i(73665),o=e.i(69620),d=e.i(79444),c=e.i(70703),u=e.i(80401),p=e.i(79053),m=e.i(96e3);let h=(0,c.default)(()=>e.A(25638).then(e=>e.Swiper),{loadableGenerated:{modules:[75866]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"h-80 w-full bg-neutral-200 animate-pulse rounded"})}),f=(0,a.memo)(function({treehouse:e,layout:a="grid",propKey:c,searchDates:f}){let g=(0,r.useRouter)(),b=(()=>{let t=`/treehouses/${e.slug}`;if(!f?.fromDate||!f?.toDate)return t;let a=new URLSearchParams({fromDate:f.fromDate,toDate:f.toDate,guests:f.guests});return`${t}?${a}`})();return(0,t.jsxs)("article",{className:`group relative overflow-hidden rounded-lg shadow-md hover:shadow-xl transition-all duration-300 ${"list"===a?"flex flex-col md:flex-row":"flex flex-col"} w-full`,"data-testid":"TreeHouseCard",children:[(0,t.jsx)("div",{className:`${"list"===a?"w-full md:w-1/2":"w-full"}`,children:"grid"===a?(0,t.jsx)("div",{className:"relative h-64 w-full overflow-hidden",children:(0,t.jsx)(l.default,{href:b,className:"block h-full w-full relative",children:(0,t.jsx)(n.default,{src:e.image.url,alt:e.image.description||`${e.name} treehouse`,title:e.image.title||void 0,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy",quality:75,placeholder:"blur",blurDataURL:m.BLUR_DATA_URL})})}):(0,t.jsx)("div",{className:"relative h-80 w-full",children:(0,t.jsx)(l.default,{href:b,className:"block h-full w-full relative",children:(0,t.jsx)(h,{slidesPerView:1,navigation:!1,grabCursor:!1,modules:[p.Navigation],loop:!0,className:"h-full w-full treehouseSRPSwiper",children:e.imagesCollection?.items.map((a,l)=>(0,t.jsx)(u.SwiperSlide,{children:(0,t.jsx)("div",{className:"relative h-full w-full",children:(0,t.jsx)(n.default,{src:a.url,alt:a.description||`${e.name} view ${l+1}`,title:a.title||void 0,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1400px) 80vw, 33vw",className:"h-full w-full object-cover",quality:75,loading:"lazy",placeholder:"blur",blurDataURL:m.BLUR_DATA_URL})})},l))})})})}),(0,t.jsxs)("div",{className:`flex flex-col p-4 bg-green ${"list"===a?"w-full md:w-1/2":"w-full"}`,onClick:e=>
1{"A"!==e.target.tagName&&"BUTTON"!==e.target.tagName&&g.push(b)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),g.push(b))},role:"button",tabIndex:"0","aria-label":`View details for ${e.name}`,children:[(0,t.jsx)("h3",{className:"font-display text-xl font-bold mb-3",children:(0,t.jsx)(l.default,{href:b,className:"no-underline hover:text-green-lighter transition-colors",children:e.name})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-4 mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(i.TbUsers,{size:"1.5rem",className:"mr-1"}),(0,t.jsxs)("span",{children:[e.guests," ",(0,d.inflect)("guest",e.guests)]})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(s.MdBed,{size:"1.75rem",className:"mr-2"}),(0,t.jsxs)("span",{children:[e.beds," ",(0,d.inflect)("bed",e.beds)]})]}),"list"===a&&(0,t.jsxs)("div",{className:"hidden lg:flex items-center",children:[(0,t.jsx)(i.TbBath,{size:"1.5rem",className:"mr-1"}),(0,t.jsx)("span",{children:"1 Bath"})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(o.IoWifiOutline,{size:"1.75rem",className:"mr-1"}),(0,t.jsx)("span",{children:"Wifi"})]})]}),"list"===a&&e.usp&&(0,t.jsx)("div",{className:"hidden lg:block text-lg mb-4",children:e.usp}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"hidden sm:block text-xl font-bold",children:["From £",e.fromPrice]}),(0,t.jsx)(l.default,{href:b,className:"btn bg-white text-ash py-2 px-4 rounded-full text-center font-bold transition-all",children:"Book Now"})]})]})]},c)});e.s(["default",0,f])},2144,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(22016),l=e.i(70703),r=e.i(80401),i=e.i(79053),s=e.i(56999);let o=(0,l.default)(()=>e.A(25638).then(e=>e.Swiper),{loadableGenerated:{modules:[75866]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"w-full min-h-[400px] bg-ash/50 animate-pulse rounded-md mt-8"})});e.s(["default",0,function({initialStructures:e=[]}){let[l]=(0,a.useState)(e);return(0,t.jsxs)("section",{className:"relative mt-32 py-12 bg-ash text-white",children:[(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)("div",{className:"flex flex-wrap",children:(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom duration-700",children:(0,t.jsxs)("p",{className:"font-display text-3xl md:text-4xl font-bold mb-4",children:["Remarkable ",(0,t.jsx)(n.default,{href:"/treehouses",className:"underline transition hover:opacity-80 hover:text-[var(--winter)]",children:"Treehouses"})," in The Cotswolds"]})}),(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom duration-700 delay-100",children:(0,t.jsx)("p",{className:"font-sans text-xl md:text-2xl",children:"Ecocentric, high spec & positively enchanting"})}),(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom duration-700 delay-200",children:(0,t.jsxs)("p",{className:"font-sans text-xl md:text-2xl mt-4",children:["Which one will ",(0,t.jsx)("strong",{className:"italic",children:"you"})," choose?"]})})]})})})}),(0,t.jsx)("div",{className:"TreeHouseGallerySwiper mx-auto animate-in fade-in slide-in-from-right duration-700 delay-300",children:(0,t.jsx)(o,{modules:[i.Navigation],slidesPerView:1,className:"mt-8",loop:!0,navigation:!0,breakpoints:{375:{slidesPerView:1.2,spaceBetween:20,centeredSlides:!0,loop:!0},768:{slidesPerView:2.5,spaceBetween:20,centeredSlides:!1},1024:{slidesPerView:3.5,spaceBetween:20,centeredSlides:!1},1280:{slidesPerView:3.5,spaceBetween:15,centeredSlides:!1},1600:{slidesPerView:4.5,spaceBetween:20,centeredSlides:!1}},children:l.map((e,a)=>(0,t.jsx)(r.SwiperSlide,{className:"h-full Slide",children:(0,t.jsx)(s.default,{treehouse:e,layout:"grid",propKey:a})},a))})})]})}])},15943,e=>{"use strict";var t=e.i(18050),a=e.i(80401),n=e.i(72225),l=e.i(86301),r=e.i(22016),i=e.i(22368),s=e.i(98038);e.i(89472);var o=e.i(65218),d=e.i(52888);o.BLOCKS.PARAGRAPH,d.MARKS.BOLD;let c=e=>{if(!e)return null;if("string"==typeof e)return e;if(e.json&&"object"==typeof e.json){let a={renderNode:{[o.BLOCKS.PARAGRAPH]:(e,a)=>(0,t.jsx)("p",{className:"m-0",children:a}),[o.BLOCKS.HEADING_3]:(e,a)=>(0,t.jsx)("span",{children:a})},renderMark:{[d.MARKS.BOLD]:e=>(0,t.jsx)("strong",{children:e})}};return(0,s.documentToReactComponents)(e.json,a)}return console.warn("Invalid rich text content structure",e),null};e.s(["default",0,function({compSectionButton:e,compUpgradeParagraph:s,compUpgradeSection:o,compUpgradeSectionMedia:d}){return(0,t.jsx)("section",{className:"sm:flex relative py-12 section-green",children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)("div",{className:"flex flex-col items-center",children:(0,t.jsx)(i.Fade,{triggerOnce:!0,direction:"up",className:"w-full",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row overflow-hidden shadow-[0_14px_28px_rgba(0,0,0,0.25),_0_10px_10px_rgba(0,0,0,0.22)] \n                            hover:shadow-[0_24px_28px_rgba(0,0,0,0.25),_0_20px_20px_rgba(0,0,0,0.22)] \n                            transition-all duration-200 ease-[
1cubic-bezier(.25,.8,.25,1)]\n                            rounded-0 md:rounded-[10rem_0_10rem_0]",children:[(0,t.jsxs)("div",{className:"md:w-1/2 bg-[#969C7F] text-white p-8 lg:p-[4rem_4rem] \n                                flex flex-col items-center justify-center relative z-10 \n                                after:content-[''] after:absolute after:inset-0 after:-z-10 \n                                after:bg-[url('../assets/TreeDwellers_Silhouettes_Flowers.webp')] \n                                after:bg-no-repeat after:bg-[length:134%] \n                                after:bg-[position:bottom_-4rem_left_-11rem]",children:[(0,t.jsx)("div",{className:"text-center mb-5 lg:text-6xl md:text-5xl font-bold sm:text-4xl",children:c(o)}),(0,t.jsx)("div",{className:"text-center mb-8",children:c(s)}),(0,t.jsx)(r.default,{href:"/treehouses",className:"btn btn-white mt-5 mb-5 btn-lg rounded-full bg-transparent border-2 border-white text-white hover:bg-white hover:text-black hover:shadow-lg",children:e})]}),(0,t.jsx)("div",{className:"w-full md:w-1/2 p-0 md:h-auto relative",children:(0,t.jsx)(a.Swiper,{modules:[n.Autoplay,l.Pagination],pagination:{clickable:!0},autoplay:{delay:5e3,disableOnInteraction:!1},loop:!0,className:"h-full w-full",children:d?.map((e,n)=>(0,t.jsx)(a.SwiperSlide,{className:"h-full",children:(0,t.jsx)("div",{className:"h-[760px] w-full bg-cover bg-center bg-no-repeat flex items-center justify-center",style:{backgroundImage:`url(${e})`}})},n))})})]})})})})})}])},63907,e=>{"use strict";var t=e.i(18050),a=e.i(71645),n=e.i(22016),l=e.i(57688),r=e.i(98038);e.i(89472);var i=e.i(65218),s=e.i(52888),o=e.i(97601),d=e.i(96e3);e.s(["default",0,function({imageUrl:e,title:c,content:u,buttonText:p,buttonLink:m,buttonClassName:h,overlayClassName:f="bg-black/25",titleAs:g="span",quality:b=85,objectPosition:x}){let E=(0,a.useId)(),[v,y]=(0,a.useState)(0),[A,w]=(0,a.useState)(!1),N=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=[window.matchMedia("(prefers-reduced-motion: reduce)"),window.matchMedia("(pointer: coarse)"),window.matchMedia("(max-width: 767px)")],t=()=>w(e.every(e=>!e.matches));for(let a of(t(),e))a.addEventListener("change",t);return()=>{for(let a of e)a.removeEventListener("change",t)}},[]),(0,a.useEffect)(()=>{if(!A)return void y(0);let e=null,t=()=>{if(e=null,!N.current)return;let t=N.current.getBoundingClientRect();t.bottom<=0||t.top>=window.innerHeight||y((0,o.parallaxOffset)(t.top,t.height,window.innerHeight))},a=()=>{null===e&&(e=window.requestAnimationFrame(t))};return window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),t(),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),null!==e&&window.cancelAnimationFrame(e)}},[A]);let j=e=>{if(!e)return null;if("string"==typeof e)return e;if(e.json&&"object"==typeof e.json){let a={renderNode:{[i.BLOCKS.PARAGRAPH]:(e,a)=>(0,t.jsx)("p",{className:"m-0",children:a}),[i.BLOCKS.HEADING_3]:(e,a)=>(0,t.jsx)("span",{children:a})},renderMark:{[s.MARKS.BOLD]:e=>(0,t.jsx)("strong",{children:e})}};return(0,r.documentToReactComponents)(e.json,a)}return console.warn("Invalid rich text content structure",e),null};return e?(0,t.jsxs)("section",{ref:N,className:"relative min-h-[85vh] w-full bg-ash overflow-hidden","aria-labelledby":p?E:void 0,children:[(0,t.jsxs)("div",{className:"absolute inset-0 w-full md:h-[120%] md:-top-[10%]",style:A?{transform:`translateY(${v}px)`,willChange:"transform"}:void 0,children:[(0,t.jsx)(l.default,{src:e,alt:"",fill:!0,loading:"lazy",quality:b,sizes:"100vw",placeholder:"blur",blurDataURL:d.BLUR_DATA_URL,className:"object-cover",style:{objectPosition:x||"50% 50%"},"aria-hidden":"true"}),(0,t.jsx)("div",{className:`absolute inset-0 ${f}`,"aria-hidden":"true"})]}),(0,t.jsx)("div",{className:"relative z-10 flex items-center justify-center h-screen max-h-[85vh] w-full text-white",children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)("div",{className:"w-full md:w-2/3 text-center",children:[(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-left duration-700",children:(0,t.jsx)(g,{id:E,className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4 font-display",children:j(c)})}),u&&(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-left duration-700 delay-100",children:(0,t.jsx)("div",{className:"text-xl md:text-2xl",children:j(u)})}),p&&m&&(0,t.jsx)("div",{className:"mt-6 animate-in fade-in slide-in-from-left duration-700 delay-200",children:(0,t.jsx)(n.default,{href:m,className:"inline-flex items-center justify-center gap-2 font-bold text-center no-underline transition-all cursor-pointer px-16 py-4 text-sm md:text-xl rounded-full bg-transparent border-2 border-white text-white hover:bg-white hover:text-black hover:shadow-lg mt-5","aria-label":p,id:p,children:p})})]})})})})]}):null}])},96e3,e=>{"use strict";e.s(["BLUR_DATA_URL",0,"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQySUBMS0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnWtl5H/2wBDARUXFx4aHjshITuRUUFRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZH/wAARCAAIABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAgME/8QAGhABAQADAQEAAAAAAAAAAAAAAAECETFBUf/EABYBAQEBAAAAAAAAAAAAAAAAAAABAv/EABYRAQEBAAAAAAAAAAAAAAAAAAABMf/aAAwDAQACEQMRAD8A3gqwdSVJtCMYT//Z"])},97601,e=>{"use strict";e.s(["parallaxOffset",0,function(e,t,a,n=.1){let l=a+t;return!Number.isFinite(l)||l<=0?0:Math.min(1,Math.max(-1,(a-e)/l*2-1))*t*n}])},98038,65218,35825,52888,89472,e=>{"use strict";var t,a,n,l=e.i(71645),r=((t={}).DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell",t);e.s(["BLOCKS",0,r],65218);var i=((a={}).ASSET_HYPERLINK="asset-hyperlink",a.EMBEDDED_ENTRY="embedded-entry-inline",a.EMBEDDED_RESOURCE="embedded-resource-inline",a.ENTRY_HYPERLINK="entry-hyperlink",a.HYPERLINK="hyperlink",a.RESOURCE_HYPERLINK="resource-hyperlink",a);function s(e,t){for(let a of Object.keys(e))if(t===e[a])return!0;return!1}function o(e){if(e.nodeType!==r.PARAGRAPH||1!==e.content.length)return!1;let t=e.content[0];return"text"===t.nodeType&&""===t.value}e.s(["INLINES",0,i],35825),e.s(["isBlock",0,function(e){return s(r,e.nodeType)},"isEmptyParagraph",0,o,"isInline",0,function(e){return s(i,e.nodeType)},"isText",0,function(e){return"text"===e.nodeType},"stripEmptyTrailingParagraphFromDocument",0,function(e){return!(null!=e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content))||e.content.length<2?e:o(e.content[e.content.length-1])?{...e,content:e.content.slice(0,-1)}:e}],37584);var d=e.i(37584),c=((n={}).BOLD="bold",n.ITALIC="italic",n.UNDERLINE="underline",n.CODE="code",n.SUPERSCRIPT="superscript",n.SUBSCRIPT="subscript",n.STRIKETHROUGH="str
1ikethrough",n);e.s(["MARKS",0,c],52888);let u=[r.PARAGRAPH,r.HEADING_1,r.HEADING_2,r.HEADING_3,r.HEADING_4,r.HEADING_5,r.HEADING_6,r.OL_LIST,r.UL_LIST,r.HR,r.QUOTE,r.EMBEDDED_ENTRY,r.EMBEDDED_ASSET,r.EMBEDDED_RESOURCE,r.TABLE],p=[r.PARAGRAPH,r.HEADING_1,r.HEADING_2,r.HEADING_3,r.HEADING_4,r.HEADING_5,r.HEADING_6,r.OL_LIST,r.UL_LIST,r.HR,r.QUOTE,r.EMBEDDED_ENTRY,r.EMBEDDED_ASSET,r.EMBEDDED_RESOURCE];r.TABLE,r.TABLE_ROW,r.TABLE_CELL,r.TABLE_HEADER_CELL,r.HR,r.EMBEDDED_ENTRY,r.EMBEDDED_ASSET,r.EMBEDDED_RESOURCE;let m={[r.OL_LIST]:[r.LIST_ITEM],[r.UL_LIST]:[r.LIST_ITEM],[r.LIST_ITEM]:p,[r.QUOTE]:[r.PARAGRAPH],[r.TABLE]:[r.TABLE_ROW],[r.TABLE_ROW]:[r.TABLE_CELL,r.TABLE_HEADER_CELL],[r.TABLE_CELL]:[r.PARAGRAPH,r.UL_LIST,r.OL_LIST],[r.TABLE_HEADER_CELL]:[r.PARAGRAPH]},h=[r.HEADING_1,r.HEADING_2,r.HEADING_3,r.HEADING_4,r.HEADING_5,r.HEADING_6];[r.PARAGRAPH,...h],r.DOCUMENT,r.PARAGRAPH,r.HEADING_1,r.HEADING_2,r.HEADING_3,r.HEADING_4,r.HEADING_5,r.HEADING_6,r.OL_LIST,r.UL_LIST,r.LIST_ITEM,r.HR,r.QUOTE,r.EMBEDDED_ENTRY,r.EMBEDDED_ASSET,i.HYPERLINK,i.ENTRY_HYPERLINK,i.ASSET_HYPERLINK,i.EMBEDDED_ENTRY,c.BOLD,c.CODE,c.ITALIC,c.UNDERLINE;let f=({path:e,property:t,typeName:a,value:n})=>({details:`The type of "${t}" is incorrect, expected type: ${a}`,name:"type",path:e.toArray(),type:a,value:n});class g{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){let e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,a)=>this._errors.findIndex(a=>e(t)===e(a))===a)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{let t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;let a=e?this.path.of(e):this.path,n=e??this.path.last()??"value";return this.catch(f({typeName:"Object",property:n,path:a,value:t})),!1};string=e=>{let t=this.obj[e];return(!e||!!this.exists(e))&&("string"==typeof t||(this.catch(f({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{let a=this.obj[e];return!!t&&!(e in this.obj)||!!this.exists(e)&&(!("number"!=typeof a||Number.isNaN(a))||(this.catch(f({typeName:"Number",property:e,path:this.path.of(e),value:a})),!1))};array=e=>{let t=this.obj[e];return(!e||!!this.exists(e))&&(!!Array.isArray(t)||(this.catch(f({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{let a=this.obj[e];return!!("string"==typeof a&&t.includes(a))||(this.catch((({expected:e,value:t,path:a})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:a.toArray(),value:t}))({expected:t,value:a,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;let t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:a})=>({name:"size",max:e,path:a.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;let a=this.obj[e];return a.length>=t||(this.catch((({min:e,value:t,path:a})=>({name:"size",min:e,path:a.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:a,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{let t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;let a=this.obj[e],n=!1;a.forEach((a,l)=>{if(n)return;let r=t(a,this.path.of(e).of(l));r.length>0&&(n=!0),this.catch(...r)})}}let b=[];class x{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){let a=new g(e,t);if(!a.object())return a.errors;a.noAdditionalProperties(["nodeType","data","content"]);let{nodeTypes:n,min:l=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===n.length&&l>0)throw Error(`Invalid content rule. Cannot have enforce a 'min' of ${l}
1 with no nodeTypes`);if(a.minLength("content",l),0===n.length?a.empty("content"):a.each("content",(e,t)=>{let a=new g(e,t);return a.object()&&a.enum("nodeType",n),a.errors}),a.object("data")){let n=this.validateData?.(e.data,t.of("data"))??[];a.catch(...n)}return a.errors}}class E extends x{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{let a=new g(e,t);if(a.object("target")){let n=new g(e.target.sys,t.of("target").of("sys"));n.object()&&(n.enum("type",[this.type]),n.enum("linkType",[this.linkType]),"Link"===this.type?(n.string("id"),n.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(n.string("urn"),n.noAdditionalProperties(["type","linkType","urn"]))),a.catch(...n.errors)}return a.noAdditionalProperties(["target"]),a.errors}}let v=(e,t)=>new x(e,t),y=(e,t)=>new E(e,t);v([...Object.values(i),"text"].sort()),v([r.LIST_ITEM]),y("Entry",b),v(()=>({nodeTypes:[r.PARAGRAPH],min:1}),(e,t)=>{let a=new g(e,t);return a.noAdditionalProperties(["colspan","rowspan"]),a.number("colspan",!0),a.number("rowspan",!0),a.errors}),r.DOCUMENT,v(u),r.PARAGRAPH,r.HEADING_1,r.HEADING_2,r.HEADING_3,r.HEADING_4,r.HEADING_5,r.HEADING_6,r.QUOTE,v(m[r.QUOTE]),r.EMBEDDED_ENTRY,r.EMBEDDED_ASSET,y("Asset",b),r.EMBEDDED_RESOURCE,y("Contentful:Entry",b),r.HR,v(b),r.OL_LIST,r.UL_LIST,r.LIST_ITEM,v([...p].sort()),r.TABLE,v(()=>({nodeTypes:[r.TABLE_ROW],min:1})),r.TABLE_ROW,v(()=>({nodeTypes:[r.TABLE_CELL,r.TABLE_HEADER_CELL],min:1})),r.TABLE_CELL,r.TABLE_HEADER_CELL,i.HYPERLINK,new class extends x{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{let a=new g(e,t);return a.string("uri"),a.noAdditionalProperties(["uri"]),a.errors}},i.EMBEDDED_ENTRY,i.EMBEDDED_RESOURCE,y("Contentful:Entry",b),i.ENTRY_HYPERLINK,y("Entry",["text"]),i.ASSET_HYPERLINK,y("Asset",["text"]),i.RESOURCE_HYPERLINK,y("Contentful:Entry",["text"]),e.s([],89472);let A={[r.DOCUMENT]:(e,t)=>t,[r.PARAGRAPH]:(e,t)=>l.default.createElement("p",null,t),[r.HEADING_1]:(e,t)=>l.default.createElement("h1",null,t),[r.HEADING_2]:(e,t)=>l.default.createElement("h2",null,t),[r.HEADING_3]:(e,t)=>l.default.createElement("h3",null,t),[r.HEADING_4]:(e,t)=>l.default.createElement("h4",null,t),[r.HEADING_5]:(e,t)=>l.default.createElement("h5",null,t),[r.HEADING_6]:(e,t)=>l.default.createElement("h6",null,t),[r.EMBEDDED_ENTRY]:(e,t)=>l.default.createElement("div",null,t),[r.EMBEDDED_RESOURCE]:(e,t)=>l.default.createElement("div",null,t),[r.UL_LIST]:(e,t)=>l.default.createElement("ul",null,t),[r.OL_LIST]:(e,t)=>l.default.createElement("ol",null,t),[r.LIST_ITEM]:(e,t)=>l.default.createElement("li",null,t),[r.QUOTE]:(e,t)=>l.default.createElement("blockquote",null,t),[r.HR]:()=>l.default.createElement("hr",null),[r.TABLE]:(e,t)=>l.default.createElement("table",null,l.default.createElement("tbody",null,t)),[r.TABLE_ROW]:(e,t)=>l.default.createElement("tr",null,t),[r.TABLE_HEADER_CELL]:(e,t)=>
1l.default.createElement("th",null,t),[r.TABLE_CELL]:(e,t)=>l.default.createElement("td",null,t),[i.ASSET_HYPERLINK]:e=>N(i.ASSET_HYPERLINK,e),[i.ENTRY_HYPERLINK]:e=>N(i.ENTRY_HYPERLINK,e),[i.RESOURCE_HYPERLINK]:e=>j(i.RESOURCE_HYPERLINK,e),[i.EMBEDDED_ENTRY]:e=>N(i.EMBEDDED_ENTRY,e),[i.EMBEDDED_RESOURCE]:(e,t)=>j(i.EMBEDDED_RESOURCE,e),[i.HYPERLINK]:(e,t)=>l.default.createElement("a",{href:e.data.uri},t)},w={[c.BOLD]:e=>l.default.createElement("b",null,e),[c.ITALIC]:e=>l.default.createElement("i",null,e),[c.UNDERLINE]:e=>l.default.createElement("u",null,e),[c.CODE]:e=>l.default.createElement("code",null,e),[c.SUPERSCRIPT]:e=>l.default.createElement("sup",null,e),[c.SUBSCRIPT]:e=>l.default.createElement("sub",null,e),[c.STRIKETHROUGH]:e=>l.default.createElement("s",null,e)};function N(e,t){return l.default.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function j(e,t){return l.default.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}e.s(["documentToReactComponents",0,function(e,t={}){if(!e)return null;let a=e;return t.stripEmptyTrailingParagraph&&(a=d.stripEmptyTrailingParagraphFromDocument(e)),function e(t,a){let{renderNode:n,renderMark:r,renderText:i,preserveWhitespace:s}=a;if(d.isText(t)){let e=i?i(t.value):t.value;if(s&&!i){let t=(e=e.replace(/ {2,}/g,e=>" ".repeat(e.length))).split("\n"),a=[];t.forEach((e,n)=>{a.push(e),n!==t.length-1&&a.push(l.default.createElement("br",null))}),e=a}return t.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,e)}{var o;let r=(o=t.content,o.map((t,n)=>{var r;return r=e(t,a),(0,l.isValidElement)(r)&&null===r.key?(0,l.cloneElement)(r,{key:n}):r}));return t.nodeType&&n[t.nodeType]?n[t.nodeType](t,r):l.default.createElement(l.default.Fragment,null,r)}}(a,{renderNode:{...A,...t.renderNode},renderMark:{...w,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}],98038)},95187,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={callServer:function(){return r.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var l in n)Object.defineProperty(a,l,{enumerable:!0,get:n[l]});let r=e.r(32120),i=e.r(92245),s=e.r(35326)},90317,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={bindSnapshot:function(){return d},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return c}};for(var l in n)Object.defineProperty(a,l,{enumerable:!0,get:n[l]});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return s?new s:new i}function d(e){return s?s.bind(e):i.bind(e)}function c(){return s?s.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(42344)},9885,(e,t,a)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"encodeURIPath",{enumerable:!0,get:function(){return n}})},67585,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return l}});let n=e.r(32061);function l({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},69093,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return d}});let n=e.r(18050),l=e.r(71645),r=e.r(67585),i=e.r(52157);function s(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},a=(0,l.lazy)(()=>t.loader().then(s)),d=t.loading;function c(e){let s=d?(0,n.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?l.Suspense:l.Fragment,u=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(a,{...e})]}):(0,n.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(a,{...e})});return(0,n.jsx)(c,{...o?{fallback:s}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return l}});let n=e.r(55682)._(e.r(69093));function l(e,t){let a={};"function"==typeof e&&(a.loader=e);let l={...a,...t};return(0,n.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},52157,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return o}});let n=e.r(18050),l=e.r(74080),r=e.r(63599),i=e.r(9885),s=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let t=r.workAsyncStorage.getStore();if(void 0===t)return null;let a=[];if(t.reactLoadableManifest&&e){let n=t.reactLoadableManifest;for(let t of e){if(!n[t])continue;let e=n[t].files;a.push(...e)}}if(0===a.length)return null;let d=(0,s.getAssetTokenQuery)();return(0,n.jsx)(n.Fragment,{children:a.map(e=>{let a=`${t.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:a,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,l.preload)(a,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},29291,e=>{e.v(t=>Promise.all(["static/chunks/39xv66eyymfcz.js"].map(t=>e.l(t))).then(()=>t(14833)))},54513,e=>{"use strict";var t=e.i(71645),a=Object.defineProperty,n=(e,t,n)=>{let l;return(l="symbol"!=typeof t?t+"":t)in e?a(e,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[l]=n},l=new Map,r=new WeakMap,i=0,s=void 0;function o(e,t,a={},n=s){if(void 0===window.IntersectionObserver&&void 0!==n){let l=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof a.threshold?a.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}let{id:d,observer:c,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var a;return`${t}_${"root"===t?!(a=e.root)?"0":(r.has(a)||(i+=1,r.set(a,i.toString())),r.get(a)):e[t]}`}).toString(),a=l.get(t);if(!a){let n,r=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var a;let l=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null==(a=r.get(t.target))||a.forEach(e=>{e(l,t)})})},e);n=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:t,observer:i,elements:r},l.set(t,a)}return a}(a),p=u.get(e)||[];return u.has(e)||u.set(e,p),p.push(t),c.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(u.delete(e),c.unobserve(e)),0===u.size&&(c.disconnect(),l.delete(d))}}var d=class extends t.Component{constructor(e){super(e),n(this,"node",null),n(this,"_unobserveCb",null),n(this,"handleNode",e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),n(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof this.props.children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:a,trackVisibility:n,delay:l,fallbackInView:r}=this.props;this._unobserveCb=o(this.node,this.handleChange,{threshold:e,root:t,rootMargin:a,trackVisibility:n,delay:l},r)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:a}=this.state;return e({inView:t,entry:a,ref:this.handleNode})}let{as:a,triggerOnce:n,threshold:l,root:r,rootMargin:i,onChange:s,skip:o,trackVisibility:d,delay:c,initialInView:u,fallbackInView:p,...m}=this.props;return t.createElement(a||"div",{ref:this.handleNode,...m},e)}};e.s(["InView",0,d,"useInView",0,function({threshold:e,delay:a,trackVisibility:n,rootMargin:l,root:r,triggerOnce:i,skip:s,initialInView:d,fallbackInView:c,onChange:u}={}){var p;let[m,h]=t.useState(null),f=t.useRef(u),[g,b]=t.useState({inView:!!d,entry:void 0});f.current=u,t.useEffect(()=>{let t;if(!s&&m)return t=o(m,(e,a)=>{b({inView:e,entry:a}),f.current&&f.current(e,a),a.isIntersecting&&i&&t&&(t(),t=void 0)},{root:r,rootMargin:l,threshold:e,trackVisibility:n,delay:a}
1,c),()=>{t&&t()}},[Array.isArray(e)?e.toString():e,m,r,l,i,s,n,c,a]);let x=null==(p=g.entry)?void 0:p.target,E=t.useRef(void 0);m||!x||i||s||E.current===x||(E.current=x,b({inView:!!d,entry:void 0}));let v=[h,g.inView,g.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}])},72225,e=>{"use strict";var t=e.i(3259);e.s(["Autoplay",0,function({swiper:e,extendParams:a,on:n,emit:l,params:r}){let i,s,o,d,c,u,p,m,h;e.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let f=r&&r.autoplay?r.autoplay.delay:3e3,g=r&&r.autoplay?r.autoplay.delay:3e3,b=new Date().getTime();function x(t){!e||e.destroyed||!e.wrapperEl||t.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",x),h||t.detail&&t.detail.bySwiperTouchMove||j())}let E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(g=o,d=!1);let t=e.autoplay.paused?o:b+g-new Date().getTime();e.autoplay.timeLeft=t,l("autoplayTimeLeft",t,t/f),s=requestAnimationFrame(()=>{E()})},v=()=>{let t=e.params.autoplay.delay,a=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(a)&&a>0&&(t=a),t},y=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let a=t;void 0===a&&(f=a=v(),g=a),o=a;let n=e.params.speed,r=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(n,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,n,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(n,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,n,!0,!0),l("autoplay")),e.params.cssMode&&(b=new Date().getTime(),requestAnimationFrame(()=>{y()})))};return a>0?(clearTimeout(i),i=setTimeout(()=>{r()},a)):requestAnimationFrame(()=>{r()}),a},A=()=>{b=new Date().getTime(),e.autoplay.running=!0,y(),l("autoplayStart")},w=()=>{e.autoplay.running=!1,clearTimeout(i),cancelAnimationFrame(s),l("autoplayStop")},N=(t,a)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(i),t||(m=!0);let n=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",x):j()};(e.autoplay.paused=!0,a)?n():(o=(o||e.params.autoplay.delay)-(new Date().getTime()-b),e.isEnd&&o<0&&!e.params.loop||(o<0&&(o=0),n()))},j=()=>{e.isEnd&&o<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(b=ne
1w Date().getTime(),m?(m=!1,y(o)):y(),e.autoplay.paused=!1,l("autoplayResume"))},L=()=>{if(e.destroyed||!e.autoplay.running)return;let a=(0,t.g)();"hidden"===a.visibilityState&&(m=!0,N(!0)),"visible"===a.visibilityState&&j()},R=t=>{"mouse"!==t.pointerType||(m=!0,h=!0,e.animating||e.autoplay.paused||N(!0))},_=t=>{"mouse"===t.pointerType&&(h=!1,e.autoplay.paused&&j())};n("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",R),e.el.addEventListener("pointerleave",_)),(0,t.g)().addEventListener("visibilitychange",L),A())}),n("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",R),e.el.removeEventListener("pointerleave",_)),(0,t.g)().removeEventListener("visibilitychange",L),e.autoplay.running&&w()}),n("_freeModeStaticRelease",()=>{(u||m)&&j()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?w():N(!0,!0)}),n("beforeTransitionStart",(t,a,n)=>{!e.destroyed&&e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?N(!0,!0):w())}),n("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void w();c=!0,u=!1,m=!1,p=setTimeout(()=>{m=!0,u=!0,N(!0)},200)}}),n("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(p),clearTimeout(i),e.params.autoplay.disableOnInteraction){u=!1,c=!1;return}u&&e.params.cssMode&&j(),u=!1,c=!1}}),n("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(o=v(),f=v())}),Object.assign(e.autoplay,{start:A,stop:w,pause:N,resume:j})}],72225)},79053,e=>{"use strict";var t=e.i(16571),a=e.i(99946);let n='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';e.s(["Navigation",0,function({swiper:e,extendParams:l,on:r,emit:i}){function s(t){let a;return t&&"string"==typeof t&&e.isElement&&(a=e.el.querySelector(t)||e.hostEl.querySelector(t))?a:(t&&("string"==typeof t&&(a=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&a&&a.length>1&&1===e.el.querySelectorAll(t).length?a=e.el.querySelector(t):a&&1===a.length&&(a=a[0])),t&&!a)?t:a}function o(t,n){let l=e.params.navigation;(t=(0,a.m)(t)).forEach(t=>{t&&(t.classList[n?"add":"remove"](...l.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](l.lockClass))})}function d(){let{nextEl:t,prevEl:a}=e.navigation;if(e.params.loop){o(a,!1),o(t,!1);return}o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function u(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function p(){let l=e.params.navigation;if(e.params.navigation=(0,t.c)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(l.nextEl||l.prevEl))return;let r=s(l.nextEl),i=s(l.prevEl);Object.assign(e.navigation,{nextEl:r,prevEl:i}),r=(0,a.m)(r),i=(0,a.m)(i);let o=(t,r)=>{if(t){if(l.addIcons&&t.matches(".swiper-button-next,.swiper-button-prev")&&!t.querySelector("svg")){let e=document.createElement("div");(0,a.s)(e,n),t.appendChild(e.querySelector("svg")),e.remove()}t.addEventListener("click","next"===r?u:c)}!e.enabled&&t&&t.classList.add(...l.lockClass.split(" "))};r.forEach(e=>o(e,"next")),i.forEach(e=>o(e,"prev"))}function m(){let{nextEl:t,prevEl:n}=e.navigation;t=(0,a.m)(t),n=(0,a.m)(n);let l=(t,a)=>{t.removeEventListener("click","next"===a?u:c),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};
1t.forEach(e=>l(e,"next")),n.forEach(e=>l(e,"prev"))}l({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:n},r("init",()=>{!1===e.params.navigation.enabled?h():(p(),d())}),r("toEdge fromEdge lock unlock",()=>{d()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{nextEl:t,prevEl:n}=e.navigation;(t=(0,a.m)(t),n=(0,a.m)(n),e.enabled)?d():[...t,...n].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),r("click",(t,n)=>{let{nextEl:l,prevEl:r}=e.navigation;l=(0,a.m)(l),r=(0,a.m)(r);let s=n.target,o=r.includes(s)||l.includes(s);if(e.isElement&&!o){let e=n.path||n.composedPath&&n.composedPath();e&&(o=e.find(e=>l.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!o){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;l.length?t=l[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?i("navigationShow"):i("navigationHide"),[...l,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),p(),d()},disable:h,update:d,init:p,destroy:m})}],79053)},86301,e=>{"use strict";function t(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}var a=e.i(16571),n=e.i(99946);e.s(["Pagination",0,function({swiper:e,extendParams:l,on:r,emit:i}){let s,o="swiper-pagination";l({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function u(t,a){let{bulletActiveClass:n}=e.params.pagination;t&&(t=t[`${"prev"===a?"previous":"next"}ElementSibling`])&&(t.classList.add(`${n}-${a}`),(t=t[`${"prev"===a?"previous":"next"}ElementSibling`])&&t.classList.add(`${n}-${a}-${a}`))}function p(a){let l=a.target.closest(t(e.params.pagination.bulletClass));if(!l)return;a.preventDefault();let r=(0,n.j)(l)*e.params.slidesPerGroup;if(e.params.loop){var i,s,o;if(e.realIndex===r)return;let t=(i=e.realIndex,s=r,(i%=o=e.slides.length,(s%=o)===i+1)?"next":s===i-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(r)}else e.slideTo(r)}function m(){let a,l,r=e.rtl,o=e.params.pagination;if(c())return;let p=e.pagination.el;p=(0,n.m)(p);let m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(l=e.previousRealIndex||0,a=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(a=e.snapIndex,l=e.previousSnapIndex):(l=e.previousIndex||0,a=e.activeIndex||0),"bullets"===o.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let t,i,c,m=e.pagination.bullets;if(o.dynamicBullets&&(s=(0,n.i)(m[0],e.isHorizontal()?"width":"height",!0),p.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${s*(o.dynamicMainBullets+4)}px`}),o.dynamicMainBullets>1&&void 0!==l&&((d+=a-(l||0))>o.dynamicMainBullets-1?d=o.dynamicMainBullets-1:d<0&&(d=0)),c=((i=(t=Math.max(a-d,0))+(Math.min(m.length,o.dynamicMainBullets)-1))+t)/2),m.forEach(e
1=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),p.length>1)m.forEach(l=>{let r=(0,n.j)(l);r===a?l.classList.add(...o.bulletActiveClass.split(" ")):e.isElement&&l.setAttribute("part","bullet"),o.dynamicBullets&&(r>=t&&r<=i&&l.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),r===t&&u(l,"prev"),r===i&&u(l,"next"))});else{let n=m[a];if(n&&n.classList.add(...o.bulletActiveClass.split(" ")),e.isElement&&m.forEach((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")}),o.dynamicBullets){let e=m[t],a=m[i];for(let e=t;e<=i;e+=1)m[e]&&m[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));u(e,"prev"),u(a,"next")}}if(o.dynamicBullets){let t=Math.min(m.length,o.dynamicMainBullets+4),a=(s*t-s)/2-c*s,n=r?"right":"left";m.forEach(t=>{t.style[e.isHorizontal()?n:"top"]=`${a}px`})}}p.forEach((l,r)=>{if("fraction"===o.type&&(l.querySelectorAll(t(o.currentClass)).forEach(e=>{e.textContent=o.formatFractionCurrent(a+1)}),l.querySelectorAll(t(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(h)})),"progressbar"===o.type){let n;n=o.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let r=(a+1)/h,i=1,s=1;"horizontal"===n?i=r:s=r,l.querySelectorAll(t(o.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${i}) scaleY(${s})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===o.type&&o.renderCustom?((0,n.s)(l,o.renderCustom(e,a+1,h)),0===r&&i("paginationRender",l)):(0===r&&i("paginationRender",l),i("paginationUpdate",l)),e.params.watchOverflow&&e.enabled&&l.classList[e.isLocked?"add":"remove"](o.lockClass)})}function h(){let a=e.params.pagination;if(c())return;let l=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,r=e.pagination.el;r=(0,n.m)(r);let s="";if("bullets"===a.type){let t=e.params.loop?Math.ceil(l/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&t>l&&(t=l);for(let n=0;n<t;n+=1)a.renderBullet?s+=a.renderBullet.call(e,n,a.bulletClass):s+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}"fraction"===a.type&&(s=a.renderFraction?a.renderFraction.call(e,a.currentClass,a.totalClass):`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),"progressbar"===a.type&&(s=a.renderProgressbar?a.renderProgressbar.call(e,a.progressbarFillClass):`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],r.forEach(l=>{"custom"!==a.type&&(0,n.s)(l,s||""),"bullets"===a.type&&e.pagination.bullets.push(...l.querySelectorAll(t(a.bulletClass)))}),"custom"!==a.type&&i("paginationRender",r[0])}function f(){let t;e.params.pagination=(0,a.c)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let l=e.params.pagination;!l.el||("string"==typeof l.el&&e.isElement&&(t=e.el.querySelector(l.el)),t||"string"!=typeof l.el||(t=[...document.querySelectorAll(l.el)]),t||(t=l.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof l.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(l.el)]).length>1&&(t=t.find(t=>(0,n.d)(t,".swiper")[0]===e.el)),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}),(t=(0,n.m)(t)).forEach(t=>{"bullets"===l.type&&l.clickable&&t.classList.add(...(l.clickableClass||"").split(" ")),t.classList.add(l.modifierClass+l.type),t.classList.add(e.isHorizontal()?l.horizontalClass:l.verticalClass),"bullets"===l.type&&l.dynamicBullets&&(t.classList.add(`${l.modifierClass}${l.type}-dynamic`),d=0,l.dynamicMainBullets<1&&(l.dynamicMainBullets=1)),"progressbar"===l.type&&l.progressbarOpposite&&t.classList.add(l.progressbarOppositeClass),l.clickable&&t.addEventListener("click",p),e.enabled||t.classList.add(l.lockClass)})))}function g(){let t=e.params.pagination;if(c())return;let a=e.pagination.el;
1a&&(a=(0,n.m)(a)).forEach(a=>{a.classList.remove(t.hiddenClass),a.classList.remove(t.modifierClass+t.type),a.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(a.classList.remove(...(t.clickableClass||"").split(" ")),a.removeEventListener("click",p))}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:a}=e.pagination;(a=(0,n.m)(a)).forEach(a=>{a.classList.remove(t.horizontalClass,t.verticalClass),a.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),r("init",()=>{!1===e.params.pagination.enabled?b():(f(),h(),m())}),r("activeIndexChange",()=>{void 0===e.snapIndex&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{h(),m()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:t}=e.pagination;t&&(t=(0,n.m)(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),r("lock unlock",()=>{m()}),r("click",(t,a)=>{let l=a.target,r=(0,n.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!l.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&l===e.navigation.nextEl||e.navigation.prevEl&&l===e.navigation.prevEl))return;!0===r[0].classList.contains(e.params.pagination.hiddenClass)?i("paginationShow"):i("paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,n.m)(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),g()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,n.m)(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),f(),h(),m()},disable:b,render:h,update:m,init:f,destroy:g})}],86301)},16571,e=>{"use strict";var t=e.i(99946);e.s(["c",0,function(e,a,n,l){return e.params.createElements&&Object.keys(l).forEach(r=>{if(!n[r]&&!0===n.auto){let i=(0,t.e)(e.el,`.${l[r]}`)[0];i||((i=(0,t.c)("div",l[r])).className=l[r],e.el.append(i)),n[r]=i,a[r]=i}}),n}])},25638,e=>{e.v(t=>Promise.all(["static/chunks/1_wft8lcmqtx2.js"].map(t=>e.l(t))).then(()=>t(75866)))}]);

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.