1import { n as a, t as _, y as S } from "./chunk-xgti9j2t.js"; 2import { $r as w, Ai as L, An as A, Ea as G, Hn as T, Kn as y, Li as F, Pi as I, Pt as p, Rn as N, Sa as e, Sn as h, Sr as R, Y, Yn as K, fa as b, fi as M, fr as W, gt as r, h as J, qr as X, ri as x, t as q, tn as m, ua as P, wa as V, zo as Z } from "./chunk-c97c17u8.js"; 3import { C as O, M as Q } from "./chunk-l3jkbhly.js"; 4import { p as j } from "./chunk-k52vj1ic.js"; 5import { o as H } from "./chunk-l24fzhmb.js"; 6import { A as $ } from "./chunk-jrtaqqwj.js"; 7import { o as z, t as E } from "./chunk-pesy0vb6.js"; 8import { D as U, o as ii } from "./chunk-llc8ry2a.js"; 9import { ut as ti } from "./chunk-fbjoug0d.js"; 10import { a as ni } from "./chunk-ewplex8i.js"; 11import { n as si } from "./chunk-c18gpzrj.js"; 12import { r as ri } from "./chunk-c9rg1mp5.js"; 13import { t as oi } from "./chunk-kyqvtgtk.js"; 14import { Y as ai, gt as _i } from "./chunk-ldkhjowa.js"; 15import { p as ei } from "./chunk-bhnvkbxx.js"; 16import { ot as mi } from "./chunk-f2v2cgea.js"; 17import { c as ci } from "./chunk-mnbyc2sm.js"; 18import { Dn as ui, Tt as pi, jr as hi } from "./chunk-gacv0pfq.js"; 19import { t as ki } from "./chunk-k4et3zlq.js"; 20import { i as fi, p as gi } from "./chunk-hul0ult7.js"; 21import { n as di } from "./chunk-lmnwxprc.js"; 22import { r as li } from "./chunk-ilfhy0in.js"; 23import { n as Ci } from "./chunk-ohg30iel.js"; 24import { $ as Di } from "./chunk-iuhjzybw.js"; 25import { a as Bi } from "./chunk-kanq2829.js"; 26import { i as vi } from "./chunk-lareec7a.js"; 27import { n as Si } from "./chunk-im7lpx1v.js"; 28import { mn as wi } from "./chunk-l8i5rin8.js"; 29import { a as Li, s as Ai } from "./chunk-kdzbhsd4.js"; 30import { r as Gi } from "./chunk-n5f0it4j.js"; 31import { n as Ti } from "./chunk-bh3f6w1f.js"; 32import { i as yi } from "./chunk-i11ygqqd.js"; 33import { Cg as Fi, Cr as Ii, Ia as Ni, In as Ri, Pa as Yi, Ra as Ki, Ta as bi, Ua as Mi, Va as Wi, Wr as Ji, _t as Xi, fo as xi, io as qi, ja as Pi, ka as Vi, pt as Zi, qn as Oi, so as Qi, ti as ji, uo as Hi, xr as $i, xt as zi } from "./chunk-fkxg6vdg.js"; 34import { At as Ei, Qn as Ui, Vr as it } from "./chunk-hx2yplj1.js"; 35import { t as tt } from "./chunk-lp5qx0hj.js"; 36import { n as nt } from "./chunk-j0f6jhv0.js"; 37import { r as st } from "./chunk-jq0sl3ei.js"; 38import { n as rt } from "./chunk-ja26nt1r.js"; 39import { n as ot } from "./chunk-fv4f1vyv.js"; 40import { r as at } from "./chunk-ma4xjfxi.js"; 41import { n as _t } from "./chunk-izpvy78m.js"; 42import { r as et } from "./chunk-i434qwa7.js"; 43import { n as mt } from "./chunk-n2m7u3ae.js"; 44import { t as ct } from "./chunk-jgjuk5z7.js"; 45import { n as ut } from "./chunk-cjgg81p0.js"; 46import { t as pt } from "./chunk-eg3yts4b.js"; 47import { t as ht } from "./chunk-bk7xj4n1.js"; 48import { n as kt } from "./chunk-cl5g7q50.js"; 49import { n as ft } from "./chunk-e2z1ouiv.js"; 50import { n as gt } from "./chunk-d4necurt.js"; 51import { o as dt } from "./chunk-e6qaxun5.js"; 52import { n as lt } from "./chunk-ie480lkb.js"; 53import { n as Ct } from "./chunk-eber62ai.js"; 54import { i as Dt } from "./chunk-cfuo9w63.js"; 55import { n as Bt, t as vt } from "./chunk-de3osvzz.js"; 56import { n as St } from "./chunk-i7ecc880.js"; 57import { n as wt } from "./chunk-lftrv4gu.js"; 58import { u as Lt } from "./chunk-nzss4xkx.js"; 59import { t as At } from "./chunk-eppu64g8.js"; 60import { l as Gt, n as Tt, o as yt } from "./chunk-jjdosnus.js"; 61import { n as Ft } from "./chunk-m1yc3ygr.js"; 62import { i as It } from "./chunk-f0kmjl66.js"; 63import { i as Nt, n as Rt, r as Yt, t as Kt } from "./chunk-jt03nft0.js"; 64import { t as bt } from "./chunk-na08qrnm.js"; 65import { n as Mt, t as Wt } from "./chunk-gosye4db.js"; 66import { a as Jt, t as Xt } from "./chunk-kidi6db9.js"; 67import { n as xt, r as qt, t as Pt } from "./chunk-hi1r1ub7.js"; 68import { t as Vt } from "./chunk-o4f8w5yc.js"; 69function Zt(t, s) { 70 t & 1 && h(0, "ms-widget-header", 0), t & 2 && m("title", e().title); 71} 72function Ot(t, s) { 73 if (t & 1) { 74 let i = R(); 75 G(0, "ms-event-group", 2), q("toggle", function() { 76 let n = W(i).$implicit; 77 return Z(e().groupToggled(n.id)); 78 }), h(1, "ndc-dynamic", 3), x(2, "async"), b(); 79 } 80 if (t & 2) { 81 let i = s.$implicit, n = e(); 82 m("group", i)("sport", n.sport), p(), m("ndcDynamicComponent", V(2, 4, n.leagueStatisticsComponent$))("ndcDynamicInputs", P(6, k, i.statistics)); 83 } 84} 85function Qt() { 86 return [pi(d)]; 87} 88var k, f, g, d; 89function l() { 90 return (l = Vt((() => { 91 S(), I(), Q(), j(), H(), $(), z(), U(), ti(), ni(), si(), ri(), oi(), ii(), _i(), ei(), mi(), ai(), ci(), hi(), ki(), gi(), fi(), di(), li(), Ci(), Di(), ui(), Fi(), Bi(), vi(), xi(), Hi(), Si(), Qi(), qi(), Mi(), Wi(), Ki(), wi(), Ni(), Yi(), Pi(), Vi(), bi(), Ai(), Li(), ji(), Ji(), Ii(), $i(), Oi(), Ri(), Gi(), Ti(), yi(), zi(), Xi(), Zi(), Ui(), tt(), nt
91(), st(), ot(), rt(), at(), et(), mt(), ct(), _t(), ut(), pt(), ht(), kt(), ft(), gt(), dt(), lt(), Ct(), Dt(), Bt(), St(), wt(), Lt(), At(), Gt(), It(), Ft(), Xt(), Yt(), bt(), Mt(), xt(), k = (t) => ({ league: t }), f = (t, s) => s.id, g = (() => { 92 let t = class extends yt { 93 constructor() { 94 super(...arguments), this.competitionRouteService = r(Ei), this.standingService = r(Rt), this.bettingCache = r(vt), this.pruneService = r(Nt), this.virtualCompetitionService = r(Kt), this.changeDetectorRef = r(A), this.groups = [], this.className = "standings grid grid-wrapper", this.leagueStatisticsComponent$ = X(() => import("./chunk-Bhmiktlr0.js")).pipe(y((i) => i.LeagueStatisticsComponent)); 95 } 96 groupToggled(i) { 97 this.groups = this.groups.map((n) => n.id === i ? a(_({}, n), { collapsed: !n.collapsed }) : n); 98 } 99 get showTitle() { 100 return !this.parent && !!this.title; 101 } 102 onData(i) { 103 let n = this.competitionRouteService.params(); 104 this.getLeagueGroups(i, n); 105 } 106 getLeagueGroups(i, n) { 107 this.bettingCache.getSport(n.sport).pipe(E(this.destroyRef)).subscribe((c) => { 108 c || (this.groups = []); 109 let o = this.pruneService.prune(c, n); 110 this.sport = a(_({}, o), { virtual: !1 }), this.groups = this.standingService.getStandingsGroups({ sport: o }).map((u) => a(_({}, u), { statistics: i.statistics.find(({ competitionId: D, groupId: B, stageId: v }) => [ 111 D, 112 B, 113 v 114 ].includes(u.details.id)) })); 115 let C = this.virtualCompetitionService.getCompetition(o, n, !!n.isVirtual); 116 this.title = this.interpolateTitle(i?.title, C), this.hasData = !!i.statistics?.length && !!this.groups?.length, this.setWidgetLoaded(), this.changeDetectorRef.detectChanges(); 117 }); 118 } 119 interpolateTitle(i, n) { 120 return it(i, { competition: n?.name ?? "" }); 121 } 122 }; 123 return t.ɵfac = (() => { 124 let s; 125 return function(i) { 126 return (s || (s = L(t)))(i || t); 127 }; 128 })(), t.ɵcmp = T({ 129 type: t, 130 selectors: [["ms-standings-widget"]], 131 hostVars: 2, 132 hostBindings: function(s, i) { 133 s & 2 && N(i.className); 134 }, 135 features: [w], 136 decls: 3, 137 vars: 1, 138 consts: [ 139 [3, "title"], 140 [ 141 1, 142 "ms-grid", 143 3, 144 "group", 145 "sport" 146 ], 147 [ 148 1, 149 "ms-grid", 150 3, 151 "toggle", 152 "group", 153 "sport" 154 ], 155 [ 156 3, 157 "ndcDynamicComponent", 158 "ndcDynamicInputs" 159 ] 160 ], 161 template: function(s, i) { 162 s & 1 && (Y(0, Zt, 1, 1, "ms-widget-header", 0), J(1, Ot, 3, 8, "ms-event-group", 1, f)), s & 2 && (F(i.showTitle ? 0 : -1), p(), K(i.groups)); 163 }, 164 dependencies: [ 165 Wt, 166 Jt, 167 Pt, 168 qt, 169 O 170 ], 171 encapsulation: 2 172 }), t; 173 })(), d = (() => { 174 let t = class { 175 constructor() { 176 this.widgetRegistry = r(Tt); 177 } 178 onFeatureInit() { 179 this.widgetRegistry.registerLazy("CompetitionStandings", g); 180 } 181 }; 182 return t.ɵfac = function(s) { 183 return new (s || t)(); 184 }, t.ɵprov = M({ 185 token: t, 186 factory: t.ɵfac, 187 providedIn: "root" 188 }), t; 189 })(); 190 })))(); 191} 192l(); 193export { Qt as provide }; 194 195//# sourceMappingURL=chunk-e4af37sz.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.