':"";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){x(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){x(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":L(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__.length<1)G="YBAR: no instances of rapid found!";else{var n=function(e){var t=void 0;if(e&&e.length>0)for(var n=0;n0){if(Y.addModules(i,!1,o),V.length>0)for(e=0;e40959)&&(i<13312||i>19903)&&(i<44032||i>55215))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>x+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_1pt04aq",Oe="_yb_1f069j3",qe="_yb_b2bu0j",Re="_yb_wj1tuh",Pe="_yb_13wpxm5",De="_yb_t34ojf",He="_yb_1iln3rl",ze="_yb_hen01i",Ue="_yb_7wxe3c",je="_yb_1vyvp98",Ye="_yb_6v38pj",Fe="_yb_1ptbacc",Ge="_yb_1zk9lj",Ve="_yb_lscpa7",We="_yb_1qjme11",Je="_yb_iu11qt",Ke="_yb_1jfjqky",Xe="_yb_1czghge",$e="_yb_1031720",Ze="_yb_1yg8574",Qe="_yb_1uuhjjc",et="_yb_1n1nkgh",tt="_yb_ww23k0",nt="_yb_1ngymxp",ot="_yb_1c10pit",it="_yb_uo777d",rt="_yb_aqpez4",at={animation:"_yb_8j9bo9","left-open":"_yb_zlsq3x",noscroll:"_yb_u0o9r7",overlay:"_yb_1cgcblh","fade-in-out":"_yb_1mc8dpc","right-open":"_yb_12hqvme","center-open":"_yb_1pa25z1"},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.status<=299,status:i.status,text:function(){return Promise.resolve(i.responseText)},json:function(){return new Promise((function(e,t){try{e(JSON.parse(i.responseText))}catch(e){t(e)}}))}})},i.send(t.body)}))]}))}))},lt=function(e,t){return void 0===t&&(t={}),("function"==typeof window.fetch?fetch:ct)(e,t)},dt=function(e,t){var n=e.url,o=e.headers,i=void 0===o?{}:o;return i["X-Requested-With"]="XMLHttpRequest",lt(n,{headers:i,credentials:"include"}).then((function(e){return e.text().then((function(n){st({status:e.status,responseText:n},t)}))}))};!function(e){e[e.COUNT=0]="COUNT"}(Ie||(Ie={})),function(e){e[e.PENDING=0]="PENDING",e[e.COMPLETE=1]="COMPLETE"}(Te||(Te={}));var ut={0:0,1:1,9:9,99:99,150:150},pt=new Map,ht=function(){function e(){}return Object.defineProperty(e.prototype,"wssid",{get:function(){var e,t,n=null===(e=window.YBAR)||void 0===e?void 0:e.wssid;return n||(n=(null===(t=document.querySelector('input[name="mail_wssid"]'))||void 0===t?void 0:t.value)||"",this.wssid=n),n},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.wssid=e||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appid",{get:function(){var e,t,n=null===(e=window.YBAR)||void 0===e?void 0:e.appid;return n||(n=(null===(t=document.querySelector('input[name="mail_appid"]'))||void 0===t?void 0:t.value)||"",this.appid=n),n},set:function(e){window.YBAR=window.YBAR||{},window.YBAR.appid=e||""},enumerable:!1,configurable:!0}),e.prototype.fetchCount=function(e){return f(this,void 0,void 0,(function(){var t,n,o,i,r=this;return v(this,(function(a){return t=function(e){var t=pt.get(e);if(t){if(t.status===Te.PENDING)return t.promise;var n=Date.now()-12e4;return t.data&&t.lastRequested>n?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,_,L,x;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 L=v.sent(),s("JWS: ".concat((x=L).message),x),L;case 5:return[2]}}))}))},e.prototype._checkForMockData=function(){var e=document.getElementById("ybar");if(e&&e.hasAttribute("data-mc")){var t=e.getAttribute("data-mc");if(t&&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_11xyjxj",vt="_yb_uyiok6",yt="_yb_1ih04ts",gt="_yb_1qhx94g";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=Lt.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}function Lt(e,t,n,o){return function(n){n.delegateTarget=wt(n.target,t),n.delegateTarget&&o.call(e,n)}}var xt,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_1i01klj","merchant-is-selected":"_yb_aolkik",overlay:"_yb_ogwdjz","selected-merchant-clear-button":"_yb_pcgj0k","shops-buttons":"_yb_1bifwe2","styled-select":"_yb_drhchf",tooltip:"_yb_1gu1vw0","tooltip--show":"_yb_13cnxsj",tooltip__text:"_yb_1j253kd",tooltip__voice:"_yb_k04e6e",tooltip__web:"_yb_3sepls",dark:"_yb_1ycpsop",darker:"_yb_1gjesha",light:"_yb_1crbfob",midnight60:"_yb_1eyge7z","search-input-uh3-hover":"_yb_1x5zwu0","search-input-uh3-focus-visible":"_yb_pbg94h","sa-btn-bar":"_yb_18rowta","searchbox-icon-uh3":"_yb_10tv5yz",empty:"_yb_1czv47k"},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.documentMode<10)return(new e.XDomainRequest).onload=function(){try{r=JSON.parse(i),o(r)}catch(e){return}},s.open("GET",n),void s.send();s.onreadystatechange=function(){if(s.readyState===a)if(200===s.status){i=s.responseText;try{r=JSON.parse(i),o(r)}catch(e){return}}else o(r)},s.open("GET",n,!0),s.timeout=1e4,s.send()},e.YAHOO||(e.YAHOO={}),e.YAHOO.Util||(e.YAHOO.Util={}),e.YAHOO.Util.VoiceSearch=o}(window,document)}();var Yt={containerClass:Pt.tooltip,textClass:Pt.tooltip__text,showClass:Pt["tooltip--show"]},Ft=["zh-hant-tw","zh-hant-hk"];ve("ybar-mod-searchbox",(function(e){var t={ybar:document.getElementById("ybar"),searchInput:document.getElementById("ybar-sbq"),buttonBar:document.querySelector(".".concat(Pt["sa-btn-bar"])),voiceSearchBtn:document.getElementById("ybar-sbq-voice"),searchForm:document.getElementById("ybar-sf"),searchBoxIcon:document.querySelector(".".concat(Pt["searchbox-icon-uh3"])),searchBoxPlaceholder:document.getElementById("ybar-smartphone-searchbox-placeholder"),searchBoxBackButton:document.getElementById("ybar-search-back-btn"),shopsButtonsWrap:document.querySelector(".".concat(Pt["shops-buttons"])),categorySelect:document.getElementById("shops-category-select"),selectedMerchantInput:document.getElementById("selected-merchant-input"),selectedMerchantClearButton:document.querySelector(".".concat(Pt["selected-merchant-clear-button"])),submitSearchBtn:document.getElementById("ybar-search"),clearSearchBtn:document.getElementById("ybar-sbq-x")};!function(e,t){var n,o,i,r=e.getConfig();if(t.ybar&&"desktop"===r.device&&(null===(n=r.bucketConfig)||void 0===n?void 0:n.highlight_searchassist)&&(null===(o=r.bucketConfig)||void 0===o?void 0:o.overlay_class)){t.ybar.setAttribute("data-ovrly-bkt",r.bucketConfig.overlay_class),null===(i=t.searchForm)||void 0===i||i.classList.add(Pt[r.bucketConfig.overlay_class]);var a=document.createElement("div");a.classList.add(Pt.overlay,Pt[r.bucketConfig.overlay_class]),document.body.appendChild(a),e.onDestroy((function(){document.body.removeChild(a)})),e.addElementListener(t.searchForm,"focusout",(function(e){if(t.searchForm&&t.searchInput){var n=e.relatedTarget;n&&!t.searchForm.contains(n)&&window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()}}))}}(e,t),Ut(e,t),t.voiceSearchBtn&&function(e,t){var n=e.getConfig(),o=n.locale,i=function(){var e,n;(null===(n=null===(e=window.YAHOO)||void 0===e?void 0:e.Util)||void 0===n?void 0:n.VoiceSearch)?new window.YAHOO.Util.VoiceSearch({uiLang:o,speechLang:o,voiceButton:"#ybar-sbq-voice",searchBox:{form:"#ybar-sf",input:"#ybar-sbq",params:{fr:t.voiceSearchBtn.dataset.fr||"yfp-t-voice",fr2:t.voiceSearchBtn.dataset.fr2||"p:fp,m:voice-search"}},ui:{speechOverlay:{disableBlur:Ft.includes(o.toLowerCase())}},browsers:{edge:!0},enable_voice_trending:!0,trending:{market:o}}):console.log("YBAR: VoiceJS lib was not loaded")};e.addElementListener(document,"VOICE_JS_READY",(function(){var o,i;t.voiceSearchBtn.style.visibility="visible",t.voiceSearchBtn.style.display="block",new jt(e,t.voiceSearchBtn,m(m({},Yt),{label:null!==(o=n.i18n.root.SEARCH_TOOLTIP_VOICE)&&void 0!==o?o:"Search with voice",containerClass:"".concat(Pt.tooltip," ").concat(Pt.tooltip__voice),tooltipParentElm:null===(i=t.voiceSearchBtn)||void 0===i?void 0:i.parentElement}))})),e.addElementListener(document,"DOMContentLoaded",(function(){var o,i;new jt(e,t.submitSearchBtn,m(m({},Yt),{label:null!==(o=n.i18n.root.SEARCH_TOOLTIP_WEB)&&void 0!==o?o:"Search the web",containerClass:"".concat(Pt.tooltip," ").concat(Pt.tooltip__web),tooltipParentElm:null===(i=t.voiceSearchBtn)||void 0===i?void 0:i.parentElement}))})),"loading"===document.readyState?e.addElementListener(document,"DOMContentLoaded",i):i(),window.addEventListener("keyup",(function(e){27===e.keyCode&&t.voiceSearchBtn.blur()}))}(e,m(m({},t),{voiceSearchBtn:t.voiceSearchBtn})),t.searchForm&&(e.addElementListener(t.searchBoxIcon,"mouseover",(function(){t.searchForm.classList.add("".concat(Pt["search-input-uh3-hover"]))})),e.addElementListener(t.searchBoxIcon,"mouseout",(function(){t.searchForm.classList.remove("".concat(Pt["search-input-uh3-hover"]))})),e.addElementListener(t.buttonBar,"mouseover",(function(){t.searchForm.classList.add("".concat(Pt["search-input-uh3-hover"]))})),e.addElementListener(t.buttonBar,"mouseout",(function(){t.searchForm.classList.remove("".concat(Pt["search-input-uh3-hover"]))})),e.addElementListener(t.searchInput,"keyup",(function(e){"Tab"===e.key&&t.searchForm.classList.add("".concat(Pt["search-input-uh3-focus-visible"])),t.searchInput.classList.toggle("".concat(Pt.empty),""===t.searchInput.value)})),e.addElementListener(t.searchInput,"keydown",(function(){t.searchForm.classList.remove("".concat(Pt["search-input-uh3-focus-visible"]))})),e.addElementListener(t.searchInput,"focusout",(function(){t.searchForm.classList.remove("".concat(Pt["search-input-uh3-focus-visible"]))})),e.addElementListener(t.submitSearchBtn,"click",(function(e){""===t.searchInput.value.trim()&&e.preventDefault()})),e.addElementListener(t.clearSearchBtn,"click",(function(){t.searchInput.classList.add("".concat(Pt.empty))})))}));var Gt=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.beaconClick=function(e,t,n,o,i){if("function"==typeof(i=i||window?.rapidInstance)?.beaconClick){const r={etrg:"click",...n.pp};delete n.pp,i.beaconClick(e,t||"-",n._p||0,n,n.outcm||"clicked",o,{pp:r})}else"function"==typeof o&&o()},t.debouncePromise=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var o=arguments.length,i=new Array(o),r=0;r{t=setTimeout((()=>o(e(...i))),n)}))}},t.getFormattedMessage=function(e,t,n){let o;if(!e&&!t)return o;if("object"!=typeof e)return o;if(o=e[t],!o)return t;n&&Object.keys(n).forEach((e=>{o=o.replace(new RegExp("{"+e+"}","g"),n[e])}));return o},t.getRelativeTimeString=function(e){const t=(e=>{const t=Date.now(),a=n,s=(+e-+t)/1e3;if(Math.abs(s)0)return{value:Math.round(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 Ro}))];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_jhnrj1",an="_yb_glrs0t",sn="_yb_1lf3ww8",cn="_yb_jhdqvd",ln="_yb_1dlcq24",dn="_yb_1wfhpmp",un="_yb_1ponrdh",pn="_yb_1eqj6ou";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.innerWidth<1024&&(null===(e=t.editionsMenu)||void 0===e||e.close())};t.moreBtn&&(e.addElementListener(t.moreBtn.parentNode,"focusin",(function(e){o(t,e)})),e.addElementListener(t.moreBtn.parentNode,"focusout",(function(){i(t)})),e.addElementListener(t.moreBtn,"mouseenter",(function(e){var n;window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown?window.YAHOO.SA.apps[0].view.hide():null===(n=t.moreBtn)||void 0===n||n.click(),o(t,e)})),e.addElementListener(t.moreBtn.parentNode,"mouseleave",(function(){i(t)})),e.addElementListener(t.moreBtn.parentNode,"click",(function(e){t.moreDropDown&&t.moreDropDown.classList.contains("".concat(rn))&&o(t,e)})),e.addElementListener(t.moreBtn,"keydown",(function(e){var n;27===e.keyCode&&(null===(n=t.moreBtn)||void 0===n||n.blur())}))),t.moreSectionTitle&&Array.from(t.moreSectionTitle).forEach((function(t){e.addElementListener(t,"mouseover",(function(){n=!0})),e.addElementListener(t,"mouseout",(function(){n=!1}))})),t.editionsCtaBtn&&t.editionsMenu&&"function"==typeof HTMLDialogElement&&(t.editionsMenu.setAttribute("style",""),e.addElementListener(t.editionsCtaBtn,"click",(function(){var e,n;t.editionsMenu&&(e=t.editionsMenu,n={sec:"ybar",slk:"More",elm:"expand",pkgt:"top",subsec:"navrail",itc:"1"},e&&(e.showModal(),Z("ybar",n.slk,"",n)))})),e.addElementListener(t.closeBtn,"click",(function(){r(t)})),t.editionsMenu.addEventListener("click",(function(e){var n,o,i=null===(n=t.editionsMenu)||void 0===n?void 0:n.getBoundingClientRect();(e.clientXi.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_six7u5","accounts-container":"_yb_10gkzuv","accounts-list":"_yb_14cczz6",chevron:"_yb_1sxkzdg",current:"_yb_1hrwmza",expanded:"_yb_1ouxqmw",greetings:"_yb_1jer7bh","greetings-container":"_yb_1o3tcw7",hide:"_yb_r6vt1b",mobile:"_yb_1q7z8db",multiple:"_yb_1g8tp7z","loading-profile-wrapper":"_yb_qsrqzl","loading-profile-button":"_yb_mynwo4","notification-container":"_yb_r398wo","pfs-container":"_yb_1gc8eeo","pfs-iframe":"_yb_2vekar",show:"_yb_r6eplo","sign-in-menu":"_yb_1mu7k2g","signed-in":"_yb_11c636v","signed-in-mark":"_yb_pfoj8f","signed-out":"_yb_us4ecu","signedout-text":"_yb_1tuk4z","stacked-name":"_yb_fay3dm","stacked-name-given":"_yb_ehfajo","stacked-name-family":"_yb_zu17s1","uh3-layout":"_yb_13ntm86","ybar-account-img":"_yb_15l1qs5","ybar-account-img-signed-out":"_yb_1mo2vs9","ybar-account-img-hidden":"_yb_1i9pagi","ybar-account-menu":"_yb_jgwyqt","ybar-account-menu-item-signed-out":"_yb_1uu0qo1","ybar-account-user-email":"_yb_1sn4me","ybar-account-user-email-other":"_yb_7tiqlr","ybar-account-user-name":"_yb_1ge6oa5","ybar-account-user-signedout":"_yb_vgq0dy","ybar-account-yahoo-plus-imp":"_yb_12iug6g","ybar-icon-arrow":"_yb_nhgylh","ybar-icon-arrow-down":"_yb_6a4ce2","ybar-icon-arrow-up":"_yb_vpzlot","ybar-icon-image-wrapper":"_yb_17y78p1","ybar-item-hidden":"_yb_1fu371k","ybar-login-btn":"_yb_uq8iq4","ybar-mod-account":"_yb_11ia1ps","ybar-mod-mail":"_yb_je0wm0","ybar-profile-character":"_yb_1s7qxx","ybar-profile-character-hidden":"_yb_1j07zya","ybar-see-info":"_yb_1icxj7u","ybar-sign-out":"_yb_1sdziay","ybar-sign-out-text":"_yb_284yyi","ybar-user-accounts-list":"_yb_x8gijf","ybar-user-profile-img":"_yb_c56j2b"};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))},Ln=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"],L=vn["ybar-icon-arrow-down"],x=vn["ybar-item-hidden"],k=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(L),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")}Ln(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"),Ln(t,e);else{var i=new Error("ybarAccountContainer not Found");s("ERROR:",i)}n&&Cn&&(Cn=!1,e.onDestroy((function(){Cn=!0})),xn(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")},L=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()},x=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});xe[e]||(xe[e]=!0,Z(n,o,"",i),setTimeout((function(){delete xe[e]}),1e3))}))}(e,c,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),Ln(t,e));var S=function(){y(!1),e.addEventListener("close-all-menus",(function(){a&&a.classList.contains(vn.show)&&a.parentNode&&!Le(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",L),e.addElementListener(l,"keydown",x)};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",x)};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_njuh63","ybar-mail-link":"_yb_cl8k9i","ybar-mail-preview":"_yb_1bamzcs","ybar-mail-signin-link":"_yb_17tvqcv","ybar-mod-mail":"_yb_1l7hk28","ybar-mod-mail-promo-imp":"_yb_afnh3f","ybar-large-unread":"_yb_onnjm3","ybar-mid-unread":"_yb_jyao0m","ybar-mail-indicator":"_yb_13ektvb","ybar-unread-active":"_yb_39rsl6","count-loaded":"_yb_sp002m"},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(){Le(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_y0uoie",Pn="_yb_pomcx",Dn="_yb_1p4ofdl",Hn="_yb_1ac54gh",zn="_yb_l0bg28",Un="_yb_qvo2yv",jn="_yb_osfuvs",Yn="_yb_1w2tb0j",Fn="_yb_enhgyy",Gn="_yb_3ofann",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()&&Jn<0)){a=m;break}s+=y+(mJn&&-1!==Jn)for(var _=Jn;_=a;){var x=e.navItems[L].cloneNode(!0),k=x.querySelector("a");k&&(k.setAttribute("id",""),k.classList.remove(Dn));var S=x.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),x.classList.remove(e.dropdownWrapperClass),x.classList.remove(e.ybarNavigationItemClass),x.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(x,e.moreMenuDropdown.firstChild);var C=x.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(C)}null===(r=e.navItems[L].querySelector("a"))||void 0===r||r.setAttribute("tabindex","-1"),L--}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){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=function(){t.isTablet&&(document.body.classList.remove("ybar-nav-open"),document.body.removeEventListener("touchend",l))},i=function(e){var o=e.delegateTarget;o&&o.classList.contains(t.dropdownWrapperClass)&&(o.classList.contains(t.dropdownOpenClass)||(t.isTablet&&(document.body.classList.add("ybar-nav-open"),document.body.addEventListener("touchend",l)),o.classList.add(t.dropdownOpenClass),n(o,"true")))},r=function(e){var i=e.delegateTarget;if(null==i?void 0:i.classList.contains(t.navigationDropdownListClass)){var r=i.parentElement;r&&!r.contains(e.relatedTarget)&&r.classList.contains(t.dropdownWrapperClass)&&(o(),r.classList.remove(t.dropdownOpenClass),n(r,"false"))}else if(null==i?void 0:i.classList.contains(t.dropdownOpenClass)){if(t.isTablet&&e instanceof FocusEvent)return;var a=e.target;qn&&(!qn||qn.contains(a)&&"focusout"!==e.type)||(o(),i.classList.remove(t.dropdownOpenClass),n(i,"false"))}},a=kt(".".concat(t.dropdownWrapperClass),"focusin",i),s=kt(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",r),c=document.getElementById("ybar-navigation"),l=function(e){var n=null==e?void 0:e.target;t.isTablet&&e&&e.target&&e.target instanceof HTMLElement&&(e.target.classList.contains(t.dropdownOpenClass)||e.target.closest(".".concat(t.dropdownOpenClass)))||document.body.classList.contains("ybar-nav-open")&&!["svg","path"].includes(n.tagName)&&(null==c||c.querySelectorAll(".".concat(t.dropdownOpenClass)).forEach((function(e){e.classList.remove(t.dropdownOpenClass)})),o())};e.addEventListener("nav:closeOverflowMenu",(function(){l()}));var d=kt(".".concat(t.dropdownWrapperClass),"touchstart",(function(e){if(t.isTablet){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownOpenClass)?r(e):(l(e),i(e))}}));e.onDestroy((function(){var e;d.destroy(),a.destroy(),s.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)}))}))},$n=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");if(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"),t.isTablet){var l=r.previousElementSibling;if(qn&&qn.contains(r));else if(l){var d=l.getBoundingClientRect(),u=Math.trunc(d.left);r.style.left=u+"px"}}}}else{var p=new Error("Dropdown could not be initialized");e.logError("Error:",p)}}));e.onDestroy((function(){a.destroy()}))}(e,t),Vn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Vn(e)})),Xn(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,$n(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;$n(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)Zn(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(){Zn(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()}))}to(e,t)},eo=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},to=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()}))}},no="#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")||"tablet"===n.device||matchMedia("(hover: none)").matches,longListClass:Hn,moreMenuDropdown:document.querySelector("".concat(no," ul")),moreMenuNavItem:document.querySelector(no),moreMenuNavLinksSelector:"".concat(no," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(no," > 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<=1049&&(e=!0),e}};o.ybarNav&&Qn(e,o)}));var oo,io=function(){function e(){this.prefetch=Promise.resolve(),this.linkCallback=function(){},this.response={timestamp:0,suggestions:[]}}return e.prototype.onSuggestionClick=function(e){this.linkCallback=e},e.prototype.fetch=function(e,t){return f(this,void 0,void 0,(function(){return v(this,(function(e){switch(e.label){case 0:return[4,this.prefetch];case 1:return e.sent(),[2,this.response]}}))}))},e}(),ro=n((function(e){var t;(t=void 0===t?{}:t).trending={name:"trending",height:48,width:48,path:"M5.793 37.242l10.46-13.865c.703-.934.515-2.26-.422-2.963-.936-.702-2.267-.514-2.97.42L2.4 34.7c-.705.933-.516 2.26.42 2.962.938.702 2.268.514 2.973-.42zm21.073 0l16.827-22.33c.704-.934.515-2.26-.423-2.962-.937-.702-2.268-.513-2.972.42L23.47 34.7c-.703.934-.514 2.26.424 2.962.937.702 2.268.513 2.972-.42zm0-2.543l-10.46-13.867c-.704-.933-2.035-1.12-2.972-.42-.937.703-1.126 2.03-.42 2.963L23.47 37.242c.704.934 2.035 1.122 2.972.42.937-.703 1.126-2.03.42-2.963zm10.82-18.9l3.503 2.393.615 3.876c.094.608.44 1.114.913 1.433.427.287.957.42 1.507.338 1.16-.177 1.955-1.257 1.776-2.41L44.23 9.913 32.857 12.59c-1.14.27-1.846 1.41-1.577 2.547.268 1.135 1.41 1.84 2.553 1.572l3.854-.91z"},e.exports&&(e.exports=t.trending)})),ao=n((function(e){var t;(t=void 0===t?{}:t).news={name:"news",height:24,width:24,path:"M11 12h-1c-.552 0-1-.447-1-1 0-.553.448-1 1-1h1c.553 0 1 .447 1 1 0 .553-.447 1-1 1zm6.998 0h-4c-.55 0-1-.447-1-1 0-.553.45-1 1-1h4c.553 0 1 .447 1 1 0 .553-.447 1-1 1zm0 4H10c-.552 0-1-.447-1-1 0-.553.448-1 1-1h7.998c.553 0 1 .447 1 1 0 .553-.447 1-1 1zm3-9H7.002v12H19c1.1 0 1.998-.898 1.998-2V7zM5.003 10h-2v8c0 .552.447 1 1 1 .552 0 1-.448 1-1v-8zM4 21c-1.656 0-3-1.343-3-3V9c0-.553.448-1 1-1h3.003V6c0-.552.446-1 1-1h15.995c.553 0 1 .448 1 1v11c0 2.205-1.794 4-4 4H4z"},e.exports&&(e.exports=t.news)})),so=n((function(e){var t;(t=void 0===t?{}:t)["fantasy-sports-trophy"]={name:"fantasy-sports-trophy",height:20,width:20,path:"M15.9 3c.137 0 .248.11.248.245v.018l-.003.017h.003v1.156h3.604c.137 0 .248.11.248.245v.02l-.003.017H20v.9c0 2.877-2.376 5.24-5.44 5.574-.764 1.01-1.758 1.764-2.884 2.145l-.262.08v1.668h2.79c.137 0 .248.11.248.245v.018l-.002.017h.002v1.12h1.52c.136 0 .247.11.247.246v.017l-.004.017h.003v.876a.246.246 0 0 1-.19.238l-.058.007H4.028a.246.246 0 0 1-.247-.245v-.018l.004-.018H3.78v-.875c0-.117.08-.214.19-.24l.057-.006h1.52V15.328c0-.116.08-.213.19-.238l.057-.007h2.79v-1.667c-1.232-.347-2.323-1.14-3.145-2.225C2.455 10.866.124 8.617.004 5.85L0 5.626V4.68c0-.115.082-.212.19-.238l.058-.006h3.604V3.245c0-.116.08-.213.19-.238L4.1 3h3.973v6.37l1.943-1.576L11.96 9.37V3H15.9zm2.9 2.627h-2.65v.79a8.467 8.467 0 0 1-.768 3.4c1.985-.58 3.418-2.237 3.418-4.19zm-14.947 0h-2.65l.005.208c.097 1.86 1.498 3.422 3.412 3.982a8.394 8.394 0 0 1-.752-3.034l-.014-.367v-.018a9.3 9.3 0 0 1-.002-.14v-.044.044-.63z"},e.exports&&(e.exports=t["fantasy-sports-trophy"])})),co=n((function(e){var t;(t=void 0===t?{}:t)["nav-sports"]={name:"nav-sports",height:512,width:512,path:"M454.684 67.463c-2.04-5.246-6.183-9.436-11.416-11.445-35-13.533-71.426-20.422-108.184-20.422-165.43 0-300 134.58-300 300.002 0 36.787 6.846 73.174 20.4 108.176 2.03 5.223 6.18 9.385 11.416 11.426 34.988 13.535 71.396 20.396 108.174 20.396h.02c80.098 0 155.448-31.18 212.11-87.842 56.658-56.66 87.88-132.012 87.88-212.158 0-36.72-6.865-73.114-20.4-108.133zm-87.19 160.564c-3.895 3.896-9.022 5.857-14.14 5.857-5.116 0-10.244-1.96-14.133-5.857l-14.13-14.13-41.72 41.72 21.19 21.2c7.832 7.81 7.832 20.458 0 28.278-3.887 3.898-9.013 5.86-14.13 5.86s-10.232-1.962-14.142-5.86l-21.2-21.2-41.72 41.72 14.13 14.13c7.824 7.813 7.824 20.452 0 28.284-3.895 3.894-9.022 5.856-14.14 5.856-5.116 0-10.244-1.965-14.142-5.857l-56.562-56.563c-7.822-7.824-7.822-20.48 0-28.283 7.804-7.81 20.46-7.81 28.28 0l14.15 14.15 41.72-41.717-21.213-21.223c-7.82-7.822-7.82-20.5 0-28.28 7.795-7.813 20.46-7.813 28.272 0l21.222 21.22 41.718-41.72-14.147-14.15c-7.822-7.82-7.822-20.477 0-28.28 7.802-7.812 20.45-7.812 28.27 0l56.563 56.564c7.83 7.81 7.83 20.48.007 28.28z"},e.exports&&(e.exports=t["nav-sports"])})),lo=n((function(e){var t;(t=void 0===t?{}:t).SportsBaseball={name:"SportsBaseball",height:24,width:24,path:"M3.515 20.485c4.678 4.68 12.292 4.68 16.97 0 4.68-4.678 4.68-12.292 0-16.97-4.678-4.68-12.292-4.68-16.97 0-4.68 4.678-4.68 12.292 0 16.97zm1.542-1.543c-3.827-3.827-3.828-10.056 0-13.885 3.83-3.828 10.058-3.827 13.885 0 3.83 3.83 3.83 10.057 0 13.886-3.828 3.828-10.056 3.828-13.885 0zm9.417-5.378c.054.36.124.713.207 1.06.12.502.568.84 1.062.84.082-.002.167-.01.252-.03.586-.14.95-.727.808-1.314-.066-.29-.127-.585-.172-.884-.09-.595-.645-1.01-1.243-.914-.595.09-1.004.647-.913 1.242zm1.282 4.07c-.257-.546-.022-1.195.523-1.452.55-.255 1.195-.02 1.45.524.137.29.277.568.42.832.285.528.087 1.19-.443 1.477-.163.09-.342.13-.517.13-.387 0-.763-.207-.96-.572-.16-.297-.322-.612-.474-.94zm1.96-12.81c-.528-.288-1.19-.087-1.477.44-.16.297-.32.61-.475.94-.258.543-.024 1.193.52 1.45.15.073.31.106.466.105.41 0 .802-.232.988-.626.138-.29.277-.568.42-.832.287-.53.09-1.193-.44-1.48zm-3.24 5.447c.054-.36.126-.717.21-1.066.144-.586.732-.944 1.32-.8.585.142.943.732.8 1.317-.07.29-.128.582-.174.88-.082.54-.547.927-1.077.926-.055 0-.11-.003-.165-.013-.595-.09-1.005-.646-.914-1.242zm-8.38 6.437c-.135.29-.276.567-.418.83-.286.53-.09 1.19.443 1.478.164.09.342.13.518.13.388 0 .762-.206.96-.572.16-.298.32-.612.474-.94.256-.545.022-1.195-.524-1.45-.55-.257-1.195-.02-1.45.524zM8.063 6.203c.257.545.026 1.194-.52 1.452-.15.072-.31.105-.465.105-.41 0-.8-.232-.987-.625-.138-.29-.28-.57-.42-.833-.288-.53-.09-1.192.44-1.48.53-.286 1.192-.086 1.478.442.16.298.32.61.474.94zm-.864 7.032c-.047.3-.106.594-.175.885-.14.587.223 1.175.81 1.314.084.02.17.03.254.03.492 0 .94-.34 1.06-.84.082-.346.153-.7.207-1.062.09-.594-.318-1.15-.915-1.24-.598-.094-1.152.318-1.242.913zm1.943-4.03c.086.348.157.705.21 1.067.092.595-.317 1.15-.912 1.242-.055.008-.112.013-.166.013-.53 0-.994-.386-1.077-.927-.045-.297-.104-.59-.174-.878-.143-.586.217-1.176.802-1.32.582-.142 1.176.216 1.32.802z"},e.exports&&(e.exports=t.SportsBaseball)})),uo=n((function(e){var t;(t=void 0===t?{}:t).SportsBasketball={name:"SportsBasketball",height:16,width:16,path:"M12.5 12.046c-.967-1.1-2.297-1.883-3.833-2.046V8.667h5.355c-.137 1.305-.69 2.455-1.522 3.38zm-3.833-.713c1.143.157 2.123.772 2.847 1.6-.828.592-1.78.956-2.847 1.067v-2.667zm-4.18 1.6c.722-.828 1.703-1.443 2.846-1.6V14c-1.065-.11-2.02-.475-2.847-1.066zm-2.51-4.266h5.356V10c-1.537.163-2.867.945-3.833 2.046-.83-.925-1.386-2.074-1.523-3.38zM3.5 3.954C4.465 5.054 5.795 5.837 7.332 6v1.333H1.977c.137-1.305.69-2.455 1.522-3.38zm3.833.713c-1.143-.157-2.124-.772-2.847-1.6C5.314 2.474 6.268 2.11 7.333 2v2.667zm4.18-1.6c-.723.828-1.704 1.443-2.847 1.6V2c1.065.11 2.02.475 2.847 1.066zm2.51 4.266H8.666V6c1.536-.163 2.867-.945 3.833-2.046.83.925 1.385 2.074 1.522 3.38zM8 .667C3.95.667.667 3.95.667 8S3.95 15.333 8 15.333c4.05 0 7.333-3.283 7.333-7.333S12.05.667 8 .667z"},e.exports&&(e.exports=t.SportsBasketball)})),po=n((function(e){var t;(t=void 0===t?{}:t).SportsFootball={name:"SportsFootball",height:16,width:16,path:"M11.46 11.462C9.825 13.1 7.65 14 5.334 14c-.965 0-1.92-.164-2.847-.49C2.163 12.587 2 11.63 2 10.667 2 5.886 5.885 2 10.665 2c.963 0 1.92.163 2.845.487.325.926.49 1.882.49 2.845 0 2.315-.902 4.492-2.54 6.13zm3.193-9.733c-.067-.176-.205-.316-.38-.382-1.167-.452-2.38-.68-3.606-.68-5.515 0-10 4.484-10 10 0 1.225.228 2.438.68 3.604.068.175.206.313.38.38 1.167.452 2.38.682 3.607.682 2.67 0 5.182-1.04 7.07-2.93s2.93-4.4 2.93-7.07c0-1.224-.23-2.438-.68-3.605zm-4.79 2.523c-.262-.26-.684-.26-.944 0-.262.26-.262.682 0 .943l.47.472L8 7.058 7.29 6.35c-.26-.26-.683-.26-.943 0s-.262.683 0 .944l.706.708-1.39 1.39-.472-.47c-.26-.262-.683-.262-.943 0-.26.26-.26.68 0 .942l1.886 1.885c.26.26.682.258.943 0 .26-.262.26-.684 0-.944l-.472-.47 1.39-1.392.708.706c.304.303.73.214.943 0 .26-.26.26-.682 0-.943L8.94 8l1.39-1.39.472.47c.31.313.74.203.943 0 .26-.26.26-.682 0-.942L9.862 4.253z"},e.exports&&(e.exports=t.SportsFootball)})),ho=n((function(e){var t;(t=void 0===t?{}:t).SportsFootballNCAA={name:"SportsFootballNCAA",height:16,width:16,path:"M12.383 12.677H12V10.66l1.983.002.002.413-1.602 1.602zM8.667 6C8.297 6 8 6.3 8 6.667v4.942c0 .537-.4 1.024-.937 1.056-.517.03-.928-.32-1.043-.84-.065-.292-.34-.492-.64-.492H3.182c-.893-1.11-1.36-2.573-1.12-4.158.353-2.32 2.26-4.178 4.59-4.466C9.176 2.397 11.4 3.852 12.27 6H8.668zm2 3.333H9.334v-2h1.333v2zm4.667.667c0-.186-.077-.354-.2-.475-.12-.12-.286-.195-.47-.195L12 9.328V7.333h2c.37 0 .668-.298.668-.667S14.368 6 14 6h-.31c-.923-2.937-3.818-5-7.136-4.623-3.082.35-5.56 2.887-5.856 5.975-.19 1.973.495 3.775 1.697 5.102.125.138.307.212.493.212H4.9c.417.872 1.35 1.45 2.408 1.314 1.18-.15 2.027-1.227 2.027-2.417v-.897h1.333v2.667c0 .19.08.36.207.48.12.12.287.197.473.197h1.325c.177 0 .347-.07.472-.195l1.994-1.994c.125-.125.195-.296.194-.474l-.007-1.34.007-.007z"},e.exports&&(e.exports=t.SportsFootballNCAA)})),mo=n((function(e){var t;(t=void 0===t?{}:t).SportsHockey={name:"SportsHockey",height:16,width:16,path:"M8.014 4.678c1.103 0 1.996-.898 1.996-2.006 0-1.107-.894-2.005-1.996-2.005s-1.996.898-1.996 2.005c0 1.108.894 2.006 1.996 2.006zm6.66 7.99h-5.02l-.887-1.503 4.886-8.295c.183-.31.08-.71-.23-.893-.31-.182-.707-.08-.89.23L8 9.868 3.466 2.205c-.182-.31-.58-.41-.89-.23-.31.184-.412.583-.23.894l4.887 8.295-.89 1.502H1.327c-.365 0-.66.296-.66.66v1.34c0 .366.3.666.666.666h4.615c.252 0 .464-.147.575-.357L8 12.466l1.477 2.51c.11.21.323.357.575.357h4.616c.366 0 .665-.3.665-.667v-1.338c0-.365-.295-.66-.66-.66z"},e.exports&&(e.exports=t.SportsHockey)})),fo=n((function(e){var t;(t=void 0===t?{}:t).SportsMMA={name:"SportsMMA",height:48,width:48,path:"M34.004 0H13.42L0 8.683v29.86L13.403 48h20.584L48 39.752V8.683L34.004 0zM15 33h18v13H15V33zm18.42-2H14.004l-11.39-7 11.375-7h19.45l11.36 7-11.377 7zM15 15V2h18v13H15zM2 9.798l11-6.8v12.65l-11 6.77V9.798zm0 16.198l11 6.766v12.51L2 37.505v-11.51zm44 12.64L35 45.44V32.79l11-6.793v12.638zM35 15.63V2.982l11 6.815v12.62L35 15.63z"},e.exports&&(e.exports=t.SportsMMA)})),vo=n((function(e){var t;(t=void 0===t?{}:t).SportsSoccer={name:"SportsSoccer",height:24,width:24,path:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm1.77 15.02h-3.28l-1.585 1.677.842 3.006C10.47 20.89 11.22 21 12 21c.894 0 1.758-.136 2.574-.38l.815-2.91-1.62-1.69zm-8.45-5.482l-2.316 1.39c0 .024-.004.047-.004.072 0 1.662.46 3.215 1.25 4.553l2.95.035 1.562-1.65-1.09-3.348-2.352-1.052zm13.67-.025c-.675.3-1.47.65-2.385 1.05l-1.1 3.377 1.578 1.648 2.665-.032C20.538 15.218 21 13.663 21 12c0-.098-.012-.193-.015-.29zM12.134 9.23l-2.532 1.833.964 2.957H13.7l.965-2.957-2.53-1.833zM8.85 3.58c-1.43.537-2.687 1.422-3.665 2.56l.634 2.43 2.358 1.056 2.968-2.15V5.288zm6.432.048l-2.136 1.61v2.256l2.927 2.12c.79-.35 1.657-.73 2.472-1.09l.537-2.058c-.983-1.257-2.292-2.244-3.8-2.838z"},e.exports&&(e.exports=t.SportsSoccer)})),yo=n((function(e){var t;(t=void 0===t?{}:t).golf={name:"golf",height:24,width:24,path:"M11.9 3.2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.5-8-8-8zM12.4 7.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5zM12.4 5.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5zM10.4 8.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5zM10.4 6.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5c0-.2-.2-.5-.5-.5zM8.4 9.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5c0-.2-.2-.5-.5-.5zM8.4 7.2c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5zM16.8 18.2H6.9c-.5 0-1 .4-1 1s.5 1 1 1h1c1.7 0 3 1.3 3 3h2c0-1.7 1.3-3 3-3H17c.5 0 .9-.4.9-.9 0-.6-.5-1.1-1.1-1.1z"},e.exports&&(e.exports=t.golf)})),go=n((function(e){var t;(t=void 0===t?{}:t).SportsRacing={name:"SportsRacing",height:16,width:16,path:"M13.68 4.667H11.01v2.667h2.667V10H11.01V7.335H8.345V10H5.678V7.335H4.49L3.41 4.667h2.27V2h2.667v2.667h2.667V2h2.667v2.667zM3.01 2v1.69L2.326 2h.686zM14.346.667H1.334c-.473 0-.795.478-.618.917l1.61 3.985 3.745 9.305c.106.26.356.418.62.418.083 0 .167-.016.25-.05.34-.136.506-.525.37-.866l-1.226-3.043h8.262c.368 0 .667-.3.667-.667V1.334c0-.368-.3-.667-.667-.667zM5.68 7.333h2.666V4.666H5.68v2.667z"},e.exports&&(e.exports=t.SportsRacing)})),bo={default:co,nfl:po,nhl:mo,mlb:lo,nba:uo,ncaab:uo,ncaaf:ho,ncaaw:uo,wnba:uo,mma:fo,soccer:vo,golf:yo,nascar:go,indycar:go,tennis:n((function(e){var t;(t=void 0===t?{}:t)["tennis-mens"]={name:"tennis-mens",height:24,width:24,path:"M24 11.98c.004 3.168-1.23 6.22-3.514 8.505-2.285 2.285-5.338 3.52-8.508 3.514l-.498-.002V23.5c-.007-2.894-1.137-5.673-3.222-7.76C6.173 13.657 3.393 12.528.5 12.52H.002v-.498C-.006 8.85 1.227 5.8 3.515 3.515 5.8 1.23 8.85-.005 12.022.002h.498v.5c.006 2.89 1.136 5.67 3.222 7.757 2.025 2.023 4.704 3.148 7.512 3.217l-.012.503H24zm-8.965-3.014c-2.153-2.153-3.373-4.985-3.503-7.954-2.73.114-5.332 1.232-7.31 3.21-1.98 1.977-3.097 4.58-3.21 7.31 2.97.13 5.802 1.35 7.953 3.502 2.152 2.152 3.372 4.984 3.502 7.955 2.73-.117 5.334-1.235 7.312-3.213 1.976-1.977 3.094-4.58 3.21-7.308-2.975-.133-5.804-1.354-7.955-3.504zm4.744 10.812c4.293-4.296 4.293-11.26 0-15.556-4.298-4.296-11.262-4.296-15.557 0-4.297 4.296-4.297 11.26 0 15.556 4.294 4.296 11.26 4.295 15.556 0zm.706.707c-4.687 4.686-12.286 4.687-16.97 0-4.688-4.686-4.688-12.284 0-16.97 4.685-4.687 12.282-4.687 16.97 0 4.685 4.686 4.685 12.283 0 16.97z"},e.exports&&(e.exports=t["tennis-mens"])})),olympics:n((function(e){var t;(t=void 0===t?{}:t).SportsMedal={name:"SportsMedal",height:32,width:32,path:"M16.212 16.697c-3.672 0-6.648 2.976-6.648 6.648s2.976 6.648 6.648 6.648c3.672 0 6.647-2.976 6.647-6.648s-2.976-6.648-6.648-6.648zm0 2.666c2.195 0 3.98 1.787 3.98 3.98 0 2.197-1.785 3.982-3.98 3.982-2.196 0-3.98-1.785-3.98-3.98 0-2.196 1.784-3.982 3.98-3.982zM9.495 2l6.943 12.027h3.08L12.575 2h-3.08zm16.553 0l-5.19 8.99 1.538 2.668L29.128 2h-3.08zM3.333 2l6.943 12.027h3.08L6.41 2h-3.08zm19.634 0h-3.08l-2.11 3.655 1.54 2.667 3.65-6.32z"},e.exports&&(e.exports=t.SportsMedal)}))},wo={mma:"0 0 135 135",golf:"0 0 68 68"},_o={default:"5f3cfc79-39ad-4c00-938b-e4e94458386b","en-GB":"f1c75c50-001f-11e7-997f-8673fd95df96","en-CA":"417dc692-6820-410c-b9de-842a92a9284d","zh-Hant-TW":"46613341-8d8d-4497-8437-c567c84722b4","zh-Hant-HK":"085ecfea-e693-42e3-9a68-d35d4f1358d6","es-US":"03e8d530-df02-11e9-9ffb-f1cbadfb21c5","en-AU":"3df7c490-4415-11e8-bf7f-b079f28c8ccc"},Lo=function(){},xo="true"===(null===(oo=document.getElementById("ybar-sf"))||void 0===oo?void 0:oo.getAttribute("data-dev-sports-api")),ko=function(e,t){return"".concat(xo?"":"https://api.search.yahoo.com","/datap/v3/search?appid=190e4fbb&query=").concat(encodeURIComponent(e),"&market=").concat(encodeURIComponent(t),"&features=sports.assist,sports.assist.news")},So=function(e){var t,n=xo?"":"https://ncp-gw-sports.media.yahoo.com",o=_o[e]||_o.default,i=(null===(t=/-([A-Z]{2})$/.exec(e))||void 0===t?void 0:t[1])||"US";return"".concat(n,"/api/v1/gql/stream_view?listId=").concat(o,"&namespace=sports&id=headlines&version=v1&lang=").concat(encodeURIComponent(e),"&region=").concat(encodeURIComponent(i),"&ssl=true")},Co=function(e){return void 0===e&&(e=""),"https://search.yahoo.com/search?p=".concat(encodeURIComponent(e),"&fr=uh3_sports_web_gs&fr2=p:sprt,m:sb")},Eo=function(e){var t,n,o,i,r,a;return{imageIcon:null===(t=e.fd)||void 0===t?void 0:t.image,title:null!==(o=null===(n=e.fd)||void 0===n?void 0:n.display_name)&&void 0!==o?o:"",subtitle:null===(i=e.fd)||void 0===i?void 0:i.league,link:(null===(r=e.fd)||void 0===r?void 0:r.url)||Co(null===(a=e.fd)||void 0===a?void 0:a.display_name)}},Mo=function(e){var t,n,o,i,r,a,s;return{imageIcon:(null===(t=e.fd)||void 0===t?void 0:t.image)||"https://s.yimg.com/cv/apiv2/sportssearch/[email protected]",imageIconBgColor:null===(n=e.fd)||void 0===n?void 0:n.primary_color,title:null!==(i=null===(o=e.fd)||void 0===o?void 0:o.display_name)&&void 0!==i?i:"",subtitle:null===(r=e.fd)||void 0===r?void 0:r.subtitle,link:(null===(a=e.fd)||void 0===a?void 0:a.url)||Co(null===(s=e.fd)||void 0===s?void 0:s.display_name)}},Ao=function(e){var t,n,o,i,r,a,s,c,l,d,u,p;return{icon:(null===(t=e.fd)||void 0===t?void 0:t.image)?void 0:Bo(e)?so:bo[null!==(o=null===(n=e.fd)||void 0===n?void 0:n.id)&&void 0!==o?o:""]||bo.default,iconWidth:(null===(i=e.fd)||void 0===i?void 0:i.image)?void 0:54,iconHeight:(null===(r=e.fd)||void 0===r?void 0:r.image)?void 0:54,viewBox:(null===(a=e.fd)||void 0===a?void 0:a.image)||Bo(e)?void 0:wo[null!==(c=null===(s=e.fd)||void 0===s?void 0:s.id)&&void 0!==c?c:""],imageIcon:null===(l=e.fd)||void 0===l?void 0:l.image,title:null!==(u=null===(d=e.fd)||void 0===d?void 0:d.display_name)&&void 0!==u?u:e.k,link:(null===(p=e.fd)||void 0===p?void 0:p.url)||Co(e.k)}},No=function(e){var t,n,o,i,r,a;return{imageIcon:null===(t=e.fd)||void 0===t?void 0:t.image,title:(null===(n=e.fd)||void 0===n?void 0:n.display_name)||e.k,subtitle:(null===(o=e.fd)||void 0===o?void 0:o.subtitle)||(null===(i=e.fd)||void 0===i?void 0:i.league),link:(null===(r=e.fd)||void 0===r?void 0:r.url)||Co((null===(a=e.fd)||void 0===a?void 0:a.display_name)||e.k)}},Io=function(e){return{icon:ao,title:e.title,subtitle:e.sourceNameShort,link:e.sourceUrl||Co(e.title),timestamp:e.publishDate}},To=function(e){var t,n,o,i,r;return{icon:ro,noIconBg:!0,iconWidth:20,iconHeight:20,itemIconColor:"188fff",title:null!==(n=null===(t=e.content)||void 0===t?void 0:t.title)&&void 0!==n?n:"",link:(null===(i=null===(o=e.content)||void 0===o?void 0:o.clickThroughUrl)||void 0===i?void 0:i.url)||Co(null===(r=e.content)||void 0===r?void 0:r.title)}},Bo=function(e){var t,n,o=null!==(n=null===(t=e.fd)||void 0===t?void 0:t.url)&&void 0!==n?n:"";return o.indexOf("fantasysports.yahoo.com")>-1||o.indexOf("dailyfantasy")>-1},Oo=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(ko(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)||Bo(e)}(e)?!function(e){var t,n;return(null!==(n=null===(t=e.fd)||void 0===t?void 0:t.url)&&void 0!==n?n:"").indexOf("/author/")>-1}(e)?h.push(No(e)):m.push(No(e)):p.push(Ao(e)):d.push(Eo(e)):u.push(Mo(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(Io))||[]},{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}(io),qo=function(e){function t(t,n){var o=e.call(this)||this;return o.prefetch=lt(So(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(To))||[]}]}})).catch((function(e){s("Error fetching SA trending headlines",e)})),o}return h(t,e),t}(io),Ro=Object.freeze({__proto__:null,getPlugin:function(e,t){var n=(new Date).getTime(),o=e.getConfig(),i=o.locale,r=o.i18n,a=(null==r?void 0:r["searchjs-lib"])||{},s=new Oo(i,a),c=new qo(i,a);return{getSearchResult:function(e,t,o){return void 0===o&&(o=Lo),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
    Minnesota Twins

    Minnesota Twins

    • Batting Avg
      .246 AVG
    • Runs
      742 R
    • Earned Runs Avg
      4.26 ERA
    • WHIP
      1.23 WHIP

    Pitchers

    NoPlayerPBatThwHtWt (lbs)AgeExpBirth PlaceCollege
    P/SP
    RR6' 1"197 lbsPalm Springs, CaliforniaSacramento State
    66
    P/RP
    RR6' 3"205 lbs6Bajos de Haina, Dominican Republic
    83
    P/SP
    RR6' 2"222 lbsSouthlake, TexasRice
    59
    P/RP/CL
    RR6' 5"230 lbs3Esperanza, Dominican Republic
    58
    P/SP
    RR6' 6"185 lbs1Verona, New JerseySeton Hall
    55
    P/RP
    LL6' 4"230 lbs2Mesa, ArizonaDallas Baptist
    53
    P/RP
    LL6' 6"235 lbs2Braidwood, IllinoisIllinois State
    31
    P/SP
    RR5' 10"155 lbs3Bonao, Dominican Republic
    22
    P/RP
    RR6' 2"195 lbs4Phoenix, ArizonaAir Force
    49
    P/SP
    LR6' 4"225 lbs7Cabimas, Venezuela
    52
    P/SP
    RR6' 5"225 lbs1Cullowhee, North CarolinaWestern Carolina
    17
    P/SP
    RR6' 9"260 lbs4Huntersville, North CarolinaCharleston
    20
    P/SP
    RR6' 5"217 lbs6Austin, Texas
    P/SP
    RR6' 1"170 lbsLaredo, Texas
    41
    P/SP
    RR6' 2"205 lbs4San Anselmo, CaliforniaCal State Stanislaus
    44
    P/RP
    RR6' 3"215 lbs3Tallahassee, FloridaFlorida State
    61
    P/RP
    LR6' 3"220 lbs9Normal, IllinoisIllinois State
    39
    P/RP
    RR6' 7"220 lbs12Glendale, California
    48
    P/RP
    RR6' 4"200 lbs5Binghamton, New YorkLIU Brooklyn
    37
    P/SP
    LR6' 1"205 lbs3St. Paul, MinnesotaConcordia-St. Paul
    78
    P/SP
    RR6' 3"210 lbs3Sugar Land, Texas

    Catchers

    NoPlayerPBatThwHtWt (lbs)AgeExpBirth PlaceCollege
    85
    C
    RR5' 10"230 lbs1Barranquilla, Colombia
    27
    C/DH
    RR6' 4"235 lbs5Raleigh, North CarolinaUNC Wilmington
    8
    C/1B/DH
    RR5' 9"205 lbs11Bayamon, Puerto Rico

    Infielders

    NoPlayerPBatThwHtWt (lbs)AgeExpBirth PlaceCollege
    50
    2B/3B/SS/LF/CF/RF
    SR6' 1"206 lbs6Rio Piedras, Puerto Rico
    4
    SS/DH
    RR6' 4"220 lbs10Santa Isabel, Puerto Rico
    92
    2B
    RR5' 11"195 lbs1Lincoln, NebraskaTexas A&M
    47
    2B
    LR6' 0"195 lbs2Quebec City, CanadaAuburn
    72
    3B
    SR6' 1"205 lbs1San Luis Obispo, CaliforniaCal Poly
    23
    3B/DH
    RR6' 2"200 lbs3Aliso Viejo, California
    64
    3B/DH/1B
    RR6' 2"210 lbs3Manati, Puerto Rico

    Outfielders

    NoPlayerPBatThwHtWt (lbs)AgeExpBirth PlaceCollege
    25
    CF/DH
    RR6' 2"190 lbs10Baxley, Georgia
    89
    CF
    LL6' 2"195 lbs1San Diego, CaliforniaUtah
    9
    LF/DH/RF
    LR6' 4"223 lbs4Walnut Creek, CaliforniaOregon State
    13
    RF/CF/LF/DH
    RR5' 11"180 lbs9San Cristobal, Dominican Republic
    82
    LF/2B/CF/RF
    RR6' 0"185 lbs1DeLand, FloridaVanderbilt
    87
    CF
    LL5' 10"210 lbsSantiago, Cuba
    38
    LF
    LR6' 4"220 lbs3Forest Lake, MinnesotaSouthern Miss