!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]="84090056-afe0-40bf-92d5-94161ddcfa5d",e._sentryDebugIdIdentifier="sentry-dbid-84090056-afe0-40bf-92d5-94161ddcfa5d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[402],{402:function(e,t,r){r.d(t,{jL:function(){return me},dS:function(){return pe},$q:function(){return le},Yd:function(){return we},xc:function(){return _e},t5:function(){return G},Kq:function(){return Oe}});var n=r(2784),i=r(97224),a=r(82091),s=r(21059),o=r(2002),l=r(7307),d=r(21203),c=r(30744),h=r(19843),m=r(46658),u=r(49482),g=r(92102),p=r(83821),f=r(88627),x=r(50135);const b=(0,l.default)(f.He).withConfig({componentId:"sc-1c4x9qp-0"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:auto;gap:",";padding-bottom:",";","{grid-template-columns:repeat(3,1fr);gap:",";padding-bottom:",";}@media (min-width:1199px){grid-template-columns:repeat(6,1fr);gap:",";}","{grid-template-columns:repeat(6,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(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[20]}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge})),w=(0,l.css)(["color:",";flex-basis:20px;flex-shrink:0;width:20px;","{flex-basis:32px;width:32px;}","{flex-basis:48px;width:48px;}@media (min-width:1199px){flex-basis:64px;width:64px;}","{width:64px;}"],(e=>{let{theme:t}=e;return t.color.primary}),(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.desktopLarge})),j=(0,l.default)(f.nf).withConfig({componentId:"sc-1c4x9qp-1"})(["",";gap:",";justify-content:flex-start;padding:"," ",";","{text-align:left;flex-direction:row;gap:",";padding:",";}@media (min-width:1199px){padding-top:",";padding-bottom:",";flex-direction:column-reverse;justify-content:center;}"],x.nd,(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[12]}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[32]})),y=(0,l.default)(p.T).attrs({variant:"title"}).withConfig({componentId:"sc-1c4x9qp-2"})(["display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:0.875rem;line-height:1.2;","{font-size:1rem;}","{font-size:1.25rem;}","{text-align:center;}"],(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}));var k=r(52322);var v=()=>{const{text:e}=(0,a.useLocalizer)();return(0,k.jsxs)(b,{children:[(0,k.jsxs)(j,{href:"/store/games",children:[(0,k.jsx)(I,{$_css:w}),(0,k.jsx)(y,{children:e("Games")})]}),(0,k.jsxs)(j,{href:"/store/hardware",children:[(0,k.jsx)(C,{$_css2:w}),(0,k.jsx)(y,{children:e("Hardware")})]}),(0,k.jsxs)(j,{href:"/store/merchandise",children:[(0,k.jsx)($,{$_css3:w}),(0,k.jsx)(y,{children:e("Merchandise")})]}),(0,k.jsxs)(j,{href:"/store/exclusives",children:[(0,k.jsx)(P,{$_css4:w}),(0,k.jsx)(y,{children:e("Store exclusives")})]}),(0,k.jsxs)(j,{href:"/store/characters",children:[(0,k.jsx)(Q,{$_css5:w}),(0,k.jsx)(y,{children:e("Characters")})]}),(0,k.jsxs)(j,{href:"/store/sales-and-deals",children:[(0,k.jsx)(z,{$_css6:w}),(0,k.jsx)(y,{children:e("Sales & deals")})]})]})},I=(0,l.default)(d.Z)`${e=>e.$_css}`,C=(0,l.default)(c.Z)`${e=>e.$_css2}`,$=(0,l.default)(h.Z)`${e=>e.$_css3}`,P=(0,l.default)(m.Z)`${e=>e.$_css4}`,Q=(0,l.default)(u.Z)`${e=>e.$_css5}`,z=(0,l.default)(g.Z).withConfig({componentId:"sc-1vec6il-0"})(["",""],(e=>e.$_css6)),_=v,O=r(35449);const S=l.default.div.withConfig({componentId:"sc-ih4xyj-0"})(["position:absolute;top:0;z-index:-1;width:100%;height:100%;"]),R=l.default.div.withConfig({componentId:"sc-ih4xyj-1"})(["display:none;","{display:block;position:relative;width:100%;background-color:",";height:46%;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.color.primary})),H=l.default.div.withConfig({componentId:"sc-ih4xyj-2"})(["position:relative;width:100%;height:100%;background-image:url('","');background-color:",";background-size:cover;","{height:40%;}","{height:44%;}"],(e=>{let{$bgImage:t}=e;return t.image?t.image[0].url:null}),(e=>{let{$bgImage:t}=e;return t.color?t.color:"transparent"}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}));var D=e=>{let{bgImage:t}=e;return(0,k.jsxs)(S,{children:[(0,k.jsx)(R,{children:(0,k.jsx)(O.F,{height:16,position:"bottom",type:"awning-primary"})}),(0,k.jsx)(H,{$bgImage:t,children:(0,k.jsx)(O.F,{flip:!0,height:16,placement:"inside",position:"bottom",type:"awning-white"})})]})},Z=r(43842),L=r(7506),q=r(89051),E=r(4721);const F=l.default.div.withConfig({componentId:"sc-19hzd66-0"})(["position:relative;"]),T=(0,l.default)(f.He).withConfig({componentId:"sc-19hzd66-1"})(["display:grid;grid-template-columns:repeat(6,1fr);gap:",";padding-top:",";margin-bottom:",";","{padding-top:",";margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(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[32]}),(e=>{let{theme:t}=e;return t.spacing[32]})),A=(0,l.default)(Z.Z).withConfig({componentId:"sc-19hzd66-2"})(["display:none;","{display:block;grid-column:1 / span 2;margin-top:",";color:white;width:100%;height:auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[32]})),X=l.default.div.withConfig({componentId:"sc-19hzd66-3"})(["grid-column:1 / span 6;","{grid-column:3 / span 4;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),N=(0,l.default)(L.R).withConfig({componentId:"sc-19hzd66-4"})(["border-radius:"," "," 0 0;"],(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.borderRadius})),B=l.default.div.withConfig({componentId:"sc-19hzd66-5"})(["display:flex;flex-direction:column;align-items:center;gap:",";background-color:",";border-radius:0 0 "," ",";box-shadow:",";padding:",";","{flex-direction:row;gap:",";justify-content:",";padding:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.borderRadius}),"0 4px 16px 0 rgba(0, 0, 0, 0.1)",(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],t.spacing[16],t.spacing[8])}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{$hasContentRating:t}=e;return t?"space-between":"center"}),(e=>{let{theme:t}=e;return(0,l.css)([""," ",""],t.spacing[16],t.spacing[32])})),M=l.default.div.withConfig({componentId:"sc-19hzd66-6"})(["display:flex;flex-direction:column;text-align:center;gap:",";","{text-align:left;flex-direction:row;gap:",";align-items:center;}"],(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[24]})),U=(0,l.default)(f.bs).withConfig({componentId:"sc-19hzd66-7"})(["display:none;","{display:block;}"],"@media (min-width: 623px)"),V=(0,l.default)(q.H).attrs((()=>({variant:"h2"}))).withConfig({componentId:"sc-19hzd66-8"})(["margin:0;"]),W=(0,l.default)(E.B).withConfig({componentId:"sc-19hzd66-9"})(["width:100%;","{width:auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));var G=e=>{let{content:t,background:r}=e;const{trackViewPromotion:n,trackSelectPromotion:l}=(0,a.useAnalytics)(),{image:d,cta:c,heading:h,contentRating:m,contentDescriptors:u,gamesShown:g}=t,p={name:h,sku:"none"};(0,o.nw)((()=>n([p],(0,o.DW)({name:h}))));const f=()=>(0,k.jsx)(N,{primary:d.assetPath,alt:d.alt,desktopMargin:!1});return(0,k.jsxs)(F,{children:[(0,k.jsx)(D,{bgImage:r}),(0,k.jsxs)(T,{children:[(0,k.jsx)(A,{name:"my-nintendo-store-stacked-logo"}),(0,k.jsxs)(X,{children:[c.url?(0,k.jsx)(i.Z,{href:c.url,children:(0,k.jsx)("a",{"aria-label":d.alt||c.label,children:(0,k.jsx)(f,{})})}):(0,k.jsx)(f,{}),(0,k.jsxs)(B,{$hasContentRating:m,children:[(0,k.jsxs)(M,{children:[(0,k.jsxs)(V,{children:[(0,k.jsxs)(s.S,{children:[d.alt,": "]}),h]}),(0,k.jsx)(W,{href:c.url,onClick:()=>l([p]),children:c.label})]}),null!=m&&(0,k.jsx)(U,{rating:m,descriptors:u,gamesShown:g})]})]})]}),(0,k.jsx)(_,{})]})},K=r(95235),Y=r(95395),J=(r(64629),r(48352));(0,l.default)(f.He).withConfig({componentId:"sc-1wud28o-0"})(["padding-bottom:",";","{padding-bottom:",";}"],(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[48]}));const ee=l.default.div.withConfig({componentId:"sc-1wud28o-1"})(["display:grid;grid-template-columns:repeat(1,1fr);gap:",";","{grid-template-columns:repeat(3,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),te=(0,l.default)(f.nf).withConfig({componentId:"sc-1wud28o-2"})(["text-align:center;"]),re=(0,l.default)(q.H).withConfig({componentId:"sc-1wud28o-3"})(["margin-top:",";margin-right:",";margin-bottom:0;margin-left:",";font-size:",";font-weight:700;"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[20]})),ne=(0,l.default)(J.I).withConfig({componentId:"sc-1wud28o-4"})(["max-width:200px;margin:0 auto;","{max-width:340px;}","{max-width:350px;max-height:295.5px;img{object-fit:contain;}}"],(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),ie=(0,l.default)(f.Hr).attrs((()=>({constrained:!0}))).withConfig({componentId:"sc-1wud28o-5"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const se=e=>{let{url:t,heading:r,assetPath:n}=e;const{trackViewPromotion:i,trackSelectPromotion:s}=(0,a.useAnalytics)(),{ref:l}=(0,Y.Rb)((()=>i([{name:r,sku:"none"}],(0,o.DW)({name:r}))));return(0,k.jsxs)(te,{ref:l,href:t,onClick:()=>s([{name:r,sku:"none"}]),children:[(0,k.jsx)(ne,{assetPath:n}),(0,k.jsx)(re,{children:r})]})};var oe=e=>{let{items:t}=e;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ie,{}),(0,k.jsx)(f.$0,{constrained:!0,divider:["bottom"],children:(0,k.jsx)(ee,{children:t.map(((e,t)=>(0,k.jsx)(se,function(e){for(var t=1;t{let{theme:t}=e;return t.mediaQuery.tablet}));var me=e=>{let{content:t}=e;const{asset:r}=t,n=!(0,de.Z)(de.o.TABLET)&&r?.secondary?.assetPath?r.secondary:r.primary;return(0,k.jsx)(he,{constrained:!0,small:!0,children:(0,k.jsx)(f.nf,{href:t.url,ariaLabel:t.heading,children:(0,k.jsx)(J.I,{assetPath:n.assetPath,alt:r.alt})})})};const ue=(0,l.default)(f.He).withConfig({componentId:"sc-67zs18-0"})(["margin-top:",";margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[40]})),ge=(0,l.default)(q.H).withConfig({componentId:"sc-67zs18-1"})(["margin-bottom:",";","{margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[14]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[24]}));var pe=e=>{let{collection:t,background:r}=e;const n=r.image[0].url?`url(${r.image[0].url})`:r.color;return(0,k.jsxs)(f.$0,{background:n,children:[(0,k.jsx)(O.F,{position:"top",placement:"inside",height:16,type:"wave-white"}),(0,k.jsxs)(ue,{children:[(0,k.jsx)(ge,{variant:"h1",children:t.heading}),(0,k.jsx)(f.l6,{items:t.ctas})]}),(0,k.jsx)(O.F,{position:"bottom",placement:"inside",height:16,type:"wave-white",flip:!0})]})};const fe=l.default.div.withConfig({componentId:"sc-11lnelo-0"})(["display:flex;flex-direction:column;gap:",";text-align:center;","{display:grid;grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),xe=(0,l.default)(J.I).withConfig({componentId:"sc-11lnelo-1"})(["border-radius:",";overflow:hidden;"],(e=>{let{theme:t}=e;return t.borderRadius})),be=(0,l.default)(q.H).attrs((()=>({variant:"h1",as:"h2",large:!1}))).withConfig({componentId:"sc-11lnelo-2"})(["margin-top:",";margin-bottom:0;"],(e=>{let{theme:t}=e;return t.spacing[12]}));var we=e=>{let{items:t}=e;return(0,k.jsx)(f.$0,{constrained:!0,children:(0,k.jsx)(fe,{children:t.map(((e,t)=>{const{heading:r,assetPath:n,url:i}=e;return(0,k.jsxs)(f.nf,{href:i,children:[(0,k.jsx)(xe,{assetPath:n,showPlaceholder:!1}),(0,k.jsx)(be,{children:r})]},r+t)}))})})},je=r(82090),ye=r(63778);const ke=(0,l.default)(f.$0).withConfig({componentId:"sc-1sxtf5k-0"})(["background-size:auto 100%;background-repeat:repeat-x;"]),ve=l.default.div.withConfig({componentId:"sc-1sxtf5k-1"})(["max-width:100%;overflow:auto;"]),Ie=l.default.div.withConfig({componentId:"sc-1sxtf5k-2"})(["display:grid;grid-gap:",";grid-template-columns:repeat(4,minmax(208px,1fr));","{grid-template-columns:repeat(4,minmax(262px,1fr));grid-gap:",";}"],(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[32]})),Ce=(0,l.default)(ye.H).withConfig({componentId:"sc-1sxtf5k-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return`${t.spacing[24]}`})),$e=l.default.a.withConfig({componentId:"sc-1sxtf5k-4"})(["display:block;position:relative;z-index:1;width:100%;height:318px;text-align:center;overflow:hidden;border-radius:",";","{height:400px;}"],(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Pe=(0,l.default)(J.I).withConfig({componentId:"sc-1sxtf5k-5"})(["position:absolute;z-index:-1;top:0;left:0;width:100%;transform:scale(1.15);transition:",";",":hover &{transform:scale(1);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),$e),Qe=(0,l.default)(J.I).withConfig({componentId:"sc-1sxtf5k-6"})(["position:absolute;z-index:-1;top:0;left:0;width:100%;height:auto;transition:",";",":hover &{transform:scale(1.15);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),$e),ze=(0,l.default)(q.H).attrs((()=>({variant:"h3"}))).withConfig({componentId:"sc-1sxtf5k-7"})(["display:inline-block;padding:",";margin-top:",";background-color:",";border-radius:",";color:",";"],(e=>{let{theme:t}=e;return`${t.spacing[8]} ${t.spacing[20]}`}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.scrim.dark}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.color.white}));var _e=e=>{let{items:t}=e;const{text:r}=(0,a.useLocalizer)();return(0,k.jsxs)(ke,{constrained:!0,background:`url(${(0,je.R6)({publicId:"Dev/IS Page Placeholders/store/bg2.jpg",quality:"60"})})`,children:[(0,k.jsx)(Ce,{ctaText:"See all",ctaUrl:"/store/characters/",headingProps:{variant:"h2"},children:r("Shop by character")}),(0,k.jsx)(q.H.NewLevel,{children:(0,k.jsx)(ve,{children:(0,k.jsx)(Ie,{children:t.map(((e,t)=>{const{heading:r,assetPath:n,background:a,url:s}=e;return(0,k.jsx)(i.Z,{href:s,children:(0,k.jsxs)($e,{children:[(0,k.jsx)(ze,{children:r}),(0,k.jsx)(Pe,{assetPath:a.primary.assetPath}),(0,k.jsx)(Qe,{assetPath:n})]})},r+t)}))})})})]})};var Oe=e=>{let{children:t,preview:r,disableScrollRestoration:i}=e;const{waitForElementRef:a}=(0,Y.r)(),s=(0,n.useCallback)((e=>{e&&!i&&a(e)}),[i,a]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(f.Xe,{preview:r}),(0,k.jsx)(f.Uq,{}),t,(0,k.jsx)("span",{ref:s})]})}},64629:function(e,t,r){var n=r(13980),i=r(24511);const a=(0,n.shape)({name:n.string,primary:(0,n.shape)({assetPath:n.string,resourceType:n.string}),color:n.string}),s=(0,n.shape)({heading:n.string,ctas:(0,n.arrayOf)((0,n.shape)({label:n.string,url:n.string}))});(0,n.shape)({assetPath:n.string,assetPathAlt:n.string,background:(0,n.shape)({backgroundType:n.string,backgroundTiled:i.Xg}),ctaList:s,heading:n.string,type:n.string,modifiers:(0,n.arrayOf)(n.string)}),(0,n.shape)({assetPath:n.string,background:a,heading:n.string,url:n.string}),(0,n.shape)({title:n.string,collapsible:i.Xg,attribute:n.string.isRequired,hidden:i.Xg}),(0,n.shape)({sku:n.string,label:n.string,colorCode:n.string})}}]); //# sourceMappingURL=402-6deb8a2a040c4715.js.map