!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c24c4e46-1756-4355-af7e-40bd695deb0c",e._sentryDebugIdIdentifier="sentry-dbid-c24c4e46-1756-4355-af7e-40bd695deb0c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6216],{78261:function(e,s,a){"use strict";a.r(s),a.d(s,{__N_SSP:function(){return P}});var r=a(18459),n=a(35315),l=a(14566),t=a(89943),d=a(12915),i=a(51510),o=a(22200),c=a(8735),h=a(68374),u=a(76103),m=a(84826),x=a(24284),j=a(53023),p=a(82091),g=a(6950),y=a(20120),b=a(51312),f=a(10344),w=a(65398),_=a(52322);var P=!0;s.default=function(e){let{page:s}=e;const{modules:a}=s.content,{text:P,date:T}=(0,p.useLocalizer)();return(0,_.jsxs)(j.Z,{legalFooterData:a[5].modules[0].richText,heading:P("Nintendo Switch Online overview"),children:[(0,_.jsxs)(y.ZH,{constrained:!0,small:!0,background:n.d.color.primary,children:[(0,_.jsxs)(y.fi,{children:[(0,_.jsx)(y.KX,{assetPath:a[7].modules[1].primary.assetPath,alt:""}),(0,_.jsx)(l.I,{assetPath:a[7].modules[0].primary.assetPath,alt:""}),(0,_.jsx)(y.KX,{assetPath:a[7].modules[3].primary.assetPath,alt:""}),(0,_.jsxs)(y.Ud,{children:[(0,_.jsx)(t.T,{variant:"title",children:a[7].heading}),(0,_.jsx)(d.B,{href:a[7].cta.url,children:a[7].cta.label})]})]}),(0,_.jsxs)(y.tp,{children:[(0,_.jsx)(l.I,{assetPath:a[7].modules[1].primary.assetPath,alt:""}),(0,_.jsx)(l.I,{assetPath:a[7].modules[2].primary.assetPath,alt:""})]})]}),!a?.[8]?.hide&&(0,_.jsxs)(y.lx,{constrained:!0,small:!0,children:[(0,_.jsx)(r.tm,{reverseContent:!0,content:{assetPath:a?.[8]?.modules?.[0]?.asset?.primary?.assetPath,heading:a?.[8]?.modules?.[0]?.heading,description:a?.[8]?.modules?.[0]?.body,cta:a?.[8]?.modules?.[0]?.cta,resourceType:"moduleCloudinaryVideo"===a?.[8]?.modules?.[0]?.asset?.__contentType&&"video"}}),(0,_.jsx)(y.WN,{})]}),(0,_.jsx)(r.$0,{constrained:!0,small:!0,children:(0,_.jsx)(r.tm,{noScrim:!0,content:{assetPath:a?.[1]?.modules?.[0]?.asset?.id,heading:a?.[1]?.modules?.[0]?.heading,description:a?.[1]?.modules?.[0]?.body,resourceType:"video"}})}),(0,_.jsxs)(y.gw,{constrained:!0,small:!0,children:[(0,_.jsx)(y.NF,{}),(0,_.jsx)(y.S6,{children:a[6].modules.map((e=>(0,_.jsxs)(y.kJ,{children:[(0,_.jsx)(y.mC,{alt:"",assetPath:(0,w.R6)({publicId:e?.asset?.primary?.assetPath})}),(0,_.jsx)(i.H,{children:e?.heading}),(0,_.jsx)(r.Ho,{data:e?.body}),(0,_.jsx)(o.L,{href:e?.cta?.url,children:e?.cta?.label})]},e?.__entryId)))})]}),(0,_.jsxs)(r.$0,{constrained:!0,small:!0,marginTop:0,id:a[2].deepLink,children:[(0,_.jsx)(b.Z,{showFancyBorder:!1,icon:c.Z,iconColor:n.d.color.primary,alignToBorder:!0}),(0,_.jsx)(y.NZ,{children:(0,_.jsx)(r.Ho,{data:a[2].modules[0].richText})}),(0,_.jsx)(i.H.NewLevel,{children:(0,_.jsx)(f.Z,{cta:a[2].cta,ctaHeading:a[2].heading,data:s.membershipTableData})})]}),(0,_.jsxs)(r.$0,{constrained:!0,small:!0,background:n.d.color.lightGray4,marginTop:0,children:[(0,_.jsx)(b.Z,{showFancyBorder:!1,iconUrl:"https://assets.nintendo.com/image/upload/v1669926255/sparkle-icon.png",alignToBorder:!0}),(0,_.jsxs)(y.NZ,{children:[(0,_.jsx)(i.H,{children:a[3].modules[0].heading}),(0,_.jsx)(r.Ho,{data:a[3].modules[0].body})]}),(0,_.jsxs)(i.H.NewLevel,{children:[(0,_.jsx)(r.$3,{small:!0,collections:[{heading:a[3].heading,cta:{fields:{label:a[3]?.cta.label,url:a[3]?.cta.url}},products:a[3].modules[1].products}]}),(0,_.jsx)(r.Ho,{data:a[3].modules[2].richText})]})]}),(0,_.jsxs)(r.$0,{small:!0,constrained:!0,marginTop:0,children:[(0,_.jsx)(b.Z,{showFancyBorder:!1,icon:h.Z,iconColor:n.d.color.primary,alignToBorder:!0}),(0,_.jsxs)(y.NZ,{children:[(0,_.jsx)(i.H,{children:a[4].heading}),(0,_.jsx)(r.Ho,{data:a[4].modules[0].richText})]}),(0,_.jsx)(i.H.NewLevel,{children:a[4].modules.map(((e,s)=>{if("modulePromoC"===e.__contentType&&e.body)return(0,_.jsx)(r.oW,{heading:e.heading,children:(0,_.jsx)(r.Ho,{data:e.body})},e.heading+s)}))}),(0,_.jsx)(u.S,{size:32}),(0,_.jsx)(y.NZ,{children:(0,_.jsx)(d.B,{size:"large",variant:"secondary",href:a[4].cta.url,children:a[4].cta.label})})]}),s.allArticles?.length>0&&(0,_.jsxs)(r.$0,{small:!0,constrained:!0,background:n.d.color.lightGray4,children:[(0,_.jsx)(i.H,{headingProps:{variant:"h2"},children:P("See what\u2019s new with Nintendo Switch Online")}),(0,_.jsx)(u.S,{size:16}),(0,_.jsx)(i.H.NewLevel,{children:(0,_.jsx)(m.R,{children:s.allArticles.map((e=>{let{id:s,title:a,media:r,publishDate:l,url:t}=e;return(0,_.jsx)(x.N,{articleLink:t,articleTitle:a,artPath:r?.publicId,publishDate:T(l,{format:g.t6.SHORT}),size:"small",backgroundFillColor:n.d.color.lightGray4,readMoreLabel:P("Read more"),encloseTile:!0},s)}))})})]})]})}},4074:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/switch/online",function(){return a(78261)}])}},function(e){e.O(0,[8669,9774,2888,179],(function(){return s=4074,e(e.s=s);var s}));var s=e.O();_N_E=s}]); //# sourceMappingURL=online-fa9843de4009e7da.js.map