!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b074a5ad-6d24-4d85-89b6-4b3fab94ba2a",e._sentryDebugIdIdentifier="sentry-dbid-b074a5ad-6d24-4d85-89b6-4b3fab94ba2a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{27451:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return D},default:function(){return L}});var a=r(95235),n=r(2784),s=r(82091),i=r(27070),o=r(14516),l=r(7364),c=r(55850),d=r(97224),u=r(7307),m=r(56815);const h=(0,u.default)(o.H).withConfig({componentId:"sc-bxi6rv-0"})(["grid-column:1 / span 2;","{grid-column:1 / span 4;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),g=u.default.div.withConfig({componentId:"sc-bxi6rv-1"})(["display:flex;flex-direction:column;"]),p=u.default.a.withConfig({componentId:"sc-bxi6rv-2"})(["display:block;position:relative;z-index:1;width:100%;height:auto;text-align:center;overflow:hidden;border-radius:",";margin-bottom:",";","{","}"],(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[16]})),b=(0,u.default)(m.I).withConfig({componentId:"sc-bxi6rv-3"})(["position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;transform:scale(1.15);transition:",";",":hover &{transform:scale(1);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),p),f=(0,u.default)(m.I).withConfig({componentId:"sc-bxi6rv-4"})(["z-index:-1;top:0;left:0;width:100%;height:100%;transition:",";",":hover &{transform:scale(1.15);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),p);var x=r(52322);var j=function(e){let{characters:t}=e;const{text:r}=(0,s.useLocalizer)(),a=t.map(((e,t)=>{const{alt:a,backgroundImage:n,characterImage:s,name:i,url:l}=e;return(0,x.jsxs)(g,{children:[(0,x.jsx)(d.Z,{href:l,children:(0,x.jsxs)(p,{"aria-label":a,children:[(0,x.jsx)(b,{assetPath:n,alt:""}),(0,x.jsx)(f,{assetPath:s,alt:a})]})}),(0,x.jsx)(o.H,{variant:"h2",children:r(i)})]},t)}));return(0,x.jsxs)(c.rj,{columnsMobile:2,columns:4,gap:"1rem",children:[(0,x.jsx)(h,{variant:"h1",children:r("Characters")}),(0,x.jsx)(o.H.NewLevel,{children:a})]})},w=r(64897),v=r(5719),y=r(92445),P=r(90862);var k=e=>{let{articles:t}=e;const{text:r}=(0,s.useLocalizer)(),{locale:a}=(0,w.Z)();return(0,x.jsxs)(P.rj,{columns:1,gap:24,desktop:{gap:32,justifyItems:"start"},children:[(0,x.jsx)(o.H,{variant:"h1",children:r("News")}),(0,x.jsx)(o.H.NewLevel,{children:(0,x.jsx)(c.wg,{articles:t})}),(0,x.jsx)(v.B,{icon:y.Z,href:"/whatsnew",locale:a,children:r("See all news articles")})]})},_=r(83533),O=r(95395),S=(r(98670),r(36734));function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function C(e){for(var t=1;t{D(!0)}),[D]),T=p.CONTENT_TYPE,E={heading:r("Digital best sellers"),cta:{label:r("See full list"),url:"/store/games/best-sellers/"},list:y};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.S,{as:"h1",children:r("Nintendo.com home")}),(0,x.jsxs)(o.H.NewLevel,{children:[(0,x.jsx)(c.V4,{centerStage:h,centerStageDarkMode:g,isDesktop:I}),(0,x.jsxs)(c.$0,{constrained:T,small:T,children:[T&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(o.H,{variant:"h1",as:"h2",children:d.heading}),(0,x.jsx)(l.S,{size:16}),(0,x.jsx)(c.VM,{secondaryHero:!0,isDesktop:I,hero:{assetPath:{layout:"constrain",desktop:p?.asset.secondary.assetPath,mobile:p?.asset.primary.assetPath,alt:p?.asset.alt},assetDimensions:{desktop:p?.asset.secondary.dimensions,mobile:p?.asset.primary.dimensions},description:{text:p?.heading,desktopTextColor:"dark"},cta:{url:p?.cta.url,name:p?.cta.label},contentRating:p?.contentRating,contentDescriptors:p?.contentDescriptors,gamesShown:p?.gamesShown}})]}),(0,x.jsx)(c.EP,{contained:!0,collection:{heading:!T&&d.heading,productList:d?.list?.map((e=>{let{asset:t,assetAlt:a,url:n,heading:s,tag:i,descriptionTag:o,platformLabel:l,descriptionTagColor:c}=e;return{artPath:t,keyArtAlt:a,contentLink:n,contentTitle:s,productPlatform:r(l)||i,platformColor:l||i?S.rG[String(l||i).toUpperCase().replace(/ /g,"_")]:null,descriptionTag:r(o),descriptionTagColor:c}}))}})]}),(0,x.jsx)(c.$0,{constrained:!0,small:!0,divider:["top"],children:(0,x.jsx)(c.nn,{isDesktop:I,promo:{asset:b?.asset,heading:b?.heading,description:b?.description,cta:{name:b?.ctaList[0]?.label,url:b?.ctaList[0]?.url||""},bgImage:{image:{url:b?.background.image}}}})}),(0,x.jsx)(c.$0,{constrained:!0,small:!0,divider:["top"],children:(0,x.jsx)(c.Po,{promo:{heading:f?.heading,image:{url:f?.asset.primary.assetPath,alt:f?.asset.alt},description:f?.description,cta:{name:f?.ctaList[0]?.label,url:f?.ctaList[0]?.url||"",showMSRP:!1}}})}),P?.length>0&&(0,x.jsx)(c.$0,{constrained:!0,small:!0,divider:["top"],children:(0,x.jsx)(k,{articles:P})}),a?.list?.length?(0,x.jsx)(c.$0,{constrained:!0,small:!0,divider:["top","bottom"],children:(0,x.jsx)(j,{characters:a?.list?.map((e=>{let{asset:t,background:r,heading:a,url:n}=e;return{alt:t.alt,backgroundImage:r.image,characterImage:t.primary.assetPath,name:a,url:n}}))})}):null,w&&!w?.hide?(0,x.jsx)(c.$0,{constrained:!0,small:!0,divider:["top","bottom"],children:(0,x.jsx)(c.Po,{promo:{heading:w.modules[0].heading,image:{url:w.modules[0].asset.primary.assetPath||"",alt:w.modules[0].asset.alt},description:w.modules[0].body,cta:{name:w.modules[0].cta.label,url:w.modules[0].cta.url||"",showMSRP:!1}}})}):null,(0,x.jsx)(c.$0,{small:!0,constrained:!0,children:(0,x.jsx)(c.$3,{collections:[u?.list?.length>0?u:E,m].map((e=>({heading:e.heading,cta:{fields:C({},e.cta)},products:e.list})))})}),(0,x.jsx)(c.HU,{onProductsLoaded:L,small:!0}),(0,x.jsx)(c.$0,{small:!0,constrained:!0,marginBottom:0,marginTop:0,children:(0,x.jsx)(c.Ho,{data:v,textVariant:"legal"})})]})]})}},85356:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(27451)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=85356,e(e.s=t);var t}));var t=e.O();_N_E=t}]); //# sourceMappingURL=index-0fc03b9b70dedbc5.js.map