PageSourceSearch

https://www.elheraldo.com.ar/_next/static/chunks/6866.4b58659893ff411a.js

js elheraldo.com.ar collected 2026-10-02 08:23:16 UTC 8,025 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6866],{46866:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var i=n(4637),o=n(59496),r=n(27194),s=n.n(r),a=n(36562),c=n(46302),l=n(32057),d=function(e){var t,n=e.name,r=e.pageIds,d=e.siteId,u=e.adCode,h=e.slug,p=void 0===h?null:h,v=(0,l.ks)().ads,f=(0,a.useRouter)(),g=(0,c.YD)({threshold:0,triggerOnce:!0,rootMargin:"800px 0px"}),b=g.ref,y=g.inView,m=window.innerWidth,w=(0,o.useRef)(null),I=m<768&&null!==(t=u.mobile)&&void 0!==t?t:u.desktop,k=I?I.tagId:void 0,V=I?I.formatId:void 0,j=u.renderEarly||v.renderEarlyAll||!1;(0,o.useEffect)(function(){var e=function(e,t){var n=t.shallow;(null==w?void 0:w.current)&&!n&&(w.current=!1,x())};return null==f||f.events.on("routeChangeComplete",e),function(){null==f||f.events.off("routeChangeComplete",e)}},[null==f?void 0:f.events]);var x=function(){if((y||j)&&!w.current&&V&&"videobox"!==V){if(w.current=!0,"taboola"===V)window._taboola=window._taboola||[],_taboola.push({mode:"thumbnails-m",container:k||"taboola-mid-article-thumbnails",placement:"Mid Article Thumbnails",target_type:"mix"});else{var e=window.sas;null==e||e.cmd.push(function(){try{var t={siteId:"".concat(d),pageId:"".concat(r),formatId:"".concat(V),tagId:k||"sas_".concat(V),target:"dominio="+window.location.href};v.schain&&(t.schain=v.schain),e.call("std",t,{onNoad:function(e){e.formatId&&console.log("onNoad: "+e.formatId)}})}catch(n){console.error("Error: ",n)}})}}};return((0,o.useEffect)(function(){x()},[n,y]),"videobox"===V)?(0,i.jsx)(s(),{id:"videoboxjs",src:k?"//player.daznservices.com/player.js#".concat(k):"//player.daznservices.com/player.js"}):"outbrain"===V?(0,i.jsxs)("aside",{children:[(0,i.jsx)("div",{className:"OUTBRAIN","data-src":"".concat("https://www.elheraldo.com.ar").concat(null!=p?p:""),"data-ob-template":"mediosfederales","data-widget-id":"".concat(I.widgetID?I.widgetID:"AR_1")}),(0,i.jsx)(s(),{id:"script-outbrain",type:"text/javascript",async:"async",src:"https://widgets.outbrain.com/outbrain.js"})]}):(0,i.jsx)("div",{ref:b,id:k||"sas_".concat(V)})},u=function(e){var t,n=e.type,r=e.name,a=e.inside,c=e.isAside,u=e.styles,h=void 0===u?null:u,p=e.style,v=void 0===p?{}:p,f=e.show,g=e.hideSection,b=e.pageId,y=e.slug,m=e.displayOnlyDesktop,w=(0,l.ks)().ads,I=(null==w?void 0:w.slots)?w.slots[r]:null,k=(null==w?void 0:w.siteId)||"",V=w&&b?"internasPageId"==b?null!==(t=w.internasPageId[y])&&void 0!==t?t:w.internasPageId.default:w[b]:void 0,j=void 0===f||f?(0,i.jsx)(d,{pageIds:V,siteId:k,adCode:I,slug:y}):null;if(void 0!==g&&g||!I)return null;var x=function(){var e=document.createElement("script");e.id="eplAD4Sync".concat(r),e.innerText="eplAD4Sync('eplAdDiv".concat(r,"','").concat(r,"')"),document.body.appendChild(e)};return(0,i.jsx)(o.Fragment,{children:void 0!==c&&c?(0,i.jsxs)("aside",{"data-nosnippet":!0,className:"".concat(v.advertisement," advertisement-background ").concat(v[n]," \n          ").concat(h||""," \n          ").concat(v.aside),children:[j,(0,i.jsx)(s(),{id:"eplAD4Sync".concat(r),strategy:"afterInteractive",onLoad:x})]}):(0,i.jsxs)("section",{"data-nosnippet":!0,className:"".concat(v.advertisement," advertisement-background\n          ").concat(I.mobile&&v["".concat(I.mobile.height)]?v["".concat(I.mobile.height)]:"","\n          ").concat(I.desktop&&v["".concat(I.desktop.height)]?v["".concat(I.desktop.height)]:"","\n          ").concat(I.margin?I.margin:"","\n          ").concat(void 0!==m&&m?v.showOnlyDesktop:"","\n          ").concat(h||""," \n          ").concat(void 0!==a&&a?"container":""),children:["zocalo"!=n&&"invasivo"!=n&&(0,i.jsx)("span",{className:v.text,children:"Ads"}),null,j,(0,i.jsx)(s(),{id:"eplAD4Sync".concat(r),strategy:"afterInteractive",onLoad:x})]})})}},46302:function(e,t,n){n.d(t,{YD:function(){return v},df:function(){return p}});var i=n(59496);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Map,a=new WeakMap,c=0,l=void 0;function d(e,t,n,i){if(void 0===n&&(n={}),void 0===i&&(i=l),void 0===window.IntersectionObserver&&void 0!==i){var o=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var r=function(e){var t,n=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var n;return t+"_"+("root"===t?(n=e.root)?(a.has(n)||(c+=1,a.set(n,c.toString())),a.get(n)):"0":e[t])}).toString(),i=s.get(n);if(!i){var o,r=new Map,l=new IntersectionObserver(function(t){t.forEach(function(t){var n,i=t.isIntersecting&&o.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=r.get(t.target))||n.forEac
1h(function(e){e(i,t)})})},e);o=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:n,observer:l,elements:r},s.set(n,i)}return i}(n),d=r.id,u=r.observer,h=r.elements,p=h.get(e)||[];return h.has(e)||h.set(e,p),p.push(t),u.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(h.delete(e),u.unobserve(e)),0===h.size&&(u.disconnect(),s.delete(d))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!=typeof e.children}var p=function(e){function t(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),h(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}n=t,s=e,n.prototype=Object.create(s.prototype),n.prototype.constructor=n,r(n,s);var n,s,a=t.prototype;return a.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},a.componentWillUnmount=function(){this.unobserve(),this.node=null},a.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,i=e.rootMargin,o=e.trackVisibility,r=e.delay,s=e.fallbackInView;this._unobserveCb=d(this.node,this.handleChange,{threshold:t,root:n,rootMargin:i,trackVisibility:o,delay:r},s)}},a.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},a.render=function(){if(!h(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}
1var r=this.props,s=r.children,a=r.as,c=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,u);return i.createElement(a||"div",o({ref:this.handleNode},c),s)},t}(i.Component);function v(e){var t=void 0===e?{}:e,n=t.threshold,o=t.delay,r=t.trackVisibility,s=t.rootMargin,a=t.root,c=t.triggerOnce,l=t.skip,u=t.initialInView,h=t.fallbackInView,p=i.useRef(),v=i.useState({inView:!!u}),f=v[0],g=v[1],b=i.useCallback(function(e){void 0!==p.current&&(p.current(),p.current=void 0),!l&&e&&(p.current=d(e,function(e,t){g({inView:e,entry:t}),t.isIntersecting&&c&&p.current&&(p.current(),p.current=void 0)},{root:a,rootMargin:s,threshold:n,trackVisibility:r,delay:o},h))},[Array.isArray(n)?n.toString():n,a,s,c,l,r,h,o]);(0,i.useEffect)(function(){p.current||!f.entry||c||l||g({inView:!!u})});var y=[b,f.inView,f.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}}]);

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.