1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{52043:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",a="week",o="month",i="quarter",s="year",u="date",c="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g="en",h={};h[g]=f;var _="$isDayjsObject",p=function(e){return e instanceof I||!(!e||!e[_])},v=function e(t,n,r){var a;if(!t)return g;if("string"==typeof t){var o=t.toLowerCase();h[o]&&(a=o),n&&(h[o]=n,a=o);var i=t.split("-");if(!a&&i.length>1)return e(i[0])}else{var s=t.name;h[s]=t,a=s}return!r&&a&&(g=a),a||!r&&g},y=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new I(n)},b={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+m(Math.floor(n/60),2,"0")+":"+m(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),a=t.clone().add(r,o),i=n-a<0,s=t.clone().add(r+(i?-1:1),o);return+(-(r+(n-a)/(i?a-s:s-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:o,y:s,w:a,d:"day",D:u,h:r,m:n,s:t,ms:e,Q:i})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=v,b.i=p,b.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var I=function(){function f(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var m=f.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(l);if(r){var a=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return this.$d.toString()!==c},m.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return y(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<y(e)},m.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,i){var c=this,l=!!b.u(i)||i,d=b.p(e),f=function(e,t){var n=b.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return l?n:n.endOf("day")},m=function(e,t){return b.w(c.toDate()[e].apply(c.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},g=this.$W,h=this.$M,_=this.$D,p="set"+(this.$u?"UTC":"");switch(d){case s:return l?f(1,0):f(31,11);case o:return l?f(1,h):f(0,h+1);case a:var v=this.$locale().weekStart||0,y=(g<v?g+7:g)-v;return f(l?_-y:_+(6-y),h);case"day":case u:return m(p+"Hours",0);case r:return m(p+"Minutes",1);case n:return m(p+"Seconds",2);case t:return m(p+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(a,i){var c,l=b.p(a),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[u]=d+"Date",c[o]=d+"Month",c[s]=d+"FullYear",c[r]=d+"Hours",c[n]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[l],m="day"===l?this.$D+(i-this.$W):i;if(l===o||l===s){var g=this.clone().set(u,1);g.$d[f](m),g.init(),this.$d=g.set(u,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[b.p(e)]()},m.add=function(e,i){var u,c=this;e=Number(e);var l=b.p(i),d=function(t){var n=y(c);return b.w(n.date(n.date()+Math.round(t*e)),c)};if(l===o)return this.set(o,this.$M+e);if(l===s)return this.set(s,this.$y+e);if("day"===l)return d(1);if(l===a)return d(7);var f=((u={})[n]=6e4,u[r]=36e5,u[t]=1e3,u)[l]||1,m=this.$d.getTime()+e*f;return b.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",a=b.z(this),o=this.$H,i=this.$m,s=this.$M,u=n.weekdays,l=n.months,f=n.meridiem,m=function(e,n,a,o){return e&&(e[
1n]||e(t,r))||a[n].slice(0,o)},g=function(e){return b.s(o%12||12,e,"0")},h=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return s+1;case"MM":return b.s(s+1,2,"0");case"MMM":return m(n.monthsShort,s,l,3);case"MMMM":return m(l,s);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(n.weekdaysMin,t.$W,u,2);case"ddd":return m(n.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return g(1);case"hh":return g(2);case"a":return h(o,i,!0);case"A":return h(o,i,!1);case"m":return String(i);case"mm":return b.s(i,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,u,c){var l,d=this,f=b.p(u),m=y(e),g=(m.utcOffset()-this.utcOffset())*6e4,h=this-m,_=function(){return b.m(d,m)};switch(f){case s:l=_()/12;break;case o:l=_();break;case i:l=_()/3;break;case a:l=(h-g)/6048e5;break;case"day":l=(h-g)/864e5;break;case r:l=h/36e5;break;case n:l=h/6e4;break;case t:l=h/1e3;break;default:l=h}return c?l:b.a(l)},m.daysInMonth=function(){return this.endOf(o).$D},m.$locale=function(){return h[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},f}(),w=I.prototype;return y.prototype=w,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",u]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,I,y),e.$i=!0),y},y.locale=v,y.isDayjs=p,y.unix=function(e){return y(1e3*e)},y.en=h[g],y.Ls=h,y.p={},y},e.exports=t()},7944:function(e,t,n){var r;r=function(e){"use strict";var t,n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n},e.exports=r(n(52043))},7258:function(e,t,n){var r,a,o; /*! 2 * JavaScript Cookie v2.2.1 3 * https://github.com/js-cookie/js-cookie 4 * 5 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack 6 * Released under the MIT license 7 */ o=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
7)+/g,decodeURIComponent)}return function n(r){function a(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},a.defaults,o)).expires&&(o.expires=new Date(new Date*1+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(s){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in o){if(o[c])u+="; "+c,!0!==o[c]&&(u+="="+o[c].split(";")[0])}return document.cookie=t+"="+n+u}}function i(e,n){if("undefined"!=typeof document){for(var a={},o=document.cookie?document.cookie.split("; "):[],i=0;i<o.length;i++){var s=o[i].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=t(s[0]);if(u=(r.read||r)(u,c)||t(u),n)try{u=JSON.parse(u)}catch(l){}if(a[c]=u,e===c)break}catch(d){}}return e?a[e]:a}}return a.set=o,a.get=function(e){return i(e,!1)},a.getJSON=function(e){return i(e,!0)},a.remove=function(t,n){o(t,"",e(n,{expires:-1}))},a.defaults={},a.withConverter=n,a}(function(){})},void 0!==(a="function"==typeof(r=o)?r.call(t,n,t,e):r)&&(e.exports=a),e.exports=o()},92696:function(e,t,n){"use strict";var r,a;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(a=n.g.process)?void 0:a.env)?n.g.process:n(96698)},79524:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(8018)}])},79594:function(e,t,n){"use strict";n.d(t,{d8:function(){return u},ly:function(){return l},nJ:function(){return c},zt:function(){return d}});var r=n(7258),a=n.n(r),o=n(44809),i=function(){return!0},s=null==o?void 0:o.domain,u=function(e,t,n){if(i()&&(a().set(e,t,n||{expires:1,path:"/"}),"token"===e&&s)){var r=null==n?void 0:n.expires;r||(r=new Date).setFullYear(r.getFullYear()+1),a().set("auth_token",t,{expires:r,path:"/",domain:s})}},c=function(e){i()&&(a().remove(e,{expires:1}),"token"===e&&s&&(window.document.cookie="auth_token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=".concat(s)))},l=function(){if(i()&&s){var e=a().get("token");if(!(!e||a().get("auth_token"))){var t=new Date;t.setFullYear(t.getFullYear()+1),a().set("auth_token",e,{expires:t,path:"/",domain:s})}}},d=function(e){if("token"===e){var t=a().get("token");return t?(l(),t):a().get("auth_token")}return a().get(e)}},61428:function(e,t,n){"use strict";n.d(t,{B:function(){return i},CS:function(){return u},LV:function(){return o},_H:function(){return c},jg:function(){return s},vt:function(){return r}});var r=JSON.parse('["G-QYHF01C50E","UA-266002865-1","G-FPC59HQEN4","UA-34378843-1","G-J94Z45J868", "G-998PM0D22Z"]')||[],a=function(){return"function"==typeof window.gtag&&Array.isArray(r)&&r.length>0},o=function(e){a()&&r.forEach(function(t){return window.gtag("config",t,{page_path:e})})},i=function(e,t,n,r){a()&&window.gtag("event",e,{event_category:"".concat(t),event_label:"".concat(n),value:r})},s=function(e,t){a()&&window.gtag("event",e,{method:"".concat(t)})},u=function(e){a()&&window.gtag("event","search",{search_term:e})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a()&&window.gtag("event",e,t)}},8018:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return X}});var r,a=n(72006),o=n(4637),i=n(59496),s=n(137),u=n.n(s),c=n(44809),l=function(){var e,t,n,r,a,i;return(0,o.jsxs)("div",{className:u().previewBanner,children:[(null==c?void 0:null===(e=c.translations)||void 0===e?void 0:null===(t=e.preview_mode)||void 0===t?void 0:t.preview)||"Est\xe1s en una vista previa."," ",(0,o.jsx)("a",{href:"/",className:"underline",children:(null==c?void 0:null===(n=c.translations)||void 0===n?void 0:null===(r=n.preview_mode)||void 0===r?void 0:r.click)||"Hac\xe9 click ac\xe1"})," ",(null==c?void 0:null===(a=c.translations)||void 0===a?void 0:null===(i=a.preview_mode)||void 0===i?void 0:i.close)||"para salir del modo de vista previa."]})},d=n(19196);n(82946),n(7944);var f=n(36562),m=n(27194),g=n.n(m),h=n(453),_=n(49536),p=n(57135),v=n(15767),y=n(79594);function b(e){return I.apply(this,arguments)}function I(){return(I=(0,p.Z)(function(e){var t,n,r;return(0,v.__generator)(this,function(a){switch(a.label){case 0:if(e.includes("iniciar-sesion")||!(t=(0,y.zt)("token")))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch("".concat("https://paralelo32apiv3.eleco.com.ar/api/v2","/users/register-page"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t)},body:JSON.stringify({page_url:e})})];case 2:if(!(n=a.sent()).ok)throw Error("Error en la solicitud: ".concat(n.status," ").concat(n.statusText));return[3,4];case 3:return r=a.sent(),console.error(r),[3,4];case 4:return[2]}})})).apply(this,arguments)}var w=n(92696).env.NEXT_PUBLIC_FACEBOOK_PIXEL_ID||null,k=function(){w&&"function"==typeof window.fbq&&window.fbq("track","PageView")},x=n(61428),N=n(92696).env.NEXT_PUBLIC_MARFEEL_ACCOUNT_ID||null,M=n(32057),S=n(57490),E=n(44458),T=(0,i.createContext)(),R=["eleco","elecotheme04"].includes("paralelo32")&&!!(null==c?void 0:null===(r=c.chatbot)||void 0===r?void 0:r.enabled),j=["/","/[category]","/[category]/[note]","/autor/[autor]","/etiqueta/[etiqueta]",],O=function(e){var t=e.children,n=(0,f.useRouter)(),r=j.includes(n.pathname);(0,i.useEffect)(function(){var e;r||null===(e=window.AMA)||void 0===e||e.close()},[r]);var a=(0,i.useMemo)(function(){return{enabled:R,visible:R&&r,open:function(){var e;return null===(e=window.AMA)||void 0===e?void 0:e.open()},close:function(){var e;return null===(e=window.AMA)||void 0===e?void 0:e.close()},toggle:function(){var e;
7return null===(e=window.AMA)||void 0===e?void 0:e.toggle()},ask:function(e,t){var n;return null===(n=window.AMA)||void 0===n?void 0:n.ask(e,t)}}},[r]);return(0,o.jsx)(T.Provider,{value:R?a:{enabled:!1,visible:!1},children:t})},C=n(14987),P=n(36762),A=function(){var e=(0,P.aF)(),t=e.haveSuscription,n=e.userRequest,r=(0,i.useState)([]),s=r[0],u=r[1],l=null==c?void 0:c.global_scripts_body;return((0,i.useEffect)(function(){if(!n.loading&&l){var e=t();return u(l.filter(function(t){return!e||"https://360playvid.info/slidepleer/s823s.js"!==t.src})),function(){document.querySelectorAll('[id^="global-script-body-tag-"]').forEach(function(e){return e.remove()})}}},[l,t,n.loading,n]),n.loading)?null:(0,o.jsx)(o.Fragment,{children:s.map(function(e,t){var n=e.id?e.id:"global-script-body-tag-"+t,r={};return(e.dataAttributes&&e.dataAttributes.forEach(function(e){for(var t in e)r[t]=e[t]}),e.innerHTML)?(0,o.jsx)(g(),{id:n,strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:e.innerHTML}},"script-body-"+t):(0,o.jsx)(g(),(0,a.Z)({id:n,src:e.src,strategy:"afterInteractive"},e.async?{defer:!0}:{},r),"script-body-"+t)})})},L=(e,t,n,r,a,o,i,s)=>{let u=document.documentElement,c=["light","dark"];function l(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&o?a.map(e=>o[e]||e):a;n?(u.classList.remove(...r),u.classList.add(o&&o[t]?o[t]:t)):u.setAttribute(e,t)}),n=t,s&&c.includes(n)&&(u.style.colorScheme=n)}if(r)l(r);else try{let d=localStorage.getItem(t)||n,f=i&&"system"===d?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":d;l(f)}catch(m){}},B=["light","dark"],D="(prefers-color-scheme: dark)",$="undefined"==typeof window,Z=i.createContext(void 0),H=e=>i.useContext(Z)?i.createElement(i.Fragment,null,e.children):i.createElement(F,{...e}),U=["light","dark"],F=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:a="theme",themes:o=U,defaultTheme:s=n?"system":"light",attribute:u="data-theme",value:c,children:l,nonce:d,scriptProps:f})=>{let[m,g]=i.useState(()=>V(a,s)),[h,_]=i.useState(()=>"system"===m?J():m),p=c?Object.values(c):o,v=i.useCallback(e=>{let a=e;if(!a)return;"system"===e&&n&&(a=J());let o=c?c[a]:a,i=t?q(d):null,l=document.documentElement,f=e=>{"class"===e?(l.classList.remove(...p),o&&l.classList.add(o)):e.startsWith("data-")&&(o?l.setAttribute(e,o):l.removeAttribute(e))};if(Array.isArray(u)?u.forEach(f):f(u),r){let m=B.includes(s)?s:null,g=B.includes(a)?a:m;l.style.colorScheme=g}null==i||i()},[d]),y=i.useCallback(e=>{let t="function"==typeof e?e(m):e;g(t);try{localStorage.setItem(a,t)}catch(n){}},[m]),b=i.useCallback(t=>{let r=J(t);_(r),"system"===m&&n&&!e&&v("system")},[m,e]);i.useEffect(()=>{let e=window.matchMedia(D);return e.addListener(b),b(e),()=>e.removeListener(b)},[b]),i.useEffect(()=>{let e=e=>{e.key===a&&(e.newValue?g(e.newValue):y(s))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[y]),i.useEffect(()=>{v(null!=e?e:m)},[e,m]);let I=i.useMemo(()=>({theme:m,setTheme:y,forcedTheme:e,resolvedTheme:"system"===m?h:m,themes:n?[...o,"system"]:o,systemTheme:n?h:void 0}),[m,y,e,h,n,o]);return i.createElement(Z.Provider,{value:I},i.createElement(Y,{forcedTheme:e,storageKey:a,attribute:u,enableSystem:n,enableColorScheme:r,defaultTheme:s,value:c,themes:o,nonce:d,scriptProps:f}),l)},Y=i.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:o,value:s,themes:u,nonce:c,scriptProps:l})=>{let d=JSON.stringify([n,t,o,e,u,s,r,a]).slice(1,-1);return i.createElement("script",{...l,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${L.toString()})(${d})`}})}),V=(e,t)=>{if($)return;let n;try{n=localStorage.getItem(e)||void 0}catch(r){}return n||t},q=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},J=e=>
7(e||(e=window.matchMedia(D)),e.matches?"dark":"light"),z=function(e){var t=e.children;return(0,o.jsx)(H,{attribute:"class",defaultTheme:"light",enableSystem:!1,storageKey:"eleco-theme",children:t})},W=n(92696);"true"===W.env.NEXT_PUBLIC_DARK_MODE&&n(17141),n.e(5983).then(n.t.bind(n,15983,23));var X=function(e){var t,n,r,s,u,m,p,v,y,I,T,L,B,D,$,Z,H,U=e.Component,F=e.pageProps,Y=(0,f.useRouter)(),V=(null==F?void 0:F.adsConfig)||d,q=JSON.parse('["GTM-WVTX7JS"]')||[],J=W.env.NEXT_PUBLIC_TW_PX_ID,X=(null==F?void 0:F.preview)||!1,G=(0,i.useRef)(null),K=Array.isArray(null==F?void 0:F.secciones)&&F.secciones.length>0;K&&(G.current=F.secciones);var Q=K?F.secciones:G.current;(0,i.useEffect)(function(){try{Object.defineProperty(Y,"isPreview",{configurable:!0,get:function(){return X}})}catch(e){}},[Y,X]),(0,i.useEffect)(function(){return window.sas=window.sas||{cmd:[]},window.sas.cmd.push(function(){window.sas.setup({networkid:V.networkId,domain:"https://adapi.smartadserver.com",async:!0,renderMode:2})}),function(){window.sas=void 0,window.OneSignal=void 0,window._taboola=void 0}},[]),(0,i.useEffect)(function(){var e=function(e,t){var n=t.shallow;X||(k(),x.LV(e),n||b(e)),V.taboola&&!n&&"/"!=e&&(window._taboola=window._taboola||[],_taboola.push({flush:!0}))};return Y.events.on("routeChangeComplete",e),function(){Y.events.off("routeChangeComplete",e)}},[Y.events,X]);var ee=(0,i.useRef)(!1);return(0,i.useEffect)(function(){if(Y.isReady&&!ee.current&&!X){ee.current=!0,b(Y.asPath);var e=0,t=window.setInterval(function(){if("function"==typeof window.fbq){k(),window.clearInterval(t);return}(e+=1)>=40&&window.clearInterval(t)},50);return function(){return window.clearInterval(t)}}},[Y.isReady,Y.asPath,X]),W.env.NEXT_PUBLIC_CHARTBEAT_ID&&!window._sf_async_config&&(window._sf_async_config={uid:W.env.NEXT_PUBLIC_CHARTBEAT_ID,domain:W.env.NEXT_PUBLIC_CHARTBEAT_DOMAIN,useCanonical:!0,flickerControl:!1,useCanonicalDomain:!0},(null==F?void 0:null===(D=F.note)||void 0===D?void 0:null===($=D.category)||void 0===$?void 0:$.name)&&(window._sf_async_config.sections=F.note.category.name),(null==F?void 0:null===(Z=F.note)||void 0===Z?void 0:null===(H=Z.author)||void 0===H?void 0:H.display_name)&&(window._sf_async_config.authors=F.note.author.display_name),t=document.createElement("script"),n=document.getElementsByTagName("script")[0],t.type="text/javascript",t.async=!0,t.src="//static.chartbeat.com/js/chartbeat_mab.js",n.parentNode.insertBefore(t,n),r=document.createElement("script"),s=document.getElementsByTagName("script")[0],r.type="text/javascript",r.async=!0,r.src="//static.chartbeat.com/js/chartbeat.js",s.parentNode.insertBefore(r,s)),W.env.NEXT_PUBLIC_STAY22_ID&&!window.Stay22&&(window.Stay22=window.Stay22||{},window.Stay22.params={lmaID:W.env.NEXT_PUBLIC_STAY22_ID},u=window,m=document,p="script",v="https://scripts.stay22.com/letmeallez.js",u.Stay22=u.Stay22||{},u.Stay22.params={lmaID:W.env.NEXT_PUBLIC_STAY22_ID},y=m.createElement(p),I=m.getElementsByTagName(p)[0],y.async=1,y.src=v,I.parentNode.insertBefore(y,I)),W.env.NEXT_PUBLIC_NOTIFPUSH_ID&&!window._nAdzq&&(window._nAdzq=window._nAdzq||[],window._nAdzq.push(["setIds",W.env.NEXT_PUBLIC_NOTIFPUSH_ID]),(T=document.createElement("script")).type="text/javascript",T.defer=!0,T.async=!0,T.src="https://notifpush.com/scripts/nadz-sdk.js",(L=document.getElementsByTagName("script")[0]).parentNode.insertBefore(T,L)),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.J$,{value:{revalidateOnFocus:!1,revalidateOnReconnect:!1},children:(0,o.jsx)(z,{children:(0,o.jsx)(_.nf,{children:(0,o.jsx)(C.Z,{children:(0,o.jsxs)(P.dr,{children:[(null==c?void 0:c.global_scripts_body)?(0,o.jsx)(A,{}):null,(0,o.jsx)(M.Td,{adsConfig:null==F?void 0:F.adsConfig,children:(0,o.jsx)(S.wP,{secciones:Q,children:(0,o.jsx)(E.oU,{children:(0,o.jsx)(O,{children:(0,o.jsx)(U,(0,a.Z)({},F))})})})})]})})})})}),X&&(0,o.jsx)(l,{}),R&&(null==c?void 0:null===(B=c.chatbot)||void 0===B?void 0:B.url)&&j.includes(Y.pathname)&&(0,o.jsx)(g(),{id:"ama-embed-js",src:"".concat(c.chatbot.url,"/embed.js"),strategy:"afterInteractive"}),(0,o.jsx)(g(),{id:"OneSignalSDK-js",src:"https://cdn.onesignal.com/sdks/OneSignalSDK.js",strategy:"lazyOnload",onLoad:function(){window.OneSignal=window.OneSignal||[],OneSignal.push(function(){OneSignal.init({appId:"6d5e854b-f0a1-4637-ab37-ede6ae734805",notifyButton:(0,a.Z)({enable:!0},!1),allowLocalhostAsSecureOrigin:!0})})}}),!X&&Array.isArray(x.vt)&&x.vt.map(function(e){return(0,o.jsx)(g(),{id:"gtag-"+e,strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?i
7d=".concat(e)})}),!X&&Array.isArray(x.vt)&&(0,o.jsx)(g(),{id:"gtag-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n ".concat(x.vt.map(function(e){return"gtag('config', '".concat(e,"', {page_path: window.location.pathname})")}),"\n ")}}),!X&&Array.isArray(q)&&q.map(function(e,t){return(0,o.jsx)(g(),{id:"gtm-script-"+t,strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(e,"');")}},"gtm-script-"+t)}),!1,!1,(null==V?void 0:V.caPub)?(0,o.jsx)(g(),{id:"adsbygoogle-init-js",strategy:"afterInteractive",crossOrigin:"anonymous",src:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=".concat(V.caPub)}):null,(null==V?void 0:V.networkId)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g(),{id:"adsbygoogle-init-js",strategy:"lazyOnload",crossOrigin:"anonymous",src:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9077525840741891"}),(0,o.jsx)(g(),{id:"smartjs",defer:!0,strategy:"afterInteractive",src:"https://ced.sascdn.com/tag/".concat(V.networkId,"/smart.js")}),V.headerBidding&&(0,o.jsx)(g(),{id:"headerBiddingjs",defer:!0,strategy:"afterInteractive",src:"https://tagmanager.smartadserver.com/".concat(V.networkId,"/").concat(V.siteId,"/smart.prebid.js")}),V.taboola&&Y.query.note&&(0,o.jsx)(g(),{id:"taboola-init-js",defer:!0,strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n // Native feed\n window._taboola = window._taboola || [];\n _taboola.push({article:'auto'});\n !function (e, f, u, i) {\n if (!document.getElementById(i)){\n e.async = 1;\n e.src = u;\n e.id = i;\n f.parentNode.insertBefore(e, f);\n }\n }(document.createElement('script'),\n document.getElementsByTagName('script')[0],\n '//cdn.taboola.com/libtrc/mediosfederales-network/loader.js',\n 'tb_loader_script');\n if(window.performance && typeof window.performance.mark == 'function'){\n window.performance.mark('tbl_ic');\n }\n "}})]}):null,!X&&w&&(0,o.jsx)(g(),{id:"fb-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', ".concat(w,");\n ")}}),!X&&N&&(0,o.jsx)(g(),{id:"marfeel-sdk",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'\n !(function () {\n "use strict";\n function e(e) {\n var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],\n c = document.createElement("script");\n (c.src = e),\n t\n ? (c.type = "module")\n : ((c.async = !0),\n (c.type = "text/javascript"),\n c.setAttribute("nomodule", ""));\n var n = document.getElementsByTagName("script")[0];\n n.parentNode.insertBefore(c, n);\n }\n !(function (t, c) {\n !(function (t, c, n) {\n var a, o, r;\n (n.accountId = c),\n (null !== (a = t.marfeel) && void 0 !== a) || (t.marfeel = {}),\n (null !== (o = (r = t.marfeel).cmd) && void 0 !== o) || (r.cmd = []),\n (t.marfeel.config = n);\n var i = "https://sdk.mrf.io/statics";\n e("".concat(i, "/marfeel-sdk.js?id=").concat(c), !0),\n e("".concat(i, "/marfeel-sdk.es5.js?id=").concat(c), !1);\n })(\n t,\n c,\n arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}\n );\n })(window, '.concat(N,", {});\n })();\n ")}}),!X&&J&&(0,o.jsx)(g(),{id:"twq-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);\n },s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js',\n a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');\n twq('config','".concat(J,"');\n ")}})]})}},32057:function(e,t,n){"use strict";n.d(t,{Td:function(){return _},ks:function(){return p}});var r=n(72006),a=n(77637),o=n(4637),i=n(59496),s=n(19196),u=n(44809),c=n(92696),l=(0,i.createContext)(),d={},f=["Top_Header_Internas","Bottom_Header_Internas","InRead_1_Internas","InRead_2_Internas","InRead_3_Internas","Zocalo","Invasivo",],m=["Top_Header_Notas","Invasivo","Zocalo","1_Bottom_Header_Notas","1_Top_Foto_Notas","1_Cabecera_Nota_Notas","1_InRead_1_Notas","1_InRead_2_Notas","1_InRead_3_Notas","1_InRead_4_Notas","1_InRead_5_Notas","1_Pie_Nota_Notas","2_Bottom_Header_Notas","2_Top_Foto_Notas","2_Cabecera_Nota_Notas","2_InRead_1_Notas","2_InRead_2_Notas","2_InRead_3_Notas","2_InRead_4_Notas","2_Pie_Nota_Notas","3_Bottom_Header_Notas","3_Top_Foto_Notas","3_Cabecera_Nota_Notas","3_InRead_1_Notas","3_InRead_2_Notas","3_InRead_3_Notas","3_InRead_4_Notas","3_Pie_Nota_Notas","4_Bottom_Header_Notas","4_Top_Foto_Notas","4_Cabecera_Nota_Notas","4_InRead_1_Notas","4_InRead_2_Notas","4_InRead_3_Notas","4_InRead_4_Notas","4_Pie_Nota_Notas","5_Bottom_Header_Notas","5_Top_Foto_Notas","5_Cabecera_Nota_Notas","5_InRead_1_Notas","5_InRead_2_Notas","5_InRead_3_Notas","5_InRead_4_Notas","5_Pie_Nota_Notas","6_Bottom_Header_Notas","6_Top_Foto_Notas","6_Cabecera_Nota_Notas","6_InRead_1_Notas","6_InRead_2_Notas","6_InRead_3_Notas","6_InRead_4_Notas","6_Pie_Nota_Notas",],g=["Top_Header","Bottom_Header","Entre_Notas_1","Entre_Notas_2","Entre_Notas_3","Entre_Notas_4","Entre_Notas_5","Entre_Notas_6","Entre_Notas_7","Entre_Notas_8","Entre_Notas_9","Entre_Notas_10","Entre_Notas_11","Entre_Notas_12","Entre_Notas_13","Entre_Notas_14","300x250_1","300x250_2","300x250_3","300x250_4","300x250_5","300x250_6","300x250_7","300x250_8","300x250_9","300x250_10","300x250_11","300x250_12","300x250_13","300x250_14","300x250_15","300x250_16","300x250_17","300x250_18","300x250_19","300x250_20","Invasivo","Zocalo",],h=function(e){return e&&"notas"===e?m:e&&"Internas"===e?f:g},_=function(e){var t=e.adsConfig,n=(0,a.Z)(e,["adsConfig"]),_=(0,i.useState)(null),p=_[0],v=_[1],y=!!t;(0,i.useEffect)(function(){if(!y){var e=c.env.ADS_CONFIG_URL?c.env.ADS_CONFIG_URL:(null==u?void 0:u.mediaUrl)?"https://".concat(u.mediaUrl,"/config/data/ads.json"):null;if(e){var t=!1;return fetch(e).then(function(e){return e.ok?e.json():null}).then(function(e){var n;!t&&e&&"object"==typeof e&&!Array.isArray(e)&&Object.keys(e).length>0&&v(e)}).catch(function(){}),function(){t=!0}}}},[y]);var b=t||p||s||d,I=(0,i.useMemo)(function(){var e=b.slots||{};return{advertisementHome:g,advertisementNotes:m,advertisementInternas:f,getArrayAdvertisement:h,ads:b,slots:e,hideAds:!!b.hideAds,hideCategoryAds:!!b.hideCategoryAds,showZocalo:!1!==b.show_zocalo,categoryAdsPerNote:b.categoryAdsPerNote,hasSlot:function(t){return!!e[t]},isAlwaysVisible:function(e){return Array.isArray(b.alwaysVisibleAds)&&b.alwaysVisibleAds.includes(e)},adsConfig:b}},[b]);return(0,o.jsx)(l.Provider,(0,r.Z)({value:I},n))};function p(){var e=i.useContext(l);if(!e)throw Error("useAdvertisement debe estar dentro del proveedor");return e}},44458:function(e,t,n){"use strict";n.d(t,{oU:function(){return c},xn:function(){return l}});var r=n(57135),a=n(72006),o=n(15767),i=n(4637),s=n(59496),u=(0,s.createContext)(),c=function(e){var t,n=(0,s.use
7State)({loading:!0,plans:null,cheapestPlan:null}),c=n[0],l=n[1];(0,s.useEffect)(function(){c.plans||d()},[]);var d=(t=(0,r.Z)(function(){var e,t,n;return(0,o.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,4,,5]),[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/plans",{method:"GET",mode:"cors"})];case 1:if(!(e=r.sent()).ok)return[3,3];return[4,e.json()];case 2:if(t=r.sent())return l({loading:!1,plans:t.data,cheapestPlan:g(t.data)}),[2,t.data];r.label=3;case 3:return[3,5];case 4:return n=r.sent(),console.log(n),[3,5];case 5:return[2]}})}),function(){return t.apply(this,arguments)}),f=function(e,t){if(c.plans){var n;return null===(n=c.plans[e])||void 0===n?void 0:n.find(function(e){return e.id==t})}},m=function(e){var t=null;return c.plans&&(c.plans.hasOwnProperty("monthly")?t=c.plans.monthly.find(function(t){return t.id==e}):c.plans.hasOwnProperty("yearly")&&(t=c.plans.yearly.find(function(t){return t.id==e}))),t},g=function(e){var t=null;return(null==e?void 0:e.monthly)?t=e.monthly.sort(function(e,t){return e.price_total-t.price_total}):(null==e?void 0:e.yearly)&&(t=e.yearly.sort(function(e,t){return e.price_total-t.price_total})),t?t[0]:null},h=function(){var e,t,n;if(!c.plans)return null;return{yearly:(null===(e=c.plans.yearly)||void 0===e?void 0:e.filter(function(e){return(null==e?void 0:e.include_diario_pdf)===!0}))||[],monthly:(null===(t=c.plans.monthly)||void 0===t?void 0:t.filter(function(e){return(null==e?void 0:e.include_diario_pdf)===!0}))||[]}},_=(0,s.useMemo)(function(){return{loading:c.loading,plans:c.plans,cheapestPlan:c.cheapestPlan,hasPdfPlans:!!c.plans&&!!(c.plans.yearly&&c.plans.yearly.some(function(e){return e.include_diario_pdf})||c.plans.monthly&&c.plans.monthly.some(function(e){return e.include_diario_pdf})),getPlan:f,getPlanById:m,filterPlansByPDF:h()}},[c]);return(0,i.jsx)(u.Provider,(0,a.Z)({value:_},e))};function l(){var e=s.useContext(u);if(!e)throw Error("usePlans debe estar dentro del proveedor");return e}},57490:function(e,t,n){"use strict";n.d(t,{_J:function(){return f},wP:function(){return d}});var r=n(72006),a=n(77637),o=n(4637),i=n(59496),s=n(21337),u=n(44809),c=n(92696),l=(0,i.createContext)(),d=function(e){var t=e.secciones,n=(0,a.Z)(e,["secciones"]),d=Array.isArray(t)&&t.length>0,f=(0,i.useState)(null),m=f[0],g=f[1];(0,i.useEffect)(function(){if(!d){var e=c.env.SECCIONES_CONFIG_URL?c.env.SECCIONES_CONFIG_URL:(null==u?void 0:u.mediaUrl)?"https://".concat(u.mediaUrl,"/config/data/secciones.json"):null;if(e){var t=!1;return fetch(e).then(function(e){return e.ok?e.json():null}).then(function(e){!t&&Array.isArray(e)&&e.length&&g(e)}).catch(function(){}),function(){t=!0}}}},[d]);var h=(0,i.useMemo)(function(){return{secciones:d?t:m||s}},[d,t,m]);return(0,o.jsx)(l.Provider,(0,r.Z)({value:h},n))};function f(){var e=i.useContext(l);return e||{secciones:s}}},49536:function(e,t,n){"use strict";n.d(t,{nf:function(){return c},rV:function(){return l}});var r=n(57135),a=n(72006),o=n(15767),i=n(4637),s=n(59496),u=(0,s.createContext)(),c=function(e){var t,n=(0,s.useState)({loading:!0,settings:null}),c=n[0],l=n[1];(0,s.useEffect)(function(){d()},[]);var d=(t=(0,r.Z)(function(){var e,t,n;return(0,o.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,4,,5]),[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/settings",{method:"GET",mode:"cors"})];case 1:if(!(e=r.sent()).ok)return[3,3];return[4,e.json()];case 2:if(t=r.sent())return l({loading:!1,settings:t.data}),[2,t.data];r.label=3;case 3:return[3,5];case 4:return n=r.sent(),l({loading:!1,settings:null}),console.log(n),[3,5];case 5:return[2]}})}),function(){return t.apply(this,arguments)}),f=function(e,t){var n,r,a,o;return null!==(o=null!==(a=null===(r=null===(n=c.settings)||void 0===n?void 0:n.find(function(t){return t.slug==e}))||void 0===r?void 0:r.value)&&void 0!==a?a:t)&&void 0!==o?o:null},m=(0,s.useMemo)(function(){return{settings:c,syncSettings:d,getSetting:f}},[c]);return(0,i.jsx)(u.Provider,(0,a.Z)({value:m},e))};function l(){var e=s.useContext(u);if(!e)throw Error("useSettings debe estar dentro del proveedor");return e}},14987:function(e,t,n){"use strict";n.d(t,{V:function(){return d},Z:function(){return m}});var r=n(57135),a=n(72006),o=n(15767),i=n(4637),s=n(59496),u=n(4405),c=function(e,t){switch(t.type){case"AUTHENTICATE":return(0,u.Z)((0,a.Z)({},e),{token:t.payload.token});case"DEAUTHENTICATE":return(0,u.Z)((0,a.Z)({},e),{token:null});default:return e}},l=n(79594),d=(0,s.createContext)(),f={token:(0,l.zt)("token")||null},m=function(e){var t,n,u,m,g=e.children,h=(0,s.useReducer)(c,f),_=h[0],p=h[1],v=(t=(0,r.Z)(function(e){var t,n,r;return(0,o.__generator)(this,function(a){switch(a.label){case 0:t={email:e.email,first_name:e.firstname,last_name:e.lastname,password:e.password},(null==e?void 0:e.newsletter)&&(t.newsletter=e.newsletter),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/auth/signup",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)})];case 2:return[4,(n=a.sent()).json()];case 3:if(r=a.sent(),!n.ok)return[2,{error:!0,message:r.message,errors:r.errors}];return(null==r?void 0:r.associate)&&(0,l.d8)("associate",JSON.stringify(r.associate)),[2,{success:!0}];case 4:return a.sent(),[2,{error:!0,message:"Ocurri\xf3 un error"}];case 5:return[2]}})}),function(e){return t.apply(this,arguments)}),y=(n=(0,r.Z)(function(e){var t,n,r,a,i;return(0,o.__generator)(this,function(t){switch(t.label){case 0:return[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/auth/login",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({email:e.email,password:e.password})})];case 1:return[4,(n=t.sent()).json()];case 2:if(r=t.sent(),!n.ok)return[2,{error:!0,message:r.error}];if(!(null==r?void 0:r.error))return a=r.expires_at,i=new Date(a.replace(" ","T")+"Z"),(0,l.d8)("token",r.access_token,{path:"/",expires:i}),p({type:"AUTHENTICATE",payload:{token:r.access_token}}),[2,{success:!0}];return[2]}})}),function(e){return n.apply(this,arguments)}),b=(u=(0,r.Z)(function(e){var t,n,r,a,i,s=arguments;return(0,o.__generator)(this,function(o){switch(o.label){case 0:return[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/auth/login/"+(t=s.length>1&&void 0!==s[1]?s[1]:"google")+"/callback",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({access_token:e})})];case 1:return[4,(n=o.sent()).json()];case 2:if(r=o.sent(),n&&n.ok&&(null==r?void 0:r.access_token))return a=r.expires_at,i=new Date(a.replace(" ","T")+"Z"),(0,l.d8)("token",r.access_token,{path:"/",expires:i}),p({type:"AUTHENTICATE",payload:{token:r.access_token}}),[2,{success:!0,new_user:(null==r?void 0:r.new_user)||!1}];return[2,{error:!0,message:(null==r?void 0:r.error)||"fall\xf3 la autenticaci\xf3n"}]}})}),function(e){return u.apply(this,arguments)}),I=(m=(0,r.Z)(function(){var e,t,n,r;return(0,o.__generator)(this,function(a){switch(a.label){case 0:if(e=(0,l.zt)("token"),t=function(){(0,l.nJ)("token"),p({type:"DEAUTHENTICATE"})},!e)return t(),[2,{success:!0}];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/auth/logout",{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}})];case 2:if(n=a.sent(),t(),!n.ok)return[2,{success:!0,serverLogout:!1,status:n.status}];return[2,{success:!0}];case 3:return r=a.sent(),console.error(r),t(),[2,{success:!0,serverLogout:!1,error:null==r?void 0:r.message}];case 4:return[2]}})}),function(){return m.apply(this,arguments)}),w=(0,a.Z)({authenticate:y,deauthenticate:I,providerAuthenticate:b,signup:v},_);return(0,i.jsx)(d.Provider,{value:w,children:g})}},36762:function(e,t,n){"use strict";n.d(t,{aF:function(){return g},dr:function(){return m}});var r=n(57135),a=n(72006),o=n(4405),i=n(15767),s=n(4637),u=n(59496),c=n(79594),l=n(36562),d=n.n(l),f=(0,u.createContext)(),m=function(e){var t=(0,u.useState)({loading:!0,user:null}),n=t[0],l=t[1],m=(0,u.useState)(null),g=m[0],h=m[1];(0,u.useEffect)(function(){b()},[]);var _,p,v,y,b=function(){l(function(e){return(0,o.Z)((0,a.Z)({},e),{loading:!0})});var e=(0,c.zt)("token");return e?((0,c.ly)(),fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/auth/me",{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}}).then(function(e){return e.ok?e.json():null}).then(function(e){return e?(l(function(t){return{loading:!1,user:e}}),E(e),e):((0,c.nJ)("token"),d().push("/iniciar-sesion"),null)}
7).catch(function(e){return console.log(e),l(function(e){return{user:null,loading:!1}}),null})):(l(function(e){return(0,o.Z)((0,a.Z)({},e),{loading:!1})}),!1)},I=function(){l({loading:!1,user:null})},w=function(e){var t=(0,c.zt)("token");if(t){var n,r,a,o={first_name:e.first_name,last_name:e.last_name,birthday:e.birthday,email:e.email,country:e.country,province:e.province,city:e.city,address:e.address,addr_floor:e.addr_floor,addr_door:e.addr_door,phone_feature:e.phone_feature,phone:e.phone,dni:e.dni,dealer:e.dealer,cuit_cuil:null===(n=e.advertiser_detail)||void 0===n?void 0:n.cuit_cuil,condition_iva:null===(r=e.advertiser_detail)||void 0===r?void 0:r.condition_iva,business_name:null===(a=e.advertiser_detail)||void 0===a?void 0:a.business_name};return fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/users/update-profile",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t)},body:JSON.stringify(o)}).then(function(e){return e.json()}).then(function(e){return e.error?{status:"error",message:e.error}:(null!=e.id&&l({loading:!1,user:e}),{status:"success"})}).catch(function(e){return console.log(e),{status:"error"}})}},k=(_=(0,r.Z)(function(e){var t,n,r;return(0,i.__generator)(this,function(a){switch(a.label){case 0:if(t=(0,c.zt)("token"),n=!1,!t)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/users/change-password",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t)},body:JSON.stringify(e)}).then(function(e){return e.ok?e.json():null}).then(function(e){null!=e&&(n=!0)}).catch(function(e){console.log(e)})];case 2:return a.sent(),[3,4];case 3:return r=a.sent(),console.log(r),[3,4];case 4:return[2,n];case 5:return[2]}})}),function(e){return _.apply(this,arguments)}),x=(p=(0,r.Z)(function(e){var t,n,r,s,u,d,f;return(0,i.__generator)(this,function(i){switch(i.label){case 0:n=(null===(t=e[0])||void 0===t?void 0:t.file)||null,(r=new FormData).append("avatar_file",n),i.label=1;case 1:if(i.trys.push([1,6,,7]),!(s=(0,c.zt)("token")))return[3,4];return[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/users/update-avatar",{method:"POST",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest",Authorization:"Bearer ".concat(s)},body:r})];case 2:return[4,i.sent().json()];case 3:if(!(d=i.sent()))return[2,!1];return l(function(e){return(0,o.Z)((0,a.Z)({},e),{user:(0,o.Z)((0,a.Z)({},e.user),{avatar:d.avatar})})}),[2,d];case 4:return[2,!1];case 5:return[3,7];case 6:return f=i.sent(),console.log(f),[2,!1];case 7:return[2]}})}),function(e){return p.apply(this,arguments)}),N=(v=(0,r.Z)(function(){var e,t,n,r;return(0,i.__generator)(this,function(t){switch(t.label){case 0:if(t.trys.push([0,5,,6]),!(e=(0,c.zt)("token")))return[3,3];return[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/subscriptions",{headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest",Authorization:"Bearer ".concat(e)}})];case 1:return[4,t.sent().json()];case 2:if(!(n=t.sent()))return[2,!1];return[2,n];case 3:case 6:return[2,!1];case 4:return[3,6];case 5:return r=t.sent(),console.log(r),[3,6]}})}),function(){return v.apply(this,arguments)}),M=function(){return!!n.user&&(!!n.user.plan_active||"journalist"==n.user.type)},S=(y=(0,r.Z)(function(){var e,t,n,r;return(0,i.__generator)(this,function(i){switch(i.label){case 0:e=(0,c.zt)("token"),i.label=1;case 1:if(i.trys.push([1,5,,6]),!e)return[3,4];return[4,fetch("https://paralelo32apiv3.eleco.com.ar/api/v2/subscriptions/cancelled",{method:"POST",mode:"cors",headers:{Authorization:"Bearer ".concat(e)}})];case 2:if(!(t=i.sent()).ok)return[3,4];return[4,t.json()];case 3:if(n=i.sent())return l(function(e){return(0,o.Z)((0,a.Z)({},e),{user:(0,o.Z)((0,a.Z)({},e.user),{plan_active:(0,o.Z)((0,a.Z)({},e.user.plan_active),{payment_status:n.payment_status}),subscription_active:(0,o.Z)((0,a.Z)({},e.user.subscription_active),{payment_status:n.payment_status})})})}),[2,n];i.label=4;case 4:return[3,6];case 5:return r=i.sent(),console.log(r),[3,6];case 6:return[2,!1]}})}),function(){return y.apply(this,arguments)}),E=function(e){(null==e?void 0:e.plan_active)?h(e.plan_active):h(null)},T=function(e){if(n.user){var t;if((null===(t=n.user.abilities)||void 0===t?void 0:t.length)>0&&n.user.abilities.find(function(t){return"*"==t.name||t.name==e}))return!0}return!1},R=function(){return T("has-benefits-club")},j=function(){return T("view-content-premium")},O=function(){return T("hide-advertisement")},C=function(){return T("view-edicion-impresa")},P=function(){return T("advanced-search")},A=function(){return T("play-games")},L=(0,u.useMemo)(function(){return{userRequest:n,plan:g,asyncUserInfo:b,userDeauthenticate:I,changePassword:k,updateProfile:w,haveSuscription:M,deleteSubscription:S,getSuscriptionHistory:N,imageUpload:x,havePermissionViewPaper:C,havePermissionHideAds:O,havePermissionViewNotePremium:j,havePermissionAdvanceSearch:P,havePermissionClub:R,havePermissionPlayGames:A}},[n,g]);return(0,s.jsx)(f.Provider,(0,a.Z)({value:L},e))};function g(){var e=u.useContext(f);if(!e)throw Error("UserContext debe estar dentro del proveedor");return e}},137:function(e){e.exports={previewBanner:"PreviewMode_previewBanner__5ZuQp"}},82946:function(){},17141:function(){},96698:function(e){!function(){var t={229:function(e){var t,n,r,a=e.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(r){n=i}}();var u=[],c=!1,l=-1;function d(){c&&r&&(c=!1,r.length?u=r.concat(u):l=-1,u.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(r=u,u=[];++l<t;)r&&r[l].run();l=-1,t=u.length}r=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(r){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||c||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={exports:{}},i=!0;try{t[e](o,o.exports,r),i=!1}finally{i&&delete n[e]}return o.exports}r.ab="//";var a=r(229);e.exports=a}()},36562:function(e,t,n){e.exports=n(7138)},27194:function(e,t,n){e.exports=n(5527)},38972:function(e,t,n){"use strict";/** 8 * @license React 9 * use-sync-external-store-shim.production.js 10 * 11 * Copyright (c) Meta Platforms, Inc. and affiliates. 12 * 13 * This source code is licensed under the MIT license found in the 14 * LICENSE file in the root directory of this source tree. 15 */ var r=n(59496),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();
15return!a(e,n)}catch(r){return!0}}function l(e,t){return t()}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?l:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,l=r[1];return s(function(){a.value=n,a.getSnapshot=t,c(a)&&l({inst:a})},[e,n,t]),i(function(){return c(a)&&l({inst:a}),e(function(){c(a)&&l({inst:a})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},54870:function(e,t,n){"use strict";e.exports=n(38972)},57135:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var s=e[o](i),u=s.value}catch(c){n(c);return}s.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function s(e){r(i,a,o,s,u,"next",e)}function u(e){r(i,a,o,s,u,"throw",e)}s(void 0)})}}n.d(t,{Z:function(){return a}})},57389:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},72006:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57389);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){(0,r.Z)(e,t,n[t])})}return e}},4405:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n.d(t,{Z:function(){return r}})},77637:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:function(){return r}})},453:function(e,t,n){"use strict";n.d(t,{J$:function(){return ew},ZP:function(){return ek}});var r,a=n(59496),o=n(54870),i=Object.prototype.hasOwnProperty;let s=new WeakMap,u=()=>{},c=u(),l=Object,d=e=>e===c,f=e=>"function"==typeof e,m=(e,t)=>({...e,...t}),g=e=>f(e.then),h={},_={},p="undefined",v=typeof window!=p,y=typeof document!=p,b=v&&"Deno"in window,I=()=>v&&typeof window.requestAnimationFrame!=p,w=(e,t)=>{let n=s.get(e);return[()=>!d(t)&&e.get(t)||h,r=>{if(!d(t)){let a=e.get(t);t in _||(_[t]=a),n[5](t,m(a,r),a||h)}},n[6],()=>!d(t)&&t in _?_[t]:!d(t)&&e.get(t)||h]},k=!0,[x,N]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[u,u],M=()=>{let e=y&&document.visibilityState;return d(e)||"hidden"!==e},S=e=>(y&&document.addEventListener("visibilitychange",e),x("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),N("focus",e)}),E=e=>{let t=()=>{k=!0,e()},n=()=>{k=!1};
15return x("online",t),x("offline",n),()=>{N("online",t),N("offline",n)}},T={initFocus:S,initReconnect:E},R=!a.useId,j=!v||b,O=e=>I()?window.requestAnimationFrame(e):setTimeout(e,1),C=j?a.useEffect:a.useLayoutEffect,P="undefined"!=typeof navigator&&navigator.connection,A=!j&&P&&(["slow-2g","2g"].includes(P.effectiveType)||P.saveData),L=new WeakMap,B=e=>l.prototype.toString.call(e),D=(e,t)=>e===`[object ${t}]`,$=0,Z=e=>{let t=typeof e,n=B(e),r=D(n,"Date"),a=D(n,"RegExp"),o=D(n,"Object"),i,s;if(l(e)!==e||r||a)i=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=L.get(e))return i;if(i=++$+"~",L.set(e,i),Array.isArray(e)){for(s=0,i="@";s<e.length;s++)i+=Z(e[s])+",";L.set(e,i)}if(o){i="#";let u=l.keys(e).sort();for(;!d(s=u.pop());)d(e[s])||(i+=s+":"+Z(e[s])+",");L.set(e,i)}}return i},H=e=>{if(f(e))try{e=e()}catch(t){e=""}let n=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?Z(e):"",n]},U=0,F=()=>++U;async function Y(...e){let[t,n,r,a]=e,o=m({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),i=o.populateCache,u=o.rollbackOnError,l=o.optimisticData,h=e=>"function"==typeof u?u(e):!1!==u,_=o.throwOnError;
15if(f(n)){let p=[],v=t.keys();for(let y of v)!/^\$(inf|sub)\$/.test(y)&&n(t.get(y)._k)&&p.push(y);return Promise.all(p.map(b))}return b(n);async function b(n){let[a]=H(n);if(!a)return;let[u,m]=w(t,a),[p,v,y,b]=s.get(t),I=()=>{let e=p[a],t=f(o.revalidate)?o.revalidate(u().data,n):!1!==o.revalidate;return t&&(delete y[a],delete b[a],e&&e[0])?e[0](2).then(()=>u().data):u().data};if(e.length<3)return I();let k=r,x,N=!1,M=F();v[a]=[M,0];let S=!d(l),E=u(),T=E.data,R=E._c,j=d(R)?T:R;if(S&&(l=f(l)?l(j,T):l,m({data:l,_c:j})),f(k))try{k=k(j)}catch(O){x=O,N=!0}if(k&&g(k)){if(k=await k.catch(e=>{x=e,N=!0}),M!==v[a][0]){if(N)throw x;return k}N&&S&&h(x)&&(i=!0,m({data:j,_c:c}))}if(i&&!N){if(f(i)){let C=i(k,j);m({data:C,error:c,_c:c})}else m({data:k,error:c,_c:c})}if(v[a][1]=F(),Promise.resolve(I()).then(()=>{m({_c:c})}),N){if(_)throw x;return}return k}}let V=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},q=(e,t)=>{if(!s.has(e)){let n=m(T,t),r=Object.create(null),a=Y.bind(c,e),o=u,i=Object.create(null),l=(e,t)=>{let n=i[e]||[];return i[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);let a=i[t];if(a)for(let o of a)o(n,r)},f=()=>{if(!s.has(e)&&(s.set(e,[r,Object.create(null),Object.create(null),Object.create(null),a,d,l]),!j)){let t=n.initFocus(setTimeout.bind(c,V.bind(c,r,0))),i=n.initReconnect(setTimeout.bind(c,V.bind(c,r,1)));o=()=>{t&&t(),i&&i(),s.delete(e)}}};return f(),[e,a,f,o]}return[e,s.get(e)[4]]},J=(e,t,n,r,a)=>{let o=n.errorRetryCount,i=a.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;(d(o)||!(i>o))&&setTimeout(r,s,a)},z=function e(t,n){var r,a;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((a=t.length)===n.length)for(;a--&&e(t[a],n[a]););return -1===a}if(!r||"object"==typeof t){for(r in a=0,t)if(i.call(t,r)&&++a&&!i.call(n,r)||!(r in n)||!e(t[r],n[r]))return!1;return Object.keys(n).length===a}}return t!=t&&n!=n},[W,X]=q(new Map),G=m({onLoadingSlow:u,onSuccess:u,onError:u,onErrorRetry:J,onDiscarded:u,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:z,isPaused:()=>!1,cache:W,mutate:X,fallback:{}},{isOnline:()=>k,isVisible:M}),K=(e,t)=>{let n=m(e,t);if(t){let{use:r,fallback:a}=e,{use:o,fallback:i}=t;r&&o&&(n.use=r.concat(o)),a&&i&&(n.fallback=m(a,i))}return n},Q=(0,a.createContext)({}),ee=e=>{let{value:t}=e,n=(0,a.useContext)(Q),r=f(t),o=(0,a.useMemo)(()=>r?t(n):t,[r,n,t]),i=(0,a.useMemo)(()=>r?o:K(n,o),[r,n,o]),s=o&&o.provider,u=(0,a.useRef)(c);s&&!u.current&&(u.current=q(s(i.cache||W),o));let l=u.current;return l&&(i.cache=l[0],i.mutate=l[1]),C(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,a.createElement)(Q.Provider,m(e,{value:i}))},et=v&&window.__SWR_DEVTOOLS_USE__,en=et?window.__SWR_DEVTOOLS_USE__:[],er=e=>f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],ea=()=>{let e=(0,a.useContext)(Q),t=(0,a.useMemo)(()=>m(G,e),[e]);return t},eo=e=>(t,n,r)=>e(t,n&&((...e)=>{let[r]=H(t),[,,,a]=s.get(W);if(r.startsWith("$inf$"))return n(...e);let o=a[r];return d(o)?n(...e):(delete a[r],o)}),r),ei=en.concat(eo),es=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};et&&(window.__SWR_DEVTOOLS_REACT__=a);let eu=()=>{},ec=eu(),el=Object,ed=e=>e===ec,ef=new WeakMap,em=e=>el.prototype.toString.call(e),eg=(e,t)=>e===`[object ${t}]`,eh=0,e_=e=>{let t=typeof e,n=em(e),r=eg(n,"Date"),a=eg(n,"RegExp"),o=eg(n,"Object"),i,s;if(el(e)!==e||r||a)i=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=ef.get(e))return i;if(i=++eh+"~",ef.set(e,i),Array.isArray(e)){for(s=0,i="@";s<e.length;s++)i+=e_(e[s])+",";ef.set(e,i)}if(o){i="#";let u=el.keys(e).sort();for(;!ed(s=u.pop());)ed(e[s])||(i+=s+":"+e_(e[s])+",");ef.set(e,i)}}return i},ep=a.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),ev={dedupe:!0},ey=Promise.resolve(c),eb=()=>u,eI=(e,t,n)=>{let{cache:r,compare:i,suspense:u,fallbackData:l,revalidateOnMount:h,revalidateIfStale:_,refreshInterval:p,refreshWhenHidden:v,refreshWhenOffline:y,keepPreviousData:b,strictServerPrefetchWarning:I}=n,[k,x,N,M]=s.get(r),[S,E]=H(e),T=(0,a.useRef)(!1),P=(0,a.useRef)(!1),A=(0,a.useRef)(S),L=(0,a.useRef)(t),B=(0,a.useRef)(n),D=()=>B.current,$=()=>D().isVisible()&&D().isOnline(),[Z,U,V,q]=w(r,S),J=(0,a.useRef)({}).current,z=d(l)?d(n.fallback)?c:n.fallback[S]:l,W=(e,t)=>{for(let n in J){let r=n;if("data"===r){if(!i(e[r],t[r])&&(!d(e[r])||!i(ea,t[r])))return!1}else if(t[r]!==e[r])return!1}return!0},X=!T.current,G=(0,a.useMemo)(()=>{let e=Z(),n=q(),r=e=>{let n=m(e);delete n._k;let r=(()=>
15{if(!S||!t||D().isPaused())return!1;if(X&&!d(h))return h;let e=d(z)?n.data:z;return d(e)||_})();return r?{isValidating:!0,isLoading:!0,...n}:n},a=r(e),o=e===n?a:r(n),i=a;return[()=>{let e=r(Z()),t=W(e,i);return t?(i.data=e.data,i.isLoading=e.isLoading,i.isValidating=e.isValidating,i.error=e.error,i):(i=e,e)},()=>o]},[r,S]),K=(0,o.useSyncExternalStore)((0,a.useCallback)(e=>V(S,(t,n)=>{W(n,t)||e()}),[r,S]),G[0],G[1]),Q=k[S]&&k[S].length>0,ee=K.data,et=d(ee)?z&&g(z)?ep(z):z:ee,en=K.error,er=(0,a.useRef)(et),ea=b?d(ee)?d(er.current)?et:er.current:ee:et,eo=S&&d(et),ei=(0,a.useRef)(null);j||(0,o.useSyncExternalStore)(eb,()=>(ei.current=!1,ei),()=>(ei.current=!0,ei));let eu=ei.current;I&&eu&&!u&&eo&&console.warn(`Missing pre-initiated data for serialized key "${S}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let ec=!(!S||!t||D().isPaused())&&(!Q||!!d(en))&&(X&&!d(h)?h:u?!d(et)&&_:d(et)||_),el=X&&ec,ed=d(K.isValidating)?el:K.isValidating,ef=d(K.isLoading)?el:K.isLoading,em=(0,a.useCallback)(async e=>{let t=L.current;if(!S||!t||P.current||D().isPaused())return!1;let r,a,o=!0,s=e||{},u=!N[S]||!s.dedupe,l=()=>R?!P.current&&S===A.current&&T.current:S===A.current,m={isValidating:!1,isLoading:!1},g=()=>{U(m)},h=()=>{let e=N[S];e&&e[1]===a&&delete N[S]},_={isValidating:!0};d(Z().data)&&(_.isLoading=!0);try{if(u&&(U(_),n.loadingTimeout&&d(Z().data)&&setTimeout(()=>{o&&l()&&D().onLoadingSlow(S,n)},n.loadingTimeout),N[S]=[t(E),F()]),[r,a]=N[S],r=await r,u&&setTimeout(h,n.dedupingInterval),!N[S]||N[S][1]!==a)return u&&l()&&D().onDiscarded(S),!1;m.error=c;let p=x[S];if(!d(p)&&(a<=p[0]||a<=p[1]||0===p[1]))return g(),u&&l()&&D().onDiscarded(S),!1;let v=Z().data;m.data=i(v,r)?v:r,u&&l()&&D().onSuccess(r,S,n)}catch(I){h();let y=D(),{shouldRetryOnError:b}=y;!y.isPaused()&&(m.error=I,u&&l()&&(y.onError(I,S,y),(!0===b||f(b)&&b(I))&&(!D().revalidateOnFocus||!D().revalidateOnReconnect||$())&&y.onErrorRetry(I,S,y,e=>{let t=k[S];t&&t[0]&&t[0](3,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return o=!1,g(),!0},[S,r]),eg=(0,a.useCallback)((...e)=>Y(r,A.current,...e),[]);if(C(()=>{L.current=t,B.current=n,d(ee)||(er.current=ee)}),C(()=>{if(!S)return;let e=em.bind(c,ev),t=0;if(D().revalidateOnFocus){let n=Date.now();t=n+D().focusThrottleInterval}let r=(n,r={})=>{if(0==n){let a=Date.now();D().revalidateOnFocus&&a>t&&$()&&(t=a+D().focusThrottleInterval,e())}else if(1==n)D().revalidateOnReconnect&&$()&&e();else if(2==n)return em();else if(3==n)return em(r)},a=es(S,k,r);return P.current=!1,A.current=S,T.current=!0,U({_k:E}),ec&&!N[S]&&(d(et)||j?e():O(e)),()=>{P.current=!0,a()}},[S]),C(()=>{let e;function t(){let t=f(p)?p(Z().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!Z().error&&(v||D().isVisible())&&(y||D().isOnline())?em(ev).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[p,v,y,S]),(0,a.useDebugValue)(ea),u){if(!R&&j&&eo)throw Error("Fallback data is required when using Suspense in SSR.");eo&&(L.current=t,B.current=n,P.current=!1);let eh=M[S],e_=!d(eh)&&eo?eg(eh):ey;if(ep(e_),!d(en)&&eo)throw en;let eI=eo?em(ev):ey;!d(ea)&&eo&&(eI.status="fulfilled",eI.value=!0),ep(eI)}return{mutate:eg,get data(){return J.data=!0,ea},get error(){return J.error=!0,en},get isValidating(){return J.isValidating=!0,ed},get isLoading(){return J.isLoading=!0,ef}}},ew=l.defineProperty(ee,"defaultValue",{value:G}),ek=function(...e){let t=ea(),[n,r,a]=er(e),o=K(t,a),i=eI,{use:s}=o,u=(s||[]).concat(ei);for(let c=u.length;c--;)i=u[c](i);return i(n,r||o.fetcher||null,o)}},19196:function(e){"use strict";e.exports=JSON.parse('{"networkId":"4308","schain":"1.0,1!mediosfederales.com,578088,1,paralelo32,paralelo32.com.ar","siteId":"578088","homePageId":"1749981","internaPageId":"1749982","internasPageId":{"default":1749982},"notePageId":"1749983","headerBidding":true,"taboola":false,"slots":{"Top_Header":{"desktop":{"formatId":"111236","tagId":"LargeLeaderboard_1","height":"d-large-h90"},"mobile":{"formatId":"111263","tagId":"MobileBanner_1","height":"large-h100"}},"Bottom_Header":{"margin":"my-1","desktop":{"formatId":"111237","tagId":"LargeLeaderboard_2"},"mobile":{"formatId":"111264","tagId":"MobileBanner_2","height":"large-h100"}},"Entre_Notas_1":{"desktop":{"formatId":"111246","tagId":"Billboard_1"},"mobile":{"formatId":"111196","tagId":"MediumRectangle_1","height":"large-h250"}},"Entre_Notas_2":{"desktop":{"formatId":"111247","tagId":"Billboard_2"},"mobile":{"formatId":"111197","tagId":"MediumRectangle_2","height":"large-h250"}},"Entre_Notas_3":{"desktop":{"formatId":"111248","tagId":"Billboard_3"},"mobile":{"formatId":"111202","tagId":"MediumRectangle_7","height":"large-h250"}},"Entre_Notas_4":{"desktop":{"formatId":"111249","tagId":"Billboard_4"},"mobile":{"formatId":"111207","tagId":"MediumRectangle_12","height":"large-h250"}},"Entre_Notas_5":{"desktop":{"formatId":"111250","tagId":"Billboard_5"},"mobile":{"formatId":"111212","tagId":"MediumRectangle_17","height":"large-h250"}},"Entre_Notas_6":{"desktop":{"formatId":"111855","tagId":"Billboard_6"},"mobile":{"formatId":"111213","tagId":"MediumRectangle_18","height":"large-h250"}},"Entre_Notas_7":{"desktop":{"formatId":"111856","tagId":"Billboard_7"}
15,"mobile":{"formatId":"112007","tagId":"MediumRectangle_23","height":"large-h250"}},"Entre_Notas_8":{"desktop":{"formatId":"111857","tagId":"Billboard_8"},"mobile":{"formatId":"112008","tagId":"MediumRectangle_24","height":"large-h250"}},"Entre_Notas_9":{"desktop":{"formatId":"111858","tagId":"Billboard_9"},"mobile":{"formatId":"112009","tagId":"MediumRectangle_25","height":"large-h250"}},"Entre_Notas_10":{"desktop":{"formatId":"111859","tagId":"Billboard_10"},"mobile":{"formatId":"112010","tagId":"MediumRectangle_26","height":"large-h250"}},"Entre_Notas_11":{"desktop":{"formatId":"112238","tagId":"Billboard_11"},"mobile":{"formatId":"115060","tagId":"MediumRectangle_31","height":"large-h250"}},"Entre_Notas_12":{"desktop":{"formatId":"112239","tagId":"Billboard_12"},"mobile":{"formatId":"115061","tagId":"MediumRectangle_32","height":"large-h250"}},"Entre_Notas_13":{"desktop":{"formatId":"112240","tagId":"Billboard_13"},"mobile":{"formatId":"115062","tagId":"MediumRectangle_33","height":"large-h250"}},"Entre_Notas_14":{"desktop":{"formatId":"112241","tagId":"Billboard_14"},"mobile":{"formatId":"115063","tagId":"MediumRectangle_34","height":"large-h250"}},"300x250_1":{"desktop":{"formatId":"111196","tagId":"MediumRectangle_1"},"mobile":{"formatId":"111198","tagId":"MediumRectangle_3","height":"box-h250"}},"300x250_2":{"desktop":{"formatId":"111197","tagId":"MediumRectangle_2"},"mobile":{"formatId":"111199","tagId":"MediumRectangle_4","height":"box-h250"}},"300x250_3":{"desktop":{"formatId":"111198","tagId":"MediumRectangle_3"},"mobile":{"formatId":"111200","tagId":"MediumRectangle_5","height":"box-h250"}},"300x250_4":{"desktop":{"formatId":"111199","tagId":"MediumRectangle_4"},"mobile":{"formatId":"111201","tagId":"MediumRectangle_6","height":"box-h250"}},"300x250_5":{"desktop":{"formatId":"111200","tagId":"MediumRectangle_5"},"mobile":{"formatId":"111203","tagId":"MediumRectangle_8","height":"box-h250"}},"300x250_6":{"desktop":{"formatId":"111201","tagId":"MediumRectangle_6"},"mobile":{"formatId":"111204","tagId":"MediumRectangle_9","height":"box-h250"}},"300x250_7":{"desktop":{"formatId":"111202","tagId":"MediumRectangle_7"},"mobile":{"formatId":"111205","tagId":"MediumRectangle_10","height":"box-h250"}},"300x250_8":{"desktop":{"formatId":"111203","tagId":"MediumRectangle_8"},"mobile":{"formatId":"111206","tagId":"MediumRectangle_11","height":"box-h250"}},"300x250_9":{"desktop":{"formatId":"111204","tagId":"MediumRectangle_9"},"mobile":{"formatId":"111208","tagId":"MediumRectangle_13","height":"box-h250"}},"300x250_10":{"desktop":{"formatId":"111205","tagId":"MediumRectangle_10"},"mobile":{"formatId":"111209","tagId":"MediumRectangle_14","height":"box-h250"}},"300x250_11":{"desktop":{"formatId":"111206","tagId":"MediumRectangle_11"},"mobile":{"formatId":"111210","tagId":"MediumRectangle_15","height":"box-h250"}},"300x250_12":{"desktop":{"formatId":"111207","tagId":"MediumRectangle_12"},"mobile":{"formatId":"111211","tagId":"MediumRectangle_16","height":"box-h250"}},"300x250_13":{"desktop":{"formatId":"111208","tagId":"MediumRectangle_13"},"mobile":{"formatId":"111214","tagId":"MediumRectangle_19","height":"box-h250"}},"300x250_14":{"desktop":{"formatId":"111209","tagId":"MediumRectangle_14"},"mobile":{"formatId":"111215","tagId":"MediumRectangle_20","height":"box-h250"}},"300x250_15":{"desktop":{"formatId":"111210","tagId":"MediumRectangle_15"},"mobile":{"formatId":"112005","tagId":"MediumRectangle_21","height":"box-h250"}},"300x250_16":{"desktop":{"formatId":"111211","tagId":"MediumRectangle_16"},"mobile":{"formatId":"112006","tagId":"MediumRectangle_22","height":"box-h250"}},"300x250_17":{"desktop":{"formatId":"111212","tagId":"MediumRectangle_17"},"mobile":{"formatId":"112011","tagId":"MediumRectangle_27","height":"box-h250"}},"300x250_18":{"desktop":{"formatId":"111213","tagId":"MediumRectangle_18"},"mobile":{"formatId":"112012","tagId":"MediumRectangle_28","height":"box-h250"}},"300x250_19":{"desktop":{"formatId":"111214","tagId":"MediumRectangle_19"},"mobile":{"formatId":"112013","tagId":"MediumRectangle_29","height":"box-h250"}},"300x250_20":{"desktop":{"formatId":"111215","tagId":"MediumRectangle_20"},"mobile":{"formatId":"112014","tagId":"MediumRectangle_30","height":"box-h250"}},"Top_Header_Notas":{"desktop":{"formatId":"111236","tagId":"LargeLeaderboard_1","height":"d-large-h90"},"mobile":{"formatId":"111263","tagId":"MobileBanner_1","height":"large-h100"}},"1_Bottom_Header_Notas":{"desktop":{"formatId":"111237","tagId":"LargeLeaderboard_2"},"mobile":{"formatId":"111264","tagId":"MobileBanner_2","height":"large-h100"}},"1_Top_Foto_Notas":{"desktop":{"formatId":"111226","tagId":"Leaderboard_1"},"mobile":{"formatId":"111265","tagId":"MobileBanner_3","height":"large-h100"}},"1_Cabecera_Nota_Notas":{"desktop":{"formatId":"111227","tagId":"Leaderboard_2","height":"d-large-h100"},"mobile":{"formatId":"111196","tagId":"MediumRectangle_1","height":"box-h250"}},"1_InRead_1_Notas":{"desktop":{"formatId":"111268","tagId":"Inline"},"mobile":{"formatId":"111268","tagId":"Inline","height":"large-h250"}},"Parallax":{"desktop":{"formatId":"111128","tagId":"Parallax"},"mobile":{"formatId":"111128","tagId":"Parallax","height":"box-h250"}},"1_InRead_2_Notas":{"desktop":{"formatId":"111228","tagId":"Leaderboard_3","height":"d-large-h100"},"mobile":{"formatId":"111197","tagId":"MediumRectangle_2","height":"large-h250"}},"1_InRead_3_Notas":{"desktop":{"formatId":"111246","tagId":"Billboard_1"},"mobile":{"formatId":"111198","tagId":"MediumRectangle_3","height":"large-h250"}},"1_Pie_Nota_Notas":{"desktop":{"formatId":"111229","tagId":"Leaderboard_4"},"mobile":{"formatId":"111266","tagId":"MobileBanner_4","height":"large-h100"}},"2_Bottom_Header_Notas":{"desktop":{"formatId":"111230","tagId":"Leaderboard_5"},"mobile":{"formatId":"111267","tagId":"MobileBanner_5","height":"large-h100"}},"2_Top_Foto_Notas":{"desktop":{"formatId":"111231","tagId":"Leaderboard_6"},"mobile":{"formatId":"111860","tagId":"MobileBanner_6","height":"large-h100"}},"2_Cabecera_Nota_Notas":{"desktop":{"formatId":"111232","tagId":"Leaderboard_7","height":"d-large-h100"},"mobile":{"formatId":"111199","tagId":"MediumRectangle_4","height":"box-h250"}},"2_InRead_1_Notas":{"desktop":{"formatId":"111247","tagId":"Billboard_2"},"mobile":{"formatId":"111200","tagId":"MediumRectangle_5","height":"large-h250"}},"2_InRead_2_Notas":{"desktop":{"formatId":"111248","tagId":"Billboard_3"},"mobile":{"formatId":"111201","tagId":"MediumRectangle_6","height":"large-h250"}},"2_InRead_3_Notas":{"desktop":{"formatId":"111249","tagId":"Billboard_4"},"mobile":{"formatId":"111202","tagId":"MediumRectangle_7","height":"large-h250"}},"2_Pie_Nota_Notas":{"desktop":{"formatId":"111234","tagId":"Leaderboard_9"},"mobile":{"formatId":"111861","tagId":"MobileBanner_7","height":"large-h100"}},"3_Bottom_Header_Notas":{"desktop":{"formatId":"111235","tagId":"Leaderboard_10"},"mobile":{"formatId":"111862","tagId":"MobileBanner_8","height":"large-h100"}},"3_Top_Foto_Notas":{"desktop":{"formatId":"111850","tagId":"Leaderboard_11"},"mobile":{"formatId":"111863","tagId":"MobileBanner_9","height":"large-h100"}},"3_Cabecera_Nota_Notas":{"desktop":{"formatId":"111851","tagId":"Leaderboard_12","height":"d-large-h100"},"mobile":{"formatId":"111203","tagId":"MediumRectangle_8","height":"box-h250"}},"3_InRead_1_Notas":{"desktop":{"formatId":"111232","tagId":"Leaderboard_7","height":"d-large-h100"},"mobile":{"formatId":"111204","tagId":"MediumRectangle_9","height":"large-h250"}},"3_InRead_2_Notas":{"desktop":{"formatId":"111250","tagId":"Billboard_5"},"mobile":{"formatId":"111205","tagId":"MediumRectangle_10","height":"large-h250"}},"3_InRead_3_Notas":{"desktop":{"formatId":"111855","tagId":"Billboard_6"},"mobile":{"formatId":"111206","tagId":"MediumRectangle_11","height":"large-h250"}},"3_Pie_Nota_Notas":{"desktop":{"formatId":"111851","tagId":"Leaderboard_12"},"mobile":{"formatId":"111864","tagId":"MobileBanner_10","height":"large-h100"}},"Top_Header_Internas":{"desktop":{"formatId":"111236","tagId":"LargeLeaderboard_1","height":"d-large-h90"},"mobile":{"formatId":"111263","tagId":"MobileBanner_1","height":"large-h100"}},"Bottom_Header_Internas":{"margin":"my-1","desktop":{"formatId":"111237","tagId":"LargeLeaderboard_2"},"mobile":{"formatId":"111264","tagId":"MobileBanner_2","height":"large-h100"}},"InRead_1_Internas":{"desktop":{"formatId":"111246","tagId":"Billboard_1"},"mobile":{"formatId":"111196","tagId":"MediumRectangle_1","height":"large-h250"}},"InRead_2_Internas":{"desktop":{"formatId":"111247","tagId":"Billboard_2"},"mobile":{"formatId":"111197","tagId":"MediumRectangle_2","height":"large-h250"}},"InRead_3_Internas":{"desktop":{"formatId":"111226","tagId":"Leaderboard_1"},"mobile":{"formatId":"111265","tagId":"MobileBanner_3","height":"large-h100"}},"Zocalo":{"desktop":{"formatId":"111127","tagId":"Adhesion"},"renderEarly":true},"Invasivo":{"desktop":{"formatId":"111126","tagId":"Interstitial"},"renderEarly":true}},"urlAdsTxt":"https://srv.adstxtmanager.com/28543/paralelo32.com.ar"}')},44809:function(e){"use strict";e.exports=JSON.parse('{"nombre":"Paralelo32","nombre_completo":"Paralelo32","nombre_diario":"Paralelo32","newsletter":{"has_newsletter":false,"message":""},"allow_copy_note":false,"url":"paralelo32.com.ar","telefono":"(0343) 4951341","email_ayuda":"[email protected]","email_servicios":"[email protected]","horario":"","horario_weekend":"","horario_structured":"","direccion":"Moreno 1256","ciudad":"Crespo","region":"Crespo","cod_extended":"9661","provincia":"Entre R\xedos","cp":"3116","nombre_radio":"Crespo Boing 93.7","url_radio":"https://solumedia.com/radios/6734/index.html","url_tv":"https://www.solumedia.com/video/paralelo32/","url_categories":"/categoria","social":{"facebook":"SemanarioParalelo32","instagram":"paralelo.32","t
15witter":"semparalelo32","whatsapp":"(343) 456-8469","youtube":"SemanarioParalelo32"},"mediaUrl":"paralelo32cdn.eleco.com.ar","edicion":"July 3, 2007","latitude":"-32.03044401968979","longitude":"-60.3094795612497","view_paper_free":false,"show_premium_label":false,"global_scripts":[],"not_found_config":{"title":"Ups... Error 404","desc":"Lo sentimos, pero la p\xe1gina que busca no existe.","buttonText":"Volver a P\xc1GINA PRINCIPAL","show_notes":true},"color_footer":"dark","show_footer_logo":true,"show_header_weather":{"region":"Entre R\xedos"}}')},21337:function(e){"use strict";e.exports=JSON.parse('[{"name":"Crespo","link":"/categoria/crespo"},{"name":"Victoria","link":"/categoria/victoria"},{"name":"Nogoy\xe1","link":"/categoria/nogoya"},{"name":"Diamante","link":"/categoria/diamante"},{"name":"Paran\xe1","link":"/categoria/parana"},{"name":"Mangrullo","link":"/categoria/mangrullo"},{"name":"Nosotras","link":"/categoria/nosotras"},{"name":"Campo","link":"/categoria/campo"},{"name":"Sociedad","link":"/categoria/sociedad"},{"name":"Columnistas","link":"/categoria/columnistas"},{"name":"Conversaciones","link":"/categoria/conversaciones-para-leer"},{"name":"#historiasdeldeporte","link":"/categoria/historiasdeldeporte"},{"name":"Policial","link":"/categoria/policial"},{"name":"Nacionales","link":"/categoria/nacionales"},{"name":"Entre R\xedos","link":"/categoria/entrerios"},{"name":"Cultura","link":"/categoria/agenda-de-la-ciudad"},{"name":"Tecno y Redes","link":"/categoria/tecno-y-redes"},{"name":"Desarrollo Inmobiliario","link":"/categoria/desarrollo-inmobiliario"},{"name":"Acciones por el Clima","link":"/categoria/acciones-por-el-clima"},{"name":"Vinoteca","link":"/categoria/vinoteca"}]')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(79524),t(7138)}),_N_E=e.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.