(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9826],{22648:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return de},default:function(){return ue}});var a={};t.r(a),t.d(a,{AdvanceWarsTemplate:function(){return p},AnimalCrossingNewHorizonsPage:function(){return w},AnotherCodeRecollectionSwitch:function(){return m},Bayonetta3Switch:function(){return P},BayonettaOriginsSwitch:function(){return f},DetectivePikachuReturnsSwitch:function(){return k},DisneyIllusionIslandSwitch:function(){return G},EndlessOceanLuminousSwitch:function(){return S},EverybodySwitch:function(){return v},FZero99Switch:function(){return y},FireEmblemEngageSwitch:function(){return U},FireEmblemThreeHopes:function(){return z},GameAndWatchLegendOfZeldaPage:function(){return E},GameBuilderGarageSwitchPage:function(){return D},KirbyStarAlliesSwitchPage:function(){return T},KirbysDreamBuffetSwitch:function(){return H},KirbysReturnToDreamLandDeluxe:function(){return Y},LClassicsPage:function(){return ee},LiveALiveSwitch:function(){return _},MarioStrikersSwitch:function(){return V},MarioVsDk:function(){return j},MiitopiaPage:function(){return N},Nintendo64Page:function(){return x},NintendoEntertainmentSystemPage:function(){return W},NintendoSwitchGameVouchers:function(){return $},Pikmin4:function(){return ne},PokemonLegendsArceusPage:function(){return L},PokemonScarletSwitch:function(){return X},PokemonScarletVioletDLCTemplate:function(){return q},PokemonScarletVioletDoublePackSwitch:function(){return Q},PokemonVioletSwitch:function(){return Z},PrincessPeachShowtime:function(){return re},SMBWonder:function(){return te},SegaGenesisPage:function(){return I},ShipS:function(){return M},SuperMarioRPG:function(){return ae},SuperNintendoEntertainmentSystemPage:function(){return A},SwitchHardwareTemplate:function(){return K},TearsOfTheKingdomTemplate:function(){return J},Tetris99SwitchPage:function(){return R},TriangleStrategySwitchPage:function(){return C},WarioWareGetItTogetherSwitch:function(){return B},WarioWareMoveIt:function(){return O},XenobladeChronicles3Switch:function(){return F},plmpStandard:function(){return g}});var r=t(95235),o=t(2784),i=t(68215),l=t(34693),c=t(15820),d=t(51580),u=t(90929),b=t(29019),s=t(25237),h=t.n(s);const p=h()((()=>Promise.all([t.e(1582),t.e(2763)]).then(t.bind(t,42763))),{loadableGenerated:{webpack:()=>[42763]}}),w=h()((()=>Promise.all([t.e(1582),t.e(3746)]).then(t.bind(t,13746))),{loadableGenerated:{webpack:()=>[13746]}}),m=h()((()=>Promise.all([t.e(1582),t.e(2418)]).then(t.bind(t,2418))),{loadableGenerated:{webpack:()=>[2418]}}),P=h()((()=>Promise.all([t.e(1582),t.e(163)]).then(t.bind(t,80163))),{loadableGenerated:{webpack:()=>[80163]}}),f=h()((()=>Promise.all([t.e(1582),t.e(6673)]).then(t.bind(t,36673))),{loadableGenerated:{webpack:()=>[36673]}}),k=h()((()=>Promise.all([t.e(1582),t.e(6337)]).then(t.bind(t,86337))),{loadableGenerated:{webpack:()=>[86337]}}),g=h()((()=>t.e(1807).then(t.bind(t,61807))),{loadableGenerated:{webpack:()=>[61807]}}),G=h()((()=>Promise.all([t.e(1582),t.e(7809)]).then(t.bind(t,27809))),{loadableGenerated:{webpack:()=>[27809]}}),S=h()((()=>Promise.all([t.e(1582),t.e(6473)]).then(t.bind(t,46473))),{loadableGenerated:{webpack:()=>[46473]}}),y=h()((()=>Promise.all([t.e(1582),t.e(396)]).then(t.bind(t,80396))),{loadableGenerated:{webpack:()=>[80396]}}),O=h()((()=>Promise.all([t.e(1582),t.e(1779)]).then(t.bind(t,1779))),{loadableGenerated:{webpack:()=>[1779]}}),v=h()((()=>Promise.all([t.e(1582),t.e(2097)]).then(t.bind(t,42097))),{loadableGenerated:{webpack:()=>[42097]}}),D=h()((()=>Promise.all([t.e(1582),t.e(7840)]).then(t.bind(t,27840))),{loadableGenerated:{webpack:()=>[27840]}}),E=h()((()=>Promise.all([t.e(1582),t.e(938)]).then(t.bind(t,80938))),{loadableGenerated:{webpack:()=>[80938]}}),T=h()((()=>Promise.all([t.e(1582),t.e(2793)]).then(t.bind(t,79847))),{loadableGenerated:{webpack:()=>[79847]}}),_=h()((()=>Promise.all([t.e(1582),t.e(9036)]).then(t.bind(t,49036))),{loadableGenerated:{webpack:()=>[49036]}}),j=h()((()=>Promise.all([t.e(1582),t.e(8722)]).then(t.bind(t,68722))),{loadableGenerated:{webpack:()=>[68722]}}),M=h()((()=>Promise.all([t.e(1582),t.e(8225)]).then(t.bind(t,88225))),{loadableGenerated:{webpack:()=>[88225]}}),N=h()((()=>Promise.all([t.e(1582),t.e(4307)]).then(t.bind(t,24307))),{loadableGenerated:{webpack:()=>[24307]}}),L=h()((()=>Promise.all([t.e(1582),t.e(7602)]).then(t.bind(t,67602))),{loadableGenerated:{webpack:()=>[67602]}}),R=h()((()=>Promise.all([t.e(1582),t.e(5819)]).then(t.bind(t,55819))),{loadableGenerated:{webpack:()=>[55819]}}),B=h()((()=>Promise.all([t.e(1582),t.e(7632)]).then(t.bind(t,70684))),{loadableGenerated:{webpack:()=>[70684]}}),C=h()((()=>Promise.all([t.e(1582),t.e(4720)]).then(t.bind(t,94720))),{loadableGenerated:{webpack:()=>[94720]}}),W=h()((()=>Promise.all([t.e(1582),t.e(7707)]).then(t.bind(t,87707))),{loadableGenerated:{webpack:()=>[87707]}}),A=h()((()=>Promise.all([t.e(1582),t.e(9834)]).then(t.bind(t,59834))),{loadableGenerated:{webpack:()=>[59834]}}),K=h()((()=>Promise.all([t.e(2182),t.e(1582),t.e(3812)]).then(t.bind(t,12029))),{loadableGenerated:{webpack:()=>[12029]}}),x=h()((()=>Promise.all([t.e(1582),t.e(3523)]).then(t.bind(t,43523))),{loadableGenerated:{webpack:()=>[43523]}}),I=h()((()=>Promise.all([t.e(1582),t.e(484)]).then(t.bind(t,40484))),{loadableGenerated:{webpack:()=>[40484]}}),V=h()((()=>Promise.all([t.e(1582),t.e(1108)]).then(t.bind(t,51108))),{loadableGenerated:{webpack:()=>[51108]}}),z=h()((()=>Promise.all([t.e(1582),t.e(9990)]).then(t.bind(t,69990))),{loadableGenerated:{webpack:()=>[69990]}}),F=h()((()=>Promise.all([t.e(1582),t.e(2451)]).then(t.bind(t,12451))),{loadableGenerated:{webpack:()=>[12451]}}),H=h()((()=>Promise.all([t.e(1582),t.e(4680)]).then(t.bind(t,14680))),{loadableGenerated:{webpack:()=>[14680]}}),X=h()((()=>Promise.all([t.e(1582),t.e(5099)]).then(t.bind(t,95099))),{loadableGenerated:{webpack:()=>[95099]}}),Z=h()((()=>Promise.all([t.e(1582),t.e(642)]).then(t.bind(t,80642))),{loadableGenerated:{webpack:()=>[80642]}}),$=h()((()=>Promise.all([t.e(1582),t.e(6438)]).then(t.bind(t,36438))),{loadableGenerated:{webpack:()=>[36438]}}),q=h()((()=>Promise.all([t.e(1582),t.e(1330)]).then(t.bind(t,11330))),{loadableGenerated:{webpack:()=>[11330]}}),Q=h()((()=>Promise.all([t.e(1582),t.e(9847)]).then(t.bind(t,69847))),{loadableGenerated:{webpack:()=>[69847]}}),J=h()((()=>Promise.all([t.e(1582),t.e(1708)]).then(t.bind(t,41708))),{loadableGenerated:{webpack:()=>[41708]}}),U=h()((()=>Promise.all([t.e(1582),t.e(5832)]).then(t.bind(t,65832))),{loadableGenerated:{webpack:()=>[65832]}}),Y=h()((()=>Promise.all([t.e(1582),t.e(1332)]).then(t.bind(t,61332))),{loadableGenerated:{webpack:()=>[61332]}}),ee=h()((()=>Promise.all([t.e(1582),t.e(7245)]).then(t.bind(t,97245))),{loadableGenerated:{webpack:()=>[97245]}}),ne=h()((()=>Promise.all([t.e(4725),t.e(6259),t.e(4002),t.e(6703)]).then(t.bind(t,46363))),{loadableGenerated:{webpack:()=>[46363]}}),te=h()((()=>Promise.all([t.e(6259),t.e(4002),t.e(934)]).then(t.bind(t,70934))),{loadableGenerated:{webpack:()=>[70934]}}),ae=h()((()=>Promise.all([t.e(6259),t.e(1795)]).then(t.bind(t,21795))),{loadableGenerated:{webpack:()=>[21795]}}),re=h()((()=>Promise.all([t.e(7686),t.e(6259),t.e(4002),t.e(6198)]).then(t.bind(t,3697))),{loadableGenerated:{webpack:()=>[3697]}});var oe=t(86409),ie=t(52322);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function ce(e){for(var n=1;nce(ce({},e),{},{[m.slug]:!0}))):g[m.slug]&&!P.data&&G((e=>ce(ce({},e),{},{[m.slug]:!1})));const D=P.loading||v.loading,E=(0,o.useMemo)((()=>ce(ce({},S.data.product),{},{loadingPricing:D})),[S.data.product,D]),T=(0,o.useRef)();(0,o.useEffect)((()=>{if(T.current&&clearTimeout(T.current),E.eshopDetails?.discountPriceEnd){const e=Math.ceil(Date.parse(E.eshopDetails.discountPriceEnd)-Date.now());e>0&&e<2147483648&&(T.current=setTimeout((()=>(P.data?v:S).refetch()),e))}return()=>T.current&&clearTimeout(T.current)}),[E.eshopDetails?.discountPriceEnd,P.data,S,v]);const _=(0,c.aM)(c.o$.gg,{locale:w,where:{criteria:"TOP_SELLING"},pageSize:16},{fetchPolicy:"cache-only"}),j=(0,o.useMemo)((()=>_.data?.products?.length?(0,u.v5)({products:_.data.products,rating:E.contentRating}):[]),[_.data,E.contentRating]),M=r&&r.templateName,N=M?a[r.templateName]:null;return(0,ie.jsx)(b.Kq,{preview:s,children:(0,ie.jsx)(d.dn,{product:E,merchBanner:t,showReadMore:!M&&p,bestSellers:j,children:M?(0,ie.jsx)(N,{marketingPage:r.modularPageReference||r,productProps:E,DemoButton:()=>(0,ie.jsx)(oe.g,{variant:"button",product:E}),locale:w}):n})})}},22739:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/products/[slug]",function(){return t(22648)}])}},function(e){e.O(0,[1850,5208,8286,4511,929,6409,9019,6275,9774,2888,179],(function(){return n=22739,e(e.s=n);var n}));var n=e.O();_N_E=n}]);