(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9826,4633],{22648:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return Z},default:function(){return J}});var r={};t.r(r),t.d(r,{AdvanceWarsTemplate:function(){return h},AnimalCrossingNewHorizonsPage:function(){return p},Bayonetta3Switch:function(){return f},BayonettaOriginsSwitch:function(){return m},EverybodySwitch:function(){return E},FireEmblemEngageSwitch:function(){return H},FireEmblemThreeHopes:function(){return C},GameAndWatchLegendOfZeldaPage:function(){return S},GameBuilderGarageSwitchPage:function(){return O},KirbyStarAlliesSwitchPage:function(){return w},KirbysDreamBuffetSwitch:function(){return v},KirbysReturnToDreamLandDeluxe:function(){return V},LClassicsPage:function(){return Y},LiveALiveSwitch:function(){return _},MarioStrikersSwitch:function(){return y},MiitopiaPage:function(){return T},Nintendo64Page:function(){return L},NintendoEntertainmentSystemPage:function(){return g},NintendoSwitchGameVouchers:function(){return j},Pikmin4:function(){return x},PokemonLegendsArceusPage:function(){return R},PokemonScarletSwitch:function(){return U},PokemonScarletVioletDoublePackSwitch:function(){return F},PokemonVioletSwitch:function(){return W},SegaGenesisPage:function(){return M},ShipS:function(){return N},SuperNintendoEntertainmentSystemPage:function(){return G},SwitchHardwareTemplate:function(){return A},TearsOfTheKingdomTemplate:function(){return K},Tetris99SwitchPage:function(){return I},TriangleStrategySwitchPage:function(){return k},WarioWareGetItTogetherSwitch:function(){return D},XenobladeChronicles3Switch:function(){return B}});var a=t(95235),o=t(2784),i=t(5632),c=t(79736),l=t(48048),u=t(29008),d=t(53665),s=t(29019),b=t(25237),P=t.n(b);const h=P()((()=>Promise.all([t.e(6571),t.e(2763)]).then(t.bind(t,42763))),{loadableGenerated:{webpack:()=>[42763]}}),p=P()((()=>Promise.all([t.e(6571),t.e(3746)]).then(t.bind(t,13746))),{loadableGenerated:{webpack:()=>[13746]}}),f=P()((()=>Promise.all([t.e(6571),t.e(163)]).then(t.bind(t,80163))),{loadableGenerated:{webpack:()=>[80163]}}),m=P()((()=>Promise.all([t.e(6571),t.e(6673)]).then(t.bind(t,36673))),{loadableGenerated:{webpack:()=>[36673]}}),E=P()((()=>Promise.all([t.e(6571),t.e(2097)]).then(t.bind(t,42097))),{loadableGenerated:{webpack:()=>[42097]}}),O=P()((()=>Promise.all([t.e(6571),t.e(7840)]).then(t.bind(t,27840))),{loadableGenerated:{webpack:()=>[27840]}}),S=P()((()=>Promise.all([t.e(6571),t.e(938)]).then(t.bind(t,80938))),{loadableGenerated:{webpack:()=>[80938]}}),w=P()((()=>Promise.all([t.e(6571),t.e(2793)]).then(t.bind(t,79847))),{loadableGenerated:{webpack:()=>[79847]}}),_=P()((()=>Promise.all([t.e(6571),t.e(9036)]).then(t.bind(t,49036))),{loadableGenerated:{webpack:()=>[49036]}}),N=P()((()=>Promise.all([t.e(6571),t.e(8225)]).then(t.bind(t,88225))),{loadableGenerated:{webpack:()=>[88225]}}),T=P()((()=>Promise.all([t.e(6571),t.e(4307)]).then(t.bind(t,24307))),{loadableGenerated:{webpack:()=>[24307]}}),R=P()((()=>Promise.all([t.e(6571),t.e(7602)]).then(t.bind(t,67602))),{loadableGenerated:{webpack:()=>[67602]}}),I=P()((()=>Promise.all([t.e(6571),t.e(5819)]).then(t.bind(t,55819))),{loadableGenerated:{webpack:()=>[55819]}}),D=P()((()=>Promise.all([t.e(6571),t.e(7632)]).then(t.bind(t,17632))),{loadableGenerated:{webpack:()=>[17632]}}),k=P()((()=>Promise.all([t.e(6571),t.e(4720)]).then(t.bind(t,94720))),{loadableGenerated:{webpack:()=>[94720]}}),g=P()((()=>Promise.all([t.e(6571),t.e(7707)]).then(t.bind(t,87707))),{loadableGenerated:{webpack:()=>[87707]}}),G=P()((()=>Promise.all([t.e(6571),t.e(9834)]).then(t.bind(t,59834))),{loadableGenerated:{webpack:()=>[59834]}}),A=P()((()=>Promise.all([t.e(9870),t.e(6571),t.e(3812)]).then(t.bind(t,12029))),{loadableGenerated:{webpack:()=>[12029]}}),L=P()((()=>Promise.all([t.e(6571),t.e(3523)]).then(t.bind(t,43523))),{loadableGenerated:{webpack:()=>[43523]}}),M=P()((()=>Promise.all([t.e(6571),t.e(484)]).then(t.bind(t,40484))),{loadableGenerated:{webpack:()=>[40484]}}),y=P()((()=>Promise.all([t.e(6571),t.e(1108)]).then(t.bind(t,51108))),{loadableGenerated:{webpack:()=>[51108]}}),C=P()((()=>Promise.all([t.e(6571),t.e(9990)]).then(t.bind(t,69990))),{loadableGenerated:{webpack:()=>[69990]}}),B=P()((()=>Promise.all([t.e(6571),t.e(2451)]).then(t.bind(t,12451))),{loadableGenerated:{webpack:()=>[12451]}}),v=P()((()=>Promise.all([t.e(6571),t.e(4680)]).then(t.bind(t,14680))),{loadableGenerated:{webpack:()=>[14680]}}),U=P()((()=>Promise.all([t.e(6571),t.e(5099)]).then(t.bind(t,95099))),{loadableGenerated:{webpack:()=>[95099]}}),W=P()((()=>Promise.all([t.e(6571),t.e(642)]).then(t.bind(t,80642))),{loadableGenerated:{webpack:()=>[80642]}}),j=P()((()=>Promise.all([t.e(6571),t.e(2342)]).then(t.bind(t,32342))),{loadableGenerated:{webpack:()=>[32342]}}),F=P()((()=>Promise.all([t.e(6571),t.e(9847)]).then(t.bind(t,69847))),{loadableGenerated:{webpack:()=>[69847]}}),K=P()((()=>Promise.all([t.e(6571),t.e(1708)]).then(t.bind(t,41708))),{loadableGenerated:{webpack:()=>[41708]}}),H=P()((()=>Promise.all([t.e(6571),t.e(5832)]).then(t.bind(t,65832))),{loadableGenerated:{webpack:()=>[65832]}}),V=P()((()=>Promise.all([t.e(6571),t.e(1332)]).then(t.bind(t,61332))),{loadableGenerated:{webpack:()=>[61332]}}),Y=P()((()=>Promise.all([t.e(6571),t.e(7245)]).then(t.bind(t,97245))),{loadableGenerated:{webpack:()=>[97245]}}),x=P()((()=>Promise.all([t.e(9166),t.e(73)]).then(t.bind(t,73))),{loadableGenerated:{webpack:()=>[73]}});var z=t(30499),q=t(52322);function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function $(e){for(var n=1;n$($({},_.data.product),{},{loadingPricing:I})),[_.data.product,I]),k=(0,o.useRef)();(0,o.useEffect)((()=>{if(k.current&&clearTimeout(k.current),D.eshopDetails?.discountPriceEnd){const e=Math.ceil(Date.parse(D.eshopDetails.discountPriceEnd)-Date.now());e>0&&e<2147483648&&(k.current=setTimeout((()=>(m.data?R:_).refetch()),e))}return()=>k.current&&clearTimeout(k.current)}),[D.eshopDetails?.discountPriceEnd,m.data,_,R]);const g=(0,l.aM)(l.o$.StoreProducts,{locale:p,where:{criteria:"TOP_SELLING"},pageSize:16},{fetchPolicy:"cache-only"}),G=(0,o.useMemo)((()=>g.data?.products?.length?(0,d.v5)({products:g.data.products,rating:D.contentRating}):[]),[g.data,D.contentRating]),A=a&&a.templateName,L=A?r[a.templateName]:null;return(0,q.jsx)(s.Kq,{preview:b,children:(0,q.jsx)(u.dn,{product:D,merchBanner:t,showReadMore:!A&&h,bestSellers:G,children:A?(0,q.jsx)(L,{marketingPage:a.modularPageReference||a,productProps:D,DemoButton:()=>(0,q.jsx)(z.g,{variant:"button",product:D}),locale:p}):n})})}},22739:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/products/[slug]",function(){return t(22648)}])},4633:function(e,n,t){"use strict";t.d(n,{IJ:function(){return m},R5:function(){return f},T0:function(){return a},Vz:function(){return d},aA:function(){return o},bN:function(){return P},iB:function(){return i},js:function(){return h},kg:function(){return b},lH:function(){return p},mH:function(){return c},n:function(){return s},th:function(){return u},zO:function(){return l}});var r=t(13980);const a=1025,o={MY_NINTENDO_STORE:"MY_NINTENDO_STORE",GAMES:"GAMES",NINTENDO_SWITCH:"NINTENDO_SWITCH",NEWS_EVENTS:"NEWS_EVENTS",PLAY_NINTENDO:"PLAY_NINTENDO",HOLIDAY_GIFT_GUIDE:"HOLIDAY_GIFT_GUIDE"},i={LIST:"LIST",ICON:"ICON"},c={HAMBURGER:"HAMBURGER",ACCOUNT:"ACCOUNT"},l={FLYOUT:"FLYOUT",TOP_DRAWER:"TOP_DRAWER"},u={DROPDOWN_DESKTOP:200,DRAWER_MOBILE:200,HAMBURGER_SLIDE_MOBILE:300,ACCORDION_MOBILE:300,USERCARD_FLIP:600,MII_FLIP_SPIN:800},d={NAV_MOBILE:46,NAV_DESKTOP_TOP:52,NAV_DESKTOP_BOTTOM:44,DRAWER_HAMBURGER_MOBILE:"60vh",DRAWER_ACCOUNT_MOBILE:"80vh",DRAWER_HEADER_MOBILE:"4rem",ACCORDION_SUBITEM_WRAP_MOBILE:33,ACCORDION_SUBITEM_MOBILE:38,QR_CODE:120,MAINT_NOTIF:48};d.NAV_DESKTOP=d.NAV_DESKTOP_TOP+d.NAV_DESKTOP_BOTTOM;const s={USER_CARD_DESKTOP:400,FLYOUT_DESKTOP:360},b=1e3,P={NORMAL:"NORMAL",SMILE:"SMILE",SURPRISE:"SURPRISE",SURPRISE_SPIN:"SURPRISE_SPIN",ANGER:"ANGER",FRUSTRATED:"FRUSTRATED"},h={NONE:{name:"none",duration:"",iterationCount:""},SPIN_TWICE:{name:"spin",duration:u.MII_FLIP_SPIN/2+"ms",iterationCount:"2"}},p=(0,r.shape)({navLocation:r.string.isRequired,navLocationLevel:r.number.isRequired,clickLocation:r.string}),f="maintenanceNotifOpen",m="maintenanceNotifData"}},function(e){e.O(0,[4511,7220,9019,3783,3066,9774,2888,179],(function(){return n=22739,e(e.s=n);var n}));var n=e.O();_N_E=n}]);