Marcin Gortat (C) Stats, News, Rumors, Bio, Video - Los Angeles Clippers

July 2024 · 15 minute read

New on Yahoo

© 2024 All rights reserved. ':"";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}

    ',a=n._store.getNotifications(),r=n._generatePanelMarkup(o,a),i.innerHTML=r;break;case"error_panel":r=(o='

    {errorMsg}

    ').replace("{errorMsg}",n._config.panel.errorMsg),i.innerHTML=r}t&&t()}else t&&t(new Error("No panel parent"))}},{key:"createPanelParentNode",value:function(e){e&&(e.innerHTML='',this._panelNode=document.getElementById(O))}},{key:"updateBadgeNode",value:function(e){if(e){var t=this._store.getNotifications().newCount,n=this._config.badge.maxCount;if(t){var o=t>n?n+"+":t;e.innerHTML=o}else e.innerHTML=""}}},{key:"addStyles",value:function(e){if(e&&"undefined"!=typeof window){var t=document.getElementById(this._config.panel.styleTagId);t||((t=document.createElement("style")).type="text/css",t.id=this._config.panel.styleTagId,t.innerText=e,document.head.appendChild(t))}}}]),e}(),D=function(){function e(t,n,o){L(this,e);var i=this;i._store=n,i._view=o,i._config=t;var r=i._config.panel;i._panelParentNode=document.querySelector(r.parentSelector),i._badgeNode=i._config.badge.selector&&document.querySelector(i._config.badge.selector),i._indicatorNode=r.indicatorSelector&&document.querySelector(r.indicatorSelector)}return k(e,[{key:"createPanelParentNode",value:function(){this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(O)}},{key:"refreshPanelNode",value:function(e,t){var n=this;E(n._notifPanelNode,B),n._store.fetchNotifications(e,(function(e,o){var i=window.wafer&&window.wafer.base;i&&i.destroy(n._notifPanelNode),e?n._notifPanelNode.innerHTML||(n._view.render("error_panel"),E(n._notifPanelNode,B)):(n._view.render("expanded_panel"),n._view.updateBadgeNode(n._badgeNode),n._showBadge(),n._showIndicator(),n._view.addStyles(o.css)),A(n._notifPanelNode,B),i&&i.sync(n._notifPanelNode.parentNode),t&&t(e,o)}))}},{key:"resetBadge",value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),E(e._badgeNode,e._config.badge.hideClass)}},{key:"_showIndicator",value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?E(this._indicatorNode,this._config.panel.indicatorClass):A(this._indicatorNode,this._config.panel.indicatorClass))}},{key:"_showBadge",value:function(){var e=this;e._store.getNotifications().newCount?A(e._badgeNode,e._config.badge.hideClass):E(e._badgeNode,e._config.badge.hideClass)}}]),e}(),H={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0,bypassEligibleClassCheck:!1,notifOnboardBtnLabel:"Notify Me",notifOnboardMsg:"Get alerts for breaking news and top stories",promoLogo:"https://s.yimg.com/cv/apiv2/ae/news/circle_bell.png",showYahooLogo:!0,subscriptionTopic:"gondor_homerun_news"},badge:{hideClass:"",maxCount:5,selector:""},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"",headerMsg:"Notifications",imageTag:"img:40x40|2|80",indicatorClass:"yns-indicator",indicatorSelector:null,maxCount:6,notificationCenterNavMsg:"View all {newCount} notifications",notificationCenterPath:"",notificationTypes:"",parentSelector:null,styleTagId:"notificationStyles",theme:"default"},service:{attemptCount:1,attemptDelay:2,url:null,resetUrl:null,isRMP:!1,responseType:"json",timeout:1500}},z={NotificationClient:function(){function e(t){L(this,e);var n=this;n.config=n._parseConfig(t),n._validateRequiredConfigs()&&(n._request=new S(n.config),n._store=new T(n.config,n._request),n._view=new P(n.config,n._store),n._panelController=new D(n.config,n._store,n._view),n._panelController.createPanelParentNode(),n._assignHelperMethods())}return k(e,[{key:"_parseConfig",value:function(e){var t={};for(var n in N(t,H),t)if(t.hasOwnProperty(n)){var o=t[n],i=e[n];"object"===(void 0===o?"undefined":x(o))?N(o,i):t[n]=e[n]}return t}},{key:"_validateRequiredConfigs",value:function(){var e=this.config;return!(!e.panel.parentSelector||!e.service.url)}},{key:"_assignHelperMethods",value:function(){var e=this;e.helpers={refreshPanelNode:e._panelController.refreshPanelNode.bind(e._panelController),resetBadge:e._panelController.resetBadge.bind(e._panelController),resetIndicator:function(){A(e._panelController._indicatorNode,e.config.panel.indicatorClass)}}}}]),e}()},U="lnct",j=function(){function e(){var e,t;this.personalized=!1,this.ybarElem=document.getElementById("ybar"),this.partnerClasses=null===(t=null===(e=this.ybarElem)||void 0===e?void 0:e.className)||void 0===t?void 0:t.match(/ybar-variant-([a-z]*)/),this.client=new z.NotificationClient(this.getConfig())}return e.prototype.refreshPanel=function(){var e,t,n,o=this,i={lastUpdate:this.getTimeStamp()||this.setTimeStamp(),loadInHpViewer:!0,includePersonalized:this.personalized},r=(null===(e=window.YAHOO)||void 0===e?void 0:e.context)||(null===(t=window.Af)||void 0===t?void 0:t.context)||{};return r.region&&r.lang&&(i.lang=r.lang,i.region=r.region),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&(i.partner=this.partnerClasses[1]),new Promise((function(e,t){o.client.helpers.refreshPanelNode({matrixParams:i},(function(n,o){n&&(s("Notification refresh error:",n),t(n)),e(o)}))}))},e.prototype.resetBadge=function(){this.client.helpers.resetBadge(),this.setTimeStamp()},e.prototype.getConfig=function(){var e,t,n,o,i,r=document.getElementById("notification-container"),a=null===(e=null==r?void 0:r.dataset)||void 0===e?void 0:e.config;if(I&&!a)return I;var c={promos:{eligibleBodyClass:"display-push-promos",enableNotifOnboard:!0},badge:{selector:"#notif-badge",hideClass:"ybar-notification-hidden"},panel:{emptyPanelMsg:"You have no new notifications.",errorMsg:"Please check back later.",headerMsg:"Notifications",maxCount:5,parentSelector:"#ybarNotificationBody",notificationTypes:"breakingNews"},service:{url:"/tdv2_fp/api/resource/NotificationHistory.getHistory",isRMP:!1}},l={};if(a){"att"===(null===(t=this.partnerClasses)||void 0===t?void 0:t[1])&&(c.promos.showYahooLogo=!1);try{var d=JSON.parse(a);l=m({},d),this.personalized=1===d.personalize}catch(e){s("Notifications config parsing error",e)}r&&delete r.dataset.config}return I=this.mergeConfigs(c,l),(null===(n=this.partnerClasses)||void 0===n?void 0:n.length)&&"yahoo"!==(null===(o=this.partnerClasses)||void 0===o?void 0:o[1])&&(null===(i=I.promos)||void 0===i?void 0:i.subscriptionTopic)&&delete I.promos.subscriptionTopic,I},e.prototype.mergeConfigs=function(e,t){var n=m({},e);for(var o in e)n[o]=m(m({},e[o]),t[o]);return n},e.prototype.getTimeStamp=function(){var e;return null===(e=window.localStorage)||void 0===e?void 0:e.getItem(U)},e.prototype.setTimeStamp=function(){var e,t=""+Math.floor((new Date).getTime()/1e3);return null===(e=window.localStorage)||void 0===e||e.setItem(U,t),t},e}();new j;var Y,F,G="",V=[],W=function(){},J=function(){window.removeEventListener("beforeunload",J),""!==G&&s("Rapid not found on page",new Error(G))},K=null,X=function(){return null===K&&(K=document.getElementById("ybar")),K},$=function(){var e=0,t=window.YAHOO;if(Y)return Y;if(t)if(t.i13n)if(t.i13n.__RAPID_INSTANCES__)if(t.i13n.__RAPID_INSTANCES__.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>L+y,a=_.scrollTop90&&Ae("performance",e)}catch(e){}}),1e3)})),ae(),a("error",(function(e){var t=e&&e.detail||{},n=t.error||{},o=t.message||n.message||n.toString();try{var i={code:n.name,file:n.fileName||"",line:n.lineNumber||"",message:o};Ae("error",i)}catch(e){}}));var Ie,Te,Be="_yb_hwgin0",Oe="_yb_mdhyzl",qe="_yb_1d0vcrx",Re="_yb_1qr2sqv",Pe="_yb_t7sf1v",De="_yb_9jhlid",He="_yb_bc2tfz",ze="_yb_1gpwgmg",Ue="_yb_jf3eva",je="_yb_fzy3r6",Ye="_yb_1y3uia1",Fe="_yb_hwb6o2",Ge="_yb_jlr0p5",Ve="_yb_gk2y3l",We="_yb_1pjo13v",Je="_yb_ju64nf",Ke="_yb_9743nw",Xe="_yb_14dzu68",$e="_yb_cdzxi",Ze="_yb_129woni",Qe="_yb_w4umd2",et="_yb_1ixtllb",tt="_yb_15rgf6m",nt="_yb_1qh10sj",ot="_yb_ybmt63",it="_yb_bst31j",rt="_yb_7n1rym",at={animation:"_yb_1k0r4ef","left-open":"_yb_ktz08j",noscroll:"_yb_2678cd",overlay:"_yb_11jlu23","fade-in-out":"_yb_1896s3i","right-open":"_yb_1c70vbc","center-open":"_yb_t6j5cz"},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,_,x,L;return v(this,(function(v){switch(v.label){case 0:if(r=e.data,a=void 0===r?{}:r,c=e.params,l=void 0===c?{}:c,d="EC-4008",u="EC-4003",p=this._getYmreqid(),!this.appid)throw new Error("No appId, user is logged out");h=m({appId:this.appid},l),this.wssid&&(h.wssid=this.wssid),e.params=h,f=[],Object.keys(h).forEach((function(e){var t=h[e];t&&f.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t)))})),y=f.length?"?".concat(f.join("&")):"",g="https://apis.mail.yahoo.com/ws/v3/batch".concat(y),v.label=1;case 1:return v.trys.push([1,4,,5]),[4,lt(g,{method:"POST",body:JSON.stringify(a),credentials:"include",headers:{"Content-Type":"application/json","X-Oath-YmReqId":p}})];case 2:return[4,(b=v.sent()).json()];case 3:if(w=v.sent(),b.ok)return[2,n(null===(i=w.result)||void 0===i?void 0:i.responses)];if((_=null===(o=null==w?void 0:w.error)||void 0===o?void 0:o.code)===u)return[2,this._handleWssidApiError(w,e,t,n)];throw _===d?new Error("Session has expired"):new Error("Mail Api Responded with an Error");case 4:throw x=v.sent(),s("JWS: ".concat((L=x).message),L),x;case 5:return[2]}}))}))},e.prototype._checkForMockData=function(){var e=document.getElementById("ybar");if(e&&e.hasAttribute("data-mc")){var t=e.getAttribute("data-mc");if(t&&ut[t])return ut[t]}},e.prototype._normalizerCountResponse=function(e){var t,n,o,i,r,a;if(!e)return 0;var s=((null===(o=null===(n=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.response)||void 0===n?void 0:n.result)||void 0===o?void 0:o.decos)||[]).find((function(e){return"FTI"===(null==e?void 0:e.id)}));return s&&null!==(a=null===(r=null===(i=null==s?void 0:s.counts)||void 0===i?void 0:i[0])||void 0===r?void 0:r.unseen)&&void 0!==a?a:0},e.prototype._handleWssidApiError=function(e,t,n,o){var i,r,a=null===(r=null===(i=null==e?void 0:e.error)||void 0===i?void 0:i.details)||void 0===r?void 0:r.wssid,s=t.params,c=(void 0===s?{}:s).wssid;if(a){if(c&&a===c)throw new Error("API provided same invalid WSSID");if(void 0!==n&&n>0)return n-=1,this.wssid=a,this._fetch(t,n,o);throw new Error("Max retries with invalid WSSID reached")}throw new Error("valid WSSID missing from API Response")},e.prototype._getYmreqid=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-xxxx-09xx-xxxxxxxxxx00".replace(new RegExp("x","g"),(function(){var t=(e+16*Math.random())%16|0;return e=Math.floor(e/16),t.toString(16)}))},e}(),mt={add:[{itemId:"ybar-mail-banner",reactions:["SHOWN"]}]};ve("ybar-mod-sidenav",(function(e){var t,n={sidenavBtn:document.getElementById("_yb_sidenav-btn"),sidenav:document.querySelector(".".concat(Xe)),menu:document.querySelector(".".concat(Ze)),sections:document.querySelectorAll(".".concat(Ve)),closeBtn:document.querySelector(".".concat(Oe)),panels:document.querySelectorAll(".".concat(Ge)),backBtn:document.querySelector(".".concat(Be)),footer:document.querySelector(".".concat(ze)),copyright:document.querySelector(".".concat(Re)),selectedSectionLinks:document.querySelectorAll(".".concat(Je," a")),focusedElement:document.querySelector(".".concat(Je," .").concat(He)),editionsDropdown:document.querySelector(".".concat(Pe)),mailUnread:document.querySelector(".".concat(et)),mailTooltip:document.getElementById("_yb_mail-tooltip"),tooltipClose:document.getElementById("_yb_mail-tooltip-close")},o=window.location.href.split("?")[0]?window.location.href.split("?")[0].replace(/\/$/,""):window.location.href,i=g([],y(n.selectedSectionLinks),!1);if(!n.focusedElement)for(var r=0;r0){if(o&&i){var n=t>99;o.classList.add("".concat(ot)),i.classList.add("count-loaded"),o.textContent=n?"99+":t+"",n?o.classList.add("".concat(tt)):t>=10&&o.classList.add("".concat(nt))}e.onDestroy((function(){o&&(o.textContent="")}))}})).catch((function(){}))}(e,s)}));var ft="_yb_1uqdvg9",vt="_yb_qpr9l4",yt="_yb_1roayy6",gt="_yb_1o3lgha";if("undefined"!=typeof Element&&!Element.prototype.matches){var bt=Element.prototype;bt.matches=bt.matchesSelector||bt.mozMatchesSelector||bt.msMatchesSelector||bt.oMatchesSelector||bt.webkitMatchesSelector}var wt=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}};function _t(e,t,n,o,i){var r=xt.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}function xt(e,t,n,o){return function(n){n.delegateTarget=wt(n.target,t),n.delegateTarget&&o.call(e,n)}}var Lt,kt=function(e,t,n,o,i){return"function"==typeof e.addEventListener?_t.apply(null,arguments):"function"==typeof n?_t.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return _t(e,t,n,o,i)})))},St=function(e){this.data=e,this.next=null,this.prev=null},Ct=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new St(e);return this.head?this.tail?(t.prev=this.tail,this.tail.next=t,this.tail=t):(this.tail=t,this.tail.prev=this.head,this.head.next=this.tail):(this.head=t,t.next=this.tail),t},e.prototype.size=function(){for(var e=0,t=this.head;t;)e+=1,t=t.next;return e},e.prototype.getHead=function(){return this.head},e.prototype.getTail=function(){return this.tail},e.prototype.get=function(e){if(e>=this.size())return null;for(var t=0,n=this.head;(null==n?void 0:n.next)&&t0&&Array.prototype.forEach.call(n,(function(e){e.onerror=function(){e.onerror=null,e.style.display="none"}})),t.wrapper&&(function(e,t){e&&(ke("#ybar-logo","#ybar-logo",t),t.onDestroy((function(){e.classList.remove("ybar-show-outline"),e.classList.remove("ybar-hide-outline")})))}(t.wrapper,e),function(e,t){t&&e.addElementListener(t,"click",(function(){e.triggerEvent("logo-click")}))}(e,t.wrapper))};ve("ybar-mod-logo",(function(e){var t={wrapper:document.getElementById("ybar-logo"),logoImages:document.querySelectorAll(".".concat(qt))};Rt(e,t)}));var Pt={"dropdown-open":"_yb_czl5cp","merchant-is-selected":"_yb_1az3saq",overlay:"_yb_1b6g2ip","selected-merchant-clear-button":"_yb_b9xeca","shops-buttons":"_yb_khh7o","styled-select":"_yb_14quh4d",tooltip:"_yb_1b1uqum","tooltip--show":"_yb_1uosdn1",tooltip__text:"_yb_z22jkj",tooltip__voice:"_yb_nyjql4",tooltip__web:"_yb_19zeji6",dark:"_yb_2rau3r",darker:"_yb_k2wzw0",light:"_yb_k0opj9",midnight60:"_yb_13zthlt","search-input-uh3-hover":"_yb_xz390m","search-input-uh3-focus-visible":"_yb_1rd29wv","sa-btn-bar":"_yb_1yy3itc","searchbox-icon-uh3":"_yb_8t9945",empty:"_yb_jth0em"},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

    '.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 ').concat(e.i18n.t("search.voice.trending_title"),'\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 Oo}))];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_1qcbdab",an="_yb_16ob403",sn="_yb_1jg88gm",cn="_yb_1qcjzkn",ln="_yb_pgdywi",dn="_yb_1lu6ylb",un="_yb_1li40cr",pn="_yb_1mp2hj4";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){var t=e.moreDropDown,o=e.moreBtn,i=e.wrap,r={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};t&&o&&i&&(t.classList.contains("".concat(rn))||(t.classList.add("".concat(rn)),i.classList.remove("".concat(sn)),o.setAttribute("aria-expanded","false"),n||Z("ybar",r.slk,"",r)))},r=function(e){var t=e.editionsMenu,n={sec:"ybar",slk:"More",elm:"close",pkgt:"top",subsec:"navrail",itc:"1"};null==t||t.close(),Z("ybar",n.slk,"",n)},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),r(t),window.removeEventListener("resize",a)})),window.addEventListener("keyup",(function(e){27===e.keyCode&&i(t)}))}));var hn,mn,fn,vn={"account-status-container":"_yb_z8mcxf","accounts-container":"_yb_d5632x","accounts-list":"_yb_xsool8",chevron:"_yb_dopdmy",current:"_yb_52518o",expanded:"_yb_1d36hl2",greetings:"_yb_9t3ms3","greetings-container":"_yb_13jphll",hide:"_yb_19ch6w1",mobile:"_yb_g42ltt",multiple:"_yb_ieajjl","loading-profile-wrapper":"_yb_9yqmnz","loading-profile-button":"_yb_p677ei","notification-container":"_yb_172ai12","pfs-container":"_yb_1lyhpq","pfs-iframe":"_yb_1k16kbh",show:"_yb_19cs9he","sign-in-menu":"_yb_138dhae","signed-in":"_yb_hiyfi1","signed-in-mark":"_yb_1f54s3l","signed-out":"_yb_1746asw","signedout-text":"_yb_uahib1","stacked-name":"_yb_zzahac","stacked-name-given":"_yb_sh4zlm","stacked-name-family":"_yb_sas3un","uh3-layout":"_yb_1rbcd4","ybar-account-img":"_yb_1jvo8cr","ybar-account-img-signed-out":"_yb_btcw1j","ybar-account-img-hidden":"_yb_1nen8j0","ybar-account-menu":"_yb_10ewojf","ybar-account-menu-item-signed-out":"_yb_ufic4f","ybar-account-user-email":"_yb_18wineg","ybar-account-user-email-other":"_yb_lzchyp","ybar-account-user-name":"_yb_1pxw5ir","ybar-account-user-signedout":"_yb_o18yw8","ybar-account-yahoo-plus-imp":"_yb_1tkujhy","ybar-icon-arrow":"_yb_12bum4b","ybar-icon-arrow-down":"_yb_1j30bdw","ybar-icon-arrow-up":"_yb_1oo3ssz","ybar-icon-image-wrapper":"_yb_1gu0mcb","ybar-item-hidden":"_yb_dkmepi","ybar-login-btn":"_yb_9tuuky","ybar-mod-account":"_yb_h58z72","ybar-mod-mail":"_yb_15kcmrq","ybar-profile-character":"_yb_lbwe2j","ybar-profile-character-hidden":"_yb_ktqiho","ybar-see-info":"_yb_gt02c4","ybar-sign-out":"_yb_5rfvas","ybar-sign-out-text":"_yb_1q8htus","ybar-user-accounts-list":"_yb_1ee7c79","ybar-user-profile-img":"_yb_fcjl5p"};hn="ybar",fn={createHTML:function(e){return e}},void 0!==(mn=window.trustedTypes)&&void 0!==mn.createPolicy&&window.trustedTypes.createPolicy(hn,fn);var yn,gn=!1,bn=function(e,t,n){var o,i=n.ybarAccMenuItemTemplate,r=n.crumb;if(i){var a=(t+1).toString(),s=i.getAttribute("data-signedOutState"),c=i.getAttribute("data-signedInState")||"",l=i.getAttribute("data-done")||"",d=function(e){if("content"in e)return e.content.cloneNode(!0);for(var t=document.createDocumentFragment(),n=0;n=230&&(e.greetings.classList.add(vn.hide),e.stackedName.classList.remove(vn.hide),e.chevron&&(e.chevron.style.marginTop="-35px"))},_n=function(e,t,n){return 0===e.indexOf("javascript:")||~e.indexOf("https://membernotifications.aol.com/notice/maillogout")||~e.indexOf("wtExtndSource")?e:(n&&(n=~e.indexOf("&activity=ybar-")?void 0:n.replace("[[pspid]]",se())),~e.indexOf("done=")?(e=e.replace(/\[\[page\]\]/g,encodeURIComponent(window.location.href)),n&&(e+="&"+n),e):~e.indexOf("dest=[[done]]")?e.replace(/\[\[done\]\]/g,encodeURIComponent(t)):(e=le(e),e+=".done="+encodeURIComponent(t),n&&(e+="&"+n),e))},xn=function(e,t){var n,o=e.ybarAccMenuItemTemplate,i=e.ybarAccountContainer,r=document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),a=document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-sign-out"])),s=i&&i.querySelectorAll("a"),c="",l=window.location.href;if(r){var d=r.href;t.onDestroy((function(){r.href=d})),r.href=_n(r.href,l,r.getAttribute("data-redirect-params")||void 0)}if(o?c=o.getAttribute("data-sign-out-url")||"":a&&(c=a.getAttribute("data-sign-out-url")||""),s){var u=function(){var e=n,o=s[e].href;t.onDestroy((function(){s[e].href=o}));var i=s[n].getAttribute("data-redirect-params");s[n].classList.contains(vn["ybar-sign-out"])?s[n].href=_n(s[n].href,c,i||void 0):s[n].href=_n(s[n].href,l,i||void 0)};for(n=0;n=0;--t){e[t]=(i=void 0,(i={fn:(o=e[t]).fn||"",ln:o.ln||"",em:o.em||"",alias:o.alias||"",imageUrl:o.imageUrl,state:o.state,fullName:null,identifier:""}).fullName=ue(i.fn,i.ln)?[i.ln,i.fn].join(""):[i.fn,i.ln].join(" "),i.identifier=i.em||i.alias,i);var n=e[t].state;0!==n&&"0"!==n||(window.YBAR&&window.YBAR.setUserEmail(e[t].em),yn=e[t],e.splice(t,1)[0])}var o,i;return e}(r.users);if(t.isUH3Layout&&yn){if(t.ybarLoadingProfileWrapper){var l=document.querySelector(".".concat(vn["ybar-profile-character-hidden"])),d=yn.fn&&yn.fn[0].toUpperCase()||"",u=ue(yn.fn,yn.ln),p=function(){t.ybarLoadingProfileWrapper.remove(),t.ybarAccountMenu.classList.remove(vn["loading-profile-button"])};if(l&&de(yn.imageUrl)&&!u)l.innerHTML=d,l.ontransitionend=p,l.classList.remove(vn["ybar-profile-character-hidden"]);else{var h=new Image;h.classList.add(vn["ybar-account-img"],vn["ybar-account-img-hidden"]),h.src=yn.imageUrl,h.alt=t.ybarLoadingProfileWrapper.getAttribute("data-alt")||"",h.ontransitionend=p,h.onload=function(){h.classList.remove(vn["ybar-account-img-hidden"])},t.ybarLoadingProfileWrapper.parentElement.prepend(h),l&&l.remove()}t.greetings&&(t.greetings.innerText=yn.fullName||""),t.stackedNameGiven&&(t.stackedNameGiven.innerText=yn.fn||""),t.stackedNameFamily&&(t.stackedNameFamily.innerText=yn.ln||""),wn(t)}c.length>0&&(c.unshift(yn),t.chevron&&t.chevron.classList.remove("hide"),t.greetingsContainer&&(t.greetingsContainer.classList.add(vn.multiple),t.greetingsContainer.setAttribute("aria-expanded","false")))}for(var m=document.querySelector(".".concat(vn["ybar-user-accounts-list"]))||document.querySelector(".".concat(vn["accounts-list"])),f=function(n){var o=bn(c[n],n,t);o&&(null==m||m.appendChild(o)),e.onDestroy((function(){o&&(null==m||m.removeChild(o))}))},v=0;v0){var y=document.querySelector("".concat(s," .").concat(vn["ybar-sign-out"])),g=y&&y.getAttribute("data-soa"),b=document.querySelector("".concat(s," .").concat(vn["ybar-sign-out-text"]));if(b&&g&&(b.innerText=g),a&&a.classList.add(vn.show),n){var w=document.querySelector("".concat(s," ").concat(vn["ybar-icon-arrow"])),_=vn["ybar-icon-arrow-up"],x=vn["ybar-icon-arrow-down"],L=vn["ybar-item-hidden"],k=document.querySelectorAll(".".concat(vn["ybar-item-hidden"]));w&&(w.classList.toggle(x),e.addElementListener(w,"click",(function(){for(var e=0;e3){var S=document.querySelector("".concat(s," .").concat(vn["ybar-see-info"]));S&&S.style&&(S.style.display="block")}xn(t,e),o&&o(),gn=!1}))}},kn=function(e,t,n){var o,i,r,a,s,c={},l=e.getConfig(),d=new URLSearchParams({activity_p:"ybar"}),u=null,p="https://pfs.yahoo.com",h=function(e){for(var t=e.split(";"),n=new Map,o=0;o567?567: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(){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()},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(".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 ',u.style.opacity="1",setTimeout((function(){u&&(u.style.height="300px")}),100)),e.addElementListener(t.loggedInUserElement,"mouseleave",g),e.addElementListener(t.loggedInUserElement,"blur",g),t.ybarAccountMenu&&(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",b),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",b)))}};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,"mouseenter",w,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,"focus",w,{once:!0}),e.onDestroy((function(){v(),u=null})),t.ybarAccountContainer)"false"===t.ybarAccountContainer.getAttribute("data-prod")&&(p="https://stage.pfs.yahoo.com"),d.set("intl","us"),d.set("src",l.property),d.set("lang",l.locale),d.set("theme",(r="light",a=document.documentElement,null!==(s=a.getAttribute("data-color-theme-enabled"))&&"false"!==s&&(r="dark"===a.getAttribute("data-color-scheme")?"dark":"auto"),r)),d.set("done",window.location.href),d.set("pspid",se());window.addEventListener("message",(function(e){if(e.origin===p){var t=function(e){var t={cmd:"noop",params:{height:"0px",width:"",url:"","data-ylk":""}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==u&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case"iframeready":o=e.origin,i=e.source,m("initialize",{height:f(),maxAccounts:3,enableAnimations:!0,animationDuration:"500ms",animationTimingFunction:"ease-in-out"});break;case"hide":case"hide-for-animation":u.style.height="0";break;case"show":u.style.height=t.params.height,u.style.visibility="0"===t.params.height?"hidden":"visible",t.params.width&&(u.style.width=t.params.width);break;case"redirect":c=h(t.params["data-ylk"]),Z("ybar",c.slk||"account","",c),window.location=t.params.url;break;case"popup":c=h(t.params["data-ylk"]),Z("ybar",c.slk||"account","",c),window.open(t.params.url,"_blank")}}})),window.addEventListener("keyup",(function(e){if(!u||"visible"===u.style.visibility){27===e.keyCode&&g()}}))}},Sn=null,Cn=!0,En=0,Mn={ybarAccountImage:{selector:"ybar-account-img",size:"64"},ybarCurrentUserProfileImage:{selector:"ybar-current-user-profile-img",size:"128"},ybarUserProfileImage:{selector:"ybar-user-profile-img",size:"128"}},An=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,i=t.ybarMobile,r=t.ybarMenuManagePub,a=t.signInAccountMenu,c=t.signInBtn,l=t.ybarModAccount,d=t.yahooPlusImpression,u=t.chevron,p=t.greetingsContainer,h=t.accountsContainer,m=t.ybarLabel,f=e.getConfig(),v=function(){new Et(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement,accountSwitcherButtonSelector:".".concat(vn["greetings-container"],".").concat(vn.multiple)})},y=function(o){if(n)n.style.removeProperty("display"),"false"===n.getAttribute("data-enabled")&&(n.style.display="none"),xn(t,e);else{var i=new Error("ybarAccountContainer not Found");s("ERROR:",i)}n&&Cn&&(Cn=!1,e.onDestroy((function(){Cn=!0})),Ln(e,t,o,v))},g=function(){var e,t;0===En&&(En=1,null===(e=null==o?void 0:o.parentNode)||void 0===e||e.removeEventListener("mouseenter",g),null===(t=null==o?void 0:o.parentNode)||void 0===t||t.removeEventListener("focusin",g),setTimeout((function(){Q()}),500))},b=function(t){(null==n?void 0:n.classList.contains("ybarMenuOpen"))||(null==o?void 0:o.classList.contains(vn["loading-profile-button"]))||(null==n||n.classList.add("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","true"),e.triggerEvent("profile:show",{event:t}))},w=function(t){if(o&&n){if(o.classList.contains(vn["loading-profile-button"]))return;n.classList.contains("ybarMenuOpen")?(n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")):(n.classList.add("ybarMenuOpen"),o.setAttribute("aria-expanded","true"),e.triggerEvent("profile:show",{event:t}))}},_=function(){null==n||n.classList.remove("ybarMenuOpen"),null==o||o.setAttribute("aria-expanded","false")},x=function(){window.YAHOO.SA&&window.YAHOO.SA.apps&&window.YAHOO.SA.apps[0]&&window.YAHOO.SA.apps[0].view.shown&&window.YAHOO.SA.apps[0].view.hide()},L=function(e){27===e.keyCode&&(_(),null==m||m.blur())},k=function(){if(d&&!d.getAttribute("src")&&d.getAttribute("data-src")){var t=d.getAttribute("data-src")||"";Tt(t).then((function(e){null===Sn&&((Sn=document.createElement("iframe")).src="https://s.yimg.com/jk/gtm/gtm_ns.html?id=GTM-NVQTVCX&type=yahoo&cat=ybarimp1",Sn.sandbox.add("allow-scripts"),Sn.sandbox.add("allow-same-origin"),Sn.height="0",Sn.width="0",Sn.referrerPolicy="origin",Sn.style.display="none",Sn.style.visibility="hidden",document.body.appendChild(Sn)),d.setAttribute("src",e)})),e.onDestroy((function(){d.setAttribute("src",""),Sn=null}))}};wn(t),c&&(function(e,t,n,o,i){e.addElementListener(t,"mouseenter",(function(){var e=JSON.stringify({sec:n,slk:o,params:i});Le[e]||(Le[e]=!0,Z(n,o,"",i),setTimeout((function(){delete Le[e]}),1e3))}))}(e,c,"ybar","sign-in",{elm:"signin",subsec:"settings",itc:"2"}),xn(t,e));var S=function(){y(!1),e.addEventListener("close-all-menus",(function(){a&&a.classList.contains(vn.show)&&a.parentNode&&!xe(a.parentNode)&&_()})),h&&u&&p&&e.addElementListener(p,"click",(function(e){e.stopPropagation(),p.classList.contains(vn.multiple)&&(h.classList.contains("hide")?(u.classList.add(vn.expanded),h.classList.remove("hide"),p.setAttribute("aria-expanded","true")):(u.classList.remove(vn.expanded),h.classList.add("hide"),p.setAttribute("aria-expanded","false"),p.setAttribute("aria-label",p.getAttribute("data-label")||"")))})),"mail"===f.property&&h&&u&&p&&(u.classList.add(vn.expanded),h.classList.remove("hide"),p.setAttribute("aria-expanded","true")),e.onDestroy((function(){_()})),o&&(o.onchange=function(){e.triggerEvent("close-all-menus")},{itc:"2",elm:"menu",elmt:"user-info",subsec:"accounts"},l&&(e.addElementListener(l,"mouseenter",k),e.addElementListener(l,"focus",k)),o&&o.parentNode&&(e.addElementListener(o.parentNode,"mouseenter",g),e.addElementListener(o.parentNode,"focusin",g)),ke("#ybarAccountMenu","#ybarAccountMenu + label",e)),e.addElementListener(l,"focusin",b),e.addElementListener(l,"focusout",_),e.addElementListener(l,"click",w),e.addElementListener(l,"mouseenter",w),e.addElementListener(l,"mouseleave",_),e.addElementListener(r,"click",_),e.addElementListener(l,"mouseenter",x),e.addElementListener(l,"keydown",L)};if(o||i||a){if(i)y(!0);else{if(n&&"true"===n.getAttribute("data-pfs"))return kn(e,t,vn["pfs-iframe"]),void e.addEventListener("ybar-pfs-init-failure",(function(){var e;null===(e=t.ybarAccountMenuBody)||void 0===e||e.classList.remove(vn["pfs-container"]),S();Z("ybar","pfs-load-failure","",{elm:"btn",subsec:"profile",itc:"1"})}));S()}Object.keys(Mn).forEach((function(e){var t=Mn[e],n=document.querySelector(".".concat(vn[t.selector]));n&&(n.onerror=function(){var e,o,i;e=t.size,i="https://s.yimg.com/cv/apiv2/ybar/images/default_user_profile_pic_"+e+".svg",(o=n).onerror=null,o.srcset="",o.src=i})}))}window.addEventListener("keyup",L)};ve("ybar-account-init",(function(e){var t=document.getElementById("ybarAccountContainer"),n={ybarAccountContainer:t,ybarAccountMenu:document.getElementById("ybarAccountMenu"),loggedInUser:document.querySelectorAll("#ybarAccountProfile"),loggedInUserElement:document.getElementById("ybarAccountProfile"),ybarMobile:document.querySelector(".".concat(vn.mobile," .").concat(vn["ybar-account-user-email"])),ybarMenuManagePub:document.getElementById("ybarMenuManagePub"),signInAccountMenu:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["sign-in-menu"])),signInBtn:document.querySelector(".".concat(vn["ybar-mod-account"]," .").concat(vn["ybar-login-btn"])),ybarModAccount:document.querySelector(".".concat(vn["ybar-mod-account"])),yahooPlusImpression:t&&t.querySelector(".".concat(vn["ybar-account-yahoo-plus-imp"])),crumb:document.querySelector('input[name="uh-crumb"]'),ybarAccMenuItemTemplate:document.getElementById("ybarAccMenuItemTemplate"),isUH3Layout:!!document.querySelector(".".concat(vn["uh3-layout"])),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_85bfw5","ybar-mail-link":"_yb_7ijiyw","ybar-mail-preview":"_yb_u85opu","ybar-mail-signin-link":"_yb_1ym4xbl","ybar-mod-mail":"_yb_1quc8jy","ybar-mod-mail-promo-imp":"_yb_khwsid","ybar-large-unread":"_yb_od5vh1","ybar-mid-unread":"_yb_s6odmw","ybar-mail-indicator":"_yb_oooobt","ybar-unread-active":"_yb_xrl8h0","count-loaded":"_yb_1bm1o8w"},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(),l=n.i18n.root.MAIL_ARIA_LINK;if(o&&o.hasAttribute("aria-label")&&l&&o.setAttribute("aria-label",l.replace("{count}",t.toString())),"finance"!==n.property&&i.classList.add(c),a&&(a.classList.add(c),null==s||s.classList.add(c)),r){var d=t>99;r.textContent=d?"99+":t+"",i.classList.add("".concat(Nn["count-loaded"])),d?i.classList.add("".concat(Nn["ybar-large-unread"])):t>=10&&i.classList.add("".concat(Nn["ybar-mid-unread"]))}e.onDestroy((function(){i.classList.remove(c),a&&a.classList.remove(c),r&&(r.textContent="")}))}})).catch((function(){}))};ve("ybar-mail-init",(function(e){var t=document.getElementById("ybarUnread");!function(e,t){var n=t.mailModule,o=t.mailLink,i=t.mailSigninLink,r=t.mailPreview;if(n){var a=new ht;if(e.addElementListener(n,"mouseenter",(function(){e.triggerEvent("close-all-menus")})),e.addEventListener("close-all-menus",(function(){xe(n)||Tn(t)})),e.addElementListener(r,"focusin",(function(){In(t)})),e.addElementListener(r,"focusout",(function(){Tn(t)})),e.onDestroy((function(){Tn(t)})),i){var s=o.getAttribute("data-redirect-params");if(s&&""!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf("&activity=ybar-")?"":s.replace(/\[\[pspid\]\]/,se()),o.href=le(o.href)+s,(null==i?void 0:i.href)&&(i.href=le(i.href)+s)}}else Bn(e,t,a)}}(e,{mailModule:document.querySelector(".".concat(Nn["ybar-mod-mail"])),mailIndicator:document.querySelector(".".concat(Nn["ybar-mail-indicator"])),mailLink:document.querySelector(".".concat(Nn["ybar-mail-link"])),mailSigninLink:document.querySelector(".".concat(Nn["ybar-mail-signin-link"])),mailUnread:t,mailUnreadSpan:null==t?void 0:t.querySelector("span"),mailPreview:document.getElementById("ybarMailPreview"),popoverBody:document.querySelector(".".concat(Nn["popover-body"].split(" ").join("."))),mailPreviewPopover:document.querySelector(".".concat(Nn["ybar-mail-preview"].split(" ").join(".")," .").concat(Nn["popover-body"].split(" ").join(".")))})}));var On,qn="_yb_dxr6dk",Rn="_yb_1hoii27",Pn="_yb_1ipd03r",Dn="_yb_hvsyxb",Hn="_yb_9or4y6",zn="_yb_dvx5",Un="_yb_1f26b2e",jn="_yb_1il0bx9",Yn="_yb_141yjuc",Fn="_yb_11gmrxp",Gn=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(){}))},Vn=!1,Wn=-1,Jn=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;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()&&Wn<0)){a=m;break}s+=y+(mWn&&-1!==Wn)for(var _=Wn;_=a;){var L=e.navItems[x].cloneNode(!0),k=L.querySelector("a");k&&(k.setAttribute("id",""),k.classList.remove(Pn));var S=L.querySelector(".".concat(e.navigationDropdownListClass));if(S&&(S.style.display="none"),L.classList.remove(e.dropdownWrapperClass),L.classList.remove(e.ybarNavigationItemClass),L.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(L,e.moreMenuDropdown.firstChild);var C=L.getElementsByTagName("a")[0];n.unshiftMoreMenuItem(C)}null===(r=e.navItems[x].querySelector("a"))||void 0===r||r.setAttribute("tabindex","-1"),x--}Wn=a}if(-1!==a&&e.navList){var E=parseInt(s.toString(),10)+"px";e.navList.style.maxWidth=E,t.textContent=".".concat(Un,"{ max-width: ").concat(E,"}")}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)}},Kn=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(Yn," > li"),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:i,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});!function(e,t){var n;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 o=e.getConfig();"news"===o.property?On=-12:(On="finance"!==o.property&&"sports"!==o.property&&t.shiftMoreMenuEnabled?-24:-16,"zh-Hant-HK"!==o.locale&&"zh-Hant-TW"!==o.locale||(On=-20));var i=t.isTablet?"touchstart":"mouseover",r=kt(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),i,(function(n){if(window||document){var o=window.innerWidth||document.documentElement.clientWidth,i=n.delegateTarget;if(i&&-1!=i.className.indexOf(t.dropdownWrapperClass)&&(i=i.querySelector(".".concat(t.navigationDropdownListClass))),i){i.style.removeProperty("left");var r=i.getBoundingClientRect(),a=Math.trunc(r.right),s=parseInt(window.getComputedStyle(i).marginLeft,10)+o-a;if(a>o)return void(i.style.marginLeft=s+"px");parseInt(i.style.marginLeft)0?i.style.removeProperty("margin-left"):i.style.marginLeft=s+"px":(i.style.removeProperty("margin-left"),i.style.marginLeft=On+"px")}}else{var c=new Error("Dropdown could not be initialized");e.logError("Error:",c)}}));e.onDestroy((function(){r.destroy()}))}(e,t),Gn(e),e.addElementListener(document,"DOMContentLoaded",(function(){Gn(e)})),function(e,t){var n=function(e,n){var o;e.classList.contains(t.moreMenuNavItemClass)&&(null===(o=t.moreMenuMainFocusItem)||void 0===o||o.setAttribute("aria-expanded",n))},o=kt(".".concat(t.dropdownWrapperClass),"focusin",(function(e){var o=e.delegateTarget;o&&o.classList.contains(t.dropdownWrapperClass)&&(o.classList.add(t.dropdownOpenClass),n(o,"true"))})),i=kt(".".concat(t.dropdownWrapperClass,", .").concat(t.navigationDropdownListClass),"focusout",(function(e){var o=e.delegateTarget;if(null==o?void 0:o.classList.contains(t.navigationDropdownListClass)){var i=o.parentElement;i&&!i.contains(e.relatedTarget)&&i.classList.contains(t.dropdownWrapperClass)&&(i.classList.remove(t.dropdownOpenClass),n(i,"false"))}else(null==o?void 0:o.classList.contains(t.dropdownOpenClass))&&(o.classList.remove(t.dropdownOpenClass),n(o,"false"))}));e.onDestroy((function(){var e;o.destroy(),i.destroy(),g([],y(null===(e=t.ybarNav)||void 0===e?void 0:e.querySelectorAll(".".concat(t.dropdownOpenClass))),!1).forEach((function(e){e.classList.remove(t.dropdownOpenClass);var n=document.activeElement;(function(e,t){var n=!1;if(!e||!t)return n;if("function"==typeof e.contains)n=e.contains(t);else for(var o=t;o;){if(o===e){n=!0;break}o=o.parentElement}return n})(t.ybarNav,n)&&setTimeout((function(){null==n||n.blur()}),1)}))}))}(e,t);var a=e.getConfig().bucketConfig,s=void 0===a?{}:a,c=s.enableDynamicNavfocus,l=void 0!==c&&c,d=s.enableFuzzyMatching;if(l&&(Vn=void 0!==d&&d,Kn(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;Kn(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(){Jn(t,u,r)})),Jn(t,u,r);var h=e.getConfig();if("complete"===document.readyState)Xn(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(){Xn(e,t,u,r)}))}e.addElementListener(window,"resize",(function(){Jn(t,u,r)})),e.onDestroy((function(){var e=u.parentNode;null==e||e.removeChild(u),p.destroy()}))}Qn(e,t)},Zn=function(e,t){var n=["zh-Hant-TW","zh-Hant-HK"].includes(e.getConfig().locale);return t.isFuji2&&n},Qn=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()}))}},eo="#ybar-nav-more-menu";ve("ybar-mod-navigation",(function(e){var t,n=e.getConfig(),o={dropdownWrapperClass:Rn,isFuji2:null!==document.querySelector(".ybar-ytheme-fuji2")||null!==document.querySelector(".ybar-ytheme-crunch"),isTablet:null!==document.querySelector(".tablet"),longListClass:Dn,moreMenuDropdown:document.querySelector("".concat(eo," ul")),moreMenuNavItem:document.querySelector(eo),moreMenuNavLinksSelector:"".concat(eo," ul a"),moreMenuMainFocusItem:document.querySelector("".concat(eo," > button")),moreMenuNavItemClass:Fn,navigationDropdownItemClass:Hn,navigationDropdownListClass:zn,navItems:document.querySelectorAll("li.".concat(jn)),topLevelNavLinks:document.querySelectorAll("li.".concat(jn," > 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:jn,dropdownOpenClass:qn,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&&$n(e,o)}));var to,no=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}(),oo=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)})),io=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)})),ro=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"])})),ao=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"])})),so=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)})),co=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)})),lo=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)})),uo=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)})),po=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)})),ho=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)})),mo=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)})),fo=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)})),vo=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)})),yo={default:ao,nfl:lo,nhl:po,mlb:so,nba:co,ncaab:co,ncaaf:uo,ncaaw:co,wnba:co,mma:ho,soccer:mo,golf:fo,nascar:vo,indycar:vo,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)}))},go={mma:"0 0 135 135",golf:"0 0 68 68"},bo={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"},wo=function(){},_o="true"===(null===(to=document.getElementById("ybar-sf"))||void 0===to?void 0:to.getAttribute("data-dev-sports-api")),xo=function(e,t){return"".concat(_o?"":"https://api.search.yahoo.com","/datap/v3/search?appid=190e4fbb&query=").concat(encodeURIComponent(e),"&market=").concat(encodeURIComponent(t),"&features=sports.assist,sports.assist.news")},Lo=function(e){var t,n=_o?"":"https://ncp-gw-sports.media.yahoo.com",o=bo[e]||bo.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),"®ion=").concat(encodeURIComponent(i),"&ssl=true")},ko=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")},So=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)||ko(null===(a=e.fd)||void 0===a?void 0:a.display_name)}},Co=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/silhouette@2x.png",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)||ko(null===(s=e.fd)||void 0===s?void 0:s.display_name)}},Eo=function(e){var t,n,o,i,r,a,s,c,l,d;return{icon:(null===(t=e.fd)||void 0===t?void 0:t.image)?void 0:Io(e)?ro:yo[null!==(o=null===(n=e.fd)||void 0===n?void 0:n.id)&&void 0!==o?o:""]||yo.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)||Io(e)?void 0:go[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:e.k,link:(null===(d=e.fd)||void 0===d?void 0:d.url)||ko(e.k)}},Mo=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)||ko((null===(a=e.fd)||void 0===a?void 0:a.display_name)||e.k)}},Ao=function(e){return{icon:io,title:e.title,subtitle:e.sourceNameShort,link:e.sourceUrl||ko(e.title),timestamp:e.publishDate}},No=function(e){var t,n,o,i,r;return{icon:oo,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)||ko(null===(r=e.content)||void 0===r?void 0:r.title)}},Io=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},To=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(xo(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)||Io(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(Mo(e)):m.push(Mo(e)):p.push(Eo(e)):d.push(So(e)):u.push(Co(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(Ao))||[]},{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}(no),Bo=function(e){function t(t,n){var o=e.call(this)||this;return o.prefetch=lt(Lo(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(No))||[]}]}})).catch((function(e){s("Error fetching SA trending headlines",e)})),o}return h(t,e),t}(no),Oo=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 To(i,a),c=new Bo(i,a);return{getSearchResult:function(e,t,o){return void 0===o&&(o=wo),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]}}))}))}}}})}()}};

    ncG1vNJzZmiroKS%2Ftb%2BNspihp59jsLC5jqeZmmegoa66sdGsZmxxaGh8