PageSourceSearch

https://www.elmarplatense.com/_next/static/chunks/7787.907a2a7f5f8e03ad.js

js elmarplatense.com collected 2026-10-02 07:06:22 UTC 13,826 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7787],{97787:function(e,n,t){"use strict";t.r(n);var o=t(4637),i=t(31543),c=t(85655),s=t(16394),a=t(74601),r=t(51478),l=t(77515),d=t(5691),_=t.n(d),m="".concat("https://elmarplatenseapiv3.eleco.com.ar/api/v2","/events/upcoming"),u={revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,refreshInterval:0,dedupingInterval:3e5,shouldRetryOnError:!1},v=function(){return(0,o.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M6.0004 3.00016V6.0004L8.00056 7.00048M11.0008 6.0004C11.0008 8.76204 8.76204 11.0008 6.0004 11.0008C3.23876 11.0008 1 8.76204 1 6.0004C1 3.23876 3.23876 1 6.0004 1C8.76204 1 11.0008 3.23876 11.0008 6.0004Z",stroke:"#444444",strokeWidth:"2",strokeLinecap:"round"})})},h=function(){return(0,o.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 17 17",fill:"none","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{x:"1.75",y:"3.25",width:"13.5",height:"12",rx:"1.5",stroke:"currentColor",strokeWidth:"1.2"}),(0,o.jsx)("path",{d:"M1.75 6.75H15.25M5.5 1.75V4.25M11.5 1.75V4.25",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})},p=function(e){var n=e.className;return(0,o.jsx)("svg",{className:n,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M3.33594 7.99923H12.6703M8.00314 12.6664L12.6703 7.99923L8.00314 3.33203",stroke:"#111111",strokeWidth:"2",strokeLinecap:"round"})})},g=function(e){return(null==e?void 0:e.link_event)||((null==e?void 0:e.slug)?"/eventos/".concat(e.slug):"#")},f=function(e){var n=e.event,t=e.sizes;return(0,o.jsx)(a.Z,{src:n.image||(null==s?void 0:s.defaultImage)||(null===c.Z||void 0===c.Z?void 0:c.Z.logo),alt:n.title,sizes:t,objectFit:n.image?"cover":"contain",className:n.image?void 0:_().imgDefault})},k=function(){return(0,o.jsxs)("div",{className:_().body,"aria-hidden":"true",children:[(0,o.jsxs)("div",{className:_().featured,children:[(0,o.jsx)("div",{className:"".concat(_().featuredThumb," ").concat(_().skeletonBox)}),(0,o.jsxs)("div",{className:_().featuredInfo,children:[(0,o.jsx)("div",{className:"".concat(_().skeletonBox," ").concat(_().skeletonLineShort)}),(0,o.jsx)("div",{className:"".concat(_().skeletonBox," ").concat(_().skeletonLine)})]})]}),(0,o.jsx)("ul",{className:_().list,children:Array.from({length:3}).map(function(e,n){return(0,o.jsx)("li",{className:_().listItem,children:(0,o.jsxs)("div",{className:_().listLink,children:[(0,o.jsx)("div",{className:"".concat(_().skeletonBox," ").concat(_().skeletonChip)}),(0,o.jsx)("div",{className:"".concat(_().listThumb," ").concat(_().skeletonBox)}),(0,o.jsx)("div",{className:"".concat(_().skeletonBox," ").concat(_().skeletonLine)})]})},n)})})]})},E=function(e){var n=e.data,t=(null==n?void 0:n.event_tag)?"".concat(m,"?tag=").concat(encodeURIComponent(n.event_tag)):m,c=(0,i.ZP)((null==n?void 0:n.show_section)===!1?null:t,r._,u),s=c.data,d=c.error,E=c.isLoading,B=Array.isArray(s)?s:Array.isArray(null==s?void 0:s.data)?s.data:null,x=(B||[]).filter(function(e){return null==e?void 0:e.first_date}),U=!E&&(!!d||!B),N=!E&&!U&&0===x.length;if((null==n?void 0:n.show_section)===!1)return null;var j=(null==n?void 0:n.featured_event_id)?x.findIndex(function(e){return String(e.id)===String(n.featured_event_id)}):-1,M=-1===j?0:j,w=x[M],C=x.filter(function(e,n){return n!==M}).slice(0,3),T=w?(0,l.LW)(w.first_date,{fullMonth:!0}):null;return(0,o.jsx)("section",{className:_().upcomingEvents,children:(0,o.jsxs)("div",{className:"container ".concat(_().container," ").concat((null==n?void 0:n.image)?_().imageContainer:_().noImageContainer),children:[(null==n?void 0:n.image)&&(0,o.jsx)("div",{className:_().sponsorBanner,children:n.link?(0,o.jsx)("a",{href:n.link,target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(a.Z,{src:n.image,quality:85,alt:"sponsor",width:280,height:280,objectFit:"contain"})}):(0,o.jsx)(a.Z,{src:n.image,quality:85,alt:"sponsor",width:280,height:280,objectFit:"contain"})}),(0,o.jsxs)("div",{className:_().content,children:[(0,o.jsx)("h2",{className:_().title,children:(null==n?void 0:n.title)||"Pr\xf3ximos eventos"}),(0,o.jsx)("a",{className:_().cta,href:"/eventos",children:"Ver agenda completa"}),U&&(0,o.jsx)("p",{className:_().stateMessage,children:"No pudimos cargar la agenda de eventos en este momento."}),N&&(0,o.jsx)("p",{className:_().stateMessage,children:"No hay eventos pr\xf3ximos por el momento."}),!U&&!N&&(E?(0,o.jsx)(k,{}):(0,o.jsxs)("div",{className:"".concat(_().body," ").concat(0===C.length?_().bodyFullWidth:""),children:[(0,o.jsxs)("a",{className:_().featured,href:g(w),children:[(0,o.jsx)("div",{className:_().featuredThumb,children:(0,o.jsx)(f,{event:w,sizes:"(max-width: 767px) 100v
1w, 280px"})}),(0,o.jsxs)("div",{className:_().featuredInfo,children:[(0,o.jsxs)("div",{className:_().featuredDate,children:[(0,o.jsx)("span",{className:_().featuredDay,children:null==T?void 0:T.day}),(0,o.jsx)("span",{className:_().featuredMonth,children:null==T?void 0:T.month})]}),(0,o.jsx)("h3",{className:_().featuredTitle,children:w.title}),(0,o.jsxs)("div",{className:_().featuredMeta,children:[(0,o.jsxs)("span",{className:"".concat(_().meta," ").concat(_().featuredDate),children:[(0,o.jsx)(h,{}),(0,l.vX)(w.first_date,{showTime:!1})]}),(0,o.jsxs)("span",{className:_().meta,children:[(0,o.jsx)(v,{}),(0,l.fb)(w.first_date)]})]}),(0,o.jsxs)("span",{className:"".concat(_().meta," ").concat(_().featuredTime),children:[(0,o.jsx)(v,{}),(0,l.fb)(w.first_date)]}),(0,o.jsx)(p,{className:"".concat(_().arrow," ").concat(_().featuredArrow)})]})]}),C.length>0&&(0,o.jsx)("ul",{className:_().list,children:C.map(function(e){var n=(0,l.LW)(e.first_date);return(0,o.jsx)("li",{className:_().listItem,children:(0,o.jsxs)("a",{className:_().listLink,href:g(e),children:[(0,o.jsxs)("div",{className:_().chip,children:[(0,o.jsx)("span",{className:_().chipDay,children:null==n?void 0:n.day}),(0,o.jsx)("span",{className:_().chipMonth,children:null==n?void 0:n.month})]}),(0,o.jsx)("div",{className:_().listThumb,children:(0,o.jsx)(f,{event:e,sizes:"80px"})}),(0,o.jsxs)("div",{className:_().listBody,children:[(0,o.jsx)("h3",{className:_().listTitle,children:e.title}),(0,o.jsxs)("span",{className:_().meta,children:[(0,o.jsx)(v,{}),(0,l.fb)(e.first_date)]})]}),(0,o.jsx)(p,{className:_().arrow})]})},e.id)})})]}))]})]})})};n.default=E},77515:function(e,n,t){"use strict";t.d(n,{LW:function(){return m},OI:function(){return p},fb:function(){return _},ld:function(){return u},vX:function(){return l},zB:function(){return h}});var o=t(9970),i=t(52043),c=t.n(i),s=t(55061),a=t.n(s);function r(e){return c().utc(e)}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.showTime;return e?r(e).locale("es").format(void 0===t||t?"D [de] MMMM [de] YYYY [|] HH:mm":"D [de] MMMM [de] YYYY"):""}function d(e){return r(e).valueOf()}function _(e){return e?r(e).format("HH:mm"):""}function m(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fullMonth;if(!e)return null;var o=r(e).locale("es");return{day:o.format("D"),month:void 0!==t&&t?o.format("MMMM").toUpperCase():o.format("MMM").replace(".","").toUpperCase()}}function u(e){var n;return(null==e?void 0:null===(n=e.dates)||void 0===n?void 0:n.length)?(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(e||[]).filter(function(e){return null==e?void 0:e.start}).filter(function(e){var n;return!(!(n=e.end||e.start)||r(n).isBefore(c()().utcOffset(0,!0)))}).sort(function(e,n){return d(e.start)-d(n.start)})})(e.dates).map(function(n,t){var o=[e.title,n.label].filter(Boolean).join(" — ");return{index:t,label:n.label||"",display:l(n.start),title:o,start:n.start,end:n.end,url:function(e){var n=e.title,t=e.details,o=e.start,i=e.end;if(!o)return null;var c=function(e){return r(e).utc().format("YYYYMMDDTHHmmss[Z]")},s=c(i||r(o).add(1,"hour")),a=new URLSearchParams({action:"TEMPLATE",text:n||"",dates:"".concat(c(o),"/").concat(s),details:t||""});return"https://calendar.google.com/calendar/render?".concat(a.toString())}({title:o,details:e.description||e.message,start:n.start,end:n.end})}}).filter(function(e){return e.url}):[]}function v(e){return String(e||"").replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\r?\n/g,"\\n")}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=e.filter(function(e){return null==e?void 0:e.start});if(!n.length)return"";var t=function(e){return r(e).utc().format("YYYYMMDDTHHmmss[Z]")},i=c()().utc().format("YYYYMMDDTHHmmss[Z]"),s=n.flatMap(function(e,n){var o;return["BEGIN:VEVENT","UID:".concat(i,"-").concat(n,"@artic"),"DTSTAMP:".concat(i),"DTSTART:".concat(t(e.start)),"DTEND:".concat(e.end?t(e.end):r(e.start).add(1,"hour").utc().format("YYYYMMDDTHHmmss[Z]")),"SUMMARY:".concat(v(e.title)),"DESCRIPTION:".concat(v(e.details)),"END:VEVENT",]});return["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//artic//EventCalendar//ES","CALSCALE:GREGORIAN",].concat((0,o.Z)(s),["END:VCALENDAR",]).join("\r\n")}function p(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"evento.ics";if(e&&"undefined"!=typeof document){var t=new Blob([e],{type:"text/calendar;charset=utf-8"}),o=URL.createObjectURL(t),i=document.createElement("a");i.href=o,i.download=n,document.body.appendChild(i),i.click(),document.body.removeChild(i),setTimeout(function(){return URL.revokeObjectURL(o)},1e3)}}t(7944),c().extend(a())},51478:function(e,n,t){"use strict";t.d(n,{_:function(){return i}});var o=t(72006),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return fetch(e,(0,o.Z)({mode:"cors"},n)).then(function(e){return e.json()})}},5691:function(e){e.exports={"top-header-container":"UpcomingEventsBlock_top-header-container__JUfCS","list-right":"UpcomingEventsBlock_list-right__aLxqW","icon-marca":"UpcomingEventsBlock_icon-marca__ALuhY","icon-salud":"UpcomingEventsBlock_icon-salud__EofRS","icon-teatro":"UpcomingEventsBlock_icon-teatro__ZytXR","icon-mitre":"UpcomingEventsBlock_icon-mitre__INOvG","icon-cnn":"UpcomingEventsBlock_icon-cnn__QJQ_u","
1icon-la100":"UpcomingEventsBlock_icon-la100__C04is",MenuContainer:"UpcomingEventsBlock_MenuContainer__PezFb",NavList:"UpcomingEventsBlock_NavList__42X6n",NavItem:"UpcomingEventsBlock_NavItem__qGC4k",NavLink:"UpcomingEventsBlock_NavLink___Vy5N",LinkLogo:"UpcomingEventsBlock_LinkLogo__QCjfy",figure:"UpcomingEventsBlock_figure__nglBJ",heightSticky:"UpcomingEventsBlock_heightSticky__nKCpM",noteImageContainer:"UpcomingEventsBlock_noteImageContainer__UAv6Y","espacio-viajes":"UpcomingEventsBlock_espacio-viajes__oz48Z",footerContainer:"UpcomingEventsBlock_footerContainer__GuG8j",topContainer:"UpcomingEventsBlock_topContainer__Ju0sm",googleSource:"UpcomingEventsBlock_googleSource__1_VGq",mediaContent:"UpcomingEventsBlock_mediaContent__vCrWc",weatherBlock:"UpcomingEventsBlock_weatherBlock__2NZ4Y",WeatherSmallContainer:"UpcomingEventsBlock_WeatherSmallContainer__CjeiP",skeleton:"UpcomingEventsBlock_skeleton__Rfg0F",skeletonIcon:"UpcomingEventsBlock_skeletonIcon__u_xyO",skeletonBlock:"UpcomingEventsBlock_skeletonBlock__MMMn_",skeletonTemp:"UpcomingEventsBlock_skeletonTemp__2tVUC",skeletonCondition:"UpcomingEventsBlock_skeletonCondition__m3ef0",weatherIcon:"UpcomingEventsBlock_weatherIcon__LeA3_",weatherTemp:"UpcomingEventsBlock_weatherTemp__1DQLr",weatherSmallHeader:"UpcomingEventsBlock_weatherSmallHeader__pbJn6",SectionTickerAlert:"UpcomingEventsBlock_SectionTickerAlert__AZXT9",liveSection:"UpcomingEventsBlock_liveSection__Rot1F",TickerContainer:"UpcomingEventsBlock_TickerContainer__MgWak",title:"UpcomingEventsBlock_title__O98KT",NewsTicker:"UpcomingEventsBlock_NewsTicker__Pxp_I",TickerItem:"UpcomingEventsBlock_TickerItem__uFNtJ",worldCup:"UpcomingEventsBlock_worldCup__Yx72X",__next:"UpcomingEventsBlock___next__zioQM",upcomingEvents:"UpcomingEventsBlock_upcomingEvents__8zuuc",container:"UpcomingEventsBlock_container__HkyFb",imageContainer:"UpcomingEventsBlock_imageContainer__uI2M5",noImageContainer:"UpcomingEventsBlock_noImageContainer__z1e4h",sponsorBanner:"UpcomingEventsBlock_sponsorBanner__azVWF",content:"UpcomingEventsBlock_content__hdS3X",cta:"UpcomingEventsBlock_cta__I2AbG",stateMessage:"UpcomingEventsBlock_stateMessage__wGn1e",body:"UpcomingEventsBlock_body__siJDX",meta:"UpcomingEventsBlock_meta__jS55r",featuredDate:"UpcomingEventsBlock_featuredDate__WrwrD",arrow:"UpcomingEventsBlock_arrow__wIQ7E",featured:"UpcomingEventsBlock_featured__AKNGB",featuredInfo:"UpcomingEventsBlock_featuredInfo__oBcFd",bodyFullWidth:"UpcomingEventsBlock_bodyFullWidth__V2_6p",featuredThumb:"UpcomingEventsBlock_featuredThumb__ufw2S",imgDefault:"UpcomingEventsBlock_imgDefault__OPvUt",listThumb:"UpcomingEventsBlock_listThumb__yZ3Xv",featuredDay:"UpcomingEventsBlock_featuredDay__DCYIM",featuredMonth:"UpcomingEventsBlock_featuredMonth__uWOvY",featuredTitle:"UpcomingEventsBlock_featuredTitle__E0SBX",featuredMeta:"UpcomingEventsBlock_featuredMeta__oLE89",featuredTime:"UpcomingEventsBlock_featuredTime__Ey7Ve",featuredArrow:"UpcomingEventsBlock_featuredArrow__UgaEC",list:"UpcomingEventsBlock_list__WX2yW",listItem:"UpcomingEventsBlock_listItem__GkN_Q",listLink:"UpcomingEventsBlock_listLink__5Tvrk",listTitle:"UpcomingEventsBlock_listTitle__zfTwr",chip:"UpcomingEventsBlock_chip__foQAo",chipDay:"UpcomingEventsBlock_chipDay__LYsbf",chipMonth:"UpcomingEventsBlock_chipMonth__YwZup",listBody:"UpcomingEventsBlock_listBody__d60da",skeletonBox:"UpcomingEventsBlock_skeletonBox__W7hsM",shimmer:"UpcomingEventsBlock_shimmer__6YlnK",skeletonLine:"UpcomingEventsBlock_skeletonLine__P2OdQ",skeletonLineShort:"UpcomingEventsBlock_skeletonLineShort__oD1S6",skeletonChip:"UpcomingEventsBlock_skeletonChip__lsdJ6"}}}]);

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.