NFL playoff projections 2024: The Athletic's model predicts the field

10 September 2024Last Update :
NFL playoff projections 2024: The Athletic's model predicts the field

Welcome to our 2024 NFL projections, where you will find each team’s probability of conquering their division, advancing through the playoffs and winning the Super Bowl. The projections are based on 100,000 simulations of the remainder of the season, which factors in each team’s projected strength, current health as well as its remaining schedule. All projections and probabilities are rounded to the nearest whole number. You can read more about the model at the bottom of the page. The projections will be updated regularly throughout each week.

‘,s=P(),l=A(“div”);for(let w=0;w

‘,f=P(),c=A(“div”);for(let w=0;w{n(1,T=H),d(),p(H,$),w(H)},f=H=>{const $=N.scrollLeft,te=N.getBoundingClientRect().width/y,Z=$+H*te;N.scrollTo({left:Z,behavior:”smooth”}),v(Z)},c=(H,$)=>$>1015?H674?H{const H=N.getBoundingClientRect().width,$=H/120,X=Math.floor($),te=Math.ceil($),Z=X%2?X:te;n(15,y=Z),n(2,S=H/y)},u=Intl.DateTimeFormat().resolvedOptions(),d=()=>{let H=s.games.filter(X=>X.week==T),$=[];H.forEach(X=>{let te=new Date(X.datetime).toLocaleDateString(u.locale,{weekday:”long”,month:”long”,day:”numeric”});X.status_display_string=X.status==”post”?`FINAL${X.ot&&`/${X.ot}`}`:new Date(X.datetime).toLocaleTimeString(u.locale,{hourCycle:”h12″,hour:”numeric”,minute:”2-digit”});let Z=$.find(ie=>ie.day===te);Z?Z.games.push(X):$.push({day:te,games:[X]})}),n(3,k=$)},_=()=>s.weeks.map(H=>{let $;const X=new Date(H.start_timestamp),te=X.toLocaleDateString(u.locale,{month:”short”,day:”numeric”}),Z=new Date(H.end_timestamp);X.getMonth()===Z.getMonth()?$=Z.toLocaleDateString(u.locale,{day:”numeric”}):$=Z.toLocaleDateString(u.locale,{month:”short”,day:”numeric”});const ie=Ht(te),Me=Ht($),fe=X.getTime()===Z.getTime()?ie:`${ie}–${Me}`;return{…H,display_string:fe}}),m=()=>{const H=new Date().getTime(),$=s.weeks.filter(te=>{const Z=new Date(te.end_timestamp).getTime()+864e5;return H>=Z});return($.length===0?0:$[$.length-1].week_number)+1},p=(H,$)=>{const X=N.getBoundingClientRect().width,te=r>=768?X/y:100,Z=te*(H-1)-X/2+te/2;window.setTimeout(()=>{N.scrollTo({left:Z,behavior:$}),v(Z)},0)},v=H=>{Math.round(H)=X?M.classList.add(“disabled”):M.classList.remove(“disabled”)},w=H=>{const $=window.location.pathname,X=window.location.hash;window.history.pushState({},””,`${$}?${l.toString()}${X}`),l.set(“week”,H),window.history.replaceState({},””,`${$}?${l.toString()}${X}`)};let T=l.get(“week”)||m(),y,S,x=_(),k=[],N,D,M;Ll(()=>(h(),a(T,”auto”),window.addEventListener(“resize”,h),()=>{window.removeEventListener(“resize”,h)}));function C(){n(8,r=No.innerWidth)}function L(H){we[H?”unshift”:”push”](()=>{D=H,n(5,D)})}const E=()=>f(-i),F=H=>a(H.week_number,”smooth”);function U(H){we[H?”unshift”:”push”](()=>{N=H,n(4,N)})}function I(H){we[H?”unshift”:”push”](()=>{M=H,n(6,M)})}const W=()=>f(i);return e.$$set=H=>{“games”in H&&n(13,s=H.games),”params”in H&&n(14,l=H.params),”editorialContent”in H&&n(0,o=H.editorialContent)},e.$$.update=()=>{e.$$.dirty[0]&32768&&n(7,i=Math.min(y,4))},n(8,r=0),[o,T,S,k,N,D,M,i,r,a,f,c,x,s,l,y,C,L,E,F,U,I,W]}class Bh extends nt{constructor(t){super(),tt(this,t,Wh,$h,et,{games:13,params:14,editorialContent:0},null,[-1,-1])}}var ti=”http://www.w3.org/1999/xhtml”;const Ws={svg:”http://www.w3.org/2000/svg”,xhtml:ti,xlink:”http://www.w3.org/1999/xlink”,xml:”http://www.w3.org/XML/1998/namespace”,xmlns:”http://www.w3.org/2000/xmlns/”};function Co(e){var t=e+=””,n=t.indexOf(“:”);return n>=0&&(t=e.slice(0,n))!==”xmlns”&&(e=e.slice(n+1)),Ws.hasOwnProperty(t)?{space:Ws[t],local:e}:e}function jh(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ti&&t.documentElement.namespaceURI===ti?t.createElement(e):t.createElementNS(n,e)}}function Yh(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function xo(e){var t=Co(e);return(t.local?Yh:jh)(t)}function Vh(){}function Do(e){return e==null?Vh:function(){return this.querySelector(e)}}function Gh(e){typeof e!=”function”&&(e=Do(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=T&&(T=w+1);!(S=p[T])&&++T<_ l="new" lt md typeof e='="object"&&"length"in' pd new bd r="this.enter(),i=this,s=this.exit();return" vd t="e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,s=r.length,l=Math.min(i,s),o=new" array f="n[a],c=r[a],h=f.length,u=o[a]=new" wd>=0;)(l=r[i])&&(s&&l.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(l,s),s=l);return this}function yd(e){e||(e=kd);function t(h,u){return h&&u?e(h.__data__,u.__data__):!h-!u}for(var n=this._groups,r=n.length,i=new Array(r),s=0;st?1:e>=t?0:NaN}function Md(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Td(){return Array.from(this)}function Ad(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?Od:typeof t==”function”?Rd:Pd)(e,t,n??””)):zd(this.node(),e)}function zd(e,t){return e.style.getPropertyValue(t)||Fo(e).getComputedStyle(e,null).getPropertyValue(t)}function qd(e){return function(){delete this[e]}}function $d(e,t){return function(){this[e]=t}}function Wd(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Bd(e,t){return arguments.length>1?this.each((t==null?qd:typeof t==”function”?Wd:$d)(e,t)):this.node()[e]}function Io(e){return e.trim().split(/^|\s+/)}function Si(e){return e.classList||new Uo(e)}function Uo(e){this._node=e,this._names=Io(e.getAttribute(“class”)||””)}Uo.prototype={add:function(e){var t=this._names.indexOf(e);t=0&&(this._names.splice(t,1),this._node.setAttribute(“class”,this._names.join(” “)))},contains:function(e){return this._names.indexOf(e)>=0}};function Oo(e,t){for(var n=Si(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function b0(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,s;n=(h=(o+f)/2))?o=h:f=h,(p=n>=(u=(a+c)/2))?a=u:c=u,i=s,!(s=s[v=p=(h=(o+f)/2))?o=h:f=h,(p=n>=(u=(a+c)/2))?a=u:c=u;while((v=p=u)=h));return i[w]=s,i[v]=l,e}function x0(e){var t,n,r=e.length,i,s,l=new Array(r),o=new Array(r),a=1/0,f=1/0,c=-1/0,h=-1/0;for(n=0;nc&&(c=i),sh&&(h=s));if(a>c||f>h)return this;for(this.cover(a,f).cover(c,h),n=0;ne||e>=i||r>t||t>=s;)switch(f=(tc||(o=_.y0)>h||(a=_.x1)=v)=p)&&(_=u[u.length-1],u[u.length-1]=u[u.length-1-m],u[u.length-1-m]=_)}else{var w=e-+this._x.call(null,d.data),T=t-+this._y.call(null,d.data),y=w*w+T*T;if(y=(u=(l+a)/2))?l=u:a=u,(m=h>=(d=(o+f)/2))?o=d:f=d,t=n,!(n=n[p=mu.index){var C=d-N.x-N.vx,L=_-N.y-N.vy,E=C*C+L*L;Ed+M||x_+M||k<_-m o f.r="n[f.data.index];for(var" c="f.r=0;c<4;++c)f[c]&&f[c].r">f.r&&(f.r=f[c].r)}function a(){if(t){var f,c=t.length,h;for(n=new Array(c),f=0;f{}};function qo(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error(“unknown type: “+n);return{type:n,name:r}})}Vn.prototype=qo.prototype={constructor:Vn,on:function(e,t){var n=this._,r=G0(e+””,n),i,s=-1,l=r.length;if(arguments.length0)for(var n=new Array(i),r=0,i,s;r=0&&e._call.call(void 0,t),e=e._next;–cn}function Vs(){zt=(fr=Nn.now())+br,cn=vn=0;try{K0()}finally{cn=0,Q0(),zt=0}}function J0(){var e=Nn.now(),t=e-fr;t>$o&&(br-=t,fr=e)}function Q0(){for(var e,t=ar,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:ar=n);wn=e,ri(r)}function ri(e){if(!cn){vn&&(vn=clearTimeout(vn));var t=e-zt;t>24?(e(e=(e1*e+t1)%Gs)/Gs}var r1=10,i1=Math.PI*(3-Math.sqrt(5));function s1(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),s=0,l=.6,o=new Map,a=jo(h),f=qo(“tick”,”end”),c=n1();e==null&&(e=[]);function h(){u(),f.call(“tick”,t),n1?(p==null?o.delete(m):o.set(m,_(p)),t):o.get(m)},find:function(m,p,v){var w=0,T=e.length,y,S,x,k,N;for(v==null?v=1/0:v*=v,w=0;w1?(f.on(m,p),t):f.on(m)}}}function l1(e){var t=ut(.1),n,r,i;typeof e!=”function”&&(e=ut(e==null?0:+e));function s(o){for(var a=0,f=n.length,c;af==c>-f?(s=f,f=t[++h]):(s=c,c=r[++u]);let d=0;if(hf==c>-f?(l=f+s,o=s-(l-f),f=t[++h]):(l=c+s,o=s-(l-c),c=r[++u]),s=l,o!==0&&(i[d++]=o);hf==c>-f?(l=s+f,a=l-s,o=s-(l-a)+(f-a),f=t[++h]):(l=s+c,a=l-s,o=s-(l-a)+(c-a),c=r[++u]),s=l,o!==0&&(i[d++]=o);for(;h=F||-E>=F||(h=e-D,o=e-(D+h)+(h-i),h=n-M,f=n-(M+h)+(h-i),h=t-C,a=t-(C+h)+(h-s),h=r-L,c=r-(L+h)+(h-s),o===0&&a===0&&f===0&&c===0)||(F=h1*l+a1*Math.abs(E),E+=D*c+L*o-(C*f+M*a),E>=F||-E>=F))return E;y=o*L,u=ze*o,d=u-(u-o),_=o-d,u=ze*L,m=u-(u-L),p=L-m,S=_*p-(y-d*m-_*m-d*p),x=a*M,u=ze*a,d=u-(u-a),_=a-d,u=ze*M,m=u-(u-M),p=M-m,k=_*p-(x-d*m-_*m-d*p),v=S-k,h=S-v,We[0]=S-(v+h)+(h-k),w=y+v,h=w-y,T=y-(w-h)+(v-h),v=T-x,h=T-v,We[1]=T-(v+h)+(h-x),N=w+v,h=N-w,We[2]=w-(N-h)+(v-h),We[3]=N;const U=Wr(4,Gt,4,We,Xs);y=D*c,u=ze*D,d=u-(u-D),_=D-d,u=ze*c,m=u-(u-c),p=c-m,S=_*p-(y-d*m-_*m-d*p),x=C*f,u=ze*C,d=u-(u-C),_=C-d,u=ze*f,m=u-(u-f),p=f-m,k=_*p-(x-d*m-_*m-d*p),v=S-k,h=S-v,We[0]=S-(v+h)+(h-k),w=y+v,h=w-y,T=y-(w-h)+(v-h),v=T-x,h=T-v,We[1]=T-(v+h)+(h-x),N=w+v,h=N-w,We[2]=w-(N-h)+(v-h),We[3]=N;const I=Wr(U,Xs,4,We,Zs);y=o*c,u=ze*o,d=u-(u-o),_=o-d,u=ze*c,m=u-(u-c),p=c-m,S=_*p-(y-d*m-_*m-d*p),x=a*f,u=ze*a,d=u-(u-a),_=a-d,u=ze*f,m=u-(u-f),p=f-m,k=_*p-(x-d*m-_*m-d*p),v=S-k,h=S-v,We[0]=S-(v+h)+(h-k),w=y+v,h=w-y,T=y-(w-h)+(v-h),v=T-x,h=T-v,We[1]=T-(v+h)+(h-x),N=w+v,h=N-w,We[2]=w-(N-h)+(v-h),We[3]=N;const W=Wr(I,Zs,4,We,Ks);return Ks[W-1]}function qn(e,t,n,r,i,s){const l=(t-s)*(n-i),o=(e-i)*(r-s),a=l-o,f=Math.abs(l+o);return Math.abs(a)>=c1*f?a:-d1(e,t,n,r,i,s,f)}const Js=Math.pow(2,-52),$n=new Uint32Array(512);class cr{static from(t,n=b1,r=v1){const i=t.length,s=new Float64Array(i*2);for(let l=0;l>1;if(n>0&&typeof t[0]!=”number”)throw new Error(“Expected coords to contain numbers.”);this.coords=t;const r=Math.max(2*n-5,0);this._triangles=new Uint32Array(r*3),this._halfedges=new Int32Array(r*3),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:r,_hullTri:i,_hullHash:s}=this,l=t.length>>1;let o=1/0,a=1/0,f=-1/0,c=-1/0;for(let D=0;Df&&(f=M),C>c&&(c=C),this._ids[D]=D}const h=(o+f)/2,u=(a+c)/2;let d,_,m;for(let D=0,M=1/0;D0&&(_=D,M=C)}let w=t[2*_],T=t[2*_+1],y=1/0;for(let D=0;DL&&(D[M++]=E,L=F)}this.hull=D.subarray(0,M),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(qn(p,v,w,T,S,x)0&&Math.abs(E-M)=0;)if(I=W,I===U){I=-1;break}if(I===-1)continue;let H=this._addTriangle(I,L,r[I],-1,-1,i[I]);i[L]=this._legalize(H+2),i[I]=H,N++;let $=r[I];for(;W=r[$],qn(E,F,t[2*$],t[2*$+1],t[2*W],t[2*W+1])0?3-n:1+n)/4}function Br(e,t,n,r){const i=e-n,s=t-r;return i*i+s*s}function g1(e,t,n,r,i,s,l,o){const a=e-l,f=t-o,c=n-l,h=r-o,u=i-l,d=s-o,_=a*a+f*f,m=c*c+h*h,p=u*u+d*d;return a*(h*p-m*d)-f*(c*p-m*u)+_*(c*d-h*u)=n&&t[e[o]]>l;)e[o+1]=e[o–];e[o+1]=s}else{const i=n+r>>1;let s=n+1,l=r;bn(e,i,s),t[e[n]]>t[e[r]]&&bn(e,n,r),t[e[s]]>t[e[r]]&&bn(e,s,r),t[e[n]]>t[e[s]]&&bn(e,n,s);const o=e[s],a=t[o];for(;;){do s++;while(t[e[s]]a);if(l=l-n?(tn(e,t,s,r),tn(e,t,n,l-1)):(tn(e,t,n,l-1),tn(e,t,s,r))}}function bn(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function b1(e){return e[0]}function v1(e){return e[1]}const Qs=1e-6;let Ut=class{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=””}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+=”Z”)}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,r){t=+t,n=+n,r=+r;const i=t+r,s=n;if(rQs||Math.abs(this._y1-s)>Qs)&&(this._+=”L”+i+”,”+s),r&&(this._+=`A${r},${r},0,1,1,${t-r},${n}A${r},${r},0,1,1,${this._x1=i},${this._y1=s}`)}rect(t,n,r,i){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+r}v${+i}h${-r}Z`}value(){return this._||null}};class ii{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class w1{constructor(t,[n,r,i,s]=[0,0,960,500]){if(!((i=+i)>=(n=+n))||!((s=+s)>=(r=+r)))throw new Error(“invalid bounds”);this.delaunay=t,this._circumcenters=new Float64Array(t.points.length*2),this.vectors=new Float64Array(t.points.length*2),this.xmax=i,this.xmin=n,this.ymax=s,this.ymin=r,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:r},vectors:i}=this;let s,l;const o=this.circumcenters=this._circumcenters.subarray(0,r.length/3*2);for(let m=0,p=0,v=r.length,w,T;m1;)s-=2;for(let l=2;l0){if(n>=this.ymax)return null;(l=(this.ymax-n)/i)0){if(t>=this.xmax)return null;(l=(this.xmax-t)/r)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n1e-10)return!1}return!0}function A1(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class Ci{static from(t,n=k1,r=M1,i){return new Ci(“length”in t?S1(t,n,r,i):Float64Array.from(N1(t,n,r,i)))}constructor(t){this._delaunator=new cr(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,n=this.points;if(t.hull&&t.hull.length>2&&T1(t)){this.collinear=Int32Array.from({length:n.length/2},(u,d)=>d).sort((u,d)=>n[2*u]-n[2*d]||n[2*u+1]-n[2*d+1]);const a=this.collinear[0],f=this.collinear[this.collinear.length-1],c=[n[2*a],n[2*a+1],n[2*f],n[2*f+1]],h=1e-8*Math.hypot(c[3]-c[1],c[2]-c[0]);for(let u=0,d=n.length/2;u0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=i[0],l[i[0]]=1,i.length===2&&(l[i[1]]=0,this.triangles[1]=i[1],this.triangles[2]=i[1]))}voronoi(t){return new w1(this,t)}*neighbors(t){const{inedges:n,hull:r,_hullIndex:i,halfedges:s,triangles:l,collinear:o}=this;if(o){const h=o.indexOf(t);h>0&&(yield o[h-1]),h=0&&s!==r&&s!==i;)r=s;return s}_step(t,n,r){const{inedges:i,hull:s,_hullIndex:l,halfedges:o,triangles:a,points:f}=this;if(i[t]===-1||!f.length)return(t+1)%(f.length>>1);let c=t,h=Xt(n-f[t*2],2)+Xt(r-f[t*2+1],2);const u=i[t];let d=u;do{let _=a[d];const m=Xt(n-f[_*2],2)+Xt(r-f[_*2+1],2);if(m+e(t)}function L1(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function F1(){return!this.__axis}function I1(e,t){var n=[],r=null,i=null,s=6,l=6,o=3,a=typeof window1?0:.5,f=1,c=”y”,h=D1;function u(d){var _=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):C1),p=Math.max(s,0)+o,v=t.range(),w=+v[0]+a,T=+v[v.length-1]+a,y=(t.bandwidth?L1:E1)(t.copy(),a),S=d.selection?d.selection():d,x=S.selectAll(“.domain”).data([null]),k=S.selectAll(“.tick”).data(_,t).order(),N=k.exit(),D=k.enter().append(“g”).attr(“class”,”tick”),M=k.select(“line”),C=k.select(“text”);x=x.merge(x.enter().insert(“path”,”.tick”).attr(“class”,”domain”).attr(“stroke”,”currentColor”)),k=k.merge(D),M=M.merge(D.append(“line”).attr(“stroke”,”currentColor”).attr(c+”2″,f*s)),C=C.merge(D.append(“text”).attr(“fill”,”currentColor”).attr(c,f*p).attr(“dy”,”0.71em”)),d!==S&&(x=x.transition(d),k=k.transition(d),M=M.transition(d),C=C.transition(d),N=N.transition(d).attr(“opacity”,el).attr(“transform”,function(L){return isFinite(L=y(L))?h(L+a):this.getAttribute(“transform”)}),D.attr(“opacity”,el).attr(“transform”,function(L){var E=this.parentNode.__axis;return h((E&&isFinite(E=E(L))?E:y(L))+a)})),N.remove(),x.attr(“d”,l?”M”+w+”,”+f*l+”V”+a+”H”+T+”V”+f*l:”M”+w+”,”+a+”H”+T),k.attr(“opacity”,1).attr(“transform”,function(L){return h(y(L)+a)}),M.attr(c+”2″,f*s),C.attr(c,f*p).text(m),S.filter(F1).attr(“fill”,”none”).attr(“font-size”,10).attr(“font-family”,”sans-serif”).attr(“text-anchor”,”middle”),S.each(function(){this.__axis=y})}return u.scale=function(d){return arguments.length?(t=d,u):t},u.ticks=function(){return n=Array.from(arguments),u},u.tickArguments=function(d){return arguments.length?(n=d==null?[]:Array.from(d),u):n.slice()},u.tickValues=function(d){return arguments.length?(r=d==null?null:Array.from(d),u):r&&r.slice()},u.tickFormat=function(d){return arguments.length?(i=d,u):i},u.tickSize=function(d){return arguments.length?(s=l=+d,u):s},u.tickSizeInner=function(d){return arguments.length?(s=+d,u):s},u.tickSizeOuter=function(d){return arguments.length?(l=+d,u):l},u.tickPadding=function(d){return arguments.length?(o=+d,u):o},u.offset=function(d){return arguments.length?(a=+d,u):a},u}function U1(e){return I1(x1,e)}function Zt(e){return function(){return e}}const si=Math.PI,li=2*si,Lt=1e-6,O1=li-Lt;function Yo(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Yo;const n=10**t;return function(r){this._+=r[0];for(let i=1,s=r.length;iLt)if(!(Math.abs(h*a-f*c)>Lt)||!s)this._append`L${this._x1=t},${this._y1=n}`;else{let d=r-l,_=i-o,m=a*a+f*f,p=d*d+_*_,v=Math.sqrt(m),w=Math.sqrt(u),T=s*Math.tan((si-Math.acos((m+u-p)/(2*v*w)))/2),y=T/w,S=T/v;Math.abs(y-1)>Lt&&this._append`L${t+y*c},${n+y*h}`,this._append`A${s},${s},0,0,${+(h*d>c*_)},${this._x1=t+S*a},${this._y1=n+S*f}`}}arc(t,n,r,i,s,l){if(t=+t,n=+n,r=+r,l=!!l,rLt||Math.abs(this._y1-c)>Lt)&&this._append`L${f},${c}`,r&&(uO1?this._append`A${r},${r},0,1,${h},${t-o},${n-a}A${r},${r},0,1,${h},${this._x1=f},${this._y1=c}`:u>Lt&&this._append`A${r},${r},0,${+(u>=si)},${h},${this._x1=t+r*Math.cos(s)},${this._y1=n+r*Math.sin(s)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function H1(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new R1(t)}function z1(e){return typeof e==”object”&&”length”in e?e:Array.from(e)}function Vo(e){this._context=e}Vo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function q1(e){return new Vo(e)}function $1(e){return e[0]}function W1(e){return e[1]}function B1(e,t){var n=Zt(!0),r=null,i=q1,s=null,l=H1(o);e=typeof e==”function”?e:e===void 0?$1:Zt(e),t=typeof t==”function”?t:t===void 0?W1:Zt(t);function o(a){var f,c=(a=z1(a)).length,h,u=!1,d;for(r==null&&(s=i(d=l())),f=0;f=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._te[11].call(p)),g(m,”class”,”chart-cont svelte-ndqp4f”),g(t,”id”,”team-record-odds”),Q(t,”–theme-color”,e[3].color),Q(t,”–theme-dark-color”,e[3].dark_color),g(t,”class”,”svelte-ndqp4f”)},m(T,y){G(T,t,y),b(t,n),b(n,r),b(r,i),b(r,l),b(r,o),b(n,a),b(n,f),b(f,c),b(f,u),b(f,d),b(t,_),b(t,m),b(m,p),w&&w.m(p,null),v=oi(p,e[11].bind(p))},p(T,[y]){y&8&&s!==(s=T[3].display_name+””)&&ee(l,s),y&8&&h!==(h=T[3].display_name+””)&&ee(u,h),T[6]?w?w.p(T,y):(w=il(T),w.c(),w.m(p,null)):w&&(w.d(1),w=null),y&8&&Q(t,”–theme-color”,T[3].color),y&8&&Q(t,”–theme-dark-color”,T[3].dark_color)},i:Te,o:Te,d(T){T&&Y(t),w&&w.d(),v()}}}const ur=2;function V1(e,t,n){let r,i,s,l,o,a,{team:f}=t,{recordOdds:c}=t;const h={top:15,bottom:45,left:35,right:15};let u;var d=window.matchMedia(“(max-width: 767px)”);let _=d.matches?250:350;function m(){u=this.clientWidth,n(0,u)}return e.$$set=p=>{“team”in p&&n(9,f=p.team),”recordOdds”in p&&n(10,c=p.recordOdds)},e.$$.update=()=>{e.$$.dirty&1536&&n(3,r=c.find(p=>p.team==f)),e.$$.dirty&8&&n(1,i=r.odds),e.$$.dirty&2&&n(2,s=Array.from(Array(i.length).keys())),e.$$.dirty&5&&n(6,l=Ne.scaleBand(s,[h.left,u-h.right])),e.$$.dirty&2&&n(5,o=Ne.scaleLinear().domain([0,Math.max(Ne.max(i,p=>p.odds),20)]).range([_-h.bottom,h.top])),e.$$.dirty&2&&n(4,a=Array.from({length:Math.max(Ne.max(i,p=>p.odds),20)/10+1},(p,v)=>v*10))},[u,i,s,r,a,o,l,h,_,f,c,m]}class G1 extends nt{constructor(t){super(),tt(this,t,V1,Y1,et,{team:9,recordOdds:10})}}function fl(e,t,n){const r=e.slice();return r[27]=t[n].col,r[28]=t[n].hed,r[29]=t[n].dek,r[30]=t,r[31]=n,r}function cl(e,t,n){const r=e.slice();return r[32]=t[n],r}function ul(e){let t,n,r,i;return{c(){t=de(“circle”),g(t,”class”,”non-active-team svelte-t4gsj6″),g(t,”role”,”graphics-object”),g(t,”data-team”,n=e[32].team),g(t,”r”,ct),g(t,”cx”,r=e[32].pos[e[27]].x),g(t,”cy”,i=e[32].pos[e[27]].y),g(t,”stroke”,”#A9A9A5″),g(t,”stroke-width”,”1px”)},m(s,l){G(s,t,l)},p(s,l){l[0]&1&&n!==(n=s[32].team)&&g(t,”data-team”,n),l[0]&1&&r!==(r=s[32].pos[s[27]].x)&&g(t,”cx”,r),l[0]&1&&i!==(i=s[32].pos[s[27]].y)&&g(t,”cy”,i)},d(s){s&&Y(t)}}}function hl(e){let t=[e[6].team,e[5].team].indexOf(e[32].team)===-1,n,r=t&&ul(e);return{c(){r&&r.c(),n=Cn()},m(i,s){r&&r.m(i,s),G(i,n,s)},p(i,s){s[0]&97&&(t=[i[6].team,i[5].team].indexOf(i[32].team)===-1),t?r?r.p(i,s):(r=ul(i),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(i){i&&Y(n),r&&r.d(i)}}}function dl(e){let t,n,r,i;return{c(){t=de(“circle”),g(t,”class”,”hover-team svelte-t4gsj6″),g(t,”role”,”graphics-object”),g(t,”data-team”,n=e[6].team),g(t,”r”,ct),g(t,”cx”,r=e[6].pos[e[27]].x),g(t,”cy”,i=e[6].pos[e[27]].y),Q(t,”–theme-color”,e[6].color),Q(t,”–theme-dark-color”,e[6].dark_color),g(t,”stroke”,”#222222″),g(t,”stroke-width”,”2px”)},m(s,l){G(s,t,l)},p(s,l){l[0]&64&&n!==(n=s[6].team)&&g(t,”data-team”,n),l[0]&64&&r!==(r=s[6].pos[s[27]].x)&&g(t,”cx”,r),l[0]&64&&i!==(i=s[6].pos[s[27]].y)&&g(t,”cy”,i),l[0]&64&&Q(t,”–theme-color”,s[6].color),l[0]&64&&Q(t,”–theme-dark-color”,s[6].dark_color)},d(s){s&&Y(t)}}}function X1(e){let t,n;return{c(){t=de(“svg”),n=de(“path”),g(n,”id”,”Polygon 1″),g(n,”d”,”M6 3.5L1.91354e-07 6.53109L4.5634e-07 0.468911L6 3.5Z”),g(n,”fill”,”#E4E4E2″),g(n,”class”,”svelte-t4gsj6″),g(t,”class”,”arrow-svg svelte-t4gsj6″),g(t,”width”,”6″),g(t,”height”,”7″),g(t,”viewBox”,”0 0 6 7″),g(t,”fill”,”none”),g(t,”xmlns”,”http://www.w3.org/2000/svg”)},m(r,i){G(r,t,i),b(t,n)},d(r){r&&Y(t)}}}function Z1(e){let t,n;return{c(){t=de(“svg”),n=de(“path”),g(n,”id”,”Polygon 1″),g(n,”d”,”M6 3.5L1.91354e-07 6.53109L4.5634e-07 0.468911L6 3.5Z”),g(n,”fill”,”#E4E4E2″),g(n,”class”,”svelte-t4gsj6″),g(t,”class”,”arrow-svg svelte-t4gsj6″),g(t,”width”,”6″),g(t,”height”,”7″),g(t,”viewBox”,”0 0 6 7″),g(t,”fill”,”none”),g(t,”xmlns”,”http://www.w3.org/2000/svg”)},m(r,i){G(r,t,i),b(t,n)},d(r){r&&Y(t)}}}function _l(e){let t,n,r,i,s,l,o,a,f,c,h,u=e[27],d,_,m,p,v,w,T,y,S,x,k,N=e[10](e[27],e[6][e[27]])+””,D,M,C,L,E=e[10](e[27],e[6][e[27]])+””,F,U,I,W,H,$,X,te,Z,ie,Me;const fe=()=>e[12](h,u),j=()=>e[12](null,u);let se=_e(e[0]),B=[];for(let re=0;ree[15].call(a)),g(X,”class”,”svelte-t4gsj6″),g($,”class”,”annotation svelte-t4gsj6″),me($,”defense”,e[27]===”xpa”),g(o,”class”,”chart-wrapper svelte-t4gsj6″),g(t,”class”,”metric-container svelte-t4gsj6″),g(t,”id”,e[27])},m(re,K){G(re,t,K),b(t,n),b(n,r),b(n,i),b(n,s),b(t,l),b(t,o),b(o,a),b(a,f),b(f,c),b(c,h),fe(),b(c,d);for(let le=0;le`${F===”xmov”&&U>=0?”+”:””}${Be(U,1)}`,p=()=>{const F={},U=Math.ceil(+Ne.max(o.map(Z=>Math.abs(Z.xmov)))),I=Math.ceil(+Ne.max(o.map(Z=>Z.xpf))),W=Math.floor(+Ne.min(o.map(Z=>Z.xpf))),H=Math.ceil(+Ne.max(o.map(Z=>Z.xpa))),$=Math.floor(+Ne.min(o.map(Z=>Z.xpa))),X=c-a.left-a.right,te=(Z,ie)=>Ne.scaleLinear([Z,ie],[0,X]);return _.forEach(({col:Z})=>{const ie={xmov:U,xpf:Math.max(H,I),xpa:Math.max(H,I)}[Z],Me={xmov:-U,xpf:Math.min($,W),xpa:Math.min($,W)}[Z],fe=te(Me,ie);F[Z]=fe}),F},v=F=>{const U=h-a.top-a.bottom;return Ne.forceSimulation(o).force(“x”,Ne.forceX(I=>u[F](I[F])).strength(5)).force(“y”,Ne.forceY(()=>U/2).strength(5)).force(“collision”,Ne.forceCollide().radius(f)).stop()},w=F=>{const U=h-a.top-a.bottom;o.forEach(I=>{I.pos[F].x=u[F](I[F]),I.pos[F].y=U/2})},T=F=>{const I=v(F);for(let W=0;W{W.pos[F].x=W.x,W.pos[F].y=W.y})},y=F=>d[F]=Ne.Delaunay.from(o,U=>U.pos[F].x,U=>U.pos[F].y),S=F=>{var U=F.target.getBoundingClientRect(),I=F.clientX-U.left-a.left,W=F.clientY-U.top-a.top;return{x:I,y:W}},x=(F,U)=>{const I=S(F),W=d[U].find(I.x,I.y),H=o[W];if(Math.hypot(I.x-H.pos[U].x,I.y-H.pos[U].y)>50){n(6,i=o.find(X=>X.team===l));return}n(6,i=o[W])},k={xmov:null,xpa:null,xpf:null},N=F=>{const U=Ne.axisBottom(u==null?void 0:u[F]).ticks(5).tickFormat(I=>F===”xmov”&&I===0?”EVEN”:F===”xmov”&&I>0?`+${I}`:I).tickSize(h-a.top-a.bottom);Ne.select(k[F]).call(U).call(I=>I.select(“.domain”).remove()).call(I=>{I.selectAll(“line”).attr(“class”,”team-strength-axis-line”).attr(“data-val”,W=>W)}).call(I=>{I.selectAll(“text”).attr(“class”,”team-strength-axis-text”).attr(“data-val”,W=>W).style(“transform”,”translateY(5px)”).style(“font-size”,”13px”).style(“font-family”,”nyt-franklin”).style(“font-weight”,”500″)})},D=()=>{u=p(),_.forEach(({col:F})=>{w(F),T(F),y(F),N(F)}),n(0,o)};Ll(()=>(D(),window.addEventListener(“resize”,D),()=>{window.removeEventListener(“resize”,D)}));function M(F,U){we[F?”unshift”:”push”](()=>{k[U]=F,n(4,k)})}const C=(F,U)=>x(U,F),L=()=>n(6,i=o.find(F=>F.team===l));function E(){c=this.clientWidth,h=this.clientHeight,n(2,c),n(3,h)}return e.$$set=F=>{“team”in F&&n(1,l=F.team),”data”in F&&n(0,o=F.data)},e.$$.update=()=>{e.$$.dirty[0]&3&&n(7,r=o.find(F=>F.team===l).display_name),e.$$.dirty[0]&3&&n(6,i=o.find(F=>F.team===l)),e.$$.dirty[0]&3&&n(5,s=o.find(F=>F.team===l))},[o,l,c,h,k,s,i,r,a,_,m,x,M,C,L,E]}class Q1 extends nt{constructor(t){super(),tt(this,t,J1,K1,et,{team:1,data:0},null,[-1,-1])}}function gl(e,t,n){var u,d;const r=e.slice();r[12]=t[n],r[22]=n;const i=r[12].teams.find(_=>_.team===r[0]);r[13]=i;const s=r[12].teams.find(_=>_.team!==r[0]);r[14]=s;const l=(u=r[1].filter(function(…m){return e[11](r[14],…m)}))==null?void 0:u[0];r[15]=l;const o=r[13].is_home;r[16]=o;const a=r[13].is_winner;r[17]=a;const f=r[12].status===”post”&&r[12].teams[0].score===r[12].teams[1].score;r[18]=f;const c=((d=r[4][r[22]+1])==null?void 0:d.week)-r[12].week===2;r[19]=c;const h=r[12].teams.sort((_,m)=>{if(_.scorem.score||_.team===r[0]||m.team===r[0])return-1});return r[20]=h,r}function ml(e,t,n){const r=e.slice();return r[23]=t[n],r[22]=n,r}function pl(e){let t,n=e[2].team_schedule_dek+””,r;return{c(){t=A(“p”),r=q(n),g(t,”class”,”chart-dek svelte-d4tn5l”)},m(i,s){G(i,t,s),b(t,r)},p(i,s){s&4&&n!==(n=i[2].team_schedule_dek+””)&&ee(r,n)},d(i){i&&Y(t)}}}function e_(e){let t;return{c(){t=A(“p”),t.textContent=”TBD”,g(t,”class”,”svelte-d4tn5l”)},m(n,r){G(n,t,r)},p:Te,d(n){n&&Y(t)}}}function t_(e){let t,n=Ht(new Date(e[12].datetime).toLocaleDateString(e[6].locale,{weekday:”short”,year:void 0,month:”short”,day:”numeric”}))+””,r;return{c(){t=A(“p”),r=q(n),g(t,”class”,”svelte-d4tn5l”)},m(i,s){G(i,t,s),b(t,r)},p(i,s){s&16&&n!==(n=Ht(new Date(i[12].datetime).toLocaleDateString(i[6].locale,{weekday:”short”,year:void 0,month:”short”,day:”numeric”}))+””)&&ee(r,n)},d(i){i&&Y(t)}}}function bl(e){let t,n=e[18]?”T”:e[17]?”W”:”L”,r,i,s,l=_e(e[20]),o=[];for(let a=0;aBye Week’,l=P(),o=A(“td”),a=P(),f=A(“td”),c=P(),h=A(“td”),u=P(),d=A(“td”),_=P(),m=A(“td”),p=P(),v=A(“td”),w=P(),g(r,”class”,”rank-value svelte-d4tn5l”),g(r,”style”,e[22]&&”top: 2px;”),g(n,”class”,”rank rank-body svelte-d4tn5l”),g(s,”class”,”bye-week no-border-right team svelte-d4tn5l”),g(s,”scope”,”row”),g(o,”class”,”date no-border-right svelte-d4tn5l”),g(f,”class”,”time no-border-right svelte-d4tn5l”),g(h,”class”,”over-under no-border-right svelte-d4tn5l”),g(d,”class”,”point-spread no-border-right svelte-d4tn5l”),g(m,”class”,”win-prob no-border-right svelte-d4tn5l”),g(v,”class”,”result no-border-right svelte-d4tn5l”),g(t,”class”,”svelte-d4tn5l”)},m(T,y){G(T,t,y),b(t,n),b(n,r),b(t,i),b(t,s),b(t,l),b(t,o),b(t,a),b(t,f),b(t,c),b(t,h),b(t,u),b(t,d),b(t,_),b(t,m),b(t,p),b(t,v),b(t,w)},d(T){T&&Y(t)}}}function yl(e){let t,n,r,i=(e[12].week??e[22]+1)+””,s,l,o,a,f,c=e[16]?”vs”:”@”,h,u,d,_,m,p,v,w=e[14].display_name+””,T,y,S=e[15].record+””,x,k,N,D,M,C,L=(e[12].datetime?new Date(e[12].datetime).toLocaleTimeString(e[6].locale,{timeStyle:”short”}).toLowerCase().replace(/\s/g,””):”TBD”)+””,E,F,U,I,W=(e[12].over_under??”n/a”)+””,H,$,X,te,Z=(e[13].spread||(e[14].spread===”PK”?e[14].spread:Be(+e[14].spread*-1,1)))+””,ie,Me,fe,j,se=e[13].win_prob.prob+””,B,R,ne,J,O,re,K,le;function be(){return e[10](e[14])}function Ae(Le,ke){var Mt;return(Mt=Le[12])!=null&&Mt.datetime?t_:e_}let Ge=Ae(e),Ie=Ge(e),Se=e[12].status===”post”&&bl(e),ge=e[19]&&wl(e);return{c(){t=A(“tr”),n=A(“td”),r=A(“span”),s=q(i),l=P(),o=A(“th”),a=A(“button”),f=A(“span”),h=q(c),u=P(),d=A(“div”),m=P(),p=A(“span”),v=A(“span”),T=q(w),y=A(“span”),x=q(S),k=P(),N=A(“td”),Ie.c(),D=P(),M=A(“td”),C=A(“p”),E=q(L),F=P(),U=A(“td”),I=A(“p”),H=q(W),$=P(),X=A(“td”),te=A(“p”),ie=q(Z),Me=P(),fe=A(“td”),j=A(“p”),B=q(se),R=P(),ne=A(“td”),J=A(“div”),Se&&Se.c(),O=P(),ge&&ge.c(),re=Cn(),g(r,”class”,”rank-value svelte-d4tn5l”),g(r,”style”,e[22]&&”top: 2px;”),g(n,”class”,”rank rank-body svelte-d4tn5l”),g(f,”class”,”location svelte-d4tn5l”),g(d,”class”,”image svelte-d4tn5l”),g(d,”style”,_=`background-image: url(“${e[14].logo}”); background-size: contain;`),g(v,”class”,”name svelte-d4tn5l”),g(y,”class”,”current-record svelte-d4tn5l”),g(p,”class”,”svelte-d4tn5l”),g(a,”class”,”team-flex svelte-d4tn5l”),g(a,”role”,”link”),g(a,”tabindex”,”0″),g(o,”class”,”team svelte-d4tn5l”),g(o,”scope”,”row”),g(N,”class”,”date left no-border-right svelte-d4tn5l”),g(C,”class”,”svelte-d4tn5l”),g(M,”class”,”time left svelte-d4tn5l”),g(I,”class”,”svelte-d4tn5l”),g(U,”class”,”over-under center no-border-right svelte-d4tn5l”),g(te,”class”,”svelte-d4tn5l”),g(X,”class”,”point-spread center svelte-d4tn5l”),g(j,”class”,”odds-heatmap svelte-d4tn5l”),Q(j,”background-color”,e[13].win_prob.style.bg),Q(j,”color”,e[13].win_prob.style.text),g(fe,”class”,”win-prob right bold no-border-right svelte-d4tn5l”),g(J,”class”,”score svelte-d4tn5l”),g(ne,”class”,”result right svelte-d4tn5l”),g(t,”class”,”svelte-d4tn5l”)},m(Le,ke){G(Le,t,ke),b(t,n),b(n,r),b(r,s),b(t,l),b(t,o),b(o,a),b(a,f),b(f,h),b(a,u),b(a,d),b(a,m),b(a,p),b(p,v),b(v,T),b(p,y),b(y,x),b(t,k),b(t,N),Ie.m(N,null),b(t,D),b(t,M),b(M,C),b(C,E),b(t,F),b(t,U),b(U,I),b(I,H),b(t,$),b(t,X),b(X,te),b(te,ie),b(t,Me),b(t,fe),b(fe,j),b(j,B),b(t,R),b(t,ne),b(ne,J),Se&&Se.m(J,null),G(Le,O,ke),ge&&ge.m(Le,ke),G(Le,re,ke),K||(le=ve(a,”click”,be),K=!0)},p(Le,ke){e=Le,ke&16&&i!==(i=(e[12].week??e[22]+1)+””)&&ee(s,i),ke&17&&c!==(c=e[16]?”vs”:”@”)&&ee(h,c),ke&17&&_!==(_=`background-image: url(“${e[14].logo}”); background-size: contain;`)&&g(d,”style”,_),ke&17&&w!==(w=e[14].display_name+””)&&ee(T,w),ke&19&&S!==(S=e[15].record+””)&&ee(x,S),Ge===(Ge=Ae(e))&&Ie?Ie.p(e,ke):(Ie.d(1),Ie=Ge(e),Ie&&(Ie.c(),Ie.m(N,null))),ke&16&&L!==(L=(e[12].datetime?new Date(e[12].datetime).toLocaleTimeString(e[6].locale,{timeStyle:”short”}).toLowerCase().replace(/\s/g,””):”TBD”)+””)&&ee(E,L),ke&16&&W!==(W=(e[12].over_under??”n/a”)+””)&&ee(H,W),ke&17&&Z!==(Z=(e[13].spread||(e[14].spread===”PK”?e[14].spread:Be(+e[14].spread*-1,1)))+””)&&ee(ie,Z),ke&17&&se!==(se=e[13].win_prob.prob+””)&&ee(B,se),ke&17&&Q(j,”background-color”,e[13].win_prob.style.bg),ke&17&&Q(j,”color”,e[13].win_prob.style.text),e[12].status===”post”?Se?Se.p(e,ke):(Se=bl(e),Se.c(),Se.m(J,null)):Se&&(Se.d(1),Se=null),e[19]?ge||(ge=wl(e),ge.c(),ge.m(re.parentNode,re)):ge&&(ge.d(1),ge=null)},d(Le){Le&&(Y(t),Y(O),Y(re)),Ie.d(),Se&&Se.d(),ge&&ge.d(Le),K=!1,le()}}}function n_(e){var w,T;let t,n,r,i=e[3]?”The “+e[3]+”’ “:””,s,l=(((w=e[2])==null?void 0:w.team_schedule_hed)??”Schedule”)+””,o,a,f,c,h,u,d,_,m=((T=e[2])==null?void 0:T.team_schedule_dek)&&pl(e),p=_e(e[4]),v=[];for(let y=0;y WK. OPPONENT DATE TIME OVER/ UNDER POINT SPREAD WIN PROB. RESULT

‘,d=P(),_=A(“tbody”);for(let y=0;y{const p=window.location.pathname,v=window.location.hash;window.history.pushState({},””,`${p}?${l.toString()}${v}`),n(7,s=m),l.set(“page”,m),window.history.replaceState({},””,`${p}?${l.toString()}${v}`),window.scrollTo(0,0)},u=Intl.DateTimeFormat().resolvedOptions(),d=m=>h(m.team),_=(m,p)=>p.team===m.team;return e.$$set=m=>{“page”in m&&n(7,s=m.page),”params”in m&&n(8,l=m.params),”team”in m&&n(0,o=m.team),”forecast”in m&&n(1,a=m.forecast),”games”in m&&n(9,f=m.games),”editorialContent”in m&&n(2,c=m.editorialContent)},e.$$.update=()=>{var m;e.$$.dirty&513&&n(4,r=f.filter(p=>p.teams.map(v=>v.team).includes(o))),e.$$.dirty&3&&n(3,i=((m=a.find(p=>(p==null?void 0:p.team)===o))==null?void 0:m.team_name)??””)},[o,a,c,i,r,h,u,s,l,f,d,_]}class i_ extends nt{constructor(t){super(),tt(this,t,r_,n_,et,{page:7,params:8,team:0,forecast:1,games:9,editorialContent:2})}}function kl(e,t,n){const r=e.slice();return r[15]=t[n],r}function Ml(e,t,n){const r=e.slice();return r[18]=t[n],r}function Tl(e,t,n){const r=e.slice();return r[18]=t[n],r}function Al(e){let t,n,r,i,s,l=Ht(e[18].toLocaleDateString(“en-US”,{month:”short”}))+””,o,a;return{c(){t=de(“line”),s=de(“text”),o=q(l),g(t,”x1″,n=e[4](e[18])),g(t,”x2″,r=e[4](e[18])),g(t,”y1″,0),g(t,”y2″,i=-(e[2]-e[9].bottom-e[9].top)),g(t,”class”,”svelte-qbk1k7″),g(s,”text-anchor”,”middle”),g(s,”x”,a=e[4](e[18])),g(s,”y”,22),g(s,”class”,”svelte-qbk1k7″)},m(f,c){G(f,t,c),G(f,s,c),b(s,o)},p(f,c){c&16&&n!==(n=f[4](f[18]))&&g(t,”x1″,n),c&16&&r!==(r=f[4](f[18]))&&g(t,”x2″,r),c&4&&i!==(i=-(f[2]-f[9].bottom-f[9].top))&&g(t,”y2″,i),c&16&&a!==(a=f[4](f[18]))&&g(s,”x”,a)},d(f){f&&(Y(t),Y(s))}}}function s_(e){let t,n,r;return{c(){t=de(“text”),n=q(“%”),g(t,”text-anchor”,”start”),g(t,”dominant-baseline”,”middle”),g(t,”x”,-12),g(t,”y”,r=e[3](e[18])),g(t,”class”,”svelte-qbk1k7″)},m(i,s){G(i,t,s),b(t,n)},p(i,s){s&8&&r!==(r=i[3](i[18]))&&g(t,”y”,r)},d(i){i&&Y(t)}}}function Sl(e){let t,n,r,i,s,l,o,a,f=e[18]===100&&s_(e);return{c(){t=de(“line”),s=de(“text”),l=q(e[18]),f&&f.c(),a=Cn(),g(t,”data-val”,e[18]),g(t,”x1″,e[18]===100?2:-10),g(t,”x2″,n=e[1]-e[9].left-e[9].right),g(t,”y1″,r=e[3](e[18])),g(t,”y2″,i=e[3](e[18])),g(t,”class”,”svelte-qbk1k7″),g(s,”data-val”,e[18]),g(s,”text-anchor”,”end”),g(s,”dominant-baseline”,”middle”),g(s,”x”,-12),g(s,”y”,o=e[3](e[18])),g(s,”class”,”svelte-qbk1k7″)},m(c,h){G(c,t,h),G(c,s,h),b(s,l),f&&f.m(c,h),G(c,a,h)},p(c,h){h&2&&n!==(n=c[1]-c[9].left-c[9].right)&&g(t,”x2″,n),h&8&&r!==(r=c[3](c[18]))&&g(t,”y1″,r),h&8&&i!==(i=c[3](c[18]))&&g(t,”y2″,i),h&8&&o!==(o=c[3](c[18]))&&g(s,”y”,o),c[18]===100&&f.p(c,h)},d(c){c&&(Y(t),Y(s),Y(a)),f&&f.d(c)}}}function Nl(e){let t,n=e[15].option_string+””,r,i,s;return{c(){t=A(“option”),r=q(n),t.selected=i=e[0]===e[15].value,t.__value=s=e[15].value,Pt(t,t.__value)},m(l,o){G(l,t,o),b(t,r)},p(l,o){o&256&&n!==(n=l[15].option_string+””)&&ee(r,n),o&257&&i!==(i=l[0]===l[15].value)&&(t.selected=i),o&256&&s!==(s=l[15].value)&&(t.__value=s,Pt(t,t.__value))},d(l){l&&Y(t)}}}function l_(e){let t,n,r,i,s=e[8].name+””,l,o,a,f=e[7].display+””,c,h,u,d=e[8].metrics.find(e[12]).display_string+””,_,m,p,v,w,T,y,S,x,k,N,D,M,C,L,E,F,U,I,W,H,$,X=_e([new Date(“2024-10-02”),new Date(“2024-11-02”),new Date(“2024-12-02”),new Date(“2025-01-02”),new Date(“2025-02-02″)]),te=[];for(let j=0;je[13].call(m)),g(F,”for”,”metric-select”),g(F,”class”,”svelte-qbk1k7″),g(W,”id”,”metric-select”),g(W,”class”,”svelte-qbk1k7″),e[0]===void 0&&vt(()=>e[14].call(W)),g(I,”id”,”select-container”),g(I,”class”,”svelte-qbk1k7″),g(E,”id”,”picker”),g(E,”class”,”svelte-qbk1k7″),g(t,”id”,”team-odds”),Q(t,”–theme-color”,e[8].color),Q(t,”–theme-dark-color”,e[8].dark_color),g(t,”class”,”svelte-qbk1k7″)},m(j,se){G(j,t,se),b(t,n),b(n,r),b(n,i),b(i,l),b(n,o),b(n,a),b(a,c),b(n,h),u.m(d,n),b(t,_),b(t,m),b(m,p),b(p,v);for(let B=0;Bw.value===h;function p(){d=this.clientWidth,_=this.clientHeight,n(1,d),n(2,_)}function v(){h=El(this),n(0,h),n(8,r),n(11,c),n(10,f)}return e.$$set=w=>{“team”in w&&n(10,f=w.team),”odds”in w&&n(11,c=w.odds)},e.$$.update=()=>{e.$$.dirty&3072&&n(8,r=c.teams.find(w=>w.alias===f)),e.$$.dirty&3073&&n(5,i=c.all_odds.filter(w=>w.team==f&&w.metric==h)),e.$$.dirty&32&&n(7,s=i[i.length-1]),e.$$.dirty&34&&n(4,l=Ne.scaleUtc([new Date(i[0].xAxis),new Date(“2025-02-15T00:15:00+00:00″)],[u.left,d-u.right])),e.$$.dirty&4&&n(3,o=Ne.scaleLinear([0,100],[_-u.bottom,u.top])),e.$$.dirty&24&&n(6,a=Ne.line().x(w=>l(new Date(w.xAxis))).y(w=>o(w.value)).curve(Ne.curveStepAfter))},[h,d,_,o,l,i,a,s,r,u,f,c,m,p,v]}class f_ extends nt{constructor(t){super(),tt(this,t,a_,l_,et,{team:10,odds:11})}}function c_(e){let t,n,r,i,s,l,o,a,f,c,h,u,d,_,m;function p(M){e[12](M)}let v={odds:e[6]};e[2]!==void 0&&(v.team=e[2]),n=new f_({props:v}),we.push(()=>xe(n,”team”,p));function w(M){e[13](M)}let T={data:e[8]};e[2]!==void 0&&(T.team=e[2]),s=new Q1({props:T}),we.push(()=>xe(s,”team”,w));function y(M){e[14](M)}let S={recordOdds:e[7]};e[2]!==void 0&&(S.team=e[2]),a=new G1({props:S}),we.push(()=>xe(a,”team”,y));function x(M){e[15](M)}function k(M){e[16](M)}function N(M){e[17](M)}let D={forecast:e[3],games:e[4],editorialContent:e[5]};return e[2]!==void 0&&(D.team=e[2]),e[0]!==void 0&&(D.page=e[0]),e[1]!==void 0&&(D.params=e[1]),h=new i_({props:D}),we.push(()=>xe(h,”team”,x)),we.push(()=>xe(h,”page”,k)),we.push(()=>xe(h,”params”,N)),{c(){t=A(“div”),it(n.$$.fragment),i=P(),it(s.$$.fragment),o=P(),it(a.$$.fragment),c=P(),it(h.$$.fragment),g(t,”class”,”team-container svelte-3xqtg7″)},m(M,C){G(M,t,C),Je(n,t,null),b(t,i),Je(s,t,null),b(t,o),Je(a,t,null),b(t,c),Je(h,t,null),m=!0},p(M,[C]){const L={};!r&&C&4&&(r=!0,L.team=M[2],Ce(()=>r=!1)),n.$set(L);const E={};!l&&C&4&&(l=!0,E.team=M[2],Ce(()=>l=!1)),s.$set(E);const F={};!f&&C&4&&(f=!0,F.team=M[2],Ce(()=>f=!1)),a.$set(F);const U={};C&8&&(U.forecast=M[3]),C&16&&(U.games=M[4]),C&32&&(U.editorialContent=M[5]),!u&&C&4&&(u=!0,U.team=M[2],Ce(()=>u=!1)),!d&&C&1&&(d=!0,U.page=M[0],Ce(()=>d=!1)),!_&&C&2&&(_=!0,U.params=M[1],Ce(()=>_=!1)),h.$set(U)},i(M){m||(je(n.$$.fragment,M),je(s.$$.fragment,M),je(a.$$.fragment,M),je(h.$$.fragment,M),m=!0)},o(M){Xe(n.$$.fragment,M),Xe(s.$$.fragment,M),Xe(a.$$.fragment,M),Xe(h.$$.fragment,M),m=!1},d(M){M&&Y(t),Qe(n),Qe(s),Qe(a),Qe(h)}}}function u_(e,t,n){let{page:r}=t,{params:i}=t,{team:s}=t,{forecast:l}=t,{forecastHistory:o}=t,{games:a}=t,{teamsData:f}=t,{clinches:c}=t,{editorialContent:h}=t;const u=Dh(o,f,c),d=xh(l,f),_=Eh(l,f);function m(S){s=S,n(2,s)}function p(S){s=S,n(2,s)}function v(S){s=S,n(2,s)}function w(S){s=S,n(2,s)}function T(S){r=S,n(0,r)}function y(S){i=S,n(1,i)}return e.$$set=S=>{“page”in S&&n(0,r=S.page),”params”in S&&n(1,i=S.params),”team”in S&&n(2,s=S.team),”forecast”in S&&n(3,l=S.forecast),”forecastHistory”in S&&n(9,o=S.forecastHistory),”games”in S&&n(4,a=S.games),”teamsData”in S&&n(10,f=S.teamsData),”clinches”in S&&n(11,c=S.clinches),”editorialContent”in S&&n(5,h=S.editorialContent)},[r,i,s,l,a,h,u,d,_,o,f,c,m,p,v,w,T,y]}class h_ extends nt{constructor(t){super(),tt(this,t,u_,c_,et,{page:0,params:1,team:2,forecast:3,forecastHistory:9,games:4,teamsData:10,clinches:11,editorialContent:5})}}function Cl(e){let t;function n(s,l){return s[1]?__:d_}let r=n(e),i=r(e);return{c(){i.c(),t=Cn()},m(s,l){i.m(s,l),G(s,t,l)},p(s,l){r===(r=n(s))&&i?i.p(s,l):(i.d(1),i=r(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&Y(t),i.d(s)}}}function d_(e){let t,n,r;return{c(){t=A(“button”),t.textContent=”Read more”,g(t,”class”,”read-more svelte-4jt9lm”)},m(i,s){G(i,t,s),n||(r=ve(t,”click”,e[3]),n=!0)},p:Te,d(i){i&&Y(t),n=!1,r()}}}function __(e){let t,n=e[0].methodology_cont+””,r,i,s,l;return{c(){t=new ai(!1),r=P(),i=A(“button”),i.textContent=”Show less”,t.a=r,g(i,”class”,”read-more svelte-4jt9lm”)},m(o,a){t.m(n,o,a),G(o,r,a),G(o,i,a),s||(l=ve(i,”click”,e[2]),s=!0)},p(o,a){a&1&&n!==(n=o[0].methodology_cont+””)&&t.p(n)},d(o){o&&(t.d(),Y(r),Y(i)),s=!1,l()}}}function g_(e){let t,n,r,i,s,l=e[0].methodology_short+””,o,a,f,c,h,u,d=e[0].credits+””,_=e[0].methodology_cont&&Cl(e);return{c(){t=A(“div”),n=A(“div”),r=A(“h2″),r.textContent=”Methodology”,i=P(),s=new ai(!1),o=P(),_&&_.c(),a=P(),f=A(“div”),c=A(“h2″),c.textContent=”Credits”,h=P(),u=A(“div”),g(r,”class”,”svelte-4jt9lm”),s.a=o,g(c,”class”,”svelte-4jt9lm”),g(t,”class”,”methodology-wrapper svelte-4jt9lm”)},m(m,p){G(m,t,p),b(t,n),b(n,r),b(n,i),s.m(l,n),b(n,o),_&&_.m(n,null),b(t,a),b(t,f),b(f,c),b(f,h),b(f,u),u.innerHTML=d},p(m,[p]){p&1&&l!==(l=m[0].methodology_short+””)&&s.p(l),m[0].methodology_cont?_?_.p(m,p):(_=Cl(m),_.c(),_.m(n,null)):_&&(_.d(1),_=null),p&1&&d!==(d=m[0].credits+””)&&(u.innerHTML=d)},i:Te,o:Te,d(m){m&&Y(t),_&&_.d()}}}function m_(e,t,n){let{editorialContent:r}=t,i=!1;const s=()=>n(1,i=!1),l=()=>n(1,i=!0);return e.$$set=o=>{“editorialContent”in o&&n(0,r=o.editorialContent)},[r,i,s,l]}class p_ extends nt{constructor(t){super(),tt(this,t,m_,g_,et,{editorialContent:0})}}function b_(e){let t,n,r,i;return{c(){t=A(“div”),n=A(“p”),r=q(“Last updated “),i=q(e[0]),g(n,”class”,”last-updated svelte-1y03966″),g(t,”class”,”last-updated-cont svelte-1y03966″)},m(s,l){G(s,t,l),b(t,n),b(n,r),b(n,i)},p(s,[l]){l&1&&ee(i,s[0])},i:Te,o:Te,d(s){s&&Y(t)}}}function v_(e,t,n){let{lastUpdatedTimestamp:r}=t;return e.$$set=i=>{“lastUpdatedTimestamp”in i&&n(0,r=i.lastUpdatedTimestamp)},[r]}class w_ extends nt{constructor(t){super(),tt(this,t,v_,b_,et,{lastUpdatedTimestamp:0})}}function y_(e){let t,n,r,i;function s(a){e[14](a)}function l(a){e[15](a)}let o={team:e[3],forecast:e[4][0].forecast,forecastHistory:e[0].forecast_history,games:e[5].games,teamsData:e[1].teamsv2,clinches:e[0].clinches,editorialContent:e[8]};return e[3]!==void 0&&(o.page=e[3]),e[2]!==void 0&&(o.params=e[2]),t=new h_({props:o}),we.push(()=>xe(t,”page”,s)),we.push(()=>xe(t,”params”,l)),{c(){it(t.$$.fragment)},m(a,f){Je(t,a,f),i=!0},p(a,f){const c={};f&8&&(c.team=a[3]),f&1&&(c.forecastHistory=a[0].forecast_history),f&2&&(c.teamsData=a[1].teamsv2),f&1&&(c.clinches=a[0].clinches),!n&&f&8&&(n=!0,c.page=a[3],Ce(()=>n=!1)),!r&&f&4&&(r=!0,c.params=a[2],Ce(()=>r=!1)),t.$set(c)},i(a){i||(je(t.$$.fragment,a),i=!0)},o(a){Xe(t.$$.fragment,a),i=!1},d(a){Qe(t,a)}}}function k_(e){let t,n,r;function i(l){e[13](l)}let s={games:e[5],editorialContent:e[8]};return e[2]!==void 0&&(s.params=e[2]),t=new Bh({props:s}),we.push(()=>xe(t,”params”,i)),{c(){it(t.$$.fragment)},m(l,o){Je(t,l,o),r=!0},p(l,o){const a={};!n&&o&4&&(n=!0,a.params=l[2],Ce(()=>n=!1)),t.$set(a)},i(l){r||(je(t.$$.fragment,l),r=!0)},o(l){Xe(t.$$.fragment,l),r=!1},d(l){Qe(t,l)}}}function M_(e){let t,n,r,i;function s(a){e[11](a)}function l(a){e[12](a)}let o={weeklyForecasts:e[4]};return e[3]!==void 0&&(o.page=e[3]),e[2]!==void 0&&(o.params=e[2]),t=new qh({props:o}),we.push(()=>xe(t,”page”,s)),we.push(()=>xe(t,”params”,l)),{c(){it(t.$$.fragment)},m(a,f){Je(t,a,f),i=!0},p(a,f){const c={};!n&&f&8&&(n=!0,c.page=a[3],Ce(()=>n=!1)),!r&&f&4&&(r=!0,c.params=a[2],Ce(()=>r=!1)),t.$set(c)},i(a){i||(je(t.$$.fragment,a),i=!0)},o(a){Xe(t.$$.fragment,a),i=!1},d(a){Qe(t,a)}}}function T_(e){let t,n,r,i,s,l,o,a,f,c,h,u,d;n=new w_({props:{lastUpdatedTimestamp:e[7].format(new Date(e[4][0].lastUpdated))}});function _(y){e[9](y)}function m(y){e[10](y)}let p={teams:e[6]};e[3]!==void 0&&(p.page=e[3]),e[2]!==void 0&&(p.params=e[2]),s=new ha({props:p}),we.push(()=>xe(s,”page”,_)),we.push(()=>xe(s,”params”,m));const v=[M_,k_,y_],w=[];function T(y,S){return y[3]===”standings”?0:y[3]===”games”?1:2}return f=T(e),c=w[f]=v[f](e),u=new p_({props:{editorialContent:e[8]}}),{c(){t=A(“main”),it(n.$$.fragment),r=P(),i=A(“div”),it(s.$$.fragment),a=P(),c.c(),h=P(),it(u.$$.fragment),g(i,”class”,”top-container svelte-lj4w0s”),g(t,”class”,”app-wrapper svelte-lj4w0s”)},m(y,S){G(y,t,S),Je(n,t,null),b(t,r),b(t,i),Je(s,i,null),b(i,a),w[f].m(i,null),b(i,h),Je(u,i,null),d=!0},p(y,[S]){const x={};!l&&S&8&&(l=!0,x.page=y[3],Ce(()=>l=!1)),!o&&S&4&&(o=!0,x.params=y[2],Ce(()=>o=!1)),s.$set(x);let k=f;f=T(y),f===k?w[f].p(y,S):(la(),Xe(w[k],1,1,()=>{w[k]=null}),oa(),c=w[f],c?c.p(y,S):(c=w[f]=v[f](y),c.c()),je(c,1),c.m(i,h))},i(y){d||(je(n.$$.fragment,y),je(s.$$.fragment,y),je(c),je(u.$$.fragment,y),d=!0)},o(y){Xe(n.$$.fragment,y),Xe(s.$$.fragment,y),Xe(c),Xe(u.$$.fragment,y),d=!1},d(y){y&&Y(t),Qe(n),Qe(s),w[f].d(),Qe(u)}}}function A_(e,t,n){let{data:r}=t,{teamsData:i}=t,s=new URLSearchParams(window.location.search),l=s.get(“page”)||”standings”;const o=Nh(r,i.teamsv2),a=Ch(r.games,i.teamsv2),f=i.teamsv2.slice().sort((y,S)=>y.display_name>S.display_name?1:-1),c=Intl.DateTimeFormat().resolvedOptions()||{locale:”en-US”},h=new Intl.DateTimeFormat(c==null?void 0:c.locale,{year:”numeric”,month:”long”,day:”numeric”,hour:”numeric”,minute:”numeric”}),u=Lh(r.editorial);window.addEventListener(“popstate”,()=>{n(2,s=new URLSearchParams(window.location.search)),n(3,l=s.get(“page”)||”standings”)});function d(y){l=y,n(3,l)}function _(y){s=y,n(2,s)}function m(y){l=y,n(3,l)}function p(y){s=y,n(2,s)}function v(y){s=y,n(2,s)}function w(y){l=y,n(3,l)}function T(y){s=y,n(2,s)}return e.$$set=y=>{“data”in y&&n(0,r=y.data),”teamsData”in y&&n(1,i=y.teamsData)},[r,i,s,l,o,a,f,h,u,d,_,m,p,v,w,T]}class S_ extends nt{constructor(t){super(),tt(this,t,A_,T_,et,{data:0,teamsData:1})}}new S_({target:document.getElementById(“app”),props:{data:JSON.parse(document.getElementById(“data”).textContent),teamsData:JSON.parse(document.getElementById(“teamsData”).textContent)}});