"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3522],{3014:function(e,t,r){r.d(t,{uP:function(){return K},Kx:function(){return X},Z5:function(){return F},ig:function(){return $}});var i=r(5574),l=r(365),a=r(7934),n=r(21012),s=r(17788),o=r(66787),d=r(2784),c=r(13980),h=r.n(c),u=r(19689),p=r(47943),m=r(94919),g=r(52322),f=r(5113);const y=(0,s.default)(u.c.IndicatorsContainer).withConfig({displayName:"SelectDetailedstyles__IndicatorsContainer",componentId:"sc-16zhdbj-0"})(["margin-right:0.5rem;"]),b=(0,s.css)(["content:'';position:absolute;pointer-events:none;width:100%;height:100%;top:0;left:0;"]),x=(0,s.default)(u.c.Control).withConfig({displayName:"SelectDetailedstyles__Control",componentId:"sc-16zhdbj-1"})(["&&&{box-shadow:0 0 0 0 rgba(72,72,72,0.15);transition:box-shadow 100ms linear;position:relative;border:0;&::before{"," transition:border 100ms linear;border-radius:",";border:1px solid ",";}"," ","}"],b,(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.color.lightGray3}),(e=>{let{isFocused:t}=e;return t&&(0,s.css)(["transition:box-shadow "," ",";box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);outline:none;&::before{border:2px solid ",";}"],(e=>{let{theme:t}=e;return t.movement.duration}),(e=>{let{theme:t}=e;return t.movement.easing}),(e=>{let{theme:t}=e;return t.color.darkGray2}))}),(e=>{let{selectProps:t}=e;return t.menuIsOpen&&(0,s.css)(["&::before{border:2px solid ",";border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;}border:0;box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);"],(e=>{let{theme:t}=e;return t.color.darkGray2}))})),w=(0,s.default)(u.c.Menu).withConfig({displayName:"SelectDetailedstyles__Menu",componentId:"sc-16zhdbj-2"})(["&&&{margin:0;border:0;box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);transition:box-shadow 100ms linear;clip-path:inset(0px -16px -20px -16px);&::before{"," border-radius:",";border-top-left-radius:0;border-top-right-radius:0;z-index:5;border-top:0;animation:"," 100ms linear 25ms forwards;}}"],b,(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return(e=>(0,s.keyframes)(["0%{border:1px solid ",";border-top:0;}100%{border:2px solid ",";border-top:0;}"],e.color.lightGray3,e.color.darkGray2))(t)})),j=(0,s.default)(u.c.ValueContainer).withConfig({displayName:"SelectDetailedstyles__ValueContainer",componentId:"sc-16zhdbj-3"})(["&&&{padding:0;",","," > span{display:none;}}"],p.d,p.b),v=(0,s.default)(u.c.SelectContainer).withConfig({displayName:"SelectDetailedstyles__SelectContainer",componentId:"sc-16zhdbj-4"})(["&&&{"," .js-focus-visible &.focus-visible,.js-focus-visible &[data-focus-visible-added],&:focus-visible{outline:none;border-color:",";}}"],(e=>{let{isFocused:t}=e;return t&&(0,s.css)(["outline:none;"])}),(e=>{let{theme:t}=e;return t.color.darkGray2})),C=(0,s.css)(["display:flex;flex-direction:row;align-items:center;position:relative;min-height:",";width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1.25rem;padding-right:1.25rem;",",","{margin-left:0;}&,& > *{cursor:pointer;}"],(e=>{let{theme:t}=e;return t.pxToRem(56)}),p.b,p.c),z=(0,s.default)(u.c.Option).withConfig({displayName:"SelectDetailedstyles__Option",componentId:"sc-16zhdbj-5"})(["&&&{"," color:",";"," ","}"],C,(e=>{let{theme:t}=e;return t.color.darkGray2}),(e=>{let{isSelected:t}=e;return t&&(0,s.css)(["background:",";"],(e=>{let{theme:t}=e;return t.color.lightGray4}))}),(e=>{let{isFocused:t}=e;return t&&(0,s.css)(["background:",";"],(e=>{let{theme:t}=e;return t.color.lightGray2}))})),S=(0,s.default)(u.c.SingleValue).withConfig({displayName:"SelectDetailedstyles__SingleValue",componentId:"sc-16zhdbj-6"})(["&&&{"," top:unset;transform:unset;}"],C),L=(0,s.default)(m.S).withConfig({displayName:"SelectDetailedstyles__StyledSelect",componentId:"sc-16zhdbj-7"})(["","{font-weight:",";display:inline-block;margin-bottom:0.5rem;}"],m.a,(e=>{let{theme:t}=e;return t.font.weight.light})),P=e=>{let{children:t,...r}=e;return(0,g.jsx)(y,{...r,children:t})};P.propTypes={children:h().node};const N=e=>{let{children:t,...r}=e;return(0,g.jsx)(x,{...r,children:t})};N.propTypes={children:h().node};const _=e=>{let{children:t,...r}=e;return(0,g.jsx)(w,{...r,children:t})};_.propTypes={children:h().node};const I=e=>{let{children:t,...r}=e;return(0,g.jsx)(j,{...r,children:t})};I.propTypes={children:h().node,innerRef:h().func};const M=e=>{let{children:t,...r}=e;return(0,g.jsx)(v,{...r,children:t})};M.propTypes={children:h().node,innerRef:h().func};const O=e=>{let{innerRef:t,getValue:r,...i}=e;const l=r()[0].label,a=r()[0].caption,n=r()[0].price;return(0,g.jsxs)(S,{innerRef:t,...i,children:[(0,g.jsxs)(p.a,{caption:a,children:[(0,g.jsxs)(p.b,{children:[l,(0,g.jsxs)("span",{children:[" - ",n]})]}),a&&(0,g.jsx)(p.c,{variant:"legal",children:a})]}),n&&(0,g.jsx)(p.d,{variant:"body",children:n})]})};O.propTypes={getValue:h().func,innerRef:h().func};const D=e=>{let{data:t,innerRef:r,...i}=e;const l=t.label,a=t.caption,n=t.price,s=t.value;return(0,g.jsxs)(z,{"data-product-id":s,innerRef:r,...i,tabIndex:0,children:[(0,g.jsxs)(p.a,{caption:a,children:[(0,g.jsxs)(p.b,{children:[l,(0,g.jsxs)("span",{children:[" - ",n]})]}),a&&(0,g.jsx)(p.c,{variant:"legal",children:a})]}),n&&(0,g.jsx)(p.d,{variant:"body",children:n})]})};D.propTypes={data:h().any,innerRef:h().func};const k=e=>{let{children:t,isFocused:r,selectProps:i,...l}=e;return(0,g.jsx)(f.T,{focused:r,flip:i.menuIsOpen,...l,children:t})};k.propTypes={children:h().node,isFocused:h().bool,selectProps:h().object};const T=e=>{let{className:t,inputLabel:r,inputName:i,onChange:l,showErrors:a,options:n,...s}=e;return(0,g.jsx)(L,{className:t,defaultValue:n[0],name:i,label:r,isClearable:!1,isMulti:!1,isSearchable:!1,showErrors:a,onChange:l,options:n,components:{Option:D,SingleValue:O,SelectContainer:M,Control:N,DropdownIndicator:k,ValueContainer:I,Menu:_,IndicatorsContainer:P,IndicatorSeparator:()=>null},...s})};T.propTypes={className:h().string,inputLabel:h().oneOfType([h().string,h().node]).isRequired,inputName:h().string,onChange:h().func,showErrors:h().bool,options:h().arrayOf(h().shape({label:h().string.isRequired,caption:h().string,price:h().string,value:h().oneOfType([h().string,h().number,h().object])})).isRequired},T.defaultProps={showErrors:!0};var H=T,R=r(83595);const A=(0,s.default)(o.R).withConfig({displayName:"OptionDisplaysstyles__StyledRadioDetailed",componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),E=(0,s.default)(H).withConfig({displayName:"OptionDisplaysstyles__StyledSelectDetailed",componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),G=((0,s.default)(R.Q).withConfig({displayName:"OptionDisplaysstyles__StyledQuantitySelector",componentId:"sc-1nmdhxc-2"})(["width:100%;"]),(0,s.default)(a.T).withConfig({displayName:"OptionDisplaysstyles__StyledText",componentId:"sc-1nmdhxc-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})));var X=function(e){let{configurable:t,product:r}=e;const{text:s,price:o}=(0,l.i1)();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(a.T,{variant:"legal",children:s("Select a product")}),(0,g.jsx)(n.S,{size:12}),(0,g.jsx)("div",{children:t.variants.map((e=>(0,g.jsx)(i.Z,{href:"/store/products/"+e.product.urlKey,children:(0,g.jsx)(A,{checked:r.urlKey===e.product.urlKey,caption:e.product.name,price:t.hydrating?null:o(e.product?.prices?.minimum?.finalPrice),onChange:()=>{},value:e.product.urlKey,name:e.product.name,label:e.product.nsuid?s("Digital"):s("Physical"),altContent:"\u2713"})},e.product.sku)))})]})},V=r(5632);var F=function(e){let{configurable:t}=e;const r=(0,V.useRouter)(),{text:i}=(0,l.i1)(),a=(0,d.useMemo)((()=>t.variants.map((e=>({label:e.product.nsuid?i("Digital"):i("Physical"),caption:e.product.name,price:t.hydrating?null:e.product?.prices?.minimum?.finalPrice?.toFixed(2),value:e.product.name,urlKey:e.product.urlKey})))),[t,i]);return(0,g.jsx)(E,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:i("Select a product"),onChange:e=>{r.push(e.urlKey)},options:a,showErrors:!1})},B=r(31523),Q=r(96712),q=r(74163),Z=r(69443);var $=function(e){let{configurable:t}=e;const{text:r}=(0,l.i1)(),i=t.variants[0].product.size;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(n.S,{size:24}),(0,g.jsxs)(B.G,{columns:2,alignItems:"end",children:[(0,g.jsx)(G,{variant:"legal",children:r("Select a product")}),i&&(0,g.jsxs)(Q.G,{justifySelf:"end",children:[(0,g.jsx)(q.D,{href:"#sizing",children:r("Size Chart")}),(0,g.jsx)(n.S,{size:8})]})]}),(0,g.jsx)(n.S,{size:12}),(0,g.jsx)(Z.um,{product:t})]})},W=r(9539);var K=function(e){let{product:t}=e;const{text:r}=(0,l.i1)(),{locale:i}=(0,V.useRouter)(),a=i?.split("-")[0]??"en";return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(n.S,{size:24}),(0,g.jsxs)(B.G,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,g.jsx)("a",{href:t.appStoreUrl,children:(0,g.jsx)(W.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${a}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,g.jsx)("a",{href:t.googlePlayUrl,children:(0,g.jsx)(W.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${a}`,alt:r("Get it on Google Play")})})]})]})}},69443:function(e,t,r){r.d(t,{CL:function(){return O},jJ:function(){return A},VM:function(){return De},NR:function(){return Ae},jl:function(){return M},dn:function(){return yt},ww:function(){return Tt},Ym:function(){return Cr},yL:function(){return _r},um:function(){return Hr},mW:function(){return Xr},Lx:function(){return Vr}});var i=r(42289),l=r(31523),a=r(7934),n=r(22875),s=r(5632),o=r(365),d=r(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)})),h=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")),u=(0,d.default)(n.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=r(2784),m=r(13980),g=r.n(m),f=r(52322);const y=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TabletopModeIcon",...e,children:(0,f.jsx)("path",{d:"M31.32 18.242l-2.657-6.94-1.285 6.94h3.943zM28.174 5.336H6.418l-2.74 12.906h21.754l2.741-12.906zm-5.035 10.505H6.99l1.722-8.094h16.143l-1.717 8.094zm-21.741 5.03H0v.995h.02a.098.098 0 0 0-.02.059v2.008a2.734 2.734 0 0 0 2.736 2.731h7.426a2.737 2.737 0 0 0 2.741-2.731v-2.008a.18.18 0 0 0-.01-.06h.01v-.994H1.397zm7.64.31a1 1 0 1 1-1.004 1.002c0-.554.45-1.002 1.004-1.001zm-5.845 4.43a1.837 1.837 0 1 1 1.858-1.833c-.003.49-.2.958-.55 1.302a1.839 1.839 0 0 1-1.308.53zm3.24-1.833a1.009 1.009 0 0 1 1.004-.985.981.981 0 1 1-1.004.985zm2.605 2.57a.983.983 0 1 1 .99-.978.988.988 0 0 1-.99.977zm1.591-1.591a.982.982 0 1 1 0-1.964.982.982 0 1 1 0 1.964zM32 20.87H19.097v.995h.02a.098.098 0 0 0-.02.059v2.008a2.73 2.73 0 0 0 2.731 2.731h7.431A2.738 2.738 0 0 0 32 23.933v-2.009a.18.18 0 0 0-.01-.06H32v-.994zm-3.866.31a1 1 0 0 1-.006 1.999.999.999 0 1 1 .006-1.998zm-5.85 4.43a1.836 1.836 0 0 1 0-3.673 1.837 1.837 0 1 1 0 3.672zm3.24-1.833c.015-.545.459-.98 1.004-.985a.981.981 0 1 1 0 1.964c-.544 0-.99-.434-1.004-.979zm2.61 2.57a.983.983 0 1 1 .99-.978.988.988 0 0 1-.99.977zm1.586-1.591a.982.982 0 1 1 0-1.964.982.982 0 1 1 0 1.964z",fill:e.color,fillRule:"evenodd"})});y.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},y.defaultProps={color:"currentColor",size:24};const b=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TvModeIcon",...e,children:(0,f.jsxs)("g",{fill:e.color,children:[(0,f.jsx)("path",{d:"M11.903 16.114l-1.154-3.56H9.591l1.641 4.627h1.357l1.632-4.627h-1.163zm-7.604-2.58h1.36v3.646h1.058v-3.646h1.371v-.981H4.299zm17.743 9.126v.758H32v-6.702h-9.958z"}),(0,f.jsx)("path",{d:"M8.433 21.6H4.784v1.808h3.649v.01h1.656v-.01h3.645V21.6H10.09v-.737h8.443V8.582H0v12.281h8.433v.737zM2.11 18.956v-8.453h14.31v8.453H2.11z"}),(0,f.jsx)("path",{d:"M16.333 21.6h-.603v1.801h5.589v-.602h-4.986z"})]})});b.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},b.defaultProps={color:"currentColor",size:24};var x=r(38463);const w=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TabletopModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M29.181 18.057l-2.438-6.476-1.22 6.476h3.658zm.61 5.41v-2.972h-3.277l3.277 2.972zM23.16 8.305l-1.6 7.543h-.151l2.285 2.133L26.21 6.095H10.667l2.438 2.21h10.057zM19.277 24l-1.447-1.295v.61a2.537 2.537 0 0 0 2.514 2.514h.914l-1.143-1.067c-.375-.123-.68-.4-.838-.762zm-19.2-.686a2.538 2.538 0 0 0 2.515 2.515h6.933a2.538 2.538 0 0 0 2.514-2.515v-2.819H.076v2.82zm8.38 2.286a.926.926 0 0 1-.914-.914.915.915 0 1 1 .914.914zm2.362-2.362a.914.914 0 1 1-.914-.914.84.84 0 0 1 .914.914zM8.457 20.8a.914.914 0 1 1 0 1.829.916.916 0 0 1-.794-1.373.915.915 0 0 1 .794-.456zm-1.524 1.524a.916.916 0 0 1 .795 1.372.915.915 0 1 1-.795-1.372zm-3.962-.762a1.71 1.71 0 0 1 1.753 1.676 1.758 1.758 0 0 1-1.753 1.676 1.691 1.691 0 0 1-1.676-1.676 1.6 1.6 0 0 1 1.677-1.676zm3.581-5.714l.61-2.82-2.21-1.98-1.447 7.01h9.219l-2.438-2.21H6.552zm-3.047-12.8H0l28.495 25.904H32L3.505 3.048z",fill:e.color})});w.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},w.defaultProps={color:"currentColor",size:24};const j=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TvModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M10.1 20.85h7.05l-2.1-1.95H2.1v-8.45h3.6l-2.05-1.9H0v12.3h8.45v.75H4.8v1.85h8.95V21.6H10.1v-.75zm6.3-10.4v2.1l2.1 1.95V8.55H12l2.05 1.9h2.35zm-9.65 6.7V13.5H8.1v-.85L8 12.5H4.3v1h1.35v3.65h1.1zm15.3-.45v1.05l6.25 5.65H32v-6.7h-9.95zM4 6.3l21.35 19.45H28L6.65 6.3H4zm12.35 16.5v-1.2h-.65v1.85H20l-.7-.65h-2.95zm-3.6-5.95l-.85-.8-1.5-1.35.85 2.45h1.35l.15-.3z",fill:e.color})});j.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},j.defaultProps={color:"currentColor",size:24};const v=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"HandheldModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M3.826 6.145l21.681 19.71h2.667L6.493 6.145H3.826zm24.986 2.319h-16.87l3.13 2.84h10.145v9.218l3.305 3.014h.29A3.216 3.216 0 0 0 32 20.348v-8.696a3.216 3.216 0 0 0-3.188-3.188zm-.174 1.97c.537.017.97.449.985.986a1.028 1.028 0 0 1-.985 1.044 1.002 1.002 0 0 1-.717-.31.997.997 0 0 1-.269-.734.944.944 0 0 1 .985-.985zm.985 4.29a1.068 1.068 0 0 1-.985 1.044.994.994 0 0 1-.986-1.043.982.982 0 0 1 .286-.7.982.982 0 0 1 .7-.286.944.944 0 0 1 .985.985zm-3.652-1.68a1.045 1.045 0 0 1 2.087-.001 1.043 1.043 0 1 1-2.087 0zm2.667 7.884a1.884 1.884 0 1 1 1.855-1.856 1.909 1.909 0 0 1-1.855 1.856zm1.623-6.841a.994.994 0 0 1-.986-1.043c.016-.538.448-.97.986-.986a.978.978 0 0 1 .985.986 1.028 1.028 0 0 1-.985 1.043zM6.783 20.696v-9.218L3.478 8.464h-.29A3.216 3.216 0 0 0 0 11.652v8.696a3.216 3.216 0 0 0 3.188 3.188h16.87l-3.13-2.84H6.783zM3.536 10.435a1.884 1.884 0 0 1 0 3.768 1.884 1.884 0 0 1 0-3.768zm.986 6.203a1.029 1.029 0 0 1-.986 1.043 1.028 1.028 0 0 1-.985-1.043c.011-.55.437-1 .985-1.044.548.043.974.494.986 1.044zM.928 18.26c-.01-.558.428-1.02.985-1.044a.995.995 0 0 1 .986 1.044c-.016.537-.448.97-.986.985a.909.909 0 0 1-.985-.985zm2.608 2.667a.986.986 0 1 1 0-1.971c.538.015.97.447.986.985a.982.982 0 0 1-.286.7.982.982 0 0 1-.7.286zm1.623-1.624a1.028 1.028 0 0 1-1.043-.985 1.044 1.044 0 1 1 2.087 0 1.028 1.028 0 0 1-1.044.985z",fill:e.color})});v.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},v.defaultProps={color:"currentColor",size:24};const C=d.default.div.withConfig({displayName:"PlayModestyles__PlayMode",componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),z=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:r}=e;return r?t.color.darkGray2:t.color.lightGray2}),t.color.white)}),(e=>{let{theme:t}=e;return t.spacing[16]})),S="TABLETOP",L="TV",P="HANDHELD",N={[S]:y,[L]:b,[P]:x.Z},_={[S]:w,[L]:j,[P]:v},I=e=>{const{mode:t,iconSize:r,supported:i,title:l}=e,a=i?N[t]:_[t];return(0,f.jsxs)(C,{children:[(0,f.jsx)(z,{supported:i,children:(0,f.jsx)(a,{size:r})}),(0,f.jsx)("p",{children:l})]})};I.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var M=I;var O=e=>{let{product:t}=e;const{locale:r}=(0,s.useRouter)(),{text:d}=(0,o.i1)(),p=t.playModes?.map((e=>e.code));return(0,f.jsxs)(n.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[(0,f.jsx)(n.TX,{as:"h2",id:"product-info",children:d("Product information")}),null!=t.contentRating||p?.length?(0,f.jsxs)(c,{children:[null!=t.contentRating&&(0,f.jsxs)(h,{solo:!p?.length,children:[(0,f.jsx)(i.H,{as:"h3",variant:"h4",children:d("ESRB rating")}),(0,f.jsx)(u,{rating:t.contentRating,descriptors:t.contentDescriptors,locale:r})]}),p?.length>0&&(0,f.jsxs)(h,{solo:!t.contentRating,children:[(0,f.jsx)(i.H,{as:"h3",variant:"h4",children:d("Supported play modes")}),(0,f.jsxs)(l.G,{columns:3,width:"100%",gap:"24px",children:[(0,f.jsx)(M,{supported:p?.includes("TV_MODE"),title:d("TV"),mode:L}),(0,f.jsx)(M,{supported:p?.includes("TABLETOP_MODE"),title:d("Tabletop"),mode:S}),(0,f.jsx)(M,{supported:p?.includes("HANDHELD_MODE"),title:d("Handheld"),mode:P})]}),!p?.includes("HANDHELD_MODE")&&(0,f.jsx)(a.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,(0,f.jsx)(Tt,{product:t})]})},D=r(81862),k=r(55540),T=r(23450),H=r(21998);const R=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 A=e=>{let{product:t,locale:r}=e;const{text:l}=(0,o.i1)(),{trackViewItemList:a}=(0,o.z$)(),s=t.relatedProducts.slice(0,4);return(0,H.nw)((()=>{a(s,(0,H.DW)({name:l("Downloadable content (DLC)")}))})),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n.He,{small:!0,children:t.relatedProducts.length>4?(0,f.jsx)(D.H,{ctaType:"iconlink",headingProps:{variant:"h1",as:"h2"},ctaText:l("See all"),ctaUrl:t.urlKey+"/dlc/",locale:r,children:l("Downloadable content (DLC)")}):(0,f.jsx)(i.H,{variant:"h1",as:"h2",children:l("Downloadable content (DLC)")})}),(0,f.jsx)(R,{bgColor:"#"+t.backgroundColor,children:(0,f.jsx)(n.He,{small:!0,children:(0,f.jsx)(k.R,{endCtaUrl:t.relatedProducts.length>4?t.urlKey+"/dlc/":"",endCtaText:l("See all"),locale:r,contained:!0,children:s.map(((e,t)=>(0,f.jsx)(T.I8,{artPath:e.artPath,availability:e.availability,dlcType:e.dlcType,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)))})})})]})},E=r(95235),G=r(42061),X=r(76815),V=r(4047),F=r(36711),B=r(21012),Q=r(35440),q=r(35063);const Z=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"DlcIcon",...e,children:(0,f.jsx)("path",{d:"M27.954 2h-17.12a4.079 4.079 0 0 0-4.046 4.102v2.657H4.046A4.078 4.078 0 0 0 0 12.86v13.038A4.079 4.079 0 0 0 4.046 30h17.12a4.079 4.079 0 0 0 4.046-4.102v-2.657h2.742A4.078 4.078 0 0 0 32 19.14V6.102A4.079 4.079 0 0 0 27.954 2zm-6.62 23.898c0 .138-.089.24-.168.24H4.046c-.08 0-.167-.102-.167-.24V12.86c0-.137.088-.24.167-.24h17.12c.08 0 .167.103.167.24v13.038zm6.787-6.758c0 .137-.088.24-.167.24h-2.742v-6.52a4.078 4.078 0 0 0-4.046-4.101h-10.5V6.102c0-.138.089-.24.168-.24h17.12c.08 0 .167.102.167.24V19.14z",fill:e.color})});Z.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Z.defaultProps={color:"currentColor",size:24};var $=r(74901),W=r(96712),K=r(5574),U=r(87136),Y=r(58066),J=r(83595),ee=r(74163),te=r(95719);const re=(0,d.default)(J.Q).withConfig({displayName:"PurchaseOptionsstyles__QuantitySelector",componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),ie=d.default.div.withConfig({displayName:"PurchaseOptionsstyles__Pricing",componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),le=d.default.div.withConfig({displayName:"PurchaseOptionsstyles__GoldPoints",componentId:"sc-10vf2cu-2"})(["display:flex;gap:",";align-items:center;img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),ae=d.default.span.withConfig({displayName:"PurchaseOptionsstyles__GoldPointsAmount",componentId:"sc-10vf2cu-3"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),ne=d.default.span.withConfig({displayName:"PurchaseOptionsstyles__LimitReachedText",componentId:"sc-10vf2cu-4"})(["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})),se=(0,d.default)(ee.D).withConfig({displayName:"PurchaseOptionsstyles__Link",componentId:"sc-10vf2cu-5"})(["display:inline !important;span{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.captionMobile})),oe=(0,d.default)(a.T).withConfig({displayName:"PurchaseOptionsstyles__Text",componentId:"sc-10vf2cu-6"})(["line-height:1.5;"]),de=(0,d.default)(te.B).withConfig({displayName:"PurchaseOptionsstyles__WrappingButton",componentId:"sc-10vf2cu-7"})(["white-space:pre-wrap;"]),ce=(0,d.default)(Q.S).withConfig({displayName:"PurchaseOptionsstyles__StyledStatusLabel",componentId:"sc-10vf2cu-8"})(["width:max-content;"]);var he=(e,t)=>{const{locale:r}=(0,s.useRouter)(),i=(0,o.K8)(),l=(0,o.xe)(),a=(0,o.jD)(),{trackAddToCart:n}=(0,o.z$)(),d=e?.hydrating||a?.loading||i?.loading,c=(0,o.ON)(),{text:h,price:u}=(0,o.i1)(),{availability:m,nsuid:g,requiresSubscription:y,sku:b,requiresLogin:x,platinumPoints:w,eshopDetails:j,prePurchase:v,prices:C,productType:z,isSalableQty:S,releaseDate:L,releaseDateDisplay:P,soldOutPermanent:N,isPreorderable:_,voucherNsuid:I}=e,{0:M,1:O}=(0,p.useState)(1),D=(0,Y.u)(),k="MOBILE"===g,T=Boolean(g),H=(m?.includes(h("Pre-order"))||m?.includes(h("Available now"))||S||v)&&!k,R="CONFIGURABLE"===z,{consentedGroups:A}=(0,o.fP)(),E=(0,p.useMemo)((()=>{const e=A?.has(o.ac.PERFORMANCE);if(!e||!U.HN.has(r))return null;const i=U.Wj.has(r);if(g&&!i&&t?.variants){const e=t.variants.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return!g||i?b:null}),[A,r,g,b,t]),G=c?.data?.membershipStatus.active,X=a?.data?.items?.find((e=>null!==e.id&&e.product.sku===b))?.quantity,V=Math.min(e?.maxQtyAllowedInCart??Number.MAX_SAFE_INTEGER,e?.purchasableQty),F=Math.max(0,V-(X??0)),B=M>=F||0===F,Q=!S&&!k,q=(y||w||x)&&!l.isLoggedIn,Z=y&&!G,{buttonDisabled:$,promptLogin:W,disableQuantity:K,buttonCopy:J,helperText:ee}=(0,p.useMemo)((()=>{if(k)return{};let e="",t="",r=!1,l=T,a=(T?i?.eshop?.active:i?.store?.active)||!1;const n=(0,f.jsx)(se,{href:"/store/products/nintendo-switch-game-vouchers/",locale:!0,children:h("Learn more about vouchers")}),s=(0,f.jsx)(se,{href:"/switch/online-service/",children:h("Nintendo Switch Online membership")});return y&&(t=h("Paid {0} required for purchase.",{args:[s]})),T?q?(e="Log in to purchase",r=!0):Z?(a=!0,e="Direct download"):j?.isPreordered?(a=!0,e="Already pre-ordered"):j?.isPurchased?(a=!0,e="Already downloaded"):j?.isPreorderable?(e="Pre-order",t=I?h("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[n]}):h("This lets you pre-load the game, so you'll be able to play as soon as the game is released.")):P&&!j?.isPurchasable?(a=!0,e=h("Releasing in {0}",{args:[P]})):Date.now()({regPrice:Boolean(P)&&!v?null:u(C?.minimum?.regularPrice),salePrice:C?.minimum?.discounted?u(C?.minimum?.finalPrice):""})),[P,v,C,u]),re=(0,p.useCallback)((()=>{if(W)l.promptLogin();else{const t="string"===typeof J?J:"CTA";n(e),D.trackEvent({eventName:`PDP: ${t} Clicked`,objectId:b,isConversion:!0},r)}}),[W,J,r,b,D,n,l,e]),ie=(0,p.useCallback)((()=>{if(!W)return n(e),D.addToCart(b,{eventName:"PDP: Add to Cart Clicked",locale:r}),a.addProduct(e,{quantity:M});l.promptLogin()}),[b,W,D,l,a,e,M,r,n]);return(0,p.useMemo)((()=>({state:{amountInCart:X,isHydrating:d,quantity:M,isMobileGame:k,isDigitalProduct:T,isPurchasable:H,isConfigurableProduct:R,retailerSku:E,membershipRequired:Z,maxQtyAllowed:V,purchasableQty:F,itemLimitReached:B,soldOut:Q,loginToPurchase:q,buttonDisabled:$,promptLogin:W,disableQuantity:K,buttonCopy:J,helperText:ee,displayPrice:te},actions:{setQuantity:O,handleDirectDownloadClick:re,handleAddToCart:ie}})),[X,d,M,k,T,H,R,E,Z,V,F,B,Q,q,$,W,K,J,ee,te,O,re,ie])},ue=r(97729),pe=r.n(ue),me=r(73932),ge=r(9539);const fe=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})),ye=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]})),be=d.default.div.withConfig({displayName:"Herostyles__GallerySide",componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),xe=d.default.div.withConfig({displayName:"Herostyles__ChokingHazard",componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;h3{margin-bottom:0;}"]),we=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})),je=(0,d.default)(me.D).withConfig({displayName:"Herostyles__StyledIconLink",componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),ve=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]})),Ce=(0,d.default)(n.He).withConfig({displayName:"Herostyles__MediaGalleryWrapper",componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),ze=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])})),Se=d.default.div.withConfig({displayName:"Herostyles__HeroInfo",componentId:"sc-1i9d4nw-9"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["h1{font-size:",";}display:grid;grid-template-columns:1fr;grid-auto-rows:min-content;padding:0 "," "," ",";a{text-decoration:none;width:100%;display:flex;}","{padding:0;}"],t.font.size.h1SDesktop,t.spacing[16],t.spacing[16],t.spacing[16],t.mediaQuery.tablet)})),Le=((0,d.default)(ge.I).withConfig({displayName:"Herostyles__WarningImg",componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,d.default)(ge.I).withConfig({displayName:"Herostyles__RequiredImage",componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),Pe=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})),_e=d.default.div.withConfig({displayName:"Herostyles__PlatformContainer",componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function Me(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,f.jsx)(K.Z,{href:t,children:(0,f.jsx)("a",{children:r})},t)}))}),[t,d]),y=Oe.has(t.topLevelCategory?.code),b=(0,p.useMemo)((()=>[t.productImage&&Me(Me({},t.productImage),{},{ariaLabel:`${t.name} key art`}),...t.productGallery??[]].filter((e=>["image","video"].includes(e?.resourceType))).map((e=>{let{publicId:t,resourceType:r,ariaLabel:i}=e;return"image"===r?(0,f.jsx)(G.K,{pad:y,assetPath:t,ariaLabel:i},t):"video"===r?(0,f.jsx)(X.V,{assetPath:t},t):void 0}))),[t,y]);return(0,f.jsx)(fe,{bgColor:t.backgroundColor?`#${t.backgroundColor}`:U.rG[m],children:(0,f.jsxs)(ye,{children:[(0,f.jsx)(we,{children:(0,f.jsx)(V.B,{currentPage:`/store/products/${t.urlKey}/`,children:g})}),(0,f.jsxs)(be,{children:[(0,f.jsxs)("div",{children:[(0,f.jsx)(Ce,{children:(0,f.jsx)(F.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:pe(),children:b})}),(0,f.jsx)(B.S,{size:8}),(0,f.jsx)(Pe,{children:(0,f.jsx)(B.S,{size:16})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(ze,{children:[t.platinumPoints&&(0,f.jsx)(Q.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,f.jsx)(Q.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,f.jsx)(Q.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,f.jsx)(Q.S,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(Pe,{children:(0,f.jsx)(n.bs,{rating:t.contentRating,descriptors:t.contentDescriptors})})}),(0,f.jsxs)(Pe,{children:[(0,f.jsx)(B.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(xe,{children:[(0,f.jsxs)(i.H,{variant:"h3",children:[d("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(a.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(n.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,f.jsxs)(Se,{children:[(0,f.jsxs)(_e,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsx)(Q.S,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,f.jsx)(q.P,{accentColor:U.rG[m],children:"GAMES"===t.topLevelCategory?.code?u:t.topLevelCategory?.label})]}),(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(i.H,{variant:"h1",large:!0,children:t.name}),t.prePurchase&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:4}),(0,f.jsxs)(a.T,{variant:"caption",children:[d("Release date:")," ",t.releaseDateDisplay]})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:24}),(0,f.jsxs)(ve,{children:[t.relatedProducts.length>0&&(0,f.jsx)("div",{children:(0,f.jsx)(je,{href:"#dlc",icon:Z,locale:c,children:d("View DLC")})}),t.demoNsuid&&(0,f.jsx)(n.g,{product:t})]}),(0,f.jsx)(B.S,{size:24})]}),(0,f.jsx)(Cr,{product:t,configurable:r,purchaseOptions:h}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:20}),(0,f.jsx)(K.Z,{href:t.baseSoftware[0].urlKey,children:(0,f.jsx)("a",{children:(0,f.jsxs)(l.G,{columns:"1fr 4fr",gap:$.d.spacing[8],alignItems:"center",children:[(0,f.jsx)(W.G,{column:"span 2",children:(0,f.jsx)(a.T,{variant:"legal",children:d("Required to play:")})}),(0,f.jsx)(Le,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,f.jsx)(a.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,f.jsxs)(Ne,{children:[(0,f.jsx)(B.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(xe,{children:[(0,f.jsxs)(i.H,{variant:"h3",children:[d("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(a.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(n.Ho,{data:t.topLegalDisclaimer}):null]})]})]})})};const ke=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 250 66",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"NsoHorizontalLogoIcon",...e,children:[(0,f.jsx)("polygon",{fill:"#E60012",points:"0 0 250 0 250 66 0 66"}),(0,f.jsx)("path",{d:"M29.7610313,24.0037881 C29.7610313,25.9086441 31.3184219,27.4528305 33.240125,27.4528305 C35.1618281,27.4528305 36.7192187,25.9086441 36.7192187,24.0037881 C36.7192187,22.0993814 35.1618281,20.5556441 33.240125,20.5556441 C31.3184219,20.5556441 29.7610313,22.0993814 29.7610313,24.0037881 Z M41.5762656,13 L33.4879844,13 C28.2480469,13 24,17.2108051 24,22.4052542 L24,40.2747881 C24,45.4687881 28.2480469,49.6791441 33.4879844,49.6791441 L41.5762656,49.6791441 C41.72625,49.6791441 41.8476875,49.558322 41.8476875,49.4105508 L41.8476875,13.2690424 C41.8476875,13.1203729 41.72625,13 41.5762656,13 Z M38.8643125,46.7223729 L33.4879844,46.7223729 C31.7497969,46.7223729 30.1167344,46.0517881 28.8883125,44.8341356 C27.6594375,43.6169322 26.983375,41.9977373 26.983375,40.2747881 L26.983375,22.4052542 C26.983375,20.6823051 27.6594375,19.0631102 28.8878594,17.8463559 C30.1162813,16.6282542 31.7497969,15.9572203 33.4879844,15.9572203 L38.8643125,15.9572203 L38.8643125,46.7223729 Z M51.5155625,13 L45.7907812,13 C45.6575625,13 45.5501719,13.1068983 45.5501719,13.2393983 L45.5501719,49.4105508 C45.5501719,49.558322 45.6711562,49.6791441 45.8206875,49.6791441 L51.5155625,49.6791441 C56.7559531,49.6791441 61.0035469,45.4687881 61.0035469,40.2747881 L61.0035469,22.4052542 C61.0035469,17.2108051 56.7559531,13 51.5155625,13 L51.5155625,13 Z M52.8708594,36.882339 C50.8041562,36.882339 49.1294062,35.221822 49.1294062,33.1736864 C49.1294062,31.1255508 50.8041562,29.4654831 52.8708594,29.4654831 C54.9366562,29.4654831 56.6118594,31.1255508 56.6118594,33.1736864 C56.6118594,35.221822 54.9366562,36.882339 52.8708594,36.882339 L52.8708594,36.882339 Z M127.711703,45.4099492 L127.711703,19.5724492 L122.177687,19.5724492 L122.177687,36.2378051 L109.202,19.5724492 L103.950734,19.5724492 L103.950734,45.4099492 L109.221484,45.4099492 L109.221484,28.1813559 L123.094812,45.4099492 L127.711703,45.4099492 Z M83.5388125,18.7343305 C75.761375,18.7343305 69.4565937,24.8935593 69.4565937,32.4909746 C69.4565937,40.088839 75.761375,46.2480678 83.5388125,46.2480678 C91.3171562,46.2480678 97.6219375,40.0883898 97.6219375,32.4909746 C97.6219375,24.8935593 91.3171562,18.7343305 83.5388125,18.7343305 Z M83.5388125,40.9902881 C78.9640625,40.9902881 75.2543281,37.1846186 75.2543281,32.4914237 C75.2543281,27.7977797 78.9640625,23.9930085 83.5388125,23.9930085 C88.1149219,23.9930085 91.8242031,27.7977797 91.8242031,32.4914237 C91.8242031,37.1846186 88.1149219,40.9902881 83.5388125,40.9902881 L83.5388125,40.9902881 Z M140.889031,19.5724492 L135.291125,19.5724492 L135.291125,45.4099492 L155.173344,45.4099492 L155.173344,40.3713559 L140.889484,40.3713559 L140.889484,19.5724492 L140.889031,19.5724492 Z M166.203312,19.5724492 L160.605406,19.5724492 L160.605406,45.4095 L166.203312,45.4095 L166.203312,19.5724492 Z M226.680094,24.6110424 L226.680094,19.5724492 L205.158016,19.5724492 L205.158016,45.4099492 L226.680094,45.4099492 L226.680094,40.3713559 L210.756375,40.3713559 L210.756375,34.5346186 L225.907516,34.5346186 L225.907516,29.7511441 L210.756375,29.7511441 L210.756375,24.6110424 L226.680094,24.6110424 Z M192.009234,36.2378051 L179.034,19.5724492 L173.782281,19.5724492 L173.782281,45.4099492 L179.053484,45.4099492 L179.053484,28.1813559 L192.926359,45.4099492 L197.542797,45.4099492 L197.542797,19.5724492 L192.008781,19.5724492 L192.008781,36.2378051 L192.009234,36.2378051 Z",id:"Shape",fill:"#FFFFFF"})]});ke.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},ke.defaultProps={color:"currentColor",size:24};const Te=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]}))})),He=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]})),Re=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 Ae=e=>{let{product:t}=e;const{text:r}=(0,o.i1)(),{locale:i}=(0,s.useRouter)(),l="/switch/online-service/";return t.nsoFeatures?(0,f.jsx)(n.$0,{constrained:!0,small:!0,children:(0,f.jsxs)(Te,{children:[(0,f.jsxs)(He,{children:[(0,f.jsx)(ke,{size:200}),(0,f.jsx)(Re,{children:r("Play online, access classic NES\u2122 and Super NES\u2122 games, and more with a Nintendo Switch Online membership.")}),(0,f.jsxs)("p",{children:[r("This game supports:"),t.nsoFeatures?.map((e=>(0,f.jsxs)("span",{children:["ONLINE_PLAY"==e.code&&(0,f.jsx)(ee.D,{href:l,children:r("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,f.jsx)(ee.D,{href:l,children:r("Save Data Cloud")},"save-data")]},e.code)))]}),(0,f.jsx)(te.B,{href:l,buttonWidth:"auto",locale:i,children:r("Learn more")})]}),(0,f.jsx)("div",{className:"storyAsset",children:(0,f.jsx)(ge.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,f.jsx)(f.Fragment,{})},Ee=r(61241),Ge=r(62274);const Xe=(0,d.default)(a.T).withConfig({displayName:"AgeGatestyles__AgeGateCopy",componentId:"sc-12oemti-0"})(["text-align:center;margin:1rem 0 2rem;"]),Ve=(0,d.default)(Ge.I).withConfig({displayName:"AgeGatestyles__NamedInput",componentId:"sc-12oemti-1"})(["input{padding:",";text-align:center;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),Fe=d.default.div.withConfig({displayName:"AgeGatestyles__FieldWrapper",componentId:"sc-12oemti-2"})(["display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:1rem;"]),Be=d.default.div.withConfig({displayName:"AgeGatestyles__AgeGateContainer",componentId:"sc-12oemti-3"})(["width:100%;height:90vh;display:flex;align-content:center;justify-content:center;"]),Qe=d.default.div.withConfig({displayName:"AgeGatestyles__AgeVerification",componentId:"sc-12oemti-4"})(["display:flex;align-items:center;justify-content:center;z-index:2;text-align:center;flex-direction:column;"]),qe=(0,d.default)(te.B).attrs((()=>({variant:"tertiary",size:"large"}))).withConfig({displayName:"AgeGatestyles__SubmitButton",componentId:"sc-12oemti-5"})(["width:10em;margin:1em;"]),Ze=d.default.form.withConfig({displayName:"AgeGatestyles__AgeForm",componentId:"sc-12oemti-6"})(["max-width:16rem;display:flex;flex-direction:column;margin:0 auto;align-items:center;text-align:left;"]),$e=(0,d.default)(i.H).attrs((()=>({variant:"h1",large:!0}))).withConfig({displayName:"AgeGatestyles__AgeGateTitle",componentId:"sc-12oemti-7"})([""]),[We,Ke,Ue]=["init","passed","failed"],Ye="month",Je="day",et="year";const tt=e=>{let{passed:t,failed:r,children:i,lang:l,country:a,minimumAge:n,onSuccess:s,onFailure:o}=e;const[d,c]=(0,p.useState)(r?Ue:t?Ke:We),[h,u]=(0,p.useState)({[Ye]:{hasError:null,errorMsg:""},[Je]:{hasError:null,errorMsg:""},[et]:{hasError:null,errorMsg:""}}),[m,g]=(0,p.useState)(null),[y,b]=(0,p.useState)(null),[x,w]=(0,p.useState)(!1),j=(0,p.useRef)(null),v=(0,p.useRef)(null),C=(0,p.useRef)(null),{text:z}=(0,Ee.u)({locale:l}),S=e=>{const t=Number(e.value),r=Number(e.dataset.min),i=Number(e.dataset.max),{valueMissing:l}=e.validity;return!(l||isNaN(t)||ti)};(0,p.useEffect)((()=>{const e=()=>{switch(y){case 2:return m<=29;case 4:case 6:case 9:case 11:return m<=30;default:return m<=31}};u((t=>({...t,[Je]:{hasError:!e(),errorMsg:e()?"":z("Invalid")}})))}),[y,m,z]);const L=e=>{let{target:t}=e;const{value:r,maxLength:i}=t;if(r.length===i)if(S(t))switch(u((e=>({...e,[t.name]:{hasError:!1,errorMsg:""}}))),t.name){case Ye:"us"===a?v.current.focus():C.current.focus();break;case Je:"us"===a?C.current.focus():j.current.focus()}else u((e=>({...e,[t.name]:{hasError:!0,errorMsg:""}})))},P=e=>{let{target:t}=e;const r=S(t),i=h[t.name]?.errorMsg||"Required";u((e=>({...e,[t.name]:{hasError:!r,errorMsg:r?"":z(i)}})))},N=(0,p.useCallback)((e=>{e.preventDefault();const t=function(e){let{year:t,month:r,day:i}=e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const a={year:l.getFullYear(),month:l.getMonth()+1,day:l.getDate()};let n=a.year-t;return a.month>r||a.month===r&&a.day>=i||n--,n}({year:Number(C.current.value),month:Number(j.current.value),day:Number(v.current.value)});t>=n?(c(Ke),s()):(c(Ue),o())}),[C,j,v,n,o,s]);(0,p.useEffect)((()=>{c(r?Ue:t?Ke:We)}),[t,r]),(0,p.useEffect)((()=>{const e=Object.values(h).map((e=>e.hasError));w(!e.includes(null)&&!e.includes(!0))}),[h]);const _=(0,f.jsx)(Ve,{ref:j,name:Ye,placeholder:"MM",type:"text",required:!0,"data-min":"1","data-max":"12",maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:z("Month"),inputMode:"numeric",errorMessage:h[Ye].errorMsg,onChange:L,onBlur:e=>{P(e),b(Number(e.target.value))},hasError:h[Ye].hasError}),I=(0,f.jsx)(Ve,{ref:v,name:Je,placeholder:"DD",type:"text",required:!0,"data-min":"1","data-max":2===y?"29":"31",maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:z("Day"),inputMode:"numeric",errorMessage:h[Je].errorMsg,onChange:L,onBlur:e=>{P(e),g(Number(e.target.value))},hasError:h[Je].hasError});return d==We?(0,f.jsx)(Be,{children:(0,f.jsxs)(Qe,{children:[(0,f.jsx)($e,{children:z("Age verification")}),(0,f.jsx)(Xe,{children:z("Please verify your age to access the following content.")}),(0,f.jsxs)(Ze,{name:"ageForm",onSubmit:N,noValidate:!0,children:[(0,f.jsxs)(Fe,{children:["us"==a?_:I,"us"==a?I:_,(0,f.jsx)(Ve,{ref:C,name:et,placeholder:"YYYY",type:"text",required:!0,"data-min":"1889","data-max":(new Date).getFullYear(),maxLength:"4",autoComplete:"off",pattern:"\\d{4}",label:z("Year"),inputMode:"numeric",errorMessage:h[et].errorMsg,onChange:L,onBlur:P,hasError:h[et].hasError})]}),(0,f.jsx)(qe,{type:"submit",name:"submit","data-testid":"submit",disabled:!x,children:z("Continue")})]})]})}):d==Ue?(0,f.jsx)(Be,{children:(0,f.jsxs)(Qe,{children:[(0,f.jsx)($e,{children:z("Age verification")}),(0,f.jsx)(Xe,{children:z("Sorry, you are not eligible to view or download this content at this time.")})]})}):i};tt.propTypes={children:g().node,minimumAge:g().number,passed:g().bool,failed:g().bool,onSuccess:g().func,onFailure:g().func,lang:g().oneOf(["en","es","fr","pt"]),country:g().oneOf(["us","ca","mx","br","co","cl","pe","ar"])},tt.defaultProps={passed:!1,failed:!1,country:"us",lang:"en",minimumAge:17,onSuccess:()=>{},onFailure:()=>{}};var rt=tt,it=r(79102),lt=r(86887),at=r(77064),nt=r(72354),st=r(12617);const ot=(0,d.default)(n.$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]})),dt=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)})),ct=d.default.div.withConfig({displayName:"ProductDetailstyles__PropSixFive",componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),ht=d.default.div.withConfig({displayName:"ProductDetailstyles__DescrImageContainer",componentId:"sc-4l5ex7-3"})(["display:block;justify-content:center;img{max-height:24em;object-fit:contain;}"]),ut=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)})),pt=d.default.section.withConfig({displayName:"ProductDetailstyles__AgeGateLoadingContainer",componentId:"sc-4l5ex7-5"})(["padding:1rem;"]);var mt=r(11413);const gt=1800,ft=new o.Fv("nintendo.ageGate.isOldEnough",gt);function yt(e){let{children:t,product:r,configurable:l,merchBanner:d,showReadMore:c,bestSellers:h}=e;const{text:u,date:m,DateFormat:g}=(0,o.i1)(),{locale:y}=(0,s.useRouter)(),b=(0,o.ON)(),x=r.relatedProducts?.length>0,w=(0,o.ZQ)(),{0:j,1:v}=(0,p.useState)(!1),C=r.ageGate||r.contentRating?.requiresAgeGate,z=ft.get(),[S,L]=y.split("-"),P=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,N=r.relatedArticles,_=(0,p.useMemo)((()=>{const e=[];return U.wh.has(y)&&(r.upsellProducts?.length>0&&e.push({heading:u("Related items to explore"),products:r.upsellProducts.slice(0,16)}),r.crossSellProducts?.length>0&&e.push({heading:u("More like this"),products:r.crossSellProducts.slice(0,16)}),h?.length>0&&e.push({heading:u("Digital best sellers"),products:h.map(mt.Z)})),e}),[r.upsellProducts,r.crossSellProducts,h,u,y]);return(0,st.r)(),(0,p.useEffect)((()=>{w.addProduct&&!j&&(v(!0),r.edition?w.addProduct(r):w.addProduct(l||r))}),[w,r,l,j]),C&&b.loading?(0,f.jsx)(pt,{}):(0,f.jsxs)(rt,{passed:"true"===z&&!b.data?.isChild||!C,failed:(b.data?.isChild||"false"===z)&&C,onSuccess:()=>ft.set("true",gt),onFailure:()=>ft.set("false",gt),lang:S,country:L,children:[(0,f.jsx)(De,{product:r,configurable:l}),c&&(0,f.jsx)(ot,{constrained:!0,small:!0,children:(0,f.jsxs)(ut,{children:[(0,f.jsxs)("div",{children:[r.headline&&(0,f.jsx)(i.H,{children:r.headline}),(0,f.jsx)(_r,{maxLines:10,description:r.description,category:r.topLevelCategory}),r.officialSite&&(0,f.jsx)("a",{href:P,target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(te.B,{children:u("Explore this game's official website")})})]}),(r.descriptionImage||r.productImage)&&(0,f.jsx)(ht,{children:(0,f.jsx)("div",{children:(0,f.jsx)(ge.I,{assetPath:r.descriptionImage?r.descriptionImage.publicId:r.productImage.publicId,alt:r.name})})})]})}),d?.asset?.primary?.assetPath?(0,f.jsx)(n.$0,{constrained:!0,small:!0,background:d.background?.backgroundType,children:(0,f.jsx)(n.tm,{content:{assetPath:d.asset?.primary?.assetPath,assetPathAlt:d.asset?.alt,cta:d.ctaList[0],description:d.description,heading:d.heading,modifiers:d.modifiers}})}):null,t,N?.length>0&&y===nt.ZW&&(0,f.jsxs)(n.$0,{constrained:!0,small:!0,children:[(0,f.jsx)(D.H,{ctaText:u("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:it.Z,ctaTarget:"_blank",children:u("Related news and events")}),(0,f.jsx)(B.S,{size:16}),(0,f.jsx)(k.R,{contained:!0,children:N.map((e=>{let{id:t,url:r,title:i,media:l,publishDate:a}=e;return(0,f.jsx)(lt.N,{articleLink:r,articleTitle:i,artPath:l?.publicId,publishDate:m(a,{format:g.SHORT}),readMoreLabel:u("Read more"),size:"small"},t)}))})]}),(0,f.jsx)(O,{product:r,locale:y}),l?.sizeChart&&(0,f.jsxs)(n.$0,{id:"sizing",constrained:!0,background:$.d.color.lightGray4,small:!0,children:[(0,f.jsx)("h2",{children:u("Size chart")}),(0,f.jsx)(Xr,{product:l})]}),(0,f.jsx)(Ae,{product:r}),x?(0,f.jsx)(n.$0,{id:"dlc",small:!0,children:(0,f.jsx)(A,{product:r,locale:y})}):null,(0,f.jsx)(n.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,f.jsx)(n.$3,{collections:_})}),(0,f.jsx)(n.HU,{currentSku:r.edition?r.sku:l?.sku||r.sku,small:!0}),(0,f.jsxs)(n.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,f.jsx)(a.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,f.jsx)(dt,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.displayProp65&&(0,f.jsxs)(dt,{children:[(0,f.jsxs)(ct,{children:[(0,f.jsx)(at.Z,{size:16}),(0,f.jsx)(i.H,{variant:"h3",children:u("Warning:")})," ",u("Cancer and reproductive harm.")]}),(0,f.jsx)(ee.D,{href:"https://www.p65warnings.ca.gov/",children:(0,f.jsx)("a",{children:"p65warnings.ca.gov"})})]})]})]})}var bt=r(49446);const xt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"GroupIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M9 13c0 3.8 3.1 6.9 6.9 6.9 3.8 0 6.9-3.1 6.9-6.9 0-3.8-3.1-6.9-6.9-6.9C12.1 6.1 9 9.2 9 13z"}),(0,f.jsx)("path",{fill:e.color,d:"M24.3 13c0 .7-.1 1.4-.3 2h.3c3.2 0 5.8-2.6 5.8-5.9 0-3.3-2.6-5.9-5.8-5.9-1.8 0-3.5.9-4.5 2.3 2.7 1.4 4.5 4.2 4.5 7.5zM7.4 15h.3c-.2-.6-.3-1.3-.3-2 0-3.3 1.8-6.1 4.5-7.5-1.1-1.4-2.7-2.3-4.5-2.3-3.2 0-5.8 2.6-5.8 5.9 0 3.3 2.6 5.9 5.8 5.9zm5.1 5.7c-1.8-.8-3.2-2.2-4.1-3.9-.3 0-.6-.1-1-.1C3.3 16.8 0 19.6 0 23h8.2c1.2-1 2.6-1.8 4.3-2.3zm11.8-3.9c-.3 0-.7 0-1 .1-.9 1.7-2.3 3.1-4.1 3.9 1.6.5 3.1 1.3 4.2 2.3h8.2c.2-3.5-3.2-6.3-7.3-6.3zm-8.4 5.1c-4.8 0-8.7 3-9 6.7h18c-.4-3.8-4.3-6.7-9-6.7z"})]});xt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},xt.defaultProps={color:"currentColor",size:24};var wt=r(21203);const jt=e=>(0,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"BuildingIcon",...e,children:(0,f.jsx)("path",{d:"M28.9 2.1C28.9 1 28 0 26.8 0H5.6C4.4 0 3.5 1 3.5 2.1v29.8H12v-6.4h7.4v6.4h9.5V2.1zm-19 25.6H6.7v-3.2h3.2v3.2zm0-5.4H6.7v-3.2h3.2v3.2zm0-5.3H6.7v-3.2h3.2V17zm0-5.3H6.7V8.5h3.2v3.2zm0-5.3H6.7V3.2h3.2v3.2zm5.2 15.9H12v-3.2h3.2v3.2zm0-5.3H12v-3.2h3.2V17zm0-5.3H12V8.5h3.2v3.2zm0-5.3H12V3.2h3.2v3.2zm5.3 15.9h-3.2v-3.2h3.2v3.2zm0-5.3h-3.2v-3.2h3.2V17zm0-5.3h-3.2V8.5h3.2v3.2zm0-5.3h-3.2V3.2h3.2v3.2zm5.3 21.3h-3.2v-3.2h3.2v3.2zm0-5.4h-3.2v-3.2h3.2v3.2zm0-5.3h-3.2v-3.2h3.2V17zm0-5.3h-3.2V8.5h3.2v3.2zm0-5.3h-3.2V3.2h3.2v3.2z",fillRule:"evenodd",clipRule:"evenodd",fill:e.color})});jt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},jt.defaultProps={color:"currentColor",size:24};var vt=r(25338);const Ct=e=>(0,f.jsx)("svg",{"data-name":"Switch lite",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"SwitchLiteIcon",...e,children:(0,f.jsx)("path",{d:"M28.737 9.41H3.262a3.218 3.218 0 0 0-3.218 3.218v7.164a3.218 3.218 0 0 0 3.218 3.218h25.475a3.218 3.218 0 0 0 3.219-3.218v-7.164a3.218 3.218 0 0 0-3.219-3.218zm.112 2.173a.563.563 0 1 1-.563.563.563.563 0 0 1 .563-.563zm0 2.32a.563.563 0 1 1-.563.564.563.563 0 0 1 .563-.563zM3.146 12.106a1.2 1.2 0 1 1-1.2 1.201 1.2 1.2 0 0 1 1.2-1.2zm1.437 5.85a.125.125 0 0 1-.125.125h-.731a.133.133 0 0 0-.133.134v.73a.126.126 0 0 1-.125.126h-.636a.125.125 0 0 1-.126-.126v-.73a.133.133 0 0 0-.132-.134h-.732a.125.125 0 0 1-.125-.125v-.636a.125.125 0 0 1 .125-.125h.732a.133.133 0 0 0 .132-.133v-.73a.125.125 0 0 1 .126-.126h.636a.126.126 0 0 1 .125.125v.731a.133.133 0 0 0 .133.133h.73a.125.125 0 0 1 .126.125zm1.674 3.654h19.497V10.82H6.257zm20.807-8.302a.563.563 0 1 1 .563.563.563.563 0 0 1-.563-.563zm1.778 5.532a1.2 1.2 0 1 1 1.2-1.2 1.2 1.2 0 0 1-1.2 1.2zm1.23-4.97a.563.563 0 1 1 .562-.562.563.563 0 0 1-.563.563z",fill:e.color,fillRule:"evenodd"})});Ct.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Ct.defaultProps={color:"currentColor",size:24};const zt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"StorageIcon",...e,children:[(0,f.jsx)("ellipse",{cx:16,cy:4.234,rx:13,ry:4.234,fillRule:"evenodd",clipRule:"evenodd",fill:e.color}),(0,f.jsx)("path",{fill:e.color,d:"M3 15.71v5.293c0 .408.239.781.616.935C7.085 23.35 11.362 24.192 16 24.192s8.915-.84 12.384-2.254c.377-.154.616-.527.616-.935V15.71c-3.573 1.57-8.084 2.515-13 2.515S6.573 17.28 3 15.71z"}),(0,f.jsx)("path",{fill:e.color,d:"M3 7.852v5.292c0 .408.239.782.616.935 3.469 1.414 7.746 2.254 12.384 2.254s8.915-.84 12.384-2.254c.377-.153.616-.527.616-.935V7.852c-3.573 1.57-8.084 2.514-13 2.514S6.573 9.422 3 7.852zm26 15.767c-3.573 1.57-8.084 2.514-13 2.514S6.573 25.19 3 23.62v4.147C3 30.104 8.82 32 16 32s13-1.896 13-4.234"})]});zt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},zt.defaultProps={color:"currentColor",size:24};const St=e=>(0,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"GlobeIcon",...e,children:(0,f.jsx)("path",{d:"M16 0C11.7 0 7.7 1.7 4.7 4.7S0 11.7 0 16c0 4.3 1.7 8.3 4.7 11.3S11.7 32 16 32c8.8 0 16-7.2 16-16S24.8 0 16 0zm-5.2 4c-.5.9-1 1.9-1.4 3-.6-.2-1.3-.5-2-.8 1-1 2.2-1.7 3.4-2.2zM5.5 8.1c1 .5 2.1 1 3.2 1.4-.4 1.6-.6 3.4-.7 5.2H3c.2-2.4 1.1-4.6 2.5-6.6zM3 17.3h5.1c.1 1.8.3 3.5.7 5.2-1.1.4-2.2.8-3.2 1.4-1.5-2-2.4-4.2-2.6-6.6zm4.4 8.5c.7-.3 1.4-.6 2.1-.8.4 1.1.9 2.1 1.4 3-1.3-.5-2.5-1.2-3.5-2.2zm7.3 2.8c-1-.8-2-2.3-2.7-4.3.9-.2 1.8-.3 2.7-.4v4.7zm0-7.3c-1.1.1-2.3.2-3.4.5-.3-1.4-.5-2.9-.6-4.5h4v4zm0-6.6h-4c.1-1.6.3-3.1.6-4.5 1.1.2 2.3.4 3.4.5v4zm0-6.7c-1 0-1.8-.1-2.7-.3.7-2 1.7-3.5 2.7-4.2V8zM29 14.7h-5.1c-.1-1.8-.3-3.5-.7-5.2 1.1-.4 2.2-.8 3.2-1.4 1.5 2 2.4 4.2 2.6 6.6zm-4.4-8.5c-.7.3-1.4.6-2.1.8-.4-1.1-.9-2.2-1.4-3.1 1.3.6 2.5 1.3 3.5 2.3zm-7.3-2.7c1 .8 1.9 2.3 2.6 4.2-.8.2-1.7.3-2.6.3V3.5zm0 7.2c1.1-.1 2.3-.2 3.4-.4.3 1.4.5 2.9.6 4.5h-3.9v-4.1zm0 17.8V24c.9.1 1.8.2 2.6.4-.6 1.8-1.6 3.4-2.6 4.1zm0-7.2v-4h3.9c-.1 1.6-.3 3.1-.6 4.5-1-.2-2.1-.4-3.3-.5zm3.8 6.8c.5-.9 1-1.9 1.4-3.1.7.2 1.4.5 2.1.9-1 .9-2.2 1.6-3.5 2.2zm5.4-4.2c-1-.5-2.1-1-3.2-1.4.4-1.6.6-3.4.7-5.1h5c-.2 2.3-1.1 4.5-2.5 6.5z",fillRule:"evenodd",clipRule:"evenodd",fill:e.color})});St.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},St.defaultProps={color:"currentColor",size:24};const Lt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"SkuIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M11.48 23.31h2.14l.75-4.26h2.13l-.75 4.26h2.13l.75-4.26h4.27l.38-2.13H19l.38-2.14h4.26l.36-2.13h-4.24l.76-4.26h-2.14l-.75 4.26H15.5l.75-4.26h-2.13l-.76 4.26H9.1l-.38 2.13H13l-.38 2.14H8.34L8 19.05h4.26zm3.64-8.53h2.13l-.37 2.14h-2.14z"}),(0,f.jsx)("path",{fill:e.color,d:"M29.87 3.07H2.13A2.13 2.13 0 0 0 0 5.2v21.3a2.13 2.13 0 0 0 2.13 2.13h27.74A2.13 2.13 0 0 0 32 26.5V5.2a2.13 2.13 0 0 0-2.13-2.13zM28.8 25.44H3.2V6.26h25.6z"})]});Lt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Lt.defaultProps={color:"currentColor",size:24};const Pt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"BarcodeIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M16 8.5h4.3v13.9H16zm8.5 0h2.1v14.9h-2.1zm-3.2 0h2.1v13.9h-2.1zm-8.5 0h2.1v13.9h-2.1z"}),(0,f.jsx)("path",{fill:e.color,d:"M29.9 3.2H2.1C1 3.2 0 4.2 0 5.3v21.3c0 1.2 1 2.1 2.1 2.1h27.7c1.2 0 2.1-1 2.1-2.1V5.3c.1-1.1-.9-2.1-2-2.1zm-1.1 22.4H3.2V6.4h25.6v19.2z"}),(0,f.jsx)("path",{fill:e.color,d:"M5.3 8.5h2.1v14.9H5.3zm3.2 0h3.2v13.9H8.5z"})]});Pt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Pt.defaultProps={color:"currentColor",size:24};var Nt=r(2418);const _t=d.default.div.withConfig({displayName:"ProductInfostyles__InfoSection",componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),It=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)})),Mt=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]})),Ot=(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:r,descriptions:l}=e;return(0,f.jsxs)(It,{children:[t,(0,f.jsx)(i.H,{variant:"h3",children:r}),(0,f.jsx)(Mt,{children:l.map((e=>(0,f.jsx)("div",{children:e.href?(0,f.jsx)(ee.D,{children:(0,f.jsx)("a",{href:e.href,children:e.label})}):e.label},e.label)))})]})}),Dt=(e,t,r)=>{let i=[];return t.playersMax&&i.push(kt(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&i.push(kt(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&i.push(kt(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),i},kt=(e,t,r,i)=>{const{searchPrefix:l,text:a}=i,n=parseInt(r||t);return{href:`${l}?cat=gme&f=playerCount&playerCount=${1===n?a("Single Player"):n>3?"4+":`${n}+`}`,label:e+" ("+(t!=r?t+"-":"")+(r||"")+")"}};var Tt=e=>{let{product:t}=e;const{locale:r}=(0,s.useRouter)(),{date:i,DateFormat:a,text:n}=(0,o.i1)(),d=(0,Nt.m7)(r),c=t.genres?.map((e=>({href:`${d}?cat=gme&f=genres&genres=${e.label}`,label:e.label}))),h=t.playModes?.map((e=>n(e.label))),u=Dt(d,t,n);return(0,f.jsx)(_t,{children:(0,f.jsxs)(l.G,{columns:1,gap:0,children:[t.releaseDate&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(bt.Z,{size:28}),heading:n("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:i(t.releaseDate,{format:a.LONG})}]}),t.playersMax&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(xt,{size:28}),heading:n("No. of players"),descriptions:u}),t.genres&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(wt.Z,{size:28}),heading:n("Genre"),descriptions:c}),t.softwarePublisher&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(jt,{size:28}),heading:n("Publisher"),descriptions:[{href:`${d}?cat=gme&f=softwarePublisher&softwarePublisher=${t.softwarePublisher}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(vt.Z,{size:28}),heading:n("ESRB rating"),descriptions:[{href:`${d}?cat=gme&sort=df&f=esrbRating&esrbRating=${t.contentRating.code}`,label:t.contentRating.label}]}),t.playModes&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(Ct,{size:28}),heading:n("Supported play modes"),descriptions:[{label:h.join(", ")}]}),t.romFileSize&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(zt,{size:28}),heading:n("Game file size"),descriptions:[{label:(0,Nt.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(St,{size:28}),heading:n("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(n).join(", ")}]}),t.countryOfOrigin&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(St,{size:28}),heading:n("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(jt,{size:28}),heading:n("Manufacturer"),descriptions:[{href:`${d}?q=${t.manufacturer}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!t.nsuid&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(Lt,{size:28}),heading:n("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,f.jsx)(Ot,{icon:(0,f.jsx)(Pt,{size:28}),heading:n("UPC"),descriptions:[{label:t.upc}]})]})})},Ht=r(8755),Rt=r(86241),At=r(80149),Et=r(38526),Gt=r(7162),Xt=r(7141),Vt=r(1205),Ft=r(31826),Bt=r(4633),Qt=r(8711),qt=r(80963);var Zt=(e,t,r,i)=>{const{actions:{openDrawer:l,closeDrawer:a,addOrUpdateDrawer:n,removeDrawer:s}}=(0,Ft.e)(),o=(0,p.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,{viewPortTopOffset:n=0}=i||{},s=r?.top<=0+n,o=t?.dataset?.drawerId;o&&(s?l(o):a(o))}))}),[l,a,i]);(0,p.useEffect)((()=>{e.forEach((e=>{n(e,r[e].drawer)}))}),[n,e,r]),(0,p.useEffect)((()=>()=>{e.forEach((e=>{s(e)}))}),[s,e]),(0,p.useEffect)((()=>{const{viewPortTopOffset:r=0}=i||{},l=new IntersectionObserver(o,{rootMargin:`-${r}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&l.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&l.unobserve(t[e].ref.current)}))}}),[o,e,t,i])},$t=r(96827);const Wt="64px",Kt="110px",Ut="14px",Yt="20px",Jt=d.default.div.withConfig({displayName:"StickyCtastyles__Container",componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;background-color:",";"],(e=>{let{theme:t}=e;return t.color.lightGray3})),er=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;}"],Kt,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),$t.As,$t.oQ,Wt),tr=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})),rr=(0,d.default)(i.H).withConfig({displayName:"StickyCtastyles__ProductName",componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),ir=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})),lr=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;"]),ar=d.default.div.withConfig({displayName:"StickyCtastyles__Pricing",componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{visible:t}=e;return t?"visible":"hidden"})),nr=(0,d.default)(Rt.S).withConfig({displayName:"StickyCtastyles__PricingSkeleton",componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),sr=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"})),or=(0,d.default)(te.B).withConfig({displayName:"StickyCtastyles__Button",componentId:"sc-66y51m-9"})(["width:",";"],(e=>{let{theme:t}=e;return t.pxToRem(250)})),dr=(0,d.default)(l.G).withConfig({displayName:"StickyCtastyles__Grid",componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],Ut,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Yt),cr=(0,d.default)(At.Z).withConfig({displayName:"StickyCtastyles__MyNintendoPlatinumCoinIcon",componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],Ut,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Yt),hr=(0,d.default)(i.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 ur=r(3014);var pr=e=>{let{product:t,configurable:r}=e;const{topLevelCategory:i}=t;if("GAMES"===i?.code){if("MOBILE"==t.nsuid)return(0,f.jsx)(ur.uP,{product:t});if(r?.variants?.length>3)return(0,f.jsx)(ur.Z5,{configurable:r});if(r?.variants?.length>0)return(0,f.jsx)(ur.Kx,{product:t,configurable:r})}return r?.variants?.length>0?(0,f.jsx)(ur.ig,{configurable:r}):null},mr=r(85941);function gr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}const fr=(e,t,r)=>{if(e<(new Date).toJSON())return null;const i="fr-ca"===t,l={year:"2-digit",month:"2-digit",day:"2-digit"};let a;a=i?"es-MX":"en-ca"===t?"en-US":(0,mr.ZP)(t);try{const n=new Date(e),s=n.toLocaleDateString(a,function(e){for(var t=1;t({id:jr,drawer:{height:"325px",target:Bt.zO.FLYOUT,bgColor:b.color.lightGray3,enableScrim:!0,content:(0,f.jsx)(n.ZL,{product:t,quantity:v,onClose:()=>u(jr)})}})),[t,v,b,u]),U=(0,p.useCallback)((async()=>{C(S);const e=(await Q())?.data?.cart?.id;e&&h(jr)}),[S,Q,h]),Y=(0,p.useMemo)((()=>({viewPortTopOffset:j?Qt.NAV_HEIGHT.DESKTOP:Qt.NAV_HEIGHT.MOBILE})),[j]),J=(0,p.useMemo)((()=>({[wr]:{ref:y}})),[]),ee=(0,p.useMemo)((()=>({[wr]:{drawer:{height:j?Wt:Kt,target:Bt.zO.TOP_DRAWER,content:(0,f.jsx)(Vr,{product:t,configurable:r,purchaseOptions:br(br({},c),{},{actions:br(br({},c.actions),{},{handleAddToCart:U})})})}}})),[t,r,j,c,U]);Zt(vr,J,ee,Y),(0,p.useEffect)((()=>{m(K.id,K.drawer)}),[K,m]),(0,p.useEffect)((()=>{q(1)}),[q,z]),(0,p.useEffect)((()=>()=>{g(jr)}),[g]);const se=(0,p.useMemo)((()=>$?.discountPriceEnd?fr($.discountPriceEnd,x,w):null),[$,x,w]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(pr,{product:t,configurable:r}),(0,f.jsx)(B.S,{size:24}),se&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(ce,{backgroundColor:b.color.primary,foregroundColor:"#fff",children:se}),(0,f.jsx)(B.S,{size:8})]}),!P&&(0,f.jsxs)(ie,{children:[L?(0,f.jsx)(Rt.S,{width:"50%"}):Z?(0,f.jsxs)(l.G,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(At.Z,{size:24}),(0,f.jsxs)(i.H,{variant:"h2",children:[Z," ",w("Platinum Points")]})]}):(0,f.jsx)(Et.P,{regPrice:V.regPrice,size:"large",salePrice:V.salePrice}),(0,n.Yj)(t)&&(0,f.jsx)(xr,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),$?.goldPoints?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:24}),L?(0,f.jsx)(Rt.S,{width:"25%"}):(0,f.jsxs)(le,{children:[(0,f.jsx)("div",{children:(0,f.jsx)(Gt.Z,{size:24})}),(0,f.jsx)(a.T,{variant:"legal",children:w("Eligible for up to {0} Gold Points",{args:[(0,f.jsx)(ae,{children:$?.goldPoints},"goldPoints")]})})]})]}):null,(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(l.G,{columns:"1fr 3fr",alignItems:"center",children:N?(0,f.jsx)(W.G,{column:"span 2",children:_&&(0,f.jsx)(te.B,{onClick:F,icon:R||A?"":Xt.Z,isLoading:L,buttonWidth:"full",disabled:R,size:"large",href:R?null:$?.purchaseUrl,children:"string"===typeof G?w(G):G})}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(re,{quantity:S,max:E?1:D,min:1,onChange:q,disabled:R}),(0,f.jsx)(de,{onClick:U,isLoading:L,disabled:R,icon:R||A?"":Vt.Z,buttonWidth:"full",size:"large",children:"string"===typeof G?w(G):G})]})}),(0,f.jsx)("span",{ref:y,"data-drawer-id":wr}),(k||X)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:20}),t.voucherNsuid&&(0,f.jsx)(n.lE,{nsuid:t.nsuid}),(0,f.jsxs)(oe,{variant:"legal",children:[k&&!T&&!H&&!M&&!N&&(O>1||0===D)&&(0,f.jsx)(ne,{isLoading:L,children:w("Item limit reached")}),(0,f.jsx)("span",{"data-testid":"helperText",children:"string"===typeof X?w(X):X})]})]}),I?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(n.Qc,{sku:I,name:t.name})]}):null]})}var zr=r(59124),Sr=r(1505);const Lr=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]})),Pr=(0,d.default)(me.D).withConfig({displayName:"ReadMorestyles__StyledIconLink",componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Nr=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{@supports (-webkit-touch-callout:none){max-height:",";}-webkit-line-clamp:",";-webkit-box-orient:vertical;}> p{margin-bottom:0;}margin-bottom:",";}"],(e=>{let{isExpanded:t,maxLines:r,lineHeight:i}=e;return t?"unset":r*Math.ceil(parseFloat(i))+"px"}),(e=>{let{isExpanded:t,maxLines:r}=e;return t?9999:r}),(e=>{let{theme:t}=e;return t.spacing[8]}));var _r=function(e){let{maxLines:t,description:r,category:i}=e;const{text:l}=(0,o.i1)(),{0:s,1:d}=(0,p.useState)(0),{0:c,1:h}=(0,p.useState)(0),{0:u,1:m}=(0,p.useState)(0),{0:g,1:y}=(0,p.useState)(!1),{0:b,1:x}=(0,p.useState)(!1),w="GAMES"===i?.code,j=(0,p.useRef)(null),v=(0,p.useRef)(null);return(0,p.useEffect)((()=>{x(!1)}),[r]),(0,p.useEffect)((()=>{v.current?.childNodes?.forEach((e=>{e.offsetHeight&&h((t=>t+e.offsetHeight))}))}),[v]),(0,p.useEffect)((()=>{const e=v.current?.firstChild;v.current?.classList.add("clamp"),e&&(m(getComputedStyle(e).lineHeight),y(c>Math.ceil(parseFloat(u)*t)))}),[u,t,c]),(0,f.jsxs)(Lr,{ref:j,children:[(0,f.jsx)(Nr,{isExpanded:b,maxLines:t,lineHeight:u,children:(0,f.jsx)(n.Ho,{ref:v,data:r})}),g&&(0,f.jsx)(Pr,{icon:b?zr.Z:Sr.Z,onClick:()=>{x((e=>(e?window.scrollTo(0,s):d(window.scrollY),!e)))},children:l(b?"Read less":"Read more")}),w&&(0,f.jsx)(a.T,{variant:"legal",children:l("Software description provided by the publisher.")})]})},Ir=r(60396),Mr=r(5167);const Or=d.default.div.withConfig({displayName:"SelectAttributesstyles__StyledAttributes",componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),Dr=(0,d.default)(Mr.Z).withConfig({displayName:"SelectAttributesstyles__StyledTileLink",componentId:"sc-1hh5k55-1"})(["",""],(e=>{let{theme:t,isActive:r,swatch:i,disabled:l}=e;return(0,d.css)(["flex-basis:50%;padding:0;box-sizing:border-box;background:",";background-size:cover;background-repeat:no-repeat;border:"," solid ",";p{flex-basis:52px;font-size:",";color:",";}transition:",";&:hover{border:"," solid ",";p{color:",";}}opacity:",";filter:",";"],l&&!i?t.color.lightGray2:i?"url("+i+")":r?t.color.primary:t.color.white,t.spacing[4],r?t.color.primary:l?t.color.lightGray2:t.color.white,(e=>{let{theme:t}=e;return t.spacing[16]}),l?t.color.darkGray3:r?t.color.white:t.color.darkGray2,(e=>{let{theme:t}=e;return t.movement.duration+" "+t.movement.easing}),t.spacing[4],t.color.primary,r&&!l?t.color.white:t.color.darkGray2,l&&i?"60%":"initial",l?"grayscale(60%)":"")}));function kr(e){let{variant:t,swatch:r,active:i}=e;const{query:l}=(0,s.useRouter)(),a=l?.[Ir.ANALYTICS_PARAM],n=a?{[Ir.ANALYTICS_PARAM]:a}:{},o=t.size||t.shoeSize||t.capacity;return(0,f.jsx)(Dr,{href:(0,Nt.mq)("/store/products/"+t.urlKey,n),isActive:i,swatch:r,disabled:"OUT_OF_STOCK"===t.stockStatus,children:o?.label})}const Tr=new Set(["color"]);var Hr=function(e){let{product:t}=e;const{query:r}=(0,s.useRouter)(),[i]=t.configurableOptions??[],l=i.attributeCode,a=i.values.reduce(((e,t)=>(e.set(t.code,t.swatch||t.label),e)),new Map);return(0,f.jsx)(Or,{children:t.variants.map((e=>{let{product:t}=e;const i=Tr.has(l)?((n=a.get(t[l]?.code))&&new URL(`/media/attribute/swatch/swatch_image/30x20${n}`,"https://store.nintendo.com/"))?.toString():null;var n;return(0,f.jsx)(kr,{variant:t,swatch:i,active:t.urlKey==r.slug},t.name)}))})};const Rr=(0,d.default)(n.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)})),Ar=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]}`})),Er=d.default.div.withConfig({displayName:"SizeChartstyles__ImageContainer",componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),Gr=(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 Xr=e=>{let{product:t}=e;const r=Gr[t.sizeChart.code],{text:i}=(0,o.i1)();return(0,f.jsxs)(Rr,{children:[(0,f.jsx)(Er,{children:(0,f.jsx)(ge.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,f.jsx)(Ar,{children:r?(0,f.jsxs)("tbody",{children:[(0,f.jsxs)("tr",{children:[(0,f.jsx)("th",{children:i("Size")}),(0,f.jsx)("th",{children:i("pants"===r?.type?"Waist":"Width")}),(0,f.jsx)("th",{children:i("pants"===r?.type?"Inseam":"Length")})]}),r.sizes.map((e=>(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{children:i(e.label)}),(0,f.jsxs)("td",{children:[e.width,'"']}),(0,f.jsxs)("td",{children:[e.length,'"']})]},e.label)))]}):(0,f.jsxs)("p",{children:[(0,f.jsx)(at.Z,{size:16})," Size chart unavailable."]})})]})};var Vr=e=>{const{product:t,configurable:r,purchaseOptions:i}=e,{text:l}=(0,o.i1)(),{query:a}=(0,s.useRouter)(),{name:n,eshopDetails:d,topLevelCategory:c,platinumPoints:h}=t,{variants:u}=r||{},{state:{isHydrating:m,isDigitalProduct:g,isPurchasable:y,isMobileGame:b,buttonDisabled:x,promptLogin:w,buttonCopy:j,displayPrice:v},actions:{handleDirectDownloadClick:C,handleAddToCart:z}}=i,S=t?.variants?.length>0,L=r?.variants.length>0,P=(0,p.useMemo)((()=>L?u?.find((e=>e?.product?.urlKey===a.slug)):{product:t}),[u,a,L,t]),N=P?.product.size?l("Size"):null,_=P?.attributes?.[0].label,I=N?`${N}: ${_}`:_,M=!P,O="GAMES"===c?.code?l(g?"Digital":"Physical"):M?l("Starting at"):L?I:"",D=(0,p.useMemo)((()=>S?()=>{window.scrollTo({top:0,behavior:"smooth"})}:z),[S,z]);return(0,f.jsx)(Jt,{children:(0,f.jsxs)(er,{children:[(0,f.jsx)(rr,{variant:"h3",children:n}),(0,f.jsxs)(tr,{children:[(0,f.jsxs)(ir,{children:[O&&(0,f.jsx)(sr,{smallMargin:M,children:O}),!b&&(Boolean(v.regPrice)||Boolean(h))&&(0,f.jsxs)(lr,{children:[m&&(0,f.jsx)(nr,{width:"100%"}),(0,f.jsx)(ar,{visible:!m,children:h?(0,f.jsxs)(dr,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(cr,{}),(0,f.jsxs)(hr,{variant:"h2",children:[h," ",l("Platinum Points")]})]}):(0,f.jsx)(Et.P,{regPrice:v.regPrice,horizontal:!0,size:"medium",salePrice:v.salePrice})})]})]}),g?y&&(0,f.jsx)(or,{onClick:C,icon:x||w?"":Xt.Z,isLoading:m,buttonWidth:"full",disabled:x,round:!0,size:"small",href:x?null:d?.purchaseUrl,children:"string"===typeof j?l(j):j}):(0,f.jsx)(or,{onClick:D,isLoading:m,disabled:!S&&x,icon:x||w?"":Vt.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof j?l(j):j})]})]})})}},12617:function(e,t,r){r.d(t,{r:function(){return a}});var i=r(2784),l=r(24580);var a=()=>{const{updateScroll:e}=(0,l.lP)();(0,i.useEffect)((()=>{e()}),[])}},96712:function(e,t,r){r.d(t,{G:function(){return c}});r(2784);var i=r(13980),l=r.n(i),a=r(17788),n=r(52322);function s(e){return Array.isArray(e)?e:[e]}function o(e){return(0,a.css)([""," "," "," "," "," "," "," "," ",""],null!=e.column?(0,a.css)(["grid-column:",";"],e.column):"",null!=e.row?(0,a.css)(["grid-row:",";"],e.row):"",null!=e.area?(0,a.css)(["grid-area:",";"],e.area):"",e.alignSelf?(0,a.css)(["align-self:",";"],e.alignSelf):"",e.justifySelf?(0,a.css)(["justify-self:",";"],e.justifySelf):"",null!=e.height?(0,a.css)(["height:",";"],e.height):"",null!=e.width?(0,a.css)(["width:",";"],e.width):"",e.padding?(0,a.css)(["padding:",";"],s(e.padding).map((t=>e.theme.spacing[t]??t)).join(" ")):"",e.margin?(0,a.css)(["margin:",";"],s(e.margin).map((t=>e.theme.spacing[t]??t)).join(" ")):"")}var d=a.default.div.withConfig({displayName:"GridItemstyles",componentId:"sc-1505fgi-0"})(["",""],(e=>{const t=Object.keys(e.theme.mediaQuery);return(0,a.css)([""," ",""],o(e),t.map((t=>e[t]&&(0,a.css)(["","{","}"],e.theme.mediaQuery[t],o({theme:e.theme,...e[t]})))))}));function c(e){return(0,n.jsx)(d,{...e})}c.propTypes={column:l().string,row:l().string,area:l().string,alignSelf:l().oneOf(["start","center","end"]),justifySelf:l().oneOf(["start","center","end"]),width:l().string,height:l().string,padding:l().oneOfType([l().number,l().string,l().arrayOf(l().oneOfType([l().number,l().string]))]),margin:l().oneOfType([l().number,l().string,l().arrayOf(l().oneOfType([l().number,l().string]))])},c.defaultProps={}},38463:function(e,t,r){r.d(t,{Z:function(){return n}});r(2784);var i=r(13980),l=r.n(i),a=r(52322);const n=e=>(0,a.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"HandheldModeIcon",...e,children:(0,a.jsx)("path",{d:"M28.812 8.455h-2.353c-.014 0-.038.009-.052.009v-.01H5.621v.014c-.028-.004-.061-.013-.07-.013H3.192A3.196 3.196 0 0 0 0 11.65v8.696a3.203 3.203 0 0 0 3.193 3.198H5.55c.01 0 .043-.01.07-.015v.015h20.787v-.015a.163.163 0 0 0 .052.015h2.353A3.195 3.195 0 0 0 32 20.346V11.65a3.187 3.187 0 0 0-3.188-3.196zm-.183 1.973a1.014 1.014 0 1 1-1.012 1.012 1.006 1.006 0 0 1 1.012-1.012zm.994 4.276a1.003 1.003 0 1 1-2.005-.021 1.003 1.003 0 0 1 2.005.021zM3.521 10.428a1.89 1.89 0 1 1-.703 3.639 1.892 1.892 0 0 1-1.168-1.755c0-1.035.835-1.877 1.87-1.884zm1.007 6.22a1.001 1.001 0 0 1-1.509.882 1.007 1.007 0 0 1-.497-.882 1.024 1.024 0 0 1 .999-1.026 1.03 1.03 0 0 1 1.007 1.026zM.896 18.29a1.003 1.003 0 1 1 2.006.018 1.003 1.003 0 0 1-2.006-.018zm2.625 2.636a1.012 1.012 0 0 1-.725-1.727 1.013 1.013 0 0 1 1.732.713 1.008 1.008 0 0 1-1.007 1.014zm1.636-1.623a1.02 1.02 0 1 1-.004-2.04 1.02 1.02 0 0 1 .004 2.04zm20.092 1.42H6.774v-9.45H25.25v9.45zm.722-7.66a1.021 1.021 0 1 1 2.043.009 1.021 1.021 0 0 1-2.043-.009zm2.658 7.863a1.892 1.892 0 1 1 1.866-1.88 1.88 1.88 0 0 1-1.866 1.88zm1.622-6.836a1.019 1.019 0 0 1-.748-1.726 1.018 1.018 0 1 1 .748 1.726z",fill:e.color})});n.propTypes={className:l().string,color:l().string,size:l().oneOfType([l().number,l().string])},n.defaultProps={color:"currentColor",size:24}},83595:function(e,t,r){r.d(t,{Q:function(){return g}});r(2784);var i=r(13980),l=r.n(i),a=r(61241),n=r(59124),s=r(1505),o=r(17788),d=r(52322),c=r(71613);const h=o.default.div.withConfig({displayName:"QuantitySelectorstyles__Wrapper",componentId:"sc-1q3v2xi-0"})(["display:flex;height:3rem;width:8.375rem;> *{flex:1 0 33%;}",""],(e=>{let{theme:t}=e;return(0,o.css)(["border-radius:",";border:1px solid ",";"],t.borderRadius,t.color.lightGray1)})),u=o.default.button.withConfig({displayName:"QuantitySelectorstyles__Button",componentId:"sc-1q3v2xi-1"})(["",""],(e=>{let{theme:t}=e;const{movement:r}=t;return(0,o.css)(["display:flex;align-items:center;justify-content:center;cursor:pointer;height:100%;border:0;background-color:",";color:",";transition:background-color "," ",";&:first-of-type{border-radius:"," 0 0 ",";}&:last-of-type{border-radius:0 "," "," 0;}&:hover:not([disabled]){background-color:",";}svg{width:",";height:auto;}&[disabled]{cursor:not-allowed;color:",";}"],t.color.white,t.color.darkGray2,r.duration,r.easing,t.borderRadius,t.borderRadius,t.borderRadius,t.borderRadius,t.color.lightGray3,t.spacing[12],t.color.lightGray1)})),p=o.default.div.withConfig({displayName:"QuantitySelectorstyles__Quantity",componentId:"sc-1q3v2xi-2"})(["display:flex;align-items:center;justify-content:center;color:",";text-align:center;font-size:",";height:100%;&[disabled]{cursor:not-allowed;color:",";}"],(e=>{let{theme:t}=e;return t.color.darkGray2}),(e=>{let{theme:t}=e;return t.font.size.h3Desktop}),(e=>{let{theme:t}=e;return t.color.lightGray1})),m=e=>{const{className:t,quantity:r,lang:i,max:l,min:o,onChange:m,disabled:g}=e,{text:f}=(0,a.u)({locale:i}),y=f("Add item"),b=f("Subtract item"),x=f("Additional product cannot be added to cart"),w=r>=l,j=w?x:y;return(0,d.jsxs)(h,{className:t,children:[(0,d.jsx)(c.S,{children:f("Quantity")}),(0,d.jsx)(u,{disabled:g||r<=o||r<=1,title:b,"aria-label":b,onClick:()=>m(r-1),children:(0,d.jsx)(n.Z,{})}),(0,d.jsx)(p,{"aria-live":"polite",disabled:g,children:r}),(0,d.jsx)(u,{disabled:g||w,"aria-label":y,title:j,onClick:()=>m(r+1),children:(0,d.jsx)(s.Z,{})})]})};m.propTypes={className:l().string,disabled:l().bool,onChange:l().func.isRequired,quantity:l().number.isRequired,lang:l().oneOf(["en","es","fr","pt"]),max:l().number,min:l().number},m.defaultProps={max:1/0,min:1,lang:"en"};var g=m}}]);