"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3604],{28470:function(e,t,o){o.d(t,{m:function(){return s}});var l=o(8529),r=o(2784),a=o(14332),i=o(17092),n=o(52322),s=function(e){var t,o=e.tabs,s=e.borderStyle,d=e.tabIndex,c=e.setActiveTabIndex,u=e.disableTabKey,b=e.alternateStyling,g=r.useState(d||0),p=(0,l.Z)(g,2),m=p[0],S=p[1],G=r.useState(d||0),y=(0,l.Z)(G,2),v=y[0],T=y[1],C=o.map(function(){return r.createRef()});r.useEffect(function(){S(d||0),T(d||0)},[d]);var h=function(e){var t,l,r,i=m;switch(e.key){case a.yX.ArrowRight:S(i=m===o.length-1?0:m+1),T(i),null===(t=C[i].current)||void 0===t||t.focus();break;case a.yX.ArrowLeft:S(i=0===m?o.length-1:m-1),T(i),null===(l=C[i].current)||void 0===l||l.focus();break;case a.yX.Tab:e.shiftKey&&0===v?T(0):T(v+1),null===(r=C[i=v])||void 0===r||null===(r=r.current)||void 0===r||r.focus()}},f="tab-button",W="tab-panel";return(0,n.jsxs)(i.W2,{children:[(0,n.jsx)(i.td,{role:"tablist",alternateStyling:b,children:o.map(function(e,t){return(0,n.jsxs)(i.OK,{ref:C[t],id:"".concat(f,"-").concat(t),tabIndex:t!==m?-1:0,"aria-controls":"".concat(W,"-").concat(t),role:"tab","aria-selected":t===m,isSelected:t===m,onClick:function(){S(t),c&&c(t)},onKeyDown:h,borderStyle:s||"SingleTab",alternateStyling:b,children:[e.title," ",e.icon]},"".concat(f,"-").concat(t))})}),(0,n.jsx)(i.x4,{role:"tabpanel",tabIndex:u?-1:0,id:"".concat(W,"-").concat(m),"aria-labelledby":"".concat(f,"-").concat(m),onKeyDown:function(e){if("Tab"===e.key&&e.shiftKey){var t;null===(t=C[m+1])||void 0===t||null===(t=t.current)||void 0===t||t.focus(),T(m)}},alternateStyling:b,children:null===(t=o[m])||void 0===t?void 0:t.content})]})}},83604:function(e,t,o){o.r(t),o.d(t,{TabbedSetWidgetRenderer:function(){return P}});var l,r,a,i,n,s=o(95235),d=o(7328),c=o(2784),u=o(14332),b=o(34952),g=o(45940),p=o(28999),m=o(28470),S=o(52322);function G(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}var y=((l={}).LIGHT="light",l.DARK="dark",l),v=g.zo.h2(r||(r=(0,d.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n"])),function(e){return(0,p.xv)(e.theme.widget.tabbedSet.title.font.entry,e.theme.widget.tabbedSet.title.font.style,e.theme.widget.tabbedSet.title.font.hasScaledText)},(0,u.W0)(1),function(e){return e.color&&e.color===y.LIGHT?e.theme.colors.palette.greys.light:e.theme.colors.palette.greys.darker}),T=g.zo.h2(a||(a=(0,d.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n"])),function(e){return(0,p.xv)(e.theme.widget.tabbedSet.subtitle.font.entry,e.theme.widget.tabbedSet.subtitle.font.style)},(0,u.W0)(3),function(e){return e.color&&e.color===y.LIGHT?e.theme.colors.palette.greys.light:e.theme.colors.palette.greys.darker}),C=g.zo.div(i||(i=(0,d.Z)(["\n text-align: ",";\n"])),function(e){return e.alignment||"center"}),h=o(54039),f=o(13236);function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,l)}return o}function B(e){for(var t=1;t1)return(0,S.jsx)(w,B({},r))}if(e.__typename===f.y.ResponsiveProductTabs){var a,i=t(e.banners,"tabTitle_");if(0===(i||[]).length)return null;var n={title:{text:e.responsiveProductTabsTitle||""},tabProps:{tabs:i}};if((null===(a=n.tabProps.tabs)||void 0===a?void 0:a.length)>0)return(0,S.jsx)(w,B({},n))}return null}},13236:function(e,t,o){o.d(t,{y:function(){return r}});var l,r=((l={}).AccordionWidget="AccordionWidget",l.AccordionWidgetContainer="AccordionWidgetContainer",l.BMICalculator="BMICalculator",l.BMICalculatorV2="BMICalculatorV2",l.BrandsPageWidget="BrandsPageWidget",l.BuildYourOwnBundleProductList="BuildYourOwnBundleProductList",l.DeliveryInfoWidget="DeliveryInfoWidget",l.DeliveryInformationWidget="DeliveryInformationWidget",l.DynamicReferralWidget="DynamicReferralWidget",l.GlobalReferral3StepGuide="GlobalReferral3StepGuide",l.Easiware="Easiware",l.EditorialWidget="EditorialWidget",l.EmailReEngagementModal="EmailReEngagementModal",l.FastTrackBanner="FastTrackBanner",l.FoundationFinderLandingPageWidget="FoundationFinderLandingPageWidget",l.GlobalAboutUsVideo="GlobalAboutUsVideo",l.GlobalAccreditationIcon="GlobalAccreditationIcon",l.GlobalAccreditationIconCollection="GlobalAccreditationIconCollection",l.GlobalBrandLogos="GlobalBrandLogos",l.GlobalBuyingRightNow="GlobalBuyingRightNow",l.GlobalBuyingRightNowManualProductURL="GlobalBuyingRightNowManualProductURL",l.GlobalCardScrollerCard="GlobalCardScrollerCard",l.GlobalCardScrollerSet="GlobalCardScrollerSet",l.GlobalDispatchAndDateCountdownWidget="GlobalDispatchAndDateCountdownWidget",l.GlobalEditorialWithFeature="GlobalEditorialWithFeature",l.GlobalFooterAccreditationIcons="GlobalFooterAccreditationIcons",l.GlobalFooterContactUs="GlobalFooterContactUs",l.GlobalFourBestSellers="GlobalFourBestSellers",l.GlobalFourButtonLink="GlobalFourButtonLink",l.GlobalFourItemEditorial="GlobalFourItemEditorial",l.GlobalGeneralImageBanner="GlobalGeneralImageBanner",l.GlobalHelpCentreCollection="GlobalHelpCentreCollection",l.GlobalHeroCTABanner="GlobalHeroCTABanner",l.GlobalImageCard="GlobalImageCard",l.GlobalImageCardSet="GlobalImageCardSet",l.GlobalMultiButton="GlobalMultiButton",l.GlobalPrimaryBanner="GlobalPrimaryBanner",l.GlobalPrimaryBannerWithList="GlobalPrimaryBannerWithList",l.GlobalPrimaryBannerWithTextOverlay="GlobalPrimaryBannerWithTextOverlay",l.GlobalProductCardScroller="GlobalProductCardScroller",l.GlobalScalableLogos="GlobalScalableLogos",l.GlobalSectionPeek="GlobalSectionPeek",l.GlobalSetAndromeda="GlobalSetAndromeda",l.GlobalSimpleTextCTAWidget="GlobalSimpleTextCTAWidget",l.GlobalSixItemCategories="GlobalSixItemCategories",l.GlobalSocialIcon="GlobalSocialIcon",l.GlobalSocialIconCollection="GlobalSocialIconCollection",l.GlobalSocialIconCollectionv2="GlobalSocialIconCollectionv2",l.GlobalSocialIconv2="GlobalSocialIconv2",l.GlobalStripBanner="GlobalStripBanner",l.GlobalSubscriptionOptions="GlobalSubscriptionOptions",l.GlobalTabbedWidgetSet="GlobalTabbedWidgetSet",l.GlobalThreeItemEditorialSubtitleBG="GlobalThreeItemEditorialSubtitleBG",l.GlobalThreeItemEditorial="GlobalThreeItemEditorial",l.GlobalTransformationSlider="GlobalTransformationSlider",l.GlobalTrendingHashtagBlock="GlobalTrendingHashtagBlock",l.GlobalTrendingHashtagCollection="GlobalTrendingHashtagCollection",l.GlobalTwoBestSellers="GlobalTwoBestSellers",l.GlobalTwoItemEditorial="GlobalTwoItemEditorial",l.GlobalTwoItemImageTextBlock="GlobalTwoItemImageTextBlock",l.GlobalTwoItemImageTextCTA="GlobalTwoItemImageTextCTA",l.GlobalTwoItemImageTextCTA3070="GlobalTwoItemImageTextCTA3070",l.GlobalUGCCarousel="GlobalUGCCarousel",l.GlobalVideoGallery="GlobalVideoGallery",l.GlobalVideoHeroBannerWidget="GlobalVideoHeroBannerWidget",l.GlobalVideoTextImageCTA="GlobalVideoTextImageCTA",l.GlobalWaitListSignUpFormResponses="GlobalWaitListSignUpFormResponses",l.GlobalWaitListSignUpWidget="GlobalWaitListSignUpWidget",l.GlobalWidgetSirius="GlobalWidgetSirius",l.GlobalWidgetVega="GlobalWidgetVega",l.GlobalYoutubeGalleryItem="GlobalYoutubeGalleryItem",l.GlobalYoutubeGallerySet="GlobalYoutubeGallerySet",l.LoyaltyHubBirthdayGift="LoyaltyHubBirthdayGift",l.LoyaltyHubTier="LoyaltyHubTier",l.LoyaltyRewardTier="LoyaltyRewardTier",l.LoyaltyRewardTiers="LoyaltyRewardTiers",l.MailingList="MailingList",l.MultipleCTABanner="MultipleCTABanner",l.ProductListWidget="ProductListWidget",l.PropositionBar="propositionBar",l.ProvenanceBrandHeader="provenanceBrandHeader",l.ResponsiveBuildYourOwnBundle="ResponsiveBuildYourOwnBundle",l.ResponsiveBuildYourOwnBundleProducts="ResponsiveBuildYourOwnBundleProducts",l.ResponsiveComparisonTable="ResponsiveComparisonTable",l.ResponsiveComparisonTableContainer="ResponsiveComparisonTableContainer",l.ResponsiveProductBlockCarousel="ResponsiveProductBlockCarousel",l.ResponsiveProductTabs="ResponsiveProductTabs",l.ResponsiveSetSalon="ResponsiveSetSalon",l.ResponsiveSetSalonWithSlides="ResponsiveSetSalonWithSlides",l.ResponsiveSliderSet="ResponsiveSliderSet",l.ResponsiveSuccessStoriesWidgetContainer="ResponsiveSuccessStoriesWidgetContainer",l.ResponsiveSuccessStoryWidget="ResponsiveSuccessStoryWidget",l.ResponsiveTwoItemComparisonContainer="ResponsiveTwoItemComparisonContainer",l.ResponsiveTwoItemComparisonRow="ResponsiveTwoItemComparisonRow",l.ResponsiveUSPBar="ResponsiveUSPBar",l.SeoProductCategory="SeoProductCategory",l.SeoProductCategorySet="SeoProductCategorySet",l.ShopTheLookHotSpot="ShopTheLookHotSpot",l.TopBrandsWidget="TopBrandsWidget",l.TopProductCategory="TopProductCategory",l.TopProductCategorySet="TopProductCategorySet",l.TrustPilotWidget="TrustPilotWidget",l.TrustPilotCarouselWidget="TrustPilotCarouselWidget",l.VoucherCodesWidget="VoucherCodesWidget",l.asymmetricGrid="asymmetricGrid",l.buildyourownbundle="buildyourownbundle",l.categoryItemCard="categoryItemCard",l.coverageCalculator="coverageCalculator",l.eightLinkButtonWidget="eightLinkButtonWidget",l.imageSelectCard="imageSelectCard",l.imageSelectSlider="imageSelectSlider",l.improvedSearchBestSellers="improvedSearchBestSellers",l.kitBuilder="kitBuilder",l.loyaltyRewardsList="loyaltyRewardsList",l.loyaltyWelcomeMessage="loyaltyWelcomeMessage",l.multiCategoryCardSet="multiCategoryCardSet",l.parcelLabWidget="parcelLabWidget",l.promoproductslider="promoproductslider",l.revieveWidget="revieveWidget",l.shopTheLook="shopTheLook",l.simpleCTA="simpleCTA",l.simpleTextWidgetSet="simpleTextWidgetSet",l.simpleTitleWidget="simpleTitleWidget",l.simpletextwidget="simpletextwidget",l.simpletextwidgetwithh1="simpletextwidgetwithh1",l.sponsoredProducts="sponsoredProducts",l.sponsoredProductsNew="sponsoredProductsNew",l.subscribeAndSaveInformationModal="subscribeAndSaveInformationModal",l.swatchSelectSlider="swatchSelectSlider",l.swatchSelectSliderSet="swatchSelectSliderSet",l.trustReinforcementContainer="trustReinforcementContainer",l.trustReinforcementSection="trustReinforcementSection",l.storyStream="storyStreamWidget",l.CriteoSponsoredBannerAds="CriteoSponsoredBannerAds",l.sponsoredProductsCriteoHomepage="sponsoredProductsCriteoHomepage",l.qubitHomePageRecs="qubitHomePageRecs",l)}}]); //# sourceMappingURL=3604.6a04337b0720549a.js.map