{promoMarkup}{notifMarkup}

‘,panelEmptyTemplate=’

  • {emptyPanelMsg}

  • ‘,panelErrorTemplate=’

    {errorMsg}

    ‘,panelParentTemplate=”http://sports.yahoo.com/”,notifOnboardPromoTemplate=’

  • ‘,EXPANDED_PANEL=”expanded_panel”,ERROR_PANEL=”error_panel”,NotificationView=function(){function e(t,n){classCallCheck$1(this,e);var o=this;o._config=t,o._panelNode=null,o._store=n}return createClass$1(e,[{key:”_generatePanelMarkup”,value:function(e,t){var n=this._config,o=void 0,r=void 0;”undefined”!=typeof window&&(o=window.Notification&&”default”===window.Notification.permission,r=n.promos.bypassEligibleClassCheck”http://sports.yahoo.com/”hasClass(document.body,n.promos.eligibleBodyClass));var i=n.promos.enableNotifOnboard&&o&&r?notifOnboardPromoTemplate:”http://sports.yahoo.com/”;if(i){var a=n.promos.showYahooLogo?”http://sports.yahoo.com/”:”yns-no-logo”;i=i.replace(“{notifOnboardBtnLabel}”,n.promos.notifOnboardBtnLabel).replace(“{notifOnboardMsg}”,n.promos.notifOnboardMsg).replace(“{subscriptionTopic}”,n.promos.subscriptionTopic).replace(“{noLogoClass}”,a).replace(“http://sports.yahoo.com/{promoLogo}”,n.promos.promoLogo)}var s=t.newCount>n.panel.maxCount?t.newCount:”http://sports.yahoo.com/”,c=n.panel.notificationCenterPath,l=c?”http://sports.yahoo.com/”:constants.panelHideElement,u=n.panel.headerMsg?”http://sports.yahoo.com/”:”http://sports.yahoo.com/”+constants.panelHideElement,d=c?constants.panelPaddingBtm:”http://sports.yahoo.com/”,p=void 0;t.count?p=t.markup:p=panelEmptyTemplate.replace(“{emptyPanelMsg}”,n.panel.emptyPanelMsg);return e=e.replace(“{notifMarkup}”,p).replace(“{promoMarkup}”,i).replace(“{hideClass}”,l).replace(“{notifCenterLink}”,c).replace(“{paddingClass}”,d).replace(“{headerMsg}”,n.panel.headerMsg).replace(“{hideHeaderClass}”,u).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,r=n._panelNode,i=void 0,a=void 0;switch(e){case EXPANDED_PANEL:o=panelTemplate,a=n._store.getNotifications(),i=n._generatePanelMarkup(o,a),r.innerHTML=i;break;case ERROR_PANEL:i=(o=panelErrorTemplate).replace(“{errorMsg}”,n._config.panel.errorMsg),r.innerHTML=i}t&&t()}else t&&t(new Error(“No panel parent”))}},{key:”createPanelParentNode”,value:function(e){e&&(e.innerHTML=panelParentTemplate,this._panelNode=document.getElementById(constants.panelNodeId))}},{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=”http://sports.yahoo.com/”}}},{key:”addStyles”,value:function(e){if(e&&”undefined”!=typeof window){var t=document.getElementById(this._config.panel.styleTagId);t”http://sports.yahoo.com/”((t=document.createElement(“style”)).type=”text/css”,t.id=this._config.panel.styleTagId,t.innerText=e,document.head.appendChild(t))}}}]),e}(),EXPANDED_PANEL$1=”expanded_panel”,ERROR_PANEL$1=”error_panel”,PanelController=function(){function e(t,n,o){classCallCheck$1(this,e);var r=this;r._store=n,r._view=o,r._config=t;var i=r._config.panel;r._panelParentNode=document.querySelector(i.parentSelector),r._badgeNode=r._config.badge.selector&&document.querySelector(r._config.badge.selector),r._indicatorNode=i.indicatorSelector&&document.querySelector(i.indicatorSelector)}return createClass$1(e,[{key:”createPanelParentNode”,value:function(){this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(constants.panelNodeId)}},{key:”refreshPanelNode”,value:function(e,t){var n=this;addClass(n._notifPanelNode,constants.panelLoading),n._store.fetchNotifications(e,(function(e,o){var r=window.wafer&&window.wafer.base;r&&r.destroy(n._notifPanelNode),e?n._notifPanelNode.innerHTML”http://sports.yahoo.com/”(n._view.render(ERROR_PANEL$1),addClass(n._notifPanelNode,constants.panelLoading)):(n._view.render(EXPANDED_PANEL$1),n._view.updateBadgeNode(n._badgeNode),n._showBadge(),n._showIndicator(),n._view.addStyles(o.css)),removeClass(n._notifPanelNode,constants.panelLoading),r&&r.sync(n._notifPanelNode.parentNode),t&&t(e,o)}))}},{key:”resetBadge”,value:function(){var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),addClass(e._badgeNode,e._config.badge.hideClass)}},{key:”_showIndicator”,value:function(){this._indicatorNode&&(this._store.getNotifications().newCount?addClass(this._indicatorNode,this._config.panel.indicatorClass):removeClass(this._indicatorNode,this._config.panel.indicatorClass))}},{key:”_showBadge”,value:function(){var e=this;e._store.getNotifications().newCount?removeClass(e._badgeNode,e._config.badge.hideClass):addClass(e._badgeNode,e._config.badge.hideClass)}}]),e}(),config={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:”http://sports.yahoo.com/”,maxCount:5,selector:”http://sports.yahoo.com/”},panel:{emptyPanelMsg:”You have no new notifications.”,errorMsg:”http://sports.yahoo.com/”,headerMsg:”Notifications”,imageTag:”img:40×40|2|80″,indicatorClass:”yns-indicator”,indicatorSelector:null,maxCount:6,notificationCenterNavMsg:”View all {newCount} notifications”,notificationCenterPath:”http://sports.yahoo.com/”,notificationTypes:”http://sports.yahoo.com/”,parentSelector:null,styleTagId:”notificationStyles”,theme:”default”},service:{attemptCount:2,attemptDelay:1,url:null,resetUrl:null,isRMP:!1,responseType:”json”,timeout:1500}},Main=function(){function e(t){classCallCheck$1(this,e);var n=this;n.config=n._parseConfig(t),n._validateRequiredConfigs()&&(n._request=new NotificationRequest(n.config),n._store=new NotificationStore(n.config,n._request),n._view=new NotificationView(n.config,n._store),n._panelController=new PanelController(n.config,n._store,n._view),n._panelController.createPanelParentNode(),n._assignHelperMethods())}return createClass$1(e,[{key:”_parseConfig”,value:function(e){var t={};for(var n in objectAssign(t,config),t)if(t.hasOwnProperty(n)){var o=t[n],r=e[n];”object”===(void 0===o?”undefined”:_typeof(o))?objectAssign(o,r):t[n]=e[n]}return t}},{key:”_validateRequiredConfigs”,value:function(){var e=this.config;return!(!e.panel.parentSelector”http://sports.yahoo.com/”!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(){removeClass(e._panelController._indicatorNode,e.config.panel.indicatorClass)}}}}]),e}(),notificationClient_module_min=Main,notificationClient={NotificationClient:notificationClient_module_min},CONSUMPTION_STORAGE_KEY=”lnct”,NotifClient=function(){function e(){var e,t;this.personalized=!1,this.ybarElem=document.getElementById(“ybar”),this.partnerClasses=null===(t=null===(e=this.ybarElem)”http://sports.yahoo.com/”void 0===e?void 0:e.className)”http://sports.yahoo.com/”void 0===t?void 0:t.match(/ybar-variant-([a-z]*)/),this.client=new notificationClient.NotificationClient(this.getConfig())}return e.prototype.refreshPanel=function(){var e,t,n,o=this,r={lastUpdate:this.getTimeStamp()”http://sports.yahoo.com/”this.setTimeStamp(),loadInHpViewer:!0,includePersonalized:this.personalized},i=(null===(e=window.YAHOO)”http://sports.yahoo.com/”void 0===e?void 0:e.context)”http://sports.yahoo.com/”(null===(t=window.Af)”http://sports.yahoo.com/”void 0===t?void 0:t.context)”http://sports.yahoo.com/”{};return i.region&&i.lang&&(r.lang=i.lang,r.region=i.region),(null===(n=this.partnerClasses)”http://sports.yahoo.com/”void 0===n?void 0:n.length)&&(r.partner=this.partnerClasses[1]),new Promise((function(e,t){o.client.helpers.refreshPanelNode({matrixParams:r},(function(n,o){n&&(logError(“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,r,i={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}},a=document.getElementById(“notification-container”),s=null===(e=null==a?void 0:a.dataset)”http://sports.yahoo.com/”void 0===e?void 0:e.config,c={};if(s){“att”===(null===(t=this.partnerClasses)”http://sports.yahoo.com/”void 0===t?void 0:t[1])&&(i.promos.showYahooLogo=!1);try{var l=JSON.parse(s);c=__assign({},l),this.personalized=1===l.personalize}catch(e){logError(“Notifications config parsing error”,e)}a&&delete a.dataset.config}var u=this.mergeConfigs(i,c);return(null===(n=this.partnerClasses)”http://sports.yahoo.com/”void 0===n?void 0:n.length)&&”yahoo”!==(null===(o=this.partnerClasses)”http://sports.yahoo.com/”void 0===o?void 0:o[1])&&(null===(r=u.promos)”http://sports.yahoo.com/”void 0===r?void 0:r.subscriptionTopic)&&delete u.promos.subscriptionTopic,u},e.prototype.mergeConfigs=function(e,t){var n=__assign({},e);for(var o in e)n[o]=__assign(__assign({},e[o]),t[o]);return n},e.prototype.getTimeStamp=function(){var e;return null===(e=window.localStorage)”http://sports.yahoo.com/”void 0===e?void 0:e.getItem(CONSUMPTION_STORAGE_KEY)},e.prototype.setTimeStamp=function(){var e,t=”http://sports.yahoo.com/”+Math.floor((new Date).getTime()/1e3);return null===(e=window.localStorage)”http://sports.yahoo.com/”void 0===e”http://sports.yahoo.com/”e.setItem(CONSUMPTION_STORAGE_KEY,t),t},e}(),notifClient=new NotifClient,getNotifClient=function(){return notifClient},reInit=function(){notifClient=new NotifClient},ybarRapid,ybarRapidInterval,ybarRapidErrMsg=”http://sports.yahoo.com/”,beaconQueue=[],noop$1=function(){},logRapidError=function(){window.removeEventListener(“beforeunload”,logRapidError),”http://sports.yahoo.com/”!==ybarRapidErrMsg&&logError(“Rapid not found on page”,new Error(ybarRapidErrMsg))},findRapidWithSpaceid=function(e){var t=void 0;if(e&&e.length>0)for(var n=0;n0){if(ybarRapid.addModules(r,!1,o),beaconQueue.length>0)for(e=0;e90&&fireImageBeacon(“performance”,e)}catch(e){}}),1e3)}))},measureInit=measure(“ybar-init”);initYbar(),measureInit.stop(),initPerformanceMetricsBeaconListener(),initRapid(),initErrorBeaconListener();var selected=”_yb_1vggi”,Css$6={“right-item”:”_yb_1ydrl”,selected:selected,”ybar-mod-topnavigation”:”_yb_1jcur”,”ybar-mod-topnavigation-teaser-imp”:”_yb_hpdxk”},DOCUMENT_NODE_TYPE=9;if(“undefined”!=typeof Element&&!Element.prototype.matches){var proto=Element.prototype;proto.matches=proto.matchesSelector”http://sports.yahoo.com/”proto.mozMatchesSelector”http://sports.yahoo.com/”proto.msMatchesSelector”http://sports.yahoo.com/”proto.oMatchesSelector”http://sports.yahoo.com/”proto.webkitMatchesSelector}function closest(e,t){for(;e&&e.nodeType!==DOCUMENT_NODE_TYPE;){if(“function”==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var closest_1=closest;function _delegate(e,t,n,o,r){var i=listener$1.apply(this,arguments);return e.addEventListener(n,i,r),{destroy:function(){e.removeEventListener(n,i,r)}}}function delegate(e,t,n,o,r){return”function”==typeof e.addEventListener?_delegate.apply(null,arguments):”function”==typeof n?_delegate.bind(null,document).apply(null,arguments):(“string”==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return _delegate(e,t,n,o,r)})))}function listener$1(e,t,n,o){return function(n){n.delegateTarget=closest_1(n.target,t),n.delegateTarget&&o.call(e,n)}}var delegate_1=delegate,ListNode=function(e){this.data=e,this.next=null,this.prev=null},LinkedList=function(){function e(){this.head=null,this.tail=null}return e.prototype.push=function(e){var t=new ListNode(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(e,(function(e){e.onerror=function(){e.onerror=null,e.style.display=”none”}}))},fixLogoOutline=function(e,t){e&&(hideOutlineOnMouseDown(“#ybar-logo”,”#ybar-logo”,t),t.onDestroy((function(){e.classList.remove(“ybar-show-outline”),e.classList.remove(“ybar-hide-outline”)})))},logoClick=function(e,t){t&&e.addElementListener(t,”click”,(function(){e.triggerEvent(“logo-click”)}))},init$3=function(e,t){t.logoImages&&hideLogosOnError(t.logoImages),t.wrapper&&(fixLogoOutline(t.wrapper,e),logoClick(e,t.wrapper))};initModule(“ybar-mod-logo”,(function(e){var t={wrapper:document.getElementById(“ybar-logo”),logoImages:document.querySelectorAll(“.”.concat(Css$5[“logo-image”]))};init$3(e,t)}));var overlay$1=”_yb_lxk1u”,tooltip=”_yb_19a1f”,tooltip__text=”_yb_qoqn7″,tooltip__voice=”_yb_1tr02″,tooltip__web=”_yb_18kf4″,dark=”_yb_1dqej”,darker=”_yb_179l9″,light=”_yb_7nwrf”,midnight60=”_yb_awhlr”,Css$4={“dropdown-open”:”_yb_7wf9h”,”merchant-is-selected”:”_yb_3hkqa”,overlay:overlay$1,”selected-merchant-clear-button”:”_yb_1fsn5″,”shops-buttons”:”_yb_c2bym”,”styled-select”:”_yb_j074j”,tooltip:tooltip,”tooltip–show”:”_yb_9wph1″,tooltip__text:tooltip__text,tooltip__voice:tooltip__voice,tooltip__web:tooltip__web,dark:dark,darker:darker,light:light,midnight60:midnight60},range=function(e,t){var n=Math.max(e,t),o=Math.min(e,t),r=Math.abs(n-o);return __spreadArray([],new Array(r+1),!0).map((function(e,t){return o+t}))},openSearchOverlay=function(e,t,n){var o=e.getConfig().bucketConfig,r=(void 0===o?{}:o).enable_search_ui,i=void 0!==r&&r;if(t.ybar){t.ybar.classList.add(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.add(“ybar-overlay”),document.body.classList.add(“ybar-overlay-noscroll”);beaconClick(“ybar”,”websrch”,”http://sports.yahoo.com/”,{elm:”expand”,subsec:”searchbox”,itc:”1″}),setTimeout((function(){t.searchInput instanceof HTMLInputElement&&(n&&(t.searchInput.value=n),t.searchInput.focus(),i&&t.searchInput.click())}))}},closeSearchOverlay=function(e){var t;null===(t=e.ybar)”http://sports.yahoo.com/”void 0===t”http://sports.yahoo.com/”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=”http://sports.yahoo.com/”,e.searchInput.blur())},initMweb=function(e,t){“smartphone”===e.getConfig().device&&(e.addElementListener(t.searchBoxPlaceholder,”click”,(function(){openSearchOverlay(e,t)})),e.addElementListener(t.searchBoxPlaceholder,”keydown”,(function(n){var o=n,r=o.keyCode,i=o.key,a=range(65,90),s=__spreadArray(__spreadArray([],range(58,57),!0),range(96,105),!0),c=__spreadArray(__spreadArray([],a,!0),s,!0).includes(r);(32===r”http://sports.yahoo.com/”13===r”http://sports.yahoo.com/”c)&&(n.preventDefault(),n.stopPropagation(),openSearchOverlay(e,t,c?i:”http://sports.yahoo.com/”))})),t.searchBoxBackButton&&(e.addElementListener(t.searchBoxBackButton,”click”,(function(e){e.stopPropagation(),closeSearchOverlay(t);beaconClick(“ybar”,”back-close-srch”,”http://sports.yahoo.com/”,{elm:”btn”,subsec:”searchbox”,itc:”1″})})),e.addElementListener(t.searchInput,”keyup”,(function(e){e.stopPropagation();27===e.keyCode&&(e.stopPropagation(),closeSearchOverlay(t))}))),e.addEventListener(“viewerClosed”,(function(){closeSearchOverlay(t)})),e.onDestroy((function(){closeSearchOverlay(t)})))},Tooltip=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”http://sports.yahoo.com/”(this.tooltipMarkup=this.createTooltip(),(this.options.tooltipParentElm”http://sports.yahoo.com/”this.elem).appendChild(this.tooltipMarkup),this.ybar.onDestroy((function(){var t,n;null===(n=null===(t=e.tooltipMarkup)”http://sports.yahoo.com/”void 0===t?void 0:t.parentNode)”http://sports.yahoo.com/”void 0===n”http://sports.yahoo.com/”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”http://sports.yahoo.com/””http://sports.yahoo.com/”;var t=document.createElement(“p”);return t.textContent=this.options.label,t.className=this.options.textClass”http://sports.yahoo.com/””http://sports.yahoo.com/”,e.appendChild(t),e},e}();createCommonjsModule((function(module){(function(){var __webpack_modules__={“./src/index.js”:
    /*!**********************!*
    !*** ./src/index.js ***!
    **********************/function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){eval(“var I18n = __webpack_require__(/*! ./lib/I18n */ “./src/lib/I18n.js”);nn(function (win, doc) {n “use strict”;nn var defaultConfig = {n uiLang: ‘en-US’,n speechLang: ‘en-US’,n voiceButton: ‘#voice-btn’,n searchBox: {n form: ‘#sf’,n input: ‘#yschsp’,n params: {n fr: “http://sports.yahoo.com/”,n fr2: “http://sports.yahoo.com/”n }n },n enable_voice_trending: false,n trending: {n market: “en-us”n },n ui: {n speechOverlay: {n disableBlur: falsen }n },n browsers: {n edge: falsen }n };nn function VoiceSearch(config) {n var self = this;n self.config = Object.assign(defaultConfig, config “http://sports.yahoo.com/” {});n self.i18n = new VoiceSearch.I18n({n lang: self.config.uiLangn });n self.renderPermissionGuide(self);n self.renderSpeechPanel(self);n self.speechResult = “http://sports.yahoo.com/”;n self.noSpeech = true;n self.isRecognitionStart = false;n self.recognition = null;n self.voiceButton = doc.querySelector(self.config.voiceButton);n self.searchBoxForm = doc.querySelector(self.config.searchBox.form);n self.searchBoxQuery = doc.querySelector(self.config.searchBox.input);n self.speechPanel = doc.querySelector(‘#spch’);n self.speechButtonContainer = doc.querySelector(‘#spchbc’);n self.speechButton = doc.querySelector(‘#spchbc-btn’);n self.speechText = doc.querySelector(‘#spcht’);n self.speechOverlay = doc.getElementById(‘spch-overlay’);n self.retryLink = doc.querySelector(‘#spcht-retry’);n self.trending = doc.getElementById(‘spch-trending’);n self.trendingTerms = doc.getElementById(‘trending-terms’);n self.termSpans = doc.getElementsByClassName(“trending-term”);n self.closeButton = doc.querySelector(‘#spchx’);n self.startAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-start-202105050733.wav’);n self.resultAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-result-202105050733.wav’);n self.errorAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-error-202105050733.wav’);n self.closeAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-close-202105050733.wav’);n self.permissionGuide = doc.querySelector(‘#spchp’);n self.permissionGuideClose = doc.querySelector(‘#spchpx’);n self.permissionGuideTimer = null;nn self.onEscKeyDown = function (e) {n if (e.code !== ‘Escape’) {n return;n }nn self.recognition.stop();n self.sendBeacon(‘keybrd’, ‘voicesearch_cancel_esc’); // The clean up should put inside closePanel() instead of here,n // or func won’t be cleaned up if user close panel with btn or overlaynn self.closePanel(self);n };nn if (self.isBrowserSupported()) {n var SpeechRecognition = win.SpeechRecognition “http://sports.yahoo.com/” win.webkitSpeechRecognition;n var SpeechGrammarList = win.SpeechGrammarList “http://sports.yahoo.com/” win.webkitSpeechGrammarList;n var speechGrammar = ‘#JSGF V1.0;’;n self.recognition = new SpeechRecognition();n var speechRecognitionList = new SpeechGrammarList();nn if (speechRecognitionList.addFromString) {n speechRecognitionList.addFromString(speechGrammar, 1);n }nn self.recognition.grammars = speechRecognitionList;n self.recognition.continuous = false;n self.recognition.lang = self.config.speechLang;n self.recognition.interimResults = false;n self.recognition.maxAlternatives = 1;n /* Listeners */nn if (self.voiceButton) {n self.voiceButton.onclick = function () {n self.recognition.start();nn if (self.permissionGuideTimer) {n win.clearTimeout(self.permissionGuideTimer);n }nn self.permissionGuideTimer = win.setTimeout(function () {n if (!self.isRecognitionStart) {n self.showPermissionGuide(self);n }n }, 300); // Also close when pressing escnn doc.addEventListener(‘keydown’, self.onEscKeyDown);n self.sendBeacon(‘clk’, ‘voicesearch’);n };n }nn if (self.speechButton) {n self.speechButton.onclick = function () {n if (!self.isRecognitionStart) {n self.recognition.start();n self.sendBeacon(‘clk’, ‘voicesearch_panel_mic_restart’);n } else {n self.recognition.stop();n self.sendBeacon(‘clk’, ‘voicesearch_panel_mic_close’);n self.closePanel(self);n }n };n }nn if (self.retryLink) {n self.retryLink.onclick = function () {n if (!self.isRecognitionStart) {n self.recognition.start();n self.sendBeacon(‘clk’, ‘voicesearch_panel_retry’);n }n };n }nn if (self.speechOverlay) {n self.speechOverlay.onclick = function () {n self.recognition.stop();n self.sendBeacon(‘clk’, ‘voicesearch_cancel_outside’);n self.closePanel(self);n };n }nn if (self.closeButton) {n self.closeButton.onclick = functionn /*event*/n () {n self.recognition.stop();n self.sendBeacon(‘clk’, ‘voicesearch_cancel’);n self.closePanel(self);n };n }nn if (self.permissionGuideClose) {n self.permissionGuideClose.onclick = functionn /*event*/n () {n self.recognition.stop();n self.sendBeacon(‘clk’, ‘voicesearch_permission_close’);n self.closeAudio.play();n self.hidePermissionGuide(self);n };n }n /* Recognition Events */nnn self.recognition.onresult = function (event) {n // The SpeechRecognitionEvent results property returns a SpeechRecognitionResultList objectn // The SpeechRecognitionResultList object contains SpeechRecognitionResult objects.n // It has a getter so it can be accessed like an arrayn // The first [0] returns the SpeechRecognitionResult at the last position.n // Each SpeechRecognitionResult object contains SpeechRecognitionAlternative objects that contain individual results.n // These also have getters so they can be accessed like arrays.n // The second [0] returns the SpeechRecognitionAlternative at position 0.n // We then return the transcript property of the SpeechRecognitionAlternative objectn // console.log(‘Confidence: ‘ + event.results[0][0].confidence);n self.speechResult = event.results[0][0].transcript;n /* Punctuation Handling: Check last character and strip it if necessary */nn self.handlePunctuation(self);nn if (self.speechText) {n self.speechText.innerText = self.speechResult;n }nn if (self.searchBoxQuery) {n self.searchBoxQuery.value = self.speechResult;n }nn self.resultAudio.play();n win.setTimeout(function () {n if (self.speechPanel) {n self.speechPanel.classList.remove(“s2tb”);n self.speechPanel.classList.add(“s2tb-h”);n }nn self.hideRetryLink(self);nn if (self.searchBoxForm) {n var inputFr = self.searchBoxForm.querySelector(‘[name=fr]’);n var inputFr2 = self.searchBoxForm.querySelector(‘[name=fr2]’);nn if (inputFr && self.config.searchBox && self.config.searchBox.params && self.config.searchBox.params.fr) {n inputFr.value = config.searchBox.params.fr;n inputFr.disabled = false; // for homepage casen }nn if (inputFr2 && self.config.searchBox && self.config.searchBox.params && self.config.searchBox.params.fr2) {n inputFr2.value = config.searchBox.params.fr2;n inputFr2.disabled = false; // for homepage casen }nn self.searchBoxForm.submit();n }n }, 1000);n };nn self.recognition.onspeechstart = functionn /*event*/n () {// Fired when speech startsn };nn self.recognition.onspeechend = function () {n // Fired when speech endsn self.recognition.stop();n };nn self.recognition.onerror = functionn /*event*/n () {n // console.log(‘Error occurred in recognition: ‘ + event.error);n if (self.speechText) {n self.speechText.innerText = self.i18n.t(‘search.voice.recognition_error’);n }nn self.hideTrending(self);n self.showRetryLink(self);n self.errorAudio.play();n };nn self.recognition.onaudiostart = functionn /*event*/n () {n // Fired when the user agent has started to capture audio.n if (self.speechButtonContainer) {n self.speechButtonContainer.classList.add(“listening”);n }n };nn self.recognition.onaudioend = functionn /*event*/n () {n // Fired when the user agent has finished capturing audio.n if (self.speechButtonContainer) {n self.speechButtonContainer.classList.remove(“listening”);n }n };nn self.recognition.onsoundstart = functionn /*event*/n () {n // Fired when any sound — recognisable speech or not — has been detected.n self.hideTrending(self);n self.noSpeech = false;nn if (self.speechButtonContainer) {n self.speechButtonContainer.classList.remove(“listening”);n self.speechButtonContainer.classList.add(“speaking”);n }n };nn self.recognition.onsoundend = functionn /*event*/n () {n // Fired when no sound presentn if (self.speechButtonContainer) {n self.speechButtonContainer.classList.remove(“speaking”);n }n };nn self.recognition.onstart = functionn /*event*/n () {n // Fired when the speech recognition service has begun listeningn self.recognitionInit(self);n self.startRecognition(self);n };nn self.recognition.onend = functionn /*event*/n () {n // Fired when the speech recognition service has disconnected.n self.isRecognitionStart = false;nn if (self.noSpeech == false && self.speechResult == “http://sports.yahoo.com/”) {n // No match: Fired when the speech recognition can’t recognise speechn if (self.speechText) {n self.speechText.innerText = self.i18n.t(‘search.voice.recognition_nomatch’);n }nn self.hideTrending(self);n self.showRetryLink(self);n self.errorAudio.play();n }n }; // trigger onReady event when initializednnn if (document && document.dispatchEvent) {n document.dispatchEvent(new Event(‘VOICE_JS_READY’));n }n }n } // static membersnnn VoiceSearch.I18n = I18n; // instance membersnn VoiceSearch.prototype.renderPermissionGuide = function (self) {n var tmpl = “\n

    \n \n

    \n \n

    \n

    “.concat(self.i18n.t(‘search.voice.permission_title’), “

    \n

    “).concat(self.i18n.t(‘search.voice.permission_text’), “

    \n

    \n

    \n

    \n “);n var dom = new DOMParser().parseFromString(tmpl, ‘text/html’);n document.body.appendChild(dom.body.children[0]);n };nn VoiceSearch.prototype.renderSpeechPanel = function (self) {n var tmpl = “\n

    \n \n \n

    \n

    \n

    \n \n \n \n \n \n \n

    \n

    \n

    \n \n \n “.concat(self.i18n.t(‘search.voice.recognition_retry’), “\n

    \n

    \n

    \n

    \n

    \n

    \n “).concat(self.i18n.t(‘search.voice.trending_title’), “\n \n

    \n

    \n

    \n “);n var dom = new DOMParser().parseFromString(tmpl, ‘text/html’);nn if (self && self.config && self.config.ui && self.config.ui.speechOverlay && self.config.ui.speechOverlay.disableBlur) {n dom.body.children[0].classList.add(‘disable-blur-overlay’);n }nn document.body.appendChild(dom.body.children[0]);n };nn VoiceSearch.prototype.isBrowserSupported = function () {n var isSupported = false;n var self = this;n var isChromium = Boolean(window.chrome);n var isIOSChrome = /CriOS/.test(window.navigator.userAgent);n var isEdge = /Edg\//.test(window.navigator.userAgent);n var isLegacyEdge = /Edge\//.test(window.navigator.userAgent);n var isOpera = Boolean(window.opr);n var isBrave = Boolean(window.navigator.brave);n var browsers = [// chromen {n checkEnabled: function checkEnabled() {n return true;n },n checkBrowser: function checkBrowser() {n return isChromium && !isIOSChrome && !isEdge && !isOpera && !isBrave;n },n checkAPI: function checkAPI() {n return win && (‘SpeechRecognition’ in win “http://sports.yahoo.com/” ‘webkitSpeechRecognition’ in win) && (‘SpeechGrammarList’ in win “http://sports.yahoo.com/” ‘webkitSpeechGrammarList’ in win);n }n }, // edgen {n checkEnabled: function checkEnabled() {n return self && self.config && self.config.browsers && self.config.browsers.edge;n },n checkBrowser: function checkBrowser() {n return isChromium && isEdge && !isLegacyEdge;n },n checkAPI: function checkAPI() {n return win && (‘SpeechRecognition’ in win “http://sports.yahoo.com/” ‘webkitSpeechRecognition’ in win) && (‘SpeechGrammarList’ in win “http://sports.yahoo.com/” ‘webkitSpeechGrammarList’ in win);n }n }];nn for (var b = 0; b 0) {n var lastChar = self.speechResult.charAt(self.speechResult.length – 1);nn if (lastChar === ‘.”http://sports.yahoo.com/”| lastChar === ‘?”http://sports.yahoo.com/”| lastChar === ‘。”http://sports.yahoo.com/”| lastChar === ‘?’) {n self.speechResult = self.speechResult.slice(0, -1);n }n }n };nn VoiceSearch.prototype.sendBeacon = function (actn, slk) {n var ULT = win.YAHOO.ULT “http://sports.yahoo.com/” {},n SB = win.YAHOO.SB “http://sports.yahoo.com/” {};nn if (ULT.beacon_click) {n var trackParams = {n _S: SB.config.i13n.spaceid,n _I: SB.config.i13n.pvid,n actn: actn,n sec: ‘search’,n slk: slkn };n win.YAHOO.ULT.beacon_click(trackParams);n }n };nn VoiceSearch.prototype.ajaxReq = function (url, callback) {n var DONE_STATE = XMLHttpRequest.DONE “http://sports.yahoo.com/” 4; // for IE-compatibilitynn var xhr = new XMLHttpRequest();n var responseRaw;n var response; // CORS request only for IE8/IE9nn if (doc.documentMode && doc.documentMode n // tags it will allow on a pagenn if (!options.singleton && typeof options.singleton !== ‘boolean’) {n options.singleton = isOldIE();n }nn list = list “http://sports.yahoo.com/” [];n var lastIdentifiers = modulesToDom(list, options);n return function update(newList) {n newList = newList “http://sports.yahoo.com/” [];nn if (Object.prototype.toString.call(newList) !== ‘[object Array]’) {n return;n }nn for (var i = 0; i 0&&match[0]=74)&&(match=engineUserAgent.match(/Chrome/(d+)/),match&&(version=+match[1])));var engineV8Version=version,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails((function(){var e=Symbol();return!String(e)”http://sports.yahoo.com/”!(Object(e)instanceof Symbol)”http://sports.yahoo.com/”!Symbol.sham&&engineV8Version&&engineV8Version0?floor$1:ceil)(t)},max$2=Math.max,min$2=Math.min,toAbsoluteIndex=function(e,t){var n=toIntegerOrInfinity(e);return n0?min$1(toIntegerOrInfinity(e),9007199254740991):0},lengthOfArrayLike=function(e){return toLength(e.length)},createMethod$3=function(e){return function(t,n,o){var r,i=toIndexedObject(t),a=lengthOfArrayLike(i),s=toAbsoluteIndex(o,a);if(e&&n!=n){for(;a>s;)if((r=i[s++])!=r)return!0}else for(;a>s;s++)if((e”http://sports.yahoo.com/”s in i)&&i[s]===n)return e”http://sports.yahoo.com/”s”http://sports.yahoo.com/”0;return!e&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},indexOf$1=arrayIncludes.indexOf,push$3=functionUncurryThis([].push),objectKeysInternal=function(e,t){var n,o=toIndexedObject(e),r=0,i=[];for(n in o)!hasOwnProperty_1(hiddenKeys$1,n)&&hasOwnProperty_1(o,n)&&push$3(i,n);for(;t.length>r;)hasOwnProperty_1(o,n=t[r++])&&(~indexOf$1(i,n)”http://sports.yahoo.com/”push$3(i,n));return i},enumBugKeys=[“constructor”,”hasOwnProperty”,”isPrototypeOf”,”propertyIsEnumerable”,”toLocaleString”,”toString”,”valueOf”],hiddenKeys=enumBugKeys.concat(“length”,”prototype”),f$5=Object.getOwnPropertyNames”http://sports.yahoo.com/”function(e){return objectKeysInternal(e,hiddenKeys)},objectGetOwnPropertyNames={f:f$5},f$4=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f:f$4},concat$1=functionUncurryThis([].concat),ownKeys=getBuiltIn(“Reflect”,”ownKeys”)”http://sports.yahoo.com/”function(e){var t=objectGetOwnPropertyNames.f(anObject(e)),n=objectGetOwnPropertySymbols.f;return n?concat$1(t,n(e)):t},copyConstructorProperties=function(e,t,n){for(var o=ownKeys(t),r=objectDefineProperty.f,i=objectGetOwnPropertyDescriptor.f,a=0;aa;)objectDefineProperty.f(e,n=r[a++],o[n]);return e},objectDefineProperties={f:f$3},html=getBuiltIn(“document”,”documentElement”),GT=”>”,LT=”v;v++)if((s”http://sports.yahoo.com/”v in m)&&(f=g(p=m[v],v,h),e))if(t)_[v]=f;else if(f)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:push$2(_,p)}else switch(e){case 4:return!1;case 7:push$2(_,p)}return i?-1:o”http://sports.yahoo.com/”r?r:_}},arrayIteration={forEach:createMethod$1(0),map:createMethod$1(1),filter:createMethod$1(2),some:createMethod$1(3),every:createMethod$1(4),find:createMethod$1(5),findIndex:createMethod$1(6),filterReject:createMethod$1(7)},$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey(“hidden”),SYMBOL=”Symbol”,PROTOTYPE=”prototype”,TO_PRIMITIVE=wellKnownSymbol(“toPrimitive”),setInternalState$1=internalState.set,getInternalState$2=internalState.getterFor(SYMBOL),ObjectPrototype=Object[PROTOTYPE],$Symbol=global$1.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$b=global$1.TypeError,QObject=global$1.QObject,$stringify=getBuiltIn(“JSON”,”stringify”),nativeGetOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,nativeDefineProperty=objectDefineProperty.f,nativeGetOwnPropertyNames=objectGetOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=objectPropertyIsEnumerable.f,push$1=functionUncurryThis([].push),AllSymbols=shared(“symbols”),ObjectPrototypeSymbols=shared(“op-symbols”),StringToSymbolRegistry=shared(“string-to-symbol-registry”),SymbolToStringRegistry=shared(“symbol-to-string-registry”),WellKnownSymbolsStore=shared(“wks”),USE_SETTER=!QObject”http://sports.yahoo.com/”!QObject[PROTOTYPE]”http://sports.yahoo.com/”!QObject[PROTOTYPE].findChild,setSymbolDescriptor=descriptors&&fails((function(){return 7!=objectCreate(nativeDefineProperty({},”a”,{get:function(){return nativeDefineProperty(this,”a”,{value:7}).a}})).a}))?function(e,t,n){var o=nativeGetOwnPropertyDescriptor$1(ObjectPrototype,t);o&&delete ObjectPrototype[t],nativeDefineProperty(e,t,n),o&&e!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,t,o)}:nativeDefineProperty,wrap=function(e,t){var n=AllSymbols[e]=objectCreate(SymbolPrototype);return setInternalState$1(n,{type:SYMBOL,tag:e,description:t}),descriptors”http://sports.yahoo.com/”(n.description=t),n},$defineProperty=function(e,t,n){e===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,t,n),anObject(e);var o=toPropertyKey(t);return anObject(n),hasOwnProperty_1(AllSymbols,o)?(n.enumerable?(hasOwnProperty_1(e,HIDDEN)&&e[HIDDEN][o]&&(e[HIDDEN][o]=!1),n=objectCreate(n,{enumerable:createPropertyDescriptor(0,!1)})):(hasOwnProperty_1(e,HIDDEN)”http://sports.yahoo.com/”nativeDefineProperty(e,HIDDEN,createPropertyDescriptor(1,{})),e[HIDDEN][o]=!0),setSymbolDescriptor(e,o,n)):nativeDefineProperty(e,o,n)},$defineProperties=function(e,t){anObject(e);var n=toIndexedObject(t),o=objectKeys(n).concat($getOwnPropertySymbols(n));return $forEach$1(o,(function(t){descriptors&&!functionCall($propertyIsEnumerable,n,t)”http://sports.yahoo.com/”$defineProperty(e,t,n[t])})),e},$create=function(e,t){return void 0===t?objectCreate(e):$defineProperties(objectCreate(e),t)},$propertyIsEnumerable=function(e){var t=toPropertyKey(e),n=functionCall(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype&&hasOwnProperty_1(AllSymbols,t)&&!hasOwnProperty_1(ObjectPrototypeSymbols,t))&&(!(n”http://sports.yahoo.com/”!hasOwnProperty_1(this,t)”http://sports.yahoo.com/”!hasOwnProperty_1(AllSymbols,t)”http://sports.yahoo.com/”hasOwnProperty_1(this,HIDDEN)&&this[HIDDEN][t])”http://sports.yahoo.com/”n)},$getOwnPropertyDescriptor=function(e,t){var n=toIndexedObject(e),o=toPropertyKey(t);if(n!==ObjectPrototype”http://sports.yahoo.com/”!hasOwnProperty_1(AllSymbols,o)”http://sports.yahoo.com/”hasOwnProperty_1(ObjectPrototypeSymbols,o)){var r=nativeGetOwnPropertyDescriptor$1(n,o);return!r”http://sports.yahoo.com/”!hasOwnProperty_1(AllSymbols,o)”http://sports.yahoo.com/”hasOwnProperty_1(n,HIDDEN)&&n[HIDDEN][o]”http://sports.yahoo.com/”(r.enumerable=!0),r}},$getOwnPropertyNames=function(e){var t=nativeGetOwnPropertyNames(toIndexedObject(e)),n=[];return $forEach$1(t,(function(e){hasOwnProperty_1(AllSymbols,e)”http://sports.yahoo.com/”hasOwnProperty_1(hiddenKeys$1,e)”http://sports.yahoo.com/”push$1(n,e)})),n},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype,n=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject(e)),o=[];return $forEach$1(n,(function(e){!hasOwnProperty_1(AllSymbols,e)”http://sports.yahoo.com/”t&&!hasOwnProperty_1(ObjectPrototype,e)”http://sports.yahoo.com/”push$1(o,AllSymbols[e])})),o};if(nativeSymbol”http://sports.yahoo.com/”($Symbol=function(){if(objectIsPrototypeOf(SymbolPrototype,this))throw TypeError$b(“Symbol is not a constructor”);var e=arguments.length&&void 0!==arguments[0]?toString(arguments[0]):void 0,t=uid(e),n=function(e){this===ObjectPrototype&&functionCall(n,ObjectPrototypeSymbols,e),hasOwnProperty_1(this,HIDDEN)&&hasOwnProperty_1(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor(1,e))};return descriptors&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,t,{configurable:!0,set:n}),wrap(t,e)},SymbolPrototype=$Symbol[PROTOTYPE],redefine(SymbolPrototype,”toString”,(function(){return getInternalState$2(this).tag})),redefine($Symbol,”withoutSetter”,(function(e){return wrap(uid(e),e)})),objectPropertyIsEnumerable.f=$propertyIsEnumerable,objectDefineProperty.f=$defineProperty,objectDefineProperties.f=$defineProperties,objectGetOwnPropertyDescriptor.f=$getOwnPropertyDescriptor,objectGetOwnPropertyNames.f=objectGetOwnPropertyNamesExternal.f=$getOwnPropertyNames,objectGetOwnPropertySymbols.f=$getOwnPropertySymbols,wellKnownSymbolWrapped.f=function(e){return wrap(wellKnownSymbol(e),e)},descriptors&&(nativeDefineProperty(SymbolPrototype,”description”,{configurable:!0,get:function(){return getInternalState$2(this).description}}),redefine(ObjectPrototype,”propertyIsEnumerable”,$propertyIsEnumerable,{unsafe:!0}))),_export({global:!0,wrap:!0,forced:!nativeSymbol,sham:!nativeSymbol},{Symbol:$Symbol}),$forEach$1(objectKeys(WellKnownSymbolsStore),(function(e){defineWellKnownSymbol(e)})),_export({target:SYMBOL,stat:!0,forced:!nativeSymbol},{for:function(e){var t=toString(e);if(hasOwnProperty_1(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var n=$Symbol(t);return StringToSymbolRegistry[t]=n,SymbolToStringRegistry[n]=t,n},keyFor:function(e){if(!isSymbol(e))throw TypeError$b(e+” is not a symbol”);if(hasOwnProperty_1(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]},useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),_export({target:”Object”,stat:!0,forced:!nativeSymbol,sham:!descriptors},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),_export({target:”Object”,stat:!0,forced:!nativeSymbol},{getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),_export({target:”Object”,stat:!0,forced:fails((function(){objectGetOwnPropertySymbols.f(1)}))},{getOwnPropertySymbols:function(e){return objectGetOwnPropertySymbols.f(toObject(e))}}),$stringify){var FORCED_JSON_STRINGIFY=!nativeSymbol”http://sports.yahoo.com/”fails((function(){var e=$Symbol();return”[null]”!=$stringify([e])”http://sports.yahoo.com/””{}”!=$stringify({a:e})”http://sports.yahoo.com/””{}”!=$stringify(Object(e))}));_export({target:”JSON”,stat:!0,forced:FORCED_JSON_STRINGIFY},{stringify:function(e,t,n){var o=arraySlice$1(arguments),r=t;if((isObject(t)”http://sports.yahoo.com/”void 0!==e)&&!isSymbol(e))return isArray(t)”http://sports.yahoo.com/”(t=function(e,t){if(isCallable(r)&&(t=functionCall(r,this,e,t)),!isSymbol(t))return t}),o[1]=t,functionApply($stringify,null,o)}})}if(!SymbolPrototype[TO_PRIMITIVE]){var valueOf=SymbolPrototype.valueOf;redefine(SymbolPrototype,TO_PRIMITIVE,(function(e){return functionCall(valueOf,this)}))}setToStringTag($Symbol,SYMBOL),hiddenKeys$1[HIDDEN]=!0;var SPECIES$4=wellKnownSymbol(“species”),arrayMethodHasSpeciesSupport=function(e){return engineV8Version>=51″http://sports.yahoo.com/”!fails((function(){var t=[];return(t.constructor={})[SPECIES$4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$filter=arrayIteration.filter,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport(“filter”);_export({target:”Array”,proto:!0,forced:!HAS_SPECIES_SUPPORT},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var nativeGetOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,FAILS_ON_PRIMITIVES$1=fails((function(){nativeGetOwnPropertyDescriptor(1)})),FORCED$2=!descriptors”http://sports.yahoo.com/”FAILS_ON_PRIMITIVES$1;_export({target:”Object”,stat:!0,forced:FORCED$2,sham:!descriptors},{getOwnPropertyDescriptor:function(e,t){return nativeGetOwnPropertyDescriptor(toIndexedObject(e),t)}}),_export({target:”Object”,stat:!0,sham:!descriptors},{getOwnPropertyDescriptors:function(e){for(var t,n,o=toIndexedObject(e),r=objectGetOwnPropertyDescriptor.f,i=ownKeys(o),a={},s=0;i.length>s;)void 0!==(n=r(o,t=i[s++]))&&createProperty(a,t,n);return a}});var defineProperties=objectDefineProperties.f;_export({target:”Object”,stat:!0,forced:Object.defineProperties!==defineProperties,sham:!descriptors},{defineProperties:defineProperties});var objectToString=toStringTagSupport?{}.toString:function(){return”[object “+classof(this)+”]”};toStringTagSupport”http://sports.yahoo.com/”redefine(Object.prototype,”toString”,objectToString,{unsafe:!0});var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement(“span”).classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,arrayMethodIsStrict=function(e,t){var n=[][e];return!!n&&fails((function(){n.call(null,t”http://sports.yahoo.com/”function(){throw 1},1)}))},$forEach=arrayIteration.forEach,STRICT_METHOD=arrayMethodIsStrict(“forEach”),arrayForEach=STRICT_METHOD?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},handlePrototype=function(e){if(e&&e.forEach!==arrayForEach)try{createNonEnumerableProperty(e,”forEach”,arrayForEach)}catch(t){e.forEach=arrayForEach}};for(var COLLECTION_NAME in domIterables)domIterables[COLLECTION_NAME]&&handlePrototype(global$1[COLLECTION_NAME]&&global$1[COLLECTION_NAME].prototype);handlePrototype(domTokenListPrototype);var FAILS_ON_PRIMITIVES=fails((function(){objectKeys(1)}));_export({target:”Object”,stat:!0,forced:FAILS_ON_PRIMITIVES},{keys:function(e){return objectKeys(toObject(e))}});var regexpFlags=function(){var e=anObject(this),t=”http://sports.yahoo.com/”;return e.global&&(t+=”g”),e.ignoreCase&&(t+=”i”),e.multiline&&(t+=”m”),e.dotAll&&(t+=”s”),e.unicode&&(t+=”u”),e.sticky&&(t+=”y”),t},$RegExp$2=global$1.RegExp,UNSUPPORTED_Y$2=fails((function(){var e=$RegExp$2(“a”,”y”);return e.lastIndex=2,null!=e.exec(“abcd”)})),MISSED_STICKY$1=UNSUPPORTED_Y$2″http://sports.yahoo.com/”fails((function(){return!$RegExp$2(“a”,”y”).sticky})),BROKEN_CARET=UNSUPPORTED_Y$2″http://sports.yahoo.com/”fails((function(){var e=$RegExp$2(“^r”,”gy”);return e.lastIndex=2,null!=e.exec(“str”)})),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY$1,UNSUPPORTED_Y:UNSUPPORTED_Y$2},$RegExp$1=global$1.RegExp,regexpUnsupportedDotAll=fails((function(){var e=$RegExp$1(“.”,”s”);return!(e.dotAll&&e.exec(“n”)&&”s”===e.flags)})),$RegExp=global$1.RegExp,regexpUnsupportedNcg=fails((function(){var e=$RegExp(“(?b)”,”g”);return”b”!==e.exec(“b”).groups.a”http://sports.yahoo.com/””bc”!==”b”.replace(e,”$c”)})),getInternalState$1=internalState.get,nativeReplace=shared(“native-string-replace”,String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$4=functionUncurryThis(“http://sports.yahoo.com/”.charAt),indexOf=functionUncurryThis(“http://sports.yahoo.com/”.indexOf),replace$2=functionUncurryThis(“http://sports.yahoo.com/”.replace),stringSlice$4=functionUncurryThis(“http://sports.yahoo.com/”.slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return functionCall(nativeExec,e,”a”),functionCall(nativeExec,t,”a”),0!==e.lastIndex”http://sports.yahoo.com/”0!==t.lastIndex}(),UNSUPPORTED_Y$1=regexpStickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec(“http://sports.yahoo.com/”)[1],PATCH=UPDATES_LAST_INDEX_WRONG”http://sports.yahoo.com/”NPCG_INCLUDED”http://sports.yahoo.com/”UNSUPPORTED_Y$1″http://sports.yahoo.com/”regexpUnsupportedDotAll”http://sports.yahoo.com/”regexpUnsupportedNcg;PATCH&&(patchedExec=function(e){var t,n,o,r,i,a,s,c=this,l=getInternalState$1(c),u=toString(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=functionCall(patchedExec,d,u),c.lastIndex=d.lastIndex,t;var p=l.groups,f=UNSUPPORTED_Y$1&&c.sticky,h=functionCall(regexpFlags,c),m=c.source,g=0,y=u;if(f&&(h=replace$2(h,”y”,”http://sports.yahoo.com/”),-1===indexOf(h,”g”)&&(h+=”g”),y=stringSlice$4(u,c.lastIndex),c.lastIndex>0&&(!c.multiline”http://sports.yahoo.com/”c.multiline&&”n”!==charAt$4(u,c.lastIndex-1))&&(m=”(?: “+m+”)”,y=”http://sports.yahoo.com/”+y,g++),n=new RegExp(“^(?:”+m+”)”,h)),NPCG_INCLUDED&&(n=new RegExp(“^”+m+”$(?!\s)”,h)),UPDATES_LAST_INDEX_WRONG&&(o=c.lastIndex),r=functionCall(nativeExec,f?n:c,y),f?r?(r.input=stringSlice$4(r.input,g),r[0]=stringSlice$4(r[0],g),r.index=c.lastIndex,c.lastIndex+=r[0].length):c.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&r&&(c.lastIndex=c.global?r.index+r[0].length:o),NPCG_INCLUDED&&r&&r.length>1&&functionCall(nativeReplace,r[0],n,(function(){for(i=1;i=s?e?”http://sports.yahoo.com/”:void 0:(o=charCodeAt$1(i,a))56319″http://sports.yahoo.com/”a+1===s”http://sports.yahoo.com/”(r=charCodeAt$1(i,a+1))57343?e?charAt$3(i,a):o:e?stringSlice$3(i,a,a+2):r-56320+(o-55296]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/$([$&’`]|d{1,2})/g,getSubstitution=function(e,t,n,o,r,i){var a=n+e.length,s=o.length,c=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==r&&(r=toObject(r),c=SUBSTITUTION_SYMBOLS),replace$1(i,c,(function(i,c){var l;switch(charAt$1(c,0)){case”$”:return”$”;case”&”:return e;case”`”:return stringSlice$2(t,0,n);case”http://sports.yahoo.com/””:return stringSlice$2(t,a);case”s){var d=floor(u/10);return 0===d?i:d”)}));fixRegexpWellKnownSymbolLogic(“replace”,(function(e,t,n){var o=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?”$”:”$0″;return[function(e,n){var o=requireObjectCoercible(this),r=null==e?void 0:getMethod(e,REPLACE);return r?functionCall(r,e,o,n):functionCall(t,toString(o),e,n)},function(e,r){var i=anObject(this),a=toString(e);if(“string”==typeof r&&-1===stringIndexOf$1(r,o)&&-1===stringIndexOf$1(r,”$=h&&(f+=stringSlice$1(a,h,y)+E,h=y+g.length)}return f+stringSlice$1(a,h)}]}),!REPLACE_SUPPORTS_NAMED_GROUPS”http://sports.yahoo.com/”!REPLACE_KEEPS_$0″http://sports.yahoo.com/”REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);var String$2=global$1.String,TypeError$9=global$1.TypeError,aPossiblePrototype=function(e){if(“object”==typeof e”http://sports.yahoo.com/”isCallable(e))return e;throw TypeError$9(“Can’t set “+String$2(e)+” as a prototype”)},objectSetPrototypeOf=Object.setPrototypeOf”http://sports.yahoo.com/”(“__proto__”in{}?function(){var e,t=!1,n={};try{(e=functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype,”__proto__”).set))(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return anObject(n),aPossiblePrototype(o),t?e(n,o):n.__proto__=o,n}}():void 0),inheritIfRequired=function(e,t,n){var o,r;return objectSetPrototypeOf&&isCallable(o=t.constructor)&&o!==n&&isObject(r=o.prototype)&&r!==n.prototype&&objectSetPrototypeOf(e,r),e},MATCH$1=wellKnownSymbol(“match”),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$1])?!!t:”RegExp”==classofRaw(e))},SPECIES$2=wellKnownSymbol(“species”),setSpecies=function(e){var t=getBuiltIn(e),n=objectDefineProperty.f;descriptors&&t&&!t[SPECIES$2]&&n(t,SPECIES$2,{configurable:!0,get:function(){return this}})},defineProperty$2=objectDefineProperty.f,getOwnPropertyNames$1=objectGetOwnPropertyNames.f,enforceInternalState=internalState.enforce,MATCH=wellKnownSymbol(“match”),NativeRegExp=global$1.RegExp,RegExpPrototype$1=NativeRegExp.prototype,SyntaxError=global$1.SyntaxError,getFlags$1=functionUncurryThis(regexpFlags),exec=functionUncurryThis(RegExpPrototype$1.exec),charAt=functionUncurryThis(“http://sports.yahoo.com/”.charAt),replace=functionUncurryThis(“http://sports.yahoo.com/”.replace),stringIndexOf=functionUncurryThis(“http://sports.yahoo.com/”.indexOf),stringSlice=functionUncurryThis(“http://sports.yahoo.com/”.slice),IS_NCG=/^?@^][^s!#%&*+@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=regexpStickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=regexpStickyHelpers.UNSUPPORTED_Y,BASE_FORCED=descriptors&&(!CORRECT_NEW”http://sports.yahoo.com/”MISSED_STICKY”http://sports.yahoo.com/”regexpUnsupportedDotAll”http://sports.yahoo.com/”regexpUnsupportedNcg”http://sports.yahoo.com/”fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1″http://sports.yahoo.com/”NativeRegExp(re2)==re2″http://sports.yahoo.com/””/a/i”!=NativeRegExp(re1,”i”)}))),handleDotAll=function(e){for(var t,n=e.length,o=0,r=”http://sports.yahoo.com/”,i=!1;o”===t&&c:if(“http://sports.yahoo.com/”===u”http://sports.yahoo.com/”hasOwnProperty_1(a,u))throw new SyntaxError(“Invalid capture group name”);a[u]=!0,i[i.length]=[u,l],c=!1,u=”http://sports.yahoo.com/”;continue}c?u+=t:r+=t}return[r,i]};if(isForced_1(“RegExp”,BASE_FORCED)){for(var RegExpWrapper=function(e,t){var n,o,r,i,a,s,c=objectIsPrototypeOf(RegExpPrototype$1,this),l=isRegexp(e),u=void 0===t,d=[],p=e;if(!c&&l&&u&&e.constructor===RegExpWrapper)return e;if((l”http://sports.yahoo.com/”objectIsPrototypeOf(RegExpPrototype$1,e))&&(e=e.source,u&&(t=”flags”in p?p.flags:getFlags$1(p))),e=void 0===e?”http://sports.yahoo.com/”:toString(e),t=void 0===t?”http://sports.yahoo.com/”:toString(t),p=e,regexpUnsupportedDotAll&&”dotAll”in re1&&(o=!!t&&stringIndexOf(t,”s”)>-1)&&(t=replace(t,/s/g,”http://sports.yahoo.com/”)),n=t,MISSED_STICKY&&”sticky”in re1&&(r=!!t&&stringIndexOf(t,”y”)>-1)&&UNSUPPORTED_Y&&(t=replace(t,/y/g,”http://sports.yahoo.com/”)),regexpUnsupportedNcg&&(e=(i=handleNCG(e))[0],d=i[1]),a=inheritIfRequired(NativeRegExp(e,t),c?this:RegExpPrototype$1,RegExpWrapper),(o”http://sports.yahoo.com/”r”http://sports.yahoo.com/”d.length)&&(s=enforceInternalState(a),o&&(s.dotAll=!0,s.raw=RegExpWrapper(handleDotAll(e),n)),r&&(s.sticky=!0),d.length&&(s.groups=d)),e!==p)try{createNonEnumerableProperty(a,”source”,”http://sports.yahoo.com/”===p?”(?:)”:p)}catch(e){}return a},proxy=function(e){e in RegExpWrapper”http://sports.yahoo.com/”defineProperty$2(RegExpWrapper,e,{configurable:!0,get:function(){return NativeRegExp[e]},set:function(t){NativeRegExp[e]=t}})},keys$1=getOwnPropertyNames$1(NativeRegExp),index=0;keys$1.length>index;)proxy(keys$1[index++]);RegExpPrototype$1.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype$1,redefine(global$1,”RegExp”,RegExpWrapper)}setSpecies(“RegExp”);var PROPER_FUNCTION_NAME=functionName.PROPER,TO_STRING=”toString”,RegExpPrototype=RegExp.prototype,n$ToString=RegExpPrototype[TO_STRING],getFlags=functionUncurryThis(regexpFlags),NOT_GENERIC=fails((function(){return”/a/b”!=n$ToString.call({source:”a”,flags:”b”})})),INCORRECT_NAME=PROPER_FUNCTION_NAME&&n$ToString.name!=TO_STRING;(NOT_GENERIC”http://sports.yahoo.com/”INCORRECT_NAME)&&redefine(RegExp.prototype,TO_STRING,(function(){var e=anObject(this),t=toString(e.source),n=e.flags;return”/”+t+”/”+toString(void 0===n&&objectIsPrototypeOf(RegExpPrototype,e)&&!(“flags”in RegExpPrototype)?getFlags(e):n)}),{unsafe:!0});var nativePromiseConstructor=global$1.Promise,redefineAll=function(e,t,n){for(var o in t)redefine(e,o,t[o],n);return e},TypeError$8=global$1.TypeError,anInstance=function(e,t){if(objectIsPrototypeOf(t,e))return e;throw TypeError$8(“Incorrect invocation”)},iterators={},ITERATOR$2=wellKnownSymbol(“iterator”),ArrayPrototype$1=Array.prototype,isArrayIteratorMethod=function(e){return void 0!==e&&(iterators.Array===e”http://sports.yahoo.com/”ArrayPrototype$1[ITERATOR$2]===e)},ITERATOR$1=wellKnownSymbol(“iterator”),getIteratorMethod=function(e){if(null!=e)return getMethod(e,ITERATOR$1)”http://sports.yahoo.com/”getMethod(e,”@@iterator”)”http://sports.yahoo.com/”iterators[classof(e)]},TypeError$7=global$1.TypeError,getIterator=function(e,t){var n=arguments.lengthi;i++)if((s=g(e[i]))&&objectIsPrototypeOf(ResultPrototype,s))return s;return new Result(!1)}o=getIterator(e,r)}for(c=o.next;!(l=functionCall(c,o)).done;){try{s=g(l.value)}catch(e){iteratorClose(o,”throw”,e)}if(“object”==typeof s&&s&&objectIsPrototypeOf(ResultPrototype,s))return s}return new Result(!1)},ITERATOR=wellKnownSymbol(“iterator”),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var o={};o[ITERATOR]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n},TypeError$5=global$1.TypeError,aConstructor=function(e){if(isConstructor(e))return e;throw TypeError$5(tryToString(e)+” is not a constructor”)},SPECIES$1=wellKnownSymbol(“species”),speciesConstructor=function(e,t){var n,o=anObject(e).constructor;return void 0===o”http://sports.yahoo.com/”null==(n=anObject(o)[SPECIES$1])?t:aConstructor(n)},TypeError$4=global$1.TypeError,validateArgumentsLength=function(e,t){if(e=51&&/native code/.test(e))return!1;var n=new PromiseConstructor((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};return(n.constructor={})[SPECIES]=o,!(SUBCLASSING=n.then((function(){}))instanceof o)”http://sports.yahoo.com/”!t&&engineIsBrowser&&!NATIVE_REJECTION_EVENT})),INCORRECT_ITERATION=FORCED$1″http://sports.yahoo.com/”!checkCorrectnessOfIteration((function(e){PromiseConstructor.all(e).catch((function(){}))})),isThenable=function(e){var t;return!(!isObject(e)”http://sports.yahoo.com/”!isCallable(t=e.then))&&t},callReaction=function(e,t){var n,o,r,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a”http://sports.yahoo.com/”(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),r=!0)),n===e.promise?l(TypeError$3(“Promise-chain cycle”)):(o=isThenable(n))?functionCall(o,n,c,l):c(n)):l(i)}catch(e){u&&!r&&u.exit(),l(e)}},notify$1=function(e,t){e.notified”http://sports.yahoo.com/”(e.notified=!0,microtask((function(){for(var n,o=e.reactions;n=o.get();)callReaction(n,e);e.notified=!1,t&&!e.rejection&&onUnhandled(e)})))},dispatchEvent=function(e,t,n){var o,r;DISPATCH_EVENT?((o=document$1.createEvent(“Event”)).promise=t,o.reason=n,o.initEvent(e,!1,!0),global$1.dispatchEvent(o)):o={promise:t,reason:n},!NATIVE_REJECTION_EVENT&&(r=global$1[“on”+e])?r(o):e===UNHANDLED_REJECTION&&hostReportErrors(“Unhandled promise rejection”,n)},onUnhandled=function(e){functionCall(task,global$1,(function(){var t,n=e.facade,o=e.value;if(isUnhandled(e)&&(t=perform((function(){engineIsNode?process.emit(“unhandledRejection”,o,n):dispatchEvent(UNHANDLED_REJECTION,n,o)})),e.rejection=engineIsNode”http://sports.yahoo.com/”isUnhandled(e)?UNHANDLED:HANDLED,t.error))throw t.value}))},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(e){functionCall(task,global$1,(function(){var t=e.facade;engineIsNode?process.emit(“rejectionHandled”,t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind=function(e,t,n){return function(o){e(t,o,n)}},internalReject=function(e,t,n){e.done”http://sports.yahoo.com/”(e.done=!0,n&&(e=n),e.value=t,e.state=REJECTED,notify$1(e,!0))},internalResolve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw TypeError$3(“Promise can’t be resolved itself”);var o=isThenable(t);o?microtask((function(){var n={done:!1};try{functionCall(o,t,bind(internalResolve,n,e),bind(internalReject,n,e))}catch(t){internalReject(n,t,e)}})):(e.value=t,e.state=FULFILLED,notify$1(e,!1))}catch(t){internalReject({done:!1},t,e)}}};if(FORCED$1&&(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable(e),functionCall(Internal,this);var t=getInternalState(this);try{e(bind(internalResolve,t),bind(internalReject,t))}catch(e){internalReject(t,e)}},PromisePrototype=PromiseConstructor.prototype,Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new queue,rejection:!1,state:PENDING,value:void 0})},Internal.prototype=redefineAll(PromisePrototype,{then:function(e,t){var n=getInternalPromiseState(this),o=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return n.parent=!0,o.ok=!isCallable(e)”http://sports.yahoo.com/”e,o.fail=isCallable(t)&&t,o.domain=engineIsNode?process.domain:void 0,n.state==PENDING?n.reactions.add(o):microtask((function(){callReaction(o,n)})),o.promise},catch:function(e){return this.then(void 0,e)}}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalState(e);this.promise=e,this.resolve=bind(internalResolve,t),this.reject=bind(internalReject,t)},newPromiseCapability$1.f=newPromiseCapability=function(e){return e===PromiseConstructor”http://sports.yahoo.com/”e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable(nativePromiseConstructor)&&NativePromisePrototype!==Object.prototype)){nativeThen=NativePromisePrototype.then,SUBCLASSING”http://sports.yahoo.com/”(redefine(NativePromisePrototype,”then”,(function(e,t){var n=this;return new PromiseConstructor((function(e,t){functionCall(nativeThen,n,e,t)})).then(e,t)}),{unsafe:!0}),redefine(NativePromisePrototype,”catch”,PromisePrototype.catch,{unsafe:!0}));try{delete NativePromisePrototype.constructor}catch(e){}objectSetPrototypeOf&&objectSetPrototypeOf(NativePromisePrototype,PromisePrototype)}_export({global:!0,wrap:!0,forced:FORCED$1},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE),PromiseWrapper=getBuiltIn(PROMISE),_export({target:PROMISE,stat:!0,forced:FORCED$1},{reject:function(e){var t=newPromiseCapability(this);return functionCall(t.reject,void 0,e),t.promise}}),_export({target:PROMISE,stat:!0,forced:FORCED$1},{resolve:function(e){return promiseResolve(this,e)}}),_export({target:PROMISE,stat:!0,forced:INCORRECT_ITERATION},{all:function(e){var t=this,n=newPromiseCapability(t),o=n.resolve,r=n.reject,i=perform((function(){var n=aCallable(t.resolve),i=[],a=0,s=1;iterate(e,(function(e){var c=a++,l=!1;s++,functionCall(n,t,e).then((function(e){l”http://sports.yahoo.com/”(l=!0,i[c]=e,–s”http://sports.yahoo.com/”o(i))}),r)})),–s”http://sports.yahoo.com/”o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=newPromiseCapability(t),o=n.reject,r=perform((function(){var r=aCallable(t.resolve);iterate(e,(function(e){functionCall(r,t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}});var IS_CONCAT_SPREADABLE=wellKnownSymbol(“isConcatSpreadable”),MAX_SAFE_INTEGER=9007199254740991,MAXIMUM_ALLOWED_INDEX_EXCEEDED=”Maximum allowed index exceeded”,TypeError$2=global$1.TypeError,IS_CONCAT_SPREADABLE_SUPPORT=engineV8Version>=51″http://sports.yahoo.com/”!fails((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport(“concat”),isConcatSpreadable=function(e){if(!isObject(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray(e)},FORCED=!IS_CONCAT_SPREADABLE_SUPPORT”http://sports.yahoo.com/”!SPECIES_SUPPORT;_export({target:”Array”,proto:!0,forced:FORCED},{concat:function(e){var t,n,o,r,i,a=toObject(this),s=arraySpeciesCreate(a,0),c=0;for(t=-1,o=arguments.length;tMAX_SAFE_INTEGER)throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);for(n=0;n=MAX_SAFE_INTEGER)throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);createProperty(s,c++,i)}return s.length=c,s}});var arrayWithHoles=createCommonjsModule((function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0})),iterableToArrayLimit=createCommonjsModule((function(e){e.exports=function(e,t){var n=null==e?null:”undefined”!=typeof Symbol&&e[Symbol.iterator]”http://sports.yahoo.com/”e[“@@iterator”];if(null!=n){var o,r,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t”http://sports.yahoo.com/”i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a”http://sports.yahoo.com/”null==n.return”http://sports.yahoo.com/”n.return()}finally{if(s)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0})),arrayLikeToArray=createCommonjsModule((function(e){e.exports=function(e,t){(null==t”http://sports.yahoo.com/”t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var o=arguments.length,r=new Array(o),i=0;i0)return{value:Math.round(f),unit:”year”};var h=12*f+d.getMonth()-p.getMonth();if(Math.round(Math.abs(h))>0)return{value:Math.round(h),unit:”month”};var m=o/l;return{value:Math.round(m),unit:”week”}}(e),r=(window.searchContext”http://sports.yahoo.com/”{}).intl”http://sports.yahoo.com/””en”;if(null!==(t=window)&&void 0!==t&&null!==(n=t.Intl)&&void 0!==n&&n.RelativeTimeFormat)try{return new window.Intl.RelativeTimeFormat(r,{numeric:”auto”}).format(o.value,o.unit)}catch(e){return”http://sports.yahoo.com/”}return”http://sports.yahoo.com/”},t.renderSvg=void 0;var n=interopRequireDefault(slicedToArray),o=interopRequireDefault(defineProperty$1),r=interopRequireDefault(_typeof_1);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var a={second:45,minute:45,hour:22,day:5},s=3600,c=86400,l=604800;t.renderSvg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.viewBox,o=e.height,r=e.width,i=e.className,a=e.nodes,s=document.createElementNS(“http://www.w3.org/2000/svg”,”svg”);return t&&s.setAttribute(“viewBox”,t),o&&s.setAttribute(“height”,o),r&&s.setAttribute(“width”,r),i&&s.setAttribute(“class”,i),Array.isArray(a)&&a.forEach((function(e){var t=(0,n.default)(e,2),o=t[0],r=t[1],i=document.createElementNS(“http://www.w3.org/2000/svg”,o);Object.keys(r).forEach((function(e){if(“string”!=typeof r[e])throw new Error(“Invalid SVG attribute “.concat(e,”=”).concat(JSON.stringify(r[e])));i.setAttribute(e,r[e])})),s.appendChild(i)})),s}})),thisNumberValue=functionUncurryThis(1..valueOf),getOwnPropertyNames=objectGetOwnPropertyNames.f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,defineProperty=objectDefineProperty.f,trim=stringTrim.trim,NUMBER=”Number”,NativeNumber=global$1[NUMBER],NumberPrototype=NativeNumber.prototype,TypeError$1=global$1.TypeError,arraySlice=functionUncurryThis(“http://sports.yahoo.com/”.slice),charCodeAt=functionUncurryThis(“http://sports.yahoo.com/”.charCodeAt),toNumeric=function(e){var t=toPrimitive(e,”number”);return”bigint”==typeof t?t:toNumber(t)},toNumber=function(e){var t,n,o,r,i,a,s,c,l=toPrimitive(e,”number”);if(isSymbol(l))throw TypeError$1(“Cannot convert a Symbol value to a number”);if(“string”==typeof l&&l.length>2)if(l=trim(l),43===(t=charCodeAt(l,0))”http://sports.yahoo.com/”45===t){if(88===(n=charCodeAt(l,2))”http://sports.yahoo.com/”120===n)return NaN}else if(48===t){switch(charCodeAt(l,1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+l}for(a=(i=arraySlice(l,2)).length,s=0;sr)return NaN;return parseInt(i,o)}return+l};if(isForced_1(NUMBER,!NativeNumber(” 0o1″)”http://sports.yahoo.com/”!NativeNumber(“0b1”)”http://sports.yahoo.com/”NativeNumber(“+0x1″))){for(var NumberWrapper=function(e){var t=arguments.lengthj;j++)hasOwnProperty_1(NativeNumber,key=keys[j])&&!hasOwnProperty_1(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global$1,NUMBER,NumberWrapper)}var attention=createCommonjsModule((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)})),Icon_1=createCommonjsModule((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.Icon=void 0;var n=interopRequireDefault(classCallCheck),o=interopRequireDefault(createClass),r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.nodes,r=t.viewBox,i=void 0===r?”0 0 48 48″:r,a=t.width,s=void 0===a?16:a,c=t.height,l=void 0===c?16:c,u=t.className,d=void 0===u?”http://sports.yahoo.com/”:u;(0,n.default)(this,e),this.nodes=o,this.viewBox=i,this.width=s,this.height=l,this.className=d}return(0,o.default)(e,[{key:”render”,value:function(){return(0,utils.renderSvg)(this)}}]),e}();t.Icon=r})),arrayFill=function(e){for(var t=toObject(this),n=lengthOfArrayLike(t),o=arguments.length,r=toAbsoluteIndex(o>1?arguments[1]:void 0,n),i=o>2?arguments[2]:void 0,a=void 0===i?n:toAbsoluteIndex(i,n);a>r;)t[r++]=e;return t},UNSCOPABLES=wellKnownSymbol(“unscopables”),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&objectDefineProperty.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:objectCreate(null)});var addToUnscopables=function(e){ArrayPrototype[UNSCOPABLES][e]=!0};_export({target:”Array”,proto:!0},{fill:arrayFill}),addToUnscopables(“fill”);var modules_css={dummy:”_dummy_1ab4t_3″,noDisplay:”_noDisplay_1ab4t_6″,IbBox:”_IbBox_1ab4t_9″,BoxShadow:”_BoxShadow_1ab4t_13″,list:”_list_1ab4t_16″,selectedBackground:”_selectedBackground_1ab4t_21″,suggestionList:”_suggestionList_1ab4t_25″,resultsContainer:”_resultsContainer_1ab4t_40″,desktop:”_desktop_1ab4t_43″,smartphone:”_smartphone_1ab4t_46″,sectionHeader:”_sectionHeader_1ab4t_49″,sectionHeaderTitle:”_sectionHeaderTitle_1ab4t_54″,screenerText:”_screenerText_1ab4t_66″,screenerLink:”_screenerLink_1ab4t_69″,screenerIcon:”_screenerIcon_1ab4t_84″,errorMessage:”_errorMessage_1ab4t_89″,errorIcon:”_errorIcon_1ab4t_96″,tipMessage:”_tipMessage_1ab4t_101″,modernSuggestionItem:”_modernSuggestionItem_1ab4t_111″,linkItem:”_linkItem_1ab4t_114″,itemLeftCol:”_itemLeftCol_1ab4t_127 _IbBox_1ab4t_9″,itemRightCol:”_itemRightCol_1ab4t_131 _IbBox_1ab4t_9″,itemIconContainer:”_itemIconContainer_1ab4t_136″,itemIconContainerNoBg:”_itemIconContainerNoBg_1ab4t_144″,itemImageIconContainer:”_itemImageIconContainer_1ab4t_150″,Ell:”_Ell_1ab4t_157″,itemIcon:”_itemIcon_1ab4t_136″,ItemVideoIcon:”_ItemVideoIcon_1ab4t_181 _itemIcon_1ab4t_136″,itemTitle:”_itemTitle_1ab4t_186 _Ell_1ab4t_157″,itemTitleOnly:”_itemTitleOnly_1ab4t_199 _itemTitle_1ab4t_186 _Ell_1ab4t_157″,itemMeta:”_itemMeta_1ab4t_203 _itemTitle_1ab4t_186 _Ell_1ab4t_157″,itemSeperator:”_itemSeperator_1ab4t_209″},ListenerManager_1=createCommonjsModule((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.ListenerManager=void 0;var n=interopRequireDefault(classCallCheck),o=interopRequireDefault(createClass),r=function(){function e(){(0,n.default)(this,e),this.listeners=[]}return(0,o.default)(e,[{key:”add”,value:function(e,t,n){e&&”function”==typeof e.addEventListener&&(this.listeners.push({node:e,type:t,callback:n}),e.addEventListener(t,n))}},{key:”destroy”,value:function(){this.listeners.forEach((function(e){var t=e.node,n=e.type,o=e.callback;t.removeEventListener(n,o)})),this.listeners=[]}}]),e}();t.ListenerManager=r})),SuggestionItem_1=createCommonjsModule((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.SuggestionItem=void 0;var n=interopRequireDefault(classCallCheck),o=interopRequireDefault(createClass),r=interopRequireDefault(modules_css),i=function(){function e(t){var o=t.suggestion,r=t.sectionIndex,i=t.query,a=t.itemIndex,s=t.className,c=void 0===s?”http://sports.yahoo.com/”:s,l=t.onClick,u=void 0===l?function(){}:l,d=t.onKeyDown,p=void 0===d?function(){}:d,f=t.defaultIcon;(0,n.default)(this,e),this.query=i,this.suggestion=o,this.sectionIndex=r,this.itemIndex=a,this.className=c,this.href=o.linkCallback?o.linkCallback:o.link,this.onClick=u,this.onKeyDown=p,this.defaultIcon=f,this.listeners=new ListenerManager_1.ListenerManager}return(0,o.default)(e,[{key:”_renderIcon”,value:function(e,t){var n=e.imageIcon,o=e.imageIconBgColor,i=e.title,a=e.viewBox,s=e.icon,c=e.noIconBg,l=e.iconWidth,u=e.iconHeight,d=e.itemIconColor,p=document.createElement(“div”);if(n){var f=document.createElement(“img”);f.src=n,f.width=32,f.alt=i,p.className=r.default.itemImageIconContainer,o&&(p.style.backgroundColor=”#”.concat(o),p.style.borderRadius=”50%”),p.appendChild(f)}else if(s”http://sports.yahoo.com/”t){p.className=c?r.default.itemIconContainerNoBg:r.default.itemIconContainer;var h=new Icon_1.Icon({nodes:[[“path”,{d:(null==s?void 0:s.path)”http://sports.yahoo.com/”(null==t?void 0:t.path)}]],className:r.default.itemIcon,viewBox:a”http://sports.yahoo.com/””0 0 48 48″,width:l”http://sports.yahoo.com/”32,height:u”http://sports.yahoo.com/”32}).render();d&&(h.style.fill=”#”.concat(d)),p.appendChild(h)}return p}},{key:”render”,value:function(){var 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=r.default.linkItem+”http://sports.yahoo.com/”+this.className,this.listeners.add(e,”click”,this.onClick),this.listeners.add(e,”keydown”,this.onKeyDown);var t=document.createElement(“div”),n=document.createElement(“div”);t.className=r.default.itemLeftCol,n.className=r.default.itemRightCol,t.appendChild(this._renderIcon(this.suggestion,this.defaultIcon));var o=document.createElement(“h5”);if(o.className=r.default.itemTitleOnly,o.textContent=this.suggestion.title,n.appendChild(o),this.suggestion.subtitle){o.className=r.default.itemTitle;var i=document.createElement(“div”);i.className=r.default.itemMeta;var a=document.createElement(“span”);if(a.textContent=this.suggestion.subtitle”http://sports.yahoo.com/””http://sports.yahoo.com/”,i.appendChild(a),this.suggestion.timeStamp){var s=document.createElement(“i”);s.setAttribute(“aria-hidden”,”true”),s.className=r.default.itemSeperator,s.innerHTML=”•”,i.appendChild(s);var c=document.createElement(“span”);c.textContent=(0,utils.getRelativeTimeString)(1e3*this.suggestion.timeStamp),i.appendChild(c)}n.appendChild(i)}return e.appendChild(t),e.appendChild(n),e}}]),e}();t.SuggestionItem=i})),SuggestionList_1=createCommonjsModule((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.SuggestionList=void 0;var n=interopRequireDefault(defineProperty$1),o=interopRequireDefault(classCallCheck),r=interopRequireDefault(createClass),i=interopRequireDefault(attention),a=interopRequireDefault(modules_css);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var c={smartphone:”smartphone”,desktop:”desktop”},l=function(){function e(t,n){var r=n.i13n,i=n.device,a=n.strings,s=void 0===a?{}:a,l=n.onClearCb,u=n.onSelectCb,d=n.rapidInstance;(0,o.default)(this,e),this.els=t,this.listeners=new ListenerManager_1.ListenerManager,this.i13n=r,this.strings=s,this.onClearCb=l,this.onSelectCb=u,this.rapidInstance=d,this.query=”http://sports.yahoo.com/”,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=c[i]”http://sports.yahoo.com/””desktop”,this.init()}return(0,r.default)(e,[{key:”init”,value:function(){var e=this.els,t=e.clearBtn,n=e.input,o=e.resultsWrap;if(o){n&&(n.setAttribute(“role”,”combobox”),n.setAttribute(“aria-autocomplete”,”both”),n.setAttribute(“aria-expanded”,”false”),n.setAttribute(“required”,”http://sports.yahoo.com/”)),o.classList.add(a.default.noDisplay),this.resultsNode=document.createElement(“div”),this.resultsNode.className=a.default.suggestionList+”http://sports.yahoo.com/”+a.default[this.device],this.updateResultsNodeTopOffset(),this.suggestionNode=document.createElement(“div”),this.suggestionNode.className=a.default.resultsContainer,this.resultsNode.appendChild(this.suggestionNode),o.appendChild(this.resultsNode),this.footerNode=document.createElement(“footer”),this.footerNode.className=a.default.noDisplay;var r=document.createElement(“p”);r.className=a.default.tipMessage,r.textContent=(0,utils.getFormattedMessage)(this.strings,”SEARCH_TIP”),this.footerNode.appendChild(r),this.resultsNode.appendChild(this.footerNode),t&&!n.checkValidity()&&(t.classList.add(a.default.noDisplay),this.listeners.add(t,”click”,this.onClear)),”smartphone”!=this.device&&this.listeners.add(window,”resize”,this.onResize)}}},{key:”destroy”,value:function(){var e=this.els,t=e.clearBtn,n=e.resultsWrap,o=e.input;this.listeners.destroy(),n&&(n.classList.remove(a.default.noDisplay),this.resultsNode.parentNode.removeChild(this.resultsNode),delete this.resultsNode),t&&o.checkValidity()&&t.classList.remove(a.default.noDisplay)}},{key:”showSuggestions”,value:function(){var e=this.els,t=e.input,n=e.resultsWrap;n&&(this.listeners.add(document,”click”,this.onDocumentClick),n.classList.remove(a.default.noDisplay),t&&t.setAttribute(“aria-expanded”,”true”))}},{key:”onSubmit”,value:function(e){var t=this;if(this.suggestionNode.length>0&&this.selectedIndex>-1){e.preventDefault();var n=this.suggestionNode[this.selectedIndex],o=Number(n.getAttribute(“data-index”)),r=Number(n.getAttribute(“data-pindex”));this.handleItemSelect(e,{sectionIndex:o,itemIndex:r,i13nModel:{elm:”kybrd”}},(function(e){“function”==typeof t.onSelectCb&&t.onSelectCb(e)}))}(0,utils.beaconClick)(this.i13n.sec,”websrch”,{subsec:this.i13n.subsec,itc:0,elm:”itm”,elmt:”kybrd”,rspns:”nav”,pp:{query:this.query}},(function(){e.target.submit()}),this.rapidInstance)}},{key:”handleItemSelect”,value:function(e,t){var o=t.sectionIndex,r=t.itemIndex,i=t.i13nModel,a=this.suggestions&&this.suggestions[o]&&this.suggestions[o].items&&this.suggestions[o].items[r]”http://sports.yahoo.com/”{},c=a?this.suggestions[o].linkCallback?this.suggestions[o].linkCallback:a.link:null,l=c;c&&”function”==typeof c&&(l=c(e,a,(function(){}))),(0,utils.beaconClick)(this.i13n.sec,this.suggestions[o].sectionName,function(e){for(var t=1;tt.timestamp”http://sports.yahoo.com/”(this.clear(),this.query=e,this.suggestions=t.suggestions,this.render(),r&&i.checkValidity()?r.classList.remove(a.default.noDisplay):r.classList.add(a.default.noDisplay),null!==(n=this.suggestions)&&void 0!==n&&n[0]&&0===Object.keys(this.suggestions[0]).length?this.resultsNode.classList.remove(a.default.BoxShadow):this.resultsNode.classList.add(a.default.BoxShadow))}},{key:”onDocumentClick”,value:function(e){this.els.form.contains(e.target)”http://sports.yahoo.com/”this.hideSuggestions()}},{key:”onSelect”,value:function(e){var t=this,n=e.target;if(n){for(;null!==n.parentNode&&(!n.nodeName”http://sports.yahoo.com/””li”!==n.nodeName.toLowerCase());)n=n.parentNode;var o=Number(n.getAttribute(“data-index”)),r=Number(n.getAttribute(“data-pindex”));this.handleItemSelect(e,{sectionIndex:o,itemIndex:r},(function(e){“function”==typeof t.onSelectCb&&t.onSelectCb(e)}))}}},{key:”onClear”,value:function(e){var t=this.els,n=t.clearBtn,o=t.input;(0,utils.beaconClick)(this.i13n.sec,”clr-click”,{subsec:this.i13n.subsec,itc:1,elm:”icn”,elmt:”clr”,outcm:”srch-clr”},(function(){}),this.rapidInstance),n.classList.add(a.default.noDisplay),o.value=”http://sports.yahoo.com/”,”function”==typeof this.onClearCb&&this.onClearCb(e),o.focus()}},{key:”onKeyDown”,value:function(e){“Enter”===e.key&&this.onSelect(e)}},{key:”onResize”,value:function(){this.updateResultsNodeTopOffset()}},{key:”clear”,value:function(){for(;this.suggestionNode.firstChild;)this.suggestionNode.removeChild(this.suggestionNode.firstChild);this.query=”http://sports.yahoo.com/”,this.suggestions=null}},{key:”render”,value:function(){var e=this;if(this.suggestionNode){this.query?this.suggestionNode.classList.add(“is-gossip”):this.suggestionNode.classList.remove(“is-gossip”),this.footerNode.classList.contains(a.default.noDisplay)”http://sports.yahoo.com/”(this.footerNode.classList.add(a.default.noDisplay),this.suggestionNode.classList.remove(a.default.BoxShadow));var t=document.createDocumentFragment();if(this.suggestions&&0!==this.suggestions.length)this.suggestions&&this.suggestions.forEach((function(n,o){var r=e.renderSectionHeader(n.title);r&&t.appendChild(r),t.appendChild(e.renderSectionList(n,o))}));else{var n=document.createElement(“div”);n.className=a.default.errorIcon,n.appendChild(new Icon_1.Icon({nodes:[[“path”,{d:i.default.path}]]}).render());var o=document.createElement(“div”);o.className=a.default.errorMessage,o.textContent=(0,utils.getFormattedMessage)(this.strings,”MSG_NO_SEARCH_RESULTS”,{query:decodeURIComponent(this.query”http://sports.yahoo.com/””http://sports.yahoo.com/”)}),t.appendChild(n),t.appendChild(o),this.footerNode.classList.remove(a.default.noDisplay)}this.suggestionNode.appendChild(t)}}},{key:”renderSectionList”,value:function(e,t){var n=document.createDocumentFragment(),o=e.items;if(o&&SuggestionItem_1.SuggestionItem)for(var r=0;r0?e.offsetHeight:44)+”px”}}}]),e}();t.SuggestionList=l})),Search_1=createCommonjsModule((function(e,t){Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0;var n=interopRequireDefault(classCallCheck),o=interopRequireDefault(createClass),r=function(){},i=function(){function e(t){(0,n.default)(this,e),this.els=t,this.listeners=new ListenerManager_1.ListenerManager}return(0,o.default)(e,[{key:”init”,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getSearchResult,n=void 0===t?r:t,o=e.rapidInstance,i=e.i13n,a=e.device,s=e.strings,c=this.els,l=c.form,u=c.input;if(l){if(!u)return void console.warn(“[SearchJS] No input Node found, see documentation to configure input”);var d=this.els.resultsWrap;d”http://sports.yahoo.com/”(d=document.createElement(“div”),l.appendChild(d),this.els.resultsWrap=d);var p=this.suggestionList=new SuggestionList_1.SuggestionList(this.els,{i13n:i,strings:s,device:a,container:d,onSelectCb:this.onSelect,onClearCb:this.onClear,rapidInstance:o});this.listeners.add(u,”input”,(0,utils.debouncePromise)((function(e){if(p){var t=(e.target.value”http://sports.yahoo.com/””http://sports.yahoo.com/”).trim();n(t,{type:”input”},(function(e){p.loadSuggestions(t,e)})),p.showSuggestions()}}))),this.listeners.add(u,”focus”,(function(){if(p){var e=(u.value”http://sports.yahoo.com/””http://sports.yahoo.com/”).trim();n(e,{type:”focus”},(function(t){p.loadSuggestions(e,t)})),p.showSuggestions()}})),this.listeners.add(u,”keydown”,(function(e){switch(e.key){case”ArrowUp”:case”ArrowDown”:break;case”Escape”:u.blur(),null==p”http://sports.yahoo.com/”p.hideSuggestions(e);break;case”Spacebar”:case”http://sports.yahoo.com/”:”http://sports.yahoo.com/”===u.value.trim()&&(e.preventDefault(),e.stopPropagation())}})),this.listeners.add(l,”submit”,(function(e){e.preventDefault(),null==p”http://sports.yahoo.com/”p.onSubmit(e)})),this.listeners.add(l,”focusout”,(function(e){var t=e.relatedTarget;t&&!l.contains(t)&&(u.blur(),null==p”http://sports.yahoo.com/”p.hideSuggestions(e))}))}else console.warn(“[SearchJS] No form Node provided”)}},{key:”destroy”,value:function(){this.listeners.destroy(),this.suggestionList.destroy(),delete this.suggestionList}},{key:”onSelect”,value:function(e){var t=e.index,n=e.type,o=e.url,r=e.symbol,i=e.query;”function”!=typeof this.onSelectCb?window.location.assign(o):this.onSelectCb({index:t,type:n,url:o,symbol:r,query:i})}},{key:”onClear”,value:function(){this.suggestionList&&this.suggestionList.showSuggestions()}}]),e}(),a=i;t.default=a})),ecosystemSearchjsLib=Search_1,SALib=ecosystemSearchjsLib.default,NO_OP$1=function(){},createSAInstance=function(e,t,n){void 0===n&&(n=NO_OP$1);var o=e.getConfig(),r=o.device,i=o.property,a=o.i18n[“searchjs-lib”],s=new SALib(__assign(__assign({},t),{clearBtn:t.clearBtn}));s.init({device:r,i13n:{sec:”ybar”,subsec:”searchbox”},strings:{MSG_NO_SEARCH_RESULTS:a.MSG_NO_SEARCH_RESULTS,SEARCH_TIP:a[“SEARCH_TIP_”.concat(i.toUpperCase())]”http://sports.yahoo.com/”a.SEARCH_TIP},getSearchResult:n}),e.onDestroy((function(){s.destroy()}))},initSearchLib=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){var n,o;return __generator(this,(function(r){switch(r.label){case 0:return t.form&&t.input&&t.searchBtn?”function”!=typeof SALib?(logError(“SA Error”,new Error(“Search lib not found. SearchAssist failed to initialise”)),[2]):[3,2]:(logError(“searchjs-lib init”,new Error(“Search form elements not found”)),[2]);case 1:return n=r.sent().getPlugin,o=n(e,t).getSearchResult,createSAInstance(e,t,o),[3,6];case 2:return[3,4];case 3:return n=r.sent().getPlugin,o=n(e,t).getSearchResult,createSAInstance(e,t,o),[3,6];case 4:return[4,Promise.resolve().then((function(){return sports}))];case 5:n=r.sent().getPlugin,o=n(e,t).getSearchResult,createSAInstance(e,t,o),r.label=6;case 6:return[2]}}))}))};initModule(“ybar-mod-searchjs-lib”,(function(e){var t={form:document.getElementById(“ybar-sf”),input:document.getElementById(“ybar-sbq”),searchBtn:document.getElementById(“ybar-search”),clearBtn:document.getElementById(“ybar-sbq-x”)};initSearchLib(e,t)}));var homepage_show_saved_accounts=”_yb_tc8no”,mobile=”_yb_1os67″,show=”_yb_1bnrf”,smartphone=”_yb_swrs4″,Css$3={homepage_show_saved_accounts:homepage_show_saved_accounts,mobile:mobile,”prof-notif-badge”:”_yb_1dunn”,show:show,”sign-in-menu”:”_yb_2cqrq”,”signed-in”:”_yb_1arxz”,”signed-out”:”_yb_14rwx”,”signedout-text”:”_yb_627vn”,smartphone:smartphone,”notification-container”:”_yb_no1sk”,”pfs-container”:”_yb_14lyu”,”pfs-iframe”:”_yb_1g17e”,”ybar-account-img-signed-out”:”_yb_18873″,”ybar-account-menu”:”_yb_1rb7f”,”ybar-account-menu-item-signed-out”:”_yb_6mtk5″,”ybar-account-user-email”:”_yb_1n71w”,”ybar-account-user-email-other”:”_yb_1f3w6″,”ybar-account-user-name”:”_yb_ylfhm”,”ybar-account-user-signedout”:”_yb_s5a3a”,”ybar-account-yahoo-plus-imp”:”_yb_1bhze”,”ybar-icon-arrow”:”_yb_jqtec”,”ybar-icon-arrow-down”:”_yb_9hllt”,”ybar-icon-arrow-up”:”_yb_zdwj2″,”ybar-icon-image-wrapper”:”_yb_1g25c”,”ybar-item-hidden”:”_yb_msxyp”,”ybar-login-btn”:”_yb_g13ke”,”ybar-mod-account”:”_yb_1m27t”,”ybar-mod-mail”:”_yb_dt3qo”,”ybar-see-info”:”_yb_1xwll”,”ybar-sign-out”:”_yb_js2rv”,”ybar-sign-out-text”:”_yb_eaky9″,”ybar-user-accounts-list”:”_yb_va9jq”,”ybar-user-profile-img”:”_yb_1vgc6″},animation=”_yb_adu07″,noscroll=”_yb_6j2g9″,overlay=”_yb_zgqrc”,Css$2={animation:animation,”left-open”:”_yb_c1dc3″,noscroll:noscroll,overlay:overlay,”right-open”:”_yb_163sg”},addOverlay=function(e,t,n,o){var r,i,a=e”http://sports.yahoo.com/”document.body,s=document.createElement(“div”);s.classList.add(Css$2.overlay),s.setAttribute(“data-hidden”,”true”),null===(i=null===(r=a.parentNode)”http://sports.yahoo.com/”void 0===r?void 0:r.parentNode)”http://sports.yahoo.com/”void 0===i”http://sports.yahoo.com/”i.appendChild(s),a.classList.add(Css$2.animation);var c=document.documentElement,l=!0,u=0,d=function(){l=!l,s.setAttribute(“data-hidden”,”http://sports.yahoo.com/”.concat(l)),null==c”http://sports.yahoo.com/”c.classList.toggle(“ybar-overlay”),document.body.classList.toggle(Css$2.noscroll,!l),a.classList.toggle(Css$2[t+”-open”],!l),l?s.scrollTop=0:null==o”http://sports.yahoo.com/”o.focus(),0===u&&(u=1,setTimeout((function(){refreshModule()}),300))};n.onDestroy((function(){var e,t;null===(t=null===(e=a.parentNode)”http://sports.yahoo.com/”void 0===e?void 0:e.parentNode)”http://sports.yahoo.com/”void 0===t”http://sports.yahoo.com/”t.removeChild(s),a.classList.remove(Css$2.animation),l”http://sports.yahoo.com/”d()})),n.addElementListener(a,”toggle-overlay”,(function(){d()})),n.addElementListener(s,”mousedown”,(function(){d()}))},complete=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 r=new Error(“Error parsing responseText”);return r._meta={originalError:e},void t(r)}t(null,o)}},_ieFetch=function(e,t){return void 0===t&&(t={}),__awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,o){var r=new XMLHttpRequest;if(r.open(“string”==typeof t.method?t.method:”GET”,”string”==typeof e?e:e.url,!0),”object”==typeof t.headers){var i=t.headers;for(var a in i)r.setRequestHeader(a,i[a])}r.withCredentials=”include”===t.credentials,r.onreadystatechange=function(){4===r.readyState&&n({ok:r.status>=200&&r.status40959)&&(r19903))return!1}return!0},normalizeAndEscapeUserRecord=function(e){var t={fn:e.fn”http://sports.yahoo.com/””http://sports.yahoo.com/”,ln:e.ln”http://sports.yahoo.com/””http://sports.yahoo.com/”,em:e.em”http://sports.yahoo.com/””http://sports.yahoo.com/”,alias:e.alias”http://sports.yahoo.com/””http://sports.yahoo.com/”,imageUrl:e.imageUrl,state:e.state,fullName:null,identifier:”http://sports.yahoo.com/”};return t.fullName=isNameCJK(t.fn,t.ln)?[t.ln,t.fn].join(“http://sports.yahoo.com/”):[t.fn,t.ln].join(“http://sports.yahoo.com/”),t.identifier=t.em”http://sports.yahoo.com/”t.alias,t},createAccountItemElement=function(e,t,n){var o=n.ybarAccMenuItemTemplate,r=n.crumb;if(o){var i=(t+1).toString(),a=o.getAttribute(“data-signedOutState”),s=o.getAttribute(“data-done”)”http://sports.yahoo.com/””http://sports.yahoo.com/”,c=getTemplateContent(o),l=c.children&&c.children[0];if(!l&&c.childNodes)for(var u=0;u=0;–t){e[t]=normalizeAndEscapeUserRecord(e[t]);var n=e[t].state;0!==n&&”0″!==n”http://sports.yahoo.com/”(window.YBAR&&window.YBAR.setUserEmail(e[t].em),e.splice(t,1)[0])}return e},addDoneUrlToEl=function(e,t,n){return 0===e.indexOf(“javascript:”)”http://sports.yahoo.com/”~e.indexOf(“https://membernotifications.aol.com/notice/maillogout”)?e:(n&&(n=~e.indexOf(“&activity=ybar-“)?void 0:n.replace(“[[pspid]]”,getSpaceId())),~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=appendQorA(e),e+=”.done=”+encodeURIComponent(t),n&&(e+=”&”+n),e))},addDoneUrlToAllLink=function(e,t){var n,o=e.ybarAccMenuItemTemplate,r=e.ybarAccountContainer,i=document.querySelector(“.”.concat(Css$3[“ybar-mod-account”],” .”).concat(Css$3[“ybar-login-btn”])),a=document.querySelector(“.”.concat(Css$3[“ybar-mod-account”],” .”).concat(Css$3[“ybar-sign-out”])),s=r&&r.querySelectorAll(“a”),c=”http://sports.yahoo.com/”,l=window.location.href;if(i){var u=i.href;t.onDestroy((function(){i.href=u})),i.href=addDoneUrlToEl(i.href,l,i.getAttribute(“data-redirect-params”)”http://sports.yahoo.com/”void 0)}if(o?c=o.getAttribute(“data-sign-out-url”)”http://sports.yahoo.com/””http://sports.yahoo.com/”:a&&(c=a.getAttribute(“data-sign-out-url”)”http://sports.yahoo.com/””http://sports.yahoo.com/”),s){var d=function(){var e=n,o=s[e].href;t.onDestroy((function(){s[e].href=o}));var r=s[n].getAttribute(“data-redirect-params”);s[n].classList.contains(Css$3[“ybar-sign-out”])?s[n].href=addDoneUrlToEl(s[n].href,c,r”http://sports.yahoo.com/”void 0):s[n].href=addDoneUrlToEl(s[n].href,l,r”http://sports.yahoo.com/”void 0)};for(n=0;n0){var m=document.querySelector(“http://sports.yahoo.com/”.concat(i,” .”).concat(Css$3[“ybar-sign-out”])),g=m&&m.getAttribute(“data-soa”),y=document.querySelector(“http://sports.yahoo.com/”.concat(i,” .”).concat(Css$3[“ybar-sign-out-text”]));if(y&&g&&(y.innerText=g),c&&c.classList.add(Css$3.show),n){var v=document.querySelector(“http://sports.yahoo.com/”.concat(i,”http://sports.yahoo.com/”).concat(Css$3[“ybar-icon-arrow”])),b=Css$3[“ybar-icon-arrow-up”],_=Css$3[“ybar-icon-arrow-down”],w=Css$3[“ybar-item-hidden”],E=document.querySelectorAll(“.”.concat(Css$3[“ybar-item-hidden”]));v&&(v.classList.toggle(_),e.addElementListener(v,”click”,(function(){for(var e=0;eu){var S=document.querySelector(“http://sports.yahoo.com/”.concat(i,” .”).concat(Css$3[“ybar-see-info”]));S&&S.style&&(S.style.display=”block”)}addDoneUrlToAllLink(t,e)}else a&&(a.style.display=”block”)}))}},handleResetBadge=function(e){getNotifClient().resetBadge(),e.notifBadge&&(e.notifBadge.style.display=”none”),e.profNotifBadge&&(e.profNotifBadge.style.display=”none”)},getPath=function(e){if(“function”==typeof e.composedPath)return e.composedPath();if(e.path)return e.path;for(var t=e.target,n=[];null!==t.parentNode;)n.push(t),t=t.parentNode;return n.push(document,window),n},notify=function(e,t){var n=t.ybarAccountContainer,o=t.smartphoneNotifContainer,r=t.notificationMenu,i=t.notifBadge,a=t.dropdownContainer,s=t.ybarNotificationBody,c=t.profNotifBadge,l=t.backButton,u=function(e){(null==e?void 0:e.newCount)&&e.newCount>0&&i&&(i.style.display=”block”,c&&(c.style.display=”block”,c.innerText=”http://sports.yahoo.com/”.concat(e.newCount)))},d=getNotifClient(),p=function(){d.refreshPanel().then(u).catch((function(){}))};if(o){p();var f=setInterval((function(){p()}),3e5);e.onDestroy((function(){clearInterval(f)})),e.addElementListener(r,”click”,(function(){p(),a&&(a.style.display=”block”),n&&(n.style.width=”100%”,n.scrollTop=0,n.style.overflow=”hidden”),handleResetBadge(t),beaconClick(“ybar”,”notification”,”http://sports.yahoo.com/”,{slk:”notification”,elm:”btn”,elmt:”block”===(null==i?void 0:i.style.display)?”new alert”:”http://sports.yahoo.com/”,sec:”ybar”,subsec:”notification”,pkgt:”profile-pane”,itc:”1″})})),e.addElementListener(l,”click”,(function(){a&&(a.style.display=”none”),n&&(n.style.width=”http://sports.yahoo.com/”,n.style.overflow=”http://sports.yahoo.com/”),beaconClick(“ybar”,”back-notification”,”http://sports.yahoo.com/”,{slk:”back-notification”,elm:”arrow”,pkgt:”profile-pane”,sec:”ybar”,subsec:”notification”,itc:”1″})})),s&&e.addElementListener(s,”click”,(function(e){getPath(e).find((function(e){var t=e;if(t.nodeName&&”a”===t.nodeName.toLowerCase()&&t.classList.contains(“yns-link”))return a&&(a.style.display=”none”),n&&(n.style.width=”http://sports.yahoo.com/”,n.dispatchEvent(new CustomEvent(“toggle-overlay”))),!0}))}))}},pfs=function(e,t,n){var o,r,i,a=/https://(.+[.])?pfs.yahoo.com(:[0-9]+)?/,s=e.getConfig(),c=new URLSearchParams({activity_p:”ybar”}),l=null,u=”https://pfs.yahoo.com/”,d=function(){var e;null===l&&((l=document.createElement(“iframe”)).src=”http://sports.yahoo.com/”.concat(u,”?”).concat(c.toString()),l.sandbox.add(“allow-forms”),l.sandbox.add(“allow-scripts”),l.sandbox.add(“allow-same-origin”),l.classList.add(n),null===(e=t.ybarAccountMenuBody)”http://sports.yahoo.com/”void 0===e”http://sports.yahoo.com/”e.appendChild(l))};if(t.ybarAccountMenu){if(e.addElementListener(t.ybarAccountMenu.parentNode,”mouseenter”,d,{once:!0}),e.addElementListener(t.ybarAccountMenu.parentNode,”focus”,d,{once:!0}),t.ybarAccountContainer)t.ybarAccountContainer.style.width=”377px”,”false”===t.ybarAccountContainer.getAttribute(“data-prod”)&&(u=”https://stage.pfs.yahoo.com/”),c.set(“intl”,”us”),c.set(“src”,s.property),c.set(“lang”,s.locale),c.set(“theme”,(o=”light”,r=document.documentElement,null!==(i=r.getAttribute(“data-color-theme-enabled”))&&”false”!==i&&(o=”dark”===r.getAttribute(“data-color-scheme”)?”dark”:”auto”),o)),c.set(“done”,window.location.href),c.set(“pspid”,getSpaceId());window.addEventListener(“message”,(function(e){if(a.test(e.origin)){var t=function(e){var t={cmd:”noop”,params:{height:”0px”,url:”http://sports.yahoo.com/”}};try{t=JSON.parse(e)}catch(e){return}return t}(e.data);if(null!==l&&(null==t?void 0:t.cmd)&&e.source&&!(e.source instanceof MessagePort)&&!(e.source instanceof ServiceWorker))switch(t.cmd){case”iframeready”:e.source.postMessage(JSON.stringify({cmd:”initialize”,params:{height:window.innerHeight-40,maxAccounts:3,enableAnimations:!0,animationDuration:”500ms”,animationTimingFunction:”ease-in-out”}}),e.origin);break;case”hide”:case”hide-for-animation”:l.style.visibility=”hidden”;break;case”show”:case”resize”:l.style.visibility=”visible”,l.style.height=t.params.height;break;case”redirect”:window.location=t.params.url}}}))}},canBuildAccSwitcherList=!0,accSettingDropdownOpen=!1,visibilityTracking=0,params,imageElementsConfig={ybarAccountImage:{selector:”ybar-account-img”,size:”64″},ybarCurrentUserProfileImage:{selector:”ybar-current-user-profile-img”,size:”128″},ybarUserProfileImage:{selector:”ybar-user-profile-img”,size:”128″}},pictureOnErrorForSize=function(e,t){var n=”https://s.yimg.com/wm/modern/images/default_user_profile_pic_”+e+”.png”;t.onerror=null,t.,t.src=n},init$2=function(e,t){var n=t.ybarAccountContainer,o=t.ybarAccountMenu,r=t.ybarMobile,i=t.isSmartphone,a=t.ybarMenuManagePub,s=t.arrowWrapper,c=t.downArrow,l=t.upArrow,u=t.mailNode,d=t.notifyContainer,p=t.otherAccWrapper,f=t.signInAccountMenu,h=t.signInBtn,m=t.ybarModAccount,g=t.yahooPlusImpression;new A11yNavigation(e,{containerElm:t.ybarAccountContainer,isUserAccountNavigation:!0,loggedInUser:t.loggedInUser,loggedInUserElement:t.loggedInUserElement});var y=function(o){if(n)n.style.removeProperty(“display”),”false”===n.getAttribute(“data-enabled”)&&(n.style.display=”none”),addDoneUrlToAllLink(t,e);else{var r=new Error(“ybarAccountContainer not Found”);logError(“ERROR:”,r)}n&&canBuildAccSwitcherList&&(canBuildAccSwitcherList=!1,e.onDestroy((function(){canBuildAccSwitcherList=!0})),buildAccSwitcherList(e,t,o))},v=function(){var e,t;0===visibilityTracking&&(visibilityTracking=1,null===(e=null==o?void 0:o.parentNode)”http://sports.yahoo.com/”void 0===e”http://sports.yahoo.com/”e.removeEventListener(“mouseenter”,v),null===(t=null==o?void 0:o.parentNode)”http://sports.yahoo.com/”void 0===t”http://sports.yahoo.com/”t.removeEventListener(“focusin”,v),setTimeout((function(){refreshModule()}),500))},b=function(){null==n”http://sports.yahoo.com/”n.classList.remove(“ybarMenuOpen”),null==o”http://sports.yahoo.com/”o.setAttribute(“aria-expanded”,”false”)},_=function(){if(g&&!g.getAttribute(“src”)&&g.getAttribute(“data-src”)){var t=g.getAttribute(“data-src”)”http://sports.yahoo.com/””http://sports.yahoo.com/”;addConsentToUrl(t).then((function(e){g.setAttribute(“src”,e)})),e.onDestroy((function(){g.setAttribute(“src”,”http://sports.yahoo.com/”)}))}};if(h&&(addHoverEvent(e,h,”ybar”,”sign-in”,params={elm:”signin”,subsec:”settings”,itc:”2″}),addDoneUrlToAllLink(t,e)),o”http://sports.yahoo.com/”r”http://sports.yahoo.com/”f){if(r)y(!0);else{if(n&&”true”===n.getAttribute(“data-pfs”))return void pfs(e,t,Css$3[“pfs-iframe”]);if(y(!1),e.addEventListener(“close-all-menus”,(function(){f&&f.classList.contains(Css$3.show)&&f.parentNode&&!isHovered(f.parentNode)&&b()})),e.onDestroy((function(){b()})),o){if(o.onchange=function(){e.triggerEvent(“close-all-menus”)},params={itc:”2″,elm:”menu”,elmt:”user-info”,subsec:”accounts”},i){var w=document.querySelector(“#ybarAccountMenuOpener”);w&&w.setAttribute(“data-ylk”,”slk:Settings;elm:btn;sec:ybar;subsec:settings;pkgt:profile-pane;itc:0;tar:login.yahoo.com”),function(){n&&addOverlay(n,”right”,e);var t=document.querySelector(“.”.concat(Css$3[“ybar-icon-image-wrapper”]));e.addElementListener(t,”click”,(function(){null==n”http://sports.yahoo.com/”n.dispatchEvent(new CustomEvent(“toggle-overlay”))}))}(),e.addElementListener(s,”click”,(function(){var e,t;accSettingDropdownOpen?(null==c”http://sports.yahoo.com/”c.classList.remove(“hide”),null==l”http://sports.yahoo.com/”l.classList.add(“hide”),p&&(p.style.height=”0″)):(null==c”http://sports.yahoo.com/”c.classList.add(“hide”),null==l”http://sports.yahoo.com/”l.classList.remove(“hide”),p&&(t=(e=p).scrollHeight,e.style.height=t+”px”));var n=”manage-account-open”,o={elm:”expand”,subsec:”settings”,pkgt:”profile-pane”,itc:”1″};(accSettingDropdownOpen=!accSettingDropdownOpen)”http://sports.yahoo.com/”(n=”manage-account-close”,o.elm=”btn”),beaconClick(“ybar”,n,”http://sports.yahoo.com/”,o)})),notify(e,t)}else{var E=document.querySelector(“#ybarAccountMenu + label”);E&&(addHoverEvent(e,E,”ybar”,”profile-expand”,params),e.addElementListener(E,”mouseenter”,_),e.addElementListener(m,”focus”,_)),o&&o.parentNode&&(e.addElementListener(o.parentNode,”mouseenter”,v),e.addElementListener(o.parentNode,”focusin”,v))}hideOutlineOnMouseDown(“#ybarAccountMenu”,”#ybarAccountMenu + label”,e)}e.addElementListener(m,”focusin”,(function(){null==n”http://sports.yahoo.com/”n.classList.add(“ybarMenuOpen”),null==o”http://sports.yahoo.com/”o.setAttribute(“aria-expanded”,”true”)})),e.addElementListener(m,”focusout”,b),e.addElementListener(a,”click”,b),d&&(e.addElementListener(d,”focusin”,b),e.addElementListener(d,”mouseenter”,b)),u&&(e.addElementListener(u,”focusin”,b),e.addElementListener(u,”mouseenter”,b))}Object.keys(imageElementsConfig).forEach((function(e){var t=imageElementsConfig[e],n=document.querySelector(“.”.concat(Css$3[t.selector]));n&&(n.onerror=function(){pictureOnErrorForSize(t.size,n)})}))}};initModule(“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(Css$3.mobile,” .”).concat(Css$3[“ybar-account-user-email”])),isSmartphone:document.querySelector(“.”.concat(Css$3.smartphone)),ybarMenuManagePub:document.getElementById(“ybarMenuManagePub”),arrowWrapper:document.getElementById(“smartphone-arrow”),downArrow:document.getElementById(“down-arrow”),upArrow:document.getElementById(“up-arrow”),otherAccWrapper:document.getElementById(“otherAccWrapper”),signInAccountMenu:document.querySelector(“.”.concat(Css$3[“ybar-mod-account”],” .”).concat(Css$3[“sign-in-menu”])),signInBtn:document.querySelector(“.”.concat(Css$3[“ybar-mod-account”],” .”).concat(Css$3[“ybar-login-btn”])),ybarModAccount:document.querySelector(“.”.concat(Css$3[“ybar-mod-account”])),yahooPlusImpression:t&&t.querySelector(“.”.concat(Css$3[“ybar-account-yahoo-plus-imp”])),crumb:document.querySelector(‘input[name=”crumb”]’),ybarAccMenuItemTemplate:document.getElementById(“ybarAccMenuItemTemplate”),generalSignin:document.getElementById(“generalSignin”),inSessionSignin:document.getElementById(“inSessionSignin”),notifyContainer:document.getElementById(“notification-container”),mailNode:document.getElementById(“ybarMailLink”),smartphoneNotifContainer:document.getElementById(“smartphoneNotifContainer”),notificationMenu:document.getElementById(“smartphoneNotifMenu”),notifBadge:document.getElementById(“notif-badge”),profNotifBadge:document.querySelector(“.”.concat(Css$3[“prof-notif-badge”])),dropdownContainer:document.getElementById(“notifDropdownContainer”),ybarNotificationBody:document.getElementById(“ybarNotificationBody”),backButton:document.getElementById(“backButton”),ybarAccountMenuBody:document.getElementById(“ybarAccountMenuBody”)};init$2(e,n)}));var Css$1={“popover-body”:”_yb_1srt5″,”ybar-mail-item-desc”:”_yb_19ph9″,”ybar-mail-item-image”:”_yb_4qz3i”,”ybar-mail-item-link”:”_yb_1y53j”,”ybar-mail-item-name”:”_yb_e8y79″,”ybar-mail-item-snippet”:”_yb_19n4h”,”ybar-mail-item-time”:”_yb_1r34x”,”ybar-mail-item-unread”:”_yb_1ox2x”,”ybar-mail-link”:”_yb_c05lx”,”ybar-mail-list”:”_yb_e1rrl”,”ybar-mail-preview”:”_yb_z01my”,”ybar-mail-signin-link”:”_yb_18nxu”,”ybar-mod-mail”:”_yb_gpfzo”,”ybar-mod-mail-promo-imp”:”_yb_1nzxu”},JwsRequestType,JwsRequestStatus;!function(e){e[e.COUNT=0]=”COUNT”,e[e.PREVIEW=1]=”PREVIEW”}(JwsRequestType”http://sports.yahoo.com/”(JwsRequestType={})),function(e){e[e.PENDING=0]=”PENDING”,e[e.COMPLETE=1]=”COMPLETE”}(JwsRequestStatus”http://sports.yahoo.com/”(JwsRequestStatus={}));var jwsCache=new Map,getCache=function(e){var t=jwsCache.get(e);if(t){if(t.status===JwsRequestStatus.PENDING)return t.promise;var n=Date.now()-12e4;return t.data&&t.lastRequested>n?Promise.resolve(t.data):void 0}},setCacheData=function(e,t){var n={lastRequested:Date.now(),status:JwsRequestStatus.COMPLETE,promise:Promise.resolve(t),data:t};jwsCache.set(e,n)},setCachePromise=function(e,t){var n={lastRequested:Date.now(),status:JwsRequestStatus.PENDING,promise:t};jwsCache.set(e,n)},Jws=function(){function e(){}return Object.defineProperty(e.prototype,”wssid”,{get:function(){var e,t,n=null===(e=window.YBAR)”http://sports.yahoo.com/”void 0===e?void 0:e.wssid;return n”http://sports.yahoo.com/”(n=(null===(t=document.querySelector(‘input[name=”mail_wssid”]’))”http://sports.yahoo.com/”void 0===t?void 0:t.value)”http://sports.yahoo.com/””http://sports.yahoo.com/”,this.wssid=n),n},set:function(e){window.YBAR=window.YBAR”http://sports.yahoo.com/”{},window.YBAR.wssid=e”http://sports.yahoo.com/””http://sports.yahoo.com/”},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,”appid”,{get:function(){var e,t,n=null===(e=window.YBAR)”http://sports.yahoo.com/”void 0===e?void 0:e.appid;return n”http://sports.yahoo.com/”(n=(null===(t=document.querySelector(‘input[name=”mail_appid”]’))”http://sports.yahoo.com/”void 0===t?void 0:t.value)”http://sports.yahoo.com/””http://sports.yahoo.com/”,this.appid=n),n},set:function(e){window.YBAR=window.YBAR”http://sports.yahoo.com/”{},window.YBAR.appid=e”http://sports.yahoo.com/””http://sports.yahoo.com/”},enumerable:!1,configurable:!0}),e.prototype.fetchPreview=function(e,t){var n=(void 0===e?{}:e).maxMessages,o=void 0===n?4:n;return __awaiter(this,void 0,void 0,(function(){var e,n,r,i=this;return __generator(this,(function(a){return e=getCache(JwsRequestType.PREVIEW),!t&&e?[2,e]:(1,n={data:{responseType:”json”,requests:[{id:”GetMailboxId”,uri:”/ws/v3/mailboxes/”,method:”GET”,filters:{select:{mailboxId:”$..mailboxes[?(@.isPrimary==true)].id”}},suppressResponse:!0,requests:[{id:”ListMessages”,uri:”/ws/v3/mailboxes/@.id==$(mailboxId)/messages/@.select==q?q=count%3A6+offset%3A0+folderType%3AINBOX+-sort%3Adate”,method:”GET”}]}]}},r=this._fetch(n,1,(function(e){var t=i._normalizePreviewResponse(e,{maxMessages:o});return setCacheData(JwsRequestType.PREVIEW,t),t})),setCachePromise(JwsRequestType.PREVIEW,r),[2,r])}))}))},e.prototype.fetchCount=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,o,r=this;return __generator(this,(function(i){return t=getCache(JwsRequestType.COUNT),!e&&t?[2,t]:(1,n={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”}]}]}},o=this._fetch(n,1,(function(e){var t=r._normalizerCountResponse(e);return setCacheData(JwsRequestType.COUNT,t),t})),setCachePromise(JwsRequestType.COUNT,o),[2,o])}))}))},e.prototype._fetch=function(e,t,n){var o,r;return __awaiter(this,void 0,void 0,(function(){var i,a,s,c,l,u,d,p,f,h,m,g,y,v,b,_;return __generator(this,(function(w){switch(w.label){case 0:if(i=e.data,a=void 0===i?{}:i,s=e.params,c=void 0===s?{}:s,l=”EC-4008″,u=”EC-4003″,d=this._getYmreqid(),!this.appid)throw new Error(“No appId, user is logged out”);p=__assign({appId:this.appid},c),this.wssid&&(p.wssid=this.wssid),e.params=p,f=[],Object.keys(p).forEach((function(e){var t=p[e];t&&f.push(“http://sports.yahoo.com/”.concat(encodeURIComponent(e),”=”).concat(encodeURIComponent(t)))})),h=f.length?”?”.concat(f.join(“&”)):”http://sports.yahoo.com/”,m=”https://apis.mail.yahoo.com/ws/v3/batch”.concat(h),w.label=1;case 1:return w.trys.push([1,4,,5]),[4,ybarFetch(m,{method:”POST”,body:JSON.stringify(a),credentials:”include”,headers:{“Content-Type”:”application/json”,”X-Oath-YmReqId”:d}})];case 2:return[4,(g=w.sent()).json()];case 3:if(y=w.sent(),g.ok)return[2,n(null===(r=y.result)”http://sports.yahoo.com/”void 0===r?void 0:r.responses)];if((v=null===(o=null==y?void 0:y.error)”http://sports.yahoo.com/”void 0===o?void 0:o.code)===u)return[2,this._handleWssidApiError(y,e,t,n)];throw v===l?new Error(“Session has expired”):new Error(“Mail Api Responded with an Error”);case 4:throw b=w.sent(),logError(“JWS: “.concat((_=b).message),_),b;case 5:return[2]}}))}))},e.prototype._normalizePreviewResponse=function(e,t){var n,o,r,i=this,a=(void 0===t?{}:t).maxMessages,s=void 0===a?4:a;if(!e)return[];var c=((null===(r=null===(o=null===(n=null==e?void 0:e[0])”http://sports.yahoo.com/”void 0===n?void 0:n.response)”http://sports.yahoo.com/”void 0===o?void 0:o.result)”http://sports.yahoo.com/”void 0===r?void 0:r.messages)”http://sports.yahoo.com/”[]).map((function(e){return i._parseRawMessage(e)})).filter((function(e,t){return!!(e&&t0)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._parseRawMessage=function(e){var t,n,o,r,i,a,s=e.id,c=e.snippet,l=e.headers,u=e.flags;return(null==l?void 0:l.date)&&(null===(t=null==l?void 0:l.from)”http://sports.yahoo.com/”void 0===t?void 0:t[0])?{from:(null===(o=null===(n=l.from)”http://sports.yahoo.com/”void 0===n?void 0:n[0])”http://sports.yahoo.com/”void 0===o?void 0:o.name)”http://sports.yahoo.com/””http://sports.yahoo.com/”,email:(null===(i=null===(r=l.from)”http://sports.yahoo.com/”void 0===r?void 0:r[0])”http://sports.yahoo.com/”void 0===i?void 0:i.email)”http://sports.yahoo.com/””http://sports.yahoo.com/”,subject:null==l?void 0:l.subject,read:null!==(a=null==u?void 0:u.read)&&void 0!==a&&a,mid:s,date:parseInt(l.date,10)”http://sports.yahoo.com/”void 0,snippet:c”http://sports.yahoo.com/””http://sports.yahoo.com/”}:null},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}(),loadAssets=function(e,t,n){for(var o,r,i=[],a=[],s=0;s0&&function(e){var t=document.createElement(“script”);t.src=e,t.type=”text/javascript”,t.async=!0,document.getElementsByTagName(“head”)[0].appendChild(t)}(c))}),10)}},getNextGenMailPreview=function(e){postreq({url:”/fp_ngymtls_ms/_rcv/remote”,body:{m_id:”react-wafer-mailpreview”,m_mode:”json”,ctrl:”MailPreview”}},(function(t,n){t”http://sports.yahoo.com/”e(n)}))},loaded=!1,init$1=function(e,t){var n=t.mailModule,o=t.mailLink,r=t.mailSigninLink,i=t.ybarMailMessages;if(n){var a=new Jws;if(e.addElementListener(n,”mouseenter”,(function(){e.triggerEvent(“close-all-menus”),triggerRapidBeacon()})),e.addEventListener(“close-all-menus”,(function(){isHovered(n)”http://sports.yahoo.com/”hideMailPopover(t)})),e.onDestroy((function(){hideMailPopover(t)})),loaded=!1,loadUnreadCount(e,t,a),i)e.addElementListener(o,”mouseover”,(function(){loadMessages(e,t,a),fireYahooImpBeacon(e,t)})),e.addElementListener(o,”focus”,(function(){loadMessages(e,t,a),triggerRapidBeacon(),fireYahooImpBeacon(e,t)}));else{var s=o.getAttribute(“data-redirect-params”);if(s&&”http://sports.yahoo.com/”!==s){var c=o.href;e.onDestroy((function(){o.href=c})),s=-1!==o.href.indexOf(“&activity=ybar-“)?”http://sports.yahoo.com/”:s.replace(/[[pspid]]/,getSpaceId()),o.href=appendQorA(o.href)+s,(null==r?void 0:r.href)&&(r.href=appendQorA(r.href)+s)}}}},mailBeaconTimeout=!1,triggerRapidBeacon=function(){mailBeaconTimeout”http://sports.yahoo.com/”(mailBeaconTimeout=!0,sendRapid({slk:”Mail”,elm:”expand”,sec:”ybar”,subsec:”mailprev”,itc:”2″}),setTimeout((function(){mailBeaconTimeout=!1}),1e3))},sendRapid=function(e){beaconClick(“ybar”,(null==e?void 0:e.slk)”http://sports.yahoo.com/””Mail”,”http://sports.yahoo.com/”,e,null)},relativeDate=function(e){if(!e)return”http://sports.yahoo.com/”;var t=Math.round((new Date).getTime()/1e3)-e;return t86400?Math.floor(t/86400)+”d”:”http://sports.yahoo.com/”},createMailItemElement=function(e,t,n,o){var r,i=getTemplateContent(t.ybarMailItemTemplate),a=null===(r=i.children)”http://sports.yahoo.com/”void 0===r?void 0:r[0];if(!a&&i.childNodes)for(var s=0;s0){if(o.style.visibility=”visible”,r){var n=t>999,a=i?”99+”:”999+”;r.textContent=n?a:t+”http://sports.yahoo.com/”}e.onDestroy((function(){o.style.visibility=”hidden”,r&&(r.textContent=”http://sports.yahoo.com/”)}))}})).catch((function(){}))},loadMessages=function(e,t,n){loaded”http://sports.yahoo.com/”(loaded=!0,t.isNextGenYahoo?loadNGYMailPreview(e,t):loadMailPreview(e,t,n))},loadMailPreview=function(e,t,n){n.fetchPreview().then((function(n){var o;if(n&&0!==n.length){var r=document.createElement(“ul”);r.className=Css$1[“ybar-mail-list”];for(var i=0;i a”),o=document.querySelector(“#ybar-navigation-item-mail > a > span”);null!==t&&null!==n&&(new Jws).fetchCount().then((function(t){o&&t>0&&(o.textContent=”(“+(t>999?”999+”:t)+”)”,e.onDestroy((function(){o.textContent=”http://sports.yahoo.com/”})))})).catch((function(){}))},nodeContains=function(e,t){var n=!1;if(!e”http://sports.yahoo.com/”!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},MORE_MENU_WIDTH=61,MORE_MENU_LONG_LIST_COUNT=10,moreMenuIndex=-1,marginLeftOffset,initDropdowns=function(e,t){var n;__spreadArray([],null===(n=t.ybarNav)”http://sports.yahoo.com/”void 0===n?void 0:n.querySelectorAll(“.”.concat(t.dropdownOpenClass)),!0).forEach((function(e){return e.classList.remove(t.dropdownOpenClass)}));var o=t.isTablet?”touchstart”:”mouseover”,r=delegate_1(“.”.concat(t.dropdownWrapperClass,”, .”).concat(t.navigationDropdownListClass),o,(function(n){if(window”http://sports.yahoo.com/”document){var o=window.innerWidth”http://sports.yahoo.com/”document.documentElement.clientWidth,r=n.delegateTarget;if(r&&-1!=r.className.indexOf(t.dropdownWrapperClass)&&(r=r.querySelector(“.”.concat(t.navigationDropdownListClass))),r){r.style.removeProperty(“left”),t.shiftMoreMenuEnabled&&r.style.removeProperty(“margin-left”),t.shiftMoreMenuEnabled&&marginLeftOffset&&(r.style.marginLeft=marginLeftOffset+”px”);var i=r.getBoundingClientRect().right;i>o&&(t.shiftMoreMenuEnabled?(marginLeftOffset”http://sports.yahoo.com/”(marginLeftOffset=parseInt(window.getComputedStyle(r).marginLeft,10)),r.style.marginLeft=marginLeftOffset+o-i+”px”):r.style.left=o-i+”px”)}}else{var a=new Error(“Dropdown could not be initialized”);e.logError(“Error:”,a)}}));e.onDestroy((function(){r.destroy()}))},updateMoreMenu=function(e,t,n){var o,r,i,a=-1,s=0;if(e.ybarNav){var c=window.getComputedStyle(e.ybarNav),l=parseInt(c.width,10)-parseInt(c.paddingLeft,10)-parseInt(c.paddingRight,10),u=MORE_MENU_WIDTH,d=e.navigationPlacement();if(d)u+=d.getBoundingClientRect().width;for(var p=0;ph&&(p!==e.navItems.length-1″http://sports.yahoo.com/”s+f>h”http://sports.yahoo.com/”e.moreMenuDropdown&&e.moreMenuDropdown.hasChildNodes()&&moreMenuIndexmoreMenuIndex&&-1!==moreMenuIndex)for(var g=moreMenuIndex;g=a;){var v=e.navItems[y].cloneNode(!0),b=v.querySelector(“a”);b&&(b.setAttribute(“id”,”http://sports.yahoo.com/”),b.classList.remove(Css.focused));var _=v.querySelector(“.”.concat(e.navigationDropdownListClass));if(_&&(_.style.display=”none”),v.classList.remove(e.dropdownWrapperClass),v.classList.remove(e.ybarNavigationItemClass),v.classList.add(e.navigationDropdownItemClass),e.moreMenuDropdown){e.moreMenuDropdown.insertBefore(v,e.moreMenuDropdown.firstChild);var w=v.getElementsByTagName(“a”)[0];n.unshiftMoreMenuItem(w)}null===(i=e.navItems[y].querySelector(“a”))”http://sports.yahoo.com/”void 0===i”http://sports.yahoo.com/”i.setAttribute(“tabindex”,”-1″),y–}moreMenuIndex=a}if(-1!==a&&e.navList){var E=parseInt(s.toString(),10)+”px”;e.navList.style.maxWidth=E,t.textContent=”.”.concat(Css[“ybar-nav-list-desktop”],”{ 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>MORE_MENU_LONG_LIST_COUNT?e.moreMenuDropdown.classList.add(e.longListClass):null!==e.moreMenuDropdown&&e.moreMenuDropdown.classList.remove(e.longListClass)}},handleDropdownFocus=function(e,t){var n=delegate_1(“.”.concat(t.dropdownWrapperClass),”focusin”,(function(e){var n=e.delegateTarget;n&&n.classList.contains(t.dropdownWrapperClass)&&n.classList.add(t.dropdownOpenClass)})),o=delegate_1(“.”.concat(t.dropdownWrapperClass,”, .”).concat(t.navigationDropdownListClass),”focusout”,(function(e){var n=e.delegateTarget;if(null==n?void 0:n.classList.contains(t.navigationDropdownListClass)){var o=n.parentElement;o&&!o.contains(e.relatedTarget)&&o.classList.contains(t.dropdownWrapperClass)&&o.classList.remove(t.dropdownOpenClass)}else(null==n?void 0:n.classList.contains(t.dropdownOpenClass))&&n.classList.remove(t.dropdownOpenClass)}));e.onDestroy((function(){var e;n.destroy(),o.destroy(),__spreadArray([],null===(e=t.ybarNav)”http://sports.yahoo.com/”void 0===e?void 0:e.querySelectorAll(“.”.concat(t.dropdownOpenClass)),!0).forEach((function(e){e.classList.remove(t.dropdownOpenClass);var n=document.activeElement;nodeContains(t.ybarNav,n)&&setTimeout((function(){null==n”http://sports.yahoo.com/”n.blur()}),1)}))}))},setNavigationFocus=function(e,t,n,o){for(var r=t”http://sports.yahoo.com/”window.location.pathname,i=n”http://sports.yahoo.com/”window.location.hostname,a=(o”http://sports.yahoo.com/”{}).setParentFocus,s=void 0!==a&&a,c=__spreadArray([],e.topLevelNavLinks,!0),l=null,u=null,d=0;d0),i=new A11yNavigation(e,{containerElm:t.ybarNav,navlistItemSelector:”.”.concat(Css[“ybar-parent-navigation”],” > li”),dropdownClass:t.dropdownWrapperClass,enableMoreMenu:r,moreMenuNavElm:t.moreMenuMainFocusItem,isUserAccountNavigation:!1});initDropdowns(e,t),showMailUnreadCount(e),e.addElementListener(document,”DOMContentLoaded”,(function(){showMailUnreadCount(e)})),handleDropdownFocus(e,t);var a=e.getConfig().bucketConfig,s=(void 0===a?{}:a).enableDynamicNavfocus;if(void 0!==s&&s&&setNavigationFocus(t),e.addEventListener(“nav:setFocus”,(function(e){var n=e.detail,o=void 0===n?{}:n,r=o.hostname,i=void 0===r?window.location.hostname:r,a=o.pathname,s=void 0===a?window.location.pathname:a,c=o.options;setNavigationFocus(t,s,i,void 0===c?{}:c)})),r){var c=document.createElement(“style”);c.title=”ybar_nav_interim”,document.head.appendChild(c);var l=delegate_1(“#ybar-nav-more-menu ul a”,”click”,(function(t){e.triggerEvent(“navigation”,{event:t})}));e.addEventListener(“nav:resize”,(function(){updateMoreMenu(t,c,i)})),updateMoreMenu(t,c,i),e.addElementListener(window,”load”,(function(){updateMoreMenu(t,c,i)})),e.addElementListener(window,”resize”,(function(){updateMoreMenu(t,c,i)})),e.onDestroy((function(){var e=c.parentNode;null==e”http://sports.yahoo.com/”e.removeChild(c),l.destroy()}))}},SELECTOR_MORE_MENU=”#ybar-nav-more-menu”;initModule(“ybar-mod-navigation”,(function(e){var t,n={dropdownWrapperClass:Css[“dropdown-wrapper”],isFuji2:null!==document.querySelector(“.ybar-ytheme-fuji2”),isTablet:null!==document.querySelector(“.tablet”),longListClass:Css[“long-list”],moreMenuDropdown:document.querySelector(“http://sports.yahoo.com/”.concat(SELECTOR_MORE_MENU,” ul”)),moreMenuNavItem:document.querySelector(SELECTOR_MORE_MENU),moreMenuNavLinksSelector:”http://sports.yahoo.com/”.concat(SELECTOR_MORE_MENU,” ul a”),moreMenuMainFocusItem:document.querySelector(“http://sports.yahoo.com/”.concat(SELECTOR_MORE_MENU,’ > span[tabindex=”0″]’)),navigationDropdownItemClass:Css[“navigation-dropdown-item”],navigationDropdownListClass:Css[“navigation-dropdown-list”],navItems:document.querySelectorAll(“li.”.concat(Css[“ybar-navigation-item”])),topLevelNavLinks:document.querySelectorAll(“li.”.concat(Css[“ybar-navigation-item”],” > a”)),navLinks:document.querySelectorAll(“.ybar-mod-navigation a”),navList:document.querySelector(“.ybar-mod-navigation ul”),shiftMoreMenuEnabled:document.querySelector(“.ybar-shift-more-menu”),ybarNav:document.getElementById(“ybar-navigation”),ybarNavigationItemClass:Css[“ybar-navigation-item”],dropdownOpenClass:Css[“dropdown-open”],navigationPlacement:function(){return t”http://sports.yahoo.com/”(t=document.getElementById(“ybar-nav-placement”)),t}};init(e,n)}));var Fetcher=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 __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.prefetch];case 1:return e.sent(),[2,this.response]}}))}))},e}(),trending=createCommonjsModule((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)})),news=createCommonjsModule((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)})),fantasySportsTrophy=createCommonjsModule((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”])})),navSports=createCommonjsModule((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”])})),SportsBaseball=createCommonjsModule((function(e){var t;(t=void 0===t?{}:t).SportsBaseball={name:”SportsBaseball”,height:24,width:24,path:”M12.644 14.976c-.215.293-.417.593-.603.897-.315.513-.155 1.185.358 1.5.513.317 1.184.157 1.5-.356.157-.253.323-.504.503-.748.358-.486.254-1.17-.23-1.526-.486-.357-1.17-.253-1.526.232zM12.07 18.105c-.567-.205-1.193.09-1.397.655-.124.34-.233.676-.33 1-.115.384-.01.8.275 1.085.127.127.284.22.458.272.277.083.575.053.83-.085.255-.137.444-.37.527-.647.086-.286.183-.582.292-.884.204-.565-.09-1.19-.656-1.395zM21.117 11.09c-.172-.578-.78-.906-1.356-.734-.323.097-.657.206-.998.33-.567.202-.862.827-.66 1.394.055.15.142.29.256.402.3.3.743.4 1.14.256.302-.108.6-.205.886-.29.278-.083.51-.273.648-.528s.168-.553.085-.83zM15.877 12.044c-.307.187-.61.39-.904.606-.314.23-.48.612-.438 1 .043.387.29.722.647.878.357.156.77.11 1.084-.12.242-.18.49-.345.744-.498.515-.313.68-.984.366-1.5-.313-.515-.984-.68-1.5-.366zM4.5 11.275c-.303.11-.6.206-.885.292-.277.083-.51.272-.647.527-.138.254-.168.553-.085.83.05.173.145.33.272.458.284.284.7.39 1.085.275.324-.097.66-.206 1-.33.562-.207.852-.83.648-1.394-.204-.563-.824-.857-1.39-.658zM11.92 5.897c.567.203 1.192-.092 1.395-.66.123-.34.232-.674.33-.998.17-.578-.157-1.186-.735-1.358-.577-.172-1.185.156-1.357.734-.086.287-.183.583-.29.886-.144.397-.044.84.255 1.14.113.114.25.2.402.255zM7.73 9.6c-.243.18-.494.345-.747.502-.333.203-.532.57-.52.96.01.39.228.745.572.93.343.185.76.173 1.092-.033.304-.187.604-.39.897-.604.314-.23.48-.612.438-1-.043-.387-.29-.722-.647-.878-.357-.156-.77-.11-1.084.12zM11.35 9.027c.217-.294.42-.597.606-.904.31-.515.146-1.185-.368-1.497-.514-.312-1.184-.15-1.498.364-.153.253-.32.5-.497.744-.357.485-.253 1.168.232 1.525.485.356 1.168.252 1.525-.233zM12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12C23.993 5.376 18.624.007 12 0zm0 21.818c-5.422 0-9.818-4.396-9.818-9.818S6.578 2.182 12 2.182 21.818 6.578 21.818 12c-.006 5.42-4.398 9.812-9.818 9.818z”},e.exports&&(e.exports=t.SportsBaseball)})),SportsBasketball=createCommonjsModule((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)})),SportsFootball=createCommonjsModule((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)})),SportsFootballNCAA=createCommonjsModule((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)})),SportsHockey=createCommonjsModule((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)})),SportsMMA=createCommonjsModule((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)})),SportsSoccer=createCommonjsModule((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)})),golf=createCommonjsModule((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)})),SportsRacing=createCommonjsModule((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)})),tennisMens=createCommonjsModule((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”])})),SportsMedal=createCommonjsModule((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)})),LeagueIcons={default:navSports,nfl:SportsFootball,nhl:SportsHockey,mlb:SportsBaseball,nba:SportsBasketball,ncaab:SportsBasketball,ncaaf:SportsFootballNCAA,ncaaw:SportsBasketball,wnba:SportsBasketball,mma:SportsMMA,soccer:SportsSoccer,golf:golf,nascar:SportsRacing,indycar:SportsRacing,tennis:tennisMens,olympics:SportsMedal},LeagueIconsViewBox={mma:”0 0 135 135″,golf:”0 0 68 68″},LIST_IDS={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″},NO_OP=function(){},urls={data:function(e,t){return”http://sports.yahoo.com/”.concat(“https://api.search.yahoo.com”,”/datap/v3/search?appid=190e4fbb&query=”).concat(encodeURIComponent(e),”&market=”).concat(encodeURIComponent(t),”&features=sports.assist,sports.assist.news”)},headlines:function(e){var t,n=LIST_IDS[e]”http://sports.yahoo.com/”LIST_IDS.default,o=(null===(t=/-([A-Z]{2})$/.exec(e))”http://sports.yahoo.com/”void 0===t?void 0:t[1])”http://sports.yahoo.com/””US”;return”http://sports.yahoo.com/”.concat(“https://ncp-gw-sports.media.yahoo.com”,”/api/v1/gql/stream_view?listId=”).concat(n,”&namespace=sports&id=headlines&version=v1&lang=”).concat(encodeURIComponent(e),”&region=”).concat(encodeURIComponent(o),”&ssl=true”)},search:function(e){return void 0===e&&(e=”http://sports.yahoo.com/”),”https://search.yahoo.com/search?p=”.concat(encodeURIComponent(e),”&fr=uh3_sports_web_gs&fr2=p:sprt,m:sb”)}},convertToSA={team:function(e){var t,n,o,r,i,a;return{imageIcon:null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.image,title:null!==(o=null===(n=e.fd)”http://sports.yahoo.com/”void 0===n?void 0:n.display_name)&&void 0!==o?o:”http://sports.yahoo.com/”,subtitle:null===(r=e.fd)”http://sports.yahoo.com/”void 0===r?void 0:r.league,link:(null===(i=e.fd)”http://sports.yahoo.com/”void 0===i?void 0:i.url)”http://sports.yahoo.com/”urls.search(null===(a=e.fd)”http://sports.yahoo.com/”void 0===a?void 0:a.display_name)}},player:function(e){var t,n,o,r,i,a,s;return{imageIcon:(null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.image)”http://sports.yahoo.com/””https://s.yimg.com/cv/apiv2/sportssearch/silhouette@2x.png”,imageIconBgColor:null===(n=e.fd)”http://sports.yahoo.com/”void 0===n?void 0:n.primary_color,title:null!==(r=null===(o=e.fd)”http://sports.yahoo.com/”void 0===o?void 0:o.display_name)&&void 0!==r?r:”http://sports.yahoo.com/”,subtitle:null===(i=e.fd)”http://sports.yahoo.com/”void 0===i?void 0:i.subtitle,link:(null===(a=e.fd)”http://sports.yahoo.com/”void 0===a?void 0:a.url)”http://sports.yahoo.com/”urls.search(null===(s=e.fd)”http://sports.yahoo.com/”void 0===s?void 0:s.display_name)}},league:function(e){var t,n,o,r,i,a,s,c,l,u;return{icon:(null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.image)?void 0:isFantasy(e)?fantasySportsTrophy:LeagueIcons[null!==(o=null===(n=e.fd)”http://sports.yahoo.com/”void 0===n?void 0:n.id)&&void 0!==o?o:”http://sports.yahoo.com/”]”http://sports.yahoo.com/”LeagueIcons.default,iconWidth:(null===(r=e.fd)”http://sports.yahoo.com/”void 0===r?void 0:r.image)?void 0:54,iconHeight:(null===(i=e.fd)”http://sports.yahoo.com/”void 0===i?void 0:i.image)?void 0:54,viewBox:(null===(a=e.fd)”http://sports.yahoo.com/”void 0===a?void 0:a.image)”http://sports.yahoo.com/”isFantasy(e)?void 0:LeagueIconsViewBox[null!==(c=null===(s=e.fd)”http://sports.yahoo.com/”void 0===s?void 0:s.id)&&void 0!==c?c:”http://sports.yahoo.com/”],imageIcon:null===(l=e.fd)”http://sports.yahoo.com/”void 0===l?void 0:l.image,title:e.k,link:(null===(u=e.fd)”http://sports.yahoo.com/”void 0===u?void 0:u.url)”http://sports.yahoo.com/”urls.search(e.k)}},other:function(e){var t,n,o,r,i,a;return{imageIcon:null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.image,title:(null===(n=e.fd)”http://sports.yahoo.com/”void 0===n?void 0:n.display_name)”http://sports.yahoo.com/”e.k,subtitle:(null===(o=e.fd)”http://sports.yahoo.com/”void 0===o?void 0:o.subtitle)”http://sports.yahoo.com/”(null===(r=e.fd)”http://sports.yahoo.com/”void 0===r?void 0:r.league),link:(null===(i=e.fd)”http://sports.yahoo.com/”void 0===i?void 0:i.url)”http://sports.yahoo.com/”urls.search((null===(a=e.fd)”http://sports.yahoo.com/”void 0===a?void 0:a.display_name)”http://sports.yahoo.com/”e.k)}},news:function(e){return{icon:news,title:e.title,subtitle:e.sourceNameShort,link:e.sourceUrl”http://sports.yahoo.com/”urls.search(e.title),timestamp:e.publishDate}},headline:function(e){var t,n,o,r,i;return{icon:trending,noIconBg:!0,iconWidth:20,iconHeight:20,itemIconColor:”188fff”,title:null!==(n=null===(t=e.content)”http://sports.yahoo.com/”void 0===t?void 0:t.title)&&void 0!==n?n:”http://sports.yahoo.com/”,link:(null===(r=null===(o=e.content)”http://sports.yahoo.com/”void 0===o?void 0:o.clickThroughUrl)”http://sports.yahoo.com/”void 0===r?void 0:r.url)”http://sports.yahoo.com/”urls.search(null===(i=e.content)”http://sports.yahoo.com/”void 0===i?void 0:i.title)}}},isPlayer=function(e){var t,n;return(null!==(n=null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.id)&&void 0!==n?n:”http://sports.yahoo.com/”).indexOf(“.p.”)>-1},isTeam=function(e){var t,n;return(null!==(n=null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.id)&&void 0!==n?n:”http://sports.yahoo.com/”).indexOf(“.t.”)>-1},isLeague=function(e){var t,n;return”true”===(null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.isLeague)&&!!(null===(n=e.fd)”http://sports.yahoo.com/”void 0===n?void 0:n.id)”http://sports.yahoo.com/”isFantasy(e)},isFantasy=function(e){var t,n,o=null!==(n=null===(t=e.fd)”http://sports.yahoo.com/”void 0===t?void 0:t.url)&&void 0!==n?n:”http://sports.yahoo.com/”;return o.indexOf(“fantasysports.yahoo.com”)>-1″http://sports.yahoo.com/”o.indexOf(“dailyfantasy”)>-1},DataFetcher=function(e){function t(t,n){var o=e.call(this)”http://sports.yahoo.com/”this;return o.locale=t,o.strings=n,o}return __extends(t,e),t.prototype.fetch=function(e,t){return __awaiter(this,void 0,void 0,(function(){var t,n=this;return __generator(this,(function(o){switch(o.label){case 0:return void 0===e?[2,this.response]:[4,ybarFetch(urls.data(e,this.locale),{}).then((function(e){return e.json()})).then((function(e){var t,o,r,i,a,s,c=null===(o=null===(t=e.response)”http://sports.yahoo.com/”void 0===t?void 0:t.search)”http://sports.yahoo.com/”void 0===o?void 0:o.results;if(!c)return[];var l=null!==(i=null===(r=c[“sports.assist”])”http://sports.yahoo.com/”void 0===r?void 0:r.data)&&void 0!==i?i:[],u=[],d=[],p=[],f=[];return l.forEach((function(e){isPlayer(e)?d.push(convertToSA.player(e)):isTeam(e)?u.push(convertToSA.team(e)):isLeague(e)?p.push(convertToSA.league(e)):f.push(convertToSA.other(e))})),[{type:”sectionList”,sectionName:”teams”,title:n.strings.SECTION_TEAMS”http://sports.yahoo.com/””Teams”,items:u},{type:”sectionList”,sectionName:”players”,title:n.strings.SECTION_PLAYERS”http://sports.yahoo.com/””Players”,items:d},{type:”sectionList”,sectionName:”other”,title:n.strings.SECTION_LEAGUES”http://sports.yahoo.com/””Leagues”,items:p},{type:”sectionList”,sectionName:”other”,title:n.strings.SECTION_OTHER”http://sports.yahoo.com/””Other”,items:f},{type:”sectionList”,sectionName:”news”,title:n.strings.SECTION_NEWS”http://sports.yahoo.com/””News”,items:(null===(s=null===(a=c[“sports.assist.news”])”http://sports.yahoo.com/”void 0===a?void 0:a.data)”http://sports.yahoo.com/”void 0===s?void 0:s.map(convertToSA.news))”http://sports.yahoo.com/”[]}]})).catch((function(e){return logError(“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}(Fetcher),HeadlinesFetcher=function(e){function t(t,n){var o=e.call(this)”http://sports.yahoo.com/”this;return o.prefetch=ybarFetch(urls.headlines(t),{credentials:”include”}).then((function(e){return e.json()})).then((function(e){var t,r,i;o.response={timestamp:(new Date).getTime(),suggestions:[{type:”sectionList”,sectionName:”trending”,title:n.SECTION_TRENDING”http://sports.yahoo.com/””Trending”,items:(null===(i=null===(r=null===(t=e.data)”http://sports.yahoo.com/”void 0===t?void 0:t.mainStream)”http://sports.yahoo.com/”void 0===r?void 0:r.stream)”http://sports.yahoo.com/”void 0===i?void 0:i.map(convertToSA.headline))”http://sports.yahoo.com/”[]}]}})).catch((function(e){logError(“Error fetching SA trending headlines”,e)})),o}return __extends(t,e),t}(Fetcher),getPlugin=function(e,t){var n=(new Date).getTime(),o=e.getConfig(),r=o.locale,i=o.i18n,a=(null==i?void 0:i[“searchjs-lib”])”http://sports.yahoo.com/”{},s=new DataFetcher(r,a),c=new HeadlinesFetcher(r,a);return{getSearchResult:function(e,t,o){return void 0===o&&(o=NO_OP),__awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return e”http://sports.yahoo.com/””focus”!==(null==t?void 0:t.type)?[3,2]:[4,c.fetch(e,n).then(o)];case 1:return r.sent(),[3,4];case 2:return e?[4,s.fetch(e,n).then(o)]:[3,4];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))}}},sports=Object.freeze({__proto__:null,getPlugin:getPlugin})})()}};



    Source link

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here