1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8013],{1824:(e,t,l)=>{l.d(t,{A:()=>m});var r=l(54568),n=l(7620),a=l(28977),s=l(71119),i=l(34964),o=l(87544),c=l(29431),d=l(7441),u=l(61902),x=l(32746);let m=e=>{let{locations:t,title:l,ctaLink:m,ctaTitle:p,showTooltipPromotedLocations:h}=e,{lang:g}=(0,a.o)(),f=window.location.origin,v=(0,n.useMemo)(()=>{if(t)return t.map(e=>{var t,l;let r=e.filters.rating||e.filters.numberOfReviews?{"@type":"AggregateRating",...e.filters.rating?{ratingValue:String(e.filters.rating)}:{},...e.filters.numberOfReviews?{reviewCount:e.filters.numberOfReviews}:{},bestRating:"5",worstRating:"1"}:void 0,n={"@type":"Campground",name:e.title,url:"".concat(f,"/").concat(g).concat(e.permalink),address:{"@type":"PostalAddress",addressLocality:"-",addressRegion:"-",postalCode:"-",streetAddress:"-"},geo:{"@type":"GeoCoordinates",latitude:null==(t=e.location)?void 0:t.lat,longitude:null==(l=e.location)?void 0:l.lon},...e.thumbnail?{image:["".concat(e.thumbnail,"?width=1250")]}:{},...r?{aggregateRating:r}:{}};return n.id=e.permalink,n})},[g,t,f]);return(0,o.WT)(v),(0,r.jsxs)("div",{className:"overflow-hidden",children:[(0,r.jsx)(x.A,{variant:"paywall_favourites"}),(0,r.jsxs)("section",{className:"mx-auto flex flex-col gap-6 px-4 xl:container lg:px-8 2xl:px-0",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[l&&(0,r.jsx)(d.DZ,{as:"h2",size:"xl",children:l}),p&&m&&(0,r.jsx)(s.N,{href:m,className:"hidden md:block",children:(0,r.jsx)(d.EY,{weight:"semibold",className:"underline hover:no-underline",children:p})})]}),(0,r.jsx)("div",{className:"no-scrollbar -mx-4 flex snap-x snap-mandatory gap-4 overflow-x-scroll pl-4 pr-4 [scroll-padding-left:1rem] lg:-mx-8 lg:pl-8 lg:pr-8 lg:[scroll-padding-left:2rem] xl:mx-0 xl:gap-[30px] xl:pl-0 xl:pr-0 xl:[scroll-padding-left:0px]",children:t?t.map(e=>(0,r.jsx)("div",{className:"w-[calc(80%-3.2px)] shrink-0 snap-start md:w-[calc(47%-8.5px)] lg:w-[calc(32%-11px)] xl:w-[calc(25%-22.5px)]",children:(0,r.jsx)(i.A,{location:e,type:i.G.highlight,isPromoted:h&&e.subscriptionLevel>=c.mq.PREMIUM.level})},e.id)):Array.from({length:4}).map((e,t)=>(0,r.jsx)("div",{className:"w-[calc(80%-3.2px)] shrink-0 snap-start md:w-[calc(47%-8.5px)] lg:w-[calc(32%-11px)] xl:w-[calc(25%-22.5px)]",children:(0,r.jsx)(u.D,{})},t))}),m&&p&&(0,r.jsx)(d.vx,{center:!0,variant:"secondary",href:m,className:"md:hidden",children:p})]})]})}},6840:(e,t,l)=>{l.d(t,{R2:()=>m,Jp:()=>p,SB:()=>h,yx:()=>s,CQ:()=>n,w9:()=>a,tN:()=>d,LO:()=>c,Fo:()=>u,XX:()=>x,yY:()=>i,iO:()=>o});var r=l(12551);let n=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({url:"/search/nearby",...e})},a=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({url:"/search/popular",...e})},s=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({url:"/search/bookable",...e})},i=e=>{var t;return(null!=(t=e.client)?t:r.S).get({url:"/search/suggestions",...e})},o=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({url:"/search/suggestions/locations",...e})},c=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({querySerializer:{array:{explode:!1,style:"form"}},url:"/search/results/map",...e})},d=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({querySerializer:{array:{explode:!1,style:"form"}},url:"/search/results/list",...e})},u=e=>{var t;return(null!=(t=null==e?void 0:e.client)?t:r.S).get({url:"/search/results/preview",...e})},x=e=>{var t;return(null!=(t=e.client)?t:r.S).get({url:"/search/results/preview/geometry",...e})},m=e=>{var t;return(null!=(t=e.client)?t:r.S).get({url:"/search/address/details",...e})},p=e=>{var t;return(null!=(t=e.client)?t:r.S).get({url:"/search/address/geocode",...e})},h=e=>{var t;return(null!=(t=e.client)?t:r.S).get({url:"/search/address/suggestions",...e})}},7441:(e,t,l)=>{l.d(t,{DZ:()=>n.D,EY:()=>a.E,vx:()=>r.v});var r=l(86987),n=l(63933),a=l(58533)},12551:(e,t,l)=>{l.d(t,{S:()=>a});var r=l(69839),n=l(40459);let a=(0,r.UU)({...(0,r.Z3)({baseUrl:"http://localhost:8080"}),baseUrl:n.env.NEXT_PUBLIC_SEARCH_PROXY_BASE_URL})},21502:(e,t,l)=>{l.d(t,{I:()=>n});let r=["microcamping","parking"],n=function(e){let t=r.filter(t=>e[t]);return 0===t.length?{}:{"x-feature-flags":t.join(",")}}({microcamping:!0,parking:"true"===l(40459).env.PARKING_ENABLED})},21804:(e,t,l)=>{l.d(t,{A:()=>a});var r=l(54568),n=l(96130);let a=e=>{let{children:t,className:l,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex w-full items-center before:inline-block before:h-[1px] before:w-full before:bg-neutral90",{children:"before:mr-2 after:ml-2 after:inline-block after:h-[1px] after:w-full after:bg-neutral90"},l),...a,children:t})}},22800:(e,t,l)=>{l.d(t,{P:()=>d});var r=l(54568),n=l(7620),a=l(74160),s=l(67351),i=l(48691),o=l(71299),c=l(17223);function d(e){let{open:t,onOpenChange:l,title:d,options:u,onConfirm:x,description:m,confirmLabel:p,cancelLabel:h,confirmVariant:g="danger",freeTextOption:f,freeTextPlaceholder:v,maxFreeTextLength:b=500}=e,{formatMessage:j}=(0,a.tz)(),w=(0,n.useId)(),y=null!=m?m:j("reason-select.description"),N=null!=p?p:j("general.button.confirm"),_=null!=h?h:j("general.button.cancel"),[C,S]=(0,n.use
1State)(void 0),[E,k]=(0,n.useState)(""),[L,D]=(0,n.useState)(!1),z=void 0!==f&&C===f,R=z&&0===E.trim().length;(0,n.useEffect)(()=>{t||(S(void 0),k(""))},[t]);let A=async()=>{if(C&&!R){D(!0);try{await x(C,z?E.trim():void 0),l(!1)}catch(e){}finally{D(!1)}}};return(0,r.jsx)(i.lG,{open:t,onOpenChange:l,children:(0,r.jsxs)(i.Cf,{className:"p-6 sm:max-w-[425px]",children:[(0,r.jsxs)(i.c7,{children:[(0,r.jsx)(i.L3,{children:d}),y&&(0,r.jsx)(i.rr,{children:y})]}),(0,r.jsx)(o.z,{value:C,onValueChange:e=>S(e),className:"mt-3 flex flex-col space-y-3",children:u.map(e=>{let t="".concat(w,"-").concat(e.value);return(0,r.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,r.jsx)(o.C,{value:e.value,id:t}),(0,r.jsx)("label",{htmlFor:t,className:"cursor-pointer text-sm font-medium leading-none",children:e.label})]},e.value)})}),z&&(0,r.jsxs)("div",{className:"relative mt-3",children:[(0,r.jsx)(c.T,{id:"".concat(w,"-free-text"),value:E,onChange:e=>k(e.target.value),placeholder:v,maxLength:b,rows:4,autoFocus:!0,className:"pb-6"}),(0,r.jsxs)("span",{className:"pointer-events-none absolute bottom-2 right-2 text-xs text-gray-500",children:[E.length,"/",b]})]}),(0,r.jsxs)(i.Es,{className:"mt-8 gap-3",children:[(0,r.jsx)(s.$,{type:"button",variant:"secondary",onClick:()=>l(!1),disabled:L,children:_}),(0,r.jsx)(s.$,{type:"button",variant:g,onClick:A,disabled:!C||R||L,children:N})]})]})})}d.displayName="ReasonSelectDialog"},27338:(e,t,l)=>{l.d(t,{E:()=>r.E});var r=l(21749)},30650:(e,t,l)=>{l.d(t,{AJ:()=>i,Gc:()=>d,S3:()=>a,a9:()=>n,sR:()=>o,s_:()=>s,wo:()=>c,yZ:()=>r});let r="/[lang]",n="/[lang]/content/[...generic]",a="/auth/[lang]/login",s="/auth/[lang]/forgot-password",i="/[lang]/create-account/signup",o="/[lang]/blog/[slug]",c="/[lang]/blog",d="/[lang]/[...seo_content]"},31916:(e,t,l)=>{l.d(t,{A:()=>x});var r=l(54568),n=l(7620),a=l(39109),s=l(38028),i=l(82321),o=l(69355),c=l(12254),d=l(96130),u=l(79100);let x=e=>{let{children:t,size:l="large",contentKey:x,className:m,footer:p,header:h,hideCloseButton:g=!1,onClose:f,onRequestClose:v,persisted:b=!1,closeOnClickOutside:j=!0}=e,{modalStack:w,closeModal:y,registerPersistedModal:N}=(0,u.h)();(0,n.useEffect)(()=>{b&&N(x)},[b,x,N]);let _=w.length>0&&w[w.length-1]===x,C=(0,n.useRef)(null),S=(0,n.useCallback)(()=>{if(v)return void v();f&&f(),y(x)},[v,f,y,x]);return(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&S()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[y,S]),(0,r.jsx)(o.Z,{children:(0,r.jsx)(a.N,{mode:"wait",children:_&&(0,r.jsx)(s.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:e=>{C.current&&!C.current.contains(e.target)&&j&&S()},className:(0,d.cn)("fixed inset-0 z-20 grid grid-cols-12 bg-ui-scrim",{"md:p-5 lg:p-8":"fullscreen"!==l}),children:(0,r.jsx)(s.P.div,{ref:C,initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:-50},className:(0,d.cn)("col-span-12 overflow-hidden bg-white","md:rounded-xl",{"md:col-span-8 md:col-start-3 xl:col-span-6 xl:col-start-4":"fit"===l,"md:mx-auto md:w-full md:max-w-[741px]":"medium"===l},m),children:(0,r.jsxs)("div",{className:"flex h-full flex-col",children:[(0,r.jsx)("div",{className:(0,d.cn)("px-3 py-3 md:px-5 md:py-4 lg:px-8",{"absolute inset-x-0 z-10":"fullscreen"===l}),children:(0,r.jsxs)("div",{className:"relative flex h-full min-h-11 flex-col items-center justify-between",children:[h,!g&&(0,r.jsx)("div",{className:"absolute right-0 top-0",children:(0,r.jsx)(i.a,{onClick:S,isFloating:!0,children:(0,r.jsx)(c.UI.CloseIcon,{})})})]})}),(0,r.jsx)("div",{className:(0,d.cn)("flex flex-grow flex-col justify-between overflow-y-auto",{"px-3 pb-3 md:px-5 lg:px-8":"fullscreen"!==l}),children:t}),p&&(0,r.jsx)("div",{className:"px-3 py-3 md:px-5 md:py-4 lg:px-8",children:p})]})})})})})}},32746:(e,t,l)=>{l.d(t,{A:()=>E});var r=l(54568),n=l(79100),a=l(82673),s=l(7620),i=l(55791),o=l(34403),c=l(39724),d=l(15822),u=l(28977),x=l(19664),m=l.n(x),p=l(27541),h=l(74160),g=l(39654);let f=e=>{let{CTAButtonText:t,selectedPlan:l,modalKey:a}=e,{lang:s}=(0,u.o)(),i=(0,p.useRouter)(),{formatMessage:o}=(0,h.tz)(),{isLoggedIn:c}=(0,d.A)(),x="/".concat(s,"/subscription/buypro?price_id=").concat(l,"&product_type=pro_plus"),f=c?x:"/auth/".concat(s,"/login?buypro&redirectTo=").concat(x),{closeModal:v}=(0,n.h)();return(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(g.$,{variant:"primary",className:"mb-4 bg-brand-cc-button transition-colors duration-150 disabled:bg-gray-300",onClick:()=>{v(a),i.push(f)},disabled:!l,full:!0,children:t}),!c&&(0,r.jsxs)("span",{className:"text-center text-sm",children:[o("web.paywall.login_link.already_have_pro"),(0,r.jsx)(m(),{href:"/auth/".concat(s,"/login?redirectTo=/").concat(s),onClick:()=>v(a),children:(0,r.jsx)("strong",{className:"ml-1 text-brand-cc-button",children:o("auth.login.buyPro.login")})})]})]})};var v=l(79895);let b=e=>{let{title:t,subtitle:l}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.DZ,{className:"flex select-none flex-wrap items-center gap-x-2 !text-4xl leading-relaxed",as:"h2",size:"lg",children:[t,(0,r.jsx)(v.Jj,{size:"lg"})]}),(0,r.jsx)(v.EY,{className:"mt-4 text-sm",children:l})]})};var j=l(46629),w=l(63933),y=l(58533),N=l(34269);let _=e=>{let{onChange:t,pricingOptions:l,selectedPlan:n}=e;return l?(0,r.jsx)(N.O,{rounded:!1,type:"single",className:"mt-6 grid w-full grid-cols-1 sm:grid-cols-2 sm:gap-4",value:n,onValueChange:e=>{t(e)},children:l.map((e,t)=>(0,r.jsxs)(N.d,{value:e.price_id,variant:"secondary",size:"2xl",className:"group relative flex flex-col items-start justify-start overflow-hidden p-6",children:[(0,r.jsx)("div",{className:"visible absolute inset-0 z-0 before:absolute before:inset-0 before:bg-gradient-to-r before:from-[rgba(36,78,82,0.1)] before:to-[rgba(255,255,255,0.05)] before:opacity-0 before:transition-opacity before:duration-300 before:ease-in-out before:content-[''] group-hover:before:opacity-100 group-data-[state=on]:before:opacity-100"}),(0,r.jsxs)("span",{className:"relative z-10 flex w-full justify-between",children:[(0,r.jsx)(w.D,{as:"h3",size:"md",children:e.plan_period}),e.badge_text&&(0,r.jsx)(j.E,{variant:"secondary",title:e.badge_text,className:"bg-brand-cc-pinegreen/10 px-2 font-light text-ui-secondary",children:e.badge_text})]}),e.plan_description&&(0,r.jsx)(y.E,{className:"relative z-10 -mt-2 text-ui-secondary",children:e.plan_description}),(0,r.jsx)(y.E,{className:"mt-2 text-3xl font-semibold",children:e.price_display})]},e.price_id||"option-".concat(t)))}):null};var C=l(31916);let S=e=>{let{variant:t}=e,[l,n]=(0,s.useState)(null),{data:a,isLoading:d}
1=(0,i.s)(t),[u,x]=(0,s.useState)(void 0),m=function(e){let[t,l]=(0,s.useState)(!1),r=()=>e?void 0!==e.current?e.current:e:null;return(0,s.useEffect)(()=>{let e=r();if(!e)return;let t=()=>{let{scrollHeight:t,scrollTop:r,clientHeight:n}=e;l(t-r-n<5)};return e.addEventListener("scroll",t),t(),()=>{e.removeEventListener("scroll",t)}},[r()]),t}(l);return((0,s.useEffect)(()=>{var e,t;(null==a?void 0:a.pricing_options)&&x((null==(e=a.pricing_options.find(e=>e.selected))?void 0:e.price_id)||(null==(t=a.pricing_options[0])?void 0:t.price_id)||void 0)},[null==a?void 0:a.pricing_options]),d)?(0,r.jsx)(C.A,{contentKey:t,size:"fit",children:(0,r.jsx)("div",{className:"flex h-full items-center justify-center text-brand-cc-button",children:(0,r.jsx)(o.k,{className:"size-12"})})}):a?(0,r.jsx)(C.A,{contentKey:t,size:"fit",footer:(0,r.jsx)(f,{CTAButtonText:a.footer_cta_button,selectedPlan:u,modalKey:t}),children:(0,r.jsxs)("section",{ref:n,"data-ga4":"show_".concat(t),className:"flex-1 overflow-y-auto px-2 transition-[mask-image] duration-200 ease-out ".concat(m?"[mask-image:none]":"[mask-image:linear-gradient(to_bottom,black_90%,transparent_100%)]"," "),children:[(0,r.jsx)(b,{title:a.title,subtitle:a.subtitle}),(0,r.jsx)(_,{pricingOptions:a.pricing_options,onChange:x,selectedPlan:u}),(0,r.jsx)(c.m,{features:a.features_table})]})}):(console.error("No data found for ProModal variant: ".concat(t)),null)},E=e=>{let{variant:t}=e,{modalStack:l}=(0,n.h)(),{isPro:s}=(0,a.zI)();return!l.includes(t)||s?null:(0,r.jsx)(S,{variant:t})}},34403:(e,t,l)=>{l.d(t,{k:()=>r.k});var r=l(37725)},39190:(e,t,l)=>{l.d(t,{hf:()=>S,oR:()=>j,D:()=>L,Ei:()=>k,an:()=>v,LQ:()=>D,fB:()=>E});var r=l(54568),n=l(7620),a=l(50331),s=l(74160),i=l(39205),o=l(58533),c=l(96130),d=l(38010),u=l(27473),x=l(7523);let m=e=>{let{displayName:t,photoUrl:l,createdDate:a,disableProfileLink:i=!1}=e,{locale:c,formatDate:m,formatMessage:p}=(0,s.tz)(),h=i?n.Fragment:x.N,g=i?o.E:x.N;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(h,{href:"/".concat(c,"/users/").concat(t),className:"no-underline",children:(0,r.jsx)(u.e,{label:t,imageSrc:l?"".concat(l,"?width=293"):void 0})}),(0,r.jsxs)("span",{children:[(0,r.jsx)(g,{href:"/".concat(c,"/users/").concat(t),className:"text-ui-text-primary no-underline",children:t}),a&&(0,r.jsx)(o.E,{size:"sm",color:"secondary",children:(e=>{let t=new Date,l=(0,d.H)(e).getTime(),r=Math.floor((t.getTime()-l)/864e5);if(0===r)return p("general.today");if(1===r)return p("general.yesterday");if(r>1&&r<7)return p("general.days-ago",{number:r});{if(!(r>=7)||!(r<21))return m(l,{year:"numeric",month:"short"});let e=Math.floor(r/7);return 1===e?p("general.week-ago",{number:e}):p("general.weeks-ago",{number:e})}})(a)})]})]})};var p=l(6803),h=l(12254);let g=()=>{let{formatMessage:e}=(0,s.tz)();return(0,r.jsx)(p.Bc,{delayDuration:0,children:(0,r.jsxs)(p.m_,{children:[(0,r.jsx)(p.k$,{onClick:e=>{e.preventDefault(),e.stopPropagation()},children:(0,r.jsxs)(p.Ex,{variant:"subtle",size:"xs",className:"flex items-center gap-1 pl-1.5 pr-2",children:[(0,r.jsx)(h.UI.PinIconThin,{size:"xxxs",color:"primaryVariant"}),(0,r.jsx)("span",{children:e("locations.spotlight.title")})]})}),(0,r.jsx)(p.ZI,{className:"z-20 max-w-72",children:e("pois.reviews.pinned.tooltip")})]})})}
1,f=(0,a.tv)({base:"rounded-br-card flex flex-col gap-4 rounded-bl-xl rounded-tr-xl bg-white p-5",variants:{type:{inline:"font-sans text-base font-semibold",floating:"shadow-card"}},defaultVariants:{type:"floating"}}),v=e=>{var t;let{review:l,disableProfileLink:a=!1,isPreview:d=!1,language:u="en",children:x,onShowMore:p,...h}=e,v=(0,n.useRef)(null),{formatMessage:b}=(0,s.tz)(),[j,w]=(0,n.useState)(!1),[y,N]=(0,n.useState)(!1),_=(0,n.useCallback)(()=>{p&&p()},[p]),C=(0,n.useMemo)(()=>{var e;return u!==(null==(e=l.originalLocale)?void 0:e.toLowerCase())},[u,l.originalLocale]),S=(0,n.useCallback)(()=>{N(!y)},[y]);return(0,n.useEffect)(()=>{let e=v.current;e&&(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth?w(!0):w(!1))},[l.text]),(0,r.jsxs)("div",{className:(0,c.cn)(f(h)),children:[(0,r.jsx)(m,{displayName:l.user.displayName,photoUrl:null==(t=l.user.profilePhoto)?void 0:t.url,createdDate:l.created,disableProfileLink:a}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[l.rating?(0,r.jsx)(i.G,{rating:l.rating}):null,l.isPinned&&(0,r.jsx)(g,{})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{ref:v,className:(0,c.cn)((0,o.U)(),{"line-clamp-5":d}),children:y?l.originalText:l.text}),d&&j&&p&&(0,r.jsx)("button",{className:"underline hover:no-underline",onClick:_,children:(0,r.jsx)(o.E,{weight:"semibold",children:b("review.content.showMore")})})]}),C&&(0,r.jsxs)("button",{className:"flex gap-1",onClick:S,children:[(0,r.jsx)(o.E,{color:"secondary",size:"footnote",children:b(y?"poi.details.reviews.show-in-my-language":"poi.details.reviews.translated-by-google")}),(0,r.jsx)(o.E,{color:"secondary",size:"footnote",weight:"medium",className:"underline",children:y?"":b("poi.details.reviews.show-original")})]}),x]})};var b=l(97573);let j=e=>{let{metaData:t,showCount:l=!1}=e,n=Object.entries(t.ratings).reverse();return(0,r.jsx)("div",{className:"w-full",children:n.map((e,n)=>{let[a,s]=e;return(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(b.E,{size:"footnote",weight:"medium",className:"w-[1ch] text-center tabular-nums",children:5-n}),(0,r.jsx)("div",{className:"bg-neutral80 h-1 flex-1 overflow-hidden rounded-2xl",children:(0,r.jsx)("div",{className:"bg-brand-cc-green-a11y h-full",style:{width:"".concat(t.count?s/t.count*100:0,"%")}})}),l&&(0,r.jsx)(b.E,{size:"footnote",color:"secondary",className:"min-w-[2ch] text-right tabular-nums",children:s})]})},a)})})};var w=l(87951);let y=[1,2,3,4,5],N=y.length,_="#18A95D",C=e=>{let{filled:t=!0,size:l=16}=e;return t?(0,r.jsx)("svg",{width:l,height:l,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"pointer-events-none",children:(0,r.jsx)("path",{fill:_,fillRule:"evenodd",d:"M8 0l2.553 5.447H16l-4 4.17L13.617 16 8 12.766 2.383 16 4 9.617l-4-4.17h5.447z"})}):(0,r.jsx)("svg",{width:l,height:l,viewBox:"0.6 0.6 14.9 14.9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"pointer-events-none",children:(0,r.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,r.jsx)("path",{d:"M8 1.178L5.765 5.947H1.172l3.38 3.524-1.394 5.506L8 12.189l4.842 2.788-1.395-5.506 3.38-3.524h-4.592L8 1.178z",stroke:_})})})},S=e=>{let{label:t,value:l,starSize:n=16}=e;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(b.E,{children:t}),(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(C,{size:n}),(0,r.jsx)(b.E,{children:l})]})]})},E=e=>{let{onRate:t,label:l,initialRating:a=0,showLabel:i=!0,size:o=48,className:c}=e,{formatMessage:d}=(0,s.tz)(),[u,x]=(0,n.useState)(a),[m,p]=(0,n.useState)(null),h=(0,n.useRef)(null),g=null!=m?m:u,f=(0,n.useCallback)(e=>{x(e),t(e)},[t]),v=(0,n.useCallback)(e=>{let t=h.current;if(!t)return null;let{left:l,width:r}=t.getBoundingClientRect();return 0===r?null:Math.min(N,Math.max(1,Math.ceil(Math.min(r,Math.max(0,e-l))/r*N)))},[]),j=(0,n.useCallback)(e=>{e.currentTarget.setPointerCapture(e.pointerId),p(v(e.clientX))},[v]),w=(0,n.useCallback)(e=>{null!==m&&p(v(e.clientX))},[m,v]),_=(0,n.useCallback)(e=>{let t=v(e.clientX);null!==t&&f(t),p(null)},[f,v]),S=(0,n.useCallback)(e=>{let t=g||1;switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),f(Math.min(N,t+1));break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),f(Math.max(1,t-1));break;case"Home":e.preventDefault(),f(1);break;case"End":e.preventDefault(),f(N);break;default:{let t=Number(e.key);!Number.isNaN(t)&&t>=1&&t<=N&&(e.preventDefault(),f(t))}}},[f,g]),E=null!=l?l:d("pois.reviews.tap-to-rate");return(0,r.jsxs)("div",{className:c,children:[i&&(0,r.jsx)(b.E,{color:"secondary",className:"mb-3 block",children:E}),(0,r.jsx)("div",{ref:h,role:"slider",tabIndex:0,"aria-label":E,"aria-valuemin":1,"aria-valuemax":N,"aria-valuenow":g>0?g:void 0,className:"inline-flex cursor-pointer touch-none select-none items-center gap-3 outline-none focus-visible:ring-1 focus-visible:ring-ring",onPointerDown:j,onPointerMove:w,onPointerUp:_,onPointerLeave:()=>null!==m&&p(null),onKeyDown:S,children:y.map(e=>(0,r.jsx)("div",{onMouseEnter:()=>p(e),children:(0,r.jsx)(C,{filled:e<=g,size:o})},"tap-to-rate-star-".concat(e)))})]})},k=e=>{let{givenRating:t,onRate:l}=e,{formatMessage:n}=(0,s.tz)();return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-6 px-8 pt-5 md:max-w-md",children:[(0,r.jsx)(h.UI.ReviewIconThin,{size:"lg",color:"a11y"}),t?(0,r.jsx)(S,{label:n("pois.reviews.you-rated"),value:t}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"flex flex-col items-center text-center",children:[(0,r.jsx)(w.D,{as:"h4",size:"xl",children:n("pois.reviews.empty.title")}),(0,r.jsx)(w.E,{children:n("pois.reviews.empty.description")})]}),(0,r.jsx)(E,{showLabel:!1,onRate:l})]})]})},L=e=>{let{reviews:t,givenRating:l,onRate:n,disableProfileLink:a=!1,className:s,language:i,renderReply:o}=e;
1return(0,r.jsxs)("div",{className:(0,c.cn)("snap-x snap-mandatory scroll-px-6","no-scrollbar -mb-16 -mt-8 flex gap-6 overflow-x-scroll px-6 pb-16 pt-8",s),children:[t.map(e=>(0,r.jsx)("div",{className:"w-[calc(80%-4.8px)] shrink-0 snap-start",children:(0,r.jsx)(v,{review:e,disableProfileLink:a,isPreview:!0,language:i,children:null==o?void 0:o(e)})},e.id)),n&&t.length<3&&(0,r.jsx)("div",{className:"w-[calc(80%-4.8px)] shrink-0 snap-start",children:(0,r.jsx)(k,{givenRating:l,onRate:n})})]})},D=e=>{let{reply:t,language:l}=e,{formatMessage:a}=(0,s.tz)(),[i,o]=(0,n.useState)(!1),c=(0,n.useCallback)(()=>{o(e=>!e)},[]),d=(0,n.useMemo)(()=>{var e;return l!==(null==(e=t.originalLocale)?void 0:e.toLowerCase())},[l,t.originalLocale]),u=!!t.originalText&&d;return(0,r.jsxs)("div",{className:"rounded-bl-xl rounded-br-card rounded-tr-xl bg-ui-surface-container p-5",children:[(0,r.jsx)(b.E,{weight:"semibold",children:a("review.content.adminReply")}),(0,r.jsx)(b.E,{children:i?t.originalText:t.text}),u&&(0,r.jsxs)("button",{type:"button",className:"mt-2 flex gap-1",onClick:c,children:[(0,r.jsx)(b.E,{color:"secondary",size:"footnote",children:a(i?"poi.details.reviews.show-in-my-language":"poi.details.reviews.translated-by-google")}),(0,r.jsx)(b.E,{color:"secondary",size:"footnote",weight:"medium",className:"underline",children:i?"":a("poi.details.reviews.show-original")})]})]})};var z=l(63916);l(10361),l(67351),l(25918),l(17223),l(71725),l(82673),l(15822),l(334),z.Ik({reply:z.Yj().min(10,"Reply must be at least 10 characters.").max(450,"Reply must not be longer than ".concat(450," characters."))}),l(48645),l(22800),l(48691),l(63933),l(82351)},39654:(e,t,l)=>{l.d(t,{$:()=>r.$});var r=l(67351)},39724:(e,t,l)=>{l.d(t,{m:()=>o});var r=l(54568),n=l(74160),a=l(27441),s=l(95794),i=l(2737);let o=e=>{let{features:t}=e,{formatMessage:l}=(0,n.tz)();return(0,r.jsxs)(a.XI,{className:"mt-6",children:[(0,r.jsx)(a.A0,{children:(0,r.jsxs)(a.Hj,{children:[(0,r.jsx)(a.nd,{className:"w-[80%] text-left"}),(0,r.jsx)(a.nd,{className:"w-[10%] text-center text-lg text-ui-text-secondary",children:l("info.price.free")}),(0,r.jsx)(a.nd,{className:"w-[10%] rounded-tl-lg rounded-tr-lg bg-ui-surface-container-low text-center text-lg font-bold",children:"PRO+"})]})}),(0,r.jsx)(a.BF,{children:t&&t.map((e,t)=>(0,r.jsxs)(a.Hj,{className:"border-y border-solid border-neutral-100",children:[(0,r.jsx)(a.nA,{className:"w-[80%] whitespace-normal break-words py-2 text-lg font-normal",children:e.feature_name}),(0,r.jsx)(a.nA,{className:"w-[10%] py-2 text-ui-text-secondary",children:(0,r.jsx)("span",{className:"flex items-center justify-center",children:e.is_pro?(0,r.jsx)(i.U,{size:"xs",color:"brand-cc-pinegreen"}):(0,r.jsx)(s.D,{color:"brand-cc-green",size:"md"})})}),(0,r.jsx)(a.nA,{className:"w-[10%] bg-ui-surface-container-low py-2",children:(0,r.jsx)("span",{className:"flex items-center justify-center",children:(0,r.jsx)(s.D,{color:"brand-cc-green",size:"md"})})})]},"".concat(t,"-").concat(e.feature_name)))})]})}},48962:(e,t,l)=>{l.d(t,{D:()=>r.D});var r=l(63933)},54650:(e,t,l)=>{l.d(t,{v:()=>r.v});var r=l(86987)},54977:(e,t,l)=>{l.d(t,{D:()=>a,R:()=>s});let r={en:"en-gb",es:"es-es",de:"de-de",fr:"fr-fr",it:"it-it",nl:"nl-nl"},n={"en-gb":"en","es-es":"es","de-de":"de","fr-fr":"fr","it-it":"it","nl-nl":"nl"};function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r[e.toLowerCase()]}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n[e.toLowerCase()]}},55791:(e,t,l)=>{l.d(t,{s:()=>c});var r=l(63924),n=l(27455),a=l(54977),s=l(74160),i=l(82673),o=l(74532);let c=(e,t)=>{let{locale:l}=(0,s.tz)(),{isPro:c}=(0,i.zI)(),d=(0,a.D)(l),u="paywall_default"!==e,x=async()=>{if(u){let[t,l]=await Promise.all([o.S.getByUID("pro_modal_variant",e,{lang:d}),o.S.getSingle("pro_modal_content",{lang:d})]),n=t.data,a=l.data;return{title:r.Pu(n.title_override)?n.title_override:a.title,subtitle:r.Pu(n.subtitle_override)?n.subtitle_override:a.subtitle,pricing_options:r.Os(n.pricing_options_override)?n.pricing_options_override:a.pricing_options,footer_cta_button:r.Pu(n.footer_cta_button_override)?n.footer_cta_button_override:a.footer_cta_button,features_table:a.features_table}}return(await o.S.getSingle("pro_modal_content",{lang:d})).data},m=u?["pro-modal",l,e]:["pro-modal",l,"paywall_default"],p=!c||(null==t?void 0:t.bypassProCheck)?m:null,{data:h,isLoading:g,error:f}=(0,n.A)(p,x);return{data:h,isLoading:g,error:f}}},61902:(e,t,l)=>{l.d(t,{D:()=>i});var r=l(54568),n=l(27338),a=l(96130),s=l(34964);let i=e=>{let{type:t=s.G.default}=e;return(0,r.jsxs)("div",{className:(0,a.cn)({"flex flex-row items-center justify-start gap-0 md:gap-4":t===s.G.list}),children:[(0,r.jsx)(n.E,{className:(0,a.cn)("h-64",{"!rounded-xl md:!rounded-card":t!==s.G.list,"size-32 !rounded-xl md:h-32 md:w-40 md:rounded-2xl":t===s.G.list})}),(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-2 px-5 pb-5 pt-4 md:px-0",{"flex-1":t===s.G.list}),children:[(0,r.jsx)(n.E,{className:"h-6 w-1/2"}),(0,r.jsx)(n.E,{className:"h-4 w-1/4"}),(0,r.jsx)(n.E,{className:"h-4 w-1/3"}),(0,r.jsx)(n.E,{className:"h-4 w-1/4"})]})]})}},74532:(e,t,l)=>{l.d(t,{S:()=>r});let r=l(12483).U("https://campercontact-acc.cdn.prismic.io/api/v2",{accessToken:"MC5YcWw0RXhFQUFDSUFnSm1h.Re-_ve-_ve-_vSHvv70dKu-_ve-_vXXvv70h77-977-9Pl3vv73vv70H77-9Ku-_ve-_ve-_ve-_vRhoTB0RYA",fetchOptions:{next:{tags:["prismic"]},cache:"force-cache"}})},79895:(e,t,l)=>{l.d(t,{DZ:()=>r.D,EY:()=>a.E,Jj:()=>n.J});var r=l(63933),n=l(66623),a=l(58533)},83757:(e,t,l)=>{l.d(t,{LG:()=>n,KU:()=>c,MI:()=>j,aG:()=>N,wA:()=>y,Jc:()=>p,lp:()=>x,ff:()=>h,ne:()=>u,VT:()=>m,ro:()=>g,U9:()=>f});var r=function(e){return e.SATELLITE="hybrid",e.STANDARD="standard",e.NONE="none",e}({});let n=[{latitude:34,longitude:-12},{latitude:72,longitude:32}];var a=l(7620),s=l(54568);let i={markers:[],setMarkers:()=>{}
1,clusters:[],setClusters:()=>{},fitToCoordinates:void 0,setFitToCoordinates:()=>{},zoomLevel:void 0,setZoomLevel:()=>{},zoomToCoordinate:void 0,setZoomToCoordinate:()=>{},selectedMarkerId:void 0,setSelectedMarkerId:()=>{},region:void 0,setRegion:()=>{},bounds:void 0,setBounds:()=>{},mapStyle:r.STANDARD,setMapStyle:()=>{},userInteracted:!1,setUserInteracted:()=>{}},o=(0,a.createContext)(i),c=e=>{let{children:t}=e,[l,n]=(0,a.useState)([]),[i,c]=(0,a.useState)([]),[d,u]=(0,a.useState)(void 0),[x,m]=(0,a.useState)(void 0),[p,h]=(0,a.useState)(r.STANDARD),[g,f]=(0,a.useState)(void 0),[v,b]=(0,a.useState)(void 0),[j,w]=(0,a.useState)(void 0),[y,N]=(0,a.useState)(void 0),[_,C]=(0,a.useState)(!1);return(0,s.jsx)(o.Provider,{value:{markers:l,setMarkers:n,clusters:i,setClusters:c,fitToCoordinates:d,setFitToCoordinates:u,zoomToCoordinate:y,setZoomToCoordinate:N,zoomLevel:j,setZoomLevel:w,selectedMarkerId:x,setSelectedMarkerId:m,region:g,setRegion:f,bounds:v,setBounds:b,mapStyle:p,setMapStyle:h,userInteracted:_,setUserInteracted:C},children:t})},d=()=>{let e=(0,a.useContext)(o);if(!e)throw Error("useMapContext must be used within a MapProvider");return e},u=()=>{let{markers:e,setMarkers:t}=d();return{markers:e,setMarkers:t}},x=()=>{let{clusters:e,setClusters:t}=d();return{clusters:e,setClusters:t}},m=()=>{let{selectedMarkerId:e,setSelectedMarkerId:t}=d();return{selectedMarkerId:e,setSelectedMarkerId:t}},p=()=>{let{bounds:e,setBounds:t}=d();return{bounds:e,setBounds:t}},h=()=>{let{fitToCoordinates:e,setFitToCoordinates:t}=d();return{fitToCoordinates:e,setFitToCoordinates:t}},g=()=>{let{zoomLevel:e,setZoomLevel:t}=d();return{zoomLevel:e,setZoomLevel:t}},f=()=>{let{zoomToCoordinate:e,setZoomToCoordinate:t}=d();return{zoomToCoordinate:e,setZoomToCoordinate:t}};var v=l(26060);let b={campingCheque:"camping_cheque",bestDeal:"best_deal"},j=e=>!!(e&&Number.isFinite(e.topleft_lat)&&Number.isFinite(e.topleft_lon)&&Number.isFinite(e.bottomright_lat)&&Number.isFinite(e.bottomright_lon)),w=["lat","lon","topleft_lat","topleft_lon","bottomright_lat","bottomright_lon","sortLocationLat","sortLocationLon"],y=e=>{let t;for(let l of w){let r=(null!=t?t:e)[l];"number"!=typeof r||Number.isFinite(r)||(t||(t={...e}),delete t[l])}return null!=t?t:e},N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l={...y(t)},r=[],n=[],a=[],s=[],i={price:"price",rating:"rating",numberOfReviews:"numberOfReviews",maxCamperSpots:"maxCamperSpots",maxCamperLength:"maxCamperLength",maxHoursToStay:"maxStay",poiType:"poiType",isBookable:"isBookable","price.date":"date",sitecode:"sitecode"},o={"amenity.campingBehaviour":e=>{l.campingBehaviourAllowed="INCLUDE"===e},"amenity.nudism":e=>{l.nudityAllowed="INCLUDE"===e},"amenity.dogsAllowed":e=>{l.dogsAllowed="INCLUDE"===e}};return e.forEach(e=>{var t,c;let{field:d,property:u,value:x}=e,m=d.replace("filters.","");if(x)if("properties"===m&&u){if(u in o)o[u](x);else if(u.startsWith("amenity."))r.push(u.replace("amenity.",""));else if(u.startsWith("terrain."))n.push(u.replace("terrain.",""));else if(u.startsWith("surroundings."))a.push(u.replace("surroundings.",""));else if(u.startsWith("discount.")){let e=u.replace("discount.","");s.push(null!=(t=b[e])?t:e)}}else{m in i&&"maxStay"===i[m]?l.maxStay=(c=x)===v.G$.FORBIDDEN?"forbidden":c===v.G$.SEVEN_DAYS_OR_MORE||"unlimited"===c?"unlimited":c===v.G$.TWO_TO_SIX_DAYS?"twoToSixDays":c===v.G$.ONE_DAY?"oneDay":c:m in i&&"sitecode"===i[m]&&Array.isArray(x)?l.sitecodes=[...x]:m in i&&(l[i[m]]=x)}}),r.length>0&&(l.amenities=r),n.length>0&&(l.terrain=n),a.length>0&&(l.surroundings=a),s.length>0&&(l.discounts=s),l}},87544:(e,t,l)=>{l.d(t,{WT:()=>o,Wc:()=>i});var r=l(54568),n=l(7620),a=l(27541);let s=(0,n.createContext)(void 0),i=e=>{let{children:t}=e,l=(0,a.usePathname)(),i=(0,n.useRef)([]),o=(0,n.useRef)(new Set),[c,d]=(0,n.useState)(0),u=window.location.origin,x=(0,n.useCallback)(e=>{if(!e||0===e.length)return;let t=!1;for(let l of e)l&&l.id&&(o.current.has(l.id)||(o.current.add(l.id),i.current.push(l),t=!0));t&&d(e=>e+1)},[]),m=(0,n.useMemo)(()=>
1{if(u&&l&&0!==c&&0!==i.current.length)return JSON.stringify({"@context":"https://schema.org","@type":"ItemList",url:"".concat(u).concat(l),itemListElement:i.current.map((e,t)=>{let{id:l,...r}=e;return{"@type":"ListItem",position:t+1,item:r}})}).replace(/</g,"\\u003c")},[u,l,c]);return(0,r.jsxs)(s.Provider,{value:{addListItem:x},children:[t,m&&(0,r.jsx)("script",{id:"location-itemlist-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:m}})]})},o=e=>{let{addListItem:t}=(()=>{let e=(0,n.useContext)(s);if(!e)throw Error("useItemListContext must be used within <ItemListStructuredDataProvider>");return e})();(0,n.useEffect)(()=>{e&&0!==e.length&&t(e)},[e,t])}},87951:(e,t,l)=>{l.d(t,{D:()=>r.D,E:()=>n.E});var r=l(63933),n=l(58533)},92755:(e,t,l)=>{l.d(t,{A:()=>n});var r=l(54568);let n=()=>(0,r.jsx)("div",{className:"absolute bottom-0 right-0 z-0",children:(0,r.jsx)("svg",{width:"1281",height:"432",viewBox:"0 0 1281 432",fill:"none",children:(0,r.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M684.737 296.648C633.716 337.849 605.227 371.755 589.596 408.961C562.982 472.31 510.303 503.841 459.525 487.444C408.839 471.076 384.898 414.414 404.314 355.105L404.703 353.918L405.174 352.764C411.554 337.145 417.15 315.517 415.983 299.196C415.43 291.471 413.567 287.875 412.451 286.451L412.447 286.446C411.967 285.834 410.305 283.714 404.029 282.463C383.133 282.797 377.63 288.824 375.083 292.24C369.856 299.248 366.648 310.764 362.319 333.632C362.045 335.078 361.767 336.569 361.481 338.1C357.843 357.576 352.993 383.542 341.036 407.247C327.15 434.779 304.292 458.642 266.681 473.138L265.494 473.596L264.275 473.963C236.108 482.448 66.516 540.826 -97.4554 597.595C-179.125 625.869 -258.983 653.598 -318.425 674.259C-348.146 684.59 -372.762 693.153 -389.947 699.133C-398.54 702.123 -405.274 704.467 -409.861 706.064L-416.856 708.5L-416.877 708.507C-416.881 708.509 -416.884 708.51 -428.282 675.49C-439.679 642.47 -439.677 642.47 -439.672 642.468L-432.648 640.022C-428.059 638.424 -421.321 636.079 -412.725 633.088C-395.533 627.105 -370.909 618.539 -341.18 608.206C-281.722 587.539 -201.836 559.801 -120.132 531.514C40.3498 475.954 209.479 417.708 242.867 407.446C263.297 399.318 273.318 387.826 279.766 375.043C287.105 360.491 290.282 343.694 294.423 321.801L294.94 319.07C298.676 299.321 303.932 271.541 320.124 249.829C339.129 224.344 368.216 212.434 406.395 212.653L408.724 212.666L411.033 212.999C433.818 216.276 452.895 226.381 466.131 243.266C478.776 259.395 483.4 278.283 484.575 294.708C486.812 325.995 477.296 358.583 469.266 378.629C464.516 393.809 466.172 404.148 468.699 410.066C471.295 416.146 475.514 419.533 479.89 420.946C485.852 422.871 508.41 423.729 526.301 381.143C548.258 328.879 586.554 286.383 641.65 241.892C696.383 197.693 770.814 149.142 867.73 86.1805L876.855 80.2527C1071.45 -46.1487 1361.86 -234.796 1787.27 -571.169L1829.81 -515.976C1401.93 -177.644 1109.47 12.3299 914.207 139.166L905.14 145.056C807.138 208.723 736.12 255.154 684.737 296.648Z",fill:"white"})})})}}]);
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.