(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{5007:function(e,t,n){"use strict";var o,i=n(7294);function a(){return(a=Object.assign||function(e){for(var t=1;t(0,h.jsx)("li",{className:s().item,children:n?(0,h.jsx)("span",{children:e}):i?(0,h.jsx)(o.default,{href:i,as:t,children:(0,h.jsx)("a",{children:e})}):(0,h.jsx)(o.default,{href:t,children:(0,h.jsx)("a",{children:e})})}),c=(e,t)=>{var n;const o=e.replace(/-/g," ").replace(/\?.*/,"");return t?(null===(n=o[0])||void 0===n?void 0:n.toUpperCase())+o.substring(1):o},u=({rootLabel:e="Home",query:t})=>{const n=(0,a.useRouter)(),{0:o,1:r}=(0,i.useState)(null);return(0,i.useEffect)((()=>{if(n){const e=[...n.asPath.split("/")];e.shift();const t=e.map(((t,n)=>({label:t,href:"/"+e.slice(0,n+1).join("/")})));r(t)}}),[n]),o?(0,h.jsxs)("ul",{className:s().breadcrumbs,children:[(0,h.jsx)(d,{label:e,url:l.ho}),(0,h.jsx)(d,{label:"Holidays",url:`${l.ho}/holidays`}),(0,h.jsx)(d,{label:"Weather",url:"/",query:"/"}),o.length>=1&&(null===o||void 0===o?void 0:o.map(((e,n)=>{const i=n===o.length-2;return e.label&&(0,h.jsx)(d,{label:c(e.label,!0),url:e.href,query:t,last:i},e.href)})))]}):null}},5122:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(5675),i=n(8804),a=n(7569),r=n(5893);const s=i.ZP.section.withConfig({displayName:"Hero__HeroImage",componentId:"sc-1opkhm2-0"})(["position:relative;top:0;display:flex;align-items:center;flex-direction:column;justify-content:center;& h1{text-align:center;@media ","{}}@media ","{height:","px;padding-bottom:","px;margin-bottom:16px;}"],a.H.tablet,a.H.desktop,(e=>e.height||500),(({withPadding:e})=>e?500:0));var l=({alt:e,imageUrl:t,children:n,height:i,withPadding:a=!1})=>(0,r.jsxs)(s,{height:i,withPadding:a,children:[n,(0,r.jsx)(o.default,{src:t,alt:e,objectFit:"cover",layout:"fill",priority:!0,loader:e=>`${e.src}`})]})},1747:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var o=n(4288),i=n.n(o),a=n(1664),r=n(5675),s=n(8804),l=n(9770),h=n(7233),d=n(5893);const c=s.ZP.li.withConfig({displayName:"RelatedDestinationItem__Card",componentId:"sc-10mxqv1-0"})(["padding:0;background-size:cover;display:flex;flex-direction:column;position:relative;align-items:center;","{flex:1;padding:10px;}","{position:absolute;bottom:16px;}div:first-child{width:100%;}"],h.n,l.Z),u=s.ZP.div.withConfig({displayName:"RelatedDestinationItem__CardTitle",componentId:"sc-10mxqv1-1"})(["position:absolute;display:flex;flex-direction:row;top:16px;width:90%;background:#fff;text-align:center;"]),m=s.ZP.div.withConfig({displayName:"RelatedDestinationItem__Temp",componentId:"sc-10mxqv1-2"})(["position:absolute;color:#fff;font-size:45px;top:50%;padding-left:15px;"]),p=s.ZP.div.withConfig({displayName:"RelatedDestinationItem__Month",componentId:"sc-10mxqv1-3"})(["flex:1;background-color:#8eb8c4;color:#fff;padding:10px;"]);var g=({destination:e,month:t})=>(0,d.jsxs)(c,{children:[e.imageUrl&&(0,d.jsx)(r.default,{src:e.imageUrl,width:378,height:312,unoptimized:!0}),(0,d.jsxs)(u,{children:[(0,d.jsx)(h.n,{as:"p",style:{},children:e.name}),(null===e||void 0===e?void 0:e.monthName)&&(0,d.jsxs)(p,{children:[e.monthName," Avg"]})]}),t&&(0,d.jsxs)(m,{children:[e.avgTemp," \xb0"]}),(0,d.jsx)(a.default,{href:`/[...weather]?weather=${e.nodeName}`,as:e.url,passHref:!0,children:(0,d.jsx)(l.Z,{as:"a",children:"Details"})})]});var f=({destination:e,hideHeader:t,gridType:n="3",month:o})=>e.length>0?(0,d.jsxs)("section",{children:[!t&&(0,d.jsx)("div",{className:i().title,children:(0,d.jsx)(h.X,{as:"h2",color:"#8eb8c4",variant:"large",weight:"normal",style:{margin:"0"},children:"Related Destinations"})}),(0,d.jsx)("ul",{className:`${i().list} ${"2"==n?i().list2:""}`,children:e.map(((e,t)=>e&&(0,d.jsx)(g,{destination:e,month:o},e.name+t.toString())))})]}):(0,d.jsx)(d.Fragment,{})},7855:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(9008),i=n(5893);var a=({metaData:e})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(o.default,{children:[(0,i.jsx)("title",{children:e.title}),(0,i.jsx)("link",{rel:"canonical",href:e.canonical}),(0,i.jsx)("link",{rel:"dns-prefetch",href:"//cdn.thomascook.com"}),(0,i.jsx)("meta",{name:"description",content:e.description}),(0,i.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,i.jsx)("meta",{name:"og:type",content:"article"}),(0,i.jsx)("meta",{name:"og:title",content:e.title}),(0,i.jsx)("meta",{name:"og:description",content:e.description}),(0,i.jsx)("meta",{name:"og:url",content:e.canonical}),(0,i.jsx)("meta",{name:"og:site_name",content:"Thomas Cook Weather"}),(0,i.jsx)("meta",{property:"fb:app_id",content:"1089235991132881"}),e.image&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{property:"og:image",content:e.image}),(0,i.jsx)("meta",{property:"og:secure_url",content:e.image}),(0,i.jsx)("meta",{property:"og:image:width",content:"600"}),(0,i.jsx)("meta",{property:"og:image:height",content:"315"})]}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:title",content:e.title}),(0,i.jsx)("meta",{name:"twitter:description",content:e.description}),e.image&&(0,i.jsx)("meta",{name:"twitter:image",content:e.image})]})})},9770:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(8804);const i=o.ZP.button.withConfig({displayName:"Buttons__BaseButton",componentId:"sc-9ylamw-0"})(["border-radius:35px;color:white;text-decoration:none;padding:10px 25px;height:50px;display:flex;text-transform:uppercase;width:fit-content;align-items:center;font-size:1.25rem;justify-content:center;transition:background 0.8s ease-in-out;border:none;cursor:pointer;&:hover{background:#bf3e18 radial-gradient(circle,transparent 1%,#bf3e18 0) 50%/15000%;}&:active{background-color:#d74113;background-size:100%;transition:background 0s;}",""],(({disabled:e,theme:t})=>e?(0,o.iv)(["background:#dbdbdb;cursor:initial;&:hover{background:#dbdbdb;}"]):(0,o.iv)(["background:",";"],t.colors.primary)));(0,o.ZP)(i).withConfig({displayName:"Buttons__LargeButton",componentId:"sc-9ylamw-1"})(["height:65px;padding:10px 35px;",""],(({color:e,theme:t})=>(0,o.iv)(["background-color:",";"],t.colors[e])));var a=i},1152:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(8804),i=n(7569);var a=o.ZP.section.withConfig({displayName:"Layout",componentId:"sc-11cdbqn-0"})(["@media ","{padding:0;}margin:auto;max-width:1200px;width:100%;padding:",";background:",";display:flex;flex-direction:",";"," "," @media ","{flex-basis:",";padding:",";}@media (max-width:960px){flex-direction:column;}"],i.H.tablet,(({padding:e})=>e||"0 16px;"),(({background:e})=>e||"none"),(({type:e})=>e||"column"),(({className:e})=>"visible"===e&&"display: flex;\n padding: 0;\n "),(({className:e})=>"hidden"===e&&"display: none;\n "),i.H.desktop,(({width:e})=>e||"100%"),(({padding:e})=>e||"0 24px"))},7233:function(e,t,n){"use strict";n.d(t,{X:function(){return r},n:function(){return s}});var o=n(8804),i=n(7569);const a={xxl:(0,o.iv)(["font-size:3rem;line-height:1.167;letter-spacing:-0.4px;"]),xl:(0,o.iv)(["font-size:2.5rem;line-height:1.2;letter-spacing:-0.2px;"]),large:(0,o.iv)(["font-size:2rem;line-height:1.3;"]),medium:(0,o.iv)(["font-size:1.75rem;line-height:1.4;"]),small:(0,o.iv)(["font-size:1.5rem;line-height:1.4;"]),extraSmall:(0,o.iv)(["font-size:1.25rem;line-height:28px;"]),body:(0,o.iv)(["font-size:1rem;line-height:1.6;margin-bottom:0.35em;"])},r=o.ZP.h1.withConfig({displayName:"Typography__Heading",componentId:"sc-1q42i5u-0"})(["font-weight:",";@media ","{font-size:",";}margin-bottom:0.35em;color:",";",""],(({weight:e})=>e||"bold"),i.H.desktop,(({fontSize:e})=>e),(({color:e,theme:t})=>e||t.colors.text),(({variant:e})=>e?a[e]:a.xxl)),s=o.ZP.p.withConfig({displayName:"Typography__Paragraph",componentId:"sc-1q42i5u-1"})(["margin-bottom:0.35em;color:",";"," @media ","{font-size:",";}"],(e=>e.color||e.theme.colors.text),(({variant:e})=>e?a[e]:a.body),i.H.desktop,(({fontSize:e})=>e))},9198:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return te},default:function(){return ne}});var o,i=n(7294),a=n(8804),r=n(5007);function s(){return(s=Object.assign||function(e){for(var t=1;te?(0,x.jsxs)(b,{children:[(0,x.jsx)(v,{children:(0,x.jsx)(j,{children:e.title})}),(0,x.jsxs)(k,{children:[(0,x.jsxs)(C,{children:[(0,x.jsx)(d,{style:_})," Average temperature"]}),(0,x.jsxs)("div",{children:[e.avg_max_temp,"\xb0"]})]}),(0,x.jsxs)(k,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(m,{style:_})," Rainfalls"]}),(0,x.jsxs)("div",{children:[Math.round(e.avg_daily_rainfall/30)," mm"]})]}),(0,x.jsxs)(k,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(w,{style:_})," Sunshine hours"]}),(0,x.jsxs)("div",{children:[e.sunshine_hours," mph"]})]}),(0,x.jsxs)(k,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(f,{style:_})," Humidity"]}),(0,x.jsxs)("div",{children:[e.humidity,"%"]})]})]}):(0,x.jsx)("h1",{children:"Not found"}),N=n(7054);const Z={width:"100%",height:"100vh"},S={blue:"#2B4B42","blue-green":"#37675C","green-yellow":"#6DB4A9","orange-red":"#DB4A20",orange:"#EB8363",red:"#A73110","yellow-orange":"#F0A58E",yellow:"#91CAC2"},I={lat:30,lng:20},O={imagePath:"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m"};var P=({locations:e})=>{const{0:t,1:n}=(0,i.useState)(!1),{0:o,1:a}=(0,i.useState)(),r=()=>{n(!t)};return(0,x.jsx)(N.KJ,{googleMapsApiKey:"AIzaSyBq4P_RjrZ5ECfPr_viDXRNMbgR-ZvqIuA",children:(0,x.jsx)(N.b6,{onClick:()=>{n(!t),a("")},mapContainerStyle:Z,center:I,zoom:3,children:(0,x.jsx)(N.XL,{options:O,children:i=>e.map((e=>{const s={path:"M12 0C5.37258 0 0 5.37258 0 12C0 18.627 12 32 12 32C12 32 24 18.627 24 12C24 5.37258 18.6274 0 12 0ZM2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 15.812 16.368 23.767 12 28.949C7.632 23.767 2 15.812 2 12Z M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 15.812 16.368 23.767 12 28.949C7.632 23.767 2 15.812 2 12ZM12 6C9.79086 6 8 7.79086 8 10C8 12.2091 9.79086 14 12 14C14.2091 14 16 12.2091 16 10C16 8.93913 15.5786 7.92172 14.8284 7.17157C14.0783 6.42143 13.0609 6 12 6Z",fillColor:S[e.temperature_class],fillOpacity:1,strokeWeight:0};return e&&(0,x.jsx)(N.Jx,{onClick:()=>{n(t||!t),a(e.title)},position:{lat:+e.latitude,lng:+e.longitude},clusterer:i,title:e.title,icon:s,children:t&&o===e.title&&(0,x.jsx)(N.nx,{onCloseClick:r,position:{lat:+e.latitude,lng:+e.longitude},children:(0,x.jsx)(z,{location:e})})},e.title)}))})})})},E=n(5122),M=n(1152),H=n(2809),T=n(7441);n(9688);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function R(e){for(var t=1;t(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(D,{allowCross:!1,defaultValue:e,onChange:t,min:0,max:40,railStyle:{background:"white",height:"8px"},handleStyle:[R(R({},B),{},{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' fill='white'%3E%3Cpath d='M778.174 482.298l-.527-.529-.014-.012L305.761 9.881c-15.847-15.847-41.555-15.847-57.402 0l-.529.527c-15.847 15.849-15.847 41.555 0 57.402l443.186 443.188L247.828 954.19c-15.847 15.843-15.847 41.549 0 57.398l.529.531c15.847 15.845 41.553 15.845 57.402 0l471.86-471.866.028-.026.527-.529c15.847-15.847 15.847-41.555 0-57.4z'/%3E%3C/svg%3E%0A\")"}),R(R({},B),{},{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7.002 15.999a1.257 1.257 0 01.363-.947c.058-.058.144-.042.209-.086L23.478.373a1.273 1.273 0 011.8 1.8L10.198 15.998l15.077 13.829a1.273 1.273 0 11-1.8 1.8L7.58 17.04c-.068-.046-.157-.03-.216-.09A1.254 1.254 0 017.002 16z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")"})],trackStyle:[{height:"8px",background:"linear-gradient(to right, #2dabf4 0%, #2dabf4 13%, #d5c328 39%, #d54128 100%)"}],tipFormatter:e=>(0,x.jsxs)("span",{children:[e," \xb0"]})})}),W=n(8650),J=n(1747),q=n(3793),F=n(7233),U=n(7855),$=n(7334),X=n.n($);const Y=a.ZP.div.withConfig({displayName:"Tab",componentId:"sc-1rrk0kg-0"})(["width:100%;padding:15px 0;text-align:center;font-size:18px;color:white;cursor:pointer;background:#8eb8c4;border:0;outline:0;",""],(({active:e})=>e&&"color: #8eb8c4;\n background: white;\n ")),V=({active:e,type:t,onClick:n})=>(0,x.jsxs)(Y,{active:e,onClick:e=>n(e,t),children:[t," view"]},t);var K=n(4285),G=n(1163);const Q={january:"Unfortunately for us UK dwellers, the month of January is said to be the most depressing of the year. The thrill and excitement of Christmas and New Year has given way to cold, dark and quieter times. So why not give yourself something to look forward to and book a much-needed bit of winter sun to get your year off to a great start? \u2018But where is hot in January?\u2019 you say\u2026 Take a look below for our choice of some of the hottest destinations to be heading to this coming January.",february:"After all the excitement of the festive season is over for another year, you\u2019ll be in desperate need of something to cheer you up and look forward to. There\u2019s no need to wait until summer for a much-needed dose of sunshine. Instead, why not ditch the cold, wintery mornings and treat yourself to a nice little bit of winter sun this coming February. Take a look below at our top picks of where is hot in February. And let\u2019s face it; going on holiday is much more fun than trying to keep up your New Year\u2019s resolutions!",march:"For many of us, the stress of the Christmas build-up mixed with winter\u2019s wet and miserable weather can all get a bit too much. Yes, we have Christmas Day and New Year to look forward to, but then what? The idea of waiting until summer for a much needed holiday doesn\u2019t even bear thinking about. You need something sooner to look forward to, right? I know I do. So how does a holiday in March sound?",april:"April is often overlooked as a month to go on holiday. But this year April holidays are a great option. With Easter falling early in the month, it is the perfect time for fun family holidays in the sun. Alternatively, if you prefer a more relaxed escape, there\u2019s always later on in the month too \u2013 after Easter and before the mad rush of the summer begins.",may:"Come May, the temperatures have started to rise and all your favourite resorts are waking up from winter and opening their doors in preparation for the busy season. But where is hot in May? Here are our top picks for places that promise high temperatures for your May holiday.",june:"Hands up who\u2019s desperate for some sun and blue skies this June? If you\u2019re looking to get a head start on your summer tan, then you need to know exactly where is hot in June. Check out the destinations below and decide where it is you\u2019ll be spending your days soaking up the warm sun on your next holiday.",july:"It\u2019s no surprise that July is one of the most popular times of the year for a lovely holiday in the sun. After all, the weather back home isn\u2019t always pleasant and can be rather unpredictable. So, why not escape the dull weather for somewhere that guarantees warm sunshine and hot temperatures in July? July is the perfect time for a break because you won\u2019t have to travel far for some sun.Most of southern Europe is soaked in warm sunshine throughout the month, which means you\u2019re just a short flight away from the nearest sun- drenched beach.The Mediterranean Sea is very mild and perfect for swimming while nearby regions enjoy a sub - tropical climate.Head to the USA for blazing heat and consistently high temperatures or travel to North Africa for blissful sunshine, golden beaches and very few rain showers. It can be difficult to decide where to visit in July, so we\u2019ve come up with this handy weather guide that shows exactly where\u2019s hot in July.Planning your holiday in July couldn\u2019t be easier.Choose from a huge range of destinations, all of which have been carefully selected according to how warm they are in July.",august:"August is peak season in many destinations across the globe, which means you\u2019re spoilt for choice. By the time August rolls around, the summer is well underway and you\u2019re probably more than ready for a holiday. You won\u2019t have to travel too far for some sunshine as most of Europe is enjoying the bliss of summer weather. The Mediterranean\u2019s subtropical climate is in full swing in places like Spain, Turkey and Morocco, giving you plenty of great options that are just a short journey away. If you\u2019re feeling more adventurous, pack your sun cream for a fantastic break to the Caribbean or the USA, where you\u2019ll face endless sunshine, warm weather and stunning views everywhere you look. Whether you want to treat the whole family to an action-packed trip or go on a romantic getaway with someone special, we\u2019ve got your holiday planning covered. So, if you want to know where\u2019s hot in August, just browse through our list of sunny destinations for the perfect holiday destination in August.",september:"Since most people are thinking about going back to work or school in September, it tends to be a lot quieter with fewer crowds and plenty of sunshine. Even the most popular holiday destinations are more peaceful at this time of year and you\u2019ll still get to enjoy a beautiful warm climate. \n While the weather starts to cool back home, September falls within high season for many places, including Orlando, Cuba and the Dominican Republic. Exchange the wet and cold weather at home for glorious sunshine and high temperatures. Most of Europe is quite hot, with beaches offering gentle sea breezes, mild waters and warm weather throughout the month. \nIf you\u2019re thinking about making the summer last longer, take a look at our list of destinations that reveal where\u2019s hot in September. We\u2019ve considered everything, from the number of sunshine hours per day to temperature averages and humidity, giving you the best possible information to help make the big decision.",october:"As the nights draw in and the weather takes a turn for the worse, so can your mood! If the prospect of a solid few months of shivering in the sleet and snow fills you with dread, booking your winter sun holiday is a great way to give you the boost you need to make it through until Christmas. The only problem is deciding where to go. Take a look at out our top five October winter sun destinations that will help to take the hassle out of choosing your holiday:",november:"There\u2019s nothing more depressing than watching summer slip away from your grasp. It\u2019s still dark when you get out of bed in the morning, there\u2019s a nip in the air and you have to dig your chunky knit jumpers out the back of your wardrobe. But summer doesn\u2019t have to end when the UK dictates it. It\u2019s always sunny somewhere in the world! And here are a selection of the hottest destinations in November to travel to in order to get your fix of winter sun.",december:"Come December, lazy summer days will be a distant memory and your days will be filled with frantic, last-minute Christmas shopping in cold, wet and windy weather. But there\u2019s no need to let the build up to Christmas stress you out too much. Instead, why not book yourself a well-earned winter holiday and take a break from the madness. You don\u2019t have to wait until next summer to get your next fix of sunshine. Take a look below at our suggestions for where is hot in December to help inspire your winter getaway."},ee=a.ZP.div.withConfig({displayName:"month__Tabs",componentId:"sc-156j4sz-0"})(["display:flex;"]);var te=!0,ne=({month:e,mapsData:t,relatedDestinations:n,seoMetaData:o})=>{const a=(0,G.useRouter)(),{0:s,1:l}=(0,i.useState)([10,30]),h=t&&t.filter((e=>e&&e.avg_max_temp>=s[0]&&e.avg_max_temp<=s[1]))||[],d=(()=>{const{0:e,1:t}=(0,i.useState)({width:void 0,height:void 0});return(0,i.useEffect)((()=>{{const e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}}),[]),e})(),c=["List","Map"],{0:u,1:m}=(0,i.useState)(c[0]),p="/choose-when";return e?(0,x.jsxs)(x.Fragment,{children:[o&&(0,x.jsx)(U.Z,{metaData:o.metaData}),(0,x.jsxs)(E.Z,{alt:`Where\u2019s hot in ${e}`,imageUrl:`${K.sb}/img/choose-when-bg.jpeg`,height:"400",children:[(0,x.jsx)(F.X,{as:"h1",style:{zIndex:1},fontSize:"5rem",color:"white",children:`Where\u2019s hot in ${e}`}),(0,x.jsx)("div",{className:X().container,children:(0,x.jsx)(M.Z,{children:(0,x.jsxs)("div",{className:X().choseWhen,children:[(0,x.jsxs)("div",{className:X().text,children:[(0,x.jsx)(r.Z,{fill:"white",heigth:"25",width:"30",style:{marginRight:"12px"}}),(0,x.jsxs)("span",{children:["Hottest destinations in ",e]})]}),(0,x.jsx)(W.J,{placeHolder:"Select month",onSelect:e=>{const t=`/choose-when/${null===e||void 0===e?void 0:e.toLocaleLowerCase()}`;a.push({pathname:"/choose-when/[month]"},{pathname:t})},initialValue:e})]})})})]}),(0,x.jsxs)(M.Z,{padding:"0",type:"row",children:[d.width<960&&(0,x.jsx)(ee,{children:c.map((e=>(0,x.jsx)(V,{active:u===e,type:e,onClick:t=>((e,t)=>{e.preventDefault(),m(t)})(t,e)},e)))}),d.width<960?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(M.Z,{width:"65%",className:"List"===u?"visible":"hidden",children:[(0,x.jsx)(q.O,{query:p}),(0,x.jsxs)(M.Z,{background:"white",style:{marginBottom:"26px",paddingTop:"25px",paddingLeft:"24px",paddingRight:"24px"},children:[(0,x.jsx)(F.X,{as:"h2",color:"#8eb8c4",weight:"normal",variant:"large",children:"Top Recommendations"}),(0,x.jsx)(F.n,{children:Q[e.toLowerCase()]})]}),(0,x.jsx)(J.Z,{destination:n,hideHeader:!0,gridType:"2",month:e})]}),(0,x.jsxs)(M.Z,{width:"35%",background:"white",className:"Map"===u?"visible":"hidden",children:[(0,x.jsxs)("div",{className:X().mapHeading,children:[(0,x.jsx)(F.X,{variant:"small",weight:"normal",color:"white",style:{paddingBottom:"20px"},children:"How hot?"}),(0,x.jsx)(L,{range:s,onChange:e=>l(e)})]}),(0,x.jsx)(P,{locations:h})]})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(M.Z,{width:"65%",children:[(0,x.jsx)(q.O,{query:p}),(0,x.jsxs)(M.Z,{background:"white",style:{marginBottom:"26px",paddingTop:"25px",paddingLeft:"24px",paddingRight:"24px"},children:[(0,x.jsx)(F.X,{as:"h2",color:"#8eb8c4",weight:"normal",children:"Top Recommendations"}),(0,x.jsx)(F.n,{children:Q[e.toLowerCase()]})]}),(0,x.jsx)(J.Z,{destination:n,hideHeader:!0,gridType:"2",month:e})]}),(0,x.jsxs)(M.Z,{width:"35%",background:"white",padding:"0",style:{marginTop:"48px"},children:[(0,x.jsxs)("div",{className:X().mapHeading,children:[(0,x.jsx)(F.X,{variant:"small",weight:"normal",color:"white",style:{paddingBottom:"20px"},children:"How hot?"}),(0,x.jsx)(L,{range:s,onChange:e=>l(e)})]}),(0,x.jsx)(P,{locations:h})]})]})]})]}):null}},6785:function(e,t){"use strict";var n;!function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(n||(n={})),t.Z=n},7569:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});const o={mobile:`max-width: ${320}px`,tablet:`(min-width: ${600+1}px)`,desktop:`(min-width: ${960+1}px)`,largeDesktop:`(min-width: ${1280+1}px)`}},8366:function(e,t,n){"use strict";n.d(t,{e7:function(){return i},Ez:function(){return a},T1:function(){return r},cG:function(){return s}});var o=n(6785);const i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=e=>{if(e)return e[0].toUpperCase()+e.substring(1)},r=e=>a(e)in o.Z,s=e=>{const t=[];for(const n in o.Z)isNaN(Number(n))||t.push({label:o.Z[n],value:o.Z[n],selected:(null===e||void 0===e?void 0:e.toLocaleLowerCase())==o.Z[n].toLocaleLowerCase()});return t}},5885:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/choose-when/[month]",function(){return n(9198)}])},5746:function(e){e.exports={breadcrumbs:"Breadcrumbs_breadcrumbs__2n2bL",item:"Breadcrumbs_item__3xMp9"}},4288:function(e){e.exports={title:"RelatedDestinations_title__xtUvr",list:"RelatedDestinations_list__10-SR",list2:"RelatedDestinations_list2__FabQa"}},7334:function(e){e.exports={container:"ChoseWhen_container__12ijc",choseWhen:"ChoseWhen_choseWhen__15GT9",topTitle:"ChoseWhen_topTitle__16nk-",topText:"ChoseWhen_topText__1slQH",text:"ChoseWhen_text__1NDdQ",list:"ChoseWhen_list__ky1OY",link:"ChoseWhen_link__12CW_",title:"ChoseWhen_title__Vq1xv",mapHeading:"ChoseWhen_mapHeading__1XhcZ"}}},function(e){e.O(0,[255,345,637,650,774,888,179],(function(){return t=5885,e(e.s=t);var t}));var t=e.O();_N_E=t}]);