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