function getCookie(n){const i=`; ${document.cookie}`,t=i.split(`; ${n}=`);if(t.length===2)return t.pop().split(";").shift()}function setCookie(n,t,i){var r="expires="+i.toUTCString();document.cookie=n+"="+t+";"+r+";path=/"}var ajax={},lazyload;ajax.x=function(){var t,i,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;for(t=["MSXML2.XmlHttp.6.0","MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.2.0","Microsoft.XmlHttp"],n=0;n<t.length;n++)try{i=new ActiveXObject(t[n]);break}catch(r){}return i};ajax.send=function(n,t,i,r,u){u===undefined&&(u=!0);var f=ajax.x();f.open(i,n,u);f.onreadystatechange=function(){f.readyState==4&&t(f.responseText)};i=="POST"&&f.setRequestHeader("Content-type","application/x-www-form-urlencoded");f.send(r)};class CoversTopConsensus extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://contests.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+'/Consensus/Content/Widget.css?v=1"';n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("records"),u=this.getAttribute("cta"),f=this.getAttribute("removeBranding"),e=encodeURIComponent(u),o=this.host+"/Consensus/Widget/TopConsensus/"+r+"/"+f+"/"+e;fetch(o).then(n=>n.text()).then(t=>{var r,i;for(n.innerHTML=t,r=n.querySelectorAll(".consensusLeagueLink"),i=0;i<r.length;i++)r[i].onclick=function(t){var u,r,i;for(t.preventDefault(),u=this.href,r=n.querySelector(".consensusNav").getElementsByTagName("li"),i=0;i<r.length;i++)r[i].className="";this.parentElement.className="selected";fetch(u).then(n=>n.text()).then(t=>{n.querySelector("#TopConsensusBrickContent").innerHTML=t}).catch(function(n,t,i){console.log(i+"\r\n"+n)})}});i.appendChild(t);i.appendChild(n)}}class CoversLeagueConsensus extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://contests.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+'/Consensus/Content/Widget.css?v=1"';n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("league"),u=this.getAttribute("records"),f=this.getAttribute("cta"),e=this.getAttribute("removeBranding"),o="/Consensus/Widget/LeagueConsensus/"+r+"/"+u+"/"+e+"/"+encodeURIComponent(f);fetch(this.host+o).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversMatchupConsensus extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var r=this.shadowRoot,t,n,i;if(this.host=this.getAttribute("host")?this.getAttribute("host"):"https://contests.covers.com",t=document.createElement("style"),t.textContent='@import "'+this.host+'/Consensus/Content/Widget.css?v=1"',n=document.createElement("span"),n.setAttribute("class","wrapper"),i=this.getAttribute("event"),i){var u=this.getAttribute("cta"),f=this.getAttribute("removeBranding"),e=this.getAttribute("hideAnalysis"),o="/Consensus/Widget/MatchupConsensus/"+i+"/"+e+"/"+f+"/"+encodeURIComponent(u);fetch(this.host+o).then(n=>n.text()).then(t=>{n.innerHTML=t});r.appendChild(t);r.appendChild(n)}}}class ExpertsFreePick extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var r=this.shadowRoot,t,i,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://experts.covers.com";t=this.getAttribute("sidebar");i=document.createElement("style");i.textContent=t!=null&&t==="true"?'@import "'+this.host+'/Content/Widget_Sidebar.css"':'@import "'+this.host+'/Content/Widget.css?v=1"';n=document.createElement("span");n.setAttribute("class","wrapper");var u=this.getAttribute("pick-id"),f=this.getAttribute("hide-analysis"),e=this.getAttribute("hide-expert-name"),o=this.getAttribute("hide-sportsbook"),s=this.getAttribute("remove-branding"),h=this.host+"/Widget/FreePick/"+u+"?hideAnalysis="+f+"&hideExpertName="+e+"&hideSportsbook="+o+"&removeBranding="+s;fetch(h).then(n=>n.text()).then(t=>{n.innerHTML=t});r.appendChild(i);r.appendChild(n)}}class CoversEditorialMinimal extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var u=this.shadowRoot,i,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";i=document.createElement("style");i.textContent='@import "'+this.host+'/Editorial/Content/source/ExternalArticleEmbed.css"';t=document.createElement("span");t.setAttribute("class","wrapper");var r=this.getAttribute("articleId"),f=this.getAttribute("removeBranding"),e=this.getAttribute("headline");n=r.length<36?this.host+"/ArticleWidget?id="+r:this.host+"/Editorial/external/ArticleWidget?id="+r;e!=null&&(n=n+"&headline="+e);f!=null&&(n=n+"&removeBranding="+f);fetch(n).then(n=>n.text()).then(n=>{t.innerHTML=n});u.appendChild(i);u.appendChild(t)}}class CoversEditorialTag extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var f=this.shadowRoot,n,u;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";n=document.createElement("span");n.setAttribute("class","wrapper");var i=this.getAttribute("articleTags"),r=this.getAttribute("limit"),t=this.getAttribute("header");u=t!=null&&t!==undefined?this.host+"/ArticleTagWidget?tagids="+i+"&limit="+r+"&header="+t:this.host+"/ArticleTagWidget?tagids="+i+"&limit="+r;fetch(u).then(n=>n.text()).then(t=>{n.innerHTML=t});f.appendChild(n)}}class CoversLineLeague extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("league"),u=this.getAttribute("records"),f=this.getAttribute("cta"),e=this.getAttribute("odds-type"),o=this.getAttribute("time-zone"),s=this.getAttribute("removeBranding"),h=this.getAttribute("removeLinking"),c=this.getAttribute("odds-provider"),l=this.host+"/sports/OddsWidgets/LeagueLinesWidget/"+r+"?callToAction="+f+"&oddsType="+e+"&timeZone="+o+"&records="+u+"&removeBranding="+s+"&oddsProvider="+c+"&removeLinking="+h;fetch(l).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversLineMatchup extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var r=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var f=this.getAttribute("league"),e=this.getAttribute("competitionId"),o=this.getAttribute("cta"),s=this.getAttribute("odds-type"),h=this.getAttribute("time-zone"),c=this.getAttribute("removeBranding"),l=this.getAttribute("removeLinking"),a=this.getAttribute("odds-provider"),u=this.getAttribute("alternateDesign"),i=this.host+"/sports/OddsWidgets/CompetitionLinesWidget/"+f+"/"+e+"?callToAction="+o+"&oddsType="+s+"&timeZone="+h+"&removeBranding="+c+"&oddsProvider="+a+"&removeLinking="+l;u!=null&&(i=i+"&alternateDesign="+u);fetch(i).then(n=>n.text()).then(t=>{n.innerHTML=t});r.appendChild(t);r.appendChild(n)}}class CoversLineFutures extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("odds-eventid"),u=this.getAttribute("odds-provider"),f=this.getAttribute("odds-type"),e=this.getAttribute("teams"),o=this.getAttribute("removeBranding"),s=this.getAttribute("cta"),h=this.host+"/sport/widgets/futureswidget?oddsEventId="+r+"&sportsBook="+u+"&oddsType="+f+"&numberOfTeams="+e+"&removeBranding="+o+"&callToAction="+s;fetch(h).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversLineMultiPartnerFutures extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent="@import "+this.host+"/Sports/Content/css/covers_line_widget.css;";n=document.createElement("span");n.setAttribute("class","wrapper");var e=this.getAttribute("odds-eventid"),o=this.getAttribute("odds-league"),s=this.getAttribute("header"),h=this.getAttribute("cta"),c=this.getAttribute("url"),r=this.getAttribute("tabOne"),u=this.getAttribute("tabTwo"),f=this.getAttribute("tabThree"),l=this.getAttribute("limit"),a=this.getAttribute("favLimit"),v=this.host+"/sport/widgets/futurespartnerwidget?league="+o+"&eventId="+e+"&header="+s+"&cta="+h+"&url="+c+"&limit="+l+"&favLimit="+a;fetch(v).then(n=>n.text()).then(t=>{t.replace(),r&&(t=t.replace(">Favorites<",">"+r+"<")),u&&(t=t.replace(">Contenders<",">"+u+"<")),f&&(t=t.replace(">All Teams<",">"+f+"<")),n.innerHTML=t,$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-favouritesText"),$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide"),$("#covers-oddsComparisonTable-mobileNavButton",n).click(function(){$("#covers-oddsComparisonTable-mobileDropdownMenu",n).hasClass("oddsComparisonTable-hide")?$("#covers-oddsComparisonTable-mobileDropdownMenu",n).removeClass("oddsComparisonTable-hide"):$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide")}),$("#favouritesLink",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#favouritesLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_favourites",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-favouritesText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#favouritesLink-DD",n).addClass("active")}),$("#favouritesLink-DD",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#favouritesLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_favourites",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-favouritesText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#favouritesLink-DD",n).addClass("active")}),$("#contendersLink",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#contendersLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_contenders",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-contendersText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#contendersLink-DD",n).addClass("active")}),$("#contendersLink-DD",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#contendersLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_contenders",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-contendersText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#contendersLink-DD",n).addClass("active")}),$("#allteamsLink",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#allteamsLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_allteams",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-allTeamsText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).addClass("active")}),$("#allteamsLink-DD",n).click(function(){$("#favouritesLink",n).removeClass("active");$("#contendersLink",n).removeClass("active");$("#allteamsLink",n).removeClass("active");$("#allteamsLink",n).addClass("active");$("#TP_favourites",n).removeClass("active");$("#TP_contenders",n).removeClass("active");$("#TP_allteams",n).removeClass("active");$("#TP_allteams",n).addClass("active");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-favouritesText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-contendersText");$("#oddsComparisonTable-mobileNavText",n).removeClass("oddsComparisonTable-allTeamsText");$("#oddsComparisonTable-mobileNavText",n).addClass("oddsComparisonTable-allTeamsText");$("#covers-oddsComparisonTable-mobileDropdownMenu",n).addClass("oddsComparisonTable-hide");$("#favouritesLink-DD",n).removeClass("active");$("#contendersLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).removeClass("active");$("#allteamsLink-DD",n).addClass("active")})});i.appendChild(t);i.appendChild(n)}}class CoversLineGolf extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("tournamentid"),u=this.getAttribute("odds-provider"),f=this.getAttribute("players"),e=this.getAttribute("removeBranding"),o=this.getAttribute("cta"),s=this.host+"/sport/widgets/golftournamentwidget?tournamentId="+r+"&sportsBook="+u+"&numberOfPlayers="+f+"&removeBranding="+e+"&callToAction="+o;fetch(s).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversGolfBestLine extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var t=this.shadowRoot,u,f,e,n,o;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";u=document.createElement("style");u.textContent='@import "'+this.host+'/sport/lib/bootstrap/dist/css/bootstrap.min.css"';f=document.createElement("style");f.textContent='@import "'+this.host+'/sport/css/best_odds_widgets.css"';e=document.createElement("script");e.src=this.host+"/sport/lib/bootstrap/dist/js/bootstrap.min.js";n=document.createElement("span");n.setAttribute("class","wrapper");var s=this.getAttribute("tournamentid"),h=this.getAttribute("tournamentid"),c=this.getAttribute("players"),l=this.getAttribute("headingText"),i=this.getAttribute("removeHeading"),a=this.getAttribute("subHeadingText"),v=this.getAttribute("removeSubHeading"),h=this.getAttribute("market"),r=this.getAttribute("removeClickouts");r&&r!=""||(r="false");i&&i!=""||(i="false");o=this.host+"/sport/widgets/golfbestlinewidget?tournamentId="+s+"&numberOfPlayers="+c+"&market="+h+"&headingText="+l+"&removeHeading="+i+"&subHeadingText="+a+"&removeSubHeading="+v+"&removeClickouts="+r;fetch(o).then(n=>n.text()).then(t=>{n.innerHTML=t;var i=$(".__widgets-mainContainer",n),r=$("button.covers-Widgets-infoModal-Btn",n);$(r,n).click(()=>{$("#GolfWidgetInfoModal",n).modal("toggle")});$.each(i,function(t,i){var r=$(i,n).children().first(),f=$(i,n).find("div.__scrollCont"),u=$(i,n).children().last(),e=$(f,n).find("table").children().first(),o=$(e,n).width(),s=$(f,n).width();o>s&&$(u,n).addClass("__boxshadow_for_right_element");$(f,n).scroll(function(){var i=this.scrollWidth-this.clientWidth,t=this.scrollLeft;t==0&&($(r,n).removeClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"));t>0&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"));t<i&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"),t==0&&$(r,n).removeClass("__boxshadow_for_left_element"));t==i&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).removeClass("__boxshadow_for_right_element"))})})});t.appendChild(u);t.appendChild(f);t.appendChild(n);t.appendChild(e)}}class CoversLineMmaCard extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("seasonid"),u=this.getAttribute("odds-provider"),f=this.getAttribute("fights"),e=this.getAttribute("removeBranding"),o=this.getAttribute("cta"),s=this.host+"/sport/widgets/mmacardwidget?seasonId="+r+"&sportsBook="+u+"&numberOfFights="+f+"&removeBranding="+e+"&callToAction="+o;fetch(s).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversLineMmaFight extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var i=this.shadowRoot,t,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";t=document.createElement("style");t.textContent='@import "'+this.host+"/Sports/Content/css/covers_line_widget.css?v=1";n=document.createElement("span");n.setAttribute("class","wrapper");var r=this.getAttribute("eventid"),u=this.getAttribute("odds-provider"),f=this.getAttribute("removeBranding"),e=this.getAttribute("cta"),o=this.host+"/sport/widgets/mmafightwidget?eventId="+r+"&sportsBook="+u+"&removeBranding="+f+"&callToAction="+e;fetch(o).then(n=>n.text()).then(t=>{n.innerHTML=t});i.appendChild(t);i.appendChild(n)}}class CoversWeather extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var t=this.shadowRoot,i,r,n,u;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";i=document.createElement("style");i.textContent='@import "'+this.host+'/Sports/Content/WeatherBrick.css?v=2"';r=document.createElement("style");r.textContent='@import "https://headers.covers.com/content/css/headers.css?t=test"';n=document.createElement("span");n.setAttribute("class","wrapper");u=this.getAttribute("gameId");fetch(this.host+"/Sports/Weather/MatchupWeather?Id="+u).then(n=>n.text()).then(t=>{n.innerHTML=t,$(".covers-coversweather-button",n).click(function(t){t.preventDefault();$("#hourlyForecast",n).modal("show")})});t.appendChild(r);t.appendChild(i);t.appendChild(n)}}class CoversBetgraph extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var t=this.shadowRoot,i,r,n;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";i=document.createElement("style");i.textContent='@import "'+this.host+"/Sports/Content/GameBox.css";r=document.createElement("style");r.textContent='@import "'+this.host+"/Sports/Content/BetGraphWidget.css";n=document.createElement("span");n.setAttribute("class","wrapper");var u=this.getAttribute("league"),f=this.getAttribute("gameId"),e=this.host+"/sports/"+u+"/Matchups/SpreadBetGraphPopup/"+f;fetch(e).then(n=>n.text()).then(t=>{n.innerHTML=t,CMG_SPORTS.setupAccordion($("#cmg_spread_bet_graph_holder",n)),$(".cmg_graph_accordion",n).accordion("option","active",0),$(".cmg_graph_accordion",n).accordion("option","collapsible",!1)});t.appendChild(r);t.appendChild(i);t.appendChild(n)}}class CoversPolls extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var n=this.shadowRoot,i,t,r,u;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";i=document.createElement("style");i.textContent='@import "'+this.host+"/forum/Content/css/poll_widget.css";t=document.createElement("span");t.setAttribute("class","wrapper");r=this.getAttribute("threadId");u=this.host+"/forum/pollwidget/"+r;fetch(u).then(n=>n.text()).then(i=>{t.innerHTML=i;var e=t.querySelector("div").dataset.pollId,o=Date.parse(t.querySelector("div").dataset.pollExperation),r=new Date(o),s=r<new Date,u=new Date;u.setDate(r.getDate());u.setMonth(r.getMonth());u.setYear(r.getFullYear());u.setTime(r.getTime());var h=this.host+"Forum/Poll/CurrentUserResponse/"+e,f=this.host+"Forum/vote",c=function(t){var i=!1,o,r,h,c;t&&(o=JSON.parse(t),i=o.hasVoted);r="hasVoted-"+e;h=getCookie(r);i|=h=="true"?!0:!1;n.querySelector("#cmg-poll-vote-button").style.display="block";n.querySelector("#cmg-poll-login-button").style.display="none";i||s?(n.querySelector("#cmg-poll-results").style.display="block",n.querySelector("#cmg-poll-question").style.display="none"):(n.querySelector("#cmg-poll-results").style.display="hide",n.querySelector("#cmg-poll-question").style.display="block",c=function(t){var i,e,o,s;t.preventDefault();i=n.querySelectorAll("input.pollOption");for(e in i)i[e].checked&&(o={optionId:i[e].value},f=f+"?optionId="+i[e].value,s=function(){var o=n.querySelector("#covers-CoversPolls-votesTime-count"),s=parseInt(o.innerHTML)+1,t,l,f;o.innerHTML=s;for(t in i)if(i[t].value){var h=n.querySelector("#votePercentage"+i[t].value),c=n.querySelector("#voteCounter"+i[t].value),e=parseInt(c.innerHTML);i[t].checked&&(e+=1,c.innerHTML=e);l=e*1/s*100;f=""+Math.round(l)+"%";h.dataset.percentage=f;h.style.width=f;n.querySelector("#votePercentage"+i[t].value+" span").innerHTML=f}n.querySelector("#cmg-poll-results").style.display="block";n.querySelector("#cmg-poll-question").style.display="none";setCookie(r,!0,u)},ajax.send(f,s,"POST",o))},n.querySelector("#pollForm").addEventListener("submit",c))};ajax.send(h,c,"GET",{})});n.appendChild(i);n.appendChild(t)}}class CoversBestOddsMatchup extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var u=this.shadowRoot,f,n,e;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";f="https://headers.covers.com/AdobeScripts";fetch(f).then(n=>n.text()).then(function(n){var t=new DOMParser,i=t.parseFromString(n,"text/html"),r=i.querySelectorAll("script");r.forEach(n=>u.appendChild(n))});n=document.createElement("span");n.setAttribute("class","wrapper");var o=this.getAttribute("gameId"),s=this.getAttribute("location"),r=this.getAttribute("cta"),t=this.getAttribute("removeClickouts"),i=this.getAttribute("removeHeading");r||(r="");t&&t!=""||(t="false");i&&i!=""||(i="false");e=this.host+"/sport/widgets/bestoddsmatchup?gameId="+o+"&location="+s+"&cta="+r+"&removeClickouts="+t+"&removeHeading="+i;fetch(e).then(n=>n.text()).then(t=>{n.innerHTML=t});u.appendChild(n)}}class CoversArticleContainer extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var n=this.shadowRoot,f,e,o,r,u,i,h,t,s,c,l;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";f=document.createElement("style");f.textContent='@import "'+this.host+'/Editorial/Content/source/ExternalArticleEmbed.css"';e=document.createElement("style");e.textContent='@import "https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.css';o=document.createElement("style");o.textContent='@import "https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css';r=document.createElement("script");r.src="https://headers.covers.com/scripts/src/external/jquery-3.5.1.min.js";n.appendChild(r);u=document.createElement("script");u.src="https://headers.covers.com/scripts/src/external/slick.min.js";n.appendChild(u);i=document.createElement("span");i.setAttribute("class","wrapper");h=this.getAttribute("slug");t=this.getAttribute("header");t&&(s='<h3 id="covers-ArticleContainerWidget-h3">',c=s+t);l=this.host+"/articlecontainerwidget/"+h;t==null&&(t="Articles");fetch(l).then(n=>n.text()).then(h=>{t&&(h=h.replace(s,c)),i.innerHTML=h,$(document).ready(function(){setTimeout(function(){$(".covers-ArticleContainerWidget-listcont",i).slick({infinite:!0,draggable:!0,dots:!0,mobileFirst:!0,autoplay:!1,cssEase:"ease-in-out",responsive:[{breakpoint:1200,settings:"unslick"},{breakpoint:992,settings:"unslick"},{breakpoint:768,settings:"unslick"},{breakpoint:550,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})},300)}),n.appendChild(f),n.appendChild(e),n.appendChild(o),n.appendChild(i),n.appendChild(u),n.appendChild(r),n.appendChild(Slide)})}}class CoversPlayerProps extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){var t=this.shadowRoot,u,f,e,s,n,h;this.host=this.getAttribute("host")?this.getAttribute("host"):"https://www.covers.com";u=document.createElement("style");u.textContent='@import "'+this.host+"/sport/css/best_odds_widgets.css";f=document.createElement("script");f.src="https://cdnjs.cloudflare.com/ajax/libs/floatthead/2.2.1/jquery.floatThead.min.js";t.appendChild(f);e=document.createElement("script");e.src=this.host+"/sport/js/best_odds_widgets.js";t.appendChild(e);s="https://headers.covers.com/AdobeScripts";fetch(s).then(n=>n.text()).then(function(n){var i=new DOMParser,r=i.parseFromString(n,"text/html"),u=r.querySelectorAll("script");u.forEach(n=>t.appendChild(n))});n=document.createElement("span");n.setAttribute("class","wrapper");var c=this.getAttribute("gameId"),l=this.getAttribute("propevent"),o=this.getAttribute("cta"),a=this.getAttribute("defaultView"),i=this.getAttribute("removeClickouts"),r=this.getAttribute("removeHeading");o||(o="");i&&i!=""||(i="false");r&&r!=""||(r="false");h=this.host+"/sport/widgets/gamepropswidget?gameId="+c+"&propevent="+l+"&cta="+o+"&removeClickouts="+i+"&defaultView="+a+"&removeHeading="+r;fetch(h).then(n=>n.text()).then(t=>{var u;n.innerHTML=t;var f=$("input[type=radio]#both",n),i=$("input[type=radio]#__awayTeam",n),r=$("input[type=radio]#__homeTeam",n),e=$(".__widgets-mainContainer",n),o=$("table.__covers-Covers-widgets-teamTable",n),s=$("table.__covers-Covers-Best-OddsTable",n),h=$(".covers-CoversWidgets-table-Container",n);$(i,n).click(()=>{$("table tr."+$(i,n).attr("data-team-name"),n).show(),$("table tr."+$(r,n).attr("data-team-name"),n).hide()});$(r,n).click(()=>{$("table tr."+$(r,n).attr("data-team-name"),n).show(),$("table tr."+$(i,n).attr("data-team-name"),n).hide()});$(f,n).click(()=>{$("table tr."+$(i,n).attr("data-team-name"),n).show(),$("table tr."+$(r,n).attr("data-team-name"),n).show()});u=$("input[name='team']:checked",n).val();u=="awayTeam"?$(i,n)[0].click():u=="homeTeam"?$(r,n)[0].click():$(f,n)[0].click();$.each(e,function(t,i){var r=$(i,n).children().first(),f=$(i,n).find("div.__scrollCont"),u=$(i,n).children().last(),e=$(f,n).find("table").children().first(),o=$(e,n).width(),s=$(f,n).width();o>s&&$(u,n).addClass("__boxshadow_for_right_element");$(f,n).scroll(function(){var i=this.scrollWidth-this.clientWidth,t=this.scrollLeft;t==0&&($(r,n).removeClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"));t>0&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"));t<i&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).addClass("__boxshadow_for_right_element"),t==0&&$(r,n).removeClass("__boxshadow_for_left_element"));t==i&&($(r,n).addClass("__boxshadow_for_left_element"),$(u,n).removeClass("__boxshadow_for_right_element"))})});$(document).ready(function(){$(window,n).width()<767?($(o,n).floatThead({top:112,zIndex:1001,autoReflow:!0}),$(s,n).floatThead({top:112,zIndex:1001,autoReflow:!0,responsiveContainer:function(t){return t.closest(".__scrollCont",n)}})):$.each(h,(t,i)=>{var r=$(i,n).children()[0],u=$(i,n).children()[1],f=$(r,n).children()[0],s=$(f,n).children()[0],e=$(s,n).find("th"),h=$(r,n).children()[1],c=$(h,n).children()[0],l=$(c,n).children()[0],o=$(l,n).find("th");f.scrollHeight>r.offsetHeight&&$(u,n).addClass("bottom-shadow");$(r,n).scroll(function(){$(this).scrollTop()>0?($(e,n).addClass("top-shadow"),$(o,n).addClass("top-shadow")):($(e,n).removeClass("top-shadow"),$(o,n).removeClass("top-shadow"));$(this).scrollTop()+$(this).innerHeight()==r.scrollHeight?$(u,n).removeClass("bottom-shadow"):$(u,n).addClass("bottom-shadow")})})})});t.appendChild(u);t.appendChild(n)}}lazyload=document.currentScript.getAttribute("data-lazy");lazyload==="true"?document.addEventListener("DOMContentLoaded",function(){customElements.define("covers-article-minimal",CoversEditorialMinimal);customElements.define("covers-consensus",CoversTopConsensus);customElements.define("covers-league-consensus",CoversLeagueConsensus);customElements.define("covers-matchup-consensus",CoversMatchupConsensus);customElements.define("covers-experts-free-pick",ExpertsFreePick);customElements.define("covers-best-odds-matchup",CoversBestOddsMatchup);customElements.define("covers-lines-league",CoversLineLeague);customElements.define("covers-lines-matchup",CoversLineMatchup);customElements.define("covers-lines-futures",CoversLineFutures);customElements.define("covers-lines-multipartner-futures",CoversLineMultiPartnerFutures);customElements.define("covers-lines-golf",CoversLineGolf);customElements.define("covers-golf-best-line",CoversGolfBestLine);customElements.define("covers-lines-mma-card",CoversLineMmaCard);customElements.define("covers-lines-mma-fight",CoversLineMmaFight);customElements.define("covers-player-props",CoversPlayerProps);customElements.define("covers-matchup-weather",CoversWeather);customElements.define("covers-matchup-betgraph",CoversBetgraph);customElements.define("covers-polls",CoversPolls);customElements.define("covers-article-tags",CoversEditorialTag);customElements.define("covers-article-container",CoversArticleContainer)}):(customElements.define("covers-article-minimal",CoversEditorialMinimal),customElements.define("covers-consensus",CoversTopConsensus),customElements.define("covers-league-consensus",CoversLeagueConsensus),customElements.define("covers-matchup-consensus",CoversMatchupConsensus),customElements.define("covers-experts-free-pick",ExpertsFreePick),customElements.define("covers-best-odds-matchup",CoversBestOddsMatchup),customElements.define("covers-lines-league",CoversLineLeague),customElements.define("covers-lines-matchup",CoversLineMatchup),customElements.define("covers-lines-futures",CoversLineFutures),customElements.define("covers-lines-multipartner-futures",CoversLineMultiPartnerFutures),customElements.define("covers-lines-golf",CoversLineGolf),customElements.define("covers-golf-best-line",CoversGolfBestLine),customElements.define("covers-lines-mma-card",CoversLineMmaCard),customElements.define("covers-lines-mma-fight",CoversLineMmaFight),customElements.define("covers-player-props",CoversPlayerProps),customElements.define("covers-matchup-weather",CoversWeather),customElements.define("covers-matchup-betgraph",CoversBetgraph),customElements.define("covers-polls",CoversPolls),customElements.define("covers-article-tags",CoversEditorialTag),customElements.define("covers-article-container",CoversArticleContainer)),function(){"use strict";function c(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}function l(){window.customElements&&customElements.polyfillWrapFlushCallback&&customElements.polyfillWrapFlushCallback(function(n){r=n;o&&r()})}function p(){l();i()}function i(){window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(window.document);f=!0;a().then(c)}function a(){o=!1;var n=e.map(function(n){return n instanceof Function?n():n});return e=[],Promise.all(n).then(function(){o=!0;r&&r()}).catch(function(n){console.error(n)})}var f=!1,e=[],o=!1,r,s,t,v,u,h,y,n;window.WebComponents=window.WebComponents||{};window.WebComponents.ready=window.WebComponents.ready||!1;window.WebComponents.waitFor=window.WebComponents.waitFor||function(n){n&&(e.push(n),f&&a())};window.WebComponents._batchCustomElements=l;s="webcomponents-loader.js";t=[];"attachShadow"in Element.prototype&&"getRootNode"in Element.prototype&&(!window.ShadyDOM||!window.ShadyDOM.force)||t.push("sd");(!window.customElements||window.customElements.forcePolyfill)&&t.push("ce");v=function(){var n=document.createElement("template"),t,i;return("content"in n)?(n.content.cloneNode()instanceof DocumentFragment)?(t=document.createElement("template"),t.content.appendChild(document.createElement("div")),n.content.appendChild(t),i=n.cloneNode(!0),i.content.childNodes.length===0||i.content.firstChild.content.childNodes.length===0):!0:!0}();window.Promise&&Array.from&&window.URL&&window.Symbol&&!v||(t=["sd-ce-pf"]);t.length?(h="bundles/webcomponents-"+t.join("-")+".js",window.WebComponents.root?u=window.WebComponents.root+h:(y=document.querySelector('script[src*="'+s+'"]'),u=y.src.replace(s,h)),n=document.createElement("script"),n.src=u,document.readyState==="loading"?(n.setAttribute("onload","window.WebComponents._batchCustomElements()"),document.write(n.outerHTML),document.addEventListener("DOMContentLoaded",i)):(n.addEventListener("load",function(){p()}),n.addEventListener("error",function(){throw new Error("Could not load polyfill bundle"+u);}),document.head.appendChild(n))):document.readyState==="complete"?(f=!0,c()):(window.addEventListener("load",i),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",i);i()}))}()