PageSourceSearch

https://www.il.betmgm.com/ClientDist/browser/chunk-huv1f3sa.js

js betmgm.com collected 2026-09-24 09:04:05 UTC 52,398 bytes, 1,413 lines download raw bytes

1import { g as He, n as B, t as w, y as ze } from "./chunk-xgti9j2t.js";
2import { $ as y, $r as Ge, Aa as Fe, Ao as je, Ba as k, Cr as Ue, Do as Ze, E as Ye, Ea as d, Et as se, F as qe, Gt as Je, Hi as Xe, Hn as M, Kn as We, Li as u, Pi as Ke, Pn as Qe, Pt as r, Rn as S, S as et, Sa as a, Sn as p, Sr as T, T as U, To as tt, Ui as ae, Vn as it, Xa as I, Xt as nt, Y as g, Yn as Z, a as st, aa as L, ci as at, fa as l, fi as R, fr as b, go as ot, gt as o, h as Y, ii as rt, ir as oe, j as q, jr as dt, ko as ct, l as lt, lo as mt, nr as ht, oi as pt, or as $, ro as vt, s as ut, sa as A, t as E, tn as m, tr as gt, tt as ft, ua as re, ui as Et, xi as de, xn as bt, xr as _t, zo as _ } from "./chunk-c97c17u8.js";
3import { M as Ct } from "./chunk-l3jkbhly.js";
4import { p as kt } from "./chunk-k52vj1ic.js";
5import { o as St, t as Tt } from "./chunk-l24fzhmb.js";
6import { A as Mt } from "./chunk-jrtaqqwj.js";
7import { o as It, t as H } from "./chunk-pesy0vb6.js";
8import { D as yt, o as Ot } from "./chunk-llc8ry2a.js";
9import { St as Pt, ut as xt } from "./chunk-fbjoug0d.js";
10import { a as At } from "./chunk-ewplex8i.js";
11import { n as Nt, r as Dt } from "./chunk-c18gpzrj.js";
12import { r as Vt } from "./chunk-c9rg1mp5.js";
13import { t as Bt } from "./chunk-kyqvtgtk.js";
14import { Y as wt, gt as Lt } from "./chunk-w0x32net.js";
15import { p as Rt } from "./chunk-bhnvkbxx.js";
16import { ot as $t } from "./chunk-f2v2cgea.js";
17import { c as Ht } from "./chunk-og5uebri.js";
18import { Dn as zt, Tt as Gt, ct as Ft, jr as jt, wn as Ut } from "./chunk-go6pvd0a.js";
19import { t as Zt } from "./chunk-k4et3zlq.js";
20import { i as Yt, p as qt } from "./chunk-hul0ult7.js";
21import { n as Jt } from "./chunk-lmnwxprc.js";
22import { r as Xt } from "./chunk-ilfhy0in.js";
23import { n as Wt } from "./chunk-ohg30iel.js";
24import { $ as Kt } from "./chunk-iuhjzybw.js";
25import { a as Qt, i as J } from "./chunk-kanq2829.js";
26import { i as ei } from "./chunk-lareec7a.js";
27import { n as ti } from "./chunk-im7lpx1v.js";
28import { Xt as ii, h as z, m as ni, mn as si, tr as ce } from "./chunk-l8i5rin8.js";
29import { c as ai, l as oi } from "./chunk-pccxjem8.js";
30import { r as ri, t as O } from "./chunk-i1knml6i.js";
31import { n as di, t as ci } from "./chunk-bh3f6w1f.js";
32import { i as li } from "./chunk-eoj30x9t.js";
33import { Ba as mi, Ca as hi, Cg as pi, Cr as vi, Er as ui, Fo as gi, Hn as N, Ia as fi, In as Ei, Kn as X, Ni as bi, Pa as _i, Qi as Ci, Ra as ki, Va as Si, Vn as v, Wr as Ti, Zn as Mi, am as Ii, do as yi, er as Oi, fo as Pi, fr as xi, gr as Ai, h as Ni, ir as Di, ja as Vi, li as W, lo as Bi, m as wi, oi as le, om as K, qn as Li, ri as me, rr as Ri, si as $i, so as Hi, ti as zi, uo as Gi, xr as Fi } from "./chunk-g8mtbi19.js";
34import { $n as ji, Nt as G, Tn as he, Xr as Ui, fn as Zi, ji as Yi, yn as pe } from "./chunk-iq8thase.js";
35import { i as qi, n as Ji, r as Xi, t as Wi } from "./chunk-f9r9q8kp.js";
36import { t as Ki } from "./chunk-o2kd60zq.js";
37import { n as Qi, t as ve } from "./chunk-eto2r310.js";
38import { r as en } from "./chunk-c5h65alx.js";
39import { n as ue, r as tn, t as nn } from "./chunk-dzpnbkxl.js";
40import { t as sn } from "./chunk-f59lr91u.js";
41import { E as an, T as on } from "./chunk-lq9ws58w.js";
42import { t as rn } from "./chunk-jgjuk5z7.js";
43import { n as dn, t as cn } from "./chunk-cl696cua.js";
44import { o as ln } from "./chunk-mxmfuhfl.js";
45import { i as mn, o as hn } from "./chunk-jipijatq.js";
46import { n as pn, t as vn } from "./chunk-jf9hdnex.js";
47import { a as un, i as gn, n as F, r as h, t as fn } from "./chunk-nbskzbw0.js";
48import { n as En, r as bn } from "./chunk-j68c2tnj.js";
49import { l as _n, n as Cn, o as kn } from "./chunk-b9m59xwf.js";
50import { n as Sn } from "./chunk-hgaiynd0.js";
51import { n as Tn, t as Mn } from "./chunk-fali582u.js";
52import { n as In, t as yn } from "./chunk-pcrjqtwg.js";
53import { n as On } from "./chunk-hh4rfzhx.js";
54import { n as Pn } from "./chunk-h968z96s.js";
55import { a as xn, l as ge, o as An, r as Nn, s as Dn } from "./chunk-n2c6bkgz.js";
56import { i as Vn } from "./chunk-dvmipx90.js";
57import { i as Bn } from "./chunk-gyery7c4.js";
58import { n as wn } from "./chunk-esg3xot5.js";
59import { a as Ln, c as Rn, i as $n, n as Hn } from "./chunk-j6ryrb6h.js";
60import { n as zn, t as C } from "./chunk-xflysgpm.js";
61import { a as Gn, i as Fn, n as jn, t as Un } from "./chunk-bruqyvjz.js";
62import { t as Zn } from "./chunk-o4f8w5yc.js";
63function Yn(t) {
64	return [ee, ...t.map((n) => ({
65		provide: Q,
66		useValue: {
67			selector: n.selector,
68			componentType: n.componentType
69		},
70		multi: !0
71	}))];
72}
73function qn(t, n) {
74	if (t & 1 && (d(0, "span", 4), p(1, "vn-icon", 5), l(), d(2, "div", 6), y(3), l()), t & 2) {
75		let e = a();
76		r(), m("name", "sports-" + e.selectedEvent.sportId), r(2), A(!!e.selectedEvent && e.selectedEvent.name);
77	}
78}
79function Jn(t, n) {
80	t & 1 && y(0), t & 2 && pt(" ", a().selectorTitle, " ");
81}
82function Xn(t, n) {
83	t & 1 && p(0, "ms-expansion-panel", 2), t & 2 && m("collapsed", a().collapsed);
84}
85function Wn(t, n) {
86	if (t & 1) {
87		let e = T();
88		d(0, "div", 13), E("click", function() {
89			let i = b(e).$implicit;
90			return _(a(3).changed(i));
91		}), d(1, "div"), y(2), l()();
92	}
93	if (t & 2) {
94		let e = n.$implicit, i = a(3);
95		I("active", i.selectedEventId && e.id === i.selectedEventId), r(2), A(e.name);
96	}
97}
98function Kn(t, n) {
99	if (t & 1 && (d(0, "div", 9)(1, "span", 4), p(2, "vn-icon", 10), l(), d(3, "div", 11), y(4), l()(), Y(5, Wn, 3, 3, "div", 12, oe)), t & 2) {
100		let e = n.$implicit;
101		r(2), m("name", "sports-" + e.id), r(2), A(e.name), r(), Z(e.children);
102	}
103}
104function Qn(t, n) {
105	if (t & 1) {
106		let e = T();
107		d(0, "div", 7)(1, "div", 8), E("scroll", function(i) {
108			return b(e), _(a().scrolled(i));
109		}), Y(2, Kn, 7, 2, null, null, oe), l()();
110	}
111	if (t & 2) {
112		let e = a();
113		S(e.containerHeight), r(2), Z(e.eventsList);
114	}
115}
116function es(t, n) {
117	if (t & 1 && p(0, "vn-icon", 2), t & 2) {
118		let e = a().$implicit;
119		m("name", e.icon);
120	}
121}
122function ts(t, n) {
123	if (t & 1 && p(0, "span", 3), t & 2) {
124		let e = a().$implicit;
125		m("innerHTML", e.title, ae);
126	}
127}
128function is(t, n) {
129	if (t & 1 && (d(0, "span", 4), y(1), l()), t & 2) {
130		let e = a().$implicit;
131		r(), A(e.title);
132	}
133}
134function ns(t, n) {
135	if (t & 1) {
136		let e = T();
137		d(0, "li", 1), E("click", function(i) {
138			let s = b(e).$implicit;
139			return _(a().selected(i, s));
140		}), d(1, "a", 1), E("click", function(i) {
141			return i.preventDefault();
142		}), g(2, es, 1, 1, "vn-icon", 2), g(3, ts, 1, 1, "span", 3)(4, is, 2, 1, "span", 4), l()();
143	}
144	if (t & 2) {
145		let e = n.$implicit, i = a();
146		S(i.tabClass(e)), ut("data-menu-item-id", e.id), r(2), u(e.icon ? 2 : -1), r(), u(e.title && i.tabFormatted(e.title) ? 3 : 4);
147	}
148}
149function ss(t, n) {
150	t & 1 && p(0, "ds-divider", 10), t & 2 && m("vertical", !0);
151}
152function as(t, n) {
153	t & 1 && p(0, "ds-divider");
154}
155function os(t, n) {
156	if (t & 1) {
157		let e = T();
158		d(0, "div", 17), E("click", function() {
159			b(e);
160			let i = a(2);
161			return _(a().toggleExpand(!i.isExpanded));
162		}), it("msClassAutoRemoveIsClassVisibleChange", function(i) {
163			b(e);
164			let s = a(3);
165			return et(s.isMobileExpand, i) || (s.isMobileExpand = i), _(i);
166		}), d(1, "span", 18), p(2, "vn-icon", 19), l()();
167	}
168	if (t & 2) {
169		let e = a(2), i = a();
170		I("media-expander--visible", i.deviceService.isTablet), m("msClassAutoRemove", "media-expander--mobile-expand")("msClassAutoRemoveTime", i.EXPAND_BUTTON_FADE_TIME), qe("msClassAutoRemoveIsClassVisible", i.isMobileExpand), r(2), m("name", e.isExpanded ? "theme-fullscreen-exit" : "theme-fullscreen");
171	}
172}
173function rs(t, n) {
174	t & 1 && p(0, "ms-unpin-info");
175}
176function ds(t, n) {
177	if (t & 1) {
178		let e = T();
179		d(0, "ms-video-stream-button", 28), E("buttonClicked", function() {
180			b(e);
181			let i = a(4);
182			return _(a().openVideoStreamOverlay(i.videoEvent));
183		}), l();
184	}
185	if (t & 2) {
186		let e = a(4), i = a();
187		m("event", e.videoEvent)("isOverlayStreaming", !0)("isContentPlayerProEnabled", i.isVideoContentPlayerProEnabled());
188	}
189}
190function cs(t, n) {
191	if (t & 1) {
192		let e = T();
193		d(0, "ms-deferred-video-stream", 29), E("toggleMediaExpand", function() {
194			return b(e), _(a(5).toggleMediaExpand());
195		}), l();
196	}
197	if (t & 2) {
198		let e = a(4), i = a();
199		m("event", e.videoEvent)("autoplay", e.videoAutoplay)("isExpanded", e.isExpanded)("isExpandEnabled", i.isExpandedMediaEnabled)("trackingSource", i.trackingSource)("inColumn", !0);
200	}
201}
202function ls(t, n) {
203	t & 1 && g(0, ds, 1, 3, "ms-video-stream-button", 26)(1, cs, 1, 6, "ms-deferred-video-stream", 27), t & 2 && u(a(4).isStreamingOverlayEnabled ? 0 : 1);
204}
205function ms(t, n) {
206	t & 1 && p(0, "ms-video-stream-button", 24), t & 2 && m("event", a(3).pendingEsport)("isEventPending", !0);
207}
208function hs(t, n) {
209	if (t & 1 && p(0, "ms-empty-media", 25), t & 2) {
210		let e = a(3);
211		m("isEventSelected", e.isEventDetailPage || e.hasEventOnMedia)("emptyList", e.videoDropdownEvents.length < 1)("isEventLive", e.isEventLive);
212	}
213}
214function ps(t, n) {
215	if (t & 1) {
216		let e = T();
217		d(0, "div", 20), p(1, "ms-event-selector", 21), d(2, "ms-video-pin", 22), E("toggle", function() {
218			b(e);
219			let i = a(2);
220			return _(a().togglePin(i.videoPinned));
221		}), l(), g(3, rs, 1, 0, "ms-unpin-info"), l(), d(4, "div", 23), g(5, ls, 2, 1), g(6, ms, 1, 2, "ms-video-stream-button", 24), l(), g(7, hs, 1, 3, "ms-empty-media", 25);
222	}
223	if (t & 2) {
224		let e = a(2), i = a();
225		r(), m("eventsList", e.videoDropdownEvents)("selectedEventId", e.videoEventId), r(), m("isPinned", e.videoPinned)("disabled", !e.pinEnabled), r(), u(e.videoUnpinInfoVisible ? 3 : -1), r(), q(i.background().videoBg), S(i.getBackground(e, i.tabType.Video)), Et("height", i.streamingMessageHeight), r(), u(e.videoEvent && (!e.pendingEsport || e.videoPinned) ? 5 : -1), r(), u(i.isOnEventDetails && e.pendingEsport && !e.videoEvent ? 6 : -1), r(), u(!e.videoEvent && !e.pendingEsport ? 7 : -1);
226	}
227}
228function vs(t, n) {
229	if (t & 1 && p(0, "ms-perform-v2-simulation", 32), t & 2) {
230		let e = a(4);
231		m("runningBall", e.animationEvent.runningBallDataId)("event", e.animationEvent)("inColumn", !0);
232	}
233}
234function us(t, n) {
235	if (t & 1 && p(0, "ms-deferred-event-animation", 33), t & 2) {
236		a();
237		let e = st(0);
238		m("event", e)("scoreboard", e.scoreboard)("inColumn", !0);
239	}
240}
241function gs(t, n) {
242	if (t & 1 && (ot(0), g(1, vs, 1, 3, "ms-perform-v2-simulation", 32)(2, us, 1, 3, "ms-deferred-event-animation", 33)), t & 2) {
243		let e = a(3), i = a(), s = gt(e.animationEvent);
244		r(), u(s && s.runningBallDataId && !i.isContentPlayerProEnabled() ? 1 : e.isAnimationAvailable && s && s.scoreboard ? 2 : -1);
245	}
246}
247function fs(t, n) {
248	t & 1 && p(0, "ms-empty-media", 31), t & 2 && m("emptyList", !0);
249}
250function Es(t, n) {
251	if (t & 1 && (d(0, "div", 30), g(1, gs, 3, 2)(2, fs, 1, 1, "ms-empty-media", 31), l()), t & 2) {
252		let e = a(2), i = a();
253		q(i.background().videoBg), S(i.getBackground(e, i.tabType.Animation)), r(), u(i.isAnimationDisabled() ? 2 : 1);
254	}
255}
256function bs(t, n) {
257	if (t & 1) {
258		let e = T();
259		d(0, "ms-event-statistics", 34), E("toggle", function(i) {
260			return b(e), _(a(4).onStatisticsToggle(i));
261		}), l();
262	}
263	t & 2 && m("event", a(3).statisticsEvent)("inColumn", !0);
264}
265function _s(t, n) {
266	if (t & 1 && (d(0, "div"), rt(1, bs, 1, 2), Ye(2, 1, Ae), l()), t & 2) {
267		let e = a(2), i = a();
268		q(i.background().statsBg), S(i.getBackground(e, i.tabType.Stats)), r(2), dt(e.statisticsEvent);
269	}
270}
271function Cs(t, n) {
272	if (t & 1 && (g(0, as, 1, 0, "ds-divider"), d(1, "div", 13, 1), g(3, os, 3, 6, "div", 14), g(4, ps, 8, 14)(5, Es, 3, 5, "div", 15)(6, _s, 4, 5, "div", 16), l()), t & 2) {
273		let e, i = a(), s = a();
274		u(s.isEpcotEnabled ? -1 : 0), r(), m("@toggleAnimation", re(6, De, re(4, Ne, s.mediaHeight() + "px"))), r(2), u(s.isExpandedMediaEnabled && !i.videoPlaying ? 3 : -1), r(), u((e = i.activeTab) === s.tabType.Video ? 4 : e === s.tabType.Animation ? 5 : e === s.tabType.Stats ? 6 : -1);
275	}
276}
277function ks(t, n) {
278	if (t & 1) {
279		let e = T();
280		d(0, "div", 2)(1, "ds-card", 3)(2, "ds-accordion", 4)(3, "ds-accordion-header", 5)(4, "div", 6)(5, "div", 7), y(6), l()(), d(7, "div", 8)(8, "ms-media-tab-bar", 9), E("select", function(i) {
281			let s = b(e);
282			return _(a().tabSelected(i, s));
283		}), l(), g(9, ss, 1, 1, "ds-divider", 10), l(), d(10, "button", 11), E("click", function() {
284			let i = b(e);
285			return _(a().panelToggled(i.collapsed));
286		}), p(11, "vn-icon", 12), l()(), vt(12, Cs, 7, 8, "ng-template", null, 0, je), l()()();
287	}
288	if (t & 2) {
289		let e = n, i = a(), s = e.activeTab === i.tabType.Video && !e.videoEvent && !e.pendingEsport && e.videoDropdownEvents.length;
290		r(), I("empty-media-visible", s), m("themeCardElevated", i.themeCardElevated)("themeBorder", i.themeBorder)("themeBorderRadius", i.themeBorderRadius)("elevated", !0)("border", !0), r(), m("themedAccordionSurface", i.themedAccordionSurface)("withCard", !0)("open", !e.collapsed), r(), I("custom-toggle-hover-color", !i.isCustomHover)("media-toggle-no-hover-color", i.noHoverToggleBtn)("remove-header-bottom-radius", !e.collapsed), m("interactive", !0)("hideToggle", !0), r(3), A(i.sitecore.media.Title), r(2), m("tabs", e.tabs), r(), u(i.isEpcotEnabled ? -1 : 9), r(2), m("name", e.collapsed ? "theme-down" : "theme-up");
291	}
292}
293function Ss() {
294	return [Gt(we)];
295}
296var fe, Ee, Q, ee, be, _e, Ce, ke, Se, Te, Me, te, Ie, ye, ie, Oe, Pe, xe, Ae, Ne, De, D, j, Ve, Be, we;
297function Le() {
298	return (Le = Zn((() => {
299		ze(), Ke(), Ct(), kt(), St(), Mt(), It(), yt(), xt(), At(), Nt(), Vt(), Bt(), Ot(), Lt(), Rt(), $t(), wt(), Ht(), jt(), Zt(), qt(), Yt(), Jt(), Xt(), Wt(), Kt(), zt(), pi(), Ii(), Qt(), ei(), gi(), Pi(), Gi(), ti(), Hi(), Si(), ki(), si(), fi(), _i(), Vi(), hi(), Ci(), bi(), $i(), zi(), Ti(), ui(), vi(), Fi(), Ai(), xi(), ai(), Di(), Oi(), Mi(), Li(), Ei(), ri(), di(), li(), Ni(), ji(), qi(), Ki(), Qi(), en(), rn(), tn(), sn(), an(), dn(), ln(), mn(), pn(), Vn(), gn(), bn(), _n(), Sn(), Tn(), Bn(), In(), On(), Pn(), xn(), Fn(), Rn(), wn(), zn(), fe = (() => {
300			class t {
301				renderer = o(Ze);
302				elementRef = o($);
303				timerService = o(ve);
304				className = "";
305				msClassAutoRemoveTime = 1e3;
306				msClassAutoRemoveIsClassVisibleChange = L();
307				removeTimer = null;
308				_isClassVisible;
309				get isClassVisible() {
310					return this._isClassVisible;
311				}
312				set isClassVisible(e) {
313					this.applyChanges(e);
314				}
315				ngOnDestroy() {
316					this.clearTimer();
317				}
318				applyChanges(e) {
319					e && !this.elementHasClass() ? (this.addClass(), this.startTimer()) : !e && this.elementHasClass() && (this.removeClass(), this.clearTimer());
320				}
321				addClass() {
322					this.renderer.addClass(this.elementRef.nativeElement, this.className), this._isClassVisible = !0, this.msClassAutoRemoveIsClassVisibleChange.emit(!0);
323				}
324				removeClass() {
325					this.renderer.removeClass(this.elementRef.nativeElement, this.className), this._isClassVisible = !1, this.msClassAutoRemoveIsClassVisibleChange.emit(!1);
326				}
327				startTimer() {
328					this.removeTimer = this.timerService.setTimeout(() => {
329						this.removeClass(), this.removeTimer = null;
330					}, this.msClassAutoRemoveTime);
331				}
332				clearTimer() {
333					this.removeTimer && (this.removeTimer(), this.removeTimer = null);
334				}
335				elementHasClass() {
336					return this.elementRef.nativeElement.classList.contains(this.className);
337				}
338				static ɵfac = function(e) {
339					return new (e || t)();
340				};
341				static ɵdir = U({
342					type: t,
343					selectors: [[
344						"",
345						"msClassAutoRemove",
346						""
347					]],
348					inputs: {
349						className: [
350							0,
351							"msClassAutoRemove",
352							"className"
353						],
354						msClassAutoRemoveTime: "msClassAutoRemoveTime",
355						isClassVisible: [
356							0,
357							"msClassAutoRemoveIsClassVisible",
358							"isClassVisible"
359						]
360					},
361					outputs: { msClassAutoRemoveIsClassVisibleChange: "msClassAutoRemoveIsClassVisibleChange" }
362				});
363			}
364			return t;
365		})(), Ee = [Zi("toggleAnimation", [he(":enter", [G({
366			"max-height": "0px",
367			opacity: 0
368		}), pe("500ms ease-in-out", G({
369			"max-height": "500px",
370			opacity: 1
371		}))]), he(":leave", [G({
372			opacity: 1,
373			"max-height": "500px",
374			height: "{{mediaHeight}}",
375			filter: "blur(2px)"
376		}), pe("300ms ease-in-out", G({
377			"max-height": "0px",
378			opacity: 0
379		}))])])], Q = new Je("component"), ee = (() => {
380			let t = class {
381				constructor() {
382					this.components = /* @__PURE__ */ new Map(), this.providedComponents = o(Q, { optional: !0 }) ?? [], this.allComponents = () => {
383						let e = [];
384						for (let [i, s] of this.components.entries()) e.push({
385							selector: i,
386							componentType: s
387						});
388						return e;
389					}, this.providedComponents.forEach((e) => this.register(e.selector, e.componentType));
390				}
391				register(e, i) {
392					this.components.set(e, i);
393				}
394				get(e) {
395					return this.components.get(e);
396				}
397			};
398			return t.ɵfac = function(n) {
399				return new (n || t)();
400			}, t.ɵprov = R({
401				token: t,
402				factory: t.ɵfac,
403				providedIn: "root"
404			}), t;
405		})(), be = (() => {
406			let t = class {
407				constructor() {
408					this.elementRef = o($), this.injector = o(tt), this.envInjector = o(nt), this.dynamicComponents = o(ee);
409				}
410				ngAfterViewInit() {
411					this.dynamicComponents.allComponents().forEach((e) => {
412						let i = this.elementRef.nativeElement, s = Array.from(i.querySelectorAll(e.selector));
413						for (let c of s) if (c) {
414							let f = bt(e.componentType, {
415								hostElement: c,
416								elementInjector: this.injector,
417								environmentInjector: this.envInjector
418							}), P = Xe(e.componentType);
419							Array.from(c.attributes).forEach((x) => {
420								P && x.name !== "ng-version" && P.inputs.some((V) => V.propName === x.name) && f.setInput(x.name, x.value);
421							}), f.changeDetectorRef.detectChanges();
422						}
423					});
424				}
425			};
426			return t.ɵfac = function(n) {
427				return new (n || t)();
428			}, t.ɵdir = U({
429				type: t,
430				selectors: [[
431					"",
432					"msRenderDynamic",
433					""
434				]]
435			}), t;
436		})(), _e = (() => {
437			let t = class {
438				constructor() {
439					this.html = de.required(), this.sanitizer = o(Tt), this.parsedHtml = k(() => this.sanitizer.bypassSecurityTrustHtml(this.html()));
440				}
441			};
442			return t.ɵfac = function(n) {
443				return new (n || t)();
444			}, t.ɵcmp = M({
445				type: t,
446				selectors: [["ms-dynamic-icon"]],
447				inputs: { html: [1, "html"] },
448				features: [se([Yn([{
449					selector: "vn-icon",
450					componentType: O
451				}])])],
452				decls: 1,
453				vars: 1,
454				consts: [[
455					"msRenderDynamic",
456					"",
457					3,
458					"innerHTML"
459				]],
460				template: function(n, e) {
461					n & 1 && p(0, "span", 0), n & 2 && m("innerHTML", e.parsedHtml(), ae);
462				},
463				dependencies: [be],
464				encapsulation: 2,
465				changeDetection: 1
466			}), t;
467		})(), Ce = (() => {
468			let t = class {
469				constructor() {
470					this.sitecore = o(z), this.alertInverse = {
471						"bwin-dark": { isInverse: !0 },
472						"sports-interaction": { isInverse: !0 },
473						"sports-interaction-2": { isInverse: !0 },
474						"premium-dark": { isInverse: !0 }
475					}, this.message = k(() => this.isEventSelected ? this.isEventLive ? this.sitecore.media.NoLiveStreamingForEvent : this.sitecore.media.NoLiveStreamingForEventPrematch : (this.emptyList ? this.sitecore.media.SelectAnimationFromLiveEvents : this.sitecore.media.SelectMediaFromList).replace("{{videoIcon}}", "<span class=\"icon-container\"><vn-icon name=\"sports-video\" size=\"16\" /></span>").replace("{{animationIcon}}", "<span class=\"icon-container\"><vn-icon name=\"sports-4-match\" size=\"16\" /></span>"));
476				}
477			};
478			return t.ɵfac = function(n) {
479				return new (n || t)();
480			}, t.ɵcmp = M({
481				type: t,
482				selectors: [["ms-empty-media"]],
483				hostAttrs: [1, "empty-media"],
484				inputs: {
485					isEventSelected: "isEventSelected",
486					isEventLive: "isEventLive",
487					emptyList: "emptyList"
488				},
489				decls: 2,
490				vars: 2,
491				consts: [[
492					"msThemedAlert",
493					"",
494					"type",
495					"info",
496					3,
497					"themeInverse"
498				], [3, "html"]],
499				template: function(n, e) {
500					n & 1 && (d(0, "ds-alert", 0), p(1, "ms-dynamic-icon", 1), l()), n & 2 && (m("themeInverse", e.alertInverse), r(), m("html", e.message()));
501				},
502				dependencies: [
503					_e,
504					Ui,
505					Mn
506				],
507				encapsulation: 2
508			}), t;
509		})(), ke = (() => {
510			let t = class {
511				constructor() {
512					this.collapsed = mt(!1), this.panelToggle = L();
513				}
514				toggle() {
515					this.collapsed.set(!this.collapsed()), this.panelToggle.emit();
516				}
517			};
518			return t.ɵfac = function(n) {
519				return new (n || t)();
520			}, t.ɵcmp = M({
521				type: t,
522				selectors: [["ms-expansion-panel"]],
523				inputs: { collapsed: [1, "collapsed"] },
524				outputs: {
525					collapsed: "collapsedChange",
526					panelToggle: "panelToggle"
527				},
528				decls: 4,
529				vars: 2,
530				consts: [
531					[1, "expansion-panel"],
532					[1, "expansion-panel-divider"],
533					[
534						1,
535						"toggle-arrow",
536						3,
537						"click"
538					],
539					[
540						"name",
541						"theme-up",
542						"size",
543						"16"
544					]
545				],
546				template: function(n, e) {
547					n & 1 && (d(0, "div", 0), p(1, "span", 1), d(2, "div", 2), E("click", function() {
548						return e.toggle();
549					}), p(3, "vn-icon", 3), l()()), n & 2 && I("collapsed", e.collapsed());
550				},
551				dependencies: [O],
552				encapsulation: 2,
553				changeDetection: 1
554			}), t;
555		})(), Se = (() => {
556			let t = class {
557				constructor() {
558					this.element = o($), this.timer = o(ve);
559				}
560				ngAfterViewInit() {
561					let e = this.element.nativeElement.querySelector(".active");
562					e && this.timer.setAnimationFrame(() => {
563						this.element.nativeElement.scrollTop = e.offsetTop - this.element.nativeElement.clientHeight / 2 + e.clientHeight / 2;
564					});
565				}
566			};
567			return t.ɵfac = function(n) {
568				return new (n || t)();
569			}, t.ɵdir = U({
570				type: t,
571				selectors: [[
572					"",
573					"msScrollToActive",
574					""
575				]]
576			}), t;
577		})(), Te = {
578			[me.ExtraLarge]: "size-xl",
579			[me.Large]: "size-l"
580		}, Me = (() => {
581			let t = class {
582				constructor() {
583					this.sitecore = o(z), this.elementRef = o($), this.trackingService = o(X), this.adaptiveLayoutService = o(le), this.store = o(K), this.className = "event-selector", this.collapsed = !0, this.selectedEvent = null, this.containerHeight = "";
584				}
585				clickout(e) {
586					this.elementRef.nativeElement.contains(e.target) || (this.collapsed = !0);
587				}
588				ngOnInit() {
589					this.getDropdownHeight();
590				}
591				ngOnChanges(e) {
592					if (this.selectorTitle = this.eventsList.length ? this.sitecore.media.EventSelectorTitle : this.sitecore.media.NoLiveStreamingEvents, this.selectedEvent = null, this.selectedEventId !== null) {
593						for (let i of this.eventsList) {
594							if (!i.children) continue;
595							let s = i.children.find((c) => c.id === this.selectedEventId);
596							if (s) {
597								this.selectedEvent = {
598									id: s.id.toString(),
599									name: s.name,
600									sportId: +i.id
601								};
602								break;
603							}
604						}
605						if (e.selectedEventId) {
606							this.selectedEvent === null && this.fetchVideoEvents(), e.selectedEventId.currentValue !== e.selectedEventId.previousValue && (this.collapsed = !0);
607							return;
608						}
609						this.selectedEventId && !this.selectedEvent && this.unsetEvent();
610					}
611				}
612				getDropdownHeight() {
613					this.selectedEventId !== null && (this.containerHeight = Te[this.adaptiveLayoutService.current.rightColumnSize] || "");
614				}
615				changed(e) {
616					this.toggleSelector(), e.id !== this.selectedEventId && (this.trackingService.track(v.EVENT_MEDIA, { [v.COMPONENT_SITE_ELEMENT_INTERCATIONS]: "MediaModule_EventSwitcher_EventChanged" }), this.setDropdownEvent(e.id.toString()));
617				}
618				toggleSelector() {
619					this.collapsed = !this.collapsed, this.getDropdownHeight();
620				}
621				scrolled(e) {
622					e.stopPropagation();
623				}
624				fetchVideoEvents() {
625					this.store.dispatch(C.fetchVideoEvents());
626				}
627				unsetEvent() {
628					this.store.dispatch(C.unsetEvent({ columnType: h.Video }));
629				}
630				setDropdownEvent(e) {
631					this.store.dispatch(An.setEventId({ payload: {
632						eventId: e,
633						source: un.EventSwitcher,
634						tab: h.Video,
635						trackingVideoSource: F.EventSwitcher
636					} }));
637				}
638			};
639			return t.ɵfac = function(n) {
640				return new (n || t)();
641			}, t.ɵcmp = M({
642				type: t,
643				selectors: [["ms-event-selector"]],
644				hostVars: 2,
645				hostBindings: function(n, e) {
646					n & 1 && E("click", function(i) {
647						return e.clickout(i);
648					}, ht), n & 2 && S(e.className);
649				},
650				inputs: {
651					eventsList: "eventsList",
652					selectedEventId: "selectedEventId"
653				},
654				features: [Ue],
655				decls: 6,
656				vars: 8,
657				consts: [
658					[
659						1,
660						"header",
661						3,
662						"click"
663					],
664					[1, "header-title"],
665					[3, "collapsed"],
666					[
667						1,
668						"content",
669						3,
670						"class"
671					],
672					[1, "icon"],
673					[
674						"size",
675						"16",
676						3,
677						"name"
678					],
679					[1, "selected"],
680					[1, "content"],
681					[
682						"msScrollToActive",
683						"",
684						1,
685						"list",
686						3,
687						"scroll"
688					],
689					[1, "group"],
690					[
691						"size",
692						"12",
693						3,
694						"name"
695					],
696					[1, "title"],
697					[
698						1,
699						"option",
700						3,
701						"active"
702					],
703					[
704						1,
705						"option",
706						3,
707						"click"
708					]
709				],
710				template: function(n, e) {
711					n & 1 && (d(0, "div", 0), E("click", function() {
712						return e.toggleSelector();
713					}), d(1, "div", 1), g(2, qn, 4, 2), g(3, Jn, 1, 1), l(), g(4, Xn, 1, 1, "ms-expansion-panel", 2), l(), g(5, Qn, 4, 2, "div", 3)), n & 2 && (I("collapsed", e.collapsed)("dropcontentavailable", !!e.eventsList.length), r(2), u(e.selectedEvent ? 2 : -1), r(), u(e.selectedEvent ? -1 : 3), r(), u(e.eventsList.length ? 4 : -1), r(), u(!e.collapsed && e.eventsList.length ? 5 : -1));
714				},
715				dependencies: [
716					O,
717					ke,
718					Se
719				],
720				encapsulation: 2
721			}), t;
722		})(), te = (() => {
723			let t = class {
724				constructor() {
725					this.eventDetailsHelper = o($n), this.eventMediaHelperService = o(ge), this.mediaConfig = o(ce), this.defaultBackgroun
725dColor = "black";
726				}
727				mapContent(e) {
728					let i = e.animation.eventId ? e.eventInfos[e.animation.eventId].event : null, s = e.statistics.eventId ? e.eventInfos[e.statistics.eventId].event : null, c = e.video.eventId ? e.eventInfos[e.video.eventId].event : null, f = !!i && this.eventMediaHelperService.hasAnimation(i), P = !(s && s.sport.id === J.Soccer), x = c ? c.live : !1, V = !1;
729					if (e.context.eventId && Object.keys(e.eventInfos).length > 1) {
730						let ne = e.eventInfos[e.context.eventId];
731						ne && (V = ne.event.stream !== void 0);
732					}
733					let Re = e.context.page === fn.EventDetails, $e = e.isCollapsed;
734					return {
735						trackingSource: e.video.trackingSource,
736						isAnimationAvailable: f,
737						isStatsExpanderVisible: P,
738						isEventLive: x,
739						isEventDetailPage: Re,
740						isExpanded: e.mediaExpandState.isExpanded,
741						isLocationAllowsExpand: e.mediaExpandState.isLocationAllowsExpand,
742						restoreExpandState: e.mediaExpandState.restoreExpandState,
743						isDefaultExpanded: e.mediaExpandState.isDefaultExpanded,
744						collapsed: $e,
745						videoEventId: e.video.eventId,
746						videoEvent: c,
747						animationEvent: i,
748						statisticsEvent: s,
749						activeTab: !this.mediaConfig.showVideoStreaming && e.activeTab === h.Video ? h.Animation : e.activeTab,
750						videoDropdownEvents: e.video.dropdownEvents,
751						videoPinned: e.video.pinned,
752						videoUnpinInfoVisible: e.video.unpinInfoVisible && V,
753						videoAutoplay: e.video.autoplay,
754						videoPlaying: e.video.playing && e.activeTab === h.Video && c !== null,
755						tabs: this.mapTabs(e),
756						pinEnabled: !!e.video.eventId && e.video.pinEnabled,
757						hasEventOnMedia: Object.keys(e.eventInfos).length > 0,
758						pendingEsport: e.pendingEsport
759					};
760				}
761				mapTabs(e) {
762					let i = [], s = e.animation.eventId ? e.eventInfos[e.animation.eventId].event.sport.id : J.Soccer, c = e.statistics.eventId ? e.eventInfos[e.statistics.eventId].event : null;
763					this.mediaConfig.showVideoStreaming && i.push({
764						id: h.Video,
765						title: e.video.pinned ? "<span class=\"theme-pin-pinned\"></span>" : "",
766						icon: Nn(!1)
767					}), i.push({
768						id: h.Animation,
769						title: "",
770						icon: Dn(s, !1),
771						disabled: e.animation.eventId ? !this.eventMediaHelperService.hasAnimationOrSimulation(e.eventInfos[e.animation.eventId].event) || this.mediaConfig.contentPlayerProEnabledSports.includes(s) && this.eventMediaHelperService.hasPerformV2Stream(e.eventInfos[e.animation.eventId].event) : !0
772					}), this.mediaConfig.showStatsCenterButton && i.push({
773						id: h.Stats,
774						title: "",
775						icon: "sports-stats",
776						disabled: !c || this.eventMediaHelperService.hasPerformPlayerEnabled(c.stream, c.runningBallDataId, c.sport.id) || !(this.eventDetailsHelper.hasStats(c) || c.statsId)
777					});
778					let f = i.findIndex((P) => P.id === e.activeTab);
779					return f < 0 && (f = 0), i[f].active = !0, i;
780				}
781				getBackgroundcolor(e, i) {
782					return i === h.Video ? this.getBackground(e.videoEvent, !0) : i === h.Animation ? this.getBackground(e.animationEvent, e.isAnimationAvailable) : i === h.Stats ? this.getBackground(e.statisticsEvent, !1) : this.getBackground(e.animationEvent, !1);
783				}
784				getBackground(e, i) {
785					return e === null ? this.defaultBackgroundColor : this.eventDetailsHelper.getBackgroundColor(e, i) || this.defaultBackgroundColor;
786				}
787			};
788			return t.ɵfac = function(n) {
789				return new (n || t)();
790			}, t.ɵprov = R({
791				token: t,
792				factory: t.ɵfac,
793				providedIn: "root"
794			}), t;
795		})(), Ie = (t, n) => n.id, ye = (() => {
796			let t = class {
797				constructor() {
798					this.destroyRef = o(lt), this.strategy = o(oi), this.tabs = de.required(), this.select = L(), this.ngZone = o(ft);
799				}
800				get componentClass() {
801					return `${this.hostClass}`.trim();
802				}
803				get hostClass() {
804					return "media-tab-bar media-tab-bar-var-scope";
805				}
806				get containerClass() {
807					return "tab-bar-container";
808				}
809				get itemClass() {
810					return "tab-bar-item";
811				}
812				get active() {
813					return this.tabs().filter((e) => e.active).pop();
814				}
815				selected(e, i) {
816					e.preventDefault(), !i.disabled && !i.active && (this.tabs().forEac
816h((s) => s.active = s.id === i.id), this.strategy.schedule(() => {
817						this.select.emit(B(w({}, e), { active: i }));
818					}, {
819						scope: this,
820						patchZone: this.ngZone
821					}).pipe(H(this.destroyRef)).subscribe());
822				}
823				tabClass(e) {
824					let i = this.itemClass;
825					return e.active && (i += " active"), e.disabled && (i += " disabled"), i;
826				}
827				tabFormatted(e) {
828					return e?.includes("<");
829				}
830			};
831			return t.ɵfac = function(n) {
832				return new (n || t)();
833			}, t.ɵcmp = M({
834				type: t,
835				selectors: [["ms-media-tab-bar"]],
836				hostVars: 2,
837				hostBindings: function(n, e) {
838					n & 2 && S(e.componentClass);
839				},
840				inputs: { tabs: [1, "tabs"] },
841				outputs: { select: "select" },
842				decls: 3,
843				vars: 2,
844				consts: [
845					[3, "class"],
846					[3, "click"],
847					[
848						"size",
849						"18",
850						3,
851						"name"
852					],
853					[
854						1,
855						"title",
856						3,
857						"innerHTML"
858					],
859					[1, "title"]
860				],
861				template: function(n, e) {
862					n & 1 && (d(0, "ul"), Y(1, ns, 5, 5, "li", 0, Ie), l()), n & 2 && (S(e.containerClass), r(), Z(e.tabs()));
863				},
864				dependencies: [O],
865				styles: ["[_nghost-%COMP%]{display:block;overflow:hidden;flex-shrink:0;height:2.5em!important;contain:content}[_nghost-%COMP%]   .tab-bar-container[_ngcontent-%COMP%]{white-space:nowrap;display:flex}[_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%]{color:var(--%NS%media-tab-bar-item-color)}[_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%]   .vn-icon[_ngcontent-%COMP%]{fill:var(--%NS%media-tab-bar-item-color)}[_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%]{margin-right:.3em;display:inline-block;transform:translateZ(0)}[_nghost-%COMP%]   .tab-bar-item.active[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]   .tab-bar-item.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:after{content:\"\";background-color:var(--%NS%media-tab-bar-item-active-highlight-color);width:2em;height:3px;position:absolute;bottom:0;left:0}[_nghost-%COMP%]   .tab-bar-item.disabled[_ngcontent-%COMP%]{color:var(--%NS%media-tab-bar-item-disable-color)}[_nghost-%COMP%]   .tab-bar-item.disabled[_ngcontent-%COMP%]   .vn-icon[_ngcontent-%COMP%]{fill:var(--%NS%media-tab-bar-item-disable-color)}[_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{align-items:center;height:2.5rem;text-decoration:none;display:flex;position:relative;padding:.7rem .55rem;font-size:1.125em}[_nghost-%COMP%]   .epcot-enabled[_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%], .epcot-enabled   [_nghost-%COMP%]   .tab-bar-item[_ngcontent-%COMP%]{color:var(--%NS%epcot-media-tab-bar-item-inactive-color, var(--%NS%epcot-media-tab-bar-item-color))}[_nghost-%COMP%]   .epcot-enabled[_nghost-%COMP%]   .tab-bar-item.disabled[_ngcontent-%COMP%], .epcot-enabled   [_nghost-%COMP%]   .tab-bar-item.disabled[_ngcontent-%COMP%]{color:var(--%NS%media-tab-bar-item-disable-color)}[_nghost-%COMP%]   .epcot-enabled[_nghost-%COMP%]   .tab-bar-item.active[_ngcontent-%COMP%], .epcot-enabled   [_nghost-%COMP%]   .tab-bar-item.active[_ngcontent-%COMP%]{color:var(--%NS%media-tab-bar-item-color)}"],
866				changeDetection: 1
867			}), t;
868		})(), ie = (() => {
869			let t = class {
870				constructor() {
871					this.trackingService = o(X), this.mediaTabs = {
872						[h.Stats]: "stats tab",
873						[h.Animation]: "animation tab",
874						[h.Video]: "video tab"
875					};
876				}
877				trackTabClick(e, i, s) {
878					if (!i) return;
879					let c = B(w({}, this.baseTracking), {
880						[v.COMPONENT_ACTION_EVENT]: "click",
881						[v.COMPONENT_EVENT_DETAILS]: this.mediaTabs[e] ?? "not applicable",
882						[v.SPORT_ID]: i.sport.id.toString(),
883						[v.SPORT_EVENT_ID]: i.id.toString(),
884						[v.COMPONENT_CONTENT_POSITION]: s.toString()
885					});
886					this.trackingService.track(v.EVENT_TRACKING, c);
887				}
888				trackPanelToggle(e) {
889					let i = B(w({}, this.baseTracking), { [v.COMPONENT_ACTION_EVENT]: e ? "Expand" : "Collapse" });
890					this.trackingService.track(v.EVENT_TRACKING, i);
891				}
892				trackPin(e) {
893					let i = B(w({}, this.baseTracking), {
894						[v.COMPONENT_ACTION_EVENT]: e ? "unpin" : "pin",
895						[v.COMPONENT_EVENT_DETAILS]: "video"
896					});
897					this.trackingService.track(v.EVENT_TRACKING, i);
898				}
899				get baseTracking() {
900					return {
901						[v.COMPONENT_CATEGORY_EVENT]: "Media Module",
902						[v.COMPONENT_LABEL_EVENT]: "Media Module Interactions",
903						[v.COMPONENT_ACTION_EVENT]: N,
904						[v.COMPONENT_POSITION_EVENT]: N,
905						[v.COMPONENT_LOCATION_EVENT]: N,
906						[v.COMPONENT_EVENT_DETAILS]: N,
907						[v.COMPONENT_URL_CLICKED]: N
908					};
909				}
910			};
911			return t.ɵfac = function(n) {
912				return new (n || t)();
913			}, t.ɵprov = R({
914				token: t,
915				factory: t.ɵfac,
916				providedIn: "root"
917			}), t;
918		})(), Oe = (() => {
919			let t = class {
920				constructor() {
921					this.sitecore = o(z), this.store = o(K), this.className = "unpin-info";
922				}
923				close() {
924					this.closeInfoMessage();
925				}
926				closeInfoMessage() {
927					this.store.dispatch(C.acceptUnpinInfoMessage());
928				}
929			};
930			return t.ɵfac = function(n) {
931				return new (n || t)();
932			}, t.ɵcmp = M({
933				type: t,
934				selectors: [["ms-unpin-info"]],
935				hostVars: 2,
936				hostBindings: function(n, e) {
937					n & 2 && S(e.className);
938				},
939				decls: 5,
940				vars: 1,
941				consts: [
942					[
943						1,
944						"unpin-info-message-close",
945						3,
946						"click"
947					],
948					[
949						"name",
950						"theme-ex",
951						"size",
952						"11"
953					],
954					[1, "unpin-info-message-arrow"]
955				],
956				template: function(n, e) {
957					n & 1 && (d(0, "div", 0), E("click", function() {
958						return e.close();
959					}), p(1, "vn-icon", 1), l(), d(2, "span"), y(3), l(), p(4, "div", 2)), n & 2 && (r(3), A(e.sitecore.media.UnpinOnboarding));
960				},
961				dependencies: [O],
962				encapsulation: 2
963			}), t;
964		})(), Pe = (() => {
965			let t = class {
966				constructor() {
967					this.class = !0, this.toggle = L();
968				}
969				onClick() {
970					this.disabled || this.toggle.emit();
971				}
972			};
973			return t.ɵfac = function(n) {
974				return new (n || t)();
975			}, t.ɵcmp = M({
976				type: t,
977				selectors: [["ms-video-pin"]],
978				hostVars: 6,
979				hostBindings: function(n, e) {
980					n & 1 && E("click", function() {
981						return e.onClick();
982					}), n & 2 && I("pinned", e.isPinned)("video-pin", e.class)("disabled", e.disabled);
983				},
984				inputs: {
985					isPinned: "isPinned",
986					disabled: "disabled"
987				},
988				outputs: { toggle: "toggle" },
989				decls: 2,
990				vars: 3,
991				consts: [[1, "pin-icon"], [3, "name"]],
992				template: function(n, e) {
993					n & 1 && (d(0, "span", 0), p(1, "vn-icon", 1), l()), n & 2 && (I("pin-pinned", e.isPinned), r(), m("name", e.isPinned ? "theme-pin-pinned" : "theme-pin-unpinned"));
994				},
995				dependencies: [O],
996				encapsulation: 2
997			}), t;
998		})(), xe = ["mediaContainer"], Ae = () => [import("./chunk-Dhvk49izn.js").then((t) => t.EventStatisticsComponent)], Ne = (t) => ({ mediaHeight: t }), De = (t) => ({
999			value: void 0,
1000			params: t
1001		}), D = class {}, D.MediaModule_Animation_Tab_Click = "MediaModule_Animation_Tab_Click", D.MediaModule_Video_Tab_Click = "MediaModule_Video_Tab_Click", D.MediaModule_Stats_Tab_Click = (t) => `Bet_Radar_GridStats_MediaModule_SB_ ${t}_Click`, j = D, Ve = {
1002			[h.Video]: j.MediaModule_Video_Tab_Click,
1003			[h.Animation]: j.MediaModule_Animation_Tab_Click,
1004			[h.Stats]: (t) => j.MediaModule_Stats_Tab_Click(t)
1005		}, Be = (() => {
1006			let t = class extends kn {
1007				constructor() {
1008					super(), this.sitecore = o(z), this.deviceService = o(Dt), this.trackingService = o(X), this.mapperService = o(te), this.mediaConfig = o(ce), this.scrollContainer = o(Ri), this.routerEventsService = o(yi), this.mediaService = o(Ft), this.competitionLogosService = o(cn), this.scoreboardBackgrounds = o(ii), this.shortTeamNamesService = o(nn), this.store$ = o(K), this.mediaTrackingService = o(ie), this.layoutService = o(le), this.eventMediaHelperService = o(ge), this.videoStreamOverlayService = o(Un), this.EXPAND_BUTTON_FADE_TIME = 500, this.trackingMap = {
1009						[h.Video]: "VideoTab",
1010						[h.Stats]: "StatsTab",
1011						[h.Animation]: "AnimationTab"
1012					}, this.mediaSize = /* @__PURE__ */ new Map([
1013						[W.ExtraLarge, [{ width: 550 }]],
1014						[W.Large, [{ width: 440 }]],
1015						[W.Default, [{
1016							target: "gt-mw",
1017							width: 375
1018						}, { width: 350 }]]
1019					]), this.epcotConfig = o(ni), this.mediaState = Fe(void 0), this.isEpcotEnabled = !1, this.tabType = h, this.statsCollapsed = !0, this.sportType = J, this.isStreamingOverlayEnabled = this.videoStreamOverlayService.isEnabled, this.trackingSource = "", this.isStatsExpanded = !1, this.mediaContainer = ct("mediaContainer"), this.mediaContainerSize = Ut(this.mediaContainer), this.mediaHeight = k(() => this.mediaContainerSize()?.contentRect?.height ?? 0), this.currentTheme = hn(), this.isCu
1019stomHover = ["borgata", "mgm-dice"].includes(this.currentTheme), this.noHoverToggleBtn = ["sportingbet-br", "betboo-br"].includes(this.currentTheme), this.themeCardElevated = {
1020						"sportingbet-br": { isElevated: !1 },
1021						"betboo-br": { isElevated: !1 }
1022					}, this.themeBorder = {
1023						"sportingbet-br": { hasBorder: !0 },
1024						"betboo-br": { hasBorder: !0 },
1025						"gamebookers-2": { hasBorder: !0 }
1026					}, this.themeBorderRadius = { "gamebookers-2": { hasRadius: !0 } }, this.themedAccordionSurface = {
1027						"sports-interaction": "highest",
1028						"sports-interaction-2": "highest",
1029						"bwin-dark": "low",
1030						"premium-dark": "low"
1031					}, this.scoreboardBg = mi(this.scoreboardBackgrounds, (e) => e.backgrounds, []), this.sportId = k(() => this.getSportId(this.mediaState())), this.isEsport = k(() => this.mediaState()?.pendingEsport?.sport.isEsport ?? this.mediaState()?.videoEvent?.sport.isEsport ?? !1), this.background = k(() => {
1032						let e = on(this.sportId(), this.isEsport()), i = this.scoreboardBg().find((c) => c.sportId === this.sportId() && e);
1033						if (!i) return {
1034							videoBg: { background: "" },
1035							statsBg: { "background-image": "" }
1036						};
1037						let s = { "background-image": `radial-gradient(circle 115px at top, ${i.innerColor}, ${i.outerColor})` };
1038						return {
1039							videoBg: this.isEsport() ? s : { background: i.outerColor },
1040							statsBg: s
1041						};
1042					}), this.isAnimationDisabled = k(() => !!this.mediaState()?.tabs.find((e) => e.id === h.Animation && e.disabled)), this.animationEventId = k(() => this.mediaState()?.animationEvent?.id), this.isContentPlayerProEnabled = k(() => {
1043						this.animationEventId();
1044						let e = Qe(this.mediaState)?.animationEvent;
1045						return e ? this.eventMediaHelperService.hasPerformPlayerEnabled(e.stream, e.runningBallDataId, e.sport.id) : !1;
1046					}), this.isVideoContentPlayerProEnabled = k(() => {
1047						let e = this.mediaState()?.videoEvent;
1048						return e ? this.eventMediaHelperService.hasPerformPlayerEnabled(e.stream, e.runningBallDataId, e.sport.id) : !1;
1049					}), this.toggleMediaExpand = () => {
1050						this.toggleExpand(!this.mediaState()?.isExpanded);
1051					}, this.mediaState$ = this.store$.select(En);
1052				}
1053				ngOnInit() {
1054					this.isEpcotEnabled = this.epcotConfig.isEnabled, this.init(), this.mediaState$.pipe(We((e) => this.mapperService.mapContent(e)), H(this.destroyRef)).subscribe((e) => {
1055						let i = this.mediaState();
1056						this.mediaState.set(e);
1057						let s = e;
1058						s.trackingSource !== F.Default && (this.trackingSource = s.trackingSource), (!i || s.activeTab !== i.activeTab || (s.animationEvent && s.animationEvent.id) !== (i.animationEvent && i.animationEvent.id) || (s.statisticsEvent && s.statisticsEvent.id) !== (i.statisticsEvent && i.statisticsEvent.id) || s.videoEventId !== i.videoEventId) && this.scrollContainer.scrollTo(0, 0), this.statsCollapsed = e.isStatsExpanderVisible, this.setShortNames(), this.setStreamMessageHeight();
1059					}), this.routerEventsService.currentActivationEnd.pipe(H(this.destroyRef)).subscribe((e) => this.onCurrentActivationEnd(e)), this.mediaService.observe().pipe(H(this.destroyRef)).subscribe(() => this.mediaSizeChanged()), this.setStreamMessageHeight();
1060				}
1061				setShortNames() {
1062					let e = this.mediaState()?.animationEvent;
1063					!e || !this.competitionLogosService.getLogoUrl(e.sport.id, e.league.id) || e.participants.length === 0 || (e.participants.length > 0 && this.shortTeamNamesService.shouldUseShortName(e.participants[0], e.sport.id, e.league.id, ue.Grids) && this.setShortName("01", 0), e.participants.length > 1 && this.shortTeamNamesService.shouldUseShortName(e.participants[1], e.sport.id, e.league.id, ue.Grids) && this.setShortName("02", 1));
1064				}
1065				setShortName(e, i) {
1066					let s = this.mediaState()?.animationEvent?.scoreboard, c = this.mediaState()?.animationEvent?.participants;
1067					if (!s || !c) return;
1068					let f = c[i].shortName;
1069					s.playerInfo && (s.playerInfo.players[e].teamName = f), s.score?.playerInfo && (s.score.playerInfo.players[e].teamName = f);
1070				}
1071				ngOnDestroy() {
1072					this.toggleMediaModule(!1);
1073				}
1074				tabSelected(e, i) {
1075					let s = {
1076						tabId: e.active.id,
1077						trackingSource: F.Default
1078					}, c = i.tabs.findIndex((f) => f.id === s.tabId);
1079					if (Ve[e.active.id]) {
1080						s.trackingSource = F.MediaColumn;
1081						let f = {
1082							[h.Stats]: i.statisticsEvent,
1083							[h.Animation]: i.animationEvent,
1084							[h.Video]: i.videoEvent
1085						};
1086						this.mediaTrackingService.trackTabClick(e.active.id, f[e.active.id], c);
1087					}
1088					e.active.disabled || (this.toggleCollapsedState(i.tabs.length === 1 ? !i.collapsed : !1), this.updateActiveTab(s));
1089				}
1090				panelToggled(e) {
1091					this.mediaTrackingService.trackPanelToggle(e), this.toggleCollapsedState(!e);
1092				}
1093				getBackground(e, i) {
1094					return i === h.Animation ? `${e.isAnimationAvailable ? "animation-height" : ""} ${this.mapperService.getBackgroundcolor(e, i)}` : i === h.Stats ? `stats-column ${this.isStatsExpanded ? "" : "prematch-collapsed"} ${this.mapperService.getBackgroundcolor(e, i)}` : this.mapperService.getBackgroundcolor(e, i);
1095				}
1096				onStatisticsToggle(e) {
1097					this.isStatsExpanded = e;
1098				}
1099				mediaSizeChanged() {
1100					this.store$.dispatch(C.breakpointChanged());
1101				}
1102				togglePin(e) {
1103					this.mediaTrackingService.trackPin(e), this.store$.dispatch(C.togglePin({ value: !e }));
1104				}
1105				openVideoStreamOverlay(e) {
1106					return He(this, null, function* () {
1107						let i = this.mediaState();
1108						yield this.videoStreamOverlayService.open({
1109							event: e,
1110							autoplay: i?.videoAutoplay ?? !0,
1111							isExpanded: i?.isExpanded ?? !1,
1112							isExpandEnabled: this.isExpandedMediaEnabled,
1113							trackingSource: this.trackingSource,
1114							inColumn: !0
1115						});
1116					});
1117				}
1118				toggleExpand(e) {
1119					let i = this.mediaState();
1120					if (!i) return;
1121					this.deviceService.isMobile && (this.isMobileExpand = !0);
1122					let s = i.isExpanded ? "Collapse" : "Expand", c = this.trackingMap[i.activeTab];
1123					!i.videoEvent && c === this.trackingMap[h.Video] && (c = "MediaTab"), this.trackingService.track(v.EVENT_MEDIA, { [v.COMPONENT_SITE_ELEMENT_INTERCATIONS]: `MediaModule_${s}_${c}` }), this.store$.dispatch(C.toggleExpand({ value: e }));
1124				}
1125				init() {
1126					this.store$.dispatch(C.init());
1127				}
1128				toggleMediaModule(e) {
1129					this.store$.dispatch(C.toggleMediaModule({ value: e }));
1130				}
1131				updateActiveTab(e) {
1132					this.store$.dispatch(C.setActiveTab({ tab: e }));
1133				}
1134				toggleCollapsedState(e) {
1135					this.store$.dispatch(C.toggleCollapsedState({ value: e }));
1136				}
1137				setAvailableExpandLocation() {
1138					this.store$.dispatch(C.setAvailableExpandLocation({ value: this.isExpandedMediaEnabled }));
1139				}
1140				onCurrentActivationEnd(e) {
1141					let i = e?.snapshot, s = i?.data.tag, c = i?.data.model?.model?.sport?.id ?? 0;
1142					this.isOnEventDetails = s === Bi.EventDetails;
1143					let f = c === this.sportType.Golf && this.isOnEventDetails;
1144					this.isExpandedMediaEnabled = this.mediaConfig.isExpandedMediaEnabled && this.mediaConfig.expandedMediaEnabledLocations.includes(s), (this.mediaState()?.isExpanded && !this.isExpandedMediaEnabled || this.mediaState()?.restoreExpandState && this.isExpandedMediaEnabled && !this.mediaState()?.isExpanded || (this.mediaState()?.isDefaultExpanded || f) && this.isExpandedMediaEnabled && !this.mediaState()?.isExpanded) && this.toggleExpand(!0), this.isExpandedMediaEnabled !== this.mediaState()?.isLocationAllowsExpand && this.setAvailableExpandLocation(), this.setStreamMessageHeight();
1145				}
1146				getSportId(e) {
1147					return e ? (e.pendingEsport ?? e.statisticsEvent ?? e.animationEvent ?? e.videoEvent)?.sport.id ?? 0 : 0;
1148				}
1149				setStreamMessageHeight() {
1150					if (this.isOnEventDetails && this.mediaState()?.pendingEsport) {
1151						let e = this.mediaSize.get(this.layoutService.current.rightColumnSize) || [];
1152						for (let i of e) if (!i.target || this.mediaService.isActive(i.target)) {
1153							this.streamingMessageHeight = `${Pt(i.width * 9 / 16)}px`;
1154							break;
1155						}
1156					} else this.streamingMessageHeight = void 0;
1157				}
1158			};
1159			return t.ɵfac = function(n) {
1160				return new (n || t)();
1161			}, t.ɵcmp = M({
1162				type: t,
1163				selectors: [["ms-media"]],
1164				viewQuery: function(n, e) {
1165					n & 1 && _t(e.mediaContainer, xe, 5), n & 2 && at();
1166				},
1167				hostAttrs: [1, "media-host-container"],
1168				features: [se([te, ie]), Ge],
1169				decls: 1,
1170				vars: 1,
1171				consts: [
1172					["content", ""],
1173					["mediaContainer", ""],
1174					[1, "event-details-column"],
1175					[
1176						"msThemedCard",
1177						"",
1178						1,
1179						"media-card-container",
1180						3,
1181						"themeCardElevated",
1182						"themeBorder",
1183						"themeBorderRadius",
1184						"elevated",
1185						"border"
1186					],
1187					[
1188						"msThemedAccordion",
1189						"",
1190						"surface",
1191						"lowest",
1192						3,
1193						"themedAccordionSurface",
1194						"withCard",
1195						"open"
1196					],
1197					[
1198						1,
1199						"options-panel",
1200						3,
1201						"interactive",
1202						"hideToggle"
1203					],
1204					["slot", "start"],
1205					["slot", "title"],
1206					["slot", "end"],
1207					[
1208						3,
1209						"select",
1210						"tabs"
1211					],
1212					[3, "vertical"],
1213					[
1214						"slot",
1215						"end",
1216						"ds-button-icon",
1217						"",
1218						"variant",
1219						"flat-reduced",
1220						"kind",
1221						"tertiary",
1222						"size",
1223						"large",
1224						1,
1225						"media-toggle-btn",
1226						3,
1227						"click"
1228					],
1229					[3, "name"],
1230					[
1231						"id",
1232						"mediaContainer",
1233						"aria-haspopup",
1234						"true",
1235						1,
1236						"content-container",
1237						"media-container"
1238					],
1239					[
1240						1,
1241						"media-expander",
1242						3,
1243						"media-expander--visible",
1244						"msClassAutoRemove",
1245						"msClassAutoRemoveTime",
1246						"msClassAutoRemoveIsClassVisible"
1247					],
1248					[
1249						1,
1250						"animation",
1251						3,
1252						"class",
1253						"style"
1254					],
1255					[
1256						3,
1257						"class",
1258						"style"
1259					],
1260					[
1261						1,
1262						"media-expander",
1263						3,
1264						"click",
1265						"msClassAutoRemoveIsClassVisibleChange",
1266						"msClassAutoRemove",
1267						"msClassAutoRemoveTime",
1268						"msClassAutoRemoveIsClassVisible"
1269					],
1270					[1, "media-fullscreen"],
1271					[
1272						"size",
1273						"15",
1274						3,
1275						"name"
1276					],
1277					[1, "event-selector-container"],
1278					[
1279						3,
1280						"eventsList",
1281						"selectedEventId"
1282					],
1283					[
1284						3,
1285						"toggle",
1286						"isPinned",
1287						"disabled"
1288					],
1289					[1, "video-container"],
1290					[
1291						"disabled",
1292						"",
1293						3,
1294						"event",
1295						"isEventPending"
1296					],
1297					[
1298						3,
1299						"isEventSelected",
1300						"emptyList",
1301						"isEventLive"
1302					],
1303					[
1304						1,
1305						"video-stream-overlay-trigger",
1306						3,
1307						"event",
1308						"isOverlayStreaming",
1309						"isContentPlayerProEnabled"
1310					],
1311					[
1312						3,
1313						"event",
1314						"autoplay",
1315						"isExpanded",
1316						"isExpandEnabled",
1317						"trackingSource",
1318						"inColumn"
1319					],
1320					[
1321						1,
1322						"video-stream-overlay-trigger",
1323						3,
1324						"buttonClicked",
1325						"event",
1326						"isOverlayStreaming",
1327						"isContentPlayerProEnabled"
1328					],
1329					[
1330						3,
1331						"toggleMediaExpand",
1332						"event",
1333						"autoplay",
1334						"isExpanded",
1335						"isExpandEnabled",
1336						"trackingSource",
1337						"inColumn"
1338					],
1339					[1, "animation"],
1340					[3, "emptyList"],
1341					[
1342						3,
1343						"runningBall",
1344						"event",
1345						"inColumn"
1346					],
1347					[
1348						3,
1349						"event",
1350						"scoreboard",
1351						"inColumn"
1352					],
1353					[
1354						3,
1355						"toggle",
1356						"event",
1357						"inColumn"
1358					]
1359				],
1360				template: function(n, e) {
1361					if (n & 1 && g(0, ks, 14, 22, "div", 2), n & 2) {
1362						let i;
1363						u((i = e.mediaState()) ? 0 : -1, i);
1364					}
1365				},
1366				dependencies: [
1367					Ln,
1368					O,
1369					ye,
1370					fe,
1371					Me,
1372					Pe,
1373					Oe,
1374					Ce,
1375					Yi,
1376					Ji,
1377					Wi,
1378					Xi,
1379					wi,
1380					vn,
1381					yn,
1382					Hn,
1383					jn,
1384					Gn,
1385					ci
1386				],
1387				styles: ["[_nghost-%COMP%]     .empty-media-visible ds-accordion .ds-accordion-content{content-visibility:unset;overflow:visible}[_nghost-%COMP%]     ds-accordion .ds-accordion-content{content-visibility:auto;overflow:hidden}[_nghost-%COMP%]     .custom-toggle-hover-color .ds-button-icon.ds-accordion-header-toggle:hover{background-color:var(--%NS%media-toggle-btn-hover-color)}[_nghost-%COMP%]     .media-toggle-no-hover-color .ds-button-icon.ds-accordion-header-toggle:hover{background-color:unset}.event-details-column[_ngcontent-%COMP%]{border:unset}.event-details-column[_ngcontent-%COMP%]   .empty-media-visible.media-card-container[_ngcontent-%COMP%]{overflow:visible}.event-details-column[_ngcontent-%COMP%]   .media-card-container[_ngcontent-%COMP%]   .options-panel[_ngcontent-%COMP%]{padding:0 12px}.event-details-column[_ngcontent-%COMP%]   .media-card-container[_ngcontent-%COMP%]   .media-toggle-btn[_ngcontent-%COMP%]{display:flex}.event-details-column[_ngcontent-%COMP%]   .video-container[_ngcontent-%COMP%]:has(.video-stream-overlay-trigger){height:160px}"],
1388				data: { animation: [Ee] },
1389				changeDetection: 1
1390			}), t;
1391		})(), we = (() => {
1392			let t = class {
1393				constructor() {
1394					this.widgetRegistry = o(Cn);
1395				}
1396				onFeatureInit() {
1397					this.widgetRegistry.registerLazy("Media", Be);
1398				}
1399			};
1400			return t.ɵfac = function(n) {
1401				return new (n || t)();
1402			}, t.ɵprov = R({
1403				token: t,
1404				factory: t.ɵfac,
1405				providedIn: "root"
1406			}), t;
1407		})();
1408	})))();
1409}
1410Le();
1411export { Ss as provide };
1412
1413//# sourceMappingURL=chunk-huv1f3sa.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.