(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2112],{82709:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return Mt},default:function(){return Tt}});var r=n(95235),i=n(68215),o=n(34693),a=n(15820),s=n(11413),l=n(24838),d=n(7307);const c=d.default.div.withConfig({componentId:"sc-5auia5-0"})(["display:flex;justify-content:center;align-items:center;color:",";padding-top:",";padding-bottom:",";"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.spacing[64]}),(e=>{let{theme:t}=e;return t.spacing[64]}));var m=n(52322);var u=e=>{let{lang:t}=e;return(0,m.jsx)(c,{children:(0,m.jsx)(l.L,{size:"large",loadingIcon:"mushroom",lang:t})})},p=n(2784),h=n(63046),g=n(96447),f=n(77216),x=n(86409),y=n(29019),b=n(71346),w=n.n(b),j=n(66955),k=n(32408),v=n(85316),C=n(34671),I=n(70467),P=n(65237),z=n(92841);const O=d.default.div.withConfig({componentId:"sc-9xty2v-0"})(["display:flex;justify-content:space-between;gap:8px;margin:8px 10px 0;","{margin:16px 0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Q=(0,d.default)(C.K).withConfig({componentId:"sc-9xty2v-1"})(["border-radius:",";overflow:hidden;"],(e=>{let{theme:t}=e;return t.borderRadius})),S=d.default.div.withConfig({componentId:"sc-9xty2v-2"})(["flex:1;overflow:hidden;border:1px solid ",";padding:0;background:transparent;border-radius:",";aspect-ratio:16 / 9;cursor:pointer;position:relative;width:100%;display:block;opacity:0.8;transition:opacity "," "," ",";&::after{content:'';width:100%;bottom:0;height:0;display:block;background-color:",";position:absolute;transition:height "," "," ",",background-color "," "," ",";}"," &:hover{opacity:1;}",""],(e=>{let{theme:t}=e;return t.color.lightGray3}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.movement.duration}),(e=>{let{theme:t}=e;return t.movement.easing}),(e=>{let{theme:t}=e;return t.movement.delay}),(e=>{let{theme:t}=e;return t.color.primaryHover}),(e=>{let{theme:t}=e;return t.movement.duration}),(e=>{let{theme:t}=e;return t.movement.easing}),(e=>{let{theme:t}=e;return t.movement.delay}),(e=>{let{theme:t}=e;return t.movement.duration}),(e=>{let{theme:t}=e;return t.movement.easing}),(e=>{let{theme:t}=e;return t.movement.delay}),(e=>{let{showPlay:t}=e;return t&&(0,d.css)(["&::before{content:",";font-family:NOAVideo;line-height:1;border:none;position:absolute;z-index:1;width:auto;top:50%;left:50%;transform:scale(1) translateX(-50%) translateY(-50%);transition:transform "," "," ",";background-color:",";margin:0;padding:0.05em 0.05em 1.05em;border-radius:1.5rem;font-size:1.2rem;height:1.1rem;","{padding:0.05em 0.05em 1.05em;font-size:1.4rem;height:1.3rem;}","{padding:0.05em 0.05em 1em;font-size:1.8rem;height:1.7rem;}","{padding:0.05em 0.05em 1.05em;font-size:2rem;height:1.9rem;}}"],'"\\E90B"',(e=>{let{theme:t}=e;return t.movement.duration}),(e=>{let{theme:t}=e;return t.movement.easing}),(e=>{let{theme:t}=e;return t.movement.delay}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}))}),(e=>{let{assetType:t}=e;return"Video"==t&&(0,d.css)(["&::before{content:",";font-family:NOAVideo;padding:0.02em 0.06em 1.05em;border-radius:3rem;line-height:1;border:none;position:absolute;font-size:16px;width:auto;height:16px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:",";margin:0;","{font-size:32px;height:32px;}}"],'"\\E90B"',(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}))})),L=(0,d.default)(z.M).withConfig({componentId:"sc-9xty2v-3"})(["[role='dialog']{margin:0 32px;max-width:calc((70vh / 9) * 16);","{width:calc(100% - 14rem);}}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));var D=e=>{const{product:t,onModalClose:n,onThumbClick:r}=e,{productImage:i,productGallery:o}=t,a=["image","video"],{0:s,1:l}=(0,p.useState)(!1),{0:d,1:c}=(0,p.useState)(0),u=[...o??[]].filter((e=>a.includes(e?.resourceType)));return(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{children:(0,m.jsx)(Q,{assetPath:i.publicId,alt:t.name,lazyLoad:!1})}),(0,m.jsx)(O,{children:u.slice(0,4).map(((e,n)=>{let{publicId:i,resourceType:o}=e;return(0,m.jsxs)(S,{onClick:()=>{l(!0),c(n+1),r()},showPlay:"video"===o,children:["image"===o&&(0,m.jsx)(C.K,{assetPath:i,alt:t.name}),"video"===o&&(0,m.jsx)(I.V,{assetPath:i})]},i)}))}),(0,m.jsx)(L,{lang:"en",containChildren:!1,dialogLabel:"Media Gallery Modal",visible:s,onClose:()=>{l(!1),n()},children:s?(0,m.jsxs)(k.C,{animation:"zoom",slideBorderColor:"transparent",slideIndex:d,children:[(0,m.jsx)(C.K,{assetPath:i.publicId,alt:t.name}),u.map((e=>{let{publicId:n,resourceType:r}=e;return"image"===r?(0,m.jsx)(C.K,{assetPath:n,alt:t.name},n):"video"===r?(0,m.jsx)(P.V,{assetPath:n},n):null}))]}):null})]})},_=n(91850),G=n(87965),E=n(81062),M=n(88162);const T=965,N=1144,R=648,$=327,Z=(0,d.default)(_.E.div).withConfig({componentId:"sc-6j2u9y-0"})(["padding:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[48]})),A=d.default.div.withConfig({componentId:"sc-6j2u9y-1"})(["display:flex;flex-direction:column;gap:16px;background-color:",";border-radius:16px;overflow:hidden;width:","px;margin:auto auto 16px;","{width:","px;}","{flex-direction:row;gap:48px;padding:24px;border:1px solid #dadada;height:479px;margin-bottom:",";width:","px;}","{width:","px;}"],(e=>{let{theme:t}=e;return t.color.white}),$,(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),R,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[16]}),T,(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge}),N),H=d.default.div.withConfig({componentId:"sc-6j2u9y-2"})(["width:100%;","{max-width:600px;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),B=d.default.div.withConfig({componentId:"sc-6j2u9y-3"})(["display:flex;flex:1;flex-direction:column;padding:0 24px 24px;","{padding:0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),W=(0,d.default)(f.H).attrs({variant:"h1"}).withConfig({componentId:"sc-6j2u9y-4"})(["color:white;margin:0 0 "," 0;","{margin:"," 0 "," 0;}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[48]})),K=(0,d.default)(f.H).attrs({variant:"h1"}).withConfig({componentId:"sc-6j2u9y-5"})(["margin-top:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[32]})),V=d.default.div.withConfig({componentId:"sc-6j2u9y-6"})(["display:flex;justify-content:space-between;margin-top:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),q=(0,d.default)(E.P).attrs({size:"large"}).withConfig({componentId:"sc-6j2u9y-7"})(["& span:first-child{font-size:",";}","{& span:first-child{font-size:",";}}"],(e=>{let{theme:t}=e;return t.font.size.h1SMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.h1SDesktop})),F=d.default.div.withConfig({componentId:"sc-6j2u9y-8"})(["margin-top:16px;","{margin-top:auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),U=(0,d.default)(M.B).withConfig({componentId:"sc-6j2u9y-9"})(["margin-top:",";"],(e=>{let{theme:t}=e;return t.spacing[12]})),Y=(0,d.default)(x.Y6).attrs({flip:!0,position:"top",height:16}).withConfig({componentId:"sc-6j2u9y-10"})(["background-image:unset;-webkit-mask-image:url(",");-webkit-mask-repeat:repeat-x;-webkit-mask-size:auto ","px;top:-","px;"],G.$u,16,15),X=(0,d.default)(x.bs).withConfig({componentId:"sc-6j2u9y-11"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),J=(0,v.Z)(j.W),ee=e=>e.startsWith("rgb")?e:`#${e}`,te=e=>{const{onProductCtaClick:t,products:n,LastSlide:r,title:i}=e,a=(0,o.useLocalizer)(),{0:s,1:l}=(0,p.useState)(!0),{0:c,1:u}=(0,p.useState)(0),h=(0,d.useTheme)(),{0:g,1:y}=(0,p.useState)(n?.[0]?.backgroundColor),b=(0,p.useMemo)((()=>{if(!g)return;return w()("white").contrast(w()(ee(g)))>=3}),[g]),j=(0,p.useMemo)((()=>{if(!g)return`linear-gradient(180deg, ${h.color.darkGray2} 0%, white 100%)`;return`${`linear-gradient(rgba(0, 0, 0, ${b?"0":.4}), 70%, white)`}, linear-gradient(180deg, ${ee(g)}, 70%, white)`}),[g,b,h.color.darkGray2]);(0,p.useLayoutEffect)((()=>{const e=new ResizeObserver((()=>u(window.innerWidth)));return e.observe(document.body),()=>e.unobserve(document.body)}),[]);const C=(0,p.useMemo)((()=>{if(c<768)return 1;const e=c<1025;return c/((e?R:c<1440?T:N)+2*(e?20:40))}),[c]);return n?.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y,{initial:{backgroundColor:ee(g),filter:`brightness(${b?"100%":"60%"})`},animate:{backgroundColor:ee(g),filter:`brightness(${b?"100%":"60%"})`},transition:{duration:.5}}),(0,m.jsxs)(Z,{animate:{background:j},transition:{duration:.5},children:[(0,m.jsx)(x.He,{small:!0,children:(0,m.jsx)(W,{children:i})}),(0,m.jsxs)(k.C,{useCustomSlide:!0,beforeSlide:(e,t)=>y(n?.[t]?.backgroundColor||n[0].backgroundColor),dragging:s,swiping:s,slideBorderColor:"transparent",noLoop:!0,slidesToShow:C,cellAlign:"center",children:[n.map(((e,n)=>(0,m.jsxs)(A,{backgroundColor:e.backgroundColor,children:[(0,m.jsx)(H,{children:(0,m.jsx)(D,{onThumbClick:()=>l(!1),onModalClose:()=>l(!0),product:e})}),(0,m.jsxs)(B,{children:[(0,m.jsx)(f.H.NewLevel,{children:(0,m.jsx)(K,{children:e.name})}),(0,m.jsxs)(V,{children:[(0,m.jsx)(q,{regPrice:a.price(e.prices?.minimum?.regularPrice),salePrice:e.prices?.minimum?.discounted?a.price(e.prices?.minimum?.finalPrice):null,currency:e.prices?.minimum?.currency}),(0,v.Y)(e)&&(0,m.jsx)(J,{product:e,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),(0,m.jsxs)(F,{children:[null!=e.contentRating&&(0,m.jsx)(X,{rating:e.contentRating,descriptors:e.contentDescriptors}),(0,m.jsx)("div",{onClick:()=>t(e,n),children:(0,m.jsx)(U,{buttonWidth:"full",ariaLabel:a.text("Learn more about {0}.",{args:[e.name]}),href:`/store/products/${e.urlKey}`,children:a.text("Learn more")})})]})]})]},e.sku))),r&&(0,m.jsx)(r,{})]})]})]}):null};te.defaultProps={products:[]};var ne=te,re=n(51855),ie=n(68374),oe=n(80963),ae=n(72354),se=n(6836),le=n(12192);const de=d.default.div.withConfig({componentId:"sc-17nblpo-0"})(["display:flex;flex-direction:column;gap:",";align-items:center;text-align:center;position:relative;padding-top:",";","{gap:",";}","{padding-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[80]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge}),(e=>{let{theme:t}=e;return t.spacing[80]})),ce=(0,d.default)(se.I).attrs((e=>{let{isDesktopLarge:t}=e;return{assetPath:`v1689095215/ncom/en_US/recommendations/mario-${t?"look-side":"lookup"}.png`}})).withConfig({componentId:"sc-17nblpo-1"})(["width:147px;","{width:233px;margin-top:",";}","{width:229px;position:absolute;right:50px;bottom:0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge})),me=(0,d.default)(le.D).withConfig({componentId:"sc-17nblpo-2"})(["padding:0;border-width:0;"]),ue=(0,d.default)(x.$0).withConfig({componentId:"sc-17nblpo-3"})(["margin-bottom:-",";","{margin-bottom:-",";}"],(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[64]}));var pe=()=>{const e=(0,oe.Z)(oe.o.DESKTOP_LARGE),{locale:t}=(0,i.tv)(),{text:n}=(0,o.useLocalizer)();return(0,m.jsx)(ue,{constrained:!0,marginBottom:0,marginTop:0,children:(0,m.jsxs)(de,{children:[(0,m.jsx)(f.H,{variant:"h1",children:n("Shop all games, plus hardware, accessories, and merch.")}),(0,m.jsx)(M.B,{variant:"tertiary",size:"large",icon:re.Z,href:"/store",children:n("Visit the My Nintendo Store")}),t===ae.ZW?(0,m.jsx)(me,{href:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_3JBYcjbKEFQAEM6",icon:ie.Z,children:n("Did you find this page helpful?")}):null,(0,m.jsx)(ce,{alt:"",isDesktopLarge:e})]})})},he=n(20669);const ge=d.default.div.withConfig({componentId:"sc-68bes0-0"})(["display:flex;flex-direction:column;position:relative;align-items:center;","{flex-direction:row;padding-bottom:",";}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[64]})),fe=(0,d.default)(x.$0).withConfig({componentId:"sc-68bes0-1"})(["background:url('https://assets.nintendo.com/image/upload/v1689268631/ncom/en_US/recommendations/bg-dots.png') repeat,",";border-top:1px solid ",";"],(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return t.color.lightGray2})),xe=d.default.div.withConfig({componentId:"sc-68bes0-2"})(["display:flex;flex-direction:column;flex-shrink:0;padding:"," "," 0;","{flex-basis:","px;padding:"," "," 0 0;}"],(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),508,(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.spacing[24]})),ye=((0,d.default)(f.H).withConfig({componentId:"sc-68bes0-3"})(["margin-bottom:24px;"]),(0,d.default)(M.B).attrs({size:"large"}).withConfig({componentId:"sc-68bes0-4"})(["align-self:flex-start;margin-top:",";margin-bottom:",";","{margin-top:",";margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[40]}))),be=(0,d.default)(se.I).attrs((()=>({assetPath:"v1692203186/ncom/en_US/recommendations/switch-oled-held.png"}))).withConfig({componentId:"sc-68bes0-5"})(["width:100%;min-width:375px;max-width:600px;min-height:175px;margin-top:",";","{position:absolute;max-width:816px;margin-top:0;bottom:0;left:","px;}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),508);var we=()=>{const{text:e}=(0,o.useLocalizer)();return(0,m.jsx)(fe,{marginBottom:0,marginTop:0,constrained:!0,small:!0,children:(0,m.jsxs)(ge,{children:[(0,m.jsxs)(xe,{children:[(0,m.jsx)(f.H,{variant:"h1",large:!0,children:e("Don't have a Nintendo Switch system yet?")}),(0,m.jsx)(he.S,{size:24}),(0,m.jsx)(h.T,{variant:"body",children:e("Whether you like to play at home or on-the-go, you'll find a Nintendo Switch\u2122 system for you. In the meantime, here's a look at some of our top game recommendations.")}),(0,m.jsx)(ye,{buttonWidth:"default",href:"/switch",children:e("Find the system for you")}),(0,m.jsx)(h.T,{variant:"body",children:e("Have a Nintendo Switch system but still seeing this? Please {0}.",{args:[(0,m.jsx)(g.L,{target:"_blank",href:"http://support.nintendo.com/switch/linkaccount",children:e("link your system to your account")},"account-url")]})})]}),(0,m.jsx)(be,{alt:""})]})})},je=n(79185);const ke={show:e=>{let{shouldReduceMotion:t}=e;return t?{opacity:1,transition:{duration:.8}}:{rotateX:[0,180,360,520,640],opacity:[1,0,1,0,0]}},hide:e=>{let{shouldReduceMotion:t}=e;return t?null:{rotateX:[-180,0,180,340,460],opacity:[0,1,0,1,1]}}},ve={show:e=>{let{shouldReduceMotion:t}=e;return t?{opacity:1,transition:{duration:.8}}:{opacity:[.5,1],rotateX:[-90,0],transition:{duration:.25,delay:1.4*.95+.5}}},borderRadius:e=>{let{isDesktop:t}=e;return{borderRadius:t?["16px","16px 0 0 16px"]:["16px","16px 16px 0 0"],transition:{duration:.25,delay:2.9}}}},Ce={duration:.25,delay:2.9,when:"afterChildren"},Ie={show:e=>{let{isDesktop:t,isDesktopLarge:n}=e;return{x:n?-250:t?-230:0,transition:Ce}}},Pe={show:e=>{let{isDesktop:t,isDesktopLarge:n}=e;return{x:n?250:t?260:0,y:t?0:192.5,opacity:1,display:t?"flex":"block",transition:Ce}}},ze=d.default.div.withConfig({componentId:"sc-1kmnzra-0"})(["width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;","{flex-direction:row;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Oe=(0,d.default)(_.E.div).withConfig({componentId:"sc-1kmnzra-1"})(["position:relative;width:343px;height:193px;z-index:2;","{width:500px;height:281px;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Qe=(0,d.default)(se.I).withConfig({componentId:"sc-1kmnzra-2"})(["position:absolute;width:100%;flex-shrink:0;backface-visibility:hidden;","{width:100%;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Se=(0,d.default)(_.E.div).attrs({transition:{delay:.5,duration:1.4,ease:"easeOut"}}).withConfig({componentId:"sc-1kmnzra-3"})(["width:100%;height:100%;position:absolute;top:0;backface-visibility:hidden;border-radius:16px;overflow:hidden;"]),Le=d.default.div.withConfig({componentId:"sc-1kmnzra-4"})(["position:absolute;height:100%;max-width:343px;background:url('https://assets.nintendo.com/image/upload/v1690390944/ncom/en_US/recommendations/bg-red-icons.png') ",";backface-visibility:hidden;width:100%;flex-shrink:0;border-radius:16px;overflow:hidden;","{width:100%;max-width:500px;}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),De=(0,d.default)(_.E.div).withConfig({componentId:"sc-1kmnzra-5"})(["position:absolute;top:0;z-index:1;background:white;border-radius:0 0 16px 16px;padding:16px;width:343px;border:1px solid ",";border-top-style:none;","{display:flex;flex-direction:column;height:100%;width:unset;width:500px;border-radius:0 16px 16px 0;border-top-style:solid;border-left-style:none;padding:"," ",";}","{max-width:500px;}"],(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge})),_e=(0,d.default)(f.H).withConfig({componentId:"sc-1kmnzra-6"})(["text-align:left;font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h1SMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.font.size.h1SDesktop})),Ge=((0,d.default)(E.P).withConfig({componentId:"sc-1kmnzra-7"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h1SMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.font.size.h1SDesktop})),d.default.div.withConfig({componentId:"sc-1kmnzra-8"})(["display:flex;justify-content:space-between;margin:"," 0;","{margin:"," 0;}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[16]}))),Ee=d.default.div.withConfig({componentId:"sc-1kmnzra-9"})(["margin-top:",";","{margin-top:auto;}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Me=(0,d.default)(M.B).withConfig({componentId:"sc-1kmnzra-10"})(["margin-top:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[16]})),Te=(0,v.Z)(j.W);var Ne=e=>{const{mostPlayedGame:t,recommendedGame:n,onProductClick:r}=e,{text:i}=(0,o.useLocalizer)(),a=(0,je.JZ)(),s=(0,oe.Z)(oe.o.DESKTOP),l=(0,oe.Z)(oe.o.DESKTOP_LARGE);return(0,m.jsxs)(ze,{children:[(0,m.jsxs)(Oe,{custom:{isDesktop:s,isDesktopLarge:l},whileInView:Ie.show,viewport:{once:!0},children:[(0,m.jsx)(Se,{custom:{shouldReduceMotion:a},initial:{opacity:0},variants:ke,whileInView:"hide",viewport:{once:!0},children:(0,m.jsx)(Le,{})}),(0,m.jsx)(Se,{custom:{shouldReduceMotion:a},initial:{opacity:1},variants:ke,whileInView:"show",viewport:{once:!0},children:(0,m.jsx)(Qe,{alt:t?.name,assetPath:t?.productImage?.publicId,lazyLoad:!1})}),(0,m.jsx)(Se,{initial:{opacity:0},custom:{isDesktop:s,shouldReduceMotion:a},variants:ve,whileInView:["show","borderRadius"],viewport:{once:!0},children:(0,m.jsx)(Qe,{alt:n?.name,assetPath:n?.productImage?.publicId})})]}),(0,m.jsxs)(De,{custom:{isDesktop:s,isDesktopLarge:l},variants:Pe,initial:{opacity:0,x:0,y:0},whileInView:"show",viewport:{once:!0},children:[(0,m.jsx)(_e,{variant:"h1",children:n?.name}),(0,m.jsxs)(Ge,{children:[(0,m.jsx)(E.P,{horizontal:!0,regPrice:n?.regPrice,salePrice:n?.salePrice,size:"large"}),n?.sku&&(0,m.jsx)(Te,{product:n,iconOnly:!0})]}),(0,m.jsx)(Ee,{onClick:()=>r(n),children:(0,m.jsx)(Me,{href:`/store/products/${n?.urlKey}`,ariaLabel:i("Learn more about {0}.",{args:[n?.name]}),buttonWidth:"full",children:i("Learn more")})})]})]})};const Re=d.default.div.withConfig({componentId:"sc-5z63au-0"})(["position:relative;display:block;background:",";width:70%;max-width:543px;color:white;padding:"," ",";text-align:center;filter:drop-shadow(0 5px 0 ",");margin:0 auto ",";&::before,&::after{content:'';position:absolute;top:0;width:50px;height:100%;background:",";}&::after{right:-49px;clip-path:polygon(0% 0%,100% 0%,50% 50%,100% 100%,0% 100%);}&::before{left:-49px;clip-path:polygon(100% 0%,0% 0%,50% 50%,0% 100%,100% 100%,100% 0);}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.spacing[12]}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.color.lightGray1}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.color.primary})),$e=(0,d.default)(f.H).withConfig({componentId:"sc-5z63au-1"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h1SMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.h1LDesktop})),Ze=d.default.section.withConfig({componentId:"sc-5z63au-2"})(["position:relative;text-align:center;background:url('https://assets.nintendo.com/image/upload/v1689268631/ncom/en_US/recommendations/bg-dots.png') repeat,",";background-blend-mode:multiply;overflow-x:hidden;padding:"," "," 256px;","{padding:"," ",";}"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return t.spacing[64]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[64]}),(e=>{let{theme:t}=e;return t.spacing[16]})),Ae=d.default.p.withConfig({componentId:"sc-5z63au-3"})(["margin-bottom:",";font-weight:bold;font-size:",";","{font-size:",";margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.font.size.h2Mobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.h2Desktop}),(e=>{let{theme:t}=e;return t.spacing[48]}));function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t{const{mostPlayedGame:t,onProductCtaClick:n}=e,r=(0,o.useLocalizer)(),i=Be(Be({},e.recommendedGame),{},{regPrice:(0,je.T4)(e.recommendedGame?.prices?.minimum?.regularPrice,e.recommendedGame?.prices?.minimum?.currency,r)});return(0,m.jsxs)(Ze,{children:[(0,m.jsx)(x.Y6,{position:"top",placement:"inside",height:16,type:"awning-white"}),(0,m.jsx)(Re,{children:(0,m.jsx)($e,{variant:"h1",large:!0,children:r.text("Newly recommended for you")})}),(0,m.jsx)(Ae,{variant:"body",children:r.text("Since {0} has been your most-played game lately, you might like...",{args:[t.name]})}),(0,m.jsx)(Ne,{mostPlayedGame:t,onProductClick:n,recommendedGame:i}),(0,m.jsx)(x.Y6,{flip:!0,position:"bottom",placement:"inside",height:16,type:"awning-white"})]})};const Ke=d.default.div.withConfig({componentId:"sc-307dai-0"})(["display:flex;flex-direction:column;height:100%;width:100%;"]),Ve=d.default.div.withConfig({componentId:"sc-307dai-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 400px;border-radius:16px;background:rgba(0,0,0,0.6);box-shadow:0 4px 16px 0 rgba(0,0,0,0.1);width:","px;padding:32px 40px;margin:auto;color:white;","{width:460px;height:367px;margin:48px auto 0;}"],$,(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),qe=d.default.div.withConfig({componentId:"sc-307dai-2"})(["display:flex;.QSI__EmbeddedFeedbackContainer{text-align:center;margin-top:24px !important;}.QSI__EmbeddedFeedbackContainer_QuestionText{color:white !important;font-size:28px !important;font-weight:600 !important;margin-right:0 !important;}.QSI__EmbeddedFeedbackContainer_ButtonsQuestion{display:flex !important;flex-direction:column;margin-top:24px;margin-right:0 !important;}.QSI__EmbeddedFeedbackContainer_TextButton{border-radius:12px !important;border:1px solid #fff !important;background:rgba(0,0,0,0.25) !important;color:white !important;font-size:21px !important;font-weight:600 !important;display:flex;height:64px;padding:17px 24px;justify-content:center;align-items:center;gap:16px;&:first-child{margin:0 !important;}&:last-child{margin-top:16px !important;}}"]);function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t{const t=(0,p.useCallback)((async()=>{try{window.QSI.API.unload(),await window.QSI.API.load()}finally{window.QSI.API.run()}}),[]);return(0,p.useEffect)((()=>{if(!window.QSI?.API?.run){const e=new MutationObserver((e=>{const[n]=e.flatMap((e=>{let{addedNodes:t}=e;return[...t].filter((e=>{let{src:t}=e;return t?.startsWith("https://siteintercept.qualtrics.com/dxjsmodule/CoreModule.js")}))}));n?.addEventListener("load",t)}));return e.observe(document.body,{childList:!0}),()=>{e.disconnect(),window.QSI?.API?.unloadForSPA()}}t()}),[t]),(0,m.jsx)(Ke,{children:(0,m.jsxs)(Ve,Ue(Ue({},e),{},{children:[(0,m.jsx)(ie.Z,{size:32}),(0,m.jsx)(qe,{id:"qualtrics-wrapper-top-picks-for-you"})]}))})},Xe=n(7162),Je=n(80149),et=n(30744),tt=n(80324);const nt=d.default.div.withConfig({componentId:"sc-1kel4wh-0"})(["width:100%;display:flex;flex-direction:column;align-items:center;padding:",";border:1px solid #dadada;box-shadow:0 4px 16px rgba(0,0,0,0.1);border-radius:",";gap:",";","{justify-content:space-between;padding:"," ",";}","{gap:0;flex-direction:row;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadiusRound}),(e=>{let{theme:t}=e;return t.spacing[28]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),rt=d.default.div.withConfig({componentId:"sc-1kel4wh-1"})(["width:100%;display:flex;gap:",";align-items:center;font-size:12px;","{justify-content:flex-start;font-size:16px;}","{gap:0;flex:1 0 284px;margin-right:24px;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),it=d.default.div.withConfig({componentId:"sc-1kel4wh-2"})(["width:92px;height:92px;background-color:",";border-radius:50%;overflow:hidden;","{width:96px;margin-right:",";}"],(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[40]})),ot=d.default.div.withConfig({componentId:"sc-1kel4wh-3"})(["display:none;border-right:1px solid ",";height:64px;","{display:block;}"],(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),at=d.default.div.withConfig({componentId:"sc-1kel4wh-4"})(["font-size:",";font-weight:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h1SMobile}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.h1SDesktop})),st=d.default.div.withConfig({componentId:"sc-1kel4wh-5"})(["display:flex;font-size:",";gap:",";width:100%;","{align-items:center;width:unset;}","{padding:0 ",";}"],(e=>{let{theme:t}=e;return t.font.size.captionMobile}),(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[40]})),lt=d.default.div.withConfig({componentId:"sc-1kel4wh-6"})(["display:flex;gap:",";","{white-space:nowrap;}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),dt=d.default.div.withConfig({componentId:"sc-1kel4wh-7"})(["width:100%;display:flex;align-items:center;gap:",";","{width:50%;gap:",";}","{padding-left:",";gap:",";width:unset;flex:1;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[24]})),ct=(0,d.default)(se.I).withConfig({componentId:"sc-1kel4wh-8"})(["width:100px;border-radius:8px;overflow:hidden;","{width:112px;}","{width:158px;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),mt=d.default.span.withConfig({componentId:"sc-1kel4wh-9"})(["font-size:",";font-weight:bold;","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h4Mobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.h3Desktop})),ut=d.default.div.withConfig({componentId:"sc-1kel4wh-10"})(["display:flex;flex-direction:column;gap:",";width:100%;","{flex-direction:row;gap:",";","{display:block;}}","{align-items:center;gap:0;}"],(e=>{let{theme:t}=e;return t.spacing[28]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[24]}),ot,(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),pt=d.default.div.withConfig({componentId:"sc-1kel4wh-11"})(["display:flex;align-items:center;justify-content:center;width:100px;border-radius:8px;background-color:",";height:100%;padding:",";svg{color:",";width:40px;}","{width:112px;svg{width:48px;}}","{width:158px;svg{width:64px;}}"],(e=>{let{theme:t}=e;return t.color.lightGray3}),(e=>{let{theme:t}=e;return t.spacing[12]}),(e=>{let{theme:t}=e;return t.color.darkGray3}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),ht=e=>{const{className:t,createdAt:n,mostPlayed:r,nickname:i,pointsWallet:a,mii:s}=e,{text:l}=(0,o.useLocalizer)(),{gold:d,platinum:c}=a,u=new Date(n).getFullYear();return(0,m.jsxs)(nt,{className:t,children:[(0,m.jsxs)(rt,{children:[(0,m.jsx)(it,{children:(0,m.jsx)(tt.Z,{mii:s,size:96})}),(0,m.jsxs)("div",{children:[(0,m.jsx)(at,{children:i}),(0,m.jsx)(h.T,{children:l("Member since {0}",{args:[u]})})]})]}),(0,m.jsx)(ot,{}),(0,m.jsxs)(ut,{children:[(0,m.jsxs)(st,{children:[(0,m.jsxs)(lt,{children:[(0,m.jsx)(Xe.Z,{}),(0,m.jsxs)("div",{children:[l("Gold Points"),(0,m.jsx)("div",{children:(0,m.jsx)("strong",{children:d?.total})})]})]}),(0,m.jsxs)(lt,{children:[(0,m.jsx)(Je.Z,{}),(0,m.jsxs)("div",{children:[l("Platinum Points"),(0,m.jsx)("div",{children:(0,m.jsx)("strong",{children:c.total})})]})]})]}),(0,m.jsx)(ot,{}),(0,m.jsxs)(dt,{children:[r.productImage?(0,m.jsx)(ct,{assetPath:r.productImage,alt:r?.name}):(0,m.jsx)(pt,{children:(0,m.jsx)(et.Z,{})}),(0,m.jsxs)("div",{children:[(0,m.jsx)(h.T,{variant:"legal",children:l("Most recently played")}),(0,m.jsx)(mt,{children:r?.name?r.name:l("No play history found")})]})]})]})]})};ht.defaultProps={mostPlayed:{},pointsWallet:{gold:{},platinum:{}}};var gt=ht;const ft=d.default.div.withConfig({componentId:"sc-ma4aik-0"})(["display:flex;flex-direction:column;align-items:center;","{flex-direction:row;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),xt=(0,d.default)(x.QN).withConfig({componentId:"sc-ma4aik-1"})(["width:85px;height:85px;flex-shrink:0;background-color:",";border-radius:100%;overflow:hidden;margin:0 auto ",";","{width:139px;height:139px;margin:0 "," 0 0;}"],(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]})),yt=((0,d.default)(gt).withConfig({componentId:"sc-ma4aik-2"})(["margin-top:",";margin-bottom:",";","{margin-top:",";margin-bottom:",";}","{margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[64]})),(0,d.default)(f.H).withConfig({componentId:"sc-ma4aik-3"})(["margin-bottom:",";","{margin-bottom:",";}"],(e=>{let{noMargin:t,theme:n}=e;return t?0:n.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{noMargin:t,theme:n}=e;return t?0:n.spacing[12]})));var bt=n(90929);function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t{const{customer:t,locale:n,mostPlayedGame:r,noRecommendations:i,noDevice:a,productCollections:s}=e,{text:l}=(0,o.useLocalizer)(),{connectOrigin:d}=(0,o.useAccounts)(),{consentedGroups:c}=(0,o.useCookies)(),{0:u}=(0,p.useState)((()=>(0,bt.TV)(e?.featured).slice(0,5))),{0:b}=(0,p.useState)((()=>(0,bt.TV)(e?.recommendedGames)[0])),{internalAnalysis:w,targetMarketing:j}=t?.analyticsPermissions||{},k=!w||!j,{trackSelectItem:v}=(0,o.useAnalytics)(),C=e=>{let{product:t,index:n,sectionTitle:r}=e;v(jt(jt({},t),{},{index:n}),(0,je.DW)({name:r}))},I=l(i||a?"Great first games":"Top picks for you");return(0,m.jsxs)(y.Kq,{children:[(0,m.jsx)(x.$0,{constrained:!0,small:!0,marginTop:32,marginBottom:a?32:64,children:(0,m.jsxs)(ft,{children:[!a&&(0,m.jsx)(xt,{mii:t?.mii}),(0,m.jsxs)("div",{children:[(0,m.jsx)(yt,{variant:"h1",large:!0,noMargin:a,children:l(a?"Let's get started, {0}":"Picked for you, {0}",{args:[t?.nickname]})}),a?null:k?(0,m.jsx)(h.T,{variant:"body",children:l("We're not able to show you personalized recommendations, based on your current {0}. Here's a look at some of our top game picks to get you started.",{args:[(0,m.jsx)(g.L,{href:`${d}/analytics/opt_in`,target:"_blank",children:l("Usage Information settings")},"account-settings")]})}):i?(0,m.jsx)(h.T,{variant:"body",children:l("Keep playing to get personalized picks based on your Nintendo Switch\u2122 play history. In the meantime, here are some recommendations to get you started.")}):(0,m.jsx)(h.T,{variant:"body",children:l("Based on your play history, here are some Nintendo Switch\u2122 games that we think are right up your alley.")})]})]})}),a&&(0,m.jsx)(we,{}),(0,m.jsx)(x.$0,{marginTop:0,children:(0,m.jsx)(f.H.NewLevel,{children:(0,m.jsx)(ne,{onProductCtaClick:(e,t)=>C({product:e,index:t,sectionTitle:I}),products:u,LastSlide:n===ae.ZW&&c.has(o.ConsentGroups.PERFORMANCE)?Ye:null,title:I})})}),(0,m.jsx)(x.$0,{small:!0,constrained:!0,children:(0,m.jsx)(f.H.NewLevel,{children:(0,m.jsx)(x.$3,{collections:s})})}),r&&b&&(0,m.jsx)(f.H.NewLevel,{children:(0,m.jsx)(We,{mostPlayedGame:r,recommendedGame:b,onProductCtaClick:()=>C({product:b,sectionTitle:l("Newly recommended for you")})})}),(0,m.jsx)(f.H.NewLevel,{children:(0,m.jsx)(pe,{})})]})};const vt=(0,d.default)(x.$0).withConfig({componentId:"sc-wmyqpg-0"})(["background:url('https://assets.nintendo.com/image/upload/v1689268631/ncom/en_US/recommendations/bg-hatcheckbox.png'),"," repeat;background-blend-mode:overlay;border-bottom:1px solid ",";"],(e=>{let{theme:t}=e;return t.color.lightGray1}),(e=>{let{theme:t}=e;return t.color.lightGray2})),Ct=(0,d.default)(se.I).attrs({assetPath:"v1689196085/ncom/en_US/recommendations/characters.png"}).withConfig({componentId:"sc-wmyqpg-1"})(["width:100%;","{margin:auto;max-width:680px;}","{order:1;flex-basis:50%;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),It=d.default.div.withConfig({componentId:"sc-wmyqpg-2"})(["","{display:flex;","{min-width:530px;}}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Ct),Pt=d.default.div.withConfig({componentId:"sc-wmyqpg-3"})(["display:flex;flex-direction:column;justify-content:center;margin-top:",";padding-left:",";padding-right:",";padding-bottom:",";","{align-items:flex-start;flex-basis:50%;}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),zt=(0,d.default)(f.H).withConfig({componentId:"sc-wmyqpg-4"})(["margin-bottom:24px;"]),Ot=(0,d.default)(x.$d).withConfig({componentId:"sc-wmyqpg-5"})(["margin-top:24px;","{margin-top:40px;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop}));var Qt=e=>{const{bestSellers:t,newReleases:n}=e,{text:r}=(0,o.useLocalizer)();return(0,m.jsxs)(y.Kq,{children:[(0,m.jsx)(vt,{constrained:!0,marginTop:0,marginBottom:0,children:(0,m.jsxs)(It,{children:[(0,m.jsx)(Ct,{alt:""}),(0,m.jsxs)(Pt,{children:[(0,m.jsx)(zt,{variant:"h1",large:!0,children:r("Sign in to get started")}),(0,m.jsx)(h.T,{children:r("Looking for your next game? We\u2019d love to show you some Nintendo Switch\u2122 games you might be interested in, based on your play history. Sign in to your Nintendo Account to see your recommendations.")}),(0,m.jsx)(Ot,{ariaLabel:r("Go to the Nintendo account sign in page."),size:"large",children:r("Sign in")})]})]})}),(0,m.jsx)(x.$0,{small:!0,constrained:!0,children:(0,m.jsx)(x.$3,{collections:[{heading:r("Digital best sellers"),products:t},{heading:r("Digital new releases"),products:n}]})}),(0,m.jsx)(pe,{})]})};function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t0,x=h?.customer?.recommendations||[],b=(e=>e.reduce(((e,t)=>{const{basedOn:n,products:r,slug:i}=t;return i===Et?(e[i]={mostPlayedGame:n[0],recommendedGames:r},e):Lt(Lt({},e),{},{[i]:r.map(s.Z)})}),{}))(x),w=!x.length,j=g[5].modules[0].list,k=g[5].modules[1].list,v=g[5].modules[2].list;return d.isLoggedIn?(0,m.jsx)(kt,{customer:l?.data,deals:b?.[_t],locale:r,featured:w?v:b?.[Dt],noRecommendations:w,noDevice:w&&!f,productCollections:w?[{heading:c("Best sellers"),products:j},{heading:c("Recent releases"),products:k}]:[{heading:c("Sales and deals for you"),products:b?.[_t]},{heading:c("Recent releases for you"),products:b?.[Gt]}],mostPlayedGame:b?.[Et]?.mostPlayedGame,recommendedGames:b?.[Et]?.recommendedGames}):(0,m.jsx)(Qt,{bestSellers:j,newReleases:k})}},48808:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/games/recommendations",function(){return n(82709)}])}},function(e){e.O(0,[1850,5208,8286,4511,1346,929,6409,9019,9774,2888,179],(function(){return t=48808,e(e.s=t);var t}));var t=e.O();_N_E=t}]);