|
|
Highlight
<H1> | <H2> | <H3> | <H4> | <H5> | <H6> | <B> | <U> | <I> | <EM> | <STRONG> | Total | 1 | 3 | 96 | 7 | 0 | 0 | 5 | 82 | 20 | 0 | 79 | 293 | Excellent! The page is using HTML headings (<H1> - <H6>) and inline emphasis tags (<EM><B><I><EM><STRONG>)
|
<H1> (1) | Yahoo Home
| <H2> (3) | Skip navigation links top stories Stories for you
| <H3> (96) | News Life Entertainment Finance Sports New on Yahoo US English Select edition Hundreds of 'No Kings' protests to be held across U.S. as Trump attends Army parade MrBeast takes over Disneyland for $500K date night with fiancée Woman sues Costco for millions, accuses retailer of negligence after alleged injury COVID conspiracy theorist among 8 selected by RFK Jr. for vaccine advisory panel Never-before-seen images of the sun usher in 'a new era of solar science' Tulsi Gabbard shares social media video warning of 'nuclear annihilation' L.A. protests live updates: Police make 'mass arrests' after downtown curfew; immigration demonstrations grow across the U.S. Apple reveals a comprehensive redesign for iOS 26 at WWDC 2025 Apple is releasing iOS 26 this fall. Here's the full list of compatible iPhones Apple's iOS 26 betas are available next month How to buy the Nintendo Switch 2: Stock updates for the new console and accessories Tasting 100-year-old food: The good, the bad and the dusty Man who survived a stroke in his 40s says it was caused by a 'seemingly harmless' movement: 'Awareness is survival' DeMarcus Cousins has drinks thrown at him, tries to fight fans after wild ejection in Puerto Rico basketball league Simone Biles apologizes to Riley Gaines, argues for 'competitive equity and inclusivity' in women's sports Mavericks reportedly deny Knicks' attempt to speak with Jason Kidd after team was denied on Ime Udoka and Chris Finch Everything you need to know about cataracts: Symptoms to surgery Mortgage and refinance interest rates today, June 11, 2025: Most rates lower as Fed meeting countdown begins Quantum stocks surge as Nvidia CEO says technology reaching 'inflection point' Nintendo Switch 2 review: More of what you love Fantasy Football: History says 2025 rookie RBs should return to former glory set by predecessors 2025 U.S. Open purse, payouts: How much is up for grabs this week at Oakmont Country Club? 2025 U.S. Open Preview: At stately Oakmont, carnage awaits (plus our picks to win) Pope Leo XIV shows off his White Sox fandom at weekly general audience 2025 NBA Draft scouting report: Cooper Flagg, F, Duke NBA trade rumors: The latest on the Knicks coaching search, Kevin Durant and Giannis Antetokounmpo The biggest IPOs look a lot like the biggest stocks in the market: Morning Brief Oil jumps 4% on report US embassy in Iraq is preparing to evacuate amid threats NFL mandatory minicamps: Brian Thomas Jr. 'fine' after leaving practice early, while Shedeur Sanders, Browns QBs battle away Knicks head coaching search: Updates, latest news as New York is denied permission to interview Jason Kidd, Quin Snyder and others Stock market today: Dow, S&P 500, Nasdaq rally pauses as cool inflation data boosts Fed rate cut hopes 2025 U.S. Open golf tournament: How to watch, full TV schedule, tee times and more Red Sox RHP Hunter Dobbins addresses father's debunked Yankees claims: 'I don't go and fact-check my dad' Eddie Hearn favors Terence Crawford to shock Canelo Alvarez: 'He has no doubt in his mind' 2025 NBA Finals odds: Jay-Z loses $1 million wager on Oklahoma City Thunder Trump tariffs live updates: Trump says he will set unilateral tariff rates within weeks Claressa Shields wasn't happy after losing BET award to Angel Reese: 'I just thought accolades mattered' Aces star A'ja Wilson leaves loss to Sparks early with head injury Celtics star Jaylen Brown undergoes knee surgery, expected to be ready for training camp 'Tiny' but 'at least relations may not worsen': The market reactions to latest US-China framework Mailbag: What's next for Sean O'Malley after consecutive UFC title losses? A podcast. Reality show. Countless headlines about her love life. Underneath it all, Kristin Cavallari is a 'very normal' mom. Rand Paul attacks ‘immaturity’ of White House after rescinded picnic invitation, says he’s lost a ‘lot of respect’ for Trump In a Ukrainian strip club, the war is laid bare Exclusive: Kelly Loeffler, a Trump Cabinet appointee who regularly appears on Newsmax, has quiet financial ties to its parent company Entire Fulbright board resigns, citing Trump administration interference The One Thing You Should Never, Ever Do in the First Hour After Waking Up, According to Cardiologists Elizabeth Hurley Gushes About Being ‘In Love’ in Birthday Suit Picture Amid Billy Ray Cyrus Romance Ukraine's defense industry says the fight against Russia has shown it that the West's approach to weapons is wrong Kennedy Center’s ‘Les Misérables’ Opening Night Reflects The Trump Takeover: POTUS Walks Red Carpet, Attacks L.A. Protests’ “Radical Left Lunatics” Gavin Newsom's Staff Just Destroyed Jon Voight's Rant With A Single "Simpsons" Picture Ice-T says he was 'blindsided' by “Law & Order: SVU” costar's departure: 'No one really expected her to leave' Airline cancels all flights, shuts down leaving travelers stranded NYC woman found a phone buried in her lawn — and police say it’s a new tactic thieves use to spy on homeowners Leavitt Storms Out of Press Briefing Over Free Speech Grilling Trump Just Got Some Bad News Before the G7 Conference Bolton on Trump warning parade protesters will be ‘met with force’: ‘That’s mouth’ Sherri Papini Says Her Sister, Ex Have an "Inappropriate" Relationship Bragg Soldiers Who Cheered Trump's Political Attacks While in Uniform Were Checked for Allegiance, Appearance 'Very awkward.' Dodgers wave the white flag historically early in rout to Padres Shaquille O'Neal Agrees To Pay $1.8 Million Settlement Trump’s top general just undercut his ‘invasion’ claims Speculation mounts that Trump is using a ‘hidden leg brace’ in the wake of his Air Force One fall House passes Trump’s ‘big beautiful’ bill ... again. Here’s why Trump, 78, Has Got Another Mystery Bruise on His Hand Red Sox Rookie Roman Anthony's Sister Turns Heads During MLB Attendance Poll reveals how Americans feel about Trump sending troops into LA over ICE protests Officials issue warning as potential US law change could have devastating economic impact: 'Life-changing' Scientists stunned as cameras capture footage of 200-million-year-old creature once thought extinct: 'The whole team was euphoric' U.S. Issues Official Travel 'Warning' for Canada Why Kate Middleton Is No Longer Wearing Her Engagement Ring That Belonged to Princess Diana Massive black bear spotted roaming around Massachusetts neighborhood Rock Icon, 78, Shares Grief-Filled Post: 'My World Is in Mourning' Who did Aaron Rodgers marry? What we know about Steelers quarterback's wife, wedding ring, Brittani Trump Bulldozes the White House Rose Garden ‘The View’ EP Brian Teta Interrupts Broadcast To Admit He’s “Looked Into” Getting A Restraining Order Against Joy Behar Browns QB battle sees a new QB1 during mandatory minicamp Hey, Democrats: LA riots make Americans like me glad Trump is president | Opinion Country Music Icon, 63, Blasted by Son in 'Disturbing' Online Rant Travel influencer slammed over ‘not nice’ hack for getting comfy when flying: ‘Very inconsiderate’ Ananda Lewis Dies: MTV VJ & Talk Show Host Was 52 Brad Pitt Reportedly Ready To Cut Ties With Two Of His Kids With Angelina Jolie Over 'Unfixable' Relationship All Eyes Are on Prince Harry Ahead of Trooping the Color ‘No Fat Soldiers’: Ft. Bragg Troops Were Carefully Screened for Trump’s Stunt Visit Opinion | Trump’s Fort Bragg speech was a serious step toward ending democracy Trending Now Weather Play games for free on Yahoo Daily Horoscope
| <H4> (7) | Ashburn Gin Rummy Up next Up next Up next Up next Up next
| <B> (5) | • '+o+" "+e.period),e.time_elapsed_display&&(h=e.is_halftime&&"true"==e.is_halftime?' • Halftime':' • '+e.time_elapsed_display),e.qtype&&"lg"==e.qtype)if(t.enableNewLeagueTmpl)try{g?(a=v&&' '+v+"",i=''+t.liveIconText+"",e.title=E(t.league_l_tmpl,[u,n,m,f,d,p,h,a,i])):_?(r=y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz}),s=' • ',c=''+r+"",e.title=E(t.league_f_tmpl,[u,n,m,f,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,[m,f,p,h,v])+''+t.liveIconText+"":_?E(t.f_tmpl,[m,f,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 Me(e,t){var n=this.config,o=t.m;t=t.fd,e=e.li;n.enableNewLeagueTmpl&&48==o&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Oe(){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 Be(e){var t,n,o,a,i,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,o=e.high_temp&&'• H:'+e.high_temp+"°",a=e.low_temp&&"L:"+e.low_temp+"°",i=e.loc&&'• '+e.loc,r=e.warning?'':"",s=this.app.format,c.enableHL?e.title=s(c.tmpl_hl,[l,n,r,t,o,a,i]):e.title=s(c.tmpl,[l,n,t,i]))}function qe(e,t){var n=this.config,o=t.m,a=t.fd&&t.fd.img_url;41==o&&n.enableThumb&&a&&(t.fd.imageUrl=a)}function Re(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function Pe(e){var t,n,o,a=this.config,i=e.m,p=e.d,m=(e=e.fd)&&e[r]?e[r]:0;27==i&&e&&!m&&(p&&"movie"==p.subdn?(n=e[s]||"",i=e[c]&&e[c][0]?e[c][0]+" "+a.text.movie:a.text.movie,m=e[l]?new Date(e[l]):"",t=new Date,m&&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 Ye(e){var t=this.config,n=this.app.format,o=e.idx,a=e.m;e=e.fd;t.enabled&&53===a&&e&&0===o&&"1.00"===e.num&&(e.title=n(t.titleTpl,[e.fromUnit,e.title]))}function ze(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&53===a&&0===o&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function We(){this.config={titleTpl:"1 {0} = {1}"}}function Ge(e){var t=this.config,n=this.app.format,o=e.m;e=e.fd;t.enabled&&54===o&&e&&(o=e[p]||e[m],e.title=n(t.titleTpl,[e.num,o]))}function Ve(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&54===a&&0===o&&t&&e.li.classList.add("sa-unitconv")}function Ke(){this.config={titleTpl:"{0} {1}"}}function Ze(e){var t=e.m,n=e.fd;if(79==t&&n){var o=n.answeredby;if(o&&0')}c&&(r+=''+c+""),r+=(c?" ":"")+y.bold(this.app.config.boldTag,s(a.name),s(e.q)),i&&1Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function ut(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(y.stopPropagation(e),i.value="",y.setFocus(i),o.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,o=n.view,a=o.elems,i=a.sbInput,r=a.sbClear;r&&(y.ae(r,"click",e),y.ae(r,"keydown",e))}function dt(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}v.SA=(t=[],Z.prototype={jsonp:function(e){var t=h.getElementsByTagName("head")[0],n=h.createElement("script");y.set(n,"type","text/javascript"),y.set(n,"src",e),t.appendChild(n),y.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"+i+" "+n.config.saAria.shownText+"")),a.notify(N)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,o=n.length;e.updateRows(),e.app.notify(A),e.shown&&e.sameQuery()||(e.lastInput=n,ot.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(o=e.elems).sbInput,n=o.saAria,o=o.sbForm,a=e.config,i=e.app;i.notify(I),y.removeClass(h.body,a.typingClass),o&&o.parentElement&&y.removeClass(o.parentElement,a.typingClass),y.removeClass(o,a.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,a.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(y.set(t,"aria-expanded","false"),e.useTextArea)&&y.set(t,"rows","1"),n&&(y.set(n,"aria-expanded","false"),n.innerHTML=y.cleanHTML(""+e.config.saAria.closedText+"")),i.notify(T)},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(){var e=this.elems;e.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null,y.set(e.sbInput,V,"")},createItem:function(e){var t,n={idx:t=e.idx,data:e.origData},o=y.htmlEncode,a=this.config,i=this.app.createElem,r={},s=(a.highlight&&y.merge(r,a.highlight),e.highlight&&y.merge(r,e.highlight),i(a.saItem,"li"));return(t=(y.set(s,"pos",t),s.id+=t,i(a.saTitle,"span"))).innerHTML=y.cleanHTML(e.t||(a.boldTag&&e.k&&e.q?y.bold(a.boldTag,o(e.k),o(e.q),r):o(e.k))),s.appendChild(t),n.li=s,n.title=t,n},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(x)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,o=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(o(n,"padding-top"),10)-parseInt(o(n,"padding-bottom"),10)),n.style.height=0,y.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",id:"sa-item"}},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"}},g.hideSbClr=(ee.prototype={init:function(e){(this.app=e).on(A,X,this),e.on(E,X,this)}},ee),g.entityFocus=(oe.prototype={init:function(e){(this.app=e).on(P,ne,this)}},oe),g.saFr=(se.prototype={init:function(e){(this.app=e).on(E,ae,this),e.on(B,ie,this),e.on(x,re,this)}},se),g.ipos=(ue.prototype={init:function(e){(this.app=e).on(A,ce,this),e.on(b,le,this)}},ue),g.saTray=(pe.prototype={init:function(e){(this.app=e).on(_,de,this)}},pe),g.saFlvr=(fe.prototype={init:function(e){e.on(k,me,this)}},fe),g.saShoppingRefinement=(ge.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(C,he,t),e.on(k,ve,t),e.on(S,ye,t)}},ge),g.saWhatToWatch=(Ee.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(w,be,t),e.on(k,we,t),e.on(S,_e,t)}},Ee),g.saEdit=(Le.prototype={init:function(e){e.on(k,Ce,this)}},Le),g.saDirectTitle=(Se.prototype={init:function(e){(this.app=e).on(L,(function(e){441===e.m&&(e.t=e.k,e.origData.k=e.k.replace(//gi,""))}),this)}},Se),g.saAnnot=(Ae.prototype={init:function(e){e.on(k,ke,this)}},Ae),g.saStock=(Te.prototype={init:function(e){(this.app=e).on(L,xe,this),e.on(k,Ie,this)}},Te),g.saSport=(Oe.prototype={init:function(e){(this.app=e).on(L,Ne,this),e.on(k,Me,this)}},Oe),g.saWeather=(Re.prototype={init:function(e){(this.app=e).on(L,Be,this),e.on(k,qe,this)}},Re),g.saEntertainments=(r="show_subtitle",s="year",c="genre",l="releaseDate",u="offer",d="tvNetwork",De.prototype={init:function(e){(this.app=e).on(L,Pe,this),e.fdToSH=e.fdToSH.concat([r,s,c,l,u,d])}},De),g.saFlightStatus=(je.prototype={init:function(e){(this.app=e).on(L,Fe,this),e.on(k,Ue,this)}},je),g.saCurrencyConverter=(We.prototype={init:function(e){(this.app=e).on(L,Ye,this),e.on(k,ze,this)}},We),g.saUnitConverter=(p="resultUnitAbbr",m="resultUnit",Ke.prototype={init:function(e){(this.app=e).on(L,Ge,this),e.on(k,Ve,this),e.fdToSH=e.fdToSH.concat([p,m,"num"])}},Ke),g.saAnswers=(Qe.prototype={init:function(e){(this.app=e).on(L,Ze,this)}},Qe),g.saImg=(Je.prototype={init:function(e){e.on(k,$e,this)}},Je),g.saGroup=(nt.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(k,Xe,t),e.on(S,tt,t)}},nt),g.saPCActn=(st.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(w,ot,t),e.on(M,at,t),e.on(H,it,t),e.on(U,rt,t)}},st),g.tapRmv=(lt.prototype={init:function(e){(this.app=e).on(O,ct,this)}},lt),g.tapClr=(dt.prototype={init:function(e){(this.app=e).on(M,ut,this)}},dt)}();var It,Tt,Nt,Mt={"bot-search-icon":"_yb_1jihrzz","bot-search-icon-container":"_yb_18dhq2d","bot-search-item":"_yb_hev6g1","bot-search-item-col":"_yb_1yxmga4","bot-search-span":"_yb_nomrnc",history:"_yb_66t3kx","list-item-hover":"_yb_cn7lxu",lowlight:"_yb_1l72bih","no-wrap":"_yb_16sjj0b","related-title":"_yb_t3itwh",sa:"_yb_19hztkh","sa-annot-rich":"_yb_1k43egr","sa-annot-subtitle":"_yb_ogobkf","sa-annot-title":"_yb_6jsl4b","sa-company":"_yb_1p9nvwb","sa-edit":"_yb_1qpomao","sa-edit-icon":"_yb_jc7lk6","sa-edit-text":"_yb_sz4p0w","sa-fd-actn-cont":"_yb_y2f00g","sa-grp-hdr":"_yb_135tx56","sa-grp-hdr-title":"_yb_npklbb","sa-history":"_yb_kmwza6","sa-img":"_yb_186xagv","sa-img-ctn":"_yb_99puyz","sa-img-icon":"_yb_1n92ol5","sa-item":"_yb_19hlxd5","sa-item-title":"_yb_1bf7n38","sa-rich-thumb":"_yb_1u2z3wn","sa-sbx-container":"_yb_y1750f","sa-sugg":"_yb_10xap8a","sa-thumb-icon":"_yb_f7auvw","sa-tray":"_yb_jgbjnm","sa-tray-list-container":"_yb_1s7re6f","sa-trending":"_yb_1cfj85","sub-assist":"_yb_1e2829x","suggestion-title":"_yb_1q6q8ma",trending:"_yb_h9we4q","trending-title":"_yb_a309uv","yui3-highlight":"_yb_1i6wnm0",safadein:"_yb_193degg","uh3-layout":"_yb_tj6xve","sa-answer":"_yb_129e1mo","sa-creator":"_yb_jpuy8w","sa-group-holder":"_yb_12gi82e",sacollapse:"_yb_q75lkq","sa-nomatch":"_yb_v5oh1q","sa-shield-icon":"_yb_ugjhph","sa-question-icon":"_yb_5e3f9w","sa-eye-icon":"_yb_1joteeb","search-gradient-background":"_yb_1pay9tx"},Ot={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:Mt["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Mt["sa-tray-list-container"],attrs:{role:"listbox",id:"_yb_sa-listbox"}},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Mt["sa-sbx-container"]},tray:{css:Mt.sa+" "+Mt.lowlight}},saPCActn:{css:Mt["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}}},Bt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"]},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],m442:{iconClass:Mt["sa-shield-icon"]},m443:{iconClass:Mt["sa-question-icon"]},m444:{iconClass:Mt["sa-eye-icon"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:Mt.trending},m13:{text:"",css:Mt.history}}}}},qt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"]}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"],wrap:{css:Mt["sa-thumb-icon"]}},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Mt.trending},m13:{text:"",css:Mt.history}}},doneBtn:{disable:!0}}},Rt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}},Pt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}}},Dt=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Ht=function(e,t,n){var o=e.querySelectorAll(t);if(o)for(var a=0;a40?(A.style.setProperty(k,"40px"),A.style.setProperty(S,a+"px")):(A.style.setProperty(k,"0px"),A.style.setProperty(S,"40px")),L.hasClass(t,g)||"function"!=typeof n.beaconClick||n.beaconClick("ybar","websrch","",x),L.addClass(t,g),L.removeClass(t,b)}else A.style.setProperty(k,"0px"),A.style.setProperty(S,"0px")})),e.on("before_hide_view",(function(){null==p||p.setAttribute("aria-controls","");var t=e.view.elems.sbForm;L.addClass(t,b),L.removeClass(t,g)}))}},C.add("yba-saPCAnim",_);var I=C.viewClass;L.extend(E,I),E.prototype.clearAssist=function(){var e=this,t=e.config;L.hasClass(document.body,t.typingClass)?I.prototype.clearAssist.call(e):setTimeout((function(){I.prototype.clearAssist.call(e)}),200)},C.viewClass=E}var T=function(e){var t,n,o;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)&&(o=e.data.m)),{category:t,keyword:n,marker:o}},N=function(e){var n;if(t&&"javascript:void(0);"===t.action)return!1;var i,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?(i="srch-asst",l=!0,c=s.idx+1):i="kybrd":i="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,m=u.keyword;jt(t,a,l,d,m),(r||l)&&("homepage"===o||"my"===o?(Ut(t,r,l,d),Yt(t,l,d)):"smartphone"===a&&Yt(t,l,d)),q(zt(i,"0",c.toString()))}},M=function(e){var n,i=!!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;if(jt(t,a,s,u,d,p),"member-center"===o&&r&&r.data&&r.data.fd&&r.data.fd.itemUrl)return window.location.href=r.data.fd.itemUrl,void q(zt("srch-asst","0",c.toString(),r&&r.data.m,r&&r.data.k&&r.data.k));"homepage"===o||"my"===o?(Ut(t,i,s,u),Yt(t,s,u)):"smartphone"===a&&Yt(t,s,u),q(zt("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"!==a){n.saveCurrentTimerValue("search_input_keyboard_input");var t=zt("keystroke","1");delete t.clickParams.tar,"answers"===o&&(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"===a&&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 B=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===a&&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"})}}))},q=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var a={pp:{A_utm:n.getPerformanceI13nObject()}};!function(e,t,n){var o=e.getAttribute("action")||"",a=-1!==o.search("/play/"),i=-1!==o.search("/tag/"),r=-1!==o.search("/category/"),s=o.match(/^(.*)\/([^/]+)$/);(a||r||i)&&(t.slk="gamesrch",n.tar=window.location.host.replace(/^www\./i,""),n.tar_uri=null==s?void 0:s[1],n.ll2=null==s?void 0:s[2],n.ct=a?"game":"nav_link")}(t,e,e.clickParams),n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){"member-center"!==o&&setTimeout((function(){t&&(t.submit(),Wt(t))}),300)}),a)}else t&&"member-center"!==o&&(t.submit(),Wt(t))},R=function(n){var o=n.animationName;o==Mt.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):o==Mt.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:m,text:h||""},suggestionTitle:{text:f||""}}}function D(e){var t=this.config,n=this.app.view,o=n.elems.sbForm,a=n.elems.sbInput.value,i=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var o=document.createElement("span"),a=document.createElement("span");return a.textContent=t,o.appendChild(a),n.appendChild(o),n}}(Mt,t.suggestionTitle.text),r=function(e,t,n){var o=document.createElement("div");o.className=n["bot-search-item"];var a=document.createElement("div"),i=document.createElement("div");a.className=n["bot-search-item-col"],i.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),a.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]||"",i.appendChild(l),i.appendChild(u),i.appendChild(d),o.appendChild(a),o.appendChild(i),o}(t.botSearch.text,a,Mt);r&&(e&&i&&(e.prepend(i),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(o.action=t.botSearch.action),n.hide(),N(new CustomEvent("botSearchClicked"))})))}function H(){this.config={}}function F(){""===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",N),p.addEventListener("assistSelectionClicked",M),p.addEventListener("searchBtnClicked",N),p.addEventListener("keydown",O),p.addEventListener("click",B)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==o&&"my"!==o||(Ut(t),"homepage"===o&&function(e){var t=Dt("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Ht(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",D,this)}},m&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),H.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",F,t),e.on("before_key_submit",F,t)}};var U=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Gt,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],o=t[1],a=parseInt(o);return("S"===n||"F"===n)&&a>=14&&ac?(U("".concat(o,",1")),!0):!Number.isNaN(u)&&2>u&&(U("".concat(o,",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",H))};we("ybar-mod-assistjs",(function(e){var t,n,o,a,i,r,s=document.getElementById("ybar-sf"),c=document.getElementById("ybar-w2w-list"),l=null;if(s&&"true"===s.getAttribute("data-saEnabled")){var u={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:s,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn"),searchAssistContainer:document.querySelector(".".concat(Mt["sa-sbx-container"]))},d=e.getConfig();!!d.bucketConfig.use_uh3_profile&&(Ot.plugins.saTray.ctn.css+=" "+Mt["uh3-layout"]);var p=!!d.bucketConfig.assist_autoselect;p&&(Ot.autoSelect=!0),!!d.bucketConfig.assist_disable_srp&&s.setAttribute("action","javascript:void(0);"),!!d.bucketConfig.wrap_searchbox&&(Ot.plugins.saTray.afterNode="ybar-sbq-wrap");var f=Ot,h=!!d.bucketConfig.enable_search_ui,v=!!d.bucketConfig.assist_billboard_v2,y=!!d.bucketConfig.assist_disable_search_history,g=!!d.bucketConfig.answers_search;if(h){var b="smartphone"===d.device?qt:Bt,w=s.getAttribute("data-tn-title");if(w&&(null===(t=null==b?void 0:b.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(b.plugins.saGroup,{grps:{m9:{text:w}}}),v){var _="smartphone"===d.device?Rt:Pt;(null==b?void 0:b.plugins)&&Object.assign(b.plugins,_.plugins)}y&&(null===(n=null==b?void 0:b.saBE)||void 0===n?void 0:n.params)&&(b.saBE.params.f=0),g&&((null===(o=null==b?void 0:b.plugins)||void 0===o?void 0:o.saFlvr)&&Object.assign(null===(a=null==b?void 0:b.plugins)||void 0===a?void 0:a.saFlvr,{m79:Mt["sa-answer"],m80:Mt["sa-trending"],m81:Mt["sa-creator"]}),(null===(i=null==b?void 0:b.plugins)||void 0===i?void 0:i.saGroup)&&Object.assign(b.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:Mt["sa-group-holder"],pos:0,empty:1}}}),p&&(b.autoSelect={m:79,exact:!0}),b.inputRowHeight=20),f=m(m(m({},Ot),b),{plugins:m(m({},Ot.plugins),b.plugins)})}c&&!0===d.bucketConfig.enable_what_to_watch&&((l=c.cloneNode(!0)).removeAttribute("id"),l.removeAttribute("style")),function(e,t,n,o,a,i,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),m=t.searchBox.getAttribute("data-pubid"),f=t.searchBox.getAttribute("data-geoid"),h=t.searchBox.getAttribute("data-ll");if(console.log(f,h),window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),m&&""!==m&&(n.saBE.params.pubid=m),"games"===o&&(n.saBE.params.anno_output="raw"),f&&""!==f&&(n.saBE.params.geoid=f),h&&""!==h&&(n.saBE.params.ll=h),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var v=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,y=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,g=t.searchBox.dataset.mtestid;v&&(n.saBE.params[".crumb"]=v),y&&n.shBE&&(n.shBE.params._bcrumb=y),g&&(n.saBE.params.mtestid=g);var b=e.getConfig();Vt(t.ybar,t.searchBox,{beaconClick:ee,saveCurrentTimerValue:se,getPerformanceI13nObject:ce},o,a,i,r,s,(null===(u=null==b?void 0:b.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==b?void 0:b.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var w="Search lib not found. SearchAssist failed to initialise";e.logError(w,new Error(w))}}(e,u,f,d.property,d.device,d.ytheme,h,l),u.searchAssistContainer=document.querySelector(".".concat(Mt["sa-sbx-container"]));var E=null===(r=u.ybar)||void 0===r?void 0:r.classList.contains("search-gradient");if(u.searchBox&&E){var C=0;e.addElementListener(u.searchBox,"click",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"keydown",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"blur",(function(){u.searchAssistContainer.classList.remove("".concat(Mt["search-gradient-background"]))}))}}}));var Kt="_yb_tdk4ba",Zt="_yb_hkd17a",Qt="_yb_rtzclf",$t="_yb_tdbhj6",Jt="_yb_de52ef",Xt="_yb_9hwrey",en="_yb_slc8ta",tn="_yb_bf0svp",nn="_yb_hjic9z";if("undefined"!=typeof Element&&!Element.prototype.matches){var on=Element.prototype;on.matches=on.matchesSelector||on.mozMatchesSelector||on.msMatchesSelector||on.oMatchesSelector||on.webkitMatchesSelector}var an=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function rn(e,t,n,o,a){var i=sn.apply(this,arguments);return e.addEventListener(n,i,a),{destroy:function(){e.removeEventListener(n,i,a)}}}function sn(e,t,n,o){return function(n){n.delegateTarget=an(n.target,t),n.delegateTarget&&o.call(e,n)}}var cn,ln=function(e,t,n,o,a){return"function"==typeof e.addEventListener?rn.apply(null,arguments):"function"==typeof n?rn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return rn(e,t,n,o,a)})))},un=function(e){this.data=e,this.next=null,this.prev=null},dn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new un(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)&&to.right||e.clientYo.bottom)&&r(n)})),window.addEventListener("resize",s)),e.onDestroy((function(){i(n,!0),r(n,!0),window.removeEventListener("resize",s)}))}));var mn,fn,hn,vn={"account-status-container":"_yb_ymi0h2","accounts-container":"_yb_cbk7gs","accounts-list":"_yb_1xscf7t",chevron:"_yb_pa7kxr",current:"_yb_z3vl31",expanded:"_yb_1wdvidv",greetings:"_yb_hz3nxi","greetings-container":"_yb_1dvo2p8",hide:"_yb_1tqu5w",mobile:"_yb_303pw",multiple:"_yb_dx6pd0","loading-profile-wrapper":"_yb_5m8r7u","loading-profile-button":"_yb_qaqab3","notification-container":"_yb_1vpbvgz","pfs-container":"_yb_12irxp7","pfs-iframe":"_yb_1a475s8",show:"_yb_1tj3rr","sign-in-menu":"_yb_mpd5lf","signed-in":"_yb_1330230","signed-in-mark":"_yb_1puqf10","signed-out":"_yb_43r3tx","signedout-text":"_yb_1a59ed4","stacked-name":"_yb_ts4lap","stacked-name-given":"_yb_zb2ipb","stacked-name-family":"_yb_1v4uiyy","uh3-layout":"_yb_19rb0y5","ybar-account-img":"_yb_12iiv1a","ybar-account-img-signed-out":"_yb_cbs8y","ybar-account-img-hidden":"_yb_1owxd09","ybar-account-menu":"_yb_9u1jny","ybar-account-menu-item-signed-out":"_yb_1qla71m","ybar-account-user-email":"_yb_1on73m5","ybar-account-user-email-other":"_yb_u3fczo","ybar-account-user-name":"_yb_5pkkfa","ybar-account-user-signedout":"_yb_axu8rh","ybar-account-yahoo-plus-imp":"_yb_14bnbgj","ybar-icon-arrow":"_yb_1tu7gjy","ybar-icon-arrow-down":"_yb_ngz6b5","ybar-icon-arrow-up":"_yb_1nagqiu","ybar-icon-image-wrapper":"_yb_19gpxwu","ybar-item-hidden":"_yb_559mjn","ybar-login-btn":"_yb_11glrwn","ybar-mod-account":"_yb_lq748r","ybar-mod-mail":"_yb_1e163lf","ybar-profile-character":"_yb_10rialq","ybar-profile-character-hidden":"_yb_1e2i1rd","ybar-see-info":"_yb_uiw8wx","ybar-sign-out":"_yb_j1eqwx","ybar-sign-out-text":"_yb_dvnuy9","ybar-user-accounts-list":"_yb_15pu2gg","ybar-user-profile-img":"_yb_1mawsyw","account-switcher-item-container":"_yb_1kjh1ov","account-switcher-chevron":"_yb_ju6kvv","account-switcher-container":"_yb_62ip13","hide-universal-profile":"_yb_11o7p8y","hide-account-switcher-container":"_yb_dwibp6","settings-item-container":"_yb_94wwjn","universal-profile-switch-button":"_yb_1p1qbi3","universal-profile":"_yb_1y7wwv3","account-switcher-settings-container":"_yb_zw2im7","account-switcher-signout-link":"_yb_1an82qo","signout-link-wrapper":"_yb_gk0uu2","ybar-keyline":"_yb_1rsy4q0","hide-up-settings":"_yb_1wofy5w"},yn=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,gn=/\$({|%7B)GDPR(}|%7D)/g,bn=/\[timestamp\]/g,wn=function(e){return e.replace(bn,Date.now()+"")},_n=function(e){return f(void 0,void 0,void 0,(function(){var t,n,o,a;return h(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",o=new Error(n);return c(n,o),t(o)}window.__tcfapi("getTCData",2,(function(n,o){return o&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=i.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(gn,n?"1":"0")}(e,t),o=function(e,t){var n=t.gdprApplies,o=t.tcString;return e.replace(yn,n?o:"")}(n,t),[2,wn(o)];case 2:return i.sent(),a="Error adding consent to ".concat(e),c(a,new Error(a)),[2,e];case 3:return[2]}var r}))}))};mn="ybar",hn={createHTML:function(e){return e}},void 0!==(fn=window.trustedTypes)&&void 0!==fn.createPolicy&&window.trustedTypes.createPolicy(mn,hn);var En,Cn=!1,Ln=function(e,t,n){var o,a=n.ybarAccMenuItemTemplate,i=n.crumb;if(a){var r=(t+1).toString(),s=a.getAttribute("data-signedOutState"),c=a.getAttribute("data-signedInState")||"",l=a.getAttribute("data-done")||"",u=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=0;--n){e[n]=(i=void 0,(i={fn:(a=e[n]).fn||"",ln:a.ln||"",em:a.em||"",alias:a.alias||"",imageUrl:a.imageUrl,state:a.state,fullName:null,identifier:""}).fullName=he(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var o=e[n].state;0!==o&&"0"!==o||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),En=e[n],t||e.splice(n,1)[0])}var a,i;return e}(i.users,t.isUH3Layout);if(t.isUH3Layout&&En){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),u=En.fn&&En.fn[0].toUpperCase()||"",d=he(En.fn,En.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&fe(En.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var m=new Image;m.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),m.src=En.imageUrl,m.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",m.ontransitionend=p,m.onload=function(){m.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(m),l&&l.remove()}}c.length>0&&(t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var f=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),h=function(n){var o=Ln(c[n],n,t);o&&(null==f||f.appendChild(o)),e.onDestroy((function(){o&&(null==f||f.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),s&&s.classList.add(vn.show),n){var w=document.querySelector("".concat(r," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],E=vn["ybar-icon-arrow-down"],C=vn["ybar-item-hidden"],L=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e5){var S=document.querySelector("".concat(r," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}kn(t,e),o&&o(),Cn=!1}))}},xn=function(e,t,n){var o,a,i,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",m=function(e){for(var t=e.split(";"),n=new Map,o=0;o720?720:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1)},g=function(){d&&f("resize",{height:h()})},b=function(){var i;if(null===d){(d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.sandbox.add("allow-forms"),d.sandbox.add("allow-scripts"),d.sandbox.add("allow-same-origin"),d.sandbox.add("allow-popups"),d.classList.add(n),d.style.height="0px",d.style.opacity="0";var r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode("body { background: var(--UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(--UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }")),d.addEventListener("load",(function(){setTimeout((function(){var n;o&&a||(e.triggerEvent("ybar-pfs-init-failure"),null===(n=null==d?void 0:d.parentNode)||void 0===n||n.removeChild(d),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute("data-pfs","err"))}),500)})),t.loggedInUserElement&&(t.iframeContainer.appendChild(d),d.contentDocument&&(d.contentDocument.head.appendChild(r),d.contentDocument.body.innerHTML='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',d.style.opacity="1",setTimeout((function(){d&&(d.style.height="300px")}),100)),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",g),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",g),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",g),null===(i=t.accountSwitcherChevron)||void 0===i||i.addEventListener("click",g)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",b,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer){var w=t.ybarAccountContainer.getAttribute("data-prod");"false"===w&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("version","2"),u.set("lang",l.locale),u.set("theme",(i="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(i="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),i)),"false"===w&&u.set("bucket","mbr-up-pfs-five"),u.set("done",window.location.href),u.set("pspid",de())}window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==d&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,a=e.source,f("initialize",{height:h(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":case"show":d.style.height=t.params.height,t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}}))}},In=null,Tn=!0,Nn=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},On=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,a=t.ybarMobile,i=t.ybarMenuManagePub,r=t.signInAccountMenu,s=t.signInBtn,l=t.ybarModAccount,u=t.yahooPlusImpression,d=t.ybarLabel,p=t.accountSwitcherButton,m=t.universalProfile,f=t.universalProfileSettings,h=t.accountSwitcherContainer,v=t.accountSwitcherChevron,y=t.accountSwitcherSettings,g=t.signoutLinkWrapper,b=t.universalProfileKeyLine,w=t.financeApprBtnEl,_=function(){new pn(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},E=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),kn(t,e);else{var a=new Error("ybarAccountContainer not Found");c("ERROR:",a)}n&&Tn&&(Tn=!1,e.onDestroy((function(){Tn=!0})),An(e,t,o,_))},C=function(){var e,t;0===Nn&&(Nn=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",C),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",C),setTimeout((function(){te()}),500))},L=function(t){e.triggerEvent("ybar:show_theme_modal",{event:t})},S=function(a){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("close-all-menus"),e.triggerEvent("profile:show",{event:a}),document.activeElement===o&&setTimeout((function(){var e;null===(e=t.ybarAccountMenu)||void 0===e||e.blur(),(null==m?void 0:m.classList.contains("hide-universal-profile"))?null==v||v.focus():(null==f?void 0:f.children[0].children[0].children[0]).focus()}),300))},k=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},A=function(e){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?k():S(e)}},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},I=function(){if(u&&!u.getAttribute("src")&&u.getAttribute("data-src")){var t=u.getAttribute("data-src")||"";_n(t).then((function(e){null===In&&((In=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",In.sandbox.add("allow-scripts"),In.sandbox.add("allow-same-origin"),In.height="0",In.width="0",In.referrerPolicy="origin",In.style.display="none",In.style.visibility="hidden",document.body.appendChild(In)),u.setAttribute("src",e)})),e.onDestroy((function(){u.setAttribute("src",""),In=null}))}};null==p||p.addEventListener("click",(function(){return function(e,t,n,o,a,i,r){null==e||e.classList.add("hide-universal-profile"),null==e||e.classList.add("hide"),null==t||t.classList.add("hide"),null==t||t.classList.add("".concat(vn["hide-up-settings"])),null==n||n.classList.add("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.add("hide"),null==a||a.classList.remove("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.remove("".concat(vn["account-switcher-settings-container"])),null==r||r.focus()}(m,f,g,b,h,y,v)})),null==v||v.addEventListener("click",(function(){return function(e,t,n,o,a,i){null==e||e.classList.remove("hide-universal-profile"),null==t||t.classList.remove("hide"),null==t||t.classList.remove("".concat(vn["hide-up-settings"])),null==n||n.classList.remove("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.remove("hide"),null==a||a.classList.add("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.add("".concat(vn["account-switcher-settings-container"])),(null==t?void 0:t.children[0].children[0].children[0]).focus()}(m,f,g,b,h,y)})),s&&(xe(e,s,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),kn(t,e));var T=function(){E(!1),e.addEventListener("close-all-menus",(function(){r&&r.classList.contains(vn.show)&&r.parentNode&&!ke(r.parentNode)&&k()}));e.onDestroy((function(){k()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",I),e.addElementListener(l,"focus",I)),o&&o.parentNode&&e.addElementListener(o.parentNode,"mouseenter",C),Ie("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"mouseenter",A),e.addElementListener(l,"mouseleave",k),e.addElementListener(o,"click",A),e.addElementListener(i,"click",k),e.addElementListener(l,"mouseenter",x),null==l||l.addEventListener("keydown",(function(e){!function(e){var o;switch(e.key){case"ArrowDown":S(e);break;case" ":case"Enter":document.activeElement===t.ybarAccountMenu&&e.preventDefault(),S(e);break;case"Escape":(null==n?void 0:n.classList.contains("ybarMenuOpen"))&&(null===(o=t.ybarAccountMenu)||void 0===o||o.focus())}}(e)})),null==g||g.addEventListener("keydown",(function(e){!function(e){"Tab"===e.key&&(null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false"))}(e)}))};(o||a||r)&&(a?E(!0):(n&&"true"===n.getAttribute("data-pfs")&&(xn(e,t,vn["pfs-iframe"]),e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),T();ee("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}))),T()),Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,a;e=t.size,a="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=a})}))),window.addEventListener("keyup",(function(e){27===e.keyCode&&(k(),null==d||d.blur())})),null==w||w.addEventListener("click",(function(e){L(e)})),null==w||w.addEventListener("keydown",(function(e){(e instanceof KeyboardEvent&&"Tab"!==e.key&&e.preventDefault(),e instanceof KeyboardEvent&&"Enter"===e.key)&&("Enter"===e.key&&L(e))}))};we("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),iframeContainer:document.getElementById("iframe-container"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),jsapicrumb:document.querySelector('input[name="jsapicrumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),isAOLMail:!!document.querySelector("#ybar.ybar-variant-aolmail"),chevron:document.querySelector(".".concat(vn.chevron)),greetingsContainer:document.querySelector(".".concat(vn["greetings-container"])),ybarAccountMenuBody:document.getElementById("ybarAccountMenuBody"),stackedName:document.querySelector(".".concat(vn["stacked-name"])),stackedNameGiven:document.querySelector(".".concat(vn["stacked-name-given"])),stackedNameFamily:document.querySelector(".".concat(vn["stacked-name-family"])),ybarLabel:document.querySelector("#ybarAccountMenuOpener"),ybarLoadingProfileWrapper:document.querySelector(".".concat(vn["loading-profile-wrapper"])),universalProfile:document.getElementById("universalProfile"),universalProfileSettings:document.getElementById("universalProfileSettings"),accountSwitcherSettings:document.getElementById("accountSwitcherSettings"),accountSwitcherContainer:document.querySelector(".".concat(vn["account-switcher-container"])),universalProfileKeyLine:document.querySelector(".".concat(vn["ybar-keyline"])),accountSwitcherButton:document.querySelector(".".concat(vn["universal-profile-switch-button"])),accountSwitcherChevron:document.querySelector(".".concat(vn["account-switcher-chevron"])),signoutLinkWrapper:document.querySelector(".".concat(vn["signout-link-wrapper"])),financeApprBtnEl:document.getElementById("fin-appr-btn")};On(e,n)}));var Bn={"popover-body":"_yb_1cv16f4","ybar-mail-link":"_yb_1b0y3p9","ybar-mail-preview":"_yb_q2xbhz","ybar-mail-signin-link":"_yb_hnauxw","ybar-mod-mail":"_yb_10309ej","ybar-mod-mail-promo-imp":"_yb_6ci77k","ybar-large-unread":"_yb_9b6j40","ybar-mid-unread":"_yb_12gd9wd","ybar-mail-indicator":"_yb_tnmz0c","ybar-unread-active":"_yb_jdf7pt","count-loaded":"_yb_13nwx6d"},qn=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")},Rn=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")},Pn=function(e,t,n){var o=t.mailLink,a=t.mailUnread,i=t.mailUnreadSpan,r=t.mailIndicator,s=t.mailModule,c="".concat(Bn["ybar-unread-active"]);n.fetchCount().then((function(t){if(a&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&n&&o.setAttribute("aria-label",n.replace("{count}",t.toString())),a.classList.add(c),r&&(r.classList.add(c),null==s||s.classList.add(c)),i){var l=t>99;i.textContent=l?"99+":t+"",a.classList.add("".concat(Bn["count-loaded"])),l?a.classList.add("".concat(Bn["ybar-large-unread"])):t>=10&&a.classList.add("".concat(Bn["ybar-mid-unread"]))}e.onDestroy((function(){a.classList.remove(c),r&&r.classList.remove(c),i&&(i.textContent="")}))}})).catch((function(){}))};we("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,a=t.mailSigninLink,i=t.mailPreview;if(n){var r=new bt;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){ke(n)||Rn(t)})),e.addElementListener(i,"focusin",(function(){qn(t)})),e.addElementListener(i,"focusout",(function(){Rn(t)})),e.onDestroy((function(){Rn(t)})),a){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,de()),o.href=me(o.href)+s,(null==a?void 0:a.href)&&(a.href=me(a.href)+s)}}else Pn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(Bn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Bn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Bn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Bn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Bn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Bn["ybar-mail-preview"].split(" ").join(".")," .").concat(Bn["popover-body"].split(" ").join(".")))})}));var Dn,Hn,Fn="_yb_rbr9p9",Un="_yb_ac74t6",jn="_yb_8737ki",Yn="_yb_1vnnmze",zn="_yb_h1s1bv",Wn="_yb_bkrga4",Gn="_yb_kwlkcz",Vn="_yb_1772h7s",Kn="_yb_15viflt",Zn="_yb_zzzvko",Qn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new bt).fetchCount().then((function(t){o&&t>0&&(o.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},$n=!1,Jn=-1,Xn=function(e,t,n){var o,a,i,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;if(Hn)u+=Hn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),m=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=r;){var C=e.navItems[E].cloneNode(!0),L=C.querySelector("a");L&&(L.setAttribute("id",""),L.classList.remove(jn));var S=C.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),C.classList.remove(e.dropdownWrapperClass),C.classList.remove(e.ybarNavigationItemClass),C.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(C,e.moreMenuDropdown.firstChild);var k=C.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(i=e.navItems[E].querySelector("a"))||void 0===i||i.setAttribute("tabindex","-1"),E--}Jn=r}if(-1!==r&&e.navList){var A=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=A,t.textContent=".".concat(Gn,"{ max-width: ").concat(A,"}")}Hn||(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))}},eo=function(e,t){var n,o=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},a=function(){t.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",u))},i=function(n){var a=n.delegateTarget;a&&a.classList.contains(t.dropdownWrapperClass)&&(a.classList.contains(t.dropdownOpenClass)||(e.triggerEvent("nav:dropdown:show",{event:n}),t.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",u)),a.classList.add(t.dropdownOpenClass),o(a,"true")))},r=function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var i=n.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(a(),i.classList.remove(t.dropdownOpenClass),o(i,"false"))}else if(null==n?void 0:n.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var r=e.target;Hn&&(!Hn||Hn.contains(r)&&"focusout"!==e.type)||(a(),n.classList.remove(t.dropdownOpenClass),o(n,"false"))}},s=ln(".".concat(t.dropdownWrapperClass),"focusin",i),c=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",r),l=document.getElementById("ybar-navigation"),u=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(".".concat(t.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(n.tagName)&&(null==l||l.querySelectorAll(".".concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),a())};e.addEventListener("nav:closeOverflowMenu",(function(){u()}));var d=ln(".".concat(t.dropdownWrapperClass),"touchstart",(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?r(e):(u(e),i(e))}})),p=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Wn));null==p||p.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&e.addElementListener(n,"mouseenter",(function(t){e.triggerEvent("nav:dropdown:show",{event:t})}))})),e.onDestroy((function(){var e;d.destroy(),s.destroy(),c.destroy(),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 o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))},to=function(e,t,n,o){for(var a=t||window.location.pathname,i=n||window.location.hostname,r=(o||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),i=new pn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(Kn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:a,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;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 a=e.getConfig();Hn=(null===(o=a.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===a.property?Dn=-12:(Dn="finance"!==a.property&&"sports"!==a.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==a.locale&&"zh-Hant-TW"!==a.locale||(Dn=-20));var i=t.isTablet?"touchstart":"mouseover",r=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),i,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,i=n.delegateTarget;if(i&&-1!=i.className.indexOf(t.dropdownWrapperClass)&&(i=i.querySelector(".".concat(t.navigationDropdownListClass))),i){i.style.removeProperty("left");var r=i.getBoundingClientRect(),s=Math.trunc(r.right),c=parseInt(window.getComputedStyle(i).marginLeft,10)+o-s;if(s>o)return"sports"!==a.property?void(i.style.marginLeft=c+"px"):void(i.style.right="0px");if(parseInt(i.style.marginLeft)0?i.style.removeProperty("margin-left"):i.style.marginLeft=c+"px":(i.style.removeProperty("margin-left"),i.style.marginLeft=Dn+"px"),t.isTablet){var l=i.previousElementSibling;if(Hn&&Hn.contains(i));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);i.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){r.destroy()}))}(e,t),Qn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Qn(e)})),eo(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&&($n=void 0!==u&&u,to(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,o=void 0===n?{}:n,a=o.hostname,i=void 0===a?window.location.hostname:a,r=o.pathname,s=void 0===r?window.location.pathname:r,c=o.options;to(t,s,i,void 0===c?{}:c)})),a){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=ln("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Xn(t,d,i)})),Xn(t,d,i);var m=e.getConfig();if("complete"===document.readyState)no(e,t,d,i);else{var f="load";("news"===m.property&&("zh-Hant-TW"===m.locale||"zh-Hant-HK"===m.locale)||"finance"===m.property&&"zh-Hant-TW"===m.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){no(e,t,d,i)}))}e.addElementListener(window,"resize",(function(){Xn(t,d,i)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}io(e,t)},ao=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},io=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,"DOMContentLoaded",(function(n){t.isNavHidden()&&e.triggerEvent("l2:hide",{event:n})})),e.addElementListener(window,"resize",(function(o){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),n=t.isNavHidden()}))}},ro="#ybar-nav-more-menu";we("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Un,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===n.device||matchMedia("(hover: none)").matches,longListClass:Yn,moreMenuDropdown:document.querySelector("".concat(ro," ul")),moreMenuNavItem:document.querySelector(ro),moreMenuNavLinksSelector:"".concat(ro," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(ro," > button")),moreMenuNavItemClass:Zn,navigationDropdownItemClass:zn,navigationDropdownListClass:Wn,navItems:document.querySelectorAll("ul.".concat(Kn," li.").concat(Vn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Vn," > 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:Vn,dropdownOpenClass:Fn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(o-=1.8)>5?o:5:"crunch"===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById("ybar-nav-placement")),t},isNavHidden:function(){var e=!1;return"finance"===n.property&&"crunch"===n.ytheme&&document.documentElement.clientWidth=5||n.initialized?clearInterval(i):(void 0!==n.isNotificationsSupported()&&n.init(),a++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(fo),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(ho),document.body.classList.remove(fo),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(ho),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:mo)||(document.body.classList.add(ho),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(vo)[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(po,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(po);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(po),null}},e}(),bo=-1,wo={0:0,1:1,9:9,99:99,150:150},_o=function(e,t){var n,o=t.isUH3,a=t.notifMenu,i=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new go(e,t.tooltipContainer));var u=G(),d=function(){a&&(a.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(so))||(u.resetBadge(),s&&(o?null===(t=s.parentElement)||void 0===t||t.classList.remove(co):s.style.display="none"))},m=function(e){var t,n;0===bo&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(bo++,function(e){for(var t=function(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)},n=0;n0&&s)if(o){var i,r=(i=e.newCount)>99;s.textContent=r?"99+":i+"",null===(n=s.parentElement)||void 0===n||n.classList.add(co)}else s.style.display="block"},f=function(){u.refreshPanel().then(m).then(te).catch((function(){}))};if(e.addEventListener("close-all-menus",(function(){ke(c)||d()})),c){f();var h=setInterval((function(){f()}),3e5);e.onDestroy((function(){clearInterval(h)})),o?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(a,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),i&&xe(e,i,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){a&&(a.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()}))};we("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(lo)),notifLabel:document.querySelector(".".concat(uo))};t.notifDropdown&&_o(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, {"bucketConfig":{"assist_billboard_v2":true,"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"bucketNames":["ybar-uh3-v1","ybar-open-search-in-new-tab","ybar-shift-more-menu"],"componentCount":0,"device":"desktop","features":{"assist_billboard_v2":true,"avatarConfig":{"useAlphatar":true},"enable_search_ui":true,"login_icon_bg":true,"saMtestid":"35716=SAUHSearchBillboardsV2Test","search_cta_magnify":false,"show_mail_label":true,"suppress_topnavigation":true,"uh3_legacy_finance":false,"use_profile_character":true,"use_uh3_desktop_layout":true,"use_uh3_mail_v3":true,"use_uh3_profile":true,"open_search_in_new_tab":true,"shift_more_menu":true},"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","SEARCH_TOOLTIP_WEB":"Search the web","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.","MAIL_ARIA_LINK":"Check your mail, {count} messages, link","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"}},"locale":"en-US","mailVariantLogos":{},"property":"homepage","ytheme":"crunch"}); $_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,[m,f,p,h,v])+''+t.liveIconText+"":_?E(t.f_tmpl,[m,f,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 Me(e,t){var n=this.config,o=t.m;t=t.fd,e=e.li;n.enableNewLeagueTmpl&&48==o&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Oe(){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 Be(e){var t,n,o,a,i,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,o=e.high_temp&&'• H:'+e.high_temp+"°",a=e.low_temp&&"L:"+e.low_temp+"°",i=e.loc&&'• '+e.loc,r=e.warning?'':"",s=this.app.format,c.enableHL?e.title=s(c.tmpl_hl,[l,n,r,t,o,a,i]):e.title=s(c.tmpl,[l,n,t,i]))}function qe(e,t){var n=this.config,o=t.m,a=t.fd&&t.fd.img_url;41==o&&n.enableThumb&&a&&(t.fd.imageUrl=a)}function Re(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function Pe(e){var t,n,o,a=this.config,i=e.m,p=e.d,m=(e=e.fd)&&e[r]?e[r]:0;27==i&&e&&!m&&(p&&"movie"==p.subdn?(n=e[s]||"",i=e[c]&&e[c][0]?e[c][0]+" "+a.text.movie:a.text.movie,m=e[l]?new Date(e[l]):"",t=new Date,m&&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 Ye(e){var t=this.config,n=this.app.format,o=e.idx,a=e.m;e=e.fd;t.enabled&&53===a&&e&&0===o&&"1.00"===e.num&&(e.title=n(t.titleTpl,[e.fromUnit,e.title]))}function ze(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&53===a&&0===o&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function We(){this.config={titleTpl:"1 {0} = {1}"}}function Ge(e){var t=this.config,n=this.app.format,o=e.m;e=e.fd;t.enabled&&54===o&&e&&(o=e[p]||e[m],e.title=n(t.titleTpl,[e.num,o]))}function Ve(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&54===a&&0===o&&t&&e.li.classList.add("sa-unitconv")}function Ke(){this.config={titleTpl:"{0} {1}"}}function Ze(e){var t=e.m,n=e.fd;if(79==t&&n){var o=n.answeredby;if(o&&0')}c&&(r+=''+c+""),r+=(c?" ":"")+y.bold(this.app.config.boldTag,s(a.name),s(e.q)),i&&1Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function ut(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(y.stopPropagation(e),i.value="",y.setFocus(i),o.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,o=n.view,a=o.elems,i=a.sbInput,r=a.sbClear;r&&(y.ae(r,"click",e),y.ae(r,"keydown",e))}function dt(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}v.SA=(t=[],Z.prototype={jsonp:function(e){var t=h.getElementsByTagName("head")[0],n=h.createElement("script");y.set(n,"type","text/javascript"),y.set(n,"src",e),t.appendChild(n),y.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"+i+" "+n.config.saAria.shownText+"")),a.notify(N)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,o=n.length;e.updateRows(),e.app.notify(A),e.shown&&e.sameQuery()||(e.lastInput=n,ot.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(o=e.elems).sbInput,n=o.saAria,o=o.sbForm,a=e.config,i=e.app;i.notify(I),y.removeClass(h.body,a.typingClass),o&&o.parentElement&&y.removeClass(o.parentElement,a.typingClass),y.removeClass(o,a.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,a.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(y.set(t,"aria-expanded","false"),e.useTextArea)&&y.set(t,"rows","1"),n&&(y.set(n,"aria-expanded","false"),n.innerHTML=y.cleanHTML(""+e.config.saAria.closedText+"")),i.notify(T)},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(){var e=this.elems;e.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null,y.set(e.sbInput,V,"")},createItem:function(e){var t,n={idx:t=e.idx,data:e.origData},o=y.htmlEncode,a=this.config,i=this.app.createElem,r={},s=(a.highlight&&y.merge(r,a.highlight),e.highlight&&y.merge(r,e.highlight),i(a.saItem,"li"));return(t=(y.set(s,"pos",t),s.id+=t,i(a.saTitle,"span"))).innerHTML=y.cleanHTML(e.t||(a.boldTag&&e.k&&e.q?y.bold(a.boldTag,o(e.k),o(e.q),r):o(e.k))),s.appendChild(t),n.li=s,n.title=t,n},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(x)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,o=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(o(n,"padding-top"),10)-parseInt(o(n,"padding-bottom"),10)),n.style.height=0,y.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",id:"sa-item"}},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"}},g.hideSbClr=(ee.prototype={init:function(e){(this.app=e).on(A,X,this),e.on(E,X,this)}},ee),g.entityFocus=(oe.prototype={init:function(e){(this.app=e).on(P,ne,this)}},oe),g.saFr=(se.prototype={init:function(e){(this.app=e).on(E,ae,this),e.on(B,ie,this),e.on(x,re,this)}},se),g.ipos=(ue.prototype={init:function(e){(this.app=e).on(A,ce,this),e.on(b,le,this)}},ue),g.saTray=(pe.prototype={init:function(e){(this.app=e).on(_,de,this)}},pe),g.saFlvr=(fe.prototype={init:function(e){e.on(k,me,this)}},fe),g.saShoppingRefinement=(ge.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(C,he,t),e.on(k,ve,t),e.on(S,ye,t)}},ge),g.saWhatToWatch=(Ee.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(w,be,t),e.on(k,we,t),e.on(S,_e,t)}},Ee),g.saEdit=(Le.prototype={init:function(e){e.on(k,Ce,this)}},Le),g.saDirectTitle=(Se.prototype={init:function(e){(this.app=e).on(L,(function(e){441===e.m&&(e.t=e.k,e.origData.k=e.k.replace(//gi,""))}),this)}},Se),g.saAnnot=(Ae.prototype={init:function(e){e.on(k,ke,this)}},Ae),g.saStock=(Te.prototype={init:function(e){(this.app=e).on(L,xe,this),e.on(k,Ie,this)}},Te),g.saSport=(Oe.prototype={init:function(e){(this.app=e).on(L,Ne,this),e.on(k,Me,this)}},Oe),g.saWeather=(Re.prototype={init:function(e){(this.app=e).on(L,Be,this),e.on(k,qe,this)}},Re),g.saEntertainments=(r="show_subtitle",s="year",c="genre",l="releaseDate",u="offer",d="tvNetwork",De.prototype={init:function(e){(this.app=e).on(L,Pe,this),e.fdToSH=e.fdToSH.concat([r,s,c,l,u,d])}},De),g.saFlightStatus=(je.prototype={init:function(e){(this.app=e).on(L,Fe,this),e.on(k,Ue,this)}},je),g.saCurrencyConverter=(We.prototype={init:function(e){(this.app=e).on(L,Ye,this),e.on(k,ze,this)}},We),g.saUnitConverter=(p="resultUnitAbbr",m="resultUnit",Ke.prototype={init:function(e){(this.app=e).on(L,Ge,this),e.on(k,Ve,this),e.fdToSH=e.fdToSH.concat([p,m,"num"])}},Ke),g.saAnswers=(Qe.prototype={init:function(e){(this.app=e).on(L,Ze,this)}},Qe),g.saImg=(Je.prototype={init:function(e){e.on(k,$e,this)}},Je),g.saGroup=(nt.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(k,Xe,t),e.on(S,tt,t)}},nt),g.saPCActn=(st.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(w,ot,t),e.on(M,at,t),e.on(H,it,t),e.on(U,rt,t)}},st),g.tapRmv=(lt.prototype={init:function(e){(this.app=e).on(O,ct,this)}},lt),g.tapClr=(dt.prototype={init:function(e){(this.app=e).on(M,ut,this)}},dt)}();var It,Tt,Nt,Mt={"bot-search-icon":"_yb_1jihrzz","bot-search-icon-container":"_yb_18dhq2d","bot-search-item":"_yb_hev6g1","bot-search-item-col":"_yb_1yxmga4","bot-search-span":"_yb_nomrnc",history:"_yb_66t3kx","list-item-hover":"_yb_cn7lxu",lowlight:"_yb_1l72bih","no-wrap":"_yb_16sjj0b","related-title":"_yb_t3itwh",sa:"_yb_19hztkh","sa-annot-rich":"_yb_1k43egr","sa-annot-subtitle":"_yb_ogobkf","sa-annot-title":"_yb_6jsl4b","sa-company":"_yb_1p9nvwb","sa-edit":"_yb_1qpomao","sa-edit-icon":"_yb_jc7lk6","sa-edit-text":"_yb_sz4p0w","sa-fd-actn-cont":"_yb_y2f00g","sa-grp-hdr":"_yb_135tx56","sa-grp-hdr-title":"_yb_npklbb","sa-history":"_yb_kmwza6","sa-img":"_yb_186xagv","sa-img-ctn":"_yb_99puyz","sa-img-icon":"_yb_1n92ol5","sa-item":"_yb_19hlxd5","sa-item-title":"_yb_1bf7n38","sa-rich-thumb":"_yb_1u2z3wn","sa-sbx-container":"_yb_y1750f","sa-sugg":"_yb_10xap8a","sa-thumb-icon":"_yb_f7auvw","sa-tray":"_yb_jgbjnm","sa-tray-list-container":"_yb_1s7re6f","sa-trending":"_yb_1cfj85","sub-assist":"_yb_1e2829x","suggestion-title":"_yb_1q6q8ma",trending:"_yb_h9we4q","trending-title":"_yb_a309uv","yui3-highlight":"_yb_1i6wnm0",safadein:"_yb_193degg","uh3-layout":"_yb_tj6xve","sa-answer":"_yb_129e1mo","sa-creator":"_yb_jpuy8w","sa-group-holder":"_yb_12gi82e",sacollapse:"_yb_q75lkq","sa-nomatch":"_yb_v5oh1q","sa-shield-icon":"_yb_ugjhph","sa-question-icon":"_yb_5e3f9w","sa-eye-icon":"_yb_1joteeb","search-gradient-background":"_yb_1pay9tx"},Ot={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:Mt["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Mt["sa-tray-list-container"],attrs:{role:"listbox",id:"_yb_sa-listbox"}},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Mt["sa-sbx-container"]},tray:{css:Mt.sa+" "+Mt.lowlight}},saPCActn:{css:Mt["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}}},Bt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"]},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],m442:{iconClass:Mt["sa-shield-icon"]},m443:{iconClass:Mt["sa-question-icon"]},m444:{iconClass:Mt["sa-eye-icon"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:Mt.trending},m13:{text:"",css:Mt.history}}}}},qt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"]}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"],wrap:{css:Mt["sa-thumb-icon"]}},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Mt.trending},m13:{text:"",css:Mt.history}}},doneBtn:{disable:!0}}},Rt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}},Pt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}}},Dt=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Ht=function(e,t,n){var o=e.querySelectorAll(t);if(o)for(var a=0;a40?(A.style.setProperty(k,"40px"),A.style.setProperty(S,a+"px")):(A.style.setProperty(k,"0px"),A.style.setProperty(S,"40px")),L.hasClass(t,g)||"function"!=typeof n.beaconClick||n.beaconClick("ybar","websrch","",x),L.addClass(t,g),L.removeClass(t,b)}else A.style.setProperty(k,"0px"),A.style.setProperty(S,"0px")})),e.on("before_hide_view",(function(){null==p||p.setAttribute("aria-controls","");var t=e.view.elems.sbForm;L.addClass(t,b),L.removeClass(t,g)}))}},C.add("yba-saPCAnim",_);var I=C.viewClass;L.extend(E,I),E.prototype.clearAssist=function(){var e=this,t=e.config;L.hasClass(document.body,t.typingClass)?I.prototype.clearAssist.call(e):setTimeout((function(){I.prototype.clearAssist.call(e)}),200)},C.viewClass=E}var T=function(e){var t,n,o;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)&&(o=e.data.m)),{category:t,keyword:n,marker:o}},N=function(e){var n;if(t&&"javascript:void(0);"===t.action)return!1;var i,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?(i="srch-asst",l=!0,c=s.idx+1):i="kybrd":i="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,m=u.keyword;jt(t,a,l,d,m),(r||l)&&("homepage"===o||"my"===o?(Ut(t,r,l,d),Yt(t,l,d)):"smartphone"===a&&Yt(t,l,d)),q(zt(i,"0",c.toString()))}},M=function(e){var n,i=!!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;if(jt(t,a,s,u,d,p),"member-center"===o&&r&&r.data&&r.data.fd&&r.data.fd.itemUrl)return window.location.href=r.data.fd.itemUrl,void q(zt("srch-asst","0",c.toString(),r&&r.data.m,r&&r.data.k&&r.data.k));"homepage"===o||"my"===o?(Ut(t,i,s,u),Yt(t,s,u)):"smartphone"===a&&Yt(t,s,u),q(zt("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"!==a){n.saveCurrentTimerValue("search_input_keyboard_input");var t=zt("keystroke","1");delete t.clickParams.tar,"answers"===o&&(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"===a&&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 B=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===a&&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"})}}))},q=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var a={pp:{A_utm:n.getPerformanceI13nObject()}};!function(e,t,n){var o=e.getAttribute("action")||"",a=-1!==o.search("/play/"),i=-1!==o.search("/tag/"),r=-1!==o.search("/category/"),s=o.match(/^(.*)\/([^/]+)$/);(a||r||i)&&(t.slk="gamesrch",n.tar=window.location.host.replace(/^www\./i,""),n.tar_uri=null==s?void 0:s[1],n.ll2=null==s?void 0:s[2],n.ct=a?"game":"nav_link")}(t,e,e.clickParams),n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){"member-center"!==o&&setTimeout((function(){t&&(t.submit(),Wt(t))}),300)}),a)}else t&&"member-center"!==o&&(t.submit(),Wt(t))},R=function(n){var o=n.animationName;o==Mt.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):o==Mt.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:m,text:h||""},suggestionTitle:{text:f||""}}}function D(e){var t=this.config,n=this.app.view,o=n.elems.sbForm,a=n.elems.sbInput.value,i=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var o=document.createElement("span"),a=document.createElement("span");return a.textContent=t,o.appendChild(a),n.appendChild(o),n}}(Mt,t.suggestionTitle.text),r=function(e,t,n){var o=document.createElement("div");o.className=n["bot-search-item"];var a=document.createElement("div"),i=document.createElement("div");a.className=n["bot-search-item-col"],i.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),a.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]||"",i.appendChild(l),i.appendChild(u),i.appendChild(d),o.appendChild(a),o.appendChild(i),o}(t.botSearch.text,a,Mt);r&&(e&&i&&(e.prepend(i),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(o.action=t.botSearch.action),n.hide(),N(new CustomEvent("botSearchClicked"))})))}function H(){this.config={}}function F(){""===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",N),p.addEventListener("assistSelectionClicked",M),p.addEventListener("searchBtnClicked",N),p.addEventListener("keydown",O),p.addEventListener("click",B)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==o&&"my"!==o||(Ut(t),"homepage"===o&&function(e){var t=Dt("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Ht(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",D,this)}},m&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),H.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",F,t),e.on("before_key_submit",F,t)}};var U=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Gt,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],o=t[1],a=parseInt(o);return("S"===n||"F"===n)&&a>=14&&ac?(U("".concat(o,",1")),!0):!Number.isNaN(u)&&2>u&&(U("".concat(o,",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",H))};we("ybar-mod-assistjs",(function(e){var t,n,o,a,i,r,s=document.getElementById("ybar-sf"),c=document.getElementById("ybar-w2w-list"),l=null;if(s&&"true"===s.getAttribute("data-saEnabled")){var u={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:s,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn"),searchAssistContainer:document.querySelector(".".concat(Mt["sa-sbx-container"]))},d=e.getConfig();!!d.bucketConfig.use_uh3_profile&&(Ot.plugins.saTray.ctn.css+=" "+Mt["uh3-layout"]);var p=!!d.bucketConfig.assist_autoselect;p&&(Ot.autoSelect=!0),!!d.bucketConfig.assist_disable_srp&&s.setAttribute("action","javascript:void(0);"),!!d.bucketConfig.wrap_searchbox&&(Ot.plugins.saTray.afterNode="ybar-sbq-wrap");var f=Ot,h=!!d.bucketConfig.enable_search_ui,v=!!d.bucketConfig.assist_billboard_v2,y=!!d.bucketConfig.assist_disable_search_history,g=!!d.bucketConfig.answers_search;if(h){var b="smartphone"===d.device?qt:Bt,w=s.getAttribute("data-tn-title");if(w&&(null===(t=null==b?void 0:b.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(b.plugins.saGroup,{grps:{m9:{text:w}}}),v){var _="smartphone"===d.device?Rt:Pt;(null==b?void 0:b.plugins)&&Object.assign(b.plugins,_.plugins)}y&&(null===(n=null==b?void 0:b.saBE)||void 0===n?void 0:n.params)&&(b.saBE.params.f=0),g&&((null===(o=null==b?void 0:b.plugins)||void 0===o?void 0:o.saFlvr)&&Object.assign(null===(a=null==b?void 0:b.plugins)||void 0===a?void 0:a.saFlvr,{m79:Mt["sa-answer"],m80:Mt["sa-trending"],m81:Mt["sa-creator"]}),(null===(i=null==b?void 0:b.plugins)||void 0===i?void 0:i.saGroup)&&Object.assign(b.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:Mt["sa-group-holder"],pos:0,empty:1}}}),p&&(b.autoSelect={m:79,exact:!0}),b.inputRowHeight=20),f=m(m(m({},Ot),b),{plugins:m(m({},Ot.plugins),b.plugins)})}c&&!0===d.bucketConfig.enable_what_to_watch&&((l=c.cloneNode(!0)).removeAttribute("id"),l.removeAttribute("style")),function(e,t,n,o,a,i,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),m=t.searchBox.getAttribute("data-pubid"),f=t.searchBox.getAttribute("data-geoid"),h=t.searchBox.getAttribute("data-ll");if(console.log(f,h),window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),m&&""!==m&&(n.saBE.params.pubid=m),"games"===o&&(n.saBE.params.anno_output="raw"),f&&""!==f&&(n.saBE.params.geoid=f),h&&""!==h&&(n.saBE.params.ll=h),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var v=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,y=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,g=t.searchBox.dataset.mtestid;v&&(n.saBE.params[".crumb"]=v),y&&n.shBE&&(n.shBE.params._bcrumb=y),g&&(n.saBE.params.mtestid=g);var b=e.getConfig();Vt(t.ybar,t.searchBox,{beaconClick:ee,saveCurrentTimerValue:se,getPerformanceI13nObject:ce},o,a,i,r,s,(null===(u=null==b?void 0:b.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==b?void 0:b.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var w="Search lib not found. SearchAssist failed to initialise";e.logError(w,new Error(w))}}(e,u,f,d.property,d.device,d.ytheme,h,l),u.searchAssistContainer=document.querySelector(".".concat(Mt["sa-sbx-container"]));var E=null===(r=u.ybar)||void 0===r?void 0:r.classList.contains("search-gradient");if(u.searchBox&&E){var C=0;e.addElementListener(u.searchBox,"click",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"keydown",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"blur",(function(){u.searchAssistContainer.classList.remove("".concat(Mt["search-gradient-background"]))}))}}}));var Kt="_yb_tdk4ba",Zt="_yb_hkd17a",Qt="_yb_rtzclf",$t="_yb_tdbhj6",Jt="_yb_de52ef",Xt="_yb_9hwrey",en="_yb_slc8ta",tn="_yb_bf0svp",nn="_yb_hjic9z";if("undefined"!=typeof Element&&!Element.prototype.matches){var on=Element.prototype;on.matches=on.matchesSelector||on.mozMatchesSelector||on.msMatchesSelector||on.oMatchesSelector||on.webkitMatchesSelector}var an=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function rn(e,t,n,o,a){var i=sn.apply(this,arguments);return e.addEventListener(n,i,a),{destroy:function(){e.removeEventListener(n,i,a)}}}function sn(e,t,n,o){return function(n){n.delegateTarget=an(n.target,t),n.delegateTarget&&o.call(e,n)}}var cn,ln=function(e,t,n,o,a){return"function"==typeof e.addEventListener?rn.apply(null,arguments):"function"==typeof n?rn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return rn(e,t,n,o,a)})))},un=function(e){this.data=e,this.next=null,this.prev=null},dn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new un(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)&&to.right||e.clientYo.bottom)&&r(n)})),window.addEventListener("resize",s)),e.onDestroy((function(){i(n,!0),r(n,!0),window.removeEventListener("resize",s)}))}));var mn,fn,hn,vn={"account-status-container":"_yb_ymi0h2","accounts-container":"_yb_cbk7gs","accounts-list":"_yb_1xscf7t",chevron:"_yb_pa7kxr",current:"_yb_z3vl31",expanded:"_yb_1wdvidv",greetings:"_yb_hz3nxi","greetings-container":"_yb_1dvo2p8",hide:"_yb_1tqu5w",mobile:"_yb_303pw",multiple:"_yb_dx6pd0","loading-profile-wrapper":"_yb_5m8r7u","loading-profile-button":"_yb_qaqab3","notification-container":"_yb_1vpbvgz","pfs-container":"_yb_12irxp7","pfs-iframe":"_yb_1a475s8",show:"_yb_1tj3rr","sign-in-menu":"_yb_mpd5lf","signed-in":"_yb_1330230","signed-in-mark":"_yb_1puqf10","signed-out":"_yb_43r3tx","signedout-text":"_yb_1a59ed4","stacked-name":"_yb_ts4lap","stacked-name-given":"_yb_zb2ipb","stacked-name-family":"_yb_1v4uiyy","uh3-layout":"_yb_19rb0y5","ybar-account-img":"_yb_12iiv1a","ybar-account-img-signed-out":"_yb_cbs8y","ybar-account-img-hidden":"_yb_1owxd09","ybar-account-menu":"_yb_9u1jny","ybar-account-menu-item-signed-out":"_yb_1qla71m","ybar-account-user-email":"_yb_1on73m5","ybar-account-user-email-other":"_yb_u3fczo","ybar-account-user-name":"_yb_5pkkfa","ybar-account-user-signedout":"_yb_axu8rh","ybar-account-yahoo-plus-imp":"_yb_14bnbgj","ybar-icon-arrow":"_yb_1tu7gjy","ybar-icon-arrow-down":"_yb_ngz6b5","ybar-icon-arrow-up":"_yb_1nagqiu","ybar-icon-image-wrapper":"_yb_19gpxwu","ybar-item-hidden":"_yb_559mjn","ybar-login-btn":"_yb_11glrwn","ybar-mod-account":"_yb_lq748r","ybar-mod-mail":"_yb_1e163lf","ybar-profile-character":"_yb_10rialq","ybar-profile-character-hidden":"_yb_1e2i1rd","ybar-see-info":"_yb_uiw8wx","ybar-sign-out":"_yb_j1eqwx","ybar-sign-out-text":"_yb_dvnuy9","ybar-user-accounts-list":"_yb_15pu2gg","ybar-user-profile-img":"_yb_1mawsyw","account-switcher-item-container":"_yb_1kjh1ov","account-switcher-chevron":"_yb_ju6kvv","account-switcher-container":"_yb_62ip13","hide-universal-profile":"_yb_11o7p8y","hide-account-switcher-container":"_yb_dwibp6","settings-item-container":"_yb_94wwjn","universal-profile-switch-button":"_yb_1p1qbi3","universal-profile":"_yb_1y7wwv3","account-switcher-settings-container":"_yb_zw2im7","account-switcher-signout-link":"_yb_1an82qo","signout-link-wrapper":"_yb_gk0uu2","ybar-keyline":"_yb_1rsy4q0","hide-up-settings":"_yb_1wofy5w"},yn=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,gn=/\$({|%7B)GDPR(}|%7D)/g,bn=/\[timestamp\]/g,wn=function(e){return e.replace(bn,Date.now()+"")},_n=function(e){return f(void 0,void 0,void 0,(function(){var t,n,o,a;return h(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",o=new Error(n);return c(n,o),t(o)}window.__tcfapi("getTCData",2,(function(n,o){return o&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=i.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(gn,n?"1":"0")}(e,t),o=function(e,t){var n=t.gdprApplies,o=t.tcString;return e.replace(yn,n?o:"")}(n,t),[2,wn(o)];case 2:return i.sent(),a="Error adding consent to ".concat(e),c(a,new Error(a)),[2,e];case 3:return[2]}var r}))}))};mn="ybar",hn={createHTML:function(e){return e}},void 0!==(fn=window.trustedTypes)&&void 0!==fn.createPolicy&&window.trustedTypes.createPolicy(mn,hn);var En,Cn=!1,Ln=function(e,t,n){var o,a=n.ybarAccMenuItemTemplate,i=n.crumb;if(a){var r=(t+1).toString(),s=a.getAttribute("data-signedOutState"),c=a.getAttribute("data-signedInState")||"",l=a.getAttribute("data-done")||"",u=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=0;--n){e[n]=(i=void 0,(i={fn:(a=e[n]).fn||"",ln:a.ln||"",em:a.em||"",alias:a.alias||"",imageUrl:a.imageUrl,state:a.state,fullName:null,identifier:""}).fullName=he(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var o=e[n].state;0!==o&&"0"!==o||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),En=e[n],t||e.splice(n,1)[0])}var a,i;return e}(i.users,t.isUH3Layout);if(t.isUH3Layout&&En){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),u=En.fn&&En.fn[0].toUpperCase()||"",d=he(En.fn,En.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&fe(En.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var m=new Image;m.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),m.src=En.imageUrl,m.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",m.ontransitionend=p,m.onload=function(){m.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(m),l&&l.remove()}}c.length>0&&(t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var f=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),h=function(n){var o=Ln(c[n],n,t);o&&(null==f||f.appendChild(o)),e.onDestroy((function(){o&&(null==f||f.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),s&&s.classList.add(vn.show),n){var w=document.querySelector("".concat(r," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],E=vn["ybar-icon-arrow-down"],C=vn["ybar-item-hidden"],L=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e5){var S=document.querySelector("".concat(r," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}kn(t,e),o&&o(),Cn=!1}))}},xn=function(e,t,n){var o,a,i,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",m=function(e){for(var t=e.split(";"),n=new Map,o=0;o720?720:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1)},g=function(){d&&f("resize",{height:h()})},b=function(){var i;if(null===d){(d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.sandbox.add("allow-forms"),d.sandbox.add("allow-scripts"),d.sandbox.add("allow-same-origin"),d.sandbox.add("allow-popups"),d.classList.add(n),d.style.height="0px",d.style.opacity="0";var r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode("body { background: var(--UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(--UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }")),d.addEventListener("load",(function(){setTimeout((function(){var n;o&&a||(e.triggerEvent("ybar-pfs-init-failure"),null===(n=null==d?void 0:d.parentNode)||void 0===n||n.removeChild(d),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute("data-pfs","err"))}),500)})),t.loggedInUserElement&&(t.iframeContainer.appendChild(d),d.contentDocument&&(d.contentDocument.head.appendChild(r),d.contentDocument.body.innerHTML='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',d.style.opacity="1",setTimeout((function(){d&&(d.style.height="300px")}),100)),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",g),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",g),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",g),null===(i=t.accountSwitcherChevron)||void 0===i||i.addEventListener("click",g)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",b,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer){var w=t.ybarAccountContainer.getAttribute("data-prod");"false"===w&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("version","2"),u.set("lang",l.locale),u.set("theme",(i="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(i="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),i)),"false"===w&&u.set("bucket","mbr-up-pfs-five"),u.set("done",window.location.href),u.set("pspid",de())}window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==d&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,a=e.source,f("initialize",{height:h(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":case"show":d.style.height=t.params.height,t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}}))}},In=null,Tn=!0,Nn=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},On=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,a=t.ybarMobile,i=t.ybarMenuManagePub,r=t.signInAccountMenu,s=t.signInBtn,l=t.ybarModAccount,u=t.yahooPlusImpression,d=t.ybarLabel,p=t.accountSwitcherButton,m=t.universalProfile,f=t.universalProfileSettings,h=t.accountSwitcherContainer,v=t.accountSwitcherChevron,y=t.accountSwitcherSettings,g=t.signoutLinkWrapper,b=t.universalProfileKeyLine,w=t.financeApprBtnEl,_=function(){new pn(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},E=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),kn(t,e);else{var a=new Error("ybarAccountContainer not Found");c("ERROR:",a)}n&&Tn&&(Tn=!1,e.onDestroy((function(){Tn=!0})),An(e,t,o,_))},C=function(){var e,t;0===Nn&&(Nn=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",C),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",C),setTimeout((function(){te()}),500))},L=function(t){e.triggerEvent("ybar:show_theme_modal",{event:t})},S=function(a){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("close-all-menus"),e.triggerEvent("profile:show",{event:a}),document.activeElement===o&&setTimeout((function(){var e;null===(e=t.ybarAccountMenu)||void 0===e||e.blur(),(null==m?void 0:m.classList.contains("hide-universal-profile"))?null==v||v.focus():(null==f?void 0:f.children[0].children[0].children[0]).focus()}),300))},k=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},A=function(e){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?k():S(e)}},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},I=function(){if(u&&!u.getAttribute("src")&&u.getAttribute("data-src")){var t=u.getAttribute("data-src")||"";_n(t).then((function(e){null===In&&((In=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",In.sandbox.add("allow-scripts"),In.sandbox.add("allow-same-origin"),In.height="0",In.width="0",In.referrerPolicy="origin",In.style.display="none",In.style.visibility="hidden",document.body.appendChild(In)),u.setAttribute("src",e)})),e.onDestroy((function(){u.setAttribute("src",""),In=null}))}};null==p||p.addEventListener("click",(function(){return function(e,t,n,o,a,i,r){null==e||e.classList.add("hide-universal-profile"),null==e||e.classList.add("hide"),null==t||t.classList.add("hide"),null==t||t.classList.add("".concat(vn["hide-up-settings"])),null==n||n.classList.add("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.add("hide"),null==a||a.classList.remove("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.remove("".concat(vn["account-switcher-settings-container"])),null==r||r.focus()}(m,f,g,b,h,y,v)})),null==v||v.addEventListener("click",(function(){return function(e,t,n,o,a,i){null==e||e.classList.remove("hide-universal-profile"),null==t||t.classList.remove("hide"),null==t||t.classList.remove("".concat(vn["hide-up-settings"])),null==n||n.classList.remove("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.remove("hide"),null==a||a.classList.add("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.add("".concat(vn["account-switcher-settings-container"])),(null==t?void 0:t.children[0].children[0].children[0]).focus()}(m,f,g,b,h,y)})),s&&(xe(e,s,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),kn(t,e));var T=function(){E(!1),e.addEventListener("close-all-menus",(function(){r&&r.classList.contains(vn.show)&&r.parentNode&&!ke(r.parentNode)&&k()}));e.onDestroy((function(){k()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",I),e.addElementListener(l,"focus",I)),o&&o.parentNode&&e.addElementListener(o.parentNode,"mouseenter",C),Ie("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"mouseenter",A),e.addElementListener(l,"mouseleave",k),e.addElementListener(o,"click",A),e.addElementListener(i,"click",k),e.addElementListener(l,"mouseenter",x),null==l||l.addEventListener("keydown",(function(e){!function(e){var o;switch(e.key){case"ArrowDown":S(e);break;case" ":case"Enter":document.activeElement===t.ybarAccountMenu&&e.preventDefault(),S(e);break;case"Escape":(null==n?void 0:n.classList.contains("ybarMenuOpen"))&&(null===(o=t.ybarAccountMenu)||void 0===o||o.focus())}}(e)})),null==g||g.addEventListener("keydown",(function(e){!function(e){"Tab"===e.key&&(null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false"))}(e)}))};(o||a||r)&&(a?E(!0):(n&&"true"===n.getAttribute("data-pfs")&&(xn(e,t,vn["pfs-iframe"]),e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),T();ee("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}))),T()),Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,a;e=t.size,a="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=a})}))),window.addEventListener("keyup",(function(e){27===e.keyCode&&(k(),null==d||d.blur())})),null==w||w.addEventListener("click",(function(e){L(e)})),null==w||w.addEventListener("keydown",(function(e){(e instanceof KeyboardEvent&&"Tab"!==e.key&&e.preventDefault(),e instanceof KeyboardEvent&&"Enter"===e.key)&&("Enter"===e.key&&L(e))}))};we("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),iframeContainer:document.getElementById("iframe-container"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),jsapicrumb:document.querySelector('input[name="jsapicrumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),isAOLMail:!!document.querySelector("#ybar.ybar-variant-aolmail"),chevron:document.querySelector(".".concat(vn.chevron)),greetingsContainer:document.querySelector(".".concat(vn["greetings-container"])),ybarAccountMenuBody:document.getElementById("ybarAccountMenuBody"),stackedName:document.querySelector(".".concat(vn["stacked-name"])),stackedNameGiven:document.querySelector(".".concat(vn["stacked-name-given"])),stackedNameFamily:document.querySelector(".".concat(vn["stacked-name-family"])),ybarLabel:document.querySelector("#ybarAccountMenuOpener"),ybarLoadingProfileWrapper:document.querySelector(".".concat(vn["loading-profile-wrapper"])),universalProfile:document.getElementById("universalProfile"),universalProfileSettings:document.getElementById("universalProfileSettings"),accountSwitcherSettings:document.getElementById("accountSwitcherSettings"),accountSwitcherContainer:document.querySelector(".".concat(vn["account-switcher-container"])),universalProfileKeyLine:document.querySelector(".".concat(vn["ybar-keyline"])),accountSwitcherButton:document.querySelector(".".concat(vn["universal-profile-switch-button"])),accountSwitcherChevron:document.querySelector(".".concat(vn["account-switcher-chevron"])),signoutLinkWrapper:document.querySelector(".".concat(vn["signout-link-wrapper"])),financeApprBtnEl:document.getElementById("fin-appr-btn")};On(e,n)}));var Bn={"popover-body":"_yb_1cv16f4","ybar-mail-link":"_yb_1b0y3p9","ybar-mail-preview":"_yb_q2xbhz","ybar-mail-signin-link":"_yb_hnauxw","ybar-mod-mail":"_yb_10309ej","ybar-mod-mail-promo-imp":"_yb_6ci77k","ybar-large-unread":"_yb_9b6j40","ybar-mid-unread":"_yb_12gd9wd","ybar-mail-indicator":"_yb_tnmz0c","ybar-unread-active":"_yb_jdf7pt","count-loaded":"_yb_13nwx6d"},qn=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")},Rn=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")},Pn=function(e,t,n){var o=t.mailLink,a=t.mailUnread,i=t.mailUnreadSpan,r=t.mailIndicator,s=t.mailModule,c="".concat(Bn["ybar-unread-active"]);n.fetchCount().then((function(t){if(a&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&n&&o.setAttribute("aria-label",n.replace("{count}",t.toString())),a.classList.add(c),r&&(r.classList.add(c),null==s||s.classList.add(c)),i){var l=t>99;i.textContent=l?"99+":t+"",a.classList.add("".concat(Bn["count-loaded"])),l?a.classList.add("".concat(Bn["ybar-large-unread"])):t>=10&&a.classList.add("".concat(Bn["ybar-mid-unread"]))}e.onDestroy((function(){a.classList.remove(c),r&&r.classList.remove(c),i&&(i.textContent="")}))}})).catch((function(){}))};we("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,a=t.mailSigninLink,i=t.mailPreview;if(n){var r=new bt;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){ke(n)||Rn(t)})),e.addElementListener(i,"focusin",(function(){qn(t)})),e.addElementListener(i,"focusout",(function(){Rn(t)})),e.onDestroy((function(){Rn(t)})),a){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,de()),o.href=me(o.href)+s,(null==a?void 0:a.href)&&(a.href=me(a.href)+s)}}else Pn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(Bn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Bn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Bn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Bn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Bn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Bn["ybar-mail-preview"].split(" ").join(".")," .").concat(Bn["popover-body"].split(" ").join(".")))})}));var Dn,Hn,Fn="_yb_rbr9p9",Un="_yb_ac74t6",jn="_yb_8737ki",Yn="_yb_1vnnmze",zn="_yb_h1s1bv",Wn="_yb_bkrga4",Gn="_yb_kwlkcz",Vn="_yb_1772h7s",Kn="_yb_15viflt",Zn="_yb_zzzvko",Qn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new bt).fetchCount().then((function(t){o&&t>0&&(o.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},$n=!1,Jn=-1,Xn=function(e,t,n){var o,a,i,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;if(Hn)u+=Hn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),m=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=r;){var C=e.navItems[E].cloneNode(!0),L=C.querySelector("a");L&&(L.setAttribute("id",""),L.classList.remove(jn));var S=C.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),C.classList.remove(e.dropdownWrapperClass),C.classList.remove(e.ybarNavigationItemClass),C.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(C,e.moreMenuDropdown.firstChild);var k=C.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(i=e.navItems[E].querySelector("a"))||void 0===i||i.setAttribute("tabindex","-1"),E--}Jn=r}if(-1!==r&&e.navList){var A=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=A,t.textContent=".".concat(Gn,"{ max-width: ").concat(A,"}")}Hn||(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))}},eo=function(e,t){var n,o=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},a=function(){t.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",u))},i=function(n){var a=n.delegateTarget;a&&a.classList.contains(t.dropdownWrapperClass)&&(a.classList.contains(t.dropdownOpenClass)||(e.triggerEvent("nav:dropdown:show",{event:n}),t.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",u)),a.classList.add(t.dropdownOpenClass),o(a,"true")))},r=function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var i=n.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(a(),i.classList.remove(t.dropdownOpenClass),o(i,"false"))}else if(null==n?void 0:n.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var r=e.target;Hn&&(!Hn||Hn.contains(r)&&"focusout"!==e.type)||(a(),n.classList.remove(t.dropdownOpenClass),o(n,"false"))}},s=ln(".".concat(t.dropdownWrapperClass),"focusin",i),c=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",r),l=document.getElementById("ybar-navigation"),u=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(".".concat(t.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(n.tagName)&&(null==l||l.querySelectorAll(".".concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),a())};e.addEventListener("nav:closeOverflowMenu",(function(){u()}));var d=ln(".".concat(t.dropdownWrapperClass),"touchstart",(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?r(e):(u(e),i(e))}})),p=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Wn));null==p||p.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&e.addElementListener(n,"mouseenter",(function(t){e.triggerEvent("nav:dropdown:show",{event:t})}))})),e.onDestroy((function(){var e;d.destroy(),s.destroy(),c.destroy(),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 o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))},to=function(e,t,n,o){for(var a=t||window.location.pathname,i=n||window.location.hostname,r=(o||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),i=new pn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(Kn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:a,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;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 a=e.getConfig();Hn=(null===(o=a.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===a.property?Dn=-12:(Dn="finance"!==a.property&&"sports"!==a.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==a.locale&&"zh-Hant-TW"!==a.locale||(Dn=-20));var i=t.isTablet?"touchstart":"mouseover",r=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),i,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,i=n.delegateTarget;if(i&&-1!=i.className.indexOf(t.dropdownWrapperClass)&&(i=i.querySelector(".".concat(t.navigationDropdownListClass))),i){i.style.removeProperty("left");var r=i.getBoundingClientRect(),s=Math.trunc(r.right),c=parseInt(window.getComputedStyle(i).marginLeft,10)+o-s;if(s>o)return"sports"!==a.property?void(i.style.marginLeft=c+"px"):void(i.style.right="0px");if(parseInt(i.style.marginLeft)0?i.style.removeProperty("margin-left"):i.style.marginLeft=c+"px":(i.style.removeProperty("margin-left"),i.style.marginLeft=Dn+"px"),t.isTablet){var l=i.previousElementSibling;if(Hn&&Hn.contains(i));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);i.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){r.destroy()}))}(e,t),Qn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Qn(e)})),eo(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&&($n=void 0!==u&&u,to(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,o=void 0===n?{}:n,a=o.hostname,i=void 0===a?window.location.hostname:a,r=o.pathname,s=void 0===r?window.location.pathname:r,c=o.options;to(t,s,i,void 0===c?{}:c)})),a){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=ln("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Xn(t,d,i)})),Xn(t,d,i);var m=e.getConfig();if("complete"===document.readyState)no(e,t,d,i);else{var f="load";("news"===m.property&&("zh-Hant-TW"===m.locale||"zh-Hant-HK"===m.locale)||"finance"===m.property&&"zh-Hant-TW"===m.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){no(e,t,d,i)}))}e.addElementListener(window,"resize",(function(){Xn(t,d,i)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}io(e,t)},ao=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},io=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,"DOMContentLoaded",(function(n){t.isNavHidden()&&e.triggerEvent("l2:hide",{event:n})})),e.addElementListener(window,"resize",(function(o){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),n=t.isNavHidden()}))}},ro="#ybar-nav-more-menu";we("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Un,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===n.device||matchMedia("(hover: none)").matches,longListClass:Yn,moreMenuDropdown:document.querySelector("".concat(ro," ul")),moreMenuNavItem:document.querySelector(ro),moreMenuNavLinksSelector:"".concat(ro," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(ro," > button")),moreMenuNavItemClass:Zn,navigationDropdownItemClass:zn,navigationDropdownListClass:Wn,navItems:document.querySelectorAll("ul.".concat(Kn," li.").concat(Vn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Vn," > 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:Vn,dropdownOpenClass:Fn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(o-=1.8)>5?o:5:"crunch"===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById("ybar-nav-placement")),t},isNavHidden:function(){var e=!1;return"finance"===n.property&&"crunch"===n.ytheme&&document.documentElement.clientWidth=5||n.initialized?clearInterval(i):(void 0!==n.isNotificationsSupported()&&n.init(),a++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(fo),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(ho),document.body.classList.remove(fo),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(ho),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:mo)||(document.body.classList.add(ho),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(vo)[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(po,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(po);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(po),null}},e}(),bo=-1,wo={0:0,1:1,9:9,99:99,150:150},_o=function(e,t){var n,o=t.isUH3,a=t.notifMenu,i=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new go(e,t.tooltipContainer));var u=G(),d=function(){a&&(a.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(so))||(u.resetBadge(),s&&(o?null===(t=s.parentElement)||void 0===t||t.classList.remove(co):s.style.display="none"))},m=function(e){var t,n;0===bo&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(bo++,function(e){for(var t=function(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)},n=0;n0&&s)if(o){var i,r=(i=e.newCount)>99;s.textContent=r?"99+":i+"",null===(n=s.parentElement)||void 0===n||n.classList.add(co)}else s.style.display="block"},f=function(){u.refreshPanel().then(m).then(te).catch((function(){}))};if(e.addEventListener("close-all-menus",(function(){ke(c)||d()})),c){f();var h=setInterval((function(){f()}),3e5);e.onDestroy((function(){clearInterval(h)})),o?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(a,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),i&&xe(e,i,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){a&&(a.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()}))};we("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(lo)),notifLabel:document.querySelector(".".concat(uo))};t.notifDropdown&&_o(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, {"bucketConfig":{"assist_billboard_v2":true,"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"bucketNames":["ybar-uh3-v1","ybar-open-search-in-new-tab","ybar-shift-more-menu"],"componentCount":0,"device":"desktop","features":{"assist_billboard_v2":true,"avatarConfig":{"useAlphatar":true},"enable_search_ui":true,"login_icon_bg":true,"saMtestid":"35716=SAUHSearchBillboardsV2Test","search_cta_magnify":false,"show_mail_label":true,"suppress_topnavigation":true,"uh3_legacy_finance":false,"use_profile_character":true,"use_uh3_desktop_layout":true,"use_uh3_mail_v3":true,"use_uh3_profile":true,"open_search_in_new_tab":true,"shift_more_menu":true},"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","SEARCH_TOOLTIP_WEB":"Search the web","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.","MAIL_ARIA_LINK":"Check your mail, {count} messages, link","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"}},"locale":"en-US","mailVariantLogos":{},"property":"homepage","ytheme":"crunch"}); $_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> (82) | | <I> (20) | {0}{1}{2}'}}function Ce(e){var t=this.config,n=this.createElem;e.edit=e.li.appendChild(n(t.ctn,"span")),t.icon&&e.edit.appendChild(n(t.icon,"span")),t.text&&e.edit.appendChild(n(t.text,"span")),y.set(e.edit,"pos",e.idx)}function Le(){this.config={ctn:{css:"sa-edit"},icon:{css:"sa-edit-icon"},text:{css:"sa-edit-text"}}}function Se(){}function ke(e,t){var n=this.config,o=t.d,a=t.fd;t=t.m;if(a){if(13==t&&(a.dispMrk&&(u=n.history.markers["m"+a.dispMrk])&&u.css&&(e.li.className+=" "+u.css),!n.showAnnotForHistory))return;var i,r=e.li,s=this.createElem,c=a.title,l=a.subtitle,u=(s=(o&&o.subdn,c&&(o=s(n.title,"p"),n.concatSubTitle&&l&&(c+=" · "+l,l=""),o.innerHTML=y.cleanHTML(c),r.className+=" quick-facts",r.appendChild(o)),l&&((o=s(n.subtitle,"p")).innerHTML=y.cleanHTML(l),n.enableFlag&&a.flag&&((i=s({css:"sa-annot-flag"},"img")).onerror=function(e){i.style.display="none"},i.src=a.flag,o.appendChild(i)),r.appendChild(o)),n.markers))&&s["m"+t];0==e.idx&&u&&u.type&&(r.className+=" billboard "+u.type),n.richClass&&(c||l)&&(r.className+=" "+n.richClass)}}function Ae(){this.config={title:{css:"sa-annot-title"},subtitle:{css:"sa-annot-subtitle"},markers:{m41:{type:"weather"},m46:{type:"finance"},m48:{type:"sports"}},history:{markers:{m27:{css:"entity-sugg"},m30:{css:"public-company"}}}}}function xe(e){var t,n,o,a,i=this.config,r=e.m;e=e.fd;46==r&&e&&(r=e.price,t=e.change,n=e.change_pct,o=i.zero.css,a=parseFloat(t),r)&&t&&n&&(a{0} · {1}{2}',fd_tmpl:'{0}{3} ({4})',icon:"sa-stk-icon",down:{css:"sa-stk-down"},up:{css:"sa-stk-up"},zero:{css:"sa-stk-zero"}}}function Ne(e){var t=this.config,n=e.m;e=e.fd;if(48==n&&e&&!e.subtitle){n=e.t_logo;var o,a,i,r,s,c,l,u=e.t_abbr||e.team,d=e.ot_logo,p=e.ot_abbr||e.oteam,m=e.team_points,f=e.opp_points,h=e.period&&"• Q"+e.period,v=e.timeleft,y=e.gametime&&new Date(1e3*e.gametime),g=e.live,b=e.game_cnt,w=b&&1 • '+o+" "+e.period),e.time_elapsed_display&&(h=e.is_halftime&&"true"==e.is_halftime?' • Halftime':' • '+e.time_elapsed_display),e.qtype&&"lg"==e.qtype)if(t.enableNewLeagueTmpl)try{g?(a=v&&' '+v+"",i=''+t.liveIconText+"",e.title=E(t.league_l_tmpl,[u,n,m,f,d,p,h,a,i])):_?(r=y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz}),s=' • ',c=''+r+"",e.title=E(t.league_f_tmpl,[u,n,m,f,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,[m,f,p,h,v])+''+t.liveIconText+"":_?E(t.f_tmpl,[m,f,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 Me(e,t){var n=this.config,o=t.m;t=t.fd,e=e.li;n.enableNewLeagueTmpl&&48==o&&t&&t.qtype&&"lg"==t.qtype&&(e.className+=" league")}function Oe(){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 Be(e){var t,n,o,a,i,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,o=e.high_temp&&'• H:'+e.high_temp+"°",a=e.low_temp&&"L:"+e.low_temp+"°",i=e.loc&&'• '+e.loc,r=e.warning?'':"",s=this.app.format,c.enableHL?e.title=s(c.tmpl_hl,[l,n,r,t,o,a,i]):e.title=s(c.tmpl,[l,n,t,i]))}function qe(e,t){var n=this.config,o=t.m,a=t.fd&&t.fd.img_url;41==o&&n.enableThumb&&a&&(t.fd.imageUrl=a)}function Re(){this.config={enableHL:!1,enableThumb:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function Pe(e){var t,n,o,a=this.config,i=e.m,p=e.d,m=(e=e.fd)&&e[r]?e[r]:0;27==i&&e&&!m&&(p&&"movie"==p.subdn?(n=e[s]||"",i=e[c]&&e[c][0]?e[c][0]+" "+a.text.movie:a.text.movie,m=e[l]?new Date(e[l]):"",t=new Date,m&&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 Ye(e){var t=this.config,n=this.app.format,o=e.idx,a=e.m;e=e.fd;t.enabled&&53===a&&e&&0===o&&"1.00"===e.num&&(e.title=n(t.titleTpl,[e.fromUnit,e.title]))}function ze(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&53===a&&0===o&&t&&(e.li.classList.add("sa-currency"),"1.00"!==t.num)&&e.li.classList.add("sa-currency-plural")}function We(){this.config={titleTpl:"1 {0} = {1}"}}function Ge(e){var t=this.config,n=this.app.format,o=e.m;e=e.fd;t.enabled&&54===o&&e&&(o=e[p]||e[m],e.title=n(t.titleTpl,[e.num,o]))}function Ve(e,t){var n=this.config,o=t.idx,a=t.m;t=t.fd;n.enabled&&54===a&&0===o&&t&&e.li.classList.add("sa-unitconv")}function Ke(){this.config={titleTpl:"{0} {1}"}}function Ze(e){var t=e.m,n=e.fd;if(79==t&&n){var o=n.answeredby;if(o&&0')}c&&(r+=''+c+""),r+=(c?" ":"")+y.bold(this.app.config.boldTag,s(a.name),s(e.q)),i&&1Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function ut(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(y.stopPropagation(e),i.value="",y.setFocus(i),o.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,o=n.view,a=o.elems,i=a.sbInput,r=a.sbClear;r&&(y.ae(r,"click",e),y.ae(r,"keydown",e))}function dt(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}v.SA=(t=[],Z.prototype={jsonp:function(e){var t=h.getElementsByTagName("head")[0],n=h.createElement("script");y.set(n,"type","text/javascript"),y.set(n,"src",e),t.appendChild(n),y.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"+i+" "+n.config.saAria.shownText+"")),a.notify(N)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,o=n.length;e.updateRows(),e.app.notify(A),e.shown&&e.sameQuery()||(e.lastInput=n,ot.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(o=e.elems).sbInput,n=o.saAria,o=o.sbForm,a=e.config,i=e.app;i.notify(I),y.removeClass(h.body,a.typingClass),o&&o.parentElement&&y.removeClass(o.parentElement,a.typingClass),y.removeClass(o,a.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,a.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(y.set(t,"aria-expanded","false"),e.useTextArea)&&y.set(t,"rows","1"),n&&(y.set(n,"aria-expanded","false"),n.innerHTML=y.cleanHTML(""+e.config.saAria.closedText+"")),i.notify(T)},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(){var e=this.elems;e.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null,y.set(e.sbInput,V,"")},createItem:function(e){var t,n={idx:t=e.idx,data:e.origData},o=y.htmlEncode,a=this.config,i=this.app.createElem,r={},s=(a.highlight&&y.merge(r,a.highlight),e.highlight&&y.merge(r,e.highlight),i(a.saItem,"li"));return(t=(y.set(s,"pos",t),s.id+=t,i(a.saTitle,"span"))).innerHTML=y.cleanHTML(e.t||(a.boldTag&&e.k&&e.q?y.bold(a.boldTag,o(e.k),o(e.q),r):o(e.k))),s.appendChild(t),n.li=s,n.title=t,n},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(x)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,o=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(o(n,"padding-top"),10)-parseInt(o(n,"padding-bottom"),10)),n.style.height=0,y.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",id:"sa-item"}},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"}},g.hideSbClr=(ee.prototype={init:function(e){(this.app=e).on(A,X,this),e.on(E,X,this)}},ee),g.entityFocus=(oe.prototype={init:function(e){(this.app=e).on(P,ne,this)}},oe),g.saFr=(se.prototype={init:function(e){(this.app=e).on(E,ae,this),e.on(B,ie,this),e.on(x,re,this)}},se),g.ipos=(ue.prototype={init:function(e){(this.app=e).on(A,ce,this),e.on(b,le,this)}},ue),g.saTray=(pe.prototype={init:function(e){(this.app=e).on(_,de,this)}},pe),g.saFlvr=(fe.prototype={init:function(e){e.on(k,me,this)}},fe),g.saShoppingRefinement=(ge.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(C,he,t),e.on(k,ve,t),e.on(S,ye,t)}},ge),g.saWhatToWatch=(Ee.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(w,be,t),e.on(k,we,t),e.on(S,_e,t)}},Ee),g.saEdit=(Le.prototype={init:function(e){e.on(k,Ce,this)}},Le),g.saDirectTitle=(Se.prototype={init:function(e){(this.app=e).on(L,(function(e){441===e.m&&(e.t=e.k,e.origData.k=e.k.replace(//gi,""))}),this)}},Se),g.saAnnot=(Ae.prototype={init:function(e){e.on(k,ke,this)}},Ae),g.saStock=(Te.prototype={init:function(e){(this.app=e).on(L,xe,this),e.on(k,Ie,this)}},Te),g.saSport=(Oe.prototype={init:function(e){(this.app=e).on(L,Ne,this),e.on(k,Me,this)}},Oe),g.saWeather=(Re.prototype={init:function(e){(this.app=e).on(L,Be,this),e.on(k,qe,this)}},Re),g.saEntertainments=(r="show_subtitle",s="year",c="genre",l="releaseDate",u="offer",d="tvNetwork",De.prototype={init:function(e){(this.app=e).on(L,Pe,this),e.fdToSH=e.fdToSH.concat([r,s,c,l,u,d])}},De),g.saFlightStatus=(je.prototype={init:function(e){(this.app=e).on(L,Fe,this),e.on(k,Ue,this)}},je),g.saCurrencyConverter=(We.prototype={init:function(e){(this.app=e).on(L,Ye,this),e.on(k,ze,this)}},We),g.saUnitConverter=(p="resultUnitAbbr",m="resultUnit",Ke.prototype={init:function(e){(this.app=e).on(L,Ge,this),e.on(k,Ve,this),e.fdToSH=e.fdToSH.concat([p,m,"num"])}},Ke),g.saAnswers=(Qe.prototype={init:function(e){(this.app=e).on(L,Ze,this)}},Qe),g.saImg=(Je.prototype={init:function(e){e.on(k,$e,this)}},Je),g.saGroup=(nt.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(k,Xe,t),e.on(S,tt,t)}},nt),g.saPCActn=(st.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(w,ot,t),e.on(M,at,t),e.on(H,it,t),e.on(U,rt,t)}},st),g.tapRmv=(lt.prototype={init:function(e){(this.app=e).on(O,ct,this)}},lt),g.tapClr=(dt.prototype={init:function(e){(this.app=e).on(M,ut,this)}},dt)}();var It,Tt,Nt,Mt={"bot-search-icon":"_yb_1jihrzz","bot-search-icon-container":"_yb_18dhq2d","bot-search-item":"_yb_hev6g1","bot-search-item-col":"_yb_1yxmga4","bot-search-span":"_yb_nomrnc",history:"_yb_66t3kx","list-item-hover":"_yb_cn7lxu",lowlight:"_yb_1l72bih","no-wrap":"_yb_16sjj0b","related-title":"_yb_t3itwh",sa:"_yb_19hztkh","sa-annot-rich":"_yb_1k43egr","sa-annot-subtitle":"_yb_ogobkf","sa-annot-title":"_yb_6jsl4b","sa-company":"_yb_1p9nvwb","sa-edit":"_yb_1qpomao","sa-edit-icon":"_yb_jc7lk6","sa-edit-text":"_yb_sz4p0w","sa-fd-actn-cont":"_yb_y2f00g","sa-grp-hdr":"_yb_135tx56","sa-grp-hdr-title":"_yb_npklbb","sa-history":"_yb_kmwza6","sa-img":"_yb_186xagv","sa-img-ctn":"_yb_99puyz","sa-img-icon":"_yb_1n92ol5","sa-item":"_yb_19hlxd5","sa-item-title":"_yb_1bf7n38","sa-rich-thumb":"_yb_1u2z3wn","sa-sbx-container":"_yb_y1750f","sa-sugg":"_yb_10xap8a","sa-thumb-icon":"_yb_f7auvw","sa-tray":"_yb_jgbjnm","sa-tray-list-container":"_yb_1s7re6f","sa-trending":"_yb_1cfj85","sub-assist":"_yb_1e2829x","suggestion-title":"_yb_1q6q8ma",trending:"_yb_h9we4q","trending-title":"_yb_a309uv","yui3-highlight":"_yb_1i6wnm0",safadein:"_yb_193degg","uh3-layout":"_yb_tj6xve","sa-answer":"_yb_129e1mo","sa-creator":"_yb_jpuy8w","sa-group-holder":"_yb_12gi82e",sacollapse:"_yb_q75lkq","sa-nomatch":"_yb_v5oh1q","sa-shield-icon":"_yb_ugjhph","sa-question-icon":"_yb_5e3f9w","sa-eye-icon":"_yb_1joteeb","search-gradient-background":"_yb_1pay9tx"},Ot={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:Mt["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Mt["sa-tray-list-container"],attrs:{role:"listbox",id:"_yb_sa-listbox"}},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Mt["sa-sbx-container"]},tray:{css:Mt.sa+" "+Mt.lowlight}},saPCActn:{css:Mt["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}}},Bt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"]},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],m442:{iconClass:Mt["sa-shield-icon"]},m443:{iconClass:Mt["sa-question-icon"]},m444:{iconClass:Mt["sa-eye-icon"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:Mt.trending},m13:{text:"",css:Mt.history}}}}},qt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"]}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"],wrap:{css:Mt["sa-thumb-icon"]}},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Mt.trending},m13:{text:"",css:Mt.history}}},doneBtn:{disable:!0}}},Rt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}},Pt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}}},Dt=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Ht=function(e,t,n){var o=e.querySelectorAll(t);if(o)for(var a=0;a40?(A.style.setProperty(k,"40px"),A.style.setProperty(S,a+"px")):(A.style.setProperty(k,"0px"),A.style.setProperty(S,"40px")),L.hasClass(t,g)||"function"!=typeof n.beaconClick||n.beaconClick("ybar","websrch","",x),L.addClass(t,g),L.removeClass(t,b)}else A.style.setProperty(k,"0px"),A.style.setProperty(S,"0px")})),e.on("before_hide_view",(function(){null==p||p.setAttribute("aria-controls","");var t=e.view.elems.sbForm;L.addClass(t,b),L.removeClass(t,g)}))}},C.add("yba-saPCAnim",_);var I=C.viewClass;L.extend(E,I),E.prototype.clearAssist=function(){var e=this,t=e.config;L.hasClass(document.body,t.typingClass)?I.prototype.clearAssist.call(e):setTimeout((function(){I.prototype.clearAssist.call(e)}),200)},C.viewClass=E}var T=function(e){var t,n,o;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)&&(o=e.data.m)),{category:t,keyword:n,marker:o}},N=function(e){var n;if(t&&"javascript:void(0);"===t.action)return!1;var i,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?(i="srch-asst",l=!0,c=s.idx+1):i="kybrd":i="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,m=u.keyword;jt(t,a,l,d,m),(r||l)&&("homepage"===o||"my"===o?(Ut(t,r,l,d),Yt(t,l,d)):"smartphone"===a&&Yt(t,l,d)),q(zt(i,"0",c.toString()))}},M=function(e){var n,i=!!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;if(jt(t,a,s,u,d,p),"member-center"===o&&r&&r.data&&r.data.fd&&r.data.fd.itemUrl)return window.location.href=r.data.fd.itemUrl,void q(zt("srch-asst","0",c.toString(),r&&r.data.m,r&&r.data.k&&r.data.k));"homepage"===o||"my"===o?(Ut(t,i,s,u),Yt(t,s,u)):"smartphone"===a&&Yt(t,s,u),q(zt("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"!==a){n.saveCurrentTimerValue("search_input_keyboard_input");var t=zt("keystroke","1");delete t.clickParams.tar,"answers"===o&&(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"===a&&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 B=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===a&&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"})}}))},q=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var a={pp:{A_utm:n.getPerformanceI13nObject()}};!function(e,t,n){var o=e.getAttribute("action")||"",a=-1!==o.search("/play/"),i=-1!==o.search("/tag/"),r=-1!==o.search("/category/"),s=o.match(/^(.*)\/([^/]+)$/);(a||r||i)&&(t.slk="gamesrch",n.tar=window.location.host.replace(/^www\./i,""),n.tar_uri=null==s?void 0:s[1],n.ll2=null==s?void 0:s[2],n.ct=a?"game":"nav_link")}(t,e,e.clickParams),n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){"member-center"!==o&&setTimeout((function(){t&&(t.submit(),Wt(t))}),300)}),a)}else t&&"member-center"!==o&&(t.submit(),Wt(t))},R=function(n){var o=n.animationName;o==Mt.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):o==Mt.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:m,text:h||""},suggestionTitle:{text:f||""}}}function D(e){var t=this.config,n=this.app.view,o=n.elems.sbForm,a=n.elems.sbInput.value,i=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var o=document.createElement("span"),a=document.createElement("span");return a.textContent=t,o.appendChild(a),n.appendChild(o),n}}(Mt,t.suggestionTitle.text),r=function(e,t,n){var o=document.createElement("div");o.className=n["bot-search-item"];var a=document.createElement("div"),i=document.createElement("div");a.className=n["bot-search-item-col"],i.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),a.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]||"",i.appendChild(l),i.appendChild(u),i.appendChild(d),o.appendChild(a),o.appendChild(i),o}(t.botSearch.text,a,Mt);r&&(e&&i&&(e.prepend(i),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(o.action=t.botSearch.action),n.hide(),N(new CustomEvent("botSearchClicked"))})))}function H(){this.config={}}function F(){""===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",N),p.addEventListener("assistSelectionClicked",M),p.addEventListener("searchBtnClicked",N),p.addEventListener("keydown",O),p.addEventListener("click",B)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==o&&"my"!==o||(Ut(t),"homepage"===o&&function(e){var t=Dt("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Ht(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",D,this)}},m&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),H.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",F,t),e.on("before_key_submit",F,t)}};var U=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Gt,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],o=t[1],a=parseInt(o);return("S"===n||"F"===n)&&a>=14&&ac?(U("".concat(o,",1")),!0):!Number.isNaN(u)&&2>u&&(U("".concat(o,",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",H))};we("ybar-mod-assistjs",(function(e){var t,n,o,a,i,r,s=document.getElementById("ybar-sf"),c=document.getElementById("ybar-w2w-list"),l=null;if(s&&"true"===s.getAttribute("data-saEnabled")){var u={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:s,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn"),searchAssistContainer:document.querySelector(".".concat(Mt["sa-sbx-container"]))},d=e.getConfig();!!d.bucketConfig.use_uh3_profile&&(Ot.plugins.saTray.ctn.css+=" "+Mt["uh3-layout"]);var p=!!d.bucketConfig.assist_autoselect;p&&(Ot.autoSelect=!0),!!d.bucketConfig.assist_disable_srp&&s.setAttribute("action","javascript:void(0);"),!!d.bucketConfig.wrap_searchbox&&(Ot.plugins.saTray.afterNode="ybar-sbq-wrap");var f=Ot,h=!!d.bucketConfig.enable_search_ui,v=!!d.bucketConfig.assist_billboard_v2,y=!!d.bucketConfig.assist_disable_search_history,g=!!d.bucketConfig.answers_search;if(h){var b="smartphone"===d.device?qt:Bt,w=s.getAttribute("data-tn-title");if(w&&(null===(t=null==b?void 0:b.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(b.plugins.saGroup,{grps:{m9:{text:w}}}),v){var _="smartphone"===d.device?Rt:Pt;(null==b?void 0:b.plugins)&&Object.assign(b.plugins,_.plugins)}y&&(null===(n=null==b?void 0:b.saBE)||void 0===n?void 0:n.params)&&(b.saBE.params.f=0),g&&((null===(o=null==b?void 0:b.plugins)||void 0===o?void 0:o.saFlvr)&&Object.assign(null===(a=null==b?void 0:b.plugins)||void 0===a?void 0:a.saFlvr,{m79:Mt["sa-answer"],m80:Mt["sa-trending"],m81:Mt["sa-creator"]}),(null===(i=null==b?void 0:b.plugins)||void 0===i?void 0:i.saGroup)&&Object.assign(b.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:Mt["sa-group-holder"],pos:0,empty:1}}}),p&&(b.autoSelect={m:79,exact:!0}),b.inputRowHeight=20),f=m(m(m({},Ot),b),{plugins:m(m({},Ot.plugins),b.plugins)})}c&&!0===d.bucketConfig.enable_what_to_watch&&((l=c.cloneNode(!0)).removeAttribute("id"),l.removeAttribute("style")),function(e,t,n,o,a,i,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),m=t.searchBox.getAttribute("data-pubid"),f=t.searchBox.getAttribute("data-geoid"),h=t.searchBox.getAttribute("data-ll");if(console.log(f,h),window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),m&&""!==m&&(n.saBE.params.pubid=m),"games"===o&&(n.saBE.params.anno_output="raw"),f&&""!==f&&(n.saBE.params.geoid=f),h&&""!==h&&(n.saBE.params.ll=h),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var v=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,y=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,g=t.searchBox.dataset.mtestid;v&&(n.saBE.params[".crumb"]=v),y&&n.shBE&&(n.shBE.params._bcrumb=y),g&&(n.saBE.params.mtestid=g);var b=e.getConfig();Vt(t.ybar,t.searchBox,{beaconClick:ee,saveCurrentTimerValue:se,getPerformanceI13nObject:ce},o,a,i,r,s,(null===(u=null==b?void 0:b.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==b?void 0:b.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var w="Search lib not found. SearchAssist failed to initialise";e.logError(w,new Error(w))}}(e,u,f,d.property,d.device,d.ytheme,h,l),u.searchAssistContainer=document.querySelector(".".concat(Mt["sa-sbx-container"]));var E=null===(r=u.ybar)||void 0===r?void 0:r.classList.contains("search-gradient");if(u.searchBox&&E){var C=0;e.addElementListener(u.searchBox,"click",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"keydown",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"blur",(function(){u.searchAssistContainer.classList.remove("".concat(Mt["search-gradient-background"]))}))}}}));var Kt="_yb_tdk4ba",Zt="_yb_hkd17a",Qt="_yb_rtzclf",$t="_yb_tdbhj6",Jt="_yb_de52ef",Xt="_yb_9hwrey",en="_yb_slc8ta",tn="_yb_bf0svp",nn="_yb_hjic9z";if("undefined"!=typeof Element&&!Element.prototype.matches){var on=Element.prototype;on.matches=on.matchesSelector||on.mozMatchesSelector||on.msMatchesSelector||on.oMatchesSelector||on.webkitMatchesSelector}var an=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function rn(e,t,n,o,a){var i=sn.apply(this,arguments);return e.addEventListener(n,i,a),{destroy:function(){e.removeEventListener(n,i,a)}}}function sn(e,t,n,o){return function(n){n.delegateTarget=an(n.target,t),n.delegateTarget&&o.call(e,n)}}var cn,ln=function(e,t,n,o,a){return"function"==typeof e.addEventListener?rn.apply(null,arguments):"function"==typeof n?rn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return rn(e,t,n,o,a)})))},un=function(e){this.data=e,this.next=null,this.prev=null},dn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new un(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)&&to.right||e.clientYo.bottom)&&r(n)})),window.addEventListener("resize",s)),e.onDestroy((function(){i(n,!0),r(n,!0),window.removeEventListener("resize",s)}))}));var mn,fn,hn,vn={"account-status-container":"_yb_ymi0h2","accounts-container":"_yb_cbk7gs","accounts-list":"_yb_1xscf7t",chevron:"_yb_pa7kxr",current:"_yb_z3vl31",expanded:"_yb_1wdvidv",greetings:"_yb_hz3nxi","greetings-container":"_yb_1dvo2p8",hide:"_yb_1tqu5w",mobile:"_yb_303pw",multiple:"_yb_dx6pd0","loading-profile-wrapper":"_yb_5m8r7u","loading-profile-button":"_yb_qaqab3","notification-container":"_yb_1vpbvgz","pfs-container":"_yb_12irxp7","pfs-iframe":"_yb_1a475s8",show:"_yb_1tj3rr","sign-in-menu":"_yb_mpd5lf","signed-in":"_yb_1330230","signed-in-mark":"_yb_1puqf10","signed-out":"_yb_43r3tx","signedout-text":"_yb_1a59ed4","stacked-name":"_yb_ts4lap","stacked-name-given":"_yb_zb2ipb","stacked-name-family":"_yb_1v4uiyy","uh3-layout":"_yb_19rb0y5","ybar-account-img":"_yb_12iiv1a","ybar-account-img-signed-out":"_yb_cbs8y","ybar-account-img-hidden":"_yb_1owxd09","ybar-account-menu":"_yb_9u1jny","ybar-account-menu-item-signed-out":"_yb_1qla71m","ybar-account-user-email":"_yb_1on73m5","ybar-account-user-email-other":"_yb_u3fczo","ybar-account-user-name":"_yb_5pkkfa","ybar-account-user-signedout":"_yb_axu8rh","ybar-account-yahoo-plus-imp":"_yb_14bnbgj","ybar-icon-arrow":"_yb_1tu7gjy","ybar-icon-arrow-down":"_yb_ngz6b5","ybar-icon-arrow-up":"_yb_1nagqiu","ybar-icon-image-wrapper":"_yb_19gpxwu","ybar-item-hidden":"_yb_559mjn","ybar-login-btn":"_yb_11glrwn","ybar-mod-account":"_yb_lq748r","ybar-mod-mail":"_yb_1e163lf","ybar-profile-character":"_yb_10rialq","ybar-profile-character-hidden":"_yb_1e2i1rd","ybar-see-info":"_yb_uiw8wx","ybar-sign-out":"_yb_j1eqwx","ybar-sign-out-text":"_yb_dvnuy9","ybar-user-accounts-list":"_yb_15pu2gg","ybar-user-profile-img":"_yb_1mawsyw","account-switcher-item-container":"_yb_1kjh1ov","account-switcher-chevron":"_yb_ju6kvv","account-switcher-container":"_yb_62ip13","hide-universal-profile":"_yb_11o7p8y","hide-account-switcher-container":"_yb_dwibp6","settings-item-container":"_yb_94wwjn","universal-profile-switch-button":"_yb_1p1qbi3","universal-profile":"_yb_1y7wwv3","account-switcher-settings-container":"_yb_zw2im7","account-switcher-signout-link":"_yb_1an82qo","signout-link-wrapper":"_yb_gk0uu2","ybar-keyline":"_yb_1rsy4q0","hide-up-settings":"_yb_1wofy5w"},yn=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,gn=/\$({|%7B)GDPR(}|%7D)/g,bn=/\[timestamp\]/g,wn=function(e){return e.replace(bn,Date.now()+"")},_n=function(e){return f(void 0,void 0,void 0,(function(){var t,n,o,a;return h(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",o=new Error(n);return c(n,o),t(o)}window.__tcfapi("getTCData",2,(function(n,o){return o&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=i.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(gn,n?"1":"0")}(e,t),o=function(e,t){var n=t.gdprApplies,o=t.tcString;return e.replace(yn,n?o:"")}(n,t),[2,wn(o)];case 2:return i.sent(),a="Error adding consent to ".concat(e),c(a,new Error(a)),[2,e];case 3:return[2]}var r}))}))};mn="ybar",hn={createHTML:function(e){return e}},void 0!==(fn=window.trustedTypes)&&void 0!==fn.createPolicy&&window.trustedTypes.createPolicy(mn,hn);var En,Cn=!1,Ln=function(e,t,n){var o,a=n.ybarAccMenuItemTemplate,i=n.crumb;if(a){var r=(t+1).toString(),s=a.getAttribute("data-signedOutState"),c=a.getAttribute("data-signedInState")||"",l=a.getAttribute("data-done")||"",u=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=0;--n){e[n]=(i=void 0,(i={fn:(a=e[n]).fn||"",ln:a.ln||"",em:a.em||"",alias:a.alias||"",imageUrl:a.imageUrl,state:a.state,fullName:null,identifier:""}).fullName=he(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var o=e[n].state;0!==o&&"0"!==o||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),En=e[n],t||e.splice(n,1)[0])}var a,i;return e}(i.users,t.isUH3Layout);if(t.isUH3Layout&&En){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),u=En.fn&&En.fn[0].toUpperCase()||"",d=he(En.fn,En.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&fe(En.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var m=new Image;m.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),m.src=En.imageUrl,m.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",m.ontransitionend=p,m.onload=function(){m.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(m),l&&l.remove()}}c.length>0&&(t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var f=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),h=function(n){var o=Ln(c[n],n,t);o&&(null==f||f.appendChild(o)),e.onDestroy((function(){o&&(null==f||f.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),s&&s.classList.add(vn.show),n){var w=document.querySelector("".concat(r," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],E=vn["ybar-icon-arrow-down"],C=vn["ybar-item-hidden"],L=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e5){var S=document.querySelector("".concat(r," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}kn(t,e),o&&o(),Cn=!1}))}},xn=function(e,t,n){var o,a,i,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",m=function(e){for(var t=e.split(";"),n=new Map,o=0;o720?720:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1)},g=function(){d&&f("resize",{height:h()})},b=function(){var i;if(null===d){(d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.sandbox.add("allow-forms"),d.sandbox.add("allow-scripts"),d.sandbox.add("allow-same-origin"),d.sandbox.add("allow-popups"),d.classList.add(n),d.style.height="0px",d.style.opacity="0";var r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode("body { background: var(--UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(--UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }")),d.addEventListener("load",(function(){setTimeout((function(){var n;o&&a||(e.triggerEvent("ybar-pfs-init-failure"),null===(n=null==d?void 0:d.parentNode)||void 0===n||n.removeChild(d),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute("data-pfs","err"))}),500)})),t.loggedInUserElement&&(t.iframeContainer.appendChild(d),d.contentDocument&&(d.contentDocument.head.appendChild(r),d.contentDocument.body.innerHTML='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',d.style.opacity="1",setTimeout((function(){d&&(d.style.height="300px")}),100)),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",g),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",g),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",g),null===(i=t.accountSwitcherChevron)||void 0===i||i.addEventListener("click",g)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",b,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer){var w=t.ybarAccountContainer.getAttribute("data-prod");"false"===w&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("version","2"),u.set("lang",l.locale),u.set("theme",(i="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(i="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),i)),"false"===w&&u.set("bucket","mbr-up-pfs-five"),u.set("done",window.location.href),u.set("pspid",de())}window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==d&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,a=e.source,f("initialize",{height:h(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":case"show":d.style.height=t.params.height,t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}}))}},In=null,Tn=!0,Nn=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},On=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,a=t.ybarMobile,i=t.ybarMenuManagePub,r=t.signInAccountMenu,s=t.signInBtn,l=t.ybarModAccount,u=t.yahooPlusImpression,d=t.ybarLabel,p=t.accountSwitcherButton,m=t.universalProfile,f=t.universalProfileSettings,h=t.accountSwitcherContainer,v=t.accountSwitcherChevron,y=t.accountSwitcherSettings,g=t.signoutLinkWrapper,b=t.universalProfileKeyLine,w=t.financeApprBtnEl,_=function(){new pn(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},E=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),kn(t,e);else{var a=new Error("ybarAccountContainer not Found");c("ERROR:",a)}n&&Tn&&(Tn=!1,e.onDestroy((function(){Tn=!0})),An(e,t,o,_))},C=function(){var e,t;0===Nn&&(Nn=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",C),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",C),setTimeout((function(){te()}),500))},L=function(t){e.triggerEvent("ybar:show_theme_modal",{event:t})},S=function(a){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("close-all-menus"),e.triggerEvent("profile:show",{event:a}),document.activeElement===o&&setTimeout((function(){var e;null===(e=t.ybarAccountMenu)||void 0===e||e.blur(),(null==m?void 0:m.classList.contains("hide-universal-profile"))?null==v||v.focus():(null==f?void 0:f.children[0].children[0].children[0]).focus()}),300))},k=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},A=function(e){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?k():S(e)}},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},I=function(){if(u&&!u.getAttribute("src")&&u.getAttribute("data-src")){var t=u.getAttribute("data-src")||"";_n(t).then((function(e){null===In&&((In=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",In.sandbox.add("allow-scripts"),In.sandbox.add("allow-same-origin"),In.height="0",In.width="0",In.referrerPolicy="origin",In.style.display="none",In.style.visibility="hidden",document.body.appendChild(In)),u.setAttribute("src",e)})),e.onDestroy((function(){u.setAttribute("src",""),In=null}))}};null==p||p.addEventListener("click",(function(){return function(e,t,n,o,a,i,r){null==e||e.classList.add("hide-universal-profile"),null==e||e.classList.add("hide"),null==t||t.classList.add("hide"),null==t||t.classList.add("".concat(vn["hide-up-settings"])),null==n||n.classList.add("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.add("hide"),null==a||a.classList.remove("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.remove("".concat(vn["account-switcher-settings-container"])),null==r||r.focus()}(m,f,g,b,h,y,v)})),null==v||v.addEventListener("click",(function(){return function(e,t,n,o,a,i){null==e||e.classList.remove("hide-universal-profile"),null==t||t.classList.remove("hide"),null==t||t.classList.remove("".concat(vn["hide-up-settings"])),null==n||n.classList.remove("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.remove("hide"),null==a||a.classList.add("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.add("".concat(vn["account-switcher-settings-container"])),(null==t?void 0:t.children[0].children[0].children[0]).focus()}(m,f,g,b,h,y)})),s&&(xe(e,s,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),kn(t,e));var T=function(){E(!1),e.addEventListener("close-all-menus",(function(){r&&r.classList.contains(vn.show)&&r.parentNode&&!ke(r.parentNode)&&k()}));e.onDestroy((function(){k()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",I),e.addElementListener(l,"focus",I)),o&&o.parentNode&&e.addElementListener(o.parentNode,"mouseenter",C),Ie("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"mouseenter",A),e.addElementListener(l,"mouseleave",k),e.addElementListener(o,"click",A),e.addElementListener(i,"click",k),e.addElementListener(l,"mouseenter",x),null==l||l.addEventListener("keydown",(function(e){!function(e){var o;switch(e.key){case"ArrowDown":S(e);break;case" ":case"Enter":document.activeElement===t.ybarAccountMenu&&e.preventDefault(),S(e);break;case"Escape":(null==n?void 0:n.classList.contains("ybarMenuOpen"))&&(null===(o=t.ybarAccountMenu)||void 0===o||o.focus())}}(e)})),null==g||g.addEventListener("keydown",(function(e){!function(e){"Tab"===e.key&&(null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false"))}(e)}))};(o||a||r)&&(a?E(!0):(n&&"true"===n.getAttribute("data-pfs")&&(xn(e,t,vn["pfs-iframe"]),e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),T();ee("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}))),T()),Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,a;e=t.size,a="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=a})}))),window.addEventListener("keyup",(function(e){27===e.keyCode&&(k(),null==d||d.blur())})),null==w||w.addEventListener("click",(function(e){L(e)})),null==w||w.addEventListener("keydown",(function(e){(e instanceof KeyboardEvent&&"Tab"!==e.key&&e.preventDefault(),e instanceof KeyboardEvent&&"Enter"===e.key)&&("Enter"===e.key&&L(e))}))};we("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),iframeContainer:document.getElementById("iframe-container"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),jsapicrumb:document.querySelector('input[name="jsapicrumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),isAOLMail:!!document.querySelector("#ybar.ybar-variant-aolmail"),chevron:document.querySelector(".".concat(vn.chevron)),greetingsContainer:document.querySelector(".".concat(vn["greetings-container"])),ybarAccountMenuBody:document.getElementById("ybarAccountMenuBody"),stackedName:document.querySelector(".".concat(vn["stacked-name"])),stackedNameGiven:document.querySelector(".".concat(vn["stacked-name-given"])),stackedNameFamily:document.querySelector(".".concat(vn["stacked-name-family"])),ybarLabel:document.querySelector("#ybarAccountMenuOpener"),ybarLoadingProfileWrapper:document.querySelector(".".concat(vn["loading-profile-wrapper"])),universalProfile:document.getElementById("universalProfile"),universalProfileSettings:document.getElementById("universalProfileSettings"),accountSwitcherSettings:document.getElementById("accountSwitcherSettings"),accountSwitcherContainer:document.querySelector(".".concat(vn["account-switcher-container"])),universalProfileKeyLine:document.querySelector(".".concat(vn["ybar-keyline"])),accountSwitcherButton:document.querySelector(".".concat(vn["universal-profile-switch-button"])),accountSwitcherChevron:document.querySelector(".".concat(vn["account-switcher-chevron"])),signoutLinkWrapper:document.querySelector(".".concat(vn["signout-link-wrapper"])),financeApprBtnEl:document.getElementById("fin-appr-btn")};On(e,n)}));var Bn={"popover-body":"_yb_1cv16f4","ybar-mail-link":"_yb_1b0y3p9","ybar-mail-preview":"_yb_q2xbhz","ybar-mail-signin-link":"_yb_hnauxw","ybar-mod-mail":"_yb_10309ej","ybar-mod-mail-promo-imp":"_yb_6ci77k","ybar-large-unread":"_yb_9b6j40","ybar-mid-unread":"_yb_12gd9wd","ybar-mail-indicator":"_yb_tnmz0c","ybar-unread-active":"_yb_jdf7pt","count-loaded":"_yb_13nwx6d"},qn=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")},Rn=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")},Pn=function(e,t,n){var o=t.mailLink,a=t.mailUnread,i=t.mailUnreadSpan,r=t.mailIndicator,s=t.mailModule,c="".concat(Bn["ybar-unread-active"]);n.fetchCount().then((function(t){if(a&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&n&&o.setAttribute("aria-label",n.replace("{count}",t.toString())),a.classList.add(c),r&&(r.classList.add(c),null==s||s.classList.add(c)),i){var l=t>99;i.textContent=l?"99+":t+"",a.classList.add("".concat(Bn["count-loaded"])),l?a.classList.add("".concat(Bn["ybar-large-unread"])):t>=10&&a.classList.add("".concat(Bn["ybar-mid-unread"]))}e.onDestroy((function(){a.classList.remove(c),r&&r.classList.remove(c),i&&(i.textContent="")}))}})).catch((function(){}))};we("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,a=t.mailSigninLink,i=t.mailPreview;if(n){var r=new bt;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){ke(n)||Rn(t)})),e.addElementListener(i,"focusin",(function(){qn(t)})),e.addElementListener(i,"focusout",(function(){Rn(t)})),e.onDestroy((function(){Rn(t)})),a){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,de()),o.href=me(o.href)+s,(null==a?void 0:a.href)&&(a.href=me(a.href)+s)}}else Pn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(Bn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Bn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Bn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Bn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Bn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Bn["ybar-mail-preview"].split(" ").join(".")," .").concat(Bn["popover-body"].split(" ").join(".")))})}));var Dn,Hn,Fn="_yb_rbr9p9",Un="_yb_ac74t6",jn="_yb_8737ki",Yn="_yb_1vnnmze",zn="_yb_h1s1bv",Wn="_yb_bkrga4",Gn="_yb_kwlkcz",Vn="_yb_1772h7s",Kn="_yb_15viflt",Zn="_yb_zzzvko",Qn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new bt).fetchCount().then((function(t){o&&t>0&&(o.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},$n=!1,Jn=-1,Xn=function(e,t,n){var o,a,i,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;if(Hn)u+=Hn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),m=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=r;){var C=e.navItems[E].cloneNode(!0),L=C.querySelector("a");L&&(L.setAttribute("id",""),L.classList.remove(jn));var S=C.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),C.classList.remove(e.dropdownWrapperClass),C.classList.remove(e.ybarNavigationItemClass),C.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(C,e.moreMenuDropdown.firstChild);var k=C.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(i=e.navItems[E].querySelector("a"))||void 0===i||i.setAttribute("tabindex","-1"),E--}Jn=r}if(-1!==r&&e.navList){var A=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=A,t.textContent=".".concat(Gn,"{ max-width: ").concat(A,"}")}Hn||(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))}},eo=function(e,t){var n,o=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},a=function(){t.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",u))},i=function(n){var a=n.delegateTarget;a&&a.classList.contains(t.dropdownWrapperClass)&&(a.classList.contains(t.dropdownOpenClass)||(e.triggerEvent("nav:dropdown:show",{event:n}),t.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",u)),a.classList.add(t.dropdownOpenClass),o(a,"true")))},r=function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var i=n.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(a(),i.classList.remove(t.dropdownOpenClass),o(i,"false"))}else if(null==n?void 0:n.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var r=e.target;Hn&&(!Hn||Hn.contains(r)&&"focusout"!==e.type)||(a(),n.classList.remove(t.dropdownOpenClass),o(n,"false"))}},s=ln(".".concat(t.dropdownWrapperClass),"focusin",i),c=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",r),l=document.getElementById("ybar-navigation"),u=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(".".concat(t.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(n.tagName)&&(null==l||l.querySelectorAll(".".concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),a())};e.addEventListener("nav:closeOverflowMenu",(function(){u()}));var d=ln(".".concat(t.dropdownWrapperClass),"touchstart",(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?r(e):(u(e),i(e))}})),p=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Wn));null==p||p.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&e.addElementListener(n,"mouseenter",(function(t){e.triggerEvent("nav:dropdown:show",{event:t})}))})),e.onDestroy((function(){var e;d.destroy(),s.destroy(),c.destroy(),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 o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))},to=function(e,t,n,o){for(var a=t||window.location.pathname,i=n||window.location.hostname,r=(o||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),i=new pn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(Kn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:a,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;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 a=e.getConfig();Hn=(null===(o=a.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===a.property?Dn=-12:(Dn="finance"!==a.property&&"sports"!==a.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==a.locale&&"zh-Hant-TW"!==a.locale||(Dn=-20));var i=t.isTablet?"touchstart":"mouseover",r=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),i,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,i=n.delegateTarget;if(i&&-1!=i.className.indexOf(t.dropdownWrapperClass)&&(i=i.querySelector(".".concat(t.navigationDropdownListClass))),i){i.style.removeProperty("left");var r=i.getBoundingClientRect(),s=Math.trunc(r.right),c=parseInt(window.getComputedStyle(i).marginLeft,10)+o-s;if(s>o)return"sports"!==a.property?void(i.style.marginLeft=c+"px"):void(i.style.right="0px");if(parseInt(i.style.marginLeft)0?i.style.removeProperty("margin-left"):i.style.marginLeft=c+"px":(i.style.removeProperty("margin-left"),i.style.marginLeft=Dn+"px"),t.isTablet){var l=i.previousElementSibling;if(Hn&&Hn.contains(i));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);i.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){r.destroy()}))}(e,t),Qn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Qn(e)})),eo(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&&($n=void 0!==u&&u,to(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,o=void 0===n?{}:n,a=o.hostname,i=void 0===a?window.location.hostname:a,r=o.pathname,s=void 0===r?window.location.pathname:r,c=o.options;to(t,s,i,void 0===c?{}:c)})),a){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=ln("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Xn(t,d,i)})),Xn(t,d,i);var m=e.getConfig();if("complete"===document.readyState)no(e,t,d,i);else{var f="load";("news"===m.property&&("zh-Hant-TW"===m.locale||"zh-Hant-HK"===m.locale)||"finance"===m.property&&"zh-Hant-TW"===m.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){no(e,t,d,i)}))}e.addElementListener(window,"resize",(function(){Xn(t,d,i)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}io(e,t)},ao=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},io=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,"DOMContentLoaded",(function(n){t.isNavHidden()&&e.triggerEvent("l2:hide",{event:n})})),e.addElementListener(window,"resize",(function(o){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),n=t.isNavHidden()}))}},ro="#ybar-nav-more-menu";we("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Un,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===n.device||matchMedia("(hover: none)").matches,longListClass:Yn,moreMenuDropdown:document.querySelector("".concat(ro," ul")),moreMenuNavItem:document.querySelector(ro),moreMenuNavLinksSelector:"".concat(ro," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(ro," > button")),moreMenuNavItemClass:Zn,navigationDropdownItemClass:zn,navigationDropdownListClass:Wn,navItems:document.querySelectorAll("ul.".concat(Kn," li.").concat(Vn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Vn," > 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:Vn,dropdownOpenClass:Fn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(o-=1.8)>5?o:5:"crunch"===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById("ybar-nav-placement")),t},isNavHidden:function(){var e=!1;return"finance"===n.property&&"crunch"===n.ytheme&&document.documentElement.clientWidth=5||n.initialized?clearInterval(i):(void 0!==n.isNotificationsSupported()&&n.init(),a++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(fo),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(ho),document.body.classList.remove(fo),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(ho),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:mo)||(document.body.classList.add(ho),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(vo)[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(po,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(po);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(po),null}},e}(),bo=-1,wo={0:0,1:1,9:9,99:99,150:150},_o=function(e,t){var n,o=t.isUH3,a=t.notifMenu,i=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new go(e,t.tooltipContainer));var u=G(),d=function(){a&&(a.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(so))||(u.resetBadge(),s&&(o?null===(t=s.parentElement)||void 0===t||t.classList.remove(co):s.style.display="none"))},m=function(e){var t,n;0===bo&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(bo++,function(e){for(var t=function(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)},n=0;n0&&s)if(o){var i,r=(i=e.newCount)>99;s.textContent=r?"99+":i+"",null===(n=s.parentElement)||void 0===n||n.classList.add(co)}else s.style.display="block"},f=function(){u.refreshPanel().then(m).then(te).catch((function(){}))};if(e.addEventListener("close-all-menus",(function(){ke(c)||d()})),c){f();var h=setInterval((function(){f()}),3e5);e.onDestroy((function(){clearInterval(h)})),o?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(a,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),i&&xe(e,i,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){a&&(a.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()}))};we("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(lo)),notifLabel:document.querySelector(".".concat(uo))};t.notifDropdown&&_o(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, {"bucketConfig":{"assist_billboard_v2":true,"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"bucketNames":["ybar-uh3-v1","ybar-open-search-in-new-tab","ybar-shift-more-menu"],"componentCount":0,"device":"desktop","features":{"assist_billboard_v2":true,"avatarConfig":{"useAlphatar":true},"enable_search_ui":true,"login_icon_bg":true,"saMtestid":"35716=SAUHSearchBillboardsV2Test","search_cta_magnify":false,"show_mail_label":true,"suppress_topnavigation":true,"uh3_legacy_finance":false,"use_profile_character":true,"use_uh3_desktop_layout":true,"use_uh3_mail_v3":true,"use_uh3_profile":true,"open_search_in_new_tab":true,"shift_more_menu":true},"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","SEARCH_TOOLTIP_WEB":"Search the web","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.","MAIL_ARIA_LINK":"Check your mail, {count} messages, link","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"}},"locale":"en-US","mailVariantLogos":{},"property":"homepage","ytheme":"crunch"}); $_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'); Manage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function ut(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(y.stopPropagation(e),i.value="",y.setFocus(i),o.show(),n.control.beacon("tapClr",r,t.config.log))}var t=this,n=t.app,o=n.view,a=o.elems,i=a.sbInput,r=a.sbClear;r&&(y.ae(r,"click",e),y.ae(r,"keydown",e))}function dt(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}v.SA=(t=[],Z.prototype={jsonp:function(e){var t=h.getElementsByTagName("head")[0],n=h.createElement("script");y.set(n,"type","text/javascript"),y.set(n,"src",e),t.appendChild(n),y.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"+i+" "+n.config.saAria.shownText+"")),a.notify(N)},show:function(){var e=this,t=e.config,n=e.elems.sbInput.value,o=n.length;e.updateRows(),e.app.notify(A),e.shown&&e.sameQuery()||(e.lastInput=n,ot.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(o=e.elems).sbInput,n=o.saAria,o=o.sbForm,a=e.config,i=e.app;i.notify(I),y.removeClass(h.body,a.typingClass),o&&o.parentElement&&y.removeClass(o.parentElement,a.typingClass),y.removeClass(o,a.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,a.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(y.set(t,"aria-expanded","false"),e.useTextArea)&&y.set(t,"rows","1"),n&&(y.set(n,"aria-expanded","false"),n.innerHTML=y.cleanHTML(""+e.config.saAria.closedText+"")),i.notify(T)},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(){var e=this.elems;e.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null,y.set(e.sbInput,V,"")},createItem:function(e){var t,n={idx:t=e.idx,data:e.origData},o=y.htmlEncode,a=this.config,i=this.app.createElem,r={},s=(a.highlight&&y.merge(r,a.highlight),e.highlight&&y.merge(r,e.highlight),i(a.saItem,"li"));return(t=(y.set(s,"pos",t),s.id+=t,i(a.saTitle,"span"))).innerHTML=y.cleanHTML(e.t||(a.boldTag&&e.k&&e.q?y.bold(a.boldTag,o(e.k),o(e.q),r):o(e.k))),s.appendChild(t),n.li=s,n.title=t,n},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(x)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,n=e.elems.sbInput,o=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||n.clientHeight-parseInt(o(n,"padding-top"),10)-parseInt(o(n,"padding-bottom"),10)),n.style.height=0,y.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",id:"sa-item"}},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"}},g.hideSbClr=(ee.prototype={init:function(e){(this.app=e).on(A,X,this),e.on(E,X,this)}},ee),g.entityFocus=(oe.prototype={init:function(e){(this.app=e).on(P,ne,this)}},oe),g.saFr=(se.prototype={init:function(e){(this.app=e).on(E,ae,this),e.on(B,ie,this),e.on(x,re,this)}},se),g.ipos=(ue.prototype={init:function(e){(this.app=e).on(A,ce,this),e.on(b,le,this)}},ue),g.saTray=(pe.prototype={init:function(e){(this.app=e).on(_,de,this)}},pe),g.saFlvr=(fe.prototype={init:function(e){e.on(k,me,this)}},fe),g.saShoppingRefinement=(ge.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(C,he,t),e.on(k,ve,t),e.on(S,ye,t)}},ge),g.saWhatToWatch=(Ee.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(w,be,t),e.on(k,we,t),e.on(S,_e,t)}},Ee),g.saEdit=(Le.prototype={init:function(e){e.on(k,Ce,this)}},Le),g.saDirectTitle=(Se.prototype={init:function(e){(this.app=e).on(L,(function(e){441===e.m&&(e.t=e.k,e.origData.k=e.k.replace(//gi,""))}),this)}},Se),g.saAnnot=(Ae.prototype={init:function(e){e.on(k,ke,this)}},Ae),g.saStock=(Te.prototype={init:function(e){(this.app=e).on(L,xe,this),e.on(k,Ie,this)}},Te),g.saSport=(Oe.prototype={init:function(e){(this.app=e).on(L,Ne,this),e.on(k,Me,this)}},Oe),g.saWeather=(Re.prototype={init:function(e){(this.app=e).on(L,Be,this),e.on(k,qe,this)}},Re),g.saEntertainments=(r="show_subtitle",s="year",c="genre",l="releaseDate",u="offer",d="tvNetwork",De.prototype={init:function(e){(this.app=e).on(L,Pe,this),e.fdToSH=e.fdToSH.concat([r,s,c,l,u,d])}},De),g.saFlightStatus=(je.prototype={init:function(e){(this.app=e).on(L,Fe,this),e.on(k,Ue,this)}},je),g.saCurrencyConverter=(We.prototype={init:function(e){(this.app=e).on(L,Ye,this),e.on(k,ze,this)}},We),g.saUnitConverter=(p="resultUnitAbbr",m="resultUnit",Ke.prototype={init:function(e){(this.app=e).on(L,Ge,this),e.on(k,Ve,this),e.fdToSH=e.fdToSH.concat([p,m,"num"])}},Ke),g.saAnswers=(Qe.prototype={init:function(e){(this.app=e).on(L,Ze,this)}},Qe),g.saImg=(Je.prototype={init:function(e){e.on(k,$e,this)}},Je),g.saGroup=(nt.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(k,Xe,t),e.on(S,tt,t)}},nt),g.saPCActn=(st.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(w,ot,t),e.on(M,at,t),e.on(H,it,t),e.on(U,rt,t)}},st),g.tapRmv=(lt.prototype={init:function(e){(this.app=e).on(O,ct,this)}},lt),g.tapClr=(dt.prototype={init:function(e){(this.app=e).on(M,ut,this)}},dt)}();var It,Tt,Nt,Mt={"bot-search-icon":"_yb_1jihrzz","bot-search-icon-container":"_yb_18dhq2d","bot-search-item":"_yb_hev6g1","bot-search-item-col":"_yb_1yxmga4","bot-search-span":"_yb_nomrnc",history:"_yb_66t3kx","list-item-hover":"_yb_cn7lxu",lowlight:"_yb_1l72bih","no-wrap":"_yb_16sjj0b","related-title":"_yb_t3itwh",sa:"_yb_19hztkh","sa-annot-rich":"_yb_1k43egr","sa-annot-subtitle":"_yb_ogobkf","sa-annot-title":"_yb_6jsl4b","sa-company":"_yb_1p9nvwb","sa-edit":"_yb_1qpomao","sa-edit-icon":"_yb_jc7lk6","sa-edit-text":"_yb_sz4p0w","sa-fd-actn-cont":"_yb_y2f00g","sa-grp-hdr":"_yb_135tx56","sa-grp-hdr-title":"_yb_npklbb","sa-history":"_yb_kmwza6","sa-img":"_yb_186xagv","sa-img-ctn":"_yb_99puyz","sa-img-icon":"_yb_1n92ol5","sa-item":"_yb_19hlxd5","sa-item-title":"_yb_1bf7n38","sa-rich-thumb":"_yb_1u2z3wn","sa-sbx-container":"_yb_y1750f","sa-sugg":"_yb_10xap8a","sa-thumb-icon":"_yb_f7auvw","sa-tray":"_yb_jgbjnm","sa-tray-list-container":"_yb_1s7re6f","sa-trending":"_yb_1cfj85","sub-assist":"_yb_1e2829x","suggestion-title":"_yb_1q6q8ma",trending:"_yb_h9we4q","trending-title":"_yb_a309uv","yui3-highlight":"_yb_1i6wnm0",safadein:"_yb_193degg","uh3-layout":"_yb_tj6xve","sa-answer":"_yb_129e1mo","sa-creator":"_yb_jpuy8w","sa-group-holder":"_yb_12gi82e",sacollapse:"_yb_q75lkq","sa-nomatch":"_yb_v5oh1q","sa-shield-icon":"_yb_ugjhph","sa-question-icon":"_yb_5e3f9w","sa-eye-icon":"_yb_1joteeb","search-gradient-background":"_yb_1pay9tx"},Ot={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:Mt["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Mt["sa-tray-list-container"],attrs:{role:"listbox",id:"_yb_sa-listbox"}},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saFr2:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Mt["sa-sbx-container"]},tray:{css:Mt.sa+" "+Mt.lowlight}},saPCActn:{css:Mt["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}}},Bt={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"]},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],m442:{iconClass:Mt["sa-shield-icon"]},m443:{iconClass:Mt["sa-question-icon"]},m444:{iconClass:Mt["sa-eye-icon"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending now",css:Mt.trending},m13:{text:"",css:Mt.history}}}}},qt={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Mt["sa-item"]},saTitle:{css:Mt["sa-item-title"]},minInput:0,highlight:{v2:!0},plugins:{saFlvr:{m9:Mt["sa-trending"],m13:Mt["sa-history"],m30:Mt["sa-company"],flvr:Mt["sa-sugg"]},saEdit:{ctn:{css:Mt["sa-edit"]},icon:{css:Mt["sa-edit-icon"]},text:{css:Mt["sa-edit-text"]}},saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Mt["sa-img-icon"],wrap:{css:Mt["sa-thumb-icon"]}},thumbnail:{css:Mt["sa-img"]},ctn:{css:Mt["sa-img-ctn"]},richClass:Mt["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Mt["sa-grp-hdr"]},title:{css:Mt["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Mt.trending},m13:{text:"",css:Mt.history}}},doneBtn:{disable:!0}}},Rt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}},Pt={plugins:{saAnnot:{title:{css:Mt["sa-annot-title"]},subtitle:{css:Mt["sa-annot-subtitle"]},richClass:Mt["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}}}},Dt=function(e){var t=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return t?t[1]:null},Ht=function(e,t,n){var o=e.querySelectorAll(t);if(o)for(var a=0;a40?(A.style.setProperty(k,"40px"),A.style.setProperty(S,a+"px")):(A.style.setProperty(k,"0px"),A.style.setProperty(S,"40px")),L.hasClass(t,g)||"function"!=typeof n.beaconClick||n.beaconClick("ybar","websrch","",x),L.addClass(t,g),L.removeClass(t,b)}else A.style.setProperty(k,"0px"),A.style.setProperty(S,"0px")})),e.on("before_hide_view",(function(){null==p||p.setAttribute("aria-controls","");var t=e.view.elems.sbForm;L.addClass(t,b),L.removeClass(t,g)}))}},C.add("yba-saPCAnim",_);var I=C.viewClass;L.extend(E,I),E.prototype.clearAssist=function(){var e=this,t=e.config;L.hasClass(document.body,t.typingClass)?I.prototype.clearAssist.call(e):setTimeout((function(){I.prototype.clearAssist.call(e)}),200)},C.viewClass=E}var T=function(e){var t,n,o;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)&&(o=e.data.m)),{category:t,keyword:n,marker:o}},N=function(e){var n;if(t&&"javascript:void(0);"===t.action)return!1;var i,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?(i="srch-asst",l=!0,c=s.idx+1):i="kybrd":i="botSearchClicked"===e.type?"sitesrch":"icon";var u=T(s),d=u.category,m=u.keyword;jt(t,a,l,d,m),(r||l)&&("homepage"===o||"my"===o?(Ut(t,r,l,d),Yt(t,l,d)):"smartphone"===a&&Yt(t,l,d)),q(zt(i,"0",c.toString()))}},M=function(e){var n,i=!!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;if(jt(t,a,s,u,d,p),"member-center"===o&&r&&r.data&&r.data.fd&&r.data.fd.itemUrl)return window.location.href=r.data.fd.itemUrl,void q(zt("srch-asst","0",c.toString(),r&&r.data.m,r&&r.data.k&&r.data.k));"homepage"===o||"my"===o?(Ut(t,i,s,u),Yt(t,s,u)):"smartphone"===a&&Yt(t,s,u),q(zt("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"!==a){n.saveCurrentTimerValue("search_input_keyboard_input");var t=zt("keystroke","1");delete t.clickParams.tar,"answers"===o&&(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"===a&&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 B=function(){n.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===a&&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"})}}))},q=function(e){if("function"==typeof n.beaconClick){n.saveCurrentTimerValue("search_query_submit");var a={pp:{A_utm:n.getPerformanceI13nObject()}};!function(e,t,n){var o=e.getAttribute("action")||"",a=-1!==o.search("/play/"),i=-1!==o.search("/tag/"),r=-1!==o.search("/category/"),s=o.match(/^(.*)\/([^/]+)$/);(a||r||i)&&(t.slk="gamesrch",n.tar=window.location.host.replace(/^www\./i,""),n.tar_uri=null==s?void 0:s[1],n.ll2=null==s?void 0:s[2],n.ct=a?"game":"nav_link")}(t,e,e.clickParams),n.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){"member-center"!==o&&setTimeout((function(){t&&(t.submit(),Wt(t))}),300)}),a)}else t&&"member-center"!==o&&(t.submit(),Wt(t))},R=function(n){var o=n.animationName;o==Mt.safadein?e&&e.classList.remove("ybar-searchbox-assist-fadein"):o==Mt.sacollapse&&t.classList.remove(b)};function P(){this.config={botSearch:{action:m,text:h||""},suggestionTitle:{text:f||""}}}function D(e){var t=this.config,n=this.app.view,o=n.elems.sbForm,a=n.elems.sbInput.value,i=function(e,t){if(t){var n=document.createElement("div");n.className=e["suggestion-title"];var o=document.createElement("span"),a=document.createElement("span");return a.textContent=t,o.appendChild(a),n.appendChild(o),n}}(Mt,t.suggestionTitle.text),r=function(e,t,n){var o=document.createElement("div");o.className=n["bot-search-item"];var a=document.createElement("div"),i=document.createElement("div");a.className=n["bot-search-item-col"],i.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),a.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]||"",i.appendChild(l),i.appendChild(u),i.appendChild(d),o.appendChild(a),o.appendChild(i),o}(t.botSearch.text,a,Mt);r&&(e&&i&&(e.prepend(i),e.appendChild(r)),r.addEventListener("click",(function(){t.botSearch.action&&(o.action=t.botSearch.action),n.hide(),N(new CustomEvent("botSearchClicked"))})))}function H(){this.config={}}function F(){""===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",N),p.addEventListener("assistSelectionClicked",M),p.addEventListener("searchBtnClicked",N),p.addEventListener("keydown",O),p.addEventListener("click",B)),t&&(t.addEventListener("animationend",(function(e){R(e)})),t.addEventListener("animationcancel",(function(e){R(e)}))),"homepage"!==o&&"my"!==o||(Ut(t),"homepage"===o&&function(e){var t=Dt("type");if(t)if(e.querySelectorAll('input[name="type"]').length)Ht(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",D,this)}},m&&(null===(u=window.YAHOO.SA)||void 0===u||u.add("saBotSearch",P)),H.prototype={init:function(e){var t=this;t.app=e,e.on("before_button_submit",F,t),e.on("before_key_submit",F,t)}};var U=function(e){var t;return null===(t=window.localStorage)||void 0===t?void 0:t.setItem(Gt,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],o=t[1],a=parseInt(o);return("S"===n||"F"===n)&&a>=14&&ac?(U("".concat(o,",1")),!0):!Number.isNaN(u)&&2>u&&(U("".concat(o,",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",H))};we("ybar-mod-assistjs",(function(e){var t,n,o,a,i,r,s=document.getElementById("ybar-sf"),c=document.getElementById("ybar-w2w-list"),l=null;if(s&&"true"===s.getAttribute("data-saEnabled")){var u={ybar:document.getElementById("ybar"),crumbs:document.querySelector('input[name="uh-crumb"]'),searchBox:s,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn"),searchAssistContainer:document.querySelector(".".concat(Mt["sa-sbx-container"]))},d=e.getConfig();!!d.bucketConfig.use_uh3_profile&&(Ot.plugins.saTray.ctn.css+=" "+Mt["uh3-layout"]);var p=!!d.bucketConfig.assist_autoselect;p&&(Ot.autoSelect=!0),!!d.bucketConfig.assist_disable_srp&&s.setAttribute("action","javascript:void(0);"),!!d.bucketConfig.wrap_searchbox&&(Ot.plugins.saTray.afterNode="ybar-sbq-wrap");var f=Ot,h=!!d.bucketConfig.enable_search_ui,v=!!d.bucketConfig.assist_billboard_v2,y=!!d.bucketConfig.assist_disable_search_history,g=!!d.bucketConfig.answers_search;if(h){var b="smartphone"===d.device?qt:Bt,w=s.getAttribute("data-tn-title");if(w&&(null===(t=null==b?void 0:b.plugins)||void 0===t?void 0:t.saGroup)&&Object.assign(b.plugins.saGroup,{grps:{m9:{text:w}}}),v){var _="smartphone"===d.device?Rt:Pt;(null==b?void 0:b.plugins)&&Object.assign(b.plugins,_.plugins)}y&&(null===(n=null==b?void 0:b.saBE)||void 0===n?void 0:n.params)&&(b.saBE.params.f=0),g&&((null===(o=null==b?void 0:b.plugins)||void 0===o?void 0:o.saFlvr)&&Object.assign(null===(a=null==b?void 0:b.plugins)||void 0===a?void 0:a.saFlvr,{m79:Mt["sa-answer"],m80:Mt["sa-trending"],m81:Mt["sa-creator"]}),(null===(i=null==b?void 0:b.plugins)||void 0===i?void 0:i.saGroup)&&Object.assign(b.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:Mt["sa-group-holder"],pos:0,empty:1}}}),p&&(b.autoSelect={m:79,exact:!0}),b.inputRowHeight=20),f=m(m(m({},Ot),b),{plugins:m(m({},Ot.plugins),b.plugins)})}c&&!0===d.bucketConfig.enable_what_to_watch&&((l=c.cloneNode(!0)).removeAttribute("id"),l.removeAttribute("style")),function(e,t,n,o,a,i,r,s){var c,l,u,d,p=t.searchBox.getAttribute("data-appid"),m=t.searchBox.getAttribute("data-pubid"),f=t.searchBox.getAttribute("data-geoid"),h=t.searchBox.getAttribute("data-ll");if(console.log(f,h),window.YAHOO&&window.YAHOO.SA){if(!window.YAHOO.SA.apps[0]){"attgoog"===p&&(n.saBE.params.appid="attgoog"),m&&""!==m&&(n.saBE.params.pubid=m),"games"===o&&(n.saBE.params.anno_output="raw"),f&&""!==f&&(n.saBE.params.geoid=f),h&&""!==h&&(n.saBE.params.ll=h),n.saBE.host=r?t.searchBox.getAttribute("data-fastbreak"):t.searchBox.getAttribute("data-sabase");var v=(null===(c=t.crumbs)||void 0===c?void 0:c.dataset.sacrumb)||t.searchBox.dataset.sacrumb,y=(null===(l=t.crumbs)||void 0===l?void 0:l.dataset.sabcrumb)||t.searchBox.dataset.sabcrumb,g=t.searchBox.dataset.mtestid;v&&(n.saBE.params[".crumb"]=v),y&&n.shBE&&(n.shBE.params._bcrumb=y),g&&(n.saBE.params.mtestid=g);var b=e.getConfig();Vt(t.ybar,t.searchBox,{beaconClick:ee,saveCurrentTimerValue:se,getPerformanceI13nObject:ce},o,a,i,r,s,(null===(u=null==b?void 0:b.bucketConfig)||void 0===u?void 0:u.placeholder)||"",(null===(d=null==b?void 0:b.bucketConfig)||void 0===d?void 0:d.force_what_to_watch)||!1),window.YAHOO.SA.init(n)}}else{var w="Search lib not found. SearchAssist failed to initialise";e.logError(w,new Error(w))}}(e,u,f,d.property,d.device,d.ytheme,h,l),u.searchAssistContainer=document.querySelector(".".concat(Mt["sa-sbx-container"]));var E=null===(r=u.ybar)||void 0===r?void 0:r.classList.contains("search-gradient");if(u.searchBox&&E){var C=0;e.addElementListener(u.searchBox,"click",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"keydown",(function(){0===C&&(u.searchAssistContainer.classList.add("".concat(Mt["search-gradient-background"])),C=1)})),e.addElementListener(u.searchInput,"blur",(function(){u.searchAssistContainer.classList.remove("".concat(Mt["search-gradient-background"]))}))}}}));var Kt="_yb_tdk4ba",Zt="_yb_hkd17a",Qt="_yb_rtzclf",$t="_yb_tdbhj6",Jt="_yb_de52ef",Xt="_yb_9hwrey",en="_yb_slc8ta",tn="_yb_bf0svp",nn="_yb_hjic9z";if("undefined"!=typeof Element&&!Element.prototype.matches){var on=Element.prototype;on.matches=on.matchesSelector||on.mozMatchesSelector||on.msMatchesSelector||on.oMatchesSelector||on.webkitMatchesSelector}var an=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function rn(e,t,n,o,a){var i=sn.apply(this,arguments);return e.addEventListener(n,i,a),{destroy:function(){e.removeEventListener(n,i,a)}}}function sn(e,t,n,o){return function(n){n.delegateTarget=an(n.target,t),n.delegateTarget&&o.call(e,n)}}var cn,ln=function(e,t,n,o,a){return"function"==typeof e.addEventListener?rn.apply(null,arguments):"function"==typeof n?rn.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return rn(e,t,n,o,a)})))},un=function(e){this.data=e,this.next=null,this.prev=null},dn=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new un(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)&&to.right||e.clientYo.bottom)&&r(n)})),window.addEventListener("resize",s)),e.onDestroy((function(){i(n,!0),r(n,!0),window.removeEventListener("resize",s)}))}));var mn,fn,hn,vn={"account-status-container":"_yb_ymi0h2","accounts-container":"_yb_cbk7gs","accounts-list":"_yb_1xscf7t",chevron:"_yb_pa7kxr",current:"_yb_z3vl31",expanded:"_yb_1wdvidv",greetings:"_yb_hz3nxi","greetings-container":"_yb_1dvo2p8",hide:"_yb_1tqu5w",mobile:"_yb_303pw",multiple:"_yb_dx6pd0","loading-profile-wrapper":"_yb_5m8r7u","loading-profile-button":"_yb_qaqab3","notification-container":"_yb_1vpbvgz","pfs-container":"_yb_12irxp7","pfs-iframe":"_yb_1a475s8",show:"_yb_1tj3rr","sign-in-menu":"_yb_mpd5lf","signed-in":"_yb_1330230","signed-in-mark":"_yb_1puqf10","signed-out":"_yb_43r3tx","signedout-text":"_yb_1a59ed4","stacked-name":"_yb_ts4lap","stacked-name-given":"_yb_zb2ipb","stacked-name-family":"_yb_1v4uiyy","uh3-layout":"_yb_19rb0y5","ybar-account-img":"_yb_12iiv1a","ybar-account-img-signed-out":"_yb_cbs8y","ybar-account-img-hidden":"_yb_1owxd09","ybar-account-menu":"_yb_9u1jny","ybar-account-menu-item-signed-out":"_yb_1qla71m","ybar-account-user-email":"_yb_1on73m5","ybar-account-user-email-other":"_yb_u3fczo","ybar-account-user-name":"_yb_5pkkfa","ybar-account-user-signedout":"_yb_axu8rh","ybar-account-yahoo-plus-imp":"_yb_14bnbgj","ybar-icon-arrow":"_yb_1tu7gjy","ybar-icon-arrow-down":"_yb_ngz6b5","ybar-icon-arrow-up":"_yb_1nagqiu","ybar-icon-image-wrapper":"_yb_19gpxwu","ybar-item-hidden":"_yb_559mjn","ybar-login-btn":"_yb_11glrwn","ybar-mod-account":"_yb_lq748r","ybar-mod-mail":"_yb_1e163lf","ybar-profile-character":"_yb_10rialq","ybar-profile-character-hidden":"_yb_1e2i1rd","ybar-see-info":"_yb_uiw8wx","ybar-sign-out":"_yb_j1eqwx","ybar-sign-out-text":"_yb_dvnuy9","ybar-user-accounts-list":"_yb_15pu2gg","ybar-user-profile-img":"_yb_1mawsyw","account-switcher-item-container":"_yb_1kjh1ov","account-switcher-chevron":"_yb_ju6kvv","account-switcher-container":"_yb_62ip13","hide-universal-profile":"_yb_11o7p8y","hide-account-switcher-container":"_yb_dwibp6","settings-item-container":"_yb_94wwjn","universal-profile-switch-button":"_yb_1p1qbi3","universal-profile":"_yb_1y7wwv3","account-switcher-settings-container":"_yb_zw2im7","account-switcher-signout-link":"_yb_1an82qo","signout-link-wrapper":"_yb_gk0uu2","ybar-keyline":"_yb_1rsy4q0","hide-up-settings":"_yb_1wofy5w"},yn=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,gn=/\$({|%7B)GDPR(}|%7D)/g,bn=/\[timestamp\]/g,wn=function(e){return e.replace(bn,Date.now()+"")},_n=function(e){return f(void 0,void 0,void 0,(function(){var t,n,o,a;return h(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,new Promise((function(e,t){if(!window.__tcfapi){var n="Missing TCF API",o=new Error(n);return c(n,o),t(o)}window.__tcfapi("getTCData",2,(function(n,o){return o&&"error"!==n.cmpStatus?e(n):t(!1)}),r)}))];case 1:return t=i.sent(),n=function(e,t){var n=t.gdprApplies;return e.replace(gn,n?"1":"0")}(e,t),o=function(e,t){var n=t.gdprApplies,o=t.tcString;return e.replace(yn,n?o:"")}(n,t),[2,wn(o)];case 2:return i.sent(),a="Error adding consent to ".concat(e),c(a,new Error(a)),[2,e];case 3:return[2]}var r}))}))};mn="ybar",hn={createHTML:function(e){return e}},void 0!==(fn=window.trustedTypes)&&void 0!==fn.createPolicy&&window.trustedTypes.createPolicy(mn,hn);var En,Cn=!1,Ln=function(e,t,n){var o,a=n.ybarAccMenuItemTemplate,i=n.crumb;if(a){var r=(t+1).toString(),s=a.getAttribute("data-signedOutState"),c=a.getAttribute("data-signedInState")||"",l=a.getAttribute("data-done")||"",u=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=0;--n){e[n]=(i=void 0,(i={fn:(a=e[n]).fn||"",ln:a.ln||"",em:a.em||"",alias:a.alias||"",imageUrl:a.imageUrl,state:a.state,fullName:null,identifier:""}).fullName=he(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var o=e[n].state;0!==o&&"0"!==o||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),En=e[n],t||e.splice(n,1)[0])}var a,i;return e}(i.users,t.isUH3Layout);if(t.isUH3Layout&&En){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),u=En.fn&&En.fn[0].toUpperCase()||"",d=he(En.fn,En.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&fe(En.imageUrl)&&!d)l.innerHTML=u,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var m=new Image;m.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),m.src=En.imageUrl,m.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",m.ontransitionend=p,m.onload=function(){m.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(m),l&&l.remove()}}c.length>0&&(t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var f=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),h=function(n){var o=Ln(c[n],n,t);o&&(null==f||f.appendChild(o)),e.onDestroy((function(){o&&(null==f||f.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(r," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),s&&s.classList.add(vn.show),n){var w=document.querySelector("".concat(r," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],E=vn["ybar-icon-arrow-down"],C=vn["ybar-item-hidden"],L=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(E),e.addElementListener(w,"click",(function(){for(var e=0;e5){var S=document.querySelector("".concat(r," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}kn(t,e),o&&o(),Cn=!1}))}},xn=function(e,t,n){var o,a,i,r,s,c={},l=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),d=null,p="https://pfs.yahoo.com",m=function(e){for(var t=e.split(";"),n=new Map,o=0;o720?720:e},y=function(){document.body.removeEventListener("focusin",y,!1),document.body.removeEventListener("click",y,!1)},g=function(){d&&f("resize",{height:h()})},b=function(){var i;if(null===d){(d=document.createElement("iframe")).src="".concat(p,"/?").concat(u.toString()),d.scrolling="no",d.sandbox.add("allow-forms"),d.sandbox.add("allow-scripts"),d.sandbox.add("allow-same-origin"),d.sandbox.add("allow-popups"),d.classList.add(n),d.style.height="0px",d.style.opacity="0";var r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode("body { background: var(--UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(--UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }")),d.addEventListener("load",(function(){setTimeout((function(){var n;o&&a||(e.triggerEvent("ybar-pfs-init-failure"),null===(n=null==d?void 0:d.parentNode)||void 0===n||n.removeChild(d),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute("data-pfs","err"))}),500)})),t.loggedInUserElement&&(t.iframeContainer.appendChild(d),d.contentDocument&&(d.contentDocument.head.appendChild(r),d.contentDocument.body.innerHTML='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',d.style.opacity="1",setTimeout((function(){d&&(d.style.height="300px")}),100)),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",g),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",g),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",g),null===(i=t.accountSwitcherChevron)||void 0===i||i.addEventListener("click",g)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"keyup",b,{once:!0}),e.onDestroy((function(){y(),d=null})),t.ybarAccountContainer){var w=t.ybarAccountContainer.getAttribute("data-prod");"false"===w&&(p="https://stage.pfs.yahoo.com"),u.set("intl","us"),u.set("src",l.property),u.set("version","2"),u.set("lang",l.locale),u.set("theme",(i="light",r=document.documentElement,null!==(s=r.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(i="dark"===r.getAttribute("data-color-scheme")?"dark":"auto"),i)),"false"===w&&u.set("bucket","mbr-up-pfs-five"),u.set("done",window.location.href),u.set("pspid",de())}window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==d&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,a=e.source,f("initialize",{height:h(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":case"show":d.style.height=t.params.height,t.params.width&&(d.style.width=t.params.width);break;case"redirect":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=m(t.params["data-ylk"]),ee("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}}))}},In=null,Tn=!0,Nn=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},On=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,a=t.ybarMobile,i=t.ybarMenuManagePub,r=t.signInAccountMenu,s=t.signInBtn,l=t.ybarModAccount,u=t.yahooPlusImpression,d=t.ybarLabel,p=t.accountSwitcherButton,m=t.universalProfile,f=t.universalProfileSettings,h=t.accountSwitcherContainer,v=t.accountSwitcherChevron,y=t.accountSwitcherSettings,g=t.signoutLinkWrapper,b=t.universalProfileKeyLine,w=t.financeApprBtnEl,_=function(){new pn(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},E=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),kn(t,e);else{var a=new Error("ybarAccountContainer not Found");c("ERROR:",a)}n&&Tn&&(Tn=!1,e.onDestroy((function(){Tn=!0})),An(e,t,o,_))},C=function(){var e,t;0===Nn&&(Nn=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",C),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",C),setTimeout((function(){te()}),500))},L=function(t){e.triggerEvent("ybar:show_theme_modal",{event:t})},S=function(a){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("close-all-menus"),e.triggerEvent("profile:show",{event:a}),document.activeElement===o&&setTimeout((function(){var e;null===(e=t.ybarAccountMenu)||void 0===e||e.blur(),(null==m?void 0:m.classList.contains("hide-universal-profile"))?null==v||v.focus():(null==f?void 0:f.children[0].children[0].children[0]).focus()}),300))},k=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},A=function(e){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?k():S(e)}},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},I=function(){if(u&&!u.getAttribute("src")&&u.getAttribute("data-src")){var t=u.getAttribute("data-src")||"";_n(t).then((function(e){null===In&&((In=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",In.sandbox.add("allow-scripts"),In.sandbox.add("allow-same-origin"),In.height="0",In.width="0",In.referrerPolicy="origin",In.style.display="none",In.style.visibility="hidden",document.body.appendChild(In)),u.setAttribute("src",e)})),e.onDestroy((function(){u.setAttribute("src",""),In=null}))}};null==p||p.addEventListener("click",(function(){return function(e,t,n,o,a,i,r){null==e||e.classList.add("hide-universal-profile"),null==e||e.classList.add("hide"),null==t||t.classList.add("hide"),null==t||t.classList.add("".concat(vn["hide-up-settings"])),null==n||n.classList.add("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.add("hide"),null==a||a.classList.remove("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.remove("".concat(vn["account-switcher-settings-container"])),null==r||r.focus()}(m,f,g,b,h,y,v)})),null==v||v.addEventListener("click",(function(){return function(e,t,n,o,a,i){null==e||e.classList.remove("hide-universal-profile"),null==t||t.classList.remove("hide"),null==t||t.classList.remove("".concat(vn["hide-up-settings"])),null==n||n.classList.remove("".concat(vn["account-switcher-signout-link"])),null==o||o.classList.remove("hide"),null==a||a.classList.add("".concat(vn["hide-account-switcher-container"])),null==i||i.classList.add("".concat(vn["account-switcher-settings-container"])),(null==t?void 0:t.children[0].children[0].children[0]).focus()}(m,f,g,b,h,y)})),s&&(xe(e,s,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),kn(t,e));var T=function(){E(!1),e.addEventListener("close-all-menus",(function(){r&&r.classList.contains(vn.show)&&r.parentNode&&!ke(r.parentNode)&&k()}));e.onDestroy((function(){k()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",I),e.addElementListener(l,"focus",I)),o&&o.parentNode&&e.addElementListener(o.parentNode,"mouseenter",C),Ie("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"mouseenter",A),e.addElementListener(l,"mouseleave",k),e.addElementListener(o,"click",A),e.addElementListener(i,"click",k),e.addElementListener(l,"mouseenter",x),null==l||l.addEventListener("keydown",(function(e){!function(e){var o;switch(e.key){case"ArrowDown":S(e);break;case" ":case"Enter":document.activeElement===t.ybarAccountMenu&&e.preventDefault(),S(e);break;case"Escape":(null==n?void 0:n.classList.contains("ybarMenuOpen"))&&(null===(o=t.ybarAccountMenu)||void 0===o||o.focus())}}(e)})),null==g||g.addEventListener("keydown",(function(e){!function(e){"Tab"===e.key&&(null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false"))}(e)}))};(o||a||r)&&(a?E(!0):(n&&"true"===n.getAttribute("data-pfs")&&(xn(e,t,vn["pfs-iframe"]),e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),T();ee("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}))),T()),Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,a;e=t.size,a="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=a})}))),window.addEventListener("keyup",(function(e){27===e.keyCode&&(k(),null==d||d.blur())})),null==w||w.addEventListener("click",(function(e){L(e)})),null==w||w.addEventListener("keydown",(function(e){(e instanceof KeyboardEvent&&"Tab"!==e.key&&e.preventDefault(),e instanceof KeyboardEvent&&"Enter"===e.key)&&("Enter"===e.key&&L(e))}))};we("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),iframeContainer:document.getElementById("iframe-container"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),jsapicrumb:document.querySelector('input[name="jsapicrumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),isAOLMail:!!document.querySelector("#ybar.ybar-variant-aolmail"),chevron:document.querySelector(".".concat(vn.chevron)),greetingsContainer:document.querySelector(".".concat(vn["greetings-container"])),ybarAccountMenuBody:document.getElementById("ybarAccountMenuBody"),stackedName:document.querySelector(".".concat(vn["stacked-name"])),stackedNameGiven:document.querySelector(".".concat(vn["stacked-name-given"])),stackedNameFamily:document.querySelector(".".concat(vn["stacked-name-family"])),ybarLabel:document.querySelector("#ybarAccountMenuOpener"),ybarLoadingProfileWrapper:document.querySelector(".".concat(vn["loading-profile-wrapper"])),universalProfile:document.getElementById("universalProfile"),universalProfileSettings:document.getElementById("universalProfileSettings"),accountSwitcherSettings:document.getElementById("accountSwitcherSettings"),accountSwitcherContainer:document.querySelector(".".concat(vn["account-switcher-container"])),universalProfileKeyLine:document.querySelector(".".concat(vn["ybar-keyline"])),accountSwitcherButton:document.querySelector(".".concat(vn["universal-profile-switch-button"])),accountSwitcherChevron:document.querySelector(".".concat(vn["account-switcher-chevron"])),signoutLinkWrapper:document.querySelector(".".concat(vn["signout-link-wrapper"])),financeApprBtnEl:document.getElementById("fin-appr-btn")};On(e,n)}));var Bn={"popover-body":"_yb_1cv16f4","ybar-mail-link":"_yb_1b0y3p9","ybar-mail-preview":"_yb_q2xbhz","ybar-mail-signin-link":"_yb_hnauxw","ybar-mod-mail":"_yb_10309ej","ybar-mod-mail-promo-imp":"_yb_6ci77k","ybar-large-unread":"_yb_9b6j40","ybar-mid-unread":"_yb_12gd9wd","ybar-mail-indicator":"_yb_tnmz0c","ybar-unread-active":"_yb_jdf7pt","count-loaded":"_yb_13nwx6d"},qn=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")},Rn=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")},Pn=function(e,t,n){var o=t.mailLink,a=t.mailUnread,i=t.mailUnreadSpan,r=t.mailIndicator,s=t.mailModule,c="".concat(Bn["ybar-unread-active"]);n.fetchCount().then((function(t){if(a&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&n&&o.setAttribute("aria-label",n.replace("{count}",t.toString())),a.classList.add(c),r&&(r.classList.add(c),null==s||s.classList.add(c)),i){var l=t>99;i.textContent=l?"99+":t+"",a.classList.add("".concat(Bn["count-loaded"])),l?a.classList.add("".concat(Bn["ybar-large-unread"])):t>=10&&a.classList.add("".concat(Bn["ybar-mid-unread"]))}e.onDestroy((function(){a.classList.remove(c),r&&r.classList.remove(c),i&&(i.textContent="")}))}})).catch((function(){}))};we("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,a=t.mailSigninLink,i=t.mailPreview;if(n){var r=new bt;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){ke(n)||Rn(t)})),e.addElementListener(i,"focusin",(function(){qn(t)})),e.addElementListener(i,"focusout",(function(){Rn(t)})),e.onDestroy((function(){Rn(t)})),a){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,de()),o.href=me(o.href)+s,(null==a?void 0:a.href)&&(a.href=me(a.href)+s)}}else Pn(e,t,r)}}(e,{mailModule:document.querySelector(".".concat(Bn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Bn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Bn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Bn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Bn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Bn["ybar-mail-preview"].split(" ").join(".")," .").concat(Bn["popover-body"].split(" ").join(".")))})}));var Dn,Hn,Fn="_yb_rbr9p9",Un="_yb_ac74t6",jn="_yb_8737ki",Yn="_yb_1vnnmze",zn="_yb_h1s1bv",Wn="_yb_bkrga4",Gn="_yb_kwlkcz",Vn="_yb_1772h7s",Kn="_yb_15viflt",Zn="_yb_zzzvko",Qn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new bt).fetchCount().then((function(t){o&&t>0&&(o.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},$n=!1,Jn=-1,Xn=function(e,t,n){var o,a,i,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;if(Hn)u+=Hn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),m=parseInt(p.gap,10)||0,f=0;fb&&(f!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=r;){var C=e.navItems[E].cloneNode(!0),L=C.querySelector("a");L&&(L.setAttribute("id",""),L.classList.remove(jn));var S=C.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),C.classList.remove(e.dropdownWrapperClass),C.classList.remove(e.ybarNavigationItemClass),C.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(C,e.moreMenuDropdown.firstChild);var k=C.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(k)}null===(i=e.navItems[E].querySelector("a"))||void 0===i||i.setAttribute("tabindex","-1"),E--}Jn=r}if(-1!==r&&e.navList){var A=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=A,t.textContent=".".concat(Gn,"{ max-width: ").concat(A,"}")}Hn||(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))}},eo=function(e,t){var n,o=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},a=function(){t.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",u))},i=function(n){var a=n.delegateTarget;a&&a.classList.contains(t.dropdownWrapperClass)&&(a.classList.contains(t.dropdownOpenClass)||(e.triggerEvent("nav:dropdown:show",{event:n}),t.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",u)),a.classList.add(t.dropdownOpenClass),o(a,"true")))},r=function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var i=n.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(a(),i.classList.remove(t.dropdownOpenClass),o(i,"false"))}else if(null==n?void 0:n.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var r=e.target;Hn&&(!Hn||Hn.contains(r)&&"focusout"!==e.type)||(a(),n.classList.remove(t.dropdownOpenClass),o(n,"false"))}},s=ln(".".concat(t.dropdownWrapperClass),"focusin",i),c=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",r),l=document.getElementById("ybar-navigation"),u=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(".".concat(t.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(n.tagName)&&(null==l||l.querySelectorAll(".".concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),a())};e.addEventListener("nav:closeOverflowMenu",(function(){u()}));var d=ln(".".concat(t.dropdownWrapperClass),"touchstart",(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?r(e):(u(e),i(e))}})),p=null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(Wn));null==p||p.forEach((function(t){var n=t.parentNode;n&&null!==document.querySelector(".ybar-ytheme-crunch")&&e.addElementListener(n,"mouseenter",(function(t){e.triggerEvent("nav:dropdown:show",{event:t})}))})),e.onDestroy((function(){var e;d.destroy(),s.destroy(),c.destroy(),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 o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))},to=function(e,t,n,o){for(var a=t||window.location.pathname,i=n||window.location.hostname,r=(o||{}).setParentFocus,s=void 0!==r&&r,c=y([],v(e.topLevelNavLinks),!1),l=null,u=null,d=0;d0),i=new pn(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(Kn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:a,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;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 a=e.getConfig();Hn=(null===(o=a.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===a.property?Dn=-12:(Dn="finance"!==a.property&&"sports"!==a.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==a.locale&&"zh-Hant-TW"!==a.locale||(Dn=-20));var i=t.isTablet?"touchstart":"mouseover",r=ln(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),i,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,i=n.delegateTarget;if(i&&-1!=i.className.indexOf(t.dropdownWrapperClass)&&(i=i.querySelector(".".concat(t.navigationDropdownListClass))),i){i.style.removeProperty("left");var r=i.getBoundingClientRect(),s=Math.trunc(r.right),c=parseInt(window.getComputedStyle(i).marginLeft,10)+o-s;if(s>o)return"sports"!==a.property?void(i.style.marginLeft=c+"px"):void(i.style.right="0px");if(parseInt(i.style.marginLeft)0?i.style.removeProperty("margin-left"):i.style.marginLeft=c+"px":(i.style.removeProperty("margin-left"),i.style.marginLeft=Dn+"px"),t.isTablet){var l=i.previousElementSibling;if(Hn&&Hn.contains(i));else if(l){var u=l.getBoundingClientRect(),d=Math.trunc(u.left);i.style.left=d+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){r.destroy()}))}(e,t),Qn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Qn(e)})),eo(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&&($n=void 0!==u&&u,to(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,o=void 0===n?{}:n,a=o.hostname,i=void 0===a?window.location.hostname:a,r=o.pathname,s=void 0===r?window.location.pathname:r,c=o.options;to(t,s,i,void 0===c?{}:c)})),a){var d=document.createElement("style");d.title="ybar_nav_interim",document.head.appendChild(d);var p=ln("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Xn(t,d,i)})),Xn(t,d,i);var m=e.getConfig();if("complete"===document.readyState)no(e,t,d,i);else{var f="load";("news"===m.property&&("zh-Hant-TW"===m.locale||"zh-Hant-HK"===m.locale)||"finance"===m.property&&"zh-Hant-TW"===m.locale)&&(f="DOMContentLoaded"),e.addElementListener(window,f,(function(){no(e,t,d,i)}))}e.addElementListener(window,"resize",(function(){Xn(t,d,i)})),e.onDestroy((function(){var e=d.parentNode;null==e||e.removeChild(d),p.destroy()}))}io(e,t)},ao=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},io=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,"DOMContentLoaded",(function(n){t.isNavHidden()&&e.triggerEvent("l2:hide",{event:n})})),e.addElementListener(window,"resize",(function(o){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),n=t.isNavHidden()}))}},ro="#ybar-nav-more-menu";we("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Un,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet")||"tablet"===n.device||matchMedia("(hover: none)").matches,longListClass:Yn,moreMenuDropdown:document.querySelector("".concat(ro," ul")),moreMenuNavItem:document.querySelector(ro),moreMenuNavLinksSelector:"".concat(ro," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(ro," > button")),moreMenuNavItemClass:Zn,navigationDropdownItemClass:zn,navigationDropdownListClass:Wn,navItems:document.querySelectorAll("ul.".concat(Kn," li.").concat(Vn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Vn," > 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:Vn,dropdownOpenClass:Fn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(o-=1.8)>5?o:5:"crunch"===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById("ybar-nav-placement")),t},isNavHidden:function(){var e=!1;return"finance"===n.property&&"crunch"===n.ytheme&&document.documentElement.clientWidth=5||n.initialized?clearInterval(i):(void 0!==n.isNotificationsSupported()&&n.init(),a++)}),100)}return e.prototype.show=function(e){var t;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(fo),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(ho),document.body.classList.remove(fo),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(ho),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?6048e5:mo)||(document.body.classList.add(ho),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(vo)[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(po,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,t,n=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(po);if(null===n)return null;try{return JSON.parse(n)}catch(e){return null===(t=window.localStorage)||void 0===t||t.removeItem(po),null}},e}(),bo=-1,wo={0:0,1:1,9:9,99:99,150:150},_o=function(e,t){var n,o=t.isUH3,a=t.notifMenu,i=t.notifMenuOpener,r=t.notifDropdown,s=t.notifBadge,c=t.notifContainer,l=t.notifLabel;t.tooltipContainer&&(n=new go(e,t.tooltipContainer));var u=G(),d=function(){a&&(a.checked=!1),null==r||r.classList.remove("ybarMenuOpen")},p=function(){var t;e.triggerEvent("close-all-menus"),!!document.querySelector(".display-push-promos .".concat(so))||(u.resetBadge(),s&&(o?null===(t=s.parentElement)||void 0===t||t.classList.remove(co):s.style.display="none"))},m=function(e){var t,n;0===bo&&(null===(t=null==e?void 0:e.css)||void 0===t?void 0:t.length)&&e.css.length>0&&(bo++,function(e){for(var t=function(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)},n=0;n0&&s)if(o){var i,r=(i=e.newCount)>99;s.textContent=r?"99+":i+"",null===(n=s.parentElement)||void 0===n||n.classList.add(co)}else s.style.display="block"},f=function(){u.refreshPanel().then(m).then(te).catch((function(){}))};if(e.addEventListener("close-all-menus",(function(){ke(c)||d()})),c){f();var h=setInterval((function(){f()}),3e5);e.onDestroy((function(){clearInterval(h)})),o?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(a,"click",(function(){ee("ybar","notification","",{elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),i&&xe(e,i,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(r,"focusin",(function(){a&&(a.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()}))};we("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(lo)),notifLabel:document.querySelector(".".concat(uo))};t.notifDropdown&&_o(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, {"bucketConfig":{"assist_billboard_v2":true,"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"midnight60","scrollThreshold":4},"bucketNames":["ybar-uh3-v1","ybar-open-search-in-new-tab","ybar-shift-more-menu"],"componentCount":0,"device":"desktop","features":{"assist_billboard_v2":true,"avatarConfig":{"useAlphatar":true},"enable_search_ui":true,"login_icon_bg":true,"saMtestid":"35716=SAUHSearchBillboardsV2Test","search_cta_magnify":false,"show_mail_label":true,"suppress_topnavigation":true,"uh3_legacy_finance":false,"use_profile_character":true,"use_uh3_desktop_layout":true,"use_uh3_mail_v3":true,"use_uh3_profile":true,"open_search_in_new_tab":true,"shift_more_menu":true},"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","SEARCH_TOOLTIP_WEB":"Search the web","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.","MAIL_ARIA_LINK":"Check your mail, {count} messages, link","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"}},"locale":"en-US","mailVariantLogos":{},"property":"homepage","ytheme":"crunch"}); $_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');
| <STRONG> (79) | Technology Technology Technology Business Lifestyle Lifestyle Sports Celebrity Sports Health Business Business Entertainment Sports Sports Sports Sports Sports Sports Business Business Sports Sports Business Sports Sports Sports Sports Politics Sports Sports Sports World Sports Celebrity Politics World Business Politics Health Celebrity World Politics Politics Entertainment Business Lifestyle Politics Opinion Celebrity Politics Sports Business Politics Politics Politics Politics Sports Business Science Politics Celebrity Celebrity Celebrity Politics Celebrity Sports Opinion Celebrity Lifestyle Celebrity Celebrity Celebrity Politics Opinion
|
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 |