!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]="f1dd0d4c-8466-4f4c-b591-5e6c69a9fb69",e._sentryDebugIdIdentifier="sentry-dbid-f1dd0d4c-8466-4f4c-b591-5e6c69a9fb69")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[754],{4095:function(e,t,r){r.d(t,{uP:function(){return P},Kx:function(){return x},Z5:function(){return y},ig:function(){return S}});var n=r(2784),i=r(97224),l=r(82091),a=r(87989),o=r(31837),s=r(7307),d=r(77808),c=r(49865),u=r(60946);const h=(0,s.default)(d.R).withConfig({componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),p=(0,s.default)(c.S).withConfig({componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),g=((0,s.default)(u.Q).withConfig({componentId:"sc-1nmdhxc-2"})(["width:100%;"]),(0,s.default)(a.T).withConfig({componentId:"sc-1nmdhxc-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})));var m=r(52322);const f=n.forwardRef((function(e,t){const{checked:r,onClick:n,href:i,onChange:a=(()=>{}),product:o,variation:s}=e,{text:d,price:c}=(0,l.useLocalizer)();return(0,m.jsx)(h,{ref:t,caption:s.product.name,checked:r,discounted:s.product.prices?.minimum?.discounted,href:i,price:o.loadingPricing?null:c(s.product?.prices?.minimum?.finalPrice),regularPrice:o.loadingPricing?null:c(s.product?.prices?.minimum?.regularPrice),onChange:a,onClick:n,value:s.product.urlKey,name:s.product.name,label:s.product.nsuid?d("Digital"):d("Physical"),altContent:"\u2713"})}));function b(e){let{onChange:t,isBundle:r,product:n,title:s,value:d}=e;const{text:c}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(a.T,{variant:"legal",children:r?s:c("Select a product")}),(0,m.jsx)(o.S,{size:12}),(0,m.jsx)("div",{children:n.variations.map((e=>e.product.url?(0,m.jsx)(i.Z,{href:e.product.url,children:(0,m.jsx)(f,{checked:n.url===e.product.url,product:n,variation:e})},e.product.sku):(0,m.jsx)(f,{checked:d===e.id,product:n,variation:e,onChange:()=>t(e.id)},e.id)))})]})}b.defaultProps={onChange:()=>{}};var x=b,w=r(64897);var y=function(e){let{product:t}=e;const r=(0,w.Z)(),{text:i}=(0,l.useLocalizer)(),a=(0,n.useMemo)((()=>t.variations.map((e=>({label:e.product.nsuid?i("Digital"):i("Physical"),caption:e.product.name,price:t.loadingPricing?null:e.product?.prices?.minimum?.finalPrice?.toFixed(2),value:e.product.name,urlKey:e.product.urlKey})))),[t,i]),o=(0,n.useMemo)((()=>a.find((e=>{let{urlKey:t}=e;return r.query.slug===t}))||a[0]),[a,r]);return(0,m.jsx)(p,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:i("Select a product"),onChange:e=>{r.push(e.urlKey)},options:a,value:o,showErrors:!1})},j=r(18772),v=r(90862),C=r(67282);var S=function(e){let{onChange:t,isBundle:r,product:n,title:i,value:a}=e;const{text:s}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.S,{size:24}),(0,m.jsxs)(v.rj,{columns:2,alignItems:"end",children:[(0,m.jsx)(g,{variant:"legal",children:r?i:s("Select a product")}),n?.sizeChart&&(0,m.jsxs)(v.P4,{justifySelf:"end",children:[(0,m.jsx)(j.L,{href:"#sizing",children:s("Size chart")}),(0,m.jsx)(o.S,{size:8})]})]}),(0,m.jsx)(o.S,{size:12}),(0,m.jsx)(C.um,{onChange:t,product:n,value:a})]})},L=r(92177);var P=function(e){let{product:t}=e;const{text:r}=(0,l.useLocalizer)(),{locale:n}=(0,w.Z)(),i=n?.split("-")[0]??"en";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.S,{size:24}),(0,m.jsxs)(v.rj,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,m.jsx)("a",{href:t.appStoreUrl,children:(0,m.jsx)(L.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${i}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,m.jsx)("a",{href:t.googlePlayUrl,children:(0,m.jsx)(L.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${i}`,alt:r("Get it on Google Play")})})]})]})}},67282:function(e,t,r){r.d(t,{CL:function(){return z},jJ:function(){return E},VM:function(){return Ae},NR:function(){return Ne},jl:function(){return O},dn:function(){return at},ww:function(){return Lt},Ym:function(){return wr},yL:function(){return Lr},um:function(){return Mr},mW:function(){return $r},Lx:function(){return Zr}});var n=r(37364),i=r(87989),l=r(88627),a=r(64897),o=r(82091),s=r(90862),d=r(7307);const c=d.default.div.withConfig({componentId:"sc-1m8mxjv-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;justify-content:center;gap:",";","{grid-template-columns:repeat(2,1fr);}"],t.spacing[24],t.mediaQuery.tablet)})),u=d.default.div.withConfig({componentId:"sc-1m8mxjv-1"})(["display:flex;justify-content:flex-start;align-items:center;flex-direction:column;text-align:center;gap:1rem;background-color:",";padding:",";grid-column:",";border-radius:",";"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return t.spacing[24]+" "+t.spacing[32]}),(e=>e.$solo?"span 2":"inherit"),(e=>{let{theme:t}=e;return t.borderRadius})),h=(0,d.default)(l.bs).withConfig({componentId:"sc-1m8mxjv-2"})(["padding:",";background:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);text-align:left;margin-bottom:",";border-radius:",";"],(e=>{let{theme:t}=e;return t.spacing[16]+" "+t.spacing[32]}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.borderRadiusSmall}));var p=r(2784),g=r(61921),m=r(70103),f=r(38463),b=r(33594),x=r(3810),w=r(2099);const y=d.default.div.withConfig({componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),j=d.default.div.withConfig({componentId:"sc-16atj0u-1"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>{let{$supported:r}=e;return r?t.color.darkGray2:t.color.lightGray2}),t.color.white)}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadiusSmall}));var v=r(52322);const C="TABLETOP",S="TV",L="HANDHELD",P={[C]:g.Z,[S]:m.Z,[L]:f.Z},I={[C]:b.Z,[S]:x.Z,[L]:w.Z},D=e=>{const{mode:t,iconSize:r,supported:n,title:i}=e,l=n?P[t]:I[t];return(0,v.jsxs)(y,{children:[(0,v.jsx)(j,{$supported:n,children:(0,v.jsx)(l,{size:r})}),(0,v.jsx)("p",{children:i})]})};D.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var O=D;var z=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{text:d}=(0,o.useLocalizer)(),p=t.playModes?.map((e=>e.code));return(0,v.jsxs)(l.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[null!=t.contentRating||p?.length?(0,v.jsxs)(c,{children:[null!=t.contentRating&&(0,v.jsxs)(u,{$solo:!p?.length,children:[(0,v.jsx)(n.H,{variant:"h4",children:d("ESRB rating")}),(0,v.jsx)(h,{rating:t.contentRating,descriptors:t.contentDescriptors,locale:r})]}),p?.length>0&&(0,v.jsxs)(u,{$solo:!t.contentRating,children:[(0,v.jsx)(n.H,{variant:"h4",children:d("Supported play modes")}),(0,v.jsxs)(s.rj,{columns:3,width:"100%",gap:"24px",children:[(0,v.jsx)(O,{supported:p?.includes("TV_MODE"),title:d("TV"),mode:S}),(0,v.jsx)(O,{supported:p?.includes("TABLETOP_MODE"),title:d("Tabletop"),mode:C}),(0,v.jsx)(O,{supported:p?.includes("HANDHELD_MODE"),title:d("Handheld"),mode:L})]}),!p?.includes("HANDHELD_MODE")&&(0,v.jsx)(i.T,{variant:"legal",children:d("Software compatibility and play experience may differ on Nintendo Switch Lite. Additional accessories may be required (sold separately). See support for details.")})]})]}):null,"BUNDLE"!==t.productType&&(0,v.jsx)(Lt,{product:t})]})},k=r(65202);const T=d.default.div.withConfig({componentId:"sc-gkj3iw-0"})(["margin-top:",";padding:"," 0;background-color:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4}));var M=r(2002);var E=e=>{let{product:t,locale:r}=e;const{text:i}=(0,o.useLocalizer)(),a=(0,p.useMemo)((()=>t.relatedProducts.slice(0,4).map(M.uF)),[t.relatedProducts]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.He,{small:!0,children:t.relatedProducts.length>4?(0,v.jsx)(k.H,{ctaType:"iconlink",headingProps:{variant:"h1"},ctaText:i("See all"),ctaUrl:t.urlKey+"/dlc/",locale:r,children:i("Downloadable content (DLC)")}):(0,v.jsx)(n.H,{variant:"h1",children:i("Downloadable content (DLC)")})}),(0,v.jsx)(T,{$bgColor:"#"+t.backgroundColor,children:(0,v.jsx)(l.He,{small:!0,children:(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsx)(l.nZ,{analytics:{title:"Downloadable content (DLC)"},products:a,cta:{fields:{title:i("See all"),url:t.relatedProducts.length>4?t.urlKey+"/dlc/":""}}})})})})]})},A=r(95235),R=r(93266),X=r(27794),$=r(26856),Z=r(2001),N=r(31837),H=r(23229),G=r(86157),Q=r(88588),_=r(40910),B=r(97224),F=r(36734),q=r(56675),U=r(85343),V=r(60946),W=r(4868),K=r(18772),Y=r(98803);const J=(0,d.default)(V.Q).withConfig({componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),ee=d.default.div.withConfig({componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),te=(0,d.default)(W.S).withConfig({componentId:"sc-10vf2cu-2"})(["height:",";& > div{font-size:",";}"],(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.font.size.h1LMobile})),re=d.default.div.withConfig({componentId:"sc-10vf2cu-3"})(["display:flex;gap:",";align-items:center;img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),ne=d.default.span.withConfig({componentId:"sc-10vf2cu-4"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),ie=(d.default.span.withConfig({componentId:"sc-10vf2cu-5"})(["display:",";font-weight:",";color:",";"],(e=>{let{isLoading:t}=e;return t?"none":"block"}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.color.primary})),(0,d.default)(K.L).withConfig({componentId:"sc-10vf2cu-6"})(["display:inline !important;span{font-size:",";","{font-size:",";}}"],(e=>{let{theme:t}=e;return t.font.size.legalMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.font.size.captionMobile}))),le=(0,d.default)(i.T).withConfig({componentId:"sc-10vf2cu-7"})(["line-height:1.5;"]),ae=(0,d.default)(le).withConfig({componentId:"sc-10vf2cu-8"})(["color:",";font-weight:",";"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.font.weight.bold})),oe=(0,d.default)(Y.B).withConfig({componentId:"sc-10vf2cu-9"})(["white-space:pre-wrap;"]),se=(0,d.default)(H.L).withConfig({componentId:"sc-10vf2cu-10"})(["width:max-content;"]),de=d.default.span.withConfig({componentId:"sc-10vf2cu-11"})(["font-weight:",";"],(e=>{let{$boldHelperText:t}=e;return t?700:"initial"})),ce=d.default.div.withConfig({componentId:"sc-10vf2cu-12"})(["margin-top:",";margin-bottom:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(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[12]}));var ue=r(82090);function he(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}function pe(e){for(var t=1;t{const{locale:t}=(0,a.Z)(),r=(0,q.x)(),n=(0,o.useMaintenance)(),i=(0,o.useAccounts)(),l=(0,o.useCart)(),{trackAddToCart:s}=(0,o.useAnalytics)(),d=(0,o.useCustomer)(),{text:c,price:u,date:h}=(0,o.useLocalizer)(),{__typename:g,availability:m,bundleItems:f,nsuid:b,requiresSubscription:x,sku:w,requiresCoupon:y,requiresLogin:j,platinumPoints:C,eshopDetails:S,prePurchase:L,prices:P,loadingPricing:I,productType:D,isSalableQty:O,releaseDate:z,releaseDateDisplay:k,soldOutPermanent:T,isPreorderable:M,variations:E,voucherNsuid:A,startShippingDate:R,shipDateDisplay:X,enableRetailCrawler:$}=e,Z=I||l?.loading||l?.updating||n?.loading,{0:N,1:H}=(0,p.useState)(!1),{0:G,1:Q}=(0,p.useState)(1),{0:_,1:B}=(0,p.useState)({}),F=(0,U.u)(),V="MOBILE"===b,W="BUNDLE"===D,K="CONFIGURABLE"===D,Y=(0,ue.EE)(e),J=f?.every((e=>{let{required:t,title:r}=e;return t&&!!_[r]}));(0,p.useEffect)((()=>{if(W){const e=f?.reduce(((e,t)=>{let{options:r,title:n}=t;const i=r.length>1?r?.find((e=>{let{isDefault:t}=e;return t})):r[0];return pe(pe({},e),{},{[n]:i?.id})}),{});B(e)}}),[W,f]);const ee=(m?.includes(c("Pre-order"))||m?.includes(c("Available now"))||O||L)&&!V,{consentedGroups:te}=(0,o.useCookies)(),re=(0,p.useMemo)((()=>{if(!$)return null;const e=te?.has(o.ConsentGroups.PERFORMANCE);if(!e)return null;if(b&&E?.length){const e=E.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return b?null:w}),[te,b,w,E,$]),ne=d?.data?.membershipStatus.active,le=l?.addableQty(e),ae=G>=le,oe=!O&&!V||!!E?.length&&E.every((e=>{let{product:t}=e;return!t.isSalableQty})),se=(x||C||j)&&!i.isLoggedIn,de=x&&!ne,{buttonDisabled:ce,promptLogin:he,disableQuantity:ge,buttonCopy:me,helperText:fe,boldHelperText:be}=(0,p.useMemo)((()=>{if(V)return{};let e="",r="",i=!1,l=!1,a=Y,o=!1,s=n?.store?.active;const d=(0,v.jsx)(ie,{href:"/store/products/nintendo-switch-game-vouchers/",locale:t,children:c("Learn more about vouchers")}),u=(0,v.jsx)(ie,{href:"/switch/online/",children:c("Nintendo Switch Online members")});if(x&&(r=c("This item is only for paid {0}.",{args:[u]})),Y)if(n?.eshop?.active)i=!0,r=c("Direct downloads are not possible during maintenance"),o=!0,e="Direct download";else if("MarketingProduct"===g)o=!0,e=c("Releases {0}",{args:[k||z&&h(z,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]});else if(se)e="Sign in to download",l=!0;else if(de)o=!0,e="Direct download";else if(S?.isPreordered)o=!0,e="Already pre-ordered";else if(S?.isPurchased)o=!0,e="Already downloaded";else if(S?.isPreorderable)e="Pre-order",r=A?c("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[d]}):c("This lets you pre-load the game, so you'll be able to play as soon as the game is released.");else if(S?.isPurchasable)0==P?.minimum?.finalPrice?e="Free download":A?(e="Direct download",r=c("This item will be sent to your system automatically after purchase or Nintendo Switch Game Voucher redemption. {0}",{args:[d]})):(e="Direct download",r="This item will be sent to your system automatically after purchase.");else{const t=new Date(z);o=!0,k?e=c("Releases {0}",{args:[k]}):Date.now()({regPrice:Boolean(k)&&!L?null:u(P?.minimum?.regularPrice,{formatZero:!0}),salePrice:P?.minimum?.discounted?u(P?.minimum?.finalPrice):""})),[k,L,P,u]),we=(0,p.useCallback)((()=>{if(he)i.promptLogin();else{r.cache.evict({id:r.cache.identify(e),fieldName:"eshopDetails",args:{personalized:!0},broadcast:!1});const n="string"===typeof me?me:"CTA";s(e),F.trackEvent({eventName:`PDP: ${n} Clicked`,objectId:w,isConversion:!0},t)}}),[he,me,t,w,F,s,i,r.cache,e]),ye=(0,p.useCallback)((r=>{if(he)i.promptLogin();else{if(!e.requiresCoupon||r)return s(e),F.addToCart(w,{eventName:"PDP: Add to Cart Clicked",locale:t}),l.addProduct(e,{couponCode:r?.trim(),selectedOptions:Object.values(_),quantity:G});H(!0)}}),[w,he,F,i,l,e,G,t,s,_]);return(0,p.useMemo)((()=>({state:{isLoading:Z,quantity:G,isMobileGame:V,isDigitalProduct:Y,isPurchasable:ee,isConfigurableProduct:K,retailerSku:re,membershipRequired:de,addableQty:le,itemLimitReached:ae,soldOut:oe,loginToPurchase:se,buttonDisabled:ce,promptLogin:he,disableQuantity:ge,buttonCopy:me,helperText:fe,boldHelperText:be,displayPrice:xe,showRedemptionCodeModal:N,selectedOptionsByTitle:_},actions:{setQuantity:Q,setSelectedOptionsByTitle:B,handleDirectDownloadClick:we,handleAddToCart:ye,setShowRedemptionCodeModal:H}})),[Z,G,V,Y,ee,K,re,de,le,ae,oe,se,ce,he,ge,me,fe,be,xe,Q,we,ye,N,H,_,B])},me=r(97729),fe=r.n(me),be=r(96423),xe=r(92177);const we=d.default.section.withConfig({componentId:"sc-1i9d4nw-0"})(["background-color:",";position:relative;z-index:5;"],(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4})),ye=d.default.div.withConfig({componentId:"sc-1i9d4nw-1"})([""," background:#fff;max-width:1240px;margin:0 auto;transform:translateY(2em);border-radius:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);@media (max-width:1240px){transform:translateY(0);border-radius:0;}","{padding:"," ",";}"],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-column-gap:",";grid-row-gap:",";","{grid-template-columns:3fr 2fr;grid-column-gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[48]}))}),(e=>{let{theme:t}=e;return t.borderRadius}),(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]})),je=d.default.div.withConfig({componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),ve=d.default.div.withConfig({componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;"]),Ce=d.default.div.withConfig({componentId:"sc-1i9d4nw-4"})(["padding-top:",";padding-left:",";overflow:hidden;grid-column:1;","{grid-column:span 2;padding:0;}"],(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.mediaQuery.tablet})),Se=(0,d.default)(be.I).withConfig({componentId:"sc-1i9d4nw-5"})(["display:flex;margin:0;padding:0;border:none;"]),Le=d.default.div.withConfig({componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Pe=(0,d.default)(l.He).withConfig({componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),Ie=d.default.div.withConfig({componentId:"sc-1i9d4nw-8"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:flex;gap:",";align-items:center;flex-wrap:wrap;padding:0 ",";","{padding:0 0 "," 0;}"],t.spacing[8],t.spacing[16],t.mediaQuery.tablet,t.spacing[16])})),De=d.default.div.withConfig({componentId:"sc-1i9d4nw-9"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-auto-rows:min-content;padding:0 "," "," ",";a{text-decoration:none;width:100%;}","{padding:0;}"],t.spacing[16],t.spacing[16],t.spacing[16],t.mediaQuery.tablet)})),Oe=((0,d.default)(xe.I).withConfig({componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,d.default)(xe.I).withConfig({componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),ze=d.default.div.withConfig({componentId:"sc-1i9d4nw-12"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),ke=d.default.div.withConfig({componentId:"sc-1i9d4nw-13"})(["display:block;","{display:none;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Te=d.default.div.withConfig({componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));d.default.span.withConfig({componentId:"sc-1i9d4nw-15"})(["display:none;background-color:",";color:",";font-weight:",";font-size:",";align-items:center;padding:0 ",";border-radius:",";margin-bottom:",";width:fit-content;margin-top:",";","{display:block;}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.font.size.bodyDesktop}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius}),(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}));function Me(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}function Ee(e){for(var t=1;t{const e=[{href:"/store/",label:d("Store")}];if(t.topLevelCategory){const r=t.topLevelCategory.code.toLowerCase().replace(/ /g,"-");e.push({href:`/store/${r}/`,label:t.topLevelCategory.label})}return t.name&&e.push({href:`/store/products/${t.urlKey}/`,label:d(t.name)}),e.map((e=>{let{href:t,label:r}=e;return(0,v.jsx)(B.Z,{href:t,children:(0,v.jsx)("a",{children:r})},t)}))}),[t,d]),b=(0,p.useMemo)((()=>[t.productImage&&Ee({},t.productImage),...t.productGallery??[]].filter((e=>["image","video"].includes(e?.resourceType))).map(((e,r)=>{let{publicId:n,resourceType:i}=e;return"image"===i?(0,v.jsx)(R.K,{assetPath:n,alt:`${t.name} ${r+1}`},n):"video"===i?(0,v.jsx)(X.V,{assetPath:n},n):void 0}))),[t]);return(0,v.jsx)(we,{$bgColor:t.backgroundColor?`#${t.backgroundColor}`:F.rG[m],children:(0,v.jsxs)(ye,{children:[(0,v.jsx)(Ce,{children:(0,v.jsx)($.B,{currentPage:`/store/products/${t.urlKey}/`,children:f})}),(0,v.jsxs)(je,{children:[(0,v.jsxs)("div",{children:[(0,v.jsx)(Pe,{children:(0,v.jsx)(Z.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:fe(),children:b},t.sku)}),(0,v.jsx)(N.S,{size:8}),(0,v.jsx)(ze,{children:(0,v.jsx)(N.S,{size:8})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(Ie,{children:[t.platinumPoints&&(0,v.jsx)(H.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,v.jsx)(H.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,v.jsx)(H.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,v.jsx)(H.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(ze,{children:(0,v.jsx)(l.bs,{rating:t.contentRating,descriptors:t.contentDescriptors,gamesShown:t.gamesShown})})}),(0,v.jsxs)(ze,{children:[(0,v.jsx)(N.S,{size:24}),t.displayChokingHazard?(0,v.jsxs)(ve,{children:[(0,v.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,v.jsx)("br",{})]}),(0,v.jsxs)(i.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,v.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,v.jsx)(l.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,v.jsxs)(De,{children:[(0,v.jsxs)(Te,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsx)(H.L,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,v.jsx)(G.P,{accentColor:F.rG[m],children:"GAMES"===t.topLevelCategory?.code?h:t.topLevelCategory?.label})]}),(0,v.jsx)(N.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:t.name}),g&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.S,{size:16}),(0,v.jsx)(i.T,{variant:"caption",children:d("Releases {0}",{args:[t.releaseDateDisplay?t.releaseDateDisplay:r(t.releaseDate,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]})}),(0,v.jsx)(N.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.S,{size:24}),(0,v.jsxs)(Le,{children:[t.relatedProducts.length>0&&(0,v.jsx)("div",{children:(0,v.jsx)(Se,{href:"#dlc",icon:Q.Z,locale:c,children:d("View DLC")})}),t.demoNsuid&&(0,v.jsx)(l.g,{product:t})]}),(0,v.jsx)(N.S,{size:24})]}),(0,v.jsx)(wr,{product:t,purchaseOptions:u}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.S,{size:20}),(0,v.jsx)(B.Z,{href:t.baseSoftware[0].urlKey,children:(0,v.jsx)("a",{children:(0,v.jsxs)(s.rj,{columns:"1fr 4fr",gap:_.d.spacing[8],alignItems:"center",children:[(0,v.jsx)(s.P4,{column:"span 2",children:(0,v.jsx)(i.T,{variant:"legal",children:d("Required to play:")})}),(0,v.jsx)(Oe,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,v.jsx)(i.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,v.jsxs)(ke,{children:[(0,v.jsx)(N.S,{size:24}),t.displayChokingHazard?(0,v.jsxs)(ve,{children:[(0,v.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,v.jsx)("br",{})]}),(0,v.jsxs)(i.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,v.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,v.jsx)(l.Ho,{data:t.topLegalDisclaimer}):null]})]})]})})},Re=r(26581);const Xe=d.default.div.withConfig({componentId:"sc-jla5jl-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";border-radius:",";display:grid;grid-template-columns:1fr;padding:",";align-items:center;.storyAsset img{display:none;}","{grid-template-columns:1fr 1fr;padding:0 ",";.storyAsset img{display:block;}}"],t.color.lightGray4,(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[32]}))})),$e=d.default.div.withConfig({componentId:"sc-jla5jl-1"})(["p{font-weight:700;a{margin:0 ",";}}"],(e=>{let{theme:t}=e;return t.spacing[8]})),Ze=d.default.p.withConfig({componentId:"sc-jla5jl-2"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h2Mobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.font.size.h2Desktop}));var Ne=e=>{let{product:t}=e;const{text:r}=(0,o.useLocalizer)(),{locale:n}=(0,a.Z)(),i="/switch/online/";return t.nsoFeatures?(0,v.jsx)(l.$0,{constrained:!0,small:!0,children:(0,v.jsxs)(Xe,{children:[(0,v.jsxs)($e,{children:[(0,v.jsx)(Re.Z,{size:200}),(0,v.jsx)(Ze,{children:r("Play online, access classic NES\u2122 and Super NES\u2122 games, and more with a Nintendo Switch Online membership.")}),(0,v.jsxs)("p",{children:[r("This game supports:"),t.nsoFeatures?.map((e=>(0,v.jsxs)("span",{children:["ONLINE_PLAY"==e.code&&(0,v.jsx)(K.L,{href:i,children:r("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,v.jsx)(K.L,{href:i,children:r("Save Data Cloud")},"save-data")]},e.code)))]}),(0,v.jsx)(Y.B,{href:i,buttonWidth:"auto",locale:n,children:r("Learn more")})]}),(0,v.jsx)("div",{className:"storyAsset",children:(0,v.jsx)(xe.I,{assetPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/v1605147657/ncom/en_US/merchandising/curated%20list/Games%20for%20core%20gamers/Pro-Controller-Hands.png",alt:r("Nintendo Switch Pro Controller")})})]})}):(0,v.jsx)(v.Fragment,{})},He=r(34547),Ge=r(11379),Qe=r(79102),_e=r(64588),Be=r(77064),Fe=r(99140),qe=r(95395);const Ue=(0,d.default)(l.$0).withConfig({componentId:"sc-4l5ex7-0"})(["margin-top:",";","{margin-top:",";}"],(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[64]})),Ve=d.default.div.withConfig({componentId:"sc-4l5ex7-1"})(["p,a{","}"],(e=>{let{theme:t}=e;return(0,d.css)(["font-size:",";","{font-size:",";}"],t.font.size.legalMobile,t.mediaQuery.tablet,t.font.size.legalDesktop)})),We=d.default.div.withConfig({componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),Ke=d.default.div.withConfig({componentId:"sc-4l5ex7-3"})(["display:block;justify-content:center;border-radius:",";overflow:hidden;img{max-height:24em;object-fit:contain;}"],(e=>{let{theme:t}=e;return t.borderRadius})),Ye=d.default.div.withConfig({componentId:"sc-4l5ex7-4"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;align-items:start;gap:",";","{grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[28]}),t.mediaQuery.tablet)})),Je=d.default.div.withConfig({componentId:"sc-4l5ex7-5"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";padding:"," ",";","{padding:"," ",";}ul{padding-inline-start:20px;}"],t.color.lightGray4,t.spacing[32],t.spacing[24],t.mediaQuery.tablet,t.spacing[32],t.spacing[48])})),et=d.default.section.withConfig({componentId:"sc-4l5ex7-6"})(["padding:1rem;"]),tt=(0,d.default)(l.$0).withConfig({componentId:"sc-4l5ex7-7"})(["margin-top:",";"],(e=>{let{theme:t}=e;return t.spacing[24]}));function rt(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}function nt(e){for(var t=1;t0,w=(0,o.useRecentlyViewed)(),{trackViewItem:y}=(0,o.useAnalytics)(),{0:j,1:C}=(0,p.useState)(!1),S=r.ageGate||r.contentRating?.requiresAgeGate,L=lt.get(),[P,I]=f.split("-"),D=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,O=r.relatedArticles,T=(0,p.useMemo)((()=>{const e=[];return Fe.wh.has(f)&&(r.upsellProducts?.length&&e.push({heading:h("Related items to explore"),products:r.upsellProducts.slice(0,16).map(M.uF)}),r.crossSellProducts?.length&&e.push({heading:h("More like this"),products:r.crossSellProducts.slice(0,16).map(M.uF)}),u?.length&&e.push({heading:h("Digital best sellers"),products:u.map(M.uF)})),e}),[r.upsellProducts,r.crossSellProducts,u,h,f]),{waitForElementRef:A}=(0,qe.r)(),R=(0,p.useCallback)((()=>{A(!0)}),[A]);return(0,p.useEffect)((()=>{w.addProduct&&!j&&(C(!0),r.edition?w.addProduct(r):w.addProduct(r.configurableProduct||r))}),[w,r,j]),(0,M.nw)((()=>y(r,(0,M.DW)({name:r.name})))),S&&b.loading?(0,v.jsx)(et,{}):(0,v.jsxs)(He.A,{passed:"true"===L&&!b.data?.isChild||!S,failed:(b.data?.isChild||"false"===L)&&S,onSuccess:()=>lt.set("true",it),onFailure:()=>lt.set("false",it),lang:P,country:I,minimumAge:"mx"===I?18:17,children:[(0,v.jsx)(Ae,{product:r}),"BUNDLE"===r.productType&&(0,v.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(N.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:h("Included in this bundle")}),(0,v.jsx)(Ge.R,{contained:!0,children:r.bundleItems?.filter((e=>!!e.options.length)).map((e=>{const t=e.options.find((e=>{let{isDefault:t}=e;return t}))?.product??e.options[0]?.product,r=e.options.length>1?t.variations:[];return(0,p.createElement)(s.I8,nt(nt({},t),{},{isSalableQty:e.options.some((e=>e?.product?.isSalableQty)),variations:r,artPath:t?.productImage?.publicId,platform:t?.platform?.label,platformCode:t?.platform?.code,key:t.sku,showRating:!0}))}))})]}),(0,v.jsxs)(n.H.NewLevel,{children:[c&&(0,v.jsx)(Ue,{constrained:!0,small:!0,marginBottom:0,children:(0,v.jsxs)(Ye,{children:[(0,v.jsxs)("div",{children:[r.headline&&(0,v.jsx)(n.H,{children:r.headline}),(0,v.jsx)(Lr,{maxLines:10,description:r.richTextDescription?.json||r.description,category:r.topLevelCategory}),r.officialSite&&(0,v.jsx)("a",{href:D,target:"_blank",rel:"noopener noreferrer",children:(0,v.jsx)(Y.B,{children:h("Explore this game's official website")})})]}),(r.descriptionImage||r.productImage)&&(0,v.jsx)(Ke,{children:(0,v.jsx)("div",{children:(0,v.jsx)(xe.I,{assetPath:r.descriptionImage?r.descriptionImage.publicId:r.productImage.publicId,alt:r.name})})})]})}),d?.asset?.primary?.assetPath?(0,v.jsx)(tt,{constrained:!0,small:!0,background:d.background?.backgroundType,id:"banner",children:(0,v.jsx)(l.tm,{content:{assetPath:d.asset?.primary?.assetPath,assetPathAlt:d.asset?.alt,cta:d.ctaList[0],description:d.description,heading:d.heading,modifiers:d.modifiers}})}):null,t,r.publisherNotifications&&(0,v.jsx)(l.$0,{constrained:!0,small:!0,marginBottom:0,children:(0,v.jsxs)(Je,{children:[(0,v.jsx)(n.H,{variant:"h3",children:h("Publisher notification(s):")}),(0,v.jsx)(l.Ho,{textVariant:"legal",data:r.publisherNotifications})]})}),O?.length>0&&f===Fe.ZW&&(0,v.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(k.H,{ctaText:h("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:Qe.Z,ctaTarget:"_blank",children:h("Related news and events")}),(0,v.jsx)(N.S,{size:16}),(0,v.jsx)(Ge.R,{contained:!0,children:O.map((e=>{let{id:t,url:r,title:n,media:i,publishDate:l}=e;return(0,v.jsx)(_e.N,{articleLink:r,articleTitle:n,artPath:i?.publicId,publishDate:g(l,{format:m.SHORT}),readMoreLabel:h("Read more"),size:"small"},t)}))})]}),(0,v.jsx)(z,{product:r,locale:f}),r.sizeChart&&(0,v.jsxs)(l.$0,{id:"sizing",constrained:!0,background:_.d.color.lightGray4,small:!0,children:[(0,v.jsx)("h2",{children:h("Size chart")}),(0,v.jsx)($r,{product:r})]}),(0,v.jsx)(Ne,{product:r}),x?(0,v.jsx)(l.$0,{id:"dlc",small:!0,children:(0,v.jsx)(E,{product:r,locale:f})}):null,(0,v.jsx)(l.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,v.jsx)(l.$3,{collections:T})}),(0,v.jsx)(l.HU,{currentSku:r.edition?r.sku:r.configurableProduct?.sku||r.sku,small:!0,onProductsLoaded:R}),(0,v.jsxs)(l.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,v.jsx)(i.T,{variant:"legal",children:h("WARNING: If you have epilepsy or have had seizures or other unusual reactions to flashing lights or patterns, consult a doctor before playing video games. All users should read the Health and Safety Information available in the system settings before using this software.")}),r.disclaimer&&(0,v.jsx)(Ve,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.richTextDisclaimer?.json&&(0,v.jsx)(l.Ho,{textVariant:"legal",data:r.richTextDisclaimer?.json}),r.displayProp65&&(0,v.jsxs)(Ve,{children:[(0,v.jsxs)(We,{children:[(0,v.jsx)(Be.Z,{size:16}),(0,v.jsx)(n.H,{variant:"h3",children:h("Warning:")})," ",h("Cancer and reproductive harm.")]}),(0,v.jsx)(K.L,{href:"https://www.p65warnings.ca.gov/",children:"p65warnings.ca.gov"})]})]})]})]})}var ot=r(77111),st=r(49446),dt=r(33120),ct=r(21203),ut=r(85792),ht=r(25338),pt=r(46488),gt=r(24123),mt=r(32687),ft=r(44835),bt=r(64684),xt=r(94922);const wt=d.default.div.withConfig({componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),yt=d.default.div.withConfig({componentId:"sc-1237z5p-1"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:28px 1fr;align-items:start;gap:",";grid-row-gap:0;border-bottom:1px solid ",";padding:",";svg{grid-row:1 / 3;}&:nth-child(1){border-top:1px solid ",";}","{grid-template-columns:28px 1fr 2fr;align-items:center;svg{grid-row:1;}}"],(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`}),(e=>{let{theme:t}=e;return t.color.lightGray2}),t.mediaQuery.tablet)})),jt=d.default.div.withConfig({componentId:"sc-1237z5p-2"})(["display:flex;align-items:center;flex-wrap:wrap;gap:",";button{padding:0;}","{gap:",";}"],(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]})),vt=(d.default.div.withConfig({componentId:"sc-1237z5p-3"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>e.supported?t.color.secondary:"rgba(60, 64, 89, 0.15)"),(e=>e.supported?"#fff":"#c8c8c8"))}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius})),d.default.div.withConfig({componentId:"sc-1237z5p-4"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em ",";"],(e=>{let{theme:t}=e;return t.spacing[32]})),e=>{let{icon:t,heading:r,descriptions:i}=e;return(0,v.jsxs)(yt,{children:[t,(0,v.jsx)(n.H,{variant:"h3",children:r}),(0,v.jsx)(jt,{children:i.map((e=>(0,v.jsx)("div",{children:e.href?(0,v.jsx)(K.L,{href:e.href,children:e.label}):e.label},e.label)))})]})}),Ct=(e,t,r)=>{let n=[];return t.playersMax&&n.push(St(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&n.push(St(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&n.push(St(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),n},St=(e,t,r,n)=>{const{searchPrefix:i,text:l}=n,a=parseInt(r||t),o=1===a?l("Single Player"):a>3?"4+":`${a}+`;return{href:`${i}#cat=gme&f=playerCount&playerCount=${encodeURIComponent(o)}`,label:e+" ("+(t!=r?t+"-":"")+(r||"")+")"}};var Lt=e=>{let{product:t}=e;const{date:r,DateFormat:i,text:l}=(0,o.useLocalizer)(),a="/search",d=t.genres?.map((e=>({href:`/search/#cat=gme&f=genres&genres=${encodeURIComponent(e.label)}`,label:e.label}))),c=t.playModes?.map((e=>l(e.label))),u=Ct(a,t,l),h=(0,ue.EE)(t),p=t?.topLevelCategory?.code===xt.j.HARDWARE;return(0,v.jsxs)(wt,{children:[(0,v.jsx)(ot.S,{id:"product-info",children:(0,v.jsx)(n.H,{children:l("Product information")})}),(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsxs)(s.rj,{columns:1,gap:0,children:[t.releaseDate&&(0,v.jsx)(vt,{icon:(0,v.jsx)(st.Z,{size:28}),heading:l("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:r(t.releaseDate,{format:i.LONG})}]}),t.playersMax&&(0,v.jsx)(vt,{icon:(0,v.jsx)(dt.Z,{size:28}),heading:l("No. of players"),descriptions:u}),t.genres&&(0,v.jsx)(vt,{icon:(0,v.jsx)(ct.Z,{size:28}),heading:l("Genre"),descriptions:d}),t.softwarePublisher&&(0,v.jsx)(vt,{icon:(0,v.jsx)(ut.Z,{size:28}),heading:l("Publisher"),descriptions:[{href:`/search#cat=gme&f=softwarePublisher&softwarePublisher=${encodeURIComponent(t.softwarePublisher)}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,v.jsx)(vt,{icon:(0,v.jsx)(ht.Z,{size:28}),heading:l("ESRB rating"),descriptions:[{href:`/search#cat=gme&sort=df&f=${xt.z.CONTENT_RATING}&${xt.z.CONTENT_RATING}=${encodeURIComponent((0,M.r5)(t))}`,label:t.contentRating.label}]}),t.playModes&&(0,v.jsx)(vt,{icon:(0,v.jsx)(pt.Z,{size:28}),heading:l("Supported play modes"),descriptions:[{label:c.join(", ")}]}),t.romFileSize&&(0,v.jsx)(vt,{icon:(0,v.jsx)(gt.Z,{size:28}),heading:l("Game file size"),descriptions:[{label:(0,ue.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,v.jsx)(vt,{icon:(0,v.jsx)(mt.Z,{size:28}),heading:l("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(l).join(", ")}]}),t.countryOfOrigin&&(0,v.jsx)(vt,{icon:(0,v.jsx)(mt.Z,{size:28}),heading:l("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,v.jsx)(vt,{icon:(0,v.jsx)(ut.Z,{size:28}),heading:l("Manufacturer"),descriptions:[{href:`/search#cat=${p?"hdw":"merch"}&f=manufacturer&manufacturer=${encodeURIComponent(t.manufacturer)}&p=1&sort=df`,label:t.manufacturer}]}),t.sku&&!h&&(0,v.jsx)(vt,{icon:(0,v.jsx)(ft.Z,{size:28}),heading:l("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,v.jsx)(vt,{icon:(0,v.jsx)(bt.Z,{size:28}),heading:l("UPC"),descriptions:[{label:t.upc}]})]})})]})},Pt=r(25237),It=r.n(Pt),Dt=r(81256),Ot=r(80149),zt=r(97793),kt=r(7162),Tt=r(7141),Mt=r(1205),Et=r(28145),At=r(74039),Rt=r(83533),Xt=r(12547),$t=r(59379);const Zt="64px",Nt="110px",Ht="14px",Gt="20px",Qt=d.default.div.withConfig({componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),_t=d.default.div.withConfig({componentId:"sc-66y51m-1"})(["display:flex;width:100%;height:",";align-items:flex-start;justify-content:space-between;padding-top:1rem;transition:height 150ms ease-in-out;","{align-items:center;width:",";max-width:",";height:",";padding-top:0;}"],(e=>{let{$hasError:t}=e;return t?`${10+parseInt(Nt)}px`:Nt}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),$t.As,$t.oQ,(e=>{let{$hasError:t}=e;return t?`${10+parseInt(Zt)}px`:Zt})),Bt=d.default.div.withConfig({componentId:"sc-66y51m-2"})(["display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 1rem;","{width:initial;justify-content:flex-end;padding:0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Ft=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),qt=d.default.div.withConfig({componentId:"sc-66y51m-4"})(["display:flex;flex-direction:column;row-gap:",";width:50%;","{align-items:center;flex-direction:row;width:initial;row-gap:unset;}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Ut=d.default.div.withConfig({componentId:"sc-66y51m-5"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-right:1rem;position:relative;"]),Vt=d.default.div.withConfig({componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{$visible:t}=e;return t?"visible":"hidden"})),Wt=(0,d.default)(W.S).withConfig({componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),Kt=d.default.span.withConfig({componentId:"sc-66y51m-8"})(["font-size:",";font-weight:",";","{margin-right:",";white-space:nowrap;}"],(e=>{let{theme:t}=e;return t.font.size.legalDesktop}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{$smallMargin:t}=e;return t?"0.5rem":"1rem"})),Yt=(0,d.default)(Y.B).withConfig({componentId:"sc-66y51m-9"})(["width:100%;min-width:",";","{min-width:",";}"],(e=>{let{theme:t}=e;return t.pxToRem(180)}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.pxToRem(225)})),Jt=(0,d.default)(s.rj).withConfig({componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],Ht,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Gt),er=(0,d.default)(Ot.Z).withConfig({componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],Ht,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Gt),tr=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-12"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.titleMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.font.size.h3Desktop})),rr=(0,d.default)(i.T).withConfig({componentId:"sc-66y51m-13"})(["color:",";font-weight:",";text-align:center;margin-top:0.25rem;"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.font.weight.bold}));var nr=r(4095);var ir=e=>{let{onChange:t,isBundle:r,product:n,title:i,value:l}=e;const{topLevelCategory:a,variations:o,nsuid:s}=n;if("GAMES"===a?.code){if("MOBILE"==s)return(0,v.jsx)(nr.uP,{product:n});if(o?.length>3)return(0,v.jsx)(nr.Z5,{product:n});if(o?.length>0)return(0,v.jsx)(nr.Kx,{onChange:t,isBundle:r,product:n,title:i,value:l})}return o?.length>0?(0,v.jsx)(nr.ig,{isBundle:r,onChange:t,product:n,title:i,value:l}):null},lr=r(93135),ar=r(52317);function or(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 sr=(e,t)=>{const r=[Fe.xJ,Fe.oV,Fe._1,Fe.bA],n={[Fe.xJ]:{4:"HNA"},[Fe.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[Fe._1]:{3:"ART"},[Fe.bA]:{2:"FNT",3:"BRT",4:"AMT",5:"ACT"}};return r.includes(t)?e.replace(/(?:UTC|GMT).(\d)/,((e,r)=>n[t][r]||e)):e},dr=(e,t,r,n)=>{const i=new Date,l=new Date(e),a=t===Fe.xJ,o=l.getTime()-i.getTime();if(o<0)return null;if(!(o/6e4/60>24))return r("Sale ends: {0}",{args:[(0,v.jsx)(ar.C,{onTimeEnd:n,endDate:e,abbreviate:!1},"timer")]});{const e=a?"es-MX":t===Fe.bu?"en-US":(0,lr.ZP)(t);try{const n=Intl.DateTimeFormat().resolvedOptions().timeZone,i=l.toLocaleDateString(e,function(e){for(var t=1;t`${t.toLowerCase()}.m.`)),t)]})}catch{return null}}},cr="The requested quantity is not available",ur={DEFAULT:"Something went wrong. Please try again.",QTY_NOT_AVAILABLE:cr,QTY_NOT_AVAILABLE_FR:cr,INSUFFICIENT_STOCK:cr,QTY_EXCEEDS_MAXIMUM:cr,PURCHASE_LIMIT_REACHED:cr,PRODUCT_UNAVAILABLE:cr};function hr(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}function pr(e){for(var t=1;tr.e(7363).then(r.bind(r,87363))),{ssr:!1,loadableGenerated:{webpack:()=>[87363]}}),mr=(0,At.Z)(Dt.W),fr="add-to-cart-drawer",br="added-to-cart-drawer",xr=[fr];function wr(e){let{product:t,purchaseOptions:r}=e;const{actions:{openDrawer:c,closeDrawer:u,addOrUpdateDrawer:h,removeDrawer:g}}=(0,Et.eV)(),m=(0,p.useRef)(),f="BUNDLE"===t.productType,b=t.bundleItems?.filter((e=>e.options?.length>1)),x=(0,p.useContext)(d.ThemeContext),{locale:w}=(0,a.Z)(),y=w?.split("-")[0]??"en",{text:j}=(0,o.useLocalizer)(),C=(0,Rt.Z)(Rt.o.DESKTOP),{0:S,1:L}=(0,p.useState)(0),{0:P,1:I}=(0,p.useState)(),{state:{addableQty:D,quantity:O,isLoading:z,isMobileGame:k,isDigitalProduct:T,isPurchasable:E,retailerSku:A,buttonDisabled:R,promptLogin:X,disableQuantity:$,buttonCopy:Z,helperText:H,boldHelperText:G,displayPrice:Q,showRedemptionCodeModal:B,selectedOptionsByTitle:F},actions:{handleDirectDownloadClick:q,handleAddToCart:U,setQuantity:V,setShowRedemptionCodeModal:K,setSelectedOptionsByTitle:ie}}=r,{platinumPoints:ue,eshopDetails:he}=t,pe=(0,p.useMemo)((()=>({id:br,drawer:{height:"325px",target:Et.zO.FLYOUT,bgColor:x.color.lightGray3,enableScrim:!0,content:(0,v.jsx)(l.ZL,{product:t,quantity:S,onClose:()=>u(br)})}})),[t,S,x,u]),ge=(0,p.useCallback)((async()=>{L(O),I();const{data:e,errors:r}=await U()||{},n=e?.cart?.items.some((e=>{let{product:r}=e;return r.sku===t.sku})),i=r?.length>0;if(n&&!i)c(br);else if(i){const e=r?.[0]?.extensions?.code;I(ur[e]||ur.DEFAULT)}}),[t,O,U,c]),me=(0,p.useMemo)((()=>({viewPortTopOffset:C?Et.nI.DESKTOP:0})),[C]),fe=(0,p.useMemo)((()=>({[fr]:{ref:m}})),[]),be=P?`${10+parseInt(Zt)}px`:Zt,xe=P?`${10+parseInt(Nt)}px`:Nt,we=(0,p.useMemo)((()=>({[fr]:{drawer:{height:C?be:xe,target:Et.zO.TOP_DRAWER,bgColor:_.d.color.lightGray3,content:(0,v.jsx)(Zr,{product:t,errorMessage:P,purchaseOptions:pr(pr({},r),{},{actions:pr(pr({},r.actions),{},{handleAddToCart:ge})})})}}})),[t,C,r,P,ge,be,xe]);(0,Xt.Z)(xr,fe,we,me),(0,p.useEffect)((()=>{h(pe.id,pe.drawer)}),[pe,h]),(0,p.useEffect)((()=>{V(1)}),[V,D]),(0,p.useEffect)((()=>{I()}),[t?.sku,O]),(0,p.useEffect)((()=>()=>{g(br)}),[g]);const ye=(0,p.useMemo)((()=>he?.discountPriceEnd?dr(he?.discountPriceEnd,w,j,(()=>{window.location.reload()})):null),[he,w,j]);return(0,v.jsxs)(v.Fragment,{children:[!f&&(0,v.jsx)(ir,{product:t}),(0,v.jsx)(N.S,{size:24}),ye&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(se,{backgroundColor:x.color.primary,foregroundColor:"#fff",children:ye}),(0,v.jsx)(N.S,{size:8})]}),!k&&(0,v.jsxs)(ee,{children:[(0,M.vS)(w)&&!T?null:z?(0,v.jsx)(te,{width:"50%"}):ue?(0,v.jsxs)(s.rj,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(Ot.Z,{size:24}),(0,v.jsxs)(n.H,{variant:"h2",children:[ue," ",j("Platinum Points")]})]}):(0,v.jsx)(zt.P,{regPrice:Q.regPrice,size:"large",salePrice:Q.salePrice,lang:y}),(0,At.Y)(t)&&(0,v.jsx)(mr,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),f&&(0,v.jsx)(ce,{children:b.map((e=>{const{options:t,title:r}=e,n=t.find((e=>{let{isDefault:t}=e;return t}))||t[0],i=n?.product?.configurableOptions?.[0]?.attributeCode?.toLowerCase();return(0,v.jsx)(ir,{onChange:e=>{t.find((t=>{let{id:r}=t;return r===e})).product?.isSalableQty&&ie((t=>pr(pr({},t),{},{[r]:e})))},value:F[r],title:j(`Select ${i} for {0}`,{args:[r]}),isBundle:!0,product:pr(pr({},n.product),{},{variations:t.map((e=>{const{label:t,value:r}=e.product.variations.find((t=>t.product.sku==e.product.sku));return pr(pr({},e),{},{label:t,value:r,product:pr(pr({},e.product),{},{url:""})})}))})},e.id)}))}),he?.goldPoints?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.S,{size:24}),z?(0,v.jsx)(W.S,{width:"25%"}):(0,v.jsxs)(re,{children:[(0,v.jsx)("div",{children:(0,v.jsx)(kt.Z,{size:24})}),(0,v.jsx)(i.T,{variant:"legal",children:j("Eligible for up to {0} Gold Points",{args:[(0,v.jsx)(ne,{children:he?.goldPoints},"goldPoints")]})})]})]}):null,(0,v.jsx)(N.S,{size:24}),(0,v.jsx)(s.rj,{columns:"1fr 3fr",alignItems:"center",children:T?(0,v.jsx)(s.P4,{column:"span 2",children:(E||"MarketingProduct"===t.__typename)&&(0,v.jsx)(Y.B,{onClick:q,icon:R||X?"":Tt.Z,isLoading:z,buttonWidth:"full",disabled:R,size:"large",href:R||X?null:he?.purchaseUrl,children:"string"===typeof Z?j(Z):Z})}):(0,M.vS)(w)?null:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(J,{quantity:O,max:$?1:D,min:1,onChange:V,disabled:R}),(0,v.jsx)(oe,{onClick:ge,isLoading:z,disabled:R,icon:R||X?"":Mt.Z,buttonWidth:"full",size:"large",children:"string"===typeof Z?j(Z):Z})]})}),(0,v.jsx)("span",{ref:m,"data-drawer-id":fr}),H&&(T||!(0,M.vS)(w))&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(N.S,{size:20}),P&&(0,v.jsx)(ae,{variant:"caption",children:j(P)}),t.voucherNsuid&&(0,v.jsx)(l.lE,{nsuid:t.nsuid}),(0,v.jsx)(le,{variant:"legal",children:(0,v.jsx)(de,{"data-testid":"helperText",$boldHelperText:G,children:"string"===typeof H?j(H):H})})]}),A&&!t.requiresSubscription?(0,v.jsxs)(v.Fragment,{children:[(!(0,M.vS)(w)||T)&&(0,v.jsx)(N.S,{size:24}),(0,v.jsx)(l.Qc,{sku:A,name:t.name,type:(0,M.vS)(w)&&!T?"button":"link"})]}):null,t.requiresCoupon&&(0,v.jsx)(gr,{onApplyCode:async e=>{const{data:t,errors:r}=await U(e);if(!t?.cart?.id)throw new Error(r?.[0]?.extensions?.errors?.[0]?.message);setTimeout((()=>{c(br)}),200)},onClose:()=>K(!1),visible:B})]})}var yr=r(59124),jr=r(1505);const vr=d.default.div.withConfig({componentId:"sc-120wz1l-0"})(["display:flex;align-items:flex-start;flex-direction:column;margin-bottom:",";img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[16]})),Cr=(0,d.default)(be.I).withConfig({componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Sr=d.default.div.withConfig({componentId:"sc-120wz1l-2"})(["> div:first-child{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-display:-webkit-box;&.clamp{-webkit-line-clamp:",";-webkit-box-orient:vertical;}> p{margin-bottom:0;}margin-bottom:",";}"],(e=>{let{$isExpanded:t,$maxLines:r}=e;return t?9999:r}),(e=>{let{theme:t}=e;return t.spacing[8]}));var Lr=function(e){let{maxLines:t,description:r,category:n}=e;const{text:a}=(0,o.useLocalizer)(),{0:s,1:d}=(0,p.useState)(0),{0:c,1:u}=(0,p.useState)(!1),{0:h,1:g}=(0,p.useState)(!1),m="GAMES"===n?.code,f=(0,p.useRef)(null),b=(0,p.useRef)(null),x=(0,p.useRef)(null);(0,p.useEffect)((()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)})),[]),(0,p.useEffect)((()=>{g(!1)}),[r]);const w=()=>{clearTimeout(x.current),x.current=setTimeout((()=>{u(b?.current?.scrollHeight>b?.current?.clientHeight)}),0)};return(0,p.useEffect)((()=>{b.current?.classList.add("clamp")}),[t]),(0,v.jsxs)(vr,{ref:f,children:[(0,v.jsx)(Sr,{$isExpanded:h,$maxLines:t,children:(0,v.jsx)(l.Ho,{ref:b,data:r})}),c&&(0,v.jsx)(Cr,{icon:h?yr.Z:jr.Z,onClick:()=>{g((e=>(e?window.scrollTo(0,s):d(window.scrollY),!e)))},children:a(h?"Read less":"Read more")}),m&&(0,v.jsx)(i.T,{variant:"legal",children:a("Software description provided by the publisher.")})]})},Pr=r(93122),Ir=r(50135);const Dr=d.default.div.withConfig({componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),Or=e=>{let{theme:t,isActive:r,swatch:n,disabled:i}=e;return(0,d.css)(["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&&!n?t.color.lightGray2:n?"url("+n+")":r?t.color.primary:t.color.white,t.spacing[4],r?t.color.primary:i?t.color.lightGray2:t.color.white,i?t.color.darkGray2:r?t.color.white:t.color.darkGray2,t.mediaQuery.tablet,i?t.color.darkGray3:r?t.color.white:t.color.darkGray2,(e=>{let{theme:t}=e;return t.movement.duration+" "+t.movement.easing}),i&&n?"60%":"initial",i?"grayscale(60%)":"",t.spacing[4],t.color.primary,r&&!i?t.color.white:t.color.darkGray2)},zr=d.default.div.withConfig({componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],Ir.nd,Or),kr=(0,d.default)(Pr.Z).withConfig({componentId:"sc-1hh5k55-2"})(["",""],Or);const Tr=new Set(["color"]);var Mr=e=>{let{onChange:t,product:r,value:n}=e;const{query:i}=(0,a.Z)(),l=r.configurableOptions?.[0]?.attributeCode;return(0,v.jsx)(Dr,{children:r.variations.map((e=>{const r=Tr.has(l)&&function(e){return e?new URL(`/media/attribute/swatch/swatch_image/30x20${e}`,"https://store.nintendo.com/").toString():null}(e.value),a=e.product.url?e.product.urlKey===i.slug:e.id===n;return e.product.url?(0,v.jsx)(kr,{href:e.product.url,isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:r?"":e.label},e.product.name):(0,v.jsx)(zr,{onClick:()=>t(e.id),isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:(0,v.jsx)(Ir.Dx,{type:"portrait",children:r?"":e.label})},e.product.name)}))})};const Er=(0,d.default)(l.He).withConfig({componentId:"sc-raxccj-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-row-gap:",";grid-column-gap:",";align-items:center;box-shadow:0 2px 16px 0 rgba(72,72,72,0.15);border-radius:4px;padding:3em;margin-bottom:",";background:#fff;","{grid-template-columns:1fr 1fr;}"],t.spacing[24],t.spacing[48],(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet)})),Ar=d.default.table.withConfig({componentId:"sc-raxccj-1"})(["text-align:left;border-collapse:collapse;tr:nth-child(2n + 3){background:",";}th,td{padding:",";border:none;}"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`})),Rr=d.default.div.withConfig({componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),Xr=(d.default.div.withConfig({componentId:"sc-raxccj-3"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em 2em;"]),{868:{label:"tshirt",type:"shirt",sizes:[{label:"XS",width:"17.5",length:"27"},{label:"Small",width:"19",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"},{label:"4XL",width:"30",length:"34"}]},23198:{label:"FifthSunHoodie",type:"shirt",sizes:[{label:"Small",width:"20.5",length:"26.5"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23.5",length:"29.5"},{label:"X-Large",width:"25",length:"31"},{label:"XX-Large",width:"26.5",length:"32.5"}]},23201:{label:"FifthSunMen",type:"shirt",sizes:[{label:"Small",width:"18",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"}]},23204:{label:"Fifth Sun - Women",type:"shirt",sizes:[{label:"Small",width:"16.5",length:"25"},{label:"Medium",width:"17.5",length:"26"},{label:"Large",width:"19",length:"27"},{label:"X-Large",width:"20.5",length:"28"},{label:"XX-Large",width:"22",length:"28.5"}]},23219:{label:"SportiqeBomberJacket",type:"shirt",sizes:[{label:"X-Small",width:"42",length:"25 1/2"},{label:"Small",width:"44",length:"26 1/4"},{label:"Medium",width:"46",length:"27"},{label:"Large",width:"48",length:"27 3/4"},{label:"X-Large",width:"50",length:"28 1/2"},{label:"XX-Large",width:"52",length:"29 1/4"},{label:"XXX-Large",width:"54",length:"30"}]},23207:{label:"SportiqeDavis",type:"shirt",sizes:[{label:"Small",width:"19",length:"28"},{label:"Medium",width:"21",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"},{label:"XXX-Large",width:"28",length:"33"},{label:"XXXX-Large",width:"30",length:"34"}]},23216:{label:"SportiqeDavisWomen",type:"shirt",sizes:[{label:"X-Small",width:"30 1/2",length:"25 3/4"},{label:"Small",width:"32 1/2",length:"26 3/8"},{label:"Medium",width:"34 1/2",length:"27"},{label:"Large",width:"36 1/2",length:"27 5/8"},{label:"X-Large",width:"39 1/2",length:"28 1/4"},{label:"XX-Large",width:"42 1/2",length:"28 7/8"}]},23213:{label:"SportiqeHeywood",type:"shirt",sizes:[{label:"Small",width:"39",length:"26"},{label:"Medium",width:"41",length:"27"},{label:"Large",width:"43",length:"28"},{label:"X-Large",width:"45",length:"29"},{label:"XX-Large",width:"47",length:"30"},{label:"XXX-Large",width:"49",length:"33"}]},23210:{label:"SportiqeOlsen",type:"shirt",sizes:[{label:"Small",width:"21",length:"27"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23",length:"29"},{label:"X-Large",width:"24",length:"30"},{label:"XX-Large",width:"25",length:"31"},{label:"XXX-Large",width:"26",length:"32"}]},26449:{label:"SportiqeBlake",type:"shirt",sizes:[{label:"XS",width:"39",length:"26.5"},{label:"S",width:"41",length:"27.5"},{label:"M",width:"43",length:"28.5"},{label:"L",width:"45",length:"29.5"},{label:"XL",width:"47",length:"30.5"},{label:"2XL",width:"49",length:"31.5"},{label:"3XL",width:"50",length:"32.5"}]},26467:{label:"SportiqeJo",type:"pants",sizes:[{label:"S",width:"26",length:"28"},{label:"M",width:"28",length:"28.5"},{label:"L",width:"30",length:"29"},{label:"XL",width:"32",length:"29.5"},{label:"2XL",width:"34",length:"30"}]},23192:{label:"BioworldMen",type:"shirt",sizes:[{label:"S",width:"18",length:"28"},{label:"M",width:"20",length:"29"},{label:"L",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"}]},26470:{label:"SportiqeBoon",type:"pants",sizes:[{label:"S",width:"29.5",length:"30.25"},{label:"M",width:"31",length:"30.75"},{label:"L",width:"32.5",length:"31.25"},{label:"XL",width:"34",length:"31.75"},{label:"2XL",width:"35.5",length:"32.25"}]},26452:{label:"SportiqeAva",type:"shirt",sizes:[{label:"S",width:"38",length:"22"},{label:"M",width:"40",length:"23"},{label:"L",width:"42",length:"24"},{label:"XL",width:"44",length:"25"},{label:"2XL",width:"46",length:"26"}]},26511:{label:"BioworldYouth",type:"shirt",sizes:[{label:"XS",width:"16",length:"21"},{label:"S",width:"17",length:"22.5"},{label:"M",width:"18",length:"24"},{label:"L",width:"19",length:"25"},{label:"XL",width:"20",length:"26.5"}]},23305:{label:"SportiqeDalyWomen",type:"pants",sizes:[{label:"XS",width:"28",length:"27 2/5"},{label:"S",width:"30",length:"28"},{label:"M",width:"32",length:"28 3/5"},{label:"L",width:"34",length:"29 1/4"},{label:"XL",width:"36",length:"29 4/5"}]},26479:{label:"MJCOpenLegPantMen",type:"pants",sizes:[{label:"S",width:"26-28",length:"30"},{label:"M",width:"28-30",length:"31"},{label:"L",width:"30-32",length:"31.5"},{label:"XL",width:"32-34",length:"32"},{label:"2XL",width:"34-36",length:"32.5"}]},26482:{label:"MJCJoggersMen",type:"pants",sizes:[{label:"S",width:"30-31",length:"31.25"},{label:"M",width:"32-33",length:"31.25"},{label:"L",width:"34-35",length:"31.25"},{label:"XL",width:"36-37",length:"31.25"},{label:"2XL",width:"38-39",length:"31.25"}]},26489:{label:"SportiqeMenComfy",type:"shirt",sizes:[{label:"S",width:"21",length:"27"},{label:"M",width:"22",length:"28"},{label:"L",width:"23",length:"29"},{label:"XL",width:"24",length:"30"},{label:"2XL",width:"25",length:"31"},{label:"3XL",width:"26",length:"32"}]},26492:{label:"SportiqeWomenComfy",type:"shirt",sizes:[{label:"S",width:"32",length:"25.5"},{label:"M",width:"34",length:"26"},{label:"L",width:"36",length:"26.5"},{label:"XL",width:"39",length:"27"},{label:"2XL",width:"42",length:"27.5"}]}});var $r=e=>{let{product:t}=e;const r=Xr[t.sizeChart.code],{text:n}=(0,o.useLocalizer)();return(0,v.jsxs)(Er,{children:[(0,v.jsx)(Rr,{children:(0,v.jsx)(xe.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,v.jsx)(Ar,{children:r?(0,v.jsxs)("tbody",{children:[(0,v.jsxs)("tr",{children:[(0,v.jsx)("th",{children:n("Size")}),(0,v.jsx)("th",{children:n("pants"===r?.type?"Waist":"Width")}),(0,v.jsx)("th",{children:n("pants"===r?.type?"Inseam":"Length")})]}),r.sizes.map((e=>(0,v.jsxs)("tr",{children:[(0,v.jsx)("td",{children:n(e.label)}),(0,v.jsxs)("td",{children:[e.width,'"']}),(0,v.jsxs)("td",{children:[e.length,'"']})]},e.label)))]}):(0,v.jsxs)("p",{children:[(0,v.jsx)(Be.Z,{size:16})," Size chart unavailable."]})})]})};var Zr=e=>{const{product:t,purchaseOptions:r,errorMessage:n}=e,{text:i}=(0,o.useLocalizer)(),{query:s,locale:d}=(0,a.Z)(),c=d?.split("-")[0]??"en",{name:u,eshopDetails:h,topLevelCategory:g,platinumPoints:m}=t,{state:{isLoading:f,isDigitalProduct:b,isPurchasable:x,isMobileGame:w,buttonDisabled:y,promptLogin:j,buttonCopy:C,displayPrice:S,retailerSku:L},actions:{handleDirectDownloadClick:P,handleAddToCart:I}}=r,D=t.variations?.length&&!t.configurableProduct,O=(0,p.useMemo)((()=>t.variations?.find((e=>e?.product?.urlKey===s.slug))),[t,s]),z=O?.product.size?i("Size"):null,k=O?.label,T=z?`${z}: ${k}`:k;let E=null;"GAMES"===g?.code?E=i(b?"Digital":"Physical"):D&&!O?E=i("Starting at"):T&&(E=T);const A=(0,p.useMemo)((()=>D?()=>{window.scrollTo({top:0,behavior:"smooth"})}:I),[D,I]);return(0,v.jsx)(Qt,{children:(0,v.jsxs)(_t,{$hasError:!!n,children:[(0,v.jsx)(Ft,{forwardedAs:"p",variant:"h3",children:u}),(0,v.jsxs)(Bt,{children:[(0,v.jsxs)(qt,{children:[E&&(0,v.jsx)(Kt,{$smallMargin:!O,children:E}),!w&&(Boolean(S.regPrice)||Boolean(m))&&(0,v.jsxs)(Ut,{children:[f&&(0,v.jsx)(Wt,{width:"100%"}),(0,v.jsx)(Vt,{$visible:!f,children:m?(0,v.jsxs)(Jt,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(er,{}),(0,v.jsxs)(tr,{variant:"h2",children:[m," ",i("Platinum Points")]})]}):!(0,M.vS)(d)||b?(0,v.jsx)(zt.P,{regPrice:S.regPrice,horizontal:!0,size:"medium",salePrice:S.salePrice,lang:c}):null})]})]}),(0,v.jsxs)("div",{children:[b?x&&(0,v.jsx)(Yt,{onClick:P,icon:y||j?"":Tt.Z,isLoading:f,buttonWidth:"full",disabled:y,round:!0,size:"small",href:y?null:h?.purchaseUrl,children:"string"===typeof C?i(C):C}):(0,M.vS)(d)?(0,v.jsx)(l.Qc,{sku:L,name:t.name,type:"button-round"}):(0,v.jsx)(Yt,{onClick:A,isLoading:f,disabled:y,icon:y||j?"":Mt.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof C?i(C):C}),n&&(0,v.jsx)(rr,{variant:"legal",children:n})]})]})]})})}},12547:function(e,t,r){var n=r(2784),i=r(28145);t.Z=(e,t,r,l)=>{const{actions:{openDrawer:a,closeDrawer:o,addOrUpdateDrawer:s,removeDrawer:d}}=(0,i.eV)(),{viewPortTopOffset:c=0,disableDrawers:u}=l||{},h=(0,n.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,n=r?.top{u||e.forEach((e=>{s(e,r[e].drawer)}))}),[s,e,r,u]),(0,n.useEffect)((()=>{if(!u)return()=>{e.forEach((e=>{d(e)}))}}),[d,e,u]),(0,n.useLayoutEffect)((()=>{if(u)return;const r=new IntersectionObserver(h,{rootMargin:`-${c}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&r.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&r.unobserve(t[e].ref.current)}))}}),[h,e,t,u,c])}}}]); //# sourceMappingURL=754-045d02194a9c08fe.js.map