"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3066],{45815:function(e,t,i){i.d(t,{uP:function(){return _},Kx:function(){return b},Z5:function(){return w},ig:function(){return P}});var r=i(2784),n=i(79685),l=i(79736),a=i(13675),s=i(21012),o=i(17788),d=i(7254),c=i(43791),u=i(23334);const h=(0,o.default)(d.R).withConfig({displayName:"OptionDisplaysstyles__StyledRadioDetailed",componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),p=(0,o.default)(c.S).withConfig({displayName:"OptionDisplaysstyles__StyledSelectDetailed",componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),g=((0,o.default)(u.Q).withConfig({displayName:"OptionDisplaysstyles__StyledQuantitySelector",componentId:"sc-1nmdhxc-2"})(["width:100%;"]),(0,o.default)(a.T).withConfig({displayName:"OptionDisplaysstyles__StyledText",componentId:"sc-1nmdhxc-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})));var m=i(52322);const f=r.forwardRef((function(e,t){const{checked:i,onClick:r,href:n,onChange:a,product:s,variation:o}=e,{text:d,price:c}=(0,l.useLocalizer)();return(0,m.jsx)(h,{ref:t,caption:o.product.name,checked:i,discounted:o.product.prices?.minimum?.discounted,href:n,price:s.loadingPricing?null:c(o.product?.prices?.minimum?.finalPrice),regularPrice:s.loadingPricing?null:c(o.product?.prices?.minimum?.regularPrice),onChange:a,onClick:r,value:o.product.urlKey,name:o.product.name,label:o.product.nsuid?d("Digital"):d("Physical"),altContent:"\u2713"})}));function y(e){let{onChange:t,isBundle:i,product:r,title:o,value:d}=e;const{text:c}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(a.T,{variant:"legal",children:i?o:c("Select a product")}),(0,m.jsx)(s.S,{size:12}),(0,m.jsx)("div",{children:r.variations.map((e=>e.product.url?(0,m.jsx)(n.Z,{href:e.product.url,children:(0,m.jsx)(f,{checked:r.url===e.product.url,product:r,variation:e})},e.product.sku):(0,m.jsx)(f,{checked:d===e.id,product:r,variation:e,onChange:()=>t(e.id)},e.id)))})]})}y.defaultProps={onChange:()=>{}};var b=y,x=i(5632);var w=function(e){let{product:t}=e;const i=(0,x.useRouter)(),{text:n}=(0,l.useLocalizer)(),a=(0,r.useMemo)((()=>t.variations.map((e=>({label:e.product.nsuid?n("Digital"):n("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,n]);return(0,m.jsx)(p,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:n("Select a product"),onChange:e=>{i.push(e.urlKey)},options:a,showErrors:!1})},j=i(31523),C=i(96712),v=i(24423),S=i(29008);var P=function(e){let{onChange:t,isBundle:i,product:r,title:n,value:a}=e;const{text:o}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.S,{size:24}),(0,m.jsxs)(j.G,{columns:2,alignItems:"end",children:[(0,m.jsx)(g,{variant:"legal",children:i?n:o("Select a product")}),r?.sizeChart&&(0,m.jsxs)(C.G,{justifySelf:"end",children:[(0,m.jsx)(v.L,{href:"#sizing",children:o("Size chart")}),(0,m.jsx)(s.S,{size:8})]})]}),(0,m.jsx)(s.S,{size:12}),(0,m.jsx)(S.um,{onChange:t,product:r,value:a})]})},L=i(66458);var _=function(e){let{product:t}=e;const{text:i}=(0,l.useLocalizer)(),{locale:r}=(0,x.useRouter)(),n=r?.split("-")[0]??"en";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.S,{size:24}),(0,m.jsxs)(j.G,{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-${n}`,alt:i("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-${n}`,alt:i("Get it on Google Play")})})]})]})}},29008:function(e,t,i){i.d(t,{CL:function(){return I},jJ:function(){return E},VM:function(){return Ee},NR:function(){return Ze},jl:function(){return D},dn:function(){return nt},ww:function(){return vt},Ym:function(){return pi},yL:function(){return xi},um:function(){return _i},mW:function(){return zi},Lx:function(){return Ni}});var r=i(68811),n=i(31523),l=i(13675),a=i(30499),s=i(5632),o=i(79736),d=i(17788);const c=d.default.div.withConfig({displayName:"Aboutstyles__About",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({displayName:"Aboutstyles__AboutItem",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:",";"],(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")),h=(0,d.default)(a.bs).withConfig({displayName:"Aboutstyles__AboutRating",componentId:"sc-1m8mxjv-2"})(["padding:",";background:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);text-align:left;margin-bottom:",";"],(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]}));var p=i(2784),g=i(61921),m=i(70103),f=i(38463),y=i(33594),b=i(3810),x=i(2099);const w=d.default.div.withConfig({displayName:"PlayModestyles__PlayMode",componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),j=d.default.div.withConfig({displayName:"PlayModestyles__PlayModeIcon",componentId:"sc-16atj0u-1"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:4px;"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>{let{supported:i}=e;return i?t.color.darkGray2:t.color.lightGray2}),t.color.white)}),(e=>{let{theme:t}=e;return t.spacing[16]}));var C=i(52322);const v="TABLETOP",S="TV",P="HANDHELD",L={[v]:g.Z,[S]:m.Z,[P]:f.Z},_={[v]:y.Z,[S]:b.Z,[P]:x.Z},O=e=>{const{mode:t,iconSize:i,supported:r,title:n}=e,l=r?L[t]:_[t];return(0,C.jsxs)(w,{children:[(0,C.jsx)(j,{supported:r,children:(0,C.jsx)(l,{size:i})}),(0,C.jsx)("p",{children:n})]})};O.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var D=O;var I=e=>{let{product:t}=e;const{locale:i}=(0,s.useRouter)(),{text:d}=(0,o.useLocalizer)(),p=t.playModes?.map((e=>e.code));return(0,C.jsxs)(a.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[null!=t.contentRating||p?.length?(0,C.jsxs)(c,{children:[null!=t.contentRating&&(0,C.jsxs)(u,{solo:!p?.length,children:[(0,C.jsx)(r.H,{variant:"h4",children:d("ESRB rating")}),(0,C.jsx)(h,{rating:t.contentRating,descriptors:t.contentDescriptors,locale:i})]}),p?.length>0&&(0,C.jsxs)(u,{solo:!t.contentRating,children:[(0,C.jsx)(r.H,{variant:"h4",children:d("Supported play modes")}),(0,C.jsxs)(n.G,{columns:3,width:"100%",gap:"24px",children:[(0,C.jsx)(D,{supported:p?.includes("TV_MODE"),title:d("TV"),mode:S}),(0,C.jsx)(D,{supported:p?.includes("TABLETOP_MODE"),title:d("Tabletop"),mode:v}),(0,C.jsx)(D,{supported:p?.includes("HANDHELD_MODE"),title:d("Handheld"),mode:P})]}),!p?.includes("HANDHELD_MODE")&&(0,C.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,C.jsx)(vt,{product:t})]})},k=i(40831),z=i(69505),N=i(28623),T=i(25287);const M=d.default.div.withConfig({displayName:"DlcRailstyles__RailBG",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 R=i(11413);var E=e=>{let{product:t,locale:i}=e;const{text:n}=(0,o.useLocalizer)(),{trackViewItemList:l}=(0,o.useAnalytics)(),s=(0,p.useMemo)((()=>t.relatedProducts.slice(0,4).map(R.Z)),[t.relatedProducts]);return(0,T.nw)((()=>{l(s,(0,T.DW)({name:n("Downloadable content (DLC)")}))})),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(a.He,{small:!0,children:t.relatedProducts.length>4?(0,C.jsx)(k.H,{ctaType:"iconlink",headingProps:{variant:"h1"},ctaText:n("See all"),ctaUrl:t.urlKey+"/dlc/",locale:i,children:n("Downloadable content (DLC)")}):(0,C.jsx)(r.H,{variant:"h1",children:n("Downloadable content (DLC)")})}),(0,C.jsx)(M,{bgColor:"#"+t.backgroundColor,children:(0,C.jsx)(a.He,{small:!0,children:(0,C.jsx)(r.H.NewLevel,{children:(0,C.jsx)(z.R,{endCtaUrl:t.relatedProducts.length>4?t.urlKey+"/dlc/":"",endCtaText:n("See all"),locale:i,contained:!0,children:s.map(((e,t)=>(0,C.jsx)(N.I8,{artPath:e.artPath,availability:e.availability,dlcType:e.dlcType,isSalableQty:e.isSalableQty,nsuid:e.nsuid,productTitle:e.name,prices:e.prices,platform:e.platform,platformCode:e.platformCode,sku:e.sku,urlKey:e.urlKey,imageProps:{showplaceholder:!0,lazyload:!0}},e.name+t)))})})})})]})},A=i(95235),H=i(82360),G=i(20114),X=i(4047),Z=i(20687),Q=i(21012),B=i(35440),$=i(35063),q=i(88588),F=i(43821),W=i(96712),U=i(79685),K=i(87136),V=i(8976),Y=i(72354),J=i(23334),ee=i(44914),te=i(24423),ie=i(48784);const re=(0,d.default)(J.Q).withConfig({displayName:"PurchaseOptionsstyles__QuantitySelector",componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),ne=d.default.div.withConfig({displayName:"PurchaseOptionsstyles__Pricing",componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),le=(0,d.default)(ee.S).withConfig({displayName:"PurchaseOptionsstyles__PriceSkeleton",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})),ae=d.default.div.withConfig({displayName:"PurchaseOptionsstyles__GoldPoints",componentId:"sc-10vf2cu-3"})(["display:flex;gap:",";align-items:center;img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),se=d.default.span.withConfig({displayName:"PurchaseOptionsstyles__GoldPointsAmount",componentId:"sc-10vf2cu-4"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),oe=(d.default.span.withConfig({displayName:"PurchaseOptionsstyles__LimitReachedText",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)(te.L).withConfig({displayName:"PurchaseOptionsstyles__Link",componentId:"sc-10vf2cu-6"})(["display:inline !important;span{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.captionMobile}))),de=(0,d.default)(l.T).withConfig({displayName:"PurchaseOptionsstyles__Text",componentId:"sc-10vf2cu-7"})(["line-height:1.5;"]),ce=(0,d.default)(ie.B).withConfig({displayName:"PurchaseOptionsstyles__WrappingButton",componentId:"sc-10vf2cu-8"})(["white-space:pre-wrap;"]),ue=(0,d.default)(B.S).withConfig({displayName:"PurchaseOptionsstyles__StyledStatusLabel",componentId:"sc-10vf2cu-9"})(["width:max-content;"]),he=d.default.span.withConfig({displayName:"PurchaseOptionsstyles__HelperText",componentId:"sc-10vf2cu-10"})(["font-weight:",";"],(e=>{let{boldHelperText:t}=e;return t?700:"initial"})),pe=d.default.div.withConfig({displayName:"PurchaseOptionsstyles__BundleConfigOptions",componentId:"sc-10vf2cu-11"})(["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]}));function ge(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function me(e){for(var t=1;t{const{locale:t}=(0,s.useRouter)(),i=(0,o.useMaintenance)(),r=(0,o.useAccounts)(),n=(0,o.useCart)(),{trackAddToCart:l}=(0,o.useAnalytics)(),a=(0,o.useCustomer)(),{text:d,price:c}=(0,o.useLocalizer)(),{availability:u,bundleItems:h,nsuid:g,requiresSubscription:m,sku:f,requiresCoupon:y,requiresLogin:b,platinumPoints:x,eshopDetails:w,prePurchase:j,prices:v,loadingPricing:S,productType:P,isSalableQty:L,releaseDate:_,releaseDateDisplay:O,soldOutPermanent:D,isPreorderable:I,variations:k,voucherNsuid:z}=e,N=S||n?.loading||i?.loading,{0:T,1:M}=(0,p.useState)(!1),{0:R,1:E}=(0,p.useState)(1),{0:A,1:H}=(0,p.useState)({}),G=(0,V.u)(),X="MOBILE"===g,Z="BUNDLE"===P,Q="CONFIGURABLE"===P,B=Boolean(g),$=h?.every((e=>{let{required:t,title:i}=e;return t&&!!A[i]}));(0,p.useEffect)((()=>{if(Z){const e=h?.reduce(((e,t)=>{let{options:i,title:r}=t;const n=i.length>1?i?.find((e=>{let{isDefault:t}=e;return t})):i[0];return me(me({},e),{},{[r]:n?.id})}),{});H(e)}}),[Z,h]);const q=(u?.includes(d("Pre-order"))||u?.includes(d("Available now"))||L||j)&&!X,{consentedGroups:F}=(0,o.useCookies)(),W=(0,p.useMemo)((()=>{const e=F?.has(o.ConsentGroups.PERFORMANCE);if(!e||!Y.HN.has(t))return null;const i=Y.Wj.has(t);if(g&&!i&&k?.length){const e=k.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return!g||i?f:null}),[F,t,g,f,k]),U=a?.data?.membershipStatus.active,K=n?.addableQty(e),J=R>=K,ee=!L&&!X,te=(m||x||b)&&!r.isLoggedIn,ie=m&&!U,{buttonDisabled:re,promptLogin:ne,disableQuantity:le,buttonCopy:ae,helperText:se,boldHelperText:de}=(0,p.useMemo)((()=>{if(X)return{};let e="",t="",r=!1,n=!1,l=B,a=!1;const s=(0,C.jsx)(oe,{href:"/store/products/nintendo-switch-game-vouchers/",locale:!0,children:d("Learn more about vouchers")}),o=(0,C.jsx)(oe,{href:"/switch/online/",children:d("Nintendo Switch Online membership")});return m&&(t=d("Paid {0} required for purchase.",{args:[o]})),B?i?.eshop?.active?(r=!0,t=d("Direct downloads are not possible during maintenance"),a=!0,e="Direct download"):te?(e="Log in to purchase",n=!0):ie?(a=!0,e="Direct download"):w?.isPreordered?(a=!0,e="Already pre-ordered"):w?.isPurchased?(a=!0,e="Already downloaded"):w?.isPreorderable?(e="Pre-order",t=z?d("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[s]}):d("This lets you pre-load the game, so you'll be able to play as soon as the game is released.")):w?.isPurchasable?0==v?.minimum?.finalPrice?e="Free download":z?(e="Direct download",t=d("This item will be sent to your system automatically after purchase or Nintendo Switch Game Voucher redemption. {0}",{args:[s]})):(e="Direct download",t="This item will be sent to your system automatically after purchase."):(a=!0,O?e=d("Releasing in {0}",{args:[O]}):Date.now()({regPrice:Boolean(O)&&!j?null:c(v?.minimum?.regularPrice),salePrice:v?.minimum?.discounted?c(v?.minimum?.finalPrice):""})),[O,j,v,c]),ue=(0,p.useCallback)((()=>{if(ne)r.promptLogin();else{const i="string"===typeof ae?ae:"CTA";l(e),G.trackEvent({eventName:`PDP: ${i} Clicked`,objectId:f,isConversion:!0},t)}}),[ne,ae,t,f,G,l,r,e]),he=(0,p.useCallback)((i=>{if(ne)r.promptLogin();else{if(!e.requiresCoupon||i)return l(e),G.addToCart(f,{eventName:"PDP: Add to Cart Clicked",locale:t}),n.addProduct(e,{couponCode:i?.trim(),selectedOptions:Object.values(A),quantity:R});M(!0)}}),[f,ne,G,r,n,e,R,t,l,A]);return(0,p.useMemo)((()=>({state:{isLoading:N,quantity:R,isMobileGame:X,isDigitalProduct:B,isPurchasable:q,isConfigurableProduct:Q,retailerSku:W,membershipRequired:ie,addableQty:K,itemLimitReached:J,soldOut:ee,loginToPurchase:te,buttonDisabled:re,promptLogin:ne,disableQuantity:le,buttonCopy:ae,helperText:se,boldHelperText:de,displayPrice:ce,showRedemptionCodeModal:T,selectedOptionsByTitle:A},actions:{setQuantity:E,setSelectedOptionsByTitle:H,handleDirectDownloadClick:ue,handleAddToCart:he,setShowRedemptionCodeModal:M}})),[N,R,X,B,q,Q,W,ie,K,J,ee,te,re,ne,le,ae,se,de,ce,E,ue,he,T,M,A,H])},ye=i(97729),be=i.n(ye),xe=i(49196),we=i(66458);const je=d.default.section.withConfig({displayName:"Herostyles__HeroSection",componentId:"sc-1i9d4nw-0"})(["background-color:",";position:relative;z-index:1;"],(e=>e.bgColor?e.bgColor:e=>{let{theme:t}=e;return t.color.lightGray4})),Ce=d.default.div.withConfig({displayName:"Herostyles__Hero",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]})),ve=d.default.div.withConfig({displayName:"Herostyles__GallerySide",componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),Se=d.default.div.withConfig({displayName:"Herostyles__ChokingHazard",componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;"]),Pe=d.default.div.withConfig({displayName:"Herostyles__BreadCrumbContainer",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})),Le=(0,d.default)(xe.D).withConfig({displayName:"Herostyles__StyledIconLink",componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),_e=d.default.div.withConfig({displayName:"Herostyles__ExtraLinks",componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Oe=(0,d.default)(a.He).withConfig({displayName:"Herostyles__MediaGalleryWrapper",componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),De=d.default.div.withConfig({displayName:"Herostyles__Warnings",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({displayName:"Herostyles__HeroInfo",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%;display:flex;}","{padding:0;}"],t.spacing[16],t.spacing[16],t.spacing[16],t.mediaQuery.tablet)})),ke=((0,d.default)(we.I).withConfig({displayName:"Herostyles__WarningImg",componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,d.default)(we.I).withConfig({displayName:"Herostyles__RequiredImage",componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),ze=d.default.div.withConfig({displayName:"Herostyles__ShowDesktop",componentId:"sc-1i9d4nw-12"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Ne=d.default.div.withConfig({displayName:"Herostyles__ShowMobile",componentId:"sc-1i9d4nw-13"})(["display:block;","{display:none;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Te=d.default.div.withConfig({displayName:"Herostyles__PlatformContainer",componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));d.default.span.withConfig({displayName:"Herostyles__Tag",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 i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function Re(e){for(var t=1;t{const e=[{href:"/store/",label:d("Store")}];if(t.topLevelCategory){const i=t.topLevelCategory.code.toLowerCase().replace(/ /g,"-");e.push({href:`/store/${i}/`,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:i}=e;return(0,C.jsx)(U.Z,{href:t,children:(0,C.jsx)("a",{children:i})},t)}))}),[t,d]),y=(0,p.useMemo)((()=>[t.productImage&&Re({},t.productImage),...t.productGallery??[]].filter((e=>["image","video"].includes(e?.resourceType))).map(((e,i)=>{let{publicId:r,resourceType:n}=e;return"image"===n?(0,C.jsx)(H.K,{assetPath:r,alt:`${t.name} ${i+1}`},r):"video"===n?(0,C.jsx)(G.V,{assetPath:r},r):void 0}))),[t]);return(0,C.jsx)(je,{bgColor:t.backgroundColor?`#${t.backgroundColor}`:K.rG[m],children:(0,C.jsxs)(Ce,{children:[(0,C.jsx)(Pe,{children:(0,C.jsx)(X.B,{currentPage:`/store/products/${t.urlKey}/`,children:f})}),(0,C.jsxs)(ve,{children:[(0,C.jsxs)("div",{children:[(0,C.jsx)(Oe,{children:(0,C.jsx)(Z.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:be(),children:y})}),(0,C.jsx)(Q.S,{size:8}),(0,C.jsx)(ze,{children:(0,C.jsx)(Q.S,{size:16})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,C.jsx)(C.Fragment,{children:(0,C.jsxs)(De,{children:[t.platinumPoints&&(0,C.jsx)(B.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,C.jsx)(B.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,C.jsx)(B.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,C.jsx)(B.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(ze,{children:(0,C.jsx)(a.bs,{rating:t.contentRating,descriptors:t.contentDescriptors})})}),(0,C.jsxs)(ze,{children:[(0,C.jsx)(Q.S,{size:24}),t.displayChokingHazard?(0,C.jsxs)(Se,{children:[(0,C.jsxs)(r.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,C.jsx)("br",{})]}),(0,C.jsxs)(l.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,C.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,C.jsx)(a.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,C.jsxs)(Ie,{children:[(0,C.jsxs)(Te,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,C.jsx)(B.S,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,C.jsx)($.P,{accentColor:K.rG[m],children:"GAMES"===t.topLevelCategory?.code?h:t.topLevelCategory?.label})]}),(0,C.jsx)(Q.S,{size:24}),(0,C.jsx)(r.H,{variant:"h1",children:t.name}),g&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:16}),(0,C.jsx)(l.T,{variant:"caption",children:d("Available {0}",{args:[t.releaseDateDisplay?t.releaseDateDisplay:i(t.releaseDate,{format:{day:"2-digit",month:"2-digit",year:"numeric"}})]})}),(0,C.jsx)(Q.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:24}),(0,C.jsxs)(_e,{children:[t.relatedProducts.length>0&&(0,C.jsx)("div",{children:(0,C.jsx)(Le,{href:"#dlc",icon:q.Z,locale:c,children:d("View DLC")})}),t.demoNsuid&&(0,C.jsx)(a.g,{product:t})]}),(0,C.jsx)(Q.S,{size:24})]}),(0,C.jsx)(pi,{product:t,purchaseOptions:u}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:20}),(0,C.jsx)(U.Z,{href:t.baseSoftware[0].urlKey,children:(0,C.jsx)("a",{children:(0,C.jsxs)(n.G,{columns:"1fr 4fr",gap:F.d.spacing[8],alignItems:"center",children:[(0,C.jsx)(W.G,{column:"span 2",children:(0,C.jsx)(l.T,{variant:"legal",children:d("Required to play:")})}),(0,C.jsx)(ke,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,C.jsx)(l.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,C.jsxs)(Ne,{children:[(0,C.jsx)(Q.S,{size:24}),t.displayChokingHazard?(0,C.jsxs)(Se,{children:[(0,C.jsxs)(r.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,C.jsx)("br",{})]}),(0,C.jsxs)(l.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,C.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,C.jsx)(a.Ho,{data:t.topLegalDisclaimer}):null]})]})]})})},Ae=i(26581);const He=d.default.div.withConfig({displayName:"NSOStorystyles__Story",componentId:"sc-jla5jl-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";border-radius:4px;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.spacing[32]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[32]}))})),Ge=d.default.div.withConfig({displayName:"NSOStorystyles__StoryContent",componentId:"sc-jla5jl-1"})(["p{font-weight:700;a{margin:0 ",";}}"],(e=>{let{theme:t}=e;return t.spacing[8]})),Xe=d.default.p.withConfig({displayName:"NSOStorystyles__EmphasizedContent",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 Ze=e=>{let{product:t}=e;const{text:i}=(0,o.useLocalizer)(),{locale:r}=(0,s.useRouter)(),n="/switch/online/";return t.nsoFeatures?(0,C.jsx)(a.$0,{constrained:!0,small:!0,children:(0,C.jsxs)(He,{children:[(0,C.jsxs)(Ge,{children:[(0,C.jsx)(Ae.Z,{size:200}),(0,C.jsx)(Xe,{children:i("Play online, access classic NES\u2122 and Super NES\u2122 games, and more with a Nintendo Switch Online membership.")}),(0,C.jsxs)("p",{children:[i("This game supports:"),t.nsoFeatures?.map((e=>(0,C.jsxs)("span",{children:["ONLINE_PLAY"==e.code&&(0,C.jsx)(te.L,{href:n,children:i("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,C.jsx)(te.L,{href:n,children:i("Save Data Cloud")},"save-data")]},e.code)))]}),(0,C.jsx)(ie.B,{href:n,buttonWidth:"auto",locale:r,children:i("Learn more")})]}),(0,C.jsx)("div",{className:"storyAsset",children:(0,C.jsx)(we.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:i("Nintendo Switch Pro Controller")})})]})}):(0,C.jsx)(C.Fragment,{})},Qe=i(10461),Be=i(79102),$e=i(62725),qe=i(77064),Fe=i(12617);const We=(0,d.default)(a.$0).withConfig({displayName:"ProductDetailstyles__ReadMoreSection",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]})),Ue=d.default.div.withConfig({displayName:"ProductDetailstyles__legal",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)})),Ke=d.default.div.withConfig({displayName:"ProductDetailstyles__PropSixFive",componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),Ve=d.default.div.withConfig({displayName:"ProductDetailstyles__DescrImageContainer",componentId:"sc-4l5ex7-3"})(["display:block;justify-content:center;img{max-height:24em;object-fit:contain;}"]),Ye=d.default.div.withConfig({displayName:"ProductDetailstyles__Grid",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({displayName:"ProductDetailstyles__AgeGateLoadingContainer",componentId:"sc-4l5ex7-5"})(["padding:1rem;"]);function et(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function tt(e){for(var t=1;t0,b=(0,o.useRecentlyViewed)(),{trackViewItem:x}=(0,o.useAnalytics)(),{0:w,1:j}=(0,p.useState)(!1),v=i.ageGate||i.contentRating?.requiresAgeGate,S=rt.get(),[P,L]=m.split("-"),_=i.officialSite?.startsWith("http")?i.officialSite:`//${i.officialSite}`,O=i.relatedArticles,D=(0,p.useMemo)((()=>{const e=[];return Y.wh.has(m)&&(i.upsellProducts?.length&&e.push({heading:u("Related items to explore"),products:i.upsellProducts.slice(0,16).map(R.Z)}),i.crossSellProducts?.length&&e.push({heading:u("More like this"),products:i.crossSellProducts.slice(0,16).map(R.Z)}),c?.length&&e.push({heading:u("Digital best sellers"),products:c.map(R.Z)})),e}),[i.upsellProducts,i.crossSellProducts,c,u,m]);return(0,Fe.r)(),(0,p.useEffect)((()=>{b.addProduct&&!w&&(j(!0),i.edition?b.addProduct(i):b.addProduct(i.configurableProduct||i))}),[b,i,w]),(0,T.nw)((()=>x(i,(0,T.DW)({name:i.name})))),v&&f.loading?(0,C.jsx)(Je,{}):(0,C.jsxs)(Qe.A,{passed:"true"===S&&!f.data?.isChild||!v,failed:(f.data?.isChild||"false"===S)&&v,onSuccess:()=>rt.set("true",it),onFailure:()=>rt.set("false",it),lang:P,country:L,children:[(0,C.jsx)(Ee,{product:i}),"BUNDLE"===i.productType&&(0,C.jsxs)(a.$0,{constrained:!0,small:!0,children:[(0,C.jsx)(Q.S,{size:24}),(0,C.jsx)(r.H,{variant:"h1",children:u("Included in this bundle")}),(0,C.jsx)(z.R,{contained:!0,children:i.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,i=e.options.length>1?t.variations:[];return(0,p.createElement)(N.I8,tt(tt({},t),{},{isSalableQty:e.options.some((e=>e?.product?.isSalableQty)),variations:i,artPath:t?.productImage?.publicId,platform:t?.platform?.label,platformCode:t?.platform?.code,key:t.sku,showRating:!0}))}))})]}),(0,C.jsxs)(r.H.NewLevel,{children:[d&&(0,C.jsx)(We,{constrained:!0,small:!0,children:(0,C.jsxs)(Ye,{children:[(0,C.jsxs)("div",{children:[i.headline&&(0,C.jsx)(r.H,{children:i.headline}),(0,C.jsx)(xi,{maxLines:10,description:i.description,category:i.topLevelCategory}),i.officialSite&&(0,C.jsx)("a",{href:_,target:"_blank",rel:"noopener noreferrer",children:(0,C.jsx)(ie.B,{children:u("Explore this game's official website")})})]}),(i.descriptionImage||i.productImage)&&(0,C.jsx)(Ve,{children:(0,C.jsx)("div",{children:(0,C.jsx)(we.I,{assetPath:i.descriptionImage?i.descriptionImage.publicId:i.productImage.publicId,alt:i.name})})})]})}),n?.asset?.primary?.assetPath?(0,C.jsx)(a.$0,{constrained:!0,small:!0,background:n.background?.backgroundType,children:(0,C.jsx)(a.tm,{content:{assetPath:n.asset?.primary?.assetPath,assetPathAlt:n.asset?.alt,cta:n.ctaList[0],description:n.description,heading:n.heading,modifiers:n.modifiers}})}):null,t,O?.length>0&&m===Y.ZW&&(0,C.jsxs)(a.$0,{constrained:!0,small:!0,children:[(0,C.jsx)(k.H,{ctaText:u("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:Be.Z,ctaTarget:"_blank",children:u("Related news and events")}),(0,C.jsx)(Q.S,{size:16}),(0,C.jsx)(z.R,{contained:!0,children:O.map((e=>{let{id:t,url:i,title:r,media:n,publishDate:l}=e;return(0,C.jsx)($e.N,{articleLink:i,articleTitle:r,artPath:n?.publicId,publishDate:h(l,{format:g.SHORT}),readMoreLabel:u("Read more"),size:"small"},t)}))})]}),(0,C.jsx)(I,{product:i,locale:m}),i.sizeChart&&(0,C.jsxs)(a.$0,{id:"sizing",constrained:!0,background:F.d.color.lightGray4,small:!0,children:[(0,C.jsx)("h2",{children:u("Size chart")}),(0,C.jsx)(zi,{product:i})]}),(0,C.jsx)(Ze,{product:i}),y?(0,C.jsx)(a.$0,{id:"dlc",small:!0,children:(0,C.jsx)(E,{product:i,locale:m})}):null,(0,C.jsx)(a.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,C.jsx)(a.$3,{collections:D})}),(0,C.jsx)(a.HU,{currentSku:i.edition?i.sku:i.configurableProduct?.sku||i.sku,small:!0}),(0,C.jsxs)(a.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===i.topLevelCategory?.code&&(0,C.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.")}),(0,C.jsx)(Ue,{dangerouslySetInnerHTML:{__html:i.disclaimer}}),i.displayProp65&&(0,C.jsxs)(Ue,{children:[(0,C.jsxs)(Ke,{children:[(0,C.jsx)(qe.Z,{size:16}),(0,C.jsx)(r.H,{variant:"h3",children:u("Warning:")})," ",u("Cancer and reproductive harm.")]}),(0,C.jsx)(te.L,{href:"https://www.p65warnings.ca.gov/",children:(0,C.jsx)("a",{children:"p65warnings.ca.gov"})})]})]})]})]})}var lt=i(71613),at=i(49446),st=i(33120),ot=i(21203),dt=i(85792),ct=i(25338),ut=i(46488),ht=i(24123),pt=i(32687),gt=i(44835),mt=i(64684),ft=i(53665);const yt=d.default.div.withConfig({displayName:"ProductInfostyles__InfoSection",componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),bt=d.default.div.withConfig({displayName:"ProductInfostyles__InfoRow",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)})),xt=d.default.div.withConfig({displayName:"ProductInfostyles__InfoDescr",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]})),wt=(d.default.div.withConfig({displayName:"ProductInfostyles__PlayModeIcon",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({displayName:"ProductInfostyles__Test",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:i,descriptions:n}=e;return(0,C.jsxs)(bt,{children:[t,(0,C.jsx)(r.H,{variant:"h3",children:i}),(0,C.jsx)(xt,{children:n.map((e=>(0,C.jsx)("div",{children:e.href?(0,C.jsx)(te.L,{href:e.href,children:e.label}):e.label},e.label)))})]})}),jt=(e,t,i)=>{let r=[];return t.playersMax&&r.push(Ct(i("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:i})),t.playersMaxLocal&&r.push(Ct(i("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:i})),t.playersMaxOnline&&r.push(Ct(i("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:i})),r},Ct=(e,t,i,r)=>{const{searchPrefix:n,text:l}=r,a=parseInt(i||t);return{href:`${n}?cat=gme&f=playerCount&playerCount=${1===a?l("Single Player"):a>3?"4+":`${a}+`}`,label:e+" ("+(t!=i?t+"-":"")+(i||"")+")"}};var vt=e=>{let{product:t}=e;const{locale:i}=(0,s.useRouter)(),{date:l,DateFormat:a,text:d}=(0,o.useLocalizer)(),c=(0,ft.m7)(i),u=t.genres?.map((e=>({href:`${c}?cat=gme&f=genres&genres=${e.label}`,label:e.label}))),h=t.playModes?.map((e=>d(e.label))),p=jt(c,t,d);return(0,C.jsxs)(yt,{children:[(0,C.jsx)(lt.S,{id:"product-info",children:(0,C.jsx)(r.H,{children:d("Product information")})}),(0,C.jsx)(r.H.NewLevel,{children:(0,C.jsxs)(n.G,{columns:1,gap:0,children:[t.releaseDate&&(0,C.jsx)(wt,{icon:(0,C.jsx)(at.Z,{size:28}),heading:d("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:l(t.releaseDate,{format:a.LONG})}]}),t.playersMax&&(0,C.jsx)(wt,{icon:(0,C.jsx)(st.Z,{size:28}),heading:d("No. of players"),descriptions:p}),t.genres&&(0,C.jsx)(wt,{icon:(0,C.jsx)(ot.Z,{size:28}),heading:d("Genre"),descriptions:u}),t.softwarePublisher&&(0,C.jsx)(wt,{icon:(0,C.jsx)(dt.Z,{size:28}),heading:d("Publisher"),descriptions:[{href:`${c}?cat=gme&f=softwarePublisher&softwarePublisher=${t.softwarePublisher}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,C.jsx)(wt,{icon:(0,C.jsx)(ct.Z,{size:28}),heading:d("ESRB rating"),descriptions:[{href:`${c}?cat=gme&sort=df&f=esrbRating&esrbRating=${t.contentRating.code}`,label:t.contentRating.label}]}),t.playModes&&(0,C.jsx)(wt,{icon:(0,C.jsx)(ut.Z,{size:28}),heading:d("Supported play modes"),descriptions:[{label:h.join(", ")}]}),t.romFileSize&&(0,C.jsx)(wt,{icon:(0,C.jsx)(ht.Z,{size:28}),heading:d("Game file size"),descriptions:[{label:(0,ft.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,C.jsx)(wt,{icon:(0,C.jsx)(pt.Z,{size:28}),heading:d("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(d).join(", ")}]}),t.countryOfOrigin&&(0,C.jsx)(wt,{icon:(0,C.jsx)(pt.Z,{size:28}),heading:d("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,C.jsx)(wt,{icon:(0,C.jsx)(dt.Z,{size:28}),heading:d("Manufacturer"),descriptions:[{href:`${c}?q=${t.manufacturer}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!t.nsuid&&(0,C.jsx)(wt,{icon:(0,C.jsx)(gt.Z,{size:28}),heading:d("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,C.jsx)(wt,{icon:(0,C.jsx)(mt.Z,{size:28}),heading:d("UPC"),descriptions:[{label:t.upc}]})]})})]})},St=i(25237),Pt=i.n(St),Lt=i(88583),_t=i(80149),Ot=i(35329),Dt=i(7162),It=i(7141),kt=i(1205),zt=i(60057),Nt=i(80963);var Tt=(e,t,i,r)=>{const{actions:{openDrawer:n,closeDrawer:l,addOrUpdateDrawer:a,removeDrawer:s}}=(0,zt.useCustomDrawers)(),o=(0,p.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:i}=e,{viewPortTopOffset:a=0}=r||{},s=i?.top<=0+a,o=t?.dataset?.drawerId;o&&(s?n(o):l(o))}))}),[n,l,r]);(0,p.useEffect)((()=>{e.forEach((e=>{a(e,i[e].drawer)}))}),[a,e,i]),(0,p.useEffect)((()=>()=>{e.forEach((e=>{s(e)}))}),[s,e]),(0,p.useLayoutEffect)((()=>{const{viewPortTopOffset:i=0}=r||{},n=new IntersectionObserver(o,{rootMargin:`-${i}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&n.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&n.unobserve(t[e].ref.current)}))}}),[o,e,t,r])},Mt=i(96827);const Rt="64px",Et="110px",At="14px",Ht="20px",Gt=d.default.div.withConfig({displayName:"StickyCtastyles__Container",componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),Xt=d.default.div.withConfig({displayName:"StickyCtastyles__Wrapper",componentId:"sc-66y51m-1"})(["display:flex;width:100%;height:",";align-items:flex-start;justify-content:space-between;padding-top:1rem;","{align-items:center;width:",";max-width:",";height:",";padding-top:0;}"],Et,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Mt.As,Mt.oQ,Rt),Zt=d.default.div.withConfig({displayName:"StickyCtastyles__CtaContainer",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})),Qt=(0,d.default)(r.H).withConfig({displayName:"StickyCtastyles__ProductName",componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Bt=d.default.div.withConfig({displayName:"StickyCtastyles__ProductDetails",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})),$t=d.default.div.withConfig({displayName:"StickyCtastyles__PricingContainer",componentId:"sc-66y51m-5"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-right:1rem;position:relative;"]),qt=d.default.div.withConfig({displayName:"StickyCtastyles__Pricing",componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{visible:t}=e;return t?"visible":"hidden"})),Ft=(0,d.default)(ee.S).withConfig({displayName:"StickyCtastyles__PricingSkeleton",componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),Wt=d.default.span.withConfig({displayName:"StickyCtastyles__VariantLabel",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"})),Ut=(0,d.default)(ie.B).withConfig({displayName:"StickyCtastyles__Button",componentId:"sc-66y51m-9"})(["width:",";"],(e=>{let{theme:t}=e;return t.pxToRem(250)})),Kt=(0,d.default)(n.G).withConfig({displayName:"StickyCtastyles__Grid",componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],At,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Ht),Vt=(0,d.default)(_t.Z).withConfig({displayName:"StickyCtastyles__MyNintendoPlatinumCoinIcon",componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],At,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Ht),Yt=(0,d.default)(r.H).withConfig({displayName:"StickyCtastyles__PlatinumPointsLabel",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}));var Jt=i(45815);var ei=e=>{let{onChange:t,isBundle:i,product:r,title:n,value:l}=e;const{topLevelCategory:a,variations:s,nsuid:o}=r;if("GAMES"===a?.code){if("MOBILE"==o)return(0,C.jsx)(Jt.uP,{product:r});if(s?.length>3)return(0,C.jsx)(Jt.Z5,{product:r});if(s?.length>0)return(0,C.jsx)(Jt.Kx,{onChange:t,isBundle:i,product:r,title:n,value:l})}return s?.length>0?(0,C.jsx)(Jt.ig,{isBundle:i,onChange:t,product:r,title:n,value:l}):null},ti=i(85941),ii=i(56733);function ri(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}const ni=(e,t)=>{const i=[Y.xJ,Y.oV,Y._1,Y.bA],r={[Y.xJ]:{4:"HNA"},[Y.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[Y._1]:{3:"ART"},[Y.bA]:{2:"FNT",3:"BRT",4:"AMT",5:"ACT"}};return i.includes(t)?e.replace(/(?:UTC|GMT).(\d)/,((e,i)=>r[t][i]||e)):e},li=(e,t,i,r)=>{const n=new Date,l=new Date(e),a=t===Y.xJ,s=l.getTime()-n.getTime();if(s<0)return null;if(!(s/6e4/60>24))return i("Sale ends: {0}",{args:[(0,C.jsx)(ii.C,{onTimeEnd:r,endDate:e,abbreviate:!1},"timer")]});{const e=a?"es-MX":t===Y.bu?"en-US":(0,ti.ZP)(t);try{const r=Intl.DateTimeFormat().resolvedOptions().timeZone,n=l.toLocaleDateString(e,function(e){for(var t=1;t`${t.toLowerCase()}.m.`)),t)]})}catch{return null}}};function ai(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function si(e){for(var t=1;ti.e(1370).then(i.bind(i,91370))),{ssr:!1,loadableGenerated:{webpack:()=>[91370]}}),di=(0,a.xe)(Lt.W),ci="add-to-cart-drawer",ui="added-to-cart-drawer",hi=[ci];function pi(e){let{product:t,purchaseOptions:i}=e;const{actions:{openDrawer:c,closeDrawer:u,addOrUpdateDrawer:h,removeDrawer:g}}=(0,zt.useCustomDrawers)(),m=(0,p.useRef)(),f="BUNDLE"===t.productType,y=t.bundleItems?.filter((e=>e.options?.length>1)),b=(0,p.useContext)(d.ThemeContext),{locale:x}=(0,s.useRouter)(),{text:w}=(0,o.useLocalizer)(),j=(0,Nt.Z)(Nt.o.DESKTOP),{0:v,1:S}=(0,p.useState)(0),{state:{addableQty:P,quantity:L,isLoading:_,isMobileGame:O,isDigitalProduct:D,isPurchasable:I,retailerSku:k,buttonDisabled:z,promptLogin:N,disableQuantity:T,buttonCopy:M,helperText:R,boldHelperText:E,displayPrice:A,showRedemptionCodeModal:H,selectedOptionsByTitle:G},actions:{handleDirectDownloadClick:X,handleAddToCart:Z,setQuantity:B,setShowRedemptionCodeModal:$,setSelectedOptionsByTitle:q}}=i,{platinumPoints:U,eshopDetails:K}=t,V=(0,p.useMemo)((()=>({id:ui,drawer:{height:"325px",target:zt.CUSTOM_DRAWER_TARGET.FLYOUT,bgColor:b.color.lightGray3,enableScrim:!0,content:(0,C.jsx)(a.ZL,{product:t,quantity:v,onClose:()=>u(ui)})}})),[t,v,b,u]),Y=(0,p.useCallback)((async()=>{S(L);const e=(await Z())?.data?.cart?.id;e&&c(ui)}),[L,Z,c]),J=(0,p.useMemo)((()=>({viewPortTopOffset:j?zt.NAV_HEIGHT.DESKTOP:0})),[j]),te=(0,p.useMemo)((()=>({[ci]:{ref:m}})),[]),oe=(0,p.useMemo)((()=>({[ci]:{drawer:{height:j?Rt:Et,target:zt.CUSTOM_DRAWER_TARGET.TOP_DRAWER,bgColor:F.d.color.lightGray3,content:(0,C.jsx)(Ni,{product:t,purchaseOptions:si(si({},i),{},{actions:si(si({},i.actions),{},{handleAddToCart:Y})})})}}})),[t,j,i,Y]);Tt(hi,te,oe,J),(0,p.useEffect)((()=>{h(V.id,V.drawer)}),[V,h]),(0,p.useEffect)((()=>{B(1)}),[B,P]),(0,p.useEffect)((()=>()=>{g(ui)}),[g]);const ge=(0,p.useMemo)((()=>K?.discountPriceEnd?li(K?.discountPriceEnd,x,w,(()=>{window.location.reload()})):null),[K,x,w]);return(0,C.jsxs)(C.Fragment,{children:[!f&&(0,C.jsx)(ei,{product:t}),(0,C.jsx)(Q.S,{size:24}),ge&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ue,{backgroundColor:b.color.primary,foregroundColor:"#fff",children:ge}),(0,C.jsx)(Q.S,{size:8})]}),!O&&(0,C.jsxs)(ne,{children:[_?(0,C.jsx)(le,{width:"50%"}):U?(0,C.jsxs)(n.G,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,C.jsx)(_t.Z,{size:24}),(0,C.jsxs)(r.H,{variant:"h2",children:[U," ",w("Platinum Points")]})]}):(0,C.jsx)(Ot.P,{regPrice:A.regPrice,size:"large",salePrice:A.salePrice}),(0,a.Yj)(t)&&(0,C.jsx)(di,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),f&&(0,C.jsx)(pe,{children:y.map((e=>{const{options:t,title:i}=e,r=t.find((e=>{let{isDefault:t}=e;return t}))||t[0],n=r?.product?.configurableOptions?.[0]?.attributeCode?.toLowerCase();return(0,C.jsx)(ei,{onChange:e=>{t.find((t=>{let{id:i}=t;return i===e})).product?.isSalableQty&&q((t=>si(si({},t),{},{[i]:e})))},value:G[i],title:w(`Select ${n} for {0}`,{args:[i]}),isBundle:!0,product:si(si({},r.product),{},{variations:t.map((e=>{const{label:t,value:i}=e.product.variations.find((t=>t.product.sku==e.product.sku));return si(si({},e),{},{label:t,value:i,product:si(si({},e.product),{},{url:""})})}))})},e.id)}))}),K?.goldPoints?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:24}),_?(0,C.jsx)(ee.S,{width:"25%"}):(0,C.jsxs)(ae,{children:[(0,C.jsx)("div",{children:(0,C.jsx)(Dt.Z,{size:24})}),(0,C.jsx)(l.T,{variant:"legal",children:w("Eligible for up to {0} Gold Points",{args:[(0,C.jsx)(se,{children:K?.goldPoints},"goldPoints")]})})]})]}):null,(0,C.jsx)(Q.S,{size:24}),(0,C.jsx)(n.G,{columns:"1fr 3fr",alignItems:"center",children:D?(0,C.jsx)(W.G,{column:"span 2",children:I&&(0,C.jsx)(ie.B,{onClick:X,icon:z||N?"":It.Z,isLoading:_,buttonWidth:"full",disabled:z,size:"large",href:z?null:K?.purchaseUrl,children:"string"===typeof M?w(M):M})}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(re,{quantity:L,max:T?1:P,min:1,onChange:B,disabled:z}),(0,C.jsx)(ce,{onClick:Y,isLoading:_,disabled:z,icon:z||N?"":kt.Z,buttonWidth:"full",size:"large",children:"string"===typeof M?w(M):M})]})}),(0,C.jsx)("span",{ref:m,"data-drawer-id":ci}),R&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:20}),t.voucherNsuid&&(0,C.jsx)(a.lE,{nsuid:t.nsuid}),(0,C.jsx)(de,{variant:"legal",children:(0,C.jsx)(he,{"data-testid":"helperText",boldHelperText:E,children:"string"===typeof R?w(R):R})})]}),k?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Q.S,{size:24}),(0,C.jsx)(a.Qc,{sku:k,name:t.name})]}):null,t.requiresCoupon&&(0,C.jsx)(oi,{onApplyCode:async e=>{const{data:t}=await Z(e);if(!t?.cart?.id)throw new Error;setTimeout((()=>{c(ui)}),200)},onClose:()=>$(!1),visible:H})]})}var gi=i(59124),mi=i(1505);const fi=d.default.div.withConfig({displayName:"ReadMorestyles__ReadMore",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]})),yi=(0,d.default)(xe.D).withConfig({displayName:"ReadMorestyles__StyledIconLink",componentId:"sc-120wz1l-1"})(["padding-left:0;"]),bi=d.default.div.withConfig({displayName:"ReadMorestyles__ChildContent",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:i}=e;return t?9999:i}),(e=>{let{theme:t}=e;return t.spacing[8]}));var xi=function(e){let{maxLines:t,description:i,category:r}=e;const{text:n}=(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"===r?.code,f=(0,p.useRef)(null),y=(0,p.useRef)(null),b=(0,p.useRef)(null);(0,p.useEffect)((()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)})),[]),(0,p.useEffect)((()=>{g(!1)}),[i]);const x=()=>{clearTimeout(b.current),b.current=setTimeout((()=>{u(y?.current?.scrollHeight>y?.current?.clientHeight)}),0)};return(0,p.useEffect)((()=>{y.current?.classList.add("clamp")}),[t]),(0,C.jsxs)(fi,{ref:f,children:[(0,C.jsx)(bi,{isExpanded:h,maxLines:t,children:(0,C.jsx)(a.Ho,{ref:y,data:i})}),c&&(0,C.jsx)(yi,{icon:h?gi.Z:mi.Z,onClick:()=>{g((e=>(e?window.scrollTo(0,s):d(window.scrollY),!e)))},children:n(h?"Read less":"Read more")}),m&&(0,C.jsx)(l.T,{variant:"legal",children:n("Software description provided by the publisher.")})]})},wi=i(32443),ji=i(58842);const Ci=d.default.div.withConfig({displayName:"SelectAttributesstyles__StyledAttributes",componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),vi=e=>{let{theme:t,isActive:i,swatch:r,disabled:n}=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:",";}}"],n&&!r?t.color.lightGray2:r?"url("+r+")":i?t.color.primary:t.color.white,t.spacing[4],i?t.color.primary:n?t.color.lightGray2:t.color.white,n?t.color.darkGray2:i?t.color.white:t.color.darkGray2,t.mediaQuery.tablet,n?t.color.darkGray3:i?t.color.white:t.color.darkGray2,(e=>{let{theme:t}=e;return t.movement.duration+" "+t.movement.easing}),n&&r?"60%":"initial",n?"grayscale(60%)":"",t.spacing[4],t.color.primary,i&&!n?t.color.white:t.color.darkGray2)},Si=d.default.div.withConfig({displayName:"SelectAttributesstyles__Tile",componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],ji.nd,vi),Pi=(0,d.default)(wi.Z).withConfig({displayName:"SelectAttributesstyles__TileLink",componentId:"sc-1hh5k55-2"})(["",""],vi);const Li=new Set(["color"]);var _i=e=>{let{onChange:t,product:i,value:r}=e;const{query:n}=(0,s.useRouter)(),l=i.configurableOptions?.[0]?.attributeCode;return(0,C.jsx)(Ci,{children:i.variations.map((e=>{const i=Li.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===n.slug:e.id===r;return e.product.url?(0,C.jsx)(Pi,{href:e.product.url,isActive:a,swatch:i,disabled:!e.product.isSalableQty,children:i?"":e.label},e.product.name):(0,C.jsx)(Si,{onClick:()=>t(e.id),isActive:a,swatch:i,disabled:!e.product.isSalableQty,children:(0,C.jsx)(ji.Dx,{type:"portrait",children:i?"":e.label})},e.product.name)}))})};const Oi=(0,d.default)(a.He).withConfig({displayName:"SizeChartstyles__SizeChart",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)})),Di=d.default.table.withConfig({displayName:"SizeChartstyles__SizeTable",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]}`})),Ii=d.default.div.withConfig({displayName:"SizeChartstyles__ImageContainer",componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),ki=(d.default.div.withConfig({displayName:"SizeChartstyles__Test",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 zi=e=>{let{product:t}=e;const i=ki[t.sizeChart.code],{text:r}=(0,o.useLocalizer)();return(0,C.jsxs)(Oi,{children:[(0,C.jsx)(Ii,{children:(0,C.jsx)(we.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,C.jsx)(Di,{children:i?(0,C.jsxs)("tbody",{children:[(0,C.jsxs)("tr",{children:[(0,C.jsx)("th",{children:r("Size")}),(0,C.jsx)("th",{children:r("pants"===i?.type?"Waist":"Width")}),(0,C.jsx)("th",{children:r("pants"===i?.type?"Inseam":"Length")})]}),i.sizes.map((e=>(0,C.jsxs)("tr",{children:[(0,C.jsx)("td",{children:r(e.label)}),(0,C.jsxs)("td",{children:[e.width,'"']}),(0,C.jsxs)("td",{children:[e.length,'"']})]},e.label)))]}):(0,C.jsxs)("p",{children:[(0,C.jsx)(qe.Z,{size:16})," Size chart unavailable."]})})]})};var Ni=e=>{const{product:t,purchaseOptions:i}=e,{text:r}=(0,o.useLocalizer)(),{query:n}=(0,s.useRouter)(),{name:l,eshopDetails:a,topLevelCategory:d,platinumPoints:c}=t,{state:{isLoading:u,isDigitalProduct:h,isPurchasable:g,isMobileGame:m,buttonDisabled:f,promptLogin:y,buttonCopy:b,displayPrice:x},actions:{handleDirectDownloadClick:w,handleAddToCart:j}}=i,v=t.variations?.length&&!t.configurableProduct,S=(0,p.useMemo)((()=>t.variations?.find((e=>e?.product?.urlKey===n.slug))),[t,n]),P=S?.product.size?r("Size"):null,L=S?.label,_=P?`${P}: ${L}`:L;let O=null;"GAMES"===d?.code?O=r(h?"Digital":"Physical"):v&&!S?O=r("Starting at"):_&&(O=_);const D=(0,p.useMemo)((()=>v?()=>{window.scrollTo({top:0,behavior:"smooth"})}:j),[v,j]);return(0,C.jsx)(Gt,{children:(0,C.jsxs)(Xt,{children:[(0,C.jsx)(Qt,{forwardedAs:"p",variant:"h3",children:l}),(0,C.jsxs)(Zt,{children:[(0,C.jsxs)(Bt,{children:[O&&(0,C.jsx)(Wt,{smallMargin:!S,children:O}),!m&&(Boolean(x.regPrice)||Boolean(c))&&(0,C.jsxs)($t,{children:[u&&(0,C.jsx)(Ft,{width:"100%"}),(0,C.jsx)(qt,{visible:!u,children:c?(0,C.jsxs)(Kt,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,C.jsx)(Vt,{}),(0,C.jsxs)(Yt,{variant:"h2",children:[c," ",r("Platinum Points")]})]}):(0,C.jsx)(Ot.P,{regPrice:x.regPrice,horizontal:!0,size:"medium",salePrice:x.salePrice})})]})]}),h?g&&(0,C.jsx)(Ut,{onClick:w,icon:f||y?"":It.Z,isLoading:u,buttonWidth:"full",disabled:f,round:!0,size:"small",href:f?null:a?.purchaseUrl,children:"string"===typeof b?r(b):b}):(0,C.jsx)(Ut,{onClick:D,isLoading:u,disabled:f,icon:f||y?"":kt.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof b?r(b):b})]})]})})}},12617:function(e,t,i){i.d(t,{r:function(){return l}});var r=i(2784),n=i(24580);var l=()=>{const{updateScroll:e}=(0,n.lP)();(0,r.useEffect)((()=>{e()}),[])}}}]);