!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]="9a88e4aa-9366-44e1-837c-745ef1cf8620",e._sentryDebugIdIdentifier="sentry-dbid-9a88e4aa-9366-44e1-837c-745ef1cf8620")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6471],{87157:function(e,t,r){r.d(t,{DM:function(){return n},md:function(){return a},rl:function(){return i}});const n={GREEN:"rgb(164, 199, 14)",BLUE:"rgb(0, 155, 235)",BLUE_RAW:"0, 155, 235",YELLOW:"rgb(245, 170, 0) "},a="faq",i={RELEASE_DATE:"RELEASE_DATE",NAME:"NAME"}},46471:function(e,t,r){r.d(t,{$z:function(){return I},xs:function(){return O},d:function(){return D},Bh:function(){return _},fT:function(){return v},hM:function(){return L},vJ:function(){return m},DS:function(){return b},ju:function(){return S},yk:function(){return K}});var n=r(43912),a=r(22378),i=r(68374),s=r(88627),l=r(52232),o=r(7307),d=r(87157);const c=o.default.div.withConfig({componentId:"sc-12teylk-0"})(["display:flex;flex-direction:column;","{flex-direction:row;justify-content:space-between;align-items:center;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),u=(0,o.default)(l.I).withConfig({componentId:"sc-12teylk-1"})(["padding-top:",";width:33%;min-width:142px;max-width:300px;","{padding-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.spacing[16]})),h=(0,o.default)(s.ES).withConfig({componentId:"sc-12teylk-2"})(["background-color:transparent;overflow:visible;","{padding-left:0;padding-right:0;margin:0;}a{color:white;&:nth-of-type(1){&::before{border-color:",";background-color:",";}&:hover{&::before{border-color:",";background-color:",";}}}&:nth-of-type(2){&::before{border-color:",";background-color:",";}&:hover{&::before{border-color:",";background-color:",";}}}&:nth-of-type(3){&::before{background-color:",";border-color:",";}&:hover{&::before{background-color:",";border-color:",";}}}}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.primary}),d.DM.BLUE,d.DM.BLUE,d.DM.BLUE,d.DM.BLUE,d.DM.YELLOW,d.DM.YELLOW,d.DM.YELLOW,d.DM.YELLOW);var g=r(52322);var m=e=>{let{logo:t,navItems:r}=e;return(0,g.jsx)(s.$0,{constrained:!0,children:(0,g.jsxs)(c,{children:[(0,g.jsx)(u,{assetPath:t.assetPath,alt:t.alt}),(0,g.jsx)(h,{navItems:[{title:r[0].label,url:r[0].url,icon:(0,g.jsx)(n.Z,{}),still:!1},{title:r[1].label,url:r[1].url,icon:(0,g.jsx)(a.Z,{}),still:!1},{title:r[2].label,url:r[2].url,icon:(0,g.jsx)(i.Z,{}),still:!1}],variant:"primary"})]})})};r(98670);const p=o.default.div.withConfig({componentId:"sc-xaiuea-0"})(["margin-top:",";text-align:center;"],(e=>{let{theme:t}=e;return t.spacing[20]}));var b=e=>{let{image:t,heading:r,body:n}=e;return(0,g.jsxs)(s.$0,{constrained:!0,children:[(0,g.jsx)(s.ZG,{assetPath:t.assetPath,alt:t.alt,dimensions:t.dimensions}),(0,g.jsxs)(p,{children:[(0,g.jsx)("h2",{children:r}),(0,g.jsx)(s.Ho,{data:n})]})]})},f=r(7700),x=r(90374);const j=o.default.div.withConfig({componentId:"sc-srfw4m-0"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-gap:",";","{grid-template-columns:repeat(3,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),y=o.default.div.withConfig({componentId:"sc-srfw4m-1"})(["margin-top:",";text-align:center;"],(e=>{let{theme:t}=e;return t.spacing[48]}));var v=e=>{let{amiibos:t,cta:r}=e;return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,children:[(0,g.jsx)(j,{children:t&&t.map((e=>(0,g.jsx)(f.B,{artPath:e.figureAsset?.publicId,tileLink:e.url,constrain:!1,children:(0,g.jsx)("h3",{children:e.name})},e.id)))}),(0,g.jsx)(y,{children:(0,g.jsx)(x.B,{href:r.url,children:r.label})})]})};const E=(0,o.default)(s.tm).withConfig({componentId:"sc-gxu83x-0"})(["border-radius:",";padding-top:",";padding-bottom:",";padding-left:",";padding-right:",";margin-top:",";margin-bottom:",";","{padding-left:",";padding-right:",";}"],(e=>{let{theme:t}=e;return t.borderRadiusRound}),(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[32]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t,reverseContent:r}=e;return r?t.spacing[44]:t.spacing[16]}),(e=>{let{theme:t,reverseContent:r}=e;return r?t.spacing[16]:t.spacing[44]})),w=o.default.div.withConfig({componentId:"sc-p84z3e-0"})(["display:block;background-color:",";border-radius:",";text-align:center;max-width:850px;width:auto;padding-top:",";padding-bottom:",";padding-left:",";padding-right:",";margin:0 auto;"],(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.borderRadiusRound}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[24]})),D=o.default.div.withConfig({componentId:"sc-p84z3e-1"})(["background-image:url('https://www.nintendo.com/etc.clientlibs/noa/clientlibs/clientlib-ncom/resources/images/page/amiibo/common/sil-blend.jpg');background-repeat:repeat-x;"]);o.default.div.withConfig({componentId:"sc-p84z3e-2"})(["border-top:6px solid ",";border-bottom:1px solid ",";padding-top:",";padding-bottom:",";padding-left:",";padding-right:",";background:linear-gradient( 0deg,rgba(0,0,0,0) 75%,rgba(",",0.15) 100% );"],d.DM.BLUE,d.DM.BLUE,(e=>{let{theme:t}=e;return t.spacing[36]}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[20]}),d.DM.BLUE_RAW);var L=e=>{let{heading:t,body:r,promos:n}=e;const a=[(0,o.useTheme)().color.primary,d.DM.GREEN,d.DM.BLUE];return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,background:"url(https://assets.nintendo.com/image/upload/f_auto,q_auto/amiibo/2021/Rectangle)",children:[(0,g.jsxs)(w,{children:[(0,g.jsx)("h2",{children:t}),(0,g.jsx)(s.Ho,{data:r})]}),n&&n.map(((e,t)=>{let{asset:r,heading:n,body:i}=e;return(0,g.jsx)(E,{content:{assetPath:r.primary.assetPath,assetPathAlt:r.alt,heading:n,description:i,background:{backgroundType:a[t]}},headingVariant:"h2",reverseContent:t%2!==0},n)}))]})},k=r(76116),A=r(89214);var I=e=>{let{heading:t,body:r}=e;return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,background:"url(https://assets.nintendo.com/image/upload/f_auto,q_auto/amiibo/2021/amiibo_crowd) center center / cover no-repeat",children:[(0,g.jsx)(A.S,{size:40}),(0,g.jsxs)(w,{children:[(0,g.jsx)("h2",{children:t}),(0,g.jsx)(k.Z,{data:r})]}),(0,g.jsx)(A.S,{size:40})]})};const M=o.default.div.withConfig({componentId:"sc-13aolz-0"})(["display:grid;grid-template-columns:1fr;gap:",";","{grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[64]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));var S=e=>{let{tiles:t}=e;return(0,g.jsx)(s.$0,{constrained:!0,small:!0,background:"url(https://assets.nintendo.com/image/upload/f_auto,q_auto/amiibo/2021/bg) center center / cover no-repeat",divider:["bottom"],children:(0,g.jsx)(M,{children:t&&t.map((e=>(0,g.jsxs)("div",{children:[(0,g.jsx)(l.I,{assetPath:e.asset.primary.assetPath,alt:e.alt}),(0,g.jsx)(A.S,{size:16}),(0,g.jsx)("h3",{children:e.heading})]},e.heading)))})})},z=r(57724);const C=(0,o.default)(z.H).withConfig({componentId:"sc-4kkj4v-0"})(["text-align:center;margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[32]}));var _=e=>{let{heading:t,faqs:r,deepLink:n}=e;return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,id:n,children:[(0,g.jsx)(C,{variant:"h1",forwardedAs:"h2",large:!0,children:t}),r&&r.map((e=>(0,g.jsx)(s.oW,{heading:e.heading,children:(0,g.jsx)(k.Z,{data:e.body})},e.heading)))]})},B=r(21340),R=r(37953),T=r(24103),P=r(9046),U=r(70342),N=r(90862),$=r(82091);const Z=o.default.div.withConfig({componentId:"sc-1hembag-0"})(["border-top:6px solid ",";border-bottom:1px solid ",";padding-top:",";padding-bottom:",";padding-left:",";padding-right:",";background:linear-gradient( 0deg,rgba(0,0,0,0) 75%,rgba(",",0.15) 100% );","{grid-template-columns:1fr 1fr;}"],d.DM.BLUE,d.DM.BLUE,(e=>{let{theme:t}=e;return t.spacing[36]}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[20]}),d.DM.BLUE_RAW,(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Q=o.default.div.withConfig({componentId:"sc-1hembag-1"})(["*{font-size:",";","{font-size:",";}}"],(e=>{let{theme:t}=e;return t.font.size.legalMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.font.size.legalDesktop})),W=(0,o.default)(T.T).withConfig({componentId:"sc-1hembag-2"})(["font-weight:bold;margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));var q=r(64897);const H=["en-us","en-ca","fr-ca"];var O=e=>{let{legal:t,amiibo:r}=e;const{date:n,DateFormat:a,text:i}=(0,$.useLocalizer)(),{locale:l}=(0,q.Z)();return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,children:[(0,g.jsx)(Z,{children:(0,g.jsxs)(N.rj,{columns:1,tablet:{columns:2},gap:32,children:[(0,g.jsxs)(B.M,{ariaLabel:"Amiibo image gallery",children:[(0,g.jsx)(R.K,{assetPath:r.figureAsset.publicId,pad:!0}),(0,g.jsx)(R.K,{assetPath:r.boxartAsset.publicId,pad:!0})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)(z.H,{variant:"h1",as:"h2",large:!0,children:r.name}),r.series&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(A.S,{size:16}),(0,g.jsxs)(T.T,{variant:"body",children:[i("Series:")," ",(0,g.jsx)("b",{children:r.series})]})]}),(0,g.jsxs)(T.T,{variant:"body",children:[i("Release date:")," ",(0,g.jsx)("b",{children:r.releaseDateDisplay||n(r.releaseDate,{format:a.LONG})})]}),(0,g.jsxs)(T.T,{variant:"body",children:[i("Presented by:")," ",(0,g.jsx)("b",{children:r.presentedBy})]}),(0,g.jsx)(A.S,{size:16}),(0,g.jsx)(k.Z,{data:r.description.json}),H.includes(l)&&r?.product?.urlKey&&r?.product?.isSalableQty&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(W,{variant:"body",children:i("Available at:")}),(0,g.jsx)(P.S,{children:i("My Nintendo Store")}),(0,g.jsx)(x.B,{href:`/store/products/${r?.product?.urlKey}`,children:(0,g.jsx)(U.Z,{size:188})})]})]})]})}),(0,g.jsx)(A.S,{size:32}),(0,g.jsx)(Q,{children:(0,g.jsx)(k.Z,{data:t})})]})},Y=r(2784);const G=o.default.div.withConfig({componentId:"sc-sy85g6-0"})(["display:flex;align-items:center;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));var K=e=>{let{amiibos:t,heading:r}=e;const{0:n,1:a}=(0,Y.useState)(d.rl.RELEASE_DATE),{0:i,1:l}=(0,Y.useState)(t),{text:o,date:c}=(0,$.useLocalizer)(),u=(0,Y.useCallback)((e=>{const{RELEASE_DATE:t,NAME:r}=d.rl;l(i.sort(((n,a)=>{switch(e){case t:return new Date(a.releaseDate||a.releaseDateDisplay)-new Date(n.releaseDate||n.releaseDateDisplay);case r:return n.namea.name?1:0}}))),a(e)}),[i]);return(0,g.jsxs)(s.$0,{constrained:!0,small:!0,children:[(0,g.jsx)(z.H,{variant:"h1",large:!0,children:r}),(0,g.jsx)(A.S,{size:24}),(0,g.jsxs)(G,{children:[(0,g.jsxs)(T.T,{variant:"title",children:[o("Sort by"),":"]}),(0,g.jsx)(x.B,{round:!0,still:!0,size:"small",variant:"quaternary",selected:n===d.rl.RELEASE_DATE,onClick:()=>u(d.rl.RELEASE_DATE),children:o("Release date")}),(0,g.jsx)(x.B,{round:!0,still:!0,size:"small",variant:n===d.rl.NAME?"tertiary":"quaternary",onClick:()=>u(d.rl.NAME),children:o("Name")})]}),(0,g.jsx)(A.S,{size:32}),(0,g.jsx)(N.rj,{gap:16,columns:2,tablet:{columns:4,gap:32},children:i.map((e=>(0,g.jsxs)(f.B,{accessibleLabel:e.name,artPath:e.figureAsset.publicId,tileLink:e.url,constrain:!1,children:[(0,g.jsx)(z.H,{variant:"h3",children:e.name}),(0,g.jsx)(A.S,{size:e.series?8:28}),e.series&&(0,g.jsx)(T.T,{variant:"caption",children:o("{0} series",{args:[e.series]})}),(0,g.jsx)(T.T,{variant:"caption",children:e.releaseDateDisplay||o("Available {0}",{args:[c(e.releaseDate)]})}),(0,g.jsx)(A.S,{size:16})]},e.id)))})]})}}}]); //# sourceMappingURL=6471-fc065629f2f81c10.js.map