{"version":3,"file":"PageLanguageSelector-62f9d42efecced41ec05.js","sources":["webpack:///PageLanguageSelector-62f9d42efecced41ec05.js"],"sourcesContent":["(this.nextGenJsonpFunction=this.nextGenJsonpFunction||[]).push([[242],{1:function(e,t,l){\"use strict\";l.d(t,\"a\",(function(){return i})),l.d(t,\"e\",(function(){return a})),l.d(t,\"f\",(function(){return d})),l.d(t,\"d\",(function(){return o})),l.d(t,\"b\",(function(){return c})),l.d(t,\"c\",(function(){return s}));var i,n=l(2);function a(e){return`(min-width: ${e+1}px)`}function d(e){return`(max-width: ${e}px)`}function o(e,t){return`${a(e)} and ${d(t)}`}!function(e){e[e.MobileSmall=320]=\"MobileSmall\",e[e.Mobile=375]=\"Mobile\",e[e.MobileLarge=480]=\"MobileLarge\",e[e.Tablet=768]=\"Tablet\",e[e.TimelineHeight=920]=\"TimelineHeight\",e[e.TabletLarge=1024]=\"TabletLarge\",e[e.DesktopSmall=1280]=\"DesktopSmall\",e[e.Desktop=1366]=\"Desktop\",e[e.DesktopLarge=1600]=\"DesktopLarge\",e[e.ActualDesktop=1920]=\"ActualDesktop\",e[e.ExtraLargeDesktop=2560]=\"ExtraLargeDesktop\"}(i||(i={}));const c=n.d.div.withConfig({displayName:\"media__FromDevice\",componentId:\"sc-1ev7ina-0\"})([\"display:none;\",\"\"],({device:e})=>e?Object(n.c)([\"@media \",\"{display:contents;}\"],a(e)):null),s=n.d.div.withConfig({displayName:\"media__UntilDevice\",componentId:\"sc-1ev7ina-1\"})([\"display:contents;\",\"\"],({device:e})=>e?Object(n.c)([\"@media \",\"{display:none;}\"],a(e)):null)},1048:function(e,t,l){\"use strict\";l.r(t);var i=l(1),n=l(0),a=l.n(n),d=l(186),o=l.n(d),c=l(110),s=l(3),r=l(6),u=l(2);const m={Container:u.d.div.withConfig({displayName:\"CultureSelectstyles__Container\",componentId:\"sc-1swqgci-0\"})([\"width:100%;padding:55px;padding-left:15%;min-height:700px;\"]),Inner:u.d.div.withConfig({displayName:\"CultureSelectstyles__Inner\",componentId:\"sc-1swqgci-1\"})([\"left:\",\";max-width:550px;min-width:280px;top:25%;\"],({isCentred:e})=>e?\"50%;\":\"25%\"),SubTitle:u.d.div.withConfig({displayName:\"CultureSelectstyles__SubTitle\",componentId:\"sc-1swqgci-2\"})([\"\",\";font-weight:400;font-size:17px;color:\",\";padding-bottom:32px;\"],r.a.helvetica[\"53-extended\"],s.a.white),RegionTitle:u.d.div.withConfig({displayName:\"CultureSelectstyles__RegionTitle\",componentId:\"sc-1swqgci-3\"})([\"\",\";font-weight:700;font-size:24px;color:\",\";padding-bottom:32px;\"],r.a.helvetica[\"53-extended\"],s.a.white),CultureContainer:u.d.div.withConfig({displayName:\"CultureSelectstyles__CultureContainer\",componentId:\"sc-1swqgci-4\"})([\"display:flex;flex-wrap:wrap;max-width:550px;\"]),CultureItem:u.d.a.withConfig({displayName:\"CultureSelectstyles__CultureItem\",componentId:\"sc-1swqgci-5\"})([\"flex:0 0 33%;display:flex;align-items:center;padding-bottom:24px;cursor:pointer;color:\",\";&:hover{color:\",\";}@media \",\"{display:none;}\"],s.a.white,s.a.red.base,Object(i.f)(i.a.DesktopSmall)),Dropdown:u.d.div.withConfig({displayName:\"CultureSelectstyles__Dropdown\",componentId:\"sc-1swqgci-6\"})([\"z-index:2;display:inline-block;min-width:250px;border:none;outline:none;position:relative;padding:15px 20px;cursor:pointer;background-color:\",\";text-align:left;}@media \",\"{display:none;}\"],s.a.white,Object(i.e)(i.a.DesktopSmall)),DropdownIcon:u.d.img.withConfig({displayName:\"CultureSelectstyles__DropdownIcon\",componentId:\"sc-1swqgci-7\"})([\"transform:\",\";transition:transform 0.15s ease;position:absolute;right:20px;margin:4px;width:16px;\"],({isActive:e})=>e?\"rotate(180deg);\":\"none\"),DropdownList:u.d.ul.withConfig({displayName:\"CultureSelectstyles__DropdownList\",componentId:\"sc-1swqgci-8\"})([\"display:\",\";position:absolute;z-index:1;background:\",\";width:100%;left:0px;margin:0;list-style:none;padding-top:15px;max-height:200px;overflow-y:auto;\"],({isActive:e})=>e?\"block\":\"none\",s.a.white),DropdownListItem:u.d.li.withConfig({displayName:\"CultureSelectstyles__DropdownListItem\",componentId:\"sc-1swqgci-9\"})([\"display:flex;align-items:center;padding:0 20px;\",\";font-weight:700;font-size:14px;color:\",\";\"],r.a.helvetica[\"53-extended\"],s.a.nearlyBlack),FlagImage:u.d.svg.withConfig({displayName:\"CultureSelectstyles__FlagImage\",componentId:\"sc-1swqgci-10\"})([\"width:36px;height:36px;\"]),FlagName:u.d.div.withConfig({displayName:\"CultureSelectstyles__FlagName\",componentId:\"sc-1swqgci-11\"})([\"display:flex;margin-left:16px;\"])},g={Outer:u.d.div.withConfig({displayName:\"Titlestyles__Outer\",componentId:\"c4j3mj-0\"})([\"padding:0;padding-bottom:64px;align-items:flex-start;justify-content:start;padding-bottom:32px;text-align:left;top:50px;left:0;display:flex;width:100%;flex-direction:column;\"]),Heading:u.d.h1.withConfig({displayName:\"Titlestyles__Heading\",componentId:\"c4j3mj-1\"})([\"left:\",\";max-width:800px;padding-bottom:20px;font-size:49px;font-weight:700;display:inline-block;color:#fff;margin:0;padding:0;text-transform:none;z-index:2;text-align:center;@media \",\"{font-size:34px;}\"],({isCentred:e})=>e?\"50%;\":\"25%\",Object(i.f)(i.a.TabletLarge))};var h=e=>a.a.createElement(g.Outer,null,a.a.createElement(g.Heading,{isCentred:e.centreCultureSelect},e.title));var y=e=>{const[t,l]=Object(n.useState)(!1),[i,d]=Object(n.useState)(\"en-TT\"),s=e=>{switch(e){case\"nl-BE\":return\"fr-BE\";default:return e}},r=e.cultures.find(e=>e.cultureCode===i);return a.a.createElement(m.Container,null,a.a.createElement(h,{centreCultureSelect:e.centreCultureSelect,title:(null==r?void 0:r.title)||e.title,cultureCode:i}),a.a.createElement(m.Inner,{isCentred:e.centreCultureSelect},a.a.createElement(m.SubTitle,null,(null==r?void 0:r.subtitle)||e.subtitle),a.a.createElement(m.RegionTitle,null,(null==r?void 0:r.region)||e.region),a.a.createElement(m.CultureContainer,null,e.cultures.map(e=>a.a.createElement(m.CultureItem,{key:e.id,href:e.url,onMouseEnter:()=>(e=>{d(e)})(e.cultureCode)},a.a.createElement(m.FlagImage,null,a.a.createElement(\"use\",{href:`${o.a}#${s(e.cultureCode)}`})),a.a.createElement(m.FlagName,null,e.cultureName)))),a.a.createElement(m.Dropdown,{onClick:()=>l(!t)},a.a.createElement(\"span\",null,e.selectCountryText),a.a.createElement(m.DropdownIcon,{isActive:t,src:c.b}),a.a.createElement(m.DropdownList,{isActive:t},e.cultures.map(e=>a.a.createElement(m.DropdownListItem,{key:e.id,onClick:()=>window.location.href=e.url},a.a.createElement(m.FlagImage,null,a.a.createElement(\"use\",{href:`${o.a}#${s(e.cultureCode)}`})),a.a.createElement(m.FlagName,null,e.cultureName)))))))};const p={Wrapper:u.d.section.withConfig({displayName:\"PageLanguageSelectorstyles__Wrapper\",componentId:\"sc-1jzklct-0\"})([\"position:relative;\"]),BackgroundImage:u.d.picture.withConfig({displayName:\"PageLanguageSelectorstyles__BackgroundImage\",componentId:\"sc-1jzklct-1\"})([\"position:absolute;height:100%;width:100%;z-index:-1;\"]),Img:u.d.img.withConfig({displayName:\"PageLanguageSelectorstyles__Img\",componentId:\"sc-1jzklct-2\"})([\"height:100%;width:100%;object-fit:cover;object-position:100% 0%;\"]),Source:u.d.source.withConfig({displayName:\"PageLanguageSelectorstyles__Source\",componentId:\"sc-1jzklct-3\"})([\"position:absolute;height:100%;width:100%;z-index:-1;\"])};t.default=e=>a.a.createElement(p.Wrapper,null,a.a.createElement(p.BackgroundImage,null,a.a.createElement(p.Source,{srcSet:e.backgroundImage,media:\"\"+Object(i.e)(i.a.Tablet)}),a.a.createElement(p.Img,{src:e.mobileBackgroundImage,alt:\"Background Image\"})),a.a.createElement(y,{title:e.title,subtitle:e.subtitle,region:e.region,centreCultureSelect:e.centreCultureSelect,cultures:e.availableCultures,selectCountryText:e.selectCountryText}))},110:function(e,t,l){\"use strict\";l.d(t,\"a\",(function(){return d}));var i,n=l(0);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=800?Object(i.c)([\"font-family:\",\" !important;font-weight:\",\" !important;\"],()=>a,t):Object(i.c)([\"font-family:\",\",\",\" !important;font-weight:\",\" !important;\"],()=>a,e,t),e,l)}t.a={helvetica:{\"45-light\":d(n[\"45-light\"].family,n[\"45-light\"].weight,n[\"45-light\"].style),\"45-light-italic\":d(n[\"45-light-italic\"].family,n[\"45-light-italic\"].weight,n[\"45-light-italic\"].style),\"53-extended\":d(n[\"53-extended\"].family,n[\"53-extended\"].weight,n[\"53-extended\"].style),\"53-extended-oblique\":d(n[\"53-extended-oblique\"].family,n[\"53-extended-oblique\"].weight,n[\"53-extended-oblique\"].style),\"55-roman\":d(n[\"55-roman\"].family,n[\"55-roman\"].weight,n[\"55-roman\"].style),\"63-medium-extended\":d(n[\"63-medium-extended\"].family,n[\"63-medium-extended\"].weight,n[\"63-medium-extended\"].style),\"63-medium-extended-oblique\":d(n[\"63-medium-extended-oblique\"].family,n[\"63-medium-extended-oblique\"].weight,n[\"63-medium-extended-oblique\"].style),\"67-medium-condensed\":d(n[\"67-medium-condensed\"].family,n[\"67-medium-condensed\"].weight,n[\"67-medium-condensed\"].style),\"73-bold-extended\":d(n[\"73-bold-extended\"].family,n[\"73-bold-extended\"].weight,n[\"73-bold-extended\"].style),\"73-bold-extended-oblique\":d(n[\"73-bold-extended-oblique\"].family,n[\"73-bold-extended-oblique\"].weight,n[\"73-bold-extended-oblique\"].style),\"77-bold-condensed\":d(n[\"77-bold-condensed\"].family,n[\"77-bold-condensed\"].weight,n[\"77-bold-condensed\"].style),\"83-heavy-extended\":d(n[\"83-heavy-extended\"].family,n[\"83-heavy-extended\"].weight,n[\"83-heavy-extended\"].style),\"83-heavy-extended-oblique\":d(n[\"83-heavy-extended-oblique\"].family,n[\"83-heavy-extended-oblique\"].weight,n[\"83-heavy-extended-oblique\"].style),\"87-heavy-condensed\":d(n[\"87-heavy-condensed\"].family,n[\"87-heavy-condensed\"].weight,n[\"87-heavy-condensed\"].style),\"87-heavy-condensed-oblique\":d(n[\"87-heavy-condensed-oblique\"].family,n[\"87-heavy-condensed-oblique\"].weight,n[\"87-heavy-condensed-oblique\"].style),\"93-black-extended\":d(n[\"93-black-extended\"].family,n[\"93-black-extended\"].weight,n[\"93-black-extended\"].style),\"93-black-extended-oblique\":d(n[\"93-black-extended-oblique\"].family,n[\"93-black-extended-oblique\"].weight,n[\"93-black-extended-oblique\"].style),\"97-black-condensed\":d(n[\"97-black-condensed\"].family,n[\"97-black-condensed\"].weight,n[\"97-black-condensed\"].style),\"97-black-condensed-oblique\":d(n[\"97-black-condensed-oblique\"].family,n[\"97-black-condensed-oblique\"].weight,n[\"97-black-condensed-oblique\"].style)},ls:e=>`calc(${e/1e3} * 1em)`,arimo:()=>d(a)}}}]);"],"mappings":"AAAA","sourceRoot":""}