PageSourceSearch

https://www.unhitchedrv.com/wp-content/plugins/newbook-crs/build/791-3d775747d4916711e5bb.js

js unhitchedrv.com collected 2026-10-09 17:54:20 UTC 30,381 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknewbook_crs=self.webpackChunknewbook_crs||[]).push([[192,791,984],{50:(e,t,s)=>{s.d(t,{y:()=>l});var i=s(71);const{withContext:a,PropsProvider:r}=(0,i.a)({key:"spinner"}),l=a("span");l.displayName="Spinner"},1192:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var i=s(6069),a=s(1805),r=s(8117),l=s(790);const n=()=>{const e=(0,r.y3)((e=>e)),t=(0,r.y3)((e=>e.toggleView)),s=e=>{t(e)};return(0,l.jsxs)("div",{className:"nbtcrs-view-toggle",role:"group",children:[(0,l.jsxs)("button",{type:"button",className:"nbtcrs-view-toggle-btn px-3 pb-2 pt-2.5 flex flex-row align-centre gap-2 "+("parks"===e.view?"bg-primary-100 text-white nbtcrs-view-toggle-btn-selected":"bg-white text-primary-100"),onClick:()=>s("parks"),children:[(0,l.jsx)(i.A,{})," Parks"]}),(0,l.jsxs)("button",{type:"button",className:"nbtcrs-view-toggle-btn px-3 pb-2 pt-2.5 flex flex-row align-centre gap-2 "+("accommodation"===e.view?"bg-primary-100 text-white nbtcrs-view-toggle-btn-selected":"bg-white text-primary-100"),onClick:()=>s("accommodation"),children:[(0,l.jsx)(a.A,{})," Accom"]})]})}},1805:(e,t,s)=>{s.d(t,{A:()=>i});const i=(0,s(9407).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},1984:(e,t,s)=>{s.r(t),s.d(t,{default:()=>m});var i=s(1609),a=s(7037),r=s(1629),l=s(6523),n=s(8697),o=s(7988),c=s(1837),d=s(5216),C=s(8117),h=s(7300),p=s(2760),u=s(3176),x=s(790);const f=(0,h.L)((()=>s.e(104).then(s.bind(s,1104)))),m=e=>{const t=(0,C.PI)((e=>e.categoryType)),s=(0,C.PI)((e=>e.parkFeatures)),h=(0,C.PI)((e=>e.availableOnly)),m=(0,C.PI)((e=>e.petFriendly)),y=(0,C.PI)((e=>e.accessibility)),g=(0,C.PI)((e=>e.updateAvailableOnly)),j=(0,C.PI)((e=>e.updatePetFriendly)),b=(0,C.PI)((e=>e.updateAccessibility)),v=(0,C.PI)((e=>e.updateCategoryType)),w=(0,C.PI)((e=>e.updateParkFeatures)),k=t.length+s.length+(h?1:0)+(m?1:0)+(y?1:0),H=(0,C.BH)((e=>e.results)),[N,L]=(0,i.useState)(!1),M=(0,o.useMediaQuery)({maxWidth:768}),P=u.f.filter((e=>e.active)),A=e=>{switch(e){case"availability":case"accommodation":case"equipment":case"park-features":return h;case"pets":return m;case"accessibility":return y}},S=({data:e})=>(0,x.jsxs)("div",{className:"nbtcrs-search-section",children:[(0,x.jsx)("label",{className:"block",children:e.label}),"boolean"===e.type&&(0,x.jsx)("div",{className:"nbtcrs-toggle",children:(0,x.jsxs)(a.lq,{id:e.label,defaultChecked:A(e.slug),onCheckedChange:t=>((e,t)=>{switch(e){case"availability":return void g(t.target.checked);case"pets":return void j(t.target.checked);case"accessibility":return void b(t.target.checked);case"accommodation":return"accommodation";case"equipment":return"equipment";case"park-features":return"park-features"}})(e.slug,{target:{checked:t.checked}}),children:[(0,x.jsx)(a.tD,{}),(0,x.jsx)(a.oO,{}),(0,x.jsx)(a.$X,{children:e.description})]})}),"multiselect"===e.type&&(0,x.jsx)(i.Suspense,{children:(0,x.jsx)(f,{data:e})})]});return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{children:P.length>0&&(0,x.jsxs)(p.A,{onClick:()=>L(!0),buttonType:"secondary",ariaLabel:"Filters",children:[(0,x.jsx)(l.A,{className:"align-middle inline-block"}),(0,x.jsx)("span",{className:!1!==e.showLabel?"":"hidden",children:"Filters"}),k>0&&(0,x.jsx)("span",{className:"nbtcrs-badge",children:k})]})}),(0,x.jsx)(c.ZL,{children:(0,x.jsx)(r.P.div,{initial:{opacity:0}
1,animate:{opacity:N?1:0},transition:{duration:.3},exit:{opacity:0},className:"relative z-50",children:(0,x.jsxs)(c.cj,{open:N,onDismiss:()=>L(!1),onClose:()=>{},selectedDetent:c.yM.large,detents:e=>[c.yM.large(e),c.yM.medium(e)],useModal:!M,scrollingExpands:!0,useDarkMode:!1,children:[(0,x.jsxs)(c.Y9,{className:"rss-header flex flex-row justify-between",children:[(0,x.jsx)("h3",{children:"Filters"}),(0,x.jsx)(p.A,{className:"px-6 py-4",buttonType:"tertiary",onClick:()=>L(!1),ariaLabel:"Close",children:(0,x.jsx)(n.A,{})})]}),(0,x.jsx)(c.UC,{className:"nbtcrs-slide-up-content",children:(0,x.jsx)(d.k,{children:(0,x.jsx)("form",{className:"flex flex-col",children:P.map((e=>(0,x.jsx)(S,{data:e},e.slug)))})})}),(0,x.jsxs)(c.wi,{className:"rss-footer flex flex-row justify-between",children:[(0,x.jsx)(p.A,{onClick:()=>{v([]),w([]),g(!1),j(!1),b(!1)},buttonType:"secondary",children:"Clear all"}),(0,x.jsxs)(p.A,{onClick:()=>L(!1),children:["See ",H?.length," parks"]})]})]})})})]})}},2791:(e,t,s)=>{s.r(t),s.d(t,{default:()=>P});var i=s(1609),a=s(3026),r=s(50),l=s(6043),n=s(176),o=s(7988),c=s(8117),d=s(9032),C=s(7300),h=s(2760),p=s(1984),u=s(8261),x=s(1629),f=s(3725),m=s(790);const y=({type:e})=>{const t=[...Array(9)];return(0,m.jsxs)(m.Fragment,{children:["parks"===e&&t.map((e=>(0,m.jsxs)(x.P.div,{className:"flex flex-col gap-2",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},style:{"--border-radius-default":"var(--nb-button-shape-alt)"},children:[(0,m.jsx)(u.EA,{children:(0,m.jsx)("img",{src:"https://placehold.co/600x400?text=No+Images",alt:"Loading",loading:"lazy",className:"h-52 w-full object-cover",style:{position:"relative",zIndex:"1",height:"200px"}})}),(0,m.jsx)(u.EA,{width:"70%",children:"Title"}),(0,m.jsx)(u.EA,{width:"50%",children:"Location"}),(0,m.jsx)(u.EA,{width:"40%",children:"rest"})]},e))),"accommodation"===e&&(0,m.jsxs)(x.P.div,{className:"flex flex-col gap-2",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},style:{"--border-radius-default":"var(--nb-button-shape-alt)"},children:[(0,m.jsx)(u.EA,{width:"30%",children:"Title"}),(0,m.jsx)(u.EA,{width:"20%",children:"Location"}),(0,m.jsx)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 xl:grid-cols-3",children:t.map(((e,t)=>(0,m.jsx)(f.A,{},t)))})]}),void 0===e&&(0,m.jsx)("div",{className:"nbtcrs-loading",children:(0,m.jsxs)("div",{role:"status",className:"absolute -translate-x-1/2 -translate-y-1/2 top-2/4 left-1/2",children:[(0,m.jsx)(r.y,{}),(0,m.jsx)("span",{className:"sr-only",children:"Loading..."})]})})]})};var g=s(1192);const j=()=>(0,m.jsxs)("svg",{width:"141",height:"25",viewBox:"0 0 141 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsxs)("g",{clipPath:"url(#clip0_5056_1318)",children:[(0,m.jsx)("path",{d:"M10.56 0L21.14 6.16L15.44 9.45L4.85999 3.29L10.56 0Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M21.14 15.11L2.84 4.46001L0 6.10001V9.41001L18.29 20.06L21.14 18.41V15.11Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M0 18.36L5.7 15.07L16.27 21.22L10.57 24.51L0 18.36Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M5.7 15.07L0 11.75V18.36L5.7 15.07Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M15.4399 9.45L21.1399 6.16V12.77L15.4399 9.45Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M28.6401 16.92C27.9601 16.92 27.3501 16.79 26.8101 16.56C26.2701 16.33 25.8601 15.99 25.5501 15.54C25.2401 15.09 25.0801 14.55 25.0601 13.92H26.9901C26.9901 14.2 27.0701 14.45 27.2001 14.67C27.3301 14.89 27.5201 15.07 27.7601 15.2C28.0001 15.33 28.2901 15.39 28.6201 15.39C28.9101 15.39 29.1501 15.35 29.3601 15.26C29.5701 15.17 29.7401 15.05 29.8601 14.88C29.9801 14.71 30.0401 14.5 30.0401 14.25C30.0401 13.98 29.9801 13.76 29.8501 13.58C29.7201 13.4 29.5401 13.25 29.3101 13.12C29.0801 13 28.8101 12.88 28.5201 12.78C28.2301 12.68 27.9201 12.57 27.6101 12.47C26.8601 12.21 26.2901 11.88 25.8901 11.47C25.4901 11.06 25.2901 10.53 25.2901 9.85C25.2901 9.31 25.4301 8.83 25.7001 8.44C25.9701 8.04 26.3501 7.74 26.8301 7.52C27.3101 7.31 27.8601 7.2 28.4801 7.2C29.1001 7.2 29.6701 7.31 30.1501 7.53C30.6301 7.75 31.0101 8.06 31.2901 8.47C31.5701 8.88 31.7201 9.36 31.7301 9.92H29.7901C29.7901 9.69 29.7301 9.48 29.6201 9.3C29.5101 9.12 29.3501 8.97 29.1501 8.86C28.9501 8.75 28.7101 8.7 28.4501 8.7C28.2201 8.7 28.0101 8.74 27.8101 8.81C27.6201 8.88 27.4701 8.99 27.3501 9.15C27.2401 9.3 27.1801 9.5 27.1801 9.74C27.1801 9.96 27.2301 10.15 27.3401 10.3C27.4501 10.45 27.6001 10.58 27.7901 10.7C27.9801 10.81 28.2101 10.92 28.4801 11.02C28.7501 11.12 29.0401 11.23 29.3601 11.34C29.8301 11.5 30.2701 11.69 30.6601 11.91C31.0501 12.13 31.3701 12.41 31.6001 12.76C31.8301 13.11 31.9501 13.56 31.9501 14.13C31.9501 14.62 31.8201 15.08 31.5701 15.5C31.3201 15.92 30.9401 16.27 30.4601 16.53C29.9701 16.79 29.3701 16.92 28.6401 16.92Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M35.99 16.75C35.52 16.75 35.1 16.68 34.75 16.53C34.4 16.38 34.12 16.14 33.93 15.79C33.73 15.45 33.64 14.97 33.64 14.38V11.57H32.5V10.11H33.64L33.84 8.3H35.45V10.11H37.22V11.57H35.45V14.41C35.45 14.72 35.52 14.94 35.65 15.06C35.78 15.18 36.01 15.24 36.33 15.24H37.17V16.75H35.99Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M41.0599 16.92C40.4199 16.92 39.8499 16.76 39.3299 16.47C38.8099 16.18 38.3999 15.76 38.0999 15.24C37.7999 14.72 37.6499 14.11 37.6499 13.43C37.6499 12.75 37.7999 12.14 38.1099 11.61C38.4099 11.09 38.8199 10.68 39.3399 10.38C39.8599 10.09 40.4299 9.93999 41.0699 9.93999C41.7099 9.93999 42.2899 10.09 42.8099 10.38C43.3299 10.67 43.7399 11.08 44.0399 11.61C44.3399 12.13 44.4899 12.74 44.4899 13.43C44.4899 14.12 44.3399 14.72 44.0299 15.25C43.7299 15.77 43.3199 16.18 42.7999 16.48C42.2899 16.77 41.7099 16.92 41.0599 16.92ZM41.0599 15.39C41.3499 15.39 41.6199 15.32 41.8599 15.17C42.0999 15.02 42.2899 14.8 42.4399 14.51C42.5899 14.22 42.6599 13.86 42.6599 13.43C42.6599 13 42.5899 12.63 42.4399 12.34C42.2899 12.05 42.0999 11.83 41.8599 11.69C41.6199 11.55 41.3699 11.48 41.0899 11.48C40.8099 11.48 40.5399 11.55 40.2999 11.69C40.0599 11.83 39.8699 12.05 39.7199 12.34C39.5799 12.63 39.5099 12.99 39.5099 13.43C39.5099 13.87 39.5799 14.22 39.7199 14.51C39.8599 14.8 40.0499 15.02 40.2899 15.17C40.5299 15.32 40.7799 15.39 41.0599 15.39Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M45.4501 16.75V10.1H47.0001L47.1601 11.51H47.2001C47.3901 11.08 47.6001 10.76 47.8401 10.53C48.0801 10.31 48.3401 10.15 48.6401 10.07C48.9401 9.99 49.2801 9.94 49.6501 9.94V11.86H49.1701C48.8701 11.86 48.6001 11.89 48.3601 11.96C48.1201 12.03 47.9201 12.13 47.7601 12.28C47.5901 12.43 47.4701 12.62 47.3801 12.86C47.2901 13.1 47.2501 13.39 47.2501 13.74V16.76H45.4401L45.4501 16.75Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M52.48 16.91C51.94 16.91 51.5 16.82 51.15 16.64C50.8 16.46 50.54 16.22 50.38 15.92C50.21 15.62 50.13 15.28 50.13 14.91C50.13 14.5 50.23 14.14 50.44 13.82C50.65 13.5 50.97 13.26 51.4 13.09C51.83 12.92 52.37 12.83 53.02 12.83H54.7C54.7 12.5 54.65 12.23 54.56 12.01C54.47 11.8 54.32 11.64 54.13 11.53C53.94 11.43 53.69 11.38 53.4 11.38C53.05 11.38 52.75 11.46 52.51 11.61C52.26 11.76 52.11 12 52.05 12.33H50.29C50.34 11.84 50.51 11.41 50.78 11.06C51.05 10.7 51.41 10.43 51.87 10.23C52.32 10.03 52.83 9.94 53.4 9.94C54.04 9.94 54.6 10.04 55.06 10.25C55.52 10.46 55.88 10.77 56.13 11.17C56.38 11.58 56.51 12.07 56.51 12.65V16.74H55L54.81 15.71H54.77C54.64 15.91 54.5 16.08 54.34 16.23C54.18 
116.38 54 16.5 53.82 16.6C53.64 16.7 53.42 16.77 53.2 16.83C52.97 16.88 52.73 16.91 52.48 16.91ZM53.04 15.52C53.28 15.52 53.5 15.48 53.68 15.39C53.87 15.31 54.03 15.19 54.16 15.05C54.29 14.91 54.39 14.74 54.47 14.55C54.55 14.36 54.6 14.16 54.62 13.95H53.23C52.95 13.95 52.73 13.98 52.55 14.05C52.37 14.12 52.25 14.21 52.17 14.33C52.09 14.45 52.05 14.59 52.05 14.75C52.05 14.91 52.09 15.05 52.17 15.17C52.25 15.29 52.37 15.37 52.52 15.43C52.67 15.49 52.85 15.52 53.04 15.52Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M61.84 16.9201C61.48 16.9201 61.16 16.8601 60.87 16.7601C60.58 16.6601 60.3 16.5101 60.07 16.3301C59.84 16.1501 59.64 15.9201 59.47 15.6501H59.43L59.31 16.7501H57.77V7.30009H59.58V10.9901C59.79 10.7001 60.09 10.4601 60.46 10.2501C60.84 10.0401 61.29 9.94009 61.81 9.94009C62.45 9.94009 63.01 10.0901 63.49 10.3901C63.97 10.6901 64.34 11.1001 64.6 11.6301C64.86 12.1601 65 12.7601 65 13.4301C65 14.1001 64.87 14.7001 64.6 15.2301C64.34 15.7601 63.97 16.1701 63.49 16.4701C63.02 16.7701 62.47 16.9201 61.84 16.9201ZM61.35 15.4101C61.72 15.4101 62.04 15.3201 62.31 15.1501C62.58 14.9801 62.79 14.7501 62.94 14.4501C63.09 14.1601 63.16 13.8101 63.16 13.4201C63.16 13.0301 63.09 12.7001 62.94 12.4001C62.79 12.1101 62.58 11.8701 62.31 11.7001C62.04 11.5301 61.72 11.4501 61.35 11.4501C60.98 11.4501 60.68 11.5301 60.4 11.7001C60.12 11.8701 59.91 12.1001 59.76 12.4001C59.61 12.6901 59.53 13.0401 59.53 13.4301C59.53 13.8201 59.61 14.1601 59.76 14.4601C59.91 14.7601 60.13 14.9901 60.4 15.1601C60.68 15.3301 60.99 15.4101 61.35 15.4101Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M66.0801 16.75V7.3H67.8901V16.75H66.0801Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M72.45 16.91C71.77 16.91 71.17 16.77 70.65 16.48C70.13 16.19 69.72 15.79 69.42 15.27C69.13 14.75 68.98 14.16 68.98 13.49C68.98 12.82 69.13 12.18 69.42 11.65C69.71 11.12 70.12 10.7 70.64 10.4C71.16 10.1 71.77 9.93999 72.47 9.93999C73.13 9.93999 73.71 10.08 74.21 10.37C74.71 10.66 75.1 11.05 75.39 11.54C75.68 12.04 75.82 12.6 75.82 13.22V13.52C75.82 13.63 75.82 13.75 75.79 13.86H70.27V12.75H73.98C73.95 12.33 73.8 11.99 73.52 11.74C73.24 11.49 72.89 11.36 72.47 11.36C72.16 11.36 71.87 11.43 71.61 11.57C71.35 11.71 71.15 11.92 70.99 12.2C70.84 12.48 70.76 12.84 70.76 13.27V13.66C70.76 14.03 70.83 14.34 70.97 14.6C71.11 14.86 71.31 15.07 71.57 15.21C71.82 15.35 72.11 15.42 72.43 15.42C72.75 15.42 73.04 15.35 73.26 15.2C73.48 15.05 73.65 14.86 73.77 14.63H75.62C75.49 15.05 75.27 15.43 74.98 15.78C74.69 16.12 74.32 16.4 73.89 16.6C73.46 16.8 72.99 16.91 72.45 16.91Z",fill:"#141B4D"}),(0,m.jsx)("path",{d:"M86.3301 16.75V7.37H87.8201L92.4201 15.35H92.4601V7.37H93.5901V16.75H92.1001L87.5001 8.76999H87.4601V16.75H86.3301Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M97.98 16.9099C97.35 16.9099 96.78 16.7599 96.29 16.4699C95.8 16.1799 95.41 15.7699 95.13 15.2499C94.85 14.7299 94.71 14.1199 94.71 13.4199C94.71 12.7199 94.85 12.0999 95.13 11.5799C95.41 11.0599 95.79 10.6599 96.29 10.3699C96.79 10.0799 97.36 9.92989 98.01 9.92989C98.66 9.92989 99.22 10.0799 99.69 10.3699C100.16 10.6599 100.51 11.0399 100.76 11.5099C101.01 11.9799 101.14 12.4899 101.14 13.0399V13.3299C101.14 13.4299 101.14 13.5499 101.13 13.6699H95.57V12.7999H100.03C100 12.1699 99.8 11.6899 99.42 11.3399C99.04 10.9899 98.56 10.8199 97.99 10.8199C97.61 10.8199 97.25 10.8999 96.92 11.0699C96.59 11.2399 96.32 11.4899 96.12 11.8299C95.92 12.1699 95.82 12.5899 95.82 13.0999V13.4799C95.82 14.0299 95.92 14.4899 96.13 14.8599C96.34 15.2299 96.61 15.4999 96.94 15.6799C97.28 15.8599 97.63 15.9599 97.99 15.9599C98.45 15.9599 98.84 15.8499 99.16 15.6399C99.47 15.4299 99.7 15.1299 99.84 14.7499H100.95C100.83 15.1599 100.64 15.5299 100.37 15.8499C100.1 16.1699 99.77 16.4299 99.37 16.6099C98.97 16.7999 98.51 16.9099 97.98 16.9099Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M103.28 16.75L101.44 10.1H102.57L104 15.69H103.96L105.47 10.1H106.85L108.39 15.69H108.35L109.76 10.1H110.9L109.02 16.75H107.69L106.14 11.04H106.17L104.6 16.75H103.27H103.28Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M115.39 16.91C115.03 16.91 114.69 16.86 114.37 16.75C114.05 16.64 113.76 16.49 113.49 16.28C113.23 16.07 113.01 15.82 112.83 15.52H112.79L112.68 16.75H111.72V7.3H112.85V11.2C113.06 10.88 113.37 10.59 113.77 10.33C114.17 10.07 114.68 9.94 115.29 9.94C115.99 9.94 116.58 10.09 117.07 10.4C117.56 10.71 117.93 11.13 118.19 11.65C118.45 12.18 118.58 12.77 118.58 13.42C118.58 14.07 118.45 14.67 118.19 15.2C117.93 15.72 117.56 16.14 117.09 16.45C116.62 16.76 116.05 16.91 115.4 16.91H115.39ZM115.16 15.93C115.62 15.93 116.02 15.83 116.36 15.62C116.7 15.41 116.97 15.12 117.15 14.74C117.33 14.36 117.42 13.93 117.42 13.43C117.42 12.93 11
17.33 12.49 117.15 12.12C116.97 11.74 116.7 11.45 116.36 11.24C116.02 11.03 115.62 10.92 115.16 10.92C114.7 10.92 114.29 11.03 113.95 11.24C113.61 11.45 113.34 11.74 113.15 12.12C112.96 12.5 112.87 12.93 112.87 13.43C112.87 13.93 112.96 14.37 113.15 14.74C113.34 15.12 113.6 15.41 113.95 15.62C114.29 15.83 114.7 15.93 115.16 15.93Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M122.71 16.91C122.08 16.91 121.52 16.77 121.02 16.48C120.52 16.19 120.12 15.79 119.83 15.27C119.54 14.75 119.39 14.13 119.39 13.43C119.39 12.73 119.54 12.11 119.83 11.59C120.12 11.07 120.52 10.66 121.03 10.38C121.54 10.1 122.1 9.95 122.73 9.95C123.36 9.95 123.92 10.09 124.42 10.38C124.92 10.67 125.32 11.07 125.61 11.59C125.9 12.11 126.05 12.73 126.05 13.43C126.05 14.13 125.9 14.75 125.61 15.27C125.32 15.79 124.92 16.2 124.41 16.48C123.9 16.76 123.34 16.91 122.71 16.91ZM122.71 16.01C123.09 16.01 123.45 15.91 123.78 15.72C124.11 15.53 124.38 15.24 124.58 14.86C124.79 14.48 124.89 14 124.89 13.42C124.89 12.84 124.79 12.36 124.59 11.97C124.39 11.59 124.12 11.3 123.79 11.11C123.46 10.92 123.11 10.83 122.73 10.83C122.35 10.83 122 10.92 121.66 11.11C121.32 11.3 121.05 11.58 120.85 11.97C120.64 12.35 120.54 12.84 120.54 13.42C120.54 14 120.64 14.48 120.85 14.86C121.06 15.24 121.32 15.53 121.65 15.72C121.98 15.91 122.33 16.01 122.7 16.01H122.71Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M130.19 16.91C129.56 16.91 129 16.77 128.5 16.48C128 16.19 127.6 15.79 127.31 15.27C127.02 14.75 126.87 14.13 126.87 13.43C126.87 12.73 127.02 12.11 127.31 11.59C127.61 11.07 128.01 10.66 128.51 10.38C129.01 10.1 129.58 9.95 130.21 9.95C130.84 9.95 131.4 10.09 131.9 10.38C132.4 10.67 132.8 11.07 133.09 11.59C133.38 12.11 133.53 12.73 133.53 13.43C133.53 14.13 133.38 14.75 133.09 15.27C132.8 15.79 132.39 16.2 131.89 16.48C131.38 16.77 130.82 16.91 130.19 16.91ZM130.19 16.01C130.57 16.01 130.93 15.91 131.26 15.72C131.59 15.53 131.86 15.24 132.06 14.86C132.27 14.48 132.37 14 132.37 13.42C132.37 12.84 132.27 12.36 132.07 11.97C131.87 11.59 131.6 11.3 131.27 11.11C130.94 10.92 130.59 10.83 130.21 10.83C129.83 10.83 129.48 10.92 129.14 11.11C128.8 11.3 128.53 11.58 128.33 11.97C128.12 12.35 128.02 12.84 128.02 13.42C128.02 14 128.12 14.48 128.33 14.86C128.54 15.24 128.8 15.53 129.13 15.72C129.46 15.91 129.81 16.01 130.18 16.01H130.19Z",fill:"#009CB6"}),(0,m.jsx)("path",{d:"M134.63 16.75V7.3H135.76V16.75H134.63ZM138.8 16.75L135.57 13.09L138.48 10.1H139.86L136.54 13.49V12.69L140.24 16.75H138.81H138.8Z",fill:"#009CB6"}),(0,m.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M81.11 21.26V3.23H81.41V21.26H81.11Z",fill:"#141B4D"})]}),(0,m.jsx)("defs",{children:(0,m.jsx)("clipPath",{id:"clip0_5056_1318",children:(0,m.jsx)("rect",{width:"140.23",height:"24.51",fill:"white"})})})]});var b=s(5727),v=s(3999);const w=e=>{switch(e){case"critical":return"error";case"warning":return"warning";case"information":return"info";case"success":return"success";case"neutral":return}},k=(0,C.L)((()=>Promise.all([s.e(315),s.e(376),s.e(614)]).then(s.bind(s,7614)))),H=(0,C.L)((()=>Promise.all([s.e(189),s.e(315),s.e(951),s.e(336),s.e(916)]).then(s.bind(s,7916)))),N=(0,C.L)((()=>Promise.all([s.e(189),s.e(951),s.e(363)]).then(s.bind(s,7363)))),L=(0,C.L)((()=>s.e(236).then(s.bind(s,3236)))),M=(0,C.L)((()=>s.e(558).then(s.bind(s,4558)))),P=()=>{const e=(0,c.R5)((e=>e.toggleShowMap)),t=(0,c.R5)((e=>e.showMap)),s=(0,c.y3)((e=>e.view)),C=(0,c.PI)((e=>e.dates)),u=(0,c.PI)((e=>e.availableOnly)),x=(0,c.PI)((e=>e.petFriendly)),f=(0,c.PI)((e=>e.accessibility)),P=(0,c.PI)((e=>e.categoryType)),A=(0,c.PI)((e=>e.parkFeatures)),S=(0,c.PI)((e=>e.location)),V=(0,c.PI)((e=>e.guests)),B=(0,c.Dr)((e=>e.sortBy)),I=(0,c.BH)((e=>e.updateResults)),F=(0,c.R5)((e=>e.movementSearch)),Z=(0,c.BH)((e=>e.resultsInBounds)),{isLoading:T,isPending:O,error:R,data:E}=(0,n.I)({queryKey:["parkResults",C.from,C.to],queryFn:()=>(0,d.GO)(newbookCRS.restUrl+"crs/?available_from="+C.from+"&available_to="+C.to)}),{isLoading:D,error:_,data:q}=(0,n.I)({queryKey:["crsNotification"],queryFn:()=>(0,d.GO)(newbookCRS.restUrl+"crs_notifications/")}),z=(0,o.useMediaQuery)({maxWidth:768}),W="parks"===s?"nbtcrs-results-grid":"",X=(0,i.useRef)(null),{data:U}=(0,n.I)({queryKey:["crsOptions"],queryFn:()=>(0,d.GO)(newbookCRS.restUrl+"crs_options/")}),G=(0,i.useMemo)((()=>
1{if(T||!E)return[];let e=E;var t;return t=e,e=u&&void 0!==t?t.filter((e=>e.sitesAvailable>0)):t,e=((e,t)=>!0===t&&void 0!==e?e.filter((e=>e.petFriendly)):e)(e,x),e=((e,t)=>e&&e.length>0&&!0===t?e.filter((e=>e.accessible)):e)(e,f),e=((e,t)=>t.length>0&&void 0!==e?e.filter((e=>e.categoryTypes.find((e=>t.includes(e.id))))):e)(e,P),e=((e,t)=>{if(null!==t&&void 0!==e&&t.length>0){const s=t.every((e=>"string"==typeof e&&!isNaN(Number(e))))?t.map((e=>Number(e))):t,i=[],a=(e,t)=>t.every((t=>e.includes(t)));for(const t of e)a((t.parkFeatures||[]).map((e=>e.id)),s)&&i.push(t);return(e=>e.filter(((e,t,s)=>t===s.findIndex((t=>t.id===e.id)))))(i)}return e})(e,A),e=((e,t)=>null!==t.slug&&"currentLocation"!==t.slug&&void 0!==e?e.filter((e=>t.slug===e.location.state.slug||t.slug===e.slug||t.slug===e.location.city.slug||t.slug===e.location.country.slug||t.slug===e.location.region?.slug)):e)(e,S),e=((e,t)=>void 0===e||"park-name"===t||"featured"===t?e:"price-low-high"===t?[...e].sort(((e,t)=>e.lowestPrice-t.lowestPrice)):"price-high-low"===t?[...e].sort(((e,t)=>t.lowestPrice-e.lowestPrice)):e)(e,B),e}),[T,E,u,x,f,P,A,S,B]);(0,i.useEffect)((()=>{T||I(G)}),[G,T,I]);const Y=F?G.filter((e=>Z.includes(e.id))):G;return(0,i.useEffect)((()=>{if(!z){if(!X.current)return;const e=new ResizeObserver((()=>{document.body.style.setProperty("--filters-height",`${X.current?.offsetHeight}px`)}));return e.observe(X.current),()=>e.disconnect()}}),[]),(0,i.useEffect)((()=>{((e,t)=>
1{const s={...null!==e.location.slug&&{location:e.location.slug},...e.dates.from!==(0,b.GP)((0,v.f)(new Date,1),"yyyy-MM-dd")&&{available_from:e.dates.from},...e.dates.to!==(0,b.GP)((0,v.f)(new Date,2),"yyyy-MM-dd")&&{available_to:e.dates.to},...2!==e.guests.adults&&{adults:e.guests.adults},...0!==e.guests.children&&{children:e.guests.children},...0!==e.guests.infants&&{infants:e.guests.infants},...0!==e.guests.pets&&{animals:e.guests.pets},...e.categoryType.length>0&&{accommodation:JSON.stringify(e.categoryType)},...e.parkFeatures.length>0&&{parkFeatures:JSON.stringify(e.parkFeatures)},...e.petFriendly&&{petFriendly:e.petFriendly},...e.availableOnly&&{availableOnly:e.availableOnly},...e.accessibility&&{accessibility:e.accessibility},..."accommodation"===t&&{view:t}},i=Object.fromEntries(Object.entries(s).map((([e,t])=>[e,String(t)]))),a=new URLSearchParams(i),r=a.size>0?newbookCRS.baseUrl+"?"+a.toString():newbookCRS.baseUrl;window.history.replaceState("","",r)})({location:S,dates:C,guests:V,categoryType:P,parkFeatures:A,availableOnly:u,petFriendly:x,accessibility:f},s)}),[S,C,V,P,A,u,x,f,s]),(0,m.jsxs)(m.Fragment,{children:[z?"":(0,m.jsxs)("div",{id:"nbtscrs-filters",className:"nbtcrs-filters"+(t&&"accommodation"!==s?"":" nbtcrs-filters-full"),ref:X,children:[!!U?.showCategories&&(0,m.jsx)("div",{children:(0,m.jsx)(g.default,{})}),(0,m.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(k,{})}),(0,m.jsx)("div",{className:"flex flex-row gap-2",children:(0,m.jsx)(p.default,{})}),!!U?.enableMap&&"parks"===s&&(0,m.jsxs)(h.A,{buttonType:"secondary",onClick:()=>e(!t),children:[(0,m.jsx)(l.A,{}),t?"Hide Map":"Show Map"]})]})]}),(0,m.jsx)("div",{className:"nbtcrs-results-side",children:(0,m.jsxs)("div",{className:"nbtcrs-results-scroll",children:[!_&&!D&&!z&&!1!==q?.notification&&void 0!==q?.notification&&(0,m.jsx)("div",{children:(0,m.jsxs)(a.Bm,{status:w(q.notification.notificationType),children:[!!q.notification.notificationHeading&&(0,m.jsx)(a.XL,{children:q.notification.notificationHeading}),(0,m.jsx)(a.TN,{children:q.notification.notificationContent})]})}),(0,m.jsxs)("div",{className:"flex flex-row justify-between",children:[!!T&&(0,m.jsxs)("div",{className:"flex flex-row items-center text-sm gap-2",role:"status",children:[(0,m.jsx)(r.y,{size:"sm"}),(0,m.jsx)("span",{children:"Loading availability"}),(0,m.jsx)("span",{className:"sr-only",children:"Loading…"})]}),!T&&(0,m.jsxs)("div",{className:"flex flex-row items-center text-sm",children:[Y?.length," parks available"]}),z?(0,m.jsx)("div",{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(M,{})})}):(0,m.jsx)("div",{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(L,{})})})]}),(0,m.jsxs)("div",{className:"pb-20 md:pt-0 md:pb-0 flex flex-col flex-grow",children:[!_&&!D&&!!z&&!1!==q?.notification&&void 0!==q?.notification&&(0,m.jsx)(i.Suspense,{children:(0,m.jsxs)(a.Bm,{status:w(q.notification.notificationType),className:"mb-4",children:[!!q.notification.notificationHeading&&(0,m.jsx)(a.XL,{children:q.notification.notificationHeading}),(0,m.jsx)(a.TN,{children:q.notification.notificationContent})]})}),(0,m.jsx)("div",{className:"flex-grow",children:(0,m.jsxs)("div",{className:W,id:"park-listing",children:[!(!T&&!O)&&(0,m.jsx)(y,{type:s}),"parks"===s?!R&&!T&&(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(H,{data:Y})}):!R&&!T&&(0,m.jsx)(i.Suspense,{fallback:(0,m.jsx)(y,{type:s}),children:(0,m.jsx)(N,{data:Y})}),0===Y?.length&&!T&&(0,m.jsx)("div",{children:"No results, try changing some filters"}),!!R&&!T&&(0,m.jsx)(a.Bm,{status:"error",children:(0,m.jsxs)(a.TN,{children:["An error has occurred: ",R.message]})})]})}),!T&&!R&&(0,m.jsxs)("div",{className:"nbtcrs-powered-by",children:["Powered by"," ",(0,m.jsxs)("a",{href:"https://www.newbook.cloud/",title:"Connected Hospitality Management Solution",target:"_blank",rel:"noreferrer",children:[" ",(0,m.jsx)(j,{})]})]})]})]})})]})}},3026:(e,t,s)=>{s.d(t,{Bm:()=>x,TN:()=>m,XL:()=>f});var i=s(790),a=s(1609),r=s(6560),l=s(9150),n=s(5629),o=s(1051);const[c,d]=(0,r.q)({name:"AlertStatusContext",hookName:"useAlertStatusContext",providerName:"<Alert />"}),{withProvider:C,withContext:h,useStyles:p,PropsProvider:u}=(0,l.c)({key:"alert"}),x=C("div","root",{forwardAsChild:!0,wrapElement:(e,t)=>
1(0,i.jsx)(c,{value:{status:t.status||"info"},children:e})}),f=h("div","title"),m=h("div","description"),y=(h("div","content"),{info:o.mo,warning:o.id,success:o.C1,error:o.id,neutral:o.mo});(0,a.forwardRef)((function(e,t){const s=d(),r=p(),l="string"==typeof s.status?y[s.status]:a.Fragment,{children:o=(0,i.jsx)(l,{}),...c}=e;return(0,i.jsx)(n.B.span,{ref:t,...c,css:[r.indicator,e.css],children:o})}))},3176:(e,t,s)=>{s.d(t,{L:()=>r,f:()=>a});const i=newbookCRS.filtersToShow,a=[{label:"Availability",slug:"availability",description:"Only show accommodation with availability",type:"boolean",active:i.availability,options:null},{label:"Pets",slug:"pets",description:"Only show accommodation that is pet friendly",type:"boolean",active:i.petFriendly,options:null},{label:"Accessibility",slug:"accessibility",description:"Only show parks that are accessible",type:"boolean",active:i.accessible,options:null},{label:"Accommodation",slug:"accommodation",description:"Only show parks",type:"multiselect",active:i.categoryTypes,options:{}},{label:"Park features",slug:"park-features",description:"Only show parks with these features",type:"multiselect",active:i.parkFeatures,options:{}}],r=e=>{switch(e){case"accommodation":return"categories_types_list";case"equipment":return"equipment_types_list";case"park-features":return"instance_features"}}},3725:(e,t,s)=>{s.d(t,{A:()=>n});var i=s(8261),a=s(7967),r=s(1629),l=s(790);const n=()=>(0,l.jsxs)(r.P.div,{className:"nbtcrs-category-card flex-col md:flex-row",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},style:{"--border-radius-default":"var(--nb-button-shape-alt)"},children:[(0,l.jsx)("div",{className:"nbtcrs-photo",children:(0,l.jsx)(i.EA,{height:"208px",width:"100%"})}),(0,l.jsxs)(a.B,{flex:"1",gap:"2",children:[(0,l.jsx)(i.EA,{height:"5",width:"60%"}),(0,l.jsx)(i.EA,{height:"4",width:"80%"}),(0,l.jsx)(i.EA,{height:"4",width:"90%"}),(0,l.jsx)(i.EA,{height:"4",width:"70%"}),(0,l.jsx)(i.EA,{height:"5",width:"40%"})]})]})},6043:(e,t,s)=>{s.d(t,{A:()=>i});const i=(0,s(9407).A)("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]])},6069:(e,t,s)=>{s.d(t,{A:()=>i});const i=(0,s(9407).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},7967:(e,t,s)=>{s.d(t,{B:()=>o});var i=s(790),a=s(1609),r=s(5629),l=s(5815),n=s(5337);const o=(0,a.forwardRef)((function(e,t){const{direction:s="column",align:o,justify:c,gap:d="0.5rem",wrap:C,children:h,separator:p,className:u,...x}=e,f=(0,a.useMemo)((()=>function(e){const{gap:t,direction:s}=e,i={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":(0,n.s)(s,(e=>i[e]))}}({gap:d,direction:s})),[d,s]),m=(0,a.useMemo)((()=>(0,a.isValidElement)(p)?function(e){return a.Children.toArray(e).filter((e=>(0,a.isValidElement)(e)))}(h).map(((e,t,s)=>
1{const r=void 0!==e.key?e.key:t,l=p,n=(0,a.cloneElement)(l,{css:[f,l.props.css]});return(0,i.jsxs)(a.Fragment,{children:[e,t===s.length-1?null:n]},r)})):h),[h,p,f]);return(0,i.jsx)(r.B.div,{ref:t,display:"flex",alignItems:o,justifyContent:c,flexDirection:s,flexWrap:C,gap:p?void 0:d,className:(0,l.cx)("chakra-stack",u),...x,children:m})}));o.displayName="Stack"},8261:(e,t,s)=>{s.d(t,{EA:()=>h});var i=s(790),a=s(1609),r=s(71);const l=(0,s(5629).B)("div");l.displayName="Box";const n=(0,a.forwardRef)((function(e,t){const{size:s,...a}=e;return(0,i.jsx)(l,{...a,ref:t,boxSize:s,css:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,flexGrow:0,...e.css}})}));n.displayName="Square";const o=(0,a.forwardRef)((function(e,t){const{size:s,...a}=e;return(0,i.jsx)(n,{size:s,ref:t,borderRadius:"9999px",...a})}));o.displayName="Circle";var c=s(7967);const{withContext:d,PropsProvider:C}=(0,r.a)({key:"skeleton"}),h=d("div");h.displayName="Skeleton",a.forwardRef((function(e,t){const{size:s,...a}=e;return(0,i.jsx)(o,{size:s,asChild:!0,ref:t,children:(0,i.jsx)(h,{...a})})})).displayName="SkeletonCircle",a.forwardRef((function(e,t){const{loading:s=!0,noOfLines:a=3,gap:r,rootProps:l,...n}=e;return(0,i.jsx)(c.B,{gap:r,width:"full",ref:t,...l,children:Array.from({length:s?a:1}).map(((e,t)=>(0,i.jsx)(h,{loading:s,height:s?"4":void 0,maxW:s?t===a-1&&a>1?"80%":"100%":void 0,...n},t)))})})).displayName="SkeletonText"}}]);

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.