1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1945],{58354:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/evento_especial/[eventName]",function(){return t(57213)}])},79519:function(n,e,t){"use strict";t.d(e,{Z:function(){return content_access_button_component}});var i=t(91309),a=t(85893);t(67294);var r=t(68769),c=t(3669),rented_button=function(){return(0,a.jsx)(c.Z,{icon:"ok",children:"Alquilado"})},o=t(49360),s=t(96026),l=t(96431),content_access_button_component=function(n){var e=n.content,t=n.config,c=void 0===t?{}:t,u=c.size,d=void 0===u?"big":u,_=c.showPrice,v=c.playable,f=n.children,m=(0,i._)((0,r.X)(e),2),h=m[0],x=m[1];switch(h){case r.N.LoginRequired:return(0,a.jsx)(s.Z,{});case r.N.Granted:if(void 0===v||v)return(0,a.jsx)(o.Z,{contentId:e.public_id,size:d});return x.isFree?null:(0,a.jsx)(rented_button,{});case r.N.BuyRequired:return(0,a.jsx)(l.Z,{content:e,size:d,showPrice:void 0!==_&&_,children:f});case r.N.None:default:return null}}},46259:function(n,e,t){"use strict";t.d(e,{Z:function(){return header_category_component}});var i=t(85893),a=t(72253),r=t(14932);t(67294);var c=t(67353),o=t(69905),s=t(91745),l=t(79519),main_banner_centered=function(n){var e=n.bg,t=n.titulo,u=n.subtitulo,d=n.content,_=n.showPrice,v=n.otherProps;return(0,i.jsxs)(s.Z,(0,r._)((0,a._)({align:"center-y",background:e},v),{children:[(0,i.jsx)("h1",{style:{fontSize:76},children:t}),(0,i.jsx)("p",{style:{fontSize:24},children:u}),d&&(0,i.jsx)(o.Z,{children:(0,i.jsx)(l.Z,{content:new c.default(d),config:{showPrice:void 0!==_&&_}})})]}))},u=t(93496),d=t(96990),_=t(91954),header_category_component=function(n){var e=n.config,t=(0,u.Z)(d.Ey,e.id_lista_banners),a=t.isLoading,r=t.data;if(a)return null;if(r.length){var c=r[0],o=c.titulo,s=c.subtitulo,l=c.contenido,v=(0,_.T)(r[0]);return(0,i.jsx)(main_banner_centered,{bg:v,content:l,titulo:o,subtitulo:s,showPrice:!0})}return null}},91745:function(n,e,t){"use strict";var i=t(72253),a=t(14932),r=t(47702),c=t(85893),o=t(69905);e.Z=function(n){var e=n.header,t=n.footer,s=n.background,l=n.className,u=n.size,d=n.align,_=n.children,v=(0,r._)(n,["header","footer","background","className","size","align","children"]),f=["slide".concat(u?" slide--".concat(u):""),l].filter(Boolean).join(" ");return(0,c.jsxs)("section",(0,a._)((0,i._)({role:"article",className:f},v),{children:[(0,c.jsxs)("div",{className:"slide__wrapper",children:[!!e&&(0,c.jsx)("div",{className:"slide__header container",children:e}),(0,c.jsx)(o.Z,{className:"slide__container container",align:d,children:_}),!!t&&(0,c.jsx)("div",{className:"slide__footer",children:t})]}),!!s&&(0,c.jsx)("div",{className:"slide__background",children:(0,c.jsx)("img",{src:s,alt:"slide-bg",style:{width:"100%"}})})]}))}},96026:function(n,e,t){"use strict";var i=t(85893);t(67294);var a=t(41609),r=t.n(a),c=t(52132),o=t(98172);e.Z=function(n){var e=n.banner,t=n.onLoggedInClick,a=(0,c.Z)(),s=a.user,l=a.login;if(a.isLoadingUser)return null;var u=!r()(s);return!(void 0!==e&&e)&&u?null:u?(0,i.jsx)(o.Z,{type:"reproducir",onClick:t}):(0,i.jsx)(o.Z,{type:"ingresar",onClick:function(){return l()}})}},49360:function(n,e,t){"use strict";var i=t(72253),a=t(14932),r=t(47702),c=t(85893),o=t(3669),s=t(11163);t(67294),e.Z=function(n){var e=n.contentId,t=(0,r._)(n,["contentId"]),l=(0,s.useRouter)();return(0,c.jsx)(o.Z,(0,a._)((0,i._)({icon:"play",onClick:function(){l.push("/play/".concat(e))}},t),{children:"Reproducir"}))}},29187:function(n,e,t){"use strict";var i=t(85893);t(67294),e.Z=function(n){var e=n.children;return(0,i.jsx)("div",{className:"tabs__content",children:e})}},21955:function(n,e,t){"use strict";var i=t(91309),a=t(85893),r=t(67294);e.Z=function(n){var e=n.children,t=n.size,c=void 0!==t&&t,o=n.buttons,s=n.cssTabsClass,l=n.activeDefault,u=void 0===l?"0":l,d=n.onlyTabs,_=n.withBottomBorder,v=n.title,f=void 0===v?"":v,m=(0,i._)((0,r.useState)(u),2),h=m[0],x=m[1];(0,r.useEffect)(function(){x(u)},[u]);var handleOnClick=function(n,e){"function"==typeof e&&e(),x(n)},j=["tabs__items",c&&"tabs__items--".concat(c),void 0!==o&&o&&"tabs__items--buttons",(void 0===_||_)&&"withBottomBorder","container"].filter(
1Boolean).join(" ");return(0,a.jsx)("div",{className:"tabs ".concat(void 0===s?"tabs--border":s),children:(0,a.jsxs)("div",{className:"tabs__container container",children:[(0,a.jsxs)("div",{className:j,children:[f?(0,a.jsxs)("h1",{children:[" ",f]}):null,r.Children.map(e,function(n){if(!n)return null;var e=["tabs__item",n.key===h&&"tabs__item--active"].filter(Boolean).join(" ");return(0,a.jsx)("div",{className:e,onClick:function(){handleOnClick(n.key,n.props.onClick)},children:(0,a.jsx)("div",{className:"link",children:n.props.tab})})})]}),!(void 0!==d&&d)&&r.Children.map(e,function(n){return(null==n?void 0:n.key)===h?n:null})]})})}},57213:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return _eventName_}});var i=t(11010),a=t(72253),r=t(14932),c=t(91309),o=t(97582),s=t(85893),l=t(41609),u=t.n(l),d=t(30120),_=t(11163),v=t(67294),f=t(90819),m=t(21955),h=t(76140),x=t(29187),j=t(45528),g=t(69905),p=t(28184),b=t(72547),N=t(67353),y=N.TIPO_AGENDA,Z=N.createContent,utilities_createEventInstances=function(n,e){var t=n.agenda;return e&&(t=e),t.map(function(e){return Z((0,r._)((0,a._)({},n,e),{tipo_contenido:y}))})},k=t(15059),C=t(40469),w=t(41664),E=t.n(w),extractHour=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";return d.ou.fromFormat(n,e).isValid?d.ou.fromFormat(n,e).toFormat("HH:mm"):""},title_component=function(n){var e=n.title,t=n.maxlines,i=void 0===t?1:t;return(0,s.jsx)("article",{className:"trim-box".concat(i?" line-".concat(i):""),children:(0,s.jsx)("h3",{className:"trim-text",style:{WebkitLineClamp:i},children:e})})},H=t(32767),event_instance_live_item=function(n){var e=n.item,t=(0,C.il)(e.fecha_inicio,e.fecha_fin),i=(0,C.W4)(e.fecha_inicio),a=extractHour(e.fecha_inicio),r=extractHour(e.fecha_fin);return(0,s.jsx)(E(),{href:"/play/".concat(e.public_id,"/").concat(e.data.id),title:e.nombre_fantasia,children:(0,s.jsx)("div",{className:"event_instance event_instance--live",children:(0,s.jsx)("div",{className:"event_instance__content",children:(0,s.jsxs)("div",{className:"event_instance__info",children:[(0,s.jsxs)("p",{children:[a," - ",r]}),(0,s.jsx)(title_component,{title:e.nombre,maxlines:2}),(0,s.jsx)(H.Z,{progress:t}),(0,s.jsxs)("span",{children:["Comenz\xf3 ",i]})]})})})},e.id)},z=t(21632),calculateDate=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";return d.ou.fromFormat(n,e).isValid?d.ou.fromFormat(n,e).toFormat("HH:mm"):""},event_instance_next_item=function(n){var e=n.item,t=(0,z.dd)().openModal,i=calculateDate(e.fecha_inicio),a=calculateDate(e.fecha_fin),r=(0,h.Z)().config.mensajes;return(0,s.jsx)(E(),{href:"#",title:e.nombre_fantasia,onClick:function(){t({text:r.info.evento_sin_iniciar||"El evento seleccionado a\xfan no ha comenzado."})},children:(0,s.jsx)("div",{className:"event_instance event_instance--dark",children:(0,s.jsxs)("div",{className:"event_instance__content",children:[(0,s.jsxs)("p",{children:[i," - ",a]}),(0,s.jsx)("h3",{children:e.nombre}),(0,s.jsx)("p",{children:e.data.lugar})]})})})},event_instance_item=function(n){var e=n.item;return(0,C.fN)(e.fecha_inicio,e.fecha_fin)?(0,s.jsx)(event_instance_live_item,{item:e}):(0,s.jsx)(event_instance_next_item,{item:e})},B=t(73870),T=t(46259),_eventName_=function(){var n=(0,_.useRouter)(),e=(0,h.Z)().config,t=e.mensajes,l=e.evento_especial[n.query.eventName],N=(0,c._)((0,v.useState)(0),2),y=N[0],Z=N[1],C=(0,c._)((0,v.useState)({event:null,isLoading:!0,agendas:[]}),2),w=C[0],E=C[1],H=(0,f.Z)();(0,v.useEffect)(function(){var n,e=(n=(0,i._)(function(){var n,e;return(0,o.Jh)(this,function(t){switch(t.label){case 0:return[4,H.getEvento(l.evento)];case 1:return n=t.sent(),e=d.ou.local(),E({isLoading:!1,event:n,agendas:(0,k.q)(e,n.agenda)}),[2]}})}),function(){return n.apply(this,arguments)});l&&H.getEvento&&e()},[l,H]);var z=(0,j.lN)(6).map(function(n,e){return{id:e,active:e===y,title:n.formated,handleTabClick:function(){Z(e),E(function(e){return(0,r._)((0,a._)({},e),{agendas:(0,k.q)(n.date,e.event.agenda)})})}}});if(w.isLoading||!l)return(0,s.jsx)(p.Z,{});var L=l.listas,P=l.contenido_principal;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T.Z,{config:P}),(0,s.jsx)(m.Z,{buttons:!0,withBottomBorder:!1,cssTabsClass:"margin-40-0",children:z.map(function(n){var e,i,a=n.id,r=n.active,c=n.handleTabClick,o=n.title;return(0,s.jsx)(x.Z,{tab:o,active:r,onClick:c,children:u()(w.agendas)?(0,s.jsx)("div",{style:{width:"100%",maxWidth:400,minHeight:171,marginLeft:"auto",marginRight:"auto",marginTop:40},children:(0,s.jsx)(g.Z,{align:"center",children:(0,s.jsx)("strong",{children:(null==t?void 0:null===(i=t.info)||void 0===i?void 0:i.dia_sin_agenda_mensaje)||"No se encontraron eventos."})})}):(0,s.jsx)(b.Z,{title:(null===(e=w.event)||void 0===e?void 0:e.nombre)||"",scrollMode:"item",children:utilities_createEventInstances(w.event,w.agendas).map(function(n){return(0,s.jsx)(event_instance_item,{item:n},n.id+Math.random())})})},a)})}),L.map(function(n,e){return(0,s.jsx)(B.Z,{section:n},"".concat(n.tipo).concat(e))})]})}}},function(n){n.O(0,[6660,6659,608,3607,9465,3870,9774,2888,179],function(){return n(n.s=58354)}),_N_E=n.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.