!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f461637-a7d3-4dd9-8c0d-c404ba1869f6",e._sentryDebugIdIdentifier="sentry-dbid-4f461637-a7d3-4dd9-8c0d-c404ba1869f6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5586],{26012:function(e,t,r){r.d(t,{B:function(){return O}});var n=r(95235),o=r(82269),i=r(2784),a=r(13980),c=r.n(a),l=r(83290),s=r(17844),d=r(82731),u=r(61240),f=r(94077),p=r(52322);const g=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t{let{iconColor:t}=e;return t&&"currentColor"!==t&&(0,d.iv)(["--icon-color:",";"],(0,f.a)(t))}),(e=>{let{$color:t}=e;return"black"===t?(0,d.iv)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,d.iv)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),v=d.ZP.span.withConfig({componentId:"pmp-module__sc-1dwtk0t-1"})(["align-items:center;background-color:var(--bg-color);display:flex;justify-content:center;line-height:1;padding:0.6em 0.8em;text-transform:uppercase;transition:background-color 0.2s ease;@media (hover:hover){",":hover &{background-color:var(--hover-bg-color);}}"],b),y=(0,i.forwardRef)(((e,t)=>{let{as:r,text:n,hiddenText:a,href:c,color:s,icon:d,iconColor:u,renderContent:f,renderBeforeContent:m,renderAfterContent:y,children:O,className:w}=e,j=(0,o.Z)(e,g);const x=(0,i.useRef)(),P=t||x;return(0,p.jsxs)(b,h(h({className:w,ref:P,as:c?"a":r,href:c,$color:s,iconColor:u},j),{},{children:[m&&m({text:n,hiddenText:a}),f?f({text:n,hiddenText:a}):(0,p.jsxs)(v,{children:[O,(0,p.jsx)("span",{"aria-hidden":a?"true":null,children:n}),a&&(0,p.jsx)(l.S,{children:a})]}),y&&y({text:n,hiddenText:a})]}))}));y.displayName="Button",y.defaultProps={as:"button"},y.propTypes=h(h({},s.e),{},{as:c().oneOf(["button","a","span","div"]),text:c().string.isRequired,hiddenText:c().string,color:c().string,icon:c().string,iconColor:c().string,href:c().string,renderContent:c().func,renderBeforeContent:c().func,renderAfterContent:c().func});var O=y},10932:function(e,t,r){r.d(t,{C:function(){return m}});var n=r(95235),o=r(82269),i=r(13980),a=r.n(i),c=r(82731),l=r(17844),s=r(52322),d=r(13157);const u=["entryId","anchorOffset","children","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t{let{theme:t}=e;return t.pmp.layout.totalWidth})),f=e=>{let{children:t,className:r}=e,n=(0,o.Z)(e,l);return(0,c.jsx)(u,d(d({className:r},n),{},{children:t}))};f.propTypes=d({},i.e);var p=f},37928:function(e,t,r){r.d(t,{m:function(){return i}});var n=r(11954),o={Characters:{es:"Personajes",fr:"Personnages",pt:"Personagens"},"Reduced motion":{es:"Reducir movimiento",fr:"Arr\xeater l\u2019animation",pt:"Movimento reduzido"},"Active gallery item: $i of $t.":{es:"Elemento activo de la galer\xeda: $i de $t.",fr:"Objet de galerie actif : $i sur $t.",pt:"Item ativo da galeria: $i de $t."},"Gallery item":{es:"Elemento de la galer\xeda",fr:"Objet de la galerie",pt:"Item da galeria"},"Next gallery item":{es:"Siguiente art\xedculo de la galer\xeda",fr:"\xc9l\xe9ment suivant de la galerie",pt:"Pr\xf3ximo item da galeria"},"Previous gallery item":{es:"Art\xedculo anterior de la galer\xeda",fr:"\xc9l\xe9ment pr\xe9c\xe9dent de la galerie",pt:"Item anterior da galeria"},"Gallery navigation":{es:"Navegar por la galer\xeda",fr:"Navigation de la galerie",pt:"Galeria de navega\xe7\xe3o"},"Download demo":{es:"Descargar la versi\xf3n de prueba",fr:"T\xe9l\xe9charger la d\xe9mo",pt:"Baixar vers\xe3o demo"},"Play video":{es:"Reproducir video",fr:"Lire la vid\xe9o",pt:"Reproduzir v\xeddeo"},"Watch the trailer":{es:"Ver el tr\xe1iler",fr:"Voir la bande-annonce",pt:"Assista ao trailer"},"Mute audio":{es:"Desactivar el audio",fr:"D\xe9sactiver le son",pt:"Colocar no mudo"},"Unmute audio":{es:"Activar el audio",fr:"Activer le son",pt:"Tirar do mudo"}};function i(e){return(0,n.m)(o,e)}},59e3:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(11954),o=r(34406);function i(e){let{url:t,isVideo:r,mediaWidth:i}=e;if(!t)return"";const a="https://assets.nintendo.com",c=/\.[0-9a-z]+$/i,l=`${a}/image/upload/`,s=i?`,c_scale,w_${i}`:"",d=`${a}/image/upload/f_auto,q_auto${s}/`,u=`${a}/video/upload/f_auto:video,q_auto${s}/`,f=o.env.NEXT_PUBLIC_CLOUDINARY_ROOT_DIRECTORY||"marketing",p=t.toLowerCase().indexOf(f);if(-1===p)return t;const g=t.slice(p).trim();return"true"===o.env.LOCAL_IMAGES||!0===o.env.LOCAL_IMAGES?`${n.S}/${g}`:r?`${u}${g}`:g.endsWith(".svg")?`${l}${g}`:c.test(g)?`${d}${g.replace(c,"")}`:`${d}${g}`}},95697:function(e,t,r){r.d(t,{u:function(){return c}});var n=r(2784),o=r(11954);const i=new Map([["S",[1,"small"]],["M",[2,"medium"]],["L",[3,"large"]],["XL",[4,"xlarge"]],["XXL",[5,"xxlarge"]]]),a=[...i].reduce(((e,t)=>{const r=t[1][1];return e[r]=r,e}),{}),c=()=>{const{0:e,1:t}=(0,n.useState)([null,null]),r=e[0],c=(0,n.useCallback)((()=>{t(i.get(window.getComputedStyle(document.querySelector(`.${o.N}`),"::after").content.replace(/'|"/gi,"")))}),[]);return(0,n.useEffect)((()=>(window.addEventListener("resize",c),c(),()=>{window.removeEventListener("resize",c)})),[]),{breakpoint:r,breakpointName:e[1],mediumUp:r>1,mediumDown:r<3,largeUp:r>2,xlargeUp:r>3,BREAKPOINTS:a}}},13157:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(2784);const o=e=>{let{id:t,margin:r=100}=e;(0,n.useEffect)((()=>{if(!t)return;const e=document.querySelector(`#${t}`),n=window.location.hash;if(!e||n!==`#${t}`)return;const o=setTimeout((()=>{let t=e,n=0;for(;t.offsetParent!==document.body;)n+=t.offsetTop,t=t.parentElement;t.offsetParent===document.body&&(n+=t.offsetTop),e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,n-r)}),500);return()=>{clearTimeout(o)}}),[])}}}]); //# sourceMappingURL=5586.c0b62f08a2aa540e.js.map