!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]="35018094-2866-479a-980c-82841ee9eaca",e._sentryDebugIdIdentifier="sentry-dbid-35018094-2866-479a-980c-82841ee9eaca")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2307],{18532:function(e,t,r){r.d(t,{m:function(){return i}});var a=r(2771),n={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,a.m)(n,e)}},27010:function(e,t,r){r.d(t,{w:function(){return a}});var a='.gallery-util-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gallery{--position-offset: 0px;--touch-offset: 0;--item-width: min(75%, 1000px);--gap: 25vw;--active-gap: 0px;--active: 0;--duration: .5s;position:relative;width:100%}.gallery--draggable{touch-action:pan-y}.gallery__main{display:grid;grid-template-areas:"item";list-style:none;margin:0;padding:0;position:relative}.gallery__item{--x: calc( (var(--touch-offset, 0) * 1px) + var(--position-offset) + (var(--active-gap) * var(--side)) + (var(--item-width) + var(--gap)) * (var(--i) - var(--selected)) );--delay: calc(0s * var(--center-offset, 0));grid-area:item;margin:0 auto;padding:0;transform:translate(var(--x));transition:transform var(--duration);width:var(--item-width);z-index:calc(var(--total) - var(--center-offset))}.gallery__item--draggable img{pointer-events:none}.gallery__item--dragging{transition:none!important}.gallery__nav{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;border-radius:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;padding:0}.gallery__pagination{--gap: 10px;display:grid;gap:var(--gap);grid-auto-flow:column;justify-content:center}.gallery__pagination-item{line-height:1}\n'},72692:function(e,t,r){r.d(t,{Lm:function(){return O},UD:function(){return w},__:function(){return N},d5:function(){return b},nH:function(){return _},oL:function(){return I},ri:function(){return x}});var a=r(2784);function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,l={exports:{}},o={};l.exports=function(){if(i)return o;i=1;var e=a,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,a){var i,o={},c=null,d=null;for(i in void 0!==a&&(c=""+a),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)n.call(r,i)&&!s.hasOwnProperty(i)&&(o[i]=r[i]);if(e&&e.defaultProps)for(i in r=e.defaultProps)void 0===o[i]&&(o[i]=r[i]);return{$$typeof:t,type:e,key:c,ref:d,props:o,_owner:l.current}}return o.Fragment=r,o.jsx=c,o.jsxs=c,o}();var s=l.exports,c={exports:{}};var d,u,g,p;function f(){if(u)return d;u=1;return d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}c.exports=function(){if(p)return g;p=1;var e=f();function t(){}function r(){}return r.resetWarningCache=t,g=function(){function a(t,r,a,n,i,l){if(l!==e){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function n(){return a}a.isRequired=a;var i={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:n,element:a,elementType:a,instanceOf:n,node:a,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i}}()();const m=n(c.exports),v=(e=[])=>{if(!e||!Array.isArray(e)||!e.length)return null;let t=[];return e.forEach((e=>{"string"==typeof e&&t.push(e)})),t.join(" ")},y=(0,a.createContext)(),h={isDragging:!1,start:0,xOffset:0,offsetting:!1,scrolling:!0},x=({items:e,loop:t,draggable:r,onChange:n,startIndex:i,visibleRange:l,ariaLiveText:o,className:c,children:d})=>{const[u,g]=(0,a.useState)((()=>i||0)),[p,f]=(0,a.useState)((()=>i||0)),[m,x]=(0,a.useState)((()=>h)),b=(0,a.useRef)([]);if(!Array.isArray(e))throw new Error(" items prop must be an Array.");const _=(0,a.useCallback)((()=>{f(u),g((r=>{let a=r+1;return r===e.length-1&&(a=t?0:r),n&&n({oldIndex:r,newIndex:a,direction:1}),a}))}),[u,e.length,t,n]),I=(0,a.useCallback)((()=>{f(u),g((r=>{let a=r-1;return 0===r&&(a=t?e.length-1:r),n&&n({oldIndex:r,newIndex:a,direction:0}),a}))}),[u,e.length,t,n]),w=(0,a.useCallback)((t=>{const r=e[t]?t:0;f(u),g(r);n&&n({oldIndex:u,newIndex:r,direction:r-u>0?1:0})}),[u,n,e]);(0,a.useEffect)((()=>{e[u]||w()}),[u,e,w]);const N={galleryItems:e,itemNodes:b,startIndex:i,activeIndex:u,setActiveIndex:g,previouslyActiveIndex:p,setPreviouslyActiveIndex:f,goToIndex:w,next:_,previous:I,loop:t,draggable:r,touchState:m,setTouchState:x,swipeThreshold:50,onChange:n,visibleRange:l};return s.jsx(y.Provider,{value:N,children:s.jsxs("div",{className:v(["gallery",r&&"gallery--draggable",c]),style:{"--touch-offset":m.xOffset},children:[d,o&&s.jsx("p",{"aria-live":"polite",className:"gallery-util-visually-hidden",children:o.replace("$i",u+1).replace("$t",e.length)})]})})};x.propTypes={items:m.array.isRequired,loop:m.bool,draggable:m.bool,onChange:m.func,startIndex:m.number,visibleRange:m.number,ariaLiveText:m.string,className:m.string,children:m.node},x.defaultProps={loop:!1,draggable:!0,startIndex:0,visibleRange:-1,ariaLiveText:"Item $i of $t."};const b=()=>{const e=(0,a.useContext)(y);if(!e)throw new Error("useGallery must be called from within a .");return e},_=({renderGalleryItem:e,className:t,...r})=>{const{activeIndex:n,galleryItems:i,next:l,previous:o,draggable:c,touchState:d,setTouchState:u,swipeThreshold:g}=b(),p=(0,a.useCallback)((()=>{c&&u((e=>({...e,isDragging:!0})))}),[c,u]),f=(0,a.useCallback)((e=>{if(c&&!d.scrolling&&!0===d.isDragging&&e.clientY)if(d.start){const t=e.clientX-d.start.x,r=e.clientY-d.start.y;d.offsetting?u((e=>({...e,xOffset:t}))):(Math.abs(r)>20&&u((e=>({...e,scrolling:!0}))),Math.abs(t)>10&&u((e=>({...e,offsetting:!0,xOffset:t}))))}else u((t=>({...t,start:{x:e.clientX,y:e.clientY}})))}),[c,d.scrolling,d.isDragging,d.start,d.offsetting,u]),m=(0,a.useCallback)((()=>{c&&d.isDragging&&(Math.abs(d.xOffset)>g&&(d.xOffset<0?l():o()),u((e=>({...e,isDragging:!1,xOffset:0,start:0,offsetting:!1,scrolling:!1}))))}),[c,d.isDragging,d.xOffset,g,u,l,o]);return s.jsx("ul",{className:v(["gallery__main",t]),onPointerDown:c?p:null,onPointerMove:c?f:null,onPointerUp:c?m:null,style:{"--selected":n,"--total":i.length},...r,children:i.map(((t,r)=>e({item:t,index:r,activeIndex:n,active:n===r})))})};_.propTypes={renderGalleryItem:m.func.isRequired,className:m.string};const I=({renderPaginationItem:e,className:t,...r})=>{const{activeIndex:a,galleryItems:n}=b();return s.jsx("ul",{className:v(["gallery__pagination",t]),...r,children:n.map(((t,r)=>e({index:r,active:a===r,activeIndex:a,item:t})))})};I.propTypes={renderPaginationItem:m.func.isRequired,className:m.string};const w=({index:e,active:t,className:r,buttonClassName:a,buttonProps:n,children:i,onClick:l,...o})=>{const{goToIndex:c,itemNodes:d}=b();return s.jsx("li",{className:v(["gallery__pagination-item",r]),...o,children:s.jsx("button",{className:a,onClick:(u=e,t=>{c(u),d.current[u].focus({preventScroll:!0}),null==l||l({event:t,index:e})}),"aria-current":t?"true":null,...n,children:i})});var u};w.propTypes={index:m.number.isRequired,active:m.bool.isRequired,className:m.string,buttonClassName:m.string,buttonProps:m.object,children:m.node,onClick:m.func};const N=({direction:e,renderNavItem:t,className:r,children:a,...n})=>{const{next:i,previous:l,loop:o,activeIndex:c,galleryItems:d}=b(),u=e&&c===d.length-1||!e&&0===c,g={disabled:!!u||null,"aria-disabled":u?"true":null};return a||t?s.jsx("button",{className:v([r,"gallery__nav","gallery__nav--"+(e?"next":"previous")]),onClick:()=>{e?i():l()},...!o&&g,...n,children:a||t({activeIndex:c,disabled:!o&&u})}):null};N.propTypes={direction:m.oneOf([0,1]).isRequired,renderNavItem:m.func,className:m.string,children:m.node};const O=({index:e,active:t,className:r,children:a,...n})=>{const{itemNodes:i,activeIndex:l,previouslyActiveIndex:o,draggable:c,touchState:d,visibleRange:u}=b(),g={"aria-hidden":t?null:"true",tabIndex:t?0:-1};return s.jsx("li",{ref:t=>i.current[e]=t,...g,...n,className:v(["gallery__item",c&&"gallery__item--draggable",c&&d.offsetting&&"gallery__item--dragging",t&&"gallery__item--active",e===o&&"gallery__item--was-active",el&&"gallery__item--right",(-1===u||Math.abs(e-l)<=u)&&"gallery__item--visible",r]),style:{"--i":e,"--center-offset":Math.abs(e-l),"--index-offset":e-l,"--side":el?1:0,"--active":t?1:0},children:a})};O.propTypes={index:m.number.isRequired,active:m.bool.isRequired,className:m.string,children:m.node}}}]); //# sourceMappingURL=2307.97dff695e4d4f9d6.js.map