1!function(){var e,t={3338:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},629:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},3395:function(e,t,n){var r="html",a="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,s=/<body.*>/i,l=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var f=new window.DOMParser;l=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),f.parseFromString(e,"text/html")}}if(document.implementation){var d=n(5668).isIE,p=document.implementation.createHTMLDocument(d()?"html-dom-parser":void 0);l=function(e,t){return t?(p.documentElement.getElementsByTagName(t)[0].innerHTML=e,p):(p.documentElement.innerHTML=e,p)}}var m,y=document.createElement("template");y.content&&(m=function(e){return y.innerHTML=e,y.content.childNodes}),e.exports=function(e){var t,n,f,d,p=e.match(i);switch(p&&p[1]&&(t=p[1].toLowerCase()),t){case r:return n=u(e),c.test(e)||(f=n.getElementsByTagName(a)[0])&&f.parentNode.removeChild(f),s.test(e)||(f=n.getElementsByTagName(o)[0])&&f.parentNode.removeChild(f),n.getElementsByTagName(r);case a:case o:return d=l(e).getElementsByTagName(t),s.test(e)&&c.test(e)?d[0].parentNode.childNodes:d;default:return m?m(e):l(e,o).getElementsByTagName(o)[0].childNodes}}},9072:function(e,t,n){var r=n(3395),a=n(5668).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(o);return n&&n[1]&&(t=n[1]),a(r(e),null,t)}},5668:function(e,t,n){for(var r,a=n(629),o=n(2888),i=a.CASE_SENSITIVE_TAG_NAMES,c=o.Comment,s=o.Element,l=o.ProcessingInstruction,u=o.Text,f={},d=0,p=i.length;d<p;d++)r=i[d],f[r.toLowerCase()]=r;function m(e){for(var t,n={},r=0,a=e.length;r<a;r++)n[(t=e[r]).name]=t.value;return n}function y(e){return function(e){return f[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:m,formatDOM:function e(t,n,r){n=n||null;for(var a=[],o=0,i=t.length;o<i;o++){var f,d=t[o];switch(d.nodeType){case 1:(f=new s(y(d.nodeName),m(d.attributes))).children=e(d.childNodes,f);break;case 3:f=new u(d.nodeValue);break;case 8:f=new c(d.nodeValue);break;default:continue}var p=a[o-1]||null;p&&(p.next=f),f.parent=n,f.prev=p,f.next=null,a.push(f)}return r&&((f=new l(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=a[0]||null,f.parent=n,a.unshift(f),a[1]&&(a[1].prev=a[0])),a},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},4371:function(e,t,n){var r=n(9471),a=n(4193),o=n(9072);o="function"==typeof o.default?o.default:o;var i={lowerCaseAttributeNames:!1};function c(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:r(o(e,(t=t||{}).htmlparser2||i),t)}c.domToReact=r,c.htmlToDOM=o,c.attributesToProps=a,c.Element=n(1138).Element,e.exports=c,e.exports.default=c},4193:function(e,t,n){var r=n(9461),a=n(9523);function o(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,i,c,s,l={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(i=e[t],r.isCustomAttribute(t))l[t]=i;else if(c=o(n=t.toLowerCase()))switch(s=r.getPropertyInfo(c),"checked"!==c&&"value"!==c||u||(c=o("default"+n)),l[c]=i,s&&s.type){case r.BOOLEAN:l[c]=!0;break;case r.OVERLOADED_BOOLEAN:""===i&&(l[c]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(l[t]=i);return a.setStyleProp(e.style,l),l}},9471:function(e,t,n){var r=n(8102),a=n(4193),o=n(9523),i=o.setStyleProp,c=o.canTextBeChildOfNode;function s(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&o.isCustomComponent(e.name,e.attribs)}
1e.exports=function e(t,n){for(var o,l,u,f,d,p=(n=n||{}).library||r,m=p.cloneElement,y=p.createElement,h=p.isValidElement,v=[],g="function"==typeof n.replace,b=n.trim,w=0,E=t.length;w<E;w++)if(o=t[w],g&&h(u=n.replace(o)))E>1&&(u=m(u,{key:u.key||w})),v.push(u);else if("text"!==o.type){switch(f=o.attribs,s(o)?i(f.style,f):f&&(f=a(f)),d=null,o.type){case"script":case"style":o.children[0]&&(f.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?f.defaultValue=o.children[0].data:o.children&&o.children.length&&(d=e(o.children,n));break;default:continue}E>1&&(f.key=w),v.push(y(o.name,f,d))}else{if((l=!o.data.trim().length)&&o.parent&&!c(o.parent))continue;if(b&&l)continue;v.push(o.data)}return 1===v.length?v[0]:v}},9523:function(e,t,n){var r=n(8102),a=n(1020).default,o={reactCompat:!0},i=r.version.split(".")[0]>=16,c=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:i,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,a="function"==typeof t,o={},i={};for(n in e)r=e[n],a&&(o=t(n,r))&&2===o.length?i[o[0]]=o[1]:"string"==typeof r&&(i[r]=n);return i},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=a(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!c.has(e.name)},elementsWithNoTextChildren:c}},5937:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,s=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(s,l):l}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:f,column:d};return function(t){return t.position=new y(e),b(),t}}function y(e){this.start=e,this.end={line:f,column:d},this.source=s.source}y.prototype.content=e;var h=[];function v(t){var n=new Error(s.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=f,n.column=d,n.source=e,!s.silent)throw n;h.push(n)}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){g(r)}function w(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function _(){var e=m(),n=g(a);if(n){if(E(),!g(o))return v("property missing ':'");var r=g(i),s=e({type:"declaration",property:u(n[0].replace(t,l)),value:r?u(r[0].replace(t,l)):l});return g(c),s}}return b(),function(){var e,t=[];for(w(t);e=_();)!1!==e&&(t.push(e),w(t));return t}()}},834:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){var e,t,n="lscache-",r="-cacheexpiration",a=6e4,o=w(a),i="",c=!1;function s(){var t="__lscachetest__",n=t;if(void 0!==e)return e;try{if(!localStorage)return!1}catch(e){return!1}try{m(t,n),y(t),e=!0}catch(t){e=!(!l(t)||!localStorage.length)}return e}function l(e){return e&&("QUOTA_EXCEEDED_ERR"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name||"QuotaExceededError"===e.name)}function u(){return void 0===t&&(t=null!=window.JSON),t}function f(e){return e+r}function d(){return Math.floor((new Date).getTime()/a)}function p(e){return localStorage.getItem(n+i+e)}function m(e,t){localStorage.removeItem(n+i+e),localStorage.setItem(n+i+e,t)}function y(e){localStorage.removeItem(n+i+e)}function h(e){var t,a,o=new RegExp("^"+n+(i.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&")+"(.*)")),c=[];for(a=0;a<localStorage.length;
1a++)(t=(t=(t=localStorage.key(a))&&t.match(o))&&t[1])&&t.indexOf(r)<0&&c.push(t);for(a=0;a<c.length;a++)e(c[a],f(c[a]))}function v(e){var t=f(e);y(e),y(t)}function g(e){var t=f(e),n=p(t);if(n){var r=parseInt(n,10);if(d()>=r)return y(e),y(t),!0}}function b(e,t){c&&"console"in window&&"function"==typeof window.console.warn&&(window.console.warn("lscache - "+e),t&&window.console.warn("lscache - The error was: "+t.message))}function w(e){return Math.floor(864e13/e)}return{set:function(e,t,n){if(!s())return!1;if(!u())return!1;try{t=JSON.stringify(t)}catch(e){return!1}try{m(e,t)}catch(n){if(!l(n))return b("Could not add item with key '"+e+"'",n),!1;var r,a=[];h(function(e,t){var n=p(t);n=n?parseInt(n,10):o,a.push({key:e,size:(p(e)||"").length,expiration:n})}),a.sort(function(e,t){return t.expiration-e.expiration});for(var i=(t||"").length;a.length&&i>0;)b("Cache is full, removing item with key '"+(r=a.pop()).key+"'"),v(r.key),i-=r.size;try{m(e,t)}catch(t){return b("Could not add item with key '"+e+"', perhaps it's too big?",t),!1}}return n?m(f(e),(d()+n).toString(10)):y(f(e)),!0},get:function(e){if(!s())return null;if(g(e))return null;var t=p(e);if(!t||!u())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){s()&&v(e)},supported:function(){return s()},flush:function(){s()&&h(function(e){v(e)})},flushExpired:function(){s()&&h(function(e){g(e)})},setBucket:function(e){i=e},resetBucket:function(){i=""},getExpiryMilliseconds:function(){return a},setExpiryMilliseconds:function(e){o=w(a=e)},enableWarnings:function(e){c=e}}})?n.apply(t,[]):n)||(e.exports=r)},6999:function(e,t,n){"use strict";var r=n(6848);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},9067:function(e,t,n){e.exports=n(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1020:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=r(n(7093)),o=n(576);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,a.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n):n}},576:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,c=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,s):e.replace(o,s)).replace(r,c))}},7093:function(e,t,n){var r=n(5937);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var o,i,c=r(e),s="function"==typeof t,l=0,u=c.length;l<u;l++)o=(n=c[l]).property,i=n.value,s?t(o,i,n):i&&(a||(a={}),a[o]=i);return a}},2190:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function o(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(8102),c=n(9907);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e,t){Object.keys(e).forEach(function(n){var a,l,u,f;a=n,l=e[n],u=void 0===t?"":t,f=Array.from(document.querySelectorAll("".concat(u,'[data-react-component="').concat(a,'"]'))).filter(function(e){var t=e;return!t.dataset.componentInitialized&&(t.dataset.componentInitialized=!0,!0)}),Array.from(f).forEach(function(e){return function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t.dataset),a=c.Ay.createRoot(t);(n=function(e){var t=e;return Object.keys(t).forEach(function(e){var n=t[e];if("true"===n)return t[e]=!0,n;if("false"===n)return t[e]=!1,n;if("string"==typeof n&&("{"===n[0]||"["===n[0]))try{var a=JSON.parse(n);"object"===r(a)&&(t[e]=a)}catch(e){return n}return n}),t}(n)).innerHTML=t.innerHTML,n.elementTarget=t,"local"===nbc.env&&console.log("Render react component",e,n,t),a.render(i.default.createElement(e,n),t)}(l,e)})})}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var h=n(9067),v=n.n(h);function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,c=[],s=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw a}}return c}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=n(4371),w=(b.domToReact,b.htmlToDOM,b.attributesToProps,b.Element,b),E=n(1651),_=n.n(E),O=n(834),T=n.n(O);const{nbc:{brand:S="",callLetters:x="",env:k="",identity:N={},dataLayer:{domainName:P="",division:C=""},fullDomain:D="",tokenBypass:A=!1},wp:{apiFetch:j}={}}=window,M="telemundo"===S?"cuenta":"account",I=()=>A&&["local","develop"].includes(k);function R(){var e=new URLSearchParams(window.location.search);return"1"===e.get("disableHeader")&&"1"===e.get("disableFooter")&&"app"===e.get("ref")}const L=["prop1","prop2","prop3","prop4","prop8","prop9","prop10","prop20","prop21","prop22","prop23","prop48","prop52","prop53","prop54","prop55","eVar123","contextData.actionmodule","contextData.actionname"];R()&&L.push("eVar1","eVar80","eVar8","eVar9","eVar10");const{nbc:{brand:F="",callLetters:B="",currentDomain:z,identity:{on:V={}}={},identityActive:U=!1,pageType:$,dataLayer:{division:H="",uri:q="",sectionName:W=""},video:{fwCSIDIdenity:G="",fwNetworkID:J="169843",fwWebSFIDNtl:Y="",fwWebAFIDNtl:K=""}},location:{href:Q}}=window;window.matchMedia("screen and (max-width: 767px)").matches,navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i),/^((?!chrome|android).)*safari/i.test(navigator.userAgent);var Z=n(385),X=({expanded:e=!1,children:t})=>{const[n,r]=(0,i.useState)(e);(0,i.useEffect)(()=>{r(e)},[e]);let a=t;return"string"==typeof t&&(a=w(_().sanitize(t))),(0,Z.Y)("span",Object.assign({className:"truncate__wrap"},{children:(0,Z.Y)("span",Object.assign({className:"truncate__text"},{children:a}))}))},ee=wp.i18n,te=ee.__,ne=ee.sprintf;function re(e){var t=e.item,n=e.failoverImage,r=e.partnerLogo,a=e.isDashboardFeed,o=e.noids,c=void 0===o?[]:o,s=e.updateNoids,l=t.eyebrow.sponsored,u=l?"story-card__meta--sponsored":"",f=t.sponsor,d=f.name,p=f.dart_pixel,m=t||{}
1,y=m.thumbnail,h=void 0===y?"":y,v=m.noid,b=void 0===v?"":v,E=g((0,i.useState)(c.includes(b)),2),O=E[0],S=E[1],x=g((0,i.useState)(!1),2),k=x[0],C=x[1];(0,i.useEffect)(function(){S(c.includes(b))},[c]);var D=t||{},A=D.image,F=(void 0===A?{}:A).ratios,B=(void 0===F?{}:F)["16:9"],z=(void 0===B?{}:B)[850],V=void 0===z?"":z,U=D.excerpt,$=D.title,H=D.type,q=(n||{}).ratios,W=(void 0===q?{}:q)["16:9"],G=(void 0===W?{}:W)[850],J=V||(void 0===G?"":G),Y=function(e){var t=e||{},n=t.caption,r=t.caption,a=(void 0===r?{}:r).rendered,o=void 0===a?"":a,i=t.alt_text,c=void 0===i?"":i;if(c)return c;if(n&&o){var s=(new DOMParser).parseFromString(o,"text/html");return s.body.textContent?s.body.textContent.trim():""}return""}(t.image),K=!t.eyebrow.label&&"noTag";return i.default.createElement("li",{className:"story-card story-card__list-item story-card__list-item--post-river"},i.default.createElement("a",{className:"story-card__thumbnail ".concat(a&&"isDashboardFeed"),href:t.link,"data-trackingtext":w(_().sanitize($))},i.default.createElement("div",{className:"imagewrap1"},i.default.createElement("div",{className:"imagewrap2"},i.default.createElement("img",{loading:"lazy",src:J||h,alt:Y?w(_().sanitize(Y)):" "}),t.icon&&i.default.createElement("span",{className:"format-icon format-icon--".concat(t.icon)}),a&&("video"===H||t.has_lede_video)&&i.default.createElement("span",{className:"dashboard-video-icon"}),a&&"video"===H&&i.default.createElement(i.default.Fragment,null,i.default.createElement("span",{className:"dashboard-video-icon"}),i.default.createElement("span",{className:"dashboard-video-length"},t.video_duration)))),"CNBC"===r&&i.default.createElement("div",{className:"cnbc_logo"},i.default.createElement("img",{src:"https://fm.cnbc.com/applications/cnbc.com/resources/styles/skin/cnbc_white_shadow_ots.png",alt:"CNBC"}))),i.default.createElement("div",{className:"story-card__text ".concat(a&&"isDashboardFeed")},i.default.createElement("div",{className:"story-card__meta ".concat(a&&"isDashboardFeed"," ").concat(K&&"noTag"," ").concat(u)},t.eyebrow.label&&i.default.createElement("span",{className:"story-card__meta-tag ".concat(a&&"isDashboardFeed")},a&&l?i.default.createElement("span",null,w(_().sanitize(t.eyebrow.label))):i.default.createElement("a",{className:"story-card__meta-tag-link",href:w(_().sanitize(t.eyebrow.link))},w(_().sanitize(t.eyebrow.label)))),a&&i.default.createElement(i.default.Fragment,null,!l&&i.default.createElement("span",{className:"story-card__meta-time ".concat(a&&"isDashboardFeed")},w(_().sanitize(t.publish_human))),i.default.createElement("button",{className:"story-card__meta identity-profile__is".concat(O?"Saved":"Unsaved"),disabled:k,onClick:function(){C(!0),((e,t,n,r)=>{var a,o,i,c;a=void 0,o=void 0,c=function*(){const a=t?"unbookmark":"bookmark",{token:o}=N,i=I()?"test_user":N.getUserDetails()._id;yield j({path:`nbc/unified/${a}`,method:"post",headers:{"x-auth-token":I()?"BYPASS_TOKEN":o},data:{customerId:i,noid:e}}).then(a=>{const o=T().get(i);o||T().set(i,[e]),t?T().set(i,[...o.filter(t=>t!==e)]):o.includes(e)||T().set(i,[e,...o]),r&&r(T().get(i)),n&&n(a)}).catch(()=>{N.validateSession().then(e=>{e||((e=null)=>{const t=e?{saveBookmark:e}:{};N.launch({referringPage:"nbc-web-sdk-sample",registrationReferrer:"None",defaultPage:"createProfile",redirectUrl:`https://${P}/${M}/`,brandData:btoa(JSON.stringify(t))})})()})})},new((i=void 0)||(i=Promise))(function(e,t){function n(e){try{s(c.next(e))}catch(e){t(e)}}function r(e){try{s(c.throw(e))}catch(e){t(e)}}function s(t){var a;t.done?e(t.value):(a=t.value,a instanceof i?a:new i(function(e){e(a)})).then(n,r)}s((c=c.apply(a,o||[])).next())})})(b,O,function(e){S(e&&!O),C(!1)},s),((e,t,n)=>{const{nbc:{dataLayer:r={},siteKey:a=""}={}}=window,{callLetters:o="",contextData:i={},pageName:c="",section:s="",template:l="",division:u=""}=r,{reportSuiteId:f=""}=i;if(console.log("unifiedTrackClick triggered: ",e,t),void 0===window.s)return;const{linkTrackVars:d,linkTrackEvents:p}=window.s;let m="unknown";var y;y=e=>{["unauthenticated","authenticated"].includes(e)&&(m=e)},N.on("authenticationState",e=>{y(e)}),window.s.linkTrackVars=L.join(","),window.s.linkTrackEvents="",R()&&(window.s.prop48="app",window.s.prop1=s,window.s.prop2=l,window.s.prop8=u,window.s.prop9=a,window.s.prop10=o,window.s.prop20=f,window.s.eVar1=window.s.prop1,window.s.eVar80=window.s.prop2,window.s.eVar8=window.s.prop8,window.s.eVar9=window.s.prop9,window.s.eVar10=window.s.prop10);const h={prop21:n,prop52:c,prop53:e,prop54:`${c} | ${e}`,prop55:t,eVar123:m,contextData:{actionmodule:t,actionname:e}};window.s.tl(void 0,"o",t,h),window.s.linkTrackVars=d,window.s.linkTrackEvents=p})("".concat("video"===H?"video - ":"article - ").concat((e=>{if(!e.includes(":"))return e;const t=e.split(":");let n=t[1].toString();for(;3>n.length;)n=`0${n}`;return t[1]=n,t.join("")})(b)),"item ".concat(O?"unsave":"save"," bar"))},type:"button"},"BOOKMARK")),w(_().sanitize(p)),!l&&i.default.createElement("span",{className:"story-card__meta-time"},w(_().sanitize(t.date_string)))),i.default.createElement("h3",{className:"story-card__title ".concat(a&&"isDashboardFeed")},i.default.createElement("a",{className:"story-card__title-link ".concat(a&&"isDashboardFeed"),href:w(_().sanitize(t.link))},w(_().sanitize($)))),t.summary&&i.default.createElement("div",{className:"story-card__excerpt"},i.default.createElement(X,null,_().sanitize(t.summary))),a&&i.default.createElement("div",{className:"story-card__excerpt ".concat(a&&"isDashboardFeed")},i.default.createElement(X,null,_().sanitize(U))),!l&&!a&&i.default.createElement("div",{className:"share-buttons","data-component":"sharingBar"},i.default.createElement("a",{href:w(_().sanitize(t.share_links.facebook)),"data-service":"facebook",target:"_blank",rel:"noreferrer","aria-label":"Share on Facebook"},i.default.createElement("span",{className:"icon icon-facebook-f"})),i.default.createElement("a",{href:w(_().sanitize(t.share_links.email)),"data-service":"email",target:"_blank",rel:"noreferrer","aria-label":"Share with Email"},i.default.createElement("span",{className:"icon icon-envelope"}))),l&&i.default.createElement("div",{className:"story_card__presented_by"},ne("".concat(te("Promoted By","nbc")," %s"),d))))}re.defaultProps={isDashboardFeed:!1,noids:[],updateNoids:function(){}},re.propTypes={item:v().shape({}).isRequired,failoverImage:v().shape({}).isRequired,partnerLogo:v().string.isRequired,isDashboardFeed:v().bool,noids:v().array,updateNoids:v().func};var ae=re;function oe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oe=function(){return!!e})()}var ie,ce=0,se=function(e){function t(e){var n,a,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,i=[e],o=m(o=t),(n=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(a,oe()?Reflect.construct(o,i||[],m(a).constructor):o.apply(a,i))).loadNextPage=n.loadNextPage.bind(n),n.state={articles:[],currentPage:parseInt(e.currentPage,10),finished:!1,loading:!1,totalPages:parseInt(e.totalPages,10),failoverImage:[],partnerLogo:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),n=t,a=[{key:"componentDidUpdate",value:function(){this.state.loading||window.scroll(0,ce)}},{key:"getNextPageUrl",value:function(){var e=this.props.baseUrl,t=this.state.currentPage;return wp.url.addQueryArgs(e,{page:t+1})}},{key:"loadNextPage",value:function(e){var t=this,n=this.state,r=n.articles,a=n.currentPage,o=n.finished,i=n.loading;o||i||(ce=window.pageYOffset,e.preventDefault(),this.setState({loading:!0}),fetch(this.getNextPageUrl()).then(function(e){return e.json()}).then(function(e){var n=e.template_items.items||[],o=a+1;t.setState({articles:[].concat(d(r),d(n)),currentPage:o,failoverImage:e.station_assets.failover_image||[],partnerLogo:e.station_assets.partner_branding.branding_image_alt||"",finished:0===n.length,loading:!1})}),window.COMSCORE&&COMSCORE.beacon({c1:"2",c2:"6035083"}))}},{key:"render",value:function(){var e=this,t=this.props.buttonText,n=this.state,r=n.articles,a=n.finished,o=n.loading,c=n.currentPage,s=n.totalPages,l=n.partnerLogo,u=n.failoverImage,f=o?" loading":"",d=void 0!==nbc.dataLayer.link?"".concat(nbc.dataLayer.link,"?page=").concat(c+1):"",p=function(){return i.default.createElement("ul",{className:"content-list"},r.map(function(e){return i.default.createElement(ae,{item:e,key:e.link,partnerLogo:l,failoverImage:u})}))},m=function(){return i.default.createElement("footer",{className:"content-list-footer"},i.default.createElement("a",{href:d,className:"content-list-button button".concat(f),disabled:o,onClick:function(t){e.loadNextPage(t)},rel:"next"},i.default.createElement("span",{className:"button-text more-news__show-more-text"},t)))};return s&&c>=s?p():r.length&&!a?i.default.createElement(i.Fragment,null,p(),m()):r.length?p():a?null:m()}}],a&&p(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a}(i.Component);o(se,"propTypes",{baseUrl:v().string.isRequired,buttonText:v().string.isRequired,totalPages:v().string.isRequired,currentPage:v().number.isRequired}),ie=function(){l({LoadMore:se})},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",ie):ie();var le=document.querySelector(".section-menu__item-link.active");le&&le.addEventListener("click",function(e){return 1280>document.documentElement.clientWidth&&document.getElementsByClassName("section-menu")[0].classList.toggle("expanded"),e.preventDefault(),!1})}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,a,o){if(!n){var i=1/0;for(u=0;
1u<e.length;u++){n=e[u][0],a=e[u][1],o=e[u][2];for(var c=!0,s=0;s<n.length;s++)(!1&o||i>=o)&&Object.keys(r.O).every(function(e){return r.O[e](n[s])})?n.splice(s--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var l=a();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,a,o]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={3503:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var a,o,i=n[0],c=n[1],s=n[2],l=0;if(i.some(function(t){return 0!==e[t]})){for(a in c)r.o(c,a)&&(r.m[a]=c[a]);if(s)var u=s(r)}for(t&&t(n);l<i.length;l++)o=i[l],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(u)},n=self.webpackChunknbc_station=self.webpackChunknbc_station||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var a=r.O(void 0,[2076],function(){return r(2190)});a=r.O(a)}(); 2//# sourceMappingURL=archive.ca2058f72f71a169a4a3.bundle.min.js.map
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.