!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5c02794b-c861-4120-935b-cff914686ca4",e._sentryDebugIdIdentifier="sentry-dbid-5c02794b-c861-4120-935b-cff914686ca4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9826],{36349:function(e,n,a){"use strict";a.r(n),a.d(n,{__N_SSP:function(){return Ne},default:function(){return je}});var t={};a.r(t),a.d(t,{AdvanceWarsTemplate:function(){return p},AnimalCrossingNewHorizonsPage:function(){return m},AnotherCodeRecollectionSwitch:function(){return w},Bayonetta3Switch:function(){return f},BayonettaOriginsSwitch:function(){return k},DetectivePikachuReturnsSwitch:function(){return g},DisneyIllusionIslandSwitch:function(){return y},DonkeyKongCountryReturnsHD:function(){return pe},DragxDriveSwitch2PMP:function(){return ye},EndlessOceanLuminousSwitch:function(){return M},EverybodySwitch:function(){return v},FZero99Switch:function(){return O},FireEmblemEngageSwitch:function(){return te},FireEmblemThreeHopes:function(){return z},GameAndWatchLegendOfZeldaPage:function(){return _},GameBuilderGarageSwitchPage:function(){return E},KirbyAndTheForgottenLandSwitch2PMP:function(){return fe},KirbyAndTheForgottenLandSwitchPMP:function(){return ke},KirbyStarAlliesSwitchPage:function(){return L},KirbysDreamBuffetSwitch:function(){return q},KirbysReturnToDreamLandDeluxe:function(){return re},LClassicsPage:function(){return ie},LegendOfZeldaEOW:function(){return se},LiveALiveSwitch:function(){return N},LuigisMansion2HD:function(){return be},MarioLuigiBrothership:function(){return Pe},MarioStrikersSwitch:function(){return H},MarioVsDk:function(){return j},May2024Switch:function(){return D},MetroidPrime4Switch2PMP:function(){return ge},MetroidPrime4SwitchPMP:function(){return Ge},MiitopiaPage:function(){return B},MinecraftTemplate:function(){return R},Nintendo64Page:function(){return V},NintendoEntertainmentSystemPage:function(){return Z},NintendoSwitchGameVouchers:function(){return U},PaperMarioTTYD:function(){return ue},Pikmin4:function(){return oe},PokemonLegendsArceusPage:function(){return C},PokemonScarletSwitch:function(){return J},PokemonScarletVioletDLCTemplate:function(){return ee},PokemonScarletVioletDoublePackSwitch:function(){return ne},PokemonVioletSwitch:function(){return Q},PrincessPeachShowtime:function(){return ce},SMBWonder:function(){return le},SegaGenesisPage:function(){return F},ShipS:function(){return I},SuperMarioPartyJamboree:function(){return he},SuperMarioPartyJamboreeSwitch2PMP:function(){return Se},SuperMarioRPG:function(){return de},SuperNintendoEntertainmentSystemPage:function(){return X},SwitchHardwareTemplate:function(){return x},TLOZBreathOfTheWildSwitch2PMP:function(){return Me},TLOZBreathOfTheWildSwitchPMP:function(){return De},TLOZTearsOfTheKingdomSwitch2PMP:function(){return Oe},TearsOfTheKingdomTemplate:function(){return ae},Tetris99SwitchPage:function(){return W},TriangleStrategySwitchPage:function(){return A},WDEV4389:function(){return Y},WarioWareGetItTogetherSwitch:function(){return K},WarioWareMoveIt:function(){return T},XenobladeChronicles3Switch:function(){return $},XenobladeChroniclesXDefinitiveEdition:function(){return me},XenobladeChroniclesX_PhaseTwo:function(){return we},peon:function(){return S},plmpStandard:function(){return G}});var r=a(95235),i=a(2784),o=a(64897),l=a(82091),d=a(98087),c=a(76454),u=a(55642),b=a(79149),s=a(402),h=a(25237),P=a.n(h);const p=P()((()=>Promise.all([a.e(3731),a.e(8535)]).then(a.bind(a,8535))),{loadableGenerated:{webpack:()=>[8535]}}),m=P()((()=>Promise.all([a.e(3731),a.e(3205)]).then(a.bind(a,43205))),{loadableGenerated:{webpack:()=>[43205]}}),w=P()((()=>Promise.all([a.e(3731),a.e(5567)]).then(a.bind(a,45567))),{loadableGenerated:{webpack:()=>[45567]}}),f=P()((()=>Promise.all([a.e(3731),a.e(8260)]).then(a.bind(a,71759))),{loadableGenerated:{webpack:()=>[71759]}}),k=P()((()=>Promise.all([a.e(3731),a.e(8502)]).then(a.bind(a,78502))),{loadableGenerated:{webpack:()=>[78502]}}),g=P()((()=>Promise.all([a.e(3731),a.e(9982)]).then(a.bind(a,39982))),{loadableGenerated:{webpack:()=>[39982]}}),G=P()((()=>a.e(7323).then(a.bind(a,57323))),{loadableGenerated:{webpack:()=>[57323]}}),S=P()((()=>Promise.all([a.e(6425),a.e(3731),a.e(7781)]).then(a.bind(a,99338))),{loadableGenerated:{webpack:()=>[99338]}}),y=P()((()=>Promise.all([a.e(3731),a.e(6315)]).then(a.bind(a,16315))),{loadableGenerated:{webpack:()=>[16315]}}),M=P()((()=>Promise.all([a.e(3731),a.e(7741)]).then(a.bind(a,77741))),{loadableGenerated:{webpack:()=>[77741]}}),D=P()((()=>Promise.all([a.e(3731),a.e(3984)]).then(a.bind(a,83984))),{loadableGenerated:{webpack:()=>[83984]}}),O=P()((()=>Promise.all([a.e(3731),a.e(7245)]).then(a.bind(a,17245))),{loadableGenerated:{webpack:()=>[17245]}}),T=P()((()=>Promise.all([a.e(3731),a.e(6974)]).then(a.bind(a,46974))),{loadableGenerated:{webpack:()=>[46974]}}),v=P()((()=>Promise.all([a.e(3731),a.e(5424)]).then(a.bind(a,85424))),{loadableGenerated:{webpack:()=>[85424]}}),E=P()((()=>Promise.all([a.e(3731),a.e(1442)]).then(a.bind(a,51442))),{loadableGenerated:{webpack:()=>[51442]}}),_=P()((()=>Promise.all([a.e(3731),a.e(7630)]).then(a.bind(a,87630))),{loadableGenerated:{webpack:()=>[87630]}}),L=P()((()=>Promise.all([a.e(3731),a.e(8084)]).then(a.bind(a,98084))),{loadableGenerated:{webpack:()=>[98084]}}),N=P()((()=>Promise.all([a.e(3731),a.e(2963)]).then(a.bind(a,52963))),{loadableGenerated:{webpack:()=>[52963]}}),j=P()((()=>Promise.all([a.e(3731),a.e(1373)]).then(a.bind(a,61373))),{loadableGenerated:{webpack:()=>[61373]}}),R=P()((()=>Promise.all([a.e(3731),a.e(9867)]).then(a.bind(a,19867))),{loadableGenerated:{webpack:()=>[19867]}}),I=P()((()=>Promise.all([a.e(3731),a.e(4434)]).then(a.bind(a,24434))),{loadableGenerated:{webpack:()=>[24434]}}),B=P()((()=>Promise.all([a.e(3731),a.e(8140)]).then(a.bind(a,98140))),{loadableGenerated:{webpack:()=>[98140]}}),C=P()((()=>Promise.all([a.e(3731),a.e(4067)]).then(a.bind(a,14067))),{loadableGenerated:{webpack:()=>[14067]}}),W=P()((()=>Promise.all([a.e(3731),a.e(7866)]).then(a.bind(a,27866))),{loadableGenerated:{webpack:()=>[27866]}}),K=P()((()=>Promise.all([a.e(3731),a.e(2989)]).then(a.bind(a,62989))),{loadableGenerated:{webpack:()=>[62989]}}),A=P()((()=>Promise.all([a.e(3731),a.e(4023)]).then(a.bind(a,74023))),{loadableGenerated:{webpack:()=>[74023]}}),Z=P()((()=>Promise.all([a.e(3731),a.e(9128)]).then(a.bind(a,59128))),{loadableGenerated:{webpack:()=>[59128]}}),X=P()((()=>Promise.all([a.e(3731),a.e(4074)]).then(a.bind(a,73019))),{loadableGenerated:{webpack:()=>[73019]}}),x=P()((()=>Promise.all([a.e(3731),a.e(6730),a.e(9491)]).then(a.bind(a,39491))),{loadableGenerated:{webpack:()=>[39491]}}),V=P()((()=>Promise.all([a.e(3731),a.e(4794)]).then(a.bind(a,14794))),{loadableGenerated:{webpack:()=>[14794]}}),F=P()((()=>Promise.all([a.e(3731),a.e(6703)]).then(a.bind(a,6703))),{loadableGenerated:{webpack:()=>[6703]}}),H=P()((()=>Promise.all([a.e(3731),a.e(967)]).then(a.bind(a,90967))),{loadableGenerated:{webpack:()=>[90967]}}),z=P()((()=>Promise.all([a.e(3731),a.e(5683)]).then(a.bind(a,35683))),{loadableGenerated:{webpack:()=>[35683]}}),$=P()((()=>Promise.all([a.e(3731),a.e(8063)]).then(a.bind(a,28063))),{loadableGenerated:{webpack:()=>[28063]}}),q=P()((()=>Promise.all([a.e(3731),a.e(2759)]).then(a.bind(a,92759))),{loadableGenerated:{webpack:()=>[92759]}}),J=P()((()=>Promise.all([a.e(3731),a.e(5303)]).then(a.bind(a,55303))),{loadableGenerated:{webpack:()=>[55303]}}),Q=P()((()=>Promise.all([a.e(3731),a.e(1357)]).then(a.bind(a,1357))),{loadableGenerated:{webpack:()=>[1357]}}),Y=P()((()=>Promise.all([a.e(3731),a.e(6621)]).then(a.bind(a,6621))),{loadableGenerated:{webpack:()=>[6621]}}),U=P()((()=>Promise.all([a.e(3731),a.e(2953)]).then(a.bind(a,82953))),{loadableGenerated:{webpack:()=>[82953]}}),ee=P()((()=>Promise.all([a.e(3731),a.e(7502)]).then(a.bind(a,7502))),{loadableGenerated:{webpack:()=>[7502]}}),ne=P()((()=>Promise.all([a.e(3731),a.e(2826)]).then(a.bind(a,22826))),{loadableGenerated:{webpack:()=>[22826]}}),ae=P()((()=>Promise.all([a.e(3731),a.e(4120)]).then(a.bind(a,44120))),{loadableGenerated:{webpack:()=>[44120]}}),te=P()((()=>Promise.all([a.e(3731),a.e(7575)]).then(a.bind(a,59505))),{loadableGenerated:{webpack:()=>[59505]}}),re=P()((()=>Promise.all([a.e(3731),a.e(5929)]).then(a.bind(a,5929))),{loadableGenerated:{webpack:()=>[5929]}}),ie=P()((()=>Promise.all([a.e(3731),a.e(6340)]).then(a.bind(a,46340))),{loadableGenerated:{webpack:()=>[46340]}}),oe=P()((()=>Promise.all([a.e(8919),a.e(2133),a.e(2307),a.e(5487)]).then(a.bind(a,10362))),{loadableGenerated:{webpack:()=>[10362]}}),le=P()((()=>Promise.all([a.e(8919),a.e(2133),a.e(2307),a.e(152)]).then(a.bind(a,30152))),{loadableGenerated:{webpack:()=>[30152]}}),de=P()((()=>Promise.all([a.e(8919),a.e(2133),a.e(7662)]).then(a.bind(a,7662))),{loadableGenerated:{webpack:()=>[7662]}}),ce=P()((()=>Promise.all([a.e(1623),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(4700)]).then(a.bind(a,27449))),{loadableGenerated:{webpack:()=>[27449]}}),ue=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(4071)]).then(a.bind(a,74071))),{loadableGenerated:{webpack:()=>[74071]}}),be=P()((()=>Promise.all([a.e(2983),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(9171)]).then(a.bind(a,97935))),{loadableGenerated:{webpack:()=>[97935]}}),se=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(3382)]).then(a.bind(a,33382))),{loadableGenerated:{webpack:()=>[33382]}}),he=P()((()=>Promise.all([a.e(2726),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(182)]).then(a.bind(a,75147))),{loadableGenerated:{webpack:()=>[75147]}}),Pe=P()((()=>Promise.all([a.e(6515),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(1535)]).then(a.bind(a,96697))),{ssr:!1,loadableGenerated:{webpack:()=>[96697]}}),pe=P()((()=>Promise.all([a.e(243),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(4135),a.e(7419)]).then(a.bind(a,46221))),{loadableGenerated:{webpack:()=>[46221]}}),me=P()((()=>Promise.all([a.e(8919),a.e(2133),a.e(4135),a.e(5571)]).then(a.bind(a,65571))),{loadableGenerated:{webpack:()=>[65571]}}),we=P()((()=>Promise.all([a.e(9481),a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(375)]).then(a.bind(a,63909))),{loadableGenerated:{webpack:()=>[63909]}}),fe=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(8650)]).then(a.bind(a,8650))),{loadableGenerated:{webpack:()=>[8650]}}),ke=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(7807)]).then(a.bind(a,57807))),{loadableGenerated:{webpack:()=>[57807]}}),ge=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(2307),a.e(6728)]).then(a.bind(a,26728))),{loadableGenerated:{webpack:()=>[26728]}}),Ge=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(4396)]).then(a.bind(a,74396))),{loadableGenerated:{webpack:()=>[74396]}}),Se=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(640)]).then(a.bind(a,640))),{loadableGenerated:{webpack:()=>[640]}}),ye=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(2133),a.e(45)]).then(a.bind(a,40045))),{loadableGenerated:{webpack:()=>[40045]}}),Me=P()((()=>Promise.all([a.e(1914),a.e(8919),a.e(6871),a.e(2133),a.e(3287)]).then(a.bind(a,60728))),{loadableGenerated:{webpack:()=>[60728]}}),De=P()((()=>Promise.all([a.e(3880),a.e(8919),a.e(6871),a.e(2133),a.e(913)]).then(a.bind(a,77678))),{loadableGenerated:{webpack:()=>[77678]}}),Oe=P()((()=>Promise.all([a.e(8919),a.e(6871),a.e(6359)]).then(a.bind(a,96359))),{loadableGenerated:{webpack:()=>[96359]}});var Te=a(18459),ve=a(90321),Ee=a(52322);function _e(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function Le(e){for(var n=1;nLe(Le({},e),{},{[f.slug]:!0}))):S[f.slug]&&!k.data&&y((e=>Le(Le({},e),{},{[f.slug]:!1})));const L=k.loading||_.loading,N=(0,i.useMemo)((()=>Le(Le({},M.data.product),{},{loadingPricing:L,removeGoldPoints:p,waitlist:{campaign:a,invite:v,loadingInvites:T,refreshInvites:E}})),[M.data.product,a,T,L,p]),j=(0,i.useRef)();(0,i.useEffect)((()=>{if(j.current&&clearTimeout(j.current),N.eshopDetails?.discountPriceEnd){const e=Math.ceil(Date.parse(N.eshopDetails.discountPriceEnd)-Date.now());e>0&&e<2147483648&&(j.current=setTimeout((()=>(k.data?_:M).refetch()),e))}return()=>j.current&&clearTimeout(j.current)}),[N.eshopDetails?.discountPriceEnd,k.data,M,_]);const R=(0,d.aM)(c.o$.gg,{locale:w,where:{criteria:"TOP_SELLING"},pageSize:16},{fetchPolicy:"cache-only"}),I=(0,i.useMemo)((()=>R.data?.products?.length?(0,b.v5)({products:R.data.products,rating:N.contentRating}):[]),[R.data,N.contentRating]),B=h&&h?.modularPageReference?.templateName||h?.templateName,C=B?t[h.templateName??h.modularPageReference?.templateName]:null;return(0,Ee.jsx)(s.Kq,{disableScrollRestoration:!0,children:(0,Ee.jsx)(u.dn,{product:N,merchBanner:r,showReadMore:!B&&P,bestSellers:I,children:B?(0,Ee.jsx)(C,{marketingPage:h.modularPageReference||h,productProps:N,DemoButton:()=>(0,Ee.jsx)(Te.g,{variant:"button",product:N}),locale:w}):n})})}},22739:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/products/[slug]",function(){return a(36349)}])}},function(e){e.O(0,[8286,4511,402,9589,9774,2888,179],(function(){return n=22739,e(e.s=n);var n}));var n=e.O();_N_E=n}]); //# sourceMappingURL=[slug]-d4f472c4f668324c.js.map