|
|
Highlight
<H1> | <H2> | <H3> | <H4> | <H5> | <H6> | <B> | <U> | <I> | <EM> | <STRONG> | Total | 1 | 4 | 100 | 6 | 0 | 0 | 5 | 87 | 13 | 0 | 79 | 295 | Excellent! The page is using HTML headings (<H1> - <H6>) and inline emphasis tags (<EM><B><I><EM><STRONG>)
|
<H1> (1) | Yahoo Home
| <H2> (4) | Skip navigation links top stories 2024 Election Stories for you
| <H3> (100) | News Finance Sports Entertainment Life New on Yahoo US English Select edition Biden and Trump win Mich. primaries, but campaigns watch for worrying signs Jenna Ortega movie prompts actors' union to modify rules for intimacy coordinators 'Star witness' in Willis misconduct hearing sends defense lawyers scrambling Michigan QB lands at center of NFL debate storm Gary Sinise's son, Mac, dies of 'very rare' cancer called chordoma at 33 Netflix poised to raise prices again this year Michigan Dems send message to Biden, with thousands voting ‘uncommitted’ Ex-RNC chair says long-term GOP growth not likely with Trump Trump wins Michigan, setting up last stand for Haley on Super Tuesday Organizers behind Michigan ‘uncommitted’ vote claim victory Why Michigan is having both a Republican primary and a caucus Your guide to key dates for primaries and debates in 2024 election Consumer confidence declines for first time since November Apple cancels its autonomous electric car project and is laying off some workers Stock market today: Dow falls as Wall Street awaits inflation data, Bitcoin surges The best smart bulbs of 2024 Why VCs are investing in startups that help other startups shut down The best alarm clocks of 2024 The best smart plugs of 2024 The 17 best wireless bras to shop for 2024, tested and reviewed by bra experts The best sunscreens dermatologists recommend — and use themselves in 2024 Tyreek Hill reportedly sued by model who claims he broke her leg after she moved him in blocking drill People are criticizing Kate Middleton for lacking 'work ethic' after her surgery — what that says about society Falcons coach Raheem Morris roasts Desmond Ridder: 'If we had better quarterback play ... I might not be standing here' Chiefs Super Bowl hero Mecole Hardman lays into Jets after 5-game tenure: 'Y'all can't tell me about winning' The 5 worst auto brands for 2024 in Consumer Reports' rankings Indiana's Assembly Hall evacuated in bizarre scene midway through game vs. Wisconsin Canadian NHL reporter Kate Pettersen says 'social media is a scary place' after 'awful' comments about her looks The top 10 recommended cars for 2024, according to Consumer Reports Royals avoid unpopular uniform lettering during Nike/Fanatics overhaul, reportedly because they asked With Caitlin Clark chasing more history, Lynette Woodard's scoring record comes into focus Ignore the Russell Wilson noise with the Broncos. Focus on Sean Payton’s next move at QB Jon Rahm says Tiger Woods won't answer his texts about LIV Golf move NCAA tournament: 5 most intriguing bubble teams Diddy accused of sexual assault, harassment by male music producer in $30M lawsuit. Here's the latest. There's a norovirus outbreak. Here's how to avoid it — and what to do if you catch it. Apple pulls the plug on its electric car project Watch a U.S. Navy aircraft carrier catapult cars — well, sort-of cars — off its flight deck NASCAR penalizes Noah Gragson and Ryan Preece 35 points each after parts were confiscated at Atlanta Cavaliers G Max Strus hits halfcourt buzzer-beater to shock Mavericks 2024 Michigan primaries: Live results USWNT's shock loss to Mexico is more alarming evidence of a program in decline Why is Jake Paul going about his boxing career completely backward? MLS quickly realizing: You can’t stop Lionel Messi, you can only hope to contain him This 'nasty' stomach virus is on the rise in the U.S. Here's what Canadians need to know Fermented foods are good for you. Here's 7 to try, from kimchi to kombucha. Will last year's women's Final Four teams make it back to NCAA tournament's last weekend? The 10 best auto brands for 2024 in Consumer Reports' rankings Mike 'the Situation' Sorrentino went to prison for tax evasion. Now, he's hosting a true-crime series: 'It takes a con to know a con' If Giants want Saquon Barkley back, what that deal looks like could set tone for this spring's RB market Buick shows off Wildcat EV in gold, debuts new brand tagline An ex-cop in jail with Sam Bankman-Fried says he's eating 'disgusting-looking beans and week-old brown lettuce' because of his veganism I’m a flight attendant — here’s the ‘scary’ reason we sit on our hands Adam Sandler Says His Daughters Still Won't Talk to Him Even After Casting Them in His Movies: ‘They Do Their Thing’ Thomas Kingston Has Died at Age 45, Buckingham Palace Announces 'Sopranos' Star Says She Paid Off Her House After Just 'Five Minutes' on OnlyFans Sam Bankman-Fried's parents are begging a judge to keep him out of prison, warning their son's social awkwardness could put him in 'extreme danger' Employees at a Kentucky Dairy Queen say they were forced to eat ice cream contaminated with cleaning solution Squatters set up at a Hollywood Hills home. When police knocked, an OnlyFans model answered NASCAR legend Richard Petty becomes seventh Republican to disavow endorsement I didn’t tip a pizzeria for our slices — here’s how they got revenge and why I’m never going back People flee as cliffside parking lot crashes into ocean in California, video shows Monica Lewinsky makes modelling debut with campaign to encourage voting in US election Abandoned McDonald’s on remote Alaskan island reveals shockingly low prices from 1994 Kristin Cavallari Debuts New Relationship with 24-Year-Old Boyfriend Mark Estes Hot springs close indefinitely after second person dies in 16 months, CA rangers say Gabourey Sidibe Is Pregnant! Actress Expecting Twins with Husband Brandon Frankel: 'Double the Fun' Federal judge rules $1.7 trillion spending bill passed by Congress in 2022 is unconstitutional Kensington Palace Shares an Update on Kate Middleton as Prince William Misses Memorial Service Prince Harry wants ‘apprehensive’ Meghan Markle and the kids to return to UK: report I went to McDonald’s for a late-night ice cream — I was stunned by the frosty surprise Has Brittany Mahomes Had Plastic Surgery? See Her Transformation Photos and Quotes Palace Shares Kate Middleton Update After Prince William Misses Event George & Amal Clooney May Not Be Getting a Fairytale Ending With Their $15 Million British Estate Look of the Week: Monica Lewinsky reclaims office power dressing in new campaign Brittany Mahomes Sparkles in Same Bejeweled Dress Taylor Swift Wore on Her ‘Time’ Cover Kensington Palace Addresses Concerns for Kate Middleton as Internet Suggests She’s Gone ‘Missing’ Ranch for sale in Texas comes with a unique something — actually, 54 unique somethings Jennifer Lawrence Means Business in a Plunging 3-Piece Suit for Dior’s Paris Fashion Week Show Here's Why Travis Kelce Left Sydney And Missed The Rest Of Taylor Swift’s Shows 'Elon, what are you doing?': Joe Rogan flipped out when he saw Tesla's Optimus Gen 2 robots moving 'exactly like a person' and even gently holding eggs — 3 top robotics stocks to watch now 70-year-old grandfather from China amazes with his physique and fitness routine The Secret Ingredient for Making Salmon That Tastes Like It Came From a Restaurant Bodybuilder suffers heart failure from drinking cold water due to rare condition "He's Working Two Full-Time Jobs And Ubers On The Side": This Wife Has A Secret $47,000 "Rainy Day" Fund And Questions If She Should Share It With Her Struggling Husband Brown County family asking for public’s support in caring for ten-month-old with rare condition Watch 7th-grade girl steal the ball and sink a 3-pointer from half-court to win the game Meet the Tallest Woman in the World, Rumeysa Gelgi Russia may have just carried out its first direct action against the West Turn Cool Whip Into Frosting With One Extra Ingredient A single mother speaks out on how the ‘tradwife’ lifestyle led to her divorce Trending Now Play games on Yahoo
| <H4> (6) | Slots Lounge Up next Up next Up next Up next Up next
| <B> (5) | • '+i+" "+e.period),e.time_elapsed_display&&(f=e.is_halftime&&"true"==e.is_halftime?' • Halftime':' • '+e.time_elapsed_display),e.qtype&&"lg"==e.qtype)if(t.enableNewLeagueTmpl)try{g?(o=v&&' '+v+"",a=''+t.liveIconText+"",e.title=E(t.league_l_tmpl,[u,n,h,m,d,p,f,o,a])):_?(r=y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz}),s=' • ',c=''+r+"",e.title=E(t.league_f_tmpl,[u,n,h,m,d,p,s+c])):(r=y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz}),s=u.length+p.length+r.length+t.sepThreshold>t.maxLen?"":' • ',c=''+r+"",l=b&&1'+w+"":"",e.title=E(t.league_n_tmpl,[u,n,d,p,s+c+l]))}catch(e){}else e.title=E(t.league_tmpl,[u,p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})]);else{try{e.title=g?E(t.l_tmpl,[h,m,p,f,v])+''+t.liveIconText+"":_?E(t.f_tmpl,[h,m,p,y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz})]):E(t.n_tmpl,[p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})])}catch(e){}n&&(e.imageUrl=n)}}}function _e(e,t){var n=this.config,i=t.m;t=t.fd,e=e.li;n.enableNewLeagueTmpl&&48==i&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Ee(){this.config={enableNewLeagueTmpl:!1,n_tmpl:"vs. {0} {1}",l_tmpl:"{0} - {1} vs. {2} {3} {4}",f_tmpl:"{0} - {1} vs. {2} {3}",league_tmpl:"{0} vs. {1} {2}",league_n_tmpl:'{0}vs{3}{4}',league_l_tmpl:'{0}{2} vs {3}{5}{6} {7} {8}',league_f_tmpl:'{0}{2} vs {3}{5}{6}',liveIconClass:"sa-ico-live",liveIconText:"",maxLen:60,sepThreshold:10}}function xe(e){var t,n,i,o,a,r,s,c=this.config,l=e.m;e=e.fd;41==l&&e&&!e.subtitle&&(l=e.img_url||"",t=''+e.condition+"",n=e.degree,i=e.high_temp&&'• H:'+e.high_temp+"°",o=e.low_temp&&"L:"+e.low_temp+"°",a=e.loc&&'• '+e.loc,r=e.warning?'':"",s=this.app.format,c.enableHL?e.title=s(c.tmpl_hl,[l,n,r,t,i,o,a]):e.title=s(c.tmpl,[l,n,t,a]))}function Ce(e,t){var n=this.config,i=t.m,o=t.fd&&t.fd.img_url;41==i&&n.enableThumb&&o&&(t.fd.imageUrl=o)}function Le(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function ke(e){var t,n,i,o=this.config,a=e.m,r=e.d,s=(e=e.fd)&&e.show_subtitle?e.show_subtitle:0;27==a&&e&&!s&&(r&&"movie"==r.subdn?(n=e.year||"",a=e.genre&&e.genre[0]?e.genre[0]+" "+o.text.movie:o.text.movie,s=e.releaseDate?new Date(e.releaseDate):"",t=new Date,s&&t{1}{3}{4}{5}',label:{C:"Cancelled",S:"Scheduled",A0:"Delayed",A1:"Ontime",L0:"Arrived Late",L1:"Arrived"},descPrefix:{S:"Scheduled departure at",A:"Estimated arrival at",L:"Arrived at"}}}function Oe(e){var t=this.config,n=this.app.format,i=e.idx,o=e.m;e=e.fd;t.enabled&&53===o&&e&&0===i&&"1.00"===e.num&&(e.title=n(t.titleTpl,[e.fromUnit,e.title]))}function Me(e,t){var n=this.config,i=t.idx,o=t.m;t=t.fd;n.enabled&&53===o&&0===i&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function Be(){this.config={titleTpl:"1 {0} = {1}"}}function Re(e){var t=this.config,n=this.app.format,i=e.m;e=e.fd;t.enabled&&54===i&&e&&(i=e.resultUnitAbbr||e.resultUnit,e.title=n(t.titleTpl,[e.num,i]))}function Pe(e,t){var n=this.config,i=t.idx,o=t.m;t=t.fd;n.enabled&&54===o&&0===i&&t&&e.li.classList.add("sa-unitconv")}function qe(){this.config={titleTpl:"{0} {1}"}}function De(e){var t=e.m,n=e.fd;if(79==t&&n){var i=n.answeredby;if(i&&0')}c&&(r+=''+c+""),r+=(c?" ":"")+l.bold(this.app.config.boldTag,s(o.name),s(e.q)),a&&1Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function $e(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(l.stopPropagation(e),a.value="",l.setFocus(a),i.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,i=n.view,o=i.elems,a=o.sbInput,r=o.sbClear;r&&(l.ae(r,"click",e),l.ae(r,"keydown",e))}function et(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}c.SA=(t=[],F.prototype={jsonp:function(e){var t=s.getElementsByTagName("head")[0],n=s.createElement("script");l.set(n,"type","text/javascript"),l.set(n,"src",e),t.appendChild(n),l.ae(n,"load",(function(){t.removeChild(n)}))},xhr:function(e,t){var n=new XMLHttpRequest;n.open("GET",e),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.onreadystatechange=function(){var e=n.status;(4==n.readyState&&200"+a+" "+n.config.saAria.shownText+""),o.notify(x)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,i=n.length;e.updateRows(),e.app.notify(b),e.shown&&e.sameQuery()||(e.lastInput=n,it.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(i=e.elems).sbInput,n=i.saAria,i=i.sbForm,o=e.config,a=e.app;a.notify(_),l.removeClass(s.body,o.typingClass),i&&i.parentElement&&l.removeClass(i.parentElement,o.typingClass),l.removeClass(i,o.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,o.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(l.set(t,"aria-expanded","false"),e.useTextArea)&&l.set(t,"rows","1"),n&&(l.set(n,"aria-expanded","false"),n.innerHTML=""+e.config.saAria.closedText+""),a.notify(E)},autoSelect:function(e){var t,n=this.config.autoSelect;n&&(!0===n&&0===e.idx||"[object Object]"===Object.prototype.toString.call(n)&&(t=e.data).m==n.m&&n.exact&&t.k.toLowerCase()===t.q.toLowerCase())&&(this.assistItem=e)},clearAssist:function(){this.elems.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null},createItem:function(e){var t={idx:e.idx,data:e.origData},n=l.htmlEncode,i=this.config,o=this.app.createElem,a={},r=(i.highlight&&l.merge(a,i.highlight),e.highlight&&l.merge(a,e.highlight),o(i.saItem,"li"));return(o=(l.set(r,"pos",e.idx),o(i.saTitle,"span"))).innerHTML=e.t||(i.boldTag&&e.k&&e.q?l.bold(i.boldTag,n(e.k),n(e.q),a):n(e.k)),r.appendChild(o),t.li=r,t.title=o,this.app.notify(g,[t,e]),t},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,t=e.config,n=e.elems.sbForm;t.resetQuery&&e.resetQuery(),e.hide(),n.action=e.origAction,e.app.notify(w)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,i=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(i(n,"padding-top"),10)-parseInt(i(n,"padding-bottom"),10)),n.style.height=0,l.set(n,"rows",Math.min(Math.floor(n.scrollHeight/e.rowHeight),t.inputMaxRows||5)),n.style.height="")}},j),e.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},u.hideSbClr=(G.prototype={init:function(e){(this.app=e).on(b,z,this)}},G),u.entityFocus=(V.prototype={init:function(e){(this.app=e).on(T,W,this)}},V),u.saFr=(Q.prototype={init:function(e){(this.app=e).on(m,K,this),e.on(k,Z,this),e.on(w,J,this)}},Q),u.ipos=(ee.prototype={init:function(e){(this.app=e).on(b,X,this),e.on(d,$,this)}},ee),u.saTray=(ne.prototype={init:function(e){(this.app=e).on(h,te,this)}},ne),u.saFlvr=(oe.prototype={init:function(e){e.on(g,ie,this)}},oe),u.saShoppingRefinement=(ce.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(f,ae,t),e.on(g,re,t),e.on(y,se,t)}},ce),u.saWhatToWatch=(pe.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(p,le,t),e.on(g,ue,t),e.on(y,de,t)}},pe),u.saEdit=(me.prototype={init:function(e){e.on(g,he,this)}},me),u.saAnnot=(ve.prototype={init:function(e){e.on(g,fe,this)}},ve),u.saStock=(be.prototype={init:function(e){(this.app=e).on(v,ye,this),e.on(g,ge,this)}},be),u.saSport=(Ee.prototype={init:function(e){(this.app=e).on(v,we,this),e.on(g,_e,this)}},Ee),u.saWeather=(Le.prototype={init:function(e){(this.app=e).on(v,xe,this),e.on(g,Ce,this)}},Le),u.saEntertainments=(Se.prototype={init:function(e){(this.app=e).on(v,ke,this)}},Se),u.saFlightStatus=(Ne.prototype={init:function(e){(this.app=e).on(v,Te,this),e.on(g,Ie,this)}},Ne),u.saCurrencyConverter=(Be.prototype={init:function(e){(this.app=e).on(v,Oe,this),e.on(g,Me,this)}},Be),u.saUnitConverter=(qe.prototype={init:function(e){(this.app=e).on(v,Re,this),e.on(g,Pe,this)}},qe),u.saAnswers=(He.prototype={init:function(e){(this.app=e).on(v,De,this)}},He),u.saImg=(Ue.prototype={init:function(e){e.on(g,Fe,this)}},Ue),u.saGroup=(Ge.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(g,Ye,t),e.on(y,ze,t)}},Ge),u.saPCActn=(Je.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(p,We,t),e.on(C,Ve,t),e.on(N,Ke,t),e.on(M,Ze,t)}},Je),u.tapRmv=(Xe.prototype={init:function(e){(this.app=e).on(L,Qe,this)}},Xe),u.tapClr=(et.prototype={init:function(e){(this.app=e).on(C,$e,this)}},et)}();var pt,ht,mt,ft={"bot-search-icon":"_yb_ucueal","bot-search-icon-container":"_yb_15jdlav","bot-search-item":"_yb_1gql137","bot-search-item-col":"_yb_12cyoum","bot-search-span":"_yb_11frvtm",history:"_yb_12lbnb7","list-item-hover":"_yb_1q2o4w",lowlight:"_yb_n0borv","no-wrap":"_yb_1vqkx95","related-title":"_yb_1oncmgz",sa:"_yb_syeytv","sa-annot-rich":"_yb_r78mvt","sa-annot-subtitle":"_yb_izb52l","sa-annot-title":"_yb_1t19xs9","sa-company":"_yb_vfjzbt","sa-edit":"_yb_gee6gy","sa-edit-icon":"_yb_bb2s04","sa-edit-text":"_yb_bsgxle","sa-fd-actn-cont":"_yb_ricfn6","sa-grp-hdr":"_yb_1hxqc4o","sa-grp-hdr-title":"_yb_1vbs43p","sa-history":"_yb_drxblo","sa-img":"_yb_1k54fx9","sa-img-ctn":"_yb_ixcxd5","sa-img-icon":"_yb_1luqkt7","sa-item":"_yb_1y7fq17","sa-item-title":"_yb_vpy4ue","sa-rich-thumb":"_yb_135x0md","sa-sbx-container":"_yb_28kltp","sa-sugg":"_yb_2femc8","sa-thumb-icon":"_yb_1gp84zi","sa-tray":"_yb_188w10g","sa-tray-list-container":"_yb_evmrmt","sa-trending":"_yb_17c4393","sub-assist":"_yb_1p8ztk7","suggestion-title":"_yb_uchtz4",trending:"_yb_180oajs","trending-title":"_yb_kd0fyd","yui3-highlight":"_yb_158j6cq",safadein:"_yb_1jubj2q","uh3-layout":"_yb_17h88yg","sa-answer":"_yb_prky02","sa-creator":"_yb_yqn9oi","sa-group-holder":"_yb_1g1wxtg",sacollapse:"_yb_1dcsw9k"},vt={boldTag:'{s}',customEvent:{customBtn:"searchBtnClicked",customKeyBoard:"enterKeyPressed",customSelection:"assistSelectionClicked"},elems:{sbForm:"ybar-sf",sbInput:"ybar-sbq",sbSubmit:"ybar-search",sbClear:"ybar-sbq-x"},hightlight:{exact:!0,pattern:"^"},minInput:1,sa:{css:ft["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:ft["sa-tray-list-container"]},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:ft["sa-sbx-container"]},tray:{css:ft.sa+" "+ft.lowlight}},saPCActn:{css:ft["list-item-hover"],useDefaultTab:!0},ylcEncode:{disable:!0},saFlvr:{disable:!0},saEdit:{disable:!0},saAnnot:{disable:!0},saWhatToWatch:{disable:!0},saImg:{disable:!0},saPopup:{disable:!0}}},yt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:ft["sa-item"]},saTitle:{css:ft["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:ft["sa-trending"],m13:ft["sa-history"],m30:ft["sa-company"],flvr:ft["sa-sugg"]},saEdit:{ctn:{css:ft["sa-edit"]},icon:{css:ft["sa-edit-icon"]},text:{css:ft["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:ft["sa-img-icon"]},thumbnail:{css:ft["sa-img"]},ctn:{css:ft["sa-img-ctn"]},richClass:ft["sa-rich-thumb"]},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:ft["sa-grp-hdr"]},title:{css:ft["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:ft.trending},m13:{text:"",css:ft.history}}}}},gt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:ft["sa-item"]},saTitle:{css:ft["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:ft["sa-trending"],m13:ft["sa-history"],m30:ft["sa-company"],flvr:ft["sa-sugg"]},saEdit:{ctn:{css:ft["sa-edit"]},icon:{css:ft["sa-edit-icon"]},text:{css:ft["sa-edit-text"]}},saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:ft["sa-img-icon"],wrap:{css:ft["sa-thumb-icon"]}},thumbnail:{css:ft["sa-img"]},ctn:{css:ft["sa-img-ctn"]},richClass:ft["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:ft["sa-grp-hdr"]},title:{css:ft["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:ft.trending},m13:{text:"",css:ft.history}}},doneBtn:{disable:!0}}},bt={plugins:{saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"],markers:{m27:{type:"entertainments"},m32:{type:"flight"},m44:{type:"holiday"},m53:{type:"currency"},m54:{type:"unit"}}},saWeather:{enableHL:!0},saSport:{enableNewLeagueTmpl:!0,maxLen:40},saStock:{icon:"sa-stk-icon",billboard:!0,k_tmpl:'{0} · {1}',fd_tmpl:'{0}{3} ({4})'},saFlightStatus:{enabled:!0},saCurrencyConverter:{enabled:!0},saUnitConverter:{enabled:!0},saWhatToWatch:{disable:!1,insertPos:1}}},wt={plugins:{saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"],markers:{m27:{type:"entertainments"},m32:{type:"flight"},m44:{type:"holiday"},m53:{type:"currency"},m54:{type:"unit"}}},saWeather:{enableHL:!0},saSport:{enableNewLeagueTmpl:!0,maxLen:60},saStock:{icon:"sa-stk-icon",billboard:!0,k_tmpl:'{0} · {1}',fd_tmpl:'{0}{3} ({4})'},saFlightStatus:{enabled:!0},saCurrencyConverter:{enabled:!0},saUnitConverter:{enabled:!0},saWhatToWatch:{disable:!1,insertPos:1,item:{count:4}}}},_t=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Et=function(e,t,n){var i=e.querySelectorAll(t);if(i)for(var o=0;o40?(S.style.setProperty(k,"40px"),S.style.setProperty(L,i+"px")):(S.style.setProperty(k,"0px"),S.style.setProperty(L,"40px")),C.addClass(t,g),C.removeClass(t,b)}else S.style.setProperty(k,"0px"),S.style.setProperty(L,"0px")})),e.on("before_hide_view",(function(){var t=e.view.elems.sbForm;C.addClass(t,b),C.removeClass(t,g)}))}},x.add("yba-saPCAnim",_);var A=x.viewClass;C.extend(E,A),E.prototype.clearAssist=function(){var e=this,t=e.config;C.hasClass(document.body,t.typingClass)?A.prototype.clearAssist.call(e):setTimeout((function(){A.prototype.clearAssist.call(e)}),200)},x.viewClass=E}var T=function(e){var t,n,i;return r&&e&&(t=13===e.data.m?"history":9===e.data.m?w:"sa",n=9===e.data.m?"".concat("tn"===w?"organic":"none"):"none",0==e.idx&&e.data.m&&-1!==[27,32,41,44,46,48,53,54].indexOf(e.data.m)&&(i=e.data.m)),{category:t,keyword:n,marker:i}},I=function(e){var n,a,r=!!document.querySelector(".modal-open"),s=null===(n=e.detail)||void 0===n?void 0:n.data,c=1,l=!1;if(p&&""!==p.value.trim()){"enterKeyPressed"===e.type?s&&s.idx>=0?(a="srch-asst",l=!0,c=s.idx+1):a="kybrd":a="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,h=u.keyword;Lt(t,o,l,d,h),(r||l)&&("homepage"===i||"my"===i?(Ct(t,r,l,d),kt(t,l,d)):"smartphone"===o&&kt(t,l,d)),B(St(a,"0",c.toString()))}},N=function(e){var n,a=!!document.querySelector(".modal-open"),r=null===(n=e.detail)||void 0===n?void 0:n.data,s=!0,c=(r&&r.idx||0)+1,l=T(r),u=l.category,d=l.keyword,p=l.marker;Lt(t,o,s,u,d,p),"homepage"===i||"my"===i?(Ct(t,a,s,u),kt(t,s,u)):"smartphone"===o&&kt(t,s,u),B(St("srch-asst","0",c.toString(),r&&r.data.m))},O=function(e){if("function"==typeof n.beaconClick&&9!==e.keyCode&&13!==e.keyCode&&1===y&&"smartphone"!==o){n.saveCurrentTimerValue("search_input_keyboard_input");var t=St("keystroke","1");delete t.clickParams.tar,"answers"===i&&(t.slk="inpt-fcs",t.clickParams.elm="inpt",t.clickParams.elmt="srch-keystroke"),y++,n.beaconClick(t.sec,t.slk,t.pValue,t.clickParams)}};window.visualViewport&&"smartphone"===o&&window.visualViewport.addEventListener("resize",(function(){var e;document.querySelector(":root").style.setProperty("--yb-visual-viewport-height",(null===(e=window.visualViewport)||void 0===e?void 0:e.height)+"px")}));var M=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===o&&t.addEventListener("click",(function(){if(e){if(e.classList.contains("ybar-searchbox-assist-fullscreen"))return;e.classList.add("ybar-searchbox-assist-fullscreen"),e.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");"function"==typeof n.beaconClick&&n.beaconClick("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"})}}))},B=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var i={pp:{A_utm:n.getPerformanceI13nObject()}};n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){setTimeout((function(){t&&(t.submit(),At(t))}),300)}),i)}else t&&(t.submit(),At(t))},R=function(n){var i=n.animationName;i==ft.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):i==ft.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:h,text:f||""},suggestionTitle:{text:m||""}}}function q(e){var t=this.config,n=this.app.view,i=n.elems.sbForm,o=n.elems.sbInput.value,a=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var i=document.createElement("span"),o=document.createElement("span");return o.textContent=t,i.appendChild(o),n.appendChild(i),n}}(ft,t.suggestionTitle.text),r=function(e,t,n){var i=document.createElement("div");i.className=n["bot-search-item"];var o=document.createElement("div"),a=document.createElement("div");o.className=n["bot-search-item-col"],a.className=n["bot-search-item-col"];var r=document.createElement("div");r.className=n["bot-search-icon-container"];var s=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("width","20"),s.setAttribute("height","20"),s.setAttribute("viewBox","0 0 24 24"),s.classList.add(n["bot-search-icon"]),c.setAttribute("d","M3.7634,15.837 L6.1814,15.837 C6.5214,17.45 7.0614,18.891 7.7584,20.045 C6.0094,19.118 4.6024,17.637 3.7634,15.837 L3.7634,15.837 Z M2.9144,12.008 C2.9144,11.351 2.9844,10.711 3.1164,10.094 L5.8884,10.094 C5.8264,10.717 5.7864,11.354 5.7864,12.008 C5.7864,12.663 5.8264,13.299 5.8884,13.922 L3.1164,13.922 C2.9844,13.305 2.9144,12.665 2.9144,12.008 L2.9144,12.008 Z M7.7584,3.971 C7.0614,5.125 6.5214,6.566 6.1814,8.179 L3.7634,8.179 C4.6024,6.379 6.0094,4.898 7.7584,3.971 L7.7584,3.971 Z M11.0504,3.142 L11.0504,8.179 L8.1054,8.179 C8.6604,5.664 9.7414,3.771 11.0504,3.142 L11.0504,3.142 Z M12.9654,3.142 C14.2754,3.771 15.3564,5.664 15.9114,8.179 L12.9654,8.179 L12.9654,3.142 Z M20.2524,8.179 L17.8344,8.179 C17.4954,6.566 16.9544,5.126 16.2574,3.971 C18.0064,4.898 19.4144,6.379 20.2524,8.179 L20.2524,8.179 Z M11.0504,20.875 C9.7414,20.245 8.6594,18.352 8.1054,15.837 L10.1354,15.837 C10.2104,15.161 10.3914,14.519 10.6584,13.922 L7.7984,13.922 C7.7354,13.305 7.7004,12.665 7.7004,12.008 C7.7004,11.351 7.7354,10.711 7.7984,10.094 L11.0504,10.094 L11.0504,13.184 C11.5394,12.388 12.1904,11.702 12.9654,11.183 L12.9654,10.094 L20.8994,10.094 C21.0284,10.697 21.0964,11.323 21.0994,11.964 L21.0994,11.964 L21.0994,12.661 C21.0994,13.19 21.5284,13.618 22.0574,13.618 L22.0584,13.618 C22.5874,13.618 23.0164,13.19 23.0164,12.661 L23.0164,11.965 L23.0144,11.965 C22.9904,5.662 17.6704,0.608 11.2724,1.024 C5.8994,1.373 1.4994,5.676 1.0414,11.04 C0.5134,17.228 5.1074,22.463 11.0504,22.975 C11.1664,22.985 11.3274,22.993 11.4844,22.999 C11.8104,23.012 12.1194,22.85 12.2904,22.572 L12.2924,22.569 C12.5734,22.113 12.3964,21.514 11.9124,21.284 L11.0504,20.875 Z M15.9434,18.874 C14.6054,18.874 13.5214,17.79 13.5214,16.452 C13.5214,15.115 14.6054,14.03 15.9434,14.03 C17.2804,14.03 18.3654,15.115 18.3654,16.452 C18.3654,17.79 17.2804,18.874 15.9434,18.874 M21.6354,20.908 L19.4524,18.725 C19.8774,18.07 20.1264,17.291 20.1264,16.452 C20.1264,14.145 18.2584,12.274 15.9514,12.269 L15.9354,12.269 C13.6284,12.274 11.7604,14.145 11.7604,16.452 C11.7604,18.763 13.6324,20.635 15.9434,20.635 C16.7814,20.635 17.5614,20.386 18.2154,19.961 L20.3984,22.144 C20.7404,22.486 21.2934,22.486 21.6354,22.144 C21.9774,21.803 21.9774,21.249 21.6354,20.908"),s.appendChild(c),r.appendChild(s),o.appendChild(r);var l=document.createElement("span"),u=document.createElement("span");u.className=n["bot-search-span"];var d=document.createElement("span"),p=e.split("{query}");return l.textContent=p[0]||"",u.textContent=t,d.textContent=p[1]||"",a.appendChild(l),a.appendChild(u),a.appendChild(d),i.appendChild(o),i.appendChild(a),i}(t.botSearch.text,o,ft);r&&(e&&a&&(e.prepend(a),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(i.action=t.botSearch.action),n.hide(),I(new CustomEvent("botSearchClicked"))})))}function D(){this.config={}}function H(){""===this.app.view.lastInput&&(window.location.href="https://search.yahoo.com/search?p=what+to+watch&fr=yfp-sb-w2w&fr2=p%3Afp%2Cm%3Asb%2Cct%3Aw2w")}p&&(p&&(p.addEventListener("enterKeyPressed",I),p.addEventListener("assistSelectionClicked",N),p.addEventListener("searchBtnClicked",I),p.addEventListener("keydown",O),p.addEventListener("click",M)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==i&&"my"!==i||(Ct(t),"homepage"===i&&function(e){var t=_t("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Et(e,'input[name="type"]',t);else{var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","type"),n.setAttribute("value",t),e.appendChild(n)}}(t)),n.saveCurrentTimerValue("search_assist_ready")),P.prototype={init:function(e){this.app=e,e.on("after_update_list",q,this)}},h&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),D.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",H,t),e.on("before_key_submit",H,t)}};var F=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Tt,e)};(function(e){var t=new Date;if(!0!==l&&(null===e||!function(e){var t=v(e.toLocaleTimeString("en-US",{hour12:!1,timeZone:"America/Los_Angeles",hour:"numeric",weekday:"narrow"}).split(", "),2),n=t[0],i=t[1],o=parseInt(i);return("S"===n||"F"===n)&&o>=14&&oc?(F("".concat(i,",1")),!0):!Number.isNaN(u)&&2>u&&(F("".concat(i,",2")),!0)})(s)&&(p&&""!==c&&p.setAttribute("placeholder",c),t.classList.add("ybar-enable-watch-to-watch"),null===(d=window.YAHOO.SA)||void 0===d||d.add("saWTW",D))};be("ybar-mod-assistjs",(function(e){var t,n,i,o,a,r=document.getElementById("ybar-sf"),s=document.getElementById("ybar-w2w-list"),c=null;if(r&&"true"===r.getAttribute("data-saEnabled")){var l={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:r,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn")},u=e.getConfig();!!u.bucketConfig.use_uh3_profile&&(vt.plugins.saTray.ctn.css+=" "+ft["uh3-layout"]);var d=!!u.bucketConfig.assist_autoselect;d&&(vt.autoSelect=!0),!!u.bucketConfig.wrap_searchbox&&(vt.plugins.saTray.afterNode="ybar-sbq-wrap");var p=vt,m=!!u.bucketConfig.enable_search_ui,f=!!u.bucketConfig.assist_billboard_v2,v=!!u.bucketConfig.assist_disable_search_history,y=!!u.bucketConfig.answers_search;if(m){var g="smartphone"===u.device?gt:yt,b=r.getAttribute("data-tn-title");if(b&&(null===(t=null==g?void 0:g.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(g.plugins.saGroup,{grps:{m9:{text:b}}}),f){var w="smartphone"===u.device?bt:wt;(null==g?void 0:g.plugins)&&Object.assign(g.plugins,w.plugins)}v&&(null===(n=null==g?void 0:g.saBE)||void 0===n?void 0:n.params)&&(g.saBE.params.f=0),y&&((null===(i=null==g?void 0:g.plugins)||void 0===i?void 0:i.saFlvr)&&Object.assign(null===(o=null==g?void 0:g.plugins)||void 0===o?void 0:o.saFlvr,{m79:ft["sa-answer"],m80:ft["sa-trending"],m81:ft["sa-creator"]}),(null===(a=null==g?void 0:g.plugins)||void 0===a?void 0:a.saGroup)&&Object.assign(g.plugins.saGroup,{groupAlways:!0,grps:{m80:{text:"Popular questions"},m13:{text:"History"},m81:{text:"Contributors"},m79:{text:"Yahoo Answers"},default:{text:"From the web"}},placeholders:{m79:{text:"There are no results found.",css:ft["sa-group-holder"],pos:0,empty:1}}}),d&&(g.autoSelect={m:79,exact:!0}),g.inputRowHeight=20),p=h(h(h({},vt),g),{plugins:h(h({},vt.plugins),g.plugins)})}s&&!0===u.bucketConfig.enable_what_to_watch&&((c=s.cloneNode(!0)).removeAttribute("id"),c.removeAttribute("style")),function(e,t,n,i,o,a,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),h=t.searchBox.getAttribute("data-pubid");if(window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),h&&""!==h&&(n.saBE.params.pubid=h),"games"===i&&(n.saBE.params.anno_output="raw"),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var m=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,f=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,v=t.searchBox.dataset.mtestid;m&&(n.saBE.params[".crumb"]=m),f&&n.shBE&&(n.shBE.params._bcrumb=f),v&&(n.saBE.params.mtestid=v);var y=e.getConfig();It(t.ybar,t.searchBox,{beaconClick:$,saveCurrentTimerValue:re,getPerformanceI13nObject:se},i,o,a,r,s,(null===(u=null==y?void 0:y.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==y?void 0:y.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var g="Search lib not found. SearchAssist failed to initialise";e.logError(g,new Error(g))}}(e,l,p,u.property,u.device,u.ytheme,m,c)}}));var Nt="_yb_lvtc50",Ot="_yb_1mi6mus",Mt="_yb_10n0ee9",Bt="_yb_lvkpnk",Rt="_yb_8muslh",Pt="_yb_7iyduw",qt="_yb_13whsl8",Dt="_yb_cu0sd3";be("ybar-mod-adaptivenav",(function(e){var t={moreDropDown:document.querySelector(".".concat(Nt)),moreBtn:document.querySelector(".".concat(Ot)),wrap:document.querySelector(".".concat(Bt)),moreSectionTitle:document.querySelectorAll(".".concat(Rt)),editionsCtaBtn:document.querySelector(".".concat(Pt)),editionsMenu:document.querySelector(".".concat(qt)),closeBtn:document.querySelector(".".concat(Dt))},n=!1,i=function(t,n){var i=t.moreDropDown,o=t.moreBtn,a=t.wrap,r={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"};i&&o&&a&&i.classList.contains("".concat(Nt))&&(i.classList.remove("".concat(Nt)),a.classList.add("".concat(Mt)),o.setAttribute("aria-expanded","true"),r.elm="expand",e.triggerEvent("adapnav:more:show",{event:n}),$("ybar",r.slk,"",r))},o=function(e){var t=e.moreDropDown,i=e.moreBtn,o=e.wrap,a={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};t&&i&&o&&(t.classList.contains("".concat(Nt))||(t.classList.add("".concat(Nt)),o.classList.remove("".concat(Mt)),i.setAttribute("aria-expanded","false"),n||$("ybar",a.slk,"",a)))},a=function(e){var t=e.editionsMenu,n={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};null==t||t.close(),$("ybar",n.slk,"",n)},r=function(){var e;window.innerWidtho.right||e.clientYo.bottom)&&(null===(i=t.editionsMenu)||void 0===i||i.close())})),window.addEventListener("resize",r)),e.onDestroy((function(){o(t),a(t),window.removeEventListener("resize",r)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&o(t)}))}));var Ht,Ft,Ut,Yt={"account-status-container":"_yb_1masjt0","accounts-container":"_yb_uqrpri","accounts-list":"_yb_m29asr",chevron:"_yb_qki3a5",current:"_yb_1evc0rj",expanded:"_yb_5wm0j5",greetings:"_yb_nwf5fo","greetings-container":"_yb_1yxiqvi",hide:"_yb_10fxdw6",mobile:"_yb_1epdwae",multiple:"_yb_pz7squ","loading-profile-wrapper":"_yb_wg14q0","loading-profile-button":"_yb_hcau4t","notification-container":"_yb_7dha41","pfs-container":"_yb_1uhp86x","pfs-iframe":"_yb_jnooh6",show:"_yb_10fgotx","sign-in-menu":"_yb_1iw9to1","signed-in":"_yb_1giw032","signed-in-mark":"_yb_103g1di","signed-out":"_yb_bhnpc7","signedout-text":"_yb_ju9obe","stacked-name":"_yb_1t1mugj","stacked-name-given":"_yb_161m2dp","stacked-name-family":"_yb_1vmmoh4","uh3-layout":"_yb_14j2kq7","ybar-account-img":"_yb_1eg8mm4","ybar-account-img-signed-out":"_yb_1e6c6qo","ybar-account-img-hidden":"_yb_1c95j3v","ybar-account-menu":"_yb_xif8oc","ybar-account-menu-item-signed-out":"_yb_5a2o8","ybar-account-user-email":"_yb_197dzlb","ybar-account-user-email-other":"_yb_2kfdgm","ybar-account-user-name":"_yb_1pxa56s","ybar-account-user-signedout":"_yb_hubt8f","ybar-account-yahoo-plus-imp":"_yb_10chx5t","ybar-icon-arrow":"_yb_1myx71o","ybar-icon-arrow-down":"_yb_1wrgoer","ybar-icon-arrow-up":"_yb_18y449w","ybar-icon-image-wrapper":"_yb_1j9fcjw","ybar-item-hidden":"_yb_o7o20x","ybar-login-btn":"_yb_jtrpet","ybar-mod-account":"_yb_zxmly1","ybar-mod-mail":"_yb_ekddox","ybar-profile-character":"_yb_qubmh8","ybar-profile-character-hidden":"_yb_pta3ez","ybar-see-info":"_yb_5r3343","ybar-sign-out":"_yb_8vk0tf","ybar-sign-out-text":"_yb_1xgd4yb","ybar-user-accounts-list":"_yb_jlp36a","ybar-user-profile-img":"_yb_5p9klm"},jt=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,zt=/\$({|%7B)GDPR(}|%7D)/g,Gt=/\[timestamp\]/g,Wt=function(e){return e.replace(Gt,Date.now()+"")},Vt=function(e){return m(void 0,void 0,void 0,(function(){var t,n,i,o;return f(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",i=new Error(n);return c(n,i),t(i)}window.__tcfapi("getTCData",2,(function(n,i){return i&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=a.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(zt,n?"1":"0")}(e,t),i=function(e,t){var n=t.gdprApplies,i=t.tcString;return e.replace(jt,n?i:"")}(n,t),[2,Wt(i)];case 2:return a.sent(),o="Error adding consent to ".concat(e),c(o,new Error(o)),[2,e];case 3:return[2]}var r}))}))},Kt=function(e,t){return void 0===t&&(t={}),m(void 0,void 0,void 0,(function(){return f(this,(function(n){return[2,new Promise((function(n,i){var o=new XMLHttpRequest;if(o.open("string"==typeof t.method?t.method:"GET","string"==typeof e?e:e.url,!0),"object"==typeof t.headers){var a=t.headers;for(var r in a)o.setRequestHeader(r,a[r])}o.withCredentials="include"===t.credentials,o.onreadystatechange=function(){4===o.readyState&&n({ok:o.status>=200&&o.status=230&&(e.greetings.classList.add(Yt.hide),e.stackedName.classList.remove(Yt.hide),e.chevron&&(e.chevron.style.marginTop="-35px"))},tn=function(e,t,n){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(n&&(n=~e.indexOf("&activity=ybar-")?void 0:n.replace("[[pspid]]",ue())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),n&&(e+="&"+n),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(t)):(e=pe(e),e+=".done="+encodeURIComponent(t),n&&(e+="&"+n),e))},nn=function(e,t){var n,i=e.ybarAccMenuItemTemplate,o=e.ybarAccountContainer,a=document.querySelector(".".concat(Yt["ybar-mod-account"]," .").concat(Yt["ybar-login-btn"])),r=document.querySelector(".".concat(Yt["ybar-mod-account"]," .").concat(Yt["ybar-sign-out"])),s=o&&o.querySelectorAll("a"),c="",l=window.location.href;if(a){var u=a.href;t.onDestroy((function(){a.href=u})),a.href=tn(a.href,l,a.getAttribute("data-redirect-params")||void 0)}if(i?(l=i.getAttribute("data-done")||"",c=i.getAttribute("data-sign-out-url")||""):r&&(c=r.getAttribute("data-sign-out-url")||""),s){var d=function(){var e=n,i=s[e].href;t.onDestroy((function(){s[e].href=i}));var o=s[n].getAttribute("data-redirect-params");s[n].classList.contains(Yt["ybar-sign-out"])?s[n].href=tn(s[n].href,c,o||void 0):s[n].href=tn(s[n].href,l,o||void 0)};for(n=0;n=0;--t){e[t]=(o=void 0,(o={fn:(i=e[t]).fn||"",ln:i.ln||"",em:i.em||"",alias:i.alias||"",imageUrl:i.imageUrl,state:i.state,fullName:null,identifier:""}).fullName=me(o.fn,o.ln)?[o.ln,o.fn].join(""):[o.fn,o.ln].join(" "),o.identifier=o.em||o.alias,o);var n=e[t].state;0!==n&&"0"!==n||(window.YBAR&&window.YBAR.setUserEmail(e[t].em),Qt=e[t],e.splice(t,1)[0])}var i,o;return e}(a.users);if(t.isUH3Layout&&Qt){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(Yt["ybar-profile-character-hidden"])),u=Qt.fn&&Qt.fn[0].toUpperCase()||"",d=me(Qt.fn,Qt.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(Yt["loading-profile-button"])};if(l&&he(Qt.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(Yt["ybar-profile-character-hidden"]);else{var h=new Image;h.classList.add(Yt["ybar-account-img"],Yt["ybar-account-img-hidden"]),h.src=Qt.imageUrl,h.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",h.ontransitionend=p,h.onload=function(){h.classList.remove(Yt["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(h),l&&l.remove()}t.greetings&&(t.greetings.innerText=Qt.fullName||""),t.stackedNameGiven&&(t.stackedNameGiven.innerText=Qt.fn||""),t.stackedNameFamily&&(t.stackedNameFamily.innerText=Qt.ln||""),en(t)}c.length>0&&(c.unshift(Qt),t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(Yt.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var m=document.querySelector(".".concat(Yt["ybar-user-accounts-list"]))||document.querySelector(".".concat(Yt["accounts-list"])),f=function(n){var i=$t(c[n],n,t);i&&(null==m||m.appendChild(i)),e.onDestroy((function(){i&&(null==m||m.removeChild(i))}))},v=0;v0){var y=document.querySelector("".concat(s," .").concat(Yt["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(s," .").concat(Yt["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),r&&r.classList.add(Yt.show),n){var w=document.querySelector("".concat(s," ").concat(Yt["ybar-icon-arrow"])),_=Yt["ybar-icon-arrow-up"],E=Yt["ybar-icon-arrow-down"],x=Yt["ybar-item-hidden"],C=document.querySelectorAll(".".concat(Yt["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e3){var L=document.querySelector("".concat(s," .").concat(Yt["ybar-see-info"]));L&&L.style&&(L.style.display="block")}nn(t,e),i&&i(),Xt=!1}))}},an=function(e,t,n){var i,o,a,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",h=function(e){for(var t=e.split(";"),n=new Map,i=0;i567?567:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1),d&&(d.style.height="0",d.style.visibility="hidden")},g=function(){var e;if(null===(e=document.activeElement)||void 0===e?void 0:e.classList.contains(n))return document.body.addEventListener("focusin",y,!1),void document.body.addEventListener("click",y,!1);y()},b=function(){d&&(d.style.visibility="visible",m("resize",{height:f()}))},w=function(){null===d&&((d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.setAttribute("style","visibility:hidden;height: 0;"),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.addEventListener("load",(function(){setTimeout((function(){var n;i&&o||(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.loggedInUserElement.appendChild(d),e.addElementListener(t.loggedInUserElement,"mouseleave",g),e.addElementListener(t.loggedInUserElement,"blur",g),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b))))};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",w,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",w,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer)"false"===t.ybarAccountContainer.getAttribute("data-prod")&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("lang",l.locale),u.set("theme",(a="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(a="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),a)),u.set("done",window.location.href),u.set("pspid",ue());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":i=e.origin,o=e.source,m("initialize",{height:f(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":d.style.height="0";break;case"show":d.style.height=t.params.height,d.style.visibility="0"===t.params.height?"hidden":"visible",t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=h(t.params["data-ylk"]),$("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=h(t.params["data-ylk"]),$("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}})),window.addEventListener("keyup",(function(e){if(!d||"visible"===d.style.visibility){27===e.keyCode&&g()}}))}};if("undefined"!=typeof Element&&!Element.prototype.matches){var rn=Element.prototype;rn.matches=rn.matchesSelector||rn.mozMatchesSelector||rn.msMatchesSelector||rn.oMatchesSelector||rn.webkitMatchesSelector}var sn=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function cn(e,t,n,i,o){var a=ln.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function ln(e,t,n,i){return function(n){n.delegateTarget=sn(n.target,t),n.delegateTarget&&i.call(e,n)}}var un,dn=function(e,t,n,i,o){return"function"==typeof e.addEventListener?cn.apply(null,arguments):"function"==typeof n?cn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return cn(e,t,n,i,o)})))},pn=function(e){this.data=e,this.next=null,this.prev=null},hn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new pn(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)&&tn?Promise.resolve(t.data):void 0}}(bn.COUNT),(n=this._checkForMockData())?[2,n]:!e&&t?[2,t]:(1,i={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"}]}]}},o=this._fetch(i,1,(function(e){var t=a._normalizerCountResponse(e);return function(e,t){var n={lastRequested:Date.now(),status:wn.COMPLETE,promise:Promise.resolve(t),data:t};xn.set(e,n)}(bn.COUNT,t),t})),s=bn.COUNT,c=o,l={lastRequested:Date.now(),status:wn.PENDING,promise:c},xn.set(s,l),[2,o]);var s,c,l}))}))},e.prototype._fetch=function(e,t,n){var i,o;return m(this,void 0,void 0,(function(){var a,r,s,l,u,d,p,m,v,y,g,b,w,_,E,x;return f(this,(function(f){switch(f.label){case 0:if(a=e.data,r=void 0===a?{}:a,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&&(m.wssid=this.wssid),e.params=m,v=[],Object.keys(m).forEach((function(e){var t=m[e];t&&v.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t)))})),y=v.length?"?".concat(v.join("&")):"",g="https://apis.mail.yahoo.com/ws/v3/batch".concat(y),f.label=1;case 1:return f.trys.push([1,4,,5]),[4,Zt(g,{method:"POST",body:JSON.stringify(r),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":p}})];case 2:return[4,(b=f.sent()).json()];case 3:if(w=f.sent(),b.ok)return[2,n(null===(o=w.result)||void 0===o?void 0:o.responses)];if((_=null===(i=null==w?void 0:w.error)||void 0===i?void 0:i.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 E=f.sent(),c("JWS: ".concat((x=E).message),x),E;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&&En[t])return En[t]}},e.prototype._normalizerCountResponse=function(e){var t,n,i,o,a,r;if(!e)return 0;var s=((null===(i=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===i?void 0:i.decos)||[]).find((function(e){return"FTI"===(null==e?void 0:e.id)}));return s&&null!==(r=null===(a=null===(o=null==s?void 0:s.counts)||void 0===o?void 0:o[0])||void 0===a?void 0:a.unseen)&&void 0!==r?r:0},e.prototype._handleWssidApiError=function(e,t,n,i){var o,a,r=null===(a=null===(o=null==e?void 0:e.error)||void 0===o?void 0:o.details)||void 0===a?void 0:a.wssid,s=t.params,c=(void 0===s?{}:s).wssid;if(r){if(c&&r===c)throw new Error("API provided same invalid WSSID");if(void 0!==n&&n>0)return n-=1,this.wssid=r,this._fetch(t,n,i);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}(),Ln=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")},kn=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")},Sn=function(e,t,n){var i=t.mailUnread,o=t.mailUnreadSpan,a=t.mailIndicator,r="".concat(_n["ybar-unread-active"]);n.fetchCount().then((function(t){if(i&&t>0){if("finance"!==e.getConfig().property&&i.classList.add(r),a&&a.classList.add(r),o){var n=t>99;o.textContent=n?"99+":t+"",i.classList.add("".concat(_n["count-loaded"])),n?i.classList.add("".concat(_n["ybar-large-unread"])):t>=10&&i.classList.add("".concat(_n["ybar-mid-unread"]))}e.onDestroy((function(){i.classList.remove(r),a&&a.classList.remove(r),o&&(o.textContent="")}))}})).catch((function(){}))};be("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,i=t.mailLink,o=t.mailSigninLink,a=t.mailPreview;if(n){var r=new Cn;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){Le(n)||kn(t)})),e.addElementListener(a,"focusin",(function(){Ln(t)})),e.addElementListener(a,"focusout",(function(){kn(t)})),e.onDestroy((function(){kn(t)})),o){var s=i.getAttribute("data-redirect-params");if(s&&""!==s){var c=i.href;e.onDestroy((function(){i.href=c})),s=-1!==i.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,ue()),i.href=pe(i.href)+s,(null==o?void 0:o.href)&&(o.href=pe(o.href)+s)}}else Sn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(_n["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(_n["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(_n["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(_n["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(_n["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(_n["ybar-mail-preview"].split(" ").join(".")," .").concat(_n["popover-body"].split(" ").join(".")))})}));var An,Tn="_yb_djsbb3",In="_yb_5g0jug",Nn="_yb_auapdc",On="_yb_qxgqrc",Mn="_yb_lonord",Bn="_yb_ppirri",Rn="_yb_4s610x",Pn="_yb_17xgyve",qn="_yb_11ebdcz",Dn="_yb_eybgfu",Hn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),i=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new Cn).fetchCount().then((function(t){i&&t>0&&(i.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){i.textContent=""})))})).catch((function(){}))},Fn=!1,Un=-1,Yn=function(e,t,n){var i,o,a,r=-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;for(var p=window.getComputedStyle(e.navList),h=parseInt(p.gap,10)||0,m=0;mb&&(m!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&UnUn&&-1!==Un)for(var _=Un;_=r;){var x=e.navItems[E].cloneNode(!0),C=x.querySelector("a");C&&(C.setAttribute("id",""),C.classList.remove(Nn));var L=x.querySelector(".".concat(e.navigationDropdownListClass));if(L&&(L.style.display="none"),x.classList.remove(e.dropdownWrapperClass),x.classList.remove(e.ybarNavigationItemClass),x.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(x,e.moreMenuDropdown.firstChild);var k=x.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(a=e.navItems[E].querySelector("a"))||void 0===a||a.setAttribute("tabindex","-1"),E--}Un=r}if(-1!==r&&e.navList){var S=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=S,t.textContent=".".concat(Rn,"{ max-width: ").concat(S,"}")}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)}},jn=function(e,t,n,i){for(var o=t||window.location.pathname,a=n||window.location.hostname,r=(i||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),a=new mn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(qn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:o,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n;y([],v(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();"news"===i.property?An=-12:(An="finance"!==i.property&&"sports"!==i.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==i.locale&&"zh-Hant-TW"!==i.locale||(An=-20));var o=t.isTablet?"touchstart":"mouseover",a=dn(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),o,(function(n){if(window||document){var i=window.innerWidth||document.documentElement.clientWidth,o=n.delegateTarget;if(o&&-1!=o.className.indexOf(t.dropdownWrapperClass)&&(o=o.querySelector(".".concat(t.navigationDropdownListClass))),o){o.style.removeProperty("left");var a=o.getBoundingClientRect(),r=Math.trunc(a.right),s=parseInt(window.getComputedStyle(o).marginLeft,10)+i-r;if(r>i)return void(o.style.marginLeft=s+"px");parseInt(o.style.marginLeft)0?o.style.removeProperty("margin-left"):o.style.marginLeft=s+"px":(o.style.removeProperty("margin-left"),o.style.marginLeft=An+"px")}}else{var c=new Error("Dropdown could not be initialized");e.logError("Error:",c)}}));e.onDestroy((function(){a.destroy()}))}(e,t),Hn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Hn(e)})),function(e,t){var n,i=function(e,n){var i;e.classList.contains(t.moreMenuNavItemClass)&&(null===(i=t.moreMenuMainFocusItem)||void 0===i||i.setAttribute("aria-expanded",n))},o=dn(".".concat(t.dropdownWrapperClass),"focusin",(function(e){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownWrapperClass)&&(n.classList.add(t.dropdownOpenClass),i(n,"true"))})),a=dn(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",(function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var o=n.parentElement;o&&!o.contains(e.relatedTarget)&&o.classList.contains(t.dropdownWrapperClass)&&(o.classList.remove(t.dropdownOpenClass),i(o,"false"))}else(null==n?void 0:n.classList.contains(t.dropdownOpenClass))&&(n.classList.remove(t.dropdownOpenClass),i(n,"false"))})),r=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Bn));null==r||r.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&(e.addElementListener(n,"mouseenter",(function(n){e.triggerEvent("nav:dropdown:show",{event:n}),t.style.height=t.scrollHeight-20+"px"})),e.addElementListener(n,"mouseleave",(function(){t.style.height="0"})))})),e.onDestroy((function(){var e;o.destroy(),a.destroy(),y([],v(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 i=t;i;){if(i===e){n=!0;break}i=i.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))}(e,t);var r=e.getConfig().bucketConfig,s=void 0===r?{}:r,c=s.enableDynamicNavfocus,l=void 0!==c&&c,u=s.enableFuzzyMatching;if(l&&(Fn=void 0!==u&&u,jn(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,i=void 0===n?{}:n,o=i.hostname,a=void 0===o?window.location.hostname:o,r=i.pathname,s=void 0===r?window.location.pathname:r,c=i.options;jn(t,s,a,void 0===c?{}:c)})),o){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=dn("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Yn(t,d,a)})),Yn(t,d,a),e.addElementListener(window,"load",(function(){t.navList&&t.moreMenuNavItem&&(t.hasNavPlacement||Gn(e,t))&&([t.navList,t.moreMenuNavItem,t.hasNavPlacement].forEach((function(e){e&&(e.style.opacity="1",e.style.visibility="visible")})),Yn(t,d,a))})),e.addElementListener(window,"resize",(function(){Yn(t,d,a)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}Wn(e,t)},Gn=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},Wn=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(i){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:i}),n=t.isNavHidden()}))}},Vn="#ybar-nav-more-menu";be("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),i={dropdownWrapperClass:In,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:On,moreMenuDropdown:document.querySelector("".concat(Vn," ul")),moreMenuNavItem:document.querySelector(Vn),moreMenuNavLinksSelector:"".concat(Vn," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(Vn," > button")),moreMenuNavItemClass:Dn,navigationDropdownItemClass:Mn,navigationDropdownListClass:Bn,navItems:document.querySelectorAll("li.".concat(Pn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Pn," > 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:Pn,dropdownOpenClass:Tn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),i=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(i-=1.8)>5?i:5:"crunch"===n.ytheme?i: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=5||n.initialized?clearInterval(a):(void 0!==n.isNotificationsSupported()&&n.init(),o++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(ei),null===(t=this.a11yMenu)||void 0===t||t.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(ti),document.body.classList.remove(ei),null===(e=this.a11yMenu)||void 0===e||e.setAttribute("aria-expanded","false"))},Object.defineProperty(e.prototype,"lastSeen",{get:function(){return this.state.lastSeen},set:function(e){this.state.lastSeen=e,this.setLocalStorage()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manuallyClosed",{get:function(){return this.state.manuallyClosed},set:function(e){this.state.manuallyClosed=!!e,this.setLocalStorage()},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.isNotificationsSupported()&&this.isNotificationPermissionDefault()&&(this.historyEnabled||document.body.classList.add(ti),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:$n)||(document.body.classList.add(ti),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(ni)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var t=new Date(this.lastSeen),n=new Date;return t.getTime()+e>n.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(Xn,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(Xn);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(Xn),null}},e}(),ai=-1,ri={0:0,1:1,9:9,99:99,150:150},si=function(e,t){var n,i=t.isUH3,o=t.notifMenu,a=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new oi(e,t.tooltipContainer));var u=G(),d=function(){o&&(o.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(Kn))||(u.resetBadge(),s&&(i?null===(t=s.parentElement)||void 0===t||t.classList.remove(Zn):s.style.display="none"))},h=function(e){var t,n;0===ai&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(ai++,function(e){for(var t,n,i=0;i0&&s)if(i){var a,r=(a=e.newCount)>99;s.textContent=r?"99+":a+"",null===(n=s.parentElement)||void 0===n||n.classList.add(Zn)}else s.style.display="block"},m=function(){u.refreshPanel().then(h).then(ee).catch((function(){}))};e.addEventListener("close-all-menus",(function(){Le(c)||d()})),c&&(m(),setInterval((function(){m()}),3e5),i?l&&l.addEventListener("mouseenter",(function(){p(),null==n||n.show()})):c.addEventListener("mouseenter",(function(){p(),null==n||n.show()})),c.addEventListener("mouseleave",(function(){d(),null==n||n.hide()}))),e.addElementListener(o,"click",(function(){$("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),a&&Se(e,a,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){o&&(o.checked=!0),null==r||r.classList.add("ybarMenuOpen")})),e.addElementListener(r,"focusout",d),e.addElementListener(t.tooltipContainer,"focusin",(function(){null==n||n.show()})),e.addElementListener(t.tooltipContainer,"focusout",(function(){null==n||n.hide()}))};be("ybar-mod-notification",(function(e){var t={isUH3:"crunch"===e.getConfig().ytheme,notifContainer:document.getElementById("notification-container"),notifBadge:document.getElementById("notif-badge"),notifMenu:document.getElementById("ybarNotificationMenu"),notifMenuOpener:document.querySelector("#ybarNotificationMenu + label"),notifDropdown:document.getElementById("notifDropdownContainer"),tooltipContainer:document.querySelector(".".concat(Jn)),notifLabel:document.querySelector(".".concat(Qn))};si(e,t)}))}()}};
setTimeout(function() {
(function (win, cfg) {
win._ybar_runtime_config = win._ybar_runtime_config || {};
Object.keys(cfg).forEach(function (key) {
win._ybar_runtime_config[key] = cfg[key];
});
})(window, {"property":"homepage","device":"desktop","locale":"en-US","ytheme":"crunch","bucketConfig":{"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"componentCount":0,"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","BACK":"Back","LITE_UPGRADE_PROMPT_MESSAGE":"Some parts of this page are not supported on your current browser version. Please upgrade to a recent browser version.","NOTIF_ONBOARD_UPSELL_CLOSE":"Not now","NOTIF_ONBOARD_UPSELL_CTA":"Turn On","NOTIF_ONBOARD_UPSELL_SUBTITLE":"Keep up with the best stories in News, Sports, Finance, Entertainment and more!","NOTIF_ONBOARD_UPSELL_TITLE":"Get news push notification","SEARCH_TOOLTIP_VOICE":"Search by voice","SEARCH_TOOLTIP_WEB":"Search the web"}},"mailVariantLogos":{}}); $_mod_ybar && $_mod_ybar.ready();
}, 500); // adding delay to YBAR init to wait base page rapid initialization
window.performance.mark('header');
window.performance.measure('headerDone','PageStart','header'); '+w+"":"",e.title=E(t.league_n_tmpl,[u,n,d,p,s+c+l]))}catch(e){}else e.title=E(t.league_tmpl,[u,p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})]);else{try{e.title=g?E(t.l_tmpl,[h,m,p,f,v])+''+t.liveIconText+"":_?E(t.f_tmpl,[h,m,p,y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz})]):E(t.n_tmpl,[p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})])}catch(e){}n&&(e.imageUrl=n)}}}function _e(e,t){var n=this.config,i=t.m;t=t.fd,e=e.li;n.enableNewLeagueTmpl&&48==i&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Ee(){this.config={enableNewLeagueTmpl:!1,n_tmpl:"vs. {0} {1}",l_tmpl:"{0} - {1} vs. {2} {3} {4}",f_tmpl:"{0} - {1} vs. {2} {3}",league_tmpl:"{0} vs. {1} {2}",league_n_tmpl:'{0}vs{3}{4}',league_l_tmpl:'{0}{2} vs {3}{5}{6} {7} {8}',league_f_tmpl:'{0}{2} vs {3}{5}{6}',liveIconClass:"sa-ico-live",liveIconText:"",maxLen:60,sepThreshold:10}}function xe(e){var t,n,i,o,a,r,s,c=this.config,l=e.m;e=e.fd;41==l&&e&&!e.subtitle&&(l=e.img_url||"",t=''+e.condition+"",n=e.degree,i=e.high_temp&&'• H:'+e.high_temp+"°",o=e.low_temp&&"L:"+e.low_temp+"°",a=e.loc&&'• '+e.loc,r=e.warning?'':"",s=this.app.format,c.enableHL?e.title=s(c.tmpl_hl,[l,n,r,t,i,o,a]):e.title=s(c.tmpl,[l,n,t,a]))}function Ce(e,t){var n=this.config,i=t.m,o=t.fd&&t.fd.img_url;41==i&&n.enableThumb&&o&&(t.fd.imageUrl=o)}function Le(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function ke(e){var t,n,i,o=this.config,a=e.m,r=e.d,s=(e=e.fd)&&e.show_subtitle?e.show_subtitle:0;27==a&&e&&!s&&(r&&"movie"==r.subdn?(n=e.year||"",a=e.genre&&e.genre[0]?e.genre[0]+" "+o.text.movie:o.text.movie,s=e.releaseDate?new Date(e.releaseDate):"",t=new Date,s&&t{1}{3}{4}{5}',label:{C:"Cancelled",S:"Scheduled",A0:"Delayed",A1:"Ontime",L0:"Arrived Late",L1:"Arrived"},descPrefix:{S:"Scheduled departure at",A:"Estimated arrival at",L:"Arrived at"}}}function Oe(e){var t=this.config,n=this.app.format,i=e.idx,o=e.m;e=e.fd;t.enabled&&53===o&&e&&0===i&&"1.00"===e.num&&(e.title=n(t.titleTpl,[e.fromUnit,e.title]))}function Me(e,t){var n=this.config,i=t.idx,o=t.m;t=t.fd;n.enabled&&53===o&&0===i&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function Be(){this.config={titleTpl:"1 {0} = {1}"}}function Re(e){var t=this.config,n=this.app.format,i=e.m;e=e.fd;t.enabled&&54===i&&e&&(i=e.resultUnitAbbr||e.resultUnit,e.title=n(t.titleTpl,[e.num,i]))}function Pe(e,t){var n=this.config,i=t.idx,o=t.m;t=t.fd;n.enabled&&54===o&&0===i&&t&&e.li.classList.add("sa-unitconv")}function qe(){this.config={titleTpl:"{0} {1}"}}function De(e){var t=e.m,n=e.fd;if(79==t&&n){var i=n.answeredby;if(i&&0')}c&&(r+=''+c+""),r+=(c?" ":"")+l.bold(this.app.config.boldTag,s(o.name),s(e.q)),a&&1Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function $e(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(l.stopPropagation(e),a.value="",l.setFocus(a),i.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,i=n.view,o=i.elems,a=o.sbInput,r=o.sbClear;r&&(l.ae(r,"click",e),l.ae(r,"keydown",e))}function et(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}c.SA=(t=[],F.prototype={jsonp:function(e){var t=s.getElementsByTagName("head")[0],n=s.createElement("script");l.set(n,"type","text/javascript"),l.set(n,"src",e),t.appendChild(n),l.ae(n,"load",(function(){t.removeChild(n)}))},xhr:function(e,t){var n=new XMLHttpRequest;n.open("GET",e),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.onreadystatechange=function(){var e=n.status;(4==n.readyState&&200"+a+" "+n.config.saAria.shownText+""),o.notify(x)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,i=n.length;e.updateRows(),e.app.notify(b),e.shown&&e.sameQuery()||(e.lastInput=n,it.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(i=e.elems).sbInput,n=i.saAria,i=i.sbForm,o=e.config,a=e.app;a.notify(_),l.removeClass(s.body,o.typingClass),i&&i.parentElement&&l.removeClass(i.parentElement,o.typingClass),l.removeClass(i,o.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,o.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(l.set(t,"aria-expanded","false"),e.useTextArea)&&l.set(t,"rows","1"),n&&(l.set(n,"aria-expanded","false"),n.innerHTML=""+e.config.saAria.closedText+""),a.notify(E)},autoSelect:function(e){var t,n=this.config.autoSelect;n&&(!0===n&&0===e.idx||"[object Object]"===Object.prototype.toString.call(n)&&(t=e.data).m==n.m&&n.exact&&t.k.toLowerCase()===t.q.toLowerCase())&&(this.assistItem=e)},clearAssist:function(){this.elems.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null},createItem:function(e){var t={idx:e.idx,data:e.origData},n=l.htmlEncode,i=this.config,o=this.app.createElem,a={},r=(i.highlight&&l.merge(a,i.highlight),e.highlight&&l.merge(a,e.highlight),o(i.saItem,"li"));return(o=(l.set(r,"pos",e.idx),o(i.saTitle,"span"))).innerHTML=e.t||(i.boldTag&&e.k&&e.q?l.bold(i.boldTag,n(e.k),n(e.q),a):n(e.k)),r.appendChild(o),t.li=r,t.title=o,this.app.notify(g,[t,e]),t},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,t=e.config,n=e.elems.sbForm;t.resetQuery&&e.resetQuery(),e.hide(),n.action=e.origAction,e.app.notify(w)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,i=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(i(n,"padding-top"),10)-parseInt(i(n,"padding-bottom"),10)),n.style.height=0,l.set(n,"rows",Math.min(Math.floor(n.scrollHeight/e.rowHeight),t.inputMaxRows||5)),n.style.height="")}},j),e.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},u.hideSbClr=(G.prototype={init:function(e){(this.app=e).on(b,z,this)}},G),u.entityFocus=(V.prototype={init:function(e){(this.app=e).on(T,W,this)}},V),u.saFr=(Q.prototype={init:function(e){(this.app=e).on(m,K,this),e.on(k,Z,this),e.on(w,J,this)}},Q),u.ipos=(ee.prototype={init:function(e){(this.app=e).on(b,X,this),e.on(d,$,this)}},ee),u.saTray=(ne.prototype={init:function(e){(this.app=e).on(h,te,this)}},ne),u.saFlvr=(oe.prototype={init:function(e){e.on(g,ie,this)}},oe),u.saShoppingRefinement=(ce.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(f,ae,t),e.on(g,re,t),e.on(y,se,t)}},ce),u.saWhatToWatch=(pe.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(p,le,t),e.on(g,ue,t),e.on(y,de,t)}},pe),u.saEdit=(me.prototype={init:function(e){e.on(g,he,this)}},me),u.saAnnot=(ve.prototype={init:function(e){e.on(g,fe,this)}},ve),u.saStock=(be.prototype={init:function(e){(this.app=e).on(v,ye,this),e.on(g,ge,this)}},be),u.saSport=(Ee.prototype={init:function(e){(this.app=e).on(v,we,this),e.on(g,_e,this)}},Ee),u.saWeather=(Le.prototype={init:function(e){(this.app=e).on(v,xe,this),e.on(g,Ce,this)}},Le),u.saEntertainments=(Se.prototype={init:function(e){(this.app=e).on(v,ke,this)}},Se),u.saFlightStatus=(Ne.prototype={init:function(e){(this.app=e).on(v,Te,this),e.on(g,Ie,this)}},Ne),u.saCurrencyConverter=(Be.prototype={init:function(e){(this.app=e).on(v,Oe,this),e.on(g,Me,this)}},Be),u.saUnitConverter=(qe.prototype={init:function(e){(this.app=e).on(v,Re,this),e.on(g,Pe,this)}},qe),u.saAnswers=(He.prototype={init:function(e){(this.app=e).on(v,De,this)}},He),u.saImg=(Ue.prototype={init:function(e){e.on(g,Fe,this)}},Ue),u.saGroup=(Ge.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(g,Ye,t),e.on(y,ze,t)}},Ge),u.saPCActn=(Je.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(p,We,t),e.on(C,Ve,t),e.on(N,Ke,t),e.on(M,Ze,t)}},Je),u.tapRmv=(Xe.prototype={init:function(e){(this.app=e).on(L,Qe,this)}},Xe),u.tapClr=(et.prototype={init:function(e){(this.app=e).on(C,$e,this)}},et)}();var pt,ht,mt,ft={"bot-search-icon":"_yb_ucueal","bot-search-icon-container":"_yb_15jdlav","bot-search-item":"_yb_1gql137","bot-search-item-col":"_yb_12cyoum","bot-search-span":"_yb_11frvtm",history:"_yb_12lbnb7","list-item-hover":"_yb_1q2o4w",lowlight:"_yb_n0borv","no-wrap":"_yb_1vqkx95","related-title":"_yb_1oncmgz",sa:"_yb_syeytv","sa-annot-rich":"_yb_r78mvt","sa-annot-subtitle":"_yb_izb52l","sa-annot-title":"_yb_1t19xs9","sa-company":"_yb_vfjzbt","sa-edit":"_yb_gee6gy","sa-edit-icon":"_yb_bb2s04","sa-edit-text":"_yb_bsgxle","sa-fd-actn-cont":"_yb_ricfn6","sa-grp-hdr":"_yb_1hxqc4o","sa-grp-hdr-title":"_yb_1vbs43p","sa-history":"_yb_drxblo","sa-img":"_yb_1k54fx9","sa-img-ctn":"_yb_ixcxd5","sa-img-icon":"_yb_1luqkt7","sa-item":"_yb_1y7fq17","sa-item-title":"_yb_vpy4ue","sa-rich-thumb":"_yb_135x0md","sa-sbx-container":"_yb_28kltp","sa-sugg":"_yb_2femc8","sa-thumb-icon":"_yb_1gp84zi","sa-tray":"_yb_188w10g","sa-tray-list-container":"_yb_evmrmt","sa-trending":"_yb_17c4393","sub-assist":"_yb_1p8ztk7","suggestion-title":"_yb_uchtz4",trending:"_yb_180oajs","trending-title":"_yb_kd0fyd","yui3-highlight":"_yb_158j6cq",safadein:"_yb_1jubj2q","uh3-layout":"_yb_17h88yg","sa-answer":"_yb_prky02","sa-creator":"_yb_yqn9oi","sa-group-holder":"_yb_1g1wxtg",sacollapse:"_yb_1dcsw9k"},vt={boldTag:'{s}',customEvent:{customBtn:"searchBtnClicked",customKeyBoard:"enterKeyPressed",customSelection:"assistSelectionClicked"},elems:{sbForm:"ybar-sf",sbInput:"ybar-sbq",sbSubmit:"ybar-search",sbClear:"ybar-sbq-x"},hightlight:{exact:!0,pattern:"^"},minInput:1,sa:{css:ft["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:ft["sa-tray-list-container"]},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:ft["sa-sbx-container"]},tray:{css:ft.sa+" "+ft.lowlight}},saPCActn:{css:ft["list-item-hover"],useDefaultTab:!0},ylcEncode:{disable:!0},saFlvr:{disable:!0},saEdit:{disable:!0},saAnnot:{disable:!0},saWhatToWatch:{disable:!0},saImg:{disable:!0},saPopup:{disable:!0}}},yt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:ft["sa-item"]},saTitle:{css:ft["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:ft["sa-trending"],m13:ft["sa-history"],m30:ft["sa-company"],flvr:ft["sa-sugg"]},saEdit:{ctn:{css:ft["sa-edit"]},icon:{css:ft["sa-edit-icon"]},text:{css:ft["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:ft["sa-img-icon"]},thumbnail:{css:ft["sa-img"]},ctn:{css:ft["sa-img-ctn"]},richClass:ft["sa-rich-thumb"]},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:ft["sa-grp-hdr"]},title:{css:ft["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:ft.trending},m13:{text:"",css:ft.history}}}}},gt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:ft["sa-item"]},saTitle:{css:ft["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:ft["sa-trending"],m13:ft["sa-history"],m30:ft["sa-company"],flvr:ft["sa-sugg"]},saEdit:{ctn:{css:ft["sa-edit"]},icon:{css:ft["sa-edit-icon"]},text:{css:ft["sa-edit-text"]}},saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:ft["sa-img-icon"],wrap:{css:ft["sa-thumb-icon"]}},thumbnail:{css:ft["sa-img"]},ctn:{css:ft["sa-img-ctn"]},richClass:ft["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:ft["sa-grp-hdr"]},title:{css:ft["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:ft.trending},m13:{text:"",css:ft.history}}},doneBtn:{disable:!0}}},bt={plugins:{saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"],markers:{m27:{type:"entertainments"},m32:{type:"flight"},m44:{type:"holiday"},m53:{type:"currency"},m54:{type:"unit"}}},saWeather:{enableHL:!0},saSport:{enableNewLeagueTmpl:!0,maxLen:40},saStock:{icon:"sa-stk-icon",billboard:!0,k_tmpl:'{0} · {1}',fd_tmpl:'{0}{3} ({4})'},saFlightStatus:{enabled:!0},saCurrencyConverter:{enabled:!0},saUnitConverter:{enabled:!0},saWhatToWatch:{disable:!1,insertPos:1}}},wt={plugins:{saAnnot:{title:{css:ft["sa-annot-title"]},subtitle:{css:ft["sa-annot-subtitle"]},richClass:ft["sa-annot-rich"],markers:{m27:{type:"entertainments"},m32:{type:"flight"},m44:{type:"holiday"},m53:{type:"currency"},m54:{type:"unit"}}},saWeather:{enableHL:!0},saSport:{enableNewLeagueTmpl:!0,maxLen:60},saStock:{icon:"sa-stk-icon",billboard:!0,k_tmpl:'{0} · {1}',fd_tmpl:'{0}{3} ({4})'},saFlightStatus:{enabled:!0},saCurrencyConverter:{enabled:!0},saUnitConverter:{enabled:!0},saWhatToWatch:{disable:!1,insertPos:1,item:{count:4}}}},_t=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Et=function(e,t,n){var i=e.querySelectorAll(t);if(i)for(var o=0;o40?(S.style.setProperty(k,"40px"),S.style.setProperty(L,i+"px")):(S.style.setProperty(k,"0px"),S.style.setProperty(L,"40px")),C.addClass(t,g),C.removeClass(t,b)}else S.style.setProperty(k,"0px"),S.style.setProperty(L,"0px")})),e.on("before_hide_view",(function(){var t=e.view.elems.sbForm;C.addClass(t,b),C.removeClass(t,g)}))}},x.add("yba-saPCAnim",_);var A=x.viewClass;C.extend(E,A),E.prototype.clearAssist=function(){var e=this,t=e.config;C.hasClass(document.body,t.typingClass)?A.prototype.clearAssist.call(e):setTimeout((function(){A.prototype.clearAssist.call(e)}),200)},x.viewClass=E}var T=function(e){var t,n,i;return r&&e&&(t=13===e.data.m?"history":9===e.data.m?w:"sa",n=9===e.data.m?"".concat("tn"===w?"organic":"none"):"none",0==e.idx&&e.data.m&&-1!==[27,32,41,44,46,48,53,54].indexOf(e.data.m)&&(i=e.data.m)),{category:t,keyword:n,marker:i}},I=function(e){var n,a,r=!!document.querySelector(".modal-open"),s=null===(n=e.detail)||void 0===n?void 0:n.data,c=1,l=!1;if(p&&""!==p.value.trim()){"enterKeyPressed"===e.type?s&&s.idx>=0?(a="srch-asst",l=!0,c=s.idx+1):a="kybrd":a="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,h=u.keyword;Lt(t,o,l,d,h),(r||l)&&("homepage"===i||"my"===i?(Ct(t,r,l,d),kt(t,l,d)):"smartphone"===o&&kt(t,l,d)),B(St(a,"0",c.toString()))}},N=function(e){var n,a=!!document.querySelector(".modal-open"),r=null===(n=e.detail)||void 0===n?void 0:n.data,s=!0,c=(r&&r.idx||0)+1,l=T(r),u=l.category,d=l.keyword,p=l.marker;Lt(t,o,s,u,d,p),"homepage"===i||"my"===i?(Ct(t,a,s,u),kt(t,s,u)):"smartphone"===o&&kt(t,s,u),B(St("srch-asst","0",c.toString(),r&&r.data.m))},O=function(e){if("function"==typeof n.beaconClick&&9!==e.keyCode&&13!==e.keyCode&&1===y&&"smartphone"!==o){n.saveCurrentTimerValue("search_input_keyboard_input");var t=St("keystroke","1");delete t.clickParams.tar,"answers"===i&&(t.slk="inpt-fcs",t.clickParams.elm="inpt",t.clickParams.elmt="srch-keystroke"),y++,n.beaconClick(t.sec,t.slk,t.pValue,t.clickParams)}};window.visualViewport&&"smartphone"===o&&window.visualViewport.addEventListener("resize",(function(){var e;document.querySelector(":root").style.setProperty("--yb-visual-viewport-height",(null===(e=window.visualViewport)||void 0===e?void 0:e.height)+"px")}));var M=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===o&&t.addEventListener("click",(function(){if(e){if(e.classList.contains("ybar-searchbox-assist-fullscreen"))return;e.classList.add("ybar-searchbox-assist-fullscreen"),e.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");"function"==typeof n.beaconClick&&n.beaconClick("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"})}}))},B=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var i={pp:{A_utm:n.getPerformanceI13nObject()}};n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){setTimeout((function(){t&&(t.submit(),At(t))}),300)}),i)}else t&&(t.submit(),At(t))},R=function(n){var i=n.animationName;i==ft.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):i==ft.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:h,text:f||""},suggestionTitle:{text:m||""}}}function q(e){var t=this.config,n=this.app.view,i=n.elems.sbForm,o=n.elems.sbInput.value,a=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var i=document.createElement("span"),o=document.createElement("span");return o.textContent=t,i.appendChild(o),n.appendChild(i),n}}(ft,t.suggestionTitle.text),r=function(e,t,n){var i=document.createElement("div");i.className=n["bot-search-item"];var o=document.createElement("div"),a=document.createElement("div");o.className=n["bot-search-item-col"],a.className=n["bot-search-item-col"];var r=document.createElement("div");r.className=n["bot-search-icon-container"];var s=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("width","20"),s.setAttribute("height","20"),s.setAttribute("viewBox","0 0 24 24"),s.classList.add(n["bot-search-icon"]),c.setAttribute("d","M3.7634,15.837 L6.1814,15.837 C6.5214,17.45 7.0614,18.891 7.7584,20.045 C6.0094,19.118 4.6024,17.637 3.7634,15.837 L3.7634,15.837 Z M2.9144,12.008 C2.9144,11.351 2.9844,10.711 3.1164,10.094 L5.8884,10.094 C5.8264,10.717 5.7864,11.354 5.7864,12.008 C5.7864,12.663 5.8264,13.299 5.8884,13.922 L3.1164,13.922 C2.9844,13.305 2.9144,12.665 2.9144,12.008 L2.9144,12.008 Z M7.7584,3.971 C7.0614,5.125 6.5214,6.566 6.1814,8.179 L3.7634,8.179 C4.6024,6.379 6.0094,4.898 7.7584,3.971 L7.7584,3.971 Z M11.0504,3.142 L11.0504,8.179 L8.1054,8.179 C8.6604,5.664 9.7414,3.771 11.0504,3.142 L11.0504,3.142 Z M12.9654,3.142 C14.2754,3.771 15.3564,5.664 15.9114,8.179 L12.9654,8.179 L12.9654,3.142 Z M20.2524,8.179 L17.8344,8.179 C17.4954,6.566 16.9544,5.126 16.2574,3.971 C18.0064,4.898 19.4144,6.379 20.2524,8.179 L20.2524,8.179 Z M11.0504,20.875 C9.7414,20.245 8.6594,18.352 8.1054,15.837 L10.1354,15.837 C10.2104,15.161 10.3914,14.519 10.6584,13.922 L7.7984,13.922 C7.7354,13.305 7.7004,12.665 7.7004,12.008 C7.7004,11.351 7.7354,10.711 7.7984,10.094 L11.0504,10.094 L11.0504,13.184 C11.5394,12.388 12.1904,11.702 12.9654,11.183 L12.9654,10.094 L20.8994,10.094 C21.0284,10.697 21.0964,11.323 21.0994,11.964 L21.0994,11.964 L21.0994,12.661 C21.0994,13.19 21.5284,13.618 22.0574,13.618 L22.0584,13.618 C22.5874,13.618 23.0164,13.19 23.0164,12.661 L23.0164,11.965 L23.0144,11.965 C22.9904,5.662 17.6704,0.608 11.2724,1.024 C5.8994,1.373 1.4994,5.676 1.0414,11.04 C0.5134,17.228 5.1074,22.463 11.0504,22.975 C11.1664,22.985 11.3274,22.993 11.4844,22.999 C11.8104,23.012 12.1194,22.85 12.2904,22.572 L12.2924,22.569 C12.5734,22.113 12.3964,21.514 11.9124,21.284 L11.0504,20.875 Z M15.9434,18.874 C14.6054,18.874 13.5214,17.79 13.5214,16.452 C13.5214,15.115 14.6054,14.03 15.9434,14.03 C17.2804,14.03 18.3654,15.115 18.3654,16.452 C18.3654,17.79 17.2804,18.874 15.9434,18.874 M21.6354,20.908 L19.4524,18.725 C19.8774,18.07 20.1264,17.291 20.1264,16.452 C20.1264,14.145 18.2584,12.274 15.9514,12.269 L15.9354,12.269 C13.6284,12.274 11.7604,14.145 11.7604,16.452 C11.7604,18.763 13.6324,20.635 15.9434,20.635 C16.7814,20.635 17.5614,20.386 18.2154,19.961 L20.3984,22.144 C20.7404,22.486 21.2934,22.486 21.6354,22.144 C21.9774,21.803 21.9774,21.249 21.6354,20.908"),s.appendChild(c),r.appendChild(s),o.appendChild(r);var l=document.createElement("span"),u=document.createElement("span");u.className=n["bot-search-span"];var d=document.createElement("span"),p=e.split("{query}");return l.textContent=p[0]||"",u.textContent=t,d.textContent=p[1]||"",a.appendChild(l),a.appendChild(u),a.appendChild(d),i.appendChild(o),i.appendChild(a),i}(t.botSearch.text,o,ft);r&&(e&&a&&(e.prepend(a),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(i.action=t.botSearch.action),n.hide(),I(new CustomEvent("botSearchClicked"))})))}function D(){this.config={}}function H(){""===this.app.view.lastInput&&(window.location.href="https://search.yahoo.com/search?p=what+to+watch&fr=yfp-sb-w2w&fr2=p%3Afp%2Cm%3Asb%2Cct%3Aw2w")}p&&(p&&(p.addEventListener("enterKeyPressed",I),p.addEventListener("assistSelectionClicked",N),p.addEventListener("searchBtnClicked",I),p.addEventListener("keydown",O),p.addEventListener("click",M)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==i&&"my"!==i||(Ct(t),"homepage"===i&&function(e){var t=_t("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Et(e,'input[name="type"]',t);else{var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","type"),n.setAttribute("value",t),e.appendChild(n)}}(t)),n.saveCurrentTimerValue("search_assist_ready")),P.prototype={init:function(e){this.app=e,e.on("after_update_list",q,this)}},h&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),D.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",H,t),e.on("before_key_submit",H,t)}};var F=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Tt,e)};(function(e){var t=new Date;if(!0!==l&&(null===e||!function(e){var t=v(e.toLocaleTimeString("en-US",{hour12:!1,timeZone:"America/Los_Angeles",hour:"numeric",weekday:"narrow"}).split(", "),2),n=t[0],i=t[1],o=parseInt(i);return("S"===n||"F"===n)&&o>=14&&oc?(F("".concat(i,",1")),!0):!Number.isNaN(u)&&2>u&&(F("".concat(i,",2")),!0)})(s)&&(p&&""!==c&&p.setAttribute("placeholder",c),t.classList.add("ybar-enable-watch-to-watch"),null===(d=window.YAHOO.SA)||void 0===d||d.add("saWTW",D))};be("ybar-mod-assistjs",(function(e){var t,n,i,o,a,r=document.getElementById("ybar-sf"),s=document.getElementById("ybar-w2w-list"),c=null;if(r&&"true"===r.getAttribute("data-saEnabled")){var l={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:r,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn")},u=e.getConfig();!!u.bucketConfig.use_uh3_profile&&(vt.plugins.saTray.ctn.css+=" "+ft["uh3-layout"]);var d=!!u.bucketConfig.assist_autoselect;d&&(vt.autoSelect=!0),!!u.bucketConfig.wrap_searchbox&&(vt.plugins.saTray.afterNode="ybar-sbq-wrap");var p=vt,m=!!u.bucketConfig.enable_search_ui,f=!!u.bucketConfig.assist_billboard_v2,v=!!u.bucketConfig.assist_disable_search_history,y=!!u.bucketConfig.answers_search;if(m){var g="smartphone"===u.device?gt:yt,b=r.getAttribute("data-tn-title");if(b&&(null===(t=null==g?void 0:g.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(g.plugins.saGroup,{grps:{m9:{text:b}}}),f){var w="smartphone"===u.device?bt:wt;(null==g?void 0:g.plugins)&&Object.assign(g.plugins,w.plugins)}v&&(null===(n=null==g?void 0:g.saBE)||void 0===n?void 0:n.params)&&(g.saBE.params.f=0),y&&((null===(i=null==g?void 0:g.plugins)||void 0===i?void 0:i.saFlvr)&&Object.assign(null===(o=null==g?void 0:g.plugins)||void 0===o?void 0:o.saFlvr,{m79:ft["sa-answer"],m80:ft["sa-trending"],m81:ft["sa-creator"]}),(null===(a=null==g?void 0:g.plugins)||void 0===a?void 0:a.saGroup)&&Object.assign(g.plugins.saGroup,{groupAlways:!0,grps:{m80:{text:"Popular questions"},m13:{text:"History"},m81:{text:"Contributors"},m79:{text:"Yahoo Answers"},default:{text:"From the web"}},placeholders:{m79:{text:"There are no results found.",css:ft["sa-group-holder"],pos:0,empty:1}}}),d&&(g.autoSelect={m:79,exact:!0}),g.inputRowHeight=20),p=h(h(h({},vt),g),{plugins:h(h({},vt.plugins),g.plugins)})}s&&!0===u.bucketConfig.enable_what_to_watch&&((c=s.cloneNode(!0)).removeAttribute("id"),c.removeAttribute("style")),function(e,t,n,i,o,a,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),h=t.searchBox.getAttribute("data-pubid");if(window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),h&&""!==h&&(n.saBE.params.pubid=h),"games"===i&&(n.saBE.params.anno_output="raw"),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var m=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,f=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,v=t.searchBox.dataset.mtestid;m&&(n.saBE.params[".crumb"]=m),f&&n.shBE&&(n.shBE.params._bcrumb=f),v&&(n.saBE.params.mtestid=v);var y=e.getConfig();It(t.ybar,t.searchBox,{beaconClick:$,saveCurrentTimerValue:re,getPerformanceI13nObject:se},i,o,a,r,s,(null===(u=null==y?void 0:y.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==y?void 0:y.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var g="Search lib not found. SearchAssist failed to initialise";e.logError(g,new Error(g))}}(e,l,p,u.property,u.device,u.ytheme,m,c)}}));var Nt="_yb_lvtc50",Ot="_yb_1mi6mus",Mt="_yb_10n0ee9",Bt="_yb_lvkpnk",Rt="_yb_8muslh",Pt="_yb_7iyduw",qt="_yb_13whsl8",Dt="_yb_cu0sd3";be("ybar-mod-adaptivenav",(function(e){var t={moreDropDown:document.querySelector(".".concat(Nt)),moreBtn:document.querySelector(".".concat(Ot)),wrap:document.querySelector(".".concat(Bt)),moreSectionTitle:document.querySelectorAll(".".concat(Rt)),editionsCtaBtn:document.querySelector(".".concat(Pt)),editionsMenu:document.querySelector(".".concat(qt)),closeBtn:document.querySelector(".".concat(Dt))},n=!1,i=function(t,n){var i=t.moreDropDown,o=t.moreBtn,a=t.wrap,r={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"};i&&o&&a&&i.classList.contains("".concat(Nt))&&(i.classList.remove("".concat(Nt)),a.classList.add("".concat(Mt)),o.setAttribute("aria-expanded","true"),r.elm="expand",e.triggerEvent("adapnav:more:show",{event:n}),$("ybar",r.slk,"",r))},o=function(e){var t=e.moreDropDown,i=e.moreBtn,o=e.wrap,a={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};t&&i&&o&&(t.classList.contains("".concat(Nt))||(t.classList.add("".concat(Nt)),o.classList.remove("".concat(Mt)),i.setAttribute("aria-expanded","false"),n||$("ybar",a.slk,"",a)))},a=function(e){var t=e.editionsMenu,n={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};null==t||t.close(),$("ybar",n.slk,"",n)},r=function(){var e;window.innerWidtho.right||e.clientYo.bottom)&&(null===(i=t.editionsMenu)||void 0===i||i.close())})),window.addEventListener("resize",r)),e.onDestroy((function(){o(t),a(t),window.removeEventListener("resize",r)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&o(t)}))}));var Ht,Ft,Ut,Yt={"account-status-container":"_yb_1masjt0","accounts-container":"_yb_uqrpri","accounts-list":"_yb_m29asr",chevron:"_yb_qki3a5",current:"_yb_1evc0rj",expanded:"_yb_5wm0j5",greetings:"_yb_nwf5fo","greetings-container":"_yb_1yxiqvi",hide:"_yb_10fxdw6",mobile:"_yb_1epdwae",multiple:"_yb_pz7squ","loading-profile-wrapper":"_yb_wg14q0","loading-profile-button":"_yb_hcau4t","notification-container":"_yb_7dha41","pfs-container":"_yb_1uhp86x","pfs-iframe":"_yb_jnooh6",show:"_yb_10fgotx","sign-in-menu":"_yb_1iw9to1","signed-in":"_yb_1giw032","signed-in-mark":"_yb_103g1di","signed-out":"_yb_bhnpc7","signedout-text":"_yb_ju9obe","stacked-name":"_yb_1t1mugj","stacked-name-given":"_yb_161m2dp","stacked-name-family":"_yb_1vmmoh4","uh3-layout":"_yb_14j2kq7","ybar-account-img":"_yb_1eg8mm4","ybar-account-img-signed-out":"_yb_1e6c6qo","ybar-account-img-hidden":"_yb_1c95j3v","ybar-account-menu":"_yb_xif8oc","ybar-account-menu-item-signed-out":"_yb_5a2o8","ybar-account-user-email":"_yb_197dzlb","ybar-account-user-email-other":"_yb_2kfdgm","ybar-account-user-name":"_yb_1pxa56s","ybar-account-user-signedout":"_yb_hubt8f","ybar-account-yahoo-plus-imp":"_yb_10chx5t","ybar-icon-arrow":"_yb_1myx71o","ybar-icon-arrow-down":"_yb_1wrgoer","ybar-icon-arrow-up":"_yb_18y449w","ybar-icon-image-wrapper":"_yb_1j9fcjw","ybar-item-hidden":"_yb_o7o20x","ybar-login-btn":"_yb_jtrpet","ybar-mod-account":"_yb_zxmly1","ybar-mod-mail":"_yb_ekddox","ybar-profile-character":"_yb_qubmh8","ybar-profile-character-hidden":"_yb_pta3ez","ybar-see-info":"_yb_5r3343","ybar-sign-out":"_yb_8vk0tf","ybar-sign-out-text":"_yb_1xgd4yb","ybar-user-accounts-list":"_yb_jlp36a","ybar-user-profile-img":"_yb_5p9klm"},jt=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,zt=/\$({|%7B)GDPR(}|%7D)/g,Gt=/\[timestamp\]/g,Wt=function(e){return e.replace(Gt,Date.now()+"")},Vt=function(e){return m(void 0,void 0,void 0,(function(){var t,n,i,o;return f(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",i=new Error(n);return c(n,i),t(i)}window.__tcfapi("getTCData",2,(function(n,i){return i&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=a.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(zt,n?"1":"0")}(e,t),i=function(e,t){var n=t.gdprApplies,i=t.tcString;return e.replace(jt,n?i:"")}(n,t),[2,Wt(i)];case 2:return a.sent(),o="Error adding consent to ".concat(e),c(o,new Error(o)),[2,e];case 3:return[2]}var r}))}))},Kt=function(e,t){return void 0===t&&(t={}),m(void 0,void 0,void 0,(function(){return f(this,(function(n){return[2,new Promise((function(n,i){var o=new XMLHttpRequest;if(o.open("string"==typeof t.method?t.method:"GET","string"==typeof e?e:e.url,!0),"object"==typeof t.headers){var a=t.headers;for(var r in a)o.setRequestHeader(r,a[r])}o.withCredentials="include"===t.credentials,o.onreadystatechange=function(){4===o.readyState&&n({ok:o.status>=200&&o.status=230&&(e.greetings.classList.add(Yt.hide),e.stackedName.classList.remove(Yt.hide),e.chevron&&(e.chevron.style.marginTop="-35px"))},tn=function(e,t,n){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(n&&(n=~e.indexOf("&activity=ybar-")?void 0:n.replace("[[pspid]]",ue())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),n&&(e+="&"+n),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(t)):(e=pe(e),e+=".done="+encodeURIComponent(t),n&&(e+="&"+n),e))},nn=function(e,t){var n,i=e.ybarAccMenuItemTemplate,o=e.ybarAccountContainer,a=document.querySelector(".".concat(Yt["ybar-mod-account"]," .").concat(Yt["ybar-login-btn"])),r=document.querySelector(".".concat(Yt["ybar-mod-account"]," .").concat(Yt["ybar-sign-out"])),s=o&&o.querySelectorAll("a"),c="",l=window.location.href;if(a){var u=a.href;t.onDestroy((function(){a.href=u})),a.href=tn(a.href,l,a.getAttribute("data-redirect-params")||void 0)}if(i?(l=i.getAttribute("data-done")||"",c=i.getAttribute("data-sign-out-url")||""):r&&(c=r.getAttribute("data-sign-out-url")||""),s){var d=function(){var e=n,i=s[e].href;t.onDestroy((function(){s[e].href=i}));var o=s[n].getAttribute("data-redirect-params");s[n].classList.contains(Yt["ybar-sign-out"])?s[n].href=tn(s[n].href,c,o||void 0):s[n].href=tn(s[n].href,l,o||void 0)};for(n=0;n=0;--t){e[t]=(o=void 0,(o={fn:(i=e[t]).fn||"",ln:i.ln||"",em:i.em||"",alias:i.alias||"",imageUrl:i.imageUrl,state:i.state,fullName:null,identifier:""}).fullName=me(o.fn,o.ln)?[o.ln,o.fn].join(""):[o.fn,o.ln].join(" "),o.identifier=o.em||o.alias,o);var n=e[t].state;0!==n&&"0"!==n||(window.YBAR&&window.YBAR.setUserEmail(e[t].em),Qt=e[t],e.splice(t,1)[0])}var i,o;return e}(a.users);if(t.isUH3Layout&&Qt){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(Yt["ybar-profile-character-hidden"])),u=Qt.fn&&Qt.fn[0].toUpperCase()||"",d=me(Qt.fn,Qt.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(Yt["loading-profile-button"])};if(l&&he(Qt.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(Yt["ybar-profile-character-hidden"]);else{var h=new Image;h.classList.add(Yt["ybar-account-img"],Yt["ybar-account-img-hidden"]),h.src=Qt.imageUrl,h.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",h.ontransitionend=p,h.onload=function(){h.classList.remove(Yt["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(h),l&&l.remove()}t.greetings&&(t.greetings.innerText=Qt.fullName||""),t.stackedNameGiven&&(t.stackedNameGiven.innerText=Qt.fn||""),t.stackedNameFamily&&(t.stackedNameFamily.innerText=Qt.ln||""),en(t)}c.length>0&&(c.unshift(Qt),t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(Yt.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var m=document.querySelector(".".concat(Yt["ybar-user-accounts-list"]))||document.querySelector(".".concat(Yt["accounts-list"])),f=function(n){var i=$t(c[n],n,t);i&&(null==m||m.appendChild(i)),e.onDestroy((function(){i&&(null==m||m.removeChild(i))}))},v=0;v0){var y=document.querySelector("".concat(s," .").concat(Yt["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(s," .").concat(Yt["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),r&&r.classList.add(Yt.show),n){var w=document.querySelector("".concat(s," ").concat(Yt["ybar-icon-arrow"])),_=Yt["ybar-icon-arrow-up"],E=Yt["ybar-icon-arrow-down"],x=Yt["ybar-item-hidden"],C=document.querySelectorAll(".".concat(Yt["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e3){var L=document.querySelector("".concat(s," .").concat(Yt["ybar-see-info"]));L&&L.style&&(L.style.display="block")}nn(t,e),i&&i(),Xt=!1}))}},an=function(e,t,n){var i,o,a,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",h=function(e){for(var t=e.split(";"),n=new Map,i=0;i567?567:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1),d&&(d.style.height="0",d.style.visibility="hidden")},g=function(){var e;if(null===(e=document.activeElement)||void 0===e?void 0:e.classList.contains(n))return document.body.addEventListener("focusin",y,!1),void document.body.addEventListener("click",y,!1);y()},b=function(){d&&(d.style.visibility="visible",m("resize",{height:f()}))},w=function(){null===d&&((d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.setAttribute("style","visibility:hidden;height: 0;"),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.addEventListener("load",(function(){setTimeout((function(){var n;i&&o||(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.loggedInUserElement.appendChild(d),e.addElementListener(t.loggedInUserElement,"mouseleave",g),e.addElementListener(t.loggedInUserElement,"blur",g),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b))))};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",w,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",w,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer)"false"===t.ybarAccountContainer.getAttribute("data-prod")&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("lang",l.locale),u.set("theme",(a="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(a="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),a)),u.set("done",window.location.href),u.set("pspid",ue());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":i=e.origin,o=e.source,m("initialize",{height:f(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":d.style.height="0";break;case"show":d.style.height=t.params.height,d.style.visibility="0"===t.params.height?"hidden":"visible",t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=h(t.params["data-ylk"]),$("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=h(t.params["data-ylk"]),$("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}})),window.addEventListener("keyup",(function(e){if(!d||"visible"===d.style.visibility){27===e.keyCode&&g()}}))}};if("undefined"!=typeof Element&&!Element.prototype.matches){var rn=Element.prototype;rn.matches=rn.matchesSelector||rn.mozMatchesSelector||rn.msMatchesSelector||rn.oMatchesSelector||rn.webkitMatchesSelector}var sn=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function cn(e,t,n,i,o){var a=ln.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function ln(e,t,n,i){return function(n){n.delegateTarget=sn(n.target,t),n.delegateTarget&&i.call(e,n)}}var un,dn=function(e,t,n,i,o){return"function"==typeof e.addEventListener?cn.apply(null,arguments):"function"==typeof n?cn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return cn(e,t,n,i,o)})))},pn=function(e){this.data=e,this.next=null,this.prev=null},hn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new pn(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)&&tn?Promise.resolve(t.data):void 0}}(bn.COUNT),(n=this._checkForMockData())?[2,n]:!e&&t?[2,t]:(1,i={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"}]}]}},o=this._fetch(i,1,(function(e){var t=a._normalizerCountResponse(e);return function(e,t){var n={lastRequested:Date.now(),status:wn.COMPLETE,promise:Promise.resolve(t),data:t};xn.set(e,n)}(bn.COUNT,t),t})),s=bn.COUNT,c=o,l={lastRequested:Date.now(),status:wn.PENDING,promise:c},xn.set(s,l),[2,o]);var s,c,l}))}))},e.prototype._fetch=function(e,t,n){var i,o;return m(this,void 0,void 0,(function(){var a,r,s,l,u,d,p,m,v,y,g,b,w,_,E,x;return f(this,(function(f){switch(f.label){case 0:if(a=e.data,r=void 0===a?{}:a,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&&(m.wssid=this.wssid),e.params=m,v=[],Object.keys(m).forEach((function(e){var t=m[e];t&&v.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t)))})),y=v.length?"?".concat(v.join("&")):"",g="https://apis.mail.yahoo.com/ws/v3/batch".concat(y),f.label=1;case 1:return f.trys.push([1,4,,5]),[4,Zt(g,{method:"POST",body:JSON.stringify(r),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":p}})];case 2:return[4,(b=f.sent()).json()];case 3:if(w=f.sent(),b.ok)return[2,n(null===(o=w.result)||void 0===o?void 0:o.responses)];if((_=null===(i=null==w?void 0:w.error)||void 0===i?void 0:i.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 E=f.sent(),c("JWS: ".concat((x=E).message),x),E;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&&En[t])return En[t]}},e.prototype._normalizerCountResponse=function(e){var t,n,i,o,a,r;if(!e)return 0;var s=((null===(i=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===i?void 0:i.decos)||[]).find((function(e){return"FTI"===(null==e?void 0:e.id)}));return s&&null!==(r=null===(a=null===(o=null==s?void 0:s.counts)||void 0===o?void 0:o[0])||void 0===a?void 0:a.unseen)&&void 0!==r?r:0},e.prototype._handleWssidApiError=function(e,t,n,i){var o,a,r=null===(a=null===(o=null==e?void 0:e.error)||void 0===o?void 0:o.details)||void 0===a?void 0:a.wssid,s=t.params,c=(void 0===s?{}:s).wssid;if(r){if(c&&r===c)throw new Error("API provided same invalid WSSID");if(void 0!==n&&n>0)return n-=1,this.wssid=r,this._fetch(t,n,i);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}(),Ln=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")},kn=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")},Sn=function(e,t,n){var i=t.mailUnread,o=t.mailUnreadSpan,a=t.mailIndicator,r="".concat(_n["ybar-unread-active"]);n.fetchCount().then((function(t){if(i&&t>0){if("finance"!==e.getConfig().property&&i.classList.add(r),a&&a.classList.add(r),o){var n=t>99;o.textContent=n?"99+":t+"",i.classList.add("".concat(_n["count-loaded"])),n?i.classList.add("".concat(_n["ybar-large-unread"])):t>=10&&i.classList.add("".concat(_n["ybar-mid-unread"]))}e.onDestroy((function(){i.classList.remove(r),a&&a.classList.remove(r),o&&(o.textContent="")}))}})).catch((function(){}))};be("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,i=t.mailLink,o=t.mailSigninLink,a=t.mailPreview;if(n){var r=new Cn;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){Le(n)||kn(t)})),e.addElementListener(a,"focusin",(function(){Ln(t)})),e.addElementListener(a,"focusout",(function(){kn(t)})),e.onDestroy((function(){kn(t)})),o){var s=i.getAttribute("data-redirect-params");if(s&&""!==s){var c=i.href;e.onDestroy((function(){i.href=c})),s=-1!==i.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,ue()),i.href=pe(i.href)+s,(null==o?void 0:o.href)&&(o.href=pe(o.href)+s)}}else Sn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(_n["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(_n["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(_n["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(_n["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(_n["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(_n["ybar-mail-preview"].split(" ").join(".")," .").concat(_n["popover-body"].split(" ").join(".")))})}));var An,Tn="_yb_djsbb3",In="_yb_5g0jug",Nn="_yb_auapdc",On="_yb_qxgqrc",Mn="_yb_lonord",Bn="_yb_ppirri",Rn="_yb_4s610x",Pn="_yb_17xgyve",qn="_yb_11ebdcz",Dn="_yb_eybgfu",Hn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),i=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new Cn).fetchCount().then((function(t){i&&t>0&&(i.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){i.textContent=""})))})).catch((function(){}))},Fn=!1,Un=-1,Yn=function(e,t,n){var i,o,a,r=-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;for(var p=window.getComputedStyle(e.navList),h=parseInt(p.gap,10)||0,m=0;mb&&(m!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&UnUn&&-1!==Un)for(var _=Un;_=r;){var x=e.navItems[E].cloneNode(!0),C=x.querySelector("a");C&&(C.setAttribute("id",""),C.classList.remove(Nn));var L=x.querySelector(".".concat(e.navigationDropdownListClass));if(L&&(L.style.display="none"),x.classList.remove(e.dropdownWrapperClass),x.classList.remove(e.ybarNavigationItemClass),x.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(x,e.moreMenuDropdown.firstChild);var k=x.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(a=e.navItems[E].querySelector("a"))||void 0===a||a.setAttribute("tabindex","-1"),E--}Un=r}if(-1!==r&&e.navList){var S=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=S,t.textContent=".".concat(Rn,"{ max-width: ").concat(S,"}")}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)}},jn=function(e,t,n,i){for(var o=t||window.location.pathname,a=n||window.location.hostname,r=(i||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),a=new mn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(qn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:o,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n;y([],v(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();"news"===i.property?An=-12:(An="finance"!==i.property&&"sports"!==i.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==i.locale&&"zh-Hant-TW"!==i.locale||(An=-20));var o=t.isTablet?"touchstart":"mouseover",a=dn(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),o,(function(n){if(window||document){var i=window.innerWidth||document.documentElement.clientWidth,o=n.delegateTarget;if(o&&-1!=o.className.indexOf(t.dropdownWrapperClass)&&(o=o.querySelector(".".concat(t.navigationDropdownListClass))),o){o.style.removeProperty("left");var a=o.getBoundingClientRect(),r=Math.trunc(a.right),s=parseInt(window.getComputedStyle(o).marginLeft,10)+i-r;if(r>i)return void(o.style.marginLeft=s+"px");parseInt(o.style.marginLeft)0?o.style.removeProperty("margin-left"):o.style.marginLeft=s+"px":(o.style.removeProperty("margin-left"),o.style.marginLeft=An+"px")}}else{var c=new Error("Dropdown could not be initialized");e.logError("Error:",c)}}));e.onDestroy((function(){a.destroy()}))}(e,t),Hn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Hn(e)})),function(e,t){var n,i=function(e,n){var i;e.classList.contains(t.moreMenuNavItemClass)&&(null===(i=t.moreMenuMainFocusItem)||void 0===i||i.setAttribute("aria-expanded",n))},o=dn(".".concat(t.dropdownWrapperClass),"focusin",(function(e){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownWrapperClass)&&(n.classList.add(t.dropdownOpenClass),i(n,"true"))})),a=dn(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",(function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var o=n.parentElement;o&&!o.contains(e.relatedTarget)&&o.classList.contains(t.dropdownWrapperClass)&&(o.classList.remove(t.dropdownOpenClass),i(o,"false"))}else(null==n?void 0:n.classList.contains(t.dropdownOpenClass))&&(n.classList.remove(t.dropdownOpenClass),i(n,"false"))})),r=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Bn));null==r||r.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&(e.addElementListener(n,"mouseenter",(function(n){e.triggerEvent("nav:dropdown:show",{event:n}),t.style.height=t.scrollHeight-20+"px"})),e.addElementListener(n,"mouseleave",(function(){t.style.height="0"})))})),e.onDestroy((function(){var e;o.destroy(),a.destroy(),y([],v(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 i=t;i;){if(i===e){n=!0;break}i=i.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))}(e,t);var r=e.getConfig().bucketConfig,s=void 0===r?{}:r,c=s.enableDynamicNavfocus,l=void 0!==c&&c,u=s.enableFuzzyMatching;if(l&&(Fn=void 0!==u&&u,jn(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,i=void 0===n?{}:n,o=i.hostname,a=void 0===o?window.location.hostname:o,r=i.pathname,s=void 0===r?window.location.pathname:r,c=i.options;jn(t,s,a,void 0===c?{}:c)})),o){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=dn("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Yn(t,d,a)})),Yn(t,d,a),e.addElementListener(window,"load",(function(){t.navList&&t.moreMenuNavItem&&(t.hasNavPlacement||Gn(e,t))&&([t.navList,t.moreMenuNavItem,t.hasNavPlacement].forEach((function(e){e&&(e.style.opacity="1",e.style.visibility="visible")})),Yn(t,d,a))})),e.addElementListener(window,"resize",(function(){Yn(t,d,a)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}Wn(e,t)},Gn=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},Wn=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(i){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:i}),n=t.isNavHidden()}))}},Vn="#ybar-nav-more-menu";be("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),i={dropdownWrapperClass:In,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:On,moreMenuDropdown:document.querySelector("".concat(Vn," ul")),moreMenuNavItem:document.querySelector(Vn),moreMenuNavLinksSelector:"".concat(Vn," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(Vn," > button")),moreMenuNavItemClass:Dn,navigationDropdownItemClass:Mn,navigationDropdownListClass:Bn,navItems:document.querySelectorAll("li.".concat(Pn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Pn," > 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:Pn,dropdownOpenClass:Tn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),i=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(i-=1.8)>5?i:5:"crunch"===n.ytheme?i: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=5||n.initialized?clearInterval(a):(void 0!==n.isNotificationsSupported()&&n.init(),o++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(ei),null===(t=this.a11yMenu)||void 0===t||t.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(ti),document.body.classList.remove(ei),null===(e=this.a11yMenu)||void 0===e||e.setAttribute("aria-expanded","false"))},Object.defineProperty(e.prototype,"lastSeen",{get:function(){return this.state.lastSeen},set:function(e){this.state.lastSeen=e,this.setLocalStorage()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manuallyClosed",{get:function(){return this.state.manuallyClosed},set:function(e){this.state.manuallyClosed=!!e,this.setLocalStorage()},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.isNotificationsSupported()&&this.isNotificationPermissionDefault()&&(this.historyEnabled||document.body.classList.add(ti),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:$n)||(document.body.classList.add(ti),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(ni)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var t=new Date(this.lastSeen),n=new Date;return t.getTime()+e>n.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(Xn,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(Xn);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(Xn),null}},e}(),ai=-1,ri={0:0,1:1,9:9,99:99,150:150},si=function(e,t){var n,i=t.isUH3,o=t.notifMenu,a=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new oi(e,t.tooltipContainer));var u=G(),d=function(){o&&(o.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(Kn))||(u.resetBadge(),s&&(i?null===(t=s.parentElement)||void 0===t||t.classList.remove(Zn):s.style.display="none"))},h=function(e){var t,n;0===ai&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(ai++,function(e){for(var t,n,i=0;i0&&s)if(i){var a,r=(a=e.newCount)>99;s.textContent=r?"99+":a+"",null===(n=s.parentElement)||void 0===n||n.classList.add(Zn)}else s.style.display="block"},m=function(){u.refreshPanel().then(h).then(ee).catch((function(){}))};e.addEventListener("close-all-menus",(function(){Le(c)||d()})),c&&(m(),setInterval((function(){m()}),3e5),i?l&&l.addEventListener("mouseenter",(function(){p(),null==n||n.show()})):c.addEventListener("mouseenter",(function(){p(),null==n||n.show()})),c.addEventListener("mouseleave",(function(){d(),null==n||n.hide()}))),e.addElementListener(o,"click",(function(){$("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),a&&Se(e,a,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){o&&(o.checked=!0),null==r||r.classList.add("ybarMenuOpen")})),e.addElementListener(r,"focusout",d),e.addElementListener(t.tooltipContainer,"focusin",(function(){null==n||n.show()})),e.addElementListener(t.tooltipContainer,"focusout",(function(){null==n||n.hide()}))};be("ybar-mod-notification",(function(e){var t={isUH3:"crunch"===e.getConfig().ytheme,notifContainer:document.getElementById("notification-container"),notifBadge:document.getElementById("notif-badge"),notifMenu:document.getElementById("ybarNotificationMenu"),notifMenuOpener:document.querySelector("#ybarNotificationMenu + label"),notifDropdown:document.getElementById("notifDropdownContainer"),tooltipContainer:document.querySelector(".".concat(Jn)),notifLabel:document.querySelector(".".concat(Qn))};si(e,t)}))}()}};
setTimeout(function() {
(function (win, cfg) {
win._ybar_runtime_config = win._ybar_runtime_config || {};
Object.keys(cfg).forEach(function (key) {
win._ybar_runtime_config[key] = cfg[key];
});
})(window, {"property":"homepage","device":"desktop","locale":"en-US","ytheme":"crunch","bucketConfig":{"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"componentCount":0,"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","BACK":"Back","LITE_UPGRADE_PROMPT_MESSAGE":"Some parts of this page are not supported on your current browser version. Please upgrade to a recent browser version.","NOTIF_ONBOARD_UPSELL_CLOSE":"Not now","NOTIF_ONBOARD_UPSELL_CTA":"Turn On","NOTIF_ONBOARD_UPSELL_SUBTITLE":"Keep up with the best stories in News, Sports, Finance, Entertainment and more!","NOTIF_ONBOARD_UPSELL_TITLE":"Get news push notification","SEARCH_TOOLTIP_VOICE":"Search by voice","SEARCH_TOOLTIP_WEB":"Search the web"}},"mailVariantLogos":{}}); $_mod_ybar && $_mod_ybar.ready();
}, 500); // adding delay to YBAR init to wait base page rapid initialization
window.performance.mark('header');
window.performance.measure('headerDone','PageStart','header'); Close this content, you can also use the Escape key at anytime
| <U> (87) | | <I> (13) | | <STRONG> (79) | Business News Business Technology News Lifestyle Technology Lifestyle Lifestyle Sports Celebrity Sports Sports Business Sports Celebrity Business Sports Sports Sports Sports Sports Health Business World Sports Sports Politics Sports Sports Sports Health Health Sports Business Entertainment Sports Business Celebrity Celebrity Celebrity Celebrity Politics Business Celebrity Business Celebrity Celebrity Politics Celebrity Celebrity Lifestyle Celebrity Celebrity Celebrity Style Celebrity Celebrity Style Celebrity Business Health Lifestyle Health Celebrity Health Sports Lifestyle Opinion Lifestyle Lifestyle
|
HTML headings and emphasis tags are the most basic forms to indicate important content.
Tips:
1. use your keywords in the headings and make sure the first level heading (<H1>) includes the most important keywords.
2. never duplicate the title tag content in the heading tags.
3. for more effective SEO, use only one <H1> tag per page |