1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2a800f66-8517-4471-aec0-f4a4044b1a87",e._sentryDebugIdIdentifier="sentry-dbid-2a800f66-8517-4471-aec0-f4a4044b1a87")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4873],{14873:(e,t,r)=>{r.d(t,{Hk:()=>b,bX:()=>c,XR:()=>h});var i=r(6029),a=r(75155);r(55729);var n=r(8326),o=r(1129),l=r(78747),s=r(22109);let c=function(e){let t,r,c,u,p,d,g,y=(0,a.c)(24),{variations:m,loadingPricing:h}=e,f=(0,n.A)(),{text:b,price:A}=(0,o.lR)();if(y[0]!==h||y[1]!==A||y[2]!==b||y[3]!==m){let e;y[5]!==h||y[6]!==A||y[7]!==b?(e=e=>({label:e.product.nsuid?b("Digital"):b("Physical"),caption:e.product.name,price:h?null:A(e.product?.prices?.finalPrice?.toFixed(2)),value:e.product.name,urlKey:e.product.urlKey}),y[5]=h,y[6]=A,y[7]=b,y[8]=e):e=y[8],t=m.map(e),y[0]=h,y[1]=A,y[2]=b,y[3]=m,y[4]=t}else t=y[4];let w=t;y[9]!==w||y[10]!==f.query?(r=w.find(e=>{let{urlKey:t}=e;return f.query.slug===t})||w[0],y[9]=w,y[10]=f.query,y[11]=r):r=y[11];let v=r;return y[12]===Symbol.for("react.memo_cache_sentinel")?(c={zIndex:"100"},y[12]=c):c=y[12],y[13]!==b?(u=b("Select an edition"),y[13]=b,y[14]=u):u=y[14],y[15]!==u?(p=(0,i.jsx)(s.l1,{variant:"caption",children:u}),y[15]=u,y[16]=p):p=y[16],y[17]!==f?(d=e=>{f.push(`${e.urlKey}${(0,l.MZ)(f?.query)}`,null,{scroll:!1})},y[17]=f,y[18]=d):d=y[18],y[19]!==w||y[20]!==v||y[21]!==p||y[22]!==d?(g=(0,i.jsx)(s.ww,{style:c,inputName:"select-an-edition",inputLabel:p,onChange:d,options:w,value:v,showErrors:!1}),y[19]=w,y[20]=v,y[21]=p,y[22]=d,y[23]=g):g=y[23],g};var u=r(56121),p=r.n(u),d=r(26626),g=r(22564);let y=r(96587).A;function m(e){let t,r,n,l=(0,a.c)(16),{onChange:c,isBundle:u,product:p,title:m,value:h}=e,{text:f}=(0,o.lR)();if(l[0]!==u||l[1]!==c||l[2]!==p||l[3]!==f||l[4]!==m||l[5]!==h){let e=p?.variations.find(e=>e.product?.urlKey===p?.urlKey)||p?.variations[0],a=e?.attributes||[],n=p?.variations?.[0]?.type,o=a.find(e=>e?.type===n)?.value,b=a.filter(e=>n&&e?.type===n?new Set(p.variations.map(t=>t?.attributes?.find(t=>t.type===e.type)?.value)).size>=1:new Set((n?p.variations.filter(e=>e?.attributes?.find(e=>e?.type===n)?.value===o):p.variations).map(t=>t?.attributes?.find(t=>t?.type===e?.type)?.value)).size>1),A=b.length>1;l[8]!==u||l[9]!==A||l[10]!==f||l[11]!==m?(t=!A&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.A,{size:24}),(0,i.jsx)(g.A,{columns:2,alignItems:"end",children:(0,i.jsx)(s.D7,{variant:"legal",children:u?m:f("Select a product")})})]}),l[8]=u,l[9]=A,l[10]=f,l[11]=m,l[12]=t):t=l[12],r=b.map(e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{showLabel:A,currentAttributes:a,type:e.type,onChange:c,product:p,value:h},e.type),(0,i.jsx)(d.A,{size:16})]})),l[0]=u,l[1]=c,l[2]=p,l[3]=f,l[4]=m,l[5]=h,l[6]=t,l[7]=r}else t=l[6],r=l[7];return l[13]!==t||l[14]!==r?(n=(0,i.jsxs)(i.Fragment,{children:[t,r]}),l[13]=t,l[14]=r,l[15]=n):n=l[15],n}m.propTypes={isBundle:p().bool,onChange:p().func,product:p().shape({variations:p().arrayOf(p().shape({}))}),title:p().string,value:p().string};let h=m;var f=r(18885);let b=function(e){let t,r,l,s,c,u=(0,a.c)(14),{product:p}=e,{text:y}=(0,o.lR)(),{locale:m}=(0,n.A)();u[0]!==m?(t=m?.split("-")[0]??"en",u[0]=m,u[1]=t):t=u[1];let h=t;return u[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,i.jsx)(d.A,{size:24}),u[2]=r):r=u[2],u[3]!==h||u[4]!==p||u[5]!==y?(l=p?.appStoreUrl&&(0,i.jsx)("a",{href:p.appStoreUrl,children:(0,i.jsx)(f.A,{assetPath:`/ncom/icons/app-store/app-store-badge-${h}`,alt:y("Download on the app store")})}),u[3]=h,u[4]=p,u[5]=y,u[6]=l):l=u[6],u[7]!==h||u[8]!==p||u[9]!==y?(s=p?.googlePlayUrl&&(0,i.jsx)("a",{href:p.googlePlayUrl,children:(0,i.jsx)(f.A,{assetPath:`/ncom/icons/google-play/google-play-badge-${h}`,alt:y("Get it on Google Play")})}),u[7]=h,u[8]=p,u[9]=y,u[10]=s):s=u[10],u[11]!==l||u[12]!==s?(c=(0,i.jsxs)(i.Fragment,{children:[r,(0,i.jsxs)(g.A,{columns:"144px 162px",rows:"48px",children:[l,s]})]}),u[11]=l,u[12]=s,u[13]=c):c=u[13],c}},22109:(e,t,r)=>{r.d(t,{D7:()=>c,l1:()=>u,ww:()=>s});var i=r(5042),a=r(48275),n=r(87226),o=r(72494),l=r(26412);(0,i.Ay)(a.A).withConfig({componentId:"sc-24ee7298-0"})(["margin-bottom:",";"],({theme:e})=>e.spacing[8]);let s=(0,i.Ay)(n.A).withConfig({componentId:"sc-24ee7298-1"})(["z-index:2;"]);(0,i.Ay)(o.A).withConfig({componentId:"sc-24ee7298-2"})(["width:100%;"]);let c=(0,i.Ay)(l.A).withConfig({componentId:"sc-24ee7298-3"})(["margin-bottom:",";"],({theme:e})=>e.spacing[8]),u=(0,i.Ay)(l.A).withConfig({componentId:"sc-24ee7298-4"})(["font-weight:",";"],({theme:e})=>e.font.weight.bold)},22564:(e,t,r)=>{r.d(t,{A:()=>y,p:()=>d});var i=r(6029),a=r(75155);r(55729);var n=r(56121),o=r.n(n),l=r(5042);
1function s(e){return Array.isArray(e)?e.join(" "):"string"==typeof e?e:"number"==typeof e?`repeat(${e}, 1fr)`:void 0}function c(e){return Array.isArray(e)?e:[e]}function u(e){return(0,l.AH)(["display:",";"," "," "," "," "," "," "," "," "," "," "," "," ",""],e.$inline?"inline-grid":"grid",null!=e.$columns?(0,l.AH)(["grid-template-columns:",";"],s(e.$columns)):"",null!=e.$rows?(0,l.AH)(["grid-template-rows:",";"],s(e.$rows)):"",null!=e.$areas?(0,l.AH)(["grid-template-areas:",";"],c(e.$areas).map(e=>`"${e}"`).join(" ")):"",null!=e.$autoColumns?(0,l.AH)(["grid-auto-columns:",";"],e.$autoColumns):"",null!=e.$autoRows?(0,l.AH)(["grid-auto-rows:",";"],e.$autoRows):"",null!=e.$autoFlow?(0,l.AH)(["grid-auto-flow:",";"],e.$autoFlow):"",null!=e.height?(0,l.AH)(["height:",";"],e.height):"",null!=e.width?(0,l.AH)(["width:",";"],e.width):"",null!=e.$gap?(0,l.AH)(["gap:",";"],c(e.$gap).map(t=>e.theme.spacing?.[t]??t).join(" ")):"",e.$alignItems?(0,l.AH)(["align-items:",";"],e.$alignItems):"",e.$justifyItems?(0,l.AH)(["justify-items:",";"],e.$justifyItems):"",e.padding?(0,l.AH)(["padding:",";"],c(e.padding).map(t=>e.theme.spacing[t]??t).join(" ")):"",e.margin?(0,l.AH)(["margin:",";"],c(e.margin).map(t=>e.theme.spacing[t]??t).join(" ")):"")}let p=l.Ay.div.withConfig({componentId:"sc-82932792-0"})(["",""],e=>{let t=Object.keys(e.theme.mediaQuery);return(0,l.AH)([""," ",""],u(e),t.map(t=>{let r=e[`$${t}`];return r&&(0,l.AH)(["","{","}"],e.theme.mediaQuery[t],u({theme:e.theme,...r}))}))}),d=(e,t)=>t.reduce((t,r)=>{if(!e[r])return t;let i=e[r];return{...t,[`$${r}`]:Object.keys(i).reduce((e,t)=>({...e,[`$${t}`]:i[t]}),{})}},{});function g(e){let t,r,n,o,s,c,u,g,y,m,h,f,b,A,w,v,j=(0,a.c)(33);j[0]!==e?({columns:h,gap:f,autoRows:n,areas:r,alignItems:t,inline:c,items:u,justifyItems:g,rows:m,desktop:o,desktopLarge:s,tablet:b,tabletSmall:A,...y}=e,j[0]=e,j[1]=t,j[2]=r,j[3]=n,j[4]=o,j[5]=s,j[6]=c,j[7]=u,j[8]=g,j[9]=y,j[10]=m,j[11]=h,j[12]=f,j[13]=b,j[14]=A):(t=j[1],r=j[2],n=j[3],o=j[4],s=j[5],c=j[6],u=j[7],g=j[8],y=j[9],m=j[10],h=j[11],f=j[12],b=j[13],A=j[14]);let x=void 0===h?1:h,$=void 0===f?16:f,I=(0,l.DP)();j[15]!==o||j[16]!==s||j[17]!==b||j[18]!==A||j[19]!==I.mediaQuery?(w=d({desktop:o,desktopLarge:s,tablet:b,tabletSmall:A},Object.keys(I.mediaQuery)),j[15]=o,j[16]=s,j[17]=b,j[18]=A,j[19]=I.mediaQuery,j[20]=w):w=j[20];let O=w;return j[21]!==O||j[22]!==t||j[23]!==r||j[24]!==n||j[25]!==x||j[26]!==$||j[27]!==c||j[28]!==u||j[29]!==g||j[30]!==y||j[31]!==m?(v=(0,i.jsx)(p,{$autoRows:n,$areas:r,$alignItems:t,$columns:x,$inline:c,$items:u,$rows:m,$justifyItems:g,$gap:$,...O,...y}),j[21]=O,j[22]=t,j[23]=r,j[24]=n,j[25]=x,j[26]=$,j[27]=c,j[28]=u,j[29]=g,j[30]=y,j[31]=m,j[32]=v):v=j[32],v}g.propTypes={inline:o().bool,desktop:o().shape({}),desktopLarge:o().shape({}),tablet:o().shape({}),tabletSmall:o().shape({}),columns:o().oneOfType([o().string,o().number,o().arrayOf(o().string)]),rows:o().oneOfType([o().string,o().number,o().arrayOf(o().string)]),areas:o().oneOfType([o().string,o().arrayOf(o().string)]),autoColumns:o().string,autoRows:o().string,autoFlow:o().string,height:o().string,width:o().string,gap:o().oneOfType([o().number,o().string,o().arrayOf(o().oneOfType([o().number,o().string]))]),alignItems:o().string,justifyItems:o().string,padding:o().oneOfType([o().number,o().string,o().arrayOf(o().oneOfType([o().number,o().string]))]),margin:o().oneOfType([o().number,o().string,o().arrayOf(o().oneOfType([o().number,o().string]))])};let y=g},78282:(e,t,r)=>{r.d(t,{A:()=>O});var i=r(6029),a=r(75155);r(55729);var n=r(56121),o=r(11327),l=r(48770),s=r(65190),c=r(53411),u=r(97248),p=r(53900),d=r(14
1177),g=r(52270),y=r(72058),m=r(96221),h=r(26775),f=r(71019),b=r(60837),A=r(46353),w=r(38959),v=r(37077),j=r(66272),x=r(18366);let $={character:o.A,controller:l.A,"t-shirt":s.A,"d-pad":c.A,receipt:u.A,gift:p.A,news:d.A,"sales-tag":g.A,"star-burst-filled":y.A,"star-play-nintendo":m.A,support:h.A,"customer-support":f.A,"media-press":b.A,"zigzag-arrow":A.A,certificate:w.A,"credit-card":v.A,briefcase:j.A},I=e=>{let t,r,n,o=(0,a.c)(13),{type:l,iconSize:s,href:c,iconName:u,children:p,className:d}=e,g=void 0===l?"portrait":l,y=void 0===s?62:s,m=$[u];return o[0]!==p||o[1]!==g?(t=(0,i.jsx)(x.hE,{type:g,children:p}),o[0]=p,o[1]=g,o[2]=t):t=o[2],o[3]!==m||o[4]!==u||o[5]!==y?(r=u&&(0,i.jsx)(x.hh,{size:y,children:(0,i.jsx)(m,{})}),o[3]=m,o[4]=u,o[5]=y,o[6]=r):r=o[6],o[7]!==d||o[8]!==c||o[9]!==t||o[10]!==r||o[11]!==g?(n=(0,i.jsxs)(x.FA,{type:g,className:d,href:c,children:[t,r]}),o[7]=d,o[8]=c,o[9]=t,o[10]=r,o[11]=g,o[12]=n):n=o[12],n};I.defaultProps={type:"portrait",iconSize:48},I.propTypes={className:n.string,children:n.node,href:n.string,iconName:(0,n.oneOf)(Object.keys($)),iconSize:n.number,type:(0,n.oneOf)(["landscape","portrait"])};let O=I},96587:(e,t,r)=>{r.d(t,{A:()=>j});var i=r(6029),a=r(75155);r(55729);var n=r(56121),o=r.n(n),l=r(8326),s=r(78747),c=r(18366),u=r(52799),p=r(5042),d=r(78282);let g=p.Ay.div.withConfig({componentId:"sc-c65b1105-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),y=({theme:e,isActive:t,swatch:r,disabled:i})=>(0,p.AH)(["flex-basis:50%;padding:0;box-sizing:border-box;cursor:pointer;background:",";background-size:cover;background-repeat:no-repeat;border:"," solid ",";color:",";","{color:",";}transition:",";opacity:",";filter:",";&:hover{border:"," solid ",";> *{color:",";}}"],i&&!r?e.color.lightGray2:r?"url("+r+")":t?e.color.primary:e.color.white,e.spacing[4],t?e.color.primary:i?e.color.lightGray2:e.color.white,i?e.color.darkGray2:t?e.color.white:e.color.darkGray2,e.mediaQuery.tablet,i?e.color.darkGray3:t?e.color.white:e.color.darkGray2,({theme:e})=>e.movement.duration+" "+e.movement.easing,i&&r?"60%":"initial",i?"grayscale(60%)":"",e.spacing[4],e.color.primary,t&&!i?e.color.white:e.color.darkGray2),m=p.Ay.div.withConfig({componentId:"sc-c65b1105-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],c.Af,y),h=(0,p.Ay)(d.A).withConfig({componentId:"sc-c65b1105-2"})(["",""],y);var f=r(22109),b=r(1129);let A=e=>{let t,r,n,o,p,d=(0,a.c)(20),{onChange:y,product:A,value:j,type:x,currentAttributes:$,showLabel:I}=e,O=void 0!==I&&I,{text:k}=(0,b.lR)(),{query:C}=(0,l.A)();if(d[0]!==$||d[1]!==y||d[2]!==A.variations||d[3]!==C||d[4]!==O||d[5]!==k||d[6]!==x||d[7]!==j){let e={};A.variations.forEach(t=>{let r=w(t?.attributes,x)?.value;r&&(e[r]||(e[r]=[]),e[r].push(t))});let a="";if(O)switch(x){case"color":a="Color";break;case"size":a="Size"}let o=Object.entries(e);d[11]!==a||d[12]!==k?(n=a&&(0,i.jsx)(f.D7,{variant:"legal",children:k(a)}),d[11]=a,d[12]=k,d[13]=n):n=d[13],t=g,r=o.map(e=>{let[t,r]=e,a=v(r,$,x),n=w(a?.attributes,x)?.label,o="color"===x?(0,s.mz)({publicId:t}):null,l=a?.product?.url?a?.product?.urlKey===C.slug:a?.id===j;return a?.product?.url?(0,i.jsx)(h,{href:a?.product?.url,isActive:l,swatch:o,disabled:!a?.product?.isSalableQty,children:o?(0,i.jsx)(u.A,{children:n}):n},t):(0,i.jsx)(m,{onClick:()=>y(a?.id),isActive:l,swatch:o,disabled:!a?.product?.isSalableQty,children:(0,i.jsx)(c.hE,{type:"portrait",children:o?(0,i.jsx)(u.A,{children:n}):n})},t)}),d[0]=$,d[1]=y,d[2]=A.variations,d[3]=C,d[4]=O,d[5]=k,d[6]=x,d[7]=j,d[8]=t,d[9]=r,d[10]=n}else t=d[8],r=d[9],n=d[10];return d[14]!==t||d[15]!==r?(o=(0,i.jsx)(t,{children:r}),d[14]=t,d[15]=r,d[16]=o):o=d[16],d[17]!==n||d[18]!==o?(p=(0,i.jsxs)(i.Fragment,{children:[n,o]}),d[17]=n,d[18]=o,d[19]=p):p=d[19],p},w=(e,t)=>e?.find(e=>e.type===t),v=(e,t,r)=>{if(1===e.length)return e[0];let i=(t||[]).filter(e=>e.type!==r);if(!i?.length)return e[0];let a=e[0],n=-1;return e.forEach(e=>{let t=0;i.forEach(r=>{w(e?.attributes,r.type)?.value===r.value&&t++}),t>n&&(n=t,a=e)}),a};A.propTypes={onChange:o().func,product:o().shape({name:o().string,urlKey:o().string,isSalableQty:o().bool,variations:o().arrayOf(o().shape({}))}
1),value:o().string,showLabel:o().bool};let j=A}}]); 2//# sourceMappingURL=4873-c018d53335c8e2e0.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.