':"";if(r){var a=n.promos.showYahooLogo?"":"yns-no-logo";r=r.replace("{notifOnboardBtnLabel}",n.promos.notifOnboardBtnLabel).replace("{notifOnboardMsg}",n.promos.notifOnboardMsg).replace("{subscriptionTopic}",n.promos.subscriptionTopic).replace("{noLogoClass}",a).replace("{promoLogo}",n.promos.promoLogo)}var s=t.newCount>n.panel.maxCount?t.newCount:"",c=n.panel.notificationCenterPath,l=c?"":q,d=n.panel.headerMsg?"":" "+q,u=c?R:"",p=void 0;t.count?p=t.markup:p='
  • {emptyPanelMsg}
  • '.replace("{emptyPanelMsg}",n.panel.emptyPanelMsg);return e=e.replace("{notifMarkup}",p).replace("{promoMarkup}",r).replace("{hideClass}",l).replace("{notifCenterLink}",c).replace("{paddingClass}",u).replace("{headerMsg}",n.panel.headerMsg).replace("{hideHeaderClass}",d).replace(/{notificationCenterNavMsg}/g,n.panel.notificationCenterNavMsg).replace(/{newCount}/g,s)}},{key:"render",value:function(e,t){var n=this;if(n._panelNode){var o=void 0,i=n._panelNode,r=void 0,a=void 0;switch(e){case"expanded_panel":o='
    {headerMsg}
      {promoMarkup}{notifMarkup}
    ',a=n._store.getNotifications(),r=n._generatePanelMarkup(o,a),i.innerHTML=r;break;case"error_panel":r=(o='
    {errorMsg}
    ').replace("{errorMsg}",n._config.panel.errorMsg),i.innerHTML=r}t&&t()}else t&&t(new Error("No panel parent"))}},{key:"createPanelParentNode",value:function(e){e&&(e.innerHTML='
    ',this._panelNode=document.getElementById(O))}},{key:"updateBadgeNode",value:function(e){if(e){var t=this._store.getNotifications().newCount,n=this._config.badge.maxCount;if(t){var o=t>n?n+"+":t;e.innerHTML=o}else e.innerHTML=""}}},{key:"addStyles",value:function(e){if(e&&"undefined"!=typeof window){var t=document.getElementById(this._config.panel.styleTagId);t||((t=document.createElement("style")).type="text/css",t.id=this._config.panel.styleTagId,t.innerText=e,document.head.appendChild(t))}}}]),e}(),D=function(){function e(t,n,o){L(this,e);var i=this;i._store=n,i._view=o,i._config=t;var r=i._config.panel;i._panelParentNode=document.querySelector(r.parentSelector),i._badgeNode=i._config.badge.selector&&document.querySelector(i._config.badge.selector),i._indicatorNode=r.indicatorSelector&&document.querySelector(r.indicatorSelector)}return k(e,[{key:"createPanelParentNode",value:function(){this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(O)}},{key:"refreshPanelNode",value:function(e,t){var n=this;E(n._notifPanelNode,B),n._store.fetchNotifications(e,(function(e,o){var i=window.wafer&&window.wafer.base;i&&i.destroy(n._notifPanelNode),e?n._notifPanelNode.innerHTML||(n._view.render("error_panel"),E(n._notifPanelNode,B)):(n._view.render("expanded_panel"),n._view.updateBadgeNode(n._badgeNode),n._showBadge(),n._showIndicator(),n._view.addStyles(o.css)),A(n._notifPanelNode,B),i&&i.sync(n._notifPanelNode.parentNode),t&&t(e,o)}))}},{key:"resetBadge",value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),E(e._badgeNode,e._config.badge.hideClass)}},{key:"_showIndicator",value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?E(this._indicatorNode,this._config.panel.indicatorClass):A(this._indicatorNode,this._config.panel.indicatorClass))}},{key:"_showBadge",value:function(){var e=this;e._store.getNotifications().newCount?A(e._badgeNode,e._config.badge.hideClass):E(e._badgeNode,e._config.badge.hideClass)}}]),e}(),H={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0,bypassEligibleClassCheck:!1,notifOnboardBtnLabel:"Notify Me",notifOnboardMsg:"Get alerts for breaking news and top stories",promoLogo:"https://s.yimg.com/cv/apiv2/ae/news/circle_bell.png",showYahooLogo:!0,subscriptionTopic:"gondor_homerun_news"},badge:{hideClass:"",maxCount:5,selector:""},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"",headerMsg:"Notifications",imageTag:"img:40x40|2|80",indicatorClass:"yns-indicator",indicatorSelector:null,maxCount:6,notificationCenterNavMsg:"View all {newCount} notifications",notificationCenterPath:"",notificationTypes:"",parentSelector:null,styleTagId:"notificationStyles",theme:"default"},service:{attemptCount:1,attemptDelay:2,url:null,resetUrl:null,isRMP:!1,responseType:"json",timeout:1500}},z={NotificationClient:function(){function e(t){L(this,e);var n=this;n.config=n._parseConfig(t),n._validateRequiredConfigs()&&(n._request=new S(n.config),n._store=new T(n.config,n._request),n._view=new P(n.config,n._store),n._panelController=new D(n.config,n._store,n._view),n._panelController.createPanelParentNode(),n._assignHelperMethods())}return k(e,[{key:"_parseConfig",value:function(e){var t={};for(var n in N(t,H),t)if(t.hasOwnProperty(n)){var o=t[n],i=e[n];"object"===(void 0===o?"undefined":x(o))?N(o,i):t[n]=e[n]}return t}},{key:"_validateRequiredConfigs",value:function(){var e=this.config;return!(!e.panel.parentSelector||!e.service.url)}},{key:"_assignHelperMethods",value:function(){var e=this;e.helpers={refreshPanelNode:e._panelController.refreshPanelNode.bind(e._panelController),resetBadge:e._panelController.resetBadge.bind(e._panelController),resetIndicator:function(){A(e._panelController._indicatorNode,e.config.panel.indicatorClass)}}}}]),e}()},U="lnct",j=function(){function e(){var e,t;this.personalized=!1,this.ybarElem=document.getElementById("ybar"),this.partnerClasses=null===(t=null===(e=this.ybarElem)||void 0===e?void 0:e.className)||void 0===t?void 0:t.match(/ybar-variant-([a-z]*)/),this.client=new z.NotificationClient(this.getConfig())}return e.prototype.refreshPanel=function(){var e,t,n,o=this,i={lastUpdate:this.getTimeStamp()||this.setTimeStamp(),loadInHpViewer:!0,includePersonalized:this.personalized},r=(null===(e=window.YAHOO)||void 0===e?void 0:e.context)||(null===(t=window.Af)||void 0===t?void 0:t.context)||{};return r.region&&r.lang&&(i.lang=r.lang,i.region=r.region),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&(i.partner=this.partnerClasses[1]),new Promise((function(e,t){o.client.helpers.refreshPanelNode({matrixParams:i},(function(n,o){n&&(s("Notification refresh error:",n),t(n)),e(o)}))}))},e.prototype.resetBadge=function(){this.client.helpers.resetBadge(),this.setTimeStamp()},e.prototype.getConfig=function(){var e,t,n,o,i,r=document.getElementById("notification-container"),a=null===(e=null==r?void 0:r.dataset)||void 0===e?void 0:e.config;if(I&&!a)return I;var c={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0},badge:{selector:"#notif-badge",hideClass:"ybar-notification-hidden"},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"Please check back later.",headerMsg:"Notifications",maxCount:5,parentSelector:"#ybarNotificationBody",notificationTypes:"breakingNews"},service:{url:"/tdv2_fp/api/resource/NotificationHistory.getHistory",isRMP:!1}},l={};if(a){"att"===(null===(t=this.partnerClasses)||void 0===t?void 0:t[1])&&(c.promos.showYahooLogo=!1);try{var d=JSON.parse(a);l=m({},d),this.personalized=1===d.personalize}catch(e){s("Notifications config parsing error",e)}r&&delete r.dataset.config}return I=this.mergeConfigs(c,l),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&"yahoo"!==(null===(o=this.partnerClasses)||void 0===o?void 0:o[1])&&(null===(i=I.promos)||void 0===i?void 0:i.subscriptionTopic)&&delete I.promos.subscriptionTopic,I},e.prototype.mergeConfigs=function(e,t){var n=m({},e);for(var o in e)n[o]=m(m({},e[o]),t[o]);return n},e.prototype.getTimeStamp=function(){var e;return null===(e=window.localStorage)||void 0===e?void 0:e.getItem(U)},e.prototype.setTimeStamp=function(){var e,t=""+Math.floor((new Date).getTime()/1e3);return null===(e=window.localStorage)||void 0===e||e.setItem(U,t),t},e}();new j;var Y,F,G="",V=[],W=function(){},J=function(){window.removeEventListener("beforeunload",J),""!==G&&s("Rapid not found on page",new Error(G))},K=null,X=function(){return null===K&&(K=document.getElementById("ybar")),K},$=function(){var e=0,t=window.YAHOO;if(Y)return Y;if(t)if(t.i13n)if(t.i13n.__RAPID_INSTANCES__)if(t.i13n.__RAPID_INSTANCES__.length0)for(var n=0;n0){if(Y.addModules(i,!1,o),V.length>0)for(e=0;e40959)&&(i19903)&&(i55215))return!1}return!0},pe={navBeaconFired:!1},he=["ready","navigation"],me=function(){function e(e){var t=this;this.triggerEvent=r,this.addEventListener=a,this.logError=s,this.logPerformance=c,this.getConfig=l,this.getPerformanceMetrics=d,this.rapidRefresh=Q,this.state=m({},pe),this.modules=e,this.userEmail="",window.YBAR&&(he.forEach((function(e){var n="on".concat(e),o=window.YBAR[n];o&&(t[n]=o)})),window.YBAR.wssid&&(this.wssid=window.YBAR.wssid),window.YBAR.appid&&(this.appid=window.YBAR.appid)),he.forEach((function(e){var n="on".concat(e);a(e,(function(){for(var o,i=[],r=0;r0,o=_.scrollTope.pageOffset,r=_.scrollTop>L+y,a=_.scrollTop90&&Ae("performance",e)}catch(e){}}),1e3)})),ae(),a("error",(function(e){var t=e&&e.detail||{},n=t.error||{},o=t.message||n.message||n.toString();try{var i={code:n.name,file:n.fileName||"",line:n.lineNumber||"",message:o};Ae("error",i)}catch(e){}}));var Ie,Te,Be="_yb_e7lhj2",Oe="_yb_16f59mr",qe="_yb_g5ejgv",Re="_yb_1h9xig5",Pe="_yb_s7ojbl",De="_yb_ufeamf",He="_yb_1vunfot",ze="_yb_e6l13e",Ue="_yb_imh4bo",je="_yb_1fq6oww",Ye="_yb_egbwyz",Fe="_yb_e77go0",Ge="_yb_s9110r",Ve="_yb_1sdf8lf",We="_yb_18zr1kp",Je="_yb_14kfhgp",Ke="_yb_nlz5m6",Xe="_yb_149yt9e",$e="_yb_1q5ox1g",Ze="_yb_1bdrkz0",Qe="_yb_18edlqs",et="_yb_n8bfzh",tt="_yb_1vrkwak",nt="_yb_wiqli9",ot="_yb_krf8sp",it="_yb_wops5h",rt="_yb_7lufak",at={animation:"_yb_jp4it","left-open":"_yb_gra175",noscroll:"_yb_1gvwj6n",overlay:"_yb_1jjzds9","fade-in-out":"_yb_1i66bj0","right-open":"_yb_1jsa20a","center-open":"_yb_1s4z8qp"},st=function(e,t){if(200!==e.status){var n=new Error("Request failed with status: "+e.status);n._meta={status:e.status},e.ymreqid&&(n._meta={ymreqid:e.ymreqid}),t(n)}else{var o=null;try{o=JSON.parse(e.responseText)}catch(e){var i=new Error("Error parsing responseText");return i._meta={originalError:e},void t(i)}t(null,o)}},ct=function(e,t){return void 0===t&&(t={}),f(void 0,void 0,void 0,(function(){return v(this,(function(n){return[2,new Promise((function(n,o){var i=new XMLHttpRequest;if(i.open("string"==typeof t.method?t.method:"GET","string"==typeof e?e:e.url,!0),"object"==typeof t.headers){var r=t.headers;for(var a in r)i.setRequestHeader(a,r[a])}i.withCredentials="include"===t.credentials,i.onreadystatechange=function(){4===i.readyState&&n({ok:i.status>=200&&i.statusn?Promise.resolve(t.data):void 0}}(Ie.COUNT),(n=this._checkForMockData())?[2,n]:!e&&t?[2,t]:(1,o={data:{responseType:"json",requests:[{id:"GetMailboxId",uri:"/ws/v3/mailboxes/",method:"GET",filters:{select:{mailboxId:"$..mailboxes[?(@.isPrimary==true)].id"}},suppressResponse:!0,requests:[{id:"ListDecos",uri:"/ws/v3/mailboxes/@.id==$(mailboxId)/decos",method:"GET"}]}]}},i=this._fetch(o,1,(function(e){var t=r._normalizerCountResponse(e);return function(e,t){var n={lastRequested:Date.now(),status:Te.COMPLETE,promise:Promise.resolve(t),data:t};pt.set(e,n)}(Ie.COUNT,t),t})),s=Ie.COUNT,c=i,l={lastRequested:Date.now(),status:Te.PENDING,promise:c},pt.set(s,l),[2,i]);var s,c,l}))}))},e.prototype._fetch=function(e,t,n){var o,i;return f(this,void 0,void 0,(function(){var r,a,c,l,d,u,p,h,f,y,g,b,w,_,x,L;return v(this,(function(v){switch(v.label){case 0:if(r=e.data,a=void 0===r?{}:r,c=e.params,l=void 0===c?{}:c,d="EC-4008",u="EC-4003",p=this._getYmreqid(),!this.appid)throw new Error("No appId, user is logged out");h=m({appId:this.appid},l),this.wssid&&"mail_wssid"!==this.wssid&&(h.wssid=this.wssid),e.params=h,f=[],Object.keys(h).forEach((function(e){var t=h[e];t&&f.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t)))})),y=f.length?"?".concat(f.join("&")):"",g="https://apis.mail.yahoo.com/ws/v3/batch".concat(y),v.label=1;case 1:return v.trys.push([1,4,,5]),[4,lt(g,{method:"POST",body:JSON.stringify(a),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":p}})];case 2:return[4,(b=v.sent()).json()];case 3:if(w=v.sent(),b.ok)return[2,n(null===(i=w.result)||void 0===i?void 0:i.responses)];if((_=null===(o=null==w?void 0:w.error)||void 0===o?void 0:o.code)===u)return[2,this._handleWssidApiError(w,e,t,n)];throw _===d?new Error("Session has expired"):new Error("Mail Api Responded with an Error");case 4:throw x=v.sent(),s("JWS: ".concat((L=x).message),L),x;case 5:return[2]}}))}))},e.prototype._checkForMockData=function(){var e=document.getElementById("ybar");if(e&&e.hasAttribute("data-mc")){var t=e.getAttribute("data-mc");if(t&&ut[t])return ut[t]}},e.prototype._normalizerCountResponse=function(e){var t,n,o,i,r,a;if(!e)return 0;var s=((null===(o=null===(n=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.response)||void 0===n?void 0:n.result)||void 0===o?void 0:o.decos)||[]).find((function(e){return"FTI"===(null==e?void 0:e.id)}));return s&&null!==(a=null===(r=null===(i=null==s?void 0:s.counts)||void 0===i?void 0:i[0])||void 0===r?void 0:r.unseen)&&void 0!==a?a:0},e.prototype._handleWssidApiError=function(e,t,n,o){var i,r,a=null===(r=null===(i=null==e?void 0:e.error)||void 0===i?void 0:i.details)||void 0===r?void 0:r.wssid,s=t.params,c=(void 0===s?{}:s).wssid;if(a){if(c&&a===c)throw new Error("API provided same invalid WSSID");if(void 0!==n&&n>0)return n-=1,this.wssid=a,this._fetch(t,n,o);throw new Error("Max retries with invalid WSSID reached")}throw new Error("valid WSSID missing from API Response")},e.prototype._getYmreqid=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-xxxx-09xx-xxxxxxxxxx00".replace(new RegExp("x","g"),(function(){var t=(e+16*Math.random())%16|0;return e=Math.floor(e/16),t.toString(16)}))},e}(),mt={add:[{itemId:"ybar-mail-banner",reactions:["SHOWN"]}]};ve("ybar-mod-sidenav",(function(e){var t,n={sidenavBtn:document.getElementById("_yb_sidenav-btn"),sidenav:document.querySelector(".".concat(Xe)),menu:document.querySelector(".".concat(Ze)),sections:document.querySelectorAll(".".concat(Ve)),closeBtn:document.querySelector(".".concat(Oe)),panels:document.querySelectorAll(".".concat(Ge)),backBtn:document.querySelector(".".concat(Be)),footer:document.querySelector(".".concat(ze)),copyright:document.querySelector(".".concat(Re)),selectedSectionLinks:document.querySelectorAll(".".concat(Je," a")),focusedElement:document.querySelector(".".concat(Je," .").concat(He)),editionsDropdown:document.querySelector(".".concat(Pe)),mailUnread:document.querySelector(".".concat(et)),mailTooltip:document.getElementById("_yb_mail-tooltip"),tooltipClose:document.getElementById("_yb_mail-tooltip-close")},o=window.location.href.split("?")[0]?window.location.href.split("?")[0].replace(/\/$/,""):window.location.href,i=g([],y(n.selectedSectionLinks),!1);if(!n.focusedElement)for(var r=0;r0){if(o&&i){var n=t>99;o.classList.add("".concat(ot)),i.classList.add("count-loaded"),o.textContent=n?"99+":t+"",n?o.classList.add("".concat(tt)):t>=10&&o.classList.add("".concat(nt))}e.onDestroy((function(){o&&(o.textContent="")}))}})).catch((function(){}))}(e,s)}));var ft="_yb_1j9328r",vt="_yb_kh0a22",yt="_yb_1331vd8",gt="_yb_12g4bpo";if("undefined"!=typeof Element&&!Element.prototype.matches){var bt=Element.prototype;bt.matches=bt.matchesSelector||bt.mozMatchesSelector||bt.msMatchesSelector||bt.oMatchesSelector||bt.webkitMatchesSelector}var wt=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function _t(e,t,n,o,i){var r=xt.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}function xt(e,t,n,o){return function(n){n.delegateTarget=wt(n.target,t),n.delegateTarget&&o.call(e,n)}}var Lt,kt=function(e,t,n,o,i){return"function"==typeof e.addEventListener?_t.apply(null,arguments):"function"==typeof n?_t.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return _t(e,t,n,o,i)})))},St=function(e){this.data=e,this.next=null,this.prev=null},Ct=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new St(e);return this.head?this.tail?(t.prev=this.tail,this.tail.next=t,this.tail=t):(this.tail=t,this.tail.prev=this.head,this.head.next=this.tail):(this.head=t,t.next=this.tail),t},e.prototype.size=function(){for(var e=0,t=this.head;t;)e+=1,t=t.next;return e},e.prototype.getHead=function(){return this.head},e.prototype.getTail=function(){return this.tail},e.prototype.get=function(e){if(e>=this.size())return null;for(var t=0,n=this.head;(null==n?void 0:n.next)&&t0&&Array.prototype.forEach.call(n,(function(e){e.onerror=function(){e.onerror=null,e.style.display="none"}})),t.wrapper&&(function(e,t){e&&(ke("#ybar-logo","#ybar-logo",t),t.onDestroy((function(){e.classList.remove("ybar-show-outline"),e.classList.remove("ybar-hide-outline")})))}(t.wrapper,e),function(e,t){t&&e.addElementListener(t,"click",(function(){e.triggerEvent("logo-click")}))}(e,t.wrapper))};ve("ybar-mod-logo",(function(e){var t={wrapper:document.getElementById("ybar-logo"),logoImages:document.querySelectorAll(".".concat(qt))};Rt(e,t)}));var Pt={"dropdown-open":"_yb_cjansr","merchant-is-selected":"_yb_1czhuo",overlay:"_yb_am3gf7","selected-merchant-clear-button":"_yb_1iyezy0","shops-buttons":"_yb_1yad5dy","styled-select":"_yb_1849n3",tooltip:"_yb_ahfbik","tooltip--show":"_yb_13vdyun",tooltip__text:"_yb_1ha5fld",tooltip__voice:"_yb_xh0c1m",tooltip__web:"_yb_6zuqfw",dark:"_yb_boywsl",darker:"_yb_edwfyq",light:"_yb_uoenvr",midnight60:"_yb_oiyzyb","search-input-uh3-hover":"_yb_11ic41w","search-input-uh3-focus-visible":"_yb_pjjwlp","sa-btn-bar":"_yb_1ado5ya","searchbox-icon-uh3":"_yb_gt7qx3",empty:"_yb_uh6ve4"},Dt=function(e,t){var n=Math.max(e,t),o=Math.min(e,t),i=Math.abs(n-o);return g([],y(new Array(i+1)),!1).map((function(e,t){return o+t}))},Ht=function(e,t,n){var o=e.getConfig().bucketConfig,i=(void 0===o?{}:o).enable_search_ui,r=void 0!==i&&i;if(t.ybar){t.ybar.classList.add("ybar-searchbox-assist-fullscreen"),document.documentElement.classList.add("ybar-overlay"),document.body.classList.add("ybar-overlay-noscroll");Z("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"}),setTimeout((function(){t.searchInput instanceof HTMLInputElement&&(n&&(t.searchInput.value=n),t.searchInput.focus(),r&&window.YAHOO&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view&&!window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.show())}))}},zt=function(e){var t;null===(t=e.ybar)||void 0===t||t.classList.remove("ybar-searchbox-assist-fullscreen"),document.documentElement.classList.remove("ybar-overlay"),document.body.classList.remove("ybar-overlay-noscroll"),e.searchInput instanceof HTMLInputElement&&(e.searchInput.value="",e.searchInput.blur())},Ut=function(e,t){var n=e.getConfig();"smartphone"===n.device&&("finance"===n.property&&"crunch"===n.ytheme&&e.addElementListener(t.searchInput,"click",(function(){var n,o;n="search_input_focus_click",null!==(o=oe())&&(ee[n]||(ee[n]=o)),e.addElementListener(t.searchForm,"click",(function(){if(t.ybar){if(t.ybar.classList.contains("ybar-searchbox-assist-fullscreen"))return;t.ybar.classList.add("ybar-searchbox-assist-fullscreen"),t.ybar.classList.add("ybar-searchbox-assist-fadein")}if(!document.documentElement.classList.contains("ybar-overlay")){document.documentElement.classList.toggle("ybar-overlay"),document.body.classList.add("ybar-overlay-noscroll");Z("ybar","websrch","",{elm:"expand",subsec:"searchbox",itc:"1"})}}))})),e.addElementListener(t.searchBoxPlaceholder,"click",(function(){Ht(e,t)})),e.addElementListener(t.searchBoxPlaceholder,"keydown",(function(n){var o=n,i=o.keyCode,r=o.key,a=Dt(65,90),s=g(g([],y(Dt(58,57)),!1),y(Dt(96,105)),!1),c=g(g([],y(a),!1),y(s),!1).includes(i);(32===i||13===i||c)&&(n.preventDefault(),n.stopPropagation(),Ht(e,t,c?r:""))})),t.searchBoxBackButton&&(e.addElementListener(t.searchBoxBackButton,"click",(function(e){e.stopPropagation(),window.YAHOO&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&(window.YAHOO.SA.apps[0].view.resetQuery(),window.YAHOO.SA.apps[0].view.hide()),zt(t);Z("ybar","back-close-srch","",{elm:"btn",subsec:"searchbox",itc:"1"})})),e.addElementListener(t.searchInput,"keyup",(function(e){e.stopPropagation();27===e.keyCode&&(e.stopPropagation(),zt(t))}))),e.addEventListener("viewerClosed",(function(){zt(t)})),e.onDestroy((function(){zt(t)})))},jt=function(){function e(e,t,n){t&&(this.ybar=e,this.elem=t,this.options=n,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.addEventListeners())}return Object.defineProperty(e.prototype,"tooltip",{get:function(){var e=this;return this.tooltipMarkup||(this.tooltipMarkup=this.createTooltip(),(this.options.tooltipParentElm||this.elem).appendChild(this.tooltipMarkup),this.ybar.onDestroy((function(){var t,n;null===(n=null===(t=e.tooltipMarkup)||void 0===t?void 0:t.parentNode)||void 0===n||n.removeChild(e.tooltipMarkup)}))),this.tooltipMarkup},enumerable:!1,configurable:!0}),e.prototype.show=function(){this.tooltip.classList.add(this.options.showClass)},e.prototype.hide=function(){this.tooltip.classList.remove(this.options.showClass)},e.prototype.addEventListeners=function(){this.ybar.addElementListener(this.elem,"mouseenter",this.show),this.ybar.addElementListener(this.elem,"focus",this.show),this.ybar.addElementListener(this.elem,"mouseleave",this.hide),this.ybar.addElementListener(this.elem,"blur",this.hide)},e.prototype.createTooltip=function(){var e=document.createElement("div");e.className=this.options.containerClass||"";var t=document.createElement("p");return t.textContent=this.options.label,t.className=this.options.textClass||"",e.appendChild(t),e},e}();!function(){var e,t,n,o,i,r,a,s,c,l,d,u,p,h,m,f={516:function(e,t,n){var o,i,r,a;e.exports=(o=n(336),i="default",r=function(e){return e.reduce((function(e,t){return e[t.id]=t.defaultMessage,e}),{})},((a=function(e){var t;this.lang=(t=e&&e.lang,-1!==o.indexOf(t)?e.lang:i)}).langMap={})[i]=r(n(559)),a.setLangMap=function(e,t){e&&t&&(a.langMap[e]=r(t))},a.prototype={t:function(e){switch(!0){case Boolean(a.langMap&&a.langMap[this.lang]&&a.langMap[this.lang][e]):return a.langMap[this.lang][e];case Boolean(a.langMap&&a.langMap[i]&&a.langMap[i][e]):return a.langMap[i][e];default:return""}}},a)},383:function(e,t,n){var o=n(645),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,'/* Sprites */\n#spchp.permission-guide .guide .microphone .sprite,\n#spchp .close-button,\n#spch .close-button,\n#spch .spchc .microphone,\n#spch .spchc .speaking .microphone {\n background-image: url("https://s.yimg.com/pv/static/img/voiceSearch1x-1620383531565.min.png");\n background-repeat: no-repeat;\n background-size: initial;\n color: transparent;\n}\n/* Retina displays */\n@media\n only screen and (min-device-pixel-ratio: 2),\n only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and (min-resolution: 192dpi),\n only screen and (min-resolution: 2dppx) {\n#spchp.permission-guide .guide .microphone .sprite,\n#spchp .close-button,\n#spch .close-button,\n#spch .spchc .microphone,\n#spch .spchc .speaking .microphone {\n background-size: 41px 330px;\n background-image: url("https://s.yimg.com/pv/static/img/voiceSearch2x-1620383531565.min.png")\n}\n }\n\n/* permission guide */\n#spchp.permission-guide {\n height: 100%;\n width: 100%;\n padding: 0;\n opacity: 0.9;\n background-color: #fff;\n left: 0;\n overflow: hidden;\n position: fixed;\n text-align: left;\n top: 0;\n z-index: 10000;\n transition: visibility 0s linear 0.218s, background-color 0.218s;\n}\n#spchp.permission-guide .close-button {\n background-position: 0 0;\n width: 24px;\n height: 24px;\n border: none;\n cursor: pointer;\n right: 0;\n margin: 20px;\n padding: 0;\n position: absolute;\n top: 0;\n z-index: 10;\n opacity: 0.8;\n }\n#spchp.permission-guide .close-button:hover {\n opacity: 1;\n }\n#spchp.permission-guide .guide {\n margin: 191px 0 0 507px;\n }\n#spchp.permission-guide .guide .microphone {\n height: 68px;\n width: 52px;\n border-right: 1px solid #232a31;\n float: left;\n }\n#spchp.permission-guide .guide .microphone .sprite {\n background-position: 0 -105px;\n width: 28px;\n height: 28px;\n }\n#spchp.permission-guide .guide .guide-text {\n height: 68px;\n margin-left: 24px;\n float: left;\n }\n#spchp.permission-guide .guide .guide-text .title {\n color: #232a31;\n font-size: 32px;\n font-family: HelveticaNeue-Bold;\n line-height: 28px;\n margin-bottom: 16px;\n }\n#spchp.permission-guide .guide .guide-text .text {\n color: #232a31;\n font-size: 16px;\n line-height: 28px;\n }\n#spchp.permission-guide.hide {\n display: none;\n }\n\n/* speech panel */\n#spch.spch {\n background: #fff;\n height: 100%;\n left: 0;\n opacity: 0;\n overflow: hidden;\n position: fixed;\n text-align: left;\n top: 0;\n visibility: hidden;\n width: 100%;\n z-index: 10000;\n transition: visibility 0s linear 0.218s, background-color 0.218s;\n}\n#spch.spch .close-button {\n background-position: 0 0;\n width: 24px;\n height: 24px;\n border: none;\n cursor: pointer;\n right: 0;\n margin: 20px;\n padding: 0;\n position: absolute;\n top: 0;\n z-index: 10;\n opacity: 0.8;\n }\n#spch.spch .close-button:hover {\n opacity: 1;\n }\n#spch.spch .spchc {\n display: block;\n height: 97px;\n pointer-events: none;\n }\n#spch.spch .spchc .inner-container {\n width: 100%;\n height: 100%;\n opacity: 0.1;\n pointer-events: none;\n transition: opacity 0.318s ease-in;\n }\n#spch.spch .spchc .inner-container .spch-control {\n display: inline-block;\n }\n#spch.spch .spchc .inner-container .text-container {\n float: left;\n height: 91px;\n overflow: hidden;\n margin: 3px 0;\n pointer-events: none;\n width: calc(50% - 48.5px);\n }\n#spch.spch .spchc .inner-container .text-container p {\n display: table-cell;\n vertical-align: middle;\n width: 550px;\n height: 97px;\n }\n#spch.spch .spchc .inner-container .text-container .spcht {\n font-weight: normal;\n color: #6e7780;\n line-height: normal;\n opacity: 0;\n pointer-events: none;\n text-align: left;\n -webkit-font-smoothing: antialiased;\n transition: opacity 0.1s ease-in, margin-left 0.5s ease-in, top 0s linear 0.218s;\n }\n#spch.spch .spchc .inner-container .text-container .spcht.hide {\n display: none;\n }\n#spch.spch .spchc .inner-container .text-container #spcht-retry {\n color: #0f69ff;\n cursor: pointer;\n pointer-events: auto;\n }\n#spch.spch .spchc .inner-container .button-container {\n pointer-events: none;\n position: relative;\n transition: transform 0.218s, opacity 0.218s ease-in;\n }\n#spch.spch .spchc .inner-container .button-container .button {\n background-color: #fff;\n border: 1px solid #eee;\n border-radius: 100%;\n bottom: 0;\n box-shadow: 0 2px 5px rgb(0 0 0 / 10%);\n cursor: pointer;\n display: inline-block;\n left: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n right: 0;\n top: 0;\n transition: background-color 0.218s, border 0.218s, box-shadow 0.218s;\n }\n#spch.spch .spchc .inner-container .button-container .button .microphone {\n background-position: 0 -24px;\n width: 41px;\n height: 41px;\n left: 27px;\n pointer-events: none;\n position: absolute;\n top: 27px;\n transform: scale(1);\n }\n#spch.spch .spchc .inner-container .button-container.listening .ripple {\n position: absolute;\n width: 136px;\n height: 136px;\n z-index: -1;\n left: 50%;\n top: 50%;\n opacity: 0;\n margin: -70px 0 0 -70px;\n border-radius: 100px;\n animation: ripple 3.3s infinite;\n background-color: #fff !important;\n border: 2px solid #e0e4e9;\n }\n#spch.spch .spchc .inner-container .button-container.listening .ripple:nth-child(2) {\n animation-delay: 1.1s;\n }\n#spch.spch .spchc .inner-container .button-container.listening .ripple:nth-child(3) {\n animation-delay: 2.2s;\n }\n#spch.spch .spchc .inner-container .button-container.speaking .button {\n background-color: #0f69ff;\n }\n#spch.spch .spchc .inner-container .button-container.speaking .button .microphone {\n background-position: 0 -65px;\n width: 40px;\n height: 40px;\n pointer-events: none;\n position: absolute;\n transform: scale(1);\n }\n#spch.spch .spchc .inner-container .button-container.speaking .ripple {\n background-size: 114px;\n position: absolute;\n width: 114px;\n height: 114px;\n z-index: -1;\n left: 50%;\n top: 50%;\n margin: -57px 0 0 -57px;\n animation: speakingRipple1 2s infinite;\n }\n#spch.spch .spchc .inner-container .button-container.speaking .ripple:nth-child(2) {\n background-size: 123px;\n width: 123px;\n height: 123px;\n margin: -62px 0 0 -62px;\n animation: speakingRipple2 2s infinite;\n }\n#spch.spch .spchc .inner-container .button-container.speaking .ripple:nth-child(3) {\n background-size: 136px;\n width: 136px;\n height: 136px;\n margin: -68px 0 0 -68px;\n animation: speakingRipple3 2s infinite;\n }\n#spch.spch .spcho {\n background-image: linear-gradient(to bottom, rgb(255 255 255) 50%, rgb(255 255 255 / 0%) 99%);\n display: block;\n min-width: 100%;\n text-align: center;\n top: 145px;\n padding-bottom: 71px;\n pointer-events: auto;\n }\n#spch.spch .spcho #spch-trending {\n animation: fadeIn 1s forwards;\n opacity: 0;\n }\n#spch.spch .spcho #spch-trending .trending {\n color: #6e7780;\n display: inline-block;\n font-size: 16px;\n }\n#spch.spch .spcho #spch-trending #trending-label {\n font-weight: bold;\n margin: 5px;\n }\n#spch.spch .spcho #spch-trending.hide {\n display: none;\n }\n#spch.spch.s2tb .spchc, #spch.spch.s2tb-h .spchc {\n background: #fff;\n box-sizing: border-box;\n box-shadow: 0 2px 6px rgb(0 0 0 / 20%);\n height: auto;\n margin: 0;\n min-width: 100%;\n overflow: hidden;\n padding: 24px 115px;\n }\n#spch.spch.s2tb .spchc .inner-container, #spch.spch.s2tb-h .spchc .inner-container {\n opacity: 1;\n transition: opacity 0.318s ease-in;\n }\n#spch.spch.s2tb .spchc .inner-container .text-container, #spch.spch.s2tb-h .spchc .inner-container .text-container {\n position: relative;\n }\n#spch.spch.s2tb {\n background: rgb(255 255 255 / 0%);\n opacity: 1;\n visibility: visible;\n transition-delay: 0s;\n }\n#spch.spch.s2tb .spchc .inner-container .button-container {\n transform: scale(1);\n height: 97px;\n right: 0;\n top: 0;\n width: 97px;\n }\n#spch.spch.s2tb .spchc .inner-container .button-container .button {\n opacity: 1;\n pointer-events: auto;\n position: absolute;\n transform: scale(1);\n transition-delay: 0;\n }\n#spch.spch.s2tb .spchc .inner-container .text-container .spcht {\n font-size: 24px;\n margin-left: 0;\n opacity: 1;\n transition: opacity 0.5s ease-out, margin-left 0.5s ease-out;\n }\n#spch.spch.s2tb #spch-overlay {\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n background-color: #fff;\n height: 100%;\n opacity: 0.9;\n position: absolute;\n top: 149px;\n\n /* spchc\'s height */\n width: 100%;\n }\n#spch.spch.disable-blur-overlay #spch-overlay {\n background-color: transparent;\n\n /* stylelint-disable-next-line property-no-vendor-prefix */\n -webkit-backdrop-filter: none;\n backdrop-filter: none;\n }\n#spch.spch.disable-blur-overlay .spcho {\n height: 27px;\n padding-bottom: 20px;\n background: #fff;\n background-image: none;\n\n /* stylelint-disable-next-line property-no-vendor-prefix */\n\n /* stylelint-disable-next-line property-no-vendor-prefix */\n box-shadow: 0 8px 6px -6px rgb(0 0 0 / 20%);\n }\n#spch.spch.s2tb-h {\n background: rgb(255 255 255 / 0%);\n opacity: 0;\n visibility: hidden;\n }\n\n/* stylelint-disable-next-line keyframes-name-pattern */\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n/* stylelint-disable-next-line keyframes-name-pattern */\n@keyframes ripple {\n 0% {\n opacity: 1;\n transform: scale(0.7);\n }\n\n 100% {\n opacity: 0;\n transform: scale(1);\n }\n}\n\n/* stylelint-disable-next-line keyframes-name-pattern */\n@keyframes speakingRipple1 {\n 0%,\n 100% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple1-1-202105260611.png");\n }\n\n 25%,\n 75% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple1-2-202105260611.png");\n transform: scale(1.1);\n }\n\n 50% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple1-3-202105260611.png");\n transform: scale(0.9);\n }\n}\n\n/* stylelint-disable-next-line keyframes-name-pattern */\n@keyframes speakingRipple2 {\n 0%,\n 100% {\n background-image: none;\n }\n\n 25%,\n 75% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple2-2-202105260611.png");\n transform: scale(1.1);\n }\n\n 50% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple2-3-202105260611.png");\n transform: scale(0.9);\n }\n}\n\n/* stylelint-disable-next-line keyframes-name-pattern */\n@keyframes speakingRipple3 {\n 0%,\n 25%,\n 75%,\n 100% {\n background-image: none;\n }\n\n 50% {\n background-image: url("https://s.yimg.com/pv/static/img/ripple3-3-202105260611.png");\n transform: scale(0.9);\n }\n}\n',""]),t.Z=i},645:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var r=0;r0?" ".concat(n.layer):""," {")),o+=n.css,i&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},559:function(e){e.exports=JSON.parse('[{"id":"search.voice.hover_clear_text","description":"","defaultMessage":"Clear"},{"id":"search.voice.hover_search_text","description":"","defaultMessage":"Search the web"},{"id":"search.voice.hover_voice_text","description":"","defaultMessage":"Search by voice"},{"id":"search.voice.permission_text","description":"","defaultMessage":"Allow microphone access to enable voice search"},{"id":"search.voice.permission_title","description":"","defaultMessage":"Waiting for permission"},{"id":"search.voice.recognition_error","description":"","defaultMessage":"Please check your microphone and audio levels."},{"id":"search.voice.recognition_listening","description":"","defaultMessage":"Listening..."},{"id":"search.voice.recognition_nomatch","description":"","defaultMessage":"Didn\'t get that."},{"id":"search.voice.recognition_retry","description":"","defaultMessage":"Try again."},{"id":"search.voice.recognition_start","description":"","defaultMessage":"What would you like to search for?"},{"id":"search.voice.trending_title","description":"","defaultMessage":"Try saying"},{"id":"search.voice.trending_or","description":"","defaultMessage":"or"}]')},336:function(e){e.exports=JSON.parse('["ar-JO","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-IN","en-MY","en-NZ","en-PH","en-SG","es-AR","es-CL","es-CO","es-ES","es-MX","es-US","fi-FI","fr-CA","fr-CH","fr-FR","id-ID","it-CH","it-IT","ko-KR","nb-NO","nl-NL","pl-PL","pt-BR","ro-RO","ru-RU","sv-SE","th-TH","tr-TR","vi-VN","zh-Hant-HK","zh-Hant-TW"]')}},v={};function y(e){var t=v[e];if(void 0!==t)return t.exports;var n=v[e]={id:e,exports:{}};return f[e](n,n.exports,y),n.exports}y.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(t,{a:t}),t},y.d=function(e,t){for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},y.nc=void 0,e=y(379),t=y.n(e),n=y(795),o=y.n(n),i=y(569),r=y.n(i),a=y(565),s=y.n(a),c=y(216),l=y.n(c),d=y(589),u=y.n(d),p=y(383),(h={}).styleTagTransform=u(),h.setAttributes=s(),h.insert=r().bind(null,"head"),h.domAPI=o(),h.insertStyleElement=l(),t()(p.Z,h),p.Z&&p.Z.locals&&p.Z.locals,m=y(516),function(e,t){var n={uiLang:"en-US",speechLang:"en-US",voiceButton:"#voice-btn",searchBox:{form:"#sf",input:"#yschsp",params:{fr:"",fr2:""}},enable_voice_trending:!1,trending:{market:"en-us"},ui:{speechOverlay:{disableBlur:!1}},browsers:{edge:!1}};function o(i){var r=this;if(r.config=Object.assign(n,i||{}),r.i18n=new o.I18n({lang:r.config.uiLang}),r.renderPermissionGuide(r),r.renderSpeechPanel(r),r.speechResult="",r.noSpeech=!0,r.isRecognitionStart=!1,r.recognition=null,r.voiceButton=t.querySelector(r.config.voiceButton),r.searchBoxForm=t.querySelector(r.config.searchBox.form),r.searchBoxQuery=t.querySelector(r.config.searchBox.input),r.speechPanel=t.querySelector("#spch"),r.speechButtonContainer=t.querySelector("#spchbc"),r.speechButton=t.querySelector("#spchbc-btn"),r.speechText=t.querySelector("#spcht"),r.speechOverlay=t.getElementById("spch-overlay"),r.retryLink=t.querySelector("#spcht-retry"),r.trending=t.getElementById("spch-trending"),r.trendingTerms=t.getElementById("trending-terms"),r.termSpans=t.getElementsByClassName("trending-term"),r.closeButton=t.querySelector("#spchx"),r.startAudio=new Audio("https://s.yimg.com/pv/static/misc/voice-start-202105050733.wav"),r.resultAudio=new Audio("https://s.yimg.com/pv/static/misc/voice-result-202105050733.wav"),r.errorAudio=new Audio("https://s.yimg.com/pv/static/misc/voice-error-202105050733.wav"),r.closeAudio=new Audio("https://s.yimg.com/pv/static/misc/voice-close-202105050733.wav"),r.permissionGuide=t.querySelector("#spchp"),r.permissionGuideClose=t.querySelector("#spchpx"),r.permissionGuideTimer=null,r.onEscKeyDown=function(e){"Escape"===e.code&&(r.recognition.stop(),r.sendBeacon("keybrd","voicesearch_cancel_esc"),r.closePanel(r))},r.isBrowserSupported()){var a=e.SpeechRecognition||e.webkitSpeechRecognition,s=e.SpeechGrammarList||e.webkitSpeechGrammarList;r.recognition=new a;var c=new s;c.addFromString&&c.addFromString("#JSGF V1.0;",1),r.recognition.grammars=c,r.recognition.continuous=!1,r.recognition.lang=r.config.speechLang,r.recognition.interimResults=!1,r.recognition.maxAlternatives=1,r.voiceButton&&(r.voiceButton.onclick=function(){r.recognition.start(),r.permissionGuideTimer&&e.clearTimeout(r.permissionGuideTimer),r.permissionGuideTimer=e.setTimeout((function(){r.isRecognitionStart||r.showPermissionGuide(r)}),300),t.addEventListener("keydown",r.onEscKeyDown),r.sendBeacon("clk","voicesearch")}),r.speechButton&&(r.speechButton.onclick=function(){r.isRecognitionStart?(r.recognition.stop(),r.sendBeacon("clk","voicesearch_panel_mic_close"),r.closePanel(r)):(r.recognition.start(),r.sendBeacon("clk","voicesearch_panel_mic_restart"))}),r.retryLink&&(r.retryLink.onclick=function(){r.isRecognitionStart||(r.recognition.start(),r.sendBeacon("clk","voicesearch_panel_retry"))}),r.speechOverlay&&(r.speechOverlay.onclick=function(){r.recognition.stop(),r.sendBeacon("clk","voicesearch_cancel_outside"),r.closePanel(r)}),r.closeButton&&(r.closeButton.onclick=function(){r.recognition.stop(),r.sendBeacon("clk","voicesearch_cancel"),r.closePanel(r)}),r.permissionGuideClose&&(r.permissionGuideClose.onclick=function(){r.recognition.stop(),r.sendBeacon("clk","voicesearch_permission_close"),r.closeAudio.play(),r.hidePermissionGuide(r)}),r.recognition.onresult=function(t){r.speechResult=t.results[0][0].transcript,r.handlePunctuation(r),r.speechText&&(r.speechText.innerText=r.speechResult),r.searchBoxQuery&&(r.searchBoxQuery.value=r.speechResult),r.resultAudio.play(),e.setTimeout((function(){if(r.speechPanel&&(r.speechPanel.classList.remove("s2tb"),r.speechPanel.classList.add("s2tb-h")),r.hideRetryLink(r),r.searchBoxForm){var e=r.searchBoxForm.querySelector("[name=fr]"),t=r.searchBoxForm.querySelector("[name=fr2]");e&&r.config.searchBox&&r.config.searchBox.params&&r.config.searchBox.params.fr&&(e.value=i.searchBox.params.fr,e.disabled=!1),t&&r.config.searchBox&&r.config.searchBox.params&&r.config.searchBox.params.fr2&&(t.value=i.searchBox.params.fr2,t.disabled=!1),r.searchBoxForm.submit()}}),1e3)},r.recognition.onspeechstart=function(){},r.recognition.onspeechend=function(){r.recognition.stop()},r.recognition.onerror=function(){r.speechText&&(r.speechText.innerText=r.i18n.t("search.voice.recognition_error")),r.hideTrending(r),r.showRetryLink(r),r.errorAudio.play()},r.recognition.onaudiostart=function(){r.speechButtonContainer&&r.speechButtonContainer.classList.add("listening")},r.recognition.onaudioend=function(){r.speechButtonContainer&&r.speechButtonContainer.classList.remove("listening")},r.recognition.onsoundstart=function(){r.hideTrending(r),r.noSpeech=!1,r.speechButtonContainer&&(r.speechButtonContainer.classList.remove("listening"),r.speechButtonContainer.classList.add("speaking"))},r.recognition.onsoundend=function(){r.speechButtonContainer&&r.speechButtonContainer.classList.remove("speaking")},r.recognition.onstart=function(){r.recognitionInit(r),r.startRecognition(r)},r.recognition.onend=function(){r.isRecognitionStart=!1,0==r.noSpeech&&""==r.speechResult&&(r.speechText&&(r.speechText.innerText=r.i18n.t("search.voice.recognition_nomatch")),r.hideTrending(r),r.showRetryLink(r),r.errorAudio.play())},document&&document.dispatchEvent&&document.dispatchEvent(new Event("VOICE_JS_READY"))}}o.I18n=m,o.prototype.renderPermissionGuide=function(e){var t='\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    '.concat(e.i18n.t("search.voice.permission_title"),'
    \n
    ').concat(e.i18n.t("search.voice.permission_text"),"
    \n
    \n
    \n
    \n "),n=(new DOMParser).parseFromString(t,"text/html");document.body.appendChild(n.body.children[0])},o.prototype.renderSpeechPanel=function(e){var t='\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n
    \n
    \n

    \n \n \n '.concat(e.i18n.t("search.voice.recognition_retry"),'\n

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n '),n=(new DOMParser).parseFromString(t,"text/html");e&&e.config&&e.config.ui&&e.config.ui.speechOverlay&&e.config.ui.speechOverlay.disableBlur&&n.body.children[0].classList.add("disable-blur-overlay"),document.body.appendChild(n.body.children[0])},o.prototype.isBrowserSupported=function(){for(var t=!1,n=this,o=Boolean(window.chrome),i=/CriOS/.test(window.navigator.userAgent),r=/Edg\//.test(window.navigator.userAgent),a=/Edge\//.test(window.navigator.userAgent),s=Boolean(window.opr),c=Boolean(window.navigator.brave),l=[{checkEnabled:function(){return!0},checkBrowser:function(){return o&&!i&&!r&&!s&&!c},checkAPI:function(){return e&&("SpeechRecognition"in e||"webkitSpeechRecognition"in e)&&("SpeechGrammarList"in e||"webkitSpeechGrammarList"in e)}},{checkEnabled:function(){return n&&n.config&&n.config.browsers&&n.config.browsers.edge},checkBrowser:function(){return o&&r&&!a},checkAPI:function(){return e&&("SpeechRecognition"in e||"webkitSpeechRecognition"in e)&&("SpeechGrammarList"in e||"webkitSpeechGrammarList"in e)}}],d=0;d0){var t=e.speechResult.charAt(e.speechResult.length-1);"."!==t&&"?"!==t&&"。"!==t&&"?"!==t||(e.speechResult=e.speechResult.slice(0,-1))}},o.prototype.sendBeacon=function(t,n){var o=e.YAHOO.ULT||{},i=e.YAHOO.SB||{};if(o.beacon_click){var r={_S:i.config.i13n.spaceid,_I:i.config.i13n.pvid,actn:t,sec:"search",slk:n};e.YAHOO.ULT.beacon_click(r)}},o.prototype.ajaxReq=function(n,o){var i,r,a=XMLHttpRequest.DONE||4,s=new XMLHttpRequest;if(t.documentMode&&t.documentMode1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var o=arguments.length,i=new Array(o),r=0;r{t=setTimeout((()=>o(e(...i))),n)}))}},t.getFormattedMessage=function(e,t,n){let o;if(!e&&!t)return o;if("object"!=typeof e)return o;if(o=e[t],!o)return t;n&&Object.keys(n).forEach((e=>{o=o.replace(new RegExp("{"+e+"}","g"),n[e])}));return o},t.getRelativeTimeString=function(e){const t=(e=>{const t=Date.now(),a=n,s=(+e-+t)/1e3;if(Math.abs(s)0)return{value:Math.round(h),unit:"year"};const m=12*h+u.getMonth()-p.getMonth();if(Math.round(Math.abs(m))>0)return{value:Math.round(m),unit:"month"};const f=s/r;return{value:Math.round(f),unit:"week"}})(e),a=(window.searchContext||{}).intl||"en";if(window?.Intl?.RelativeTimeFormat)try{return new window.Intl.RelativeTimeFormat(a,{numeric:"auto"}).format(t.value,t.unit)}catch(e){return""}return""},t.renderSvg=void 0;const n={second:45,minute:45,hour:22,day:5},o=3600,i=86400,r=604800;t.renderSvg=function(){let{viewBox:e,height:t,width:n,className:o,nodes:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=document.createElementNS("http://www.w3.org/2000/svg","svg");return e&&r.setAttribute("viewBox",e),t&&r.setAttribute("height",t),n&&r.setAttribute("width",n),o&&r.setAttribute("class",o),Array.isArray(i)&&i.forEach((e=>{let[t,n]=e;const o=document.createElementNS("http://www.w3.org/2000/svg",t);Object.keys(n).forEach((e=>{if("string"!=typeof n[e])throw new Error(`Invalid SVG attribute ${e}=${JSON.stringify(n[e])}`);o.setAttribute(e,n[e])})),r.appendChild(o)})),r}})),Vt=n((function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports})),Wt=n((function(e){var t;(t=void 0===t?{}:t).attention={name:"attention",height:48,width:48,path:"M24.993 46.424c-12.13 0-22-9.87-22-22s9.87-22 22-22 22 9.87 22 22-9.87 22-22 22zm0-40c-9.925 0-18 8.075-18 18 0 9.926 8.075 18 18 18s18-8.074 18-18c0-9.924-8.075-18-18-18zM24.993 27.424c-1.104 0-2-.895-2-2v-10c0-1.104.896-2 2-2s2 .896 2 2v10c0 1.105-.895 2-2 2zM22.993 33.424a2 2 0 1 0 4 0 2 2 0 1 0-4 0z"},e.exports&&(e.exports=t.attention)})),Jt=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;t.Icon=class{constructor(){let{nodes:e,viewBox:t="0 0 48 48",width:n=16,height:o=16,className:i=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.nodes=e,this.viewBox=t,this.width=n,this.height=o,this.className=i}render(){return(0,Gt.renderSvg)(this)}}})),Kt={dummy:"_dummy_1ny14_3",noDisplay:"_noDisplay_1ny14_6",IbBox:"_IbBox_1ny14_9",BoxShadow:"_BoxShadow_1ny14_13",list:"_list_1ny14_16",selectedBackground:"_selectedBackground_1ny14_21",suggestionList:"_suggestionList_1ny14_25",resultsContainer:"_resultsContainer_1ny14_40",desktop:"_desktop_1ny14_43",smartphone:"_smartphone_1ny14_46",sectionHeader:"_sectionHeader_1ny14_49",sectionHeaderTitle:"_sectionHeaderTitle_1ny14_54",screenerText:"_screenerText_1ny14_66",screenerLink:"_screenerLink_1ny14_69",screenerIcon:"_screenerIcon_1ny14_84",errorMessage:"_errorMessage_1ny14_89",errorIcon:"_errorIcon_1ny14_96",tipMessage:"_tipMessage_1ny14_101",modernSuggestionItem:"_modernSuggestionItem_1ny14_111",linkItem:"_linkItem_1ny14_114",itemLeftCol:"_itemLeftCol_1ny14_127 _IbBox_1ny14_9",itemRightCol:"_itemRightCol_1ny14_131 _IbBox_1ny14_9",itemIconContainer:"_itemIconContainer_1ny14_136",itemIconContainerNoBg:"_itemIconContainerNoBg_1ny14_144",itemImageIconContainer:"_itemImageIconContainer_1ny14_150",Ell:"_Ell_1ny14_157",itemIcon:"_itemIcon_1ny14_136",ItemVideoIcon:"_ItemVideoIcon_1ny14_181 _itemIcon_1ny14_136",itemTitle:"_itemTitle_1ny14_186 _Ell_1ny14_157",itemTitleOnly:"_itemTitleOnly_1ny14_199 _itemTitle_1ny14_186 _Ell_1ny14_157",itemMeta:"_itemMeta_1ny14_203 _itemTitle_1ny14_186 _Ell_1ny14_157",itemSeperator:"_itemSeperator_1ny14_209"},Xt=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ListenerManager=void 0;t.ListenerManager=class{constructor(){this.listeners=[]}add(e,t,n){e&&"function"==typeof e.addEventListener&&(this.listeners.push({node:e,type:t,callback:n}),e.addEventListener(t,n))}destroy(){this.listeners.forEach((e=>{let{node:t,type:n,callback:o}=e;t.removeEventListener(n,o)})),this.listeners=[]}}})),$t=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestionItem=void 0;var n=Vt(Kt);t.SuggestionItem=class{constructor(e){let{suggestion:t,sectionIndex:n,query:o,itemIndex:i,className:r="",onClick:a=(()=>{}),onKeyDown:s=(()=>{}),defaultIcon:c}=e;this.query=o,this.suggestion=t,this.sectionIndex=n,this.itemIndex=i,this.className=r,this.href=t.linkCallback?t.linkCallback:t.link,this.onClick=a,this.onKeyDown=s,this.defaultIcon=c,this.listeners=new Xt.ListenerManager}_renderIcon(e,t){let{imageIcon:o,imageIconBgColor:i,title:r,viewBox:a,icon:s,noIconBg:c,iconWidth:l,iconHeight:d,itemIconColor:u}=e;const p=document.createElement("div");if(o){const e=document.createElement("img");e.src=o,e.width=32,e.alt=r,p.className=n.default.itemImageIconContainer,i&&(p.style.backgroundColor=`#${i}`,p.style.borderRadius="50%"),p.appendChild(e)}else if(s||t){p.className=c?n.default.itemIconContainerNoBg:n.default.itemIconContainer;const e=new Jt.Icon({nodes:[["path",{d:s?.path||t?.path}]],className:n.default.itemIcon,viewBox:a||"0 0 48 48",width:l||32,height:d||32}).render();u&&(e.style.fill=`#${u}`),p.appendChild(e)}return p}render(){const e=document.createElement("li");e.setAttribute("role","link"),e.setAttribute("title",this.suggestion.title),e.setAttribute("tabindex","0"),e.setAttribute("data-type",this.type),e.setAttribute("data-index",this.sectionIndex),e.setAttribute("data-pindex",this.itemIndex),e.className=n.default.linkItem+" "+this.className,this.listeners.add(e,"click",this.onClick),this.listeners.add(e,"keydown",this.onKeyDown);const t=document.createElement("div"),o=document.createElement("div");t.className=n.default.itemLeftCol,o.className=n.default.itemRightCol,t.appendChild(this._renderIcon(this.suggestion,this.defaultIcon));const i=document.createElement("h5");if(i.className=n.default.itemTitleOnly,i.textContent=this.suggestion.title,o.appendChild(i),this.suggestion.subtitle){i.className=n.default.itemTitle;const e=document.createElement("div");e.className=n.default.itemMeta;const t=document.createElement("span");if(t.textContent=this.suggestion.subtitle||"",e.appendChild(t),this.suggestion.timeStamp){const t=document.createElement("i");t.setAttribute("aria-hidden","true"),t.className=n.default.itemSeperator,t.innerHTML="•",e.appendChild(t);const o=document.createElement("span");o.textContent=(0,Gt.getRelativeTimeString)(1e3*this.suggestion.timeStamp),e.appendChild(o)}o.appendChild(e)}return e.appendChild(t),e.appendChild(o),e}}})),Zt=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestionList=void 0;var n=Vt(Wt),o=Vt(Kt);const i={smartphone:"smartphone",desktop:"desktop"},r="typing";t.SuggestionList=class{constructor(e,t){let{i13n:n,device:o,strings:r={},onClearCb:a,onSelectCb:s,rapidInstance:c}=t;this.els=e,this.listeners=new Xt.ListenerManager,this.i13n=n,this.strings=r,this.onClearCb=a,this.onSelectCb=s,this.rapidInstance=c,this.query="",this.suggestions=null,this.resultsNode=null,this.suggestionNode=null,this.footerNode=null,this.selectedIndex=-1,this.onSelect=this.onSelect.bind(this),this.onClear=this.onClear.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onDocumentClick=this.onDocumentClick.bind(this),this.loadSuggestions=this.loadSuggestions.bind(this),this.hideSuggestions=this.hideSuggestions.bind(this),this.showSuggestions=this.showSuggestions.bind(this),this.onResize=this.onResize.bind(this),this.device=i[o]||"desktop",this.init()}init(){const{clearBtn:e,input:t,resultsWrap:n}=this.els;if(n){t&&(t.setAttribute("role","combobox"),t.setAttribute("aria-autocomplete","both"),t.setAttribute("aria-expanded","false"),t.setAttribute("required","")),n.classList.add(o.default.noDisplay),this.resultsNode=document.createElement("div"),this.resultsNode.className=o.default.suggestionList+" "+o.default[this.device],this.updateResultsNodeTopOffset(),this.suggestionNode=document.createElement("div"),this.suggestionNode.className=o.default.resultsContainer,this.resultsNode.appendChild(this.suggestionNode),n.appendChild(this.resultsNode),this.footerNode=document.createElement("footer"),this.footerNode.className=o.default.noDisplay;const i=document.createElement("p");i.className=o.default.tipMessage,i.textContent=(0,Gt.getFormattedMessage)(this.strings,"SEARCH_TIP"),this.footerNode.appendChild(i),this.resultsNode.appendChild(this.footerNode),e&&!t.checkValidity()&&(e.classList.add(o.default.noDisplay),this.listeners.add(e,"click",this.onClear)),"smartphone"!=this.device&&this.listeners.add(window,"resize",this.onResize)}}destroy(){const{clearBtn:e,resultsWrap:t,input:n}=this.els;this.listeners.destroy(),t&&(t.classList.remove(o.default.noDisplay),this.resultsNode.parentNode.removeChild(this.resultsNode),delete this.resultsNode),e&&n.checkValidity()&&e.classList.remove(o.default.noDisplay)}showSuggestions(){const{container:e,input:t,resultsWrap:n}=this.els;n&&(this.listeners.add(document,"click",this.onDocumentClick),n.classList.remove(o.default.noDisplay),t&&(e&&(e.classList.add(r),document.body.classList.add(r)),t.setAttribute("aria-expanded","true")))}onSubmit(e){if(this.suggestionNode.length>0&&this.selectedIndex>-1){e.preventDefault();const t=this.suggestionNode[this.selectedIndex],n=Number(t.getAttribute("data-index")),o=Number(t.getAttribute("data-pindex"));this.handleItemSelect(e,{sectionIndex:n,itemIndex:o,i13nModel:{elm:"kybrd"}},(e=>{"function"==typeof this.onSelectCb&&this.onSelectCb(e)}))}(0,Gt.beaconClick)(this.i13n.sec,"websrch",{subsec:this.i13n.subsec,itc:0,elm:"itm",elmt:"kybrd",rspns:"nav",pp:{query:this.query}},(()=>{e.target.submit()}),this.rapidInstance)}handleItemSelect(e,t){let{sectionIndex:n,itemIndex:o,i13nModel:i}=t,r=this.suggestions&&this.suggestions[n]&&this.suggestions[n].items&&this.suggestions[n].items[o]||{};const a=r?this.suggestions[n].linkCallback?this.suggestions[n].linkCallback:r.link:null;let s=a;a&&"function"==typeof a&&(s=a(e,r,(()=>{}))),(0,Gt.beaconClick)(this.i13n.sec,this.suggestions[n].sectionName,{subsec:this.i13n.subsec,itc:0,elm:"itm",elmt:"link",rspns:"nav",ct:this.suggestions[n].type.toLowerCase(),cat:"",_p:n,cpos:o,pp:{query:this.query},tar:window.location.hostname,tar_uri:s,...i},(()=>{s&&window.location.assign(s)}),this.rapidInstance)}hideSuggestions(){const{clearBtn:e,container:t,input:n,resultsWrap:i}=this.els;i&&(document.removeEventListener("click",this.onDocumentClick),i.classList.add(o.default.noDisplay),e&&!n.checkValidity()&&e.classList.add(o.default.noDisplay),n&&n.setAttribute("aria-expanded","false"),t&&(document.body.classList.remove(r),t.classList.remove(r)))}loadSuggestions(e,t){const{clearBtn:n,input:i}=this.els;this.suggestions&&t&&this.suggestions.timestamp>t.timestamp||(this.clear(),this.query=e,this.suggestions=t.suggestions,this.render(),n&&i.checkValidity()?n.classList.remove(o.default.noDisplay):n.classList.add(o.default.noDisplay),this.suggestions?.[0]&&0===Object.keys(this.suggestions[0]).length?this.resultsNode.classList.remove(o.default.BoxShadow):this.resultsNode.classList.add(o.default.BoxShadow))}onDocumentClick(e){this.els.form.contains(e.target)||this.hideSuggestions()}onSelect(e){let t=e.target;if(!t)return;for(;null!==t.parentNode&&(!t.nodeName||"li"!==t.nodeName.toLowerCase());)t=t.parentNode;const n=Number(t.getAttribute("data-index")),o=Number(t.getAttribute("data-pindex"));this.handleItemSelect(e,{sectionIndex:n,itemIndex:o},(e=>{"function"==typeof this.onSelectCb&&this.onSelectCb(e)}))}onClear(e){const{clearBtn:t,input:n}=this.els;(0,Gt.beaconClick)(this.i13n.sec,"clr-click",{subsec:this.i13n.subsec,itc:1,elm:"icn",elmt:"clr",outcm:"srch-clr"},(()=>{}),this.rapidInstance),t.classList.add(o.default.noDisplay),n.value="","function"==typeof this.onClearCb&&this.onClearCb(e),n.focus()}onKeyDown(e){"Enter"===e.key&&this.onSelect(e)}onResize(){this.updateResultsNodeTopOffset()}clear(){for(;this.suggestionNode.firstChild;)this.suggestionNode.removeChild(this.suggestionNode.firstChild);this.query="",this.suggestions=null}render(){if(!this.suggestionNode)return;this.query?this.suggestionNode.classList.add("is-gossip"):this.suggestionNode.classList.remove("is-gossip"),this.footerNode.classList.contains(o.default.noDisplay)||(this.footerNode.classList.add(o.default.noDisplay),this.suggestionNode.classList.remove(o.default.BoxShadow));const e=document.createDocumentFragment();if(this.suggestions&&0!==this.suggestions.length)this.suggestions&&this.suggestions.forEach(((t,n)=>{const o=this.renderSectionHeader(t.title);o&&e.appendChild(o),e.appendChild(this.renderSectionList(t,n))}));else{const t=document.createElement("div");t.className=o.default.errorIcon,t.appendChild(new Jt.Icon({nodes:[["path",{d:n.default.path}]]}).render());const i=document.createElement("div");i.className=o.default.errorMessage,i.textContent=(0,Gt.getFormattedMessage)(this.strings,"MSG_NO_SEARCH_RESULTS",{query:decodeURIComponent(this.query||"")}),e.appendChild(t),e.appendChild(i),this.footerNode.classList.remove(o.default.noDisplay)}this.suggestionNode.appendChild(e)}renderSectionList(e,t){const n=document.createDocumentFragment(),i=e.items;if(i&&$t.SuggestionItem)for(let o=0;o0?e.offsetHeight:44)+"px"}}})),Qt=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=()=>{};t.default=class{constructor(e){this.els=e,this.listeners=new Xt.ListenerManager}init(){let{getSearchResult:e=n,rapidInstance:t,i13n:o,device:i,strings:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{form:a,input:s}=this.els;if(a){if(!s)return void console.warn("[SearchJS] No input Node found, see documentation to configure input");let n=this.els.resultsWrap;n||(n=document.createElement("div"),a.appendChild(n),this.els.resultsWrap=n);const c=this.suggestionList=new Zt.SuggestionList(this.els,{i13n:o,strings:r,device:i,container:n,onSelectCb:this.onSelect,onClearCb:this.onClear,rapidInstance:t});this.listeners.add(s,"input",(0,Gt.debouncePromise)((t=>{if(c){const n=(t.target.value||"").trim();e(n,{type:"input"},(e=>{c.loadSuggestions(n,e)})),c.showSuggestions()}}))),this.listeners.add(s,"focus",(()=>{if(c){const t=(s.value||"").trim();e(t,{type:"focus"},(e=>{c.loadSuggestions(t,e)})),c.showSuggestions()}})),this.listeners.add(s,"keydown",(e=>{switch(e.key){case"ArrowUp":case"ArrowDown":break;case"Escape":s.blur(),c?.hideSuggestions(e);break;case"Spacebar":case" ":""===s.value.trim()&&(e.preventDefault(),e.stopPropagation())}})),this.listeners.add(a,"submit",(e=>{e.preventDefault(),c?.onSubmit(e)})),this.listeners.add(a,"focusout",(e=>{const t=e.relatedTarget;t&&!a.contains(t)&&(s.blur(),c?.hideSuggestions(e))}))}else console.warn("[SearchJS] No form Node provided")}destroy(){this.listeners.destroy(),this.suggestionList.destroy(),delete this.suggestionList}onSelect(e){let{index:t,type:n,url:o,symbol:i,query:r}=e;"function"!=typeof this.onSelectCb?window.location.assign(o):this.onSelectCb({index:t,type:n,url:o,symbol:i,query:r})}onClear(){this.suggestionList&&this.suggestionList.showSuggestions()}}})),en=Qt.default,tn=function(){},nn=function(e){var t;null===(t=e.ybar)||void 0===t||t.classList.remove("ybar-searchbox-assist-fullscreen"),document.documentElement.classList.remove("ybar-overlay"),document.body.classList.remove("ybar-overlay-noscroll"),e.input instanceof HTMLInputElement&&(e.input.value="")},on=function(e,t,n){var o,i,r;void 0===n&&(n=tn);var a=e.getConfig(),s=a.device,c=a.property,l=a.i18n["searchjs-lib"],d=new en(m(m({},t),{clearBtn:t.clearBtn}));d.init({device:s,i13n:{sec:"ybar",subsec:"searchbox"},strings:{MSG_NO_SEARCH_RESULTS:l.MSG_NO_SEARCH_RESULTS,SEARCH_TIP:l["SEARCH_TIP_".concat(c.toUpperCase())]||l.SEARCH_TIP},getSearchResult:n}),t.ybar&&t.ybar.classList.contains("ybar-ytheme-crunch")&&(null===(o=t.ybarAccount)||void 0===o||o.addEventListener("mouseenter",(function(){d.suggestionList.hideSuggestions(),nn(t)}))),"smartphone"===s&&t.ybar&&t.ybar.classList.contains("ybar-ytheme-crunch")&&(null===(i=t.input)||void 0===i||i.addEventListener("click",(function(){t.container&&t.ybar&&t.container.addEventListener("click",(function(){if(t.ybar){if(t.ybar.classList.contains("ybar-searchbox-assist-fullscreen"))return;t.ybar.classList.add("ybar-searchbox-assist-fullscreen")}document.documentElement.classList.contains("ybar-overlay")||(document.documentElement.classList.toggle("ybar-overlay"),document.body.classList.add("ybar-overlay-noscroll"))}))})),null===(r=t.backBtn)||void 0===r||r.addEventListener("click",(function(e){e.stopPropagation(),d.suggestionList.hideSuggestions(),nn(t)})),e.onDestroy((function(){nn(t)}))),e.onDestroy((function(){d.destroy()}))};ve("ybar-mod-searchjs-lib",(function(e){!function(e,t){f(void 0,void 0,void 0,(function(){var n,o;return v(this,(function(i){switch(i.label){case 0:return t.form&&t.input?"function"!=typeof en?(s("SA Error",new Error("Search lib not found. SearchAssist failed to initialise")),[2]):[3,2]:(s("searchjs-lib init",new Error("Search form elements not found")),[2]);case 1:return n=i.sent().getPlugin,o=n(e,t).getSearchResult,on(e,t,o),[3,6];case 2:return[3,4];case 3:return n=i.sent().getPlugin,o=n(e,t).getSearchResult,on(e,t,o),[3,6];case 4:return[4,Promise.resolve().then((function(){return qo}))];case 5:n=i.sent().getPlugin,o=n(e,t).getSearchResult,on(e,t,o),i.label=6;case 6:return[2]}}))}))}(e,{backBtn:document.getElementById("ybar-search-back-btn"),clearBtn:document.getElementById("ybar-sbq-x"),container:document.getElementById("ybar-search-box-container"),form:document.getElementById("ybar-sf"),input:document.getElementById("ybar-sbq"),ybar:document.getElementById("ybar"),ybarAccount:document.getElementById("ybarAccountProfile")})}));var rn="_yb_d4vggx",an="_yb_wfqeg1",sn="_yb_qmx1f8",cn="_yb_d542ut",ln="_yb_mad6kw",dn="_yb_3kikhp",un="_yb_q667ah",pn="_yb_4yja3m";ve("ybar-mod-adaptivenav",(function(e){var t={moreDropDown:document.querySelector(".".concat(rn)),moreBtn:document.querySelector(".".concat(an)),wrap:document.querySelector(".".concat(cn)),moreSectionTitle:document.querySelectorAll(".".concat(ln)),editionsCtaBtn:document.querySelector(".".concat(dn)),editionsMenu:document.querySelector(".".concat(un)),closeBtn:document.querySelector(".".concat(pn))},n=!1,o=function(t,n){var o=t.moreDropDown,i=t.moreBtn,r=t.wrap,a={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"};o&&i&&r&&o.classList.contains("".concat(rn))&&(o.classList.remove("".concat(rn)),r.classList.add("".concat(sn)),i.setAttribute("aria-expanded","true"),a.elm="expand",e.triggerEvent("adapnav:more:show",{event:n}),Z("ybar",a.slk,"",a))},i=function(e,t){void 0===t&&(t=!1);var o=e.moreDropDown,i=e.moreBtn,r=e.wrap,a={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};o&&i&&r&&(o.classList.contains("".concat(rn))||(o.classList.add("".concat(rn)),r.classList.remove("".concat(sn)),i.setAttribute("aria-expanded","false"),n||t||Z("ybar",a.slk,"",a)))},r=function(e,t){void 0===t&&(t=!1);var n=e.editionsMenu,o={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};null==n||n.close(),t||Z("ybar",o.slk,"",o)},a=function(){var e;window.innerWidthi.right||e.clientYi.bottom)&&(null===(o=t.editionsMenu)||void 0===o||o.close())})),window.addEventListener("resize",a)),e.onDestroy((function(){i(t,!0),r(t,!0),window.removeEventListener("resize",a)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&i(t)}))}));var hn,mn,fn,vn={"account-status-container":"_yb_4j5xqp","accounts-container":"_yb_wmhq3","accounts-list":"_yb_pa0jku",chevron:"_yb_1b3zfc8",current:"_yb_1ue85nu",expanded:"_yb_1f5cqw4",greetings:"_yb_1ftza5t","greetings-container":"_yb_13x0prv",hide:"_yb_26v8oz",mobile:"_yb_15vn9yb",multiple:"_yb_kjagwj","loading-profile-wrapper":"_yb_8vrxp9","loading-profile-button":"_yb_1fv1m8o","notification-container":"_yb_g14yxw","pfs-container":"_yb_llu0uk","pfs-iframe":"_yb_uwx5z3",show:"_yb_273bq8","sign-in-menu":"_yb_jr9obo","signed-in":"_yb_blbt0b","signed-in-mark":"_yb_1fn63qb","signed-out":"_yb_1e7b2s2","signedout-text":"_yb_1o06efj","stacked-name":"_yb_1quyu5i","stacked-name-given":"_yb_13abujc","stacked-name-family":"_yb_1am2uu5","uh3-layout":"_yb_1k64b96","ybar-account-img":"_yb_z88vop","ybar-account-img-signed-out":"_yb_791dcl","ybar-account-img-hidden":"_yb_1tyggi6","ybar-account-menu":"_yb_nvuevt","ybar-account-menu-item-signed-out":"_yb_dj8325","ybar-account-user-email":"_yb_19icj2y","ybar-account-user-email-other":"_yb_175wnir","ybar-account-user-name":"_yb_xgtk0h","ybar-account-user-signedout":"_yb_14375xm","ybar-account-yahoo-plus-imp":"_yb_qpy4es","ybar-icon-arrow":"_yb_zd2jh5","ybar-icon-arrow-down":"_yb_13jo2ti","ybar-icon-arrow-up":"_yb_16fp6ep","ybar-icon-image-wrapper":"_yb_446se1","ybar-item-hidden":"_yb_1up8plg","ybar-login-btn":"_yb_xu9g1c","ybar-mod-account":"_yb_1x7eklo","ybar-mod-mail":"_yb_1dbk2qs","ybar-profile-character":"_yb_1341bkp","ybar-profile-character-hidden":"_yb_s4zyv2","ybar-see-info":"_yb_1u5oh6e","ybar-sign-out":"_yb_oyjq3a","ybar-sign-out-text":"_yb_17y9see","ybar-user-accounts-list":"_yb_100rvhj","ybar-user-profile-img":"_yb_1ytnwqn"};hn="ybar",fn={createHTML:function(e){return e}},void 0!==(mn=window.trustedTypes)&&void 0!==mn.createPolicy&&window.trustedTypes.createPolicy(hn,fn);var yn,gn=!1,bn=function(e,t,n){var o,i=n.ybarAccMenuItemTemplate,r=n.crumb;if(i){var a=(t+1).toString(),s=i.getAttribute("data-signedOutState"),c=i.getAttribute("data-signedInState")||"",l=i.getAttribute("data-done")||"",d=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=230&&(e.greetings.classList.add(vn.hide),e.stackedName.classList.remove(vn.hide),e.chevron&&(e.chevron.style.marginTop="-35px"))},_n=function(e,t,n){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(n&&(n=~e.indexOf("&activity=ybar-")?void 0:n.replace("[[pspid]]",se())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),n&&(e+="&"+n),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(t)):(e=le(e),e+=".done="+encodeURIComponent(t),n&&(e+="&"+n),e))},xn=function(e,t){var n,o=e.ybarAccMenuItemTemplate,i=e.ybarAccountContainer,r=document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),a=document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-sign-out"])),s=i&&i.querySelectorAll("a"),c="",l=window.location.href;if(r){var d=r.href;t.onDestroy((function(){r.href=d})),r.href=_n(r.href,l,r.getAttribute("data-redirect-params")||void 0)}if(o?c=o.getAttribute("data-sign-out-url")||"":a&&(c=a.getAttribute("data-sign-out-url")||""),s){var u=function(){var e=n,o=s[e].href;t.onDestroy((function(){s[e].href=o}));var i=s[n].getAttribute("data-redirect-params");s[n].classList.contains(vn["ybar-sign-out"])?s[n].href=_n(s[n].href,c,i||void 0):s[n].href=_n(s[n].href,l,i||void 0)};for(n=0;n=0;--t){e[t]=(i=void 0,(i={fn:(o=e[t]).fn||"",ln:o.ln||"",em:o.em||"",alias:o.alias||"",imageUrl:o.imageUrl,state:o.state,fullName:null,identifier:""}).fullName=ue(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var n=e[t].state;0!==n&&"0"!==n||(window.YBAR&&window.YBAR.setUserEmail(e[t].em),yn=e[t],e.splice(t,1)[0])}var o,i;return e}(r.users);if(t.isUH3Layout&&yn){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),d=yn.fn&&yn.fn[0].toUpperCase()||"",u=ue(yn.fn,yn.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&de(yn.imageUrl)&&!u)l.innerHTML=d,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var h=new Image;h.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),h.src=yn.imageUrl,h.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",h.ontransitionend=p,h.onload=function(){h.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(h),l&&l.remove()}t.greetings&&(t.greetings.innerText=yn.fullName||""),t.stackedNameGiven&&(t.stackedNameGiven.innerText=yn.fn||""),t.stackedNameFamily&&(t.stackedNameFamily.innerText=yn.ln||""),wn(t)}c.length>0&&(c.unshift(yn),t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var m=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),f=function(n){var o=bn(c[n],n,t);o&&(null==m||m.appendChild(o)),e.onDestroy((function(){o&&(null==m||m.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(a," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(a," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),s&&s.classList.add(vn.show),n){var w=document.querySelector("".concat(a," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],x=vn["ybar-icon-arrow-down"],L=vn["ybar-item-hidden"],k=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(x),e.addElementListener(w,"click",(function(){for(var e=0;e3){var S=document.querySelector("".concat(a," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}xn(t,e),o&&o(),gn=!1}))}},kn=function(e,t,n){var o,i,r,a,s,c={},l=e.getConfig(),d=new URLSearchParams({activity_p:"ybar"}),u=null,p="https://pfs.yahoo.com",h=function(e){for(var t=e.split(";"),n=new Map,o=0;o720?720:e},v=function(){document.body.removeEventListener("focusin",v,!1),document.body.removeEventListener("click",v,!1),u&&(u.style.height="0",u.style.visibility="hidden")},g=function(){setTimeout((function(){var e;if(null===(e=document.activeElement)||void 0===e?void 0:e.classList.contains(n))return document.body.addEventListener("focusin",v,!1),void document.body.addEventListener("click",v,!1);v()}),300)},b=function(){u&&(u.style.visibility="visible",m("resize",{height:f()}))},w=function(){if(null===u){(u=document.createElement("iframe")).src="".concat(p,"/?").concat(d.toString()),u.scrolling="no",u.sandbox.add("allow-forms"),u.sandbox.add("allow-scripts"),u.sandbox.add("allow-same-origin"),u.sandbox.add("allow-popups"),u.classList.add(n),u.style.visibility="visible",u.style.height="0px",u.style.opacity="0";var r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode("body { background: var(--UI-White, #FFF); }.skeleton-container { display: inline-flex; padding: 20px 20px 41px 20px; justify-content: center; align-items: center; background: var(--UI-White, #FFF); }.profile-skeleton { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.userinfo-container { display: flex; align-items: center; gap: 12px; }.avatar { width: 72px; height: 72px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.userinfo { display: flex; padding: 8px 0px; flex-direction: column; align-items: flex-start; gap: 10px; }.name { width: 117px; height: 16px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.email { width: 74px; height: 12px; border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.manage-account { width: 284px; height: 40px; border-radius: 40px; opacity: 0.5; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); }.list-container { display: flex; padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 36px; align-self: stretch; opacity: 0.25; }.list { border-radius: 8px; background: var(--Greyscale-14-Grey-Hair, #F0F3F5); } .list:nth-child(1) { width: 198px; height: 12px; }.list:nth-child(2) { width: 169.5px; height: 12px; }.list:nth-child(3) { width: 198px; height: 12px; }")),u.addEventListener("load",(function(){setTimeout((function(){var n;o&&i||(e.triggerEvent("ybar-pfs-init-failure"),null===(n=null==u?void 0:u.parentNode)||void 0===n||n.removeChild(u),t.ybarAccountContainer&&t.ybarAccountContainer.setAttribute("data-pfs","err"))}),500)})),t.loggedInUserElement&&(t.loggedInUserElement.appendChild(u),u.contentDocument&&(u.contentDocument.head.appendChild(r),u.contentDocument.body.innerHTML='\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    ',u.style.opacity="1",setTimeout((function(){u&&(u.style.height="300px")}),100)),e.addElementListener(t.loggedInUserElement,"mouseleave",g),e.addElementListener(t.loggedInUserElement,"blur",g),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",w,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",w,{once:!0}),e.onDestroy((function(){v(),u=null})),t.ybarAccountContainer)"false"===t.ybarAccountContainer.getAttribute("data-prod")&&(p="https://stage.pfs.yahoo.com"),d.set("intl","us"),d.set("src",l.property),d.set("lang",l.locale),d.set("theme",(r="light",a=document.documentElement,null!==(s=a.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(r="dark"===a.getAttribute("data-color-scheme")?"dark":"auto"),r)),d.set("done",window.location.href),d.set("pspid",se());window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==u&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,i=e.source,m("initialize",{height:f(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":u.style.height="0";break;case"show":u.style.height=t.params.height,u.style.visibility="0"===t.params.height?"hidden":"visible",t.params.width&&(u.style.width=t.params.width);break;case"redirect":c=h(t.params["data-ylk"]),Z("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=h(t.params["data-ylk"]),Z("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}})),window.addEventListener("keyup",(function(e){if(!u||"visible"===u.style.visibility){27===e.keyCode&&g()}}))}},Sn=null,Cn=!0,En=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},An=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,i=t.ybarMobile,r=t.ybarMenuManagePub,a=t.signInAccountMenu,c=t.signInBtn,l=t.ybarModAccount,d=t.yahooPlusImpression,u=t.chevron,p=t.greetingsContainer,h=t.accountsContainer,m=t.ybarLabel,f=e.getConfig(),v=function(){new Et(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},y=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),xn(t,e);else{var i=new Error("ybarAccountContainer not Found");s("ERROR:",i)}n&&Cn&&(Cn=!1,e.onDestroy((function(){Cn=!0})),Ln(e,t,o,v))},g=function(){var e,t;0===En&&(En=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",g),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",g),setTimeout((function(){Q()}),500))},b=function(t){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("profile:show",{event:t}))},w=function(t){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?(n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")):(n.classList.add("ybarMenuOpen"),o.setAttribute("aria-expanded","true"),e.triggerEvent("profile:show",{event:t}))}},_=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},L=function(e){27===e.keyCode&&(_(),null==m||m.blur())},k=function(){if(d&&!d.getAttribute("src")&&d.getAttribute("data-src")){var t=d.getAttribute("data-src")||"";Tt(t).then((function(e){null===Sn&&((Sn=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",Sn.sandbox.add("allow-scripts"),Sn.sandbox.add("allow-same-origin"),Sn.height="0",Sn.width="0",Sn.referrerPolicy="origin",Sn.style.display="none",Sn.style.visibility="hidden",document.body.appendChild(Sn)),d.setAttribute("src",e)})),e.onDestroy((function(){d.setAttribute("src",""),Sn=null}))}};wn(t),c&&(function(e,t,n,o,i){e.addElementListener(t,"mouseenter",(function(){var e=JSON.stringify({sec:n,slk:o,params:i});Le[e]||(Le[e]=!0,Z(n,o,"",i),setTimeout((function(){delete Le[e]}),1e3))}))}(e,c,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),xn(t,e));var S=function(){y(!1),e.addEventListener("close-all-menus",(function(){a&&a.classList.contains(vn.show)&&a.parentNode&&!xe(a.parentNode)&&_()})),h&&u&&p&&e.addElementListener(p,"click",(function(e){e.stopPropagation(),p.classList.contains(vn.multiple)&&(h.classList.contains("hide")?(u.classList.add(vn.expanded),h.classList.remove("hide"),p.setAttribute("aria-expanded","true")):(u.classList.remove(vn.expanded),h.classList.add("hide"),p.setAttribute("aria-expanded","false"),p.setAttribute("aria-label",p.getAttribute("data-label")||"")))})),"mail"===f.property&&h&&u&&p&&(u.classList.add(vn.expanded),h.classList.remove("hide"),p.setAttribute("aria-expanded","true")),e.onDestroy((function(){_()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",k),e.addElementListener(l,"focus",k)),o&&o.parentNode&&(e.addElementListener(o.parentNode,"mouseenter",g),e.addElementListener(o.parentNode,"focusin",g)),ke("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"focusin",b),e.addElementListener(l,"focusout",_),e.addElementListener(l,"click",w),e.addElementListener(l,"mouseenter",w),e.addElementListener(l,"mouseleave",_),e.addElementListener(r,"click",_),e.addElementListener(l,"mouseenter",x),e.addElementListener(l,"keydown",L)};if(o||i||a){if(i)y(!0);else{if(n&&"true"===n.getAttribute("data-pfs"))return kn(e,t,vn["pfs-iframe"]),void e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),S();Z("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}));S()}Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,i;e=t.size,i="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=i})}))}window.addEventListener("keyup",L)};ve("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),jsapicrumb:document.querySelector('input[name="jsapicrumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),isAOLMail:!!document.querySelector("#ybar.ybar-variant-aolmail"),chevron:document.querySelector(".".concat(vn.chevron)),accountsContainer:document.querySelector(".".concat(vn["accounts-container"])),greetingsContainer:document.querySelector(".".concat(vn["greetings-container"])),ybarAccountMenuBody:document.getElementById("ybarAccountMenuBody"),greetings:document.querySelector(".".concat(vn.greetings)),stackedName:document.querySelector(".".concat(vn["stacked-name"])),stackedNameGiven:document.querySelector(".".concat(vn["stacked-name-given"])),stackedNameFamily:document.querySelector(".".concat(vn["stacked-name-family"])),ybarLabel:document.querySelector("#ybarAccountMenuOpener"),ybarLoadingProfileWrapper:document.querySelector(".".concat(vn["loading-profile-wrapper"]))};An(e,n)}));var Nn={"popover-body":"_yb_qbziaf","ybar-mail-link":"_yb_1phvhey","ybar-mail-preview":"_yb_3akxvk","ybar-mail-signin-link":"_yb_1orfexf","ybar-mod-mail":"_yb_1mj5kks","ybar-mod-mail-promo-imp":"_yb_vw75kn","ybar-large-unread":"_yb_th2j7b","ybar-mid-unread":"_yb_1v2z162","ybar-mail-indicator":"_yb_12o8wcr","ybar-unread-active":"_yb_1076nra","count-loaded":"_yb_wk59gi"},In=function(e){var t,n;null===(t=e.mailPreview)||void 0===t||t.classList.add("ybarMenuOpen"),null===(n=e.mailLink)||void 0===n||n.setAttribute("aria-expanded","true")},Tn=function(e){var t,n;null===(t=e.mailPreview)||void 0===t||t.classList.remove("ybarMenuOpen"),null===(n=e.mailLink)||void 0===n||n.setAttribute("aria-expanded","false")},Bn=function(e,t,n){var o=t.mailLink,i=t.mailUnread,r=t.mailUnreadSpan,a=t.mailIndicator,s=t.mailModule,c="".concat(Nn["ybar-unread-active"]);n.fetchCount().then((function(t){if(i&&t>0){var n=e.getConfig().i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&n&&o.setAttribute("aria-label",n.replace("{count}",t.toString())),i.classList.add(c),a&&(a.classList.add(c),null==s||s.classList.add(c)),r){var l=t>99;r.textContent=l?"99+":t+"",i.classList.add("".concat(Nn["count-loaded"])),l?i.classList.add("".concat(Nn["ybar-large-unread"])):t>=10&&i.classList.add("".concat(Nn["ybar-mid-unread"]))}e.onDestroy((function(){i.classList.remove(c),a&&a.classList.remove(c),r&&(r.textContent="")}))}})).catch((function(){}))};ve("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,i=t.mailSigninLink,r=t.mailPreview;if(n){var a=new ht;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){xe(n)||Tn(t)})),e.addElementListener(r,"focusin",(function(){In(t)})),e.addElementListener(r,"focusout",(function(){Tn(t)})),e.onDestroy((function(){Tn(t)})),i){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,se()),o.href=le(o.href)+s,(null==i?void 0:i.href)&&(i.href=le(i.href)+s)}}else Bn(e,t,a)}}(e,{mailModule:document.querySelector(".".concat(Nn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Nn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Nn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Nn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Nn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Nn["ybar-mail-preview"].split(" ").join(".")," .").concat(Nn["popover-body"].split(" ").join(".")))})}));var On,qn,Rn="_yb_1ccglyi",Pn="_yb_rzopal",Dn="_yb_audjol",Hn="_yb_1wjv94d",zn="_yb_3mgtbg",Un="_yb_1czefwb",jn="_yb_16b37l0",Yn="_yb_11uh1fj",Fn="_yb_17jynti",Gn="_yb_1tfplhr",Vn=function(e){var t=document.querySelector("#ybar-navigation-item-mail"),n=document.querySelector("#ybar-navigation-item-mail > a"),o=document.querySelector("#ybar-navigation-item-mail > a > span");null!==t&&null!==n&&(new ht).fetchCount().then((function(t){o&&t>0&&(o.textContent="("+(t>99?"99+":t)+")",e.onDestroy((function(){o.textContent=""})))})).catch((function(){}))},Wn=!1,Jn=-1,Kn=function(e,t,n){var o,i,r,a=-1,s=0;if(e.ybarNav&&e.navList){var c=window.getComputedStyle(e.ybarNav),l=parseInt(c.width,10)-parseInt(c.paddingLeft,10)-parseInt(c.paddingRight,10),d=61,u=e.navigationPlacement();if(u)d+=u.getBoundingClientRect().width;if(qn)d+=qn.getBoundingClientRect().width;for(var p=window.getComputedStyle(e.navList),h=parseInt(p.gap,10)||0,m=0;mb&&(m!==e.navItems.length-1||s+y>b||e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&JnJn&&-1!==Jn)for(var _=Jn;_=a;){var L=e.navItems[x].cloneNode(!0),k=L.querySelector("a");k&&(k.setAttribute("id",""),k.classList.remove(Dn));var S=L.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),L.classList.remove(e.dropdownWrapperClass),L.classList.remove(e.ybarNavigationItemClass),L.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(L,e.moreMenuDropdown.firstChild);var C=L.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(C)}null===(r=e.navItems[x].querySelector("a"))||void 0===r||r.setAttribute("tabindex","-1"),x--}Jn=a}if(-1!==a&&e.navList){var E=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=E,t.textContent=".".concat(jn,"{ max-width: ").concat(E,"}")}qn||(e.moreMenuNavItem&&e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()?(e.moreMenuNavItem.classList.add(e.dropdownWrapperClass),e.moreMenuNavItem.style.visibility="visible"):null!==e.moreMenuNavItem&&(e.moreMenuNavItem.classList.remove(e.dropdownWrapperClass),e.moreMenuNavItem.style.visibility="hidden"),e.moreMenuDropdown&&e.moreMenuDropdown.childElementCount>10?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass))}},Xn=function(e,t,n,o){for(var i=t||window.location.pathname,r=n||window.location.hostname,a=(o||{}).setParentFocus,s=void 0!==a&&a,c=g([],y(e.topLevelNavLinks),!1),l=null,d=null,u=0;u0),r=new Et(e,{containerElm:t.ybarNav,navlistItemSelector:".".concat(Fn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:i,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n,o;g([],y(null===(n=t.ybarNav)||void 0===n?void 0:n.querySelectorAll(".".concat(t.dropdownOpenClass))),!1).forEach((function(e){return e.classList.remove(t.dropdownOpenClass)}));var i=e.getConfig();qn=(null===(o=i.bucketConfig)||void 0===o?void 0:o.enable_mid_nav_placement)?document.getElementById("ybar-mid-nav-placement"):void 0,"news"===i.property?On=-12:(On="finance"!==i.property&&"sports"!==i.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==i.locale&&"zh-Hant-TW"!==i.locale||(On=-20));var r=t.isTablet?"touchstart":"mouseover",a=kt(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),r,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,r=n.delegateTarget;if(r&&-1!=r.className.indexOf(t.dropdownWrapperClass)&&(r=r.querySelector(".".concat(t.navigationDropdownListClass))),r){r.style.removeProperty("left");var a=r.getBoundingClientRect(),s=Math.trunc(a.right),c=parseInt(window.getComputedStyle(r).marginLeft,10)+o-s;if(s>o)return"sports"!==i.property?void(r.style.marginLeft=c+"px"):void(r.style.right="0px");parseInt(r.style.marginLeft)0?r.style.removeProperty("margin-left"):r.style.marginLeft=c+"px":(r.style.removeProperty("margin-left"),r.style.marginLeft=On+"px")}}else{var l=new Error("Dropdown could not be initialized");e.logError("Error:",l)}}));e.onDestroy((function(){a.destroy()}))}(e,t),Vn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Vn(e)})),function(e,t){var n=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},o=kt(".".concat(t.dropdownWrapperClass),"focusin",(function(e){var o=e.delegateTarget;o&&o.classList.contains(t.dropdownWrapperClass)&&(o.classList.add(t.dropdownOpenClass),n(o,"true"))})),i=kt(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",(function(e){var o=e.delegateTarget;if(null==o?void 0:o.classList.contains(t.navigationDropdownListClass)){var i=o.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(i.classList.remove(t.dropdownOpenClass),n(i,"false"))}else(null==o?void 0:o.classList.contains(t.dropdownOpenClass))&&(o.classList.remove(t.dropdownOpenClass),n(o,"false"))}));e.onDestroy((function(){var e;o.destroy(),i.destroy(),g([],y(null===(e=t.ybarNav)||void 0===e?void 0:e.querySelectorAll(".".concat(t.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(t.dropdownOpenClass);var n=document.activeElement;(function(e,t){var n=!1;if(!e||!t)return n;if("function"==typeof e.contains)n=e.contains(t);else for(var o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))}(e,t);var a=e.getConfig().bucketConfig,s=void 0===a?{}:a,c=s.enableDynamicNavfocus,l=void 0!==c&&c,d=s.enableFuzzyMatching;if(l&&(Wn=void 0!==d&&d,Xn(t)),e.addEventListener("nav:setFocus",(function(e){var n=e.detail,o=void 0===n?{}:n,i=o.hostname,r=void 0===i?window.location.hostname:i,a=o.pathname,s=void 0===a?window.location.pathname:a,c=o.options;Xn(t,s,r,void 0===c?{}:c)})),i){var u=document.createElement("style");u.title="ybar_nav_interim",document.head.appendChild(u);var p=kt("#ybar-nav-more-menu ul a","click",(function(t){e.triggerEvent("navigation",{event:t})}));e.addEventListener("nav:resize",(function(){Kn(t,u,r)})),Kn(t,u,r);var h=e.getConfig();if("complete"===document.readyState)$n(e,t,u,r);else{var m="load";("news"===h.property&&("zh-Hant-TW"===h.locale||"zh-Hant-HK"===h.locale)||"finance"===h.property&&"zh-Hant-TW"===h.locale)&&(m="DOMContentLoaded"),e.addElementListener(window,m,(function(){$n(e,t,u,r)}))}e.addElementListener(window,"resize",(function(){Kn(t,u,r)})),e.onDestroy((function(){var e=u.parentNode;null==e||e.removeChild(u),p.destroy()}))}eo(e,t)},Qn=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},eo=function(e,t){if(t.isNavHidden){var n=!1;e.addElementListener(document,"DOMContentLoaded",(function(n){t.isNavHidden()&&e.triggerEvent("l2:hide",{event:n})})),e.addElementListener(window,"resize",(function(o){!n&&t.isNavHidden()&&e.triggerEvent("l2:hide",{event:o}),n=t.isNavHidden()}))}},to="#ybar-nav-more-menu";ve("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Pn,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:Hn,moreMenuDropdown:document.querySelector("".concat(to," ul")),moreMenuNavItem:document.querySelector(to),moreMenuNavLinksSelector:"".concat(to," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(to," > button")),moreMenuNavItemClass:Gn,navigationDropdownItemClass:zn,navigationDropdownListClass:Un,navItems:document.querySelectorAll("ul.".concat(Fn," li.").concat(Yn)),topLevelNavLinks:document.querySelectorAll("li.".concat(Yn," > 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:Yn,dropdownOpenClass:Rn,hasNavPlacement:document.getElementById("ybar-nav-placement"),marginOffset:function(e){var t=window.getComputedStyle(e),o=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10);return"sports"===n.property?parseInt(t.marginRight):"finance"===n.property&&"crunch"===n.ytheme?(o-=1.8)>5?o:5:"crunch"===n.ytheme?o:0},navigationPlacement:function(){return t||(t=document.getElementById("ybar-nav-placement")),t},isNavHidden:function(){var e=!1;return"finance"===n.property&&"crunch"===n.ytheme&&document.documentElement.clientWidth-1||o.indexOf("dailyfantasy")>-1},Bo=function(e){function t(t,n){var o=e.call(this)||this;return o.locale=t,o.strings=n,o}return h(t,e),t.prototype.fetch=function(e,t){return f(this,void 0,void 0,(function(){var t,n=this;return v(this,(function(o){switch(o.label){case 0:return void 0===e?[2,this.response]:[4,lt(Lo(e,this.locale),{}).then((function(e){return e.json()})).then((function(e){var t,o,i,r,a,s,c=null===(o=null===(t=e.response)||void 0===t?void 0:t.search)||void 0===o?void 0:o.results;if(!c)return[];var l=null!==(r=null===(i=c["sports.assist"])||void 0===i?void 0:i.data)&&void 0!==r?r:[],d=[],u=[],p=[],h=[],m=[];return l.forEach((function(e){!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.id)&&void 0!==n?n:"").indexOf(".p.")>-1}(e)?!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.id)&&void 0!==n?n:"").indexOf(".t.")>-1}(e)?!function(e){var t,n;return"true"===(null===(t=e.fd)||void 0===t?void 0:t.isLeague)&&!!(null===(n=e.fd)||void 0===n?void 0:n.id)||To(e)}(e)?!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.url)&&void 0!==n?n:"").indexOf("/author/")>-1}(e)?h.push(Ao(e)):m.push(Ao(e)):p.push(Mo(e)):d.push(Co(e)):u.push(Eo(e))})),[{type:"sectionList",sectionName:"teams",title:n.strings.SECTION_TEAMS||"Teams",items:d},{type:"sectionList",sectionName:"players",title:n.strings.SECTION_PLAYERS||"Players",items:u},{type:"sectionList",sectionName:"other",title:n.strings.SECTION_LEAGUES||"Leagues",items:p},{type:"sectionList",sectionName:"other",title:n.strings.SECTION_OTHER||"Other",items:h},{type:"sectionList",sectionName:"news",title:n.strings.SECTION_NEWS||"News",items:(null===(s=null===(a=c["sports.assist.news"])||void 0===a?void 0:a.data)||void 0===s?void 0:s.map(No))||[]},{type:"sectionList",sectionName:"authors",title:n.strings.SECTION_AUTHORS||"Yahoo Sports Authors",items:m}]})).catch((function(e){return s("Error fetching SA data",e),[]}))];case 1:return t=o.sent(),this.response={timestamp:(new Date).getTime(),suggestions:t.filter((function(e){return e.items.length>0}))},[2,this.response]}}))}))},t}(oo),Oo=function(e){function t(t,n){var o=e.call(this)||this;return o.prefetch=lt(ko(t),{credentials:"include"}).then((function(e){return e.json()})).then((function(e){var t,i,r;o.response={timestamp:(new Date).getTime(),suggestions:[{type:"sectionList",sectionName:"trending",title:n.SECTION_TRENDING||"Trending",items:(null===(r=null===(i=null===(t=e.data)||void 0===t?void 0:t.mainStream)||void 0===i?void 0:i.stream)||void 0===r?void 0:r.map(Io))||[]}]}})).catch((function(e){s("Error fetching SA trending headlines",e)})),o}return h(t,e),t}(oo),qo=Object.freeze({__proto__:null,getPlugin:function(e,t){var n=(new Date).getTime(),o=e.getConfig(),i=o.locale,r=o.i18n,a=(null==r?void 0:r["searchjs-lib"])||{},s=new Bo(i,a),c=new Oo(i,a);return{getSearchResult:function(e,t,o){return void 0===o&&(o=_o),f(void 0,void 0,void 0,(function(){return v(this,(function(i){switch(i.label){case 0:return e||"focus"!==(null==t?void 0:t.type)?[3,2]:[4,c.fetch(e,n).then(o)];case 1:return i.sent(),[3,4];case 2:return e?[4,s.fetch(e,n).then(o)]:[3,4];case 3:i.sent(),i.label=4;case 4:return[2]}}))}))}}}})}()}};
    Advertisement
    Complete Draft

    Teams

    Arizona Cardinals
    Arizona Cardinals
    Atlanta Falcons
    Atlanta Falcons
    Baltimore Ravens
    Baltimore Ravens
    Buffalo Bills
    Buffalo Bills
    Carolina Panthers
    Carolina Panthers
    Chicago Bears
    Chicago Bears
    Cincinnati Bengals
    Cincinnati Bengals
    Cleveland Browns
    Cleveland Browns
    Dallas Cowboys
    Dallas Cowboys
    Denver Broncos
    Denver Broncos
    Detroit Lions
    Detroit Lions
    Green Bay Packers
    Green Bay Packers
    Houston Texans
    Houston Texans
    Indianapolis Colts
    Indianapolis Colts
    Jacksonville Jaguars
    Jacksonville Jaguars
    Kansas City Chiefs
    Kansas City Chiefs
    Las Vegas Raiders
    Las Vegas Raiders
    Los Angeles Chargers
    Los Angeles Chargers
    Los Angeles Rams
    Los Angeles Rams
    Miami Dolphins
    Miami Dolphins
    Minnesota Vikings
    Minnesota Vikings
    New England Patriots
    New England Patriots
    New Orleans Saints
    New Orleans Saints
    New York Giants
    New York Giants
    New York Jets
    New York Jets
    Philadelphia Eagles
    Philadelphia Eagles
    Pittsburgh Steelers
    Pittsburgh Steelers
    San Francisco 49ers
    San Francisco 49ers
    Seattle Seahawks
    Seattle Seahawks
    Tampa Bay Buccaneers
    Tampa Bay Buccaneers
    Tennessee Titans
    Tennessee Titans
    Washington Commanders
    Washington Commanders
    Chicago
    Chicago
    Bears
    Caleb Williams
    Round 1 - Pick 1 (1) (from Panthers)
    USC
    School
    QB
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 2
    • School: USC
    • Height: 6' 1"
    • Weight: 215
    Expert Commentary
    The Bears had the No. 1 pick fall right into their lap and did the sensible thing. This pick has been talked about for months and the Bears finally get their man. Caleb Williams has all the tools to become a bona fide superstar in the NFL and break the Bears' curse at the most important position. OK, now the 2024 NFL Draft can officially start.
    Washington
    Washington
    Commanders
    Jayden Daniels
    Round 1 - Pick 2 (2)
    LSU
    School
    QB
    Position
    • Draft Grade: C+
    • Pre-Draft Rank: 20
    • School: LSU
    • Height: 6' 4"
    • Weight: 210
    Expert Commentary
    The Commanders got their quarterback, but it's fair to wonder if they took the right guy here. Jayden Daniels blossomed in his fifth and final year of college football, taking home the Heisman Trophy in a dazzling season for LSU. Daniels is on the older side and doesn't have elite physical tools as a passer, but is going to be an immediate asset in the run game. Drake Maye feels like a better pick, but time will tell. Regardless, the Commanders desperately needed a quarterback and they got one.
    New England
    New England
    Patriots
    Drake Maye
    Round 1 - Pick 3 (3)
    N. Carolina
    School
    QB
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 1
    • School: N. Carolina
    • Height: 6' 4"
    • Weight: 230
    Expert Commentary
    The Patriots got a dynamite prospect in Drake Maye. Maye did a ton of heavy lifting for the Tar Heels last season and is a player with legitimate superstar upside. He's just 21 years old and has already shown flashes of elite downfield, tight-window accuracy to go along with fantastic running ability for a bigger quarterback. Home run pick for the Patriots as they officially start a new era for the franchise.
    Arizona
    Arizona
    Cardinals
    Marvin Harrison Jr.
    Round 1 - Pick 4 (4)
    Ohio St.
    School
    WR
    Position
    • Draft Grade: A+
    • Pre-Draft Rank: 3
    • School: Ohio St.
    • Height: 6' 3"
    • Weight: 209
    Expert Commentary
    The Cardinals needed a receiver and they got one with Pro Bowl potential as a rookie. Marvin Harrison Jr. is as clean a prospect as they come and did not see a drop in production going from C.J. Stroud to Kyle McCord. This also creates depth for the rest of Arizona's roster, allowing Michael Wilson to be featured as a No. 2 wide receiver. Kyler Murray should be rejoicing right now.
    LA Chargers
    Los Angeles
    Chargers
    Joe Alt
    Round 1 - Pick 5 (5)
    Notre Dame
    School
    OL
    Position
    • Draft Grade: A+
    • Pre-Draft Rank: 7
    • School: Notre Dame
    • Height: 6' 7"
    • Weight: 321
    Expert Commentary
    It's not the sexy pick, but it's a pick thats going to make the Chargers better immediately and in the long term. Even though they needed wide receiver help, they also needed help at tackle and got a 10-year, Pro Bowl level starter in Joe Alt.
    NY Giants
    New York
    Giants
    Malik Nabers
    Round 1 - Pick 6 (6)
    LSU
    School
    WR
    Position
    • Draft Grade: B+
    • Pre-Draft Rank: 8
    • School: LSU
    • Height: 6' 0"
    • Weight: 200
    Expert Commentary
    The Giants really needed to go quarterback here, but they weren't in love with the options on the board. Still, the Giants had a massive need at wide receiver as well and got the biggest playmaker at that spot in the draft. Malik Nabers can grow in to a true No. 1 wideout with blazing speed while they play out this season with Daniel Jones at quarterback.
    Tennessee
    Tennessee
    Titans
    JC Latham
    Round 1 - Pick 7 (7)
    Alabama
    School
    OL
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 9
    • School: Alabama
    • Height: 6' 6"
    • Weight: 342
    Expert Commentary
    The Titans needed a tackle and got someone who profiles as a top-flight right tackle in the NFL for a long time. Bullyball is back in Tennessee for the next decade.
    Atlanta
    Atlanta
    Falcons
    Michael Penix Jr.
    Round 1 - Pick 8 (8)
    Washington
    School
    QB
    Position
    • Draft Grade: F
    • Pre-Draft Rank: 70
    • School: Washington
    • Height: 6' 3"
    • Weight: 213
    Expert Commentary
    First F of the day! What is going on in Atlanta? This pick makes absolutely no sense. The Falcons signed Kirk Cousins and are now drafting a six-year college starter to sit behind him for two years? What sense does that make? Penix isn't the cleanest prospect and he has injury concerns. We'll find out what this looks like when he sees the field in 2026 or 2027.
    Chicago
    Chicago
    Bears
    Rome Odunze
    Round 1 - Pick 9 (9)
    Washington
    School
    WR
    Position
    • Draft Grade: A+
    • Pre-Draft Rank: 5
    • School: Washington
    • Height: 6' 3"
    • Weight: 212
    Expert Commentary
    The Bears couldn't have dreamed of a better first round. Caleb Williams. Rome Odunze. Now they have a three-headed monster with the long-term potential of Odunze, Williams and DJ Moore.
    Minnesota
    Minnesota
    Vikings
    J.J. McCarthy
    Round 1 - Pick 10 (10) (from Jets)
    Michigan
    School
    QB
    Position
    • Draft Grade: B+
    • Pre-Draft Rank: 29
    • School: Michigan
    • Height: 6' 3"
    • Weight: 202
    Expert Commentary
    Getting the quarterback without having to move up too far in the draft is a solid result for the Vikings. It may not be the quarterback they originally wanted, but it's still a solid prospect to build around and he's walking into a great situation.
    NY Jets
    New York
    Jets
    Olumuyiwa Fashanu
    Round 1 - Pick 11 (11) (from Vikings)
    Penn St.
    School
    OL
    Position
    • Draft Grade: A-
    • Pre-Draft Rank: 6
    • School: Penn St.
    • Height: 6' 6"
    • Weight: 312
    Expert Commentary
    Fashanu is an extremely talented, high-upside prospect that gets to come into a situation where he gets to work with Tyron Smith and Morgan Moses. When healthy, Fashanu is clearly one of the most talented players in the draft and has a chance to be a fixture on the offensive line in New York for years to come.
    Denver
    Denver
    Broncos
    Bo Nix
    Round 1 - Pick 12 (12)
    Oregon
    School
    QB
    Position
    • Draft Grade: F
    • Pre-Draft Rank: 64
    • School: Oregon
    • Height: 6' 2"
    • Weight: 217
    Expert Commentary
    Quarterback thirst has officially gone too far. There’s simply no need for the Broncos to force this pick here. Bo Nix does not have the profile of the quarterback that’s going to save Denver. Bo Nix, Zach Wilson and Jarrett Stidham will battle it out this summer for the right to be the starter, but Nix is closer to being a backup in the NFL than a franchise starter.
    Las Vegas
    Las Vegas
    Raiders
    Brock Bowers
    Round 1 - Pick 13 (13)
    Georgia
    School
    TE
    Position
    • Draft Grade: B-
    • Pre-Draft Rank: 4
    • School: Georgia
    • Height: 6' 3"
    • Weight: 243
    Expert Commentary
    This is a bit of a surprise at this point because the Raiders just drafted Michael Mayer last year, but it’s hard to get too mad at adding a talent like Brock damn Bowers. The Raiders' two-tight end personnel sets are going to be a beast and they’ll be in good position to make life easier for whoever is playing quarterback for them this year.
    New Orleans
    New Orleans
    Saints
    Taliese Fuaga
    Round 1 - Pick 14 (14)
    Oregon St.
    School
    OL
    Position
    • Draft Grade: B
    • Pre-Draft Rank: 18
    • School: Oregon St.
    • Height: 6' 6"
    • Weight: 324
    Expert Commentary
    The Saints needed an offensive lineman with the struggles of Trevor Penning and Ryan Ramczyk’s injury situation. Fuaga can play tackle or guard and will be a big boost for the Saints in the ground game. This is a strong pick that gives the Saints some much needed flexibility and depth up front.
    Indianapolis
    Indianapolis
    Colts
    Laiatu Latu
    Round 1 - Pick 15 (15)
    UCLA
    School
    DL
    Position
    • Draft Grade: B
    • Pre-Draft Rank: 23
    • School: UCLA
    • Height: 6' 5"
    • Weight: 259
    Expert Commentary
    This is a good landing spot for Latu. He’s had some injury concerns in the past, but Latu is a productive, versatile edge rusher that profiles as a high-floor player. He might not be Von Miller or prime Khalil Mack, but he’s a talented player in his own right that should be an 8-10 sack guy in the NFL.
    Seattle
    Seattle
    Seahawks
    Byron Murphy II
    Round 1 - Pick 16 (16)
    Texas
    School
    DL
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 19
    • School: Texas
    • Height: 6' 1"
    • Weight: 297
    Expert Commentary
    The Seahawks got one of the few truly disruptive interior defenders in the draft with Murphy — something they really needed. Murphy has the talent to become a star in Mike Macdonald’s defense and gives the Seahawks a credible option up front in case Dre’Mont Jones struggles again in his second year with the team.
    Minnesota
    Minnesota
    Vikings
    Dallas Turner
    Round 1 - Pick 17 (17) (from Jaguars)
    Alabama
    School
    LB
    Position
    • Draft Grade: B+
    • Pre-Draft Rank: 14
    • School: Alabama
    • Height: 6' 3"
    • Weight: 247
    Expert Commentary
    Turner’s draft slide officially comes to an end with the Vikings trading up to get him in an effort to replace Danielle Hunter. Turner isn’t a finished product, but he’s a rugged defender that managed to run a 4.46 40-yard dash at the NFL combine. He’s got the potential to be a dynamite edge defender in the NFL.
    Cincinnati
    Cincinnati
    Bengals
    Amarius Mims
    Round 1 - Pick 18 (18)
    Georgia
    School
    OL
    Position
    • Draft Grade: A+
    • Pre-Draft Rank: 11
    • School: Georgia
    • Height: 6' 8"
    • Weight: 340
    Expert Commentary
    Love this pick! Mims did not play a whole bunch of football in college due to injury and depth, but he is not lacking for talent and skill. He has the size at 6-foot-8 and 340 pounds with the technique of the purest pass protectors in the NFL. If he can stay healthy, he’ll have no problem assimilating to the NFL.
    LA Rams
    Los Angeles
    Rams
    Jared Verse
    Round 1 - Pick 19 (19)
    Florida St.
    School
    DL
    Position
    • Draft Grade: B
    • Pre-Draft Rank: 21
    • School: Florida St.
    • Height: 6' 4"
    • Weight: 254
    Expert Commentary
    This is a very safe, solid pick for the Rams at this point in the draft. Verse is a high-floor player for the Rams that fits in well with the players they have up front. The Rams were looking at an offensive player earlier in the process, but they ended up with a stud pass rusher who immediately makes them better.
    Pittsburgh
    Pittsburgh
    Steelers
    Troy Fautanu
    Round 1 - Pick 20 (20)
    Washington
    School
    OL
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 10
    • School: Washington
    • Height: 6' 4"
    • Weight: 317
    Expert Commentary
    Great get for the Steelers. Fautanu has all the skills necessary to be a long-term starter on the offensive line, which is something that Pittsburgh still needs. Fautanu can play guard or tackle and now the Steelers have a strong duo up front between him and Broderick Jones.
    Miami
    Miami
    Dolphins
    Chop Robinson
    Round 1 - Pick 21 (21)
    Penn St.
    School
    DE
    Position
    • Draft Grade: B
    • Pre-Draft Rank: 26
    • School: Penn St.
    • Height: 6' 3"
    • Weight: 254
    Expert Commentary
    Robinson is a raw pass rusher, but he’s found himself in a good spot playing for new Dolphins defensive coordinator Anthony Weaver. Robinson has all the tools in the world to become an elite pass rusher in the NFL if he can get a few signature moves down. The Dolphins also have some nice insurance in case Bradley Chubb and Jaelan Phillips have a slow return from injury.
    Philadelphia
    Philadelphia
    Eagles
    Quinyon Mitchell
    Round 1 - Pick 22 (22)
    Toledo
    School
    CB
    Position
    • Draft Grade: A+
    • Pre-Draft Rank: 13
    • School: Toledo
    • Height: 6' 0"
    • Weight: 195
    Expert Commentary
    This pick might be the steal of the draft when we look back. The Eagles just got a player who checks all the boxes that a team could want for a cornerback prospect — from production to athleticism. Mitchell is the exact type of prospect the Eagles needed to add and has real shutdown potential in the NFL.
    Jacksonville
    Jacksonville
    Jaguars
    Brian Thomas Jr.
    Round 1 - Pick 23 (23) (from Browns via Texans and Vikings)
    LSU
    School
    WR
    Position
    • Draft Grade: B+
    • Pre-Draft Rank: 15
    • School: LSU
    • Height: 6' 3"
    • Weight: 209
    Expert Commentary
    The Jaguars get brownie points for trading down here. Thomas is an explosive wide receiver who has the physical frame that the Jaguars needed in their wide receiver room. Thomas is a bit raw on some of the finer points of wide receiver play, but there’s no doubting his potential to be a truly dynamic playmaker in the NFL.
    Detroit
    Detroit
    Lions
    Terrion Arnold
    Round 1 - Pick 24 (24) (from Cowboys)
    Alabama
    School
    DB
    Position
    • Draft Grade: A-
    • Pre-Draft Rank: 16
    • School: Alabama
    • Height: 6' 0"
    • Weight: 189
    Expert Commentary
    Detroit trades up to get a quality prospect that was falling down the board at a position of need. Arnold has a chance to be the best cornerback on Detroit’s roster from Day 1 and gives them a fortified presence in the secondary as the division adds Caleb Williams and J.J. McCarthy.
    Green Bay
    Green Bay
    Packers
    Jordan Morgan
    Round 1 - Pick 25 (25)
    Arizona
    School
    OL
    Position
    • Draft Grade: C+
    • Pre-Draft Rank: 25
    • School: Arizona
    • Height: 6' 5"
    • Weight: 311
    Expert Commentary
    This is a very safe pick for the Packers. Morgan needs to develop some strength as he enters the NFL, but should have the footwork and skill to at least be a quality pass blocker. It just feels like there might have been more juice to squeeze here with some of the defensive players still on the board.
    Tampa Bay
    Tampa Bay
    Buccaneers
    Graham Barton
    Round 1 - Pick 26 (26)
    Duke
    School
    OL
    Position
    • Draft Grade: A
    • Pre-Draft Rank: 12
    • School: Duke
    • Height: 6' 5"
    • Weight: 313
    Expert Commentary
    Barton is a stud offensive lineman who can play all five positions up front. He was announced as a center, so he may wind up on the interior after playing left tackle at Duke, but he’s well-equipped for the move. He’s the most versatile lineman in the draft and the Buccaneers may have just gotten a steal.
    Arizona
    Arizona
    Cardinals
    Darius Robinson
    Round 1 - Pick 27 (27) (from Texans)
    Missouri
    School
    DL
    Position
    • Draft Grade: C
    • Pre-Draft Rank: 62
    • School: Missouri
    • Height: 6' 5"
    • Weight: 285
    Expert Commentary
    Robinson isn’t a bad player, but he’s not the most dynamic guy on the defensive line. He’s a steady player who should be a solid piece for the Cardinals’ defensive line rotation, but that’s not necessarily the type of player that feels like a need in the first round. Still, he’s someone that will help the Cardinals up front.
    Kansas City
    Kansas City
    Chiefs
    Xavier Worthy
    Round 1 - Pick 28 (28) (from Bills)
    Texas
    School
    WR
    Position
    • Draft Grade: C+
    • Pre-Draft Rank: 63
    • School: Texas
    • Height: 5' 11"
    • Weight: 165
    Expert Commentary
    The Chiefs add some speed to their wide receiver room and some playmaking for Patrick Mahomes. This does feel a tad redundant with Marquise Brown on the roster, but that's only a one-year deal. Mahomes solves all problems, and having Rashee Rice on the roster is a nice changeup from the Brown and Worthy combo, but a 165-pound player in the first round is a bit of a tough sell.
    Dallas
    Dallas
    Cowboys
    Tyler Guyton
    Round 1 - Pick 29 (29) (from Lions)
    Oklahoma
    School
    OL
    Position
    • Draft Grade: C+
    • Pre-Draft Rank: 37
    • School: Oklahoma
    • Height: 6' 8"
    • Weight: 322
    Expert Commentary
    The Cowboys needed a left tackle to develop and at least have a prospect now in Guyton. He’s got a bit of a way to go as far as technique is concerned, but the physical tools and frame to grow into something for the long term are there. Guyton might have a lower floor than some of the other tackle prospects, but the upside is still here.
    Baltimore
    Baltimore
    Ravens
    Nate Wiggins
    Round 1 - Pick 30 (30)
    Clemson
    School
    CB
    Position
    • Draft Grade: B-
    • Pre-Draft Rank: 31
    • School: Clemson
    • Height: 6' 1"
    • Weight: 173
    Expert Commentary
    Baltimore definitely has a need for a cornerback, but it took a bit of a project at the position at this point in the draft. Wiggins is a rangy, fast corner, but he needs to add weight and strength before he can be a real contributor for the Ravens defense.
    San Francisco
    San Francisco
    49ers
    Ricky Pearsall
    Round 1 - Pick 31 (31)
    Florida
    School
    WR
    Position
    • Draft Grade: D
    • Pre-Draft Rank: 85
    • School: Florida
    • Height: 6' 1"
    • Weight: 189
    Expert Commentary
    Huh? This pick seems a bit out of nowhere, especially considering no one really had Pearsall going at this point in the draft. Perhaps this is the 49ers bracing for a move at wide receiver, but Pearsall could have been had later than this.
    Carolina
    Carolina
    Panthers
    Xavier Legette
    Round 1 - Pick 32 (32) (from Chiefs via Bills)
    South Carolina
    School
    WR
    Position
    • Draft Grade: C+
    • Pre-Draft Rank: 76
    • School: South Carolina
    • Height: 6' 1"
    • Weight: 221
    Expert Commentary
    This is a fine pick for the Panthers. They probably didn’t need to trade up, but moving up one spot to secure your guy isn’t the worst move in the world. They also needed to add a bigger player to their wide receiver room. This is solid pickup for the Panthers who really needed juice on offense.