Connect with us

Kansas

Broncos-Chiefs on Christmas Day: What We Learned from Denver’s 20-13 win

Published

on

Broncos-Chiefs on Christmas Day: What We Learned from Denver’s 20-13 win


FULL BOX SCORE

  1. Broncos controlled the clock, could clinch AFC West. It wasn’t easy, but the Broncos outlasted the Chiefs on Christmas night and now are a Los Angeles Chargers tie or loss on Saturday away from clinching the AFC West. The No. 1 seed might have to wait until Week 18, but Denver did just enough in a slugfest to survive. The Broncos had three drives of eight minutes or longer, but it wasn’t until the third one, late in the third quarter, where they finally found the end zone. Bo Nix scrambled 9 yards for the touchdown to give the Broncos the lead, as his legs were a key element in the victory. They’d had drives of 14 and 16 plays that ended in field goals before that, and Nix’s first-quarter interception set up a Chiefs TD that kept Denver in a trailing position well into the second half. After the Chiefs tied it at 13 apiece, Nix led the Broncos into the red zone, where they faced a critical decision on fourth-and-2 at the Kansas City 9-yard line at the two-minute warning. The Broncos lined up to go for it and were able to draw Chris Jones offsides, forcing Kansas City to burn two timeouts before Nix hit RJ Harvey for the go-ahead TD.
  2. Oladokun came up just short in first start for Chiefs. Chris Oladokun had to wait four years on the Chiefs’ practice squad for his opportunity to start his first NFL game, and he had a chance to lead a game-tying or winning drive in the final minutes, but it came up just short. Oladokun was held to 43 passing yards prior to the drive, but he hit Travis Kelce three times for 23 yards and had a 7-yard scramble to put the Chiefs in business, down, 20-13, in the waning moments. That’s when a delay of game penalty and two incomplete passes doomed the Chiefs in their third straight home loss. If this was Kelce’s final home game, he finished with five catches for 36 yards as the one consistent weapon in the passing game. His 11-yard catch in the first quarter drew a rousing ovation, but he was targeted only once more until the final drive. The 28-year-old Oladokun played mostly mistake-free ball and threw his first NFL TD pass to give the Chiefs a chance but couldn’t get much going until late.
  3. Denver must play better. The Broncos are well-positioned to win the AFC West and clinch the AFC’s No. 1 seed, but this one was a little too close for comfort. Coming off the disappointing two-TD loss at home to the Jacksonville Jaguars, the Broncos were heavily favored against a Chiefs team down two QBs with a first-time starter and missing two of their top receivers. The Broncos’ defense held the Chiefs to 139 yards, but Kansas City was one or two more plays away from potentially tying or winning the game late. They had only one sack in the game and had some painful penalties in the second half, including a 27-yard defensive pass interference call against Patrick Surtain II to give the Chiefs some life. After two red-zone failures, the Broncos finally converted with two touchdowns down there, but it was a tighter game than it should have been considering the circumstances. There’s still a potentially significant game left against the Chargers, assuming Los Angeles beats the Houston Texans this weekend. The Broncos will need to sharpen up with so much at stake.

Next Gen Stats Insight for Broncos-Chiefs (via NFL Pro): Tight end Travis Kelce led the Chiefs with five receptions for 36 yards on six targets against the Broncos, accounting for 54.5% of Kansas City’s receiving yards, the highest share for the Chiefs this season. When matched up against cornerback Patrick Surtain II on seven occasions, Kelce was targeted twice, managing just one reception for 11 yards.

NFL Research: With Thursday’s win, Sean Payton (five) joined Bill Belichick (seven) as the only coaches in NFL history to win 13-plus games in at least five seasons.



Source link

Advertisement

Kansas

Why Matthew Driscoll continues to say Kansas State is ‘close’

Published

on

Why Matthew Driscoll continues to say Kansas State is ‘close’


play

MANHATTAN — David Castillo sank his free throw to finish off a three-point play to cut TCU’s lead to two late in the second half. Kansas State had a chance to play spoiler to a team that was on the NCAA Tournament bubble.

For the previous 36 minutes, the Wildcats were more engaged than they had been all season. You wouldn’t have recognized they were just under two weeks removed from their head coach getting fired. The Wildcats were in the middle of a competitive basketball game when there haven’t been many this season.

Advertisement

And then the final four minutes happened, and the Wildcats lost once again.

Kansas State pulled within one score six different times in the second half against the Horned Frogs, only to never take a lead, and then go 4 minutes, 4 seconds without a point after Castillo’s late bucket, leading to a 77-68 loss.

K-State interim coach Matthew Driscoll compared the loss to a broken record, when the Wildcats have been close late, only to fall apart in the end.

“We get there, and then, for whatever reason, we can’t break through,” Driscoll said. “When we got it to a one-point game, I thought that this was when we were going to turn the corner. It just seems like we keep getting close, and we can’t break through that wall.”

Advertisement

Kansas State (11-18, 2-14 Big 12) has been within striking distance in a handful of games this season, only to go on lengthy scoring droughts and come up short in the end.

While there are plenty of games in which the Wildcats were blown out or didn’t show half the effort they showed against the Horned Frogs, there have been enough games that if the Wildcats finished, they wouldn’t be fighting to not finish at the bottom of the Big 12 standings.

K-State’s Feb. 25 loss to Colorado is another example, having two five-plus-minute spurts in which it didn’t score a point. The Wildcats held late leads against West Virginia and Oklahoma State, and in their first game against TCU, only to choke away those leads.

“There’s a lot of frustration,” Khamari McGriff said. “It’s been a fight to continue to focus on the next right thing and let whatever has happened in the past, and just try to get to a point where we can compete for 40 minutes. We gotta look at it with the perspective that we’ve been close a lot of times, and we just gotta figure out how to take that next step.”

Advertisement

Kansas State is running out of opportunities to achieve that “next step.” The Wildcats have a home game on Tuesday, March 3, against a beatable West Virginia team before closing the regular season at Kansas on March 7. After that, it would be surprising if the Wildcats get more than two games at the Big 12 Tournament.

But Driscoll hasn’t seen his team quit, which is almost all he can ask for after what has been a season to forget.

“We just haven’t completed the deal,” Driscoll said.

Wyatt D. Wheeler covers Kansas State athletics for the USA TODAY Network and Topeka Capital-Journal. You can follow him on X at @WyattWheeler_, contact him at 417-371-6987 or email him at wwheeler@usatodayco.com



Source link

Advertisement
Continue Reading

Kansas

Kansas Highway Patrol reports five-vehicle crash in Johnson Co. Friday

Published

on

Kansas Highway Patrol reports five-vehicle crash in Johnson Co. Friday


JOHNSON COUNTY, Kan. (WIBW) – Multiple people were involved in a five-vehicle crash Friday in Johnson County.

According to the Kansas Highway Patrol Crash Log, the crash occurred around 4:55 p.m. on Interstate 35.

Five vehicles: a 2021 Toyota Tacoma, a 2010 Toyota Sienna, a 2014 Honda Pilot, a 2017 Chevrolet Malibu, and a 2018 Ford Mustang, were all traveling northbound on the I-35 long ramp to 75th Street.

The 2021 Toyota Tacoma exited the roadway to the right and struck the rear of the 2010 Toyota Sienna.

Advertisement

The 2021 Toyota Tacoma then continued northbound and struck the 2024 Honda Pilot.

The Honda Pilot was pushed and struck the rear of the 2017 Chevrolet Malibu, which then lost control and struck the 2018 Ford Mustang. The Chevrolet Malibu then struck the barrier wall.

There were no serious injuries reported in the incident.

The driver of the Toyota Tacoma, a 28-year-old male of Kansas City, Kan., was taken to a hospital with a possible injury. He was wearing a safety restraint.

The Toyota Sienna driver, a 23-year-old female, of Merriam, Kan., had no apparent injuries and was wearing a safety restraint.

Advertisement

The Honda Pilot driver, a 75-year-old male of Lenexa, Kan., had no apparent injuries and was wearing a safety restraint.

The driver of the Chevrolet Malibu, a 31-year-old female of Kansas City, Kan., had no apparent injuries and was wearing a safety restraint.

The 2018 Ford Mustang held two occupants. The driver, a 19-year-old male of Garden Plain, Kan., had no apparent injuries and was wearing a safety restraint.

The other occupant in the vehicle was an 18-year-old female of Goddard, Kan. She did not have any apparent injuries and was wearing a safety restraint.

View the full Kansas Highway Patrol Crash log on this incident here.

Advertisement



Source link

Continue Reading

Kansas

Kansas Jayhawks vs. Arizona Wildcats: live game updates, stats, play-by-play

Published

on

Kansas Jayhawks vs. Arizona Wildcats: live game updates, stats, play-by-play


