':"";if(r){var a=t.promos.showYahooLogo?"":"yns-no-logo";r=r.replace("{notifOnboardBtnLabel}",t.promos.notifOnboardBtnLabel).replace("{notifOnboardMsg}",t.promos.notifOnboardMsg).replace("{subscriptionTopic}",t.promos.subscriptionTopic).replace("{noLogoClass}",a).replace("{promoLogo}",t.promos.promoLogo)}var s=n.newCount>t.panel.maxCount?n.newCount:"",c=t.panel.notificationCenterPath,l=c?"":R,u=t.panel.headerMsg?"":" "+R,d=c?D:"",p=void 0;n.count?p=n.markup:p='{emptyPanelMsg}'.replace("{emptyPanelMsg}",t.panel.emptyPanelMsg);return e=e.replace("{notifMarkup}",p).replace("{promoMarkup}",r).replace("{hideClass}",l).replace("{notifCenterLink}",c).replace("{paddingClass}",d).replace("{headerMsg}",t.panel.headerMsg).replace("{hideHeaderClass}",u).replace(/{notificationCenterNavMsg}/g,t.panel.notificationCenterNavMsg).replace(/{newCount}/g,s)}},{key:"render",value:function(e,n){var t=this;if(t._panelNode){var o=void 0,i=t._panelNode,r=void 0,a=void 0;switch(e){case"expanded_panel":o='{promoMarkup}{notifMarkup}',a=t._store.getNotifications(),r=t._generatePanelMarkup(o,a),i.innerHTML=r;break;case"error_panel":r=(o='{errorMsg}').replace("{errorMsg}",t._config.panel.errorMsg),i.innerHTML=r}n&&n()}else n&&n(new Error("No panel parent"))}},{key:"createPanelParentNode",value:function(e){e&&(e.innerHTML='',this._panelNode=document.getElementById(P))}},{key:"updateBadgeNode",value:function(e){if(e){var n=this._store.getNotifications().newCount,t=this._config.badge.maxCount;if(n){var o=n>t?t+"+":n;e.innerHTML=o}else e.innerHTML=""}}},{key:"addStyles",value:function(e){if(e&&"undefined"!=typeof window){var n=document.getElementById(this._config.panel.styleTagId);n||((n=document.createElement("style")).type="text/css",n.id=this._config.panel.styleTagId,n.innerText=e,document.head.appendChild(n))}}}]),e}(),U=function(){function e(n,t,o){L(this,e);var i=this;i._store=t,i._view=o,i._config=n;var r=i._config.panel;i._panelParentNode=document.querySelector(r.parentSelector),i._badgeNode=i._config.badge.selector&&document.querySelector(i._config.badge.selector),i._indicatorNode=r.indicatorSelector&&document.querySelector(r.indicatorSelector)}return k(e,[{key:"createPanelParentNode",value:function(){this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(P)}},{key:"refreshPanelNode",value:function(e,n){var t=this;C(t._notifPanelNode,q),t._store.fetchNotifications(e,(function(e,o){var i=window.wafer&&window.wafer.base;i&&i.destroy(t._notifPanelNode),e?t._notifPanelNode.innerHTML||(t._view.render("error_panel"),C(t._notifPanelNode,q)):(t._view.render("expanded_panel"),t._view.updateBadgeNode(t._badgeNode),t._showBadge(),t._showIndicator(),t._view.addStyles(o.css)),M(t._notifPanelNode,q),i&&i.sync(t._notifPanelNode.parentNode),n&&n(e,o)}))}},{key:"resetBadge",value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),C(e._badgeNode,e._config.badge.hideClass)}},{key:"_showIndicator",value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?C(this._indicatorNode,this._config.panel.indicatorClass):M(this._indicatorNode,this._config.panel.indicatorClass))}},{key:"_showBadge",value:function(){var e=this;e._store.getNotifications().newCount?M(e._badgeNode,e._config.badge.hideClass):C(e._badgeNode,e._config.badge.hideClass)}}]),e}(),Y={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0,bypassEligibleClassCheck:!1,notifOnboardBtnLabel:"Notify Me",notifOnboardMsg:"Get alerts for breaking news and top stories",promoLogo:"https://s.yimg.com/cv/apiv2/ae/news/circle_bell.png",showYahooLogo:!0,subscriptionTopic:"gondor_homerun_news"},badge:{hideClass:"",maxCount:5,selector:""},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"",headerMsg:"Notifications",imageTag:"img:40x40|2|80",indicatorClass:"yns-indicator",indicatorSelector:null,maxCount:6,notificationCenterNavMsg:"View all {newCount} notifications",notificationCenterPath:"",notificationTypes:"",parentSelector:null,styleTagId:"notificationStyles",theme:"default"},service:{attemptCount:1,attemptDelay:2,url:null,resetUrl:null,isRMP:!1,responseType:"json",timeout:1500}},z={NotificationClient:function(){function e(n){L(this,e);var t=this;t.config=t._parseConfig(n),t._validateRequiredConfigs()&&(t._request=new E(t.config),t._store=new O(t.config,t._request),t._view=new H(t.config,t._store),t._panelController=new U(t.config,t._store,t._view),t._panelController.createPanelParentNode(),t._assignHelperMethods())}return k(e,[{key:"_parseConfig",value:function(e){var n={};for(var t in N(n,Y),n)if(n.hasOwnProperty(t)){var o=n[t],i=e[t];"object"===(void 0===o?"undefined":_(o))?N(o,i):n[t]=e[t]}return n}},{key:"_validateRequiredConfigs",value:function(){var e=this.config;return!(!e.panel.parentSelector||!e.service.url)}},{key:"_assignHelperMethods",value:function(){var e=this;e.helpers={refreshPanelNode:e._panelController.refreshPanelNode.bind(e._panelController),resetBadge:e._panelController.resetBadge.bind(e._panelController),resetIndicator:function(){M(e._panelController._indicatorNode,e.config.panel.indicatorClass)}}}}]),e}()},j="lnct",F=function(){function e(){var e,n;this.personalized=!1,this.ybarElem=document.getElementById("ybar"),this.partnerClasses=null===(n=null===(e=this.ybarElem)||void 0===e?void 0:e.className)||void 0===n?void 0:n.match(/ybar-variant-([a-z]*)/),this.client=new z.NotificationClient(this.getConfig())}return e.prototype.refreshPanel=function(){var e,n,t,o=this,i={lastUpdate:this.getTimeStamp()||this.setTimeStamp(),loadInHpViewer:!0,includePersonalized:this.personalized},r=(null===(e=window.YAHOO)||void 0===e?void 0:e.context)||(null===(n=window.Af)||void 0===n?void 0:n.context)||{};return r.region&&r.lang&&(i.lang=r.lang,i.region=r.region),(null===(t=this.partnerClasses)||void 0===t?void 0:t.length)&&(i.partner=this.partnerClasses[1]),new Promise((function(e,n){o.client.helpers.refreshPanelNode({matrixParams:i},(function(t,o){t&&(c("Notification refresh error:",t),n(t)),e(o)}))}))},e.prototype.resetBadge=function(){this.client.helpers.resetBadge(),this.setTimeStamp()},e.prototype.getConfig=function(){var e,n,t,o,i,r=document.getElementById("notification-container"),a=null===(e=null==r?void 0:r.dataset)||void 0===e?void 0:e.config;if(I&&!a)return I;var s={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0},badge:{selector:"#notif-badge",hideClass:"ybar-notification-hidden"},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"Please check back later.",headerMsg:"Notifications",maxCount:5,parentSelector:"#ybarNotificationBody",notificationTypes:"breakingNews"},service:{url:"/tdv2_fp/api/resource/NotificationHistory.getHistory",isRMP:!1}},l={};if(a){"att"===(null===(n=this.partnerClasses)||void 0===n?void 0:n[1])&&(s.promos.showYahooLogo=!1);try{var u=JSON.parse(a);l=h({},u),this.personalized=1===u.personalize}catch(e){c("Notifications config parsing error",e)}r&&delete r.dataset.config}return I=this.mergeConfigs(s,l),(null===(t=this.partnerClasses)||void 0===t?void 0:t.length)&&"yahoo"!==(null===(o=this.partnerClasses)||void 0===o?void 0:o[1])&&(null===(i=I.promos)||void 0===i?void 0:i.subscriptionTopic)&&delete I.promos.subscriptionTopic,I},e.prototype.mergeConfigs=function(e,n){var t=h({},e);for(var o in e)t[o]=h(h({},e[o]),n[o]);return t},e.prototype.getTimeStamp=function(){var e;return null===(e=window.localStorage)||void 0===e?void 0:e.getItem(j)},e.prototype.setTimeStamp=function(){var e,n=""+Math.floor((new Date).getTime()/1e3);return null===(e=window.localStorage)||void 0===e||e.setItem(j,n),n},e}(),G=new F,W=function(){return G},J="",V=[],K=function(){},X=function(){window.removeEventListener("beforeunload",X),""!==J&&c("Rapid not found on page",new Error(J))},$=null,Z=function(){return null===$&&($=document.getElementById("ybar")),$},Q=function(){var e=0,n=window.YAHOO;if(B)return B;if(n)if(n.i13n)if(n.i13n.__RAPID_INSTANCES__)if(n.i13n.__RAPID_INSTANCES__.length0)for(var t=0;t0){if(B.addModules(i,!1,o),V.length>0)for(e=0;e40959)&&(i19903)&&(i55215))return!1}return!0},fe={navBeaconFired:!1},me=["ready","navigation"],ve=function(){function e(e){var n=this;this.triggerEvent=a,this.addEventListener=s,this.logError=c,this.logPerformance=l,this.getConfig=u,this.getPerformanceMetrics=d,this.rapidRefresh=ne,this.state=h({},fe),this.modules=e,this.userEmail="",window.YBAR&&(me.forEach((function(e){var t="on".concat(e),o=window.YBAR[t];o&&(n[t]=o)})),window.YBAR.wssid&&(this.wssid=window.YBAR.wssid),window.YBAR.appid&&(this.appid=window.YBAR.appid)),me.forEach((function(e){var t="on".concat(e);s(e,(function(){for(var o,i=[],r=0;r0,o=_.scrollTope.pageOffset,r=_.scrollTop>k+y,a=_.scrollTop a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==n&&null!==t&&(new Rn).fetchCount().then((function(n){o&&n>0&&(o.textContent="("+(n>99?"99+":n)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},Pt=!1,Rt=-1,Dt=function(e,n,t){var o,i,r,a=-1,s=0;if(e.ybarNav&&e.navList){var c=window.getComputedStyle(e.ybarNav),l=parseInt(c.width,10)-parseInt(c.paddingLeft,10)-parseInt(c.paddingRight,10),u=61,d=e.navigationPlacement();if(d)u+=d.getBoundingClientRect().width;if(xt)u+=xt.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),h=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&Rt10?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass))}},Ht=function(e,n){var t=function(e,t){var o;e.classList.contains(n.moreMenuNavItemClass)&&(null===(o=n.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",t))},o=function(){n.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",l))},i=function(e){var o=e.delegateTarget;o&&o.classList.contains(n.dropdownWrapperClass)&&(o.classList.contains(n.dropdownOpenClass)||(n.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",l)),o.classList.add(n.dropdownOpenClass),t(o,"true")))},r=function(e){var i=e.delegateTarget;if(null==i?void 0:i.classList.contains(n.navigationDropdownListClass)){var r=i.parentElement;r&&!r.contains(e.relatedTarget)&&r.classList.contains(n.dropdownWrapperClass)&&(o(),r.classList.remove(n.dropdownOpenClass),t(r,"false"))}else if(null==i?void 0:i.classList.contains(n.dropdownOpenClass)){if(n.isTablet&&e instanceof FocusEvent)return;var a=e.target;xt&&(!xt||xt.contains(a)&&"focusout"!==e.type)||(o(),i.classList.remove(n.dropdownOpenClass),t(i,"false"))}},a=je(".".concat(n.dropdownWrapperClass),"focusin",i),s=je(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),"focusout",r),c=document.getElementById("ybar-navigation"),l=function(e){var t=null==e?void 0:e.target;n.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(n.dropdownOpenClass)||e.target.closest(".".concat(n.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(t.tagName)&&(null==c||c.querySelectorAll(".".concat(n.dropdownOpenClass)).forEach((function(e){e.classList.remove(n.dropdownOpenClass)})),o())};e.addEventListener("nav:closeOverflowMenu",(function(){l()}));var u=je(".".concat(n.dropdownWrapperClass),"touchstart",(function(e){if(n.isTablet){var t=e.delegateTarget;t&&t.classList.contains(n.dropdownOpenClass)?r(e):(l(e),i(e))}}));e.onDestroy((function(){var e;u.destroy(),a.destroy(),s.destroy(),y([],v(null===(e=n.ybarNav)||void 0===e?void 0:e.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(n.dropdownOpenClass);var t=document.activeElement;(function(e,n){var t=!1;if(!e||!n)return t;if("function"==typeof e.contains)t=e.contains(n);else for(var o=n;o;){if(o===e){t=!0;break}o=o.parentElement}return t})(n.ybarNav,t)&&setTimeout((function(){null==t||t.blur()}),1)}))}))},Ut=function(e,n,t,o){for(var i=n||window.location.pathname,r=t||window.location.hostname,a=(o||{}).setParentFocus,s=void 0!==a&&a,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d li"),dropdownClass:n.dropdownWrapperClass,enableMoreMenu:i,moreMenuNavElm:n.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,n){var t,o;y([],v(null===(t=n.ybarNav)||void 0===t?void 0:t.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){return e.classList.remove(n.dropdownOpenClass)}));var i=e.getConfig();xt=(null===(o=i.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===i.property?kt=-12:(kt="finance"!==i.property&&"sports"!==i.property&&n.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==i.locale&&"zh-Hant-TW"!==i.locale||(kt=-20));var r=n.isTablet?"touchstart":"mouseover",a=je(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),r,(function(t){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,r=t.delegateTarget;if(r&&-1!=r.className.indexOf(n.dropdownWrapperClass)&&(r=r.querySelector(".".concat(n.navigationDropdownListClass))),r){r.style.removeProperty("left");var a=r.getBoundingClientRect(),s=Math.trunc(a.right),c=parseInt(window.getComputedStyle(r).marginLeft,10)+o-s;if(s>o)return"sports"!==i.property?void(r.style.marginLeft=c+"px"):void(r.style.right="0px");if(parseInt(r.style.marginLeft)0?r.style.removeProperty("margin-left"):r.style.marginLeft=c+"px":(r.style.removeProperty("margin-left"),r.style.marginLeft=kt+"px"),n.isTablet){var l=r.previousElementSibling;if(xt&&xt.contains(r));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);r.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){a.destroy()}))}(e,n),qt(e),e.addElementListener(document,"DOMContentLoaded",(function(){qt(e)})),Ht(e,n);var a=e.getConfig().bucketConfig,s=void 0===a?{}:a,c=s.enableDynamicNavfocus,l=void 0!==c&&c,u=s.enableFuzzyMatching;if(l&&(Pt=void 0!==u&&u,Ut(n)),e.addEventListener("nav:setFocus",(function(e){var t=e.detail,o=void 0===t?{}:t,i=o.hostname,r=void 0===i?window.location.hostname:i,a=o.pathname,s=void 0===a?window.location.pathname:a,c=o.options;Ut(n,s,r,void 0===c?{}:c)})),i){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=je("#ybar-nav-more-menu ul a","click",(function(n){e.triggerEvent("navigation",{event:n})}));e.addEventListener("nav:resize",(function(){Dt(n,d,r)})),Dt(n,d,r);var h=e.getConfig();if("complete"===document.readyState)Yt(e,n,d,r);else{var f="load";("news"===h.property&&("zh-Hant-TW"===h.locale||"zh-Hant-HK"===h.locale)||"finance"===h.property&&"zh-Hant-TW"===h.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){Yt(e,n,d,r)}))}e.addElementListener(window,"resize",(function(){Dt(n,d,r)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}Ft(e,n)},jt=function(e,n){var t=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return n.isFuji2&&t},Ft=function(e,n){if(n.isNavHidden){var t=!1;e.addElementListener(document,"DOMContentLoaded",(function(t){n.isNavHidden()&&e.triggerEvent("l2:hide",{event:t})})),e.addElementListener(window,"resize",(function(o){!t&&n.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),t=n.isNavHidden()}))}},Gt="#ybar-nav-more-menu";ge("ybar-mod-navigation",(function(e){var n,t=e.getConfig(),o={dropdownWrapperClass:St,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===t.device||matchMedia("(hover: none)").matches,longListClass:At,moreMenuDropdown:document.querySelector("".concat(Gt," ul")),moreMenuNavItem:document.querySelector(Gt),moreMenuNavLinksSelector:"".concat(Gt," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(Gt," > button")),moreMenuNavItemClass:Ot,navigationDropdownItemClass:Mt,navigationDropdownListClass:Nt,navItems:document.querySelectorAll("ul.".concat(Tt," li.").concat(Bt)),topLevelNavLinks:document.querySelectorAll("li.".concat(Bt," > a")),navLinks:document.querySelectorAll(".ybar-mod-navigation a"),navList:document.querySelector(".ybar-mod-navigation ul"),shiftMoreMenuEnabled:document.querySelector(".ybar-shift-more-menu"),ybarNav:document.getElementById("ybar-navigation"),ybarNavigationItemClass:Bt,dropdownOpenClass:Et,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var n=window.getComputedStyle(e),o=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10);return"sports"===t.property?parseInt(n.marginRight):"finance"===t.property&&"crunch"===t.ytheme?(o-=1.8)>5?o:5:"crunch"===t.ytheme?o:0},navigationPlacement:function(){return n||(n=document.getElementById("ybar-nav-placement")),n},isNavHidden:function(){var e=!1;return"finance"===t.property&&"crunch"===t.ytheme&&document.documentElement.clientWidth=5||t.initialized?clearInterval(r):(void 0!==t.isNotificationsSupported()&&t.init(),i++)}),100)}return e.prototype.show=function(e){var n;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(Zt),null===(n=this.a11yMenu)||void 0===n||n.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(Qt),document.body.classList.remove(Zt),null===(e=this.a11yMenu)||void 0===e||e.setAttribute("aria-expanded","false"))},Object.defineProperty(e.prototype,"lastSeen",{get:function(){return this.state.lastSeen},set:function(e){this.state.lastSeen=e,this.setLocalStorage()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manuallyClosed",{get:function(){return this.state.manuallyClosed},set:function(e){this.state.manuallyClosed=!!e,this.setLocalStorage()},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.isNotificationsSupported()&&this.isNotificationPermissionDefault()&&(this.historyEnabled||document.body.classList.add(Qt),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:$t)||(document.body.classList.add(Qt),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(eo)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var n=new Date(this.lastSeen),t=new Date;return n.getTime()+e>t.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(Xt,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,n,t=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(Xt);if(null===t)return null;try{return JSON.parse(t)}catch(e){return null===(n=window.localStorage)||void 0===n||n.removeItem(Xt),null}},e}(),oo=-1,io={0:0,1:1,9:9,99:99,150:150},ro=function(e,n){var t,o=n.isUH3,i=n.notifMenu,r=n.notifMenuOpener,a=n.notifDropdown,s=n.notifBadge,c=n.notifContainer,l=n.notifLabel;n.tooltipContainer&&(t=new to(e,n.tooltipContainer));var u=W(),d=function(){i&&(i.checked=!1),null==a||a.classList.remove("ybarMenuOpen")},p=function(){var n;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(Wt))||(u.resetBadge(),s&&(o?null===(n=s.parentElement)||void 0===n||n.classList.remove(Jt):s.style.display="none"))},h=function(e){var n,t;0===oo&&(null===(n=null==e?void 0:e.css)||void 0===n?void 0:n.length)&&e.css.length>0&&(oo++,function(e){for(var n=function(e){var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,document.getElementsByTagName("head")[0].appendChild(n)},t=0;t0&&s)if(o){var r,a=(r=e.newCount)>99;s.textContent=a?"99+":r+"",null===(t=s.parentElement)||void 0===t||t.classList.add(Jt)}else s.style.display="block"},f=function(){u.refreshPanel().then(h).then(ne).catch((function(){}))};e.addEventListener("close-all-menus",(function(){xe(c)||d()})),c&&(f(),setInterval((function(){f()}),3e5),o?l&&l.addEventListener("mouseenter",(function(){p(),null==t||t.show()})):c.addEventListener("mouseenter",(function(){p(),null==t||t.show()})),c.addEventListener("mouseleave",(function(){d(),null==t||t.hide()}))),e.addElementListener(i,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),r&&Se(e,r,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(a,"focusin",(function(){i&&(i.checked=!0),null==a||a.classList.add("ybarMenuOpen")})),e.addElementListener(a,"focusout",d),e.addElementListener(n.tooltipContainer,"focusin",(function(){null==t||t.show()})),e.addElementListener(n.tooltipContainer,"focusout",(function(){null==t||t.hide()}));var m=e.getConfig().device,v=document.getElementById("ybar");v&&v.classList.contains("ybar-ytheme-crunch")&&(oo=0);var y=new RegExp("[?&]notifications=1(&|#|$)");"desktop"===m&&i&&y.test(window.location.search)&&(i.checked=!0)};ge("ybar-mod-notification",(function(e){var n={isUH3:"crunch"===e.getConfig().ytheme,notifContainer:document.getElementById("notification-container"),notifBadge:document.getElementById("notif-badge"),notifMenu:document.getElementById("ybarNotificationMenu"),notifMenuOpener:document.querySelector("#ybarNotificationMenu + label"),notifDropdown:document.getElementById("notifDropdownContainer"),tooltipContainer:document.querySelector(".".concat(Vt)),notifLabel:document.querySelector(".".concat(Kt))};n.notifDropdown&&ro(e,n)}))}()}};]]>Unlock stock picks and a broker-level newsfeed that powers Wall Street. Upgrade NowIn This Article:US stocks closed mixed on Tuesday as President Donald Trump's revived tariff threats and potential toughening of China curbs weighed on market optimism while new data signaled fears over future economic growth.Consumer confidence plummeted in February, notching its biggest monthly decline in nearly four years as 12-month inflation expectations jumped and recession fears escalated.The tech-heavy Nasdaq Composite (^IXIC) finished the volatile trading day down around 1.3%, dragged down by shares of Magnificent Seven players like Nvidia (NVDA) and Tesla (TSLA). The benchmark S&P 500 (^GSPC) dropped roughly 0.4%, while the Dow Jones Industrial Average (^DJI) reversed earlier session declines to end the day in the green, up about 0.4%.Some of the biggest market moves also came from the cryptocurrency space, where the price of bitcoin (BTC-USD) tumbled below $90,000 for the first time since November.Bitcoin touched a low closer to $86,000 in the early morning hours, its lowest level since early November. Prices stabilized to just around $88,000 at the market close.Meanwhile, the price of ether (ETH-USD), the world's second-largest cryptocurrency, fell around 6% to just over $2,500, bouncing off of its session lows. Crypto-related stocks, including Coinbase (COIN) and Strategy (MSTR), were also under pressure throughout the trading day.Trump's signal that his trade overhaul isn't over has unsettled markets wondering about the impact on growth prospects. Investors are parsing his brief comment that tariffs on Mexico and Canada will go forward next week.The benchmark 10-year Treasury yield (^TNX) fell to its lowest level this year, around 4.3%, amid growing belief that tariffs will weaken the US economy. That prompted traders to bump up bets on interest rate cuts.At the same time, his administration is said to be pursuing tougher chip curbs on China, after Trump issued a directive to limit investments between the US and the top trading partner. AI chip giant Nvidia's (NVDA) stock was in focus with its highly anticipated earnings due Wednesday. The company is already facing headwinds from tariffs and export controls.Elsewhere, Tesla stock (TSLA) fell more than 8% Tuesday after the electric vehicle maker reported sales in Europe dropped 45% in January.LIVE COVERAGE IS OVER 18 updatesTue, February 25, 2025 at 9:00 PM UTCAlexandra CanalNasdaq, S&P 500 fall as Dow recoversUS stocks closed mixed on Tuesday, with the blue-chip Dow the only major index to finish the day's volatile session in the green.The tech-heavy Nasdaq Composite (^IXIC) led broader market losses, down around 1.3%, while the benchmark S&P 500 (^GSPC) dropped roughly 0.4%. The Dow Jones Industrial Average (^DJI) reversed earlier declines to end the day in the green, up about 0.4%.Meanwhile, bitcoin bounced off of its session lows to hover around $88,000 a coin.Tue, February 25, 2025 at 8:04 PM UTCAlexandra CanalFed's Barkin prefers to 'wait and see' on ratesYahoo Finance's Jennifer Schonberger reports:Read more here.Tue, February 25, 2025 at 7:00 PM UTCInes FerréBitcoin pullback is 'another chance' to buy, says BernsteinBitcoin's (BTC-USD) tumble offers "another chance to enter" the crypto market, according to Bernstein analysts."We don't believe, anything fundamental has broken in our structural view of the current Bitcoin cycle," wrote Bernstein's Gautam Chhugani and his team on Tuesday after the token broke below $90,000."Long term, our mental model is simply a burgeoning 'digital gold' asset class, driven by accelerating institutional & sovereign demand," the analyst said.Bernstein forecasts bitcoin will reach a high closer to $200,000 over the next 12 months.“We view the current correction, as another opportunity to participate in this cycle,” Chhugani.As for crypto's sharp decline, the analysts said the bitcoin market "is following the broader equity risk sentiment driven by macro concerns around persistent higher rates, with fears of government turning deflationary with the DOGE program."Tue, February 25, 2025 at 6:31 PM UTCAlexandra CanalCrude oil on track for lowest close since DecemberOil prices slid on Tuesday as traders weighed a muddied demand outlook on global growth concerns.WTI crude oil fell over 2.5% to trade near $69 a barrel, its lowest level since Dec. 23 with the commodity on track for its lowest close since Dec. 10.Brent, the international benchmark, also fell around 2.5% to trade below $73 a barrel.The latest price action comes after the US imposed a fresh round of sanctions on Iran, the third-largest producer in the Organization of the Petroleum Exporting Countries (OPEC).Tue, February 25, 2025 at 5:55 PM UTCAlexandra CanalCrypto stocks sink as bitcoin tumblesYahoo Finance's Laura Bratton reports:Read more here. Tue, February 25, 2025 at 5:39 PM UTCGrace O'DonnellTesla stock falls as EV maker's Europe sales tank 45%Tesla stock (TSLA) fell more than 8% Tuesday afternoon after the electric vehicle maker reported sales in Europe dropped 45% in January. Yahoo Finance's Pras Subramanian reports:Like many other "Magnificent Seven" names, shares of Tesla have lagged the benchmark S&P 500 (^GSPC) so far this year. Tesla stock has declined roughly 25% year to date, pulling Tesla's market cap below $1 trillion.Read more here.Tue, February 25, 2025 at 5:08 PM UTCInes FerréHims & Hers stock plunges 27% as investors fear uncertainty without compound weight-loss drugsHims & Hers (HIMS) stock plunged 27% on Tuesday after the telehealth highflier posted better-than-expected fourth quarter results but confirmed it may soon stop selling some of its compound drugs for weight loss after the Food and Drug Administration (FDA) said a shortage of GLP-1 drugs has been resolved.Investors sold off the stock over the potential loss in revenue from the blockbuster GLP-1 segment, which targets diabetes and weight loss.On Monday, Hims & Hers CFO Yemi Okupe downplayed those concerns, saying the weight-loss business makes up only part of the company's revenue."While we're excited to have 200,000 subscribers join our weight-loss specialty over the course of the last year, it's also important to not lose sight of the other 2 million subscribers that have signed up for non-weight-related businesses," Okupe told Yahoo Finance on Monday.Okupe went on to highlight that the company reported $1.5 billion in revenue for 2024, with $1.2 billion from sources other than GLP-1s."We do fully intend to abide by all regulatory requirements and, when necessary to do so, will remove all commercially available dosages of semaglutide from the platform," he said, while still expressing confidence in the company's weight-loss offering.Read more here. Tue, February 25, 2025 at 4:36 PM UTCAlexandra CanalBig Tech sell-off escalatesIt was a sea of red on Wall Street as the tech-heavy Nasdaq dropped around 2% following weak consumer confidence data and more uneasiness around Trump's tariff plans.The megacap "Magnificent Seven" players extended the declines from the previous session, with Meta (META) dropping over 3%, followed by Amazon (AMZN), Nvidia (NVDA), Alphabet (GOOGL, GOOG), and Microsoft (MSFT).Strategy (MSTR) was the worst-performing stock in the index, falling around 11% as bitcoin prices dropped below $90,000 for the first time since November.Tue, February 25, 2025 at 3:14 PM UTCAlexandra CanalConsumer confidence declines sharply as 12-month inflation expectations surgeConsumer confidence declined sharply in February as more Americans felt uneasy about the future state of the US economy, according to new data released Tuesday morning.The Conference Board's Consumer Confidence Index for February came in at a reading of 98.3, a significant drop from January's revised 105 reading and short of the 102.5 reading expected by economists.“In February, consumer confidence registered the largest monthly decline since August 2021,” said Stephanie Guichard, senior economist of global indicators at The Conference Board. “This is the third consecutive month-on-month decline, bringing the Index to the bottom of the range that has prevailed since 2022."The "Present Situation Index," which measures consumers' assessment of current business and labor market conditions, fell to 136.5 in February from 139 in January.The "Expectations Index," which tracks consumers' short-term outlook for income, business, and labor market conditions, also fell to 72.9 in February from 82 last month. Historically, a reading below 80 in that category signals a recession in the coming year. This was the first time since June 2024 that the index came in below that threshold.Meanwhile, average 12-month inflation expectations jumped from 5.2% last month to 6% in February."This increase likely reflected a mix of factors, including sticky inflation but also the recent jump in prices of key household staples like eggs and the expected impact of tariffs," Guichard said. "References to inflation and prices in general continue to rank high in write-in responses, but the focus shifted towards other topics.""There was a sharp increase in the mentions of trade and tariffs, back to a level unseen since 2019. Most notably, comments on the current Administration and its policies dominated the responses."Read more here.Tue, February 25, 2025 at 2:34 PM UTCAlexandra CanalTech stocks, bitcoin under pressureThe major indexes struggled to mount a comeback on Tuesday, with tech stocks under pressure.The tech-heavy Nasdaq Composite (^IXIC) fell around 0.3%, while the benchmark S&P 500 (^GSPC) hovered around the flat line. The Dow Jones Industrial Average (^DJI) inched up about 0.4%.Bitcoin (BTC-USD) was a standout, with the largest cryptocurrency falling below $90,000 for the first time since November.Tue, February 25, 2025 at 2:14 PM UTCDani RomeroUS home prices increases picked up pace in DecemberHome prices rose at a faster rate in December than the previous month, providing little relief to potential homebuyers.The S&P Case-Shiller National Home Price Index rose 3.9% from a year earlier in December on a seasonally adjusted basis, higher than November’s 3.7% annual increase.The data captures a three-month period through December when mortgage rates remained steady at around 7%, a double whammy for buyers. The national index hit a record high for the 19th consecutive month.On a monthly basis, prices increased 0.5% over the previous month in December, up from the 0.4% November’s monthly gain.“The S&P CoreLogic Case-Shiller Index continues to highlight the upward trend of home prices nationally,” Brian Luke, head of commodities at S&P CoreLogic, said in a statement.“Through this recent market cycle, the ability of Americans to grow wealth by participating in the upside of the US housing market, particularly if done through a leveraged position by securing a mortgage, has proven to be historically beneficial," Luke added.The index tracking home prices in the 20 largest metropolitan areas gained 0.5% in December, higher than thBloomberg consensus estimate of 0.4%. The 20-city index jumped 4.5% compared to last December.Tue, February 25, 2025 at 1:55 PM UTCGrace O'DonnellBofA strategist warns S&P 500 rally draws investor skepticismBloomberg reports:Read more here.Tue, February 25, 2025 at 1:09 PM UTCJenny McCallChegg vs. Google: AI war threatens online learning pioneerChegg Inc. (CHGG) is taking Alphabet Inc. (GOOG) to court, accusing Google's AI Overviews (AIO) product of gutting its web traffic and forcing a strategic business review. Once a go-to for students needing homework help, Chegg claims Google's AI tools are siphoning users away by repurposing its content while keeping them locked within Google's ecosystem.The impact has been brutal — Chegg's stock tumbled 22% in premarket trading on Tuesday.Bloomberg News reports:Read more here.Tue, February 25, 2025 at 12:39 PM UTCGrace O'DonnellHome Depot stock slips after earnings as home improvement challenges come into focusHome Depot stock edged lower in premarket trading after the home improvement retailer missed Wall Street's earnings estimates. Notably, Home Depot's same-store sales growth turned positive after eight straight quarters of declines.Yahoo Finance's Brooke DiPalma reports:Correction: A previous version of this post listed the incorrect earnings figure. We regret the error.Read more here.Tue, February 25, 2025 at 11:27 AM UTCJenny McCallGood morning. Here's what's happening today.Economic data: FHFA house price index (December); S&P CoreLogic CS 20-city (December); Conference Board Consumer Confidence (February); Richmond Fed manufacturing index (February)Earnings: American Tower (AMT), AMC (AMC), Cava (CAVA), First Solar (FSLR), The Home Depot (HD), Instacart (CART), Intuit (INTU), Keurig Dr. Pepper (KDP), Krispy Kreme (DNUT), Lemonade (LMND), Lucid (LCID), Planet Fitness (PLNT), Workday (WDAY)Here are some of the biggest stories you may have missed overnight and early this morning:Why market worries about tariffs may be a 'red herring'Trump team is drawing up tougher chip curbs on ChinaBitcoin slides below $90,000 as crypto selloff gathers steamNvidia's H20 orders jump as Chinese firms adopt DeepSeek's AIThere's an ugly trend developing in the stock market: AnalystBuffett bet sparks surge in Japan trading house stocksChegg slumps 23% after suing Alphabet over Google AI impactTue, February 25, 2025 at 10:56 AM UTCKaren FriarBuffett’s bet sparks surge in Japan trading house sharesWhile Warren Buffett has touted the "American miracle" of US economic growth, it's his backing of Japanese trading firms that's finding a receptive ear.Shares in the likes of Mitsubishi (8058.T, MSBHF) and Marubeni (8002.T, MARUY) jumped in Tokyo on Tuesday after Berkshire Hathaway (BRK-B, BRK-A) revealed plans to bump up its holdings.Mitsui (8031.T, MITSY), Itochu (8001.T, ITOCY) and Sumitomo (8053.T, SSUMY) also booked their strongest gains since last year in light of Buffett's bet.Bloomberg reports:Read more here.Tue, February 25, 2025 at 10:40 AM UTCKaren FriarBitcoin falls below $90,000 to a multimonth lowBitcoin sank below $90,000 on Tuesday, reaching its lowest level since November, when Donald Trump's election as president kicked off a rally in cryptocurrencies.But Trump's resumed tariff push is weighing on crypto, just as it has done on tech stocks — with an added drag coming from a stream of confidence-denting headlines.Bloomberg reports:Read more here.Tue, February 25, 2025 at 6:29 AM UTCRian HowlettChinese tech stocks rebound as Trump restricts US-China investmentChinese tech stocks whipsawed as mainland investors helped reduce losses caused by concerns over US President Donald Trump’s decision to restrict investments between America and China.Bloomberg reports: Terms and Privacy PolicyPrivacy & Cookie SettingsMore InfoS&P Futures5,972.25 +1.50 (+0.03%)Dow Futures43,460.00 -46.00 (-0.11%)Nasdaq Futures21,177.25 -9.75 (-0.05%)Russell 2000 Futures2,184.90 +6.70 (+0.31%)Crude Oil68.79 +0.17 (+0.25%)Gold2,928.40 -2.20 (-0.08%)My PortfoliosSign in to access your portfolioSign inTop GainersZI ZoomInfo Technologies Inc. 11.73 +2.20 (+23.08%)HURN Huron Consulting Group Inc. 148.18 +22.85 (+18.23%)OTLY Oatly Group AB 8.08 +1.24 (+18.13%)LNTH Lantheus Holdings, Inc. 93.25 +13.20 (+16.49%)AXON Axon Enterprise, Inc. 572.40 +75.75 (+15.25%)Top LosersAAP Advance Auto Parts, Inc. 37.70 -8.18 (-17.83%)ZETA Zeta Global Holdings Corp. 17.77 -2.83 (-13.74%)CART Maplebear Inc. 42.80 -5.98 (-12.26%)APP AppLovin Corporation 331.00 -46.06 (-12.22%)FSS Federal Signal Corporation 79.98 -10.77 (-11.87%)Most ActiveNVDA NVIDIA Corporation 131.28 +4.65 (+3.67%)LCID Lucid Group, Inc. 2.2550 -0.3550 (-13.60%)SMCI Super Micro Computer, Inc. 51.11 +5.57 (+12.23%)NIO NIO Inc. 4.7200 +0.4500 (+10.54%)TSLA Tesla, Inc. 290.80 -12.00 (-3.96%)Trending TickersNVDA NVIDIA Corporation 131.28 +4.65 (+3.67%)SNOW Snowflake Inc. 166.19 +1.99 (+1.21%)CRM Salesforce, Inc. 307.33 +1.45 (+0.47%)IONQ IonQ, Inc. 29.93 +0.20 (+0.67%)BYND Beyond Meat, Inc. 3.5600 -0.1600 (-4.30%)Top Economic Events