"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2772],{61936:function(e,t,n){n.d(t,{eN:function(){return C},VM:function(){return l},bg:function(){return y},C1:function(){return Z},B:function(){return b},YC:function(){return k},jZ:function(){return T},eQ:function(){return f}});var r=n(58403),i=(n(66998),n(56966)),a=n(7307);const s=(0,a.default)(i.Z).withConfig({componentId:"sc-zmhhfu-0"})(["background-position:25%;","{background-position:center;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),o=a.default.div.withConfig({componentId:"sc-zmhhfu-1"})(["max-width:444px;margin:0 auto;padding-left:",";padding-right:",";","{max-width:500px;min-width:280px;width:25%;}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));a.default.div.withConfig({componentId:"sc-zmhhfu-2"})(["text-align:center;padding:",";"],(e=>{let{theme:t}=e;return t.spacing[8]}));var d=n(52322);var l=e=>{let{asset:t}=e;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(s,{background:"url('https://assets.nintendo.com/image/upload/f_auto,q_auto/IndieWorld/1560x277_header3')",children:(0,d.jsx)(o,{children:(0,d.jsx)(r.ZG,{assetPath:t?.assetPath,dimensions:t?.dimensions})})})})},c=n(95235),u=n(23953),p=n(68320),m=n(18589),h=n(5445);const g=a.default.div.withConfig({componentId:"sc-1wpawm2-0"})(["display:grid;grid-template-columns:repeat(1,1fr);grid-gap:",";margin-bottom:",";","{grid-template-columns:repeat(2,1fr);}","{grid-template-columns:repeat(3,1fr);grid-gap:",";margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[32]}));function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{let{heading:t,products:n,cta:r,id:i}=e;return(0,d.jsxs)(k,{constrained:!0,id:i,small:!0,children:[(0,d.jsx)(u.H,{variant:"h1",as:"h2",children:t}),(0,d.jsx)(p.S,{size:32}),(0,d.jsx)(g,{children:n.map((e=>(0,d.jsx)(h.I8,x(x({},e),{},{constrain:!1,showRating:!0}),e.sku)))}),(0,d.jsx)(C,{children:(0,d.jsx)(m.B,{href:r?.url,children:r?.label})})]})};var b=e=>{let{heading:t,products:n,id:i}=e;return(0,d.jsx)(k,{id:i,children:(0,d.jsx)(r.He,{small:!0,children:n?.length&&(0,d.jsx)(r.$3,{collections:[{heading:t,products:n,showRating:!0}]})})})};var y=e=>{let{articles:t,heading:n,cta:i,loadMoreHandler:a,loading:s,hasMore:o}=e;return(0,d.jsxs)(k,{constrained:!0,small:!0,children:[(0,d.jsx)(u.H,{variant:"h1",as:"h2",children:n}),(0,d.jsx)(p.S,{size:32}),(0,d.jsx)(r.wg,{articles:t}),o&&(0,d.jsx)(C,{children:(0,d.jsx)(m.B,{variant:"tertiary",href:a?null:i?.url,onClick:a,isLoading:s,children:i?.label})})]})},v=n(64897),w=n(58877);const k=(0,a.default)(i.Z).withConfig({componentId:"sc-yqkdju-0"})(["&:nth-child(even){background-color:",";padding-top:",";padding-bottom:",";","{padding-top:",";}}"],(e=>{let{theme:t}=e;return t.color.lightGray3}),(e=>{let{theme:t}=e;return t.spacing[32]}),(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[40]})),C=a.default.div.withConfig({componentId:"sc-yqkdju-1"})(["display:flex;justify-content:center;margin-top:",";"],(e=>{let{theme:t}=e;return t.spacing[32]})),O=a.default.div.withConfig({componentId:"sc-yqkdju-2"})(["max-width:800px;margin:0 auto;"]);var L=n(50530),P=n(82091);var H=e=>{let{heading:t,items:n,id:i}=e;const{text:a}=(0,P.useLocalizer)(),s={heading:t,productList:n?.map((e=>{let{asset:t,assetAlt:n,url:r,heading:i,contentRatingCode:s,contentRating:o,tag:d,descriptionTag:l,platformLabel:c,descriptionTagColor:u}=e;return{artPath:t,keyArtAlt:n||"",contentLink:r,contentTitle:i,productPlatform:a(c)||d,platformColor:c||d?L.rG[String(c||d).toUpperCase().replace(/ /g,"_")]:null,contentRating:o,contentRatingCode:s,contentDescriptors:o?.fields?.contentDescriptors?.map((e=>e?.fields?.label))?.join(", "),descriptionTag:a(l),descriptionTagColor:u}}))};return(0,d.jsx)(k,{id:i,children:(0,d.jsx)(r.He,{small:!0,children:(0,d.jsx)(r.EP,{contained:!0,collection:s})})})};const I=a.default.div.withConfig({componentId:"sc-17bai91-0"})(["display:block;","{gap:",";display:flex;align-items:center;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]})),Q=a.default.div.withConfig({componentId:"sc-17bai91-1"})(["flex:1;&:first-of-type{margin-bottom:",";","{margin-bottom:0;}}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));var R=n(21447);var T=e=>{let{promoAsset:t,promoHeading:n,promoText:i,promoCta:a,productRailHeading:s,products:o,deepLink:l,items:c}=e;const{locale:p}=(0,v.Z)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(k,{id:l,constrained:!0,small:!0,children:(0,d.jsxs)(I,{children:[(0,d.jsx)(Q,{children:(0,d.jsx)(r.cM,{asset:t})}),(0,d.jsxs)(Q,{children:[(0,d.jsx)(u.H,{variant:"h1",as:"h2",children:n}),(0,d.jsx)(w.Z,{data:i}),a[R.jL.ENTRY_ID]&&(0,d.jsx)(m.B,{href:a.url,locale:p,children:a.label})]})]})}),o?.length>0&&!c&&(0,d.jsx)(b,{heading:s,products:o}),c&&(0,d.jsx)(H,{heading:s,items:c})]})};var Z=e=>{let{heading:t,assets:n}=e;return(0,d.jsxs)(k,{constrained:!0,small:!0,children:[(0,d.jsx)(u.H,{variant:"h1",as:"h2",children:t}),(0,d.jsx)(p.S,{size:32}),(0,d.jsx)(O,{children:(0,d.jsx)(r.N8,{assets:n,ariaLabel:t})})]})}},32772:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}});var r=n(58403),i=n(61936),a=n(52322);function s(e){let{marketingPage:t,preview:n}=e;const{modules:s}=t,o=s[2].modules[2].boolean;return t.campaignId?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Xe,{preview:n}),(0,a.jsx)(i.VM,{asset:s[0]?.modules[0]?.primary,cta:s[0]?.cta}),(0,a.jsx)(i.eQ,{heading:s[1]?.heading,cta:{label:"See more indie games",url:"/indie-world/"},products:s[1]?.modules[0]?.products,id:s[1]?.deepLink})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Xe,{preview:n}),(0,a.jsx)(i.VM,{asset:s[0]?.modules[0]?.primary}),o&&(0,a.jsx)(i.jZ,{id:s[2]?.deepLink,promoAsset:s[2]?.modules[0]?.asset,promoHeading:s[2]?.modules[0]?.heading,promoText:s[2]?.modules[0]?.body,promoCta:s[2]?.modules[0]?.cta,productRailHeading:s[2]?.heading,products:s[2]?.modules[1]?.products}),(0,a.jsx)(i.B,{heading:s[3]?.heading,products:s[3]?.modules[0]?.products,id:s[3]?.deepLink}),(0,a.jsx)(i.C1,{heading:s[4]?.heading,assets:s[4]?.modules[0]?.assets}),(0,a.jsx)(i.B,{heading:s[5]?.heading,products:s[5]?.modules[0]?.products,id:s[5]?.deepLink}),(0,a.jsx)(i.eQ,{heading:s[1]?.heading,cta:s[1]?.cta,products:s[1]?.modules[0]?.products,id:s[1]?.deepLink}),!o&&(0,a.jsx)(i.jZ,{id:s[2]?.deepLink,promoAsset:s[2]?.modules[0]?.asset,promoHeading:s[2]?.modules[0]?.heading,promoText:s[2]?.modules[0]?.body,promoCta:s[2]?.modules[0]?.cta,productRailHeading:s[2]?.heading,products:s[2]?.modules[1]?.products})]})}}}]);