‘:””;if(r){var a=n.promos.showYahooLogo?””:”yns-no-logo”;r=r.replace(“{notifOnboardBtnLabel}”,n.promos.notifOnboardBtnLabel).replace(“{notifOnboardMsg}”,n.promos.notifOnboardMsg).replace(“{subscriptionTopic}”,n.promos.subscriptionTopic).replace(“{noLogoClass}”,a).replace(“https://ca.sports.yahoo.com/ncaab/kansas-jayhawks-arizona-wildcats-202602280017/{promoLogo}”,n.promos.promoLogo)}var s=t.newCount>n.panel.maxCount?t.newCount:””,c=n.panel.notificationCenterPath,l=c?””:P,u=n.panel.headerMsg?””:” “+P,d=c?R:””,p=void 0;t.count?p=t.markup:p=’

  • {emptyPanelMsg}

  • ‘.replace(“{emptyPanelMsg}”,n.panel.emptyPanelMsg);return e=e.replace(“{notifMarkup}”,p).replace(“{promoMarkup}”,r).replace(“{hideClass}”,l).replace(“https://ca.sports.yahoo.com/ncaab/kansas-jayhawks-arizona-wildcats-202602280017/{notifCenterLink}”,c).replace(“{paddingClass}”,d).replace(“{headerMsg}”,n.panel.headerMsg).replace(“{hideHeaderClass}”,u).replace(/{notificationCenterNavMsg}/g,n.panel.notificationCenterNavMsg).replace(/{newCount}/g,s)}},{key:”render”,value:function(e,t){var n=this;if(n._panelNode){var o=void 0,i=n._panelNode,r=void 0,a=void 0;switch(e){case”expanded_panel”:o=’

      {promoMarkup}{notifMarkup}

    ‘,a=n._store.getNotifications(),r=n._generatePanelMarkup(o,a),i.innerHTML=r;break;case”error_panel”:r=(o=’

    {errorMsg}

    ‘).replace(“{errorMsg}”,n._config.panel.errorMsg),i.innerHTML=r}t&&t()}else t&&t(new Error(“No panel parent”))}},{key:”createPanelParentNode”,value:function(e){e&&(e.innerHTML=”,this._panelNode=document.getElementById(D))}},{key:”updateBadgeNode”,value:function(e){if(e){var t=this._store.getNotifications().newCount,n=this._config.badge.maxCount;if(t){var o=t>n?n+”+”:t;e.innerHTML=o}else e.innerHTML=””}}},{key:”addStyles”,value:function(e){if(e&&”undefined”!=typeof window){var t=document.getElementById(this._config.panel.styleTagId);t||((t=document.createElement(“style”)).type=”text/css”,t.id=this._config.panel.styleTagId,t.innerText=e,document.head.appendChild(t))}}}]),e}(),z=function(){function e(t,n,o){C(this,e);var i=this;i._store=n,i._view=o,i._config=t;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(D)}},{key:”refreshPanelNode”,value:function(e,t){var n=this;M(n._notifPanelNode,B),n._store.fetchNotifications(e,(function(e,o){var i=window.wafer&&window.wafer.base;i&&i.destroy(n._notifPanelNode),e?n._notifPanelNode.innerHTML||(n._view.render(“error_panel”),M(n._notifPanelNode,B)):(n._view.render(“expanded_panel”),n._view.updateBadgeNode(n._badgeNode),n._showBadge(),n._showIndicator(),n._view.addStyles(o.css)),I(n._notifPanelNode,B),i&&i.sync(n._notifPanelNode.parentNode),t&&t(e,o)}))}},{key:”resetBadge”,value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),M(e._badgeNode,e._config.badge.hideClass)}},{key:”_showIndicator”,value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?M(this._indicatorNode,this._config.panel.indicatorClass):I(this._indicatorNode,this._config.panel.indicatorClass))}},{key:”_showBadge”,value:function(){var e=this;e._store.getNotifications().newCount?I(e._badgeNode,e._config.badge.hideClass):M(e._badgeNode,e._config.badge.hideClass)}}]),e}(),U={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:40×40|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}},j={NotificationClient:function(){function e(t){C(this,e);var n=this;n.config=n._parseConfig(t),n._validateRequiredConfigs()&&(n._request=new x(n.config),n._store=new q(n.config,n._request),n._view=new H(n.config,n._store),n._panelController=new z(n.config,n._store,n._view),n._panelController.createPanelParentNode(),n._assignHelperMethods())}return k(e,[{key:”_parseConfig”,value:function(e){var t={};for(var n in T(t,U),t)if(t.hasOwnProperty(n)){var o=t[n],i=e[n];”object”===(void 0===o?”undefined”:E(o))?T(o,i):t[n]=e[n]}return t}},{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(){I(e._panelController._indicatorNode,e.config.panel.indicatorClass)}}}}]),e}()},Y=”lnct”,F=function(){function e(){var e,t;this.personalized=!1,this.ybarElem=document.getElementById(“ybar”),this.partnerClasses=null===(t=null===(e=this.ybarElem)||void 0===e?void 0:e.className)||void 0===t?void 0:t.match(/ybar-variant-([a-z]*)/),this.client=new j.NotificationClient(this.getConfig())}return e.prototype.refreshPanel=function(){var e,t,n,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===(t=window.Af)||void 0===t?void 0:t.context)||{};return r.region&&r.lang&&(i.lang=r.lang,i.region=r.region),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&(i.partner=this.partnerClasses[1]),new Promise((function(e,t){o.client.helpers.refreshPanelNode({matrixParams:i},(function(n,o){n&&(c(“Notification refresh error:”,n),t(n)),e(o)}))}))},e.prototype.resetBadge=function(){this.client.helpers.resetBadge(),this.setTimeStamp()},e.prototype.getConfig=function(){var e,t,n,o,i,r=document.getElementById(“notification-container”),a=null===(e=null==r?void 0:r.dataset)||void 0===e?void 0:e.config;if(O&&!a)return O;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===(t=this.partnerClasses)||void 0===t?void 0:t[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 O=this.mergeConfigs(s,l),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&”yahoo”!==(null===(o=this.partnerClasses)||void 0===o?void 0:o[1])&&(null===(i=O.promos)||void 0===i?void 0:i.subscriptionTopic)&&delete O.promos.subscriptionTopic,O},e.prototype.mergeConfigs=function(e,t){var n=h({},e);for(var o in e)n[o]=h(h({},e[o]),t[o]);return n},e.prototype.getTimeStamp=function(){var e;return null===(e=window.localStorage)||void 0===e?void 0:e.getItem(Y)},e.prototype.setTimeStamp=function(){var e,t=””+Math.floor((new Date).getTime()/1e3);return null===(e=window.localStorage)||void 0===e||e.setItem(Y,t),t},e}();new F;var W,V,G=””,K=[],$=function(){},J=function(){window.removeEventListener(“beforeunload”,J),””!==G&&c(“Rapid not found on page”,new Error(G))},X=null,Z=function(){return null===X&&(X=document.getElementById(“ybar”)),X},Q=function(){var e=0,t=window.YAHOO;if(W)return W;if(t)if(t.i13n)if(t.i13n.__RAPID_INSTANCES__)if(t.i13n.__RAPID_INSTANCES__.length0)for(var n=0;n0){if(W.addModules(i,!1,o),K.length>0)for(e=0;e40959)&&(i19903)&&(i55215))return!1}return!0},fe={navBeaconFired:!1},he=[“ready”,”navigation”],ve=function(){function e(e){var t=this;this.triggerEvent=a,this.addEventListener=s,this.logError=c,this.logPerformance=l,this.getConfig=u,this.getPerformanceMetrics=d,this.rapidRefresh=te,this.state=h({},fe),this.modules=e,this.userEmail=””,window.YBAR&&(he.forEach((function(e){var n=”on”.concat(e),o=window.YBAR[n];o&&(t[n]=o)})),window.YBAR.wssid&&(this.wssid=window.YBAR.wssid),window.YBAR.appid&&(this.appid=window.YBAR.appid)),he.forEach((function(e){var n=”on”.concat(e);s(e,(function(){for(var o,i=[],r=0;r90&&Ie(“performance”,e)}catch(e){}}),1e3)})),ce(),s(“error”,(function(e){var t=e&&e.detail||{},n=t.error||{},o=t.message||n.message||n.toString();try{var i={code:n.name,file:n.fileName||””,line:n.lineNumber||””,message:o};Ie(“error”,i)}catch(e){}}));var Oe,qe,Be=”_yb_19ujfnt”,De=”_yb_le1c7o”,Pe=”_yb_1243rq0″,Re=”_yb_191ptgy”,He=”_yb_8cc4p2″,ze=”_yb_1av6c34″,Ue=”_yb_9t90qi”,je=”_yb_1tu46zh”,Ye=”_yb_9jocsz”,Fe=”_yb_13x5m53″,We=”_yb_1gbknek”,Ve=”_yb_19ulbrr”,Ge=”_yb_xuv98″,Ke=”_yb_z547h0″,$e=”_yb_1sypxam”,Je=”_yb_109dgwu”,Xe=”_yb_esrp4p”,Ze=”_yb_11peagl”,Qe=”_yb_1q4vcgj”,et=”_yb_16uw07v”,tt=”_yb_33cyw3″,nt=”_yb_hfqltm”,ot=”_yb_1mxk1ez”,it=”_yb_1r5r92″,rt=”_yb_5ioj7i”,at=”_yb_1ic2dyq”,st=”_yb_1alnqyj”,ct=”_yb_1r2wk2r”,lt={animation:”_yb_xzi582″,”left-open”:”_yb_7yteo6″,noscroll:”_yb_1wsurjc”,overlay:”_yb_1ux3n32″,”fade-in-out”:”_yb_53m9cb”,”right-open”:”_yb_1dtetlp”,”center-open”:”_yb_bkp1jq”},ut=function(e,t){if(200!==e.status){var n=new Error(“Request failed with status: “+e.status);n._meta={status:e.status},e.ymreqid&&(n._meta={ymreqid:e.ymreqid}),t(n)}else{var o=null;try{o=JSON.parse(e.responseText)}catch(e){var i=new Error(“Error parsing responseText”);return i._meta={originalError:e},void t(i)}t(null,o)}},dt=function(e,t){return void 0===t&&(t={}),v(void 0,void 0,void 0,(function(){return y(this,(function(n){return[2,new Promise((function(n,o){var i=new XMLHttpRequest;if(i.open(“string”==typeof t.method?t.method:”GET”,”string”==typeof e?e:e.url,!0),”object”==typeof t.headers){var r=t.headers;for(var a in r)i.setRequestHeader(a,r[a])}i.withCredentials=”include”===t.credentials,i.onreadystatechange=function(){4===i.readyState&&n({ok:i.status>=200&&i.statusn?Promise.resolve(t.data):void 0}}(Oe.COUNT),(n=this._checkForMockData())?[2,n]:!e&&t?[2,t]:(1,o={data:{responseType:”json”,requests:[{id:”GetMailboxId”,uri:”/ws/v3/mailboxes/”,method:”GET”,filters:{select:{mailboxId:”$..mailboxes[?(@.isPrimary==true)].id”}},suppressResponse:!0,requests:[{id:”ListDecos”,uri:”/ws/v3/mailboxes/@.id==$(mailboxId)/decos”,method:”GET”}]}]}},i=this._fetch(o,1,(function(e){var t=r._normalizerCountResponse(e);return function(e,t){var n={lastRequested:Date.now(),status:qe.COMPLETE,promise:Promise.resolve(t),data:t};ht.set(e,n)}(Oe.COUNT,t),t})),s=Oe.COUNT,c=i,l={lastRequested:Date.now(),status:qe.PENDING,promise:c},ht.set(s,l),[2,i]);var s,c,l}))}))},e.prototype._fetch=function(e,t,n){var o,i;return v(this,void 0,void 0,(function(){var r,a,s,l,u,d,p,m,f,v,g,b,w,_,L,E;return y(this,(function(y){switch(y.label){case 0:if(r=e.data,a=void 0===r?{}:r,s=e.params,l=void 0===s?{}:s,u=”EC-4008″,d=”EC-4003″,p=this._getYmreqid(),!this.appid)throw new Error(“No appId, user is logged out”);m=h({appId:this.appid},l),this.wssid&&”mail_wssid”!==this.wssid&&(m.wssid=this.wssid),e.params=m,f=[],Object.keys(m).forEach((function(e){var t=m[e];t&&f.push(“”.concat(encodeURIComponent(e),”=”).concat(encodeURIComponent(t)))})),v=f.length?”?”.concat(f.join(“&”)):””,g=”https://apis.mail.yahoo.com/ws/v3/batch”.concat(v),y.label=1;case 1:return y.trys.push([1,4,,5]),[4,pt(g,{method:”POST”,body:JSON.stringify(a),credentials:”include”,headers:{“Content-Type”:”application/json”,”X-Oath-YmReqId”:p}})];case 2:return[4,(b=y.sent()).json()];case 3:if(w=y.sent(),b.ok)return[2,n(null===(i=w.result)||void 0===i?void 0:i.responses)];if((_=null===(o=null==w?void 0:w.error)||void 0===o?void 0:o.code)===d)return[2,this._handleWssidApiError(w,e,t,n)];throw _===u?new Error(“Session has expired”):new Error(“Mail Api Responded with an Error”);case 4:throw L=y.sent(),c(“JWS: “.concat((E=L).message),E),L;case 5:return[2]}}))}))},e.prototype._checkForMockData=function(){var e=document.getElementById(“ybar”);if(e&&e.hasAttribute(“data-mc”)){var t=e.getAttribute(“data-mc”);if(t&&ft[t])return ft[t]}},e.prototype._normalizerCountResponse=function(e){var t,n,o,i,r,a;if(!e)return 0;var s=((null===(o=null===(n=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.response)||void 0===n?void 0:n.result)||void 0===o?void 0:o.decos)||[]).find((function(e){return”FTI”===(null==e?void 0:e.id)}));return s&&null!==(a=null===(r=null===(i=null==s?void 0:s.counts)||void 0===i?void 0:i[0])||void 0===r?void 0:r.unseen)&&void 0!==a?a:0},e.prototype._handleWssidApiError=function(e,t,n,o){var i,r,a=null===(r=null===(i=null==e?void 0:e.error)||void 0===i?void 0:i.details)||void 0===r?void 0:r.wssid,s=t.params,c=(void 0===s?{}:s).wssid;if(a){if(c&&a===c)throw new Error(“API provided same invalid WSSID”);if(void 0!==n&&n>0)return n-=1,this.wssid=a,this._fetch(t,n,o);throw new Error(“Max retries with invalid WSSID reached”)}throw new Error(“valid WSSID missing from API Response”)},e.prototype._getYmreqid=function(){var e=(new Date).getTime();return”xxxxxxxx-xxxx-xxxx-09xx-xxxxxxxxxx00″.replace(new RegExp(“x”,”g”),(function(){var t=(e+16*Math.random())%16|0;return e=Math.floor(e/16),t.toString(16)}))},e}(),yt={add:[{itemId:”ybar-mail-banner”,reactions:[“SHOWN”]}]};ge(“ybar-mod-sidenav”,(function(e){var t,n={sidenavBtn:document.getElementById(“_yb_sidenav-btn”),sidenav:document.querySelector(“.”.concat(Ze)),menu:document.querySelector(“.”.concat(et)),sections:document.querySelectorAll(“.”.concat(Ke)),closeBtn:document.querySelector(“.”.concat(De)),panels:document.querySelectorAll(“.”.concat(Ge)),backBtn:document.querySelector(“.”.concat(Be)),footer:document.querySelector(“.”.concat(je)),copyright:document.querySelector(“.”.concat(Re)),selectedSectionLinks:document.querySelectorAll(“.”.concat(Je,” a”)),focusedElement:document.querySelector(“.”.concat(Je,” .”).concat(Ue)),editionsDropdown:document.querySelector(“.”.concat(He)),mailUnread:document.querySelector(“.”.concat(nt)),mailTooltip:document.getElementById(“_yb_mail-tooltip”),tooltipClose:document.getElementById(“_yb_mail-tooltip-close”)},o=window.location.href.split(“?”)[0]?window.location.href.split(“?”)[0].replace(//$/,””):window.location.href,i=b([],g(n.selectedSectionLinks),!1);if(!n.focusedElement)for(var r=0;r li > a[href]”,”:scope > li > button”].join(“,”));if(0!==n.length){var o=n[0],i=n[n.length-1];t.addEventListener(“keydown”,r),e.onDestroy((function(){t.removeEventListener(“keydown”,r)})),document.activeElement!==o&&o.focus()}function r(e){“Tab”===e.key&&(e.shiftKey||document.activeElement!==i?e.shiftKey&&document.activeElement===o&&(e.preventDefault(),i.focus()):(e.preventDefault(),o.focus()))}},m=function(e,t){e.classList.remove(“”.concat(We)),t.style.height=””},f=function(e,t){e.classList.add(“”.concat(We)),t.style.height=t.scrollHeight+”px”},v=function(e){var t=e.mailTooltip;null==t||t.classList.remove(“”.concat(st)),null==t||t.classList.add(“”.concat(at)),setTimeout((function(){null==t||t.remove()}),400)},y=function(){mt({url:”https://graviton-user-gateway.media.yahoo.com/api/auth/v2/crumb?appId=yahoo_fp”},(function(e,t){e?v(n):t&&t.crumb&&function(e,t){var n=e.url,o=e.ymreqid,i=e.crumb,r=e.body;pt(n,{method:”POST”,headers:h(h({“Content-Type”:”application/json”},”string”==typeof i?{“X-CSRF-Token”:i}:{}),”string”==typeof o?{“X-Oath-YmReqId”:o}:{}),body:void 0!==r?JSON.stringify(r):null,credentials:”include”}).then((function(e){return e.text().then((function(n){ut({status:e.status,responseText:n,ymreqid:o},t)}))}))}({url:”https://graviton-user-gateway.media.yahoo.com/api/user/v1/declared/reactions/TOOLTIP/DIALOG?appId=yahoo_fp”,crumb:t.crumb,body:yt},(function(){console.log(“record updated”)}))}))};if(n.tooltipClose&&n.mailTooltip&&(mt({url:”https://graviton-user-gateway.media.yahoo.com/api/user/v1/declared/reactions/TOOLTIP?appId=yahoo_fp&reactionGroups=DIALOG&itemIds=ybar-mail-banner”},(function(e,t){var o,i,r=null===(o=document.getElementById(“ybar”))||void 0===o?void 0:o.hasAttribute(“data-mc”);if(null==t?void 0:t.userReactions[0]){var a=n.mailTooltip;(null==t?void 0:t.userReactions[0]).reactionList.length&&!r?null==a||a.remove():(null==a||a.classList.add(“”.concat(st)),y(),(null===(i=n.mailTooltip)||void 0===i?void 0:i.classList.contains(“no-fade”))||setTimeout((function(){v(n)}),1e4))}})),n.tooltipClose.addEventListener(“click”,(function(){v(n)}))),n.sidenavBtn&&n.closeBtn){if(function(e,t,n,o,i){var r,a;void 0===i&&(i=!1);var s=e||document.body,c=document.createElement(“div”);c.classList.add(lt.overlay),c.setAttribute(“data-hidden”,”true”),i&&c.classList.add(lt[“fade-in-out”]),null===(a=null===(r=s.parentNode)||void 0===r?void 0:r.parentNode)||void 0===a||a.appendChild(c),s.classList.add(lt.animation);var l=document.documentElement,u=!0,d=0,p=function(){u=!u,c.setAttribute(“data-hidden”,””.concat(u)),null==l||l.classList.toggle(“ybar-overlay”),document.body.classList.toggle(lt.noscroll,!u),s.classList.toggle(lt[t+”-open”],!u),u?(c.scrollTop=0,n.triggerEvent(“yb-overlay-closed”)):null==o||o.focus(),0===d&&(d=1,setTimeout((function(){te()}),300))};n.onDestroy((function(){var e,t;null===(t=null===(e=s.parentNode)||void 0===e?void 0:e.parentNode)||void 0===t||t.removeChild(c),s.classList.remove(lt.animation),u||p()})),n.addElementListener(s,”toggle-overlay”,(function(){p()})),n.addElementListener(c,”mousedown”,(function(){p()}))}(n.menu,”left”,e,void 0,!0),e.addEventListener(“yb-overlay-closed”,(function(){c(n,!1)})),e.addElementListener(n.sidenavBtn,”click”,(function(){document.getElementById(“_yb_mail-tooltip”)&&v(n),function(e){var t=e.menu,n=e.sidenavBtn,o=e.sidenav,i={sec:”ybar”,slk:”hamburger”,elm:”expand”,pkgt:”top”,subsec:”navrail”,itc:”1″};if(t&&n&&o){o.style.display=”flex”,t.dispatchEvent(new CustomEvent(“toggle-overlay”)),n.setAttribute(“aria-expanded”,”true”),i.elm=”expand”,ee(“ybar”,i.slk,””,i);var r=t.querySelector(“.”.concat(Je)),a=null==r?void 0:r.querySelector(“ul”);r&&a&&f(a,r),o.scrollTop=0}}(n)})),e.addElementListener(n.closeBtn,”click”,(function(){c(n,!0)})),n.sections)Array.from(n.sections).forEach((function(t){var o=t.querySelector(“h3”),i=t.querySelector(“ul”),r=null==o?void 0:o.querySelector(“a”),a=null==o?void 0:o.classList.contains(“”.concat(Qe)),s=null==o?void 0:o.getElementsByClassName(“”.concat(tt))[0],c=function(e){m(e,t),t.classList.remove(“”.concat(ze)),setTimeout((function(){t.classList.contains(“”.concat(ze))||t.classList.add(“”.concat(Pe))}),0)},d=function(e){t.classList.remove(“”.concat(Pe)),t.classList.add(“”.concat(ze)),f(e,t)};o&&i&&e.addElementListener(s,”click”,(function(){var e={sec:”ybar”,slk:o.innerText,pkgt:”side-nav”,elm:”close”,subsec:”navrail”,itc:”1″};if(t.classList.contains(“”.concat(ze)))return c(i),void ee(“ybar”,e.slk,””,e);d(i),e.elm=”expand”,ee(“ybar”,e.slk,””,e)})),o&&i&&a&&e.addElementListener(o,”click”,(function(){var e={sec:”ybar”,slk:o.innerText,pkgt:”side-nav”,elm:”close”,subsec:”navrail”,itc:”1″};if(t.classList.contains(“”.concat(ze)))return c(i),void ee(“ybar”,e.slk,””,e);d(i),e.elm=”expand”,ee(“ybar”,e.slk,””,e)})),o&&i&&a&&e.addElementListener(o,”keydown”,(function(e){13===e.keyCode&&o.click()})),o&&i&&e.addElementListener(s,”keydown”,(function(e){var n=e.keyCode;e.stopPropagation();var r={sec:”ybar”,slk:o.innerText,pkgt:”side-nav”,elm:”close”,subsec:”navrail”,itc:”1″};if(13===n&&t.classList.contains(“”.concat(ze)))return c(i),void ee(“ybar”,r.slk,””,r);13===n&&(d(i),r.elm=”expand”,ee(“ybar”,r.slk,””,r))})),o&&i&&!a&&e.addElementListener(o,”keydown”,(function(e){13===e.keyCode&&(null==r||r.click())}));var p=t.querySelectorAll(“.”.concat(Ye));p&&Array.from(p).forEach((function(t){var o=t.querySelector(“.”.concat(Ge)),i=t.querySelector(“.”.concat(Ve)),r=t.querySelector(“.”.concat($e)),a=t.querySelector(“.”.concat(Be)),s=(null==r?void 0:r.innerText)||””,c=t.querySelector(“button.”.concat($e)),d=function(e){var t=e.sections;t&&Array.from(t).forEach((function(e){var t=e.classList.contains(“”.concat(He)),n=e.classList.contains(“”.concat(ze));if(t&&n){e.classList.replace(“”.concat(ze),””.concat(Pe));var o=e.querySelector(“ul.”.concat(We));o&&m(o,e)}}))};o&&a&&i&&(e.addElementListener(i,”click”,(function(){i.classList.contains(“”.concat(ct))?u(o,0,s):(l(o,n,s),d(n))})),e.addElementListener(c,”click”,(function(){l(o,n,s),d(n)})),e.addElementListener(a,”click”,(function(){a.classList.contains(“”.concat(ct))?u(o,0,s):(l(o,n,”close-back-btn”),d(n)),function(e){var t=e.closest(“.”.concat(Ye));if(t){var n=t.querySelector(“.”.concat(tt));n&&n.focus()}}(o)})))}))}));window.addEventListener(“keyup”,(function(e){27===e.keyCode&&c(n,!0)}))}n.mailUnread&&function(e,t){var o=n.mailUnread,i=n.sidenavBtn;t.fetchCount().then((function(t){if(o&&t>0){if(o&&i){var n=t>99;o.classList.add(“”.concat(rt)),i.classList.add(“count-loaded”),o.textContent=n?”99+”:t+””,n?o.classList.add(“”.concat(ot)):t>=10&&o.classList.add(“”.concat(it))}e.onDestroy((function(){o&&(o.textContent=””)}))}})).catch((function(){}))}(e,s)}));var gt=”_yb_a80o30″,bt=”_yb_1348ffh”,wt=”_yb_2wm7zv”,_t=”_yb_daionv”;if(“undefined”!=typeof Element&&!Element.prototype.matches){var Lt=Element.prototype;Lt.matches=Lt.matchesSelector||Lt.mozMatchesSelector||Lt.msMatchesSelector||Lt.oMatchesSelector||Lt.webkitMatchesSelector}var Et=function(e,t){for(;e&&9!==e.nodeType;){if(“function”==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function Ct(e,t,n,o,i){var r=kt.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}function kt(e,t,n,o){return function(n){n.delegateTarget=Et(n.target,t),n.delegateTarget&&o.call(e,n)}}var St,xt=function(e,t,n,o,i){return”function”==typeof e.addEventListener?Ct.apply(null,arguments):”function”==typeof n?Ct.bind(null,document).apply(null,arguments):(“string”==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return Ct(e,t,n,o,i)})))},At=function(e){this.data=e,this.next=null,this.prev=null},Mt=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new At(e);return this.head?this.tail?(t.prev=this.tail,this.tail.next=t,this.tail=t):(this.tail=t,this.tail.prev=this.head,this.head.next=this.tail):(this.head=t,t.next=this.tail),t},e.prototype.size=function(){for(var e=0,t=this.head;t;)e+=1,t=t.next;return e},e.prototype.getHead=function(){return this.head},e.prototype.getTail=function(){return this.tail},e.prototype.get=function(e){if(e>=this.size())return null;for(var t=0,n=this.head;(null==n?void 0:n.next)&&t0&&Array.prototype.forEach.call(n,(function(e){e.onerror=function(){e.onerror=null,e.style.display=”none”}})),t.wrapper&&(function(e,t){e&&(Se(“#ybar-logo”,”#ybar-logo”,t),t.onDestroy((function(){e.classList.remove(“ybar-show-outline”),e.classList.remove(“ybar-hide-outline”)})))}(t.wrapper,e),function(e,t){t&&e.addElementListener(t,”click”,(function(){e.triggerEvent(“logo-click”)}))}(e,t.wrapper))};ge(“ybar-mod-logo”,(function(e){var t={wrapper:document.getElementById(“ybar-logo”),logoImages:document.querySelectorAll(“.”.concat(Rt))};Ht(e,t)}));var zt={“dropdown-open”:”_yb_1qr55t8″,”merchant-is-selected”:”_yb_hpfgev”,overlay:”_yb_1t4opbo”,”selected-merchant-clear-button”:”_yb_sdzekv”,”shops-buttons”:”_yb_1gmhi8h”,”styled-select”:”_yb_1fed2vs”,tooltip:”_yb_156j5sr”,”tooltip–show”:”_yb_t94u7s”,tooltip__text:”_yb_149d3c6″,tooltip__voice:”_yb_rkldcd”,tooltip__web:”_yb_1bze76z”,dark:”_yb_of9a42″,darker:”_yb_1br2rz9″,light:”_yb_p0373k”,”search-border-gradient”:”_yb_109k2ga”,”search-border-gradient-hover”:”_yb_vljmzl”,midnight60:”_yb_1o792pg”,”search-input-uh3-hover”:”_yb_15ox84z”,”search-input-uh3-focus-visible”:”_yb_1e6541m”,”sa-btn-bar”:”_yb_1axm66t”,”searchbox-icon-uh3″:”_yb_1uef33k”,empty:”_yb_owcm9n”},Ut=function(e,t){var n=Math.max(e,t),o=Math.min(e,t),i=Math.abs(n-o);return b([],g(new Array(i+1)),!1).map((function(e,t){return o+t}))},jt=function(e,t,n){var o=e.getConfig().bucketConfig,i=(void 0===o?{}:o).enable_search_ui,r=void 0!==i&&i;if(t.ybar){t.ybar.classList.add(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.add(“ybar-overlay”),document.body.classList.add(“ybar-overlay-noscroll”);ee(“ybar”,”websrch”,””,{elm:”expand”,subsec:”searchbox”,itc:”1″}),setTimeout((function(){t.searchInput instanceof HTMLInputElement&&(n&&(t.searchInput.value=n),t.searchInput.focus(),r&&window.YAHOO&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view&&!window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.show())}))}},Yt=function(e){var t;null===(t=e.ybar)||void 0===t||t.classList.remove(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.remove(“ybar-overlay”),document.body.classList.remove(“ybar-overlay-noscroll”),e.searchInput instanceof HTMLInputElement&&(e.searchInput.value=””,e.searchInput.blur())},Ft=function(e,t){var n=e.getConfig();”smartphone”===n.device&&(“finance”===n.property&&”crunch”===n.ytheme&&e.addElementListener(t.searchInput,”click”,(function(){var n,o;n=”search_input_focus_click”,null!==(o=re())&&(ne[n]||(ne[n]=o)),e.addElementListener(t.searchForm,”click”,(function(){if(t.ybar){if(t.ybar.classList.contains(“ybar-searchbox-assist-fullscreen”))return;t.ybar.classList.add(“ybar-searchbox-assist-fullscreen”),t.ybar.classList.add(“ybar-searchbox-assist-fadein”)}if(!document.documentElement.classList.contains(“ybar-overlay”)){document.documentElement.classList.toggle(“ybar-overlay”),document.body.classList.add(“ybar-overlay-noscroll”);ee(“ybar”,”websrch”,””,{elm:”expand”,subsec:”searchbox”,itc:”1″})}}))})),e.addElementListener(t.searchBoxPlaceholder,”click”,(function(){jt(e,t)})),e.addElementListener(t.searchBoxPlaceholder,”keydown”,(function(n){var o=n,i=o.keyCode,r=o.key,a=Ut(65,90),s=b(b([],g(Ut(58,57)),!1),g(Ut(96,105)),!1),c=b(b([],g(a),!1),g(s),!1).includes(i);(32===i||13===i||c)&&(n.preventDefault(),n.stopPropagation(),jt(e,t,c?r:””))})),t.searchBoxBackButton&&(e.addElementListener(t.searchBoxBackButton,”click”,(function(e){e.stopPropagation(),window.YAHOO&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&(window.YAHOO.SA.apps[0].view.resetQuery(),window.YAHOO.SA.apps[0].view.hide()),Yt(t);ee(“ybar”,”back-close-srch”,””,{elm:”btn”,subsec:”searchbox”,itc:”1″})})),e.addElementListener(t.searchInput,”keyup”,(function(e){e.stopPropagation();27===e.keyCode&&(e.stopPropagation(),Yt(t))}))),e.addEventListener(“viewerClosed”,(function(){Yt(t)})),e.onDestroy((function(){Yt(t)})))},Wt=function(){function e(e,t,n){t&&(this.ybar=e,this.elem=t,this.options=n,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.addEventListeners())}return Object.defineProperty(e.prototype,”tooltip”,{get:function(){var e=this;return this.tooltipMarkup||(this.tooltipMarkup=this.createTooltip(),(this.options.tooltipParentElm||this.elem).appendChild(this.tooltipMarkup),this.ybar.onDestroy((function(){var t,n;null===(n=null===(t=e.tooltipMarkup)||void 0===t?void 0:t.parentNode)||void 0===n||n.removeChild(e.tooltipMarkup)}))),this.tooltipMarkup},enumerable:!1,configurable:!0}),e.prototype.show=function(){this.tooltip.classList.add(this.options.showClass)},e.prototype.hide=function(){this.tooltip.classList.remove(this.options.showClass)},e.prototype.addEventListeners=function(){this.ybar.addElementListener(this.elem,”mouseenter”,this.show),this.ybar.addElementListener(this.elem,”focus”,this.show),this.ybar.addElementListener(this.elem,”mouseleave”,this.hide),this.ybar.addElementListener(this.elem,”blur”,this.hide)},e.prototype.createTooltip=function(){var e=document.createElement(“div”);e.className=this.options.containerClass||””;var t=document.createElement(“p”);return t.textContent=this.options.label,t.className=this.options.textClass||””,e.appendChild(t),e},e}(),Vt={containerClass:zt.tooltip,textClass:zt.tooltip__text,showClass:zt[“tooltip–show”]};ge(“ybar-mod-searchbox”,(function(e){var t,n=e.getConfig(),o={ybar:document.getElementById(“ybar”),searchInput:document.getElementById(“ybar-sbq”),buttonBar:document.querySelector(“.”.concat(zt[“sa-btn-bar”])),searchForm:document.getElementById(“ybar-sf”),searchBoxIcon:document.querySelector(“.”.concat(zt[“searchbox-icon-uh3”])),searchBoxPlaceholder:document.getElementById(“ybar-smartphone-searchbox-placeholder”),searchBoxBackButton:document.getElementById(“ybar-search-back-btn”),shopsButtonsWrap:document.querySelector(“.”.concat(zt[“shops-buttons”])),categorySelect:document.getElementById(“shops-category-select”),selectedMerchantInput:document.getElementById(“selected-merchant-input”),selectedMerchantClearButton:document.querySelector(“.”.concat(zt[“selected-merchant-clear-button”])),submitSearchBtn:document.getElementById(“ybar-search”),clearSearchBtn:document.getElementById(“ybar-sbq-x”),searchGradientBorder:document.querySelector(“.”.concat(zt[“search-border-gradient”]))};if(function(e,t){var n,o,i,r=e.getConfig();if(t.ybar&&[“desktop”,”tablet”].includes(r.device)&&(null===(n=r.bucketConfig)||void 0===n?void 0:n.highlight_searchassist)&&(null===(o=r.bucketConfig)||void 0===o?void 0:o.overlay_class)){t.ybar.setAttribute(“data-ovrly-bkt”,r.bucketConfig.overlay_class),null===(i=t.searchForm)||void 0===i||i.classList.add(zt[r.bucketConfig.overlay_class]);var a=document.createElement(“div”);a.classList.add(zt.overlay,zt[r.bucketConfig.overlay_class]),document.body.appendChild(a),e.onDestroy((function(){document.body.removeChild(a)})),e.addElementListener(t.searchForm,”focusout”,(function(e){if(t.searchForm&&t.searchInput){var n=e.relatedTarget;n&&!t.searchForm.contains(n)&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()}}))}}(e,o),Ft(e,o),o.searchGradientBorder){var i=!1;o.searchInput.addEventListener(“keydown”,(function(e){var t=e.code,n=e.key,r=t.startsWith(“Key”),a=t.startsWith(“Digit”),s=/^[!@#$%^&*()_+-=[]{};’:”\|,./?`~]$/.test(n);(r||a||s)&&!i&&(o.searchGradientBorder.classList.add(“”.concat(zt[“search-border-gradient-hover”])),i=!0)})),e.addElementListener(o.searchForm,”mouseover”,(function(){i||o.searchGradientBorder.classList.add(“”.concat(zt[“search-border-gradient-hover”]))})),e.addElementListener(o.searchForm,”mouseout”,(function(){i||o.searchGradientBorder.classList.remove(“”.concat(zt[“search-border-gradient-hover”]))})),e.addElementListener(o.searchInput,”click”,(function(){i=!0})),e.addElementListener(o.searchInput,”blur”,(function(){o.searchGradientBorder.classList.remove(“”.concat(zt[“search-border-gradient-hover”]))}))}o.searchForm&&(e.addElementListener(o.searchBoxIcon,”mouseover”,(function(){o.searchForm.classList.add(“”.concat(zt[“search-input-uh3-hover”]))})),e.addElementListener(o.searchBoxIcon,”mouseout”,(function(){o.searchForm.classList.remove(“”.concat(zt[“search-input-uh3-hover”]))})),e.addElementListener(o.buttonBar,”mouseover”,(function(){o.searchForm.classList.add(“”.concat(zt[“search-input-uh3-hover”]))})),e.addElementListener(o.buttonBar,”mouseout”,(function(){o.searchForm.classList.remove(“”.concat(zt[“search-input-uh3-hover”]))})),e.addElementListener(o.searchInput,”keyup”,(function(e){“Tab”===e.key&&o.searchForm.classList.add(“”.concat(zt[“search-input-uh3-focus-visible”])),o.searchInput.classList.toggle(“”.concat(zt.empty),””===o.searchInput.value)})),e.addElementListener(o.searchInput,”keydown”,(function(){o.searchForm.classList.remove(“”.concat(zt[“search-input-uh3-focus-visible”]))})),e.addElementListener(o.searchInput,”focusout”,(function(){o.searchForm.classList.remove(“”.concat(zt[“search-input-uh3-focus-visible”]))})),e.addElementListener(o.submitSearchBtn,”click”,(function(e){“”===o.searchInput.value.trim()&&e.preventDefault()})),e.addElementListener(o.clearSearchBtn,”click”,(function(){o.searchInput.classList.add(“”.concat(zt.empty))}))),o.submitSearchBtn&&”crunch”===n.ytheme&&new Wt(e,o.submitSearchBtn,h(h({},Vt),{label:null!==(t=n.i18n.root.SEARCH_TOOLTIP_WEB)&&void 0!==t?t:”Search the web”,containerClass:””.concat(zt.tooltip,” “).concat(zt.tooltip__web),tooltipParentElm:o.clearSearchBtn.parentElement}))}));var Gt=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.beaconClick=function(e,t,n,o,i){if(“function”==typeof(i=i||window?.rapidInstance)?.beaconClick){const r={etrg:”click”,…n.pp};delete n.pp,i.beaconClick(e,t||”-“,n._p||0,n,n.outcm||”clicked”,o,{pp:r})}else”function”==typeof o&&o()},t.debouncePromise=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var o=arguments.length,i=new Array(o),r=0;r{t=setTimeout((()=>o(e(…i))),n)}))}},t.getFormattedMessage=function(e,t,n){let o;if(!e&&!t)return o;if(“object”!=typeof e)return o;if(o=e[t],!o)return t;n&&Object.keys(n).forEach((e=>{o=o.replace(new RegExp(“{“+e+”}”,”g”),n[e])}));return o},t.getRelativeTimeString=function(e){const t=(e=>{const t=Date.now(),a=n,s=(+e-+t)/1e3;if(Math.abs(s)0)return{value:Math.round(m),unit:”year”};const f=12*m+d.getMonth()-p.getMonth();if(Math.round(Math.abs(f))>0)return{value:Math.round(f),unit:”month”};const h=s/r;return{value:Math.round(h),unit:”week”}})(e),a=(window.searchContext||{}).intl||”en”;if(window?.Intl?.RelativeTimeFormat)try{return new window.Intl.RelativeTimeFormat(a,{numeric:”auto”}).format(t.value,t.unit)}catch(e){return””}return””},t.renderSvg=void 0;const n={second:45,minute:45,hour:22,day:5},o=3600,i=86400,r=604800;t.renderSvg=function(){let{viewBox:e,height:t,width:n,className:o,nodes:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=document.createElementNS(“http://www.w3.org/2000/svg”,”svg”);return e&&r.setAttribute(“viewBox”,e),t&&r.setAttribute(“height”,t),n&&r.setAttribute(“width”,n),o&&r.setAttribute(“class”,o),Array.isArray(i)&&i.forEach((e=>{let[t,n]=e;const o=document.createElementNS(“http://www.w3.org/2000/svg”,t);Object.keys(n).forEach((e=>{if(“string”!=typeof n[e])throw new Error(`Invalid SVG attribute ${e}=${JSON.stringify(n[e])}`);o.setAttribute(e,n[e])})),r.appendChild(o)})),r}})),Kt=o((function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports})),$t=o((function(e){var t;(t=void 0===t?{}:t).attention={name:”attention”,height:48,width:48,path:”M24.993 46.424c-12.13 0-22-9.87-22-22s9.87-22 22-22 22 9.87 22 22-9.87 22-22 22zm0-40c-9.925 0-18 8.075-18 18 0 9.926 8.075 18 18 18s18-8.074 18-18c0-9.924-8.075-18-18-18zM24.993 27.424c-1.104 0-2-.895-2-2v-10c0-1.104.896-2 2-2s2 .896 2 2v10c0 1.105-.895 2-2 2zM22.993 33.424a2 2 0 1 0 4 0 2 2 0 1 0-4 0z”},e.exports&&(e.exports=t.attention)})),Jt=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.Icon=void 0;t.Icon=class{constructor(){let{nodes:e,viewBox:t=”0 0 48 48″,width:n=16,height:o=16,className:i=””}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.nodes=e,this.viewBox=t,this.width=n,this.height=o,this.className=i}render(){return(0,Gt.renderSvg)(this)}}})),Xt={dummy:”_dummy_1ny14_3″,noDisplay:”_noDisplay_1ny14_6″,IbBox:”_IbBox_1ny14_9″,BoxShadow:”_BoxShadow_1ny14_13″,list:”_list_1ny14_16″,selectedBackground:”_selectedBackground_1ny14_21″,suggestionList:”_suggestionList_1ny14_25″,resultsContainer:”_resultsContainer_1ny14_40″,desktop:”_desktop_1ny14_43″,smartphone:”_smartphone_1ny14_46″,sectionHeader:”_sectionHeader_1ny14_49″,sectionHeaderTitle:”_sectionHeaderTitle_1ny14_54″,screenerText:”_screenerText_1ny14_66″,screenerLink:”_screenerLink_1ny14_69″,screenerIcon:”_screenerIcon_1ny14_84″,errorMessage:”_errorMessage_1ny14_89″,errorIcon:”_errorIcon_1ny14_96″,tipMessage:”_tipMessage_1ny14_101″,modernSuggestionItem:”_modernSuggestionItem_1ny14_111″,linkItem:”_linkItem_1ny14_114″,itemLeftCol:”_itemLeftCol_1ny14_127 _IbBox_1ny14_9″,itemRightCol:”_itemRightCol_1ny14_131 _IbBox_1ny14_9″,itemIconContainer:”_itemIconContainer_1ny14_136″,itemIconContainerNoBg:”_itemIconContainerNoBg_1ny14_144″,itemImageIconContainer:”_itemImageIconContainer_1ny14_150″,Ell:”_Ell_1ny14_157″,itemIcon:”_itemIcon_1ny14_136″,ItemVideoIcon:”_ItemVideoIcon_1ny14_181 _itemIcon_1ny14_136″,itemTitle:”_itemTitle_1ny14_186 _Ell_1ny14_157″,itemTitleOnly:”_itemTitleOnly_1ny14_199 _itemTitle_1ny14_186 _Ell_1ny14_157″,itemMeta:”_itemMeta_1ny14_203 _itemTitle_1ny14_186 _Ell_1ny14_157″,itemSeperator:”_itemSeperator_1ny14_209″},Zt=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.ListenerManager=void 0;t.ListenerManager=class{constructor(){this.listeners=[]}add(e,t,n){e&&”function”==typeof e.addEventListener&&(this.listeners.push({node:e,type:t,callback:n}),e.addEventListener(t,n))}destroy(){this.listeners.forEach((e=>{let{node:t,type:n,callback:o}=e;t.removeEventListener(n,o)})),this.listeners=[]}}})),Qt=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.SuggestionItem=void 0;var n=Kt(Xt);t.SuggestionItem=class{constructor(e){let{suggestion:t,sectionIndex:n,query:o,itemIndex:i,className:r=””,onClick:a=(()=>{}),onKeyDown:s=(()=>{}),defaultIcon:c}=e;this.query=o,this.suggestion=t,this.sectionIndex=n,this.itemIndex=i,this.className=r,this.href=t.linkCallback?t.linkCallback:t.link,this.onClick=a,this.onKeyDown=s,this.defaultIcon=c,this.listeners=new Zt.ListenerManager}_renderIcon(e,t){let{imageIcon:o,imageIconBgColor:i,title:r,viewBox:a,icon:s,noIconBg:c,iconWidth:l,iconHeight:u,itemIconColor:d}=e;const p=document.createElement(“div”);if(o){const e=document.createElement(“img”);e.src=o,e.width=32,e.alt=r,p.className=n.default.itemImageIconContainer,i&&(p.style.backgroundColor=`#${i}`,p.style.borderRadius=”50%”),p.appendChild(e)}else if(s||t){p.className=c?n.default.itemIconContainerNoBg:n.default.itemIconContainer;const e=new Jt.Icon({nodes:[[“path”,{d:s?.path||t?.path}]],className:n.default.itemIcon,viewBox:a||”0 0 48 48″,width:l||32,height:u||32}).render();d&&(e.style.fill=`#${d}`),p.appendChild(e)}return p}render(){const e=document.createElement(“li”);e.setAttribute(“role”,”link”),e.setAttribute(“title”,this.suggestion.title),e.setAttribute(“tabindex”,”0″),e.setAttribute(“data-type”,this.type),e.setAttribute(“data-index”,this.sectionIndex),e.setAttribute(“data-pindex”,this.itemIndex),e.className=n.default.linkItem+” “+this.className,this.listeners.add(e,”click”,this.onClick),this.listeners.add(e,”keydown”,this.onKeyDown);const t=document.createElement(“div”),o=document.createElement(“div”);t.className=n.default.itemLeftCol,o.className=n.default.itemRightCol,t.appendChild(this._renderIcon(this.suggestion,this.defaultIcon));const i=document.createElement(“h5”);if(i.className=n.default.itemTitleOnly,i.textContent=this.suggestion.title,o.appendChild(i),this.suggestion.subtitle){i.className=n.default.itemTitle;const e=document.createElement(“div”);e.className=n.default.itemMeta;const t=document.createElement(“span”);if(t.textContent=this.suggestion.subtitle||””,e.appendChild(t),this.suggestion.timeStamp){const t=document.createElement(“i”);t.setAttribute(“aria-hidden”,”true”),t.className=n.default.itemSeperator,t.innerHTML=”•”,e.appendChild(t);const o=document.createElement(“span”);o.textContent=(0,Gt.getRelativeTimeString)(1e3*this.suggestion.timeStamp),e.appendChild(o)}o.appendChild(e)}return e.appendChild(t),e.appendChild(o),e}}})),en=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.SuggestionList=void 0;var n=Kt($t),o=Kt(Xt);const i={smartphone:”smartphone”,desktop:”desktop”},r=”typing”;t.SuggestionList=class{constructor(e,t){let{i13n:n,device:o,strings:r={},onClearCb:a,onSelectCb:s,rapidInstance:c}=t;this.els=e,this.listeners=new Zt.ListenerManager,this.i13n=n,this.strings=r,this.onClearCb=a,this.onSelectCb=s,this.rapidInstance=c,this.query=””,this.suggestions=null,this.resultsNode=null,this.suggestionNode=null,this.footerNode=null,this.selectedIndex=-1,this.onSelect=this.onSelect.bind(this),this.onClear=this.onClear.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onDocumentClick=this.onDocumentClick.bind(this),this.loadSuggestions=this.loadSuggestions.bind(this),this.hideSuggestions=this.hideSuggestions.bind(this),this.showSuggestions=this.showSuggestions.bind(this),this.onResize=this.onResize.bind(this),this.device=i[o]||”desktop”,this.init()}init(){const{clearBtn:e,input:t,resultsWrap:n}=this.els;if(n){t&&(t.setAttribute(“role”,”combobox”),t.setAttribute(“aria-autocomplete”,”both”),t.setAttribute(“aria-expanded”,”false”),t.setAttribute(“required”,””)),n.classList.add(o.default.noDisplay),this.resultsNode=document.createElement(“div”),this.resultsNode.className=o.default.suggestionList+” “+o.default[this.device],this.updateResultsNodeTopOffset(),this.suggestionNode=document.createElement(“div”),this.suggestionNode.className=o.default.resultsContainer,this.resultsNode.appendChild(this.suggestionNode),n.appendChild(this.resultsNode),this.footerNode=document.createElement(“footer”),this.footerNode.className=o.default.noDisplay;const i=document.createElement(“p”);i.className=o.default.tipMessage,i.textContent=(0,Gt.getFormattedMessage)(this.strings,”SEARCH_TIP”),this.footerNode.appendChild(i),this.resultsNode.appendChild(this.footerNode),e&&!t.checkValidity()&&(e.classList.add(o.default.noDisplay),this.listeners.add(e,”click”,this.onClear)),”smartphone”!=this.device&&this.listeners.add(window,”resize”,this.onResize)}}destroy(){const{clearBtn:e,resultsWrap:t,input:n}=this.els;this.listeners.destroy(),t&&(t.classList.remove(o.default.noDisplay),this.resultsNode.parentNode.removeChild(this.resultsNode),delete this.resultsNode),e&&n.checkValidity()&&e.classList.remove(o.default.noDisplay)}showSuggestions(){const{container:e,input:t,resultsWrap:n}=this.els;n&&(this.listeners.add(document,”click”,this.onDocumentClick),n.classList.remove(o.default.noDisplay),t&&(e&&(e.classList.add(r),document.body.classList.add(r)),t.setAttribute(“aria-expanded”,”true”)))}onSubmit(e){if(this.suggestionNode.length>0&&this.selectedIndex>-1){e.preventDefault();const t=this.suggestionNode[this.selectedIndex],n=Number(t.getAttribute(“data-index”)),o=Number(t.getAttribute(“data-pindex”));this.handleItemSelect(e,{sectionIndex:n,itemIndex:o,i13nModel:{elm:”kybrd”}},(e=>{“function”==typeof this.onSelectCb&&this.onSelectCb(e)}))}(0,Gt.beaconClick)(this.i13n.sec,”websrch”,{subsec:this.i13n.subsec,itc:0,elm:”itm”,elmt:”kybrd”,rspns:”nav”,pp:{query:this.query}},(()=>{e.target.submit()}),this.rapidInstance)}handleItemSelect(e,t){let{sectionIndex:n,itemIndex:o,i13nModel:i}=t,r=this.suggestions&&this.suggestions[n]&&this.suggestions[n].items&&this.suggestions[n].items[o]||{};const a=r?this.suggestions[n].linkCallback?this.suggestions[n].linkCallback:r.link:null;let s=a;a&&”function”==typeof a&&(s=a(e,r,(()=>{}))),(0,Gt.beaconClick)(this.i13n.sec,this.suggestions[n].sectionName,{subsec:this.i13n.subsec,itc:0,elm:”itm”,elmt:”link”,rspns:”nav”,ct:this.suggestions[n].type.toLowerCase(),cat:””,_p:n,cpos:o,pp:{query:this.query},tar:window.location.hostname,tar_uri:s,…i},(()=>{s&&window.location.assign(s)}),this.rapidInstance)}hideSuggestions(){const{clearBtn:e,container:t,input:n,resultsWrap:i}=this.els;i&&(document.removeEventListener(“click”,this.onDocumentClick),i.classList.add(o.default.noDisplay),e&&!n.checkValidity()&&e.classList.add(o.default.noDisplay),n&&n.setAttribute(“aria-expanded”,”false”),t&&(document.body.classList.remove(r),t.classList.remove(r)))}loadSuggestions(e,t){const{clearBtn:n,input:i}=this.els;this.suggestions&&t&&this.suggestions.timestamp>t.timestamp||(this.clear(),this.query=e,this.suggestions=t.suggestions,this.render(),n&&i.checkValidity()?n.classList.remove(o.default.noDisplay):n.classList.add(o.default.noDisplay),this.suggestions?.[0]&&0===Object.keys(this.suggestions[0]).length?this.resultsNode.classList.remove(o.default.BoxShadow):this.resultsNode.classList.add(o.default.BoxShadow))}onDocumentClick(e){this.els.form.contains(e.target)||this.hideSuggestions()}onSelect(e){let t=e.target;if(!t)return;for(;null!==t.parentNode&&(!t.nodeName||”li”!==t.nodeName.toLowerCase());)t=t.parentNode;const n=Number(t.getAttribute(“data-index”)),o=Number(t.getAttribute(“data-pindex”));this.handleItemSelect(e,{sectionIndex:n,itemIndex:o},(e=>{“function”==typeof this.onSelectCb&&this.onSelectCb(e)}))}onClear(e){const{clearBtn:t,input:n}=this.els;(0,Gt.beaconClick)(this.i13n.sec,”clr-click”,{subsec:this.i13n.subsec,itc:1,elm:”icn”,elmt:”clr”,outcm:”srch-clr”},(()=>{}),this.rapidInstance),t.classList.add(o.default.noDisplay),n.value=””,”function”==typeof this.onClearCb&&this.onClearCb(e),n.focus()}onKeyDown(e){“Enter”===e.key&&this.onSelect(e)}onResize(){this.updateResultsNodeTopOffset()}clear(){for(;this.suggestionNode.firstChild;)this.suggestionNode.removeChild(this.suggestionNode.firstChild);this.query=””,this.suggestions=null}render(){if(!this.suggestionNode)return;this.query?this.suggestionNode.classList.add(“is-gossip”):this.suggestionNode.classList.remove(“is-gossip”),this.footerNode.classList.contains(o.default.noDisplay)||(this.footerNode.classList.add(o.default.noDisplay),this.suggestionNode.classList.remove(o.default.BoxShadow));const e=document.createDocumentFragment();if(this.suggestions&&0!==this.suggestions.length)this.suggestions&&this.suggestions.forEach(((t,n)=>{const o=this.renderSectionHeader(t.title);o&&e.appendChild(o),e.appendChild(this.renderSectionList(t,n))}));else{const t=document.createElement(“div”);t.className=o.default.errorIcon,t.appendChild(new Jt.Icon({nodes:[[“path”,{d:n.default.path}]]}).render());const i=document.createElement(“div”);i.className=o.default.errorMessage,i.textContent=(0,Gt.getFormattedMessage)(this.strings,”MSG_NO_SEARCH_RESULTS”,{query:decodeURIComponent(this.query||””)}),e.appendChild(t),e.appendChild(i),this.footerNode.classList.remove(o.default.noDisplay)}this.suggestionNode.appendChild(e)}renderSectionList(e,t){const n=document.createDocumentFragment(),i=e.items;if(i&&Qt.SuggestionItem)for(let o=0;o0?e.offsetHeight:44)+”px”}}})),tn=o((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0;const n=()=>{};t.default=class{constructor(e){this.els=e,this.listeners=new Zt.ListenerManager}init(){let{getSearchResult:e=n,rapidInstance:t,i13n:o,device:i,strings:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{form:a,input:s}=this.els;if(a){if(!s)return void console.warn(“[SearchJS] No input Node found, see documentation to configure input”);let n=this.els.resultsWrap;n||(n=document.createElement(“div”),a.appendChild(n),this.els.resultsWrap=n);const c=this.suggestionList=new en.SuggestionList(this.els,{i13n:o,strings:r,device:i,container:n,onSelectCb:this.onSelect,onClearCb:this.onClear,rapidInstance:t});this.listeners.add(s,”input”,(0,Gt.debouncePromise)((t=>{if(c){const n=(t.target.value||””).trim();e(n,{type:”input”},(e=>{c.loadSuggestions(n,e)})),c.showSuggestions()}}))),this.listeners.add(s,”focus”,(()=>{if(c){const t=(s.value||””).trim();e(t,{type:”focus”},(e=>{c.loadSuggestions(t,e)})),c.showSuggestions()}})),this.listeners.add(s,”keydown”,(e=>{switch(e.key){case”ArrowUp”:case”ArrowDown”:break;case”Escape”:s.blur(),c?.hideSuggestions(e);break;case”Spacebar”:case” “:””===s.value.trim()&&(e.preventDefault(),e.stopPropagation())}})),this.listeners.add(a,”submit”,(e=>{e.preventDefault(),c?.onSubmit(e)})),this.listeners.add(a,”focusout”,(e=>{const t=e.relatedTarget;t&&!a.contains(t)&&(s.blur(),c?.hideSuggestions(e))}))}else console.warn(“[SearchJS] No form Node provided”)}destroy(){this.listeners.destroy(),this.suggestionList.destroy(),delete this.suggestionList}onSelect(e){let{index:t,type:n,url:o,symbol:i,query:r}=e;”function”!=typeof this.onSelectCb?window.location.assign(o):this.onSelectCb({index:t,type:n,url:o,symbol:i,query:r})}onClear(){this.suggestionList&&this.suggestionList.showSuggestions()}}})),nn=tn.default,on=function(){},rn=function(e){var t;null===(t=e.ybar)||void 0===t||t.classList.remove(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.remove(“ybar-overlay”),document.body.classList.remove(“ybar-overlay-noscroll”),e.input instanceof HTMLInputElement&&(e.input.value=””)},an=function(e,t,n){var o,i,r;void 0===n&&(n=on);var a=e.getConfig(),s=a.device,c=a.property,l=a.i18n[“searchjs-lib”],u=new nn(h(h({},t),{clearBtn:t.clearBtn}));u.init({device:s,i13n:{sec:”ybar”,subsec:”searchbox”},strings:{MSG_NO_SEARCH_RESULTS:l.MSG_NO_SEARCH_RESULTS,SEARCH_TIP:l[“SEARCH_TIP_”.concat(c.toUpperCase())]||l.SEARCH_TIP},getSearchResult:n}),t.ybar&&t.ybar.classList.contains(“ybar-ytheme-crunch”)&&(null===(o=t.ybarAccount)||void 0===o||o.addEventListener(“mouseenter”,(function(){u.suggestionList.hideSuggestions(),rn(t)}))),”smartphone”===s&&t.ybar&&t.ybar.classList.contains(“ybar-ytheme-crunch”)&&(null===(i=t.input)||void 0===i||i.addEventListener(“click”,(function(){t.container&&t.ybar&&t.container.addEventListener(“click”,(function(){if(t.ybar){if(t.ybar.classList.contains(“ybar-searchbox-assist-fullscreen”))return;t.ybar.classList.add(“ybar-searchbox-assist-fullscreen”)}document.documentElement.classList.contains(“ybar-overlay”)||(document.documentElement.classList.toggle(“ybar-overlay”),document.body.classList.add(“ybar-overlay-noscroll”))}))})),null===(r=t.backBtn)||void 0===r||r.addEventListener(“click”,(function(e){e.stopPropagation(),u.suggestionList.hideSuggestions(),rn(t)})),e.onDestroy((function(){rn(t)}))),e.onDestroy((function(){u.destroy()}))};ge(“ybar-mod-searchjs-lib”,(function(e){!function(e,t){v(void 0,void 0,void 0,(function(){var n,o;return y(this,(function(i){switch(i.label){case 0:return t.form&&t.input?”function”!=typeof nn?(c(“SA Error”,new Error(“Search lib not found. SearchAssist failed to initialise”)),[2]):[3,2]:(c(“searchjs-lib init”,new Error(“Search form elements not found”)),[2]);case 1:return n=i.sent().getPlugin,o=n(e,t).getSearchResult,an(e,t,o),[3,6];case 2:return[3,4];case 3:return n=i.sent().getPlugin,o=n(e,t).getSearchResult,an(e,t,o),[3,6];case 4:return[4,Promise.resolve().then((function(){return Ro}))];case 5:n=i.sent().getPlugin,o=n(e,t).getSearchResult,an(e,t,o),i.label=6;case 6:return[2]}}))}))}(e,{backBtn:document.getElementById(“ybar-search-back-btn”),clearBtn:document.getElementById(“ybar-sbq-x”),container:document.getElementById(“ybar-search-box-container”),form:document.getElementById(“ybar-sf”),input:document.getElementById(“ybar-sbq”),ybar:document.getElementById(“ybar”),ybarAccount:document.getElementById(“ybarAccountProfile”)})}));var sn=”_yb_tdk4ba”,cn=”_yb_hkd17a”,ln=”_yb_rtzclf”,un=”_yb_tdbhj6″,dn=”_yb_de52ef”,pn=”_yb_9hwrey”,mn=”_yb_slc8ta”,fn=”_yb_bf0svp”,hn=”_yb_hjic9z”;ge(“ybar-mod-adaptivenav”,(function(e){var t=document.querySelector(“#ybar-l1-more-menu ul”),n={moreDropDown:document.querySelector(“.”.concat(sn)),moreBtn:document.querySelector(“.”.concat(cn)),wrap:document.querySelector(“.”.concat(un)),moreSectionTitle:document.querySelectorAll(“.”.concat(dn)),editionsCtaBtn:document.querySelector(“.”.concat(pn)),editionsMenu:document.querySelector(“.”.concat(mn)),closeBtn:document.querySelector(“.”.concat(fn)),moreMenuDropDownHeight:t?””.concat(t.offsetHeight+48,”px”):”0″};new Nt(e,{adaptiveNavBtn:n.moreBtn,containerElm:n.moreDropDown,innerContainerElm:n.editionsMenu,isAdaptiveNav:!0});var o=!1,i=function(t,n){var o=t.moreDropDown,i=t.moreBtn,r=t.wrap,a={sec:”ybar”,slk:”More”,elm:”expand”,pkgt:”top”,subsec:”navrail”,itc:”1″};o&&i&&r&&o.classList.contains(“”.concat(sn))&&(o.style.height=t.moreMenuDropDownHeight,o.classList.remove(“”.concat(sn)),r.classList.add(“”.concat(ln)),i.setAttribute(“aria-expanded”,”true”),a.elm=”expand”,e.triggerEvent(“adapnav:more:show”,{event:n}),ee(“ybar”,a.slk,””,a))},r=function(e,t){void 0===t&&(t=!1);var n=e.moreDropDown,i=e.moreBtn,r=e.wrap,a={sec:”ybar”,slk:”More”,elm:”close”,pkgt:”top”,subsec:”navrail”,itc:”1″};n&&i&&r&&(n.classList.contains(“”.concat(sn))||(n.classList.add(“”.concat(sn)),n.style.height=”0″,r.classList.remove(“”.concat(ln)),i.setAttribute(“aria-expanded”,”false”),o||t||ee(“ybar”,a.slk,””,a)))},a=function(e,t){void 0===t&&(t=!1);var n=e.editionsMenu,o={sec:”ybar”,slk:”More”,elm:”close”,pkgt:”top”,subsec:”navrail”,itc:”1″};null==n||n.close(),null==n||n.classList.remove(“”.concat(hn)),t||ee(“ybar”,o.slk,””,o)},s=function(){var e;window.innerWidtho.right||e.clientYo.bottom)&&a(n)})),window.addEventListener(“resize”,s)),e.onDestroy((function(){r(n,!0),a(n,!0),window.removeEventListener(“resize”,s)}))}));var vn,yn,gn,bn={“account-status-container”:”_yb_ymi0h2″,”accounts-container”:”_yb_cbk7gs”,”accounts-list”:”_yb_1xscf7t”,chevron:”_yb_pa7kxr”,current:”_yb_z3vl31″,expanded:”_yb_1wdvidv”,greetings:”_yb_hz3nxi”,”greetings-container”:”_yb_1dvo2p8″,hide:”_yb_1tqu5w”,mobile:”_yb_303pw”,multiple:”_yb_dx6pd0″,”loading-profile-wrapper”:”_yb_5m8r7u”,”loading-profile-button”:”_yb_qaqab3″,”notification-container”:”_yb_1vpbvgz”,”pfs-container”:”_yb_12irxp7″,”pfs-iframe”:”_yb_1a475s8″,show:”_yb_1tj3rr”,”sign-in-menu”:”_yb_mpd5lf”,”signed-in”:”_yb_1330230″,”signed-in-mark”:”_yb_1puqf10″,”signed-out”:”_yb_43r3tx”,”signedout-text”:”_yb_1a59ed4″,”stacked-name”:”_yb_ts4lap”,”stacked-name-given”:”_yb_zb2ipb”,”stacked-name-family”:”_yb_1v4uiyy”,”uh3-layout”:”_yb_19rb0y5″,”ybar-account-img”:”_yb_12iiv1a”,”ybar-account-img-signed-out”:”_yb_cbs8y”,”ybar-account-img-hidden”:”_yb_1owxd09″,”ybar-account-menu”:”_yb_9u1jny”,”ybar-account-menu-item-signed-out”:”_yb_1qla71m”,”ybar-account-user-email”:”_yb_1on73m5″,”ybar-account-user-email-other”:”_yb_u3fczo”,”ybar-account-user-name”:”_yb_5pkkfa”,”ybar-account-user-signedout”:”_yb_axu8rh”,”ybar-account-yahoo-plus-imp”:”_yb_14bnbgj”,”ybar-icon-arrow”:”_yb_1tu7gjy”,”ybar-icon-arrow-down”:”_yb_ngz6b5″,”ybar-icon-arrow-up”:”_yb_1nagqiu”,”ybar-icon-image-wrapper”:”_yb_19gpxwu”,”ybar-item-hidden”:”_yb_559mjn”,”ybar-login-btn”:”_yb_11glrwn”,”ybar-mod-account”:”_yb_lq748r”,”ybar-mod-mail”:”_yb_1e163lf”,”ybar-profile-character”:”_yb_10rialq”,”ybar-profile-character-hidden”:”_yb_1e2i1rd”,”ybar-see-info”:”_yb_uiw8wx”,”ybar-sign-out”:”_yb_j1eqwx”,”ybar-sign-out-text”:”_yb_dvnuy9″,”ybar-user-accounts-list”:”_yb_15pu2gg”,”ybar-user-profile-img”:”_yb_1mawsyw”,”account-switcher-item-container”:”_yb_1kjh1ov”,”account-switcher-chevron”:”_yb_ju6kvv”,”account-switcher-container”:”_yb_62ip13″,”hide-universal-profile”:”_yb_11o7p8y”,”hide-account-switcher-container”:”_yb_dwibp6″,”settings-item-container”:”_yb_94wwjn”,”universal-profile-switch-button”:”_yb_1p1qbi3″,”universal-profile”:”_yb_1y7wwv3″,”account-switcher-settings-container”:”_yb_zw2im7″,”account-switcher-signout-link”:”_yb_1an82qo”,”signout-link-wrapper”:”_yb_gk0uu2″,”ybar-keyline”:”_yb_1rsy4q0″,”hide-up-settings”:”_yb_1wofy5w”};vn=”ybar”,gn={createHTML:function(e){return e}},void 0!==(yn=window.trustedTypes)&&void 0!==yn.createPolicy&&window.trustedTypes.createPolicy(vn,gn);var wn,_n=!1,Ln=function(e,t,n){var o,i=n.ybarAccMenuItemTemplate,r=n.crumb;if(i){var a=(t+1).toString(),s=i.getAttribute(“data-signedOutState”),c=i.getAttribute(“data-signedInState”)||””,l=i.getAttribute(“data-done”)||””,u=function(e){if(“content”in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=0;–n){e[n]=(r=void 0,(r={fn:(i=e[n]).fn||””,ln:i.ln||””,em:i.em||””,alias:i.alias||””,imageUrl:i.imageUrl,state:i.state,fullName:null,identifier:””}).fullName=me(r.fn,r.ln)?[r.ln,r.fn].join(“”):[r.fn,r.ln].join(” “),r.identifier=r.em||r.alias,r);var o=e[n].state;0!==o&&”0”!==o||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),wn=e[n],t||e.splice(n,1)[0])}var i,r;return e}(r.users,t.isUH3Layout);if(t.isUH3Layout&&wn){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(“.”.concat(bn[“ybar-profile-character-hidden”])),u=wn.fn&&wn.fn[0].toUpperCase()||””,d=me(wn.fn,wn.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(bn[“loading-profile-button”])};if(l&&pe(wn.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(bn[“ybar-profile-character-hidden”]);else{var m=new Image;m.classList.add(bn[“ybar-account-img”],bn[“ybar-account-img-hidden”]),m.src=wn.imageUrl,m.alt=t.ybarLoadingProfileWrapper.getAttribute(“data-alt”)||””,m.ontransitionend=p,m.onload=function(){m.classList.remove(bn[“ybar-account-img-hidden”])},t.ybarLoadingProfileWrapper.parentElement.prepend(m),l&&l.remove()}}c.length>0&&(t.chevron&&t.chevron.classList.remove(“hide”),t.greetingsContainer&&(t.greetingsContainer.classList.add(bn.multiple),t.greetingsContainer.setAttribute(“aria-expanded”,”false”)))}for(var f=document.querySelector(“.”.concat(bn[“ybar-user-accounts-list”]))||document.querySelector(“.”.concat(bn[“accounts-list”])),h=function(n){var o=Ln(c[n],n,t);o&&(null==f||f.appendChild(o)),e.onDestroy((function(){o&&(null==f||f.removeChild(o))}))},v=0;v0){var y=document.querySelector(“”.concat(a,” .”).concat(bn[“ybar-sign-out”])),g=y&&y.getAttribute(“data-soa”),b=document.querySelector(“”.concat(a,” .”).concat(bn[“ybar-sign-out-text”]));if(b&&g&&(b.innerText=g),s&&s.classList.add(bn.show),n){var w=document.querySelector(“”.concat(a,” “).concat(bn[“ybar-icon-arrow”])),_=bn[“ybar-icon-arrow-up”],L=bn[“ybar-icon-arrow-down”],E=bn[“ybar-item-hidden”],C=document.querySelectorAll(“.”.concat(bn[“ybar-item-hidden”]));w&&(w.classList.toggle(L),e.addElementListener(w,”click”,(function(){for(var e=0;e5){var k=document.querySelector(“”.concat(a,” .”).concat(bn[“ybar-see-info”]));k&&k.style&&(k.style.display=”block”)}Cn(t,e),o&&o(),_n=!1}))}},Sn=function(e,t,n){var o,i,r,a,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:”ybar”}),d=null,p=”https://pfs.yahoo.com”,m=function(e){for(var t=e.split(“;”),n=new Map,o=0;o720?720:e},v=function(){document.body.removeEventListener(“focusin”,v,!1),document.body.removeEventListener(“click”,v,!1)},y=function(){d&&f(“resize”,{height:h()})},b=function(){var r;if(null===d){(d=document.createElement(“iframe”)).src=””.concat(p,”/?”).concat(u.toString()),d.scrolling=”no”,d.sandbox.add(“allow-forms”),d.sandbox.add(“allow-scripts”),d.sandbox.add(“allow-same-origin”),d.sandbox.add(“allow-popups”),d.classList.add(n),d.style.height=”0px”,d.style.opacity=”0″;var a=document.createElement(“style”);a.type=”text/css”,a.appendChild(document.createTextNode(“body { background: var(–UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(–UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(–Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(–Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(–Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(–Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(–Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }”)),d.addEventListener(“load”,(function(){setTimeout((function(){var n;o&&i||(e.triggerEvent(“ybar-pfs-init-failure”),null===(n=null==d?void 0:d.parentNode)||void 0===n||n.removeChild(d),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute(“data-pfs”,”err”))}),500)})),t.loggedInUserElement&&(t.iframeContainer.appendChild(d),d.contentDocument&&(d.contentDocument.head.appendChild(a),d.contentDocument.body.innerHTML=’n ‘,d.style.opacity=”1″,setTimeout((function(){d&&(d.style.height=”300px”)}),100)),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,”mouseenter”,y),e.addElementListener(t.ybarAccountMenu.parentNode,”focus”,y),e.addElementListener(t.ybarAccountMenu.parentNode,”keyup”,y),null===(r=t.accountSwitcherChevron)||void 0===r||r.addEventListener(“click”,y)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,”mouseenter”,b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,”focus”,b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,”keyup”,b,{once:!0}),e.onDestroy((function(){v(),d=null})),t.ybarAccountContainer){var w=t.ybarAccountContainer.getAttribute(“data-prod”);”false”===w&&(p=”https://stage.pfs.yahoo.com”),u.set(“intl”,”us”),u.set(“src”,l.property),u.set(“version”,”2″),u.set(“lang”,l.locale),u.set(“theme”,(r=”light”,a=document.documentElement,null!==(s=a.getAttribute(“data-color-theme-enabled”))&&”false”!==s&&(r=”dark”===a.getAttribute(“data-color-scheme”)?”dark”:”auto”),r)),”false”===w&&u.set(“bucket”,”mbr-up-pfs-five”),u.set(“done”,window.location.href),u.set(“pspid”,le())}window.addEventListener(“message”,(function(e){if(e.origin===p){var t=function(e){var t={cmd:”noop”,params:{height:”0px”,width:””,url:””,”data-ylk”:””}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==d&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case”iframeready”:o=e.origin,i=e.source,f(“initialize”,{height:h(),maxAccounts:3,enableAnimations:!0,animationDuration:”500ms”,animationTimingFunction:”ease-in-out”});break;case”hide”:case”hide-for-animation”:case”show”:d.style.height=t.params.height,t.params.width&&(d.style.width=t.params.width);break;case”redirect”:c=m(t.params[“data-ylk”]),ee(“ybar”,c.slk||”account”,””,c),window.location=t.params.url;break;case”popup”:c=m(t.params[“data-ylk”]),ee(“ybar”,c.slk||”account”,””,c),window.open(t.params.url,”_blank”)}}}))}},xn=null,An=!0,Mn=0,Nn={ybarAccountImage:{selector:”ybar-account-img”,size:”64″},ybarCurrentUserProfileImage:{selector:”ybar-current-user-profile-img”,size:”128″},ybarUserProfileImage:{selector:”ybar-user-profile-img”,size:”128″}},In=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,i=t.ybarMobile,r=t.ybarMenuManagePub,a=t.signInAccountMenu,s=t.signInBtn,l=t.ybarModAccount,u=t.yahooPlusImpression,d=t.ybarLabel,p=t.accountSwitcherButton,m=t.universalProfile,f=t.universalProfileSettings,h=t.accountSwitcherContainer,v=t.accountSwitcherChevron,y=t.accountSwitcherSettings,g=t.signoutLinkWrapper,b=t.universalProfileKeyLine,w=t.financeApprBtnEl,_=function(){new Nt(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:”.”.concat(bn[“greetings-container”],”.”).concat(bn.multiple)})},L=function(o){if(n)n.style.removeProperty(“display”),”false”===n.getAttribute(“data-enabled”)&&(n.style.display=”none”),Cn(t,e);else{var i=new Error(“ybarAccountContainer not Found”);c(“ERROR:”,i)}n&&An&&(An=!1,e.onDestroy((function(){An=!0})),kn(e,t,o,_))},E=function(){var e,t;0===Mn&&(Mn=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener(“mouseenter”,E),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener(“focusin”,E),setTimeout((function(){te()}),500))},C=function(t){e.triggerEvent(“ybar:show_theme_modal”,{event:t})},k=function(i){(null==n?void 0:n.classList.contains(“ybarMenuOpen”))||(null==o?void 0:o.classList.contains(bn[“loading-profile-button”]))||(null==n||n.classList.add(“ybarMenuOpen”),null==o||o.setAttribute(“aria-expanded”,”true”),e.triggerEvent(“close-all-menus”),e.triggerEvent(“profile:show”,{event:i}),document.activeElement===o&&setTimeout((function(){!function(){var e;null===(e=t.ybarAccountMenu)||void 0===e||e.blur(),(null==m?void 0:m.classList.contains(“hide-universal-profile”))?null==v||v.focus():(null==f?void 0:f.children[0].children[0].children[0]).focus()}()}),300))},S=function(){null==n||n.classList.remove(“ybarMenuOpen”),null==o||o.setAttribute(“aria-expanded”,”false”)},x=function(e){if(o&&n){if(o.classList.contains(bn[“loading-profile-button”]))return;n.classList.contains(“ybarMenuOpen”)?S():k(e)}},A=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},M=function(){if(u&&!u.getAttribute(“src”)&&u.getAttribute(“data-src”)){var t=u.getAttribute(“data-src”)||””;Bt(t).then((function(e){null===xn&&((xn=document.createElement(“iframe”)).src=”https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1″,xn.sandbox.add(“allow-scripts”),xn.sandbox.add(“allow-same-origin”),xn.height=”0″,xn.width=”0″,xn.referrerPolicy=”origin”,xn.style.display=”none”,xn.style.visibility=”hidden”,document.body.appendChild(xn)),u.setAttribute(“src”,e)})),e.onDestroy((function(){u.setAttribute(“src”,””),xn=null}))}};null==p||p.addEventListener(“click”,(function(){return function(e,t,n,o,i,r,a){null==e||e.classList.add(“hide-universal-profile”),null==e||e.classList.add(“hide”),null==t||t.classList.add(“hide”),null==t||t.classList.add(“”.concat(bn[“hide-up-settings”])),null==n||n.classList.add(“”.concat(bn[“account-switcher-signout-link”])),null==o||o.classList.add(“hide”),null==i||i.classList.remove(“”.concat(bn[“hide-account-switcher-container”])),null==r||r.classList.remove(“”.concat(bn[“account-switcher-settings-container”])),null==a||a.focus()}(m,f,g,b,h,y,v)})),null==v||v.addEventListener(“click”,(function(){return function(e,t,n,o,i,r){null==e||e.classList.remove(“hide-universal-profile”),null==t||t.classList.remove(“hide”),null==t||t.classList.remove(“”.concat(bn[“hide-up-settings”])),null==n||n.classList.remove(“”.concat(bn[“account-switcher-signout-link”])),null==o||o.classList.remove(“hide”),null==i||i.classList.add(“”.concat(bn[“hide-account-switcher-container”])),null==r||r.classList.add(“”.concat(bn[“account-switcher-settings-container”])),(null==t?void 0:t.children[0].children[0].children[0]).focus()}(m,f,g,b,h,y)})),s&&(function(e,t,n,o,i){e.addElementListener(t,”mouseenter”,(function(){var e=JSON.stringify({sec:n,slk:o,params:i});ke[e]||(ke[e]=!0,ee(n,o,””,i),setTimeout((function(){delete ke[e]}),1e3))}))}(e,s,”ybar”,”sign-in”,{elm:”signin”,subsec:”settings”,itc:”2″}),Cn(t,e));var N=function(){L(!1),e.addEventListener(“close-all-menus”,(function(){a&&a.classList.contains(bn.show)&&a.parentNode&&!Ce(a.parentNode)&&S()}));e.onDestroy((function(){S()})),o&&(o.onchange=function(){e.triggerEvent(“close-all-menus”)},{itc:”2″,elm:”menu”,elmt:”user-info”,subsec:”accounts”},l&&(e.addElementListener(l,”mouseenter”,M),e.addElementListener(l,”focus”,M)),o&&o.parentNode&&e.addElementListener(o.parentNode,”mouseenter”,E),Se(“#ybarAccountMenu”,”#ybarAccountMenu + label”,e)),e.addElementListener(l,”mouseenter”,x),e.addElementListener(l,”mouseleave”,S),e.addElementListener(o,”click”,x),e.addElementListener(r,”click”,S),e.addElementListener(l,”mouseenter”,A),null==l||l.addEventListener(“keydown”,(function(e){!function(e){var o;switch(e.key){case”ArrowDown”:k(e);break;case” “:case”Enter”:document.activeElement===t.ybarAccountMenu&&e.preventDefault(),k(e);break;case”Escape”:(null==n?void 0:n.classList.contains(“ybarMenuOpen”))&&(null===(o=t.ybarAccountMenu)||void 0===o||o.focus())}}(e)})),null==g||g.addEventListener(“keydown”,(function(e){!function(e){“Tab”===e.key&&(null==n||n.classList.remove(“ybarMenuOpen”),null==o||o.setAttribute(“aria-expanded”,”false”))}(e)}))};(o||i||a)&&(i?L(!0):(n&&”true”===n.getAttribute(“data-pfs”)&&(Sn(e,t,bn[“pfs-iframe”]),e.addEventListener(“ybar-pfs-init-failure”,(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(bn[“pfs-container”]),N();ee(“ybar”,”pfs-load-failure”,””,{elm:”btn”,subsec:”profile”,itc:”1″})}))),N()),Object.keys(Nn).forEach((function(e){var t=Nn[e],n=document.querySelector(“.”.concat(bn[t.selector]));n&&(n.onerror=function(){var e,o,i;e=t.size,i=”https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_”+e+”.svg”,(o=n).onerror=null,o.srcset=””,o.src=i})}))),window.addEventListener(“keyup”,(function(e){27===e.keyCode&&(S(),null==d||d.blur())})),null==w||w.addEventListener(“click”,(function(e){C(e)})),null==w||w.addEventListener(“keydown”,(function(e){(e instanceof KeyboardEvent&&”Tab”!==e.key&&e.preventDefault(),e instanceof KeyboardEvent&&”Enter”===e.key)&&(“Enter”===e.key&&C(e))}))};ge(“ybar-account-init”,(function(e){var t,n=document.getElementById(“ybarAccountContainer”),o={ybarAccountContainer:n,ybarAccountMenu:document.getElementById(“ybarAccountMenu”),loggedInUser:document.querySelectorAll(“#ybarAccountProfile”),loggedInUserElement:document.getElementById(“ybarAccountProfile”),iframeContainer:document.getElementById(“iframe-container”),ybarMobile:document.querySelector(“.”.concat(bn.mobile,” .”).concat(bn[“ybar-account-user-email”])),ybarMenuManagePub:document.getElementById(“ybarMenuManagePub”),signInAccountMenu:document.querySelector(“.”.concat(bn[“ybar-mod-account”],” .”).concat(bn[“sign-in-menu”])),signInBtn:document.querySelector(“.”.concat(bn[“ybar-mod-account”],” .”).concat(bn[“ybar-login-btn”])),ybarModAccount:document.querySelector(“.”.concat(bn[“ybar-mod-account”])),yahooPlusImpression:n&&n.querySelector(“.”.concat(bn[“ybar-account-yahoo-plus-imp”])),crumb:document.querySelector(‘input[name=”uh-crumb”]’),jsapicrumb:document.querySelector(‘input[name=”jsapicrumb”]’),ybarAccMenuItemTemplate:document.getElementById(“ybarAccMenuItemTemplate”),isUH3Layout:!!document.querySelector(“.”.concat(bn[“uh3-layout”])),isAOLMail:”aol”===(null===(t=document.getElementById(“ybar”))||void 0===t?void 0:t.getAttribute(“data-ns”)),chevron:document.querySelector(“.”.concat(bn.chevron)),greetingsContainer:document.querySelector(“.”.concat(bn[“greetings-container”])),ybarAccountMenuBody:document.getElementById(“ybarAccountMenuBody”),stackedName:document.querySelector(“.”.concat(bn[“stacked-name”])),stackedNameGiven:document.querySelector(“.”.concat(bn[“stacked-name-given”])),stackedNameFamily:document.querySelector(“.”.concat(bn[“stacked-name-family”])),ybarLabel:document.querySelector(“#ybarAccountMenuOpener”),ybarLoadingProfileWrapper:document.querySelector(“.”.concat(bn[“loading-profile-wrapper”])),universalProfile:document.getElementById(“universalProfile”),universalProfileSettings:document.getElementById(“universalProfileSettings”),accountSwitcherSettings:document.getElementById(“accountSwitcherSettings”),accountSwitcherContainer:document.querySelector(“.”.concat(bn[“account-switcher-container”])),universalProfileKeyLine:document.querySelector(“.”.concat(bn[“ybar-keyline”])),accountSwitcherButton:document.querySelector(“.”.concat(bn[“universal-profile-switch-button”])),accountSwitcherChevron:document.querySelector(“.”.concat(bn[“account-switcher-chevron”])),signoutLinkWrapper:document.querySelector(“.”.concat(bn[“signout-link-wrapper”])),financeApprBtnEl:document.getElementById(“fin-appr-btn”)};In(e,o)}));var Tn={“popover-body”:”_yb_1cv16f4″,”ybar-mail-link”:”_yb_1b0y3p9″,”ybar-mail-preview”:”_yb_q2xbhz”,”ybar-mail-signin-link”:”_yb_hnauxw”,”ybar-mod-mail”:”_yb_10309ej”,”ybar-mod-mail-promo-imp”:”_yb_6ci77k”,”ybar-large-unread”:”_yb_9b6j40″,”ybar-mid-unread”:”_yb_12gd9wd”,”ybar-mail-indicator”:”_yb_tnmz0c”,”ybar-unread-active”:”_yb_jdf7pt”,”count-loaded”:”_yb_13nwx6d”},On=function(e){var t,n;null===(t=e.mailPreview)||void 0===t||t.classList.add(“ybarMenuOpen”),null===(n=e.mailLink)||void 0===n||n.setAttribute(“aria-expanded”,”true”)},qn=function(e){var t,n;null===(t=e.mailPreview)||void 0===t||t.classList.remove(“ybarMenuOpen”),null===(n=e.mailLink)||void 0===n||n.setAttribute(“aria-expanded”,”false”)},Bn=function(e,t,n){var o=t.mailLink,i=t.mailUnread,r=t.mailUnreadSpan,a=t.mailIndicator,s=t.mailModule,c=””.concat(Tn[“ybar-unread-active”]);n.fetchCount().then((function(t){if(i&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute(“aria-label”)&&n&&o.setAttribute(“aria-label”,n.replace(“{count}”,t.toString())),i.classList.add(c),a&&(a.classList.add(c),null==s||s.classList.add(c)),r){var l=t>99;r.textContent=l?”99+”:t+””,i.classList.add(“”.concat(Tn[“count-loaded”])),l?i.classList.add(“”.concat(Tn[“ybar-large-unread”])):t>=10&&i.classList.add(“”.concat(Tn[“ybar-mid-unread”]))}e.onDestroy((function(){i.classList.remove(c),a&&a.classList.remove(c),r&&(r.textContent=””)}))}})).catch((function(){}))};ge(“ybar-mail-init”,(function(e){var t=document.getElementById(“ybarUnread”);!function(e,t){var n=t.mailModule,o=t.mailLink,i=t.mailSigninLink,r=t.mailPreview;if(n){var a=new vt;if(e.addElementListener(n,”mouseenter”,(function(){e.triggerEvent(“close-all-menus”)})),e.addEventListener(“close-all-menus”,(function(){Ce(n)||qn(t)})),e.addElementListener(r,”focusin”,(function(){On(t)})),e.addElementListener(r,”focusout”,(function(){qn(t)})),e.onDestroy((function(){qn(t)})),i){var s=o.getAttribute(“data-redirect-params”);if(s&&””!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf(“&activity=ybar-“)?””:s.replace(/[[pspid]]/,le()),o.href=de(o.href)+s,(null==i?void 0:i.href)&&(i.href=de(i.href)+s)}}else Bn(e,t,a)}}(e,{mailModule:document.querySelector(“.”.concat(Tn[“ybar-mod-mail”])),mailIndicator:document.querySelector(“.”.concat(Tn[“ybar-mail-indicator”])),mailLink:document.querySelector(“.”.concat(Tn[“ybar-mail-link”])),mailSigninLink:document.querySelector(“.”.concat(Tn[“ybar-mail-signin-link”])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector(“span”),mailPreview:document.getElementById(“ybarMailPreview”),popoverBody:document.querySelector(“.”.concat(Tn[“popover-body”].split(” “).join(“.”))),mailPreviewPopover:document.querySelector(“.”.concat(Tn[“ybar-mail-preview”].split(” “).join(“.”),” .”).concat(Tn[“popover-body”].split(” “).join(“.”)))})}));var Dn,Pn,Rn=”_yb_rbr9p9″,Hn=”_yb_ac74t6″,zn=”_yb_8737ki”,Un=”_yb_1vnnmze”,jn=”_yb_h1s1bv”,Yn=”_yb_bkrga4″,Fn=”_yb_kwlkcz”,Wn=”_yb_1772h7s”,Vn=”_yb_15viflt”,Gn=”_yb_zzzvko”,Kn=function(e){var t=document.querySelector(“#ybar-navigation-item-mail”),n=document.querySelector(“#ybar-navigation-item-mail > a”),o=document.querySelector(“#ybar-navigation-item-mail > a > span”);null!==t&&null!==n&&(new vt).fetchCount().then((function(t){o&&t>0&&(o.textContent=”(“+(t>99?”99+”:t)+”)”,e.onDestroy((function(){o.textContent=””})))})).catch((function(){}))},$n=!1,Jn=-1,Xn=function(e,t,n){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(Pn)u+=Pn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),m=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=a;){var E=e.navItems[L].cloneNode(!0),C=E.querySelector(“a”);C&&(C.setAttribute(“id”,””),C.classList.remove(zn));var k=E.querySelector(“.”.concat(e.navigationDropdownListClass));if(k&&E.removeChild(k),E.classList.remove(e.dropdownWrapperClass),E.classList.remove(e.ybarNavigationItemClass),E.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(E,e.moreMenuDropdown.firstChild);var S=E.getElementsByTagName(“a”)[0];n.unshiftMoreMenuItem(S)}null===(r=e.navItems[L].querySelector(“a”))||void 0===r||r.setAttribute(“tabindex”,”-1″),L–}Jn=a}if(-1!==a&&e.navList){var x=parseInt(s.toString(),10)+”px”;e.navList.style.maxWidth=x,t.textContent=”.”.concat(Fn,”{ max-width: “).concat(x,”}”)}Pn||(e.moreMenuNavItem&&e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()?(e.moreMenuNavItem.classList.add(e.dropdownWrapperClass),e.moreMenuNavItem.style.visibility=”visible”):null!==e.moreMenuNavItem&&(e.moreMenuNavItem.classList.remove(e.dropdownWrapperClass),e.moreMenuNavItem.style.visibility=”hidden”),e.moreMenuDropdown&&e.moreMenuDropdown.childElementCount>10?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass))}},Zn=function(e,t){var n,o=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute(“aria-expanded”,n))},i=function(){t.isTablet&&(document.body.classList.remove(“ybar-nav-open”),document.body.removeEventListener(“touchend”,u))},r=function(n){var i=n.delegateTarget;i&&i.classList.contains(t.dropdownWrapperClass)&&(i.classList.contains(t.dropdownOpenClass)||(e.triggerEvent(“nav:dropdown:show”,{event:n}),t.isTablet&&(document.body.classList.add(“ybar-nav-open”),document.body.addEventListener(“touchend”,u)),i.classList.add(t.dropdownOpenClass),o(i,”true”)))},a=function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var r=n.parentElement;r&&!r.contains(e.relatedTarget)&&r.classList.contains(t.dropdownWrapperClass)&&(i(),r.classList.remove(t.dropdownOpenClass),o(r,”false”))}else if(null==n?void 0:n.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var a=e.target;Pn&&(!Pn||Pn.contains(a)&&”focusout”!==e.type)||(i(),n.classList.remove(t.dropdownOpenClass),o(n,”false”))}},s=xt(“.”.concat(t.dropdownWrapperClass),”focusin”,r),c=xt(“.”.concat(t.dropdownWrapperClass,”, .”).concat(t.navigationDropdownListClass),”focusout”,a),l=document.getElementById(“ybar-navigation”),u=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(“.”.concat(t.dropdownOpenClass)))||document.body.classList.contains(“ybar-nav-open”)&&![“svg”,”path”].includes(n.tagName)&&(null==l||l.querySelectorAll(“.”.concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),i())};e.addEventListener(“nav:closeOverflowMenu”,(function(){u()}));var d=xt(“.”.concat(t.dropdownWrapperClass),”touchstart”,(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?a(e):(u(e),r(e))}})),p=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(“.”.concat(Yn));null==p||p.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(“.ybar-ytheme-crunch”)&&e.addElementListener(n,”mouseenter”,(function(t){e.triggerEvent(“nav:dropdown:show”,{event:t})}))})),e.onDestroy((function(){var e;d.destroy(),s.destroy(),c.destroy(),b([],g(null===(e=t.ybarNav)||void 0===e?void 0:e.querySelectorAll(“.”.concat(t.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(t.dropdownOpenClass);var n=document.activeElement;(function(e,t){var n=!1;if(!e||!t)return n;if(“function”==typeof e.contains)n=e.contains(t);else for(var o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))},Qn=function(e,t,n,o){for(var i=t||window.location.pathname,r=n||window.location.hostname,a=(o||{}).setParentFocus,s=void 0!==a&&a,c=b([],g(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),r=new Nt(e,{containerElm:t.ybarNav,navlistItemSelector:”.”.concat(Vn,” > li”),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:i,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;b([],g(null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(“.”.concat(t.dropdownOpenClass))),!1).forEach((function(e){return e.classList.remove(t.dropdownOpenClass)}));var i=e.getConfig();Pn=(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?Dn=-12:(Dn=”finance”!==i.property&&”sports”!==i.property&&t.shiftMoreMenuEnabled?-24:-16,”zh-Hant-HK”!==i.locale&&”zh-Hant-TW”!==i.locale||(Dn=-20));var r=t.isTablet?”touchstart”:”mouseover”,a=xt(“.”.concat(t.dropdownWrapperClass,”, .”).concat(t.navigationDropdownListClass),r,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,r=n.delegateTarget;if(r&&-1!=r.className.indexOf(t.dropdownWrapperClass)&&(r=r.querySelector(“.”.concat(t.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=Dn+”px”),t.isTablet){var l=r.previousElementSibling;if(Pn&&Pn.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,t),Kn(e),e.addElementListener(document,”DOMContentLoaded”,(function(){Kn(e)})),Zn(e,t);var a=e.getConfig().bucketConfig,s=void 0===a?{}:a,c=s.enableDynamicNavfocus,l=void 0!==c&&c,u=s.enableFuzzyMatching;if(l&&($n=void 0!==u&&u,Qn(t)),e.addEventListener(“nav:setFocus”,(function(e){var n=e.detail,o=void 0===n?{}:n,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;Qn(t,s,r,void 0===c?{}:c)})),i){var d=document.createElement(“style”);d.title=”ybar_nav_interim”,document.head.appendChild(d);var p=xt(“#ybar-nav-more-menu ul a”,”click”,(function(t){e.triggerEvent(“navigation”,{event:t})}));e.addEventListener(“nav:resize”,(function(){Xn(t,d,r)})),Xn(t,d,r);var m=e.getConfig();if(“complete”===document.readyState)eo(e,t,d,r);else{var f=”load”;(“news”===m.property&&(“zh-Hant-TW”===m.locale||”zh-Hant-HK”===m.locale)||”finance”===m.property&&”zh-Hant-TW”===m.locale)&&(f=”DOMContentLoaded”),e.addElementListener(window,f,(function(){eo(e,t,d,r)}))}e.addElementListener(window,”resize”,(function(){Xn(t,d,r)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}oo(e,t)},no=function(e,t){var n=[“zh-Hant-TW”,”zh-Hant-HK”].includes(e.getConfig().locale);return t.isFuji2&&n},oo=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,”DOMContentLoaded”,(function(n){t.isNavHidden()&&e.triggerEvent(“l2:hide”,{event:n})})),e.addElementListener(window,”resize”,(function(o){!n&&t.isNavHidden()&&e.triggerEvent(“l2:hide”,{event:o}),n=t.isNavHidden()}))}},io=”#ybar-nav-more-menu”;ge(“ybar-mod-navigation”,(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Hn,isFuji2:null!==document.querySelector(“.ybar-ytheme-fuji2”)||null!==document.querySelector(“.ybar-ytheme-crunch”),isTablet:null!==document.querySelector(“.tablet”)||”tablet”===n.device||matchMedia(“(hover: none)”).matches,longListClass:Un,moreMenuDropdown:document.querySelector(“”.concat(io,” ul”)),moreMenuNavItem:document.querySelector(io),moreMenuNavLinksSelector:””.concat(io,” ul a”),moreMenuMainFocusItem:document.querySelector(“”.concat(io,” > button”)),moreMenuNavItemClass:Gn,navigationDropdownItemClass:jn,navigationDropdownListClass:Yn,navItems:document.querySelectorAll(“ul.”.concat(Vn,” li.”).concat(Wn)),topLevelNavLinks:document.querySelectorAll(“li.”.concat(Wn,” > 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:Wn,dropdownOpenClass:Rn,hasNavPlacement:document.getElementById(“ybar-nav-placement”),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return”sports”===n.property?parseInt(t.marginRight):”finance”===n.property&&”crunch”===n.ytheme?(o-=1.8)>5?o:5:”crunch”===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById(“ybar-nav-placement”)),t},isNavHidden:function(){var e=!1;return”finance”===n.property&&”crunch”===n.ytheme&&document.documentElement.clientWidth-1||o.indexOf(“dailyfantasy”)>-1},Do=function(e){function t(t,n){var o=e.call(this)||this;return o.locale=t,o.strings=n,o}return f(t,e),t.prototype.fetch=function(e,t){return v(this,void 0,void 0,(function(){var t,n=this;return y(this,(function(o){switch(o.label){case 0:return void 0===e?[2,this.response]:[4,pt(So(e,this.locale),{}).then((function(e){return e.json()})).then((function(e){var t,o,i,r,a,s,c=null===(o=null===(t=e.response)||void 0===t?void 0:t.search)||void 0===o?void 0:o.results;if(!c)return[];var l=null!==(r=null===(i=c[“sports.assist”])||void 0===i?void 0:i.data)&&void 0!==r?r:[],u=[],d=[],p=[],m=[],f=[];return l.forEach((function(e){!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.id)&&void 0!==n?n:””).indexOf(“.p.”)>-1}(e)?!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.id)&&void 0!==n?n:””).indexOf(“.t.”)>-1}(e)?!function(e){var t,n;return”true”===(null===(t=e.fd)||void 0===t?void 0:t.isLeague)&&!!(null===(n=e.fd)||void 0===n?void 0:n.id)||Bo(e)}(e)?!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.url)&&void 0!==n?n:””).indexOf(“/author/”)>-1}(e)?m.push(To(e)):f.push(To(e)):p.push(Io(e)):u.push(Mo(e)):d.push(No(e))})),[{type:”sectionList”,sectionName:”teams”,title:n.strings.SECTION_TEAMS||”Teams”,items:u},{type:”sectionList”,sectionName:”players”,title:n.strings.SECTION_PLAYERS||”Players”,items:d},{type:”sectionList”,sectionName:”other”,title:n.strings.SECTION_LEAGUES||”Leagues”,items:p},{type:”sectionList”,sectionName:”other”,title:n.strings.SECTION_OTHER||”Other”,items:m},{type:”sectionList”,sectionName:”news”,title:n.strings.SECTION_NEWS||”News”,items:(null===(s=null===(a=c[“sports.assist.news”])||void 0===a?void 0:a.data)||void 0===s?void 0:s.map(Oo))||[]},{type:”sectionList”,sectionName:”authors”,title:n.strings.SECTION_AUTHORS||”Yahoo Sports Authors”,items:f}]})).catch((function(e){return c(“Error fetching SA data”,e),[]}))];case 1:return t=o.sent(),this.response={timestamp:(new Date).getTime(),suggestions:t.filter((function(e){return e.items.length>0}))},[2,this.response]}}))}))},t}(ao),Po=function(e){function t(t,n){var o=e.call(this)||this;return o.prefetch=pt(xo(t),{credentials:”include”}).then((function(e){return e.json()})).then((function(e){var t,i,r;o.response={timestamp:(new Date).getTime(),suggestions:[{type:”sectionList”,sectionName:”trending”,title:n.SECTION_TRENDING||”Trending”,items:(null===(r=null===(i=null===(t=e.data)||void 0===t?void 0:t.mainStream)||void 0===i?void 0:i.stream)||void 0===r?void 0:r.map(qo))||[]}]}})).catch((function(e){c(“Error fetching SA trending headlines”,e)})),o}return f(t,e),t}(ao),Ro=Object.freeze({__proto__:null,getPlugin:function(e,t){var n=(new Date).getTime(),o=e.getConfig(),i=o.locale,r=o.i18n,a=(null==r?void 0:r[“searchjs-lib”])||{},s=new Do(i,a),c=new Po(i,a);return{getSearchResult:function(e,t,o){return void 0===o&&(o=Co),v(void 0,void 0,void 0,(function(){return y(this,(function(i){switch(i.label){case 0:return e||”focus”!==(null==t?void 0:t.type)?[3,2]:[4,c.fetch(e,n).then(o)];case 1:return i.sent(),[3,4];case 2:return e?[4,s.fetch(e,n).then(o)]:[3,4];case 3:i.sent(),i.label=4;case 4:return[2]}}))}))}}}})}()}};



    Source link

    Advertisement
    Continue Reading

    Trending