"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6275],{45815:function(e,t,r){r.d(t,{uP:function(){return L},Kx:function(){return x},Z5:function(){return w},ig:function(){return S}});var n=r(2784),i=r(68215),l=r(34693),a=r(63046),o=r(20669),s=r(7307),d=r(82146),c=r(96167),u=r(18222);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.rU,{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;var w=function(e){let{product:t}=e;const r=(0,i.tv)(),{text:a}=(0,l.useLocalizer)(),o=(0,n.useMemo)((()=>t.variations.map((e=>({label:e.product.nsuid?a("Digital"):a("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,a]),s=(0,n.useMemo)((()=>o.find((e=>{let{urlKey:t}=e;return r.query.slug===t}))||o[0]),[o,r]);return(0,m.jsx)(p,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:a("Select a product"),onChange:e=>{r.push(e.urlKey)},options:o,value:s,showErrors:!1})},y=r(56155),j=r(63008),v=r(96447),C=r(51580);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)(y.G,{columns:2,alignItems:"end",children:[(0,m.jsx)(g,{variant:"legal",children:r?i:s("Select a product")}),n?.sizeChart&&(0,m.jsxs)(j.G,{justifySelf:"end",children:[(0,m.jsx)(v.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})]})},P=r(6836);var L=function(e){let{product:t}=e;const{text:r}=(0,l.useLocalizer)(),{locale:n}=(0,i.tv)(),a=n?.split("-")[0]??"en";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.S,{size:24}),(0,m.jsxs)(y.G,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,m.jsx)("a",{href:t.appStoreUrl,children:(0,m.jsx)(P.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${a}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,m.jsx)("a",{href:t.googlePlayUrl,children:(0,m.jsx)(P.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${a}`,alt:r("Get it on Google Play")})})]})]})}},51580:function(e,t,r){r.d(t,{CL:function(){return z},jJ:function(){return E},VM:function(){return Ae},NR:function(){return He},jl:function(){return O},dn:function(){return at},ww:function(){return Lt},Ym:function(){return yr},yL:function(){return Lr},um:function(){return Er},mW:function(){return Gr},Lx:function(){return Hr}});var n=r(77216),i=r(56155),l=r(63046),a=r(86409),o=r(68215),s=r(34693),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)(a.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",P="HANDHELD",L={[C]:g.Z,[S]:m.Z,[P]:f.Z},D={[C]:b.Z,[S]:x.Z,[P]:w.Z},I=e=>{const{mode:t,iconSize:r,supported:n,title:i}=e,l=n?L[t]:D[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})]})};I.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var O=I;var z=e=>{let{product:t}=e;const{locale:r}=(0,o.tv)(),{text:d}=(0,s.useLocalizer)(),p=t.playModes?.map((e=>e.code));return(0,v.jsxs)(a.$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)(i.G,{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:P})]}),!p?.includes("HANDHELD_MODE")&&(0,v.jsx)(l.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(17163);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(11413);var E=e=>{let{product:t,locale:r}=e;const{text:i}=(0,s.useLocalizer)(),l=(0,p.useMemo)((()=>t.relatedProducts.slice(0,4).map(M.Z)),[t.relatedProducts]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(a.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)(a.He,{small:!0,children:(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsx)(a.nZ,{analytics:{title:"Downloadable content (DLC)"},products:l,cta:{fields:{title:i("See all"),url:t.relatedProducts.length>4?t.urlKey+"/dlc/":""}}})})})})]})},A=r(95235),R=r(34671),X=r(65237),$=r(67512),G=r(30458),H=r(20669),N=r(43686),Z=r(97239),Q=r(88588),_=r(29354),U=r(63008),B=r(87136),F=r(56675),q=r(58762),W=r(18222),V=r(84433),K=r(96447),Y=r(88162);const J=(0,d.default)(W.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)(V.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)(l.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)(N.S).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(90929);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,o.tv)(),r=(0,F.x)(),n=(0,s.useMaintenance)(),i=(0,s.useAccounts)(),l=(0,s.useCart)(),{trackAddToCart:a}=(0,s.useAnalytics)(),d=(0,s.useCustomer)(),{text:c,price:u,date:h}=(0,s.useLocalizer)(),{__typename:g,availability:m,bundleItems:f,nsuid:b,requiresSubscription:x,sku:w,requiresCoupon:y,requiresLogin:j,platinumPoints:C,eshopDetails:S,prePurchase:P,prices:L,loadingPricing:D,productType:I,isSalableQty:O,releaseDate:z,releaseDateDisplay:k,soldOutPermanent:T,isPreorderable:M,variations:E,voucherNsuid:A,startShippingDate:R,shipDateDisplay:X}=e,$=D||l?.loading||l?.updating||n?.loading,{0:G,1:H}=(0,p.useState)(!1),{0:N,1:Z}=(0,p.useState)(1),{0:Q,1:_}=(0,p.useState)({}),U=(0,q.u)(),B="MOBILE"===b,W="BUNDLE"===I,V="CONFIGURABLE"===I,K=(0,ue.EE)(e),Y=f?.every((e=>{let{required:t,title:r}=e;return t&&!!Q[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})}),{});_(e)}}),[W,f]);const J=(m?.includes(c("Pre-order"))||m?.includes(c("Available now"))||O||P)&&!B,{consentedGroups:ee}=(0,s.useCookies)(),te=(0,p.useMemo)((()=>{const e=ee?.has(s.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}),[ee,b,w,E]),re=d?.data?.membershipStatus.active,ne=l?.addableQty(e),le=N>=ne,ae=!O&&!B,oe=(x||C||j)&&!i.isLoggedIn,se=x&&!re,{buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ge,helperText:me,boldHelperText:fe}=(0,p.useMemo)((()=>{if(B)return{};let e="",r="",i=!1,l=!1,a=K,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]})),K)n?.eshop?.active?(i=!0,r=c("Direct downloads are not possible during maintenance"),o=!0,e="Direct download"):"MarketingProduct"===g?(o=!0,e=c("Releases {0}",{args:[k||z&&new Date(z).getFullYear()]})):oe?(e="Sign in to download",l=!0):se?(o=!0,e="Direct download"):S?.isPreordered?(o=!0,e="Already pre-ordered"):S?.isPurchased?(o=!0,e="Already downloaded"):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.")):S?.isPurchasable?0==L?.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."):(o=!0,k?e=c("Releases {0}",{args:[k]}):Date.now()({regPrice:Boolean(k)&&!P?null:u(L?.minimum?.regularPrice,{formatZero:!0}),salePrice:L?.minimum?.discounted?u(L?.minimum?.finalPrice):""})),[k,P,L,u]),xe=(0,p.useCallback)((()=>{if(ce)i.promptLogin();else{r.cache.evict({id:r.cache.identify(e),fieldName:"eshopDetails",args:{personalized:!0},broadcast:!1});const n="string"===typeof ge?ge:"CTA";a(e),U.trackEvent({eventName:`PDP: ${n} Clicked`,objectId:w,isConversion:!0},t)}}),[ce,ge,t,w,U,a,i,r.cache,e]),we=(0,p.useCallback)((r=>{if(ce)i.promptLogin();else{if(!e.requiresCoupon||r)return a(e),U.addToCart(w,{eventName:"PDP: Add to Cart Clicked",locale:t}),l.addProduct(e,{couponCode:r?.trim(),selectedOptions:Object.values(Q),quantity:N});H(!0)}}),[w,ce,U,i,l,e,N,t,a,Q]);return(0,p.useMemo)((()=>({state:{isLoading:$,quantity:N,isMobileGame:B,isDigitalProduct:K,isPurchasable:J,isConfigurableProduct:V,retailerSku:te,membershipRequired:se,addableQty:ne,itemLimitReached:le,soldOut:ae,loginToPurchase:oe,buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ge,helperText:me,boldHelperText:fe,displayPrice:be,showRedemptionCodeModal:G,selectedOptionsByTitle:Q},actions:{setQuantity:Z,setSelectedOptionsByTitle:_,handleDirectDownloadClick:xe,handleAddToCart:we,setShowRedemptionCodeModal:H}})),[$,N,B,K,J,V,te,se,ne,le,ae,oe,de,ce,he,ge,me,fe,be,Z,xe,we,G,H,Q,_])},me=r(97729),fe=r.n(me),be=r(12192),xe=r(6836);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.D).withConfig({componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),Pe=d.default.div.withConfig({componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Le=(0,d.default)(a.He).withConfig({componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),De=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])})),Ie=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)(o.rU,{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}`:B.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)(Le,{children:(0,v.jsx)(G.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:fe(),children:b},t.sku)}),(0,v.jsx)(H.S,{size:8}),(0,v.jsx)(ze,{children:(0,v.jsx)(H.S,{size:16})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(De,{children:[t.platinumPoints&&(0,v.jsx)(N.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,v.jsx)(N.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,v.jsx)(N.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,v.jsx)(N.S,{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)(a.bs,{rating:t.contentRating,descriptors:t.contentDescriptors,gamesShown:t.gamesShown})})}),(0,v.jsxs)(ze,{children:[(0,v.jsx)(H.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)(l.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)(a.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,v.jsxs)(Ie,{children:[(0,v.jsxs)(Te,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsx)(N.S,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,v.jsx)(Z.P,{accentColor:B.rG[m],children:"GAMES"===t.topLevelCategory?.code?h:t.topLevelCategory?.label})]}),(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:t.name}),g&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:16}),(0,v.jsx)(l.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)(H.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:24}),(0,v.jsxs)(Pe,{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)(a.g,{product:t})]}),(0,v.jsx)(H.S,{size:24})]}),(0,v.jsx)(yr,{product:t,purchaseOptions:u}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:20}),(0,v.jsx)(o.rU,{href:t.baseSoftware[0].urlKey,children:(0,v.jsx)("a",{children:(0,v.jsxs)(i.G,{columns:"1fr 4fr",gap:_.d.spacing[8],alignItems:"center",children:[(0,v.jsx)(U.G,{column:"span 2",children:(0,v.jsx)(l.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)(l.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,v.jsxs)(ke,{children:[(0,v.jsx)(H.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)(l.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)(a.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]})),Ge=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 He=e=>{let{product:t}=e;const{text:r}=(0,s.useLocalizer)(),{locale:n}=(0,o.tv)(),i="/switch/online/";return t.nsoFeatures?(0,v.jsx)(a.$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)(Ge,{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,{})},Ne=r(91137),Ze=r(61069),Qe=r(79102),_e=r(23808),Ue=r(77064),Be=r(72354),Fe=r(40768);const qe=(0,d.default)(a.$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]})),We=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)})),Ve=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.section.withConfig({componentId:"sc-4l5ex7-5"})(["padding:1rem;"]);var et=r(79185),tt=r(14625);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,x=(0,s.useRecentlyViewed)(),{trackViewItem:w}=(0,s.useAnalytics)(),{0:y,1:j}=(0,p.useState)(!1),C=r.ageGate||r.contentRating?.requiresAgeGate,S=lt.get(),[P,L]=m.split("-"),D=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,I=r.relatedArticles,O=(0,p.useMemo)((()=>{const e=[];return Be.wh.has(m)&&(r.upsellProducts?.length&&e.push({heading:u("Related items to explore"),products:r.upsellProducts.slice(0,16).map(M.Z)}),r.crossSellProducts?.length&&e.push({heading:u("More like this"),products:r.crossSellProducts.slice(0,16).map(M.Z)}),c?.length&&e.push({heading:u("Digital best sellers"),products:c.map(M.Z)})),e}),[r.upsellProducts,r.crossSellProducts,c,u,m]);return(0,Fe.r)(),(0,p.useEffect)((()=>{x.addProduct&&!y&&(j(!0),r.edition?x.addProduct(r):x.addProduct(r.configurableProduct||r))}),[x,r,y]),(0,et.nw)((()=>w(r,(0,et.DW)({name:r.name})))),C&&f.loading?(0,v.jsx)(Je,{}):(0,v.jsxs)(Ne.A,{passed:"true"===S&&!f.data?.isChild||!C,failed:(f.data?.isChild||"false"===S)&&C,onSuccess:()=>lt.set("true",it),onFailure:()=>lt.set("false",it),lang:P,country:L,minimumAge:"mx"===L?18:17,children:[(0,v.jsx)(Ae,{product:r}),"BUNDLE"===r.productType&&(0,v.jsxs)(a.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:u("Included in this bundle")}),(0,v.jsx)(Ze.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)(tt.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:[d&&(0,v.jsx)(qe,{constrained:!0,small:!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:u("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})})})]})}),i?.asset?.primary?.assetPath?(0,v.jsx)(a.$0,{constrained:!0,small:!0,background:i.background?.backgroundType,id:"banner",children:(0,v.jsx)(a.tm,{content:{assetPath:i.asset?.primary?.assetPath,assetPathAlt:i.asset?.alt,cta:i.ctaList[0],description:i.description,heading:i.heading,modifiers:i.modifiers}})}):null,t,I?.length>0&&m===Be.ZW&&(0,v.jsxs)(a.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(k.H,{ctaText:u("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:Qe.Z,ctaTarget:"_blank",children:u("Related news and events")}),(0,v.jsx)(H.S,{size:16}),(0,v.jsx)(Ze.R,{contained:!0,children:I.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:h(l,{format:g.SHORT}),readMoreLabel:u("Read more"),size:"small"},t)}))})]}),(0,v.jsx)(z,{product:r,locale:m}),r.sizeChart&&(0,v.jsxs)(a.$0,{id:"sizing",constrained:!0,background:_.d.color.lightGray4,small:!0,children:[(0,v.jsx)("h2",{children:u("Size chart")}),(0,v.jsx)(Gr,{product:r})]}),(0,v.jsx)(He,{product:r}),b?(0,v.jsx)(a.$0,{id:"dlc",small:!0,children:(0,v.jsx)(E,{product:r,locale:m})}):null,(0,v.jsx)(a.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,v.jsx)(a.$3,{collections:O})}),(0,v.jsx)(a.HU,{currentSku:r.edition?r.sku:r.configurableProduct?.sku||r.sku,small:!0}),(0,v.jsxs)(a.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,v.jsx)(l.T,{variant:"legal",children:u("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)(We,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.richTextDisclaimer?.json&&(0,v.jsx)(a.Ho,{textVariant:"legal",data:r.richTextDisclaimer?.json}),r.displayProp65&&(0,v.jsxs)(We,{children:[(0,v.jsxs)(Ve,{children:[(0,v.jsx)(Ue.Z,{size:16}),(0,v.jsx)(n.H,{variant:"h3",children:u("Warning:")})," ",u("Cancer and reproductive harm.")]}),(0,v.jsx)(K.L,{href:"https://www.p65warnings.ca.gov/",children:(0,v.jsx)("a",{children:"p65warnings.ca.gov"})})]})]})]})]})}var ot=r(91383),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(15461);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]})),{[Be.bA]:xt.H.attribute,[Be.oV]:xt.G.attribute}),Ct=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)))})]})},St=(e,t,r)=>{let n=[];return t.playersMax&&n.push(Pt(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&n.push(Pt(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&n.push(Pt(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),n},Pt=(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{locale:r}=(0,o.tv)(),{date:l,DateFormat:a,text:d}=(0,s.useLocalizer)(),c="/search",u=vt[r]||"esrbRating",h=t.genres?.map((e=>({href:`/search/#cat=gme&f=genres&genres=${encodeURIComponent(e.label)}`,label:e.label}))),p=t.playModes?.map((e=>d(e.label))),g=St(c,t,d),m=(0,ue.EE)(t);return(0,v.jsxs)(wt,{children:[(0,v.jsx)(ot.S,{id:"product-info",children:(0,v.jsx)(n.H,{children:d("Product information")})}),(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsxs)(i.G,{columns:1,gap:0,children:[t.releaseDate&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(st.Z,{size:28}),heading:d("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:l(t.releaseDate,{format:a.LONG})}]}),t.playersMax&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(dt.Z,{size:28}),heading:d("No. of players"),descriptions:g}),t.genres&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(ct.Z,{size:28}),heading:d("Genre"),descriptions:h}),t.softwarePublisher&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(ut.Z,{size:28}),heading:d("Publisher"),descriptions:[{href:`/search#cat=gme&f=softwarePublisher&softwarePublisher=${encodeURIComponent(t.softwarePublisher)}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(ht.Z,{size:28}),heading:d("ESRB rating"),descriptions:[{href:`/search#cat=gme&sort=df&f=${u}&${u}=${encodeURIComponent(t.contentRating.code?.toUpperCase())}`,label:t.contentRating.label}]}),t.playModes&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(pt.Z,{size:28}),heading:d("Supported play modes"),descriptions:[{label:p.join(", ")}]}),t.romFileSize&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(gt.Z,{size:28}),heading:d("Game file size"),descriptions:[{label:(0,ue.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(mt.Z,{size:28}),heading:d("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(d).join(", ")}]}),t.countryOfOrigin&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(mt.Z,{size:28}),heading:d("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(ut.Z,{size:28}),heading:d("Manufacturer"),descriptions:[{href:`/search#q=${encodeURIComponent(t.manufacturer)}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!m&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(ft.Z,{size:28}),heading:d("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,v.jsx)(Ct,{icon:(0,v.jsx)(bt.Z,{size:28}),heading:d("UPC"),descriptions:[{label:t.upc}]})]})})]})},Dt=r(25237),It=r.n(Dt),Ot=r(66955),zt=r(80149),kt=r(81062),Tt=r(7162),Mt=r(7141),Et=r(1205),At=r(12655),Rt=r(85316),Xt=r(80963);var $t=(e,t,r,n)=>{const{actions:{openDrawer:i,closeDrawer:l,addOrUpdateDrawer:a,removeDrawer:o}}=(0,At.useCustomDrawers)(),s=(0,p.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,{viewPortTopOffset:a=0}=n||{},o=r?.top<=0+a,s=t?.dataset?.drawerId;s&&(o?i(s):l(s))}))}),[i,l,n]);(0,p.useEffect)((()=>{e.forEach((e=>{a(e,r[e].drawer)}))}),[a,e,r]),(0,p.useEffect)((()=>()=>{e.forEach((e=>{o(e)}))}),[o,e]),(0,p.useLayoutEffect)((()=>{const{viewPortTopOffset:r=0}=n||{},i=new IntersectionObserver(s,{rootMargin:`-${r}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&i.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&i.unobserve(t[e].ref.current)}))}}),[s,e,t,n])},Gt=r(96827);const Ht="64px",Nt="110px",Zt="14px",Qt="20px",_t=d.default.div.withConfig({componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),Ut=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}),Gt.As,Gt.oQ,(e=>{let{$hasError:t}=e;return t?`${10+parseInt(Ht)}px`:Ht})),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})),Wt=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"})),Kt=(0,d.default)(V.S).withConfig({componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),Yt=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"})),Jt=(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)})),er=(0,d.default)(i.G).withConfig({componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],Zt,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Qt),tr=(0,d.default)(zt.Z).withConfig({componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],Zt,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Qt),rr=(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})),nr=(0,d.default)(l.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 ir=r(45815);var lr=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)(ir.uP,{product:n});if(o?.length>3)return(0,v.jsx)(ir.Z5,{product:n});if(o?.length>0)return(0,v.jsx)(ir.Kx,{onChange:t,isBundle:r,product:n,title:i,value:l})}return o?.length>0?(0,v.jsx)(ir.ig,{isBundle:r,onChange:t,product:n,title:i,value:l}):null},ar=r(85941),or=r(28983);function sr(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 dr=(e,t)=>{const r=[Be.xJ,Be.oV,Be._1,Be.bA],n={[Be.xJ]:{4:"HNA"},[Be.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[Be._1]:{3:"ART"},[Be.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},cr=(e,t,r,n)=>{const i=new Date,l=new Date(e),a=t===Be.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)(or.C,{onTimeEnd:n,endDate:e,abbreviate:!1},"timer")]});{const e=a?"es-MX":t===Be.bu?"en-US":(0,ar.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}}},ur="The requested quantity is not available",hr={DEFAULT:"Something went wrong. Please try again.",QTY_NOT_AVAILABLE:ur,QTY_NOT_AVAILABLE_FR:ur,INSUFFICIENT_STOCK:ur,QTY_EXCEEDS_MAXIMUM:ur,PURCHASE_LIMIT_REACHED:ur,PRODUCT_UNAVAILABLE:ur};function pr(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 gr(e){for(var t=1;tr.e(1370).then(r.bind(r,91370))),{ssr:!1,loadableGenerated:{webpack:()=>[91370]}}),fr=(0,Rt.Z)(Ot.W),br="add-to-cart-drawer",xr="added-to-cart-drawer",wr=[br];function yr(e){let{product:t,purchaseOptions:r}=e;const{actions:{openDrawer:c,closeDrawer:u,addOrUpdateDrawer:h,removeDrawer:g}}=(0,At.useCustomDrawers)(),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,o.tv)(),y=w?.split("-")[0]??"en",{text:j}=(0,s.useLocalizer)(),C=(0,Xt.Z)(Xt.o.DESKTOP),{0:S,1:P}=(0,p.useState)(0),{0:L,1:D}=(0,p.useState)(),{state:{addableQty:I,quantity:O,isLoading:z,isMobileGame:k,isDigitalProduct:T,isPurchasable:M,retailerSku:E,buttonDisabled:A,promptLogin:R,disableQuantity:X,buttonCopy:$,helperText:G,boldHelperText:N,displayPrice:Z,showRedemptionCodeModal:Q,selectedOptionsByTitle:B},actions:{handleDirectDownloadClick:F,handleAddToCart:q,setQuantity:W,setShowRedemptionCodeModal:K,setSelectedOptionsByTitle:ie}}=r,{platinumPoints:ue,eshopDetails:he}=t,pe=(0,p.useMemo)((()=>({id:xr,drawer:{height:"325px",target:At.CUSTOM_DRAWER_TARGET.FLYOUT,bgColor:x.color.lightGray3,enableScrim:!0,content:(0,v.jsx)(a.ZL,{product:t,quantity:S,onClose:()=>u(xr)})}})),[t,S,x,u]),ge=(0,p.useCallback)((async()=>{P(O),D();const{data:e,errors:r}=await q()||{},n=e?.cart?.items.some((e=>{let{product:r}=e;return r.sku===t.sku})),i=r?.length>0;if(n&&!i)c(xr);else if(i){const e=r?.[0]?.extensions?.code;D(hr[e]||hr.DEFAULT)}}),[t,O,q,c]),me=(0,p.useMemo)((()=>({viewPortTopOffset:C?At.NAV_HEIGHT.DESKTOP:0})),[C]),fe=(0,p.useMemo)((()=>({[br]:{ref:m}})),[]),be=L?`${10+parseInt(Ht)}px`:Ht,xe=L?`${10+parseInt(Nt)}px`:Nt,we=(0,p.useMemo)((()=>({[br]:{drawer:{height:C?be:xe,target:At.CUSTOM_DRAWER_TARGET.TOP_DRAWER,bgColor:_.d.color.lightGray3,content:(0,v.jsx)(Hr,{product:t,errorMessage:L,purchaseOptions:gr(gr({},r),{},{actions:gr(gr({},r.actions),{},{handleAddToCart:ge})})})}}})),[t,C,r,L,ge,be,xe]);$t(wr,fe,we,me),(0,p.useEffect)((()=>{h(pe.id,pe.drawer)}),[pe,h]),(0,p.useEffect)((()=>{W(1)}),[W,I]),(0,p.useEffect)((()=>{D()}),[t?.sku,O]),(0,p.useEffect)((()=>()=>{g(xr)}),[g]);const ye=(0,p.useMemo)((()=>he?.discountPriceEnd?cr(he?.discountPriceEnd,w,j,(()=>{window.location.reload()})):null),[he,w,j]);return(0,v.jsxs)(v.Fragment,{children:[!f&&(0,v.jsx)(lr,{product:t}),(0,v.jsx)(H.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)(H.S,{size:8})]}),!k&&(0,v.jsxs)(ee,{children:[(0,et.vS)(w)&&!T?null:z?(0,v.jsx)(te,{width:"50%"}):ue?(0,v.jsxs)(i.G,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(zt.Z,{size:24}),(0,v.jsxs)(n.H,{variant:"h2",children:[ue," ",j("Platinum Points")]})]}):(0,v.jsx)(kt.P,{regPrice:Z.regPrice,size:"large",salePrice:Z.salePrice,lang:y}),(0,Rt.Y)(t)&&(0,v.jsx)(fr,{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)(lr,{onChange:e=>{t.find((t=>{let{id:r}=t;return r===e})).product?.isSalableQty&&ie((t=>gr(gr({},t),{},{[r]:e})))},value:B[r],title:j(`Select ${i} for {0}`,{args:[r]}),isBundle:!0,product:gr(gr({},n.product),{},{variations:t.map((e=>{const{label:t,value:r}=e.product.variations.find((t=>t.product.sku==e.product.sku));return gr(gr({},e),{},{label:t,value:r,product:gr(gr({},e.product),{},{url:""})})}))})},e.id)}))}),he?.goldPoints?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:24}),z?(0,v.jsx)(V.S,{width:"25%"}):(0,v.jsxs)(re,{children:[(0,v.jsx)("div",{children:(0,v.jsx)(Tt.Z,{size:24})}),(0,v.jsx)(l.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)(H.S,{size:24}),(0,v.jsx)(i.G,{columns:"1fr 3fr",alignItems:"center",children:T?(0,v.jsx)(U.G,{column:"span 2",children:(M||"MarketingProduct"===t.__typename)&&(0,v.jsx)(Y.B,{onClick:F,icon:A||R?"":Mt.Z,isLoading:z,buttonWidth:"full",disabled:A,size:"large",href:A?null:he?.purchaseUrl,children:"string"===typeof $?j($):$})}):(0,et.vS)(w)?null:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(J,{quantity:O,max:X?1:I,min:1,onChange:W,disabled:A}),(0,v.jsx)(oe,{onClick:ge,isLoading:z,disabled:A,icon:A||R?"":Et.Z,buttonWidth:"full",size:"large",children:"string"===typeof $?j($):$})]})}),(0,v.jsx)("span",{ref:m,"data-drawer-id":br}),G&&(T||!(0,et.vS)(w))&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:20}),L&&(0,v.jsx)(ae,{variant:"caption",children:j(L)}),t.voucherNsuid&&(0,v.jsx)(a.lE,{nsuid:t.nsuid}),(0,v.jsx)(le,{variant:"legal",children:(0,v.jsx)(de,{"data-testid":"helperText",$boldHelperText:N,children:"string"===typeof G?j(G):G})})]}),E?(0,v.jsxs)(v.Fragment,{children:[(!(0,et.vS)(w)||T)&&(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(a.Qc,{sku:E,name:t.name,type:(0,et.vS)(w)&&!T?"button":"link"})]}):null,t.requiresCoupon&&(0,v.jsx)(mr,{onApplyCode:async e=>{const{data:t,errors:r}=await q(e);if(!t?.cart?.id)throw new Error(r?.[0]?.extensions?.errors?.[0]?.message);setTimeout((()=>{c(xr)}),200)},onClose:()=>K(!1),visible:Q})]})}var jr=r(59124),vr=r(1505);const Cr=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]})),Sr=(0,d.default)(be.D).withConfig({componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Pr=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:i}=(0,s.useLocalizer)(),{0:o,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)(Cr,{ref:f,children:[(0,v.jsx)(Pr,{$isExpanded:h,$maxLines:t,children:(0,v.jsx)(a.Ho,{ref:b,data:r})}),c&&(0,v.jsx)(Sr,{icon:h?jr.Z:vr.Z,onClick:()=>{g((e=>(e?window.scrollTo(0,o):d(window.scrollY),!e)))},children:i(h?"Read less":"Read more")}),m&&(0,v.jsx)(l.T,{variant:"legal",children:i("Software description provided by the publisher.")})]})},Dr=r(32443),Ir=r(58842);const Or=d.default.div.withConfig({componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),zr=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)},kr=d.default.div.withConfig({componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],Ir.nd,zr),Tr=(0,d.default)(Dr.Z).withConfig({componentId:"sc-1hh5k55-2"})(["",""],zr);const Mr=new Set(["color"]);var Er=e=>{let{onChange:t,product:r,value:n}=e;const{query:i}=(0,o.tv)(),l=r.configurableOptions?.[0]?.attributeCode;return(0,v.jsx)(Or,{children:r.variations.map((e=>{const r=Mr.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)(Tr,{href:e.product.url,isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:r?"":e.label},e.product.name):(0,v.jsx)(kr,{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 Ar=(0,d.default)(a.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)})),Rr=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]}`})),Xr=d.default.div.withConfig({componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),$r=(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 Gr=e=>{let{product:t}=e;const r=$r[t.sizeChart.code],{text:n}=(0,s.useLocalizer)();return(0,v.jsxs)(Ar,{children:[(0,v.jsx)(Xr,{children:(0,v.jsx)(xe.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,v.jsx)(Rr,{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)(Ue.Z,{size:16})," Size chart unavailable."]})})]})};var Hr=e=>{const{product:t,purchaseOptions:r,errorMessage:n}=e,{text:i}=(0,s.useLocalizer)(),{query:l,locale:d}=(0,o.tv)(),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:P},actions:{handleDirectDownloadClick:L,handleAddToCart:D}}=r,I=t.variations?.length&&!t.configurableProduct,O=(0,p.useMemo)((()=>t.variations?.find((e=>e?.product?.urlKey===l.slug))),[t,l]),z=O?.product.size?i("Size"):null,k=O?.label,T=z?`${z}: ${k}`:k;let M=null;"GAMES"===g?.code?M=i(b?"Digital":"Physical"):I&&!O?M=i("Starting at"):T&&(M=T);const E=(0,p.useMemo)((()=>I?()=>{window.scrollTo({top:0,behavior:"smooth"})}:D),[I,D]);return(0,v.jsx)(_t,{children:(0,v.jsxs)(Ut,{$hasError:!!n,children:[(0,v.jsx)(Ft,{forwardedAs:"p",variant:"h3",children:u}),(0,v.jsxs)(Bt,{children:[(0,v.jsxs)(qt,{children:[M&&(0,v.jsx)(Yt,{$smallMargin:!O,children:M}),!w&&(Boolean(S.regPrice)||Boolean(m))&&(0,v.jsxs)(Wt,{children:[f&&(0,v.jsx)(Kt,{width:"100%"}),(0,v.jsx)(Vt,{$visible:!f,children:m?(0,v.jsxs)(er,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(tr,{}),(0,v.jsxs)(rr,{variant:"h2",children:[m," ",i("Platinum Points")]})]}):!(0,et.vS)(d)||b?(0,v.jsx)(kt.P,{regPrice:S.regPrice,horizontal:!0,size:"medium",salePrice:S.salePrice,lang:c}):null})]})]}),(0,v.jsxs)("div",{children:[b?x&&(0,v.jsx)(Jt,{onClick:L,icon:y||j?"":Mt.Z,isLoading:f,buttonWidth:"full",disabled:y,round:!0,size:"small",href:y?null:h?.purchaseUrl,children:"string"===typeof C?i(C):C}):(0,et.vS)(d)?(0,v.jsx)(a.Qc,{sku:P,name:t.name,type:"button-round"}):(0,v.jsx)(Jt,{onClick:E,isLoading:f,disabled:y,icon:y||j?"":Et.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof C?i(C):C}),n&&(0,v.jsx)(nr,{variant:"legal",children:n})]})]})]})})}}}]);