1import { g as le, n as B, t as x, y as Re } from "./chunk-xgti9j2t.js"; 2import { $ as v, $r as qe, Aa as J, Ai as Je, An as We, Ao as W, Ar as Ze, Ba as f, Cr as Xe, Ea as s, Ei as Ye, Et as Ke, G as Ue, Hn as N, Kn as z, Li as c, Na as Z, Ni as Qe, No as et, Pi as tt, Pt as r, R as X, Rn as de, Ro as ot, Sa as a, Sn as h, So as nt, Sr as E, To as it, Xa as m, Y as u, a as b, bi as L, ci as rt, fa as p, fi as at, fo as st, fr as y, gi as pt, go as Y, gt as g, ko as ce, nt as lt, oa as ue, oi as D, on as H, ri as F, ro as C, sa as O, sr as dt, t as T, tn as d, tr as A, ui as w, v as he, wa as ge, xi as _, xr as ct, zo as k, zr as K } from "./chunk-c97c17u8.js"; 3import { C as ut, M as ht, S as be, V as me, d as gt } from "./chunk-l3jkbhly.js"; 4import { p as bt } from "./chunk-k52vj1ic.js"; 5import { o as mt } from "./chunk-l24fzhmb.js"; 6import { A as _t } from "./chunk-jrtaqqwj.js"; 7import { o as vt, t as G } from "./chunk-pesy0vb6.js"; 8import { D as ft, E as Pt, f as Ct, o as Ot } from "./chunk-llc8ry2a.js"; 9import { H as Mt, b as yt, ut as wt } from "./chunk-fbjoug0d.js"; 10import { a as kt } from "./chunk-ewplex8i.js"; 11import { n as xt } from "./chunk-c18gpzrj.js"; 12import { r as St } from "./chunk-c9rg1mp5.js"; 13import { t as Bt } from "./chunk-kyqvtgtk.js"; 14import { Y as Nt, gt as Et } from "./chunk-w0x32net.js"; 15import { p as Tt } from "./chunk-bhnvkbxx.js"; 16import { ot as It } from "./chunk-f2v2cgea.js"; 17import { c as Dt } from "./chunk-og5uebri.js"; 18import { Dn as Lt, Tt as Ht, jr as Ft, ln as At } from "./chunk-go6pvd0a.js"; 19import { t as jt } from "./chunk-k4et3zlq.js"; 20import { i as zt, p as Gt } from "./chunk-hul0ult7.js"; 21import { n as Vt } from "./chunk-lmnwxprc.js"; 22import { r as $t } from "./chunk-ilfhy0in.js"; 23import { n as Rt } from "./chunk-ohg30iel.js"; 24import { $ as qt } from "./chunk-iuhjzybw.js"; 25import { a as Jt } from "./chunk-kanq2829.js"; 26import { i as Wt } from "./chunk-lareec7a.js"; 27import { n as Zt } from "./chunk-im7lpx1v.js"; 28import { At as U, bt as Xt, g as _e, m as Yt, mn as Kt } from "./chunk-l8i5rin8.js"; 29import { s as Ut } from "./chunk-bol8t3zz.js"; 30import { c as Qt } from "./chunk-pccxjem8.js"; 31import { r as eo, t as Q } from "./chunk-i1knml6i.js"; 32import { t as to } from "./chunk-bt0uh5ix.js"; 33import { t as oo } from "./chunk-ga84h9wi.js"; 34import { n as no } from "./chunk-bh3f6w1f.js"; 35import { i as io } from "./chunk-eoj30x9t.js"; 36import { $t as ro, At as ao, Ca as so, Cg as po, Cr as lo, Dd as co, Dt as uo, En as ho, Er as go, Fh as bo, Fo as mo, Ia as _o, In as vo, Mn as fo, Ni as Po, Or as Co, Pa as Oo, Qi as Mo, Ra as yo, Sn as wo, Ta as ko, Ua as xo, Uh as So, Va as Bo, Wr as No, Yh as Eo, Zn as To, _i as Io, _t as Do, am as Lo, di as Ho, eh as Fo, er as Ao, fo as
36jo, ga as zo, h as Go, io as Vo, ir as $o, ja as Ro, jn as qo, ka as Jo, kh as Wo, ko as Zo, m as ve, mi as Xo, pa as Yo, pt as Ko, qn as Uo, si as Qo, so as en, sr as tn, ti as on, ua as nn, uo as rn, wt as an, xr as sn, xt as pn } from "./chunk-g8mtbi19.js"; 37import { $n as ln, Ar as fe, Br as dn, It as cn, Jn as un, R as Pe, it as Ce, ji as hn, ur as Oe } from "./chunk-iq8thase.js"; 38import { i as gn } from "./chunk-lgmrl0ja.js"; 39import { n as bn, r as ee } from "./chunk-kxhh4v4a.js"; 40import { n as mn, t as _n } from "./chunk-j4ugyjxo.js"; 41import { n as vn, t as fn } from "./chunk-nugu9zb5.js"; 42import { n as Pn } from "./chunk-g5561f51.js"; 43import { n as Cn } from "./chunk-j0f6jhv0.js"; 44import { i as On } from "./chunk-f9r9q8kp.js"; 45import { n as Mn } from "./chunk-bd32vwah.js"; 46import { r as yn } from "./chunk-jq0sl3ei.js"; 47import { n as wn } from "./chunk-l121kfao.js"; 48import { n as kn } from "./chunk-ja26nt1r.js"; 49import { r as xn } from "./chunk-iuwunkxo.js"; 50import { n as Sn } from "./chunk-l0e5kunb.js"; 51import { n as Bn } from "./chunk-ja4vv35q.js"; 52import { t as Nn } from "./chunk-o2kd60zq.js"; 53import { t as En } from "./chunk-duo7njp1.js"; 54import { n as Tn } from "./chunk-eto2r310.js"; 55import { n as In, r as Dn } from "./chunk-c5h65alx.js"; 56import { n as Ln } from "./chunk-cah7i2vq.js"; 57import { _ as Hn } from "./chunk-o02wm52v.js"; 58import { n as Fn } from "./chunk-h91dgy2a.js"; 59import { n as An } from "./chunk-l8mcnk9u.js"; 60import { o as jn } from "./chunk-d06ulyri.js"; 61import { n as zn } from "./chunk-pb29llws.js"; 62import { b as Gn } from "./chunk-j06mo6pb.js"; 63import { n as Vn } from "./chunk-izpvy78m.js"; 64import { n as te, r as $n } from "./chunk-dzpnbkxl.js"; 65import { n as Rn } from "./chunk-kjann8gz.js"; 66import { d as qn, p as Jn } from "./chunk-d3zbmodj.js"; 67import { t as Wn } from "./chunk-ozq493wr.js"; 68import { S as Zn } from "./chunk-kh77c4xb.js"; 69import { n as Xn } from "./chunk-op4feybx.js"; 70import { t as Yn } from "./chunk-f59lr91u.js"; 71import { E as Kn } from "./chunk-lq9ws58w.js"; 72import { E as Un, _ as Qn } from "./chunk-bek7msjx.js"; 73import { b as ei } from "./chunk-lyo49v7s.js"; 74import { i as ti } from "./chunk-btnbrvwd.js"; 75import { t as oi } from "./chunk-kns01iwg.js"; 76import { n as ni } from "./chunk-fzaji7dq.js"; 77import { n as ii } from "./chunk-n2m7u3ae.js"; 78import { t as ri } from "./chunk-jgjuk5z7.js"; 79import { n as ai } from "./chunk-dww94rc5.js"; 80import { n as si, r as pi } from "./chunk-o2xnvp27.js"; 81import { t as li } from "./chunk-ehnd5dwo.js"; 82import { n as di } from "./chunk-cjgg81p0.js"; 83import { t as ci } from "./chunk-eg3yts4b.js"; 84import { n as ui } from "./chunk-f2dkt6m9.js"; 85import { n as hi } from "./chunk-g3nn5ihv.js"; 86import { l as gi } from "./chunk-hgp0v2sq.js"; 87import { n as bi } from "./chunk-n6jntq8w.js"; 88import { n as mi } from "./chunk-nu8d10du.js"; 89import { t as _i } from "./chunk-h8ecxuny.js"; 90import { n as vi } from "./chunk-io5v68wy.js"; 91import { c as fi } from "./chunk-owt74jjd.js"; 92import { t as Pi } from "./chunk-ohz1zoj7.js"; 93import { n as Ci } from "./chunk-im83gcb3.js"; 94import { i as Oi } from "./chunk-b3lyblkb.js"; 95import { n as Mi } from "./chunk-cl696cua.js"; 96import { o as yi } from "./chunk-mxmfuhfl.js"; 97import { n as wi } from "./chunk-eber62ai.js"; 98import { i as ki, o as xi } from "./chunk-jipijatq.js"; 99import { n as Si, t as Bi } from "./chunk-jf9hdnex.js"; 100import { r as Ni } from "./chunk-b81t2lx1.js"; 101import { t as Ei } from "./chunk-fc584apf.js"; 102import { a as Ti, n as Ii, r as oe } from "./chunk-eaht5xxc.js"; 103import { s as Di } from "./chunk-ljb6jk92.js"; 104import { n as Li } from "./chunk-i7ecc880.js"; 105import { n as Hi } from "./chunk-l3bwko7a.js"; 106import { u as Fi } from "./chunk-n8h65r7c.js"; 107import { a as Ai, r as ji } from "./chunk-huejnlws.js"; 108import { i as zi } from "./chunk-hjoftffo.js"; 109import { n as Gi } from "./chunk-lqsbxgbr.js"; 110import { n as Vi } from "./chunk-box3ohoo.js"; 111import { n as $i, t as Ri } from "./chunk-hu55n7wb.js"; 112import { n as qi, t as Ji } from "./chunk-khdxlqp2.js"; 113import { l as Wi, n as Zi, o as Xi } from "./chunk-b9m59xwf.js"; 114import { n as Yi } from "./chunk-d9dplb6z.js"; 115import { n as Ki } from "./chunk-hgaiynd0.js"; 116import { n as Ui } from "./chunk-hx6y7kek.js"; 117import { n as Qi } from "./chunk-hsf3dpma.js"; 118import { n as er } from "./chunk-fali582u.js"; 119import { n as tr } from "./chunk-ij1u9l2n.js"; 120import { n as or } from "./chunk-ck56cmad.js"; 121import { t as nr } from "./chunk-nemq363r.js"; 122import { t as ir } from "./chunk-i2ogy8gh.js"; 123import { n as rr } from "./chunk-m1yc3ygr.js"; 124import { i as ar } from "./chunk-k5qrxypz.js"; 125import { t as sr } from "./chunk-n0qt0ytv.js"; 126import { t as pr } from "./chunk-kum14w7h.js"; 127import { n as lr } from "./chunk-foy1gqs3.js"; 128import { o as dr } from "./chunk-oinny59o.js"; 129import { n as cr, t as ur } from "./chunk-cmoyh3hx.js"; 130import { n as hr, t as Me } from "./chunk-focwpgem.js"; 131import { i as gr } from "./chunk-c6c21m38.js"; 132import { i as br, r as mr } from "./chunk-b1pv0u7h.js"; 133import { t as _r } from "./chunk-bzdqm0fg.js"; 134import { l as vr } from "./chunk-ibympkf2.js"; 135import { r as fr } from "./chunk-je8asq4j.js"; 136import { d as Pr } from "./chunk-ophyzqlx.js"; 137import { n as Cr } from "./chunk-kb3m33eu.js"; 138import { n as Or } from "./chunk-he7hdbsv.js"; 139import { t as Mr }
139 from "./chunk-kn4tq1y4.js"; 140import { n as yr } from "./chunk-pcrjqtwg.js"; 141import { n as wr } from "./chunk-hh4rfzhx.js"; 142import { i as kr, t as ne } from "./chunk-o9d3376i.js"; 143import { H as xr, l as Sr } from "./chunk-n7mazb2g.js"; 144import { n as Br } from "./chunk-f003tdgn.js"; 145import { n as Nr } from "./chunk-j8braqzq.js"; 146import { r as Er } from "./chunk-nk13yrgg.js"; 147import { c as Tr, t as Ir } from "./chunk-mkjsekfa.js"; 148import { n as Dr, t as Lr } from "./chunk-l0sfrsyk.js"; 149import { n as V, t as Hr } from "./chunk-ka2i6e1c.js"; 150import { a as ie, i as ye, o as Fr, s as Ar } from "./chunk-e59pjvbr.js"; 151import { n as jr } from "./chunk-bah5gkvi.js"; 152import { n as zr, t as Gr } from "./chunk-jhp340vn.js"; 153import { i as Vr } from "./chunk-kp6sieo7.js"; 154import { n as $r } from "./chunk-daa4a2fv.js"; 155import { n as Rr } from "./chunk-iun68bum.js"; 156import { a as we, c as qr, d as re, f as Jr, i as ae, l as ke, n as xe, o as Wr, r as Se, s as Be, t as Ne, u as Ee } from "./chunk-iff5mrtv.js"; 157import { t as Zr } from "./chunk-o4f8w5yc.js"; 158function Xr(t, n) { 159 if (t & 1 && (s(0, "div", 2), h(1, "ms-popular-bets-pod-event-logo", 3)(2, "div", 4), p(), s(3, "div", 5)(4, "div", 6)(5, "span", 7), v(6), p(), v(7, " - "), s(8, "span", 8), v(9), p()(), s(10, "div", 9), v(11), p()()), t & 2) { 160 let e = n, o = a().$implicit, i = a(); 161 r(), d("logoDetails", o.logoDetails)("sportId", i.getSportId(o.fixtureId)), r(5), O(e.optionName), r(3), O(e.marketName), r(2), D(" ", i.getEventTitle(o.fixtureId), " "); 162 } 163} 164function Yr(t, n) { 165 if (t & 1 && (h(0, "ms-popular-bets-pod-event-logo", 3), s(1, "div", 10), v(2), p()), t & 2) { 166 let e = a().$implicit, o = a(); 167 d("logoDetails", e.logoDetails)("sportId", o.getSportId(e.fixtureId)), r(2), O(o.getSelectionInfo(e)); 168 } 169} 170function Kr(t, n) { 171 if (t & 1 && (s(0, "div", 1), u(1, Xr, 12, 5)(2, Yr, 3, 3), p()), t & 2) { 172 let e, o = n.$implicit, i = a(); 173 r(), c((e = i.betBuilderPodStylingOverride() && i.getCurrentOptionMarket(o)) ? 1 : 2, e); 174 } 175} 176function Ur(t, n) { 177 if (t & 1 && h(0, "ms-popular-bets-badge", 1), t & 2) { 178 let e = a(); 179 d("headerBadgeIconClass", e.pod().headerBadgeIconClass)("headerBadgeImage", e.pod().headerBadgeImage)("podType", e.pod().podType)("showBadge", e.showBadge()); 180 } 181} 182function Qr(t, n) { 183 t & 1 && h(0, "ms-event-timer", 5), t & 2 && (w("color", a().titleColor()), d("live", !1)("start", n)); 184} 185function ea(t, n) { 186 if (t & 1 && h(0, "ms-popular-bets-pod-summary", 9), t & 2) { 187 let e = a(), o = b(0); 188 m("pod-summary-override", e.betBuilderPodStylingOverride()), d("summary", o.summary); 189 } 190} 191function ta(t, n) { 192 if (t & 1 && h(0, "ms-popular-bets-bet-builder-plus-options", 10), t & 2) { 193 let e = a(2), o = b(0); 194 d("options", o.preCreatedOptions)("events", o.events)("visibleOptionsLimit", o.visibleOptionsLimit)("betBuilderPodStylingOverride", e.betBuilderPodStylingOverride()); 195 } 196} 197function oa(t, n) { 198 if (t & 1 && (K(0), u(1, ta, 1, 4, "ms-popular-bets-bet-builder-plus-options", 10), Z()), t & 2) { 199 a(); 200 let e = b(0); 201 r(), c(e.preCreatedOptions ? 1 : -1); 202 } 203} 204function na(t, n) { 205 t & 1 && h(0, "div", 11); 206} 207function ia(t, n) { 208 if (t & 1) { 209 let e = E(); 210 s(0, "ms-popular-bets-pod-show-more", 12), T("expandChange", function(o) { 211 return y(e), k(a().onShowMoreLessButtonToggle(o)); 212 }), p(); 213 } 214 if (t & 2) { 215 let e = a(), o = b(0); 216 m("pod-override-bet-builder-plus", e.betBuilderPodStylingOverride()), d("totalCount", o.eventsCount)("defaultCount", o.defaultNoOfLegs)("isEpcotEnabled", e.isEpcotEnabled()); 217 } 218} 219function ra(t, n) { 220 if (t & 1 && h(0, "ms-popular-bets-pod-add-to-betslip", 13), t & 2) { 221 let e = a(), o = b(0); 222 m("show-more-less-visible", o.showMoreLessButtonVisible), d("betBuilderMarket", o.preCreatedMarket)("betBuilderOptions", o.preCreatedOptions)("preCreatedOffer", o.preCreatedOffer)("podType", o.podType)("enableSinglePickSelection", !1)("podEvents", o.events)("isEpcotEnabled", e.isEpcotEnabled())("tracking", o.tracking); 223 } 224} 225function aa(t, n) { 226 t & 1 && (s(0, "span", 3), h(1, "vn-icon", 4), p()); 227} 228function sa(t, n) { 229 if (t & 1 && (s(0, "div", 6)(1, "div", 11), h(2, "ms-popular-bets-pod-event-logo", 12), p(), h(3, "div", 13), p()), t & 2) { 230 let e = a(3);
231 r(2), d("logoDetails", n.podLogo)("sportId", e.event().sport.id)("showLogoColor", !1); 232 } 233} 234function pa(t, n) { 235 if (t & 1 && (s(0, "span", 14), v(1), p(), s(2, "span", 15), v(3), p()), t & 2) { 236 let e = n; 237 r(), D("", e.optionName, " - "), r(2), D("", e.marketName, " "); 238 } 239} 240function la(t, n) { 241 t & 1 && h(0, "span", 14); 242} 243function da(t, n) { 244 if (t & 1 && u(0, pa, 4, 2)(1, la, 1, 0, "span", 14), t & 2) { 245 let e; 246 c((e = a(3).currentOptionMarketName()) ? 0 : 1, e); 247 } 248} 249function ca(t, n) { 250 if (t & 1 && (s(0, "span", 14), v(1), p()), t & 2) { 251 let e = a(3); 252 m("option-name__selection-info", e.showSelectionInfo), r(), O(e.selectionInfo()); 253 } 254} 255function ua(t, n) { 256 t & 1 && H(0); 257} 258function ha(t, n) { 259 if (t & 1) { 260 let e = E(); 261 s(0, "a")(1, "div", 5), T("click", function(o) { 262 return y(e), k(a(2).eventClick(o)); 263 }), u(2, sa, 4, 3, "div", 6), s(3, "div", 7), u(4, da, 2, 1)(5, ca, 2, 3, "span", 8), s(6, "div", 9), v(7), p()()(), C(8, ua, 1, 0, "ng-container", 10), p(); 264 } 265 if (t & 2) { 266 let e, o = a(2), i = L(4); 267 r(2), c((e = o.logoDetails()) ? 2 : -1, e), r(2), c(o.marketOptionStyling ? 4 : 5), r(3), D(" ", o.eventTitle(), " "), r(), d("ngTemplateOutlet", i); 268 } 269} 270function ga(t, n) { 271 if (t & 1 && h(0, "ms-popular-bets-pod-event-logo", 12), t & 2) { 272 let e = a(3); 273 d("logoDetails", n.podLogo)("sportId", e.event().sport.id)("showLogoColor", !1); 274 } 275} 276function ba(t, n) { 277 if (t & 1 && (s(0, "div", 9), v(1), h(2, "ms-event-timer", 18), p()), t & 2) { 278 let e = a(3); 279 r(), D(" ", e.eventTitle(), " | "), r(), d("live", e.event().live)("start", e.event().startDate)("scoreboard", e.event().scoreboard)("dynamic", !0); 280 } 281} 282function ma(t, n) { 283 t & 1 && H(0); 284} 285function _a(t, n) { 286 if (t & 1) { 287 let e = E(); 288 s(0, "div", 16), T("click", function(o) { 289 return y(e), k(a(2).eventClick(o)); 290 }), u(1, ga, 1, 3, "ms-popular-bets-pod-event-logo", 12), s(2, "div", 17)(3, "span", 14), v(4), p(), u(5, ba, 3, 5, "div", 9), p()(), C(6, ma, 1, 0, "ng-container", 10); 291 } 292 if (t & 2) { 293 let e, o = a(2), i = L(4); 294 r(), c((e = o.logoDetails()) ? 1 : -1, e), r(2), m("option-name__selection-info", o.showSelectionInfo), r(), O(o.selectionInfo()), r(), c(o.showSelectionInfo ? -1 : 5), r(), d("ngTemplateOutlet", i); 295 } 296} 297function va(t, n) { 298 if (t & 1 && (u(0, aa, 2, 0, "span", 3), u(1, ha, 9, 4, "a")(2, _a, 7, 6)), t & 2) { 299 let e = a(); 300 c(!e.showOptionPick() && !e.isPodStylingOverrideEnabled ? 0 : -1), r(), c(e.isPodStylingOverrideEnabled ? 1 : 2); 301 } 302} 303function fa(t, n) { 304 if (t & 1 && h(0, "ms-popular-bets-pod-event-logo", 20), t & 2) { 305 let e = n, o = a(2); 306 d("logoDetails", e.podLogo)("sportId", o.event().sport.id)("groupType", e.groupType)("leagueId", o.event().league.parentLeagueId ?? o.event().league.id)("participantId", e.playerDetails.participantId)("showHeadshotFallback", e.playerDetails.showHeadshotFallback)("marketGroupId", o.cleanPodId()); 307 } 308} 309function Pa(t, n) { 310 if (t & 1 && (s(0, "span", 23), v(1), p()), t & 2) { 311 let e = a(2); 312 m("popular-bets-pod-event-long-text", !e.showOptionPick()), r(), O(e.eventTitle()); 313 } 314} 315function Ca(t, n) { 316 t & 1 && H(0); 317} 318function Oa(t, n) { 319 if (t & 1 && (s(0, "div", 1)(1, "div", 19), u(2, fa, 1, 7, "ms-popular-bets-pod-event-logo", 20), s(3, "div", 21)(4, "span", 14), v(5), p(), u(6, Pa, 2, 3, "span", 22), p()(), C(7, Ca, 1, 0, "ng-container", 10), p()), t & 2) { 320 let e, o = a(), i = L(4); 321 r(2), c((e = o.logoDetails()) ? 2 : -1, e), r(2), m("option-name__selection-info", o.showSelectionInfo)("popular-bets-pod-event-long-text", !o.showOptionPick()), r(), O(o.selectionInfo()), r(), c(o.showSelectionInfo ? -1 : 6), r(), d("ngTemplateOutlet", i); 322 } 323} 324function Ma(t, n) { 325 t & 1 && h(0, "ds-divider", 2); 326} 327function ya(t, n) { 328 t & 1 && (s(0, "span", 26), h(1, "vn-icon", 28), p()); 329} 330function wa(t, n) { 331 if (t & 1 && (s(0, "div", 27), h(1, "ms-font-resizer", 29), F(2, "bsOddsFormatter"), p()), t & 2) { 332 a(2); 333 let e = b(1), o = a(); 334 r(), d("defaultSize", 1)("maxChars", 6)("value", Ye(2, 3, e.nativePrice, o.oddsFormat())); 335 } 336} 337function ka(t, n) { 338 if (t & 1 && (s(0, "ms-event-pick", 25), u(1, ya, 2, 0, "span", 26)(2, wa, 3, 6, "div", 27), p()), t & 2) { 339 a(); 340 let e = b(0), o = b(1), i = b(2), l = a(); 341 m("offline", !o.online), d("option", o)("event", l.event())("optionGroup", e)("betDetails", i?.betDetails)("trackingPosition", l.trackingPosition)("tracking", i), r(), c(e.online && o.online ? 2 : 1); 342 } 343} 344function xa(t, n) { 345 if (t & 1 && (Y(0)(1)(2), u(3, ka, 3, 9, "ms-event-pick", 24)), t & 2) { 346 let e = a(), o = A(e.optionGroup()); 347 r(); 348 let i = A(e.option()); 349 r(), A(e.tracking()), r(), c(e.showOptionPick() && i && o ? 3 : -1); 350 } 351} 352function Sa(t, n) { 353 if (t & 1 && h(0, "ms-event-timer", 4), t & 2) { 354 a(2); 355 let e = b(0); 356 w("color", e.titleColor), d("live", !1)("start", e.eventStartDate); 357 } 358} 359function Ba(t, n) { 360 t & 1 && H(0); 361} 362function Na(t, n) { 363 t & 1 && C(0, Ba, 1, 0, "ng-container", 7), t & 2 && (a(3), d("ngTemplateOutlet", L(5))); 364} 365function Ea(t, n) { 366 if (t & 1 && (s(0, "div", 5), h(1, "ms-popular-bets-badge", 6), u(2, Na, 1, 1, "ng-container"), p()), t & 2) { 367 a(2); 368 let e = b(0); 369 w("color", e.titleColor), r(), d("headerBadgeIconClass", e.headerBadgeIconClass)("headerBadgeImage", e.headerBadgeImage)("podType", e.podT
369ype)("showBadge", !1), r(), c(e.title ? 2 : -1); 370 } 371} 372function Ta(t, n) { 373 t & 1 && H(0); 374} 375function Ia(t, n) { 376 t & 1 && C(0, Ta, 1, 0, "ng-container", 7), t & 2 && (a(2), d("ngTemplateOutlet", L(5))); 377} 378function Da(t, n) { 379 if (t & 1 && (s(0, "div", 1), u(1, Sa, 1, 4, "ms-event-timer", 2), u(2, Ea, 3, 7, "div", 3)(3, Ia, 1, 1, "ng-container"), p()), t & 2) { 380 a(); 381 let e = b(0); 382 r(), c(e.eventStartDate ? 1 : -1); 383 let o = e.headerBadgeImage?.src || e.headerBadgeIconClass; 384 r(), c(o ? 2 : e.title ? 3 : -1); 385 } 386} 387function La(t, n) { 388 if (t & 1 && (s(0, "div", 9), h(1, "ms-event-timer", 12), p()), t & 2) { 389 a(3); 390 let e = b(0); 391 r(), w("color", e.titleColor), d("live", !1)("start", n); 392 } 393} 394function Ha(t, n) { 395 if (t & 1 && (s(0, "div", 13)(1, "ds-badge", 14), v(2), F(3, "msNumToThousands"), h(4, "vn-icon", 15), p()()), t & 2) { 396 let e = a(3), o = b(0); 397 m("popular-bets-pod-header-start", !e.podHeaderTitle()), r(2), D(" ", ge(3, 3, o.counter), " "); 398 } 399} 400function Fa(t, n) { 401 t & 1 && h(0, "vn-icon", 16), t & 2 && (a(4), d("name", "sports-" + b(0).sport.id)); 402} 403function Aa(t, n) { 404 if (t & 1 && (s(0, "div", 11), u(1, Fa, 1, 1, "vn-icon", 16), s(2, "span", 17), v(3), p()()), t & 2) { 405 let e = a(3), o = b(0); 406 r(), c(o.sport ? 1 : -1), r(2), O(e.podHeaderTitle()); 407 } 408} 409function ja(t, n) { 410 if (t & 1 && (s(0, "div", 8), u(1, La, 2, 4, "div", 9), u(2, Ha, 5, 5, "div", 10), p(), u(3, Aa, 4, 2, "div", 11)), t & 2) { 411 let e, o = a(2), i = b(0); 412 m("popular-bets-pod-header-start", !o.podHeaderTitle())("popular-bets-pod-header-height", !i.counter || !o.podHeaderTitle()), r(), c((e = o.earliestEventDate()) ? 1 : -1, e), r(), c(i.counter ? 2 : -1), r(), c(o.podHeaderTitle() ? 3 : -1); 413 } 414} 415function za(t, n) { 416 if (t & 1 && u(0, ja, 4, 7), t & 2) { 417 let e = a(); 418 c(b(0).counter || e.podHeaderTitle() || e.earliestEventDate() ? 0 : -1); 419 } 420} 421function Ga(t, n) { 422 t & 1 && h(0, "vn-icon", 16), t & 2 && (a(4), d("name", "sports-" + b(0).sport.id)); 423} 424function Va(t, n) { 425 if (t & 1 && (s(0, "div", 20), u(1, Ga, 1, 1, "vn-icon", 16), s(2, "span", 17), v(3), p()()), t & 2) { 426 let e = a(3), o = b(0); 427 r(), c(o.sport ? 1 : -1), r(2), O(e.podHeaderTitle()); 428 } 429} 430function $a(t, n) { 431 if (t & 1 && (s(0, "div", 13)(1, "span", 21), v(2), p(), s(3, "span", 22), v(4), p()()), t & 2) { 432 let e = a(3), o = b(0); 433 r(2), O(o.counter), r(2), O(e.sitecorePopularBetsConfig.messages.BetCounter); 434 } 435} 436function Ra(t, n) { 437 if (t & 1 && (s(0, "div", 19), u(1, Va, 4, 2, "div", 20), u(2, $a, 5, 2, "div", 13), p()), t & 2) { 438 let e = a(2), o = b(0); 439 m("popular-bets-pod-header-height", !o.isAllPodAreSameType), r(), c(e.podHeaderTitle() ? 1 : -1), r(), c(o.counter ? 2 : -1); 440 } 441} 442function qa(t, n) { 443 if (t & 1 && u(0, Ra, 3, 4, "div", 18), t & 2) { 444 let e = a(); 445 c(b(0).counter || e.podHeaderTitle() ? 0 : -1); 446 } 447} 448function Ja(t, n) { 449 if (t & 1 && (s(0, "div", 23), v(1), p()), t & 2) { 450 a(); 451 let e = b(0); 452 w("color", e.titleColor), r(), O(e.title); 453 } 454} 455function Wa(t, n) { 456 t & 1 && h(0, "ds-divider", 7); 457} 458function Za(t, n) { 459 if (t & 1 && (h(0, "ms-popular-bets-pod-summary", 6), u(1, Wa, 1, 0, "ds-divider", 7)), t & 2) { 460 let e = a(); 461 m("pod-with-option", e.pod.showOptionPick)("pod-summary-override", e.isPodStylingOverrideEnabled)("pod-summary-padding", !e.pod.isAllPodAreSameType), d("summary", e.pod.summary), r(), c(e.pod.showOptionPick && !e.isPodStylingOverrideEnabled && !e.isEpcotEnabled ? 1 : -1); 462 } 463} 464function Xa(t, n) { 465 if (t & 1 && (K(0), h(1, "ms-popular-bets-pod-event", 8), Z()), t & 2) { 466 let e = n.$implicit, o = n.index, i = n.last, l = a(); 467 r(), m("hide-option", !l.pod.showOptionPick)("show-more", l.pod.showMoreLessButtonVisible), d("event", e)("showOptionPick", l.pod.showOptionPick)("showDivider", l.pod.showOptionPick && !l.isPodStylingOverrideEnabled && !l.isEpcotEnabled && !i)("tracking", l.getEventTracking(o))("isEpcotEnabled", l.isEpcotEnabled)("podOptionTeamInfo", l.pod.podOptionTeamInfo)("podId", l.pod.podId); 468 } 469} 470function Ya(t, n) { 471 if (t & 1) { 472 let e = E(); 473 s(0, "ms-popular-bets-pod-show-more", 9), T("expandChange", function(o) { 474 return y(e), k(a().onShowMoreLessButtonToggle(o)); 475 }), p(); 476 } 477 if (t & 2) { 478 let e = a(); 479 d("totalCount", e.pod.eventsCount)("defaultCount", e.pod.defaultNoOfLegs)("isEpcotEnabled", e.isEpcotEnabled)("isPodStylingOverrideEnabled", e.isPodStylingOverrideEnabled); 480 } 481} 482function Ka(t, n) {} 483function Ua(t, n) { 484 if (t & 1 && h(0, "vn-icon", 7), t & 2) { 485 let e = a(2); 486 m("ds-icon-filled-default", a().isTitleIconFilled), d("name", e.titleIconClass); 487 } 488} 489function Qa(t, n) { 490 if (t & 1 && (s(0, "ds-card-header", 2), u(1, Ua, 1, 3, "vn-icon", 6), p()), t & 2) { 491 let e = a(); 492 d("themedSurface", a().themedSurface)("title", e.title), r(), c(e.titleIconClass ? 1 : -1); 493 } 494} 495function es(t, n) { 496 if (t & 1 && h(0, "img", 11), t & 2) { 497 let e = a(2).$implicit; 498 d("ngSrc", e.backgroundImage.src)("height", e.backgroundImage.height)("width", e.backgroundImage.width)("alt", e.backgroundImage.alt ?? "pod-bg-image"); 499 } 500} 501function ts(t, n) {
502 if (t & 1 && h(0, "ms-popular-bets-bet-builder-plus-pod", 12), t & 2) { 503 let e = a(2).$implicit, o = a(), i = a(); 504 d("pod", e)("isEpcotEnabled", i.isEpcotEnabled)("visiblePodLegs", i.visiblePodLegs)("betBuilderPodStylingOverride", o.betBuilderPodStylingOverride ?? !1); 505 } 506} 507function os(t, n) { 508 if (t & 1) { 509 let e = E(); 510 s(0, "ms-popular-bets-bet-builder-pod", 15), T("podNavigated", function() { 511 y(e); 512 let o = a(2), i = o.$implicit, l = o.index; 513 return k(a(2).onPodNavigated(i, l)); 514 })("podVisible", function() { 515 y(e); 516 let o = a(2), i = o.$implicit, l = o.index; 517 return k(a(2).onPodVisible(i, l)); 518 }), p(); 519 } 520 if (t & 2) { 521 let e = a(2).$implicit, o = a(), i = a(); 522 m("pod-style-override", o.betBuilderPodStylingOverride ?? !1), d("pod", e)("isEpcotEnabled", i.isEpcotEnabled)("visiblePodLegs", i.visiblePodLegs)("betBuilderPodStylingOverride", o.betBuilderPodStylingOverride ?? !1)("showTwoJerseyLogo", o.showTwoJerseyLogo ?? !1); 523 } 524} 525function ns(t, n) { 526 if (t & 1 && h(0, "ms-popular-bets-pod", 14), t & 2) { 527 let e = a(2).$implicit, o = a(2); 528 d("pod", e)("isEpcotEnabled", o.isEpcotEnabled)("visiblePodLegs", o.visiblePodLegs); 529 } 530} 531function is(t, n) { 532 if (t & 1 && (K(0), u(1, es, 1, 4, "img", 11), u(2, ts, 1, 4, "ms-popular-bets-bet-builder-plus-pod", 12)(3, os, 1, 7, "ms-popular-bets-bet-builder-pod", 13)(4, ns, 1, 3, "ms-popular-bets-pod", 14), Z()), t & 2) { 533 let e = a().$implicit, o = a(2); 534 r(), c(e.backgroundImage && e.backgroundImage.src ? 1 : -1), r(), c(o.shouldShowBetBuilderPlusPod(e) ? 2 : o.shouldShowBetBuilderPod(e) ? 3 : 4); 535 } 536} 537function rs(t, n) { 538 t & 1 && h(0, "div", 16); 539} 540function as(t, n) { 541 if (t & 1) { 542 let e = E(); 543 s(0, "ds-card", 8), T("msContentReady", function() { 544 return y(e), k(a(2).isContentReady.set(!0)); 545 }), C(1, is, 5, 2, "ng-container", 9)(2, rs, 1, 0, "div", 10), p(); 546 } 547 if (t & 2) { 548 let e = a(2); 549 d("themedInverse", e.themedInverse)("border", !0)("elevated", !1)("themeBorder", e.themedCardBorderatPod); 550 } 551} 552function ss(t, n) { 553 if (t & 1) { 554 let e = E(); 555 s(0, "ds-card", 1), C(1, Ka, 0, 0, "ng-template", null, 0, W), u(3, Qa, 2, 3, "ds-card-header", 2), s(4, "ms-scroll-adapter", 3), T("select", function() { 556 return y(e), k(a().onPodScroll()); 557 })("mobileSwipe", function() { 558 return y(e), k(a().onPodSwipe()); 559 }), s(5, "div", 4), C(6, as, 3, 4, "ds-card", 5), p()()(); 560 } 561 if (t & 2) { 562 let e = n, o = a(); 563 d("radius", o.isBorderRadius())("border", !1)("elevated", !0)("themeBorder", o.themedCardBorder)("themeBorderRadius", o.themeCardBorderRadius), r(3), c(e.showHeader ? 3 : -1), r(), d("scrollSpeed", o.scrollSpeed)("scrollItems", e.payload), r(), w("min-height", e.isPopBetsStylingEnabled ? null : e.minHeight, "px")("min-width", e.minWidth, "px"), d("root", null), r(), d("rxForOf", e.payload)("rxForTrackBy", o.trackByPod)("rxForRenderCallback", o.itemsRendered); 564 } 565} 566function ps() { 567 return [Ht(Ge)]; 568} 569var Te, Ie, De, Le, He, Fe, Ae, je, ze, Ge; 570function Ve() { 571 return (Ve = Zr((() => { 572 Re(), tt(), ht(), bt(), mt(), _t(), vt(), ft(), wt(), kt(), xt(), St(), Bt(), Ot(), Et(), Tt(), It(), Nt(), Dt(), Ft(), jt(), Gt(), zt(), Vt(), $t(), Rt(), qt(), Lt(), po(), Eo(), So(), bo(), Wo(), Fo(), Lo(), Jt(), Wt(), co(), mo(), Zo(), jo(), rn(), Zt(), en(), Vo(), xo(), Bo(), yo(), Kt(), _o(), Oo(), Ro(), Jo(), ko(), so(), zo(), Yo(), nn(), Mo(), Po(), Ut(), Io(), Xo(), Ho(), Qo(), on(), No(), go(), lo(), sn(), Qt(), tn(), $o(), Ao(), To(), Uo(), vo(), eo(), to(), oo(), fo(), qo(), ho(), wo(), no(), io(), ro(), ao(), uo(), an(), pn(), Do(), Ko(), Go(), ln(), _n(), Cn(), Mn(), gn(), fn(), Pn(), yn(), wn(), kn(), xn(), Sn(), bn(), On(), Bn(), Hn(), Nn(), En(), Tn(), Dn(), Ln(), zn(), Fn(), An(), jn(), ei(), ti(), oi(), ni(), ii(), ri(), ai(), pi(), Gn(), li(), Vn(), $n(), Rn(), Jn(), Lr(), di(), ci(), ui(), hi(), gi(), Wn(), Zn(), bi(), mi(), _i(), Xn(), Yn(), Kn(), Qn(), vi(), fi(), Pi(), Ci(), Oi(), Mi(), yi(), wi(), ki(), Si(), Ni(), Ei(), Ti(), Di(), Nr(), Li(), Hi(), Fi(), Ai(), zi(), Gi(), Vi(), $i(), Ji(), Wi(), Yi(), Ki(), Ui(), Qi(), er(), tr(), or(), nr(), ir(), ar(), Vr(), sr(), $r(), pr(), lr(), dr(), cr(), Rr(), Hr(), hr(), Ar(), gr(), br(), jr(), vr(), xr(), _r(), Pr(), Cr(), rr(), Or(), Mr(), yr(), wr(), kr(), fr(), Br(), Wr(), Er(), Tr(), zr(), Te = (() => { 573 let t = class { 574 constructor() { 575 this.options = _.required(), this.visibleOptionsLimit = _.required(), this.events = _.required(), this.betBuilderPodStylingOverride = _.required(), this.podOptionService = g(ie), this.eventNameMapper = g(Me); 576 } 577 ngOnInit() { 578 this.showOpponent = this.podOptionService.getOpponentEnabledByPodType("SGPPlus"); 579 } 580 trackOption(e) { 581 return e; 582 } 583 getSelectionInfo(e) { 584 if (!e) return ""; 585 if (!this.showOpponent) return e.name; 586 let o = this.getEvent(e.fixtureId); 587 return this.podOptionService.getOpponentSelection(o, e.name, this.eventTitle(o), e.opponentParticipant); 588 } 589 getSportId(e) { 590 return this.getEvent(e).sport.id; 591 } 592 getCurrentOptionMarket(e) { 593 return !e || !e.optionName || !e.marketName ? null : { 594 optionName: e.optionName, 595 marketName: e.marketName 596 }; 597 } 598 getEventTitle(e) { 599 let o = this.getEvent(e); 600 return this.eventNameMapper.map(o, !1, te.PopularBets); 601 } 602 eventTitle(e) { 603 return this.eventNameMapper.map(e, !1, te.PopularBets); 604 } 605 getEvent(e) { 606 return this.events().find((o) => o.id === e); 607 } 608 }; 609 return t.ɵfac = function(n) { 610 return new (n || t)(); 611 }, t.ɵcmp = N({ 612 type: t,
613 selectors: [["ms-popular-bets-bet-builder-plus-options"]], 614 hostAttrs: [1, "popular-bets-bet-builder-plus-options"], 615 hostVars: 2, 616 hostBindings: function(n, e) { 617 n & 2 && m("style-override", e.betBuilderPodStylingOverride()); 618 }, 619 inputs: { 620 options: [1, "options"], 621 visibleOptionsLimit: [1, "visibleOptionsLimit"], 622 events: [1, "events"], 623 betBuilderPodStylingOverride: [1, "betBuilderPodStylingOverride"] 624 }, 625 decls: 2, 626 vars: 6, 627 consts: [ 628 [ 629 "class", 630 "popular-bets-bet-builder-plus-options__option_container", 631 4, 632 "rxFor", 633 "rxForOf", 634 "rxForTrackBy" 635 ], 636 [1, "popular-bets-bet-builder-plus-options__option_container"], 637 [1, "bet-builder-plus-pod-option-override"], 638 [ 639 3, 640 "logoDetails", 641 "sportId" 642 ], 643 [1, "bet-builder-plus-connecting-line"], 644 [1, "bet-builder-plus-option-container-override"], 645 [1, "bet-builder-option-market-container"], 646 [1, "option-name"], 647 [1, "market-name"], 648 [1, "event-and-timer"], 649 [1, "popular-bets-bet-builder-plus-options__option-name"] 650 ], 651 template: function(n, e) { 652 n & 1 && (C(0, Kr, 3, 1, "div", 0), F(1, "slice")), n & 2 && d("rxForOf", ue(1, 2, e.options(), 0, e.visibleOptionsLimit()))("rxForTrackBy", e.trackOption); 653 }, 654 dependencies: [ 655 ee, 656 Ne, 657 be 658 ], 659 styles: [".style-override[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0;align-items:unset;justify-content:unset}.style-override[_nghost-%COMP%] .bet-builder-plus-connecting-line[_ngcontent-%COMP%]{width:2px;background:var(--%NS%popular-bets-pod-connector-line-redesign-color);min-height:2px;height:auto;flex-grow:1;height:100%}.style-override[_nghost-%COMP%] .bet-builder-plus-pod-option-override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:flex-start;align-self:stretch}.style-override[_nghost-%COMP%] .bet-builder-plus-pod-option-override[_ngcontent-%COMP%] ms-popular-bets-pod-event-logo[_ngcontent-%COMP%]{padding-top:4px}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]:last-child .bet-builder-plus-connecting-line[_ngcontent-%COMP%]:last-child{display:none}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]:last-child .bet-builder-plus-option-container-override[_ngcontent-%COMP%]:last-child{padding-bottom:0}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:center;align-items:flex-start;align-self:stretch;justify-content:flex-start}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0;align-items:center;justify-content:flex-start;align-items:flex-start;align-items:stretch;max-width:100%;word-break:break-word;overflow-wrap:break-word;line-height:normal;padding-bottom:8px}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .event-and-timer[_ngcontent-%COMP%]{overflow:visible;text-overflow:unset;white-space:normal;word-break:break-word;font-weight:var(--%NS%popular-bets-small-font-weight);font-size:var(--%NS%popular-bets-small-font-and-height);color:var(--%NS%popular-bets-bet-counter-text-color)}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .bet-builder-option-market-container[_ngcontent-%COMP%]{line-height:normal;font-size:var(--%NS%popular-bets-medium-font-and-height)}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .option-name[_ng
659content-%COMP%]{font-weight:var(--%NS%popular-bets-bold-font-weight)}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .market-name[_ngcontent-%COMP%]{font-weight:var(--%NS%popular-bets-theme-font-normal)}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%], .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .market-name[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-medium-font-and-height);display:contents;overflow-wrap:break-word;word-break:break-word;white-space:normal;width:100%}.epcot-enabled [_nghost-%COMP%]:not(.style-override){display:flex;flex-direction:column;gap:10px;align-items:unset;justify-content:unset}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:26px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]:not(:last-child):not(:last-of-type) .popular-bets-option__radio-off[_ngcontent-%COMP%]:after, .epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]:not(:last-child):not(:last-of-type) .popular-bets-option__bullet-icon[_ngcontent-%COMP%]:after{margin-top:4px;margin-bottom:4px;content:\"\";position:absolute;height:18px;width:var(--%NS%popular-bets-pod-connector-line-width);left:8.5px;top:100%;background:var(--%NS%popular-bets-pod-connector-line-color)}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%]:not(:last-child):not(:last-of-type) .popular-bets-option__event-logo[_ngcontent-%COMP%]:after{margin-top:3px;margin-bottom:3px;content:\"\";position:absolute;height:6px;width:var(--%NS%popular-bets-pod-connector-line-width);left:11.5px;top:100%;background:var(--%NS%popular-bets-pod-connector-line-color)}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-options__option-name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:var(--%NS%popular-bets-bb-option-name-line-height);white-space:break-spaces;flex:1;font-size:var(--%NS%popular-bets-bb-option-name-font-size);font-weight:var(--%NS%popular-bets-bb-option-name-font-weight);color:var(--%NS%popular-bets-pod-bet-builder-option);text-wrap:wrap}.epcot-enabled .style-override[_nghost-%COMP%] .bet-builder-plus-connecting-line[_ngcontent-%COMP%]{width:1px;background:var(--%NS%popular-bets-pod-connector-line-redesign-color)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .event-and-timer[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-small-epcot-font);color:var(--%NS%popular-bets-bet-counter-text-color)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .bet-builder-option-market-container[_ngcontent-%COMP%]{line-height:normal;font-size:var(--%NS%popular-bets-small-epcot-font)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%]{font-weight:var(--%NS%popular-bets-bold-font-weight)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder
659-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .market-name[_ngcontent-%COMP%]{font-weight:var(--%NS%popular-bets-market-name-weight)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%], .epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-options__option_container[_ngcontent-%COMP%] .bet-builder-plus-option-container-override[_ngcontent-%COMP%] .market-name[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-options-font-epcot)}"] 660 }), t; 661 })(), Ie = (() => { 662 let t = class { 663 constructor() { 664 this.pod = _.required(), this.titleColor = _(), this.betBuilderPodStylingOverride = _.required(), this.sitecorePopularBetsConfig = g(U), this.eventTitle = f(() => this.pod().title ? this.pod().title : this.getLeagueOrSportName("league") || this.getLeagueOrSportName("sport") || this.sitecorePopularBetsConfig.messages.MultiSport), this.showBadge = f(() => !this.betBuilderPodStylingOverride() || this.pod().betBuilderBadgePosition != "OnModule"), this.hasBadge = f(() => { 665 let e = this.pod(); 666 return !!(e.headerBadgeImage?.src || e.headerBadgeIconClass || this.showBadge()); 667 }); 668 } 669 getLeagueOrSportName(e) { 670 let o = this.pod().events; 671 if (!o.length) return ""; 672 let i = o[0][e].name; 673 for (let l = 1; l < o.length; l++) if (o[l][e].name !== i) return ""; 674 return i; 675 } 676 }; 677 return t.ɵfac = function(n) { 678 return new (n || t)(); 679 }, t.ɵcmp = N({ 680 type: t, 681 selectors: [["ms-popular-bets-bet-builder-plus-pod-header"]], 682 hostVars: 2, 683 hostBindings: function(n, e) { 684 n & 2 && m("style-override", e.betBuilderPodStylingOverride()); 685 }, 686 inputs: { 687 pod: [1, "pod"], 688 titleColor: [1, "titleColor"], 689 betBuilderPodStylingOverride: [1, "betBuilderPodStylingOverride"] 690 }, 691 decls: 6, 692 vars: 5, 693 consts: [ 694 [1, "popular-bets-bet-builder-plus-pod-header"], 695 [ 696 3, 697 "headerBadgeIconClass", 698 "headerBadgeImage", 699 "podType", 700 "showBadge" 701 ], 702 [1, "popular-bets-bet-builder-plus-pod-header__event-name"], 703 [1, "popular-bets-bet-builder-plus-pod-header__event-date"], 704 [ 705 3, 706 "live", 707 "start", 708 "color" 709 ], 710 [ 711 3, 712 "live", 713 "start" 714 ] 715 ], 716 template: function(n, e) { 717 if (n & 1 && (s(0, "div", 0), u(1, Ur, 1, 4, "ms-popular-bets-badge", 1), s(2, "div", 2), v(3), p()(), s(4, "div", 3), u(5, Qr, 1, 4, "ms-event-timer", 4), p()), n & 2) { 718 let o; 719 r(), c(e.hasBadge() ? 1 : -1), r(), w("color", e.titleColor()), r(), O(e.eventTitle()), r(2), c((o = e.pod().eventStartDate) ? 5 : -1, o); 720 } 721 }, 722 dependencies: [ne, Se], 723 styles: ["[_nghost-%COMP%]:not(.style-override){display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:space-between;padding-bottom:12px}.style-override[_nghost-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:flex-start;justify-content:space-between;padding-bottom:12px}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-header__event-name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;white-space:pre-wrap;font-weight:var(--%NS%popular-bets-semi-bold-font-weight);line-height:normal;font-size:var(--%NS%popular-bets-medium-font-and-height);max-width:155px}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-header__event-date[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:var(--%NS%popular-bets-small-header-font);color:var(--%NS%popular-bets-bet-counter-text-color);text-align:right;font-weight:var(--%NS%popular-bets-semi-bold-font-weight);line-height:normal;white-space:pre-wrap;max-width:95px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder
723-plus-pod-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:space-between;min-height:20px;line-height:16px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-pod-header__event-name[_ngcontent-%COMP%]{font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:500;line-height:13px;color:var(--%NS%popular-bets-pod-header-title);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-family:var(--%NS%popular-bets-widget-font-family);line-height:15px;max-width:105px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-pod-header__event-date[_ngcontent-%COMP%]{font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:500;line-height:13px;color:var(--%NS%popular-bets-pod-header-date)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:var(--%NS%popular-bets-badge-gap);align-items:flex-start;justify-content:space-between;min-height:20px;line-height:16px}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-header[_ngcontent-%COMP%] .popular-bets-bet-builder-plus-pod-header__event-name[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-pod-header-event-font-size);font-weight:var(--%NS%popular-bets-pod-header-event-font-weight)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-header[_ngcontent-%COMP%] .popular-bets-bet-builder-plus-pod-header__event-date[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-small-header-font);color:var(--%NS%popular-bets-pod-header-date-color);font-weight:var(--%NS%popular-bets-pod-header-date-font-weight);white-space:var(--%NS%popular-bets-pod-header-date-white-space);max-width:var(--%NS%popular-bets-pod-header-date-max-width)}"] 724 }), t; 725 })(), De = (() => { 726 let t = class { 727 constructor() { 728 this.pod = _.required(), this.isEpcotEnabled = _.required(), this.visiblePodLegs = _.required(), this.betBuilderPodStylingOverride = _.required(), this.expand = J(!1), this.popularBetsExpandCollapseService = g(V), this.minHeight = f(() => (this.setVisibleOptionsLimit(), xe(this.getMinPodHeightConfig()))); 729 } 730 onShowMoreLessButtonToggle(e) { 731 this.expand.set(e), this.pod().expand = e, this.pod().visibleOptionsLimit = e ? this.pod().preCreatedOptions.length : this.pod().defaultNoOfLegs, this.popularBetsExpandCollapseService.setExpandCollapse(e, this.pod().visibleOptionsLimit); 732 } 733 setVisibleOptionsLimit() { 734 this.expand(), this.visiblePodLegs() && (this.pod().visibleOptionsLimit = this.visiblePodLegs()); 735 } 736 getMinPodHeightConfig() { 737 return { 738 rows: this.pod().visibleOptionsLimit, 739 isEpcotEnabled: this.isEpcotEnabled(), 740 showOptionPick: !1, 741 podType: this.pod().podType, 742 isAllPodAreSameType: this.pod().isAllPodAreSameType 743 }; 744 } 745 }; 746 return t.ɵfac = function(n) { 747 return new (n || t)(); 748 }, t.ɵcmp = N({ 749 type: t, 750 selectors: [["ms-popular-bets-bet-builder-plus-pod"]], 751 hostAttrs: [1, "popular-bets-bet-builder-plus-pod"], 752 hostVars: 2, 753 hostBindings: function(n, e) { 754 n & 2 && m("style-override", e.betBuilderPodStylingOverride()); 755 }, 756 inputs: { 757 pod: [1, "pod"], 758 isEpcotEnabled: [1, "isEpcotEnabled"], 759 visiblePodLegs: [1, "visiblePodLegs"], 760 betBuilderPodStylingOverride: [1, "betBuilderPodStylingOverride"] 761 }, 762 decls: 10, 763 vars: 12, 764 consts: [ 765 [ 766 "rxVirtualViewObserver", 767 "", 768 1, 769 "popular-bets-bet-builder-plus-pod__top-container", 770 3, 771 "root" 772 ], 773 [ 774 3, 775 "pod", 776 "titleColor", 777 "betBuilderPodStylingOverride" 778 ], 779 [ 780 1, 781 "popular-bets-pod-summary", 782 3, 783 "pod-summary-override", 784 "summary" 785 ], 786 [ 787 "rxVirtualView", 788 "", 789 1, 790 "popular-bets-bet-builder-plus-pod-events" 791 ], 792 [4, "rxVirtualViewContent"], 793 [ 794 "style", 795 "min-height: var(--rx-vw-h, 57px)", 796 4, 797 "rxVirtualViewPlaceholder" 798 ],
799 [1, "popular-bets-bet-builder-plus-pod__bottom-container"], 800 [ 801 1, 802 "popular-bets-pod-show-more", 803 3, 804 "pod-override-bet-builder-plus", 805 "totalCount", 806 "defaultCount", 807 "isEpcotEnabled" 808 ], 809 [ 810 1, 811 "popular-bets-add-to-betslip", 812 3, 813 "show-more-less-visible", 814 "betBuilderMarket", 815 "betBuilderOptions", 816 "preCreatedOffer", 817 "podType", 818 "enableSinglePickSelection", 819 "podEvents", 820 "isEpcotEnabled", 821 "tracking" 822 ], 823 [ 824 1, 825 "popular-bets-pod-summary", 826 3, 827 "summary" 828 ], 829 [ 830 3, 831 "options", 832 "events", 833 "visibleOptionsLimit", 834 "betBuilderPodStylingOverride" 835 ], 836 [ 837 2, 838 "min-height", 839 "var(--rx-vw-h, 57px)" 840 ], 841 [ 842 1, 843 "popular-bets-pod-show-more", 844 3, 845 "expandChange", 846 "totalCount", 847 "defaultCount", 848 "isEpcotEnabled" 849 ], 850 [ 851 1, 852 "popular-bets-add-to-betslip", 853 3, 854 "betBuilderMarket", 855 "betBuilderOptions", 856 "preCreatedOffer", 857 "podType", 858 "enableSinglePickSelection", 859 "podEvents", 860 "isEpcotEnabled", 861 "tracking" 862 ] 863 ], 864 template: function(n, e) { 865 if (n & 1 && (Y(0), s(1, "div", 0), h(2, "ms-popular-bets-bet-builder-plus-pod-header", 1), u(3, ea, 1, 3, "ms-popular-bets-pod-summary", 2), s(4, "div", 3), C(5, oa, 2, 1, "ng-container", 4)(6, na, 1, 0, "div", 5), p()(), s(7, "div", 6), u(8, ia, 1, 5, "ms-popular-bets-pod-show-more", 7), u(9, ra, 1, 10, "ms-popular-bets-pod-add-to-betslip", 8), p()), n & 2) { 866 let o = A(e.pod()); 867 r(), d("root", null), r(), d("pod", e.pod())("titleColor", o.titleColor)("betBuilderPodStylingOverride", e.betBuilderPodStylingOverride()), r(), c(o.summary ? 3 : -1), r(), w("min-height", e.betBuilderPodStylingOverride() && e.minHeight(), "px")("height", !e.betBuilderPodStylingOverride() && e.minHeight(), "px"), r(4), c(o.showMoreLessButtonVisible ? 8 : -1), r(), c(o.preCreatedOffer && o.preCreatedOptions ? 9 : -1); 868 } 869 }, 870 dependencies: [ 871 Ie, 872 ke, 873 Te, 874 Ee, 875 we, 876 fe, 877 Ce, 878 Pe, 879 Oe 880 ], 881 styles: ["[_nghost-%COMP%]{position:relative}[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-events[_ngcontent-%COMP%]{overflow:hidden;transition:height .25s ease-in-out}.style-override[_nghost-%COMP%]{font-family:var(--%NS%popular-bets-widget-font-family);display:flex;flex-direction:column;gap:0;align-items:unset;justify-content:space-between;border:0;background:var(--%NS%popular-parlay-module-background);width:284px;min-height:100%;padding:8px 12px;color:var(--%NS%popular-bets-main-font-color)}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod-events[_ngcontent-%COMP%]{overflow:hidden;transition:height .25s ease-in-out}.style-override[_nghost-%COMP%] .popular-bets-bet-builder-plus-pod__bottom-container[_ngcontent-%COMP%]:has(.show-more-button){padding-top:12px}.style-override[_nghost-%COMP%] .pod-summary-override[_ngcontent-%COMP%]{padding:0 0 12px}.style-override[_nghost-%COMP%] .popular-bets-add-to-betslip[_ngcontent-%COMP%]{padding:12px 0 0}.epcot-enabled [_nghost-%COMP%]:not(.style-override){display:flex;flex-direction:column;gap:0;align-items:unset;justify-content:space-between;background:var(--%NS%popular-parlay-module-background);height:100%;padding:12px;border-radius:var(--%NS%popular-bets-pod-border-radius);width:280px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-bet-builder-plus-pod__top-container[_ngcontent-%COMP%]{padding:0}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .popular-bets-pod-summary[_ngcontent-%COMP%]{padding:0 0 12px}.epcot-enabled [_nghost-%COMP%]:not(.style-override) .show-more-less-visible[_ngcontent-%COMP%]{padding:0}.epcot-enabled .style-override[_nghost-%COMP%]{border-radius:var(--%NS%popular-bets-pod-border-radius);padding:12px;font-size:var(--%NS%popular-bets-small-epcot-font)}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-bet-builder
881-plus-pod.style-override[_ngcontent-%COMP%]{padding:12px;border-radius:8px}.epcot-enabled .style-override[_nghost-%COMP%] .popular-bets-pod-summary[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-small-epcot-font);font-weight:var(--%NS%popular-bets-small-font-weight)}"] 882 }), t; 883 })(), Le = (() => { 884 let t = class { 885 constructor() { 886 this.eventNameMapper = g(Me), this.eventLogoService = g(Fr), this.participantService = g(ye), this.podOptionService = g(ie), this.urlHelper = g(Co), this.redirectHelper = g(In), this.userOddsFormatSettingsService = g(un), this.oddsFormat = this.userOddsFormatSettingsService.oddsFormat, this.className = "popular-bets-pod-event-connector", this.event = _.required(), this.showOptionPick = _.required(), this.showDivider = _(!1), this.tracking = _.required(), this.isEpcotEnabled = _.required(), this.podOptionTeamInfo = _.required(), this.podId = _(), this.marketOptionStyling = this.podOptionService.isMarketOptionTextEnabled(), this.isPodStylingOverrideEnabled = this.podOptionService.isPodStylingOverrideEnabled(), this.showOpponent = this.podOptionService.getOpponentEnabledByPodType("Parlay"), this.showMarketName = this.podOptionService.getMarketNameEnabledByPodType("Parlay"), this.cleanPodId = f(() => cn(this.podId())), this.optionGroup = f(() => this.event().optionGroups[0] ?? null), this.option = f(() => this.optionGroup()?.options[0] ?? null), this.logoDetails = f(() => { 887 let e = this.option(); 888 return e ? { 889 podLogo: this.eventLogoService.getLogoDetailsForPodEvent(e, this.event(), "Parlay", this.podOptionTeamInfo()), 890 playerDetails: this.getPlayerDetails(e), 891 groupType: "PopularMultiBets" 892 } : null; 893 }), this.opponentParticipant = f(() => { 894 if (this.option()) return this.participantService.getOpponentParticipantFromOption(this.option(), this.event(), this.podOptionTeamInfo()); 895 }), this.eventTitle = f(() => this.eventNameMapper.map(this.event(), !1, te.PopularBets)), this.selectionInfo = f(() => { 896 let e = this.option(); 897 return e ? this.podOptionService.getSelection(this.event(), e.name, this.eventTitle(), "Parlay", this.opponentParticipant()) : ""; 898 }), this.currentOptionMarketName = f(() => { 899 let e = this.option(); 900 return e ? { 901 optionName: e.name, 902 marketName: this.event().optionGroups[0].name 903 } : null; 904 }); 905 } 906 get isOddsSelectionHidden() { 907 return !this.showOptionPick(); 908 } 909 get isOverriden() { 910 return this.isPodStylingOverrideEnabled; 911 } 912 get showSelectionInfo() { 913 return this.showOpponent || this.showMarketName; 914 } 915 getPlayerDetails(e) { 916 let o = Sr(e); 917 return o ? { 918 participantId: o, 919 showHeadshotFallback: !1 920 } : { showHeadshotFallback: !1 }; 921 } 922 eventClick(e) { 923 let o = this.urlHelper.getEventUrl(this.event()); 924 this.redirectHelper.goToPage(o); 925 } 926 get trackingPosition() { 927 return this.tracking()?.contentPosition !== void 0 ? Number(this.tracking().contentPosition) : void 0; 928 } 929 }; 930 return t.ɵfac = function(n) { 931 return new (n || t)(); 932 }, t.ɵcmp = N({ 933 type: t, 934 selectors: [["ms-popular-bets-pod-event"]], 935 hostVars: 6, 936 hostBindings: function(n, e) { 937 n & 2 && (de(e.className), m("odds-selection-hidden", e.isOddsSelectionHidden)("popular-bets-pod-event-override", e.isOverriden)); 938 }, 939 inputs: { 940 event: [1, "event"], 941 showOptionPick: [1, "showOptionPick"], 942 showDivider: [1, "showDivider"], 943 tracking: [1, "tracking"], 944 isEpcotEnabled: [1, "isEpcotEnabled"], 945 podOptionTeamInfo: [1, "podOptionTeamInfo"], 946 podId: [1, "podId"] 947 }, 948 features: [nt([At])], 949 decls: 5, 950 vars: 2, 951 consts: [ 952 ["eventPick", ""], 953 [1, "popular-bets-pod-event-container"], 954 [ 955 "variant", 956 "on-surface-low", 957 1, 958 "popular-bets-pod-divider" 959 ], 960 [1, "radio-bullet"], 961 [ 962 "name", 963 "theme-radio-off", 964 "size", 965 "8" 966 ], 967 [ 968 1, 969 "popular-bets-pod-event-override", 970 3, 971 "click" 972 ], 973 [1, "popular-bets-pod-event-override-logo-wrapper"], 974 [1, "popular-bets-option-container-override"], 975 [ 976 1, 977 "option-name", 978 3, 979 "option-name__selection-info" 980 ], 981 [1, "event-and-timer"], 982 [4, "ngTemplateOutlet"], 983 [1, "popular-bets-pod-event-override-logo"], 984 [ 985 3,
986 "logoDetails", 987 "sportId", 988 "showLogoColor" 989 ], 990 [1, "popular-bets-connecting-line"], 991 [1, "option-name"], 992 [1, "market-name"], 993 [ 994 1, 995 "popular-bets-pod-event", 996 3, 997 "click" 998 ], 999 [1, "popular-bets-option-container"], 1000 [ 1001 3, 1002 "live", 1003 "start", 1004 "scoreboard", 1005 "dynamic" 1006 ], 1007 [1, "popular-bets-pod-event-detail"], 1008 [ 1009 3, 1010 "logoDetails", 1011 "sportId", 1012 "groupType", 1013 "leagueId", 1014 "participantId", 1015 "showHeadshotFallback", 1016 "marketGroupId" 1017 ], 1018 [1, "popular-bets-pod-event"], 1019 [ 1020 1, 1021 "popular-bets-pod-event-name", 1022 3, 1023 "popular-bets-pod-event-long-text" 1024 ], 1025 [1, "popular-bets-pod-event-name"], 1026 [ 1027 1, 1028 "popular-bets-option", 1029 3, 1030 "option", 1031 "offline", 1032 "event", 1033 "optionGroup", 1034 "betDetails", 1035 "trackingPosition", 1036 "tracking" 1037 ], 1038 [ 1039 1, 1040 "popular-bets-option", 1041 3, 1042 "option", 1043 "event", 1044 "optionGroup", 1045 "betDetails", 1046 "trackingPosition", 1047 "tracking" 1048 ], 1049 [1, "lock-icon"], 1050 [ 1051 1, 1052 "result-odds", 1053 "option-value" 1054 ], 1055 ["name", "theme-locked-i"], 1056 [ 1057 3, 1058 "defaultSize", 1059 "maxChars", 1060 "value" 1061 ] 1062 ], 1063 template: function(n, e) { 1064 n & 1 && (u(0, va, 3, 2)(1, Oa, 8, 8, "div", 1), u(2, Ma, 1, 0, "ds-divider", 2), C(3, xa, 4, 4, "ng-template", null, 0, W)), n & 2 && (c(e.isEpcotEnabled() ? 1 : 0), r(2), c(e.showDivider() ? 2 : -1)); 1065 }, 1066 dependencies: [ 1067 me, 1068 si, 1069 mr, 1070 Ne, 1071 Q, 1072 ne, 1073 ve, 1074 qn 1075 ], 1076 styles: [".popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override){display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;flex-wrap:wrap;width:100%;padding:6px 12px}.popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override) .popular-bets-pod-divider[_ngcontent-%COMP%]{flex-basis:100%;width:100%}.popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override).hide-option{padding:0 12px}.popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override).hide-option .radio-bullet[_ngcontent-%COMP%]{display:inline;position:relative;font-size:8px}.popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override).hide-option:not(:last-child) .radio-bullet[_ngcontent-%COMP%]:after{content:\"\";position:absolute;left:3.5px;height:30px;display:flex;width:1px;transform:rotate(180deg);background:var(--%NS%popular-bets-border-color)}.popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override).hide-option .popular-bets-option-container[_ngcontent-%COMP%]{max-width:var(--%NS%popular-bets-without-option-container-width);min-width:var(--%NS%popular-bets-without-option-container-width)}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%]:last-child .popular-bets-connecting-line[_ngcontent-%COMP%]:last-child{display:none}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%]:last-child .popular-bets-option-container-override[_ngcontent-%COMP%]:last-child{padding-bottom:12px}.popular-bets-pod-event.popular-bets-pod-event-override.hide-option[_nghost-%COMP%] .popular-bets-option-container-override[_ngcontent-%COMP%]{max-width:var(--%NS%popular-bets-without-option-container-width-override);min-width:var(--%NS%popular-bets-without-option-container-width-override)}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%]:not(.hide-option) .popular-bets-option-container-override[_ngcontent-%COMP%]{max-width:var(--%NS%popular-bets-option-container-width-override);min-width:var(--%NS%popular-bets-option-container-width-override)}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%;padding:0 12px;align-items:flex-start;justify-content:flex-start}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a.hide-option[_ngcontent-%COMP%]{padding:0 12px}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a.hide-option[_ngcontent-%COMP%] .radio-bullet[_ngcontent-%COMP%]{display:inline;position:relative;font-size:8px}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a.hide-option[_ngcontent-%COMP%]:not(:last-child) .radio-bullet[_ngcontent-%COMP%]:after{content:\"\";position:absolute;
1076left:3.5px;height:30px;display:flex;width:1px;transform:rotate(180deg);background:var(--%NS%popular-bets-border-color)}.popular-bets-pod-event.popular-bets-pod-event-override[_nghost-%COMP%] a[_ngcontent-%COMP%] .option-indicator{height:33px;width:50px}.popular-bets-connecting-line[_ngcontent-%COMP%]{width:2px;background:var(--%NS%popular-bets-pod-connector-line-redesign-color);min-height:6px;height:auto;flex-grow:1;margin-top:4px}.popular-bets-pod-event-override-logo-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-grow:0;flex-shrink:0}.popular-bets-pod-event-override-logo[_ngcontent-%COMP%]{display:grid;grid-gap:4px;justify-items:center;justify-content:flex-start;padding-top:4px}.lock-icon[_ngcontent-%COMP%]{color:var(--%NS%popular-bets-text-color)}.popular-bets-pod-event[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;padding:6px 0}.popular-bets-pod-event-override[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;align-items:stretch}.popular-bets-option-container[_ngcontent-%COMP%]{max-width:var(--%NS%popular-bets-option-container-width);min-width:var(--%NS%popular-bets-option-container-width);display:flex;flex-direction:column;gap:0;align-items:unset;justify-content:flex-start}.popular-bets-option-container[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%], .popular-bets-option-container[_ngcontent-%COMP%] .event-and-timer[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.popular-bets-option-container[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-medium-font-and-height);font-weight:var(--%NS%popular-bets-bold-font-weight);line-height:var(--%NS%popular-bets-large-font-and-height)}.popular-bets-option-container[_ngcontent-%COMP%] .event-and-timer[_ngcontent-%COMP%]{font-size:var(--%NS%popular-bets-small-font-and-height);color:var(--%NS%popular-bets-text-color);line-height:var(--%NS%popular-bets-medium-font-and-height)}.popular-bets-option-container-override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0;align-items:center;justify-content:flex-start;padding-bottom:8px;align-items:unset;display:inline;overflow:visible;text-overflow:unset;white-space:normal;word-break:break-word;font-size:var(--%NS%popular-bets-medium-font-and-height);line-height:var(--%NS%popular-bets-large-font-and-height)}.popular-bets-option-container-override[_ngcontent-%COMP%] .option-name[_ngcontent-%COMP%]{font-weight:var(--%NS%popular-bets-bold-font-weight)}.popular-bets-option-container-override[_ngcontent-%COMP%] .market-name[_ngcontent-%COMP%]{font-weight:var(--%NS%popular-bets-theme-font-normal)}.popular-bets-option-container-override[_ngcontent-%COMP%] .event-and-timer[_ngcontent-%COMP%]{overflow:visible;text-overflow:unset;white-space:normal;word-break:break-word;font-size:var(--%NS%popular-bets-small-font-and-height);color:var(--%NS%popular-bets-text-color);line-height:var(--%NS%popular-bets-medium-font-and-height)}ms-event-pick[_ngcontent-%COMP%] .option-indicator{display:flex;flex-direction:column;gap:0;align-items:center;justify-content:center;background:var(--%NS%popular-bets-cta-background);box-shadow:inset 0 0 0 1px var(--%NS%popular-bets-cta-border-color);font-family:var(--%NS%popular-bets-widget-font-family);border-radius:3px;color:var(--%NS%--popular-bets-cta-text-color);border:0}ms-event-pick[_ngcontent-%COMP%] .option-indicator.selected{color:var(--%NS%popular-bets-cta-selected-color);background:var(--%NS%popular-bets-cta-selected-background);box-shadow:inset 0 0 0 1px var(--%NS%popular-bets-cta-selected-border-color);font-weight:var(--%NS%popular-bets-bold-font-weight)}@media(hover:hover)and (pointer:fine){ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline){cursor:pointer}ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline).selected:hover{background:var(--%NS%popular-bets-cta-selected-hover)}ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline):hover{color:var(--%NS%--popular-bets-cta-text-color);background:var(--%NS%popular-bets-cta-hover)}}ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline).selected:active, ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline):active{background:var(--%NS%popular-bets-cta-active)}
1076ms-event-pick[_ngcontent-%COMP%] .option-indicator{height:40px;width:50px;border-radius:3px;overflow:hidden;position:relative}ms-event-pick[_ngcontent-%COMP%] .option-indicator.increased .option-value:after, ms-event-pick[_ngcontent-%COMP%] .option-indicator.decreased .option-value:after{border-top-width:.8em;border-left-width:.8em;right:var(--%NS%popular-bets-option-indicator-position)}ms-event-pick[_ngcontent-%COMP%] .option-indicator.increased .option-value:after{top:var(--%NS%popular-bets-option-indicator-position)}ms-event-pick[_ngcontent-%COMP%] .option-indicator.decreased .option-value:after{bottom:var(--%NS%popular-bets-option-indicator-position)}.epcot-enabled[_nghost-%COMP%], .epcot-enabled [_nghost-%COMP%]{--%NS%popular-bets-option-indicator-position: 1px}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%]:not(.popular-bets-pod-event-override):not(:last-child):not(.hide-option){border-bottom:unset}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%]{display:flex;flex-direction:row;gap:0;align-items:center;justify-content:flex-start;min-height:36px;padding:0}.epcot-enabled .popular-bets-pod-event.hide-option[_nghost-%COMP%]{padding:0}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] .popular-bets-pod-event-container[_ngcontent-%COMP%] .popular-bets-pod-event-detail[_ngcontent-%COMP%]{height:26px}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator{font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:var(--%NS%popular-bets-pod-odds-font-weight);line-height:var(--%NS%popular-bets-pod-odds-line-height);color:var(--%NS%popular-bets-pod-betslip-cta-total-odds);height:var(--%NS%popular-bets-pod-odds-height);width:50px;max-width:54px;border-radius:var(--%NS%popular-bets-pod-odds-border-radius);background:var(--%NS%popular-bets-pod-betslip-cta-inactive);box-shadow:var(--%NS%popular-bets-pod-odds-box-shadow);font-size:var(--%NS%popular-bets-pod-odds-font-size)}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator.selected{background:var(--%NS%popular-bets-cta-selected-background);border:var(--%NS%popular-bets-pod-border-color);color:var(--%NS%popular-bets-cta-selected-color)}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator.locked{background:var(--%NS%popular-bets-pod-betslip-cta-locked);color:var(--%NS%popular-bets-pod-betslip-cta-locked-total-odds);border:1px solid var(--%NS%popular-bets-pod-betslip-cta-locked-border)}@media(hover:hover)and (pointer:fine){.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline){cursor:pointer}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline).selected:hover{background:var(--%NS%popular-bets-cta-selected-hover-background)}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline):hover{background:var(--%NS%popular-bets-pod-betslip-cta-hover)}}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline).selected:active, .epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.offline):active{background:var(--%NS%popular-bets-odds-active-state-background);color:var(--%NS%popular-bets-cta-selected-color)}.epcot-enabled .popular-bets-pod-event[_nghost-%COMP%] ms-event-pick[_ngcontent-%COMP%] .option-indicator:not(.selected):not(.increased):not(.decreased){border:1px solid var(--%NS%popular-bets-pod-betslip-cta-border)}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child), .epcot-enabled .popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child){border-bottom:unset;position:relative}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child) .popular-bets-option__event-logo[_ngcontent-%COMP%]:after, .epcot-enabled .popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child) .popular-bets-option__event-logo[_ngcontent-%COMP%]:after{margin-top:6px;margin-bottom:6px;content:\"\";position:absolute;height:12px;width:1px;left:11.5px;top:100%;background:var(--%NS%popular-bets-pod-connector-line-color)}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child) .popular-bets-option__bullet-icon[_ngcontent-%COMP%]:after, .epcot-enabled .popular-bets-pod-event-connector[_nghost-%COMP%]:not(:last-child) .popular-bets-option__bullet-icon[_ngcontent-%COMP%]:after{margin-top:4px;margin-bottom:4px;content:\"\";position:absolute;height:30px;width:1px;left:var(--%NS%popular-bets-pod-connector-line-left);top:100%;background:var(--%NS%popular-bets-pod-connector-line-color)}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%], .epcot-enabled .popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%]{min-height:26px}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%]:not(:last-child) .popular-bets-option__bullet-icon[_ngcontent-%COMP%]:after, .epcot-enabled .popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%]:not(:last-child) .popular-bets-option__bullet-icon[_ngcontent-%COMP%]:after{height:18px;margin-top:4px;margin-bottom:4px}.popular-bets-pod-event[_nghost-%COMP%] .epcot-enabled.popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%]:not(:last-child) .popular-bets-option__event-logo[_ngcontent-%COMP%]:after, .epcot-enabled .popular-bets-pod-event-connector.odds-selection-hidden[_nghost-%COMP%]:not(:last-child) .popular-bets-option__event-logo[_ngcontent-%COMP%]:after{height:6px;margin-top:3px;margin-bottom:3px}.popular-bets-pod-event-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:0;align-items:center;justify-content:space-between;font-family:var(--%NS%popular-bets-widget-font-family);width:100%}.popular-bets-pod-event-container[_ngcontent-%COMP%] .popular-bets-pod-event-detail[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:var(--%NS%popular-bets-pod-options-gap);align-items:center;justify-content:flex-start}.popular-bets-pod-event-container[_ngcontent-%COMP%] .option-name[_ng
1076content-%COMP%]{color:var(--%NS%popular-bets-pod-parlay-option);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:156px;font-size:var(--%NS%popular-bets-option-name-font-size);font-weight:var(--%NS%popular-bets-option-name-font-weight)}.popular-bets-pod-event-container[_ngcontent-%COMP%] .popular-bets-pod-event[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0;align-items:flex-start;justify-content:flex-start;font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:500;line-height:13px;color:var(--%NS%theme-body);padding:var(--%NS%popular-bets-default-margin);line-height:var(--%NS%popular-bets-option-name-line-height)}.popular-bets-pod-event-container[_ngcontent-%COMP%] .popular-bets-pod-event[_ngcontent-%COMP%] .popular-bets-pod-event-name[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:156px;color:var(--%NS%popular-bets-pod-parlay-option-event);font-size:var(--%NS%popular-bets-event-name-font-size);font-weight:var(--%NS%popular-bets-event-name-font-weight)}.popular-bets-pod-event-container[_ngcontent-%COMP%] .popular-bets-pod-event[_ngcontent-%COMP%] .popular-bets-pod-event-long-text[_ngcontent-%COMP%]{max-width:216px}.popular-bets-option-container[_ngcontent-%COMP%] .option-name__selection-info[_ngcontent-%COMP%], .popular-bets-pod-event-container[_ngcontent-%COMP%] .option-name__selection-info[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}"] 1077 }), t; 1078 })(), He = (() => { 1079 let t = class $e { 1080 transform(e) { 1081 return Math.abs(e) <= $e.THRESHOLD ? e : `${Number((e / 1e3).toFixed(1))}K`; 1082 } 1083 }; 1084 return t.THRESHOLD = 999, t.ɵfac = function(n) { 1085 return new (n || t)(); 1086 }, t.ɵpipe = Ze({ 1087 name: "msNumToThousands", 1088 type: t, 1089 pure: !0 1090 }), t; 1091 })(), Fe = (() => { 1092 let t = class { 1093 constructor() { 1094 this.sitecorePopularBetsConfig = g(U), this.isPodStylingOverrideEnabled = _.required(), this.isEpcotEnabled = _.required(), this.pod = _.required(), this.podHeaderTitle = f(() => this.getPodHeaderTitle()), this.earliestEventDate = f(() => { 1095 let e = this.pod().events; 1096 if (e?.length) return e.reduce((o, i) => i.startDate < o.startDate ? i : o).startDate; 1097 }); 1098 } 1099 getPodHeaderTitle() { 1100 let e = this.pod().title; 1101 return e && e?.trim() !== "" ? e.trim() : this.getCommonCompetitionName() || this.pod().sport?.name; 1102 } 1103 getCommonCompetitionName() { 1104 let e = this.pod().events; 1105 if (e?.length) { 1106 let o = e[0].league.id; 1107 if (e.every((i) => i.league.id === o)) return e[0].league.name; 1108 } 1109 } 1110 }; 1111 return t.ɵfac = function(n) { 1112 return new (n || t)(); 1113 }, t.ɵcmp = N({ 1114 type: t, 1115 selectors: [["ms-popular-bets-pod-header"]], 1116 inputs: { 1117 isPodStylingOverrideEnabled: [1, "isPodStylingOverrideEnabled"], 1118 isEpcotEnabled: [1, "isEpcotEnabled"], 1119 pod: [1, "pod"] 1120 }, 1121 decls: 6, 1122 vars: 2, 1123 consts: [ 1124 ["titleRef", ""], 1125 [1, "popular-bets-pod__header"], 1126 [ 1127 1, 1128 "popular-bets-pod__header__date", 1129 3, 1130 "live", 1131 "start", 1132 "color" 1133 ], 1134 [ 1135 1, 1136 "popular-bets-pod__header__title--with-badge", 1137 3, 1138 "color" 1139 ], 1140 [ 1141 1, 1142 "popular-bets-pod__header__date", 1143 3, 1144 "live", 1145 "start" 1146 ], 1147 [1, "popular-bets-pod__header__title--with-badge"], 1148 [ 1149 3, 1150 "headerBadgeIconClass", 1151 "headerBadgeImage", 1152 "podType", 1153 "showBadge" 1154 ], 1155 [4, "ngTemplateOutlet"], 1156 [1, "popular-bets-header-override"], 1157 [1, "event-date-details"], 1158 [ 1159 1, 1160 "bet-counter-details", 1161 3, 1162 "popular-bets-pod-header-start" 1163 ], 1164 [ 1165 1, 1166 "sports-details", 1167 "pod-styling-override" 1168 ], 1169 [ 1170 1, 1171 "event-date-text", 1172 3, 1173 "live", 1174 "start" 1175 ], 1176 [1, "bet-counter-details"], 1177 [ 1178 "variant", 1179 "neutral-subtle", 1180 "size", 1181 "xsmall" 1182 ], 1183 [ 1184 "slot", 1185 "start", 1186 "name", 1187 "theme-trending", 1188 1, 1189 "ds-icon-filled-default" 1190 ], 1191 [ 1192 "size", 1193 "12", 1194 3, 1195 "name" 1196 ], 1197 [1, "pod-title-name"], 1198 [ 1199 1, 1200 "sports-and-counter-details", 1201 3, 1202 "popular-bets-pod-header-height" 1203 ], 1204 [1, "sports-and-counter-details"], 1205 [1, "sports-details"], 1206 [1, "bet-counter"], 1207 [1, "bet-counter-text"], 1208 [1, "popular-bets-pod__header__title"] 1209 ], 1210 template: function(n, e) { 1211 n & 1 && (Y(0), u(1, Da, 4, 2, "div", 1)(2, za, 1, 1)(3, qa, 1, 1), C(4, Ja, 2, 3, "ng-template", null, 0, W)), n & 2 && (A(e.pod()), r(), c(e.isEpcotEnabled() ? 1 : e.isPodStylingOverrideEnabled() ? 2 : 3)); 1212 }, 1213 dependencies: [ 1214 ne, 1215 Q, 1216 vn, 1217 Se, 1218 me, 1219 He 1220 ], 1221 styles: ["[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details{display:flex;justify-content:space-between;align-items:flex-start;margin:0 12px;line-height:13px}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details .sports-details[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details .sports-details[_ngcontent-%COMP%] .pod-title-name[_ng
1221content-%COMP%]{color:var(--%NS%popular-bets-text-color);font-size:11px;font-family:var(--%NS%popular-bets-widget-font-family)}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details .bet-counter-details[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;font-size:11px;font-family:var(--%NS%popular-bets-widget-font-family)}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details .bet-counter-details[_ngcontent-%COMP%] .bet-counter[_ngcontent-%COMP%]{display:flex;padding:0 3.28px;color:var(--%NS%theme-body-bg);font-weight:var(--%NS%popular-bets-bold-font-weight);border-radius:1.64px;background:var(--%NS%theme-info)}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details .bet-counter-details[_ngcontent-%COMP%] .bet-counter-text[_ngcontent-%COMP%]{color:var(--%NS%popular-bets-bet-counter-text-color)}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details.align-right{justify-content:flex-end}[_ngcontent-%COMP%]:not(.popular-bets-header-override).sports-and-counter-details.popular-bets-pod-header-height{min-height:28px;align-items:flex-start}.popular-bets-header-override[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;padding-left:12px;padding-right:12px;line-height:var(--%NS%popular-bets-large-font-and-height);font-size:var(--%NS%popular-bets-small-header-font);font-weight:var(--%NS%popular-bets-semi-bold-font-weight);color:var(--%NS%semantic-color-on-surface-base)}.popular-bets-header-override[_ngcontent-%COMP%] .bet-counter-details[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start}.popular-bets-header-override[_ngcontent-%COMP%] .bet-counter-details.popular-bets-pod-header-start[_ngcontent-%COMP%]{justify-content:flex-start}.popular-bets-header-override[_ngcontent-%COMP%] .bet-counter-details[_ngcontent-%COMP%]:not(popular-bets-pod-header-start){justify-content:flex-end}.popular-bets-header-override[_ngcontent-%COMP%] .event-date-details[_ngcontent-%COMP%]{color:var(--%NS%semantic-color-on-surface-subtle);align-items:normal;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-wrap;font-family:var(--%NS%semantic-typography-label-font-family);font-weight:var(--%NS%semantic-typography-label-sm-strong-font-weight);font-size:var(--%NS%semantic-typography-label-sm-strong-font-size);line-height:var(--%NS%semantic-typography-label-sm-strong-line-height)}.popular-bets-header-override.align-right[_ngcontent-%COMP%]{justify-content:flex-end}.popular-bets-header-override.popular-bets-pod-header-height[_ngcontent-%COMP%]{align-items:flex-start}.sports-details.pod-styling-override[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding:var(--%NS%semantic-spacing-container-padding-lg) var(--%NS%semantic-spacing-container-padding-xl) 0 var(--%NS%semantic-spacing-container-padding-xl)}.sports-details.pod-styling-override[_ngcontent-%COMP%] .pod-title-name[_ng
1221content-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:var(--%NS%semantic-color-on-surface-base);white-space:pre-wrap;font-size:var(--%NS%semantic-typography-body-md-strong-font-size);font-weight:var(--%NS%semantic-typography-body-md-strong-font-weight);font-family:var(--%NS%semantic-typography-body-font-family);line-height:var(--%NS%semantic-typography-body-md-strong-line-height);word-break:break-word}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%]{display:flex;flex-direction:var(--%NS%popular-bets-pod-header-flex-direction);gap:var(--%NS%popular-bets-header-gap);align-items:var(--%NS%popular-bets-align-items);justify-content:space-between;font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:500;line-height:13px;color:var(--%NS%theme-body);min-height:32px;padding-bottom:var(--%NS%popular-bets-pod-header-padding-botttom)}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__title--with-badge[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__title--with-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--%NS%popular-bets-badge-gap);overflow:hidden;flex:1}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__title[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__title[_ngcontent-%COMP%]{color:var(--%NS%popular-bets-pod-header-title-color);font-weight:var(--%NS%popular-bets-pod-header-title-font-weight);line-height:var(--%NS%popular-bets-pod-header-title-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__date[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod__header[_ngcontent-%COMP%] .popular-bets-pod__header__date[_ngcontent-%COMP%]{font-family:var(--%NS%theme-font-family-base);font-size:11px;font-weight:var(--%NS%popular-bets-parlay-pod-date-font-weight);line-height:var(--%NS%popular-bets-pod-header-date-line-height);color:var(--%NS%popular-bets-pod-header-date-text-color);white-space:var(--%NS%popular-bets-pod-header-date-white-space)}"] 1222 }), t; 1223 })(), Ae = (() => { 1224 let t = class { 1225 constructor() { 1226 this.popularBetsExpandCollapseService = g(V), this.participantService = g(ye), this.popularBetsPodOptionService = g(ie), this.className = "popular-bets-pod", this.isPodStylingOverrideEnabled = this.popularBetsPodOptionService.isPodStylingOverrideEnabled(), this.minPodHeightConfig = { 1227 rows: 5, 1228 isEpcotEnabled: !1, 1229 podType: "Parlay", 1230 isAllPodAreSameType: !1, 1231 showOptionPick: !1 1232 }; 1233 } 1234 ngOnChanges({ pod: e, visiblePodLegs: o }) { 1235 o?.currentValue !== o?.previousValue && (this.pod.visibleOptionsLimit = o.currentValue), e && e.currentValue !== e.previousValue && this.updateFixtureParticipants(), this.minPodHeightConfig = { 1236 rows: this.pod.visibleOptionsLimit, 1237 isEpcotEnabled: this.isEpcotEnabled, 1238 showOptionPick: this.pod.isOptionPickEnabled, 1239 podType: this.pod.podType, 1240 isAllPodAreSameType: this.pod.isAllPodAreSameType 1241 }, this.minHeight = this.isPodStylingOverrideEnabled ? 0 : xe(this.minPodHeightConfig); 1242 } 1243 onShowMoreLessButtonToggle(e) { 1244 this.pod.expand = e, this.pod.visibleOptionsLimit = e ? this.pod.eventsCount : this.pod.defaultNoOfLegs, this.popularBetsExpandCollapseService.setExpandCollapse(e, this.pod.visibleOptionsLimit); 1245 } 1246 trackByEvent(e, o) { 1247 return `${o.id}-${o.optionGroups[0]?.options[0]?.id ?? e}`; 1248 } 1249 getEventTracking(e) { 1250 return this.pod.tracking.Parlay.single[e]; 1251 } 1252 updateFixtureParticipants() { 1253 this.pod.events.forEach((e) => { 1254 e.participants = this.participantService.mapEventWithFilteredParticipants(e); 1255 }); 1256 } 1257 get computedHeight() { 1258 return this.minHeight !== 0 ? `${this.minHeight}px` : "100%"; 1259 } 1260 }; 1261 return t.ɵfac = function(n) { 1262 return new (n || t)(); 1263 }, t.ɵcmp = N({ 1264 type: t, 1265 selectors: [["ms-popular-bets-pod"]], 1266 hostVars: 2, 1267 hostBindings: function(n, e) { 1268 n & 2 && de(e.className); 1269 }, 1270 inputs: { 1271 isEpcotEnabled: "isEpcotEnabled", 1272 pod: "pod", 1273 visiblePodLegs: "visiblePodLegs" 1274 }, 1275 features: [Xe], 1276 decls: 9, 1277 vars: 24, 1278 consts: [ 1279 [1, "pod-event-container"], 1280 [ 1281 3, 1282 "isEpcotEnabled", 1283 "isPodStylingOverrideEnabled", 1284 "pod" 1285 ], 1286 [1, "popular-bets-pod-events"], 1287 [ 1288 4, 1289 "rxFor", 1290 "rxForOf", 1291 "rxForTrackBy" 1292 ], 1293 [ 1294 1, 1295 "popular-bets-pod-show-more", 1296 3, 1297 "totalCount", 1298 "defaultCount", 1299 "isEpcotEnabled", 1300 "isPodStylingOverrideEnabled" 1301 ], 1302 [ 1303 1, 1304 "popular-bets-add-to-betslip", 1305 3, 1306 "podType", 1307 "enableSinglePickSelection", 1308 "podEvents", 1309 "tracking", 1310 "isEpcotEnabled" 1311 ], 1312 [3, "summary"], 1313 [ 1314 "variant", 1315 "on-surface-low", 1316 1, 1317 "popular-bets-pod-header-divider" 1318 ], 1319 [ 1320 1, 1321 "popular-bets-pod-event", 1322 3, 1323 "event", 1324 "showOptionPick", 1325 "showDivider", 1326 "tracking", 1327 "isEpcotEnabled", 1328 "podOptionTeamInfo", 1329 "podId" 1330 ], 1331 [ 1332 1, 1333 "popular-bets-pod-show-more", 1334 3, 1335 "expandChange", 1336 "totalCount", 1337 "defaultCount", 1338 "isEpcotEnabled", 1339 "isPodStylingOverrideEnabled" 1340 ] 1341 ], 1342 template: function(n, e) { 1343 n & 1 && (s(0, "div", 0), h(1, "ms-popular-bets-pod-header", 1), u(2, Za, 2, 8), s(3, "div", 2), C(4, Xa, 2, 11, "ng-container", 3), F(5, "slice"), p()(), s(6, "div"), u(7, Ya, 1, 4, "ms-popular-bets-pod-show-more", 4), h(8, "ms-popular-bets-pod-add-to-betslip", 5), p()), n & 2 && (m("popular-bets-pod-override", e.isPodStylingOverrideEnabled), r(), d("isEpcotEnabled", e.isEpcotEnabled)("isPodStylingOverrideEnabled", e.isPodStylingOverrideEnabled)("pod", e.pod), r(), c(e.pod.summary ? 2 : -1), r(), w("height", e.computedHeight), m("odds-selection-hidden", !e.pod.showOptionPick), r(), d("rxForOf", ue(5, 20, e.pod.events, 0, e.pod.visibleOptionsLimit))("rxForTrackBy", e.trackByEvent), r(3), c(e.pod.showMoreLessButtonVisible ? 7 : -1), r(), m("show-more-less-visible", e.pod.showMoreLessButtonVisible), d("podType", e.pod.podType)("enableSinglePickSelection", e.pod.showOptionPick)("podEvents", e.pod.events)("tracking", e.pod.tracking)("isEpcotEnabled", e.isEpcotEnabled)); 1344 }, 1345 dependencies: [ 1346 ee, 1347 Le, 1348 Ee, 1349 we, 1350 Fe, 1351 ke, 1352 ve, 1353 be 1354 ], 1355 styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0;
1355align-items:unset;justify-content:flex-start;justify-content:space-between;padding-top:8px;background:var(--%NS%popular-parlay-module-background);width:284px;height:100%}[_nghost-%COMP%] .pod-event-container[_ngcontent-%COMP%], [_nghost-%COMP%] .popular-bets-add-to-betslip[_ngcontent-%COMP%]{width:284px}[_nghost-%COMP%] .pod-with-option[_ngcontent-%COMP%]:not(.pod-summary-override){min-height:55px}[_nghost-%COMP%] .pod-summary-padding[_ngcontent-%COMP%]{padding-top:0}[_nghost-%COMP%] .popular-bets-pod-override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:unset;justify-content:flex-start;justify-content:space-between;width:284px;height:100%}[_nghost-%COMP%] .popular-bets-pod-override[_ngcontent-%COMP%] .pod-event-container[_ngcontent-%COMP%], [_nghost-%COMP%] .popular-bets-pod-override[_ngcontent-%COMP%] .popular-bets-add-to-betslip[_ngcontent-%COMP%]{width:284px}[_nghost-%COMP%] .popular-bets-pod-header-divider[_ngcontent-%COMP%], [_nghost-%COMP%] .popular-bets-pod-divider[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .pod-summary-override[_ngcontent-%COMP%]{color:var(--%NS%semantic-color-on-surface-subtle)}.popular-bets-pod-events[_ngcontent-%COMP%]{overflow:hidden;transition:height .25s ease-in-out}.epcot-enabled[_nghost-%COMP%], .epcot-enabled [_nghost-%COMP%]{position:relative;padding:12px;background:var(--%NS%popular-parlay-module-background);width:var(--%NS%popular-bets-pod-width);height:100%;border-radius:var(--%NS%popular-bets-pod-border-radius)}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod-events[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod-events[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:flex-start}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod-events.odds-selection-hidden[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod-events.odds-selection-hidden[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:flex-start}.epcot-enabled[_nghost-%COMP%] .pod-event-container[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .pod-event-container[_ngcontent-%COMP%], .epcot-enabled[_nghost-%COMP%] .popular-bets-add-to-betslip[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-add-to-betslip[_ngcontent-%COMP%]{width:100%}.epcot-enabled[_nghost-%COMP%] .show-more-less-visible[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .show-more-less-visible[_ngcontent-%COMP%]{padding:0}.epcot-enabled[_nghost-%COMP%] .pod-with-option[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .pod-with-option[_ngcontent-%COMP%]{min-height:38px}"] 1356 }), t; 1357 })(), je = ["badgeContainer"], ze = (() => { 1358 let t = class extends Xi { 1359 constructor() { 1360 super(...arguments), this.popularBetsConfig = g(_e), this.eventSubscriptionService = g(Ri), this.changeDetectorRef = g(We), this.apiService = g(Ir), this.cdnCachingConfig = g(Xt), this.eventFactory = g(ji), this.fixtureFactory = g(Un), this.epcotService = g(Yt), this.popularBetsExpandCollapseService = g(V), this.popularBetsBetBuilderDataService = g(Gr), this.trackingService = g(Be), this.platform = g(Ct), this.themedTitleIconFilled = { "ladbrokes-uk": !0 }, this.isTitleIconFilled = this.themedTitleIconFilled[xi()] ?? !1, this.ssrData = Pt(() => `sports-popular-multi-bets-data-${this.config?.id}`, null), this.scrollComponent = ce(oe), this.container = ce("badgeContainer", { read: he }), this.isEpcotEnabled = this.epcotService.isEnabled, this.minPodHeightConfig = { 1361 rows: 5, 1362 isEpcotEnabled: this.isEpcotEnabled, 1363 showOptionPick: !1, 1364 podType: "Parlay", 1365 isAllPodAreSameType: !1, 1366 isAnyPodHasSummary: !1, 1367 isPodHeaderVisible: !0 1368 }, this.viewModel$ = new dt({ 1369 title: "", 1370 titleIconClass: "", 1371 payload: [], 1372 minHeight: ae(this.minPodHeightConfig), 1373 minWidth: re(3), 1374 showHeader: !1 1375 }), this.shouldIncludePayload = this.cdnCachingConfig.widgets.includes("PopularMultiBets"), this.config$ = this.popularBetsConfig.whenReady.pipe(z(() => this.popularBetsConfig), Qe({ 1376 bufferSize: 1, 1377 refCount: !0 1378 })), this.contentScope = "content", this.defaultNoOfLegs = 0, this.isOptionPickEnabled = !1, this.badgePosition = "OnM
1378odule", this.podType = "Parlay", this.isAllPodAreSameType = !1, this.isAnyPodHasSummary = !1, this.isPodExpanded = !1, this.itemsRendered = new Ue(), this.themedCardBorder = { 1379 "betboo-br": { hasBorder: !0 }, 1380 "sportingbet-br": { hasBorder: !0 }, 1381 "gamebookers-2": { hasBorder: !0 } 1382 }, this.themedSurface = { 1383 "betboo-br": "low", 1384 "sportingbet-br": "low", 1385 "mgm-dice": "low", 1386 borgata: "low", 1387 "sports-interaction": "highest", 1388 "sports-interaction-2": "highest" 1389 }, this.themeCardBorderRadius = { 1390 "betboo-br": { hasRadius: !0 }, 1391 "sportingbet-br": { hasRadius: !0 }, 1392 "ladbrokes-uk": { hasRadius: !0 } 1393 }, this.themedCardBorderatPod = { 1394 "mgm-dice": { hasBorder: !1 }, 1395 borgata: { hasBorder: !1 } 1396 }, this.isMobile = J(g(ur).isMobile()), this.themedInverse = { 1397 "mgm-dice": { isInverse: this.isMobile() }, 1398 borgata: { isInverse: this.isMobile() } 1399 }, this.isBorderRadius = J(this.isEpcotEnabled && !this.isMobile()); 1400 } 1401 ngOnInit() { 1402 this.expandCollapsePod(), this.itemsRendered.pipe(G(this.destroyRef)).subscribe(() => { 1403 this.scrollComponent()?.setArrows(), this.scrollSpeed = new Ii({ default: "slow" }); 1404 }); 1405 } 1406 onData(e, o) { 1407 let i = this.ssrData(); 1408 this.platform.isBrowser && !o && i ? this.renderData(i) : e?.pods?.length ? this.renderData(e) : this.getData().pipe(G(this.destroyRef)).subscribe((l) => this.renderData(l)); 1409 } 1410 renderData(e) { 1411 if (e?.pods?.length && this.platform.runOnServer(() => this.ssrData.set(e)), this.isOptionPickEnabled = e.pods.some((o) => o.enableSinglePickSelection), this.isAnyPodHasSummary = e.pods.some((o) => o.summary), this.badgePosition = e.betBuilderBadgePosition, this.viewModel$.next(B(x({}, this.viewModel$.value), { 1412 titleIconClass: e.titleIconClass ?? "", 1413 showHeader: !!e.title || !!e.titleIconClass, 1414 minWidth: re(e.pods.length) 1415 })), e?.pods?.some((o) => o.fixtures.length || o.preCreatedOffer?.length)) { 1416 this.hasData = !0; 1417 let o = e.pods[0].podType; 1418 this.isAllPodAreSameType = e.pods.every((i) => i.podType === o), this.podType = this.isAllPodAreSameType ? o : "Parlay", this.podType === "SGP" && e.betBuilderBadgePosition === "OnModule" && this.loadBetBuilderBadgeComponent(), this.prepareViewModel(e).pipe(G(this.destroyRef)).subscribe((i) => { 1419 if (!i.length) { 1420 this.hasData = !1, this.setWidgetLoaded(), this.handleEmptyData(); 1421 return; 1422 } 1423 this.defaultNoOfLegs = Math.max(...i.map((l) => l.defaultNoOfLegs)), this.subscribe(i), this.minPodHeightConfig = B(x({}, this.minPodHeightConfig), { 1424 rows: this.defaultNoOfLegs, 1425 showOptionPick: this.isOptionPickEnabled, 1426 podType: this.podType, 1427 isAllPodAreSameType: this.isAllPodAreSameType, 1428 isAnyPodHasSummary: this.isAnyPodHasSummary, 1429 isPodHeaderVisible: i[0].showPodHeader 1430 }), this.viewModel$.next(B(x({}, this.viewModel$.value), { 1431 payload: i, 1432 title: this.getPodTitle(i[0], e.title), 1433 minHeight: ae(this.minPodHeightConfig), 1434 isPopBetsStylingEnabled: this.popularBetsConfig.popularBetsStylingOverride, 1435 betBuilderPodStylingOverride: this.popularBetsConfig.betBuilderPodStylingOverride, 1436 showTwoJerseyLogo: this.popularBetsConfig.isTeamLogoEnabled 1437 })), this.setWidgetLoaded(), this.collapsePods(); 1438 }); 1439 } else this.hasData = !1, this.setWidgetLoaded(), this.handleEmptyData(); 1440 } 1441 getDataContext() { 1442 let e = super.getDataContext(); 1443 return this.shouldIncludePayload ? B(x({}, e), { shouldIncludePayload: this.shouldIncludePayload }) : e; 1444 } 1445 trackByPod(e, o) { 1446 return o.podId; 1447 } 1448 getData() { 1449 return this.apiService.getWidget(this.getDataContext(), this.getRequestContext(), !1, !1).pipe(ot(({ payload: e }) => e !== void 0), z(({ payload: e }) => e)); 1450 } 1451 prepareViewModel(e) { 1452 let o = Math.max(...e.pods.map((i) => i.fixtures.length)); 1453 return X([st(e.pods.map((i) => { 1454 if (i.preCreatedOffer) { 1455 if (i.podType === "SGP") return this.getPodEventsForSGP(i); 1456 if (i.podType === "SGPPlus") return i.fixtures.length > 0 ? X([this.getPodEventsForSGP(i), this.getPodEventsForParlay(i)]).pipe(z(([l, P]) => l.concat(P))) : this.getPodEventsForSGP(i); 1457 } 1458 return this.getPodEventsForParlay(i); 1459 })), this.config$]).pipe(z(([i, l]) => i.flatMap((P, S) => P.every((M) => this.hasOffer(M)) ? [this.preparePodViewModelPayload(P, S, e.pods[S], l, o, e.visibleOptionsLimit)] : []))); 1460 } 1461 getPodEventsForSGP(e) { 1462 return et(e.preCreatedOffer.map((o) =>
1462 this.fixtureFactory.create(o.sourceFixture, o.sourceId))); 1463 } 1464 getPodEventsForParlay(e) { 1465 return this.eventFactory.create(e.fixtures); 1466 } 1467 preparePodViewModelPayload(e, o, i, l, P, S) { 1468 let M = this.mapPreCreatedMarket(i), I = this.getPreCreatedMultiProviderDetails(i, e), se = this.getSgpPlusParlayOptions(i, e); 1469 se.length > 0 && (I = I.concat(se)); 1470 let j = i.podType === "SGP" || i.podType === "SGPPlus" ? I.length : e.length, $ = Math.min(Math.max(j, P), S), R = this.trackingService.getTrackingDetails({ 1471 podType: i.podType, 1472 events: e, 1473 length: j, 1474 enableSinglePickSelection: i.enableSinglePickSelection, 1475 position: o, 1476 scope: this.contentScope 1477 }); 1478 if (i.podType === "SGP" && i.preCreatedOffer?.length) for (let q of i.preCreatedOffer) { 1479 let pe = q.precreatedGroupedInfo?.[0]?.groupId; 1480 pe && R.SGP[q.sourceId] && (R.SGP[q.sourceId].promotionId = pe); 1481 } 1482 return { 1483 title: i.title, 1484 events: e, 1485 counter: i.counter > l.minCountForShowingCounter ? i.counter : 0, 1486 sport: (i.sportIds || i.competitionIds) && this.isHomeOrMultiSportsLobby() ? e[0].sport : void 0, 1487 expand: !1, 1488 visibleOptionsLimit: $, 1489 showMoreLessButtonVisible: j > $, 1490 showOptionPick: i.enableSinglePickSelection, 1491 eventsCount: j, 1492 podId: i.podId, 1493 tracking: R, 1494 eventStartDate: this.getEarliestEventStartDate(e), 1495 defaultNoOfLegs: $, 1496 isOptionPickEnabled: this.isOptionPickEnabled, 1497 podType: i.podType, 1498 isAllPodAreSameType: this.isAllPodAreSameType, 1499 preCreatedMarket: M, 1500 preCreatedOptions: I, 1501 preCreatedOffer: i.preCreatedOffer, 1502 summary: i.summary, 1503 betBuilderBadgePosition: this.badgePosition, 1504 backgroundStyle: i.backgroundStyle, 1505 enableLogoHeader: i.enableLogoHeader, 1506 backgroundImage: i.backgroundImage, 1507 podTheme: i.podTheme, 1508 titleColor: i.titleColor, 1509 podOptionTeamInfo: i.popularBetsOptionTeamInfo, 1510 showPodHeader: i.showPodHeader ?? !0, 1511 headerBadgeIconClass: i.headerBadgeIconClass, 1512 headerBadgeImage: i.headerBadgeImage 1513 }; 1514 } 1515 subscribe(e) { 1516 this.unsubscribe(); 1517 let o = e.flatMap((i) => i.events.map((l) => ({ 1518 event: l, 1519 callback: this.getCallback(l.id) 1520 }))); 1521 o.length && (this.eventSubscription = this.eventSubscriptionService.subscribe(o)); 1522 } 1523 hasOffer(e) { 1524 return (e.optionGroups?.length ?? 0) > 0; 1525 } 1526 getCallback(e) { 1527 return (o) => { 1528 if (!o) return; 1529 let i = this.viewModel$.value.payload, l = i.findIndex((M) => M.events.some(({ id: I }) => I === e)); 1530 if (l === -1) return; 1531 let P = i[l], S = P.events.findIndex(({ id: M }) => M === e); 1532 S !== -1 && (P.events[S] = o, P.events.every((M) => this.hasOffer(M)) ? (i[l] = Mt(P), this.viewModel$.next(x({}, this.viewModel$.value))) : (i.splice(l, 1), i.length || (this.hasData = !1, this.hidden = !0), this.viewModel$.next(B(x({}, this.viewModel$.value), { minWidth: re(i.length) }))), this.changeDetectorRef.detectChanges()); 1533 }; 1534 } 1535 isHomeOrMultiSportsLobby() { 1536 let e = this.getRequestContext().page; 1537 return e === "HomeLobby" || e === "MultiSportsLobby"; 1538 } 1539 getEarliestEventStartDate(e) { 1540 return yt(e, (o) => o.startDate)?.startDate; 1541 } 1542 unsubscribe() { 1543 this.eventSubscription?.unsubscribe(); 1544 } 1545 getPodTitle(e, o) { 1546 return dn(o, { sport: this.isHomeOrMultiSportsLobby() ? "" : e.events[0].sport.name }); 1547 } 1548 expandCollapsePod() { 1549 this.popularBetsExpandCollapseService.getExpandCollapse().pipe(G(this.destroyRef)).subscribe((e) => { 1550 e && (this.visiblePodLegs = e.noOfLegs, this.isPodExpanded = e.isExpanded, this.minPodHeightConfig = B(x({}, this.minPodHeightConfig), { rows: this.visiblePodLegs }), this.viewModel$.next(B(x({}, this.viewModel$.value), { minHeight: ae(this.minPodHeightConfig) })), this.changeDetectorRef.detectChanges()); 1551 }); 1552 } 1553 collapsePods() { 1554 this.isPodExpanded && this.popularBetsExpandCollapseService.setExpandCollapse(!1, this.defaultNoOfLegs); 1555 } 1556 loadBetBuilderBadgeComponent() { 1557 return le(this, null, function* () { 1558 let { BetBuilderBadgeComponent: e } = yield import("./chunk-nzofcqqs.js"), o = this.container(); 1559 o && (o.clear(), o.createComponent(e).changeDetectorRef.detectChanges()); 1560 }); 1561 } 1562 onPodScroll() { 1563 this.collapsePods(); 1564 } 1565 onPodSwipe() { 1566 this.isMobile() && pt.schedule(() => this.collapsePods(), 500); 1567 } 1568 shouldShowBetBuilderPod(e) { 1569 return e.podType === "SGP" && e.eventsCount > 0; 1570 } 1571 shouldShowBetBuilderPlusPod(e) { 1572 return e.podType === "SGPPlus" && e.eventsCount > 0; 1573 } 1574 onPodNavigated(e, o) { 1575 this.trackingService.trackSelectItem({ 1576 pod: e, 1577 index: o, 1578 scope: this.contentScope 1579 }); 1580 } 1581 onPodVisible(e, o) { 1582 this.trackingService.trackViewItemList({ 1583 pod: e, 1584 index: o, 1585 scope: this.contentScope 1586 }); 1587 } 1588 mapPreCreatedMarket(e) { 1589 if ((e.podType === "SGP" || e.podType === "SGPPlus") && e.preCreatedOffer?.length) return e.preCreatedOffer.reduce((o, i) => { 1590 if (i.precreatedMarketsInfo.length) { 1591 let l = this.popularBetsBetBuilderDataService.getMappedPreCreatedMarket(i); 1592 l && (o[i.sourceId] = l); 1593 } 1594 return o; 1595 }, {}); 1596 } 1597 getPreCreatedMultiProviderDetails(e, o) { 1598 return (e.podType === "SGP" || e.podType === "SGPPlus") && e.preCreatedOffer?.length ? e.preCreatedOffer.flatMap((i) => i.precreatedGroupedInfo.length ? this.popularBetsBetBuilderDataService.getPreCreatedOptions(i, o, e.podType, e.popularBetsOptionTeamInfo) : i.precreatedMarketsInfo.length ? this.popularBetsBetBuilderDataService.getPreCreatedMarkets(i, o, e.podType) : []) : []; 1599 } 1600 getSgpPlusParlayOptions(e, o) { 1601 if (e.podType === "SGPPlus") { 1602 let i = o.filter((l) => !e.preCreatedOffer.some((P) => P.sourceId === l.id)); 1603 return i.length === 0 ? [] : this.popularBetsBetBuilderDataService.getParlayOptions(i, e.popularBetsOptionTeamInfo); 1604 } 1605 return []; 1606 } 1607 ngOnDestroy() { 1608 this.unsubscribe(); 1609 } 1610 }; 1611 return t.ɵfac = (() => { 1612 let n; 1613 return function(e) { 1614 return (n || (n = Je(t)))(e || t); 1615 }; 1616 })(), t.ɵcmp = N({ 1617 type: t, 1618 selectors: [["ms-popular-multi-bets-widget"]], 1619 viewQuery: function(n, e) {
1620 n & 1 && ct(e.scrollComponent, oe, 5)(e.container, je, 5, he), n & 2 && rt(2); 1621 }, 1622 hostAttrs: [ 1623 1, 1624 "popular-multi-bets", 1625 "popular-bets-var-scope" 1626 ], 1627 features: [Ke([Be, V]), qe], 1628 decls: 2, 1629 vars: 3, 1630 consts: [ 1631 ["badgeContainer", ""], 1632 [ 1633 "msThemedCard", 1634 "", 1635 "noOverflow", 1636 "true", 1637 1, 1638 "popular-multi-bet-widget-container", 1639 3, 1640 "radius", 1641 "border", 1642 "elevated", 1643 "themeBorder", 1644 "themeBorderRadius" 1645 ], 1646 [ 1647 "msThemedCardHeader", 1648 "", 1649 "surface", 1650 "lowest", 1651 3, 1652 "themedSurface", 1653 "title" 1654 ], 1655 [ 1656 "size", 1657 "medium", 1658 3, 1659 "select", 1660 "mobileSwipe", 1661 "scrollSpeed", 1662 "scrollItems" 1663 ], 1664 [ 1665 "rxVirtualViewObserver", 1666 "", 1667 1, 1668 "popular-multi-bets-scroll", 1669 3, 1670 "root" 1671 ], 1672 [ 1673 "msThemedCard", 1674 "", 1675 "noOverflow", 1676 "true", 1677 "surface", 1678 "lowest", 1679 "class", 1680 "popular-bets-pod card-alignment", 1681 "rxVirtualView", 1682 "", 1683 3, 1684 "themedInverse", 1685 "border", 1686 "elevated", 1687 "themeBorder", 1688 "msContentReady", 1689 4, 1690 "rxFor", 1691 "rxForOf", 1692 "rxForTrackBy", 1693 "rxForRenderCallback" 1694 ], 1695 [ 1696 "size", 1697 "16", 1698 "slot", 1699 "start", 1700 3, 1701 "ds-icon-filled-default", 1702 "name" 1703 ], 1704 [ 1705 "size", 1706 "16", 1707 "slot", 1708 "start", 1709 3, 1710 "name" 1711 ], 1712 [ 1713 "msThemedCard", 1714 "", 1715 "noOverflow", 1716 "true", 1717 "surface", 1718 "lowest", 1719 "rxVirtualView", 1720 "", 1721 1, 1722 "popular-bets-pod", 1723 "card-alignment", 1724 3, 1725 "msContentReady", 1726 "themedInverse", 1727 "border", 1728 "elevated", 1729 "themeBorder" 1730 ], 1731 [4, "rxVirtualViewContent"], 1732 [ 1733 "style", 1734 "min-height: var(--rx-vw-h, 312px); min-width: var(--rx-vw-w, 280px)", 1735 4, 1736 "rxVirtualViewPlaceholder" 1737 ], 1738 [ 1739 "priority", 1740 "", 1741 "placeholder", 1742 "", 1743 "ngSrcset", 1744 "1x, 2x, 3x", 1745 1, 1746 "popular-bets-pod-bg-image", 1747 3, 1748 "ngSrc", 1749 "height", 1750 "width", 1751 "alt" 1752 ], 1753 [ 1754 "msPopularBetsPodBackground", 1755 "", 1756 3, 1757 "pod", 1758 "isEpcotEnabled", 1759 "visiblePodLegs", 1760 "betBuilderPodStylingOverride" 1761 ], 1762 [ 1763 "msPopularBetsPodBackground", 1764 "", 1765 3, 1766 "pod-style-override", 1767 "pod", 1768 "isEpcotEnabled", 1769 "visiblePodLegs", 1770 "betBuilderPodStylingOverride", 1771 "showTwoJerseyLogo" 1772 ], 1773 [ 1774 "msPopularBetsPodBackground", 1775 "", 1776 3, 1777 "pod", 1778 "isEpcotEnabled", 1779 "visiblePodLegs" 1780 ], 1781 [ 1782 "msPopularBetsPodBackground", 1783 "", 1784 3, 1785 "podNavigated", 1786 "podVisible", 1787 "pod", 1788 "isEpcotEnabled", 1789 "visiblePodLegs", 1790 "betBuilderPodStylingOverride", 1791 "showTwoJerseyLogo" 1792 ], 1793 [ 1794 2, 1795 "min-height", 1796 "var(--rx-vw-h, 312px)", 1797 "min-width", 1798 "var(--rx-vw-w, 280px)" 1799 ] 1800 ], 1801 template: function(n, e) { 1802 if (n & 1 && (u(0, ss, 7, 16, "ds-card", 1), F(1, "async")), n & 2) { 1803 let o; 1804 c((o = ge(1, 1, e.viewModel$)) ? 0 : -1, o); 1805 } 1806 }, 1807 dependencies: [ 1808 gt, 1809 ee, 1810 Ae, 1811 oe, 1812 Jr, 1813 qr, 1814 De, 1815 hn, 1816 mn, 1817 Q, 1818 qi, 1819 Bi, 1820 Dr, 1821 fe, 1822 Pe, 1823 Ce, 1824 Oe, 1825 ut 1826 ], 1827 styles: ["[_nghost-%COMP%]{position:relative}.popular-multi-bet-widget-container[_ngcontent-%COMP%], .popular-bets-pod[_ngcontent-%COMP%]{min-height:219px}.popular-multi-bet-widget-container[_ngcontent-%COMP%]{padding:0 0 12px;color:var(--%NS%popular-multi-bet-widget-container-color);overflow:hidden}.popular-multi-bets-scroll[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:var(--%NS%popular-bets-scroll-gap);align-items:unset;justify-content:flex-start;list-style-type:none}.scroll-adapter[_ngcontent-%COMP%]{background:var(--%NS%popular-bets-scroll-background)}
1827.scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__container{margin-bottom:var(--%NS%popular-bets-default-margin);padding:var(--%NS%popular-bets-scroll-container-padding)}.scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__arrow{border-radius:20px}.scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__arrow span{font-size:var(--%NS%popular-bets-large-font-and-height)}.scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__content{margin:0 12px}.scroll-adapter[_ngcontent-%COMP%] ms-scroll-adapter-native{padding:var(--%NS%popular-bets-scroll-container-padding, 0)}.scroll-adapter[_ngcontent-%COMP%] .native-swiper-scroll{padding:0 12px}@media screen and (min-width:321px)and (max-width:599px){.scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__container{scroll-snap-type:x mandatory}.popular-bets-pod[_ngcontent-%COMP%], .popular-bets-bet-builder-pod[_ngcontent-%COMP%], .popular-bets-bet-builder-plus-pod[_ngcontent-%COMP%]{scroll-snap-align:center;scroll-snap-stop:always}}.card-alignment[_ngcontent-%COMP%]{overflow:hidden}.epcot-enabled[_nghost-%COMP%], .epcot-enabled [_nghost-%COMP%]{background:var(--%NS%popular-bets-widget-background);padding:0;border-radius:var(--%NS%popular-bets-widget-border-radius);box-shadow:var(--%NS%popular-bets-widget-box-shadow);margin-top:12px}@media(hover:hover)and (pointer:fine){.epcot-enabled[_nghost-%COMP%], .epcot-enabled [_nghost-%COMP%]{background:none;box-shadow:none;margin-bottom:12px;margin-top:0}.epcot-enabled[_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__content, .epcot-enabled [_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__content{margin-left:0;margin-right:0}.epcot-enabled[_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .native-swiper-scroll, .epcot-enabled [_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .native-swiper-scroll{padding-left:0;padding-right:0}}.epcot-enabled[_nghost-%COMP%] .popular-multi-bet-widget-container[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-multi-bet-widget-container[_ngcontent-%COMP%]{padding:0;background:none;box-shadow:none}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod[_ngcontent-%COMP%]{list-style-type:none;position:relative;overflow:hidden;border-radius:var(--%NS%popular-bets-pod-border-radius)}.epcot-enabled[_nghost-%COMP%] .popular-bets-pod-bg-image[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .popular-bets-pod-bg-image[_ngcontent-%COMP%]{position:absolute;inset:0}@media(min-width:320px)and (max-width:750px){.epcot-enabled[_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__content, .epcot-enabled [_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .scroll-adapter__content{margin:unset;padding:var(--%NS%popular-bets-scroll-content-padding)}.epcot-enabled[_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .native-swiper-scroll, .epcot-enabled [_nghost-%COMP%] .scroll-adapter[_ngcontent-%COMP%] .native-swiper-scroll{padding:unset}}.th-mgm-dice[_nghost-%COMP%], .th-mgm-dice [_nghost-%COMP%]{--%NS%popular-bets-summary-alignment: flex-start}"] 1828 }), t; 1829 })(), Ge = (() => { 1830 let t = class { 1831 constructor() { 1832 this.widgetRegistry = g(Zi), this.injector = g(it), this.sitecorePopularBetsConfig = g(U), this.popularBetsConfig = g(_e); 1833 } 1834 onFeatureInit() { 1835 return le(this, null, function* () { 1836 yield lt(X([this.sitecorePopularBetsConfig.whenReady, this.popularBetsConfig.whenReady])), this.widgetRegistry.registerLazy("PopularMultiBets", ze, this.injector); 1837 }); 1838 } 1839 }; 1840 return t.ɵfac = function(n) { 1841 return new (n || t)(); 1842 }, t.ɵprov = at({ 1843 token: t, 1844 factory: t.ɵfac, 1845 providedIn: "root" 1846 }), t; 1847 })(); 1848 })))(); 1849} 1850Ve(); 1851export { ps as provide }; 1852 1853//# sourceMappingURL=chunk-bauq6nhh.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.