Medals | Fantasy Football | Yahoo! Sports /g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/"):null},Y=function(e,t,n){var a=function(e,t){e=e||!1,t=t||!1;var n=document.querySelector('input[name="fr"]'),a=n?n.value:"yfp-t",r=U("fr")||a,o=document.getElementById("ybar"),i=o&&o.className&&o.className.match(/ybar-variant-([a-z]+)/),s=i?i[1]:"";return-1===["att","frontier","rogers"].indexOf(s)&&(e&&(r+="-m"),t&&(r+="-s")),r}(t,n),r=0,o=e.querySelectorAll('input[name="fr"]');for(r=0;r=0?(a="srch-asst",i=!0,o=t.detail.data.idx+1):a="kybrd":a="icon",Y(e,r,i),c(G(a,"0",o.toString())))},o=function(t){var n=!!document.querySelector(".modal-open"),a=(t.detail&&t.detail.data&&t.detail.data.idx||0)+1;Y(e,n,!0),c(G("srch-asst","0",a.toString()))},i=function(e){if("function"==typeof t.beaconClick&&9!==e.keyCode&&13!==e.keyCode&&1===a){t.saveCurrentTimerValue("search_input_keyboard_input");var n=G("keystroke","1");a++,t.beaconClick(n.sec,n.slk,n.pValue,n.clickParams,null,null)}},s=function(){"function"==typeof t.beaconClick&&t.saveCurrentTimerValue("search_input_focus_click")},c=function(n){if("function"==typeof t.beaconClick){t.saveCurrentTimerValue("search_query_submit");var a={pp:{A_utm:t.getPerformanceI13nObject()}};t.beaconClick(n.sec,n.slk,n.pValue,n.clickParams,null,(function(){setTimeout((function(){e&&e.submit()}),300)}),a)}else e&&e.submit()};n&&(n.addEventListener("enterKeyPressed",r),n.addEventListener("assistSelectionClicked",o),n.addEventListener("searchBtnClicked",r),n.addEventListener("keydown",i),n.addEventListener("click",s),z(e),t.saveCurrentTimerValue("search_assist_ready"))}(e.searchBox,p);else{var r="Search lib not found. SearchAssist failed to initialise";X(r,new Error(r))}},K={boldTag:'{s}',clearButtonId:"ybar-sbq-x",suppressEmptyQuery:!0,anykey:!0,autofocus:!0,fr2:"sa-gp-ybar",searchBoxId:"ybar-sbq",cssClass:{container:V["sa-sbx-container"],trayContainer:V.sa+" "+V.lowlight,tray:V["sa-tray"],traySub:V["sa-tray"]+" "+V["sub-assist"]+" "+V["no-wrap"],ul:V["sa-tray-list-container"],liHighlight:V["list-item-hover"],li:"",span:"",text:"",aria:"",actionContainer:V["sa-fd-actn-cont"],relatedSearches:V["related-title"],trendingNow:V["trending-title"]}},Z=d((function(e){var t=function(e,t){var n=function(){if("Microsoft Internet Explorer"===e.navigator.appName){var t=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e.navigator.userAgent);return t&&t[1]&&parseFloat(t[1])}return!1}();function a(e,t){e.prototype=Object.create?Object.create(t.prototype):function(e){function t(){}return t.prototype=e,new t}(t.prototype),e.prototype.constructor=e}function r(e){return"function"==typeof e.trim?e.trim():e.replace(/^\s+|\s+$/gm,"")}function o(e){if(n&&n<9&&void 0!==e.createTextRange){var t=e.createTextRange();t.collapse(!1),t.select()}else"number"==typeof e.selectionStart&&(e.selectionStart=e.selectionEnd=e.value.length)}function i(e){"focus"in e&&e.focus()}function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\\\$&")}function c(){this.config={}}function l(){this.itemList=[],this.selectedItem=!1}function u(e){this.saView=e,this.currentStatus=!1,this.callBackIdx=0,this.cbTable={},this.triggered=!1}function d(e,t){this.saModel=e,this.saView=t}function f(){this.config={searchBoxId:"yschsp",clearButtonId:"sbq-clear",fr2:"sa-gp-search",saBase:"//search.yahoo.com/sugg/gossip/gossip-us-ura/",ylcParam:{_r:2,gprid:"",n_rslt:0,n_sugg:0,pos:0,pqstr:"",pqstrl:0},gossipParam:{l:1,bm:3,output:"sd1",appid:"search.yahoo.com",nresults:10},max:255,clrLog:{},boldTag:"{s}",annotation:{},cssClass:{container:"sa-sbx-container",trayContainer:"sa lowlight",tray:"sa-tray",traySub:"sa-tray sub-assist no-wrap",ul:"sa-tray-list-container",liHighlight:"list-item-hover",li:"",span:"",text:"",aria:"sa-aria-live-region",actionContainer:"sa-fd-actn-cont",relatedSearches:"related-title",trendingNow:"trending-title"},text:{relatedSearches:"Related Searches",trendingNow:"Trending Now",ariaShown:"new suggestions shown",ariaClosed:"Suggestion box closed"},customEvent:!1,suppressEmptyQuery:!1,enableAnnotation:!1,enableIpos:!0,subAssist:!0,subTrayDelta:5,trayPadding:12,debug:!1,objectName:"SA",anykey:!1,clearBeaconing:!1,enableYlc:!0,autofocus:!1,highlight:{pattern:"",exact:!1},minQueryLength:0,enableTabRender:!0}}return e.YAHOO=e.YAHOO||{},c.prototype={set:function(e,t,n){e.setAttribute(t,n)},get:function(e,t){return e.getAttribute(t)},merge:function e(t,n){for(var a in n)"object"==typeof n[a]&&"object"==typeof t[a]?e(t[a],n[a]):t[a]=n[a]},extend:a,buildUrl:function(e,t){var n=[];for(var a in t)t.hasOwnProperty(a)&&n.push(encodeURIComponent(a)+"="+encodeURIComponent(t[a]));return n.length>0&&(e=e+(-1===e.indexOf("?")?"?":"&")+n.join("&")),e},stopPropagation:function(e){e.returnValue=!1,e.cancelBubble=!0,e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()},setFocus:function(e){o(e),i(e)},cursorEnd:o,select:function(e,t,a){if(n&&n<9&&void 0!==e.createTextRange){var r=e.createTextRange();r.moveStart("character",t),r.moveEnd("character",a),r.select()}else e.selectionStart=t,e.selectionEnd=a,i(e)},htmlEncode:function(e){return e.replace(/[\u00A0-\u9999<>\&]/gim,(function(e){return"&#"+e.charCodeAt(0)+";"}))},ae:function(e,t,n,a){if(a||(a=!1),e.addEventListener)e.addEventListener(t,n,a);else{if(!e.attachEvent)return!1;e.attachEvent("on"+t,n)}},de:function(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n);else{if(!e.detachEvent)return!1;e.detachEvent("on"+t,n)}},ts:function(){return Math.round((new Date).getTime()/1e3)},bold:function(e,t,n,a){var r,o,i=(a.pattern?a.pattern:"")+"(&[^;\\s]*)?(%needles)";return(r=a.exact?[s(n)]:n.split(/[\s|,]+/).filter((function(e){return""!==e})).sort((function(e,t){return t.length-e.length})).map((function(e){return s(e)}))).length?(i=i.replace("%needles",r.join("|")),t=t.replace(new RegExp(i,"gi"),(o=e,function(e,t,n){return t&&!/\s/.test(n)?e:o.replace(/\{s\}/g,n)}))):t},debug:function(t){this.config.debug&&e.console&&e.console.log&&e.console.log(t)}},a(l,c),l.prototype.init=function(n,a){var r=this;if(this.saModel=a,this.config=n,this.clearButton=this.clearButton||t.getElementById(this.config.clearButtonId),this.searchbox=this.searchbox||t.getElementById(this.config.searchBoxId),!this.searchbox)return!1;this.config.gossipParam.pq=this.searchbox.value;for(var o=this.searchbox;o&&!this.formTag;)o.tagName&&"form"===o.tagName.toLowerCase()&&(this.formTag=o),o=o.parentNode;return!!this.formTag&&(this.container=t.createElement("div"),this.container.className=this.config.cssClass.container,this.trayContainer=t.createElement("div"),this.trayContainer.className=this.config.cssClass.trayContainer,this.container.appendChild(this.trayContainer),this.searchbox.parentNode.insertBefore(this.container,this.searchbox.nextSibling),this.searchbox.setAttribute("role","combobox"),this.searchbox.setAttribute("aria-autocomplete","both"),this.ae(e,"load",(function(){r.aria=t.createElement("div"),r.aria.className=r.config.cssClass.aria,r.set(r.aria,"aria-live","polite"),r.aria.style.position="absolute",r.aria.style.left="-9999px",t.body.appendChild(r.aria)})),!0)},l.prototype.getWidth=function(e,n){var a,r={p:e,t:this.config.boldTag.replace("{s}",this.htmlEncode(e)),idx:0},o=t.createElement("div");o.className=this.config.cssClass.container;var i=t.createElement("div");i.className=this.config.cssClass.trayContainer,o.appendChild(i);var s=t.createElement("div");s.className=this.config.cssClass.traySub,s.style.left="-9999px",i.appendChild(s);var c=t.createElement("ul");c.className=this.config.cssClass.ul,s.appendChild(c);var l=this.createItem(r);n&&((a=t.createElement("span")).innerHTML=n,l.suggestionSpan.appendChild(a)),c.appendChild(l.li),this.searchbox.parentNode.insertBefore(o,this.searchbox.nextSibling);var u=l.suggestionSpan.clientWidth+this.config.subTrayDelta;return o.outerHTML="",u},l.prototype.display=function(n){var a=n.data,r=n.sqpos,o=n.hiddenNeedle,i=this,s={};this.hide(),this.selectedItem=!1,this.tray=t.createElement("div"),this.set(this.tray,"type","normal"),this.tray.className=this.config.cssClass.tray,r&&this.config.subAssist&&(this.tray.className=this.config.cssClass.traySub,this.tray.style.left=this.getWidth(o)+"px"),this.ul=t.createElement("ul"),this.ul.className=this.config.cssClass.ul,this.set(this.ul,"role","listbox"),this.tray.appendChild(this.ul),this.itemList=[],this.config.ylcParam.n_sugg=i.saModel.ylc.n_sugg,a.forEach((function(n){var a;if(n.idx=i.itemList.length,4===n.m&&i.config.text.trendingNow&&!s.trending){var o=t.createElement("span");o.className=i.config.cssClass.trendingNow,o.innerHTML=i.config.text.trendingNow,i.ul.appendChild(o),s.trending=!0}var c=i.createItem(n);!r&&i.config.enableAnnotation&&n.m&&i.config.annotation[n.m]&&n.fd&&(a=i.getItemAnnotation(n,c.suggestionSpan))&&c.suggestionSpan.appendChild(a),i.ul.appendChild(c.li),i.itemList.push(c.li),i.ae(c.li,"mouseenter",(function(e){i.resetHighlight(),c.li.className=i.config.cssClass.li+" "+i.config.cssClass.liHighlight,i.selectedItem=n.idx})),i.ae(c.li,"mouseleave",(function(e){c.li.className=i.config.cssClass.li})),i.ae(c.li,"click",(function(a){var r=i.searchbox.value,o=a.target||a.srcElement;i.saModel.ylc.pos=n.idx+1,i.saModel.ylc.pqstr=r,i.saModel.ylc.pqstrl=r.length,i.saModel.ylc.use_case="",i.formTag.fr2&&(i.formTag.fr2.value=i.config.fr2),i.searchbox.value=n.p,o.tagName&&"a"===o.tagName.toLowerCase()&&(i.searchbox.value=i.get(o,"data"),i.saModel.ylc.use_case=o.innerHTML),i.hide(),i.saModel.addYlc(i.saModel.clickTarget),i.config.customEvent?(i.saModel.addYlk(o),function(n,a,r){var o;"function"==typeof e.CustomEvent?(o=new e.CustomEvent(a,{detail:r}),n.dispatchEvent(o)):"function"==typeof t.createEvent?((o=t.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,r),n.dispatchEvent(o)):(t.attachEvent,document.documentElement[a]=r)}(i.searchbox,"assistSelection",{data:n})):i.suggestionClick(a,n)}))})),this.aria&&(this.set(this.aria,"aria-expanded","true"),this.aria.innerHTML="