PageSourceSearch

https://www.haven.com/assets-cms/v3323.1.0-fcedd86-36846361603/_next/static/chunks/6882.29ec8cd457820a8f.js

js haven.com collected 2026-10-02 04:39:10 UTC 1,537 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6882],{36882:(e,a,t)=>{t.r(a),t.d(a,{TouringSearch:()=>w,default:()=>w});var r=t(95155),l=t(12115),n=t(5593),s=t(49331),c=t(23134),i=t(40370),o=t(13702),d=t(68064),u=t(93482),p=t(47291),m=t(4294);let h=t(84983).H6.extend({productType:d.eu(u.ch.TOURING),arrivalDate:p.wk,accomType:p.sq,searchType:p.Re,accomSize:p.js.nullable().default(null)});var x=t(72795);function w(e){let{title:a,startDate:t,titleLevel:d=2,parkCode:p,className:w}=e,[f,v]=(0,l.useState)(!1),b=(0,l.useCallback)(()=>{var e;let a={parkCode:p,arrivalDate:t},r=(0,x.t4)(a);(0,o.analytics)((e=>{let{parkCode:a,arrivalDate:t,duration:r,type:l}=e;return(0,m.$)(h,{productType:u.ch.TOURING,parkCode:a,arrivalDate:t,duration:r,accomType:l})})(a)),v(!0),null==(e=window)||e.open(r,"_self")},[p,t]);return(0,l.useEffect)(()=>{let e=()=>{f&&v(!1)};return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}}),(0,r.jsx)("div",{className:(0,i.cn)("@container bg-map-mint-100 rounded-md p-6 pt-5",w),id:"touring-search",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-between @[668px]:flex-row @max-[668px]:items-start",children:[(0,r.jsx)(s.H,{className:"mb-6 pr-4 @[668px]:mb-0 md:text-xl",size:"md",titleLevel:d,fontWeight:"black",children:a||"Start planning your Great British break"}),(0,r.jsx)(n.Ay,{className:"@[348px]:max-w-33",theme:"primary",scale:"large",onClick:b,block:!0,icon:(0,c.o5)("search.svg"),loading:f,children:"Search"})]})})}}}]);

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.