(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[544],{6159:(i,e,t)=>{"use strict";t.r(e),t.d(e,{EditionDropdown:()=>c});var n=t(1309),d=t(8352),a=t(2599),o=t(591),r=t(6951),s=t(9939);const l=(0,d.css)("display:flex;position:absolute;right:11px;",(0,s.K)("editionDropdown")," transform:translateX(100%);:before{content:'';border-left:1px solid ",o.brand[600],";display:block;float:left;height:24px;}",r.from.desktop,"{right:121px;width:110px;}",r.from.wide,"{right:198px;width:197px;}");var p={name:"1d9bl8d",styles:"padding-top:7px"};const c=({edition:i,dataLinkName:e})=>{const t=[{url:"/preference/edition/uk",isActive:"UK"===i,title:"UK edition",dataLinkName:"nav2 : topbar : edition-picker: UK"},{url:"/preference/edition/us",isActive:"US"===i,title:"US edition",dataLinkName:"nav2 : topbar : edition-picker: US"},{url:"/preference/edition/au",isActive:"AU"===i,title:"Australian edition",dataLinkName:"nav2 : topbar : edition-picker: AU"},{url:"/preference/edition/int",isActive:"INT"===i,title:"International edition",dataLinkName:"nav2 : topbar : edition-picker: INT"}],d=t.find((i=>i.isActive))||t[0],o=t.filter((i=>!i.isActive));return o.unshift(d),(0,n.jsx)("div",Object.assign({css:l},{children:(0,n.jsx)("div",Object.assign({css:p},{children:(0,n.jsx)(a.L,{label:d.title,links:o,id:"edition",dataLinkName:e},void 0)}),void 0)}),void 0)}}}]);
//# sourceMappingURL=EditionDropdown.5bba405d5d709ff64f5e.js.map