|
|
Highlight
<H1> | <H2> | <H3> | <H4> | <H5> | <H6> | <B> | <U> | <I> | <EM> | <STRONG> | Total | 1 | 1 | 49 | 7 | 0 | 0 | 5 | 41 | 18 | 0 | 1 | 123 | Excellent! The page is using HTML headings (<H1> - <H6>) and inline emphasis tags (<EM><B><I><EM><STRONG>)
|
<H1> (1) | Yahoo Home
| <H2> (1) | Disney counters DeSantis, cancels major Fla. project
| <H3> (49) | Ex-49er allegedly threatened to execute congressman Report: Used-car market in 'uncharted territory' Ex rips Anna Nicole Smith doc he wouldn't take part in $3B U.S. accounting error could be a boon for Ukraine Jimmy Buffett cancels S.C. show after hospitalization PGA Championship: Ryan Fox, after pneumonia battle and birth of second child, suddenly in the mix at Oak Hill NASCAR betting, odds: Can Kevin Harvick or Kyle Larson win their third All-Star Race? Allegations in Giuliani lawsuit could lead to criminal investigations, experts say Tesla would be 'lucky' to keep Cybertruck price at $75,000, MotorTrend CEO says Montana bans TikTok: Why did the governor outlaw the app and how will it be enforced? OpenAI launches an official ChatGPT app for iOS Marjorie Taylor Greene escalates feud with Jamaal Bowman after Capitol confrontation Debt ceiling: Support for 14th amendment solution mounts on Capitol Hill Mortgage rates edge higher, further adding to housing's challenges Walmart has a big quarter, even as it's stung like Target by organized retail crime Rafael Nadal to miss first French Open since 2004, says 2024 will 'probably' be final year of career NBA playoffs: 'I'm taking Jimmy all day': How Butler's Heat broke Boston in Game 1 PGA Championship: Follow Jon Rahm, Brooks Koepka, Scottie Scheffler and more in the first round at Oak Hill How to watch the Preakness Stakes 2023: Time, channel, odds and more Existing home sales fall again in April amid continued inventory woes The best option debt ceiling fix is Wall Street's least favorite: Morning Brief How to watch the 2023 PGA Championship: Tee times, channel, streaming and more Kevin O’Leary: Tesla's Cybertruck has 'a really ugly look,' but ‘the demand is huge’ North Carolina Republicans override veto of strict new abortion law Johnny Depp says he 'doesn't think about Hollywood' following controversial Cannes Film Festival appearance NBA playoffs: Jimmy Butler, Heat take Game 1 over Boston after huge 3rd-quarter rally How to watch MLB games without cable: Schedule and streaming for Apple TV+, Peacock, ESPN+ and more How to watch WNBA games in 2023: Schedule, channels, time and more Walmart raises full year outlook as first quarter sales top expectations Jamie Otis opens up about bikini confidence after being 'bigger than my husband' Blue Jays-Yankees drama rages on as Aaron Boone calls Pete Walker 'f---ing crazy' Father of 'Jeopardy!' star dies of brain aneurysm: Here's what you need to know Teenager opens up about detransitioning process: ‘Do what makes you happy’ Gen Z is losing it over this 1990 JCPenney’s spring/summer catalog: ‘but why do I like these?’ 'Mortal Kombat 1' reboots the series on September 19th PGA Championship: Did Jim Nantz just land another subtle LIV Golf jab? PGA Championship: Tom Kim falls into marsh in opening round, gets absolutely covered in mud Big recruiting weekend for Michigan gets bigger with 2024 five-star Why top Trump allies like Roger Stone are using apocalyptic religious rhetoric Fantasy Baseball Bullpen Buzz, Week 7: Should we be worried about these three closers? Here's $18,000. What would you buy in 1985? Dean Devlin says the never-made Will Smith version of 'Independence Day 2' would have been like 'Rocky III': 'He had to get the eye of the tiger back' Musselman at NBA Draft Combine: 'These guys are ready' Were we wrong about 'Crystal Skull'? The pros and cons of the least-liked Indiana Jones adventure. Trending Now Weather Weather Scoreboard Daily Horoscope
| <H4> (7) | Stories for you Brea Read next Read next Read next Read next Read next
| <B> (5) | '+g+"",e.title=C(n.league_l_tmpl,[d,t,f,m,u,p,h,i])+''):w?(o=y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz}),a=' • ',c=''+o+"",e.title=C(n.league_f_tmpl,[d,t,f,m,u,p,a+c])):(o=y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz}),s=d.length+p.length+o.length+_.length>n.maxLen?"":"",r=o.length+_.length>n.maxLen?"":"",a=d.length+p.length+o.length+n.sepThreshold>n.maxLen?"":' • ',c=''+o+"",l=b&&1'+_+"":"",e.title=C(n.league_n_tmpl,[d,t,u,p,a+s+c+r+l]))}catch(e){}else e.title=C(n.league_tmpl,[d,p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})]);else{try{e.title=v?C(n.l_tmpl,[f,m,p,h,g])+'':w?C(n.f_tmpl,[f,m,p,y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz})]):C(n.n_tmpl,[p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})])}catch(e){}t&&(e.imageUrl=t)}}}function pe(e,n){var t=this.config,i=n.m;n=n.fd,e=e.li;t.enableNewLeagueTmpl&&48==i&&n&&n.qtype&&"lg"==n.qtype&&(e.className+=" league")}function fe(){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} - {3}{5} {6} {7}',league_f_tmpl:'{0}{2} - {3}{5} {6}',liveIconClass:"sa-ico-live",maxLen:60,sepThreshold:10}}function me(e){var n,t,i,o,s,r,a,c=this.config,l=e.m;e=e.fd;41==l&&e&&!e.subtitle&&(l=e.img_url||"",n=e.condition,t=e.degree,i=e.high_temp&&"• H:"+e.high_temp+"°",o=e.low_temp&&"L:"+e.low_temp+"°",s=e.loc&&"• "+e.loc,r=e.warning?'':"",a=this.app.format,c.enableHL?e.title=a(c.tmpl_hl,[l,t,r,n,i,o,s]):e.title=a(c.tmpl,[l,t,n,s]))}function he(){this.config={enableHL:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function ge(e){var n,t,i,o,s=this.config,r=e.m,a=e.d;e=e.fd;27==r&&e&&(a&&"movie"==a.subdn?(i=e.year||"",r=e.genre&&e.genre[0]?e.genre[0]+" "+s.text.movie:s.text.movie,t=e.releaseDate?new Date(e.releaseDate):"",n=new Date,t&&nManage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function Ie(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(l.stopPropagation(e),s.value="",l.setFocus(s),i.show(),t.control.beacon("tapClr",r,n.config.log))}var n=this,t=n.app,i=t.view,o=i.elems,s=o.sbInput,r=o.sbClear;r&&(l.ae(r,"click",e),l.ae(r,"keydown",e))}function Me(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}c.SA=(n=[],q.prototype={jsonp:function(e){var n=a.getElementsByTagName("head")[0],t=a.createElement("script");l.set(t,"type","text/javascript"),l.set(t,"src",e),n.appendChild(t),l.ae(t,"load",(function(){n.removeChild(t)}))},xhr:function(e,n){var t=new XMLHttpRequest;t.open("GET",e),t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.onreadystatechange=function(){var e=t.status;(4==t.readyState&&200"+s+" "+t.config.saAria.shownText+"")},show:function(){var e=this,n=e.config,t=e.elems.sbInput.value,i=t.length;e.app.notify(b),e.shown&&e.sameQuery()||(e.lastInput=t,in.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,n=(i=e.elems).sbInput,t=i.saAria,i=i.sbForm,o=e.config;l.removeClass(a.body,o.typingClass),i&&i.parentElement&&l.removeClass(i.parentElement,o.typingClass),l.removeClass(i,o.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,n&&l.set(n,"aria-expanded","false"),t&&(l.set(t,"aria-expanded","false"),t.innerHTML=""+e.config.saAria.closedText+""),e.app.notify(w)},clearAssist:function(){this.elems.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null},createItem:function(e){var n={idx:e.idx,data:e.origData},t=l.htmlEncode,i=this.config,o=this.app.createElem,s={},r=(i.highlight&&l.merge(s,i.highlight),e.highlight&&l.merge(s,e.highlight),o(i.saItem,"li"));return(o=(l.set(r,"pos",e.idx),o(i.saTitle,"span"))).innerHTML=e.t||(i.boldTag&&e.k&&e.q?l.bold(i.boldTag,t(e.k),t(e.q),s):t(e.k)),r.appendChild(o),n.li=r,n.title=o,this.app.notify(v,[n,e]),n},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,n=e.config,t=e.elems.sbForm;n.resetQuery&&e.resetQuery(),e.hide(),t.action=e.origAction,e.app.notify(_)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput}},U),e.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},d.hideSbClr=(H.prototype={init:function(e){(this.app=e).on(b,F,this)}},H),d.saFr=(z.prototype={init:function(e){(this.app=e).on(m,V,this),e.on(S,Y,this),e.on(_,G,this)}},z),d.ipos=(J.prototype={init:function(e){(this.app=e).on(b,W,this),e.on(u,K,this)}},J),d.saTray=(X.prototype={init:function(e){(this.app=e).on(f,Q,this)}},X),d.saFlvr=(ee.prototype={init:function(e){e.on(v,Z,this)}},ee),d.saWhatToWatch=(ie.prototype={init:function(e){var n=this;n.whatToWatch=[],n.beforeNode=null,n.currentPos=0,(n.app=e).on(v,ne,n),e.on(y,te,n)}},ie),d.saEdit=(se.prototype={init:function(e){e.on(v,oe,this)}},se),d.saAnnot=(ae.prototype={init:function(e){e.on(v,re,this)}},ae),d.saStock=(de.prototype={init:function(e){(this.app=e).on(g,ce,this),e.on(v,le,this)}},de),d.saSport=(fe.prototype={init:function(e){(this.app=e).on(g,ue,this),e.on(v,pe,this)}},fe),d.saWeather=(he.prototype={init:function(e){(this.app=e).on(g,me,this)}},he),d.saEntertainments=(ye.prototype={init:function(e){(this.app=e).on(g,ge,this)}},ye),d.saImg=(be.prototype={init:function(e){e.on(v,ve,this)}},be),d.saGroup=(Ce.prototype={init:function(e){this.app=e,this.idxs={},e.on(v,_e,this),e.on(y,we,this)}},Ce),d.saPCActn=(xe.prototype={init:function(e){var n=this;n.app=e,n.selectedIndex=-1,e.on(p,Ee,n),e.on(C,Se,n),e.on(A,Le,n),e.on(M,ke,n)}},xe),d.tapRmv=(Ae.prototype={init:function(e){(this.app=e).on(E,Te,this)}},Ae),d.tapClr=(Me.prototype={init:function(e){(this.app=e).on(C,Ie,this)}},Me)}();var history="_yb_na9ez",lowlight="_yb_1p0yz",sa="_yb_uaper",trending="_yb_13css",Css$5={"bot-search-icon":"_yb_icdyc","bot-search-icon-container":"_yb_9x0wz","bot-search-item":"_yb_5bshm","bot-search-item-col":"_yb_bnb4y","bot-search-span":"_yb_1l5hc",history:history,"list-item-hover":"_yb_r5rm7",lowlight:lowlight,"no-wrap":"_yb_12ugt","related-title":"_yb_1viml",sa:sa,"sa-annot-rich":"_yb_15wih","sa-annot-subtitle":"_yb_1a8ib","sa-annot-title":"_yb_7l48o","sa-edit":"_yb_joph9","sa-edit-icon":"_yb_bn942","sa-edit-text":"_yb_ws079","sa-fd-actn-cont":"_yb_29u3k","sa-grp-hdr":"_yb_1r9te","sa-grp-hdr-title":"_yb_1d86g","sa-history":"_yb_1ejbz","sa-img":"_yb_qf2qs","sa-img-ctn":"_yb_suu8l","sa-img-icon":"_yb_18t18","sa-item":"_yb_104uc","sa-item-title":"_yb_6eh4k","sa-rich-thumb":"_yb_1tp64","sa-sbx-container":"_yb_1xed1","sa-sugg":"_yb_kxs0s","sa-thumb-icon":"_yb_1ypsw","sa-tray":"_yb_xy5ss","sa-tray-list-container":"_yb_zcgub","sa-trending":"_yb_nvfhi","sub-assist":"_yb_dm5fy","suggestion-title":"_yb_1r8c5",trending:trending,"trending-title":"_yb_557hm","yui3-highlight":"_yb_1vnxp"},saConfV1={boldTag:'{s}',customEvent:{customBtn:"searchBtnClicked",customKeyBoard:"enterKeyPressed",customSelection:"assistSelectionClicked"},elems:{sbForm:"ybar-sf",sbInput:"ybar-sbq",sbSubmit:"ybar-search",sbClear:"ybar-sbq-x",sbCancel:"ybar-search-back-btn"},hightlight:{exact:!0,pattern:"^"},minInput:1,sa:{css:Css$5["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Css$5["sa-tray-list-container"]},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Css$5["sa-sbx-container"]},tray:{css:Css$5.sa+" "+Css$5.lowlight}},saPCActn:{css:Css$5["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}}},richSAConfV1={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},minInput:0,plugins:{saFlvr:{m9:Css$5["sa-trending"],m13:Css$5["sa-history"],flvr:Css$5["sa-sugg"]},saEdit:{ctn:{css:Css$5["sa-edit"]},icon:{css:Css$5["sa-edit-icon"]},text:{css:Css$5["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Css$5["sa-annot-title"]},subtitle:{css:Css$5["sa-annot-subtitle"]},richClass:Css$5["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Css$5["sa-img-icon"]},thumbnail:{css:Css$5["sa-img"]},ctn:{css:Css$5["sa-img-ctn"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Css$5["sa-grp-hdr"]},title:{css:Css$5["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Css$5.trending},m13:{text:"",css:Css$5.history}}}}},richSAConfV1Smartphone={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Css$5["sa-item"]},saTitle:{css:Css$5["sa-item-title"]},minInput:0,plugins:{saFlvr:{m9:Css$5["sa-trending"],m13:Css$5["sa-history"],flvr:Css$5["sa-sugg"]},saEdit:{ctn:{css:Css$5["sa-edit"]},icon:{css:Css$5["sa-edit-icon"]},text:{css:Css$5["sa-edit-text"]}},saAnnot:{title:{css:Css$5["sa-annot-title"]},subtitle:{css:Css$5["sa-annot-subtitle"]},richClass:Css$5["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Css$5["sa-img-icon"],wrap:{css:Css$5["sa-thumb-icon"]}},thumbnail:{css:Css$5["sa-img"]},ctn:{css:Css$5["sa-img-ctn"]},richClass:Css$5["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Css$5["sa-grp-hdr"]},title:{css:Css$5["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Css$5.trending},m13:{text:"",css:Css$5.history}}}}},bottomSearch=function(e,n,t){var i=document.createElement("div");i.className=t["bot-search-item"];var o=document.createElement("div"),s=document.createElement("div");o.className=t["bot-search-item-col"],s.className=t["bot-search-item-col"];var r=document.createElement("div");r.className=t["bot-search-icon-container"];var a=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=document.createElementNS("http://www.w3.org/2000/svg","path");a.setAttribute("width","20"),a.setAttribute("height","20"),a.setAttribute("viewBox","0 0 24 24"),a.classList.add(t["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"),a.appendChild(c),r.appendChild(a),o.appendChild(r);var l=document.createElement("span"),d=document.createElement("span");d.className=t["bot-search-span"];var u=document.createElement("span"),p=e.split("{query}");return l.textContent=p[0]||"",d.textContent=n,u.textContent=p[1]||"",s.appendChild(l),s.appendChild(d),s.appendChild(u),i.appendChild(o),i.appendChild(s),i},_getQueryStringByName=function(e){var n=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return n?n[1]:null},_getFrValueByMode=function(e,n,t){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=document.getElementById("ybar"),o=null==i?void 0:i.querySelector('input[name="fr"]'),s=o?o.value:"yfp-t",r=_getQueryStringByName("fr"),a=r||s,c=i&&i.className&&i.className.match(/ybar-variant-([a-z]+)/),l=c?c[1]:"";return-1===["att","frontier","rogers"].indexOf(l)&&(e&&(a+="-m"),n&&(a+="-s")),"tn"!==t&&"tg"!==t||(a=r?a+"-tn":(null==o?void 0:o.dataset.tnvalue)||a),a},_getFr2ValueByMode=function(e,n,t,i,o){void 0===t&&(t=!1);var s=null,r="smartphone"===n&&!!document.querySelector(".Reader-open")||"smartphone"!==n&&!!document.querySelector(".modal-open"),a=e.querySelector('input[name="fr2"]');if(a){s=a.value;var c=a.dataset&&a.dataset.savalue,l=a.dataset&&a.dataset.modalsb,d=a.dataset&&a.dataset.modalsa;t?s=r&&d?d:c:r&&l&&(s=l),i&&o&&(s="".concat(s,",ct:").concat(i,",kt:").concat(o))}return s},_getTsrcValueByMode=function(e,n){void 0===n&&(n=!1);var t=null,i=e.querySelector('input[name=".tsrc"]');if(i){t=i.value;var o=i.dataset&&i.dataset.savalue;n&&o&&(t=o)}return t},_setInputValues=function(e,n,t){var i=e.querySelectorAll(n);if(i)for(var o=0;o=0?(s="srch-asst",l=!0,c=a.idx+1):s="kybrd":s="botSearchClicked"===e.type?"sitesrch":"icon",r||l){var d=y(a),p=d.category,f=d.keyword;setFr2(n,o,l,p,f),"homepage"===i||"my"===i?(setFr(n,r,l,p),setTsrc(n,l)):"smartphone"===o&&setTsrc(n,l)}C(getI13nObject(s,"0",c.toString()))}},b=function(e){var t,s=!!document.querySelector(".modal-open"),r=null===(t=e.detail)||void 0===t?void 0:t.data,a=!0,c=(r&&r.idx||0)+1,l=y(r),d=l.category,u=l.keyword;setFr2(n,o,a,d,u),"homepage"===i||"my"===i?(setFr(n,s,a,d),setTsrc(n,a)):"smartphone"===o&&setTsrc(n,a),C(getI13nObject("srch-asst","0",c.toString()))},_=function(e){if("function"==typeof t.beaconClick&&9!==e.keyCode&&13!==e.keyCode&&1===h&&"smartphone"!==o){t.saveCurrentTimerValue("search_input_keyboard_input");var n=getI13nObject("keystroke","1");delete n.clickParams.tar,h++,t.beaconClick(n.sec,n.slk,n.pValue,n.clickParams)}},w=function(){t.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===o&&n.addEventListener("click",(function(){if(e){if(e.classList.contains("ybar-searchbox-assist-fullscreen"))return;e.classList.add("ybar-searchbox-assist-fullscreen")}if(!document.documentElement.classList.contains("ybar-overlay")){document.documentElement.classList.toggle("ybar-overlay"),document.body.classList.add("ybar-overlay-noscroll");"function"==typeof t.beaconClick&&t.beaconClick("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"})}}))},C=function(e){if("function"==typeof t.beaconClick){t.saveCurrentTimerValue("search_query_submit");var i={pp:{A_utm:t.getPerformanceI13nObject()}};t.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){setTimeout((function(){n&&n.submit()}),300)}),i)}else n&&n.submit()};function E(){this.config={botSearch:{action:p,text:m||""},suggestionTitle:{text:f||""}}}function S(e){var n=this.config,t=this.app.view,i=t.elems.sbForm,o=t.elems.sbInput.value,s=suggestionTitle(Css$5,n.suggestionTitle.text),r=bottomSearch(n.botSearch.text,o,Css$5);r&&(e&&s&&(e.prepend(s),e.appendChild(r)),r.addEventListener("click",(function(){n.botSearch.action&&(i.action=n.botSearch.action),t.hide(),v(new CustomEvent("botSearchClicked"))})))}function L(){this.config={}}function k(){""===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")}u&&(u&&(u.addEventListener("enterKeyPressed",v),u.addEventListener("assistSelectionClicked",b),u.addEventListener("searchBtnClicked",v),u.addEventListener("keydown",_),u.addEventListener("click",w)),"homepage"!==i&&"my"!==i||(setFr(n),"homepage"===i&&setTypeByQueryString(n)),t.saveCurrentTimerValue("search_assist_ready")),E.prototype={init:function(e){this.app=e,e.on("after_update_list",S,this)}},p&&(null===(l=window.YAHOO.SA)||void 0===l||l.add("saBotSearch",E)),L.prototype={init:function(e){var n=this;n.app=e,e.on("before_button_submit",k,n),e.on("before_key_submit",k,n)}};var x=function(e){var n;return null===(n=window.localStorage)||void 0===n?void 0:n.setItem(WHAT_TO_WATCH_KEY,e)};(function(e){var n=new Date;if(!0!==c&&(null===e||!function(e){var n=__read(e.toLocaleTimeString("en-US",{hour12:!1,timeZone:"America/Los_Angeles",hour:"numeric",weekday:"narrow"}).split(", "),2),t=n[0],i=n[1],o=parseInt(i);return("S"===t||"F"===t)&&o>=14&&ol?(x("".concat(i,",1")),!0):!Number.isNaN(d)&&2>d&&(x("".concat(i,",2")),!0)})(r)&&(u&&""!==a&&u.setAttribute("placeholder",a),n.classList.add("ybar-enable-watch-to-watch"),null===(d=window.YAHOO.SA)||void 0===d||d.add("saWTW",L))},saInitV1=function(e,n,t,i,o,s,r){var a,c,l=n.searchBox.getAttribute("data-appid"),d=n.searchBox.getAttribute("data-pubid");if(window.YAHOO&&window.YAHOO.SA){"attgoog"===l&&(t.saBE.params.appid="attgoog"),d&&""!==d&&(t.saBE.params.pubid=d),t.saBE.host=s?n.searchBox.getAttribute("data-fastbreak"):n.searchBox.getAttribute("data-sabase");var u=n.searchBox.dataset.sacrumb,p=n.searchBox.dataset.sabcrumb,f=n.searchBox.dataset.mtestid;u&&(t.saBE.params[".crumb"]=u),p&&t.shBE&&(t.shBE.params._bcrumb=p),f&&(t.saBE.params.mtestid=f);var m=e.getConfig();ApplyOverrides(n.ybar,n.searchBox,{beaconClick:beaconClick,saveCurrentTimerValue:saveCurrentTimerValue,getPerformanceI13nObject:getPerformanceI13nObject},i,o,s,r,(null===(a=null==m?void 0:m.bucketConfig)||void 0===a?void 0:a.placeholder)||"",(null===(c=null==m?void 0:m.bucketConfig)||void 0===c?void 0:c.force_what_to_watch)||!1),window.YAHOO.SA.init(t)}else{var h="Search lib not found. SearchAssist failed to initialise";e.logError(h,new Error(h))}};initModule("ybar-mod-assistjs",(function(e){var n,t=document.getElementById("ybar-sf"),i=document.getElementById("ybar-w2w-list"),o=null;if(t&&"true"===t.getAttribute("data-saEnabled")){var s={ybar:document.getElementById("ybar"),searchBox:t,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn")},r=e.getConfig(),a=saConfV1,c=!!r.bucketConfig.enable_search_ui;if(c){var l="smartphone"===r.device?richSAConfV1Smartphone:richSAConfV1,d=t.getAttribute("data-tn-title");d&&(null===(n=null==l?void 0:l.plugins)||void 0===n?void 0:n.saGroup)&&Object.assign(l.plugins.saGroup,{grps:{m9:{text:d}}}),a=__assign(__assign(__assign({},saConfV1),l),{plugins:__assign(__assign({},saConfV1.plugins),l.plugins)})}i&&!0===r.bucketConfig.enable_what_to_watch&&((o=i.cloneNode(!0)).removeAttribute("id"),o.removeAttribute("style")),saInitV1(e,s,a,r.property,r.device,c,o)}}));var hide="_yb_iayvi",opened="_yb_14q5d",wrap="_yb_iaeb7",Css$4={hide:hide,"more-btn":"_yb_1kr7r",opened:opened,wrap:wrap};initModule("ybar-mod-navigation",(function(e){var n={moreDropDown:document.querySelector(".".concat(Css$4.hide)),moreBtn:document.querySelector(".".concat(Css$4["more-btn"])),wrap:document.querySelector(".".concat(Css$4.wrap))},t=function(e){var n=e.moreDropDown,t=e.moreBtn,i=e.wrap,s={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};n&&t&&i&&(n.classList.contains("".concat(Css$4.hide))||(n.classList.add("".concat(Css$4.hide)),i.classList.remove("".concat(Css$4.opened)),t.setAttribute("aria-expanded","false"),beaconClick("ybar",s.slk,"",s),document.body.removeEventListener("click",o,!1)))},i=function(e){var n=e.moreDropDown,i=e.moreBtn,s=e.wrap;n&&i&&s&&(n.classList.contains("".concat(Css$4.hide))?function(e){var n=e.moreDropDown,t=e.moreBtn,i=e.wrap,s={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"};n&&t&&i&&n.classList.contains("".concat(Css$4.hide))&&(n.classList.remove("".concat(Css$4.hide)),i.classList.add("".concat(Css$4.opened)),t.setAttribute("aria-expanded","true"),s.elm="expand",beaconClick("ybar",s.slk,"",s),document.body.addEventListener("click",o,!1))}(e):t(e))},o=function(e){if(n.moreBtn&&n.moreBtn.parentElement){var i=e.composedPath();i.length>0&&!i.includes(n.moreBtn.parentElement)&&t(n)}};n.moreBtn&&e.addElementListener(n.moreBtn,"click",(function(){i(n)})),e.onDestroy((function(){t(n)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&t(n)}))}));var homepage_show_saved_accounts="_yb_wi6ir",mobile="_yb_1ymd0",show="_yb_6rq13",smartphone="_yb_1jm2s",Css$3={homepage_show_saved_accounts:homepage_show_saved_accounts,mobile:mobile,"prof-notif-badge":"_yb_vwdvy",show:show,"sign-in-menu":"_yb_8ogmz","signed-in":"_yb_ofwtx","signed-out":"_yb_1id5n","signedout-text":"_yb_ydjxv",smartphone:smartphone,"notification-container":"_yb_1wqgh","pfs-container":"_yb_1ysip","pfs-iframe":"_yb_bw9tj","ybar-account-img-signed-out":"_yb_iz0qt","ybar-account-menu":"_yb_1hg1u","ybar-account-menu-item-signed-out":"_yb_sajv6","ybar-account-user-email":"_yb_r0bbs","ybar-account-user-email-other":"_yb_7gk22","ybar-account-user-name":"_yb_yr7zq","ybar-account-user-signedout":"_yb_1o178","ybar-account-yahoo-plus-imp":"_yb_1cou0","ybar-icon-arrow":"_yb_7sdnu","ybar-icon-arrow-down":"_yb_fpdlk","ybar-icon-arrow-up":"_yb_18odi","ybar-icon-image-wrapper":"_yb_yrczx","ybar-item-hidden":"_yb_1f3q7","ybar-login-btn":"_yb_m8428","ybar-mod-account":"_yb_14twp","ybar-mod-mail":"_yb_1tt3n","ybar-see-info":"_yb_ewxme","ybar-sign-out":"_yb_6bn0l","ybar-sign-out-text":"_yb_127zr","ybar-user-accounts-list":"_yb_1jpqc","ybar-user-profile-img":"_yb_1nrzq"},PATTERN_GDPR_CONSENT=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,PATTERN_GDPR=/\$({|%7B)GDPR(}|%7D)/g,PATTERN_TIMESTAMP=/\[timestamp\]/g,getTCData=function(e){return new Promise((function(n,t){if(!window.__tcfapi){var i="Missing TCF API",o=new Error(i);return logError(i,o),t(o)}window.__tcfapi("getTCData",2,(function(e,i){return i&&"error"!==e.cmpStatus?n(e):t(!1)}),e)}))},replaceTimestamp=function(e){return e.replace(PATTERN_TIMESTAMP,Date.now()+"")},replaceGDPR=function(e,n){var t=n.gdprApplies;return e.replace(PATTERN_GDPR,t?"1":"0")},replaceGDPRConsent=function(e,n){var t=n.gdprApplies,i=n.tcString;return e.replace(PATTERN_GDPR_CONSENT,t?i:"")},addConsentToUrl=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,t,i,o;return __generator(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,getTCData()];case 1:return n=s.sent(),t=replaceGDPR(e,n),i=replaceGDPRConsent(t,n),[2,replaceTimestamp(i)];case 2:return s.sent(),o="Error adding consent to ".concat(e),logError(o,new Error(o)),[2,e];case 3:return[2]}}))}))},complete=function(e,n){if(200!==e.status){var t=new Error("Request failed with status: "+e.status);t._meta={status:e.status},e.ymreqid&&(t._meta={ymreqid:e.ymreqid}),n(t)}else{var i=null;try{i=JSON.parse(e.responseText)}catch(e){var o=new Error("Error parsing responseText");return o._meta={originalError:e},void n(o)}n(null,i)}},_ieFetch=function(e,n){return void 0===n&&(n={}),__awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){return[2,new Promise((function(t,i){var o=new XMLHttpRequest;if(o.open("string"==typeof n.method?n.method:"GET","string"==typeof e?e:e.url,!0),"object"==typeof n.headers){var s=n.headers;for(var r in s)o.setRequestHeader(r,s[r])}o.withCredentials="include"===n.credentials,o.onreadystatechange=function(){4===o.readyState&&t({ok:o.status>=200&&o.status40959)&&(o19903))return!1}return!0},normalizeAndEscapeUserRecord=function(e){var n={fn:e.fn||"",ln:e.ln||"",em:e.em||"",alias:e.alias||"",imageUrl:e.imageUrl,state:e.state,fullName:null,identifier:""};return n.fullName=isNameCJK(n.fn,n.ln)?[n.ln,n.fn].join(""):[n.fn,n.ln].join(" "),n.identifier=n.em||n.alias,n},createAccountItemElement=function(e,n,t){var i=t.ybarAccMenuItemTemplate,o=t.crumb;if(i){var s=(n+1).toString(),r=i.getAttribute("data-signedOutState"),a=i.getAttribute("data-done")||"",c=getTemplateContent(i),l=c.children&&c.children[0];if(!l&&c.childNodes)for(var d=0;d=0;--n){e[n]=normalizeAndEscapeUserRecord(e[n]);var t=e[n].state;0!==t&&"0"!==t||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),e.splice(n,1)[0])}return e},addDoneUrlToEl=function(e,n,t){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(t&&(t=~e.indexOf("&activity=ybar-")?void 0:t.replace("[[pspid]]",getSpaceId())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),t&&(e+="&"+t),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(n)):(e=appendQorA(e),e+=".done="+encodeURIComponent(n),t&&(e+="&"+t),e))},addDoneUrlToAllLink=function(e,n){var t,i=e.ybarAccMenuItemTemplate,o=e.ybarAccountContainer,s=document.querySelector(".".concat(Css$3["ybar-mod-account"]," .").concat(Css$3["ybar-login-btn"])),r=document.querySelector(".".concat(Css$3["ybar-mod-account"]," .").concat(Css$3["ybar-sign-out"])),a=o&&o.querySelectorAll("a"),c="",l=window.location.href;if(s){var d=s.href;n.onDestroy((function(){s.href=d})),s.href=addDoneUrlToEl(s.href,l,s.getAttribute("data-redirect-params")||void 0)}if(i?(l=i.getAttribute("data-done")||"",c=i.getAttribute("data-sign-out-url")||""):r&&(c=r.getAttribute("data-sign-out-url")||""),a){var u=function(){var e=t,i=a[e].href;n.onDestroy((function(){a[e].href=i}));var o=a[t].getAttribute("data-redirect-params");a[t].classList.contains(Css$3["ybar-sign-out"])?a[t].href=addDoneUrlToEl(a[t].href,c,o||void 0):a[t].href=addDoneUrlToEl(a[t].href,l,o||void 0)};for(t=0;t0){var h=document.querySelector("".concat(s," .").concat(Css$3["ybar-sign-out"])),g=h&&h.getAttribute("data-soa"),y=document.querySelector("".concat(s," .").concat(Css$3["ybar-sign-out-text"]));if(y&&g&&(y.innerText=g),c&&c.classList.add(Css$3.show),t){var v=document.querySelector("".concat(s," ").concat(Css$3["ybar-icon-arrow"])),b=Css$3["ybar-icon-arrow-up"],_=Css$3["ybar-icon-arrow-down"],w=Css$3["ybar-item-hidden"],C=document.querySelectorAll(".".concat(Css$3["ybar-item-hidden"]));v&&(v.classList.toggle(_),e.addElementListener(v,"click",(function(){for(var e=0;ed){var E=document.querySelector("".concat(s," .").concat(Css$3["ybar-see-info"]));E&&E.style&&(E.style.display="block")}addDoneUrlToAllLink(n,e)}else r&&(r.style.display="block")}))}},handleResetBadge=function(e){getNotifClient().resetBadge(),e.notifBadge&&(e.notifBadge.style.display="none"),e.profNotifBadge&&(e.profNotifBadge.style.display="none")},getPath=function(e){if("function"==typeof e.composedPath)return e.composedPath();if(e.path)return e.path;for(var n=e.target,t=[];null!==n.parentNode;)t.push(n),n=n.parentNode;return t.push(document,window),t},notify=function(e,n){var t=n.ybarAccountContainer,i=n.smartphoneNotifContainer,o=n.notificationMenu,s=n.notifBadge,r=n.dropdownContainer,a=n.ybarNotificationBody,c=n.profNotifBadge,l=n.backButton,d=function(e){(null==e?void 0:e.newCount)&&e.newCount>0&&s&&(s.style.display="block",c&&(c.style.display="block",c.innerText="".concat(e.newCount)))},u=getNotifClient(),p=function(){u.refreshPanel().then(d).catch((function(){}))};if(i){p();var f=setInterval((function(){p()}),3e5);e.onDestroy((function(){clearInterval(f)})),e.addElementListener(o,"click",(function(){p(),r&&(r.style.display="block"),t&&(t.style.width="100%",t.scrollTop=0,t.style.overflow="hidden"),handleResetBadge(n),beaconClick("ybar","notification","",{slk:"notification",elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"new alert":"",sec:"ybar",subsec:"notification",pkgt:"profile-pane",itc:"1"})})),e.addElementListener(l,"click",(function(){r&&(r.style.display="none"),t&&(t.style.width="",t.style.overflow=""),beaconClick("ybar","back-notification","",{slk:"back-notification",elm:"arrow",pkgt:"profile-pane",sec:"ybar",subsec:"notification",itc:"1"})})),a&&e.addElementListener(a,"click",(function(e){getPath(e).find((function(e){var n=e;if(n.nodeName&&"a"===n.nodeName.toLowerCase()&&n.classList.contains("yns-link"))return r&&(r.style.display="none"),t&&(t.style.width="",t.dispatchEvent(new CustomEvent("toggle-overlay"))),!0}))}))}},pfs=function(e,n,t){var i,o,s,r,a,c=/https:\/\/(.+[.])?pfs.yahoo.com(:[0-9]+)?/,l={},d=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),p=null,f="https://pfs.yahoo.com/",m=function(e){for(var n=e.split(";"),t=new Map,i=0;i=this.size())return null;for(var n=0,t=this.head;(null==t?void 0:t.next)&&nt?Promise.resolve(n.data):void 0}},setCacheData=function(e,n){var t={lastRequested:Date.now(),status:JwsRequestStatus.COMPLETE,promise:Promise.resolve(n),data:n};jwsCache.set(e,t)},setCachePromise=function(e,n){var t={lastRequested:Date.now(),status:JwsRequestStatus.PENDING,promise:n};jwsCache.set(e,t)},Jws=function(){function e(){}return Object.defineProperty(e.prototype,"wssid",{get:function(){var e,n,t=null===(e=window.YBAR)||void 0===e?void 0:e.wssid;return t||(t=(null===(n=document.querySelector('input[name="mail_wssid"]'))||void 0===n?void 0:n.value)||"",this.wssid=t),t},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.wssid=e||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appid",{get:function(){var e,n,t=null===(e=window.YBAR)||void 0===e?void 0:e.appid;return t||(t=(null===(n=document.querySelector('input[name="mail_appid"]'))||void 0===n?void 0:n.value)||"",this.appid=t),t},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.appid=e||""},enumerable:!1,configurable:!0}),e.prototype.fetchCount=function(e){return __awaiter(this,void 0,void 0,(function(){var n,t,i,o=this;return __generator(this,(function(s){return n=getCache(JwsRequestType.COUNT),!e&&n?[2,n]:(1,t={data:{responseType:"json",requests:[{id:"GetMailboxId",uri:"/ws/v3/mailboxes/",method:"GET",filters:{select:{mailboxId:"$..mailboxes[?(@.isPrimary==true)].id"}},suppressResponse:!0,requests:[{id:"ListDecos",uri:"/ws/v3/mailboxes/@.id==$(mailboxId)/decos",method:"GET"}]}]}},i=this._fetch(t,1,(function(e){var n=o._normalizerCountResponse(e);return setCacheData(JwsRequestType.COUNT,n),n})),setCachePromise(JwsRequestType.COUNT,i),[2,i])}))}))},e.prototype._fetch=function(e,n,t){var i,o;return __awaiter(this,void 0,void 0,(function(){var s,r,a,c,l,d,u,p,f,m,h,g,y,v,b,_;return __generator(this,(function(w){switch(w.label){case 0:if(s=e.data,r=void 0===s?{}:s,a=e.params,c=void 0===a?{}:a,l="EC-4008",d="EC-4003",u=this._getYmreqid(),!this.appid)throw new Error("No appId, user is logged out");p=__assign({appId:this.appid},c),this.wssid&&(p.wssid=this.wssid),e.params=p,f=[],Object.keys(p).forEach((function(e){var n=p[e];n&&f.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n)))})),m=f.length?"?".concat(f.join("&")):"",h="https://apis.mail.yahoo.com/ws/v3/batch".concat(m),w.label=1;case 1:return w.trys.push([1,4,,5]),[4,ybarFetch(h,{method:"POST",body:JSON.stringify(r),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":u}})];case 2:return[4,(g=w.sent()).json()];case 3:if(y=w.sent(),g.ok)return[2,t(null===(o=y.result)||void 0===o?void 0:o.responses)];if((v=null===(i=null==y?void 0:y.error)||void 0===i?void 0:i.code)===d)return[2,this._handleWssidApiError(y,e,n,t)];throw v===l?new Error("Session has expired"):new Error("Mail Api Responded with an Error");case 4:throw b=w.sent(),logError("JWS: ".concat((_=b).message),_),b;case 5:return[2]}}))}))},e.prototype._normalizePreviewResponse=function(e,n){var t,i,o,s=this,r=(void 0===n?{}:n).maxMessages,a=void 0===r?4:r;return e?((null===(o=null===(i=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.response)||void 0===i?void 0:i.result)||void 0===o?void 0:o.messages)||[]).map((function(e){return s._parseRawMessage(e)})).filter((function(e,n){return!!(e&&n0)return t-=1,this.wssid=r,this._fetch(n,t,i);throw new Error("Max retries with invalid WSSID reached")}throw new Error("valid WSSID missing from API Response")},e.prototype._parseRawMessage=function(e){var n,t,i,o,s,r,a=e.id,c=e.snippet,l=e.headers,d=e.flags;return(null==l?void 0:l.date)&&(null===(n=null==l?void 0:l.from)||void 0===n?void 0:n[0])?{from:(null===(i=null===(t=l.from)||void 0===t?void 0:t[0])||void 0===i?void 0:i.name)||"",email:(null===(s=null===(o=l.from)||void 0===o?void 0:o[0])||void 0===s?void 0:s.email)||"",subject:null==l?void 0:l.subject,read:null!==(r=null==d?void 0:d.read)&&void 0!==r&&r,mid:a,date:parseInt(l.date,10)||void 0,snippet:c||""}:null},e.prototype._getYmreqid=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-xxxx-09xx-xxxxxxxxxx00".replace(new RegExp("x","g"),(function(){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),n.toString(16)}))},e}(),init$2=function(e,n){var t=n.mailModule,i=n.mailLink,o=n.mailSigninLink,s=n.mailPreview;if(t){var r=new Jws;if(e.addElementListener(t,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){isHovered(t)||hideMailPopover(n)})),e.addElementListener(s,"focusin",(function(){showMailPopover(n)})),e.addElementListener(s,"focusout",(function(){hideMailPopover(n)})),e.onDestroy((function(){hideMailPopover(n)})),o){var a=i.getAttribute("data-redirect-params");if(a&&""!==a){var c=i.href;e.onDestroy((function(){i.href=c})),a=-1!==i.href.indexOf("&activity=ybar-")?"":a.replace(/\[\[pspid\]\]/,getSpaceId()),i.href=appendQorA(i.href)+a,(null==o?void 0:o.href)&&(o.href=appendQorA(o.href)+a)}}else loadUnreadCount(e,n,r)}},showMailPopover=function(e){var n,t;null===(n=e.mailPreview)||void 0===n||n.classList.add("ybarMenuOpen"),null===(t=e.mailLink)||void 0===t||t.setAttribute("aria-expanded","true")},hideMailPopover=function(e){var n,t;null===(n=e.mailPreview)||void 0===n||n.classList.remove("ybarMenuOpen"),null===(t=e.mailLink)||void 0===t||t.setAttribute("aria-expanded","false")},loadUnreadCount=function(e,n,t){var i=n.mailUnread,o=n.mailUnreadSpan;t.fetchCount().then((function(n){if(i&&n>0){if(i.style.visibility="visible",o){var t=n>99;o.textContent=t?"99+":n+""}e.onDestroy((function(){i.style.visibility="hidden",o&&(o.textContent="")}))}})).catch((function(){}))};initModule("ybar-mail-init",(function(e){var n=document.getElementById("ybarUnread"),t={mailModule:document.querySelector(".".concat(Css$2["ybar-mod-mail"])),mailLink:document.querySelector(".".concat(Css$2["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Css$2["ybar-mail-signin-link"])),mailUnread:n,mailUnreadSpan:null==n?void 0:n.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Css$2["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Css$2["ybar-mail-preview"].split(" ").join(".")," .").concat(Css$2["popover-body"].split(" ").join(".")))};init$2(e,t)}));var focused="_yb_7ii7o",Css$1={"dropdown-open":"_yb_78by1","dropdown-wrapper":"_yb_jlrpw",focused:focused,"long-list":"_yb_1pqmz","navigation-dropdown-item":"_yb_g8rel","navigation-dropdown-list":"_yb_1lko4","ybar-nav-list-desktop":"_yb_1yavc","ybar-navigation-item":"_yb_13szq","ybar-parent-navigation":"_yb_1n7s8","ybar-sub-navigation":"_yb_1ymuo","more-menu-nav-item":"_yb_1896k","drop-down-modal":"_yb_izwpk","dropdown-close":"_yb_plqpg"},showMailUnreadCount=function(e){var n=document.querySelector("#ybar-navigation-item-mail"),t=document.querySelector("#ybar-navigation-item-mail > a"),i=document.querySelector("#ybar-navigation-item-mail > a > span");null!==n&&null!==t&&(new Jws).fetchCount().then((function(n){i&&n>0&&(i.textContent="("+(n>999?"999+":n)+")",e.onDestroy((function(){i.textContent=""})))})).catch((function(){}))},nodeContains=function(e,n){var t=!1;if(!e||!n)return t;if("function"==typeof e.contains)t=e.contains(n);else for(var i=n;i;){if(i===e){t=!0;break}i=i.parentElement}return t},MORE_MENU_WIDTH=61,MORE_MENU_LONG_LIST_COUNT=10,moreMenuIndex=-1,marginLeftOffset,initDropdowns=function(e,n){var t;__spreadArray([],__read(null===(t=n.ybarNav)||void 0===t?void 0:t.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){return e.classList.remove(n.dropdownOpenClass)}));var i=n.isTablet?"touchstart":"mouseover",o=delegate_1(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),i,(function(t){if(window||document){var i=window.innerWidth||document.documentElement.clientWidth,o=t.delegateTarget;if(o&&-1!=o.className.indexOf(n.dropdownWrapperClass)&&(o=o.querySelector(".".concat(n.navigationDropdownListClass))),o){o.style.removeProperty("left"),n.shiftMoreMenuEnabled&&o.style.removeProperty("margin-left"),n.shiftMoreMenuEnabled&&marginLeftOffset&&(o.style.marginLeft=marginLeftOffset+"px");var s=o.getBoundingClientRect().right;s>i&&(n.shiftMoreMenuEnabled?(marginLeftOffset||(marginLeftOffset=parseInt(window.getComputedStyle(o).marginLeft,10)),o.style.marginLeft=marginLeftOffset+i-s+"px"):o.style.left=i-s+"px")}}else{var r=new Error("Dropdown could not be initialized");e.logError("Error:",r)}}));e.onDestroy((function(){o.destroy()}))},updateMoreMenu=function(e,n,t){var i,o,s,r=-1,a=0;if(e.ybarNav){var c=window.getComputedStyle(e.ybarNav),l=parseInt(c.width,10)-parseInt(c.paddingLeft,10)-parseInt(c.paddingRight,10),d=MORE_MENU_WIDTH,u=e.navigationPlacement();if(u)d+=u.getBoundingClientRect().width;for(var p=0;pm&&(p!==e.navItems.length-1||a+f>m||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&moreMenuIndexmoreMenuIndex&&-1!==moreMenuIndex)for(var g=moreMenuIndex;g=r;){var v=e.navItems[y].cloneNode(!0),b=v.querySelector("a");b&&(b.setAttribute("id",""),b.classList.remove(Css$1.focused));var _=v.querySelector(".".concat(e.navigationDropdownListClass));if(_&&(_.style.display="none"),v.classList.remove(e.dropdownWrapperClass),v.classList.remove(e.ybarNavigationItemClass),v.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(v,e.moreMenuDropdown.firstChild);var w=v.getElementsByTagName("a")[0];t.unshiftMoreMenuItem(w)}null===(s=e.navItems[y].querySelector("a"))||void 0===s||s.setAttribute("tabindex","-1"),y--}moreMenuIndex=r}if(-1!==r&&e.navList){var C=parseInt(a.toString(),10)+"px";e.navList.style.maxWidth=C,n.textContent=".".concat(Css$1["ybar-nav-list-desktop"],"{ max-width: ").concat(C,"}")}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>MORE_MENU_LONG_LIST_COUNT?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass)}},handleDropdownFocus=function(e,n){var t=function(e,t){var i;e.classList.contains(n.moreMenuNavItemClass)&&(null===(i=n.moreMenuMainFocusItem)||void 0===i||i.setAttribute("aria-expanded",t))},i=delegate_1(".".concat(n.dropdownWrapperClass),"focusin",(function(e){var i=e.delegateTarget;i&&i.classList.contains(n.dropdownWrapperClass)&&(i.classList.add(n.dropdownOpenClass),t(i,"true"))})),o=delegate_1(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),"focusout",(function(e){var i=e.delegateTarget;if(null==i?void 0:i.classList.contains(n.navigationDropdownListClass)){var o=i.parentElement;o&&!o.contains(e.relatedTarget)&&o.classList.contains(n.dropdownWrapperClass)&&(o.classList.remove(n.dropdownOpenClass),t(o,"false"))}else(null==i?void 0:i.classList.contains(n.dropdownOpenClass))&&(i.classList.remove(n.dropdownOpenClass),t(i,"false"))}));e.onDestroy((function(){var e;i.destroy(),o.destroy(),__spreadArray([],__read(null===(e=n.ybarNav)||void 0===e?void 0:e.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(n.dropdownOpenClass);var t=document.activeElement;nodeContains(n.ybarNav,t)&&setTimeout((function(){null==t||t.blur()}),1)}))}))},setNavigationFocus=function(e,n,t,i){for(var o=n||window.location.pathname,s=t||window.location.hostname,r=(i||{}).setParentFocus,a=void 0!==r&&r,c=__spreadArray([],__read(e.topLevelNavLinks),!1),l=null,d=null,u=0;u0),s=new A11yNavigation(e,{containerElm:n.ybarNav,navlistItemSelector:".".concat(Css$1["ybar-parent-navigation"]," > li"),dropdownClass:n.dropdownWrapperClass,enableMoreMenu:o,moreMenuNavElm:n.moreMenuMainFocusItem,isUserAccountNavigation:!1});initDropdowns(e,n),showMailUnreadCount(e),e.addElementListener(document,"DOMContentLoaded",(function(){showMailUnreadCount(e)})),handleDropdownFocus(e,n);var r=e.getConfig().bucketConfig,a=(void 0===r?{}:r).enableDynamicNavfocus;if(void 0!==a&&a&&setNavigationFocus(n),e.addEventListener("nav:setFocus",(function(e){var t=e.detail,i=void 0===t?{}:t,o=i.hostname,s=void 0===o?window.location.hostname:o,r=i.pathname,a=void 0===r?window.location.pathname:r,c=i.options;setNavigationFocus(n,a,s,void 0===c?{}:c)})),o){var c=document.createElement("style");c.title="ybar_nav_interim",document.head.appendChild(c);var l=delegate_1("#ybar-nav-more-menu ul a","click",(function(n){e.triggerEvent("navigation",{event:n})}));e.addEventListener("nav:resize",(function(){updateMoreMenu(n,c,s)})),updateMoreMenu(n,c,s),e.addElementListener(window,"load",(function(){updateMoreMenu(n,c,s)})),e.addElementListener(window,"resize",(function(){updateMoreMenu(n,c,s)})),e.onDestroy((function(){var e=c.parentNode;null==e||e.removeChild(c),l.destroy()}))}},SELECTOR_MORE_MENU="#ybar-nav-more-menu";initModule("ybar-mod-navigation",(function(e){var n,t={dropdownWrapperClass:Css$1["dropdown-wrapper"],isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:Css$1["long-list"],moreMenuDropdown:document.querySelector("".concat(SELECTOR_MORE_MENU," ul")),moreMenuNavItem:document.querySelector(SELECTOR_MORE_MENU),moreMenuNavLinksSelector:"".concat(SELECTOR_MORE_MENU," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(SELECTOR_MORE_MENU," > button")),moreMenuNavItemClass:Css$1["more-menu-nav-item"],navigationDropdownItemClass:Css$1["navigation-dropdown-item"],navigationDropdownListClass:Css$1["navigation-dropdown-list"],navItems:document.querySelectorAll("li.".concat(Css$1["ybar-navigation-item"])),topLevelNavLinks:document.querySelectorAll("li.".concat(Css$1["ybar-navigation-item"]," > 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:Css$1["ybar-navigation-item"],dropdownOpenClass:Css$1["dropdown-open"],navigationPlacement:function(){return n||(n=document.getElementById("ybar-nav-placement")),n}};t.ybarNav&&init$1(e,t)}));var Css={"notification-container--no-history":"_yb_13atk","tooltip-container":"_yb_1uip9","tooltip-container--active":"_yb_111ix","tooltip-container--open":"_yb_1125p","tooltip-container__btn--close":"_yb_gpi5a","tooltip-container__inner":"_yb_3973x"},LOCALSTORAGE_KEY="ytlv",HOURS_24=864e5,DAYS_7=7*HOURS_24,CLASS_OPEN=Css["tooltip-container--open"],CLASS_ACTIVE=Css["tooltip-container--active"],CLASS_BTN_CLOSE=Css["tooltip-container__btn--close"],CLASS_MENU=Css["tooltip-container__inner"],MAX_INIT_ATTEMPTS=5,INIT_INTERVAL_MS=100,PromoTooltip=function(){function e(e,n){var t=this;this.initialized=!1,this.ybar=e,this.container=n,this.a11yMenu=this.container.querySelector(".".concat(CLASS_MENU)),this.historyEnabled=!!Number(this.container.dataset.history);var i=this.getLocalStorage();this.state={lastSeen:(null==i?void 0:i.lastSeen)||null,manuallyClosed:(null==i?void 0:i.manuallyClosed)||!1},this.init();var o=0,s=setInterval((function(){o>=MAX_INIT_ATTEMPTS||t.initialized?clearInterval(s):(void 0!==t.isNotificationsSupported()&&t.init(),o++)}),INIT_INTERVAL_MS)}return e.prototype.show=function(e){var n;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(CLASS_OPEN),null===(n=this.a11yMenu)||void 0===n||n.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(CLASS_ACTIVE),document.body.classList.remove(CLASS_OPEN),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(CLASS_ACTIVE),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?DAYS_7:HOURS_24)||(document.body.classList.add(CLASS_ACTIVE),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(CLASS_BTN_CLOSE)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var n=new Date(this.lastSeen),t=new Date;return n.getTime()+e>t.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(LOCALSTORAGE_KEY,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,n,t=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(LOCALSTORAGE_KEY);if(null===t)return null;try{return JSON.parse(t)}catch(e){return null===(n=window.localStorage)||void 0===n||n.removeItem(LOCALSTORAGE_KEY),null}},e}(),loadCssAssets=function(e){for(var n,t,i=0;i0&&(cssCount++,loadCssAssets(e.css)),(null==e?void 0:e.newCount)&&e.newCount>0&&r&&(r.style.display="block")},u=function(){c.refreshPanel().then(d).then(refreshModule).catch((function(){}))};e.addEventListener("close-all-menus",(function(){isHovered(a)||l()})),a&&(u(),setInterval((function(){u()}),REFRESH_RATE),a.addEventListener("mouseenter",(function(){e.triggerEvent("close-all-menus"),document.querySelector(".display-push-promos .".concat(Css["notification-container--no-history"]))||(c.resetBadge(),r&&(r.style.display="none")),null==t||t.show()})),a.addEventListener("mouseleave",(function(){l(),null==t||t.hide()}))),e.addElementListener(i,"click",(function(){beaconClick("ybar","notification","",{elm:"btn",elmt:"block"===(null==r?void 0:r.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),o&&addHoverEvent(e,o,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(s,"focusin",(function(){i&&(i.checked=!0),null==s||s.classList.add("ybarMenuOpen")})),e.addElementListener(s,"focusout",l),e.addElementListener(n.tooltipContainer,"focusin",(function(){null==t||t.show()})),e.addElementListener(n.tooltipContainer,"focusout",(function(){null==t||t.hide()}))};initModule("ybar-mod-notification",(function(e){var n={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(Css["tooltip-container"]))};init(e,n)}))})()}};
setTimeout(function() {
(function (win, cfg) {
win._ybar_runtime_config = win._ybar_runtime_config || {};
Object.keys(cfg).forEach(function (key) {
win._ybar_runtime_config[key] = cfg[key];
});
})(window, {"property":"homepage","device":"desktop","locale":"en-US","bucketConfig":{"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"darker","scrollThreshold":4},"componentCount":0,"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","LITE_UPGRADE_PROMPT_MESSAGE":"Some parts of this page are not supported on your current browser version. Please upgrade to a recent browser version.","NOTIF_ONBOARD_UPSELL_TITLE":"Get news push notification","NOTIF_ONBOARD_UPSELL_SUBTITLE":"Keep up with the best stories in News, Sports, Finance, Entertainment and more!","NOTIF_ONBOARD_UPSELL_CTA":"Turn On","NOTIF_ONBOARD_UPSELL_CLOSE":"Not now","SEARCH_TOOLTIP_VOICE":"Search with voice","SEARCH_TOOLTIP_WEB":"Search the web"}},"mailVariantLogos":{}}); $_mod_ybar && $_mod_ybar.ready();
}, 500); // adding delay to YBAR init to wait base page rapid initialization '+_+"":"",e.title=C(n.league_n_tmpl,[d,t,u,p,a+s+c+r+l]))}catch(e){}else e.title=C(n.league_tmpl,[d,p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})]);else{try{e.title=v?C(n.l_tmpl,[f,m,p,h,g])+'':w?C(n.f_tmpl,[f,m,p,y.toLocaleString([],{day:"numeric",month:"short",timeZone:e.tz})]):C(n.n_tmpl,[p,y.toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZoneName:"short",timeZone:e.tz})])}catch(e){}t&&(e.imageUrl=t)}}}function pe(e,n){var t=this.config,i=n.m;n=n.fd,e=e.li;t.enableNewLeagueTmpl&&48==i&&n&&n.qtype&&"lg"==n.qtype&&(e.className+=" league")}function fe(){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} - {3}{5} {6} {7}',league_f_tmpl:'{0}{2} - {3}{5} {6}',liveIconClass:"sa-ico-live",maxLen:60,sepThreshold:10}}function me(e){var n,t,i,o,s,r,a,c=this.config,l=e.m;e=e.fd;41==l&&e&&!e.subtitle&&(l=e.img_url||"",n=e.condition,t=e.degree,i=e.high_temp&&"• H:"+e.high_temp+"°",o=e.low_temp&&"L:"+e.low_temp+"°",s=e.loc&&"• "+e.loc,r=e.warning?'':"",a=this.app.format,c.enableHL?e.title=a(c.tmpl_hl,[l,t,r,n,i,o,s]):e.title=a(c.tmpl,[l,t,n,s]))}function he(){this.config={enableHL:!1,tmpl:'{1} {2} {3}',tmpl_hl:'{1} {2} {3} {4} {5} {6}'}}function ge(e){var n,t,i,o,s=this.config,r=e.m,a=e.d;e=e.fd;27==r&&e&&(a&&"movie"==a.subdn?(i=e.year||"",r=e.genre&&e.genre[0]?e.genre[0]+" "+s.text.movie:s.text.movie,t=e.releaseDate?new Date(e.releaseDate):"",n=new Date,t&&nManage history'},log:{sec:"search",slk:"clear history",rspns:"upd",t2:"search",t4:"clear history"}}}function Ie(){function e(e){e.keyCode&&27!==e.keyCode&&13!=e.keyCode||(l.stopPropagation(e),s.value="",l.setFocus(s),i.show(),t.control.beacon("tapClr",r,n.config.log))}var n=this,t=n.app,i=t.view,o=i.elems,s=o.sbInput,r=o.sbClear;r&&(l.ae(r,"click",e),l.ae(r,"keydown",e))}function Me(){this.config={log:{_r:2,actn:"clk",pos:1,sec:"search",slk:"clearsearch",t1:"hdr",t2:"search",t3:"clear",t4:"clearsearch"}}}c.SA=(n=[],q.prototype={jsonp:function(e){var n=a.getElementsByTagName("head")[0],t=a.createElement("script");l.set(t,"type","text/javascript"),l.set(t,"src",e),n.appendChild(t),l.ae(t,"load",(function(){n.removeChild(t)}))},xhr:function(e,n){var t=new XMLHttpRequest;t.open("GET",e),t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.onreadystatechange=function(){var e=t.status;(4==t.readyState&&200"+s+" "+t.config.saAria.shownText+"")},show:function(){var e=this,n=e.config,t=e.elems.sbInput.value,i=t.length;e.app.notify(b),e.shown&&e.sameQuery()||(e.lastInput=t,in.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,n=(i=e.elems).sbInput,t=i.saAria,i=i.sbForm,o=e.config;l.removeClass(a.body,o.typingClass),i&&i.parentElement&&l.removeClass(i.parentElement,o.typingClass),l.removeClass(i,o.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,n&&l.set(n,"aria-expanded","false"),t&&(l.set(t,"aria-expanded","false"),t.innerHTML=""+e.config.saAria.closedText+""),e.app.notify(w)},clearAssist:function(){this.elems.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null},createItem:function(e){var n={idx:e.idx,data:e.origData},t=l.htmlEncode,i=this.config,o=this.app.createElem,s={},r=(i.highlight&&l.merge(s,i.highlight),e.highlight&&l.merge(s,e.highlight),o(i.saItem,"li"));return(o=(l.set(r,"pos",e.idx),o(i.saTitle,"span"))).innerHTML=e.t||(i.boldTag&&e.k&&e.q?l.bold(i.boldTag,t(e.k),t(e.q),s):t(e.k)),r.appendChild(o),n.li=r,n.title=o,this.app.notify(v,[n,e]),n},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,n=e.config,t=e.elems.sbForm;n.resetQuery&&e.resetQuery(),e.hide(),t.action=e.origAction,e.app.notify(_)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput}},U),e.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},d.hideSbClr=(H.prototype={init:function(e){(this.app=e).on(b,F,this)}},H),d.saFr=(z.prototype={init:function(e){(this.app=e).on(m,V,this),e.on(S,Y,this),e.on(_,G,this)}},z),d.ipos=(J.prototype={init:function(e){(this.app=e).on(b,W,this),e.on(u,K,this)}},J),d.saTray=(X.prototype={init:function(e){(this.app=e).on(f,Q,this)}},X),d.saFlvr=(ee.prototype={init:function(e){e.on(v,Z,this)}},ee),d.saWhatToWatch=(ie.prototype={init:function(e){var n=this;n.whatToWatch=[],n.beforeNode=null,n.currentPos=0,(n.app=e).on(v,ne,n),e.on(y,te,n)}},ie),d.saEdit=(se.prototype={init:function(e){e.on(v,oe,this)}},se),d.saAnnot=(ae.prototype={init:function(e){e.on(v,re,this)}},ae),d.saStock=(de.prototype={init:function(e){(this.app=e).on(g,ce,this),e.on(v,le,this)}},de),d.saSport=(fe.prototype={init:function(e){(this.app=e).on(g,ue,this),e.on(v,pe,this)}},fe),d.saWeather=(he.prototype={init:function(e){(this.app=e).on(g,me,this)}},he),d.saEntertainments=(ye.prototype={init:function(e){(this.app=e).on(g,ge,this)}},ye),d.saImg=(be.prototype={init:function(e){e.on(v,ve,this)}},be),d.saGroup=(Ce.prototype={init:function(e){this.app=e,this.idxs={},e.on(v,_e,this),e.on(y,we,this)}},Ce),d.saPCActn=(xe.prototype={init:function(e){var n=this;n.app=e,n.selectedIndex=-1,e.on(p,Ee,n),e.on(C,Se,n),e.on(A,Le,n),e.on(M,ke,n)}},xe),d.tapRmv=(Ae.prototype={init:function(e){(this.app=e).on(E,Te,this)}},Ae),d.tapClr=(Me.prototype={init:function(e){(this.app=e).on(C,Ie,this)}},Me)}();var history="_yb_na9ez",lowlight="_yb_1p0yz",sa="_yb_uaper",trending="_yb_13css",Css$5={"bot-search-icon":"_yb_icdyc","bot-search-icon-container":"_yb_9x0wz","bot-search-item":"_yb_5bshm","bot-search-item-col":"_yb_bnb4y","bot-search-span":"_yb_1l5hc",history:history,"list-item-hover":"_yb_r5rm7",lowlight:lowlight,"no-wrap":"_yb_12ugt","related-title":"_yb_1viml",sa:sa,"sa-annot-rich":"_yb_15wih","sa-annot-subtitle":"_yb_1a8ib","sa-annot-title":"_yb_7l48o","sa-edit":"_yb_joph9","sa-edit-icon":"_yb_bn942","sa-edit-text":"_yb_ws079","sa-fd-actn-cont":"_yb_29u3k","sa-grp-hdr":"_yb_1r9te","sa-grp-hdr-title":"_yb_1d86g","sa-history":"_yb_1ejbz","sa-img":"_yb_qf2qs","sa-img-ctn":"_yb_suu8l","sa-img-icon":"_yb_18t18","sa-item":"_yb_104uc","sa-item-title":"_yb_6eh4k","sa-rich-thumb":"_yb_1tp64","sa-sbx-container":"_yb_1xed1","sa-sugg":"_yb_kxs0s","sa-thumb-icon":"_yb_1ypsw","sa-tray":"_yb_xy5ss","sa-tray-list-container":"_yb_zcgub","sa-trending":"_yb_nvfhi","sub-assist":"_yb_dm5fy","suggestion-title":"_yb_1r8c5",trending:trending,"trending-title":"_yb_557hm","yui3-highlight":"_yb_1vnxp"},saConfV1={boldTag:'{s}',customEvent:{customBtn:"searchBtnClicked",customKeyBoard:"enterKeyPressed",customSelection:"assistSelectionClicked"},elems:{sbForm:"ybar-sf",sbInput:"ybar-sbq",sbSubmit:"ybar-search",sbClear:"ybar-sbq-x",sbCancel:"ybar-search-back-btn"},hightlight:{exact:!0,pattern:"^"},minInput:1,sa:{css:Css$5["sa-tray"]},saBE:{base:"",host:"",params:{appid:"yfp-t"}},saItem:{css:""},saList:{css:Css$5["sa-tray-list-container"]},saTitle:{css:"",style:{display:"block"}},plugins:{saFr:{disable:!0},saTray:{afterNode:"ybar-sbq",ctn:{css:Css$5["sa-sbx-container"]},tray:{css:Css$5.sa+" "+Css$5.lowlight}},saPCActn:{css:Css$5["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}}},richSAConfV1={saBE:{base:"",host:"",params:{appid:"yfp-t",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},minInput:0,plugins:{saFlvr:{m9:Css$5["sa-trending"],m13:Css$5["sa-history"],flvr:Css$5["sa-sugg"]},saEdit:{ctn:{css:Css$5["sa-edit"]},icon:{css:Css$5["sa-edit-icon"]},text:{css:Css$5["sa-edit-text"],text:"Remove"}},saAnnot:{title:{css:Css$5["sa-annot-title"]},subtitle:{css:Css$5["sa-annot-subtitle"]},richClass:Css$5["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Css$5["sa-img-icon"]},thumbnail:{css:Css$5["sa-img"]},ctn:{css:Css$5["sa-img-ctn"]}},saWhatToWatch:{disable:!0},saGroup:{hdr:{css:Css$5["sa-grp-hdr"]},title:{css:Css$5["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Css$5.trending},m13:{text:"",css:Css$5.history}}}}},richSAConfV1Smartphone={saBE:{base:"",host:"",params:{appid:"mi5",".crumb":"",f:1}},shBE:{host:"https://search.yahoo.com",base:"/history",params:{_bcrumb:""}},saItem:{css:Css$5["sa-item"]},saTitle:{css:Css$5["sa-item-title"]},minInput:0,plugins:{saFlvr:{m9:Css$5["sa-trending"],m13:Css$5["sa-history"],flvr:Css$5["sa-sugg"]},saEdit:{ctn:{css:Css$5["sa-edit"]},icon:{css:Css$5["sa-edit-icon"]},text:{css:Css$5["sa-edit-text"]}},saAnnot:{title:{css:Css$5["sa-annot-title"]},subtitle:{css:Css$5["sa-annot-subtitle"]},richClass:Css$5["sa-annot-rich"]},tapRmv:{placeholder:""},saImg:{placeholder:{css:Css$5["sa-img-icon"],wrap:{css:Css$5["sa-thumb-icon"]}},thumbnail:{css:Css$5["sa-img"]},ctn:{css:Css$5["sa-img-ctn"]},richClass:Css$5["sa-rich-thumb"],showIconOnImgLoad:!0},saGroup:{hdr:{css:Css$5["sa-grp-hdr"]},title:{css:Css$5["sa-grp-hdr-title"]},grps:{m9:{text:"Trending Now",css:Css$5.trending},m13:{text:"",css:Css$5.history}}}}},bottomSearch=function(e,n,t){var i=document.createElement("div");i.className=t["bot-search-item"];var o=document.createElement("div"),s=document.createElement("div");o.className=t["bot-search-item-col"],s.className=t["bot-search-item-col"];var r=document.createElement("div");r.className=t["bot-search-icon-container"];var a=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=document.createElementNS("http://www.w3.org/2000/svg","path");a.setAttribute("width","20"),a.setAttribute("height","20"),a.setAttribute("viewBox","0 0 24 24"),a.classList.add(t["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"),a.appendChild(c),r.appendChild(a),o.appendChild(r);var l=document.createElement("span"),d=document.createElement("span");d.className=t["bot-search-span"];var u=document.createElement("span"),p=e.split("{query}");return l.textContent=p[0]||"",d.textContent=n,u.textContent=p[1]||"",s.appendChild(l),s.appendChild(d),s.appendChild(u),i.appendChild(o),i.appendChild(s),i},_getQueryStringByName=function(e){var n=new RegExp("[?&]"+e+"=([^]*)").exec(window.location.search);return n?n[1]:null},_getFrValueByMode=function(e,n,t){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=document.getElementById("ybar"),o=null==i?void 0:i.querySelector('input[name="fr"]'),s=o?o.value:"yfp-t",r=_getQueryStringByName("fr"),a=r||s,c=i&&i.className&&i.className.match(/ybar-variant-([a-z]+)/),l=c?c[1]:"";return-1===["att","frontier","rogers"].indexOf(l)&&(e&&(a+="-m"),n&&(a+="-s")),"tn"!==t&&"tg"!==t||(a=r?a+"-tn":(null==o?void 0:o.dataset.tnvalue)||a),a},_getFr2ValueByMode=function(e,n,t,i,o){void 0===t&&(t=!1);var s=null,r="smartphone"===n&&!!document.querySelector(".Reader-open")||"smartphone"!==n&&!!document.querySelector(".modal-open"),a=e.querySelector('input[name="fr2"]');if(a){s=a.value;var c=a.dataset&&a.dataset.savalue,l=a.dataset&&a.dataset.modalsb,d=a.dataset&&a.dataset.modalsa;t?s=r&&d?d:c:r&&l&&(s=l),i&&o&&(s="".concat(s,",ct:").concat(i,",kt:").concat(o))}return s},_getTsrcValueByMode=function(e,n){void 0===n&&(n=!1);var t=null,i=e.querySelector('input[name=".tsrc"]');if(i){t=i.value;var o=i.dataset&&i.dataset.savalue;n&&o&&(t=o)}return t},_setInputValues=function(e,n,t){var i=e.querySelectorAll(n);if(i)for(var o=0;o=0?(s="srch-asst",l=!0,c=a.idx+1):s="kybrd":s="botSearchClicked"===e.type?"sitesrch":"icon",r||l){var d=y(a),p=d.category,f=d.keyword;setFr2(n,o,l,p,f),"homepage"===i||"my"===i?(setFr(n,r,l,p),setTsrc(n,l)):"smartphone"===o&&setTsrc(n,l)}C(getI13nObject(s,"0",c.toString()))}},b=function(e){var t,s=!!document.querySelector(".modal-open"),r=null===(t=e.detail)||void 0===t?void 0:t.data,a=!0,c=(r&&r.idx||0)+1,l=y(r),d=l.category,u=l.keyword;setFr2(n,o,a,d,u),"homepage"===i||"my"===i?(setFr(n,s,a,d),setTsrc(n,a)):"smartphone"===o&&setTsrc(n,a),C(getI13nObject("srch-asst","0",c.toString()))},_=function(e){if("function"==typeof t.beaconClick&&9!==e.keyCode&&13!==e.keyCode&&1===h&&"smartphone"!==o){t.saveCurrentTimerValue("search_input_keyboard_input");var n=getI13nObject("keystroke","1");delete n.clickParams.tar,h++,t.beaconClick(n.sec,n.slk,n.pValue,n.clickParams)}},w=function(){t.saveCurrentTimerValue("search_input_focus_click"),"smartphone"===o&&n.addEventListener("click",(function(){if(e){if(e.classList.contains("ybar-searchbox-assist-fullscreen"))return;e.classList.add("ybar-searchbox-assist-fullscreen")}if(!document.documentElement.classList.contains("ybar-overlay")){document.documentElement.classList.toggle("ybar-overlay"),document.body.classList.add("ybar-overlay-noscroll");"function"==typeof t.beaconClick&&t.beaconClick("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"})}}))},C=function(e){if("function"==typeof t.beaconClick){t.saveCurrentTimerValue("search_query_submit");var i={pp:{A_utm:t.getPerformanceI13nObject()}};t.beaconClick(e.sec,e.slk,e.pValue,e.clickParams,void 0,(function(){setTimeout((function(){n&&n.submit()}),300)}),i)}else n&&n.submit()};function E(){this.config={botSearch:{action:p,text:m||""},suggestionTitle:{text:f||""}}}function S(e){var n=this.config,t=this.app.view,i=t.elems.sbForm,o=t.elems.sbInput.value,s=suggestionTitle(Css$5,n.suggestionTitle.text),r=bottomSearch(n.botSearch.text,o,Css$5);r&&(e&&s&&(e.prepend(s),e.appendChild(r)),r.addEventListener("click",(function(){n.botSearch.action&&(i.action=n.botSearch.action),t.hide(),v(new CustomEvent("botSearchClicked"))})))}function L(){this.config={}}function k(){""===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")}u&&(u&&(u.addEventListener("enterKeyPressed",v),u.addEventListener("assistSelectionClicked",b),u.addEventListener("searchBtnClicked",v),u.addEventListener("keydown",_),u.addEventListener("click",w)),"homepage"!==i&&"my"!==i||(setFr(n),"homepage"===i&&setTypeByQueryString(n)),t.saveCurrentTimerValue("search_assist_ready")),E.prototype={init:function(e){this.app=e,e.on("after_update_list",S,this)}},p&&(null===(l=window.YAHOO.SA)||void 0===l||l.add("saBotSearch",E)),L.prototype={init:function(e){var n=this;n.app=e,e.on("before_button_submit",k,n),e.on("before_key_submit",k,n)}};var x=function(e){var n;return null===(n=window.localStorage)||void 0===n?void 0:n.setItem(WHAT_TO_WATCH_KEY,e)};(function(e){var n=new Date;if(!0!==c&&(null===e||!function(e){var n=__read(e.toLocaleTimeString("en-US",{hour12:!1,timeZone:"America/Los_Angeles",hour:"numeric",weekday:"narrow"}).split(", "),2),t=n[0],i=n[1],o=parseInt(i);return("S"===t||"F"===t)&&o>=14&&ol?(x("".concat(i,",1")),!0):!Number.isNaN(d)&&2>d&&(x("".concat(i,",2")),!0)})(r)&&(u&&""!==a&&u.setAttribute("placeholder",a),n.classList.add("ybar-enable-watch-to-watch"),null===(d=window.YAHOO.SA)||void 0===d||d.add("saWTW",L))},saInitV1=function(e,n,t,i,o,s,r){var a,c,l=n.searchBox.getAttribute("data-appid"),d=n.searchBox.getAttribute("data-pubid");if(window.YAHOO&&window.YAHOO.SA){"attgoog"===l&&(t.saBE.params.appid="attgoog"),d&&""!==d&&(t.saBE.params.pubid=d),t.saBE.host=s?n.searchBox.getAttribute("data-fastbreak"):n.searchBox.getAttribute("data-sabase");var u=n.searchBox.dataset.sacrumb,p=n.searchBox.dataset.sabcrumb,f=n.searchBox.dataset.mtestid;u&&(t.saBE.params[".crumb"]=u),p&&t.shBE&&(t.shBE.params._bcrumb=p),f&&(t.saBE.params.mtestid=f);var m=e.getConfig();ApplyOverrides(n.ybar,n.searchBox,{beaconClick:beaconClick,saveCurrentTimerValue:saveCurrentTimerValue,getPerformanceI13nObject:getPerformanceI13nObject},i,o,s,r,(null===(a=null==m?void 0:m.bucketConfig)||void 0===a?void 0:a.placeholder)||"",(null===(c=null==m?void 0:m.bucketConfig)||void 0===c?void 0:c.force_what_to_watch)||!1),window.YAHOO.SA.init(t)}else{var h="Search lib not found. SearchAssist failed to initialise";e.logError(h,new Error(h))}};initModule("ybar-mod-assistjs",(function(e){var n,t=document.getElementById("ybar-sf"),i=document.getElementById("ybar-w2w-list"),o=null;if(t&&"true"===t.getAttribute("data-saEnabled")){var s={ybar:document.getElementById("ybar"),searchBox:t,searchInput:document.getElementById("ybar-sbq"),searchBoxBackButton:document.getElementById("ybar-search-back-btn")},r=e.getConfig(),a=saConfV1,c=!!r.bucketConfig.enable_search_ui;if(c){var l="smartphone"===r.device?richSAConfV1Smartphone:richSAConfV1,d=t.getAttribute("data-tn-title");d&&(null===(n=null==l?void 0:l.plugins)||void 0===n?void 0:n.saGroup)&&Object.assign(l.plugins.saGroup,{grps:{m9:{text:d}}}),a=__assign(__assign(__assign({},saConfV1),l),{plugins:__assign(__assign({},saConfV1.plugins),l.plugins)})}i&&!0===r.bucketConfig.enable_what_to_watch&&((o=i.cloneNode(!0)).removeAttribute("id"),o.removeAttribute("style")),saInitV1(e,s,a,r.property,r.device,c,o)}}));var hide="_yb_iayvi",opened="_yb_14q5d",wrap="_yb_iaeb7",Css$4={hide:hide,"more-btn":"_yb_1kr7r",opened:opened,wrap:wrap};initModule("ybar-mod-navigation",(function(e){var n={moreDropDown:document.querySelector(".".concat(Css$4.hide)),moreBtn:document.querySelector(".".concat(Css$4["more-btn"])),wrap:document.querySelector(".".concat(Css$4.wrap))},t=function(e){var n=e.moreDropDown,t=e.moreBtn,i=e.wrap,s={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};n&&t&&i&&(n.classList.contains("".concat(Css$4.hide))||(n.classList.add("".concat(Css$4.hide)),i.classList.remove("".concat(Css$4.opened)),t.setAttribute("aria-expanded","false"),beaconClick("ybar",s.slk,"",s),document.body.removeEventListener("click",o,!1)))},i=function(e){var n=e.moreDropDown,i=e.moreBtn,s=e.wrap;n&&i&&s&&(n.classList.contains("".concat(Css$4.hide))?function(e){var n=e.moreDropDown,t=e.moreBtn,i=e.wrap,s={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"};n&&t&&i&&n.classList.contains("".concat(Css$4.hide))&&(n.classList.remove("".concat(Css$4.hide)),i.classList.add("".concat(Css$4.opened)),t.setAttribute("aria-expanded","true"),s.elm="expand",beaconClick("ybar",s.slk,"",s),document.body.addEventListener("click",o,!1))}(e):t(e))},o=function(e){if(n.moreBtn&&n.moreBtn.parentElement){var i=e.composedPath();i.length>0&&!i.includes(n.moreBtn.parentElement)&&t(n)}};n.moreBtn&&e.addElementListener(n.moreBtn,"click",(function(){i(n)})),e.onDestroy((function(){t(n)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&t(n)}))}));var homepage_show_saved_accounts="_yb_wi6ir",mobile="_yb_1ymd0",show="_yb_6rq13",smartphone="_yb_1jm2s",Css$3={homepage_show_saved_accounts:homepage_show_saved_accounts,mobile:mobile,"prof-notif-badge":"_yb_vwdvy",show:show,"sign-in-menu":"_yb_8ogmz","signed-in":"_yb_ofwtx","signed-out":"_yb_1id5n","signedout-text":"_yb_ydjxv",smartphone:smartphone,"notification-container":"_yb_1wqgh","pfs-container":"_yb_1ysip","pfs-iframe":"_yb_bw9tj","ybar-account-img-signed-out":"_yb_iz0qt","ybar-account-menu":"_yb_1hg1u","ybar-account-menu-item-signed-out":"_yb_sajv6","ybar-account-user-email":"_yb_r0bbs","ybar-account-user-email-other":"_yb_7gk22","ybar-account-user-name":"_yb_yr7zq","ybar-account-user-signedout":"_yb_1o178","ybar-account-yahoo-plus-imp":"_yb_1cou0","ybar-icon-arrow":"_yb_7sdnu","ybar-icon-arrow-down":"_yb_fpdlk","ybar-icon-arrow-up":"_yb_18odi","ybar-icon-image-wrapper":"_yb_yrczx","ybar-item-hidden":"_yb_1f3q7","ybar-login-btn":"_yb_m8428","ybar-mod-account":"_yb_14twp","ybar-mod-mail":"_yb_1tt3n","ybar-see-info":"_yb_ewxme","ybar-sign-out":"_yb_6bn0l","ybar-sign-out-text":"_yb_127zr","ybar-user-accounts-list":"_yb_1jpqc","ybar-user-profile-img":"_yb_1nrzq"},PATTERN_GDPR_CONSENT=/\$({|%7B)GDPR_CONSENT_(\d+)(}|%7D)/g,PATTERN_GDPR=/\$({|%7B)GDPR(}|%7D)/g,PATTERN_TIMESTAMP=/\[timestamp\]/g,getTCData=function(e){return new Promise((function(n,t){if(!window.__tcfapi){var i="Missing TCF API",o=new Error(i);return logError(i,o),t(o)}window.__tcfapi("getTCData",2,(function(e,i){return i&&"error"!==e.cmpStatus?n(e):t(!1)}),e)}))},replaceTimestamp=function(e){return e.replace(PATTERN_TIMESTAMP,Date.now()+"")},replaceGDPR=function(e,n){var t=n.gdprApplies;return e.replace(PATTERN_GDPR,t?"1":"0")},replaceGDPRConsent=function(e,n){var t=n.gdprApplies,i=n.tcString;return e.replace(PATTERN_GDPR_CONSENT,t?i:"")},addConsentToUrl=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,t,i,o;return __generator(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,getTCData()];case 1:return n=s.sent(),t=replaceGDPR(e,n),i=replaceGDPRConsent(t,n),[2,replaceTimestamp(i)];case 2:return s.sent(),o="Error adding consent to ".concat(e),logError(o,new Error(o)),[2,e];case 3:return[2]}}))}))},complete=function(e,n){if(200!==e.status){var t=new Error("Request failed with status: "+e.status);t._meta={status:e.status},e.ymreqid&&(t._meta={ymreqid:e.ymreqid}),n(t)}else{var i=null;try{i=JSON.parse(e.responseText)}catch(e){var o=new Error("Error parsing responseText");return o._meta={originalError:e},void n(o)}n(null,i)}},_ieFetch=function(e,n){return void 0===n&&(n={}),__awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){return[2,new Promise((function(t,i){var o=new XMLHttpRequest;if(o.open("string"==typeof n.method?n.method:"GET","string"==typeof e?e:e.url,!0),"object"==typeof n.headers){var s=n.headers;for(var r in s)o.setRequestHeader(r,s[r])}o.withCredentials="include"===n.credentials,o.onreadystatechange=function(){4===o.readyState&&t({ok:o.status>=200&&o.status40959)&&(o19903))return!1}return!0},normalizeAndEscapeUserRecord=function(e){var n={fn:e.fn||"",ln:e.ln||"",em:e.em||"",alias:e.alias||"",imageUrl:e.imageUrl,state:e.state,fullName:null,identifier:""};return n.fullName=isNameCJK(n.fn,n.ln)?[n.ln,n.fn].join(""):[n.fn,n.ln].join(" "),n.identifier=n.em||n.alias,n},createAccountItemElement=function(e,n,t){var i=t.ybarAccMenuItemTemplate,o=t.crumb;if(i){var s=(n+1).toString(),r=i.getAttribute("data-signedOutState"),a=i.getAttribute("data-done")||"",c=getTemplateContent(i),l=c.children&&c.children[0];if(!l&&c.childNodes)for(var d=0;d=0;--n){e[n]=normalizeAndEscapeUserRecord(e[n]);var t=e[n].state;0!==t&&"0"!==t||(window.YBAR&&window.YBAR.setUserEmail(e[n].em),e.splice(n,1)[0])}return e},addDoneUrlToEl=function(e,n,t){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(t&&(t=~e.indexOf("&activity=ybar-")?void 0:t.replace("[[pspid]]",getSpaceId())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),t&&(e+="&"+t),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(n)):(e=appendQorA(e),e+=".done="+encodeURIComponent(n),t&&(e+="&"+t),e))},addDoneUrlToAllLink=function(e,n){var t,i=e.ybarAccMenuItemTemplate,o=e.ybarAccountContainer,s=document.querySelector(".".concat(Css$3["ybar-mod-account"]," .").concat(Css$3["ybar-login-btn"])),r=document.querySelector(".".concat(Css$3["ybar-mod-account"]," .").concat(Css$3["ybar-sign-out"])),a=o&&o.querySelectorAll("a"),c="",l=window.location.href;if(s){var d=s.href;n.onDestroy((function(){s.href=d})),s.href=addDoneUrlToEl(s.href,l,s.getAttribute("data-redirect-params")||void 0)}if(i?(l=i.getAttribute("data-done")||"",c=i.getAttribute("data-sign-out-url")||""):r&&(c=r.getAttribute("data-sign-out-url")||""),a){var u=function(){var e=t,i=a[e].href;n.onDestroy((function(){a[e].href=i}));var o=a[t].getAttribute("data-redirect-params");a[t].classList.contains(Css$3["ybar-sign-out"])?a[t].href=addDoneUrlToEl(a[t].href,c,o||void 0):a[t].href=addDoneUrlToEl(a[t].href,l,o||void 0)};for(t=0;t0){var h=document.querySelector("".concat(s," .").concat(Css$3["ybar-sign-out"])),g=h&&h.getAttribute("data-soa"),y=document.querySelector("".concat(s," .").concat(Css$3["ybar-sign-out-text"]));if(y&&g&&(y.innerText=g),c&&c.classList.add(Css$3.show),t){var v=document.querySelector("".concat(s," ").concat(Css$3["ybar-icon-arrow"])),b=Css$3["ybar-icon-arrow-up"],_=Css$3["ybar-icon-arrow-down"],w=Css$3["ybar-item-hidden"],C=document.querySelectorAll(".".concat(Css$3["ybar-item-hidden"]));v&&(v.classList.toggle(_),e.addElementListener(v,"click",(function(){for(var e=0;ed){var E=document.querySelector("".concat(s," .").concat(Css$3["ybar-see-info"]));E&&E.style&&(E.style.display="block")}addDoneUrlToAllLink(n,e)}else r&&(r.style.display="block")}))}},handleResetBadge=function(e){getNotifClient().resetBadge(),e.notifBadge&&(e.notifBadge.style.display="none"),e.profNotifBadge&&(e.profNotifBadge.style.display="none")},getPath=function(e){if("function"==typeof e.composedPath)return e.composedPath();if(e.path)return e.path;for(var n=e.target,t=[];null!==n.parentNode;)t.push(n),n=n.parentNode;return t.push(document,window),t},notify=function(e,n){var t=n.ybarAccountContainer,i=n.smartphoneNotifContainer,o=n.notificationMenu,s=n.notifBadge,r=n.dropdownContainer,a=n.ybarNotificationBody,c=n.profNotifBadge,l=n.backButton,d=function(e){(null==e?void 0:e.newCount)&&e.newCount>0&&s&&(s.style.display="block",c&&(c.style.display="block",c.innerText="".concat(e.newCount)))},u=getNotifClient(),p=function(){u.refreshPanel().then(d).catch((function(){}))};if(i){p();var f=setInterval((function(){p()}),3e5);e.onDestroy((function(){clearInterval(f)})),e.addElementListener(o,"click",(function(){p(),r&&(r.style.display="block"),t&&(t.style.width="100%",t.scrollTop=0,t.style.overflow="hidden"),handleResetBadge(n),beaconClick("ybar","notification","",{slk:"notification",elm:"btn",elmt:"block"===(null==s?void 0:s.style.display)?"new alert":"",sec:"ybar",subsec:"notification",pkgt:"profile-pane",itc:"1"})})),e.addElementListener(l,"click",(function(){r&&(r.style.display="none"),t&&(t.style.width="",t.style.overflow=""),beaconClick("ybar","back-notification","",{slk:"back-notification",elm:"arrow",pkgt:"profile-pane",sec:"ybar",subsec:"notification",itc:"1"})})),a&&e.addElementListener(a,"click",(function(e){getPath(e).find((function(e){var n=e;if(n.nodeName&&"a"===n.nodeName.toLowerCase()&&n.classList.contains("yns-link"))return r&&(r.style.display="none"),t&&(t.style.width="",t.dispatchEvent(new CustomEvent("toggle-overlay"))),!0}))}))}},pfs=function(e,n,t){var i,o,s,r,a,c=/https:\/\/(.+[.])?pfs.yahoo.com(:[0-9]+)?/,l={},d=e.getConfig(),u=new URLSearchParams({activity_p:"ybar"}),p=null,f="https://pfs.yahoo.com/",m=function(e){for(var n=e.split(";"),t=new Map,i=0;i=this.size())return null;for(var n=0,t=this.head;(null==t?void 0:t.next)&&nt?Promise.resolve(n.data):void 0}},setCacheData=function(e,n){var t={lastRequested:Date.now(),status:JwsRequestStatus.COMPLETE,promise:Promise.resolve(n),data:n};jwsCache.set(e,t)},setCachePromise=function(e,n){var t={lastRequested:Date.now(),status:JwsRequestStatus.PENDING,promise:n};jwsCache.set(e,t)},Jws=function(){function e(){}return Object.defineProperty(e.prototype,"wssid",{get:function(){var e,n,t=null===(e=window.YBAR)||void 0===e?void 0:e.wssid;return t||(t=(null===(n=document.querySelector('input[name="mail_wssid"]'))||void 0===n?void 0:n.value)||"",this.wssid=t),t},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.wssid=e||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appid",{get:function(){var e,n,t=null===(e=window.YBAR)||void 0===e?void 0:e.appid;return t||(t=(null===(n=document.querySelector('input[name="mail_appid"]'))||void 0===n?void 0:n.value)||"",this.appid=t),t},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.appid=e||""},enumerable:!1,configurable:!0}),e.prototype.fetchCount=function(e){return __awaiter(this,void 0,void 0,(function(){var n,t,i,o=this;return __generator(this,(function(s){return n=getCache(JwsRequestType.COUNT),!e&&n?[2,n]:(1,t={data:{responseType:"json",requests:[{id:"GetMailboxId",uri:"/ws/v3/mailboxes/",method:"GET",filters:{select:{mailboxId:"$..mailboxes[?(@.isPrimary==true)].id"}},suppressResponse:!0,requests:[{id:"ListDecos",uri:"/ws/v3/mailboxes/@.id==$(mailboxId)/decos",method:"GET"}]}]}},i=this._fetch(t,1,(function(e){var n=o._normalizerCountResponse(e);return setCacheData(JwsRequestType.COUNT,n),n})),setCachePromise(JwsRequestType.COUNT,i),[2,i])}))}))},e.prototype._fetch=function(e,n,t){var i,o;return __awaiter(this,void 0,void 0,(function(){var s,r,a,c,l,d,u,p,f,m,h,g,y,v,b,_;return __generator(this,(function(w){switch(w.label){case 0:if(s=e.data,r=void 0===s?{}:s,a=e.params,c=void 0===a?{}:a,l="EC-4008",d="EC-4003",u=this._getYmreqid(),!this.appid)throw new Error("No appId, user is logged out");p=__assign({appId:this.appid},c),this.wssid&&(p.wssid=this.wssid),e.params=p,f=[],Object.keys(p).forEach((function(e){var n=p[e];n&&f.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n)))})),m=f.length?"?".concat(f.join("&")):"",h="https://apis.mail.yahoo.com/ws/v3/batch".concat(m),w.label=1;case 1:return w.trys.push([1,4,,5]),[4,ybarFetch(h,{method:"POST",body:JSON.stringify(r),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":u}})];case 2:return[4,(g=w.sent()).json()];case 3:if(y=w.sent(),g.ok)return[2,t(null===(o=y.result)||void 0===o?void 0:o.responses)];if((v=null===(i=null==y?void 0:y.error)||void 0===i?void 0:i.code)===d)return[2,this._handleWssidApiError(y,e,n,t)];throw v===l?new Error("Session has expired"):new Error("Mail Api Responded with an Error");case 4:throw b=w.sent(),logError("JWS: ".concat((_=b).message),_),b;case 5:return[2]}}))}))},e.prototype._normalizePreviewResponse=function(e,n){var t,i,o,s=this,r=(void 0===n?{}:n).maxMessages,a=void 0===r?4:r;return e?((null===(o=null===(i=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.response)||void 0===i?void 0:i.result)||void 0===o?void 0:o.messages)||[]).map((function(e){return s._parseRawMessage(e)})).filter((function(e,n){return!!(e&&n0)return t-=1,this.wssid=r,this._fetch(n,t,i);throw new Error("Max retries with invalid WSSID reached")}throw new Error("valid WSSID missing from API Response")},e.prototype._parseRawMessage=function(e){var n,t,i,o,s,r,a=e.id,c=e.snippet,l=e.headers,d=e.flags;return(null==l?void 0:l.date)&&(null===(n=null==l?void 0:l.from)||void 0===n?void 0:n[0])?{from:(null===(i=null===(t=l.from)||void 0===t?void 0:t[0])||void 0===i?void 0:i.name)||"",email:(null===(s=null===(o=l.from)||void 0===o?void 0:o[0])||void 0===s?void 0:s.email)||"",subject:null==l?void 0:l.subject,read:null!==(r=null==d?void 0:d.read)&&void 0!==r&&r,mid:a,date:parseInt(l.date,10)||void 0,snippet:c||""}:null},e.prototype._getYmreqid=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-xxxx-09xx-xxxxxxxxxx00".replace(new RegExp("x","g"),(function(){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),n.toString(16)}))},e}(),init$2=function(e,n){var t=n.mailModule,i=n.mailLink,o=n.mailSigninLink,s=n.mailPreview;if(t){var r=new Jws;if(e.addElementListener(t,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){isHovered(t)||hideMailPopover(n)})),e.addElementListener(s,"focusin",(function(){showMailPopover(n)})),e.addElementListener(s,"focusout",(function(){hideMailPopover(n)})),e.onDestroy((function(){hideMailPopover(n)})),o){var a=i.getAttribute("data-redirect-params");if(a&&""!==a){var c=i.href;e.onDestroy((function(){i.href=c})),a=-1!==i.href.indexOf("&activity=ybar-")?"":a.replace(/\[\[pspid\]\]/,getSpaceId()),i.href=appendQorA(i.href)+a,(null==o?void 0:o.href)&&(o.href=appendQorA(o.href)+a)}}else loadUnreadCount(e,n,r)}},showMailPopover=function(e){var n,t;null===(n=e.mailPreview)||void 0===n||n.classList.add("ybarMenuOpen"),null===(t=e.mailLink)||void 0===t||t.setAttribute("aria-expanded","true")},hideMailPopover=function(e){var n,t;null===(n=e.mailPreview)||void 0===n||n.classList.remove("ybarMenuOpen"),null===(t=e.mailLink)||void 0===t||t.setAttribute("aria-expanded","false")},loadUnreadCount=function(e,n,t){var i=n.mailUnread,o=n.mailUnreadSpan;t.fetchCount().then((function(n){if(i&&n>0){if(i.style.visibility="visible",o){var t=n>99;o.textContent=t?"99+":n+""}e.onDestroy((function(){i.style.visibility="hidden",o&&(o.textContent="")}))}})).catch((function(){}))};initModule("ybar-mail-init",(function(e){var n=document.getElementById("ybarUnread"),t={mailModule:document.querySelector(".".concat(Css$2["ybar-mod-mail"])),mailLink:document.querySelector(".".concat(Css$2["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Css$2["ybar-mail-signin-link"])),mailUnread:n,mailUnreadSpan:null==n?void 0:n.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Css$2["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Css$2["ybar-mail-preview"].split(" ").join(".")," .").concat(Css$2["popover-body"].split(" ").join(".")))};init$2(e,t)}));var focused="_yb_7ii7o",Css$1={"dropdown-open":"_yb_78by1","dropdown-wrapper":"_yb_jlrpw",focused:focused,"long-list":"_yb_1pqmz","navigation-dropdown-item":"_yb_g8rel","navigation-dropdown-list":"_yb_1lko4","ybar-nav-list-desktop":"_yb_1yavc","ybar-navigation-item":"_yb_13szq","ybar-parent-navigation":"_yb_1n7s8","ybar-sub-navigation":"_yb_1ymuo","more-menu-nav-item":"_yb_1896k","drop-down-modal":"_yb_izwpk","dropdown-close":"_yb_plqpg"},showMailUnreadCount=function(e){var n=document.querySelector("#ybar-navigation-item-mail"),t=document.querySelector("#ybar-navigation-item-mail > a"),i=document.querySelector("#ybar-navigation-item-mail > a > span");null!==n&&null!==t&&(new Jws).fetchCount().then((function(n){i&&n>0&&(i.textContent="("+(n>999?"999+":n)+")",e.onDestroy((function(){i.textContent=""})))})).catch((function(){}))},nodeContains=function(e,n){var t=!1;if(!e||!n)return t;if("function"==typeof e.contains)t=e.contains(n);else for(var i=n;i;){if(i===e){t=!0;break}i=i.parentElement}return t},MORE_MENU_WIDTH=61,MORE_MENU_LONG_LIST_COUNT=10,moreMenuIndex=-1,marginLeftOffset,initDropdowns=function(e,n){var t;__spreadArray([],__read(null===(t=n.ybarNav)||void 0===t?void 0:t.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){return e.classList.remove(n.dropdownOpenClass)}));var i=n.isTablet?"touchstart":"mouseover",o=delegate_1(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),i,(function(t){if(window||document){var i=window.innerWidth||document.documentElement.clientWidth,o=t.delegateTarget;if(o&&-1!=o.className.indexOf(n.dropdownWrapperClass)&&(o=o.querySelector(".".concat(n.navigationDropdownListClass))),o){o.style.removeProperty("left"),n.shiftMoreMenuEnabled&&o.style.removeProperty("margin-left"),n.shiftMoreMenuEnabled&&marginLeftOffset&&(o.style.marginLeft=marginLeftOffset+"px");var s=o.getBoundingClientRect().right;s>i&&(n.shiftMoreMenuEnabled?(marginLeftOffset||(marginLeftOffset=parseInt(window.getComputedStyle(o).marginLeft,10)),o.style.marginLeft=marginLeftOffset+i-s+"px"):o.style.left=i-s+"px")}}else{var r=new Error("Dropdown could not be initialized");e.logError("Error:",r)}}));e.onDestroy((function(){o.destroy()}))},updateMoreMenu=function(e,n,t){var i,o,s,r=-1,a=0;if(e.ybarNav){var c=window.getComputedStyle(e.ybarNav),l=parseInt(c.width,10)-parseInt(c.paddingLeft,10)-parseInt(c.paddingRight,10),d=MORE_MENU_WIDTH,u=e.navigationPlacement();if(u)d+=u.getBoundingClientRect().width;for(var p=0;pm&&(p!==e.navItems.length-1||a+f>m||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&moreMenuIndexmoreMenuIndex&&-1!==moreMenuIndex)for(var g=moreMenuIndex;g=r;){var v=e.navItems[y].cloneNode(!0),b=v.querySelector("a");b&&(b.setAttribute("id",""),b.classList.remove(Css$1.focused));var _=v.querySelector(".".concat(e.navigationDropdownListClass));if(_&&(_.style.display="none"),v.classList.remove(e.dropdownWrapperClass),v.classList.remove(e.ybarNavigationItemClass),v.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(v,e.moreMenuDropdown.firstChild);var w=v.getElementsByTagName("a")[0];t.unshiftMoreMenuItem(w)}null===(s=e.navItems[y].querySelector("a"))||void 0===s||s.setAttribute("tabindex","-1"),y--}moreMenuIndex=r}if(-1!==r&&e.navList){var C=parseInt(a.toString(),10)+"px";e.navList.style.maxWidth=C,n.textContent=".".concat(Css$1["ybar-nav-list-desktop"],"{ max-width: ").concat(C,"}")}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>MORE_MENU_LONG_LIST_COUNT?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass)}},handleDropdownFocus=function(e,n){var t=function(e,t){var i;e.classList.contains(n.moreMenuNavItemClass)&&(null===(i=n.moreMenuMainFocusItem)||void 0===i||i.setAttribute("aria-expanded",t))},i=delegate_1(".".concat(n.dropdownWrapperClass),"focusin",(function(e){var i=e.delegateTarget;i&&i.classList.contains(n.dropdownWrapperClass)&&(i.classList.add(n.dropdownOpenClass),t(i,"true"))})),o=delegate_1(".".concat(n.dropdownWrapperClass,", .").concat(n.navigationDropdownListClass),"focusout",(function(e){var i=e.delegateTarget;if(null==i?void 0:i.classList.contains(n.navigationDropdownListClass)){var o=i.parentElement;o&&!o.contains(e.relatedTarget)&&o.classList.contains(n.dropdownWrapperClass)&&(o.classList.remove(n.dropdownOpenClass),t(o,"false"))}else(null==i?void 0:i.classList.contains(n.dropdownOpenClass))&&(i.classList.remove(n.dropdownOpenClass),t(i,"false"))}));e.onDestroy((function(){var e;i.destroy(),o.destroy(),__spreadArray([],__read(null===(e=n.ybarNav)||void 0===e?void 0:e.querySelectorAll(".".concat(n.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(n.dropdownOpenClass);var t=document.activeElement;nodeContains(n.ybarNav,t)&&setTimeout((function(){null==t||t.blur()}),1)}))}))},setNavigationFocus=function(e,n,t,i){for(var o=n||window.location.pathname,s=t||window.location.hostname,r=(i||{}).setParentFocus,a=void 0!==r&&r,c=__spreadArray([],__read(e.topLevelNavLinks),!1),l=null,d=null,u=0;u0),s=new A11yNavigation(e,{containerElm:n.ybarNav,navlistItemSelector:".".concat(Css$1["ybar-parent-navigation"]," > li"),dropdownClass:n.dropdownWrapperClass,enableMoreMenu:o,moreMenuNavElm:n.moreMenuMainFocusItem,isUserAccountNavigation:!1});initDropdowns(e,n),showMailUnreadCount(e),e.addElementListener(document,"DOMContentLoaded",(function(){showMailUnreadCount(e)})),handleDropdownFocus(e,n);var r=e.getConfig().bucketConfig,a=(void 0===r?{}:r).enableDynamicNavfocus;if(void 0!==a&&a&&setNavigationFocus(n),e.addEventListener("nav:setFocus",(function(e){var t=e.detail,i=void 0===t?{}:t,o=i.hostname,s=void 0===o?window.location.hostname:o,r=i.pathname,a=void 0===r?window.location.pathname:r,c=i.options;setNavigationFocus(n,a,s,void 0===c?{}:c)})),o){var c=document.createElement("style");c.title="ybar_nav_interim",document.head.appendChild(c);var l=delegate_1("#ybar-nav-more-menu ul a","click",(function(n){e.triggerEvent("navigation",{event:n})}));e.addEventListener("nav:resize",(function(){updateMoreMenu(n,c,s)})),updateMoreMenu(n,c,s),e.addElementListener(window,"load",(function(){updateMoreMenu(n,c,s)})),e.addElementListener(window,"resize",(function(){updateMoreMenu(n,c,s)})),e.onDestroy((function(){var e=c.parentNode;null==e||e.removeChild(c),l.destroy()}))}},SELECTOR_MORE_MENU="#ybar-nav-more-menu";initModule("ybar-mod-navigation",(function(e){var n,t={dropdownWrapperClass:Css$1["dropdown-wrapper"],isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:Css$1["long-list"],moreMenuDropdown:document.querySelector("".concat(SELECTOR_MORE_MENU," ul")),moreMenuNavItem:document.querySelector(SELECTOR_MORE_MENU),moreMenuNavLinksSelector:"".concat(SELECTOR_MORE_MENU," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(SELECTOR_MORE_MENU," > button")),moreMenuNavItemClass:Css$1["more-menu-nav-item"],navigationDropdownItemClass:Css$1["navigation-dropdown-item"],navigationDropdownListClass:Css$1["navigation-dropdown-list"],navItems:document.querySelectorAll("li.".concat(Css$1["ybar-navigation-item"])),topLevelNavLinks:document.querySelectorAll("li.".concat(Css$1["ybar-navigation-item"]," > 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:Css$1["ybar-navigation-item"],dropdownOpenClass:Css$1["dropdown-open"],navigationPlacement:function(){return n||(n=document.getElementById("ybar-nav-placement")),n}};t.ybarNav&&init$1(e,t)}));var Css={"notification-container--no-history":"_yb_13atk","tooltip-container":"_yb_1uip9","tooltip-container--active":"_yb_111ix","tooltip-container--open":"_yb_1125p","tooltip-container__btn--close":"_yb_gpi5a","tooltip-container__inner":"_yb_3973x"},LOCALSTORAGE_KEY="ytlv",HOURS_24=864e5,DAYS_7=7*HOURS_24,CLASS_OPEN=Css["tooltip-container--open"],CLASS_ACTIVE=Css["tooltip-container--active"],CLASS_BTN_CLOSE=Css["tooltip-container__btn--close"],CLASS_MENU=Css["tooltip-container__inner"],MAX_INIT_ATTEMPTS=5,INIT_INTERVAL_MS=100,PromoTooltip=function(){function e(e,n){var t=this;this.initialized=!1,this.ybar=e,this.container=n,this.a11yMenu=this.container.querySelector(".".concat(CLASS_MENU)),this.historyEnabled=!!Number(this.container.dataset.history);var i=this.getLocalStorage();this.state={lastSeen:(null==i?void 0:i.lastSeen)||null,manuallyClosed:(null==i?void 0:i.manuallyClosed)||!1},this.init();var o=0,s=setInterval((function(){o>=MAX_INIT_ATTEMPTS||t.initialized?clearInterval(s):(void 0!==t.isNotificationsSupported()&&t.init(),o++)}),INIT_INTERVAL_MS)}return e.prototype.show=function(e){var n;this.initialized&&(this.historyEnabled&&!e||(document.body.classList.add(CLASS_OPEN),null===(n=this.a11yMenu)||void 0===n||n.setAttribute("aria-expanded","true"),this.lastSeen=(new Date).getTime()))},e.prototype.hide=function(){var e;this.initialized&&(this.historyEnabled&&document.body.classList.remove(CLASS_ACTIVE),document.body.classList.remove(CLASS_OPEN),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(CLASS_ACTIVE),this.addEventListeners(),this.initialized=!0,this.hasSeenTooltipIn(this.manuallyClosed?DAYS_7:HOURS_24)||(document.body.classList.add(CLASS_ACTIVE),this.show(!0)))},e.prototype.addEventListeners=function(){var e=this;this.ybar.addElementListener(this.container.getElementsByClassName(CLASS_BTN_CLOSE)[0],"click",(function(){e.hide(),e.manuallyClosed=!0}))},e.prototype.isNotificationsSupported=function(){var e;return null===(e=null===window||void 0===window?void 0:window.subscriptionHelperInstance)||void 0===e?void 0:e.checkIsSupportedBrowser()},e.prototype.isNotificationPermissionDefault=function(){var e;return"default"===(null===(e=window.Notification)||void 0===e?void 0:e.permission)},e.prototype.hasSeenTooltipIn=function(e){if(!this.lastSeen)return!1;var n=new Date(this.lastSeen),t=new Date;return n.getTime()+e>t.getTime()},e.prototype.setLocalStorage=function(){var e;null===(e=window.localStorage)||void 0===e||e.setItem(LOCALSTORAGE_KEY,JSON.stringify(this.state))},e.prototype.getLocalStorage=function(){var e,n,t=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(LOCALSTORAGE_KEY);if(null===t)return null;try{return JSON.parse(t)}catch(e){return null===(n=window.localStorage)||void 0===n||n.removeItem(LOCALSTORAGE_KEY),null}},e}(),loadCssAssets=function(e){for(var n,t,i=0;i0&&(cssCount++,loadCssAssets(e.css)),(null==e?void 0:e.newCount)&&e.newCount>0&&r&&(r.style.display="block")},u=function(){c.refreshPanel().then(d).then(refreshModule).catch((function(){}))};e.addEventListener("close-all-menus",(function(){isHovered(a)||l()})),a&&(u(),setInterval((function(){u()}),REFRESH_RATE),a.addEventListener("mouseenter",(function(){e.triggerEvent("close-all-menus"),document.querySelector(".display-push-promos .".concat(Css["notification-container--no-history"]))||(c.resetBadge(),r&&(r.style.display="none")),null==t||t.show()})),a.addEventListener("mouseleave",(function(){l(),null==t||t.hide()}))),e.addElementListener(i,"click",(function(){beaconClick("ybar","notification","",{elm:"btn",elmt:"block"===(null==r?void 0:r.style.display)?"newalert":"",subsec:"notification",itc:"1"})})),o&&addHoverEvent(e,o,"ybar","notification",{elm:"expand",subsec:"notifications",itc:"2"}),e.addElementListener(s,"focusin",(function(){i&&(i.checked=!0),null==s||s.classList.add("ybarMenuOpen")})),e.addElementListener(s,"focusout",l),e.addElementListener(n.tooltipContainer,"focusin",(function(){null==t||t.show()})),e.addElementListener(n.tooltipContainer,"focusout",(function(){null==t||t.hide()}))};initModule("ybar-mod-notification",(function(e){var n={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(Css["tooltip-container"]))};init(e,n)}))})()}};
setTimeout(function() {
(function (win, cfg) {
win._ybar_runtime_config = win._ybar_runtime_config || {};
Object.keys(cfg).forEach(function (key) {
win._ybar_runtime_config[key] = cfg[key];
});
})(window, {"property":"homepage","device":"desktop","locale":"en-US","bucketConfig":{"enable_search_ui":true,"highlight_searchassist":true,"overlay_class":"darker","scrollThreshold":4},"componentCount":0,"i18n":{"root":{"PROPERTY_NAME":"Yahoo Home","LITE_UPGRADE_PROMPT_MESSAGE":"Some parts of this page are not supported on your current browser version. Please upgrade to a recent browser version.","NOTIF_ONBOARD_UPSELL_TITLE":"Get news push notification","NOTIF_ONBOARD_UPSELL_SUBTITLE":"Keep up with the best stories in News, Sports, Finance, Entertainment and more!","NOTIF_ONBOARD_UPSELL_CTA":"Turn On","NOTIF_ONBOARD_UPSELL_CLOSE":"Not now","SEARCH_TOOLTIP_VOICE":"Search with voice","SEARCH_TOOLTIP_WEB":"Search the web"}},"mailVariantLogos":{}}); $_mod_ybar && $_mod_ybar.ready();
}, 500); // adding delay to YBAR init to wait base page rapid initialization Close this content, you can also use the Escape key at anytime
| <U> (41) | | <I> (18) | | <STRONG> (1) | Taurus -
|
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 |