"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8722],{68722:function(t,e,i){i.r(e),i.d(e,{default:function(){return B}});var r=i(95235),o=i(21582),n=i(29354),s=i(6836),a=i(86409),c=i(7307),d=i(35246),l=i(93556),h=i(90929),m=i(51328);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function p(t){for(var e=1;e({variants:$,animate:$.animate}))).withConfig({componentId:"sc-1vs4ajp-3"})(["z-index:4;position:relative;"]),v=(0,c.default)(l.m.div).attrs((()=>({variants:u,initial:"hidden",whileInView:"show",viewport:{once:!0}}))).withConfig({componentId:"sc-1vs4ajp-4"})(["position:absolute;height:",";width:",";top:",";left:",";right:",";bottom:",";background-image:",";background-size:contain;background-repeat:no-repeat;background-position:",";z-index:2;@media (max-width:1366px){display:",";}@media (max-width:768px){height:",";width:",";top:",";left:",";right:",";bottom:",";}",""],(t=>{let{$height:e}=t;return e+"px"}),(t=>{let{$width:e}=t;return e+"px"}),(t=>{let{$top:e}=t;return e}),(t=>{let{$left:e}=t;return e}),(t=>{let{$right:e}=t;return e}),(t=>{let{$bottom:e}=t;return e}),(t=>{let{$assetPath:e}=t;return`url(${(0,h.R6)({publicId:e,variant:"BACKGROUND"})})`}),(t=>{let{$position:e}=t;return e}),(t=>{let{$display:e}=t;return"both"===e?"block":"none"}),(t=>{let{$mobile:e}=t;return e?.height+"px"}),(t=>{let{$mobile:e}=t;return e?.width+"px"}),(t=>{let{$mobile:e}=t;return e?.top}),(t=>{let{$mobile:e}=t;return e?.left}),(t=>{let{$mobile:e}=t;return e?.right}),(t=>{let{$mobile:e}=t;return e?.bottom}),(t=>{let{$minVisibleWidth:e}=t;return e&&`\n display: none;\n @media (min-width: ${e}px) {\n display: block;\n }\n `})),k=(0,c.default)(o.Ks).withConfig({componentId:"sc-1vs4ajp-5"})(["min-height:100px;--mask:",";-webkit-mask:var(--mask);mask:var(--mask);margin-top:",";margin-bottom:",";z-index:",";overflow:hidden;"],(t=>{let{$edge:e}=t;return x[e]}),(t=>{let{$edge:e}=t;return"top"===e||"both"===e?"-20px":0}),(t=>{let{$edge:e}=t;return"bottom"===e||"both"===e?"-20px":0}),(t=>{let{$edge:e}=t;return void 0===e?-1:1})),w=c.default.div.withConfig({componentId:"sc-1vs4ajp-6"})(["hr{border-top:",";}","{max-width:",";margin:",";}"],(t=>{let{$color:e}=t;return`5px dotted ${e}`}),(t=>{let{theme:e}=t;return e.mediaQuery.tablet}),(t=>{let{$constrain:e}=t;return e&&"50%"}),(t=>{let{$constrain:e}=t;return e&&"0 auto"})),P=(0,c.default)(a.$0).withConfig({componentId:"sc-1vs4ajp-7"})(["background-attachment:fixed;background-position:center;box-shadow:0 -30px 30px rgba(0,0,0,0.2) inset,0 30px 30px rgba(0,0,0,0.2) inset;min-height:33vh;@media (max-width:768px){overflow:hidden;background-size:cover;}"]),O=(0,c.default)(o.BE).attrs((t=>{let{imageProps:e}=t;return{imageProps:p(p({},e),{},{border:"none"})}})).withConfig({componentId:"sc-1vs4ajp-8"})(["position:relative;> div:nth-of-type( "," ) > div:nth-of-type(1){position:relative;width:100%;padding:2rem;z-index:1;&::after{content:'';position:absolute;top:0;left:0;height:100%;width:100%;background:",";background-size:100% 100%;z-index:-1;}",",","{overflow:hidden;border-radius:",";}","{padding:2.5rem 3rem;}}div:nth-child(2){order:",";","{order:0;}}"],(t=>{let{right:e,stackItems:i}=t;return i?"n":"asset"===e?2:1}),(t=>{let{$color:e}=t;return`url(https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/mario-vs-dk/story-${e}.png)`}),m.mo,m.Rt,(t=>{let{theme:e}=t;return e.borderRadius}),(t=>{let{theme:e}=t;return e.mediaQuery.tablet}),(t=>{let{$rightFirst:e}=t;return e&&"-1"}),(t=>{let{theme:e}=t;return e.mediaQuery.tablet})),F=c.default.div.withConfig({componentId:"sc-1vs4ajp-9"})(["display:grid;grid-template-columns:1fr;align-items:center;justify-content:center;img{padding:1rem 0;max-width:50%;margin:0 auto;}p:nth-of-type(2){display:none;}","{grid-template-columns:1fr 2fr 1fr;img{max-width:75%;}}"],(t=>{let{theme:e}=t;return e.mediaQuery.tablet})),I=(0,c.default)(o.mR).withConfig({componentId:"sc-1vs4ajp-10"})(["@media (max-width:768px){text-align:center;}"]);var M=i(35463),C=i(9311),D=i(97729),E=i.n(D);const z=[{$assetPath:"/Microsites/mario-vs-dk/dkBurst",$top:"-1rem",$right:"0",$width:"450",$height:"300",$position:"right"},{$assetPath:"/Microsites/mario-vs-dk/marioBurst",$top:"20%",$left:"0",$width:"375",$height:"245",$position:"left",$minVisibleWidth:1575},{$assetPath:"/Microsites/mario-vs-dk/mario-minis",$bottom:"-2rem",$right:"-50px",$width:"225",$height:"210",$position:"right",$display:"both",$mobile:{height:160,width:140,bottom:"-1rem",right:"-2rem"}},{$assetPath:"/Microsites/mario-vs-dk/minis-star-walking",$bottom:"-1.5rem",$right:"-40px",$width:"240",$height:"170",$position:"right",$display:"both",$mobile:{height:160,width:180,bottom:"-3rem",right:"-1rem"}},{$assetPath:"/Microsites/mario-vs-dk/dk-chest",$top:"-10%",$right:"-150px",$width:"265",$height:"265",$position:"right",$display:"",$mobile:{height:160,width:160,top:"-3rem",right:"-80px"}},{$assetPath:"/Microsites/mario-vs-dk/monkey",$top:"10%",$left:"0",$width:"265",$height:"265",$position:"left",$display:""},{$assetPath:"/Microsites/mario-vs-dk/gator",$bottom:"25%",$left:"45%",$width:"134",$height:"95",$position:"center",$display:""},{$assetPath:"/Microsites/mario-vs-dk/mario-stage-bars",$top:"30%",$right:"-10rem",$width:"400",$height:"350",$position:"right",$display:""},{$assetPath:"/Microsites/mario-vs-dk/mario-shyguy",$bottom:"3rem",$left:"-4rem",$width:"173",$height:"281",$position:"center",$display:""},{$assetPath:"/Microsites/mario-vs-dk/mario-bubble",$top:"-9.5rem",$right:"-7.5rem",$width:"251",$height:"251",$position:"center",$display:""},{$assetPath:"/Microsites/mario-vs-dk/mario-handstand",$bottom:"15%",$left:"45%",$width:"167",$height:"190",$position:"center",$display:""}];var T=i(52322),A=i(2784);function K(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function R(t){for(var e=1;e{let{demoNsuid:e,name:i,softwarePublisher:r,sku:o}=t;return{demoNsuid:e,name:i,softwarePublisher:r,sku:o}})(i);return(0,T.jsx)(M.X,{features:C.H,children:(0,T.jsxs)(f,{children:[(0,T.jsxs)(E(),{children:[(0,T.jsx)("link",{rel:"stylesheet",href:"https://use.typekit.net/ppb0jes.css"}),(0,T.jsx)("link",{rel:"stylesheet",href:"https://use.typekit.net/ixg4nzy.css"})]}),(0,T.jsx)(o.vM,{children:(0,T.jsxs)(M.X,{features:C.H,children:[(0,T.jsx)(b,{alignment:"center",imgSrc:"/Microsites/mario-vs-dk/platform",height:32,variant:"stretch"}),(0,T.jsx)(k,{section:e.sections[0],$edge:"bottom",id:e.sections[0].id,hide:e.sections[0].hide,children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(O,{items:t.asset,right:"asset",$color:"red",imageProps:{border:"none"},$rightFirst:!0,left:(0,T.jsx)(w,{$color:"#e60012",children:(0,T.jsx)(I,{content:t.content})})})})}),(0,T.jsxs)(P,{id:e.sections[1].id,hide:e.sections[1].hide,background:e.sections[1].background.backgroundType,children:[(0,T.jsx)(v,R({},z[0])),(0,T.jsx)(v,R({},z[1])),(0,T.jsx)(o.Ks,{section:R(R({},e.sections[1]),{},{background:null}),children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(w,{$color:"#000",$constrain:!0,children:(0,T.jsx)(I,{content:t.content,options:{textAlign:"center"}})})})}),(0,T.jsx)(o.Ks,{section:e.sections[2],marginTop:0,marginBottom:0,children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(O,{items:t.asset,$color:"blue",right:"asset",$rightFirst:!0,left:(0,T.jsx)(w,{$color:"#0026DF",children:(0,T.jsx)(I,{content:t.content,options:{textAlign:"right"}})}),imageSiblings:[(0,A.createElement)(v,R(R({},z[2]),{},{key:"sect2Imgs"}))],imageProps:{autoplay:"true"},controls:!1})})}),(0,T.jsx)(o.Ks,{section:e.sections[3],marginTop:0,marginBottom:0,children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(O,{items:t.asset,$color:"red",left:"asset",right:(0,T.jsx)(w,{$color:"#e60012",children:(0,T.jsx)(I,{content:t.content})}),imageSiblings:[(0,A.createElement)(v,R(R({},z[3]),{},{key:"sect3Imgs"}))],imageProps:{autoplay:"true"},controls:!1})})}),(0,T.jsx)(o.Ks,{section:e.sections[4],marginTop:0,marginBottom:0,children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(O,{items:t.asset,$color:"green",right:"asset",$rightFirst:!0,left:(0,T.jsx)(w,{$color:"#00911D",children:(0,T.jsx)(I,{content:t.content,options:{textAlign:"right"}})}),imageSiblings:[(0,A.createElement)(v,R(R({},z[4]),{},{key:"sect4Imgs"}))],imageProps:{autoplay:"true"},controls:!1})})})]}),(0,T.jsx)(k,{section:e.sections[5],$edge:"both",id:e.sections[5].id,hide:e.sections[5].hide,inverse:!0,children:t=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(v,R({},z[5])),(0,T.jsx)(v,R({},z[6])),(0,T.jsx)(v,R({},z[7])),(0,T.jsx)(w,{$color:"#FFE200",$constrain:!0,children:(0,T.jsx)(o.mR,{content:t.content,options:{textAlign:"center"}})}),(0,T.jsx)(O,{items:t.gallery,stackItems:!0,sectionItemProps:{options:{textAlign:"center"}},$color:"yellow-r",imageProps:{border:"none"}})]})}),(0,T.jsx)(P,{background:e.sections[6].background.backgroundType,id:e.sections[6].id,hide:e.sections[6].hide,children:(0,T.jsx)(o.Ks,{section:R(R({},e.sections[6]),{},{background:null}),inverse:!0,children:t=>(0,T.jsx)(w,{$color:"#FFE200",children:(0,T.jsx)(O,{items:t.asset,$color:"blue",left:"asset",$rightFirst:!0,right:(0,T.jsx)(I,{content:t.content})})})})}),(0,T.jsx)(k,{section:e.sections[7],$edge:"both",id:e.sections[7].id,hide:e.sections[7].hide,$constrain:!0,small:!0,inverse:!0,children:t=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(w,{$color:"#FFE200",$constrain:!0,children:(0,T.jsx)(o.mR,{content:t.content,options:{textAlign:"center"}})}),(0,T.jsxs)(j,{children:[(0,T.jsx)(v,R({},z[8])),(0,T.jsx)(y,{children:(0,T.jsx)(v,R({},z[9]))}),(0,T.jsx)(o.Gf,{items:t.gallery,imageProps:{border:"none"},contrastColor:"white"})]})]})}),(0,T.jsx)(P,{background:e.sections[8].background.backgroundType,children:(0,T.jsx)(o.Ks,{section:R(R({},e.sections[8]),{},{background:null}),id:e.sections[8].id,hide:e.sections[8].hide,children:t=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(w,{$color:"#000",$constrain:!0,children:(0,T.jsx)(o.mR,{content:t.content,options:{textAlign:"center"}})}),(0,T.jsx)(O,{items:t.gallery,stackItems:!0,$color:"tan",sectionItemProps:{options:{textAlign:"center"}},imageProps:{border:"none"}}),(0,T.jsx)(v,R({},z[10]))]})})}),(0,T.jsx)(k,{section:e.sections[9],$edge:"top",id:e.sections[9].id,hide:e.sections[9].hide,inverse:!0,children:t=>(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(o.mR,{options:{textAlign:"center",scrim:"dark"},children:(0,T.jsxs)(F,{children:[(0,T.jsx)("div",{children:(0,T.jsx)(s.I,{assetPath:"/Microsites/mario-vs-dk/ToadHi",alt:"Toad"})}),(0,T.jsx)(w,{$color:"#00911D",children:(0,T.jsx)(c.ThemeProvider,{theme:S,children:(0,T.jsx)(a.Ho,{data:R(R({},t.content),{},{demoDetail:r})})})}),(0,T.jsx)("div",{children:(0,T.jsx)(s.I,{assetPath:"/Microsites/mario-vs-dk/DKTrashCan",alt:"Trash can"})})]})})})}),(0,T.jsx)(b,{alignment:"center",imgSrc:"/Microsites/mario-vs-dk/platform",height:32,variant:"stretch"}),(0,T.jsx)(P,{background:e.sections[10].background.backgroundType,id:e.sections[10].id,hide:e.sections[10].hide})]})})]})})}}}]);