1import { d as Js, f as Ys, g as Se, n as hi, p as Qs, t as pi, y as ea } from "./chunk-xgti9j2t.js"; 2import { $ as p, $r as C, Aa as W, Ai as D, Ao as yt, Ci as vi, Cr as ta, Ea as a, Ei as wt, Et as gi, Fn as na, G as Z, Gt as ia, Hn as b, Hr as _t, Io as qe, Kn as fi, La as Q, Li as m, Mt as U, Na as j, Pi as sa, Pt as s, Q as X, Qa as aa, Qt as oa, R as xt, Ra as Me, Rn as He, Ro as oe, Sa as o, Si as ca, Sn as h, So as ra, Sr as M, T as Be, To as Xe, Ui as S, Wi as Mt, Xa as ie, Xi as la, Y as d, Yn as A, Zt as ua, bi as ve, co as Ze, f as De, fa as c, fi as be, fr as _, gt as u, h as N, ia as Je, in as Dt, ir as ma, ja as da, l as F, lt as bi, nt as Ye, oa as ha, oi as H, on as R, or as pa, qa as ki, ri as v, ro as P, s as se, sa as f, sr as Re, st as Qe, t as y, ta as Ci, tn as r, tt as va, ua as V, ui as Oe, va as Te, wa as g, x as ga, xi as fa, za as Si, zo as x, zr as G } from "./chunk-c97c17u8.js"; 3import { C as Ee, M as ba, S as ka, U as T, V as yi, W as Ca, u as I, x as Sa } from "./chunk-l3jkbhly.js"; 4import { p as ya } from "./chunk-k52vj1ic.js"; 5import { o as wa } from "./chunk-l24fzhmb.js"; 6import { A as _a, v as wi } from "./chunk-jrtaqqwj.js"; 7import { o as xa, t as L } from "./chunk-pesy0vb6.js"; 8import { D as Ma, o as Da, r as Ta } from "./chunk-llc8ry2a.js"; 9import { D as Ea, Y as Tt, a as _i, mt as ee, p as Aa, s as Na, ut as Ia } from "./chunk-fbjoug0d.js"; 10import { a as La } from "./chunk-ewplex8i.js"; 11import { n as Pa, r as Et } from "./chunk-c18gpzrj.js"; 12import { r as Ha } from "./chunk-c9rg1mp5.js"; 13import { n as At, t as Ba } from "./chunk-kyqvtgtk.js"; 14import { L as et, N as Ra, Q as ke, Y as Oa, b as $a, c as $e, gt as Va, ht as Nt, l as Ua, n as te, ot as tt, pt as za, q as ce, w as xi, y as Fa, z as Wa } from "./chunk-w0x32net.js"; 15import { a as Mi, d as pe, h as ja, l as Ga, p as Ka, r as qa, u as Xa } from "./chunk-bhnvkbxx.js"; 16import { ot as Za } from "./chunk-f2v2cgea.js"; 17import { a as ne, c as Ja, s as O } from "./chunk-og5uebri.js"; 18import { C as nt, Cr as Ya, Dn as Qa, En as eo, Fn as Di, Jn as Ve, L as it, Mr as re, P as It, Pn as Lt, Pt, Qn as Ti, Qt as to, T as Ei, Tn as no, Tt as io, Vn as so, Xn as Ai, Y as Ni, Yn as ao, b as Ii, bt as oo, ct as Ht, dr as Li, ft as st, h as K, hr as co, i as ro, ir as at, jr as lo, kr as uo, ln as mo, m as Bt, nr as ho, nt as po, rn as ot, st as vo, t as go, un as fo, wt as Ue, xr as le, yn as bo, zn as ze } from "./chunk-go6pvd0a.js"; 19import { t as ko } from "./chunk-k4et3zlq.js"; 20import { i as Co, p as So } from "./chunk-hul0ult7.js"; 21import { n as yo, r as ye } from "./chunk-lmnwxprc.js"; 22import { r as wo } from "./chunk-ilfhy0in.js"; 23import { n as _o, r as ae, t as ge } from "./chunk-ohg30iel.js"; 24import { $ as xo, C as Mo, F as Do, Q as To, st as ct, ut as Pi, xt as Eo } from "./chunk-iuhjzybw.js"; 25import { a as Ao, s as No } from "./chunk-bol8t3zz.js"; 26import { c as Io } from "./chunk-pccxjem8.js"; 27import { r as Lo, t as z } from "./chunk-i1knml6i.js"; 28import { r as Hi, t as Po } from "./chunk-bt0uh5ix.js"; 29import { n as Ho, t as rt } from "./chunk-bh3f6w1f.js"; 30import { i as Bo, r as Ro } from "./chunk-eoj30x9t.js"; 31import { N as Oo } from "./chunk-dymhuwkz.js"; 32import { n as q, t as $o } from "./chunk-bwsrvyqb.js"; 33import { n as Vo, t as me } from "./chunk-k0kygnvj.js"; 34import { $h as Uo, $t as zo, A as Fo, At as Wo, B as lt, C as jo, Cg as Go, Ct as Bi, Dt as Ko, F as Ri, G as Oi, H as ut, I as $i, J, K as Rt, L as qo, M as Ot, Ot as mt, R as Vi, St as $t, U as Vt, V as ue, W as de, _t as Xo, at as we, bt as Ut, ct as Zo, d as Jo, dt as Yo, eg as Fe, f as Qo, gt as Ae, h as ec, it as tc, l as nc, lt as ic, m as Ne, mt as sc, o as ac, on as oc, p as cc, pt as rc, q as lc, qt as uc, r as mc, tg as Ui, u as dc, ut as hc, w as pc, wg as vc, wt as gc, xt as fc, yt as bc, z as zi } from "./chunk-g8mtbi19.js"; 35import { $n as kc, Bn as Cc, Dt as Sc, Hi as yc, Ur as Ie, ji as fe, sr as Fi } from "./chunk-iq8thase.js"; 36import { i as wc, t as Wi } from "./chunk-ejxkaugb.js"; 37import { n as We, r as _c } from "./chunk-huifii0p.js"; 38import { n as zt, t as xc } from "./chunk-j4ugyjxo.js"; 39import { a as Mc, i as ji, n as Dc, r as Tc, t as Ec } from "./chunk-ds9g7yw8.js"; 40import { a as Ac, i as Nc, n as Ic, o as Lc, r as Pc, t as Hc } from "./chunk-f9r9q8kp.js"; 41import { n as Bc, t as Rc } from "./chunk-eqd0lzsk.js"; 42import { n as Oc, t as Ft } from "./chunk-e128byv8.js"; 43import { i as $c, o as Vc, r as Uc, t as zc } from "./chunk-hsdyjdkw.js"; 44import { r as Fc, t as Wc } from "./chunk-i0uvvqxi.js"; 45import { n as jc, r as Gc, t as Kc } from "./chunk-my6pbn8o.js"; 46import { t as qc } from "./chunk-o4f8w5yc.js"; 47function Xc(t, n) { 48 t & 1 && h(0, "vn-icon", 4), t & 2 && r("name", o(2).item.parameters?.iconName ?? "theme-referafriend"); 49} 50function Zc(t, n) { 51 if (t & 1) { 52 let e = M(); 53 a(0, "button", 7), y("click", function(i) { 54 _(e); 55 let l = o().$implicit; 56 return x(o(2).processClick(i, l)); 57 }), p(1), c(); 58 } 59 if (t & 2) { 60 let e = o().$implicit, i = o(2); 61 r("kind", i.asButtonKind(e.parameters?.kind || "primary"))("variant", i.asButtonVariant(e.parameters?.variant || "filled"))("inverse", e.parameters?.inverse === "true")("size", i.asButtonSize(e.parameters?.size || "large")), s(), H(" ", e.text, " "); 62 } 63}
64function Jc(t, n) { 65 if (t & 1 && d(0, Zc, 2, 5, "button", 6), t & 2) { 66 let e = n.$implicit; 67 m(e.parameters?.kind ? 0 : -1); 68 } 69} 70function Yc(t, n) { 71 if (t & 1 && (a(0, "ds-list-group", 0)(1, "ds-list-item", 2), G(2, 3), d(3, Xc, 1, 1, "vn-icon", 4), j(), G(4, 5), N(5, Jc, 1, 1, null, null, jt), j(), c()()), t & 2) { 72 let e = o(); 73 s(), r("title", e.item.text || "")("subtitle", e.item.resources?.subtitle ?? "")("boldTitle", !!e.item.parameters?.boldTitle), s(2), m(e.item.parameters?.iconName ? 3 : -1), s(2), A(e.item.children); 74 } 75} 76function Qc(t, n) { 77 if (t & 1 && h(0, "vn-image", 13), t & 2) { 78 let e = n.$implicit; 79 r("src", e.image.src)("imageClass", e.class); 80 } 81} 82function er(t, n) { 83 if (t & 1) { 84 let e = M(); 85 a(0, "a", 8), y("click", function(i) { 86 _(e); 87 let l = o(); 88 return x(l.processClick(i, l.item)); 89 }), a(1, "div", 9), h(2, "div", 10), a(3, "div", 11), p(4), h(5, "span", 10), c(), a(6, "div", 11), p(7), h(8, "vn-icon", 12), c()(), N(9, Qc, 1, 2, "vn-image", 13, jt), c(); 90 } 91 if (t & 2) { 92 let e = o(); 93 r("ngClass", e.item.class), s(), r("ngClass", e.item.parameters["text-wrapper-class"]), s(), r("ngClass", e.item.parameters["text-class"])("innerHTML", e.item.text, S), s(), r("ngClass", e.item.parameters["text-amount-class"]), s(), H(" ", e.item.resources.TextAmount, " "), s(), r("ngClass", e.item.parameters["text-number-class"])("innerHTML", e.item.resources.TextNumber, S), s(), r("ngClass", e.item.parameters["text-invite-class"]), s(), H(" ", e.item.resources.TextInvite, " "), s(2), A(e.item.children); 94 } 95} 96function tr(t, n) { 97 if (t & 1) { 98 let e = M(); 99 a(0, "vn-menu-item", 1), y("onClick", function(i) { 100 _(e); 101 let l = o(); 102 return x(l.processClick(i, l.item, !1)); 103 }), c(); 104 } 105 if (t & 2) { 106 let e = o(); 107 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.menuDisplayMode)("badgePosition", e.badgeDisplayMode)("additionalIcon", e.additionalIcon)("processClick", !1)("useListSlots", !!e.item.parameters?.useListSlots); 108 } 109} 110function nr(t, n) { 111 if (t & 1) { 112 let e = M(); 113 a(0, "vn-menu-item", 3), y("onClick", function(i) { 114 _(e); 115 let l = o(2); 116 return x(l.processClick(i, l.item, !1)); 117 }), c(); 118 } 119 if (t & 2) { 120 let e = o(2); 121 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.menuDisplayMode)("badgePosition", e.badgeDisplayMode)("additionalIcon", e.additionalIcon)("processClick", !1)("useListSlots", !!e.item.parameters?.useListSlots); 122 } 123} 124function ir(t, n) { 125 t & 1 && d(0, nr, 1, 7, "vn-menu-item", 2), t & 2 && m(o().show ? 0 : -1); 126} 127function sr(t, n) { 128 if (t & 1) { 129 let e = M(); 130 a(0, "vn-menu-item", 5), y("onClick", function(i) { 131 _(e); 132 let l = o(2); 133 return x(l.processClick(i, l.item, !1)); 134 }), c(); 135 } 136 if (t & 2) { 137 let e = o(2); 138 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.menuDisplayMode)("badgePosition", e.badgeDisplayMode)("processClick", !1)("useListSlots", !!e.item.parameters?.useListSlots); 139 } 140} 141function ar(t, n) { 142 t & 1 && d(0, sr, 1, 6, "vn-menu-item", 4), t & 2 && m(o().show ? 0 : -1); 143} 144function or(t, n) { 145 if (t & 1) { 146 let e = M(); 147 a(0, "vn-menu-item", 7), y("onClick", function(i) { 148 _(e); 149 let l = o(2); 150 return x(l.processClick(i, l.item, !1)); 151 }), c(); 152 } 153 if (t & 2) { 154 let e = o(2); 155 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.menuDisplayMode)("badgePosition", e.badgeDisplayMode)("processClick", !1)("useListSlots", !!e.item.parameters?.useListSlots); 156 } 157} 158function cr(t, n) { 159 t & 1 && d(0, or, 1, 6, "vn-menu-item", 6), t & 2 && m(o().show ? 0 : -1); 160} 161function rr(t, n) { 162 if (t & 1) { 163 let e = M(); 164 a(0, "vn-menu-item", 9), y("onClick", function(i) { 165 _(e); 166 let l = o(2); 167 return x(l.processClick(i, l.item, !1)); 168 }), c(); 169 } 170 if (t & 2) { 171 let e = o(2); 172 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.menuDisplayMode)("badgePosition", e.badgeDisplayMode)("additionalIcon", e.additionalIcon)("processClick", !1)("useListSlots", !!e.item.parameters?.useListSlots)("subtext", e.formatSubtext(e.subtext)); 173 } 174} 175function lr(t, n) { 176 t & 1 && d(0, rr, 1, 8, "vn-menu-item", 8), t & 2 && m(o().show ? 0 : -1); 177} 178function ur(t, n) { 179 if (t & 1 && (h(0, "div", 0), v(1, "trustAsHtml")), t & 2) { 180 let e = o(); 181 r("ngClass", e.item.class)("innerHtml", g(1, 2, e.item.text), S); 182 } 183} 184function mr(t, n) { 185 if (t & 1 && (h(0, "span", 1), v(1, "trustAsHtml")), t & 2) { 186 let e = o(); 187 r("ngClass", e.item.class)("innerHtml", g(1, 2, e.item.text), S); 188 } 189} 190function dr(t, n) { 191 if (t & 1 && (a(0, "div", 4), p(1), c()), t & 2) { 192 let e = o(3); 193 r("ngClass", e.item.parameters == null ? null : e.item.parameters.simpleHeaderClass), s(), f(e.item.text || ""); 194 } 195} 196function hr(t, n) { 197 t & 1 && d(0, dr, 2, 2, "div", 4), t & 2 && m(o(2).item.text ? 0 : -1); 198} 199function pr(t, n) { 200 if (t & 1 && h(0, "ds-card-header", 2), t & 2) { 201 let e = o(2); 202 r("surface", "low")("title", e.item.text); 203 } 204} 205function vr(t, n) { 206 if (t & 1 && (a(0, "ds-card-content"), R(1, 5), c()), t & 2) { 207 o(2); 208 let e = ve(2); 209 s(), r("ngTemplateOutlet", e); 210 } 211} 212function gr(t, n) { 213 if (t & 1 && (a(0, "div", 3), R(1, 5), c()), t & 2) { 214 o(2); 215 let e = ve(2); 216 s(), r("ngTemplateOutlet", e); 217 } 218} 219function fr(t, n) { 220 if (t & 1 && (d(0, hr, 1, 1), a(1, "ds-card", 1), d(2, pr, 1, 2, "ds-card-header", 2), d(3, vr, 2, 1, "ds-card-content")(4, gr, 2, 1, "div", 3), c()), t & 2) { 221 let e = o(); 222 m(e.item.parameters?.simpleHeader ? 0 : -1), s(), r("elevated", !1)("surface", "lowest")("radius", !0)("ngClass", e.item.class), s(), m(e.item.text && !e.item.parameters?.simpleHeader ? 2 : -1), s(), m(e.item.parameters?.useCardContent ? 3 : 4); 223 } 224} 225function br(t, n) { 226 if (t & 1 && h(0, "vn-am-invite-friends-banner", 7), t & 2) { 227 let e = o().$implicit, i = o(2); 228 r("item", e)("mode", i.mode); 229 } 230} 231function kr(t, n) { 232 if (t & 1 && h(0, "vn-am-text", 7), t & 2) { 233 let e = o().$implicit, i = o(2); 234 r("item", e)("mode", i.mode); 235 } 236} 237function Cr(t, n) { 238 if (t & 1 && h(0, "vn-am-menu-item", 8), t & 2) { 239 let e = o().$implicit, i = o(2); 240 r("item", e)("mode", i.mode)("subtext", i.subtext); 241 } 242} 243function Sr(t, n) { 244 t & 1 && h(0, "ds-divider"); 245} 246function yr(t, n) { 247 if (t & 1 && (d(0, br, 1, 2, "vn-am-invite-friends-banner", 7)(1, kr, 1, 2, "vn-am-text", 7)(2, Cr, 1, 3, "vn-am-menu-item", 8), d(3, Sr, 1, 0, "ds-divider")), t & 2) { 248 let e = n.$implicit, i = n.$index, l = n.$count; 249 m(e.layout === "invite-friends-banner" ? 0 : e.layout === "text" ? 1 : 2), s(3), m(i !== l - 1 ? 3 : -1); 250 } 251} 252function wr(t, n) { 253 if (t & 1 && (a(0, "ds-list-group", 6), N(1, yr, 4, 2, null, null, U().trackByProp, !0), c()), t & 2) { 254 let e = o(); 255 s(), A(e.item.children); 256 } 257} 258function _r(t, n) { 259 if (t & 1 && h(0, "vn-am-card-item", 3), t & 2) { 260 let e = o().$implicit, i = o(3); 261 r("item", e)("mode", i.mode)("subtext", "featureEnabled"); 262 } 263} 264function xr(t, n) { 265 if (t & 1 && d(0, _r, 1, 3, "vn-am-card-item", 3), t & 2) { 266 let e = n.$implicit; 267 m(e.type === "card-item" ? 0 : -1); 268 } 269} 270function Mr(t, n) { 271 if (t & 1 && (a(0, "div", 1)(1, "div", 2), N(2, xr, 1, 1, null, null, U().trackByProp, !0), c()()), t & 2) { 272 let e = n.$implicit; 273 s(), r("ngClass", e.class), s(), A(e.children); 274 } 275} 276function Dr(t, n) { 277 t & 1 && N(0, Mr, 4, 1, "div", 1, U().trackByProp, !0), t & 2 && A(o().settingsChildren); 278} 279function Tr(t, n) { 280 if (t & 1) { 281 let e = M(); 282 a(0, "div", 5), y("click", function() { 283 return _(e), x(o().hotspotClicked()); 284 }), h(1, "vn-icon", 6), c(); 285 } 286 t & 2 && (o(), r("floatUi", ve(2).content)); 287} 288function Er(t, n) { 289 if (t & 1 && h(0, "vn-image", 6), t & 2) { 290 let e = n; 291 r("src", e.src)("alt", e.alt)("width", e.width)("height", e.height); 292 } 293} 294function Ar(t, n) { 295 if (t & 1) { 296 let e = M(); 297 a(0, "div", 3)(1, "div", 5), d(2, Er, 1, 4, "vn-image", 6), h(3, "div", 7), c(), a(4, "button", 8), y("click", function() { 298 return _(e), x(o().startTour()); 299 }), p(5), c()(); 300 } 301 if (t & 2) { 302 let e, i = o(); 303 s(2), m((e = i.content?.image) ? 2 : -1, e), s(), r("vnDynamicHtml", i.content == null ? null : i.content.text), s(2), H(" ", i.content?.resources?.StartTourButton, " "); 304 } 305} 306function Nr(t, n) { 307 t & 1 && R(0); 308} 309function Ir(t, n) { 310 if (t & 1 && (a(0, "div", 11), P(1, Nr, 1, 0, "ng-container", 15), c()), t & 2) { 311 let e = n.$implicit; 312 s(), r("vnPageMatrix", e); 313 } 314} 315function Lr(t, n) { 316 if (t & 1) { 317 let e = M(); 318 a(0, "button", 16), y("click", function() { 319 return _(e), x(o(2).previous()); 320 }), p(1), c(); 321 } 322 if (t & 2) { 323 let e = o(2); 324 s(), H(" ", e.content.resources.PreviousButton, " "); 325 } 326} 327function Pr(t, n) { 328 if (t & 1) { 329 let e = M(); 330 a(0, "button", 8), y("click", function() { 331 return _(e), x(o(2).next()); 332 }), p(1), c(); 333 } 334 if (t & 2) { 335 let e = o(2); 336 s(), H(" ", e.content.resources.NextButton, " "); 337 } 338} 339function Hr(t, n) { 340 if (t & 1) { 341 let e = M(); 342 a(0, "button", 8), y("click", function() { 343 return _(e), x(o(2).close(!0)); 344 }), p(1), c(); 345 } 346 if (t & 2) { 347 let e = o(2); 348 s(), H(" ", e.content.resources.GotItButton, " "); 349 } 350} 351function Br(t, n) { 352 if (t & 1) { 353 let e = M(); 354 a(0, "button", 8), y("click", function() { 355 return _(e), x(o(2).close(!0)); 356 }), p(1), c(); 357 } 358 if (t & 2) { 359 let e = o(2); 360 s(), H(" ", e.content.resources.GotItButton, " "); 361 } 362} 363function Rr(t, n) { 364 if (t & 1 && (a(0, "div", 4)(1, "div", 9)(2, "vn-swiper", 10), N(3, Ir, 2, 1, "div", 11, U().trackByName, !0), v(5, "dsl"), v(6, "async"), c()(), a(7, "div", 12)(8, "div"), d(9, Lr, 2, 1, "button", 13), c(), d(10, Pr, 2, 1, "button", 14), d(11, Hr, 2, 1, "button", 14), d(12, Br, 2, 1, "button", 14), c()()), t & 2) { 365 let e = o(); 366 s(2), r("swiperOptions", e.swiperConfig), s(), A(g(6, 7, g(5, 5, e.tourItems))), s(6), m(e.indexSignal() > 0 ? 9 : -1), s(), m(!e.showGotItButton && e.tourItems.length > 1 ? 10 : -1), s(), m(e.showGotItButton ? 11 : -1), s(), m(!e.showGotItButton && e.tourItems.length === 1 ? 12 : -1); 367 } 368} 369function Or(t, n) { 370 if (t & 1) { 371 let e = M(); 372 a(0, "button", 2), y("click", function() { 373 return _(e), x(o(2).showInbox()); 374 }), h(1, "vn-icon", 3)(2, "ds-notification-bubble", 4), c(); 375 } 376 if (t & 2) { 377 let e = o(2); 378 r("inverse", !0), s(), r("name", e.iconName), s(), r("section", e.MenuSection.Header); 379 } 380} 381function $r(t, n) { 382 if (t & 1) { 383 let e = M(); 384 a(0, "a", 5), y("click", function() { 385 return _(e), x(o(2).showInbox()); 386 }), h(1, "vn-icon", 3)(2, "ds-notification-bubble", 6), c(); 387 } 388 if (t & 2) { 389 let e = o(2); 390 r("ngClass", e.item == null ? null : e.item.class), s(), r("name", e.iconName), s(), r("section", e.MenuSection.Header); 391 } 392} 393function Vr(t, n) { 394 t & 1 && d(0, Or, 3, 3, "button", 0)(1, $r, 3, 3, "a", 1), t & 2 && m(o().version === 6 ? 0 : 1); 395} 396function Ur(t, n) { 397 if (t & 1 && h(0, "vn-image", 1), t & 2) { 398 let e = o(2);
399 r("height", e.errorImage.height)("width", e.errorImage.width)("src", e.errorImage.src)("alt", e.errorImage.alt); 400 } 401} 402function zr(t, n) { 403 if (t & 1 && (h(0, "div", 3), v(1, "trustAsHtml"), h(2, "div", 4), v(3, "trustAsHtml")), t & 2) { 404 let e = o(2); 405 r("innerHtml", g(1, 2, e.errorResources.headerText), S), s(2), r("innerHtml", g(3, 4, e.errorResources.bodyText), S); 406 } 407} 408function Fr(t, n) { 409 t & 1 && h(0, "vn-menu-item", 2), t & 2 && r("item", o(2).errorLink); 410} 411function Wr(t, n) { 412 if (t & 1 && (a(0, "div", 0), d(1, Ur, 1, 4, "vn-image", 1), d(2, zr, 4, 6), d(3, Fr, 1, 1, "vn-menu-item", 2), c()), t & 2) { 413 let e = o(); 414 s(), m(e.errorImage ? 1 : -1), s(), m(e.errorResources ? 2 : -1), s(), m(e.errorLink && e.errorLink?.url ? 3 : -1); 415 } 416} 417function jr(t, n) { 418 t & 1 && h(0, "vn-image", 1), t & 2 && r("src", o().tierCurrentImage); 419} 420function Gr(t, n) { 421 if (t & 1 && h(0, "div", 6), t & 2) { 422 let e = o(); 423 r("vnDynamicHtml", e.tier.details == null ? null : e.tier.details.genericInfo); 424 } 425} 426function Kr(t, n) { 427 if (t & 1) { 428 let e = M(); 429 a(0, "a", 17), y("click", function() { 430 return _(e), x(o().openBenefitsCta()); 431 }), p(1), c(); 432 } 433 if (t & 2) { 434 let e = o(); 435 He(e.tier.cta.class), r("size", e.tier.cta.size)("kind", e.tier.cta.kind), s(), H(" ", e.tier.cta.text); 436 } 437} 438function qr(t, n) { 439 t & 1 && h(0, "vn-image", 11), t & 2 && r("src", o().tierLeftImage); 440} 441function Xr(t, n) { 442 t & 1 && p(0), t & 2 && H(" ", o().tier.belowProgressBarText, " "); 443} 444function Zr(t, n) { 445 t & 1 && h(0, "vn-image", 11), t & 2 && r("src", o().tierRightImage); 446} 447function Jr(t, n) { 448 t & 1 && (h(0, "div", 24), v(1, "trustAsHtml")), t & 2 && r("innerHtml", g(1, 1, o(2).tier.manager.availability), S); 449} 450function Yr(t, n) { 451 if (t & 1 && (a(0, "div", 25), h(1, "vn-icon", 27)(2, "span", 28), v(3, "trustAsHtml"), c()), t & 2) { 452 let e = o(2); 453 s(2), r("innerHtml", g(3, 1, e.tier.manager.mob), S); 454 } 455} 456function Qr(t, n) { 457 if (t & 1 && (a(0, "div", 26), h(1, "vn-icon", 29)(2, "span", 30), v(3, "trustAsHtml"), c()), t & 2) { 458 let e = o(2); 459 s(2), r("innerHtml", g(3, 1, e.tier.manager.email), S); 460 } 461} 462function el(t, n) { 463 if (t & 1 && (h(0, "ds-divider", 18), a(1, "div", 19), h(2, "span", 20), v(3, "trustAsHtml"), a(4, "div", 21)(5, "div", 22), h(6, "div", 23), v(7, "trustAsHtml"), d(8, Jr, 2, 3, "div", 24), d(9, Yr, 4, 3, "div", 25), d(10, Qr, 4, 3, "div", 26), c()()()), t & 2) { 464 let e = o(); 465 s(2), r("innerHtml", g(3, 5, e.tier.manager.title), S), s(4), r("innerHtml", g(7, 7, e.tier.manager.name), S), s(2), m(e.tier.manager.availability ? 8 : -1), s(), m(e.tier.manager.mob ? 9 : -1), s(), m(e.tier.manager.email ? 10 : -1); 466 } 467} 468function tl(t, n) { 469 if (t & 1 && h(0, "vn-image", 3), t & 2) { 470 let e = o(3); 471 r("height", e.tierBackground == null ? null : e.tierBackground.height)("src", e.tierBackground.src)("width", e.tierBackground == null ? null : e.tierBackground.width); 472 } 473} 474function nl(t, n) { 475 if (t & 1 && (d(0, tl, 1, 3, "vn-image", 3), h(1, "vn-am-ase-tier-item", 4)), t & 2) { 476 let e = o(2); 477 m(e.tierBackground && e.tierBackground?.src ? 0 : -1), s(), r("tier", e.selectedTier)("tierRawContent", e.itemData); 478 } 479} 480function il(t, n) { 481 t & 1 && h(0, "vn-am-ase-error-message", 2), t & 2 && r("errorContext", o(2).errorContext); 482} 483function sl(t, n) { 484 if (t & 1 && (a(0, "ds-card", 0), h(1, "ds-card-header", 1), a(2, "ds-card-content"), d(3, nl, 2, 3)(4, il, 1, 1, "vn-am-ase-error-message", 2), c()()), t & 2) { 485 let e = o(); 486 r("elevated", !0)("radius", !0), s(), r("title", e.item.text), s(2), m(e.aseLoyaltyEnabled ? 3 : e.errorContext?.showError ? 4 : -1); 487 } 488} 489function al(t, n) { 490 if (t & 1) { 491 let e = M(); 492 a(0, "div", 5)(1, "a", 6), y("click", function() { 493 return _(e), x(o(2).releaseFunds()); 494 }), a(2, "span", 7)(3, "u", 4), p(4), c()()(), a(5, "span", 8), h(6, "vn-icon", 9), c(), a(7, "vn-popper-content", 10, 0), G(9, 11), p(10), j(), c()(); 495 } 496 if (t & 2) { 497 let e = ve(8), i = o(2); 498 s(4), f(i.releaseFundsText), s(), r("floatUi", e.content), s(5), f(i.releaseFundsTooltipText); 499 } 500} 501function ol(t, n) { 502 if (t & 1 && (a(0, "div")(1, "div", 4), p(2), d(3, al, 11, 3, "div", 5), c()()), t & 2) { 503 let e = o(); 504 s(2), H(" ", e.payPalBalanceMessage, " "), s(), m(e.showReleaseFunds ? 3 : -1); 505 } 506} 507function cl(t, n) { 508 if (t & 1) { 509 let e = M(); 510 a(0, "div", 2), y("click", function(i) { 511 _(e); 512 let l = o(); 513 return x(l.processClick(i, l.item)); 514 }), a(1, "div", 3), p(2), a(3, "span", 4), p(4), v(5, "async"), v(6, "vnCurrency"), c()()(); 515 } 516 if (t & 2) { 517 let e = o(); 518 r("ngClass", e.item.class), s(2), H(" ", e.item.text, " "), s(), r("ngClass", e.item.parameters["amount-class"]), s(), f(g(6, 6, g(5, 4, e.balance))); 519 } 520} 521function rl(t, n) { 522 t & 1 && h(0, "vn-icon", 8); 523} 524function ll(t, n) { 525 if (t & 1) { 526 let e = M(); 527 a(0, "div", 5), y("click", function(i) { 528 _(e); 529 let l = o(); 530 return x(l.processClick(i, l.item)); 531 }), a(1, "div", 6)(2, "span"), p(3), c(), a(4, "span", 7), p(5), v(6, "async"), v(7, "vnCurrency"), c(), d(8, rl, 1, 0, "vn-icon", 8), c()(); 532 } 533 if (t & 2) { 534 let e = o(); 535 ie("account-balance", e.mainBalance)("account-info-small", !e.mainBalance), r("ngClass", e.item.class), s(), r("ngClass", Q(16, Zi, !e.mainBalance, e.mainBalance && e.mode !== "page")), s(), ie("ch-account-menu-v3__info-small--opacity", !e.mainBalance), s(), H("", e.item.text, " "), s(), r("ngClass", V(19, Ji, e.mainBalance)), s(), f(g(7, 14, g(6, 12, e.balance))), s(3), m(e.mainBalance && e.mode !== "page" && !e.hideArrow ? 8 : -1); 536 } 537} 538function ul(t, n) { 539 if (t & 1) { 540 let e = M(); 541 a(0, "a", 7), y("click", function(i) { 542 _(e); 543 let l = o(2); 544 return x(l.processClick(i, l.item)); 545 }), p(1, "( "), a(2, "span", 8), p(3), c(), p(4, " )"), c(); 546 } 547 if (t & 2) { 548 let e = o(2); 549 se("href", e.item.url, De)("target", e.item.target), s(3), f(e.detailsLinkText); 550 } 551} 552function ml(t, n) { 553 t & 1 && (a(0, "span", 3), h(1, "vn-icon", 9), c()), t & 2 && (o(), r("floatUi", ve(6).content)); 554} 555function dl(t, n) { 556 if (t & 1 && (a(0, "div", 1)(1, "div", 2), p(2), d(3, ul, 5, 3, "a"), d(4, ml, 2, 1, "span", 3), a(5, "vn-popper-content", 4, 0), G(7, 5), p(8), j(), c()(), a(9, "div", 6), p(10), v(11, "vnCurrency"), c()()), t & 2) { 557 let e = o(); 558 r("ngClass", e.item.name), se("data-testid", e.item.name), s(2), H(" ", e.item.text, " "), s(), m(e.detailsLinkText && (!e.hideDetailsIfZero || e.balance
558!== 0) ? 3 : -1), s(), m(e.tooltipText ? 4 : -1), s(4), f(e.tooltipText), s(2), f(g(11, 7, e.balance)); 559 } 560} 561function hl(t, n) { 562 if (t & 1 && h(0, "vn-image", 2), t & 2) { 563 let e = n.$implicit; 564 r("src", e.image.src)("imageClass", e.class); 565 } 566} 567function pl(t, n) { 568 if (t & 1) { 569 let e = M(); 570 a(0, "span", 10)(1, "vn-icon", 14), y("click", function() { 571 return _(e), x(o(3).trackTooltip()); 572 }), c()(); 573 } 574 t & 2 && (o(2), r("floatUi", ve(4).content), s(), se("aria-hidden", !0)); 575} 576function vl(t, n) { 577 t & 1 && h(0, "vn-icon", 16), t & 2 && se("aria-hidden", !0); 578} 579function gl(t, n) { 580 t & 1 && h(0, "vn-icon", 17), t & 2 && se("aria-hidden", !0); 581} 582function fl(t, n) { 583 if (t & 1 && (a(0, "span", 15), d(1, vl, 1, 1, "vn-icon", 16)(2, gl, 1, 1, "vn-icon", 17), c()), t & 2) { 584 let e = n.$implicit; 585 s(), m(e ? 1 : 2); 586 } 587} 588function bl(t, n) { 589 t & 1 && R(0); 590} 591function kl(t, n) { 592 if (t & 1 && P(0, bl, 1, 0, "ng-container", 18), t & 2) { 593 let e = n.$implicit; 594 r("vnDynamicComponent", o(3).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, es, e)); 595 } 596} 597function Cl(t, n) { 598 if (t & 1) { 599 let e = M(); 600 a(0, "ds-accordion", 7), y("openedChange", function() { 601 return _(e), x(o(2).expand()); 602 }), a(1, "ds-accordion-header")(2, "div", 8)(3, "div", 9), p(4), c(), d(5, pl, 2, 2, "span", 10), c(), a(6, "div", 11), p(7), v(8, "vnCurrency"), c(), P(9, fl, 3, 1, "ng-template", 12), c(), a(10, "ds-accordion-content")(11, "div", 13), N(12, kl, 1, 4, "ng-container", null, U().trackByProp, !0), c()()(); 603 } 604 if (t & 2) { 605 let e = o(2); 606 r("open", e.expanded), s(4), f(e.item.text), s(), m(e.tooltipText ? 5 : -1), s(2), H(" ", g(8, 4, e.balance), " "), s(5), A(e.item.children); 607 } 608} 609function Sl(t, n) { 610 if (t & 1) { 611 let e = M(); 612 a(0, "span", 10)(1, "vn-icon", 14), y("click", function() { 613 return _(e), x(o(3).trackTooltip()); 614 }), c()(); 615 } 616 t & 2 && (o(2), r("floatUi", ve(4).content), s(), se("aria-label", "View bonus information")); 617} 618function yl(t, n) { 619 if (t & 1 && (a(0, "ds-list-group", 3)(1, "ds-list-item", 19)(2, "div", 8)(3, "div", 9), p(4), c(), d(5, Sl, 2, 2, "span", 10), c(), a(6, "div", 11), p(7), v(8, "vnCurrency"), c()()()), t & 2) { 620 let e = o(2); 621 s(), r("showCenterSlot", !1), s(3), f(e.item.text), s(), m(e.tooltipText ? 5 : -1), s(2), H(" ", g(8, 4, e.balance), " "); 622 } 623} 624function wl(t, n) { 625 t & 1 && h(0, "div", 6), t & 2 && r("vnDynamicHtml", o(2).description); 626} 627function _l(t, n) { 628 if (t & 1) { 629 let e = M(); 630 a(0, "div", 1), d(1, Cl, 14, 6, "ds-accordion", 2)(2, yl, 9, 6, "ds-list-group", 3), a(3, "vn-popper-content", 4, 0), y("onCloseLinkClick", function(i) { 631 return _(e), x(o().closeClicked(i)); 632 }), G(5, 5), p(6), j(), c(), d(7, wl, 1, 1, "div", 6), c(); 633 } 634 if (t & 2) { 635 let e = o(); 636 r("ngClass", e.item.class), s(), m(e.item.children?.length ? 1 : 2), s(5), f(e.tooltipText), s(), m(e.description ? 7 : -1); 637 } 638} 639function xl(t, n) { 640 t & 1 && h(0, "span", 3), t & 2 && r("ngClass", n); 641} 642function Ml(t, n) { 643 t & 1 && (a(0, "span"), p(1), c()), t & 2 && (s(), f(n)); 644} 645function Dl(t, n) { 646 t & 1 && R(0); 647} 648function Tl(t, n) { 649 if (t & 1 && P(0, Dl, 1, 0, "ng-container", 5), t & 2) { 650 let e = n.$implicit; 651 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, nn, e)); 652 } 653} 654function El(t, n) { 655 t & 1 && N(0, Tl, 1, 4, "ng-container", null, U().trackByProp, !0), t & 2 && A(o().balanceItems); 656} 657function Al(t, n) { 658 t & 1 && R(0); 659} 660function Nl(t, n) { 661 if (t & 1 && P(0, Al, 1, 0, "ng-container", 5), t & 2) { 662 let e = n.$implicit; 663 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, nn, e)); 664 } 665} 666function Il(t, n) { 667 if (t & 1 && (a(0, "div", 4), N(1, Nl, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 668 let e = o(); 669 s(), A(e.ctaItems); 670 } 671} 672function Ll(t, n) { 673 if (t & 1 && (Me(0, "div", 0)(1, "div", 1), p(2), Te(), Me(3, "div", 2), p(4), v(5, "vnCurrency"), Te()()), t & 2) { 674 let e = o(); 675 se("data-testid", e.item.name), s(2), f(e.item.text), s(2), f(g(5, 3, e.balance)); 676 } 677} 678function Pl(t, n) { 679 if (t & 1 && (a(0, "div", 4), p(1), v(2, "vnCurrency"), c()), t & 2) { 680 let e = o(2); 681 s(), H(" ", g(2, 1, e.balance), " "); 682 } 683} 684function Hl(t, n) { 685 t & 1 && h(0, "vn-icon", 6), t & 2 && se("aria-hidden", !0); 686} 687function Bl(t, n) { 688 if (t & 1) { 689 let e = M(); 690 a(0, "div", 0)(1, "ds-list-item", 1), y("click", function(i) { 691 _(e); 692 let l = o(); 693 return x(l.balance > 0 && l.processClick(i, l.item)); 694 }), a(2, "div", 2), p(3), c(), a(4, "div", 3), d(5, Pl, 3, 3, "div", 4), a(6, "span", 5), d(7, Hl, 1, 1, "vn-icon", 6), c()()()(); 695 } 696 if (t & 2) { 697 let e = o(); 698 r("ngClass", e.item.class), s(), r("showCenterSlot", !1), s(2), f(e.item.text), s(2), m(e.balance >= 0 ? 5 : -1), s(2), m(e.balance > 0 ? 7 : -1); 699 } 700} 701function Rl(t, n) { 702 t & 1 && R(0); 703} 704function Ol(t, n) { 705 if (t & 1 && P(0, Rl, 1, 0, "ng-container", 2), t & 2) { 706 let e = n.$implicit; 707 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, ss, e)); 708 } 709} 710function $l(t, n) { 711 t & 1 && R(0); 712} 713function Vl(t, n) { 714 if (t & 1 && P(0, $l, 1, 0, "ng-container", 2), t & 2) { 715 let e = n.$implicit; 716 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, as, e)); 717 } 718} 719function Ul(t, n) { 720 if (t & 1 && (a(0, "div", 1), p(1), v(2, "vnSolve"), v(3, "vnCurrency"), c()), t & 2) { 721 let e = o(2); 722 se("data-testid", Qe("amount", e.item.name)), s(), H(" ", g(3, 6, wt(2, 3, e.balanceFormula, n)), " "); 723 } 724} 725function zl(t, n) { 726 if (t & 1 && d(0, Ul, 4, 8, "div", 1), t & 2) { 727 let e; 728 m((e = o().balancePropertiesService.balanceInfo()) ? 0 : -1, e); 729 } 730} 731function Fl(t, n) { 732 t & 1 && (a(0, "div", 1), p(1), v(2, "vnCurrency"), c()), t & 2 && (se("data-testid", Qe("amount", o(2).item.name)), s(), H(" ", g(2, 3, n), " ")); 733} 734function Wl(t, n) { 735 t & 1 && (a(0, "div", 1), p(1), v(2, "vnCurrency"), c()), t & 2 && (se("data-testid", Qe("amount", o(2).item.name)), s(), f(g(2, 3, 0))); 736} 737function jl(t, n) { 738 if (t & 1 && (d(0, Fl, 3, 5, "div", 1), v(1, "async"), aa(2, Wl, 3, 5, "div", 1)), t & 2) { 739 let e; 740 m((e = g(1, 1, o().balanceValue)) ? 0 : 2, e); 741 } 742} 743function Gl(t, n) { 744 if (t & 1 && (Si(), h(0, "circle", 4)), t & 2) { 745 let e = n.$implicit; 746 r("ngClass", e.class), se("stroke-dasharray", e.dashArray)("stroke-dashoffset", e.dashOffset); 747 } 748} 749function Kl(t, n) { 750 t & 1 && h(0, "vn-donut-chart", 3), t & 2 && r("segments", o(2).chartSegments); 751} 752function ql(t, n) { 753 if (t & 1 && (a(0, "div", 1), d(1, Kl, 1, 1, "vn-donut-chart", 3), a(2, "div", 4), p(3), c(), h(4, "div", 5), v(5, "trustAsHtml"), c()), t & 2) { 754 let e = o(); 755 s(), m(e.chartSegments ? 1 : -1), s(2), f(e.text), s(), r("innerHtml", g(5, 3, e.additionalText), S); 756 } 757} 758function Xl(t, n) { 759 if (t & 1) { 760 let e = M(); 761 Me(0, "div", 0)(1, "button", 1), da("click", function(i) { 762 _(e); 763 let l = o(); 764 return x(l.processClick(i, l.item)); 765 }), Mt(2, "span"), Te()(); 766 } 767 if (t & 2) { 768 let e = o(); 769 s(2), He(e.item.class); 770 } 771} 772function Zl(t, n) { 773 t & 1 && R(0); 774} 775function Jl(t, n) { 776 if (t & 1 && P(0, Zl, 1, 0, "ng-container", 3), t & 2) { 777 let e = n.$implicit; 778 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, un, e)); 779 } 780} 781function Yl(t, n) { 782 if (t & 1 && (a(0, "div", 1), N(1, Jl, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 783 let e = o(); 784 r("ngClass", e.leftItems.class), s(), A(e.leftItems.children); 785 } 786} 787function Ql(t, n) { 788 t & 1 && R(0); 789} 790function eu(t, n) { 791 if (t & 1 && P(0, Ql, 1, 0, "ng-container", 3), t & 2) { 792 let e = n.$implicit; 793 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, un, e)); 794 } 795} 796function tu(t, n) { 797 if (t & 1 && (a(0, "div", 2), N(1, eu, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 798 let e = o(); 799 r("ngClass", e.rightItems.class), s(), A(e.rightItems.children); 800 } 801} 802function nu(t, n) { 803 t & 1 && h(0, "vn-content-messages", 0), t & 2 && r("messages", n); 804} 805function iu(t, n) { 806 t & 1 && h(0, "vn-donut-chart", 3), t & 2 && r("segments", o(2).chartSegments); 807} 808function su(t, n) { 809 if (t & 1 && (a(0, "div", 1), d(1, iu, 1, 1, "vn-donut-chart", 3), a(2, "div", 4), p(3), c(), h(4, "div", 5), v(5, "trustAsHtml"), c()), t & 2) { 810 let e = o(); 811 s(), m(e.chartSegments ? 1 : -1), s(2), f(e.text), s(), r("innerHtml", g(5, 3, e.additionalText), S); 812 } 813} 814function au(t, n) { 815 if (t & 1 && h(0, "vn-image", 2), t & 2) { 816 let e = n; 817 r("src", e.src)("alt", e.alt)("width", e.width)("height", e.height); 818 } 819} 820function ou(t, n) { 821 if (t & 1 && (a(0, "div", 0)(1, "a", 1), d(2, au, 1, 4, "vn-image", 2), c(), a(3, "div", 3), p(4), c()()), t & 2) { 822 let e, i = o(); 823 s(), r("href", i.model.url, De), s(), m((e = i.model.image) ? 2 : -1, e), s(2), f(i.model.text); 824 } 825} 826function cu(t, n) { 827 if (t & 1 && (a(0, "div", 1), h(1, "div", 4), v(2, "trustAsHtml"), h(3, "div", 5), v(4, "trustAsHtml"), h(5, "div", 6), v(6, "trustAsHtml"), h(7, "div", 7), v(8, "trustAsHtml"), c()), t & 2) { 828 let e = o(); 829 s(), r("innerHtml", g(2, 4, e.model.title), S), s(2), r("innerHtml", g(4, 6, e.model.currentPoints), S), s(2), r("innerHtml", g(6, 8, e.model.cashValue), S), s(2), r("innerHtml", g(8, 10, e.model.minRequiredPointsForRedeem), S); 830 } 831} 832function ru(t, n) { 833 if (t & 1 && (a(0, "div", 2), h(1, "div", 8), v(2, "trustAsHtml"), c()), t & 2) { 834 let e = o(); 835 s(), r("innerHtml", g(2, 1, e.nonVipMessage), S); 836 } 837} 838function lu(t, n) { 839 if (t & 1) { 840 let e = M(); 841 a(0, "vn-menu-item", 3), y("onClick", function(i) { 842 _(e); 843 let l = o(); 844 return x(l.processClick(i, l.item, !1)); 845 }), c(); 846 } 847 if (t & 2) { 848 let e = o(); 849 r("section", e.MenuSection.Menu)("item", e.item)("linkClass", e.linkClass)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 850 } 851} 852function uu(t, n) { 853 if (t & 1) { 854 let e = M(); 855 a(0, "vn-menu-item", 4), y("onClick", function(i) { 856 _(e); 857 let l = o(); 858 return x(l.processClick(i, l.item, !1)); 859 }), c(); 860 } 861 if (t & 2) { 862 let e = o(); 863 r("section", e.MenuSection.Menu)("item", e.item)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 864 } 865} 866function mu(t, n) { 867 if (t & 1) { 868 let e = M(); 869 a(0, "vn-menu-item", 5), y("onClick", function(i) { 870 _(e); 871 let l = o(); 872 return x(l.processClick(i, l.item, !1)); 873 }), c(); 874 } 875 if (t & 2) { 876 let e = o(); 877 r("section", e.MenuSection.Menu)("item", e.item)("linkClass", e.linkClass)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 878 } 879} 880function du(t, n) { 881 if (t & 1) { 882 let e = M(); 883 a(0, "vn-menu-item", 3), y("onClick", function(i) { 884 _(e); 885 let l = o(); 886 return x(l.processClick(i, l.item, !1)); 887 }), c(); 888 } 889 if (t & 2) { 890 let e = o(); 891 r("section", e.MenuSection.Menu)("item", e.item)("linkClass", e.linkClass)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 892 } 893} 894function hu(t, n) { 895 if (t & 1) { 896 let e = M(); 897 a(0, "vn-menu-item", 4), y("onClick", function(i) { 898 _(e); 899 let l = o(); 900 return x(l.processClick(i, l.item, !1)); 901 }), c(); 902 } 903 if (t & 2) { 904 let e = o(); 905 r("section", e.MenuSection.Menu)("item", e.item)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 906 } 907} 908function pu(t, n) { 909 if (t & 1) { 910 let e = M(); 911 a(0, "vn-menu-item", 5), y("onClick", function(i) { 912 _(e); 913 let l = o(); 914 return x(l.processClick(i, l.item, !1)); 915 }), c(); 916 } 917 if (t & 2) { 918 let e = o(); 919 r("section", e.MenuSection.Menu)("item", e.item)("linkClass", e.linkClass)("processClick", !1)("displayMode", e.MenuDisplayMode.FastIcon); 920 } 921} 922function vu(t, n) { 923 t & 1 && h(0, "vn-icon", 1); 924} 925function gu(t, n) { 926 t & 1 && h(0, "vn-icon", 2); 927} 928function fu(t, n) { 929 if (t & 1 && (a(0, "span"), p(1), c()), t & 2) { 930 let e = o(); 931 s(), f(e.item.resources?.night); 932 } 933} 934function bu(t, n) { 935 if (t & 1 && (a(0, "span"), p(1), c()), t & 2) { 936 let e = o(); 937 s(), f(e.item.resources?.light); 938 } 939} 940function ku(t, n) { 941 t & 1 && h(0, "vn-icon", 3); 942} 943function Cu(t, n) { 944 if (t & 1) { 945 let e = M(); 946 a(0, "div", 5)(1, "a", 6), y("click", function(i) { 947 return _(e), x(o(2).click(i)); 948 }), p(2), c()(); 949 } 950 if (t & 2) { 951 let e = o(2); 952 s(), r("href", e.item.url, De), s(), f(e.item.resources.SetLimitCtaText); 953 } 954} 955function Su(t, n) { 956 if (t & 1 && (a(0, "div", 0)(1, "div", 1)(2, "div", 2), d(3, ku, 1, 0, "vn-icon", 3), h(4, "div", 4), v(5, "trustAsHtml"), c(), d(6, Cu, 3, 2, "div", 5), c()()), t & 2) { 957 let e = o(); 958 s(), r("ngClass", e.isPathological ? "normative-feedback__warning" : "normative-feedback__info"), s(2), m(e.isPathological ? 3 : -1), s(), r("ngClass", V(7, rs, e.isPathological))("innerHTML", g(5, 5, e.description), S), s(2), m(e.isPathological ? 6 : -1); 959 } 960} 961function yu(t, n) { 962 t & 1 && h(0, "vn-icon", 3); 963} 964function wu(t, n) { 965 if (t & 1) { 966 let e = M(); 967 a(0, "div", 5)(1, "a", 6), y("click", function(i) { 968 return _(e), x(o(2).click(i)); 969 }), p(2), c()(); 970 } 971 if (t & 2) { 972 let e = o(2); 973 s(), r("href", e.item.url, De), s(), f(e.item.resources.SetLimitCtaText); 974 } 975} 976function _u(t, n) { 977 if (t & 1 && (a(0, "div", 0)(1, "div", 1)(2, "div", 2), d(3, yu, 1, 0, "vn-icon", 3), h(4, "div", 4), v(5, "trustAsHtml"), c(), d(6, wu, 3, 2, "div", 5), c()()), t & 2) { 978 let e = o(); 979 s(), r("ngClass", e.isPathological ? "normative-feedback__warning" : "normative-feedback__info"), s(2), m(e.isPathological ? 3 : -1), s(), r("ngClass", V(7, ls, e.isPathological))("innerHTML", g(5, 5, e.description), S), s(2), m(e.isPathological ? 6 : -1); 980 } 981} 982function xu(t, n) { 983 if (t & 1) { 984 let e = M(); 985 a(0, "div", 2), y("click", function() {
986 return _(e), x(o().restore()); 987 }), h(1, "vn-image", 3), c(); 988 } 989 if (t & 2) { 990 let e = o(); 991 s(), r("src", e.item.image.src); 992 } 993} 994function Mu(t, n) { 995 t & 1 && R(0); 996} 997function Du(t, n) { 998 if (t & 1 && P(0, Mu, 1, 0, "ng-container", 10), t & 2) { 999 let e = o().$implicit; 1000 r("vnDynamicComponent", n)("vnDynamicComponentAttr", V(2, ms, e)); 1001 } 1002} 1003function Tu(t, n) { 1004 if (t & 1 && d(0, Du, 1, 4, "ng-container"), t & 2) { 1005 let e, i = n.$implicit; 1006 m((e = o(2).getItemComponent(i.type)) ? 0 : -1, e); 1007 } 1008} 1009function Eu(t, n) { 1010 if (t & 1) { 1011 let e = M(); 1012 a(0, "div", 4), y("click", function() { 1013 return _(e), x(o().restore()); 1014 }), a(1, "div", 5)(2, "div", 6), h(3, "vn-image", 3), c(), h(4, "div", 7), v(5, "trustAsHtml"), h(6, "div", 8), a(7, "div", 9), N(8, Tu, 1, 1, null, null, U().trackByProp, !0), v(10, "dsl"), v(11, "async"), c()()(); 1015 } 1016 if (t & 2) { 1017 let e = o(); 1018 r("ngClass", V(10, us, e.scrolled)), s(3), r("src", e.item.image.src), s(), r("innerHtml", g(5, 4, e.item.text), S), s(2), r("vnElementKey", e.VanillaElements.ACCOUNT_MENU_HEADER_ANCHOR), s(2), A(g(11, 8, g(10, 6, e.item.children))); 1019 } 1020} 1021function Au(t, n) { 1022 if (t & 1) { 1023 let e = M(); 1024 a(0, "div", 3), y("click", function() { 1025 return _(e), x(o().restore()); 1026 }), a(1, "div", 4)(2, "div", 5), p(3), c(), h(4, "div", 6), c()(); 1027 } 1028 if (t & 2) { 1029 let e = o(); 1030 r("ngClass", V(3, hs, e.scrolled)), s(3), f(e.userService.displayName), s(), r("vnElementKey", e.VanillaElements.ACCOUNT_MENU_HEADER_ANCHOR); 1031 } 1032} 1033function Nu(t, n) { 1034 t & 1 && h(0, "vn-icon", 8), t & 2 && r("name", o(2).iconClass); 1035} 1036function Iu(t, n) { 1037 if (t & 1 && h(0, "vn-image", 9), t & 2) { 1038 let e = o(2); 1039 r("src", e.accountMenuVipService.vipIcon)("alt", e.accountMenuVipService.vipLabel); 1040 } 1041} 1042function Lu(t, n) { 1043 if (t & 1 && (a(0, "div", 14), p(1), c()), t & 2) { 1044 let e = o(3); 1045 r("ngClass", e.accountMenuVipService.vipLevel == null ? null : e.accountMenuVipService.vipLevel.toLowerCase()), s(), H(" ", e.accountMenuVipService.vipLabel, " "); 1046 } 1047} 1048function Pu(t, n) { 1049 t & 1 && R(0); 1050} 1051function Hu(t, n) { 1052 if (t & 1 && (a(0, "a", 13), P(1, Pu, 1, 0, "ng-container", 15), c()), t & 2) { 1053 o(); 1054 let e = ve(4); 1055 r("href", o(2).accountMenuVipService.vipUrl, De), s(), r("ngTemplateOutlet", e); 1056 } 1057} 1058function Bu(t, n) { 1059 if (t & 1 && (a(0, "div", 14), p(1), c()), t & 2) { 1060 let e = o(3); 1061 r("ngClass", e.accountMenuVipService.vipLevel == null ? null : e.accountMenuVipService.vipLevel.toLowerCase()), s(), H(" ", e.accountMenuVipService.vipLabel, " "); 1062 } 1063} 1064function Ru(t, n) { 1065 if (t & 1 && (a(0, "div", 11)(1, "div", 12), p(2), c(), P(3, Lu, 2, 2, "ng-template", null, 0, yt), d(5, Hu, 2, 2, "a", 13)(6, Bu, 2, 2, "div", 14), c()), t & 2) { 1066 let e = o(2); 1067 s(2), f(e.item.resources.VipText), s(3), m(e.accountMenuVipService.vipUrl ? 5 : 6); 1068 } 1069} 1070function Ou(t, n) { 1071 if (t & 1 && (a(0, "div", 2)(1, "div", 7), d(2, Nu, 1, 1, "vn-icon", 8), d(3, Iu, 1, 2, "vn-image", 9), c(), a(4, "div", 10)(5, "div", 5), p(6), c(), d(7, Ru, 7, 2, "div", 11), c()()), t & 2) { 1072 let e = o(); 1073 s(), r("ngClass", e.item.parameters["avatar-class"]), s(), m(!e.accountMenuVipService.isVip || !e.accountMenuVipService.vipIcon ? 2 : -1), s(), m(e.accountMenuVipService.isVip && e.accountMenuVipService.vipIcon ? 3 : -1), s(3), f(e.userService.displayName), s(), m(e.accountMenuVipService.isVip ? 7 : -1); 1074 } 1075} 1076function $u(t, n) { 1077 if (t & 1 && (a(0, "span", 3), p(1), c()), t & 2) { 1078 let e = o(2); 1079 s(), f(e.newMessagesText); 1080 } 1081} 1082function Vu(t, n) { 1083 if (t & 1 && (a(0, "div", 2), d(1, $u, 2, 1, "span", 3), c()), t & 2) { 1084 let e = o(); 1085 s(), m(e.newMessagesCount ? 1 : -1); 1086 } 1087} 1088function Uu(t, n) { 1089 t & 1 && R(0); 1090} 1091function zu(t, n) { 1092 if (t & 1 && P(0, Uu, 1, 0, "ng-container", 2), t & 2) { 1093 let e = n.$implicit; 1094 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, vs, e)); 1095 } 1096} 1097function Fu(t, n) { 1098 if (t & 1) { 1099 let e = M(); 1100 a(0, "button", 3), y("click", function() { 1101 return _(e), x(o().close()); 1102 }), h(1, "vn-icon", 4), c(); 1103 } 1104} 1105function Wu(t, n) { 1106 t & 1 && R(0); 1107} 1108function ju(t, n) { 1109 if (t & 1 && P(0, Wu, 1, 0, "ng-container", 3), t & 2) { 1110 let e = n.$implicit; 1111 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, fs, e)); 1112 } 1113} 1114function Gu(t, n) { 1115 if (t & 1 && (a(0, "div", 1), N(1, ju, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1116 let e = o(); 1117 s(), A(e.item.children); 1118 } 1119} 1120function Ku(t, n) { 1121 t & 1 && R(0); 1122} 1123function qu(t, n) { 1124 if (t & 1 && P(0, Ku, 1, 0, "ng-container", 3), t & 2) { 1125 let e = n.$implicit, i = o(2); 1126 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, wn, e, i.mode)); 1127 } 1128} 1129function Xu(t, n) { 1130 if (t & 1 && (a(0, "div", 2), N(1, qu, 1, 5, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1131 let e = o(); 1132 r("ngClass", e.item.class), s(), A(e.item.children); 1133 } 1134} 1135function Zu(t, n) { 1136 t & 1 && R(0); 1137} 1138function Ju(t, n) { 1139 if (t & 1 && P(0, Zu, 1, 0, "ng-container", 3), t & 2) { 1140 let e = n.$implicit, i = o(3); 1141 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, wn, e, i.mode)); 1142 } 1143} 1144function Yu(t, n) { 1145 if (t & 1) { 1146 let e = M(); 1147 a(0, "div", 2)(1, "div", 4)(2, "div", 5)(3, "div", 6), y("onSwipe", function(i) { 1148 let l = _(e); 1149 return x(o(2).onSwipe(i, l.position)); 1150 })("click", function() { 1151 let i = _(e); 1152 return x(o(2).setNextHeight(i.position)); 1153 }
1153), a(4, "span", 7), h(5, "span", 8)(6, "span", 9), c()(), a(7, "div", 10, 0), y("touchstart", function(i) { 1154 return _(e), x(o(2).onTouchStart(i)); 1155 })("touchend", function(i) { 1156 return _(e), x(o(2).onTouchEnd(i)); 1157 }), N(9, Ju, 1, 5, "ng-container", null, U().trackByProp, !0), c()()()(); 1158 } 1159 if (t & 2) { 1160 let e = n, i = o(2); 1161 r("ngClass", i.item.class), s(), Oe("height", e.height + "px"), s(3), r("ngClass", i.getIcon(e.position)), s(5), A(i.item.children); 1162 } 1163} 1164function Qu(t, n) { 1165 if (t & 1 && d(0, Yu, 11, 4, "div", 2), t & 2) { 1166 let e; 1167 m((e = o().accountMenuDrawerService.drawerPosition()) ? 0 : -1, e); 1168 } 1169} 1170function em(t, n) { 1171 t & 1 && R(0); 1172} 1173function tm(t, n) { 1174 t & 1 && h(0, "ds-divider"); 1175} 1176function nm(t, n) { 1177 if (t & 1 && (P(0, em, 1, 0, "ng-container", 2), d(1, tm, 1, 0, "ds-divider")), t & 2) { 1178 let e = n.$implicit, i = o(2); 1179 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(3, bs, e, i.mode)), s(), m(e.parameters?.useDsDivider ? 1 : -1); 1180 } 1181} 1182function im(t, n) { 1183 if (t & 1 && (a(0, "div", 0), N(1, nm, 2, 6, null, null, U().trackByProp, !0), c()), t & 2) { 1184 let e = o(); 1185 r("ngClass", e.item.class), s(), A(e.item.children); 1186 } 1187} 1188function sm(t, n) { 1189 t & 1 && R(0); 1190} 1191function am(t, n) { 1192 if (t & 1 && P(0, sm, 1, 0, "ng-container", 2), t & 2) { 1193 let e = n.$implicit; 1194 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, ks, e)); 1195 } 1196} 1197function om(t, n) { 1198 if (t & 1 && (a(0, "div", 1), N(1, am, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1199 let e = o(); 1200 s(), A(e.item.children); 1201 } 1202} 1203function cm(t, n) { 1204 if (t & 1) { 1205 let e = M(); 1206 a(0, "div", 2)(1, "ds-radio-button", 3), y("change", function() { 1207 let i = _(e).$implicit; 1208 return x(o(2).switchLabel(i)); 1209 }), p(2), c()(); 1210 } 1211 if (t & 2) { 1212 let e = n.$implicit; 1213 s(), r("value", e.name)("checked", e.isActive), s(), H(" ", e.text); 1214 } 1215} 1216function rm(t, n) { 1217 if (t & 1 && (a(0, "div", 0)(1, "ds-radio-group", 1), N(2, cm, 3, 3, "div", 2, U().trackByName, !0), c()()), t & 2) { 1218 let e = o(); 1219 r("ngClass", V(2, Cs, e.accountMenuDataService.singlePageMode)), s(), r("value", e.service.currentLabelItem()?.name ?? ""), s(), A(e.service.items()); 1220 } 1221} 1222function lm(t, n) { 1223 if (t & 1 && (Me(0, "div", 0), p(1), Te()), t & 2) { 1224 let e = o(2); 1225 s(), f(e.message); 1226 } 1227} 1228function um(t, n) { 1229 t & 1 && d(0, lm, 2, 1, "div", 0), t & 2 && m(o().show ? 0 : -1); 1230} 1231function mm(t, n) { 1232 if (t & 1 && (Me(0, "div", 1), p(1), Te()), t & 2) { 1233 let e = o(2); 1234 s(), f(e.message); 1235 } 1236} 1237function dm(t, n) { 1238 t & 1 && d(0, mm, 2, 1, "div", 1), t & 2 && m(o().show ? 0 : -1); 1239} 1240function hm(t, n) { 1241 t & 1 && R(0); 1242} 1243function pm(t, n) { 1244 if (t & 1 && P(0, hm, 1, 0, "ng-container", 2), t & 2) { 1245 let e = n.$implicit; 1246 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, kt, e)); 1247 } 1248} 1249function vm(t, n) { 1250 if (t & 1) { 1251 let e = M(); 1252 a(0, "vn-header-bar", 0), y("onBack", function() { 1253 return _(e), x(o().goBack()); 1254 })("onClose", function() { 1255 return _(e), x(o().close()); 1256 }), c(), a(1, "div", 1), N(2, pm, 1, 4, "ng-container", null, U().trackByProp, !0), c(); 1257 } 1258 if (t & 2) { 1259 let e = o(); 1260 r("title", e.item.text)("showClose", e.media.isActive("lt-md"))("showBack", e.showBack), s(2), A(e.item.children); 1261 } 1262} 1263function gm(t, n) { 1264 t & 1 && R(0); 1265} 1266function fm(t, n) { 1267 if (t & 1 && P(0, gm, 1, 0, "ng-container", 2), t & 2) { 1268 let e = n.$implicit; 1269 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, kt, e)); 1270 } 1271} 1272function bm(t, n) { 1273 if (t & 1) { 1274 let e = M(); 1275 a(0, "vn-header-bar", 0), y("onBack", function() { 1276 return _(e), x(o().goBack()); 1277 })("onClose", function() { 1278 return _(e), x(o().close()); 1279 }), c(), a(1, "div", 3), N(2, fm, 1, 4, "ng-container", null, U().trackByProp, !0), c(); 1280 } 1281 if (t & 2) { 1282 let e = o(); 1283 r("title", e.item.text)("showClose", !0)("showBack", e.showBack), s(), r("ngClass", e.item.parameters["list-layout-class"]), s(), A(e.item.children); 1284 } 1285} 1286function km(t, n) { 1287 t & 1 && R(0); 1288} 1289function Cm(t, n) { 1290 if (t & 1 && P(0, km, 1, 0, "ng-container", 2), t & 2) { 1291 let e = n.$implicit; 1292 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, kt, e)); 1293 } 1294} 1295function Sm(t, n) { 1296 if (t & 1) { 1297 let e = M(); 1298 a(0, "vn-header-bar", 4), y("onBack", function() { 1299 return _(e), x(o().goBack()); 1300 })("onClose", function() { 1301 return _(e), x(o().close()); 1302 }), c(), a(1, "div", 1), N(2, Cm, 1, 4, "ng-container", null, U().trackByProp, !0), c(); 1303 } 1304 if (t & 2) { 1305 let e = o(); 1306 r("title", e.item.text)("showClose", e.showCloseV4)("showBack", e.showBackV4), s(2), A(e.item.children); 1307 } 1308} 1309function ym(t, n) { 1310 t & 1 && R(0); 1311} 1312function wm(t, n) { 1313 if (t & 1 && P(0, ym, 1, 0, "ng-container", 1), t & 2) { 1314 let e = n.$implicit, i = o(2); 1315 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ss, e, i.mode)); 1316 } 1317} 1318function _m(t, n) { 1319 if (t & 1 && (a(0, "div"), N(1, wm, 1, 5, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1320 let e = o(); 1321 He(e.item.class), s(), A(e.item.children); 1322 } 1323} 1324function xm(t, n) { 1325 if (t & 1) { 1326 let e = M(); 1327 a(0, "vn-menu-item", 2), y("click", function() { 1328 return _(e), x(o().logout()); 1329 }), c(); 1330 } 1331 if (t & 2) { 1332 let e = o(); 1333 r("item", e.item)("displayMode", e.MenuDisplayMode.FastIcon)("section", e.MenuSection.Menu)("processClick", !1); 1334 } 1335} 1336function Mm(t, n) { 1337 if (t & 1) { 1338 let e = M(); 1339 a(0, "vn-menu-item", 3), y("click", function() { 1340 return _(e), x(o().logout()); 1341 }), c(); 1342 } 1343 if (t & 2) { 1344 let e = o(); 1345 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.MenuDisplayMode.FastIcon)("text", e.wait ? e.msg.PleaseWait : e.item.text || e.msg.SignOut)("processClick", !1); 1346 } 1347} 1348function Dm(t, n) { 1349 if (t & 1 && (a(0, "div", 0), h(1, "div", 1), v(2, "trustAsHtml"), a(3, "a", 2), h(4, "span", 3), v(5, "trustAsHtml"), c()()), t & 2) { 1350 let e = o(); 1351 s(), r("innerHtml", g(2, 4, e.model.title), S), s(2), r("ngClass", e.model.link.cssClass)("href", e.model.link.url, De), s(), r("innerHtml", g(5, 6, e.model.link.text), S); 1352 } 1353} 1354function Tm(t, n) { 1355 t & 1 && R(0); 1356} 1357function Em(t, n) { 1358 if (t & 1 && P(0, Tm, 1, 0, "ng-container", 1), t & 2) { 1359 let e = n.$implicit; 1360 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, ws, e)); 1361 } 1362} 1363function Am(t, n) { 1364 if (t & 1 && h(0, "vn-image", 1), t & 2) { 1365 let e = n; 1366 r("src", e.src)("alt", e.alt)("width", e.width)("height", e.height); 1367 } 1368} 1369function Nm(t, n) { 1370 if (t & 1 && (a(0, "div", 0), d(1, Am, 1, 4, "vn-image", 1), a(2, "div", 2), h(3, "div", 3), v(4, "trustAsHtml"), a(5, "div", 4), h(6, "span", 5), v(7, "trustAsHtml"), h(8, "span", 6), p(9), c()()()), t & 2) { 1371 let e, i = o(2); 1372 r("ngClass", i.mlife.tierItem == null ? null : i.mlife.tierItem.class), s(), m((e = i.mlife.tierItem?.image) ? 1 : -1, e), s(2), r("innerHtml", g(4, 6, i.mlife.userGreeting), S), s(3), r("ngClass", i.mlife.tierItem == null || i.mlife.tierItem.parameters == null ? null : i.mlife.tierItem.parameters["membership-class"])("innerHtml", g(7, 8, i.mlife.tierDescription), S), s(3), H(" #", i.mlife.tierNumber, " "); 1373 } 1374} 1375function Im(t, n) { 1376 t & 1 && d(0, Nm, 10, 10, "div", 0), t & 2 && m(o().mlife ? 0 : -1); 1377} 1378function Lm(t, n) { 1379 if (t & 1) { 1380 let e = M(); 1381 a(0, "div", 7), h(1, "div", 8), a(2, "div", 9), h(3, "div", 10), v(4, "trustAsHtml"), a(5, "div", 11), h(6, "span", 12), v(7, "trustAsHtml"), p(8), c(), a(9, "div", 13), h(10, "span", 14), v(11, "trustAsHtml"), a(12, "span", 15), y("click", function(i) { 1382 _(e); 1383 let l = o(2); 1384 return x(l.processClick(i, l.item)); 1385 }), a(13, "span", 16), p(14), c(), h(15, "vn-icon", 17), c()()()(); 1386 } 1387 if (t & 2) { 1388 let e = o(2); 1389 s(), Oe("background", "url(" + e.mlife.tierItem?.image?.src + ")")("background-size", "cover"), s(2), r("innerHtml", g(4, 10, e.mlife.fullNameLower), S), s(3), r("innerHtml", g(7, 12, e.mlife.tierNumberText), S), s(2), H(" ", e.mlife.tierNumber, " "), s(2), r("ngClass", e.mlife.tierItem == null ? null : e.mlife.tierItem.class)("innerHtml", g(11, 14, e.mlife.tierDescription), S), s(4), f(e.mlife.viewDetailsText); 1390 } 1391} 1392function Pm(t, n) { 1393 t & 1 && d(0, Lm, 16, 16, "div", 7), t & 2 && m(o().mlife ? 0 : -1); 1394} 1395function Hm(t, n) { 1396 if (t & 1 && (a(0, "div", 19)(1, "div", 20), h(2, "div", 21), v(3, "trustAsHtml"), a(4, "div", 22), p(5), c(), a(6, "div", 23), h(7, "span", 24), v(8, "trustAsHtml"), p(9, " - "), h(10, "span", 25), v(11, "trustAsHtml"), h(12, "vn-icon", 26), c()()()), t & 2) { 1397 let e = o(3); 1398 Oe("background", "url(" + e.mlife.tierItem?.image?.src + ")")("background-size", "cover"), s(), r("ngClass", e.mlife.tierItem == null ? null : e.mlife.tierItem.class), s(), r("innerHtml", g(3, 9, e.mlife.fullName), S), s(3), f(e.mlife.tierNumber), s(2), r("innerHtml", g(8, 11, e.mlife.tierDescription), S), s(3), r("innerHtml", g(11, 13, e.mlife.tierCredits), S); 1399 } 1400} 1401function Bm(t, n) { 1402 t & 1 && d(0, Hm, 13, 15, "div", 18), t & 2 && m(o(2).mlife ? 0 : -1); 1403} 1404function Rm(t, n) { 1405 t & 1 && d(0, Bm, 1, 1), t & 2 && m(o().mlife ? 0 : -1); 1406}
1407function Om(t, n) { 1408 t & 1 && h(0, "vn-donut-chart", 3), t & 2 && r("segments", o(2).chartSegments); 1409} 1410function $m(t, n) { 1411 if (t & 1 && (a(0, "div", 1), d(1, Om, 1, 1, "vn-donut-chart", 3), a(2, "div", 4), p(3), c(), h(4, "div", 5), v(5, "trustAsHtml"), c()), t & 2) { 1412 let e = o(); 1413 s(), m(e.chartSegments ? 1 : -1), s(2), f(e.text), s(), r("innerHtml", g(5, 3, e.additionalText), S); 1414 } 1415} 1416function Vm(t, n) { 1417 t & 1 && R(0); 1418} 1419function Um(t, n) { 1420 if (t & 1 && P(0, Vm, 1, 0, "ng-container", 1), t & 2) { 1421 let e = n.$implicit, i = o(); 1422 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, _s, e, i.mode)); 1423 } 1424} 1425function zm(t, n) { 1426 t & 1 && R(0); 1427} 1428function Fm(t, n) { 1429 if (t & 1 && P(0, zm, 1, 0, "ng-container", 3), t & 2) { 1430 let e = n.$implicit; 1431 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, Ds, e)); 1432 } 1433} 1434function Wm(t, n) { 1435 if (t & 1 && (a(0, "div", 2), p(1), c()), t & 2) { 1436 let e = o(); 1437 s(), f(e.count); 1438 } 1439} 1440function jm(t, n) { 1441 if (t & 1 && (a(0, "div", 3), h(1, "vn-icon", 7), c()), t & 2) { 1442 let e = o(); 1443 s(), r("name", e.item.parameters.iconClass); 1444 } 1445} 1446function Gm(t, n) { 1447 if (t & 1 && (a(0, "div", 5), p(1), c()), t & 2) { 1448 let e = o(); 1449 s(), f(e.text); 1450 } 1451} 1452function Km(t, n) { 1453 if (t & 1 && (a(0, "div", 6), p(1), c()), t & 2) { 1454 let e = o(); 1455 s(), f(e.description); 1456 } 1457} 1458function qm(t, n) { 1459 if (t & 1 && (G(0, 2), h(1, "div", 4), v(2, "trustAsHtml"), h(3, "div", 6), v(4, "trustAsHtml"), j()), t & 2) { 1460 let e = o(2); 1461 s(), r("innerHtml", g(2, 2, e.availablePointsTitle), S), s(2), r("innerHtml", g(4, 4, e.text), S); 1462 } 1463} 1464function Xm(t, n) { 1465 if (t & 1 && (a(0, "vn-am-tile", 0), d(1, qm, 5, 6, "ng-container", 2), G(2, 3), h(3, "div", 4), v(4, "trustAsHtml"), h(5, "div", 5), v(6, "trustAsHtml"), j(), c()), t & 2) { 1466 let e = o(); 1467 r("item", e.item), s(), m(e.text ? 1 : -1), s(2), r("innerHtml", g(4, 4, e.cashValueTitle), S), s(2), r("innerHtml", g(6, 6, e.cashbackAmount), S); 1468 } 1469} 1470function Zm(t, n) { 1471 t & 1 && h(0, "vn-donut-chart", 7), t & 2 && r("segments", o(2).chartSegments); 1472} 1473function Jm(t, n) { 1474 if (t & 1 && (a(0, "div", 8), p(1), c()), t & 2) { 1475 let e = o(2); 1476 s(), f(e.text); 1477 } 1478} 1479function Ym(t, n) { 1480 if (t & 1 && (a(0, "vn-am-tile", 1), d(1, Zm, 1, 1, "vn-donut-chart", 7), G(2, 3), d(3, Jm, 2, 1, "div", 8), h(4, "div", 4), v(5, "trustAsHtml"), j(), c()), t & 2) { 1481 let e = o(); 1482 r("cssClass", V(7, Ts, e.isCompleted))("item", e.item), s(), m(e.chartSegments ? 1 : -1), s(2), m(e.text ? 3 : -1), s(), r("innerHtml", g(5, 5, e.description), S); 1483 } 1484} 1485function Qm(t, n) { 1486 if (t & 1 && (G(0, 2), h(1, "div", 4), v(2, "trustAsHtml"), h(3, "div", 6), v(4, "trustAsHtml"), j()), t & 2) { 1487 let e = o(2); 1488 s(), r("innerHtml", g(2, 2, e.availablePointsTitle), S), s(2), r("innerHtml", g(4, 4, e.text), S); 1489 } 1490} 1491function ed(t, n) { 1492 if (t & 1 && (a(0, "vn-am-tile", 0), d(1, Qm, 5, 6, "ng-container", 2), G(2, 3), h(3, "div", 4), v(4, "trustAsHtml"), h(5, "div", 5), v(6, "trustAsHtml"), j(), c()), t & 2) { 1493 let e = o(); 1494 r("item", e.item), s(), m(e.text ? 1 : -1), s(2), r("innerHtml", g(4, 4, e.cashValueTitle), S), s(2), r("innerHtml", g(6, 6, e.cashbackAmount), S); 1495 } 1496} 1497function td(t, n) { 1498 t & 1 && h(0, "vn-donut-chart", 7), t & 2 && r("segments", o(2).chartSegments); 1499} 1500function nd(t, n) { 1501 if (t & 1 && (a(0, "div", 8), p(1), c()), t & 2) { 1502 let e = o(2); 1503 s(), f(e.text); 1504 } 1505} 1506function id(t, n) { 1507 if (t & 1 && (a(0, "vn-am-tile", 1), d(1, td, 1, 1, "vn-donut-chart", 7), G(2, 3), d(3, nd, 2, 1, "div", 8), h(4, "div", 4), v(5, "trustAsHtml"), j(), c()), t & 2) { 1508 let e = o(); 1509 r("cssClass", V(7, Es, e.isCompleted))("item", e.item), s(), m(e.chartSegments ? 1 : -1), s(2), m(e.text ? 3 : -1), s(), r("innerHtml", g(5, 5, e.description), S); 1510 } 1511} 1512function sd(t, n) { 1513 if (t & 1 && (G(0, 2), h(1, "div", 4), v(2, "trustAsHtml"), h(3, "div", 6), v(4, "trustAsHtml"), j()), t & 2) { 1514 let e = o(2); 1515 s(), r("innerHtml", g(2, 2, e.availablePointsTitle), S), s(2), r("innerHtml", g(4, 4, e.text), S); 1516 } 1517} 1518function ad(t, n) { 1519 if (t & 1 && (a(0, "vn-am-tile", 0), d(1, sd, 5, 6, "ng-container", 2), G(2, 3), h(3, "div", 4), v(4, "trustAsHtml"), h(5, "div", 5), v(6, "trustAsHtml"), j(), c()), t & 2) { 1520 let e = o(); 1521 r("item", e.item), s(), m(e.text ? 1 : -1), s(2), r("innerHtml", g(4, 4, e.cashValueTitle), S), s(2), r("innerHtml", g(6, 6, e.cashbackAmount), S); 1522 } 1523} 1524function od(t, n) { 1525 t & 1 && h(0, "vn-donut-chart", 7), t & 2 && r("segments", o(2).chartSegments); 1526} 1527function cd(t, n) { 1528 if (t & 1 && (a(0, "div", 8), p(1), c()), t & 2) { 1529 let e = o(2); 1530 s(), f(e.text); 1531 } 1532} 1533function rd(t, n) { 1534 if (t & 1 && (a(0, "vn-am-tile", 1), d(1, od, 1, 1, "vn-donut-chart", 7), G(2, 3), d(3, cd, 2, 1, "div", 8), h(4, "div", 4), v(5, "trustAsHtml"), j(), c()), t & 2) { 1535 let e = o(); 1536 r("cssClass", V(7, As, e.isCompleted))("item", e.item), s(), m(e.chartSegments ? 1 : -1), s(2), m(e.text ? 3 : -1), s(), r("innerHtml", g(5, 5, e.description), S); 1537 } 1538} 1539function ld(t, n) { 1540 t & 1 && R(0); 1541} 1542function ud(t, n) { 1543 if (t & 1 && (a(0, "div", 1), P(1, ld, 1, 0, "ng-container", 3), c()), t & 2) { 1544 let e = n.$implicit, i = o(); 1545 s(), r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", V(2, Is, e)); 1546 } 1547} 1548function md(t, n) { 1549 t & 1 && h(0, "vn-dynamic-layout-slot", 0), t & 2 && r("slot", n); 1550} 1551function dd(t, n) { 1552 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1553} 1554function hd(t, n) { 1555 if (t & 1) { 1556 let e = M(); 1557 a(0, "ds-card", 2)(1, "div", 3)(2, "div", 4), h(3, "vn-icon", 5), a(4, "div", 6), h(5, "div", 7), v(6, "trustAsHtml"), d(7, dd, 1, 1, "div", 8), c()(), a(8, "div", 9)(9, "a", 10), y("click", function(i) { 1558 _(e); 1559 let l = o(); 1560 return x(l.processClick(i, l.item)); 1561 }), p(10), c()()()(); 1562 } 1563 if (t & 2) { 1564 let e, i = o(); 1565 ie("ch-task-card--important", i.tasksService.isUrgent(i.item))("ch-task-card--onboarding", "onboarding"), r("elevated", !0)("radius", !0)("ngClass", i.item.class), s(3), r("name", i.tasksService.isUrgent(i.item) ? "theme-error-i" : "theme-ch-stories"), s(2), r("innerHtml", g(6, 11, i.item.text), S), s(2), m((e = i.item.resources.Description) ? 7 : -1, e), s(3), f(i.resources?.start ?? ""); 1566 } 1567} 1568function pd(t, n) { 1569 t & 1 && h(0, "vn-icon", 13); 1570} 1571function vd(t, n) { 1572 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1573} 1574function gd(t, n) { 1575 if (t & 1 && (d(0, pd, 1, 0, "vn-icon", 13), a(1, "div", 14)(2, "div", 15)(3, "div", 7), v(4, "trustAsHtml"), h(5, "vn-icon", 16), c(), d(6, vd, 1, 1, "div", 8), c()()), t & 2) { 1576 let e, i = o(2); 1577 m(i.tasksService.isUrgent(i.item) ? 0 : -1), s(), r("ngClass", "d-flex flex-direction-row"), s(2), r("innerHtml", g(4, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 6 : -1, e); 1578 } 1579} 1580function fd(t, n) { 1581 t & 1 && h(0, "vn-icon", 13); 1582} 1583function bd(t, n) { 1584 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1585} 1586function kd(t, n) { 1587 if (t & 1 && (d(0, fd, 1, 0, "vn-icon", 13), a(1, "div", 17), h(2, "span", 18)(3, "span", 19), c(), a(4, "div", 14), h(5, "vn-icon", 20), a(6, "div", 15)(7, "div", 7), v(8, "trustAsHtml"), h(9, "vn-icon", 16), c(), d(10, bd, 1, 1, "div", 8), c()()), t & 2) { 1588 let e, i = o(2); 1589 m(i.tasksService.isUrgent(i.item) ? 0 : -1), s(4), r("ngClass", "d-flex flex-direction-row"), s(3), r("innerHtml", g(8, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 10 : -1, e); 1590 } 1591} 1592function Cd(t, n) { 1593 if (t & 1) { 1594 let e = M(); 1595 a(0, "vn-icon", 23), y("click", function() { 1596 _(e); 1597 let i = o(3); 1598 return x(i.close(i.item)); 1599 }), c(); 1600 } 1601} 1602function Sd(t, n) { 1603 t & 1 && h(0, "vn-icon", 22); 1604} 1605function yd(t, n) { 1606 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1607} 1608function wd(t, n) { 1609 if (t & 1 && (d(0, Cd, 1, 0, "vn-icon", 21), d(1, Sd, 1, 0, "vn-icon", 22), a(2, "div")(3, "div", 15)(4, "div", 7), v(5, "trustAsHtml"), h(6, "vn-icon", 16), c(), d(7, yd, 1, 1, "div", 8), c()()), t & 2) { 1610 let e, i = o(2); 1611 m(!i.tasksService.isUrgent(i.item) && i.mode !== "page" ? 0 : -1), s(), m(i.tasksService.isUrgent(i.item) ? 1 : -1), s(3), r("innerHtml", g(5, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 7 : -1, e); 1612 } 1613} 1614function _d(t, n) { 1615 if (t & 1) { 1616 let e = M(); 1617 a(0, "ds-card", 11), y("click", function(i) { 1618 _(e); 1619 let l = o(); 1620 return x(l.processClick(i, l.item)); 1621 })("onSwipe", function(i) { 1622 _(e); 1623 let l = o(); 1624 return x(l.onSwipe(i, l.item)); 1625 }
1625), a(1, "div", 12), d(2, gd, 7, 6)(3, kd, 11, 6)(4, wd, 8, 6), c()(); 1626 } 1627 if (t & 2) { 1628 let e, i = o(); 1629 ie("ch-task-card--important", i.tasksService.isUrgent(i.item)), r("elevated", !0)("clickable", !0)("ngClass", i.item.class), s(2), m((e = i.item?.layout) === "adhoc" ? 2 : e === "onboarding" ? 3 : e === "deadline" ? 4 : -1); 1630 } 1631} 1632function xd(t, n) { 1633 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1634} 1635function Md(t, n) { 1636 if (t & 1) { 1637 let e = M(); 1638 a(0, "ds-card", 2)(1, "div", 3)(2, "div", 4), h(3, "vn-icon", 5), a(4, "div", 6), h(5, "div", 7), v(6, "trustAsHtml"), d(7, xd, 1, 1, "div", 8), c()(), a(8, "div", 9)(9, "a", 10), y("click", function(i) { 1639 _(e); 1640 let l = o(); 1641 return x(l.processClick(i, l.item)); 1642 }), p(10), c()()()(); 1643 } 1644 if (t & 2) { 1645 let e, i = o(); 1646 ie("ch-task-card--important", i.tasksService.isUrgent(i.item))("ch-task-card--onboarding", "onboarding"), r("elevated", !0)("radius", !0)("ngClass", i.item.class), s(3), r("name", i.tasksService.isUrgent(i.item) ? "theme-error-i" : "theme-ch-stories"), s(2), r("innerHtml", g(6, 11, i.item.text), S), s(2), m((e = i.item.resources.Description) ? 7 : -1, e), s(3), f(i.resources?.start ?? ""); 1647 } 1648} 1649function Dd(t, n) { 1650 t & 1 && h(0, "vn-icon", 13); 1651} 1652function Td(t, n) { 1653 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1654} 1655function Ed(t, n) { 1656 if (t & 1 && (d(0, Dd, 1, 0, "vn-icon", 13), a(1, "div", 14)(2, "div", 15)(3, "div", 7), v(4, "trustAsHtml"), h(5, "vn-icon", 16), c(), d(6, Td, 1, 1, "div", 8), c()()), t & 2) { 1657 let e, i = o(2); 1658 m(i.tasksService.isUrgent(i.item) ? 0 : -1), s(), r("ngClass", "d-flex flex-direction-row"), s(2), r("innerHtml", g(4, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 6 : -1, e); 1659 } 1660} 1661function Ad(t, n) { 1662 t & 1 && h(0, "vn-icon", 13); 1663} 1664function Nd(t, n) { 1665 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1666} 1667function Id(t, n) { 1668 if (t & 1 && (d(0, Ad, 1, 0, "vn-icon", 13), a(1, "div", 17), h(2, "span", 18)(3, "span", 19), c(), a(4, "div", 14), h(5, "vn-icon", 20), a(6, "div", 15)(7, "div", 7), v(8, "trustAsHtml"), h(9, "vn-icon", 16), c(), d(10, Nd, 1, 1, "div", 8), c()()), t & 2) { 1669 let e, i = o(2); 1670 m(i.tasksService.isUrgent(i.item) ? 0 : -1), s(4), r("ngClass", "d-flex flex-direction-row"), s(3), r("innerHtml", g(8, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 10 : -1, e); 1671 } 1672} 1673function Ld(t, n) { 1674 if (t & 1) { 1675 let e = M(); 1676 a(0, "vn-icon", 23), y("click", function() { 1677 _(e); 1678 let i = o(3); 1679 return x(i.close(i.item)); 1680 }), c(); 1681 } 1682} 1683function Pd(t, n) { 1684 t & 1 && h(0, "vn-icon", 22); 1685} 1686function Hd(t, n) { 1687 t & 1 && h(0, "div", 8), t & 2 && r("vnDynamicHtml", n); 1688} 1689function Bd(t, n) { 1690 if (t & 1 && (d(0, Ld, 1, 0, "vn-icon", 21), d(1, Pd, 1, 0, "vn-icon", 22), a(2, "div")(3, "div", 15)(4, "div", 7), v(5, "trustAsHtml"), h(6, "vn-icon", 16), c(), d(7, Hd, 1, 1, "div", 8), c()()), t & 2) { 1691 let e, i = o(2); 1692 m(!i.tasksService.isUrgent(i.item) && i.mode !== "page" ? 0 : -1), s(), m(i.tasksService.isUrgent(i.item) ? 1 : -1), s(3), r("innerHtml", g(5, 4, i.item.text), S), s(3), m((e = i.item.resources.Description) ? 7 : -1, e); 1693 } 1694} 1695function Rd(t, n) { 1696 if (t & 1) { 1697 let e = M(); 1698 a(0, "ds-card", 11), y("click", function(i) { 1699 _(e); 1700 let l = o(); 1701 return x(l.processClick(i, l.item)); 1702 })("onSwipe", function(i) { 1703 _(e); 1704 let l = o(); 1705 return x(l.onSwipe(i, l.item)); 1706 }), a(1, "div", 12), d(2, Ed, 7, 6)(3, Id, 11, 6)(4, Bd, 8, 6), c()(); 1707 } 1708 if (t & 2) { 1709 let e, i = o(); 1710 ie("ch-task-card--important", i.tasksService.isUrgent(i.item)), r("elevated", !0)("clickable", !0)("ngClass", i.item.class), s(2), m((e = i.item?.layout) === "adhoc" ? 2 : e === "onboarding" ? 3 : e === "deadline" ? 4 : -1); 1711 } 1712} 1713function Od(t, n) { 1714 if (t & 1 && (a(0, "div", 3), p(1), c()), t & 2) { 1715 let e = o(3); 1716 s(), H("", e.count, " Pending"); 1717 } 1718} 1719function $d(t, n) { 1720 t & 1 && R(0); 1721} 1722function Vd(t, n) { 1723 if (t & 1 && (a(0, "div", 6), P(1, $d, 1, 0, "ng-container", 8), c()), t & 2) { 1724 let e = n.$implicit, i = o(4); 1725 s(), r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ke, e, i.mode)); 1726 } 1727} 1728function Ud(t, n) { 1729 if (t & 1) { 1730 let e = M(); 1731 a(0, "div", 9), y("click", function() { 1732 return _(e), x(o(4).toggle()); 1733 }), p(1), h(2, "vn-icon", 10), c(); 1734 } 1735 if (t & 2) { 1736 let e = o(4); 1737 s(), vi(" ", e.item.resources.show, " ", e.item.resources[e.accountMenuTasksService.expanded ? "less" : "more"], " "); 1738 } 1739} 1740function zd(t, n) { 1741 if (t & 1 && (a(0, "div", 5), N(1, Vd, 2, 5, "div", 6, U().trackByProp, !0), c(), d(3, Ud, 3, 2, "div", 7)), t & 2) { 1742 let e = o(3); 1743 s(), A(e.items), s(2), m(e.items.length > 2 ? 3 : -1); 1744 } 1745} 1746function Fd(t, n) { 1747 if (t & 1 && (a(0, "div", 4)(1, "div", 11), p(2), c(), h(3, "div", 12), c()), t & 2) { 1748 let e = o(3); 1749 s(2), f(e.item.resources["no-pending-tasks-message"]), s(), r("vnDynamicHtml", e.item.resources["no-tasks-message"]); 1750 } 1751} 1752function Wd(t, n) { 1753 if (t & 1 && (a(0, "ds-card", 0)(1, "div", 1)(2, "div", 2), p(3), c(), d(4, Od, 2, 1, "div", 3), c(), d(5, zd, 4, 1), d(6, Fd, 4, 2, "div", 4), c()), t & 2) { 1754 let e = o(2); 1755 r("elevated", !0)("radius", !0)("ngClass", e.tasksExpandoClass), s(3), f(e.item.text), s(), m(e.items.length ? 4 : -1), s(), m(e.items.length ? 5 : -1), s(), m(e.items.length ? -1 : 6); 1756 } 1757}
1758function jd(t, n) { 1759 if (t & 1 && d(0, Wd, 7, 7, "ds-card", 0), t & 2) { 1760 let e = o(); 1761 m(e.items.length || e.mode === "page" ? 0 : -1); 1762 } 1763} 1764function Gd(t, n) { 1765 if (t & 1 && (a(0, "span", 20), p(1, " ("), a(2, "ds-notification-bubble", 21), p(3), c(), p(4), c()), t & 2) { 1766 let e = o(4); 1767 s(2), r("inverse", !0), s(), f(e.urgentCount), s(), H(" ", e.urgentLabel, ") "); 1768 } 1769} 1770function Kd(t, n) { 1771 if (t & 1) { 1772 let e = M(); 1773 a(0, "div", 16), y("click", function() { 1774 return _(e), x(o(3).gotoProfile()); 1775 }), a(1, "div", 17)(2, "span", 18), h(3, "span", 19), v(4, "trustAsHtml"), c(), d(5, Gd, 5, 3, "span", 20), c()(); 1776 } 1777 if (t & 2) { 1778 let e = o(3); 1779 s(3), r("innerHtml", g(4, 2, e.pendingMessage), S), s(2), m(e.urgentCount ? 5 : -1); 1780 } 1781} 1782function qd(t, n) { 1783 t & 1 && R(0); 1784} 1785function Xd(t, n) { 1786 if (t & 1 && P(0, qd, 1, 0, "ng-container", 8), t & 2) { 1787 let e = n.$implicit, i = o(3); 1788 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ke, e, i.mode)); 1789 } 1790} 1791function Zd(t, n) { 1792 if (t & 1 && (d(0, Kd, 6, 4, "div", 14), a(1, "div", 15), N(2, Xd, 1, 5, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1793 let e = o(2); 1794 m(e.items.length > 0 ? 0 : -1), s(), r("hidden", !0), s(), A(e.items); 1795 } 1796} 1797function Jd(t, n) { 1798 if (t & 1 && (p(0, " ("), a(1, "span", 27), p(2), c(), p(3)), t & 2) { 1799 let e = o(4); 1800 s(2), f(e.urgentCount), s(), H(" ", e.urgentLabel, ") "); 1801 } 1802} 1803function Yd(t, n) { 1804 if (t & 1 && (a(0, "span", 25), p(1), c(), a(2, "span", 26), p(3), d(4, Jd, 4, 2), c()), t & 2) { 1805 let e = o(3); 1806 s(), f(e.count), s(2), H(" ", e.pendingLabel, " "), s(), m(e.urgentCount ? 4 : -1); 1807 } 1808} 1809function Qd(t, n) { 1810 t & 1 && (h(0, "span", 19), v(1, "trustAsHtml")), t & 2 && r("innerHtml", g(1, 1, o(3).item.resources.none), S); 1811} 1812function eh(t, n) { 1813 t & 1 && R(0); 1814} 1815function th(t, n) { 1816 if (t & 1 && P(0, eh, 1, 0, "ng-container", 8), t & 2) { 1817 let e = n.$implicit, i = o(4); 1818 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ke, e, i.mode)); 1819 } 1820} 1821function nh(t, n) { 1822 if (t & 1) { 1823 let e = M(); 1824 a(0, "div", 29), y("click", function() { 1825 return _(e), x(o(4).toggle()); 1826 }), p(1), c(); 1827 } 1828 if (t & 2) { 1829 let e = o(4); 1830 s(), vi(" ", e.item.resources.show, " ", e.item.resources[e.accountMenuTasksService.expanded ? "less" : "more"], " "); 1831 } 1832} 1833function ih(t, n) { 1834 if (t & 1 && (a(0, "div", 5), N(1, th, 1, 5, "ng-container", null, U().trackByProp, !0), c(), d(3, nh, 2, 2, "div", 28)), t & 2) { 1835 let e = o(3); 1836 s(), A(e.items), s(2), m(e.items.length > 2 ? 3 : -1); 1837 } 1838} 1839function sh(t, n) { 1840 t & 1 && h(0, "div", 24), t & 2 && r("vnDynamicHtml", o(3).item.resources["no-tasks-message"]); 1841} 1842function ah(t, n) { 1843 if (t & 1 && (a(0, "ds-card", 13)(1, "div", 1)(2, "div", 22), p(3), c(), a(4, "div", 23), d(5, Yd, 5, 3), d(6, Qd, 2, 3, "span", 19), c()(), d(7, ih, 4, 1), d(8, sh, 1, 1, "div", 24), c()), t & 2) { 1844 let e = o(2); 1845 r("ngClass", e.tasksExpandoClass), s(3), f(e.item.text), s(2), m(e.items.length > 0 ? 5 : -1), s(), m(e.items.length === 0 ? 6 : -1), s(), m(e.items.length > 0 ? 7 : -1), s(), m(e.items.length === 0 ? 8 : -1); 1846 } 1847} 1848function oh(t, n) { 1849 if (t & 1) { 1850 let e = M(); 1851 a(0, "span", 35), y("click", function(i) { 1852 return _(e), x(o(4).showAllHidden(i)); 1853 }), p(1, "("), a(2, "u"), p(3), c(), p(4, ")"), c(); 1854 } 1855 if (t & 2) { 1856 let e = o(4); 1857 s(3), f(e.item.resources["show-all"]); 1858 } 1859} 1860function ch(t, n) { 1861 t & 1 && R(0); 1862} 1863function rh(t, n) { 1864 if (t & 1 && P(0, ch, 1, 0, "ng-container", 8), t & 2) { 1865 let e = n.$implicit, i = o(4); 1866 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ke, e, i.mode)); 1867 } 1868} 1869function lh(t, n) { 1870 if (t & 1) { 1871 let e = M(); 1872 a(0, "div", 30)(1, "div", 1)(2, "div", 32), p(3), c(), a(4, "div", 23)(5, "span", 25), p(6), c(), d(7, oh, 5, 1, "span"), c()(), a(8, "ds-card", 33)(9, "div", 34), y("onSwipe", function(i) { 1873 return _(e), x(o(3).onSwipe(i)); 1874 })("click", function() { 1875 return _(e), x(o(3).toggle()); 1876 }), N(10, rh, 1, 5, "ng-container", null, U().trackByProp, !0), c()()(); 1877 } 1878 if (t & 2) { 1879 let e = o(3); 1880 s(3), H("", e.item.text, ":"), s(3), H("", e.accountMenuTasksService.totalCount, " "), s(), m(e.accountMenuTasksService.hasHidden() ? 7 : -1), s(), r("ngClass", e.tasksExpandoClass), s(2), A(e.items); 1881 } 1882} 1883function uh(t, n) { 1884 if (t & 1 && (d(0, lh, 12, 4, "div", 30), h(1, "div", 31)), t & 2) { 1885 let e = o(2); 1886 m(e.items.length > 0 || e.accountMenuTasksService.hasHidden() ? 0 : -1), s(), r("vnElementKey", e.VanillaElements.ACCOUNT_MENU_TASKS_ANCHOR); 1887 } 1888} 1889function mh(t, n) { 1890 if (t & 1 && (d(0, Zd, 4, 2), d(1, ah, 9, 6, "ds-card", 13), d(2, uh, 2, 2)), t & 2) { 1891 let e = o(); 1892 m(e.template === "menu" ? 0 : -1), s(), m(e.template === "page" ? 1 : -1), s(), m(e.template === "menu-mobile" ? 2 : -1); 1893 } 1894} 1895function dh(t, n) { 1896 if (t & 1 && (a(0, "div", 0)(1, "div", 1), p(2), c(), a(3, "div", 2), p(4), v(5, "number"), c()()), t & 2) { 1897 let e = o(); 1898 r("ngClass", e.item.name), s(2), f(e.text), s(2), f(wt(5, 3, e.balance, "1.2-2")); 1899 } 1900} 1901function hh(t, n) { 1902 if (t & 1) { 1903 let e = M(); 1904 h(0, "div", 1), v(1, "trustAsHtml"), a(2, "div", 2), h(3, "span", 3), v(4, "trustAsHtml"), h(5, "span", 3), v(6, "trustAsHtml"), a(7, "span", 4), y("click", function(i) { 1905 _(e); 1906 let l = o(); 1907 return x(l.processClick(i, l.item)); 1908 }), a(8, "span"), p(9), c(), h(10, "vn-icon", 5), c()(); 1909 } 1910 if (t & 2) { 1911 let e = o(); 1912 r("innerHtml", g(1, 4, e.mlife.userGreeting), S), s(3), r("innerHtml", g(4, 6, e.mlife.tierNumberText), S), s(2), r("innerHtml", g(6, 8, e.mlife.tierDescription), S), s(4), f(e.mlife.viewDetailsText); 1913 } 1914} 1915function ph(t, n) { 1916 t & 1 && h(0, "vn-icon", 7), t & 2 && (o(), r("dsTooltipTriggerFor", ve(12))("closeOnScroll", !0)("closeOnInteraction", !0)); 1917} 1918function vh(t, n) { 1919 if (t & 1) { 1920 let e = M(); 1921 a(0, "ds-tooltip-content", 11)(1, "div", 12), p(2), c(), a(3, "div", 13)(4, "button", 14), y("click", function() { 1922 return _(e), x(o().goToCustomerCare()); 1923 }), p(5, " Contact Customer Care "), c()()(); 1924 } 1925 if (t & 2) { 1926 let e = o(); 1927 r("variant", "utility"), s(2), f(e.item.toolTip), s(2), r("inverse", !0); 1928 } 1929} 1930function gh(t, n) { 1931 t & 1 && R(0); 1932} 1933function fh(t, n) { 1934 t & 1 && h(0, "ds-divider"); 1935} 1936function bh(t, n) { 1937 if (t & 1 && (P(0, gh, 1, 0, "ng-container", 15), d(1, fh, 1, 0, "ds-divider")), t & 2) { 1938 let e = n.$implicit, i = n.$index, l = n.$count; 1939 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(3, Hs, e)), s(), m(i !== l - 1 ? 1 : -1); 1940 } 1941} 1942function kh(t, n) { 1943 if (t & 1 && (a(0, "div", 10), N(1, bh, 2, 5, null, null, U().trackByProp, !0), c()), t & 2) { 1944 let e = o(); 1945 s(), A(e.item.children); 1946 } 1947} 1948function Ch(t, n) { 1949 if (t & 1 && (a(0, "span"), p(1), v(2, "vnCurrency"), c()), t & 2) { 1950 let e = o(2); 1951 s(), H(" ", g(2, 1, e.balance), " "); 1952 } 1953} 1954function Sh(t, n) { 1955 if (t & 1 && (a(0, "div", 0)(1, "span"), p(2), c(), d(3, Ch, 3, 3, "span"), c()), t & 2) { 1956 let e = o(); 1957 r("ngClass", e.item.class), s(2), f(e.item.text), s(), m(e.balance >= 0 ? 3 : -1); 1958 } 1959} 1960function yh(t, n) { 1961 t & 1 && R(0); 1962} 1963function wh(t, n) { 1964 if (t & 1 && P(0, yh, 1, 0, "ng-container", 6), t & 2) { 1965 let e = n.$implicit; 1966 r("vnDynamicComponent", o().getItemComponent(e.type))("vnDynamicComponentAttr", V(2, Bs, e)); 1967 } 1968} 1969function _h(t, n) { 1970 if (t & 1 && (a(0, "div", 2), h(1, "vn-image", 15), c()), t & 2) { 1971 let e = o(); 1972 s(), r("alt", e.item.image.alt)("height", e.item.image.height)("src", e.item.image.src)("width", e.item.image.width); 1973 } 1974} 1975function xh(t, n) { 1976 t & 1 && R(0); 1977} 1978function Mh(t, n) { 1979 if (t & 1 && P(0, xh, 1, 0, "ng-container", 16), t & 2) { 1980 let e = n.$implicit; 1981 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, Rs, e)); 1982 } 1983} 1984function Dh(t, n) { 1985 if (t & 1 && (a(0, "div", 14), N(1, Mh, 1, 4, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 1986 let e = o(); 1987 s(), A(e.ctaItems); 1988 } 1989} 1990function Th(t, n) { 1991 if (t & 1 && h(0, "vn-image", 7), t & 2) { 1992 let e = n; 1993 r("src", e.src)("alt", e.alt)("width", e.width)("height", e.height); 1994 } 1995} 1996function Eh(t, n) { 1997 t & 1 && h(0, "span", 8), t & 2 && r("ngClass", o(3).item.parameters.icon); 1998} 1999function Ah(t, n) { 2000 if (t & 1 && (a(0, "div", 4)(1, "div", 5)(2, "span", 6), d(3, Th, 1, 4, "vn-image", 7)(4, Eh, 1, 1, "span", 8), c(), a(5, "span", 9), p(6), c()(), h(7, "vn-icon", 10), c(), h(8, "ds-divider")), t & 2) { 2001 let e, i = n, l = o(2); 2002 s(3), m((e = l.item.image) ? 3 : 4, e), s(3), f(i), s(), se("aria-label", i); 2003 } 2004} 2005function Nh(t, n) { 2006 if (t & 1 && (h(0, "ds-divider"), a(1, "div", 11), h(2, "vn-icon", 12)(3, "span", 13), c()), t & 2) { 2007 let e = o(2); 2008 s(3), r("vnDynamicHtml", e.footerContent); 2009 } 2010} 2011function Ih(t, n) { 2012 if (t & 1) { 2013 let e = M(); 2014 a(0, "ds-card", 2), y("click", function(i) { 2015 _(e); 2016 let l = o(); 2017 return x(l.processClick(i, l.item)); 2018 }), a(1, "ds-card-content"), d(2, Ah, 9, 3), a(3, "div", 3), _t(4), c(), d(5, Nh, 4, 1), c()(); 2019 } 2020 if (t & 2) { 2021 let e, i = o(); 2022 r("clickable", i.isClickable)("elevated", !0), s(2), m((e = i.item.text) ? 2 : -1, e), s(3), m(i.footerContent ? 5 : -1); 2023 } 2024} 2025function Lh(t, n) { 2026 t & 1 && h(0, "vn-skeleton", 1), t & 2 && r("type", o().SkeletonType.AccountMenuW
2026idget); 2027} 2028function Ph(t, n) { 2029 t & 1 && h(0, "div", 2), t & 2 && r("innerHtml", o().descriptionV3, S); 2030} 2031function Hh(t, n) { 2032 t & 1 && h(0, "div", 5), t & 2 && r("innerHtml", o(2).left, S); 2033} 2034function Bh(t, n) { 2035 if (t & 1 && (a(0, "div", 3), p(1), c(), a(2, "div", 4), h(3, "div", 5), d(4, Hh, 1, 1, "div", 5), c()), t & 2) { 2036 let e = o(); 2037 r("ngClass", Q(4, $s, e.isCompleted, !e.isCompleted)), s(), H(" ", e.cashbackAmount, " "), s(2), r("innerHtml", e.minCollection, S), s(), m(e.left ? 4 : -1); 2038 } 2039} 2040function Rh(t, n) { 2041 t & 1 && h(0, "div", 2), t & 2 && r("innerHtml", o().descriptionV3, S); 2042} 2043function Oh(t, n) { 2044 t & 1 && h(0, "div", 5), t & 2 && r("innerHtml", o(2).left, S); 2045} 2046function $h(t, n) { 2047 if (t & 1 && (a(0, "div", 3), p(1), c(), a(2, "div", 4), h(3, "div", 5), d(4, Oh, 1, 1, "div", 5), c()), t & 2) { 2048 let e = o(); 2049 r("ngClass", Q(4, Vs, e.isCompleted, !e.isCompleted)), s(), H(" ", e.cashbackAmount, " "), s(2), r("innerHtml", e.minCollection, S), s(), m(e.left ? 4 : -1); 2050 } 2051} 2052function Vh(t, n) { 2053 t & 1 && h(0, "div", 2), t & 2 && r("innerHtml", o().descriptionV3, S); 2054} 2055function Uh(t, n) { 2056 t & 1 && h(0, "div", 5), t & 2 && r("innerHtml", o(2).left, S); 2057} 2058function zh(t, n) { 2059 if (t & 1 && (a(0, "div", 3), p(1), c(), a(2, "div", 4), h(3, "div", 5), d(4, Uh, 1, 1, "div", 5), c()), t & 2) { 2060 let e = o(); 2061 r("ngClass", Q(4, Us, e.isCompleted, !e.isCompleted)), s(), H(" ", e.cashbackAmount, " "), s(2), r("innerHtml", e.minCollection, S), s(), m(e.left ? 4 : -1); 2062 } 2063} 2064function Fh(t, n) { 2065 if (t & 1 && h(0, "vn-am-user-documents", 1), t & 2) { 2066 let e = o(); 2067 r("userDocuments", n)("item", e.item); 2068 } 2069} 2070function Wh(t, n) { 2071 if (t & 1 && (a(0, "div", 2), h(1, "div", 10), c()), t & 2) { 2072 let e = o(); 2073 s(), r("ngClass", e == null ? null : e.arrowClass); 2074 } 2075} 2076function jh(t, n) { 2077 if (t & 1 && (a(0, "div", 8), h(1, "div", 7), v(2, "trustAsHtml"), c()), t & 2) { 2078 let e = o(); 2079 s(), r("innerHtml", g(2, 1, e.limitNotReachedText), S); 2080 } 2081} 2082function Gh(t, n) { 2083 if (t & 1 && (a(0, "div", 9), h(1, "vn-icon", 11)(2, "div", 12), c()), t & 2) { 2084 let e = o(); 2085 s(2), r("vnDynamicHtml", e.limitReachedText); 2086 } 2087} 2088function Kh(t, n) { 2089 if (t & 1 && (a(0, "div", 1), d(1, Wh, 2, 1, "div", 2), a(2, "div"), p(3), v(4, "vnCurrency"), c()(), a(5, "div", 3), p(6), c(), a(7, "div", 4), h(8, "div", 5), c(), a(9, "div", 6)(10, "span"), p(11), c(), h(12, "span", 7), c(), d(13, jh, 3, 3, "div", 8)(14, Gh, 3, 1, "div", 9)), t & 2) { 2090 let e = n, i = o(); 2091 s(), m(e?.arrowClass ? 1 : -1), s(2), f(g(4, 8, e == null ? null : e.totalNetDeposit)), s(3), f(e?.de
2091scription), s(2), Oe("width", e?.percentageElapsed, "%"), s(3), f(i.item.resources.GlobalLossLimit), s(), r("innerHtml", e.limitText, S), s(), m(e?.remainingDeposit && e.remainingDeposit > 0 ? 13 : 14); 2092 } 2093} 2094function qh(t, n) { 2095 if (t & 1 && (a(0, "div", 3), h(1, "div", 9), c()), t & 2) { 2096 let e = o(); 2097 s(), r("ngClass", e == null ? null : e.arrowClass); 2098 } 2099} 2100function Xh(t, n) { 2101 t & 1 && R(0); 2102} 2103function Zh(t, n) { 2104 if (t & 1 && P(0, Xh, 1, 0, "ng-container", 10), t & 2) { 2105 let e = n.$implicit; 2106 r("vnDynamicComponent", o(2).getItemComponent(e.type))("vnDynamicComponentAttr", V(2, Fs, e)); 2107 } 2108} 2109function Jh(t, n) { 2110 if (t & 1 && (a(0, "div", 8), h(1, "div", 11), c()), t & 2) { 2111 let e = o(2); 2112 s(), r("vnDynamicHtml", e.item.resources.FooterText); 2113 } 2114} 2115function Yh(t, n) { 2116 if (t & 1 && (a(0, "span", 1), p(1), c(), a(2, "div", 2), d(3, qh, 2, 1, "div", 3), a(4, "div"), p(5), v(6, "vnCurrency"), c()(), a(7, "div", 4), p(8), c(), a(9, "div", 5)(10, "span"), p(11), c(), a(12, "span", 6), p(13), v(14, "vnCurrency"), c()(), a(15, "div", 7)(16, "span"), p(17), c(), a(18, "span", 6), p(19), v(20, "vnCurrency"), c()(), a(21, "div"), N(22, Zh, 1, 4, "ng-container", null, U().trackByProp, !0), c(), d(24, Jh, 2, 1, "div", 8)), t & 2) { 2117 let e = n, i = o(); 2118 s(), f(e.rangeText), s(2), m(e?.arrowClass ? 3 : -1), s(2), f(g(6, 9, e == null ? null : e.balance)), s(3), f(i.item.resources.Description), s(3), f(i.item.resources.TotalDepositText), s(2), f(g(14, 11, e == null ? null : e.totalDeposit)), s(4), f(i.item.resources.TotalWithdrawalsText), s(2), f(g(20, 13, e == null ? null : e.totalWithdrawals)), s(3), A(i.item.children), s(2), m(i.showFooterText() ? 24 : -1); 2119 } 2120} 2121function Qh(t, n) { 2122 if (t & 1 && (a(0, "div", 4), h(1, "div", 9), c()), t & 2) { 2123 let e = o(); 2124 s(), r("ngClass", e == null ? null : e.arrowClass); 2125 } 2126} 2127function ep(t, n) { 2128 t & 1 && R(0); 2129} 2130function tp(t, n) { 2131 if (t & 1 && P(0, ep, 1, 0, "ng-container", 10), t & 2) { 2132 let e = n.$implicit, i = o(2); 2133 r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, Ws, e, i.profitLossData())); 2134 } 2135} 2136function np(t, n) { 2137 if (t & 1 && (a(0, "span", 2), p(1), c(), a(2, "div", 3), d(3, Qh, 2, 1, "div", 4), a(4, "div"), p(5), v(6, "vnCurrency"), c()(), a(7, "div", 5)(8, "div", 6)(9, "span", 7), p(10), c(), a(11, "span", 8), p(12), v(13, "vnCurrency"), c()(), a(14, "div", 6)(15, "span", 7), p(16), c(), a(17, "span", 8), p(18), v(19, "vnCurrency"), c()()(), a(20, "div"), N(21, tp, 1, 5, "ng-container", null, U().trackByProp, !0), c()), t & 2) { 2138 let e = n, i = o(); 2139 s(), f(e.rangeText), s(2), m(e?.arrowClass ? 3 : -1), s(2), f(g(6, 7, e == null ? null : e.balance)), s(5), f(i.item.resources.StakesText), s(2), f(g(13, 9, e == null ? null : e.totalStake)), s(4), f(i.item.resources.ReturnsText), s(2), f(g(19, 11, e == null ? null : e.totalReturn)), s(3), A(i.item.children); 2140 } 2141} 2142function ip(t, n) { 2143 t & 1 && (a(0, "div", 1), h(1, "div", 11), c()), t & 2 && (s(), r("innerText", n)); 2144} 2145function sp(t, n) { 2146 t & 1 && (h(0, "div", 1), v(1, "trustAsHtml")), t & 2 && r("innerHtml", g(1, 1, n), S); 2147} 2148function ap(t, n) { 2149 t & 1 && h(0, "div", 2), t & 2 && r("vnDynamicHtml", n); 2150} 2151function op(t, n) { 2152 if (t & 1 && (a(0, "div"), p(1), v(2, "vnTotalTime"), c()), t & 2) { 2153 let e = o(); 2154 s(), H(" ", ca(2, 1, e, "short", "HM", !1), " "); 2155 } 2156} 2157function cp(t, n) { 2158 if (t & 1 && d(0, op, 3, 6, "div"), t & 2) { 2159 let e = o(2); 2160 m(n.totalMinutes && !e.isBelowActiveTimeThreshold() ? 0 : -1); 2161 } 2162} 2163function rp(t, n) { 2164 if (t & 1 && (h(0, "div", 3), v(1, "format")), t & 2) { 2165 let e = o(2); 2166 r("innerText", wt(1, 1, e.item.resources.EmptyAveragePeriod, e.item.parameters.averagePeriodThresholdInMinutes)); 2167 } 2168} 2169function lp(t, n) { 2170 if (t & 1 && h(0, "div", 10), t & 2) { 2171 let e = n.$implicit; 2172 Oe("width", e.percentage, "%"), r("ngClass", e.colorClass); 2173 } 2174} 2175function up(t, n) { 2176 if (t & 1 && (a(0, "div", 9), h(1, "span", 11), a(2, "span", 12), p(3), c()()), t & 2) { 2177 let e = n.$implicit; 2178 s(), r("ngClass", e.colorClass), s(2), f(e.product); 2179 } 2180} 2181function mp(t, n) { 2182 if (t & 1 && (a(0, "div", 5), p(1), c(), a(2, "div", 6), N(3, lp, 1, 3, "div", 7, U().trackByProduct, !0), c(), a(5, "div", 8), N(6, up, 4, 2, "div", 9, U().trackByProduct, !0), c()), t & 2) { 2183 let e = o(3); 2184 s(), f(e.item.resources.Description), s(2), A(e.percentByProduct()), s(3), A(e.percentByProduct()); 2185 } 2186} 2187function dp(t, n) { 2188 if (t & 1 && (a(0, "div", 4), h(1, "div", 3), c()), t & 2) { 2189 let e = o(3); 2190 s(), r("innerText", e.item.resources.EmptyValuesText); 2191 } 2192} 2193function hp(t, n) { 2194 t & 1 && d(0, mp, 8, 1)(1, dp, 2, 1, "div", 4), t & 2 && m(o(2).percentByProduct().length ? 0 : 1); 2195} 2196function pp(t, n) { 2197 if (t & 1 && (a(0, "span", 1), p(1), c(), a(2, "div", 2), d(3, cp, 1, 1), d(4, rp, 2, 4, "div", 3), c(), d(5, hp, 2, 1)), t & 2) { 2198 let e, i = o(); 2199 s(), f(i.aggregationTypeText()), s(2), m((e = i.activeTimeSpent()) ? 3 : -1, e), s(), m(i.isBelowActiveTimeThreshold() ? 4 : -1), s(), m(i.isBelowActiveTimeThreshold() ? -1 : 5); 2200 } 2201} 2202function vp(t, n) { 2203 t & 1 && R(0); 2204} 2205function gp(t, n) { 2206 if (t & 1 && (a(0, "div", 0), P(1, vp, 1, 0, "ng-container", 1), c()), t & 2) { 2207 let e = n.$implicit, i = o(3); 2208 s(), r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, li, e, i.mode)); 2209 } 2210} 2211function fp(t, n) { 2212 t & 1 && N(0, gp, 2, 5, "div", 0, U().trackByProp, !0), t & 2 && A(o(2).items()); 2213} 2214function bp(t, n) { 2215 t & 1 && R(0); 2216} 2217function kp(t, n) { 2218 if (t & 1 && (a(0, "div", 2), P(1, bp, 1, 0, "ng-container", 1), c()), t & 2) { 2219 let e = n.$implicit, i = o(3); 2220 s(), r("vnDynamicComponent", i.getItemComponent(e.type))("vnDynamicComponentAttr", Q(2, li, e, i.mode)); 2221 } 2222} 2223function Cp(t, n) { 2224 t & 1 && N(0, kp, 2, 5, "div", 2, U().trackByProp, !0), t & 2 && A(o(2).items()); 2225} 2226function Sp(t, n) { 2227 t & 1 && d(0, fp, 2, 0)(1, Cp, 2, 0), t & 2 && m(o().version === 5 ? 0 : 1); 2228} 2229function yp() { 2230 return [io(mi)]; 2231} 2232var Y, Le, _e, dt, Wt, xe, je, w, jt, Gt, Kt, ht, pt, vt, qt, Xt, Zt, Jt, Yt, Gi, Ki, qi, Xi, Qt, Zi, Ji, en, Yi, tn, Qi, es, ts, nn, ns, sn, is, ss, an, as, on, cn, Ce, gt, ft, rn, ln, un, os, mn, Ge, bt, dn, hn, pn, vn, gn, cs, rs, fn, ls, bn, us, ms, ds, hs, kn, Cn, Sn, ps, vs, yn, gs, fs, wn, _n, bs, ks, xn, Mn, Cs, Dn, Tn, kt, En, Ss, ys, An, Nn, ws, In, Ln, Ct, Pn, Hn, _s, Bn, Rn, On, xs, Ms, Pe, Ds, $n, Vn, Ts, Un, Es, zn, As, Fn, Ns, Is, Wn, jn, Gn, Kn, qn, Ke, Xn, Ls, Ps, Zn, Hs, Jn, Yn, Bs, St, Rs, Qn, Os, he, $s, ei, Vs, ti, Us, zs, ni, ii, Fs, si, ai, Ws, oi, ci, ri, li, ui, mi, di, js, Gs; 2233function Ks() { 2234 return (Ks = qc((() => { 2235 ea(), sa(), ba(), ya(), wa(), _a(), xa(), Ma(), Ia(), La(), Pa(), Ha(), Ba(), Da(), Va(), Ka(), Za(), Oa(), Ja(), lo(), ko(), So(), Co(), yo(), wo(), _o(), xo(), Qa(), Go(), Uo(), No(), Ao(), Io(), Lo(), Po(), Ho(), Bo(), Oo(), $o(), Vo(), oc(), zo(), Wo(), Ko(), gc(), fc(), bc(), Xo(), rc(), ic(), tc(), lc(), qo(), Fo(), jo(), ec(), Qo(), nc(), ac(), kc(), wc(), _c(), xc(), Mc(), Nc(), Bc(), Oc(), Vc(), Wc(), jc(), Y = (() => { 2236 let t = class { 2237 constructor() { 2238 this.accountMenuTaskService = u(lt), this.accountMenuOnboardingService = u(ut), this.accountMenuDataService = u(de), this.trackingService = u(ne), this.navigationService = u(ke); 2239 } 2240 get isPageMode() { 2241 return !this.accountMenuDataService.routerMode; 2242 } 2243 trackOpen(e) { 2244 if (this.trackingService.triggerEvent(O.FunctionalityMiniMenu, { "page.referringAction": "OpeningMiniMenu" }), e >= 3) { 2245 e === 5 && this.trackingService.triggerEvent(O.Event, { 2246 "component.CategoryEvent": "my profile", 2247 "component.LabelEvent": "menu", 2248 "component.ActionEvent": "open", 2249 "component.PositionEvent": "not applicable", 2250 "component.LocationEvent": "menu", 2251 "component.EventDetails": "menu", 2252 "component.URLClicked": "not applicable" 2253 }); 2254 let i = e === 3; 2255 this.trackingService.triggerEvent(O.ContentView, { 2256 "component.CategoryEvent": "my profile", 2257 "component.LabelEvent": "menu", 2258 "component.ActionEvent": "load", 2259 "component.PositionEvent": "not applicable", 2260 "component.LocationEvent": i ? "menu drawer" : "menu", 2261 "component.EventDetails": i ? "menu drawer" : "menu", 2262 "component.URLClicked": "not applicable" 2263 }); 2264 } 2265 } 2266 trackClose(e) { 2267 let i = e === 4 || e === 6; 2268 this.trackingService.triggerEvent(O.Event, { 2269 "component.CategoryEvent": "my profile", 2270 "component.LabelEvent": e >= 4 ? "menu" : "my profile", 2271 "component.ActionEvent": "close", 2272 "component.PositionEvent": i && this.accountMenuDataService.routerMode ? this.navigationService.location.path() : "not applicable", 2273 "component.LocationEvent": i && this.accountMenuDataService.routerMode ? this.navigationService.location.path() : "menu", 2274 "component.EventDetails": i ? "close" : "cross icon", 2275 "component.URLClicked": "not applicable" 2276 }); 2277 } 2278 trackDrawer(e) { 2279 this.trackingService.triggerEvent(O.Event, { 2280 "component.CategoryEvent": "my profile", 2281 "component.LabelEvent": e.isAutomaticallyOpened ? "my hub" : "my menu", 2282 "component.ActionEvent": e.position !== J.Bottom ? "open" : "close", 2283 "component.PositionEvent": "not applicable", 2284 "component.LocationEvent": "menu drawer", 2285 "component.EventDetails": "menu drawer", 2286 "component.URLClicked": "not applicable" 2287 }); 2288 } 2289 trackTaskSwiped() { 2290 this.trackingService.triggerEvent(O.Event, { 2291 "component.CategoryEvent": "my profile", 2292 "component.LabelEvent": "my hub", 2293 "component.ActionEvent": "close", 2294 "component.PositionEvent": "not applicable", 2295 "component.LocationEvent": "my pending tasks tile", 2296 "component.EventDetails": "my pending tasks tile", 2297 "component.URLClicked": "not applicable" 2298 }); 2299 } 2300 trackTaskStack(e) { 2301 this.trackingService.triggerEvent(O.Event, { 2302 "component.CategoryEvent": "my profile", 2303 "component.LabelEvent": "my hub", 2304 "component.ActionEvent": "click", 2305 "component.PositionEvent": "not applicable", 2306 "component.LocationEvent": "my pending tasks tile", 2307 "component.EventDetails": "stack of tasks", 2308 "component.URLClicked": "not applicable" 2309 }), this.trackTasksLoaded(e); 2310 } 2311 trackShowAll() { 2312 this.trackingService.triggerEvent(O.Event, { 2313 "component.CategoryEvent": "my profile", 2314 "component.LabelEvent": "my hub", 2315 "component.ActionEvent": "click", 2316 "component.PositionEvent": "not applicable", 2317 "component.LocationEvent": "my pending tasks tile", 2318 "component.EventDetails": "show all", 2319 "component.URLClicked": "not applicable" 2320 }); 2321 } 2322 trackTaskClosed(e) { 2323 this.trackingService.triggerEvent(O.Event, { 2324 "component.CategoryEvent": "my profile", 2325 "component.LabelEvent": "my hub", 2326 "component.ActionEvent": "close", 2327 "component.PositionEvent": "not applicable", 2328 "component.LocationEvent": "my pending tasks tile", 2329 "component.EventDetails": e, 2330 "component.URLClicked": "not applicable" 2331 }); 2332 } 2333 trackWidgetsLoad(e) { 2334 e.forEach((i) => { 2335 this.trackingService.triggerEvent(O.ContentView, { 2336 "component.CategoryEvent": "my profile", 2337 "component.LabelEvent": "my hub", 2338 "component.ActionEvent": "load", 2339 "component.PositionEvent": "not applicable", 2340 "component.LocationEvent": "my hub page", 2341 "component.EventDetails": i.text?.toLowerCase() 2342 }); 2343 }); 2344 } 2345 trackShowMoreClick(e) { 2346 this.trackingService.triggerEvent(O.Event, { 2347 "component.CategoryEvent": "my profile", 2348 "component.LabelEvent": "my hub", 2349 "component.ActionEvent": "click", 2350 "component.PositionEvent": "my pending tasks", 2351 "component.LocationEvent": "my hub page", 2352 "component.EventDetails": e ? "show more" : "show less", 2353 "component.URLClicked": "not applicable" 2354 }); 2355 } 2356 trackOnboardingLoad(e) { 2357 let i = this.getOnboardingStepName(e); 2358 this.trackingService.triggerEvent(O.Event, { 2359 "component.CategoryEvent": "my profile", 2360 "component.LabelEvent": "my hub", 2361 "component.ActionEvent": "load", 2362 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2363 "component.LocationEvent": i, 2364 "component.EventDetails": i, 2365 "component.URLClicked": "not applicable" 2366 }); 2367 } 2368 trackStartOnboarding() { 2369 this.trackingService.triggerEvent(O.Event, { 2370 "component.CategoryEvent": "my profile", 2371 "component.LabelEvent": "my hub", 2372 "component.ActionEvent": "click", 2373 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2374 "component.LocationEvent": "onboarding get started screen", 2375 "component.EventDetails": "get started cta", 2376 "component.URLClicked": "not applicable" 2377 }); 2378 } 2379 trackCloseOnboarding(e) { 2380 let i = this.getOnboardingStepName(e); 2381 this.trackingService.triggerEvent(O.Event, { 2382 "component.CategoryEvent": "my profile", 2383 "component.LabelEvent": "my hub", 2384 "component.ActionEvent": "close", 2385 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2386 "component.LocationEvent": i, 2387 "component.EventDetails": i, 2388 "component.URLClicked": "not applicable" 2389 }); 2390 } 2391 trackGotItOnboarding() { 2392 this.trackingService.triggerEvent(O.Event, { 2393 "component.CategoryEvent": "my profile", 2394 "component.LabelEvent": "my hub", 2395 "component.ActionEvent": "click", 2396 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2397 "component.LocationEvent": "onboarding screen 3", 2398 "component.EventDetails": "got it cta", 2399 "component.URLClicked": "not applicable" 2400 }); 2401 } 2402 trackPreviousOnboarding(e) { 2403 let i = this.getOnboardingStepName(e); 2404 this.trackingService.triggerEvent(O.Event, { 2405 "component.CategoryEvent": "my profile", 2406 "component.LabelEvent": "my hub", 2407 "component.ActionEvent": "click", 2408 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2409 "component.LocationEvent": i, 2410 "component.EventDetails": "previous", 2411 "component.URLClicked": "not applicable" 2412 }); 2413 } 2414 trackNextOnboarding(e) { 2415 let i = this.getOnboardingStepName(e); 2416 this.trackingService.triggerEvent(O.Event, { 2417 "component.CategoryEvent": "my profile", 2418 "component.LabelEvent": "my hub", 2419 "component.ActionEvent": "click", 2420 "component.PositionEvent": this.isPageMode ? "accountpage" : this.accountMenuOnboardingService.isFirstLogin ? "first login hotspot" : "next login hotspot", 2421 "component.LocationEvent": i, 2422 "component.EventDetails": "next", 2423 "component.URLClicked": "not applicable" 2424 }); 2425 } 2426 replacePlaceholders(e, i) { 2427 Aa(i, (l, k) => { 2428 e.trackEvent && (e.trackEvent.data && e.trackEvent.data[k] && (e.trackEvent.data[k] = l), e.trackEvent[`LoadedEvent.${k}`] && (e.trackEvent[`LoadedEvent.${k}`] = l), e.trackEvent[`ClosedEvent.${k}`] && (e.trackEvent[`ClosedEvent.${k}`] = l)); 2429 }); 2430 } 2431 trackTasksLoaded(e) { 2432 e.forEach((i) => { 2433 let l = this.accountMenuTaskService.isUrgent(i); 2434 this.trackingService.triggerEvent(O.ContentView, { 2435 "component.CategoryEvent": "my profile", 2436 "component.LabelEvent": "my hub", 2437 "component.ActionEvent": "load", 2438 "component.PositionEvent": l ? `urgent tasks ${this.accountMenuTaskService.totalUrgentCount}` : `pending tasks ${this.accountMenuTaskService.totalCount - this.accountMenuTaskService.totalUrgentCount}`, 2439 "component.LocationEvent": "my pending tasks tile", 2440 "component.EventDetails": `${i?.trackEvent && i.trackEvent["LoadedEvent.component.EventDetails"] || ""}${l ? "urgent" : "non urgent"}` 2441 }); 2442 }); 2443 } 2444 trackTaskOpenProfile() { 2445 this.trackingService.trigg
2445erEvent(O.Event, { 2446 "component.CategoryEvent": "my profile", 2447 "component.LabelEvent": "my balance", 2448 "component.ActionEvent": "click", 2449 "component.PositionEvent": "not applicable", 2450 "component.LocationEvent": "my balance", 2451 "component.EventDetails": `pending tasks ${this.accountMenuTaskService.totalCount}`, 2452 "component.URLClicked": "not applicable" 2453 }); 2454 } 2455 trackDarkModeToggle(e) { 2456 this.trackingService.triggerEvent(O.Event, { 2457 "component.CategoryEvent": "my profile", 2458 "component.LabelEvent": "menu", 2459 "component.ActionEvent": e ? "enable" : "disable", 2460 "component.PositionEvent": "account details", 2461 "component.LocationEvent": "menu", 2462 "component.EventDetails": "night mode", 2463 "component.URLClicked": "not applicable" 2464 }); 2465 } 2466 trackVerificationStatusLoad(e) { 2467 this.trackVerificationStatus(O.ContentView, "load", e); 2468 } 2469 trackVerificationStatusClick(e) { 2470 this.trackVerificationStatus(O.Event, "click", e); 2471 } 2472 trackVerificationStatusTooltipLoad(e) { 2473 this.trackVerificationStatus(O.ContentView, "load", e); 2474 } 2475 trackLabelSwitcherMenuClicked(e, i, l) { 2476 this.trackingService.triggerEvent(O.Event, { 2477 "component.CategoryEvent": "multi state-switch", 2478 "component.LabelEvent": "minimenu multi-state switch", 2479 "component.ActionEvent": "switch", 2480 "component.PositionEvent": `${e}, ${i}`, 2481 "component.LocationEvent": "not applicable", 2482 "component.EventDetails": "state switcher select", 2483 "component.URLClicked": l 2484 }); 2485 } 2486 trackVerificationStatus(e, i, l) { 2487 this.trackingService.triggerEvent(e, { 2488 "component.CategoryEvent": "my profile", 2489 "component.LabelEvent": "my hub", 2490 "component.ActionEvent": i, 2491 "component.PositionEvent": "not applicable", 2492 "component.LocationEvent": "account status badge", 2493 "component.EventDetails": l, 2494 "component.URLClicked": "not applicable" 2495 }); 2496 } 2497 getOnboardingStepName(e) { 2498 let i; 2499 return e === void 0 ? i = "onboarding get started screen" : e == 0 ? i = "onboarding screen 1" : e == 1 ? i = "onboarding screen 2" : i = "onboarding screen 3", i; 2500 } 2501 trackSessionStatisticsNavigate() { 2502 this.trackingService.triggerEvent(O.ContentView, { 2503 "component.CategoryEvent": "my profile", 2504 "component.LabelEvent": "my hub", 2505 "component.ActionEvent": "load", 2506 "component.PositionEvent": "not applicable", 2507 "component.LocationEvent": "customer hub screen", 2508 "component.EventDetails": "sesssion statistics", 2509 "component.URLClicked": "not applicable" 2510 }); 2511 } 2512 trackSessionStatisticsClick(e) { 2513 return Se(this, null, function* () { 2514 this.trackingService.triggerEvent(O.Event, { 2515 "component.CategoryEvent": "my profile", 2516 "component.LabelEvent": "my hub", 2517 "component.ActionEvent": "click", 2518 "component.PositionEvent": "not applicable", 2519 "component.LocationEvent": "customer hub screen", 2520 "component.EventDetails": e, 2521 "component.URLClicked": "not applicable" 2522 }); 2523 }); 2524 } 2525 }; 2526 return t.ɵfac = function(n) { 2527 return new (n || t)(); 2528 }, t.ɵprov = be({ 2529 token: t, 2530 factory: t.ɵfac, 2531 providedIn: "root" 2532 }), t; 2533 })(), Le = (() => { 2534 let t = class { 2535 constructor() { 2536 this.cookieService = u(Ra), this.accountMenuTrackingService = u(Y), this.drawerPosition = W(this.cookieService.getObject(xi.AccountMenuDrawer) || { 2537 position: J.Bottom, 2538 height: 50 2539 }), this.resetDrawerPositionEvents = new Z(); 2540 } 2541 get resetDrawerPosition() { 2542 return this.resetDrawerPositionEvents; 2543 } 2544 setDrawerPosition(e) { 2545 this.drawerPosition.set(e), this.cookieService.putObject(xi.AccountMenuDrawer, e), this.accountMenuTrackingService.trackDrawer(e); 2546 } 2547 minimizeDrawer() { 2548 this.setDrawerPosition({ 2549 position: J.Bottom, 2550 height: 50, 2551 isAutomaticallyOpened: !0 2552 }); 2553 } 2554 resetDrawer() { 2555 this.resetDrawerPositionEvents.next(); 2556 } 2557 }; 2558 return t.ɵfac = function(n) { 2559 return new (n || t)(); 2560 }, t.ɵprov = be({ 2561 token: t, 2562 factory: t.ɵfac, 2563 providedIn: "root" 2564 }), t; 2565 })(), _e = (() => { 2566 let t = class { 2567 constructor() { 2568 this.scrollEvents = new Z(), this.scrollToEvents = new Z(); 2569 } 2570 get scroll() { 2571 return this.scrollEvents; 2572 } 2573 get onScrollTo() { 2574 return this.scrollToEvents; 2575 } 2576 onScroll(e) { 2577 let i = e.target; 2578 this.scrollEvents.next(i.scrollTop); 2579 } 2580 scrollTo(e, i) { 2581 this.scrollToEvents.next({ 2582 x: e, 2583 y: i 2584 }); 2585 } 2586 }; 2587 return t.ɵfac = function(n) { 2588 return new (n || t)(); 2589 }, t.ɵprov = be({ 2590 token: t, 2591 factory: t.ɵfac, 2592 providedIn: "root" 2593 }), t; 2594 })(), dt = new ia("vn-am-initial-route"), Wt = (() => { 2595 let t = class { 2596 constructor() { 2597 this.accountMenuDataService = u(de), this.overlayRef = u(ct), this.navigationService = u(ke), this.accountMenuScrollService = u(_e), this.unsubscribe = new Z(); 2598 let e = u(dt); 2599 this.route = e; 2600 } 2601 ngOnInit() { 2602 this.navigationService.locationChange.pipe(X(this.unsubscribe)).subscribe(() => { 2603 this.overlayRef.detach(); 2604 }); 2605 } 2606 onScroll(e) { 2607 this.accountMenuScrollService.onScroll(e); 2608 } 2609 ngOnDestroy() { 2610 this.unsubscribe.next(), this.unsubscribe.complete(); 2611 } 2612 }; 2613 return t.ɵfac = function(n) { 2614 return new (n || t)(); 2615 }, t.ɵcmp = b({ 2616 type: t, 2617 selectors: [["vn-account-menu-overlay"]], 2618 hostVars: 2, 2619 hostBindings: function(n, e) { 2620 n & 1 && y("scroll", function(i) { 2621 return e.onScroll(i); 2622 }), n & 2 && ie("th-scroll", e.accountMenuDataService.version() !== 6); 2623 }, 2624 decls: 1, 2625 vars: 1, 2626 consts: [[3, "route"]], 2627 template: function(n, e) { 2628 n & 1 && h(0, "vn-account-menu", 0), n & 2 && r("route", e.route); 2629 }, 2630 dependencies: [zi], 2631 encapsulation: 2 2632 }), t; 2633 })(), xe = (() => { 2634 let t = class { 2635 constructor() { 2636 this.api = u($a); 2637 } 2638 getCashback() { 2639 return this.api.get("accountmenu/cashback"); 2640 } 2641 getCoralCashback() { 2642 return this.api.get("accountmenu/coralcashback"); 2643 } 2644 getPokerCashback() { 2645 return this.api.get("accountmenu/pokercashback"); 2646 } 2647 getMlifeProfile() { 2648 return this.api.get("accountmenu/mlifeprofile"); 2649 } 2650 getProfitLoss(e) { 2651 return this.api.get("accountmenu/profitloss", { range: e }); 2652 } 2653 getNetDeposit(e, i) { 2654 return this.api.get("accountmenu/netdeposit", { 2655 level: e, 2656 days: i 2657 }); 2658 } 2659 getLossLimit() { 2660 return this.api.get("accountmenu/losslimit"); 2661 } 2662 getTimeSpent(e) { 2663 return this.api.get("accountmenu/timespent", { aggregationType: e }); 2664 } 2665 getAverageDeposit(e) { 2666 return this.api.get("accountmenu/averagedeposit", { days: e }); 2667 } 2668 }; 2669 return t.ɵfac = function(n) { 2670 return new (n || t)(); 2671 }, t.ɵprov = be({ 2672 token: t, 2673 factory: t.ɵfac, 2674 providedIn: "root" 2675 }), t; 2676 })(), je = (() => { 2677 let t = class { 2678 constructor() { 2679 this.page = u(At), this.navigationService = u(ke), this.menuItemsService = u(Ei), this.overlay
2679= u(Hi), this.injector = u(Xe), this.media = u(Ht), this.elementRepositoryService = u(Ni), this.accountMenuTrackingService = u(Y), this.domChangeService = u(oo), this.accountMenuResourceService = u(xe), this.accountMenuDataService = u(de), this.accountMenuDrawerService = u(Le), this.dynamicComponentsRegistry = u(so), this.nativeAppService = u(Wa), this.eventsService = u(et), this.loyaltyCashbackEvents = new Re(null), this.pokerCashbackEvents = new Re(null), this.coralCashbackEvents = new Re(null), this.mLifeProfileEvents = new Re(null), this.visibleEvents = new Re(!1); 2680 } 2681 get visible() { 2682 return this.visibleEvents; 2683 } 2684 get routerMode() { 2685 return this.accountMenuDataService.routerMode; 2686 } 2687 get routerModeReturnUrl() { 2688 return this.accountMenuDataService.routerModeReturnUrl; 2689 } 2690 get resources() { 2691 return this.accountMenuDataService.resources() ?? { messages: {} }; 2692 } 2693 get vipLevels() { 2694 return this.accountMenuDataService.vipLevels() ?? []; 2695 } 2696 get hierarchy() { 2697 return this.accountMenuDataService.hierarchy; 2698 } 2699 get version() { 2700 return this.accountMenuDataService.version() ?? 0; 2701 } 2702 toggle(e, i) { 2703 this.eventsService.raise({ 2704 eventName: tt.AccountMenuToggle, 2705 data: { show: e } 2706 }); 2707 let l = Object.assign({}, i); 2708 if (this.accountMenuDataService.singlePageMode = !!l.singlePageMode, this.routerMode) e ? ((this.version === 4 || this.version === 5 || this.version === 6) && this.accountMenuTrackingService.trackOpen(this.version), this.accountMenuDrawerService.resetDrawer(), this.setReturnUrlCookie(this.navigationService.location.absUrl()), this.navigationService.goToOverlayOutlet(`menu/${l.route || ""}`)) : (this.accountMenuTrackingService.trackClose(this.version), this.sendMenuClosedToNative(), this.goToReturnUrl()); 2709 else if (e && !this.currentRef) { 2710 this.accountMenuTrackingService.trackOpen(this.version), this.currentAnchorKey = l.anchorElementKey; 2711 let k = this.createPositionStrategy(), E = ["vn-account-menu-container"]; 2712 this.version > 1 && E.push(`v${this.version}`), this.version === 3 && E.push("th-scroll"); 2713 let B = this.overlay.create({ 2714 panelClass: E, 2715 positionStrategy: k 2716 }); 2717 B.backdropClick().subscribe(() => this.currentRef.detach()), B.detachments().subscribe(() => { 2718 this.stopReactingToMediaChanges(), this.overlay.dispose(this.currentRef), this.currentRef = null, this.currentAnchorKey = void 0, this.visibleEvents.next(!1); 2719 }), B.attachments().subscribe(() => { 2720 this.visibleEvents.next(!0); 2721 }); 2722 let $ = new Pi(Wt, null, Xe.create({ 2723 providers: [{ 2724 provide: ct, 2725 useValue: B 2726 }, { 2727 provide: dt, 2728 useValue: l.route || "menu" 2729 }], 2730 parent: this.injector 2731 })); 2732 B.attach($), this.currentRef = B, this.reactToMediaChanges(); 2733 } else !e && this.currentRef ? (this.currentRef.detach(), l.closedWithButton && this.accountMenuTrackingService.trackClose(this.version)) : !e && l.closedWithButton && (this.accountMenuTrackingService.trackClose(this.version), this.sendMenuClosedToNative(), this.goToReturnUrl()); 2734 } 2735 setItemCounter(e, i, l) { 2736 this.menuItemsService.setCounter(at.Menu, e, i, l); 2737 } 2738 setActiveItem(e) { 2739 this.menuItemsService.setActive(at.Menu, e); 2740 } 2741 updatePokerCashback() { 2742 this.accountMenuResourceService.getPokerCashback().subscribe((e) => this.pokerCashbackEvents.next(e)); 2743 } 2744 updateLoyaltyCashback() { 2745 this.accountMenuResourceService.getCashback().subscribe((e) => this.loyaltyCashbackEvents.next(e)); 2746 } 2747 updateCoralCashback() { 2748 this.accountMenuResourceService.getCoralCashback().subscribe((e) => this.coralCashbackEvents.next(e)); 2749 } 2750 updateMLifeProfile() { 2751 this.accountMenuResourceService.getMlifeProfile().subscribe((e) => this.mLifeProfileEvents.next(e)); 2752 } 2753 setAccountMenuComponent(e, i) { 2754 this.dynamicComponentsRegistry.registerComponent(Di.AccountMenu, e, i); 2755 } 2756 getAccountMenuComponent(e) { 2757 return this.dynamicComponentsRegistry.get(Di.AccountMenu, e || "default"); 2758 } 2759 setReturnUrlCookie(e) { 2760 this.accountMenuDataService.setReturnUrlCookie(e); 2761 } 2762 removeReturnUrlCookie() { 2763 this.accountMenuDataService.removeReturnUrlCookie(); 2764 } 2765 reactToMediaChanges() { 2766 this.version > 1 || (this.unsubscribe = new Z(), this.media.observe().pipe(la(1), X(this.unsubscribe)).subscribe(() => { 2767 this.currentRef.updatePositionStrategy(this.createPositionStrategy()); 2768 }), this.domChangeService.observe(this.elementRepositoryService.get($e.AUTH_HEADER_SECTION)).pipe(X(this.unsubscribe), oe((e) => this.accountMenuDataService.isDesktop && Array.from(e.addedNodes).some((i) => i.nodeType == 1 && i.innerHTML.includes("account-menu-anchor")))).subscribe(() => { 2769 this.currentRef.updatePositionStrategy(this.createPositionStrategy()); 2770 })); 2771 } 2772 stopReactingToMediaChanges() { 2773 this.version > 1 || (this.unsubscribe?.next(), this.unsubscribe?.complete(), this.unsubscribe = null); 2774 } 2775 createPositionStrategy() { 2776 if (this.version > 1) return this.overlay.position.global().top().right(); 2777 if (this.accountMenuDataService.isDesktop) { 2778 let e = this.elementRepositoryService.get(this.currentAnchorKey || $e.AVATAR_HEADER_ANCHOR); 2779 return this.overlay.position.flexibleConnectedTo(e).withPositions([{ 2780 originX: "end", 2781 originY: "bottom", 2782 overlayX: "end", 2783 overlayY: "top" 2784 }]).withPush(!1).withFlexibleDimensions(!1); 2785 } 2786 return this.overlay.position.global().top(); 2787 } 2788 goToReturnUrl() { 2789 let e = this.accountMenuDataService.routerModeReturnUrl || this.page.homePage; 2790 this.removeReturnUrlCookie(), this.navigationService.goTo(e, { 2791 isBackNavigation: !0, 2792 skipPrimaryOutletGuardsAndResolvers: this.accountMenuDataService.isRoutableOverlay 2793 }); 2794 } 2795 sendMenuClosedToNative() { 2796 this.nativeAppService.sendToNative({ 2797 eventName: Ua.MENUCLOSED, 2798 parameters: { product: this.page.product } 2799 }); 2800 } 2801 }; 2802 return t.ɵfac = function(n) { 2803 return new (n || t)(); 2804 }, t.ɵprov = be({ 2805 token: t, 2806 factory: t.ɵfac, 2807 providedIn: "root" 2808 }), t; 2809 })(), w = (() => { 2810 let t = class { 2811 constructor() { 2812 this.trackByProp = nt("id"), this.MenuSection = at, this.VanillaElements = $e, this.accountMenuService = u(je), this.menuActionsService = u(st), this.accountMenuRouter = u(Vt), this.MenuDisplayMode = ro; 2813 } 2814 get version() { 2815 return this.accountMenuService.version; 2816 } 2817 get isCH() { 2818 return this.version === 3 || this.version === 5; 2819 } 2820 getItemComponent(e) { 2821 return this.accountMenuService.getAccountMenuComponent(e); 2822 } 2823 processClick(e, i, l = !0) { 2824 e.stopPropagation(), (i.type !== uo.TextWidget || i.url) && (this.canNavigateToMenuRoute(i) ? (this.accountMenuRouter.navigateToRoute(i.menuRoute), e.preventDefault()) : (this.accountMenuService.routerMode || (this.accountMenuService.toggle(!1), ce(i.parameters["set-active-item-disabled"]) || this.accountMenuService.setActiveItem(i.name)), this.menuActionsService.processClick(e, i, ot.Menu, l))); 2825 } 2826 canNavigateToMenuRoute(e) { 2827 if (!e.menuRoute) return !1; 2828 let i = e.parameters["menu-route-navigation-strategy"] || "always"; 2829 switch (i) { 2830 case "always": return !0; 2831 case "never": return !1; 2832 case "router-mode-only": return this.accountMenuService.routerMode; 2833 case "overlay-only": return !this.accountMenuService.routerMode; 2834 default: throw new Error(`Invalid menu-route-navigation-strategy value ${i}.`); 2835 } 2836 } 2837 }; 2838 return t.ɵfac = function(n) { 2839 return new (n || t)(); 2840 }, t.ɵdir = Be({ 2841 type: t, 2842 inputs: { 2843 item: "item", 2844 mode: "mode" 2845 } 2846 }), t; 2847 })(), jt = (t, n) => n.name, Gt = (() => { 2848 let t = class extends w { 2849 constructor() { 2850 super(), this.buttonKind = "primary", this.buttonVariant = "filled", this.asButtonKind = (e) => e, this.asButtonVariant = (e) => e, this.asButtonSize = (e) => e; 2851 } 2852 }; 2853 return t.ɵfac = function(n) { 2854 return new (n || t)(); 2855 }, t.ɵcmp = b({ 2856 type: t, 2857 selectors: [["vn-am-invite-friends-banner"]], 2858 features: [C], 2859 decls: 2, 2860 vars: 1, 2861 consts: [ 2862 ["roleType", "list"], 2863 [ 2864 1, 2865 "am-banner-v2", 2866 3, 2867 "ngClass" 2868 ], 2869 [ 2870 1, 2871 "am-list-item", 2872 3, 2873 "title", 2874 "subtitle", 2875 "boldTitle" 2876 ], 2877 [ 2878 "ngProjectAs", 2879 "[slot=start]", 2880 5, 2881 [ 2882 "", 2883 "slot", 2884 "start" 2885 ] 2886 ], 2887 [3, "name"], 2888 [ 2889 "ngProjectAs", 2890 "[slot=end]", 2891 5, 2892 [ 2893 "", 2894 "slot", 2895 "end" 2896 ] 2897 ], 2898 [ 2899 "ds-button", 2900 "", 2901 3, 2902 "kind", 2903 "variant", 2904 "inverse", 2905 "size" 2906 ], 2907 [ 2908 "ds-button", 2909 "", 2910 3, 2911 "click", 2912 "kind", 2913 "variant", 2914 "inverse", 2915 "size" 2916 ], 2917 [ 2918 1, 2919 "am-banner-v2", 2920 3, 2921 "click", 2922 "ngClass" 2923 ], 2924 [ 2925 1, 2926 "am-banner-v2__txt", 2927 3, 2928 "ngClass" 2929 ], 2930 [ 2931 3, 2932 "ngClass", 2933 "innerHTML" 2934 ], 2935 [3, "ngClass"], 2936 [ 2937 "name", 2938 "theme-right", 2939 "size", 2940 "9", 2941 1, 2942 "am-banner-v2__icon" 2943 ], 2944 [ 2945 3, 2946 "src", 2947 "imageClass" 2948 ] 2949 ], 2950 template: function(n, e) { 2951 n & 1 && d(0, Yc, 7, 4, "ds-list-group", 0)(1, er, 11, 10, "a", 1), n & 2 && m(e.version === 6 ? 0 : 1); 2952 }, 2953 dependencies: [ 2954 T, 2955 I, 2956 me, 2957 z, 2958 $t, 2959 Ut, 2960 ye 2961 ], 2962 encapsulation: 2 2963 }), t; 2964 })(), Kt = (() => { 2965 let t = class { 2966 constructor() { 2967 this.wrapperSettingsService = u(Cc), this.loginConfig = u(Ro); 2968 } 2969 get faceIdEnabled() { 2970 return this.wrapperSettingsService.current && !!this.wrapperSettingsService.current.isFaceIDLoginEnabled; 2971 } 2972 getStatusText(e) { 2973 if (e) { 2974 if (e.faceIdEnabled || e.faceIdDisabled) return this.faceIdEnabled ? e.faceIdEnabled : e.faceIdDisabled; 2975 if (e.passkeyEnabled || e.passkeyDisabled) return this.loginConfig.passkeyEnabled ? e.passkeyEnabled : e.passkeyDisabled; 2976 } 2977 } 2978 }; 2979 return t.ɵfac = function(n) { 2980 return new (n || t)(); 2981 }, t.ɵprov = be({ 2982 token: t, 2983 factory: t.ɵfac, 2984 providedIn: "root" 2985 }), t; 2986 })(), ht = (() => { 2987 let t = class extends w { 2988 constructor() { 2989 super(), this.show = !0, this.settingsStatusService = u(Kt); 2990 } 2991 get class() { 2992 return `${this.item.parameters["vn-am-menu-item-class"] || ""}`; 2993 } 2994 ngOnInit() { 2995 this.menuDisplayMode = this.MenuDisplayMode.FastIcon, this.badgeDisplayMode = "FastIcon", this.item.children?.length > 0 && (this.additionalIcon = "theme-right"), this.item?.parameters.mode && this.item.parameters.mode !== this.mode && (this.show = !1); 2996 } 2997 formatSubtext(e) { 2998 if (e) return e === "featureEnabled" ? this.settingsStatusService.getStatusText(this.item.resources) ?? void 0 : e; 2999 } 3000 }; 3001 return t.ɵfac = function(n) { 3002 return new (n || t)(); 3003 }, t.ɵcmp = b({ 3004 type: t, 3005 selectors: [["vn-am-menu-item"]], 3006 hostVars: 2, 3007 hostBindings: function(n, e) { 3008 n & 2 && He(e.class); 3009 }, 3010 inputs: { subtext: "subtext" }, 3011 features: [C], 3012 decls: 5, 3013 vars: 5, 3014 consts: [ 3015 [ 3016 "linkClass", 3017 "list-nav-link", 3018 "iconClass", 3019 "ui-icon ui-icon-size-xl", 3020 "badgeClass", 3021 "badge-offset", 3022 "textClass", 3023 "list-nav-txt", 3024 3, 3025 "item", 3026 "section", 3027 "displayMode", 3028 "badgePosition", 3029 "additionalIcon", 3030 "processClick", 3031 "useListSlots" 3032 ], 3033 [ 3034 "linkClass", 3035 "list-nav-link", 3036 "iconClass", 3037 "ui-icon ui-icon-size-xl", 3038 "badgeClass", 3039 "badge-offset", 3040 "textClass", 3041 "list-nav-txt", 3042 3, 3043 "onClick", 3044 "item", 3045 "section", 3046 "displayMode", 3047 "badgePosition", 3048 "additionalIcon", 3049 "processClick", 3050 "useListSlots" 3051 ], 3052 [ 3053 "linkClass",
3054 "am-menu-item", 3055 "iconClass", 3056 "ui-icon am-menu-icn", 3057 "badgeClass", 3058 "badge-offset", 3059 "textClass", 3060 "menu-item-txt", 3061 3, 3062 "item", 3063 "section", 3064 "displayMode", 3065 "badgePosition", 3066 "additionalIcon", 3067 "processClick", 3068 "useListSlots" 3069 ], 3070 [ 3071 "linkClass", 3072 "am-menu-item", 3073 "iconClass", 3074 "ui-icon am-menu-icn", 3075 "badgeClass", 3076 "badge-offset", 3077 "textClass", 3078 "menu-item-txt", 3079 3, 3080 "onClick", 3081 "item", 3082 "section", 3083 "displayMode", 3084 "badgePosition", 3085 "additionalIcon", 3086 "processClick", 3087 "useListSlots" 3088 ], 3089 [ 3090 "linkClass", 3091 "am-menu-item", 3092 "iconClass", 3093 "ui-icon", 3094 "badgeClass", 3095 "badge-offset", 3096 "textClass", 3097 "menu-item-txt", 3098 3, 3099 "item", 3100 "section", 3101 "displayMode", 3102 "badgePosition", 3103 "processClick", 3104 "useListSlots" 3105 ], 3106 [ 3107 "linkClass", 3108 "am-menu-item", 3109 "iconClass", 3110 "ui-icon", 3111 "badgeClass", 3112 "badge-offset", 3113 "textClass", 3114 "menu-item-txt", 3115 3, 3116 "onClick", 3117 "item", 3118 "section", 3119 "displayMode", 3120 "badgePosition", 3121 "processClick", 3122 "useListSlots" 3123 ], 3124 [ 3125 "linkClass", 3126 "am-menu-item", 3127 "iconClass", 3128 "am-v5-icon", 3129 "badgeClass", 3130 "badge-offset", 3131 "textClass", 3132 "menu-item-txt", 3133 3, 3134 "item", 3135 "section", 3136 "displayMode", 3137 "badgePosition", 3138 "processClick", 3139 "useListSlots" 3140 ], 3141 [ 3142 "linkClass", 3143 "am-menu-item", 3144 "iconClass", 3145 "am-v5-icon", 3146 "badgeClass", 3147 "badge-offset", 3148 "textClass", 3149 "menu-item-txt", 3150 3, 3151 "onClick", 3152 "item", 3153 "section", 3154 "displayMode", 3155 "badgePosition", 3156 "processClick", 3157 "useListSlots" 3158 ], 3159 [ 3160 "linkClass", 3161 "am-menu-item", 3162 "iconClass", 3163 "am-menu-icn", 3164 "badgeClass", 3165 "badge-offset", 3166 "textClass", 3167 "menu-item-txt", 3168 3, 3169 "item", 3170 "section", 3171 "displayMode", 3172 "badgePosition", 3173 "additionalIcon", 3174 "processClick", 3175 "useListSlots", 3176 "subtext" 3177 ], 3178 [ 3179 "linkClass", 3180 "am-menu-item", 3181 "iconClass", 3182 "am-menu-icn", 3183 "badgeClass", 3184 "badge-offset", 3185 "textClass", 3186 "menu-item-txt", 3187 3, 3188 "onClick", 3189 "item", 3190 "section", 3191 "displayMode", 3192 "badgePosition", 3193 "additionalIcon", 3194 "processClick", 3195 "useListSlots", 3196 "subtext" 3197 ] 3198 ], 3199 template: function(n, e) { 3200 n & 1 && (d(0, tr, 1, 7, "vn-menu-item", 0), d(1, ir, 1, 1), d(2, ar, 1, 1), d(3, cr, 1, 1), d(4, lr, 1, 1)), n & 2 && (m(e.version <= 1 ? 0 : -1), s(), m(e.version === 4 ? 1 : -1), s(), m(e.version === 2 || e.version === 3 ? 2 : -1), s(), m(e.version === 5 ? 3 : -1), s(), m(e.version === 6 ? 4 : -1)); 3201 }, 3202 dependencies: [we], 3203 encapsulation: 2, 3204 changeDetection: 1 3205 }), t; 3206 })(), pt = (() => { 3207 let t = class extends w { 3208 constructor() { 3209 super(); 3210 } 3211 }; 3212 return t.ɵfac = function(n) { 3213 return new (n || t)(); 3214 }, t.ɵcmp = b({ 3215 type: t, 3216 selectors: [["vn-am-text"]], 3217 features: [C], 3218 decls: 2, 3219 vars: 1, 3220 consts: [[ 3221 1, 3222 "am-text", 3223 3, 3224 "ngClass", 3225 "innerHtml" 3226 ], [ 3227 1, 3228 "account-menu-text", 3229 3, 3230 "ngClass", 3231 "innerHtml" 3232 ]], 3233 template: function(n, e) { 3234 n & 1 && d(0, ur, 2, 4, "div", 0)(1, mr, 2, 4, "span", 1), n & 2 && m(e.version > 1 ? 0 : 1); 3235 }, 3236 dependencies: [ 3237 T, 3238 I, 3239 q 3240 ], 3241 encapsulation: 2, 3242 changeDetection: 1 3243 }), t; 3244 })(), vt = (() => { 3245 let t = class extends w {}; 3246 return t.ɵfac = (() => { 3247 let n; 3248 return function(e) { 3249 return (n || (n = D(t)))(e || t); 3250 }; 3251 })(), t.ɵcmp = b({ 3252 type: t, 3253 selectors: [["vn-am-card-item"]], 3254 inputs: { subtext: "subtext" }, 3255 features: [C], 3256 decls: 3, 3257 vars: 1, 3258 consts: [ 3259 ["listGroup", ""], 3260 [ 3261 "dsThemeConfig", 3262 "account-menu-card", 3263 1, 3264 "vn-am-card", 3265 3, 3266 "elevated", 3267 "surface", 3268 "radius", 3269 "ngClass" 3270 ], 3271 [ 3272 "dsThemeConfig", 3273 "account-menu-card", 3274 3, 3275 "surface", 3276 "title" 3277 ], 3278 [1, "vn-am-card__list-wrapper"], 3279 [ 3280 1, 3281 "vn-am-card__header", 3282 3, 3283 "ngClass" 3284 ], 3285 [3, "ngTemplateOutlet"], 3286 ["roleType", "navigation"], 3287 [ 3288 3, 3289 "item", 3290 "mode" 3291 ], 3292 [ 3293 3, 3294 "item", 3295 "mode", 3296 "subtext" 3297 ] 3298 ], 3299 template: function(n, e) { 3300 n & 1 && (d(0, fr, 5, 7), P(1, wr, 3, 0, "ng-template", null, 0, yt)), n & 2 && m(e.item ? 0 : -1); 3301 }, 3302 dependencies: [ 3303 T, 3304 I, 3305 yi,
3306 fe, 3307 Ie, 3308 zt, 3309 $t, 3310 Ne, 3311 We, 3312 ht, 3313 Gt, 3314 pt 3315 ], 3316 encapsulation: 2 3317 }), t; 3318 })(), qt = (() => { 3319 let t = class extends w { 3320 get settingsChildren() { 3321 return this.item?.children ?? []; 3322 } 3323 get settingsTitle() { 3324 return this.item?.text ?? ""; 3325 } 3326 get hasChildren() { 3327 return this.settingsChildren.length > 0; 3328 } 3329 goBack() { 3330 this.accountMenuRouter.navigateToRoute("menu", !0); 3331 } 3332 }; 3333 return t.ɵfac = (() => { 3334 let n; 3335 return function(e) { 3336 return (n || (n = D(t)))(e || t); 3337 }; 3338 })(), t.ɵcmp = b({ 3339 type: t, 3340 selectors: [["vn-account-settings"]], 3341 features: [C], 3342 decls: 2, 3343 vars: 4, 3344 consts: [ 3345 [ 3346 3, 3347 "onBack", 3348 "title", 3349 "showBack", 3350 "showClose" 3351 ], 3352 [1, "am-settings-menu"], 3353 [3, "ngClass"], 3354 [ 3355 3, 3356 "item", 3357 "mode", 3358 "subtext" 3359 ] 3360 ], 3361 template: function(n, e) { 3362 n & 1 && (a(0, "vn-header-bar", 0), y("onBack", function() { 3363 return e.goBack(); 3364 }), c(), d(1, Dr, 2, 0)), n & 2 && (r("title", e.settingsTitle)("showBack", !0)("showClose", !1), s(), m(e.hasChildren ? 1 : -1)); 3365 }, 3366 dependencies: [ 3367 T, 3368 I, 3369 Ot, 3370 vt 3371 ], 3372 encapsulation: 2 3373 }), t; 3374 })(), Xt = (() => { 3375 let t = class extends w { 3376 get hotspotComponentEnabled() { 3377 return (this.version === 3 || this.version === 5) && this.accountMenuOnboardingService.tourStartedLoginCount !== void 0 && this.content.account.onboarding.showAccountMenuHotspotLoginCount >= this.accountMenuOnboardingService.tourStartedLoginCount; 3378 } 3379 constructor() { 3380 let e = u(et); 3381 super(), this.content = u(ue), this.accountMenuOnboardingService = u(ut), this.trackingService = u(ne), e.events.pipe(oe((i) => i?.eventName === tt.OpenOnboardingTour), L()).subscribe(() => { 3382 this.popper?.close(); 3383 }); 3384 } 3385 ngOnInit() { 3386 this.hotspotComponentEnabled && this.trackingService.triggerEvent(O.Event, { 3387 "component.CategoryEvent": "my profile", 3388 "component.LabelEvent": "my hub", 3389 "component.ActionEvent": "load", 3390 "component.PositionEvent": "not applicable", 3391 "component.LocationEvent": "account page", 3392 "component.EventDetails": "account page hotspot", 3393 "component.URLClicked": "not applicable" 3394 }); 3395 } 3396 hotspotClicked() { 3397 this.trackingService.triggerEvent(O.Event, { 3398 "component.CategoryEvent": "my profile", 3399 "component.LabelEvent": "my hub", 3400 "component.ActionEvent": "click", 3401 "component.PositionEvent": "not applicable", 3402 "component.LocationEvent": "account page", 3403 "component.EventDetails": "account page hotspot", 3404 "component.URLClicked": "not applicable" 3405 }), this.trackingService.triggerEvent(O.Event, { 3406 "component.CategoryEvent": "my profile", 3407 "component.LabelEvent": "my hub", 3408 "component.ActionEvent": "load", 3409 "component.PositionEvent": "account page hotspot", 3410 "component.LocationEvent": "onboarding hotspot popup", 3411 "component.EventDetails": "onboarding hotspot popup", 3412 "component.URLClicked": "not applicable" 3413 }); 3414 } 3415 }; 3416 return t.ɵfac = function(n) { 3417 return new (n || t)(); 3418 }, t.ɵcmp = b({ 3419 type: t, 3420 selectors: [["vn-am-hotspot"]], 3421 viewQuery: function(n, e) { 3422 if (n & 1 && qe(Ae, 7), n & 2) { 3423 let i; 3424 Je(i = Ze()) && (e.popper = i.first); 3425 } 3426 }, 3427 features: [C], 3428 decls: 5, 3429 vars: 2, 3430 consts: [ 3431 ["popper", ""], 3432 [ 3433 1, 3434 "ch-onboarding__hotspot", 3435 3, 3436 "floatUi" 3437 ], 3438 [ 3439 "cssClass", 3440 "tooltip-info", 3441 "closeType", 3442 "none" 3443 ], 3444 ["content", ""], 3445 [3, "vnDynamicHtml"], 3446 [ 3447 1, 3448 "ch-onboarding__hotspot", 3449 3, 3450 "click", 3451 "floatUi" 3452 ], 3453 [ 3454 "name", 3455 "theme-ch-stories", 3456 "extraClass", 3457 "ui-icon d-flex justify-content-center align-items-center" 3458 ] 3459 ], 3460 template: function(n, e) { 3461 n & 1 && (d(0, Tr, 2, 1, "div", 1), a(1, "vn-popper-content", 2, 0), G(3, 3), h(4, "div", 4), j(), c()), n & 2 && (m(e.hotspotComponentEnabled ? 0 : -1), s(4), r("vnDynamicHtml", e.content.account.root.resources.OnboardingAccuntMenuHotspotPopper)); 3462 }, 3463 dependencies: [ 3464 Ae, 3465 re, 3466 ze, 3467 Ve, 3468 z 3469 ], 3470 encapsulation: 2, 3471 changeDetection: 1 3472 }), t; 3473 })(), Zt = (() => { 3474 let t = class { 3475 constructor() { 3476 this.overlayRef = u(ct), this.menuClientConfig = u(ue), this.accountMenuTrackingService = u(Y), this.accountMenuOnboardingService = u(ut), this.ngZone = u(va), this.showStartScreen = !0, this.showGotItButton = !1, this.bgPositionAnimation = 0, this.currentIndex = 0, this.indexSignal = W(0), this.trackByName = nt("name"), this.swiperConfig = { 3477 pagination: !0, 3478 centeredSlides: !0, 3479 on: { slideChange: (e) => { 3480 this.ngZone.run(() => { 3481 this.indexChanged(e); 3482 }); 3483 } } 3484 }; 3485 } 3486 ngOnInit() { 3487 this.content = this.menuClientConfig.onBoarding?.startTourScreen, this.tourItems = this.menuClientConfig.onBoarding?.tourItems, this.bgWrapperImage = `${this.content.url}`, this.backgroundPositionAnimation = this.content.parameters?.Backgroun
3487dPositionAnimation ? parseInt(this.content.parameters.BackgroundPositionAnimation) : 300; 3488 } 3489 startTour() { 3490 this.showStartScreen = !1, this.bgPositionAnimation -= this.backgroundPositionAnimation, this.accountMenuTrackingService.trackStartOnboarding(), this.accountMenuTrackingService.trackOnboardingLoad(this.currentIndex); 3491 } 3492 close(e) { 3493 this.overlayRef.detach(), e ? (this.accountMenuOnboardingService.saveTourCompleted(), this.accountMenuTrackingService.trackGotItOnboarding()) : this.accountMenuTrackingService.trackCloseOnboarding(this.showStartScreen ? void 0 : this.currentIndex); 3494 } 3495 next() { 3496 this.carousel.swiper.slideNext(), this.indexChanged(this.carousel.swiper), this.swiperRef = this.carousel.swiper, this.currentIndex === 1 && (this.bgPositionAnimation -= this.backgroundPositionAnimation), this.accountMenuTrackingService.trackNextOnboarding(this.currentIndex), this.accountMenuTrackingService.trackOnboardingLoad(this.currentIndex); 3497 } 3498 previous() { 3499 this.carousel.swiper ? this.carousel.swiper.slidePrev() : this.swiperRef.slidePrev(), this.indexChanged(this.swiperRef || this.carousel.swiper), this.currentIndex === 0 && (this.bgPositionAnimation += this.backgroundPositionAnimation), this.accountMenuTrackingService.trackPreviousOnboarding(this.currentIndex); 3500 } 3501 indexChanged(e) { 3502 let i = e.slides; 3503 this.currentIndex = e.activeIndex, this.indexSignal() < this.currentIndex ? (this.accountMenuTrackingService.trackNextOnboarding(this.currentIndex), this.accountMenuTrackingService.trackOnboardingLoad(this.currentIndex)) : this.accountMenuTrackingService.trackPreviousOnboarding(this.currentIndex), this.showGotItButton = i.length === this.currentIndex + 1, this.indexSignal.set(this.currentIndex); 3504 } 3505 }; 3506 return t.ɵfac = function(n) { 3507 return new (n || t)(); 3508 }, t.ɵcmp = b({ 3509 type: t, 3510 selectors: [["vn-account-menu-onboarding-overlay"]], 3511 viewQuery: function(n, e) { 3512 if (n & 1 && qe(mt, 5), n & 2) { 3513 let i; 3514 Je(i = Ze()) && (e.carousel = i.first); 3515 } 3516 }, 3517 decls: 7, 3518 vars: 3, 3519 consts: [ 3520 [3, "backgroundImage"], 3521 [ 3522 "slot", 3523 "end", 3524 "ds-button-icon", 3525 "", 3526 "kind", 3527 "tertiary", 3528 "variant", 3529 "flat", 3530 "size", 3531 "large", 3532 3, 3533 "click" 3534 ], 3535 ["name", "theme-ex"], 3536 [ 3537 1, 3538 "start-screen-container", 3539 "d-flex", 3540 "flex-column", 3541 "text-center" 3542 ], 3543 [ 3544 1, 3545 "tour-items-container", 3546 "d-flex", 3547 "flex-column", 3548 "text-center" 3549 ], 3550 [ 3551 1, 3552 "start-screen-content", 3553 "d-flex", 3554 "flex-column", 3555 "justify-content-center" 3556 ], 3557 [ 3558 3, 3559 "src", 3560 "alt", 3561 "width", 3562 "height" 3563 ], 3564 [ 3565 1, 3566 "description", 3567 3, 3568 "vnDynamicHtml" 3569 ], 3570 [ 3571 "ds-button", 3572 "", 3573 "kind", 3574 "primary", 3575 "variant", 3576 "filled", 3577 "size", 3578 "large", 3579 3, 3580 "click" 3581 ], 3582 [ 3583 1, 3584 "tour-items-content", 3585 "d-flex", 3586 "flex-column", 3587 "justify-content-center" 3588 ], 3589 [3, "swiperOptions"], 3590 [1, "swiper-slide"], 3591 [ 3592 1, 3593 "d-flex", 3594 "justify-content-between" 3595 ], 3596 [ 3597 "ds-button", 3598 "", 3599 "kind", 3600 "tertiary", 3601 "variant", 3602 "flat", 3603 "size", 3604 "large" 3605 ], 3606 [ 3607 "ds-button", 3608 "", 3609 "kind", 3610 "primary", 3611 "variant", 3612 "filled", 3613 "size", 3614 "large" 3615 ], 3616 [4, "vnPageMatrix"], 3617 [ 3618 "ds-button", 3619 "", 3620 "kind", 3621 "tertiary", 3622 "variant", 3623 "flat", 3624 "size", 3625 "large", 3626 3, 3627 "click" 3628 ] 3629 ], 3630 template: function(n, e) { 3631 n & 1 && (a(0, "ds-modal", 0)(1, "ds-modal-header")(2, "button", 1), y("click", function() { 3632 return e.close(); 3633 }), h(3, "vn-icon", 2), c()(), a(4, "ds-modal-content"), d(5, Ar, 6, 3, "div", 3), d(6, Rr, 13, 9, "div", 4), c()()), n & 2 && (r("backgroundImage", e.bgWrapperImage), s(5), m(e.showStartScreen ? 5 : -1), s(), m(e.showStartScreen ? -1 : 6)); 3634 }, 3635 dependencies: [ 3636 T, 3637 re, 3638 pc, 3639 mt, 3640 me, 3641 z, 3642 ye, 3643 rt, 3644 Vi, 3645 $i, 3646 Ri, 3647 Ee, 3648 It 3649 ], 3650 encapsulation: 2 3651 }), t; 3652 })(), Jt = (() => { 3653 let t = class { 3654 constructor() {
3655 this.injector = u(Xe), this.overlay = u(Hi), this.accountMenuTrackingService = u(Y); 3656 } 3657 show() { 3658 if (this.currentRef) return; 3659 let e = this.overlay.create({ panelClass: ["vn-account-menu-tutorial-tour-panel", "generic-modal-overlay"] }); 3660 e.detachments().subscribe(() => { 3661 this.overlay.dispose(e), this.currentRef = null; 3662 }); 3663 let i = new Pi(Zt, null, this.createInjector(e)); 3664 e.attach(i), this.currentRef = e, this.accountMenuTrackingService.trackOnboardingLoad(); 3665 } 3666 createInjector(e) { 3667 return Xe.create({ 3668 providers: [{ 3669 provide: ct, 3670 useValue: e 3671 }], 3672 parent: this.injector 3673 }); 3674 } 3675 }; 3676 return t.ɵfac = function(n) { 3677 return new (n || t)(); 3678 }, t.ɵprov = be({ 3679 token: t, 3680 factory: t.ɵfac, 3681 providedIn: "root" 3682 }), t; 3683 })(), Yt = (() => { 3684 let t = class extends w { 3685 get visible() { 3686 return this.isEnabled && this.user.isAuthenticated; 3687 } 3688 get iconName() { 3689 return this.item?.parameters?.iconName || "theme-inbox"; 3690 } 3691 constructor() { 3692 super(), this.inboxService = u(Ai), this.user = u(pe), this.destroyRef = u(F), this.isEnabled = !1, this.inboxService.whenReady.pipe(L(this.destroyRef)).subscribe(() => { 3693 this.isEnabled = this.inboxService.isEnabled; 3694 }); 3695 } 3696 showInbox() { 3697 this.inboxService.open({ 3698 showBackButton: !1, 3699 trackingEventName: O.InboxClickedIcon 3700 }); 3701 } 3702 }; 3703 return t.ɵfac = function(n) { 3704 return new (n || t)(); 3705 }, t.ɵcmp = b({ 3706 type: t, 3707 selectors: [["vn-am-account-inbox-icon"]], 3708 features: [C], 3709 decls: 1, 3710 vars: 1, 3711 consts: [ 3712 [ 3713 "ds-button-icon", 3714 "", 3715 "size", 3716 "large", 3717 "variant", 3718 "filled", 3719 "kind", 3720 "secondary", 3721 3, 3722 "inverse" 3723 ], 3724 [ 3725 1, 3726 "am-inbox-icon", 3727 "ui-icon", 3728 3, 3729 "ngClass" 3730 ], 3731 [ 3732 "ds-button-icon", 3733 "", 3734 "size", 3735 "large", 3736 "variant", 3737 "filled", 3738 "kind", 3739 "secondary", 3740 3, 3741 "click", 3742 "inverse" 3743 ], 3744 [3, "name"], 3745 [ 3746 "vnMenuItemBadge", 3747 "", 3748 "item", 3749 "inbox", 3750 1, 3751 "am-inbox-badge", 3752 3, 3753 "section" 3754 ], 3755 [ 3756 1, 3757 "am-inbox-icon", 3758 "ui-icon", 3759 3, 3760 "click", 3761 "ngClass" 3762 ], 3763 [ 3764 "vnMenuItemBadge", 3765 "", 3766 "item", 3767 "inbox", 3768 "size", 3769 "small", 3770 1, 3771 "am-inbox-badge", 3772 3, 3773 "section" 3774 ] 3775 ], 3776 template: function(n, e) { 3777 n & 1 && d(0, Vr, 2, 1), n & 2 && m(e.visible ? 0 : -1); 3778 }, 3779 dependencies: [ 3780 T, 3781 I, 3782 Bi, 3783 Zo, 3784 z, 3785 rt 3786 ], 3787 encapsulation: 2 3788 }), t; 3789 })(), Gi = (() => { 3790 let t = class { 3791 constructor() { 3792 this.logger = u(za), this.trackingService = u(ne), this.errorContext = fa.required(); 3793 } 3794 get errorImage() { 3795 return this.errorMessage?.image; 3796 } 3797 get errorResources() { 3798 return this.errorMessage?.resources; 3799 } 3800 ngOnInit() { 3801 let e = this.errorContext(); 3802 this.errorMessage = this.findErrorMessage(e.content), this.errorMessage && (this.errorLink = this.findErrorLink(this.errorMessage), this.trackingService.trackEvents(this.errorMessage, Lt.load)), this.logger.errorRemote("Account menu item: \"ase-loyalty\" failed to load", /* @__PURE__ */ new Error(`ASE loyalty error: ${e.reason}`)); 3803 } 3804 findErrorMessage(e) { 3805 return e.children?.find((i) => i.type === "ase-loyalty-error-message"); 3806 } 3807 findErrorLink(e) { 3808 return e.children?.find((i) => i.type === "ase-loyalty-contact-support-link"); 3809 } 3810 }; 3811 return t.ɵfac = function(n) { 3812 return new (n || t)(); 3813 }, t.ɵcmp = b({ 3814 type: t, 3815 selectors: [["vn-am-ase-error-message"]], 3816 inputs: { errorContext: [1, "errorContext"] }, 3817 decls: 1, 3818 vars: 1, 3819 consts: [ 3820 [ 3821 1, 3822 "d-flex", 3823 "flex-column", 3824 "justify-content-center", 3825 "loyalty-widget-error" 3826 ], 3827 [ 3828 3, 3829 "height", 3830 "width", 3831 "src", 3832 "alt" 3833 ], 3834 [3, "item"], 3835 [ 3836 1, 3837 "ds-title-md-strong", 3838 3, 3839 "innerHtml" 3840 ], 3841 [ 3842 1, 3843 "ds-body-md", 3844 3, 3845 "innerHtml" 3846 ] 3847 ], 3848 template: function(n, e) { 3849 n & 1 && d(0, Wr, 4, 3, "div", 0), n & 2 && m(e.errorMessage ? 0 : -1); 3850 }, 3851 dependencies: [ 3852 me, 3853 we, 3854 q 3855 ], 3856 encapsulation: 2 3857 }), t; 3858 })(), Ki = (() => { 3859 let t = class { 3860 constructor() { 3861 this.navigationService = u(ke), this.trackingService = u(ne); 3862 } 3863 get tierRightImage() { 3864 return this.tier.nextBadge; 3865 } 3866 get tierLeftImage() { 3867 return this.tier.levelImage; 3868 } 3869 get tierCurrentImage() { 3870 return this.tier.currentBadge; 3871 } 3872 ngOnInit() { 3873 this.formattedPoints = this.tier?.currentPoints?.toLocaleStr
3873ing("en-US") ?? "0"; 3874 } 3875 openBenefitsCta() { 3876 return Se(this, null, function* () { 3877 this.tierRawContent && (yield this.trackingService.trackEvents(this.tierRawContent, Lt.click)), this.tier.cta.url && (yield this.navigationService.goTo(this.tier.cta.url)); 3878 }); 3879 } 3880 }; 3881 return t.ɵfac = function(n) { 3882 return new (n || t)(); 3883 }, t.ɵcmp = b({ 3884 type: t, 3885 selectors: [["vn-am-ase-tier-item"]], 3886 inputs: { 3887 tier: "tier", 3888 tierRawContent: "tierRawContent" 3889 }, 3890 decls: 26, 3891 vars: 27, 3892 consts: [ 3893 [1, "ase-loyalty__tier"], 3894 [ 3895 1, 3896 "ase-tier__img", 3897 3, 3898 "src" 3899 ], 3900 [1, "ase-tier__details"], 3901 [ 3902 1, 3903 "ase-tier__name", 3904 "ds-body-lg-strong" 3905 ], 3906 [ 3907 1, 3908 "ase-tier__points", 3909 "ds-body-md" 3910 ], 3911 [3, "vnDynamicHtml"], 3912 [ 3913 1, 3914 "ase-tier__message", 3915 "ds-label-md", 3916 3, 3917 "vnDynamicHtml" 3918 ], 3919 [ 3920 "ds-button", 3921 "", 3922 3, 3923 "class", 3924 "size", 3925 "kind" 3926 ], 3927 [1, "ase-loyalty__progress"], 3928 [ 3929 1, 3930 "ase-progress__title", 3931 "ds-label-lg-strong", 3932 3, 3933 "innerHtml" 3934 ], 3935 [ 3936 1, 3937 "ase-progress__txt", 3938 "ds-label-md", 3939 3, 3940 "innerHtml" 3941 ], 3942 [ 3943 1, 3944 "ase-progress__img", 3945 3, 3946 "src" 3947 ], 3948 [ 3949 "fill", 3950 "solid", 3951 "variant", 3952 "primary", 3953 3, 3954 "valueMode", 3955 "currentValue", 3956 "startValue", 3957 "endValue", 3958 "showCounter", 3959 "inverse" 3960 ], 3961 ["slot", "end"], 3962 [1, "ase-progress__info"], 3963 [ 3964 "name", 3965 "theme-info", 3966 1, 3967 "ase-progress__info-icn" 3968 ], 3969 [ 3970 1, 3971 "ase-progress__info-txt", 3972 "ds-label-md", 3973 3, 3974 "innerHtml" 3975 ], 3976 [ 3977 "ds-button", 3978 "", 3979 3, 3980 "click", 3981 "size", 3982 "kind" 3983 ], 3984 [ 3985 "variant", 3986 "on-surface-lowest", 3987 1, 3988 "ase-loyalty__divider" 3989 ], 3990 [1, "ase-loyalty__manager"], 3991 [ 3992 1, 3993 "ase-manager__title", 3994 "ds-label-lg-strong", 3995 3, 3996 "innerHtml" 3997 ], 3998 [1, "ase-manager__card"], 3999 [1, "ase-manager__details"], 4000 [ 4001 1, 4002 "ase-manager__name", 4003 "ds-title-sm-strong", 4004 3, 4005 "innerHtml" 4006 ], 4007 [ 4008 1, 4009 "ase-manager__availability", 4010 "ds-label-md", 4011 3, 4012 "innerHtml" 4013 ], 4014 [ 4015 1, 4016 "ase-manager__contact", 4017 "ase-manager__mob" 4018 ], 4019 [ 4020 1, 4021 "ase-manager__contact", 4022 "ase-manager__email" 4023 ], 4024 ["name", "theme-phone"], 4025 [ 4026 1, 4027 "ase-manager__mob-txt", 4028 "ds-label-md-strong", 4029 3, 4030 "innerHtml" 4031 ], 4032 ["name", "theme-mail-open"], 4033 [ 4034 1, 4035 "ase-manager__email-txt", 4036 "ds-label-md-strong", 4037 3, 4038 "innerHtml" 4039 ] 4040 ], 4041 template: function(n, e) { 4042 n & 1 && (a(0, "div", 0), d(1, jr, 1, 1, "vn-image", 1), a(2, "div", 2)(3, "div", 3), p(4), c(), a(5, "div", 4), p(6), h(7, "span", 5), c(), d(8, Gr, 1, 1, "div", 6), d(9, Kr, 2, 5, "a", 7), c()(), a(10, "div", 8), h(11, "div", 9), v(12, "trustAsHtml"), h(13, "div", 10), v(14, "trustAsHtml"), a(15, "div"), d(16, qr, 1, 1, "vn-image", 11), a(17, "ds-progress-bar", 12)(18, "div", 13), d(19, Xr, 1, 1), c()(), d(20, Zr, 1, 1, "vn-image", 11), c(), a(21, "div", 14), h(22, "vn-icon", 15)(23, "span", 16), v(24, "trustAsHtml"), c()(), d(25, el, 11, 9)), n & 2 && (s(), m(e.tierCurrentImage ? 1 : -1), s(3), f(e.tier.tierName), s(2), H(" ", e.formattedPoints, " "), s(), r("vnDynamicHtml", e.tier.details == null ? null : e.tier.details.pointsText), s(), m(e.tier.details?.genericInfo ? 8 : -1), s(), m(e.tier.cta && e.tier.cta.url ? 9 : -1), s(2), r("innerHtml", g(12, 21, e.tier.details == null ? null : e.tier.details.progressTitle), S), s(2), r("innerHtml", g(14, 23, e.tier.details == null ? null : e.tier.details.progressText), S), s(2), He(e.tier.progressBarClass), s(), m(e.tierLeftImage ? 16 : -1), s(), r("valueMode", "percentage")("currentValue", e.tier.progress ?? 0)("startValue", e.tier.startPoints ?? 0)("endValue", e.tier.endPoints ?? 100)("showCounter", !1)("inverse", !1), s(2), m(e.tier.belowProgressBarText ? 19 : -1), s(), m(e.tierRightImage ? 20 : -1), s(3), r("innerHtml", g(24, 25, e.tier.details == null ? null : e.tier.details.progressInformative), S), s(2), m(e.tier.manager && e.tier.manager.name ? 25 : -1)); 4043 }, 4044 dependencies: [ 4045 me, 4046 z, 4047 ye, 4048 Ne, 4049 Rc, 4050 re, 4051 q 4052 ], 4053 styles: [`@charset "UTF-8";.ase-loyalty__content{display:block;padding:var(--%NS%ase-loyalty-content-wrapper-padding)}.ase-loyalty__tier{display:var(--%NS%ase-loyalty-tier-display);gap:var(--%NS%ase-loyalty-tier-gap);position:relative}.ase-loyalty__divider{margin-block:var(--%NS%ase-loyalty-divider-margin-block)}.ase-loyalty__progress{margin-top:var(--%NS%ase-loyalty-progress-margin-top)}.ase-loyalty .ase-tier__img .vn-img{height:var(--%NS%ase-tier-img-height);width:var(--%NS%ase-tier-img-width)}.ase-loyalty .ase-tier__img .vn-img__image-fluid{height:100%;width:100%}.ase-loyalty .ase-tier__name{color:var(--%NS%ase-tier-name-color)}.ase-loyalty .ase-tier__points{color:var(--%NS%ase-tier-points-color);margin-top:var(--%NS%ase-tier-points-margin-top)}.ase-loyalty .ase-tier__message{color:var(--%NS%ase-tier-message-color);margin-top:var(--%NS%ase-tier-message-margin-top)}.ase-loyalty .ase-tier__btn{margin-top:var(--%NS%ase-tier-btn-margin-top)}.ase-loyalty .ase-progress__title{color:var(--%NS%ase-progress-tittle-color);margin-bottom:var(--%NS%ase-progress-txt-title-margin-bottom)}.ase-loyalty .ase-progress__txt{color:var(--%NS%ase-progress-txt-color)}.ase-loyalty .ase-progress__container{align-items:flex-start;display:flex;gap:var(--%NS%ase-progress-container-gap);margin-top:var(--%NS%ase-progress-container-margin-top)}.ase-loyalty .ase-progress__bar-level-1to3{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-1to3-color-secondary), var(--%NS%ase-tier-level-1to3-color-primary) )}.ase-loyalty .ase-progress__bar-level-4{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-4-color-secondary), var(--%NS%ase-tier-level-4-color-primary) )}.ase-loyalty .ase-progress__bar-level-5to8{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-5to8-color-secondary), var(--%NS%ase-tier-level-5to8-color-primary) )}.ase-loyalty .ase-progress__bar-level-1{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-1-color-secondary), var(--%NS%ase-tier-level-1-color-primary) )}.ase-loyalty .ase-progress__bar-level-2{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-2-color-secondary), var(--%NS%ase-tier-level-2-color-primary) )}.ase-loyalty .ase-progress__bar-level-3{--%NS%ds-progress-bar-custom-foreground: linear-gradient( 90deg, var(--%NS%ase-tier-level-3-color-secondary), var(--%NS%ase-tier-level-3-color-primary) )}.ase-loyalty .ase-progress__img{translate:0 -1px}.ase-loyalty .ase-progress__img .vn-img{height:var(--%NS%ase-progress-img-height);width:var(--%NS%ase-progress-img-width)}.ase-loyalty .ase-progress__img .vn-img__image-fluid{height:100%;width:100%}.ase-loyalty .ase-progress__info{align-items:center;color:var(--%NS%ase-progress-info-color);display:flex;gap:var(--%NS%ase-progress-info-gap);margin-top:var(--%NS%ase-progress-margin-top)}.ase-loyalty .ase-progress__info-icn{--%NS%vn-icon-size: var(--%NS%ase-progress-info-icn-size)}.ase-loyalty .ase-manager__title{color:var(--%NS%ase-manager-title-color)}.ase-loyalty .ase-manager__card{display:flex;gap:var(--%NS%ase-manager-card-gap);margin-top:var(--%NS%ase-manager-card-margin-top)}.ase-loyalty .ase-manager__name{color:var(--%NS%ase-manager-name-color)}.ase-loyalty .ase-manager__availability{color:var(--%NS%ase-manager-availability-color);margin-top:var(--%NS%ase-manager-availability-margin-top)}.ase-loyalty .ase-manager__contact{--%NS%vn-icon-size: var(--%NS%ase-manager-contact-icon-size);align-items:center;color:var(--%NS%ase-manager-contact-color);display:flex;gap:var(--%NS%ase-manager-contact-gap)}.ase-loyalty .ase-manager__img{width:var(--%NS%ase-manager-img-width)}.ase-loyalty .ase-manager__img .vn-img__image-fluid{width:100%}.ase-loyalty .ase-manager__mob{margin-top:var(--%NS%ase-manager-mob-margin-top)}.ase-loyalty .ase-manager__email{margin-top:var(--%NS%ase-manager-email-margin-top)} 4054`], 4055 encapsulation: 2, 4056 changeDetection: 1 4057 }), t; 4058 })(), qi = (() => { 4059 let t = class extends w { 4060 constructor() {
4061 super(...arguments), this.user = u(pe), this.accountMenuConfig = u(ue), this.dslService = u(te), this.destroyRef = u(F), this.defaultTier = 8, this.minProgressForText = 75; 4062 } 4063 get tierBackground() { 4064 return this.selectedTier.backgroundImage; 4065 } 4066 ngOnInit() { 4067 return Se(this, null, function* () { 4068 this.accountMenuVersion = this.accountMenuService.version, yield this.loadData(), this.user.events.pipe(L(this.destroyRef)).subscribe((e) => { 4069 e instanceof Ga && (e.diff.has("loyalty") || e.diff.has("loyaltyPoints")) && this.loadData(); 4070 }); 4071 }); 4072 } 4073 loadData() { 4074 return Se(this, null, function* () { 4075 if (!this.accountMenuConfig.account?.enableAseLoyalty) { 4076 this.aseLoyaltyEnabled = !1; 4077 return; 4078 } 4079 this.loyaltyTiers = this.item.children.filter((B) => B.type === "ase-loyalty-tier-item"); 4080 let e = this.loyaltyTiers.find((B) => B.parameters?.tierCategory?.toString() === this.user.loyalty?.toString()); 4081 if (!e) { 4082 this.errorContext = { 4083 showError: !0, 4084 reason: "tier-not-found", 4085 content: this.item 4086 }; 4087 return; 4088 } 4089 let i = ee(e?.parameters?.tierNumber) || this.defaultTier, l = this.findNextTierImage(this.loyaltyTiers, i); 4090 e?.parameters?.tierCategory && (this.itemData = e, this.aseLoyaltyEnabled = !0); 4091 let k = this.item.children.filter((B) => B.type === "cta"); 4092 k.length > 0 && (this.viewMyBenefitsCta = k[0]); 4093 let E = { 4094 tierName: e?.text || "", 4095 level: i.toString(), 4096 cta: { 4097 text: this.viewMyBenefitsCta?.text || "", 4098 url: this.viewMyBenefitsCta?.url, 4099 kind: this.viewMyBenefitsCta?.parameters.kind ?? "secondary", 4100 class: this.viewMyBenefitsCta?.class, 4101 size: this.viewMyBenefitsCta?.parameters?.size ?? "medium" 4102 }, 4103 currentPoints: this.user.loyaltyPoints || 0, 4104 tierCategory: e?.parameters?.tierCategory, 4105 nextTierLevel: e?.parameters?.NextTierNumber, 4106 backgroundImage: e?.image, 4107 nextBadge: e?.parameters?.fullProgressBar ? e?.parameters?.levelImage : l, 4108 currentBadge: e?.parameters?.headerTierImage ?? e?.parameters?.levelImage, 4109 startPoints: ee(e?.parameters?.levelStart), 4110 endPoints: ee(e?.parameters?.levelEnd), 4111 levelImage: e?.parameters?.fullProgressBar ? void 0 : e?.parameters?.levelImage, 4112 progressBarClass: e?.parameters?.progressBarClass, 4113 details: { 4114 pointsText: e?.resources?.PointsText, 4115 genericInfo: e?.resources?.ExplainText, 4116 progressTitle: e?.resources?.ProgressHeader, 4117 progressText: e?.resources?.ProgressMessage, 4118 progressInformative: e?.resources?.InformativeText 4119 } 4120 }; 4121 if (e) { 4122 let B = this.findTierPercentage(E.startPoints || 0, E.endPoints || 1, ee(this.user.loyaltyPoints)); 4123 if (e?.resources?.ManagerText) { 4124 let $ = yield this.getManagerInfo(); 4125 E.manager = { 4126 title: e?.resources?.ManagerText, 4127 name: $ ? this.extractPart($, 0) : "", 4128 availability: $ ? this.extractPart($, 1) : "", 4129 mob: $ ? this.extractPart($, 2) : "", 4130 email: $ ? this.extractPart($, 3) : "", 4131 image: e?.parameters?.managerImage ?? "" 4132 }; 4133 } 4134 E.progress = e?.parameters?.fullProgressBar ? 100 : B, E.progress >= this.minProgressForText && E.progress < 100 && e?.resources?.BelowProgressBarText && (E.belowProgressBarText = e?.resources?.BelowProgressBarText), this.selectedTier = E; 4135 } 4136 }); 4137 } 4138 extractPart(e, i) { 4139 return e ? e.replace(/<[^>]*>/g, "").split("__").map((l) => l.trim())[i] ?? "" : ""; 4140 } 4141 getManagerInfo() { 4142 return Se(this, null, function* () { 4143 try { 4144 return this.accountMenuConfig.account.accountManagerInfo.items ? (yield Ye(this.dslService.evaluateContent(this.accountMenuConfig.account.accountManagerInfo.items)))[0]?.text ?? null : null; 4145 } catch { 4146 return null; 4147 } 4148 }); 4149 } 4150 findNextTierImage(e, i) { 4151 let l = ee(i - 1); 4152 return l > 0 ? e.find((k) => k.parameters?.tierNumber === l.toString())?.parameters?.levelImage : e.find((k) => k.parameters?.tierNumber === i.toString())?.parameters?.levelImage; 4153 } 4154 findTierPercentage(e, i, l) { 4155 if (e = Math.max(0, e), i = Math.min(i, 1e9), i === 1 / 0) return 100; 4156 if (l <= e) return 0; 4157 if (l >= i) return 100; 4158 let k = (l - e) / (i - e) * 100; 4159 return Math.min(100, Math.max(0, k)); 4160 } 4161 }; 4162 return t.ɵfac = (() => { 4163 let n; 4164 return function(e) { 4165 return (n || (n = D(t)))(e || t); 4166 }; 4167 })(), t.ɵcmp = b({ 4168 type: t, 4169 selectors: [["vn-am-ase-loyalty"]], 4170 features: [C], 4171 decls: 1, 4172 vars: 1, 4173 consts: [ 4174 [ 4175 "surface", 4176 "lowest", 4177 1, 4178 "ase-loyalty", 4179 3, 4180 "elevated", 4181 "radius" 4182 ], 4183 [ 4184 "surface", 4185 "highest", 4186 "dsThemeConfig", 4187 "account-menu-ase-loyalty-card", 4188 3, 4189 "title" 4190 ], 4191 [3, "errorContext"], 4192 [ 4193 "imageClass", 4194 "ase-loyalty__bg", 4195 3, 4196 "height", 4197 "src", 4198 "width" 4199 ], 4200 [ 4201 1, 4202 "ase-loyalty__content", 4203 3, 4204 "tier", 4205 "tierRawContent" 4206 ] 4207 ], 4208 template: function(n, e) { 4209 n & 1 && d(0, sl, 5, 4, "ds-card", 0), n & 2 && m(e.accountMenuVersion === 4 && (e.aseLoyaltyEnabled || e.errorContext?.showError) ? 0 : -1); 4210 }, 4211 dependencies: [ 4212 me, 4213 fe, 4214 Ie, 4215 zt, 4216 We, 4217 Ki, 4218 Gi 4219 ], 4220 styles: [`@charset "UTF-8";vn-am-ase-loyalty{display:block;margin-bottom:var(--%NS%semantic-spacing-container-padding-xl)}vn-am-ase-loyalty .ds-card-content{position:relative}vn-am-ase-loyalty .ase-loyalty__bg{left:0;position:absolute;top:0}vn-am-ase-loyalty .ase-loyalty__bg .vn-img__image-fluid{width:auto} 4221`], 4222 encapsulation: 2, 4223 changeDetection: 1 4224 }), t; 4225 })(), Xi = (t) => ({ "balance-paypal-enable": t }), Qt = (() => { 4226 let t = class extends w { 4227 constructor() { 4228 super(...arguments), this.balancePropertiesService = u(Fe), this.menuContent = u(ue), this.arithmeticService = u(Pt), this.intlService = u(ge), this.dslService = u(te), this.destroyRef = u(F); 4229 } 4230 ngOnInit() { 4231 let e = this.item.parameters["paypal-text-ref"], i = this.item.parameters["tooltip-text-ref"], l = this.item.parameters.formula; 4232 this.balancePropertiesService.balanceProperties.pipe(oe(Boolean), L(this.destroyRef)).subscribe((k) => { 4233 l && (this.version > 1 ? this.dslService.evaluateExpression(l).pipe(L(this.destroyRef)).subscribe((E) => { 4234 this.balance = E; 4235 }) : this.balance = this.arithmeticService.solve(l, k)), e && k.payPalBalance && k.payPalBalance !== 0 && (this.payPalBalance = k.payPalBalance, this.payPalBalanceMessage = this.menuContent.resources.messages[e]?.replace("__AMOUNT__", this.intlService.formatCurrency(k.payPalBalance))); 4236 }), xt([this.dslService.evaluateExpression(this.menuContent.account.isPaypalBalanceMessageEnabled), this.dslService.evaluateExpression(this.menuContent.account.isPaypalReleaseFundsEnabled)]).pipe(L(this.destroyRef)).subscribe(([k, E]) => { 4237 this.showPayPalBalanceMessage = k && !!this.payPalBalanceMessage, this.showReleaseFunds = E, this.showReleaseFunds && (this.releaseFundsText = this.menuContent.resources.messages.ReleaseFunds, i && (this.releaseFundsTooltipText = this.menuContent.resources.messages[i])); 4238 }); 4239 } 4240 releaseFunds() { 4241 this.balancePropertiesService.transfer({ 4242 amount: this.payPalBalance, 4243 fromBalanceType: Ui.PayPalBal, 4244 toBalanceType: Ui.MainRealBal 4245 }).pipe(L(this.destroyRef)).subscribe(() => { 4246 this.payPalBalanceMessage = this.menuContent.resources.messages.ReleaseFundsConfirmation, this.showReleaseFunds = !1, this.balancePropertiesService.refresh(); 4247 }); 4248 } 4249 }; 4250 return t.ɵfac = (() => { 4251 let n; 4252 return function(e) { 4253 return (n || (n = D(t)))(e || t); 4254 }; 4255 })(), t.ɵcmp = b({ 4256 type: t, 4257 selectors: [["vn-am-available-balance"]], 4258 features: [C], 4259 decls: 7, 4260 vars: 8, 4261 consts: [ 4262 ["popper", ""], 4263 [ 4264 1, 4265 "list-nav-link", 4266 "dnh", 4267 "am-available-balance", 4268 3, 4269 "ngClass" 4270 ], 4271 [ 4272 1, 4273 "list-nav-txt", 4274 "balance-text" 4275 ], 4276 [ 4277 1, 4278 "font-weight-bold", 4279 "ml-auto", 4280 "balance-amount" 4281 ], 4282 [1, "balance-paypal-info"], 4283 [ 4284 1, 4285 "list-nav-txt", 4286 "balance-text",
4287 "paypal-release-funds" 4288 ], 4289 [3, "click"], 4290 [ 4291 1, 4292 "dh", 4293 "balance-details-link", 4294 "font-weight-medium" 4295 ], 4296 [3, "floatUi"], 4297 [ 4298 "name", 4299 "theme-info-i", 4300 "size", 4301 "20", 4302 "extraClass", 4303 "" 4304 ], 4305 ["cssClass", "tooltip-info"], 4306 ["content", ""] 4307 ], 4308 template: function(n, e) { 4309 n & 1 && (a(0, "div", 1)(1, "div", 2), p(2), c(), a(3, "div", 3), p(4), v(5, "vnCurrency"), c()(), d(6, ol, 4, 2, "div")), n & 2 && (r("ngClass", V(6, Xi, e.showPayPalBalanceMessage)), s(2), f(e.item.text), s(2), f(g(5, 4, e.balance)), s(2), m(e.showPayPalBalanceMessage ? 6 : -1)); 4310 }, 4311 dependencies: [ 4312 T, 4313 I, 4314 Ae, 4315 ze, 4316 Ve, 4317 z, 4318 ae 4319 ], 4320 encapsulation: 2, 4321 changeDetection: 1 4322 }), t; 4323 })(), Zi = (t, n) => ({ 4324 "ch-account-menu-v3__info-small": t, 4325 "ch-account-menu-v3__balance": n 4326 }), Ji = (t) => ({ "ch-accent font-weight-bold": t }), en = (() => { 4327 let t = class { 4328 constructor() { 4329 this.accountMenuService = u(je), this.menuActionsService = u(st), this.dslService = u(te), this.hideArrow = !1; 4330 } 4331 ngOnInit() { 4332 this.mainBalance = !!ce(this.item.parameters["main-balance"]), this.hideArrow = !!ce(this.item.parameters["hide-arrow"]), this.item.parameters.formula && (this.balance = this.dslService.evaluateExpression(this.item.parameters.formula)); 4333 } 4334 processClick(e, i) { 4335 this.accountMenuService.setActiveItem(i.name), this.menuActionsService.processClick(e, i, ot.Menu); 4336 } 4337 }; 4338 return t.ɵfac = function(n) { 4339 return new (n || t)(); 4340 }, t.ɵcmp = b({ 4341 type: t, 4342 selectors: [["vn-am-balance-header-item"]], 4343 inputs: { 4344 item: "item", 4345 mode: "mode" 4346 }, 4347 decls: 2, 4348 vars: 1, 4349 consts: [ 4350 [ 4351 1, 4352 "ch-balance__details", 4353 3, 4354 "ngClass" 4355 ], 4356 [ 4357 1, 4358 "ch", 4359 3, 4360 "account-balance", 4361 "account-info-small", 4362 "ngClass" 4363 ], 4364 [ 4365 1, 4366 "ch-balance__details", 4367 3, 4368 "click", 4369 "ngClass" 4370 ], 4371 [1, "ch-balance__label"], 4372 [ 4373 1, 4374 "ch-balance__detail", 4375 3, 4376 "ngClass" 4377 ], 4378 [ 4379 1, 4380 "ch", 4381 3, 4382 "click", 4383 "ngClass" 4384 ], 4385 [3, "ngClass"], 4386 [ 4387 1, 4388 "", 4389 3, 4390 "ngClass" 4391 ], 4392 [ 4393 "name", 4394 "theme-right", 4395 "size", 4396 "10" 4397 ] 4398 ], 4399 template: function(n, e) { 4400 n & 1 && d(0, cl, 7, 8, "div", 0)(1, ll, 9, 21, "div", 1), n & 2 && m(e.accountMenuService.version === 5 ? 0 : 1); 4401 }, 4402 dependencies: [ 4403 T, 4404 I, 4405 z, 4406 Ee, 4407 ae 4408 ], 4409 encapsulation: 2, 4410 changeDetection: 1 4411 }), t; 4412 })(), Yi = (() => { 4413 let t = class extends w { 4414 constructor() { 4415 super(...arguments), this.user = u(pe), this.greetings = W(null); 4416 } 4417 ngOnInit() { 4418 this.greetings.set(this.item.text?.replace("{DISPLAY_NAME}", this.user.displayName) ?? ""); 4419 } 4420 }; 4421 return t.ɵfac = (() => { 4422 let n; 4423 return function(e) { 4424 return (n || (n = D(t)))(e || t); 4425 }; 4426 })(), t.ɵcmp = b({ 4427 type: t, 4428 selectors: [["vn-am-balance-title"]], 4429 features: [C], 4430 decls: 6, 4431 vars: 2, 4432 consts: [ 4433 [ 4434 1, 4435 "ch-balance__header", 4436 3, 4437 "click" 4438 ], 4439 [1, "ch-balance__title"], 4440 [1, "ch-balance__legend"], 4441 [ 4442 "name", 4443 "theme-right", 4444 "size", 4445 "8", 4446 "extraClass", 4447 "ch-balance__icon d-flex" 4448 ] 4449 ], 4450 template: function(n, e) { 4451 n & 1 && (a(0, "div", 0), y("click", function(i) { 4452 return e.processClick(i, e.item); 4453 }), a(1, "div", 1), p(2), c(), a(3, "div", 2), p(4), h(5, "vn-icon", 3), c()()), n & 2 && (s(2), f(e.greetings()), s(2), H(" ", e.item.resources?.description ?? "", " ")); 4454 }, 4455 dependencies: [z], 4456 encapsulation: 2, 4457 changeDetection: 1 4458 }), t; 4459 })(), tn = (() => { 4460 let t = class extends w { 4461 constructor() { 4462 super(...arguments), this.balancePropertiesService = u(Fe), this.menuContent = u(ue), this.arithmeticService = u(Pt), this.dslService = u(te), this.destroyRef = u(F); 4463 } 4464 ngOnInit() { 4465 let e = this.item.parameters["tooltip-text-ref"], i = this.item.parameters["details-text-ref"], l = this.item.parameters.formula; 4466 this.hideDetailsIfZero = !!ce(this.item.parameters["hide-details-if-zero"]), this.hideIfZero = !!ce(this.item.parameters["hide-if-zero"]), this.balancePropertiesService.balanceProperties.pipe(oe(Boolean), L(this.destroyRef)).subscribe((k) => { 4467 l && (this.version > 1 ? this.dslService.evaluateExpression(l).pipe(L(this.destroyRef)).subscribe((E) => { 4468 this.balance = E; 4469 }) : this.balance = this.arithmeticService.solve(l, k)); 4470 }), e && (this.tooltipText = this.menuContent.resources.messages[e]), i && (this.detailsLinkText = this.menuContent.resources.messages[i]); 4471 } 4472 }; 4473 return t.ɵfac = (() => { 4474 let n; 4475 return function(e) { 4476 return (n || (n = D(t)))(e || t); 4477 }; 4478 })(), t.ɵcmp = b({ 4479 type: t, 4480 selectors: [["vn-am-balance-item"]], 4481 features: [C], 4482 decls: 1, 4483 vars: 1, 4484 consts: [ 4485 ["popper", ""], 4486 [ 4487 1, 4488 "list-nav-link", 4489 "dnh", 4490 3, 4491 "ngClass" 4492 ], 4493 [ 4494 1, 4495 "list-nav-txt", 4496 "balance-text" 4497 ], 4498 [3, "floatUi"], 4499 ["cssClass", "tooltip-info"], 4500 ["content", ""], 4501 [ 4502 1, 4503 "font-weight-bold", 4504 "ml-auto", 4505 "balance-amount" 4506 ], 4507 [3, "click"], 4508 [ 4509 1, 4510 "text-info", 4511 "text-underline", 4512 "balance-details-link" 4513 ], 4514 [ 4515 "name", 4516 "theme-info-i", 4517 "size", 4518 "14", 4519 "extraClass", 4520 "" 4521 ] 4522 ], 4523 template: function(n, e) { 4524 n & 1 && d(0, dl, 12, 9, "div", 1), n & 2 && m(!e.hideIfZero || e.balance
4524!== 0 ? 0 : -1); 4525 }, 4526 dependencies: [ 4527 T, 4528 I, 4529 Ae, 4530 ze, 4531 Ve, 4532 z, 4533 ae 4534 ], 4535 encapsulation: 2, 4536 changeDetection: 1 4537 }), t; 4538 })(), Qi = (() => { 4539 let t = class extends w { 4540 constructor() { 4541 super(); 4542 } 4543 }; 4544 return t.ɵfac = function(n) { 4545 return new (n || t)(); 4546 }, t.ɵcmp = b({ 4547 type: t, 4548 selectors: [["vn-am-banner"]], 4549 features: [C], 4550 decls: 6, 4551 vars: 1, 4552 consts: [ 4553 [ 4554 1, 4555 "am-banner", 4556 "dh", 4557 3, 4558 "click" 4559 ], 4560 [1, "am-banner__img"], 4561 [ 4562 3, 4563 "src", 4564 "imageClass" 4565 ], 4566 [1, "am-banner__txt"] 4567 ], 4568 template: function(n, e) { 4569 n & 1 && (a(0, "div", 0), y("click", function(i) { 4570 return e.processClick(i, e.item); 4571 }), a(1, "a", 1), N(2, hl, 1, 2, "vn-image", 2, e.trackByProp, !0), c(), a(4, "div", 3), p(5), c()()), n & 2 && (s(2), A(e.item.children), s(3), f(e.item.text)); 4572 }, 4573 dependencies: [me], 4574 encapsulation: 2, 4575 changeDetection: 1 4576 }), t; 4577 })(), es = (t) => ({ item: t }), ts = (() => { 4578 let t = class extends w { 4579 constructor() { 4580 super(...arguments), this.dslService = u(te), this.trackingService = u(ne), this.destroyRef = u(F), this.balance = 0; 4581 } 4582 ngOnInit() { 4583 this.dslService.evaluateExpression(this.item.parameters.formula).pipe(L(this.destroyRef)).subscribe((i) => this.balance = i), this.trackingService.triggerEvent(O.ContentView, { 4584 "component.CategoryEvent": "mini menu", 4585 "component.LabelEvent": "my bonuses", 4586 "component.ActionEvent": "load", 4587 "component.PositionEvent": "bonus and rewards", 4588 "component.LocationEvent": "wallet", 4589 "component.EventDetails": this.item.parameters.description ? `${this.item.text} - ${this.item.parameters.description}` : this.item.text, 4590 "component.URLClicked": "not applicable" 4591 }), this.hideIfZero = !!ce(this.item.parameters["hide-if-zero"]), this.description = this.item.resources.Description; 4592 let e = this.item.parameters["tooltip-text-ref"]; 4593 e && (this.tooltipText = this.item.resources[e]); 4594 } 4595 expand() { 4596 this.expanded = !this.expanded, this.trackingService.triggerEvent(O.Event, { 4597 "component.CategoryEvent": "my profile", 4598 "component.LabelEvent": "menu", 4599 "component.ActionEvent": "click", 4600 "component.PositionEvent": "wallet", 4601 "component.LocationEvent": "menu drawer", 4602 "component.EventDetails": this.expanded ? "expand" : "collapse", 4603 "component.URLClicked": "not applicable" 4604 }); 4605 } 4606 trackTooltip() { 4607 this.trackingService.triggerEvent(O.Event, { 4608 "component.CategoryEvent": "mini menu", 4609 "component.LabelEvent": "my bonuses", 4610 "component.ActionEvent": "click", 4611 "component.PositionEvent": "bonus and rewards", 4612 "component.LocationEvent": "wallet", 4613 "component.EventDetails": "unavailable tool tip", 4614 "component.URLClicked": "not applicable" 4615 }); 4616 } 4617 closeClicked(e) { 4618 e || this.trackingService.triggerEvent(O.Event, { 4619 "component.CategoryEvent": "mini menu", 4620 "component.LabelEvent": "my bonuses", 4621 "component.ActionEvent": "close", 4622 "component.PositionEvent": "bonus and rewards", 4623 "component.LocationEvent": "wallet", 4624 "component.EventDetails": "unavailable tool tip", 4625 "component.URLClicked": "not applicable" 4626 }); 4627 } 4628 }; 4629 return t.ɵfac = (() => { 4630 let n; 4631 return function(e) { 4632 return (n || (n = D(t)))(e || t); 4633 }; 4634 })(), t.ɵcmp = b({ 4635 type: t, 4636 selectors: [["vn-bonus-balance-header-item"]], 4637 features: [C], 4638 decls: 1, 4639 vars: 1, 4640 consts: [ 4641 ["popper", ""], 4642 [ 4643 1, 4644 "bonus-balance-header__item", 4645 3, 4646 "ngClass" 4647 ], 4648 [ 4649 "size", 4650 "large", 4651 "surface", 4652 "transparent", 4653 3, 4654 "open" 4655 ], 4656 ["roleType", "list"], 4657 [ 4658 "cssClass", 4659 "tooltip-info", 4660 "closeType", 4661 "button", 4662 3,
4663 "onCloseLinkClick" 4664 ], 4665 ["content", ""], 4666 [ 4667 1, 4668 "bonus-balance-header__item-desc", 4669 "ds-body-sm", 4670 3, 4671 "vnDynamicHtml" 4672 ], 4673 [ 4674 "size", 4675 "large", 4676 "surface", 4677 "transparent", 4678 3, 4679 "openedChange", 4680 "open" 4681 ], 4682 [ 4683 "slot", 4684 "start", 4685 1, 4686 "d-flex", 4687 "align-items-center" 4688 ], 4689 [ 4690 1, 4691 "bonus-balance-header__item-text", 4692 "pr-1" 4693 ], 4694 [3, "floatUi"], 4695 [ 4696 "slot", 4697 "end", 4698 1, 4699 "bonus-balance-header__item-balance" 4700 ], 4701 ["dsAccordionTrigger", ""], 4702 [1, "bonus-balance-header__subitems"], 4703 [ 4704 "name", 4705 "theme-info", 4706 "size", 4707 "14", 4708 "extraClass", 4709 "d-flex align-items-center", 4710 3, 4711 "click" 4712 ], 4713 [1, "bonus-balance-header__item-icon"], 4714 [ 4715 "name", 4716 "theme-up", 4717 "size", 4718 "12", 4719 "extraClass", 4720 "d-flex align-items-center justify-content-center" 4721 ], 4722 [ 4723 "name", 4724 "theme-down", 4725 "size", 4726 "12", 4727 "extraClass", 4728 "d-flex align-items-center justify-content-center" 4729 ], 4730 [ 4731 4, 4732 "vnDynamicComponent", 4733 "vnDynamicComponentAttr" 4734 ], 4735 [ 4736 "title", 4737 "", 4738 "size", 4739 "medium", 4740 3, 4741 "showCenterSlot" 4742 ] 4743 ], 4744 template: function(n, e) { 4745 n & 1 && d(0, _l, 8, 4, "div", 1), n & 2 && m(!e.hideIfZero || e.balance !== 0 ? 0 : -1); 4746 }, 4747 dependencies: [ 4748 T, 4749 I, 4750 K, 4751 re, 4752 Ae, 4753 ze, 4754 Ve, 4755 z, 4756 Ic, 4757 Hc, 4758 Pc, 4759 Ac, 4760 Lc, 4761 $t, 4762 Ut, 4763 ae 4764 ], 4765 encapsulation: 2, 4766 changeDetection: 1 4767 }), t; 4768 })(), nn = (t) => ({ item: t }), ns = (() => { 4769 let t = class extends w { 4770 constructor() { 4771 super(...arguments), this.bonusBalanceService = u(Ft); 4772 } 4773 ngOnInit() { 4774 this.bonusBalanceService.refresh(), this.item.children && (this.balanceItems = this.item.children.filter((e) => e.type !== "cta"), this.ctaItems = this.item.children.filter((e) => e.type === "cta")); 4775 } 4776 }; 4777 return t.ɵfac = (() => { 4778 let n; 4779 return function(e) { 4780 return (n || (n = D(t)))(e || t); 4781 }; 4782 })(), t.ɵcmp = b({ 4783 type: t, 4784 selectors: [["vn-bonus-balance-header"]], 4785 features: [C], 4786 decls: 8, 4787 vars: 6, 4788 consts: [ 4789 [ 4790 "dsThemeConfig", 4791 "account-menu-card", 4792 3, 4793 "ngClass" 4794 ], 4795 [ 4796 "dsThemeConfig", 4797 "account-menu-card", 4798 3, 4799 "surface" 4800 ], 4801 ["slot", "title"], 4802 [3, "ngClass"], 4803 [ 4804 1, 4805 "bonus-balance-header__cta", 4806 "d-flex", 4807 "align-items-center" 4808 ], 4809 [ 4810 4, 4811 "vnDynamicComponent", 4812 "vnDynamicComponentAttr" 4813 ] 4814 ], 4815 template: function(n, e) { 4816 if (n & 1 && (a(0, "ds-card", 0)(1, "ds-card-header", 1)(2, "div", 2), d(3, xl, 1, 1, "span", 3), d(4, Ml, 2, 1, "span"), c()(), a(5, "ds-card-content"), d(6, El, 2, 0), c(), d(7, Il, 3, 0, "div", 4), c()), n & 2) { 4817 let i, l; 4818 r("ngClass", e.item == null ? null : e.item.class), s(), r("surface", "low"), s(2), m((i = e.item?.parameters?.withdrawIconClass) ? 3 : -1, i), s(), m((l = e.item?.text) ? 4 : -1, l), s(2), m(e.balanceItems?.length ? 6 : -1), s(), m(e.ctaItems?.length ? 7 : -1); 4819 } 4820 }, 4821 dependencies: [ 4822 T, 4823 I, 4824 K, 4825 fe, 4826 Ie, 4827 zt, 4828 We 4829 ], 4830 encapsulation: 2, 4831 changeDetection: 1 4832 }), t; 4833 })(), sn = (() => { 4834 let t = class extends w { 4835 constructor() { 4836 super(...arguments), this.bonusBalanceService = u(Ft), this.balancePropertiesService = u(Fe), this.arithmeticService = u(Pt), this.balance = null, this.unsubscribe = new Z(); 4837 } 4838 ngOnInit() { 4839 let e = this.item.parameters.formula; 4840 xt([this.balancePropertiesService.balanceProperties, this.bonusBalanceService.bonusBalance]).pipe(X(this.unsubscribe)).subscribe(([i, l]) => { 4841 let k = Object.assign({}, i, Na(l, (E, B) => `bonus${Tt(B)}RestrictedBalance`)); 4842 e && (this.balance = this.arithmeticService.solve(e, k)); 4843 }); 4844 } 4845 ngOnDestroy() { 4846 this.unsubscribe.next(), this.unsubscribe.complete(); 4847 } 4848 }; 4849 return t.ɵfac = (() => { 4850 let n; 4851 return function(e) { 4852 return (n || (n = D(t)))(e || t); 4853 }; 4854 })(), t.ɵcmp = b({ 4855 type: t, 4856 selectors: [["vn-am-bonus-balance-item"]], 4857 features: [C], 4858 decls: 1, 4859 vars: 1, 4860 consts: [ 4861 [1, "bonus-balance-item"], 4862 [ 4863 1, 4864 "text-truncate", 4865 "bonus-balance-text" 4866 ], 4867 [ 4868 1, 4869 "text-truncate", 4870 "bonus-balance-amount" 4871 ] 4872 ], 4873 template: function(n, e) {
4874 n & 1 && d(0, Ll, 6, 5, "div", 0), n & 2 && m(e.balance !== null ? 0 : -1); 4875 }, 4876 dependencies: [ae], 4877 encapsulation: 2, 4878 changeDetection: 1 4879 }), t; 4880 })(), is = (() => { 4881 let t = class extends w { 4882 constructor() { 4883 super(...arguments), this.dslService = u(te), this.trackingService = u(ne), this.destroyRef = u(F); 4884 } 4885 ngOnInit() { 4886 this.trackingService.triggerEvent(O.ContentView, { 4887 "component.CategoryEvent": "mini menu", 4888 "component.LabelEvent": "my bonuses", 4889 "component.ActionEvent": "load", 4890 "component.PositionEvent": "bonus and rewards", 4891 "component.LocationEvent": "wallet", 4892 "component.EventDetails": this.item.text, 4893 "component.URLClicked": "not applicable" 4894 }), this.dslService.evaluateExpression(this.item.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.balance = e), this.hideIfZero = !!ce(this.item.parameters["hide-if-zero"]); 4895 } 4896 }; 4897 return t.ɵfac = (() => { 4898 let n; 4899 return function(e) { 4900 return (n || (n = D(t)))(e || t); 4901 }; 4902 })(), t.ɵcmp = b({ 4903 type: t, 4904 selectors: [["vn-bonus-balance-sub-item"]], 4905 features: [C], 4906 decls: 1, 4907 vars: 1, 4908 consts: [ 4909 [ 4910 1, 4911 "bonus-balance-header__item", 4912 3, 4913 "ngClass" 4914 ], 4915 [ 4916 "title", 4917 "", 4918 "size", 4919 "medium", 4920 3, 4921 "click", 4922 "showCenterSlot" 4923 ], 4924 [ 4925 "slot", 4926 "start", 4927 1, 4928 "bonus-balance-header__item-text" 4929 ], 4930 [ 4931 "slot", 4932 "end", 4933 1, 4934 "d-flex", 4935 "align-items-center" 4936 ], 4937 [1, "bonus-balance-header__item-balance"], 4938 [1, "bonus-balance-header__item-icon"], 4939 [ 4940 "name", 4941 "theme-right", 4942 "size", 4943 "12", 4944 "extraClass", 4945 "d-flex align-items-center justify-content-center" 4946 ] 4947 ], 4948 template: function(n, e) { 4949 n & 1 && d(0, Bl, 8, 5, "div", 0), n & 2 && m(!e.hideIfZero || e.balance !== 0 ? 0 : -1); 4950 }, 4951 dependencies: [ 4952 T, 4953 I, 4954 z, 4955 Ut, 4956 ae 4957 ], 4958 encapsulation: 2, 4959 changeDetection: 1 4960 }), t; 4961 })(), ss = (t) => ({ item: t }), an = (() => { 4962 let t = class extends w { 4963 constructor() { 4964 super(...arguments), this.bonusBalanceService = u(Ft), this.unsubscribe = new Z(); 4965 } 4966 ngOnInit() { 4967 this.bonusBalanceService.refresh(); 4968 } 4969 ngOnDestroy() { 4970 this.unsubscribe.next(null), this.unsubscribe.complete(); 4971 } 4972 }; 4973 return t.ɵfac = (() => { 4974 let n; 4975 return function(e) { 4976 return (n || (n = D(t)))(e || t); 4977 }; 4978 })(), t.ɵcmp = b({ 4979 type: t, 4980 selectors: [["vn-am-bonus-balance"]], 4981 features: [C], 4982 decls: 5, 4983 vars: 1, 4984 consts: [ 4985 [1, "bonus-balance-title"], 4986 [1, "bonus-balance-grid"], 4987 [ 4988 4, 4989 "vnDynamicComponent", 4990 "vnDynamicComponentAttr" 4991 ] 4992 ], 4993 template: function(n, e) { 4994 n & 1 && (a(0, "div", 0), p(1), c(), a(2, "div", 1), N(3, Ol, 1, 4, "ng-container", null, e.trackByProp, !0), c()), n & 2 && (s(), f(e.item.text), s(2), A(e.item.children)); 4995 }, 4996 dependencies: [K], 4997 encapsulation: 2, 4998 changeDetection: 1 4999 }), t; 5000 })(), as = (t) => ({ item: t }), on = (() => { 5001 let t = class extends w { 5002 constructor() { 5003 super(); 5004 } 5005 }; 5006 return t.ɵfac = function(n) { 5007 return new (n || t)(); 5008 }, t.ɵcmp = b({ 5009 type: t, 5010 selectors: [["vn-am-cashier-box"]], 5011 features: [C], 5012 decls: 4, 5013 vars: 0, 5014 consts: [ 5015 [ 5016 1, 5017 "list-group", 5018 "li-cashier", 5019 "mx-auto", 5020 "my-4" 5021 ], 5022 [ 5023 1, 5024 "px-2", 5025 "py-3" 5026 ], 5027 [ 5028 4, 5029 "vnDynamicComponent", 5030 "vnDynamicComponentAttr" 5031 ] 5032 ], 5033 template: function(n, e) { 5034 n & 1 && (a(0, "div", 0)(1, "div", 1), N(2, Vl, 1, 4, "ng-container", null, e.trackByProp, !0), c()()), n & 2 && (s(2), A(e.item.children)); 5035 }, 5036 dependencies: [K], 5037 encapsulation: 2, 5038 changeDetection: 1 5039 }), t; 5040 })(), cn = (() => { 5041 let t = class extends w { 5042 constructor() { 5043 super(...arguments), this.balancePropertiesService = u(Fe), this.dslService = u(te); 5044 } 5045 ngOnInit() { 5046 let e = this.item.parameters.balance; 5047 e ? this.balanceValue = this.dslService.evaluateExpression(e) : this.balanceFormula = this.item.parameters.formula; 5048 } 5049 }; 5050 return t.ɵfac = (() => { 5051 let n; 5052 return function(e) { 5053 return (n || (n = D(t)))(e || t); 5054 }; 5055 })(), t.ɵcmp = b({ 5056 type: t, 5057 selectors: [["vn-am-cashier-item"]], 5058 hostAttrs: [ 5059 1, 5060 "d-flex", 5061 "justify-content-between", 5062 "align-items-center" 5063 ], 5064 features: [C], 5065 decls: 4, 5066 vars: 4, 5067 consts: [[ 5068 1, 5069 "text-truncate", 5070 "balance-text" 5071 ], [ 5072 1, 5073 "text-truncate", 5074 "balance-amount" 5075 ]], 5076 template: function(n, e) { 5077 n & 1 && (a(0, "div", 0), p(1), c(), d(2, zl, 1, 1)(3, jl, 3, 3)), n & 2 && (se("data-testid", Qe("text", e.item.name)), s(), f(e.item.text), s(), m(e.balanceFormula ? 2 : 3)); 5078 }, 5079 dependencies: [ 5080 T, 5081 Ee, 5082 ao, 5083 ae 5084 ], 5085 encapsulation: 2, 5086 changeDetection: 1 5087 }), t; 5088 })(), Ce = (() => { 5089 let t = class { 5090 ngOnChanges(e) { 5091 if (e.segments && this.segments) { 5092 let i = 25; 5093 this.svgSegments = this.segments.map((l) => { 5094 let k = { 5095 dashArray: `${l.percent} ${100 - l.percent}`, 5096 dashOffset: i 5097 }; 5098 return l.class && (k.class = l.class), i -= l.percent, k; 5099 }); 5100 } 5101 } 5102 }; 5103 return t.ɵfac = function(n) { 5104 return new (n || t)(); 5105 }, t.ɵcmp = b({ 5106 type: t, 5107 selectors: [["vn-donut-chart"]], 5108 inputs: { segments: "segments" }, 5109 features: [ta], 5110 decls: 6, 5111 vars: 0, 5112 consts: [ 5113 [1, "vn-donut"], 5114 ["viewBox", "0 0 42 42"], 5115 [ 5116 "cx", 5117 "21", 5118 "cy", 5119 "21", 5120 "r", 5121 "15.91549430918954", 5122 1, 5123 "vn-donut-hole" 5124 ], 5125 [ 5126 "cx", 5127 "21", 5128 "cy", 5129 "21", 5130 "r", 5131 "15.91549430918954", 5132 1, 5133 "vn-donut-ring" 5134 ], 5135 [ 5136 "cx", 5137 "21", 5138 "cy", 5139 "21", 5140 "r", 5141 "15.91549430918954", 5142 1, 5143 "vn-donut-segment", 5144 3, 5145 "ngClass" 5146 ] 5147 ], 5148 template: function(n, e) {
5149 n & 1 && (a(0, "div", 0), Si(), a(1, "svg", 1), h(2, "circle", 2)(3, "circle", 3), N(4, Gl, 1, 3, ":svg:circle", 4, ma), c()()), n & 2 && (s(4), A(e.svgSegments)); 5150 }, 5151 dependencies: [T, I], 5152 styles: [`@charset "UTF-8";.vn-donut .vn-donut-ring{fill:transparent;stroke:var(--%NS%vn-donut-ring-color);stroke-width:10}.vn-donut .vn-donut-hole{fill:var(--%NS%vn-donut-hole-color)}.vn-donut .vn-donut-segment{--%NS%vn-donut-stroke-color: none;fill:transparent;stroke:var(--%NS%vn-donut-stroke-color);stroke-width:10}.am-wrapper .am-cashback.cashback-completed .vn-donut-segment{--%NS%vn-donut-stroke-color: var(--%NS%theme-success)}.am-wrapper .am-cashback .vn-donut{height:20px;margin-right:var(--%NS%site-spacer-s);width:20px}.am-wrapper .am-cashback .vn-donut .vn-donut-ring{stroke:var(--%NS%vn-donut-cashback-ring-color)}.am-wrapper .am-cashback .vn-donut .vn-donut-hole{fill:var(--%NS%vn-donut-cashback-fill-color)}.am-wrapper .am-cashback .vn-donut-segment{--%NS%vn-donut-stroke-color: var(--%NS%vn-donut-cashback-segment-color)}.am-wrapper .am-tile .vn-donut{height:52px;width:52px}.am-wrapper .am-balance-tile .vn-donut-segment.restricted{--%NS%vn-donut-stroke-color: var(--%NS%vn-donut-balance-tile-restricted-color)}.am-wrapper .am-balance-tile .vn-donut-segment.withdrawable{--%NS%vn-donut-stroke-color: var(--%NS%vn-donut-balance-tile-withdrawable-color)}.am-wrapper .am-cashback-tile .vn-donut-segment{--%NS%vn-donut-stroke-color: var(--%NS%vn-donut-cashback-tile-segment-color)}.am-wrapper .am-cashback-tile.cashback-completed .vn-donut-segment{--%NS%vn-donut-stroke-color: var(--%NS%theme-success)}.navigation-layout-page .navigation-tiles-wrapper .vn-donut{height:32px;width:32px} 5153`], 5154 encapsulation: 2, 5155 changeDetection: 1 5156 }), t; 5157 })(), gt = (() => { 5158 let t = class extends w { 5159 constructor() { 5160 super(...arguments), this.isFirstNotification = !0, this.hideSkeleton = !1, this.unsubscribe = new Z(); 5161 } 5162 ngOnInit() { 5163 this.additionalText = this.accountMenuService.resources.messages.CashbackInfoAdditionalText; 5164 } 5165 ngOnDestroy() { 5166 this.unsubscribe.next(), this.unsubscribe.complete(); 5167 } 5168 }; 5169 return t.ɵfac = (() => { 5170 let n; 5171 return function(e) { 5172 return (n || (n = D(t)))(e || t); 5173 }; 5174 })(), t.ɵdir = Be({ 5175 type: t, 5176 features: [C] 5177 }), t; 5178 })(), ft = (() => { 5179 let t = class extends gt { 5180 constructor() { 5181 super(), this.intlService = u(ge), this.accountMenuTrackingService = u(Y), this.trackingService = u(ne); 5182 } 5183 ngOnInit() { 5184 this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"), this.accountMenuService.loyaltyCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 5185 let i = "no opt-in"; 5186 e.optinStatus ? e.cashbackAmount >= 0 && e.cashbackCurrency && e.minEligibleAmount >= 0 && e.minEligibleAmountCurrency && (this.text = e.cashbackAmount.toString(), this.chartSegments = [{ percent: Math.min(e.cashbackAmount / e.minEligibleAmount * 100, 100) }], this.cashbackAmount = this.intlService.formatCurrency(e.cashbackAmount, e.cashbackCurrency), this.minCollection = this.accountMenuService.resources.messages.CashbackMinimumCollection?.replace("{MIN_COLLECTION}", this.intlService.formatCurrency(e.minEligibleAmount, e.minEligibleAmountCurrency)) ?? "", (e.minEligibleAmount || 0) > (e.cashbackAmount || 0) ? (i = "no collectable cash", this.description = this.accountMenuService.resources.messages.CasinoCashbackDescriptionMinimum.replace("{MINIMUM_CASHBACK_AMOUNT}", this.intlService.formatCurrency(e.minEligibleAmount, e.minEligibleAmountCurrency)), this.left = this.accountMenuService.resources.messages.CashbackLeft?.replace("{LEFT}", this.intlService.formatCurrency(e.minEligibleAmount - e.cashbackAmount, e.minEligibleAmountCurrency)) ?? "") : (this.isCompleted = !0, this.description = this.accountMenuService.resources.messages.CasinoCashbackDescriptionAvailable, i = "collectable cash")) : (this.description = this.accountMenuService.resources.messages.CasinoCashbackDescriptionOptin, this.descriptionV3 = this.accountMenuService.resources.messages.CasinoCashbackOptedInV3); 5187 let l = { "component.PositionEvent": i }; 5188 this.accountMenuTrackingService.replacePlaceholders(this.item, l), this.isFirstNotification && (this.isFirstNotification = !1, this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent")), this.hideSkeleton = !0; 5189 }), this.accountMenuService.updateLoyaltyCashback(); 5190 } 5191 }; 5192 return t.ɵfac = function(n) { 5193 return new (n || t)(); 5194 }, t.ɵdir = Be({ 5195 type: t, 5196 features: [C] 5197 }), t; 5198 })(), rn = (() => { 5199 let t = class extends ft { 5200 constructor() { 5201 super(); 5202 } 5203 }; 5204 return t.ɵfac = function(n) { 5205 return new (n || t)(); 5206 }, t.ɵcmp = b({ 5207 type: t, 5208 selectors: [["vn-am-casino-cashback-info"]], 5209 features: [C], 5210 decls: 4, 5211 vars: 6, 5212 consts: [ 5213 [1, "am-cashback"], 5214 [1, "cashback-main"], 5215 [ 5216 1, 5217 "cashback-description", 5218 3, 5219 "innerHtml" 5220 ], 5221 [3, "segments"], 5222 [1, "cashback-amount"], 5223 [ 5224 1, 5225 "cashback-additional-text", 5226 3, 5227 "innerHtml" 5228 ] 5229 ], 5230 template: function(n, e) { 5231 n & 1 && (a(0, "div", 0), d(1, ql, 6, 5, "div", 1), h(2, "div", 2), v(3, "trustAsHtml"), c()), n & 2 && (ie("cashback-completed", e.isCompleted), s(), m(e.text ? 1 : -1), s(), r("innerHtml", g(3, 4, e.description), S)); 5232 }, 5233 dependencies: [Ce, q], 5234 encapsulation: 2, 5235 changeDetection: 1 5236 }), t; 5237 })(), ln = (() => { 5238 let t = class extends w { 5239 constructor() { 5240 super(...arguments), this.eventsService = u(et); 5241 } 5242 get isAvailable() {
5243 let e = this.eventsService.event(), i = e?.data || {}; 5244 return e?.eventName === tt.ChatUpdate && i.isAvailable && !i.isOpen && (ce(this.item.parameters.checkWorkingHours) ? i.isWithinServiceHours : !0); 5245 } 5246 }; 5247 return t.ɵfac = (() => { 5248 let n; 5249 return function(e) { 5250 return (n || (n = D(t)))(e || t); 5251 }; 5252 })(), t.ɵcmp = b({ 5253 type: t, 5254 selectors: [["vn-am-chat-bubble"]], 5255 features: [C], 5256 decls: 1, 5257 vars: 1, 5258 consts: [[1, "am-chat-bubble"], [ 5259 1, 5260 "btn", 5261 "btn-chat", 5262 3, 5263 "click" 5264 ]], 5265 template: function(n, e) { 5266 n & 1 && d(0, Xl, 3, 2, "div", 0), n & 2 && m(e.isAvailable ? 0 : -1); 5267 }, 5268 encapsulation: 2, 5269 changeDetection: 1 5270 }), t; 5271 })(), un = (t) => ({ item: t }), os = (() => { 5272 let t = class extends w { 5273 ngOnInit() { 5274 this.leftItems = this.item.children.find((e) => e.name === "leftitems"), this.rightItems = this.item.children.find((e) => e.name === "rightitems"); 5275 } 5276 }; 5277 return t.ɵfac = (() => { 5278 let n; 5279 return function(e) { 5280 return (n || (n = D(t)))(e || t); 5281 }; 5282 })(), t.ɵcmp = b({ 5283 type: t, 5284 selectors: [["vn-container"]], 5285 features: [C], 5286 decls: 3, 5287 vars: 3, 5288 consts: [ 5289 [ 5290 1, 5291 "am-items-container", 5292 3, 5293 "ngClass" 5294 ], 5295 [ 5296 1, 5297 "am-items-container__left", 5298 3, 5299 "ngClass" 5300 ], 5301 [ 5302 1, 5303 "am-items-container__right", 5304 3, 5305 "ngClass" 5306 ], 5307 [ 5308 4, 5309 "vnDynamicComponent", 5310 "vnDynamicComponentAttr" 5311 ] 5312 ], 5313 template: function(n, e) { 5314 n & 1 && (a(0, "div", 0), d(1, Yl, 3, 1, "div", 1), d(2, tu, 3, 1, "div", 2), c()), n & 2 && (r("ngClass", e.item.class), s(), m(e.leftItems ? 1 : -1), s(), m(e.rightItems ? 2 : -1)); 5315 }, 5316 dependencies: [ 5317 T, 5318 I, 5319 K 5320 ], 5321 encapsulation: 2, 5322 changeDetection: 1 5323 }), t; 5324 })(), mn = (() => { 5325 let t = class extends w { 5326 constructor() { 5327 super(...arguments), this.contentMessagesService = u(Sc), this.messages = [], this.destroyRef = u(F); 5328 } 5329 ngOnInit() { 5330 this.item.parameters.source && (this.closedCookieKey = this.item.parameters["closed-cookie-key"], this.contentMessagesService.getMessages("contentMessages").pipe(L(this.destroyRef)).subscribe((e) => { 5331 let i = this.item.parameters.source?.toLowerCase(); 5332 i != null && !(e instanceof Array) && (this.messages = e[i] || []); 5333 })); 5334 } 5335 }; 5336 return t.ɵfac = (() => { 5337 let n; 5338 return function(e) { 5339 return (n || (n = D(t)))(e || t); 5340 }; 5341 })(), t.ɵcmp = b({ 5342 type: t, 5343 selectors: [["vn-am-content-messages"]], 5344 features: [C], 5345 decls: 3, 5346 vars: 5, 5347 consts: [[ 5348 "closedCookieKey", 5349 "vn-t", 5350 1, 5351 "am-content-messages", 5352 3, 5353 "messages" 5354 ]], 5355 template: function(n, e) { 5356 if (n & 1 && (d(0, nu, 1, 1, "vn-content-messages", 0), v(1, "dsl"), v(2, "async")), n & 2) { 5357 let i; 5358 m((i = g(2, 3, g(1, 1, e.messages))) ? 0 : -1, i); 5359 } 5360 }, 5361 dependencies: [ 5362 T, 5363 yc, 5364 Ee, 5365 It 5366 ], 5367 encapsulation: 2, 5368 changeDetection: 1 5369 }), t; 5370 })(), Ge = (() => { 5371 let t = class { 5372 constructor() { 5373 this.config = u(ue), this.claimsService = u(Mi); 5374 } 5375 get isVip() { 5376 return !!this.vipLevel && this.config.account.vipLevels.some((e) => e.toLowerCase() === this.vipLevel?.toLowerCase()); 5377 } 5378 get vipLevel() { 5379 return this.claimsService.get("http://api.bwin.com/v3/user/vipLevel"); 5380 } 5381 get ignoreVipLevel() { 5382 return this.config.account.ignoreVipLevel; 5383 } 5384 get currentVipLevelItem() { 5385 return this.config.vipLevels.find((e) => e.name.toLowerCase() === "level_" + (this.vipLevel || "nonvip").toLowerCase()); 5386 } 5387 get vipIcon() { 5388 return this.currentVipLevelItem.image.src; 5389 } 5390 get vipUrl() { 5391 return this.currentVipLevelItem.url; 5392 } 5393 get vipLabel() { 5394 return this.currentVipLevelItem.text; 5395 } 5396 }; 5397 return t.ɵfac = function(n) { 5398 return new (n || t)(); 5399 }, t.ɵprov = be({ 5400 token: t, 5401 factory: t.ɵfac, 5402 providedIn: "root" 5403 }), t; 5404 })(), bt = (() => { 5405 let t = class extends gt { 5406 constructor() { 5407 super(...arguments), this.accountMenuVipService = u(Ge), this.intlService = u(ge); 5408 } 5409 ngOnInit() { 5410 this.ignoreVipLevel = this.accountMenuVipService.ignoreVipLevel, this.ignoreVipLevel || this.accountMenuVipService.isVip ? (this.accountMenuService.coralCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 5411 if (!e.optinStatus) this.setDescription(); 5412 else { 5413 let i = e.currentPoints / e.minPointsReqForRedeem, l = (e.minPointsReqForRedeem - e.currentPoints).toString(); 5414 this.cashbackAmount = this.intlService.formatCurrency(e.cashbackAmount / 100, e.cashbackCurrency), this.isCompleted = i >= 1, this.chartSegments = [{ percent: i * 100 }], this.text = this.ignoreVipLevel ? this.accountMenuService.resources.messages.CoralCashbackCurrentPoints?.replace("{POINTS}", e.currentPoints.toString()) || "" : e.currentPoints.toString(), this.description = this.accountMenuService.resources.messages.CoralCashbackText.replace("{POINTS}", l).replace("{AMOUNT}", this.cashbackAmount), this.descriptionV3 = this.accountMenuService.resources.messages.CoralCashbackTextV3.replace("{POINTS}", l).replace("{AMOUNT}", this.cashbackAmount), this.availablePointsTitle = this.accountMenuService.resources.messages.CoralCashbackAvailablePoints, this.cashValueTitle = this.accountMenuService.resources.messages.CoralCashbackValue; 5415 } 5416 this.hideSkeleton = !0; 5417 }), this.accountMenuService.updateCoralCashback()) : this.setDescription(); 5418 } 5419 setDescription() { 5420 this.description = this.accountMenuService.resources.messages.CoralCashbackNonVipMessage, this.descriptionV3 = this.accountMenuService.resources.messages.CoralCashbackNonVipMessageV3; 5421 } 5422 }; 5423 return t.ɵfac = (() => { 5424 let n; 5425 return function(e) { 5426 return (n || (n = D(t)))(e || t); 5427 }; 5428 })(), t.ɵdir = Be({ 5429 type: t, 5430 features: [C] 5431 }), t; 5432 })(), dn = (() => { 5433 let t = class extends bt { 5434 constructor() { 5435 super(); 5436 } 5437 }; 5438 return t.ɵfac = function(n) { 5439 return new (n || t)(); 5440 }, t.ɵcmp = b({ 5441 type: t, 5442 selectors: [["vn-am-coral-cashback-info"]], 5443 features: [C], 5444 decls: 4, 5445 vars: 6, 5446 consts: [ 5447 [1, "am-cashback"], 5448 [1, "cashback-main"], 5449 [ 5450 1, 5451 "cashback-description", 5452 3, 5453 "innerHtml" 5454 ], 5455 [3, "segments"], 5456 [1, "cashback-amount"], 5457 [ 5458 1, 5459 "cashback-additional-text", 5460 3, 5461 "innerHtml" 5462 ] 5463 ], 5464 template: function(n, e) { 5465 n & 1 && (a(0, "div", 0), d(1, su, 6, 5, "div", 1), h(2, "div", 2), v(3, "trustAsHtml"), c()), n & 2 && (ie("cashback-completed", e.isCompleted), s(), m(e.text ? 1 : -1), s(), r("innerHtml", g(3, 4, e.description), S)); 5466 }, 5467 dependencies: [ 5468 T, 5469 Ce, 5470 q 5471 ], 5472 encapsulation: 2, 5473 changeDetection: 1 5474 }), t; 5475 })(), hn = (() => { 5476 let t = class { 5477 constructor() { 5478 this.claimService = u(Mi); 5479 } 5480 ngOnInit() { 5481 let e = this.claimService.get("vipLevel"); 5482 this.model = this.item.children.find((i) => i.name.toLowerCase() === "level_" + (e || "nonvip").toLowerCase()); 5483 } 5484 }; 5485 return t.ɵfac = function(n) { 5486 return new (n || t)(); 5487 }, t.ɵcmp = b({ 5488 type: t, 5489 selectors: [["lh-am-coral-cashback-level"]], 5490 inputs: { item: "item" }, 5491 decls: 1, 5492 vars: 1, 5493 consts: [ 5494 [1, "coral-cashback-level-content"], 5495 [ 5496 1, 5497 "coral-cashback-level-link", 5498 3, 5499 "href" 5500 ], 5501 [ 5502 "imageClass", 5503 "coral-cashback-level-img", 5504 3, 5505 "src", 5506 "alt", 5507 "width", 5508 "height" 5509 ], 5510 [1, "coral-cashback-level-txt"] 5511 ], 5512 template: function(n, e) { 5513 n & 1 && d(0, ou, 5, 3, "div", 0), n & 2 && m(e.model ? 0 : -1); 5514 }, 5515 dependencies: [me], 5516 encapsulation: 2, 5517 changeDetection: 1 5518 }), t; 5519 })(), pn = (() => { 5520 let t = class extends w { 5521 constructor() { 5522 super(...arguments), this.intlService = u(ge), this.accountMenuVipService = u(Ge), this.unsubscribe = new Z(); 5523 } 5524 ngOnInit() { 5525 this.accountMenuVipService.ignoreVipLevel || this.accountMenuVipService.isVip ? (this.accountMenuService.coralCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 5526 this.model = { 5527 title: this.accountMenuService.resources.messages.CoralCashbackTitle, 5528 currentPoints: this.accountMenuService.resources.messages.CoralCashbackCurrentPoints.replace("{POINTS}", e.currentPoints.toString()), 5529 cashValue: this.accountMenuService.resources.messages.CoralCashbackCashValue.replace("{AMOUNT}", this.intlService.formatCurrency(e.cashbackAmount / 100, e.cashbackCurrency)), 5530 minRequiredPointsForRedeem: this.accountMenuService.resources.messages.CoralCashbackMinRequiredPoints.replace("{MIN_POINTS}", e.minPointsReqForRedeem.toString()) 5531 }; 5532 }), this.accountMenuService.updateCoralCashback()) : this.nonVipMessage = this.accountMenuService.resources.messages.CoralCashbackNonVipMessage; 5533 } 5534 ngOnDestroy() { 5535 this.unsubscribe.next(), this.unsubscribe.complete(); 5536 } 5537 }; 5538 return t.ɵfac = (() => { 5539 let n; 5540 return function(e) { 5541 return (n || (n = D(t)))(e || t); 5542 }; 5543 })(), t.ɵcmp = b({ 5544 type: t, 5545 selectors: [["lh-am-coral-cashback"]], 5546 features: [C], 5547 decls: 4, 5548 vars: 3, 5549 consts: [ 5550 [1, "coral-cashback-content-wrapper"], 5551 [1, "coral-cashback-vip"], 5552 [1, "coral-cashback-non-vip"], 5553 [3, "item"], 5554 [ 5555 1, 5556 "coral-cashback-title", 5557 3, 5558 "innerHtml" 5559 ], 5560 [ 5561 1, 5562 "coral-cashback-current-points", 5563 3, 5564 "innerHtml" 5565 ], 5566 [ 5567 1, 5568 "coral-cashback-cash-value", 5569 3, 5570 "innerHtml" 5571 ], 5572 [ 5573 1, 5574 "coral-cashback-required-points", 5575 3, 5576 "innerHtml" 5577 ], 5578 [ 5579 1, 5580 "coral-cashback-message", 5581 3, 5582 "innerHtml" 5583 ] 5584 ], 5585 template: function(n, e) { 5586 n & 1 && (a(0, "div", 0), d(1, cu, 9, 12, "div", 1), d(2, ru, 3, 3, "div", 2), c(), h(3, "lh-am
5586-coral-cashback-level", 3)), n & 2 && (s(), m(e.model ? 1 : -1), s(), m(e.nonVipMessage ? 2 : -1), s(), r("item", e.item)); 5587 }, 5588 dependencies: [hn, q], 5589 encapsulation: 2, 5590 changeDetection: 1 5591 }), t; 5592 })(), vn = (() => { 5593 let t = class extends w { 5594 constructor() { 5595 super(), this.linkClass = "btn btn-primary"; 5596 } 5597 ngOnInit() { 5598 this.linkClass = this.item.parameters["link-class"] ? this.item.parameters["link-class"] : this.linkClass; 5599 } 5600 }; 5601 return t.ɵfac = function(n) { 5602 return new (n || t)(); 5603 }, t.ɵcmp = b({ 5604 type: t, 5605 selectors: [["vn-am-cta"]], 5606 features: [C], 5607 decls: 3, 5608 vars: 3, 5609 consts: [ 5610 [ 5611 1, 5612 "menu-btn-wrapper", 5613 3, 5614 "section", 5615 "item", 5616 "linkClass", 5617 "processClick", 5618 "displayMode" 5619 ], 5620 [ 5621 "linkClass", 5622 "btn btn-icon btn-dark btn-sm theme-handhsake mw-100", 5623 1, 5624 "am-cta", 5625 3, 5626 "section", 5627 "item", 5628 "processClick", 5629 "displayMode" 5630 ], 5631 [ 5632 1, 5633 "am-cta", 5634 3, 5635 "section", 5636 "item", 5637 "linkClass", 5638 "processClick", 5639 "displayMode" 5640 ], 5641 [ 5642 1, 5643 "menu-btn-wrapper", 5644 3, 5645 "onClick", 5646 "section", 5647 "item", 5648 "linkClass", 5649 "processClick", 5650 "displayMode" 5651 ], 5652 [ 5653 "linkClass", 5654 "btn btn-icon btn-dark btn-sm theme-handhsake mw-100", 5655 1, 5656 "am-cta", 5657 3, 5658 "onClick", 5659 "section", 5660 "item", 5661 "processClick", 5662 "displayMode" 5663 ], 5664 [ 5665 1, 5666 "am-cta", 5667 3, 5668 "onClick", 5669 "section", 5670 "item", 5671 "linkClass", 5672 "processClick", 5673 "displayMode" 5674 ] 5675 ], 5676 template: function(n, e) { 5677 n & 1 && (d(0, lu, 1, 5, "vn-menu-item", 0), d(1, uu, 1, 4, "vn-menu-item", 1), d(2, mu, 1, 5, "vn-menu-item", 2)), n & 2 && (m(e.version <= 1 || e.ver
5677sion === 4 || e.version === 6 ? 0 : -1), s(), m(e.version === 2 ? 1 : -1), s(), m(e.version === 3 || e.version === 5 ? 2 : -1)); 5678 }, 5679 dependencies: [we], 5680 encapsulation: 2, 5681 changeDetection: 1 5682 }), t; 5683 })(), gn = (() => { 5684 let t = class extends w { 5685 constructor() { 5686 super(), this.linkClass = "btn btn-icon btn-sm theme-handhsake mw-100"; 5687 } 5688 ngOnInit() { 5689 this.linkClass = this.item.parameters["link-class"] ? this.linkClass + " " + this.item.parameters["link-class"] : this.linkClass; 5690 } 5691 }; 5692 return t.ɵfac = function(n) { 5693 return new (n || t)(); 5694 }, t.ɵcmp = b({ 5695 type: t, 5696 selectors: [["vn-am-cta-v3"]], 5697 features: [C], 5698 decls: 3, 5699 vars: 3, 5700 consts: [ 5701 [ 5702 1, 5703 "menu-btn-wrapper", 5704 3, 5705 "section", 5706 "item", 5707 "linkClass", 5708 "processClick", 5709 "displayMode" 5710 ], 5711 [ 5712 "linkClass", 5713 "btn btn-icon btn-dark btn-sm theme-handhsake mw-100", 5714 1, 5715 "am-cta", 5716 3, 5717 "section", 5718 "item", 5719 "processClick", 5720 "displayMode" 5721 ], 5722 [ 5723 1, 5724 "am-cta", 5725 3, 5726 "section", 5727 "item", 5728 "linkClass", 5729 "processClick", 5730 "displayMode" 5731 ], 5732 [ 5733 1, 5734 "menu-btn-wrapper", 5735 3, 5736 "onClick", 5737 "section", 5738 "item", 5739 "linkClass", 5740 "processClick", 5741 "displayMode" 5742 ], 5743 [ 5744 "linkClass", 5745 "btn btn-icon btn-dark btn-sm theme-handhsake mw-100", 5746 1, 5747 "am-cta", 5748 3, 5749 "onClick", 5750 "section", 5751 "item", 5752 "processClick", 5753 "displayMode" 5754 ], 5755 [ 5756 1, 5757 "am-cta", 5758 3, 5759 "onClick", 5760 "section", 5761 "item", 5762 "linkClass", 5763 "processClick", 5764 "displayMode" 5765 ] 5766 ], 5767 template: function(n, e) { 5768 n & 1 && (d(0, du, 1, 5, "vn-menu-item", 0), d(1, hu, 1, 4, "vn-menu-item", 1), d(2, pu, 1, 5, "vn-menu-item", 2)), n & 2 && (m(e.version <= 1 || e.ver
5768sion === 4 || e.version === 6 ? 0 : -1), s(), m(e.version === 2 ? 1 : -1), s(), m(e.version === 3 || e.version === 5 ? 2 : -1)); 5769 }, 5770 dependencies: [we], 5771 encapsulation: 2, 5772 changeDetection: 1 5773 }), t; 5774 })(), cs = (() => { 5775 let t = class { 5776 constructor() { 5777 this.service = u(vc), this.content = u(Li), this.accountMenuTrackingService = u(Y); 5778 } 5779 toggleDarkMode() { 5780 this.accountMenuTrackingService.trackDarkModeToggle(!this.service.isEnabled), this.service.toggle(); 5781 } 5782 }; 5783 return t.ɵfac = function(n) { 5784 return new (n || t)(); 5785 }, t.ɵcmp = b({ 5786 type: t, 5787 selectors: [["vn-am-dark-mode"]], 5788 inputs: { item: "item" }, 5789 decls: 8, 5790 vars: 5, 5791 consts: [ 5792 [ 5793 1, 5794 "ch-toggle-with-icon", 5795 "d-flex", 5796 3, 5797 "click" 5798 ], 5799 [ 5800 "name", 5801 "theme-moon", 5802 "size", 5803 "14", 5804 "extraClass", 5805 "ch-toggle-with-icon__icon d-flex" 5806 ], 5807 [ 5808 "name", 5809 "theme-sun", 5810 "size", 5811 "14", 5812 "extraClass", 5813 "ch-toggle-with-icon__icon d-flex" 5814 ], 5815 [1, "ch-toggle-with-icon__title"] 5816 ], 5817 template: function(n, e) { 5818 n & 1 && (a(0, "div", 0), y("click", function() { 5819 return e.toggleDarkMode(); 5820 }), d(1, vu, 1, 0, "vn-icon", 1)(2, gu, 1, 0, "vn-icon", 2), a(3, "div", 3), d(4, fu, 2, 1, "span")(5, bu, 2, 1, "span"), a(6, "span"), p(7), c()()()), n & 2 && (ie("ch-toggle-with-icon--toggle", e.service.isEnabled), s(), m(e.service.isEnabled ? 1 : 2), s(3), m(e.service.isEnabled ? 4 : 5), s(3), f(e.item.resources?.mode)); 5821 }, 5822 dependencies: [z], 5823 encapsulation: 2, 5824 changeDetection: 1 5825 }), t; 5826 })(), rs = (t) => ({ "pl-2 pb-3": t }), fn = (() => { 5827 let t = class extends w { 5828 constructor() { 5829 super(...arguments), this.accountMenuResourceService = u(xe), this.intlService = u(ge), this.destroyRef = u(F), this.description = ""; 5830 } 5831 ngOnInit() { 5832 let e = ee(this.item.parameters["range-in-days"]); 5833 this.accountMenuResourceService.getAverageDeposit(e).pipe(L(this.destroyRef)).subscribe((i) => { 5834 if (i.labelAverageDepositAmount !== 0 || i.userAverageDepositAmount !== 0) { 5835 this.isPathological = i.labelAverageDepositAmount <= i.userAverageDepositAmount; 5836 let l = this.item.resources.RangeText?.replace("_RANGE_", e.toString()) || "", k = this.intlService.formatCurrency(i.labelAverageDepositAmount), E = this.isPathological ? this.item.resources[`PathologicalDescription${e}Days`] : this.item.resources[`GeneralDescription${e}Days`]; 5837 this.description = E?.replace("_RANGE_TEXT_", l).replace("_DEPOSIT_", k) || ""; 5838 } 5839 }); 5840 } 5841 click(e) { 5842 e.stopPropagation(); 5843 } 5844 }; 5845 return t.ɵfac = (() => { 5846 let n; 5847 return function(e) { 5848 return (n || (n = D(t)))(e || t); 5849 }; 5850 })(), t.ɵcmp = b({ 5851 type: t, 5852 selectors: [["vn-deposit-feedback"]], 5853 features: [C], 5854 decls: 1, 5855 vars: 1, 5856 consts: [ 5857 [1, "ch-widget__normative"], 5858 [ 5859 1, 5860 "normative-feedback", 5861 "mt-2", 5862 3, 5863 "ngClass" 5864 ], 5865 [1, "d-flex"], 5866 [ 5867 "name", 5868 "theme-warning", 5869 "extraClass", 5870 "ch__font--subtitle text-warning d-block mr-2", 5871 "height", 5872 "24", 5873 "width", 5874 "16" 5875 ], 5876 [ 5877 1, 5878 "ch__font--sm", 5879 3, 5880 "ngClass", 5881 "innerHTML" 5882 ], 5883 [1, "normative-options"], 5884 [ 5885 1, 5886 "text-uppercase", 5887 "font-weight-bold", 5888 3, 5889 "click", 5890 "href" 5891 ] 5892 ], 5893 template: function(n, e) { 5894 n & 1 && d(0, Su, 7, 9, "div", 0), n & 2 && m(e.description ? 0 : -1); 5895 }, 5896 dependencies: [ 5897 z, 5898 T, 5899 I, 5900 q 5901 ], 5902 encapsulation: 2, 5903 changeDetection: 1 5904 }), t; 5905 })(), ls = (t) => ({ "pl-2 pb-3": t }), bn = (() => { 5906 let t = class extends w { 5907 constructor() { 5908 super(...arguments), this.intlService = u(ge), this.description = ""; 5909 } 5910 ngOnInit() { 5911 let e = ee(this.item.parameters["range-in-days"]), i = this.item.resources.RangeText?.replace("_RANGE_", e.toString()) || "", l = this.data.totalReturn - this.data.totalStake, k = 0; 5912 switch (e) { 5913 case 30: 5914 k = this.data.monthlyAverage; 5915 break; 5916 case 365: 5917 k = this.data.yearlyAverage; 5918 break; 5919 default: k = this.data.weeklyAverage; 5920 } 5921 if (k) { 5922 l < 0 && (this.isPathological = Math.abs(l) >= k); 5923 let E = this.isPathological ? this.item.resources[`PathologicalDescription${e}Days`] : this.item.resources[`GeneralDescription${e}Days`], B = this.intlService.formatCurrency(k); 5924 if (this.description = E?.replace("_RANGE_TEXT_", i).replace("_LOSS_", B) || "", this.isPathological) { 5925 let $ = (Math.abs(l) - k) * 100 / k; 5926 $ > 100 ? ($ = $ / 100, this.description = this.description.replace("_LOSS-PER_", `${this.getAmountText($)} ${this.item.resources?.TimesText} `)) : this.description = this.description.replace("_LOSS-PER_", `${this.getAmountText($)}%`); 5927 } 5928 } 5929 } 5930 getAmountText(e) { 5931 let i = e.toFixed(2).replace(/0+$/, ""); 5932 return i = i.charAt(i.length - 1) === "." ? i.substring(0, i.length - 1) : i, i; 5933 } 5934 click(e) { 5935 e.stopPropagation(); 5936 } 5937 }; 5938 return t.ɵfac = (() => { 5939 let n; 5940 return function(e) { 5941 return (n || (n = D(t)))(e || t); 5942 }; 5943 })(), t.ɵcmp = b({ 5944 type: t, 5945 selectors: [["vn-profit-loss-feedback"]], 5946 inputs: { data: "data" }, 5947 features: [C], 5948 decls: 1, 5949 vars: 1, 5950 consts: [ 5951 [1, "ch-widget__normative"], 5952 [ 5953 1, 5954 "normative-feedback", 5955 "mt-2", 5956 3, 5957 "ngClass" 5958 ], 5959 [1, "d-flex"], 5960 [ 5961 "name", 5962 "theme-warning", 5963 "extraClass", 5964 "ch__font--subtitle text-warning d-block mr-2", 5965 "height", 5966 "24", 5967 "width", 5968 "16" 5969 ], 5970 [ 5971 1, 5972 "ch__font--sm", 5973 3, 5974 "ngClass", 5975 "innerHTML" 5976 ], 5977 [1, "normative-options"], 5978 [ 5979 1, 5980 "text-uppercase", 5981 "font-weight-bold", 5982 3, 5983 "click", 5984 "href" 5985 ] 5986 ], 5987 template: function(n, e) { 5988 n & 1 && d(0, _u, 7, 9, "div", 0), n & 2 && m(e.description ? 0 : -1); 5989 }, 5990 dependencies: [ 5991 z, 5992 T, 5993 I, 5994 q 5995 ], 5996 encapsulation: 2, 5997 changeDetection: 1 5998 }), t; 5999 })(), us = (t) => ({ scrolled: t }), ms = (t) => ({ item: t }), ds = (() => { 6000 let t = class extends w { 6001 constructor() {
6002 super(...arguments), this.user = u(pe), this.accountMenuScrollService = u(_e), this.destroyRef = u(F); 6003 } 6004 ngOnInit() { 6005 this.accountMenuScrollService.scroll.pipe(L(this.destroyRef)).subscribe((e) => { 6006 this.scrolled = e > 0; 6007 }); 6008 } 6009 restore() { 6010 this.accountMenuScrollService.scrollTo(0, 0); 6011 } 6012 }; 6013 return t.ɵfac = (() => { 6014 let n; 6015 return function(e) { 6016 return (n || (n = D(t)))(e || t); 6017 }; 6018 })(), t.ɵcmp = b({ 6019 type: t, 6020 selectors: [["vn-am-header-account"]], 6021 features: [C], 6022 decls: 2, 6023 vars: 1, 6024 consts: [ 6025 [ 6026 1, 6027 "am-logged-out__img", 6028 "d-flex", 6029 "justify-content-center" 6030 ], 6031 [ 6032 1, 6033 "ch-account-menu-v3__detail-container", 6034 "d-flex", 6035 "justify-content-center", 6036 3, 6037 "ngClass" 6038 ], 6039 [ 6040 1, 6041 "am-logged-out__img", 6042 "d-flex", 6043 "justify-content-center", 6044 3, 6045 "click" 6046 ], 6047 [ 6048 "imageClass", 6049 "am-avatar-img", 6050 3, 6051 "src" 6052 ], 6053 [ 6054 1, 6055 "ch-account-menu-v3__detail-container", 6056 "d-flex", 6057 "justify-content-center", 6058 3, 6059 "click", 6060 "ngClass" 6061 ], 6062 [ 6063 1, 6064 "am-avatar-text", 6065 "ch-account-menu-v3__detail-name" 6066 ], 6067 [1, "am-avatar-text-user"], 6068 [3, "innerHtml"], 6069 [ 6070 1, 6071 "am-anchor", 6072 3, 6073 "vnElementKey" 6074 ], 6075 [1, "am-btn-actions"], 6076 [ 6077 4, 6078 "vnDynamicComponent", 6079 "vnDynamicComponentAttr" 6080 ] 6081 ], 6082 template: function(n, e) { 6083 n & 1 && d(0, xu, 2, 1, "div", 0)(1, Eu, 12, 12, "div", 1), n & 2 && m(e.version === 6 ? 0 : 1); 6084 }, 6085 dependencies: [ 6086 T, 6087 I, 6088 K, 6089 it, 6090 me, 6091 Ee, 6092 It, 6093 q 6094 ], 6095 encapsulation: 2, 6096 changeDetection: 1 6097 }), t; 6098 })(), hs = (t) => ({ scrolled: t }), kn = (() => { 6099 let t = class extends w { 6100 constructor() { 6101 super(...arguments), this.userService = u(pe), this.accountMenuVipService = u(Ge), this.accountMenuScrollService = u(_e), this.destroyRef = u(F); 6102 } 6103 ngOnInit() { 6104 this.iconClass = this.item.parameters?.["avatar-icon-class"] || "theme-account", this.accountMenuScrollService.scroll.pipe(L(this.destroyRef)).subscribe((e) => { 6105 this.scrolled = e > 0; 6106 }); 6107 } 6108 restore() { 6109 this.accountMenuScrollService.scrollTo(0, 0); 6110 } 6111 }; 6112 return t.ɵfac = (() => { 6113 let n; 6114 return function(e) { 6115 return (n || (n = D(t)))(e || t); 6116 }; 6117 })(), t.ɵcmp = b({ 6118 type: t, 6119 selectors: [["vn-am-header-avatar"]], 6120 features: [C], 6121 decls: 2, 6122 vars: 1, 6123 consts: [ 6124 ["vipLevel", ""], 6125 [ 6126 1, 6127 "ch-account-menu-v3__detail-container", 6128 "d-flex", 6129 "justify-content-center", 6130 3, 6131 "ngClass" 6132 ], 6133 [1, "am-avatar"], 6134 [ 6135 1, 6136 "ch-account-menu-v3__detail-container", 6137 "d-flex", 6138 "justify-content-center", 6139 3, 6140 "click", 6141 "ngClass" 6142 ], 6143 [ 6144 1, 6145 "am-avatar-text", 6146 "ch-account-menu-v3__detail-name" 6147 ], 6148 [1, "am-avatar-text-user"], 6149 [ 6150 1, 6151 "am-anchor", 6152 3, 6153 "vnElementKey" 6154 ], 6155 [ 6156 1, 6157 "am-avatar-icon", 6158 3, 6159 "ngClass" 6160 ], 6161 [ 6162 "size", 6163 "28", 6164 3, 6165 "name" 6166 ], 6167 [ 6168 "imageClass", 6169 "vip-icon", 6170 3, 6171 "src", 6172 "alt" 6173 ], 6174 [1, "am-avatar-text"], 6175 [1, "am-avatar-text-vip"], 6176 [1, "vip-text"], 6177 [ 6178 1, 6179 "vip-link", 6180 3, 6181 "href" 6182 ], 6183 [ 6184 1, 6185 "vip-level", 6186 3, 6187 "ngClass" 6188 ], 6189 [4, "ngTemplateOutlet"] 6190 ], 6191 template: function(n, e) { 6192 n & 1 && d(0, Au, 5, 5, "div", 1)(1, Ou, 8, 5, "div", 2), n & 2 && m(e.version > 2 ? 0 : 1); 6193 }, 6194 dependencies: [ 6195 T, 6196 I, 6197 yi, 6198 it, 6199 me, 6200 z 6201 ], 6202 encapsulation: 2, 6203 changeDetection: 1 6204 }), t; 6205 })(), Cn = (() => { 6206 let t = class extends w { 6207 constructor() { 6208 super(); 6209 } 6210 close() { 6211 this.accountMenuService.toggle(!1, { closedWithButton: !0 }); 6212 } 6213 }; 6214 return t.ɵfac = function(n) { 6215 return new (n || t)(); 6216 }, t.ɵcmp = b({ 6217 type: t, 6218 selectors: [["vn-am-header-close"]], 6219 features: [C], 6220 decls: 2, 6221 vars: 1, 6222 consts: [[ 6223 "ds-button-icon", 6224 "", 6225 "kind", 6226 "secondary", 6227 "variant", 6228 "flat", 6229 "size", 6230 "medium", 6231 "aria-label", 6232 "Close menu", 6233 1, 6234 "am-close", 6235 "dh", 6236 3, 6237 "click", 6238 "ngClass" 6239 ], [ 6240 "name", 6241 "theme-ex", 6242 "aria-hidden", 6243 "true" 6244 ]], 6245 template: function(n, e) { 6246 n & 1 && (a(0, "button", 0), y("click", function() { 6247 return e.close(); 6248 }), h(1, "vn-icon", 1), c()), n & 2 && r("ngClass", e.item.class); 6249 }, 6250 dependencies: [ 6251 T, 6252 I, 6253 z, 6254 rt 6255 ], 6256 encapsulation: 2, 6257 changeDetection: 1 6258 }), t; 6259 })(), Sn = (() => { 6260 let t = class extends w { 6261 constructor() {
6262 super(...arguments), this.inboxService = u(Ai), this.newMessagesCount = 0, this.unsubscribe = new Z(); 6263 } 6264 ngOnInit() { 6265 this.inboxService.whenReady.pipe(X(this.unsubscribe)).subscribe(() => { 6266 this.inboxService.count.pipe(X(this.unsubscribe)).subscribe((e) => { 6267 this.newMessagesCount = e || 0, this.newMessagesText = this.item.resources.NewMessagesText.replace("_COUNT_", this.newMessagesCount.toString()); 6268 }); 6269 }); 6270 } 6271 ngOnDestroy() { 6272 this.unsubscribe.next(), this.unsubscribe.complete(); 6273 } 6274 }; 6275 return t.ɵfac = (() => { 6276 let n; 6277 return function(e) { 6278 return (n || (n = D(t)))(e || t); 6279 }; 6280 })(), t.ɵcmp = b({ 6281 type: t, 6282 selectors: [["vn-am-header-inbox"]], 6283 features: [C], 6284 decls: 3, 6285 vars: 6, 6286 consts: [ 6287 [1, "am-inbox"], 6288 [ 6289 "badgePosition", 6290 "FastIcon", 6291 "iconClass", 6292 "ui-icon ui-icon-size-lg", 6293 3, 6294 "click", 6295 "item", 6296 "section", 6297 "displayMode", 6298 "badgeClass", 6299 "processClick" 6300 ], 6301 [1, "inbox-count"], 6302 [1, "inbox-count-txt"] 6303 ], 6304 template: function(n, e) { 6305 n & 1 && (a(0, "div", 0)(1, "vn-menu-item", 1), y("click", function(i) { 6306 return e.processClick(i, e.item, !1); 6307 }), c(), d(2, Vu, 2, 1, "div", 2), c()), n & 2 && (s(), r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.MenuDisplayMode.FastIcon)("badgeClass", e.isCH ? "badge-size-sm" : "theme-spot-filled")("processClick", !1), s(), m(e.isCH ? -1 : 2)); 6308 }, 6309 dependencies: [we], 6310 encapsulation: 2, 6311 changeDetection: 1 6312 }), t; 6313 })(), ps = (t) => ({ scrolled: t }), vs = (t) => ({ item: t }), yn = (() => { 6314 let t = class extends w { 6315 constructor() { 6316 super(...arguments), this.accountMenuScrollService = u(_e), this.destroyRef = u(F); 6317 } 6318 ngOnInit() { 6319 this.accountMenuScrollService.scroll.pipe(L(this.destroyRef)).subscribe((e) => { 6320 this.scrolled = e > 0; 6321 }); 6322 } 6323 close() { 6324 this.accountMenuService.toggle(!1, { closedWithButton: !0 }); 6325 } 6326 }; 6327 return t.ɵfac = (() => { 6328 let n; 6329 return function(e) { 6330 return (n || (n = D(t)))(e || t); 6331 }; 6332 })(), t.ɵcmp = b({ 6333 type: t, 6334 selectors: [["vn-am-header"]], 6335 features: [C], 6336 decls: 4, 6337 vars: 4, 6338 consts: [ 6339 [ 6340 1, 6341 "am-header", 6342 3, 6343 "ngClass" 6344 ], 6345 [ 6346 "ds-button-icon", 6347 "", 6348 "kind", 6349 "secondary", 6350 "variant", 6351 "flat", 6352 "size", 6353 "medium", 6354 "aria-label", 6355 "Close menu", 6356 1, 6357 "am-close" 6358 ], 6359 [ 6360 4, 6361 "vnDynamicComponent", 6362 "vnDynamicComponentAttr" 6363 ], 6364 [ 6365 "ds-button-icon", 6366 "", 6367 "kind", 6368 "secondary", 6369 "variant", 6370 "flat", 6371 "size", 6372 "medium", 6373 "aria-label", 6374 "Close menu", 6375 1, 6376 "am-close", 6377 3, 6378 "click" 6379 ], 6380 [ 6381 "name", 6382 "theme-ex", 6383 "size", 6384 "24", 6385 "aria-hidden", 6386 "true" 6387 ] 6388 ], 6389 template: function(n, e) { 6390 n & 1 && (a(0, "div", 0), N(1, zu, 1, 4, "ng-container", null, e.trackByProp, !0), d(3, Fu, 2, 0, "button", 1), c()), n & 2 && (r("ngClass", V(2, ps, e.scrolled)), s(), A(e.item.children), s(2), m(e.version < 3 ? 3 : -1)); 6391 }, 6392 dependencies: [ 6393 T, 6394 I, 6395 K, 6396 z, 6397 rt 6398 ], 6399 encapsulation: 2, 6400 changeDetection: 1 6401 }), t; 6402 })(), gs = ["linkContainer"], fs = (t) => ({ item: t }), wn = (t, n) => ({ 6403 item: t, 6404 mode: n 6405 }), _n = (() => { 6406 var t; 6407 let n = class extends w { 6408 constructor() { 6409 super(), Ys(this, t), this.scrollTop = 0, this.scrollMode = !1, this.SWIPE_THRESHOLD = 25, this.accountMenuDrawerService = u(Le), Qs(this, t, u(Ea)), this._doc = u(na), this.accountMenuTasksService = u(lt), this.accountMenuDataService = u(de), this.accountMenuScrollService = u(_e), this.elementRepositoryService = u(Ni), this.timerService = u(Fa), this.destroyRef = u(F); 6410 } 6411 get templateVersion() { 6412 return this.version === 1 ? 1 : this.version === 3 && this.accountMenuDataService.routerMode ? 3 : 2; 6413 } 6414 get scrollOffset() { 6415 return this.scrollMode ? 25 : 0; 6416 } 6417 ngOnInit() { 6418 this.accountMenuScrollService.scroll.pipe(L(this.destroyRef)).subscribe((i) => this.onScroll(i)); 6419 } 6420 ngAfterViewInit() { 6421 this.version === 3 && (this.accountMenuDrawerService.resetDrawerPosition.pipe(L(this.destroyRef)).subscribe(() => { 6422 this.timerService.setTimeout(() => { 6423 this.accountMenuDrawerService.setDrawerPosition({ 6424 position: J.Middle, 6425 height: this.getNextHeight(J.Middle), 6426 isAutomaticallyOpened: !0 6427 }); 6428 }); 6429 }), this.accountMenuRouter.currentRoute.pipe(Dt((i) => i !== null), L(this.destroyRef)).subscribe(() => this.accountMenuDrawerService.resetDrawer())); 6430 } 6431 onTouchStart(i) { 6432 this.startY = i.changedTouches ? i.changedTouches[0].pageY : i.deltaY; 6433 } 6434 onTouchEnd(i) { 6435 let l = i.changedTouches ? i.changedTouches[0].pageY - this.startY : i.deltaY, k = Math.abs(l), E = l > 0 ? le.Down : le.Up; 6436 (k >= this.SWIPE_THRESHOLD ? E : "") === le.Down && this.linkContainer.nativeElement.scrollTop === 0 && this.setNextHeight(J.Middle, le.Down); 6437 } 6438 onSwipe(i, l) { 6439 [le.Up, le.Down].includes(i) && (l === J.Middle && i === le.Up || this.setNextHeight(l, i), i === le.Down && this.linkContainer.nativeElement.style.touchAction === "manipulation" && this.setScroll(!0)); 6440 } 6441 getIcon(i) { 6442 return i === J.Bottom ? "up" : "down"; 6443 } 6444 setNextHeight(i, l) { 6445 this.accountMenuTasksService.expanded = !1; 6446 let k = i === J.Bottom ? J.Middle : this.getNextPosition(i, l); 6447 k === J.Middle && this.setScroll(!0), this.timerService.setTimeout(() => { 6448 let E = this.getNextHeight(k); 6449 this.accountMenuDrawerService.setDrawerPosition({ 6450 position: k, 6451 height: E 6452 }); 6453 }); 6454 } 6455 getNextHeight(i) { 6456 if (i === J.Middle) { 6457 let l = ((this.elementRepositoryService.get($e.ACCOUNT_MENU_TASKS_ANCHOR) || this.elementRepositoryService.get($e.ACCOUNT_MENU_SLIDER_ANCHOR))?.getBoundingClientRect().top ?? 0) + Js(this, t).scrollY; 6458 return this._doc.documentElement.clientHeight - this.scrollTop - this.scrollOffset - l; 6459 } 6460 return 50; 6461 } 6462 onScroll(i) { 6463 this.scrollTop = i, this.scrollMode = i > 0; 6464 } 6465 setScroll(i) { 6466 this.linkContainer.nativeElement.style.overflow = i ? "auto" : "hidden", this.linkContainer.nativeElement.style.touchAction = i ? "manipulation" : "none"; 6467 } 6468 getNextPosition(i, l) { 6469 switch (l) { 6470 case le.Up: return this.scrollMode ? J.Middle : Math.min(i + 1, J.Middle); 6471 case le.Down: return this.scrollMode || i === J.Bottom ? J.Bottom : i - 1; 6472 default: return J.Bottom; 6473 } 6474 } 6475 }; 6476 return t = /* @__PURE__ */ new WeakMap(), n.ɵfac = function(e) { 6477 return new (e || n)(); 6478 }, n.ɵcmp = b({ 6479 type: n, 6480 selectors: [["vn-am-icon-menu"]], 6481 viewQuery: function(e, i) { 6482 if (e & 1 && qe(gs, 5), e & 2) { 6483 let l; 6484 Je(l = Ze()) && (i.linkContainer = l.first); 6485 } 6486 }, 6487 features: [C], 6488 decls: 3, 6489 vars: 3, 6490 consts: [ 6491 ["linkContainer", ""], 6492 [ 6493 1, 6494 "list-nav", 6495 "px-wrapper" 6496 ], 6497 [ 6498 1, 6499 "am-items", 6500 3, 6501 "ngClass" 6502 ], 6503 [ 6504 4, 6505 "vnDynamicComponent", 6506 "vnDynamicComponentAttr" 6507 ], 6508 [1, "account-drawer"], 6509 [1, "account-drawer__container"], 6510 [ 6511 "vnSwipe", 6512 "", 6513 1, 6514 "account-drawer__header", 6515 3, 6516 "onSwipe", 6517 "click" 6518 ], 6519 [ 6520 1, 6521 "arrow-status-icon", 6522 3, 6523 "ngClass" 6524 ], 6525 [1, "left-bar"], 6526 [1, "right-bar"], 6527 [ 6528 1, 6529 "account-drawer__link-container", 6530 3, 6531 "touchstart", 6532 "touchend" 6533 ] 6534 ], 6535 template: function(e, i) { 6536 e & 1 && (d(0, Gu, 3, 0, "div", 1), d(1, Xu, 3, 1, "div", 2), d(2, Qu, 1, 1)), e & 2 && (m(i.templateVersion === 1 ? 0 : -1), s(), m(i.templateVersion === 2 ? 1 : -1), s(), m(i.templateVersion === 3 ? 2 : -1)); 6537 }, 6538 dependencies: [ 6539 T, 6540 I, 6541 K, 6542 Bt 6543 ], 6544 styles: [`@charset "UTF-8";.arrow-status-icon{border-radius:4px;cursor:pointer;display:block;height:20px;margin:1em auto;position:relative;width:48px}.arrow-status-icon .left-bar,.arrow-status-icon .right-bar{background-color:transparent;border-radius:2px;display:block;float:right;height:6px;position:absolute;top:0;width:26px}.arrow-status-icon .left-bar:after,.arrow-status-icon .right-bar:after{background-color:var(--%NS%theme-body-70);content:"";display:block;float:right;height:6px;transition:all .5s linear;width:26px;z-index:-1}.arrow-status-icon .left-bar{transform:rotate(20deg)}.arrow-status-icon .left-bar:after{border-radius:20px 0 10px 20px}.arrow-status-icon .right-bar{left:22px;transform:rotate(-20deg)}.arrow-status-icon .right-bar:after{border-radius:0 20px 20px 10px}
6544.arrow-status-icon.up .left-bar:after{transform:rotate(-40deg);transform-origin:center center}.arrow-status-icon.up .right-bar:after{transform:rotate(40deg);transform-origin:center center}.arrow-status-icon.line .left-bar:after{transform:rotate(-20deg);transform-origin:center center}.arrow-status-icon.line .right-bar:after{transform:rotate(20deg);transform-origin:center center} 6545`], 6546 encapsulation: 2, 6547 changeDetection: 1 6548 }), n; 6549 })(), bs = (t, n) => ({ 6550 item: t, 6551 mode: n 6552 }), ks = (t) => ({ item: t }), xn = (() => { 6553 let t = class extends w {}; 6554 return t.ɵfac = (() => { 6555 let n; 6556 return function(e) { 6557 return (n || (n = D(t)))(e || t); 6558 }; 6559 })(), t.ɵcmp = b({ 6560 type: t, 6561 selectors: [["vn-am-items-layout"]], 6562 features: [C], 6563 decls: 2, 6564 vars: 1, 6565 consts: [ 6566 [ 6567 1, 6568 "am-items", 6569 3, 6570 "ngClass" 6571 ], 6572 [ 6573 1, 6574 "list-nav", 6575 "px-wrapper" 6576 ], 6577 [ 6578 4, 6579 "vnDynamicComponent", 6580 "vnDynamicComponentAttr" 6581 ] 6582 ], 6583 template: function(n, e) { 6584 n & 1 && d(0, im, 3, 1, "div", 0)(1, om, 3, 0, "div", 1), n & 2 && m(e.version > 1 ? 0 : 1); 6585 }, 6586 dependencies: [ 6587 T, 6588 I, 6589 K, 6590 Ne 6591 ], 6592 encapsulation: 2 6593 }), t; 6594 })(), Mn = (() => { 6595 let t = class extends w { 6596 constructor() { 6597 super(...arguments), this.labelSwitcherService = u(Fi), this.accountMenuTrackingService = u(Y); 6598 } 6599 processClick(e, i, l = !0) { 6600 if (this.labelSwitcherService.items().length === 2) { 6601 e.stopPropagation(); 6602 let k = this.labelSwitcherService.items().find((E) => !E.isActive); 6603 k && (this.accountMenuTrackingService.trackLabelSwitcherMenuClicked(k.text, this.labelSwitcherService.currentLabelItem()?.text, k.url), this.labelSwitcherService.switchLabel(k)); 6604 return; 6605 } 6606 super.processClick(e, i, l); 6607 } 6608 }; 6609 return t.ɵfac = (() => { 6610 let n; 6611 return function(e) { 6612 return (n || (n = D(t)))(e || t); 6613 }; 6614 })(), t.ɵcmp = b({ 6615 type: t, 6616 selectors: [["vn-am-label-switcher-item"]], 6617 features: [C], 6618 decls: 1, 6619 vars: 6, 6620 consts: [[ 6621 "linkClass", 6622 "am-menu-item", 6623 "badgePosition", 6624 "FastIcon", 6625 "badgeClass", 6626 "badge-offset", 6627 "textClass", 6628 "menu-item-txt", 6629 3, 6630 "click", 6631 "item", 6632 "section", 6633 "displayMode", 6634 "iconClass", 6635 "text", 6636 "processClick" 6637 ]], 6638 template: function(n, e) { 6639 if (n & 1 && (a(0, "vn-menu-item", 0), y("click", function(i) { 6640 return e.processClick(i, e.item, !1); 6641 }), c()), n & 2) { 6642 let i; 6643 r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.MenuDisplayMode.FastIcon)("iconClass", e.version === 4 || e.version === 6 ? "ui-icon am-menu-icn" : "ui-icon")("text", (i = e.labelSwitcherService.currentLabelItem()) == null ? null : i.text)("processClick", !1); 6644 } 6645 }, 6646 dependencies: [we], 6647 encapsulation: 2, 6648 changeDetection: 1 6649 }), t; 6650 })(), Cs = (t) => ({ "single-page-mode": t }), Dn = (() => { 6651 let t = class { 6652 constructor() { 6653 this.service = u(Fi), this.accountMenuDataService = u(de), this.accountMenuTrackingService = u(Y), this.trackByName = nt("name"); 6654 } 6655 switchLabel(e) { 6656 return Se(this, null, function* () { 6657 e.isActive || (this.accountMenuTrackingService.trackLabelSwitcherMenuClicked(e?.text, this.service.currentLabelItem()?.text, e.url), yield this.service.switchLabel(e)); 6658 }); 6659 } 6660 }; 6661 return t.ɵfac = function(n) { 6662 return new (n || t)(); 6663 }, t.ɵcmp = b({ 6664 type: t, 6665 selectors: [["vn-label-switcher-menu"]], 6666 features: [ra([mo])], 6667 decls: 1, 6668 vars: 1, 6669 consts: [ 6670 [ 6671 1, 6672 "label-switcher-menu", 6673 "flexbox", 6674 "flex-column", 6675 3, 6676 "ngClass" 6677 ], 6678 [ 6679 "size", 6680 "large", 6681 "labelPosition", 6682 "left", 6683 3, 6684 "value" 6685 ], 6686 [ 6687 1, 6688 "form-element", 6689 "form-element-right" 6690 ], 6691 [ 6692 "name", 6693 "options", 6694 3, 6695 "change", 6696 "value", 6697 "checked" 6698 ] 6699 ], 6700 template: function(n, e) { 6701 n & 1 && d(0, rm, 4, 4, "div", 0), n & 2 && m(e.service.items().length ? 0 : -1); 6702 }, 6703 dependencies: [ 6704 T, 6705 I, 6706 Jo, 6707 cc, 6708 dc 6709 ], 6710 encapsulation: 2, 6711 changeDetection: 1 6712 }), t; 6713 })(), Tn = (() => { 6714 let t = class extends w { 6715 constructor() {
6716 super(...arguments), this.user = u(pe), this.show = !0; 6717 } 6718 ngOnInit() { 6719 this.user.isFirstLogin ? this.show = !1 : this.message = this.item.text.replace("__DATE__", this.user.lastLoginTimeFormatted); 6720 } 6721 }; 6722 return t.ɵfac = (() => { 6723 let n; 6724 return function(e) { 6725 return (n || (n = D(t)))(e || t); 6726 }; 6727 })(), t.ɵcmp = b({ 6728 type: t, 6729 selectors: [["vn-am-last-login"]], 6730 features: [C], 6731 decls: 2, 6732 vars: 1, 6733 consts: [[ 6734 1, 6735 "am-last-login", 6736 "user-last-login" 6737 ], [ 6738 1, 6739 "footer-auth-info", 6740 "px-wrapper" 6741 ]], 6742 template: function(n, e) { 6743 n & 1 && d(0, um, 1, 1)(1, dm, 1, 1), n & 2 && m(e.version > 1 ? 0 : 1); 6744 }, 6745 encapsulation: 2, 6746 changeDetection: 1 6747 }), t; 6748 })(), kt = (t) => ({ item: t }), En = (() => { 6749 let t = class extends w { 6750 constructor() { 6751 super(), this.accountMenuDataService = u(de), this.media = u(Ht), this.showBack = !1, this.showCloseV4 = !1, this.showBackV4 = !1, this.unsubscribe = new Z(), this.accountMenuRouter.currentRoute.pipe(X(this.unsubscribe)).subscribe((e) => this.currentRoute = e); 6752 } 6753 ngOnInit() { 6754 let e = !!ce(this.item.parameters["hide-close"]); 6755 this.showBack = !this.accountMenuDataService.singlePageMode, this.showCloseV4 = !this.accountMenuDataService.singlePageMode && this.media.isActive("lt-md") && !e, this.showBackV4 = !this.accountMenuDataService.singlePageMode || this.media.isActive("lt-md"); 6756 } 6757 goBack() { 6758 let e = this.currentRoute?.parent?.item.menuRoute; 6759 e && this.accountMenuRouter.navigateToRoute(e, !0, this.item.menuRouteParent); 6760 } 6761 close() { 6762 this.accountMenuService.toggle(!1, { closedWithButton: !0 }); 6763 } 6764 ngOnDestroy() { 6765 this.unsubscribe.next(null), this.unsubscribe.complete(); 6766 } 6767 }; 6768 return t.ɵfac = function(n) { 6769 return new (n || t)(); 6770 }, t.ɵcmp = b({ 6771 type: t, 6772 selectors: [["vn-am-list-layout"]], 6773 features: [C], 6774 decls: 3, 6775 vars: 3, 6776 consts: [ 6777 [ 6778 3, 6779 "onBack", 6780 "onClose", 6781 "title", 6782 "showClose", 6783 "showBack" 6784 ], 6785 [1, "account-menu-wrapper"], 6786 [ 6787 4, 6788 "vnDynamicComponent", 6789 "vnDynamicComponentAttr" 6790 ], 6791 [ 6792 1, 6793 "am-items", 6794 "am-menu-items", 6795 3, 6796 "ngClass" 6797 ], 6798 [ 6799 1, 6800 "account-header-bar", 6801 3, 6802 "onBack", 6803 "onClose", 6804 "title", 6805 "showClose", 6806 "showBack" 6807 ] 6808 ], 6809 template: function(n, e) { 6810 n & 1 && (d(0, vm, 4, 3), d(1, bm, 4, 4), d(2, Sm, 4, 3)), n & 2 && (m(e.version <= 1 ? 0 : -1), s(), m(e.version === 2 || e.version === 3 || e.version === 5 ? 1 : -1), s(), m(e.version === 4 || e.version === 6 ? 2 : -1)); 6811 }, 6812 dependencies: [ 6813 T, 6814 I, 6815 K, 6816 Ot 6817 ], 6818 encapsulation: 2, 6819 changeDetection: 1 6820 }), t; 6821 })(), Ss = (t, n) => ({ 6822 item: t, 6823 mode: n 6824 }), ys = (() => { 6825 let t = class extends w {}; 6826 return t.ɵfac = (() => { 6827 let n; 6828 return function(e) { 6829 return (n || (n = D(t)))(e || t); 6830 }; 6831 })(), t.ɵcmp = b({ 6832 type: t, 6833 selectors: [["vn-am-logged-out-footer"]], 6834 features: [C], 6835 decls: 1, 6836 vars: 1, 6837 consts: [[3, "class"], [ 6838 4, 6839 "vnDynamicComponent", 6840 "vnDynamicComponentAttr" 6841 ]], 6842 template: function(n, e) { 6843 n & 1 && d(0, _m, 3, 2, "div", 0), n & 2 && m(e.version === 6 && e.item ? 0 : -1); 6844 }, 6845 dependencies: [K], 6846 encapsulation: 2 6847 }), t; 6848 })(), An = (() => { 6849 let t = class extends w { 6850 constructor() { 6851 let e = u(Li); 6852 super(), this.msg = e; 6853 } 6854 logout() { 6855 this.wait || (this.wait = !0, this.menuActionsService.invoke("logout", ot.Menu, [ 6856 void 0, 6857 void 0, 6858 { manualLogout: "true" } 6859 ]).then(() => this.wait = !1)); 6860 } 6861 }; 6862 return t.ɵfac = function(n) { 6863 return new (n || t)(); 6864 }, t.ɵcmp = b({ 6865 type: t, 6866 selectors: [["vn-am-logout"]], 6867 features: [C], 6868 decls: 2, 6869 vars: 1, 6870 consts: [ 6871 [ 6872 "linkClass", 6873 "am-logout", 6874 "textClass", 6875 "logout-txt", 6876 3, 6877 "item", 6878 "displayMode", 6879 "section", 6880 "processClick" 6881 ], 6882 [ 6883 "badgePosition", 6884 "FastIcon", 6885 "linkClass", 6886 "list-nav-link", 6887 "iconClass", 6888 "ui-icon ui-icon-size-xl", 6889 "badgeClass", 6890 "badge-offset", 6891 "textClass", 6892 "list-nav-txt", 6893 3, 6894 "item", 6895 "section", 6896 "displayMode", 6897 "text", 6898 "processClick" 6899 ], 6900 [ 6901 "linkClass", 6902 "am-logout", 6903 "textClass", 6904 "logout-txt", 6905 3, 6906 "click", 6907 "item", 6908 "displayMode", 6909 "section", 6910 "processClick" 6911 ], 6912 [ 6913 "badgePosition", 6914 "FastIcon", 6915 "linkClass", 6916 "list-nav-link", 6917 "iconClass", 6918 "ui-icon ui-icon-size-xl", 6919 "badgeClass", 6920 "badge-offset", 6921 "textClass", 6922 "list-nav-txt", 6923 3, 6924 "click", 6925 "item", 6926 "section", 6927 "displayMode", 6928 "text", 6929 "processClick" 6930 ] 6931 ], 6932 template: function(n, e) {
6933 n & 1 && d(0, xm, 1, 4, "vn-menu-item", 0)(1, Mm, 1, 5, "vn-menu-item", 1), n & 2 && m(e.version > 1 ? 0 : 1); 6934 }, 6935 dependencies: [we], 6936 encapsulation: 2, 6937 changeDetection: 1 6938 }), t; 6939 })(), Nn = (() => { 6940 let t = class extends w { 6941 constructor() { 6942 super(...arguments), this.intlService = u(ge), this.unsubscribe = new Z(); 6943 } 6944 ngOnInit() { 6945 this.accountMenuService.loyaltyCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 6946 if (!e) return; 6947 let i = this.getItemLink(e); 6948 i && (this.model = { 6949 title: this.getCtaTitle(e).replace("{CASHBACK_AMOUNT}", this.intlService.formatCurrency(e.cashbackAmount, e.cashbackCurrency)), 6950 link: { 6951 text: i.text.replace("{MINIMUM_CASHBACK_AMOUNT}", this.intlService.formatCurrency(e.minEligibleAmount, e.minEligibleAmountCurrency)), 6952 url: i.url, 6953 cssClass: i.name === "minimum" && e.minEligibleAmount > e.cashbackAmount ? "disabled" : null 6954 } 6955 }); 6956 }), this.accountMenuService.updateLoyaltyCashback(); 6957 } 6958 ngOnDestroy() { 6959 this.unsubscribe.next(), this.unsubscribe.complete(); 6960 } 6961 getCtaTitle(e) { 6962 return e.optinStatus ? this.accountMenuService.resources.messages.CashbackTitle || "" : this.accountMenuService.resources.messages.OptInTitle || ""; 6963 } 6964 getItemLink(e) { 6965 let i = "available"; 6966 return e.optinStatus || (i = "optin"), (e.minEligibleAmount || 0) > (e.cashbackAmount || 0) && (i = "minimum"), this.item.children.find((l) => l.name === i); 6967 } 6968 }; 6969 return t.ɵfac = (() => { 6970 let n; 6971 return function(e) { 6972 return (n || (n = D(t)))(e || t); 6973 }; 6974 })(), t.ɵcmp = b({ 6975 type: t, 6976 selectors: [["lh-am-loyalty-cashback"]], 6977 features: [C], 6978 decls: 1, 6979 vars: 1, 6980 consts: [ 6981 [ 6982 1, 6983 "px-wrapper", 6984 "pc-txt", 6985 "pt-3", 6986 "pb-3", 6987 "shadow-sm" 6988 ], 6989 [ 6990 1, 6991 "font-weight-bold", 6992 3, 6993 "innerHtml" 6994 ], 6995 [ 6996 3, 6997 "ngClass", 6998 "href" 6999 ], 7000 [3, "innerHtml"] 7001 ], 7002 template: function(n, e) { 7003 n & 1 && d(0, Dm, 6, 8, "div", 0), n & 2 && m(e.model ? 0 : -1); 7004 }, 7005 dependencies: [ 7006 T, 7007 I, 7008 q 7009 ], 7010 encapsulation: 2, 7011 changeDetection: 1 7012 }), t; 7013 })(), ws = (t) => ({ item: t }), In = (() => { 7014 let t = class extends w { 7015 constructor() { 7016 super(...arguments), this.media = u(Ht), this.config = u(ue); 7017 } 7018 close() { 7019 this.accountMenuService.toggle(!1, { closedWithButton: !0 }); 7020 } 7021 }; 7022 return t.ɵfac = (() => { 7023 let n; 7024 return function(e) { 7025 return (n || (n = D(t)))(e || t); 7026 }; 7027 })(), t.ɵcmp = b({ 7028 type: t, 7029 selectors: [["vn-am-main-layout"]], 7030 features: [C], 7031 decls: 3, 7032 vars: 4, 7033 consts: [[ 7034 3, 7035 "onClose", 7036 "enabled", 7037 "showClose", 7038 "title", 7039 "showBack" 7040 ], [ 7041 4, 7042 "vnDynamicComponent", 7043 "vnDynamicComponentAttr" 7044 ]], 7045 template: function(n, e) { 7046 n & 1 && (a(0, "vn-header-bar", 0), y("onClose", function() { 7047 return e.close(); 7048 }), c(), N(1, Em, 1, 4, "ng-container", null, e.trackByProp, !0)), n & 2 && (r("enabled", e.media.isActive("lt-md"))("showClose", e.config.account.showHeaderBarClose)("title", e.item.text)("showBack", !1), s(), A(e.item.children)); 7049 }, 7050 dependencies: [Ot, K], 7051 encapsulation: 2, 7052 changeDetection: 1 7053 }), t; 7054 })(), Ln = (() => { 7055 let t = class extends w { 7056 constructor() { 7057 super(...arguments), this.user = u(pe), this.accountMenuConfig = u(ue), this.unsubscribe = new Z(); 7058 } 7059 ngOnInit() { 7060 this.useV2 = this.accountMenuConfig.account?.useLoyaltyBannerV2, this.accountMenuVersion = this.accountMenuService.version, this.accountMenuService.mLifeProfileEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 7061 let i = this.accountMenuVersion === 1 ? this.accountMenuService.resources.messages : this.item.resources, l = this.item.children.find((k) => k.name.toLowerCase() === `tier_${e.tierDesc.toLowerCase()}${this.useV2 ? "_v2" : ""}`); 7062 this.mlife = { 7063 userGreeting: i.UserGreeting?.replace("{NAME}", Tt(this.user.firstName ?? "")) ?? "", 7064 fullNameLower: `${this.user.firstName} ${this.user.lastName}`.toLowerCase(), 7065 tierNumberText: (this.accountMenuVersion === 4 || this.accountMenuVersion === 6) && i.MLifeNumberText || "", 7066 tierNumber: e.mlifeNo, 7067 tierDescription: e.tierDesc, 7068 viewDetailsText: this.item.text, 7069 tierCredits: i.MLifeCredits?.replace("{CREDITS}", e.tierCredits.toString()) || "", 7070 fullName: `${this.user.firstName} ${this.user.lastName}` 7071 }, l && (this.mlife.tierItem = l); 7072 }), this.accountMenuService.updateMLifeProfile(); 7073 } 7074 ngOnDestroy() { 7075 this.unsubscribe.next(), this.unsubscribe.complete(); 7076 } 7077 }; 7078 return t.ɵfac = (() => { 7079 let n; 7080 return function(e) { 7081 return (n || (n = D(t)))(e || t); 7082 }; 7083 })(), t.ɵcmp = b({ 7084 type: t, 7085 selectors: [["vn-am-mlife-rewards"]], 7086 features: [C], 7087 decls: 3, 7088 vars: 1, 7089 consts: [ 7090 [ 7091 1, 7092 "mlife-v3", 7093 3, 7094 "ngClass" 7095 ], 7096 [ 7097 "imageClass", 7098 "mlife-v3__img", 7099 3, 7100 "src", 7101 "alt", 7102 "width", 7103 "height" 7104 ], 7105 [1, "mlife-v3__user"], 7106 [ 7107 1, 7108 "mlife-v3__fullname", 7109 "font-weight-bold", 7110 3, 7111 "innerHtml" 7112 ], 7113 [ 7114 1, 7115 "mlife-v3__desc-with-number", 7116 "d-flex" 7117 ], 7118 [ 7119 1, 7120 "font-weight-normal", 7121 "mlife-v3__desc-with-number__text", 7122 "mr-1", 7123 3, 7124 "ngClass", 7125 "innerHtml" 7126 ], 7127 [1, "mlife-v3__desc-with-number__tier-number"], 7128 [ 7129 1, 7130 "mlife-v2", 7131 "d-flex", 7132 "align-items-stretch" 7133 ], 7134 [1, "mlife-v2__card"], 7135 [ 7136 1, 7137 "mlife-v2__user", 7138 "d-flex", 7139 "justify-content-between", 7140 "flex-column" 7141 ], 7142 [ 7143 1, 7144 "mlife-v2__fullname", 7145 "font-weight-medium", 7146 3, 7147 "innerHtml" 7148 ], 7149 [ 7150 1, 7151 "mlife-v2__tier-number-text", 7152 "txt-s-v2", 7153 "txt-md-v2" 7154 ], 7155 [3, "innerHtml"], 7156 [ 7157 1, 7158 "mlife-v2__data", 7159 "d-flex", 7160 "justify-content-between", 7161 "align-items-center", 7162 "mt-2" 7163 ], 7164 [ 7165 1, 7166 "mlife-v2__tier-level", 7167 "txt-xs-v2", 7168 "text-uppercase", 7169 "font-weight-medium", 7170 3, 7171 "ngClass", 7172 "innerHtml" 7173 ], 7174 [ 7175 1, 7176 "mlife-v2__details", 7177 "d-flex", 7178 "txt-xs-v2", 7179 "align-items-center", 7180 "text-info", 7181 "font-weight-medium", 7182 3, 7183 "click" 7184 ], 7185 [1, "mr-1"], 7186 [ 7187 "name", 7188 "theme-right", 7189 "size", 7190 "8" 7191 ], 7192 [ 7193 1, 7194 "mlife-content-wrapper", 7195 "px-wrapper", 7196 "pc-txt", 7197 "pt-2", 7198 "pb-2", 7199 "text-right", 7200 3, 7201 "background", 7202 "background-size" 7203 ], 7204 [ 7205 1, 7206 "mlife-content-wrapper", 7207 "px-wrapper", 7208 "pc-txt", 7209 "pt-2", 7210 "pb-2", 7211 "text-right" 7212 ], 7213 [ 7214 1, 7215 "mlife-content", 7216 3, 7217 "ngClass" 7218 ], 7219 [ 7220 1, 7221 "mlife-fullname", 7222 "font-weight-bold", 7223 3, 7224 "innerHtml" 7225 ], 7226 [1, "mlife-tier-number"], 7227 [ 7228 1, 7229 "mlife-data", 7230 "pt-2" 7231 ], 7232 [ 7233 1, 7234 "mlife-tier-description", 7235 "text-uppercase", 7236 3, 7237 "innerHtml" 7238 ], 7239 [ 7240 1, 7241 "mlife-tier-credits", 7242 3, 7243 "innerHtml" 7244 ], 7245 [ 7246 "name", 7247 "theme-right", 7248 "extraClass", 7249 "mlife-details", 7250 "size", 7251 "12" 7252 ] 7253 ], 7254 template: function(n, e) { 7255 n & 1 && d(0, Im, 1, 1)(1, Pm, 1, 1)(2, Rm, 1, 1), n & 2 && m(e.useV2 ? 0 : e.accountMenuVersion === 4 || e.accountMenuVersion === 6 ? 1 : 2); 7256 }, 7257 dependencies: [ 7258 T, 7259 I, 7260 me, 7261 z, 7262 q 7263 ], 7264 styles: [`@charset "UTF-8";vn-am-mlife-rewards .mlife-content-wrapper .mlife-content{color:var(--%NS%color-white)}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-fullname{font-size:var(--%NS%theme-txt-lg-font-size)}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-tier-number,vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data{font-size:var(--%NS%theme-txt-sm-font-size)}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data .mlife-tier-description{font-size:var(--%NS%theme-txt-sm-font-size)}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data .mlife-tier-credits .mlife-details-link{color:var(--%NS%color-white)}.click-interaction vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data .mlife-tier-credits .mlife-details-link{color:var(--%NS%color-white)}.click-interaction vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data .mlife-tier-credits .mlife-details-link:hover{text-decoration:none}.click-interaction vn-am-mlife-rewards .mlife-content-wrapper .mlife-content .mlife-data .mlife-tier-credits .mlife-details-link:active{color:color-mix(in srgb,var(--%NS%color-white) 75%,var(--%NS%color-black))}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content.tier-pearl{
7264color:#69696c}vn-am-mlife-rewards .mlife-content-wrapper .mlife-content.tier-pearl .mlife-data .mlife-details-link{color:#69696c}vn-am-mlife-rewards .mlife-v2{background-color:var(--%NS%color-white);border-radius:6px;box-shadow:0 4px 8px color-mix(in srgb,var(--%NS%color-black) 16%,transparent);color:var(--%NS%theme-body-txt);margin-bottom:var(--%NS%site-spacer-m);padding:var(--%NS%site-spacer-m)}vn-am-mlife-rewards .mlife-v2__card{flex-basis:115px;height:65px;margin-right:var(--%NS%site-spacer-m)}vn-am-mlife-rewards .mlife-v2__user{flex:2}vn-am-mlife-rewards .mlife-v2__tier-level{--%NS%mlife-v2-tier-color: var(--%NS%theme-body);color:var(--%NS%mlife-v2-tier-color)}vn-am-mlife-rewards .mlife-v2__tier-level.tier-gold{--%NS%mlife-v2-tier-color: var(--%NS%theme-brand-01)}vn-am-mlife-rewards .mlife-v2__tier-level.tier-saphire{--%NS%mlife-v2-tier-color: #2c5d74}vn-am-mlife-rewards .mlife-v2__tier-level.tier-pearl{--%NS%mlife-v2-tier-color: var(--%NS%theme-body-50)}vn-am-mlife-rewards .mlife-v2__fullname{font-family:var(--%NS%theme-font-family-secondary, var(--%NS%theme-font-family-base));font-size:var(--%NS%theme-h6-font-size);text-transform:capitalize}vn-am-mlife-rewards .mlife-v2__details .theme-right:before{align-items:center;display:flex;font-size:8px;font-weight:600;padding-left:var(--%NS%site-spacer-xs)}vn-am-mlife-rewards .mlife-v2__details:hover{cursor:pointer}vn-am-mlife-rewards .mlife-v2__details:active{opacity:.3;transition:all .15s ease}vn-am-mlife-rewards .mlife-v3{--%NS%mlife-v3-tier-bg-color: #406d89;--%NS%mlife-v3-tier-color: var(--%NS%theme-body-bg);align-items:stretch;background-color:var(--%NS%mlife-v3-tier-bg-color);border-radius:6px;color:var(--%NS%mlife-v3-tier-color);display:flex;margin-bottom:var(--%NS%site-spacer-m)}vn-am-mlife-rewards .mlife-v3.tier-gold,vn-am-mlife-rewards .mlife-v3.tier-pearl,vn-am-mlife-rewards .mlife-v3.tier-platinum{--%NS%mlife-v3-tier-color: var(--%NS%color-black)}vn-am-mlife-rewards .mlife-v3.tier-gold{--%NS%mlife-v3-tier-bg-color: #c0a971}vn-am-mlife-rewards .mlife-v3.tier-noir{--%NS%mlife-v3-tier-bg-color: #303030;--%NS%mlife-v3-tier-color: var(--%NS%color-white)}vn-am-mlife-rewards .mlife-v3.tier-pearl{background:linear-gradient(91.66deg,#cdcbd7 22.61%,#e1dbdd 53.85%,#dbe2fb 83.19%)}vn-am-mlife-rewards .mlife-v3.tier-platinum{--%NS%mlife-v3-tier-bg-color: var(--%NS%theme-body-20)}vn-am-mlife-rewards .mlife-v3.tier-saphire{--%NS%mlife-v3-tier-bg-color: #406d89;--%NS%mlife-v3-tier-color: var(--%NS%color-white)}vn-am-mlife-rewards .mlife-v3__img{border-radius:6px 0 0 6px;margin-right:var(--%NS%site-spacer-m)}vn-am-mlife-rewards .mlife-v3__card{flex-basis:33px;height:52px;margin-right:5px}@media(max-width:599.98px){vn-am-mlife-rewards .mlife-v3__card{flex-basis:31px;height:44px}}vn-am-mlife-rewards .mlife-v3__user{display:flex;flex-direction:column;justify-content:center}@media(max-width:599.98px){vn-am-mlife-rewards .mlife-v3__user{align-items:center;flex-direction:row;flex-grow:1;justify-content:space-between;padding-right:var(--%NS%site-spacer)}}vn-am-mlife-rewards .mlife-v3__fullname{font-family:var(--%NS%theme-font-family-secondary, var(--%NS%theme-font-family-base));font-size:var(--%NS%theme-h5-font-size);text-transform:capitalize}@media(max-width:599.98px){vn-am-mlife-rewards .mlife-v3__fullname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px}}vn-am-mlife-rewards .mlife-v3__desc-with-number{font-size:var(--%NS%theme-txt-xs-font-size)}vn-am-mlife-rewards .mlife-v3__desc-with-number__tier-number{color:var(--%NS%color-white)}@media(max-width:599.98px){vn-am-mlife-rewards .mlife-v3__desc-with-number{font-size:var(--%NS%theme-txt-sm-font-size)}} 7265`], 7266 encapsulation: 2, 7267 changeDetection: 1 7268 }), t; 7269 })(), Ct = (() => { 7270 let t = class extends gt { 7271 constructor() { 7272 super(), this.utilsService = u(Nt), this.accountMenuTrackingService = u(Y), this.accountMenuConfig = u(ue), this.trackingService = u(ne); 7273 } 7274 ngOnInit() { 7275 this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"), this.accountMenuService.pokerCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 7276 let i = "no opt-in"; 7277 if (e.hasOptedIn) { 7278 i = "more points needed";
7279 let k = e.weeklyPoints / e.nextSlabPoints, E = this.accountMenuConfig.account.pokerCashbackTournamentAwardTypes.indexOf(e.awardType) !== -1, B = E ? `${this.accountMenuConfig.account.tournamentPokerCashbackSymbol}${e.currency}` : e.currency, $ = E ? `${this.accountMenuConfig.account.tournamentPokerCashbackSymbol}${e.currency}${e.targetCashback}` : `${e.currency}${e.targetCashback}`; 7280 this.isCompleted = k >= 1, this.chartSegments = [{ percent: Math.min(k * 100, 100) }], this.text = e.weeklyPoints.toString(), this.description = this.utilsService.format(this.accountMenuService.resources.messages.PokerCashbackOptedIn, e.weeklyPoints, e.pointsRequiredForNextSlab, B, e.targetCashback), this.descriptionV3 = this.utilsService.format(this.accountMenuService.resources.messages.PokerCashbackOptedInV3, e.weeklyPoints, e.pointsRequiredForNextSlab, $); 7281 } else this.description = this.accountMenuService.resources.messages.PokerCashbackNotOptedIn, this.descriptionV3 = this.accountMenuService.resources.messages.PokerCashbackNotOptedInV3; 7282 let l = { "component.PositionEvent": i }; 7283 this.accountMenuTrackingService.replacePlaceholders(this.item, l), this.isFirstNotification && (this.isFirstNotification = !1, this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent")), this.hideSkeleton = !0; 7284 }), this.accountMenuService.updatePokerCashback(); 7285 } 7286 }; 7287 return t.ɵfac = function(n) { 7288 return new (n || t)(); 7289 }, t.ɵdir = Be({ 7290 type: t, 7291 features: [C] 7292 }), t; 7293 })(), Pn = (() => { 7294 let t = class extends Ct { 7295 constructor() { 7296 super(); 7297 } 7298 }; 7299 return t.ɵfac = function(n) { 7300 return new (n || t)(); 7301 }, t.ɵcmp = b({ 7302 type: t, 7303 selectors: [["vn-am-poker-cashback-info"]], 7304 features: [C], 7305 decls: 4, 7306 vars: 6, 7307 consts: [ 7308 [1, "am-cashback"], 7309 [1, "cashback-main"], 7310 [ 7311 1, 7312 "cashback-description", 7313 3, 7314 "innerHtml" 7315 ], 7316 [3, "segments"], 7317 [1, "cashback-amount"], 7318 [ 7319 1, 7320 "cashback-additional-text", 7321 3, 7322 "innerHtml" 7323 ] 7324 ], 7325 template: function(n, e) { 7326 n & 1 && (a(0, "div", 0), d(1, $m, 6, 5, "div", 1), h(2, "div", 2), v(3, "trustAsHtml"), c()), n & 2 && (ie("cashback-completed", e.isCompleted), s(), m(e.text ? 1 : -1), s(), r("innerHtml", g(3, 4, e.description), S)); 7327 }, 7328 dependencies: [ 7329 T, 7330 Ce, 7331 q 7332 ], 7333 encapsulation: 2, 7334 changeDetection: 1 7335 }), t; 7336 })(), Hn = (() => { 7337 let t = class extends w { 7338 constructor() { 7339 super(...arguments), this.utils = u(Nt), this.accountMenuConfig = u(ue), this.unsubscribe = new Z(); 7340 } 7341 ngOnInit() { 7342 this.title = this.accountMenuService.resources.messages.PokerCashbackTitle, this.accountMenuService.pokerCashbackEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 7343 if (e.hasOptedIn) { 7344 let i = this.accountMenuConfig.account.pokerCashbackTournamentAwardTypes.indexOf(e.awardType) === -1 ? e.currency : `${this.accountMenuConfig.account.tournamentPokerCashbackSymbol}${e.currency}`; 7345 this.text = this.utils.format(this.accountMenuService.resources.messages.PokerCashbackOptedIn, e.weeklyPoints, e.pointsRequiredForNextSlab, i, e.targetCashback); 7346 } else this.text = this.accountMenuService.resources.messages.PokerCashbackNotOptedIn; 7347 }), this.accountMenuService.updatePokerCashback(); 7348 } 7349 ngOnDestroy() { 7350 this.unsubscribe.next(), this.unsubscribe.complete(); 7351 } 7352 }; 7353 return t.ɵfac = (() => { 7354 let n; 7355 return function(e) { 7356 return (n || (n = D(t)))(e || t); 7357 }; 7358 })(), t.ɵcmp = b({ 7359 type: t, 7360 selectors: [["lh-am-poker-cashback"]], 7361 features: [C], 7362 decls: 5, 7363 vars: 6, 7364 consts: [ 7365 [ 7366 1, 7367 "px-wrapper", 7368 "pc-txt", 7369 "pt-3", 7370 "pb-3", 7371 "shadow-sm" 7372 ], 7373 [ 7374 1, 7375 "font-weight-bold", 7376 3, 7377 "innerHtml" 7378 ], 7379 [3, "innerHtml"] 7380 ], 7381 template: function(n, e) { 7382 n & 1 && (Me(0, "div", 0), Mt(1, "div", 1), v(2, "trustAsHtml"), Mt(3, "div", 2), v(4, "trustAsHtml"), Te()), n & 2 && (s(), bi("innerHTML", g(2, 2, e.title), S), s(2), bi("innerHTML", g(4, 4, e.text), S)); 7383 }, 7384 dependencies: [q], 7385 encapsulation: 2, 7386 changeDetection: 1 7387 }), t; 7388 })(), _s = (t, n) => ({ 7389 item: t, 7390 mode: n 7391 }), Bn = (() => { 7392 let t = class extends w { 7393 constructor() { 7394 super(...arguments), this.menuItemsService = u(Ei); 7395 } 7396 isActive() { 7397 return this.menuItemsService.isActive(at.Menu, this.item.name); 7398 } 7399 }; 7400 return t.ɵfac = (() => { 7401 let n; 7402 return function(e) { 7403 return (n || (n = D(t)))(e || t); 7404 }; 7405 })(), t.ɵcmp = b({ 7406 type: t, 7407 selectors: [["vn-am-row-layout"]], 7408 features: [C], 7409 decls: 3, 7410 vars: 3, 7411 consts: [[ 7412 1, 7413 "am-row", 7414 "align-items-center", 7415 3, 7416 "ngClass" 7417 ], [ 7418 4, 7419 "vnDynamicComponent", 7420 "vnDynamicComponentAttr" 7421 ]], 7422 template: function(n, e) { 7423 n & 1 && (a(0, "div", 0), N(1, Um, 1, 5, "ng-container", null, e.trackByProp, !0), c()), n & 2 && (ie("active", e.isActive()), r("ngClass", e.item.class), s(), A(e.item.children)); 7424 }, 7425 dependencies: [ 7426 T, 7427 I, 7428 K 7429 ], 7430 encapsulation: 2, 7431 changeDetection: 1 7432 }), t; 7433 })(), Rn = (() => { 7434 let t = class extends w { 7435 constructor() { 7436 super(); 7437 } 7438 click(e, i) { 7439 this.item.parameters.disableClick || this.processClick(e, i, !1); 7440 } 7441 }; 7442 return t.ɵfac = function(n) { 7443 return new (n || t)(); 7444 }, t.ɵcmp = b({ 7445 type: t, 7446 selectors: [["vn-am-side-menu-item"]], 7447 features: [C], 7448 decls: 1, 7449 vars: 4, 7450 consts: [[ 7451 "badgePosition", 7452 "FastIcon", 7453 "linkClass", 7454 "am-side-item", 7455 "iconClass", 7456 "ui-icon", 7457 "textClass", 7458 "side-item-txt", 7459 3, 7460 "onClick", 7461 "item", 7462 "section", 7463 "displayMode", 7464 "processClick" 7465 ]], 7466 template: function(n, e) { 7467 n & 1 && (a(0, "vn-menu-item", 0), y("onClick", function(i) { 7468 return e.click(i, e.item); 7469 }), c()), n & 2 && r("item", e.item)("section", e.MenuSection.Menu)("displayMode", e.MenuDisplayMode.FastIcon)("processClick", !1); 7470 }, 7471 dependencies: [we], 7472 encapsulation: 2, 7473 changeDetection: 1 7474 }), t; 7475 })(), On = (() => { 7476 let t = class extends w { 7477 constructor() { 7478 super(...arguments), this.dslService = u(te); 7479 } 7480 ngOnInit() { 7481 this.balance = this.dslService.evaluateExpression(this.item.parameters.balance); 7482 } 7483 }; 7484 return t.ɵfac = (() => { 7485 let n; 7486 return function(e) { 7487 return (n || (n = D(t)))(e || t); 7488 }; 7489 })(), t.ɵcmp = b({ 7490 type: t, 7491 selectors: [["vn-am-balance-tile-item"]], 7492 features: [C], 7493 decls: 7, 7494 vars: 7, 7495 consts: [ 7496 [ 7497 1, 7498 "am-balance", 7499 3, 7500 "ngClass" 7501 ], 7502 [1, "balance-amount"], 7503 [1, "balance-text"] 7504 ], 7505 template: function(n, e) { 7506 n & 1 && (a(0, "div", 0)(1, "div", 1), p(2), v(3, "async"), v(4, "vnCurrency"), c(), a(5, "div", 2), p(6), c()()), n & 2 && (r("ngClass", e.item.class), s(2), f(g(4, 5, g(3, 3, e.balance))), s(4), f(e.item.text)); 7507 }, 7508 dependencies: [ 7509 T, 7510 I, 7511 Ee, 7512 ae 7513 ], 7514 encapsulation: 2, 7515 changeDetection: 1 7516 }), t; 7517 })(), xs = [[[ 7518 "", 7519 "left", 7520 "" 7521 ]], [[ 7522 "", 7523 "right", 7524 "" 7525 ]]], Ms = ["[left]", "[right]"], Pe = (() => { 7526 let t = class extends w { 7527 constructor() { 7528 super(); 7529 } 7530 ngOnInit() { 7531 this.moreInfo = this.accountMenuService.resources.messages.MoreInfoLink; 7532 } 7533 }; 7534 return t.ɵfac = function(n) { 7535 return new (n || t)(); 7536 }, t.ɵcmp = b({ 7537 type: t, 7538 selectors: [["vn-am-tile"]], 7539 inputs: { cssClass: "cssClass" }, 7540 features: [C], 7541 ngContentSelectors: Ms, 7542 decls: 11, 7543 vars: 4, 7544 consts: [ 7545 [ 7546 1, 7547 "am-tile", 7548 3, 7549 "click", 7550 "ngClass", 7551 "radius" 7552 ], 7553 [1, "tile-header"], 7554 [1, "tile-title"], 7555 [1, "tile-link"], 7556 [1, "tile-body"], 7557 [1, "tile-body-left"], 7558 [1, "tile-body-right"] 7559 ], 7560 template: function(n, e) { 7561 n & 1 && (ki(xs), a(0, "ds-card", 0), y("click", function(i) { 7562 return e.processClick(i, e.item); 7563 }), a(1, "div", 1)(2, "span", 2), p(3), c(), a(4, "span", 3), p(5), c()(), a(6, "div", 4)(7, "div", 5), _t(8), c(), a(9, "div", 6), _t(10, 1), c()()()), n & 2 && (r("ngClass", e.cssClass)("radius", !1), s(3), f(e.item.text), s(2), f(e.moreInfo)); 7564 }, 7565 dependencies: [ 7566 T, 7567 I, 7568 fe 7569 ], 7570 styles: [`@charset "UTF-8";.am-tile{color:var(--%NS%am-tile-color);cursor:pointer;padding:var(--%NS%site-spacer-m)}.am-tile .tile-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--%NS%site-spacer-m)}.am-tile .tile-header .tile-title{color:var(--%NS%am-tile-header-title-color);font-size:var(--%NS%am-tile-header-title-font-size);
7570font-weight:var(--%NS%am-tile-header-title-font-weight)}.am-tile .tile-header .tile-link{color:var(--%NS%am-tile-header-link-color);cursor:pointer;font-size:var(--%NS%am-tile-header-link-font-size);font-weight:var(--%NS%am-tile-header-link-font-weight);text-decoration:var(--%NS%am-tile-header-link-text-decoration)}.am-tile .tile-body{display:flex}.am-tile .tile-body-left{margin-right:var(--%NS%site-spacer-m)}.am-balance-tile .balance-amount{font-weight:700;margin-right:var(--%NS%site-spacer-xs)}.am-balance-tile .balance-text{color:var(--%NS%am-balance-tile-main-color)}.am-balance-tile .am-balance{display:flex}.am-balance-tile .am-balance.main{color:var(--%NS%am-balance-tile-main-color);font-size:var(--%NS%am-tile-font-size-lg-mobile);line-height:1;margin-bottom:var(--%NS%site-spacer-s)}.am-balance-tile .am-balance.withdrawable{color:var(--%NS%am-balance-tile-withdrawable-color);font-size:var(--%NS%am-tile-font-size-sm)}.am-balance-tile .am-balance.restricted{color:var(--%NS%am-balance-tile-restricted-color);font-size:var(--%NS%am-tile-font-size-sm)} 7571`], 7572 encapsulation: 2, 7573 changeDetection: 1 7574 }), t; 7575 })(), Ds = (t) => ({ item: t }), $n = (() => { 7576 let t = class extends w { 7577 constructor() { 7578 super(...arguments), this.dslService = u(te), this.balancePropertiesService = u(Fe), this.destroyRef = u(F), this.chartSegments = []; 7579 } 7580 ngOnInit() { 7581 let e = this.item.children.find((i) => i.name === "mainbalance"); 7582 e && this.balancePropertiesService.balanceProperties.pipe(Ci(() => this.dslService.evaluateExpression(e.parameters.balance)), oe((i) => i > 0), Ci((i) => xt(this.item.children.filter((l) => l.parameters["chart-segment"]).map((l) => ({ 7583 order: ee(l.parameters["chart-segment"]), 7584 formula: l.parameters.balance, 7585 name: l.name 7586 })).sort((l, k) => l.order > k.order ? 1 : -1).map((l) => this.dslService.evaluateExpression(l.formula).pipe(fi((k) => { 7587 let E = 100 / i * k; 7588 return { 7589 class: l.name, 7590 percent: E 7591 }; 7592 }))))), L(this.destroyRef)).subscribe((i) => this.chartSegments = i); 7593 } 7594 }; 7595 return t.ɵfac = (() => { 7596 let n; 7597 return function(e) { 7598 return (n || (n = D(t)))(e || t); 7599 }; 7600 })(), t.ɵcmp = b({ 7601 type: t, 7602 selectors: [["vn-am-balance-tile"]], 7603 features: [C], 7604 decls: 5, 7605 vars: 2, 7606 consts: [ 7607 [ 7608 "cssClass", 7609 "am-balance-tile", 7610 3, 7611 "item" 7612 ], 7613 [ 7614 "left", 7615 "", 7616 1, 7617 "balance-donut", 7618 3, 7619 "segments" 7620 ], 7621 ["right", ""], 7622 [ 7623 4, 7624 "vnDynamicComponent", 7625 "vnDynamicComponentAttr" 7626 ] 7627 ], 7628 template: function(n, e) { 7629 n & 1 && (a(0, "vn-am-tile", 0), h(1, "vn-donut-chart", 1), G(2, 2), N(3, Fm, 1, 4, "ng-container", null, e.trackByProp, !0), j(), c()), n & 2 && (r("item", e.item), s(), r("segments", e.chartSegments), s(2), A(e.item.children)); 7630 }, 7631 dependencies: [ 7632 Pe, 7633 Ce, 7634 K 7635 ], 7636 encapsulation: 2, 7637 changeDetection: 1 7638 }), t; 7639 })(), Vn = (() => { 7640 let t = class extends w { 7641 constructor() { 7642 super(...arguments), this.offers = u(Wi), this.count = 0, this.unsubscribe = new Z(); 7643 } 7644 ngOnInit() { 7645 this.text = this.item.resources.NoNewBonusesText, this.description = this.item.resources.NoNewBonusesDescription, this.offers.counts.pipe(X(this.unsubscribe)).subscribe(() => { 7646 this.count = this.offers.getCount("ALL"), this.text = this.count ? this.item.resources.NewBonusesText : this.item.resources.NoNewBonusesText, this.description = this.count ? this.item.resources.NewBonusesDescription : this.item.resources.NoNewBonusesDescription; 7647 }); 7648 } 7649 ngOnDestroy() { 7650 this.unsubscribe.next(), this.unsubscribe.complete(); 7651 } 7652 }; 7653 return t.ɵfac = (() => { 7654 let n; 7655 return function(e) { 7656 return (n || (n = D(t)))(e || t); 7657 }; 7658 })(), t.ɵcmp = b({ 7659 type: t, 7660 selectors: [["vn-am-bonuses-tile"]], 7661 features: [C], 7662 decls: 7, 7663 vars: 5, 7664 consts: [ 7665 [ 7666 "cssClass", 7667 "am-bonuses-tile", 7668 3, 7669 "item" 7670 ], 7671 ["left", ""], 7672 [ 7673 1, 7674 "bonuses-count", 7675 "bonuses-count-new" 7676 ], 7677 [1, "bonuses-icon-wrapper"], 7678 ["right", ""], 7679 [1, "bonuses-text"], 7680 [1, "bonuses-description"], 7681 [ 7682 "extraClass", 7683 "bonuses-icon", 7684 3, 7685 "name" 7686 ] 7687 ], 7688 template: function(n, e) { 7689 n & 1 && (a(0, "vn-am-tile", 0), G(1, 1), d(2, Wm, 2, 1, "div", 2), d(3, jm, 2, 1, "div", 3), j(), G(4, 4), d(5, Gm, 2, 1, "div", 5), d(6, Km, 2, 1, "div", 6), j(), c()), n & 2 && (r("item", e.item), s(2), m(e.count ? 2 : -1), s(), m(!e.count && e.item.parameters.iconClass ? 3 : -1), s(2), m(e.text ? 5 : -1), s(), m(e.description ? 6 : -1)); 7690 }, 7691 dependencies: [Pe, z], 7692 encapsulation: 2, 7693 changeDetection: 1 7694 }), t; 7695 })(), Ts = (t) => ({ 7696 "am-cashback-tile": !0, 7697 "cashback-completed": t 7698 }), Un = (() => { 7699 let t = class extends ft { 7700 constructor() { 7701 super(); 7702 } 7703 }; 7704 return t.ɵfac = function(n) { 7705 return new (n || t)(); 7706 }, t.ɵcmp = b({ 7707 type: t, 7708 selectors: [["vn-am-casino-cashback-tile"]], 7709 features: [C], 7710 decls: 2, 7711 vars: 1, 7712 consts: [ 7713 [ 7714 1, 7715 "am-cashback-tile", 7716 3, 7717 "item" 7718 ], 7719 [ 7720 3, 7721 "cssClass", 7722 "item" 7723 ], 7724 ["left", ""], 7725 ["right", ""], 7726 [ 7727 1, 7728 "cashback-description", 7729 3, 7730 "innerHtml" 7731 ], 7732 [ 7733 1, 7734 "coral-cashback-cash-value", 7735 3, 7736 "innerHtml" 7737 ], 7738 [ 7739 1, 7740 "coral-cashback-current-points", 7741 3, 7742 "innerHtml" 7743 ], 7744 [ 7745 "left", 7746 "", 7747 1, 7748 "cashback-donut", 7749 3, 7750 "segments" 7751 ], 7752 [1, "cashback-amount"] 7753 ], 7754 template: function(n, e) { 7755 n & 1 && d(0, Xm, 7, 8, "vn-am-tile", 0)(1, Ym, 6, 9, "vn-am-tile", 1), n & 2 && m(e.ignoreVipLevel ? 0 : 1); 7756 }, 7757 dependencies: [ 7758 Pe, 7759 Ce, 7760 q 7761 ], 7762 encapsulation: 2, 7763 changeDetection: 1 7764 }), t; 7765 })(), Es = (t) => ({ 7766 "am-cashback-tile": !0, 7767 "cashback-completed": t 7768 }), zn = (() => { 7769 let t = class extends bt { 7770 constructor() { 7771 super(); 7772 } 7773 }; 7774 return t.ɵfac = function(n) { 7775 return new (n || t)(); 7776 }, t.ɵcmp = b({ 7777 type: t, 7778 selectors: [["vn-am-coral-cashback-tile"]], 7779 features: [C], 7780 decls: 2, 7781 vars: 1, 7782 consts: [ 7783 [ 7784 1, 7785 "am-cashback-tile", 7786 3, 7787 "item" 7788 ], 7789 [ 7790 3, 7791 "cssClass", 7792 "item" 7793 ], 7794 ["left", ""], 7795 ["right", ""], 7796 [ 7797 1, 7798 "cashback-description", 7799 3, 7800 "innerHtml" 7801 ], 7802 [ 7803 1, 7804 "coral-cashback-cash-value", 7805 3, 7806 "innerHtml" 7807 ], 7808 [ 7809 1, 7810 "coral-cashback-current-points", 7811 3, 7812 "innerHtml" 7813 ], 7814 [ 7815 "left", 7816 "", 7817 1, 7818 "cashback-donut", 7819 3, 7820 "segments" 7821 ], 7822 [1, "cashback-amount"] 7823 ], 7824 template: function(n, e) { 7825 n & 1 && d(0, ed, 7, 8, "vn-am-tile", 0)(1, id, 6, 9, "vn-am-tile", 1), n & 2 && m(e.ignoreVipLevel ? 0 : 1); 7826 }, 7827 dependencies: [ 7828 T, 7829 Pe, 7830 Ce, 7831 q 7832 ], 7833 encapsulation: 2, 7834 changeDetection: 1 7835 }), t; 7836 })(), As = (t) => ({ 7837 "am-cashback-tile": !0, 7838 "cashback-completed": t 7839 }), Fn = (() => { 7840 let t = class extends Ct { 7841 constructor() { 7842 super(); 7843 } 7844 }; 7845 return t.ɵfac = function(n) { 7846 return new (n || t)(); 7847 }, t.ɵcmp = b({ 7848 type: t, 7849 selectors: [["vn-am-poker-cashback-tile"]], 7850 features: [C], 7851 decls: 2, 7852 vars: 1, 7853 consts: [ 7854 [ 7855 1, 7856 "am-cashback-tile", 7857 3, 7858 "item" 7859 ], 7860 [ 7861 3, 7862 "cssClass", 7863 "item" 7864 ], 7865 ["left", ""], 7866 ["right", ""], 7867 [ 7868 1, 7869 "cashback-description", 7870 3, 7871 "innerHtml" 7872 ], 7873 [ 7874 1, 7875 "coral-cashback-cash-value", 7876 3, 7877 "innerHtml" 7878 ], 7879 [ 7880 1, 7881 "coral-cashback-current-points", 7882 3, 7883 "innerHtml" 7884 ], 7885 [ 7886 "left", 7887 "", 7888 1, 7889 "cashback-donut", 7890 3, 7891 "segments" 7892 ], 7893 [1, "cashback-amount"] 7894 ], 7895 template: function(n, e) { 7896 n & 1 && d(0, ad, 7, 8, "vn-am-tile", 0)(1, rd, 6, 9, "vn-am-tile", 1), n & 2 && m(e.ignoreVipLevel ? 0 : 1); 7897 }, 7898 dependencies: [ 7899 T, 7900 Pe, 7901 Ce, 7902 q 7903 ], 7904 encapsulation: 2, 7905 changeDetection: 1 7906 }), t; 7907 })(), Ns = (t) => [t, "swiper--buttons-sm swiper--buttons-shadow"], Is = (t) => ({ item: t }), Wn = (() => { 7908 let t = class extends w { 7909 constructor() { 7910 super(...arguments), this.device = u(Et), this.accountMenuTrackingService = u(Y), this.swiperConfig = { 7911 modules: [uc], 7912 slidesPerView: "auto", 7913 centeredSlides: !0, 7914 navigation: !this.device.isTouch 7915 }; 7916 } 7917 ngAfterViewInit() { 7918 this.swiperComponentRef.swiper.on("slideChange", (e) => { 7919 this.slideChanged(e); 7920 }); 7921 } 7922 ngOnInit() { 7923 this.swiperConfig.pagination = !!(ce(this.item.parameters["show-dots"]) && this.item.children.length > 1); 7924 } 7925 slideChanged(e) { 7926 e.activeIndex == 1 && e.el.getElementsByClassName("am-text")[0]?.innerHTML.toLowerCase().indexOf("statistic") != -1 && this.accountMenuTrackingService.trackSessionStatisticsNavigate(); 7927 } 7928 }; 7929 return t.ɵfac = (() => { 7930 let n; 7931 return function(e) { 7932 return (n || (n = D(t)))(e || t); 7933 }; 7934 })(), t.ɵcmp = b({ 7935 type: t, 7936 selectors: [["vn-am-slider"]], 7937 viewQuery: function(n, e) { 7938 if (n & 1 && qe(mt, 5), n & 2) { 7939 let i; 7940 Je(i = Ze()) && (e.swiperComponentRef = i.first); 7941 } 7942 }, 7943 features: [C], 7944 decls: 5, 7945 vars: 9, 7946 consts: [ 7947 [ 7948 3, 7949 "swiperOptions", 7950 "swiperClass" 7951 ], 7952 [ 7953 1, 7954 "swiper-slide", 7955 "am-slider-item" 7956 ], 7957 [ 7958 1, 7959 "am-slider-anchor", 7960 3, 7961 "vnElementKey" 7962 ], 7963 [ 7964 4, 7965 "vnDynamicComponent", 7966 "vnDynamicComponentAttr" 7967 ] 7968 ], 7969 template: function(n, e) { 7970 n & 1 && (a(0, "vn-swiper", 0), N(1, ud, 2, 4, "div", 1, e.trackByProp, !0), v(3, "slice"), c(), h(4, "div", 2)), n & 2 && (r("swiperOptions", e.swiperConfig)("swiperClass", V(7, Ns, e.item.class)), s(), A(ha(3, 3, e.item.children, 0, 5)), s(3), r("vnElementKey", e.VanillaElements.ACCOUNT_MENU_SLIDER_ANCHOR)); 7971 }, 7972 dependencies: [ 7973 T, 7974 K, 7975 mt, 7976 it, 7977 ka 7978 ], 7979 encapsulation: 2, 7980 changeDetection: 1 7981 }), t; 7982 })(), jn = (() => { 7983 let t = class extends w { 7984 constructor() { 7985 super(); 7986 } 7987 }; 7988 return t.ɵfac = function(n) { 7989 return new (n || t)(); 7990 }, t.ɵcmp = b({ 7991 type: t, 7992 selectors: [["vn-am-slot"]], 7993 features: [C], 7994 decls: 1, 7995 vars: 1, 7996 consts: [[ 7997 "cssClass", 7998 "am-slot", 7999 3, 8000 "slot" 8001 ]], 8002 template: function(n, e) { 8003 if (n & 1 && d(0, md, 1, 1, "vn-dynamic-layout-slot", 0), n & 2) { 8004 let i;
8005 m((i = e.item.parameters?.slot) ? 0 : -1, i); 8006 } 8007 }, 8008 dependencies: [ho], 8009 encapsulation: 2, 8010 changeDetection: 1 8011 }), t; 8012 })(), Gn = class extends w { 8013 constructor() { 8014 super(), this.tasksService = u(lt), this.accountMenuTrackingService = u(Y), this.accountMenuDataService = u(de); 8015 } 8016 get resources() { 8017 return this.accountMenuDataService.getItem("tasks")?.resources; 8018 } 8019 onSwipe(t, n) { 8020 !this.tasksService.isUrgent(n) && t === le.Left && (this.accountMenuTrackingService.trackTaskSwiped(), this.tasksService.hide([n])); 8021 } 8022 close(t) { 8023 this.accountMenuTrackingService.trackTaskClosed(t.name), this.tasksService.hide([t]); 8024 } 8025 refreshItem(t, n, e = null) { 8026 this.item.parameters.order = t.toString(), this.item.parameters.status = n, e && (this.item.resources.Description = e), this.tasksService.update(this.item); 8027 } 8028 }, Kn = (() => { 8029 let t = class extends Gn { 8030 constructor() { 8031 super(); 8032 } 8033 ngOnInit() { 8034 this.item?.layout || (this.item.layout = "adhoc"); 8035 } 8036 }; 8037 return t.ɵfac = function(n) { 8038 return new (n || t)(); 8039 }, t.ɵcmp = b({ 8040 type: t, 8041 selectors: [["vn-am-adhoc-task"]], 8042 features: [C], 8043 decls: 2, 8044 vars: 1, 8045 consts: [ 8046 [ 8047 "dsThemeConfig", 8048 "account-menu-tasks-card", 8049 1, 8050 "ch-task-card", 8051 3, 8052 "elevated", 8053 "radius", 8054 "ch-task-card--important", 8055 "ch-task-card--onboarding", 8056 "ngClass" 8057 ], 8058 [ 8059 "dsThemeConfig", 8060 "account-menu-tasks-card", 8061 "vnSwipe", 8062 "", 8063 1, 8064 "am-task", 8065 "ch-task-card", 8066 3, 8067 "elevated", 8068 "clickable", 8069 "ch-task-card--important", 8070 "ngClass" 8071 ], 8072 [ 8073 "dsThemeConfig", 8074 "account-menu-tasks-card", 8075 1, 8076 "ch-task-card", 8077 3, 8078 "elevated", 8079 "radius", 8080 "ngClass" 8081 ], 8082 [ 8083 1, 8084 "ch-task-card__content", 8085 "d-flex", 8086 "align-items-center" 8087 ], 8088 [ 8089 1, 8090 "ch-task-card__text-wrapper", 8091 "d-flex", 8092 "align-items-center", 8093 "mr-2" 8094 ], 8095 [ 8096 "size", 8097 "20", 8098 "extraClass", 8099 "ch-task-card__icn d-flex", 8100 3, 8101 "name" 8102 ], 8103 [1, "ch-task-card__text"], 8104 [ 8105 1, 8106 "ch__font", 8107 "font-weight-bold", 8108 3, 8109 "innerHtml" 8110 ], 8111 [ 8112 1, 8113 "ch__font--sm", 8114 "ch__font--description", 8115 3, 8116 "vnDynamicHtml" 8117 ], 8118 [1, "ml-auto"], 8119 [ 8120 "ds-button", 8121 "", 8122 "kind", 8123 "secondary", 8124 "variant", 8125 "outline", 8126 "size", 8127 "small", 8128 "href", 8129 "#", 8130 3, 8131 "click" 8132 ], 8133 [ 8134 "dsThemeConfig", 8135 "account-menu-tasks-card", 8136 "vnSwipe", 8137 "", 8138 1, 8139 "am-task", 8140 "ch-task-card", 8141 3, 8142 "click", 8143 "onSwipe", 8144 "elevated", 8145 "clickable", 8146 "ngClass" 8147 ], 8148 [1, "ch-task-card__content"], 8149 [ 8150 "name", 8151 "theme-error-i", 8152 "size", 8153 "12", 8154 "extraClass", 8155 "ch-task-card__icn" 8156 ], 8157 [3, "ngClass"], 8158 [ 8159 1, 8160 "ch-task-card__text", 8161 "mr-2" 8162 ], 8163 [ 8164 "name", 8165 "theme-right", 8166 "size", 8167 "12", 8168 "extraClass", 8169 "ch-task-card__arrow" 8170 ], 8171 [1, "ch-onboarding__dot--task"], 8172 [ 8173 1, 8174 "ch-task-card__icn", 8175 "ch-onboarding__dot--task-bg" 8176 ], 8177 [ 8178 1, 8179 "ch-task-card__icn", 8180 "ch-onboarding__dot", 8181 "ch-onboarding__dot--task-dot", 8182 "ch-onboarding__dot--pulse" 8183 ], 8184 [ 8185 "name", 8186 "theme-ch-stories", 8187 "size", 8188 "20", 8189 "extraClass", 8190 "ch__font--gray-3 d-flex p-0 mr-2 mt-1" 8191 ], 8192 [ 8193 "name", 8194 "theme-close-small", 8195 "size", 8196 "12", 8197 "extraClass", 8198 "ch-task-card__close" 8199 ], 8200 [ 8201 "name", 8202 "theme-error-i", 8203 "size", 8204 "12", 8205 1, 8206 "ch-task-card__icn" 8207 ], 8208 [ 8209 "name", 8210 "theme-close-small", 8211 "size", 8212 "12", 8213 "extraClass", 8214 "ch-task-card__close", 8215 3, 8216 "click" 8217 ] 8218 ], 8219 template: function(n, e) { 8220 n & 1 && d(0, hd, 11, 13, "ds-card", 0)(1, _d, 5, 6, "ds-card", 1), n & 2 && m(e.version === 5 ? 0 : 1); 8221 }, 8222 dependencies: [ 8223 T, 8224 I, 8225 re, 8226 z, 8227 ye, 8228 fe, 8229 We, 8230 q 8231 ], 8232 encapsulation: 2, 8233 changeDetection: 1 8234 }), t; 8235 })(), qn = (() => { 8236 let t = class qs extends Gn { 8237 constructor() { 8238 super(...arguments), this.page = u(At), this.dslService = u(te), this.unsubscribe = new Z(); 8239 } 8240 get countdownField() { 8241 return this.item.parameters["countdown-field"]; 8242 } 8243 get countdownThreshold() { 8244 return ee(this.item.parameters["countdown-threshold"]); 8245 } 8246 static clearTime(e) { 8247 e.setHours(0), e.setMinutes(0), e.setSeconds(0), e.setMilliseconds(0); 8248 } 8249 ngOnInit() { 8250 this.item.layout = "deadline", this.item.parameters["dsl-countdown-formula"] && this.dslService.evaluateExpression(this.item.parameters["dsl-countdown-formula"]).pipe(X(this.unsubscribe)).subscribe((e) => { 8251 if (isNaN(e) || isNaN(this.countdownThreshold)) return; 8252 e = Math.floor(e); 8253 let i = e <= this.countdownThreshold, l = i ? Oi.URGENT : Oi.PENDING, k = this.getDescription(e, i); 8254 this.refreshItem(e, l, k); 8255 }); 8256 } 8257 ngOnDestroy() { 8258 this.unsubscribe.next(), this.unsubscribe.complete(); 8259 } 8260 getDescription(e, i) { 8261 if (e > 0) { 8262 let l = /* @__PURE__ */ new Date(), k = /* @__PURE__ */ new Date(); 8263 k.setDate(l.getDate() + e), qs.clearTime(k); 8264 let E = Sa(k, "fullDate", this.page.locale), B = 23 - l.getHours(), $ = B ? `${e - 1}d : ${B}h` : `${e - 1}d`; 8265 return `${this.resources?.by}: ${E}
8265 ${i ? `<span class="ch-task-card__timer font-weight-bold">${$}</span>` : ""}`; 8266 } 8267 } 8268 }; 8269 return t.ɵfac = (() => { 8270 let n; 8271 return function(e) { 8272 return (n || (n = D(t)))(e || t); 8273 }; 8274 })(), t.ɵcmp = b({ 8275 type: t, 8276 selectors: [["vn-am-deadline-task"]], 8277 features: [C], 8278 decls: 2, 8279 vars: 1, 8280 consts: [ 8281 [ 8282 "dsThemeConfig", 8283 "account-menu-tasks-card", 8284 1, 8285 "ch-task-card", 8286 3, 8287 "elevated", 8288 "radius", 8289 "ch-task-card--important", 8290 "ch-task-card--onboarding", 8291 "ngClass" 8292 ], 8293 [ 8294 "dsThemeConfig", 8295 "account-menu-tasks-card", 8296 "vnSwipe", 8297 "", 8298 1, 8299 "am-task", 8300 "ch-task-card", 8301 3, 8302 "elevated", 8303 "clickable", 8304 "ch-task-card--important", 8305 "ngClass" 8306 ], 8307 [ 8308 "dsThemeConfig", 8309 "account-menu-tasks-card", 8310 1, 8311 "ch-task-card", 8312 3, 8313 "elevated", 8314 "radius", 8315 "ngClass" 8316 ], 8317 [ 8318 1, 8319 "ch-task-card__content", 8320 "d-flex", 8321 "align-items-center" 8322 ], 8323 [ 8324 1, 8325 "ch-task-card__text-wrapper", 8326 "d-flex", 8327 "align-items-center", 8328 "mr-2" 8329 ], 8330 [ 8331 "size", 8332 "20", 8333 "extraClass", 8334 "ch-task-card__icn d-flex", 8335 3, 8336 "name" 8337 ], 8338 [1, "ch-task-card__text"], 8339 [ 8340 1, 8341 "ch__font", 8342 "font-weight-bold", 8343 3, 8344 "innerHtml" 8345 ], 8346 [ 8347 1, 8348 "ch__font--sm", 8349 "ch__font--description", 8350 3, 8351 "vnDynamicHtml" 8352 ], 8353 [1, "ml-auto"], 8354 [ 8355 "ds-button", 8356 "", 8357 "kind", 8358 "secondary", 8359 "variant", 8360 "outline", 8361 "size", 8362 "small", 8363 "href", 8364 "#", 8365 3, 8366 "click" 8367 ], 8368 [ 8369 "dsThemeConfig", 8370 "account-menu-tasks-card", 8371 "vnSwipe", 8372 "", 8373 1, 8374 "am-task", 8375 "ch-task-card", 8376 3, 8377 "click", 8378 "onSwipe", 8379 "elevated", 8380 "clickable", 8381 "ngClass" 8382 ], 8383 [1, "ch-task-card__content"], 8384 [ 8385 "name", 8386 "theme-error-i", 8387 "size", 8388 "12", 8389 "extraClass", 8390 "ch-task-card__icn" 8391 ], 8392 [3, "ngClass"], 8393 [ 8394 1, 8395 "ch-task-card__text", 8396 "mr-2" 8397 ], 8398 [ 8399 "name", 8400 "theme-right", 8401 "size", 8402 "12", 8403 "extraClass", 8404 "ch-task-card__arrow" 8405 ], 8406 [1, "ch-onboarding__dot--task"], 8407 [ 8408 1, 8409 "ch-task-card__icn", 8410 "ch-onboarding__dot--task-bg" 8411 ], 8412 [ 8413 1, 8414 "ch-task-card__icn", 8415 "ch-onboarding__dot", 8416 "ch-onboarding__dot--task-dot", 8417 "ch-onboarding__dot--pulse" 8418 ], 8419 [ 8420 "name", 8421 "theme-ch-stories", 8422 "size", 8423 "20", 8424 "extraClass", 8425 "ch__font--gray-3 d-flex p-0 mr-2 mt-1" 8426 ], 8427 [ 8428 "name", 8429 "theme-close-small", 8430 "size", 8431 "12", 8432 "extraClass", 8433 "ch-task-card__close" 8434 ], 8435 [ 8436 "name", 8437 "theme-error-i", 8438 "size", 8439 "12", 8440 1, 8441 "ch-task-card__icn" 8442 ], 8443 [ 8444 "name", 8445 "theme-close-small", 8446 "size", 8447 "12", 8448 "extraClass", 8449 "ch-task-card__close", 8450 3, 8451 "click" 8452 ] 8453 ], 8454 template: function(n, e) { 8455 n & 1 && d(0, Md, 11, 13, "ds-card", 0)(1, Rd, 5, 6, "ds-card", 1), n & 2 && m(e.version === 5 ? 0 : 1); 8456 }, 8457 dependencies: [ 8458 T, 8459 I, 8460 re, 8461 Bt, 8462 z, 8463 ye, 8464 fe, 8465 We, 8466 q 8467 ], 8468 encapsulation: 2, 8469 changeDetection: 1 8470 }), t; 8471 })(), Ke = (t, n) => ({ 8472 item: t, 8473 mode: n 8474 }), Xn = (() => { 8475 let t = class extends w { 8476 constructor() { 8477 super(), this.accountMenuTasksService = u(lt), this.navigation = u(ke), this.accountMenuDataService = u(de), this.accountMenuTrackingService = u(Y), this.accountMenuDrawerService = u(Le), this.webWorkerService = u(co), this.destroyRef = u(F), this.items = [], this.predicate = () => ua((e, i) => JSON.stringify(e) === JSON.stringify(i)), this.accountMenuTasksService.displayItems.pipe(this.predicate(), L(this.destroyRef)).subscribe((e) => {
8478 this.items = e, this.count = e.length, this.webWorkerService.createWorker(Ii.AccountMenuTasksTimeout, { timeout: 100 }, () => { 8479 this.urgentCount = e.filter((i) => this.accountMenuTasksService.isUrgent(i)).length, this.webWorkerService.removeWorker(Ii.AccountMenuTasksTimeout); 8480 }); 8481 }); 8482 } 8483 get template() { 8484 return this.accountMenuDataService.routerMode ? "menu-mobile" : this.mode; 8485 } 8486 get pendingLabel() { 8487 return this.item.resources["status-pending"] || ""; 8488 } 8489 get urgentLabel() { 8490 return this.item.resources["status-urgent"] || ""; 8491 } 8492 get pendingMessage() { 8493 return this.item.resources["pending-tasks-message"]?.replace("#COUNT", this.count.toString()).replace("#LABEL", this.pendingLabel) || ""; 8494 } 8495 get tasksExpandoClass() { 8496 return this.accountMenuTasksService.expanded || this.items.length === 1 ? "" : "ch-task-card-stack--closed"; 8497 } 8498 ngOnInit() { 8499 this.accountMenuTasksService.expanded = this.accountMenuTasksService.expanded || this.navigation.location.search.get("expandtasks") === "1", this.accountMenuTasksService.displayItems.pipe(this.predicate(), oa(1e3), L(this.destroyRef)).subscribe((e) => { 8500 this.accountMenuTrackingService.trackTasksLoaded(e); 8501 }); 8502 } 8503 toggle() { 8504 this.accountMenuTasksService.expanded = !this.accountMenuTasksService.expanded, this.accountMenuDataService.routerMode && this.accountMenuDrawerService.minimizeDrawer(), this.template == "page" ? this.accountMenuTrackingService.trackShowMoreClick(this.accountMenuTasksService.expanded) : this.accountMenuTasksService.expanded && this.accountMenuTrackingService.trackTaskStack(this.items); 8505 } 8506 collapse() { 8507 this.accountMenuTasksService.expanded = !1, this.accountMenuDrawerService.minimizeDrawer(); 8508 } 8509 gotoProfile() { 8510 this.accountMenuTrackingService.trackTaskOpenProfile(), this.navigation.goTo("/profile?expandtasks=1"); 8511 } 8512 onSwipe(e) { 8513 e === le.Left ? this.hidePending() : e === le.Up && this.collapse(); 8514 } 8515 hidePending() { 8516 if (!this.accountMenuTasksService.expanded) { 8517 let e = this.items.filter((i) => !this.accountMenuTasksService.isUrgent(i)); 8518 this.accountMenuTasksService.hide(e); 8519 } 8520 } 8521 showAllHidden(e) { 8522 e.stopPropagation(), this.accountMenuTasksService.expanded = !0, this.accountMenuTasksService.showAllHidden(), this.accountMenuTrackingService.trackShowAll(), this.accountMenuDrawerService.minimizeDrawer(); 8523 } 8524 }; 8525 return t.ɵfac = function(n) { 8526 return new (n || t)(); 8527 }, t.ɵcmp = b({ 8528 type: t, 8529 selectors: [["vn-am-tasks"]], 8530 features: [C], 8531 decls: 2, 8532 vars: 1, 8533 consts: [ 8534 [ 8535 "surface", 8536 "lowest", 8537 1, 8538 "ch-task-card-stack", 8539 "d-inline-block", 8540 3, 8541 "elevated", 8542 "radius", 8543 "ngClass" 8544 ], 8545 [1, "ch-task-card-stack__header"], 8546 [ 8547 1, 8548 "ch-task-card__title", 8549 "ch__font--title", 8550 "font-weight-bold" 8551 ], 8552 [ 8553 1, 8554 "ch__font", 8555 "ch-task-card-stack__details", 8556 "font-weight-bold" 8557 ], 8558 [1, "ch-task-card-stack__description"], 8559 [1, "ch-task-card-stack__cards"], 8560 [1, "ch-task-card-stack__task"], 8561 [ 8562 1, 8563 "ch-task-card-stack__footer", 8564 "w-100", 8565 "text-center", 8566 "font-weight-bold", 8567 "py-2", 8568 "ch__font--sm" 8569 ], 8570 [ 8571 4, 8572 "vnDynamicComponent", 8573 "vnDynamicComponentAttr" 8574 ], 8575 [ 8576 1, 8577 "ch-task-card-stack__footer", 8578 "w-100", 8579 "text-center", 8580 "font-weight-bold", 8581 "py-2", 8582 "ch__font--sm", 8583 3, 8584 "click" 8585 ], 8586 [ 8587 "name", 8588 "theme-down", 8589 "size", 8590 "12", 8591 "extraClass", 8592 "ch-task-card-stack__chevron ml-1" 8593 ], 8594 [ 8595 1, 8596 "ch__font--sm", 8597 "font-weight-bold" 8598 ], 8599 [ 8600 1, 8601 "ch-task-card-stack__description-more", 8602 "ch__font--sm", 8603 3, 8604 "vnDynamicHtml" 8605 ], 8606 [ 8607 "surface", 8608 "lowest", 8609 1, 8610 "ch-task-card-stack", 8611 "d-inline-block", 8612 3, 8613 "ngClass" 8614 ], 8615 [ 8616 1, 8617 "ch", 8618 "ch-account-menu-v3__info-tasks", 8619 "dh" 8620 ], 8621 [3, "hidden"], 8622 [ 8623 1, 8624 "ch", 8625 "ch-account-menu-v3__info-tasks", 8626 "dh", 8627 3, 8628 "click" 8629 ], 8630 [ 8631 1, 8632 "ch-widget__footer", 8633 "text-center" 8634 ], 8635 [ 8636 1, 8637 "d-block", 8638 "txt-sm-v2" 8639 ], 8640 [3, "innerHtml"], 8641 [ 8642 1, 8643 "d-block", 8644 "txt-xs-v2" 8645 ], 8646 [3, "inverse"], 8647 [ 8648 1, 8649 "ch__font--title", 8650 "font-weight-bold" 8651 ], 8652 [ 8653 1, 8654 "ch__font", 8655 "ch-task-card-stack__details" 8656 ], 8657 [ 8658 1, 8659 "ch__font--sm", 8660 "mx-3", 8661 "mb-3", 8662 "ch-nudge", 8663 "d-flex", 8664 "flex-column", 8665 3, 8666 "vnDynamicHtml" 8667 ], 8668 [ 8669 1, 8670 "ch-accent", 8671 "font-weight-bold" 8672 ], 8673 [ 8674 1, 8675 "ch__font", 8676 "ch-task-card-stack__details--desktop" 8677 ], 8678 [ 8679 1, 8680 "text-danger", 8681 "font-weight-bold" 8682 ], 8683 [ 8684 1, 8685 "ch-task-card-stack__footer", 8686 "w-100", 8687 "text-center", 8688 "font-weight-bold", 8689 "py-2", 8690 "ch__font--sm", 8691 "text-uppercase" 8692 ], 8693 [ 8694 1, 8695 "ch-task-card-stack__footer", 8696 "w-100", 8697 "text-center", 8698 "font-weight-bold", 8699 "py-2", 8700 "ch__font--sm", 8701 "text-uppercase", 8702 3, 8703 "click" 8704 ], 8705 [ 8706 1, 8707 "pl-4", 8708 "pr-4" 8709 ], 8710 [ 8711 1, 8712 "am-tasks-anchor", 8713 3, 8714 "vnElementKey" 8715 ], 8716 [ 8717 1, 8718 "ch__font", 8719 "text-uppercase", 8720 "font-weight-bold" 8721 ], 8722 [ 8723 "surface", 8724 "lowest", 8725 1, 8726 "ch-task-card-stack", 8727 3, 8728 "ngClass" 8729 ], 8730 [ 8731 "vnSwipe", 8732 "", 8733 1, 8734 "ch-task-card-stack__cards", 8735 3, 8736 "onSwipe", 8737 "click" 8738 ], 8739 [3, "click"] 8740 ], 8741 template: function(n, e) { 8742 n & 1 && d(0, jd, 1, 1)(1, mh, 3, 3), n & 2 && m(e.version === 5 ? 0 : 1); 8743 }, 8744 dependencies: [ 8745 T, 8746 I, 8747 re, 8748 K, 8749 it, 8750 Bt, 8751 z, 8752 Bi, 8753 fe, 8754 q 8755 ], 8756 encapsulation: 2, 8757 changeDetection: 1 8758 }), t; 8759 })(), Ls = (() => { 8760 let t = class extends w { 8761 constructor() { 8762 super(...arguments), this.dslService = u(te), this.intlService = u(ge), this.utils = u(Nt), this.destroyRef = u(F); 8763 } 8764 ngOnInit() { 8765 this.dslService.evaluateExpression(this.item.parameters.currency).pipe(L(this.destroyRef)).subscribe((e) => { 8766 this.currencySymbol = this.intlService.getCurrencySymbol(e), this.text = this.utils.format(this.item.text, this.currencySymbol); 8767 }), this.hideIfZero = !!ce(this.item.parameters["hide-if-zero"]), this.dslService.evaluateExpression(this.item.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.balance = e); 8768 } 8769 }; 8770 return t.ɵfac = (() => { 8771 let n; 8772 return function(e) { 8773 return (n || (n = D(t)))(e || t); 8774 }; 8775 })(), t.ɵcmp = b({ 8776 type: t, 8777 selectors: [["vn-am-tourneytoken-balance"]], 8778 features: [C], 8779 decls: 1, 8780 vars: 1, 8781 consts: [ 8782 [ 8783 1, 8784 "list-nav-link", 8785 "dnh", 8786 3, 8787 "ngClass" 8788 ], 8789 [ 8790 1, 8791 "list-nav-txt", 8792 "balance-text" 8793 ], 8794 [ 8795 1, 8796 "font-weight-bold", 8797 "ml-auto", 8798 "balance-amount" 8799 ] 8800 ], 8801 template: function(n, e) { 8802 n & 1 && d(0, dh, 6, 6, "div", 0), n & 2 && m(!e.hideIfZero || e.balance
8802!== 0 ? 0 : -1); 8803 }, 8804 dependencies: [ 8805 T, 8806 I, 8807 Ca 8808 ], 8809 encapsulation: 2, 8810 changeDetection: 1 8811 }), t; 8812 })(), Ps = (() => { 8813 let t = class extends w { 8814 constructor() { 8815 super(...arguments), this.unsubscribe = new Z(), this.user = u(pe), this.accountMenuConfig = u(ue); 8816 } 8817 ngOnInit() { 8818 this.accountMenuVersion = this.accountMenuService.version, this.accountMenuService.mLifeProfileEvents.pipe(oe((e) => e != null), X(this.unsubscribe)).subscribe((e) => { 8819 let i = this.accountMenuVersion === 1 ? this.accountMenuService.resources.messages : this.item.resources; 8820 this.mlife = { 8821 userGreeting: i.UserGreeting?.replace("{NAME}", Tt(this.user.firstName ?? "")) ?? "", 8822 fullNameLower: `${this.user.firstName} ${this.user.lastName}`.toLowerCase(), 8823 tierNumberText: (this.accountMenuVersion === 4 || this.accountMenuVersion === 6) && i.MLifeNumberText || "", 8824 tierNumber: e.mlifeNo, 8825 tierDescription: e.tierDesc, 8826 viewDetailsText: this.item.text, 8827 tierCredits: i.MLifeCredits?.replace("{CREDITS}", e.tierCredits.toString()) || "", 8828 fullName: `${this.user.firstName} ${this.user.lastName}` 8829 }; 8830 }), this.accountMenuService.updateMLifeProfile(); 8831 } 8832 }; 8833 return t.ɵfac = (() => { 8834 let n; 8835 return function(e) { 8836 return (n || (n = D(t)))(e || t); 8837 }; 8838 })(), t.ɵcmp = b({ 8839 type: t, 8840 selectors: [["vn-user"]], 8841 features: [C], 8842 decls: 2, 8843 vars: 1, 8844 consts: [ 8845 [1, "user-header"], 8846 [ 8847 1, 8848 "user-header__username", 8849 "ds-title-md-strong", 8850 3, 8851 "innerHtml" 8852 ], 8853 [ 8854 1, 8855 "user-header__details", 8856 "ds-label-md" 8857 ], 8858 [3, "innerHtml"], 8859 [ 8860 1, 8861 "user-header__link", 8862 3, 8863 "click" 8864 ], 8865 [ 8866 "name", 8867 "theme-right", 8868 "size", 8869 "12", 8870 1, 8871 "user-header__arrow-icon" 8872 ] 8873 ], 8874 template: function(n, e) { 8875 n & 1 && (a(0, "div", 0), d(1, hh, 11, 10), c()), n & 2 && (s(), m(e.mlife ? 1 : -1)); 8876 }, 8877 dependencies: [z, q], 8878 encapsulation: 2, 8879 changeDetection: 1 8880 }), t; 8881 })(), Zn = (() => { 8882 let t = class extends w { 8883 constructor() { 8884 super(...arguments), this.trackingService = u(Y); 8885 } 8886 ngOnInit() { 8887 this.trackingService.trackVerificationStatusLoad(this.item.name); 8888 } 8889 toggle() { 8890 this.trackingService.trackVerificationStatusClick(this.item.name), this.trackingService.trackVerificationStatusTooltipLoad(`${this.item.name} downboard`); 8891 } 8892 }; 8893 return t.ɵfac = (() => { 8894 let n; 8895 return function(e) { 8896 return (n || (n = D(t)))(e || t); 8897 }; 8898 })(), t.ɵcmp = b({ 8899 type: t, 8900 selectors: [["vn-am-verification-status"]], 8901 features: [C], 8902 decls: 5, 8903 vars: 4, 8904 consts: [ 8905 ["popper", ""], 8906 [ 8907 3, 8908 "click", 8909 "ngClass", 8910 "floatUi" 8911 ], 8912 [ 8913 "closeType", 8914 "none", 8915 3, 8916 "cssClass" 8917 ], 8918 ["content", ""], 8919 [3, "vnDynamicHtml"] 8920 ], 8921 template: function(n, e) { 8922 if (n & 1 && (a(0, "span", 1), y("click", function() { 8923 return e.toggle(); 8924 }), c(), a(1, "vn-popper-content", 2, 0), G(3, 3), h(4, "div", 4), j(), c()), n & 2) { 8925 let i = ve(2); 8926 r("ngClass", e.item.class)("floatUi", i.content), s(), r("cssClass", e.item.parameters.tooltipClass), s(3), r("vnDynamicHtml", e.item.resources.tooltipText); 8927 } 8928 }, 8929 dependencies: [ 8930 T, 8931 I, 8932 re, 8933 Ae, 8934 ze, 8935 Ve 8936 ], 8937 encapsulation: 2, 8938 changeDetection: 1 8939 }), t; 8940 })(), Hs = (t) => ({ item: t }), Jn = (() => { 8941 let t = class extends w { 8942 constructor() { 8943 super(...arguments), this.navigation = u(ke), this.productHomepages = u(vo), this.dslService = u(te), this.destroyRef = u(F); 8944 } 8945 ngOnInit() { 8946 let e = this.item?.parameters.formula; 8947 e && this.dslService.evaluateExpression(e).pipe(L(this.destroyRef)).subscribe((i) => this.balance = i); 8948 } 8949 goToCustomerCare() { 8950 this.navigation.goTo(this.productHomepages.portal + "/myaccount/contact"); 8951 } 8952 }; 8953 return t.ɵfac = (() => { 8954 let n; 8955 return function(e) { 8956 return (n || (n = D(t)))(e || t); 8957 }; 8958 })(), t.ɵcmp = b({ 8959 type: t, 8960 selectors: [["vn-wallet-balance-item"]], 8961 features: [gi([Vt]), C], 8962 decls: 16, 8963 vars: 14, 8964 consts: [ 8965 ["tooltip", ""], 8966 [ 8967 1, 8968 "wallet-balance-card", 8969 3, 8970 "border", 8971 "radius", 8972 "surface", 8973 "elevated" 8974 ], 8975 [1, "wallet-balance-card__top"], 8976 [ 8977 1, 8978 "wallet-balance-card__top-left", 8979 "d-flex", 8980 "align-items-center" 8981 ], 8982 [1, "wallet-balance-card__title"], 8983 [ 8984 1, 8985 "wallet-balance-card__top-right", 8986 "d-flex", 8987 "align-items-center" 8988 ], 8989 [1, "wallet-balance-card__amount"], 8990 [ 8991 "name", 8992 "theme-info", 8993 "size", 8994 "16", 8995 1, 8996 "wallet-balance-card__txt-info", 8997 3, 8998 "dsTooltipTriggerFor", 8999 "closeOnScroll", 9000 "closeOnInteraction" 9001 ], 9002 [ 9003 "variant", 9004 "on-surface-lowest", 9005 1, 9006 "wallet-balance-card__divider", 9007 3, 9008 "vertical" 9009 ], 9010 [ 9011 1, 9012 "wallet-balance-card__description", 9013 3, 9014 "vnDynamicHtml" 9015 ], 9016 [1, "wallet-balance-card__subitems"], 9017 [3, "variant"], 9018 ["slot", "description"], 9019 ["slot", "action"], 9020 [ 9021 "ds-button", 9022 "", 9023 "variant", 9024 "flat", 9025 "kind", 9026 "tertiary", 9027 "size", 9028 "small", 9029 2, 9030 "margin-left", 9031 "auto", 9032 3, 9033 "click", 9034 "inverse" 9035 ], 9036 [ 9037 4, 9038 "vnDynamicComponent", 9039 "vnDynamicComponentAttr" 9040 ] 9041 ], 9042 template: function(n, e) { 9043 n & 1 && (a(0, "ds-card", 1)(1, "ds-card-content")(2, "div", 2)(3, "div", 3)(4, "span", 4), p(5), c()(), a(6, "div", 5)(7, "span", 6), p(8), v(9, "vnCurrency"), c(), d(10, ph, 1, 3, "vn-icon", 7), P(11, vh, 6, 3, "ng-template", null, 0, yt), c()(), h(13, "ds-divider", 8)(14, "div", 9), d(15, kh, 3, 0, "div", 10), c()()), n & 2 && (r("border", !0)("radius", !0)("surface", "lowest")("elevated", !1), s(5), f(e.item.text), s(2), ie("wallet-balance-card__txt-cautious", e.balance < 0), s(), H(" ", g(9, 12, e.balance), " "), s(2), m(e.balance < 0 ? 10 : -1), s(3), r("vertical", !1), s(), r("vnDynamicHtml", e.item.resources == null ? null : e.item.resources.description), s(), m(e.item.children ? 15 :
9043-1)); 9044 }, 9045 dependencies: [ 9046 ye, 9047 fe, 9048 Ie, 9049 Ne, 9050 re, 9051 K, 9052 z, 9053 sc, 9054 Yo, 9055 hc, 9056 ae 9057 ], 9058 styles: [`@charset "UTF-8";.wallet-balance-card__top{display:flex;font-size:var(--%NS%wallet-balance-card-title-font-size);font-weight:var(--%NS%wallet-balance-card-title-font-weight);gap:var(--%NS%wallet-balance-card-title-gap);line-height:var(--%NS%wallet-balance-card-title-line-height);margin-block:var(--%NS%wallet-balance-card-title-margin-block)}.wallet-balance-card__txt-cautious{color:var(--%NS%wallet-balance-card-ammount-cautious-color)}.wallet-balance-card__txt-info{color:var(--%NS%wallet-balance-card-icn-info-color)}.wallet-balance-card__top-left{flex:1}.wallet-balance-card__top-left,.wallet-balance-card__top-right{gap:var(--%NS%wallet-balance-card-title-gap)}.wallet-balance-card__divider{margin-block:var(--%NS%wallet-balance-card-divider-margin-block)}.wallet-balance-card__description{color:var(--%NS%semantic-color-on-surface-subtle);font-size:var(--%NS%wallet-balance-card-desc-font-size);font-weight:var(--%NS%wallet-balance-card-desc-font-weight);line-height:var(--%NS%wallet-balance-card-desc-line-height)}.wallet-balance-card__subitems{margin-top:var(--%NS%semantic-spacing-container-padding-lg)}.wallet-balance-card__subitem{font-size:var(--%NS%wallet-balance-card-sub-item-font-size);font-weight:var(--%NS%wallet-balance-card-sub-item-font-weight);line-height:var(--%NS%wallet-balance-card-sub-item-line-height);margin:var(--%NS%semantic-spacing-container-padding-sm);padding-block:var(--%NS%semantic-spacing-container-padding-lg)} 9059`], 9060 encapsulation: 2, 9061 changeDetection: 1 9062 }), t; 9063 })(), Yn = (() => { 9064 let t = class extends w { 9065 constructor() { 9066 super(...arguments), this.dslService = u(te), this.destroyRef = u(F); 9067 } 9068 ngOnInit() { 9069 this.item.parameters.formula && this.dslService.evaluateExpression(this.item.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.balance = e), this.hideIfZero = !!ce(this.item.parameters["hide-if-zero"]); 9070 } 9071 }; 9072 return t.ɵfac = (() => { 9073 let n; 9074 return function(e) { 9075 return (n || (n = D(t)))(e || t); 9076 }; 9077 })(), t.ɵcmp = b({ 9078 type: t, 9079 selectors: [["vn-wallet-balance-sub-item"]], 9080 features: [C], 9081 decls: 1, 9082 vars: 1, 9083 consts: [[ 9084 1, 9085 "wallet-balance-card__subitem", 9086 "d-flex", 9087 "justify-content-between", 9088 3, 9089 "ngClass" 9090 ]], 9091 template: function(n, e) { 9092 n & 1 && d(0, Sh, 4, 3, "div", 0), n & 2 && m(!e.hideIfZero || e.balance !== 0 ? 0 : -1); 9093 }, 9094 dependencies: [ 9095 T, 9096 I, 9097 ae 9098 ], 9099 encapsulation: 2, 9100 changeDetection: 1 9101 }), t; 9102 })(), Bs = (t) => ({ item: t }), St = (() => { 9103 let t = class extends w { 9104 constructor() { 9105 super(...arguments), this.deviseService = u(Et), this.bottomSheetRef = u(Tc, { optional: !0 }), this.bottmoSheetdata = u(Ec, { optional: !0 }), this.modalDialogref = u(Mo, { optional: !0 }), this.modalDialogData = u(Eo, { optional: !0 }); 9106 } 9107 ngOnInit() { 9108 this.data = this.bottmoSheetdata ?? this.modalDialogData; 9109 } 9110 close() { 9111 this.deviseService.isMobilePhone ? this.bottomSheetRef?.dismiss() : this.modalDialogref?.close(); 9112 } 9113 }; 9114 return t.ɵfac = (() => { 9115 let n; 9116 return function(e) { 9117 return (n || (n = D(t)))(e || t); 9118 }; 9119 })(), t.ɵcmp = b({ 9120 type: t, 9121 selectors: [[ 9122 "vn-wallet-detail", 9123 8, 9124 "modal" 9125 ]], 9126 features: [gi([Vt]), C], 9127 decls: 11, 9128 vars: 1, 9129 consts: [ 9130 [ 9131 "variant", 9132 "surface", 9133 1, 9134 "wallet-detail-dialog", 9135 3, 9136 "bottomSheet" 9137 ], 9138 [ 9139 "variant", 9140 "surface-low", 9141 1, 9142 "wallet-detail-dialog__header" 9143 ], 9144 ["slot", "start"], 9145 ["slot", "title"], 9146 [ 9147 "ds-button", 9148 "", 9149 "slot", 9150 "end", 9151 "kind", 9152 "secondary", 9153 "variant", 9154 "outline", 9155 "size", 9156 "medium", 9157 3, 9158 "click" 9159 ], 9160 [1, "wallet-detail-dialog__content"], 9161 [ 9162 4, 9163 "vnDynamicComponent", 9164 "vnDynamicComponentAttr" 9165 ] 9166 ], 9167 template: function(n, e) { 9168 n & 1 && (a(0, "ds-modal", 0)(1, "ds-modal-header", 1)(2, "div", 2)(3, "div", 3), p(4, "Balance details"), c()(), a(5, "button", 4), y("click", function() { 9169 return e.close(); 9170 }), p(6, "Close"), c()(), a(7, "ds-modal-content")(8, "div", 5), N(9, wh, 1, 4, "ng-container", null, e.trackByProp, !0), c()()()), n & 2 && (r("bottomSheet", !0), s(9), A(e.data?.item)); 9171 }, 9172 dependencies: [ 9173 K, 9174 ji, 9175 Do, 9176 Ri, 9177 Vi, 9178 $i, 9179 ye 9180 ], 9181 styles: [`@charset "UTF-8";vn-wallet-detail.modal{position:initial}.wallet-detail-dialog__content{display:grid;gap:var(--%NS%wallet-detail-dialog-content-gap)}vn-wallet-balance-sub-item:last-of-type .wallet-balance-card__subitem{margin-bottom:0;padding-bottom:0}vn-wallet-balance-sub-item:empty~.ds-divider{display:none} 9182`], 9183 encapsulation: 2, 9184 changeDetection: 1 9185 }), t; 9186 })(), Rs = (t) => ({ item: t }), Qn = (() => { 9187 let t = class extends w { 9188 constructor() { 9189 super(...arguments), this.bottomSheet = u(Dc), this.modalDialog = u(To), this.deviseService = u(Et), this.dslService = u(te), this.destroyRef = u(F); 9190 } 9191 ngOnInit() { 9192 this.totalBalanceItem = this.item.children.find((e) => e.name === "total"), this.totalBalanceItem?.parameters.formula && this.dslService.evaluateExpression(this.totalBalanceItem?.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.totalBalance = e), this.bonusBalanceItem = this.item.children.find((e) => e.name === "bonus"), this.bonusBalanceItem?.parameters.formula && this.dslService.evaluateExpression(this.bonusBalanceItem?.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.bonusBalance = e), this.withdrawableBalanceItem = this.item.children.find((e) => e.name === "withdrawable"), this.withdrawableBalanceItem?.parameters.formula && this.dslService.evaluateExpression(this.withdrawableBalanceItem?.parameters.formula).pipe(L(this.destroyRef)).subscribe((e) => this.withdrawableBalance = e), this.ctaItems = this.item.children.filter((e) => e.type === "cta"); 9193 } 9194 showBalance() { 9195 let e = { data: { item: this.item.children.filter(({ type: i }) => i !== "cta") } }; 9196 this.deviseService.isMobile ? this.bottomSheet.open(St, hi(pi({}, e), { panelClass: "ds-bottom-sheet-panel" })) : this.modalDialog.open(St, e); 9197 } 9198 }; 9199 return t.ɵfac = (() => { 9200 let n; 9201 return function(e) { 9202 return (n || (n = D(t)))(e || t); 9203 }; 9204 })(), t.ɵcmp = b({ 9205 type: t, 9206 selectors: [["vn-wallet"]], 9207 features: [C], 9208 decls: 29, 9209 vars: 17, 9210 consts: [ 9211 [3, "ngClass"], 9212 [ 9213 1, 9214 "wallet", 9215 3, 9216 "elevated" 9217 ], 9218 [1, "wallet__img"], 9219 [1, "wallet__content"], 9220 [1, "wallet__total"], 9221 [ 9222 1, 9223 "wallet__total-label", 9224 "ds-label-md" 9225 ], 9226 [ 9227 1, 9228 "wallet__total-value", 9229 "ds-headline-sm-strong" 9230 ], 9231 [1, "wallet__list"], 9232 [1, "wallet__item"], 9233 [ 9234 1, 9235 "wallet__item-label", 9236 "ds-label-md" 9237 ], 9238 [ 9239 1, 9240 "wallet__item-value", 9241 "ds-title-md-strong" 9242 ], 9243 [ 9244 "variant", 9245 "on-surface-lowest", 9246 1, 9247 "wallet__item-divider", 9248 3, 9249 "vertical" 9250 ], 9251 [1, "wallet__details-btn"], 9252 [ 9253 "ds-button", 9254 "", 9255 "kind", 9256 "secondary", 9257 "variant", 9258 "outline", 9259 "size", 9260 "small", 9261 3, 9262 "click" 9263 ], 9264 [1, "wallet__actions"], 9265 [ 9266 3, 9267 "alt", 9268 "height", 9269 "src", 9270 "width" 9271 ], 9272 [ 9273 4, 9274 "vnDynamicComponent", 9275 "vnDynamicComponentAttr" 9276 ] 9277 ], 9278 template: function(n, e) { 9279 n & 1 && (a(0, "div", 0)(1, "ds-card", 1), d(2, _h, 2, 4, "div", 2), a(3, "ds-card-content")(4, "div", 3)(5, "div", 4)(6, "div", 5), p(7), c(), a(8, "div", 6), p(9), v(10, "vnCurrency"), c()(), a(11, "div", 7)(12, "div", 8)(13, "div", 9), p(14), c(), a(15, "div", 10), p(16), v(17, "vnCurrency"), c()(), h(18, "ds-divider", 11), a(19, "div", 8)(20, "div", 9), p(21), c(), a(22, "div", 10), p(23), v(24, "vnCurrency"), c()()(), a(25, "div", 12)(26, "button", 13), y("click", function() { 9280 return e.showBalance(); 9281 }), p(27, "Balance details"), c()(), d(28, Dh, 3, 0, "div", 14), c()()()()), n & 2 && (r("ngClass", e.item.class), s(), r("elevated", !0), s(), m(e.item.image ? 2 : -1), s(5), f(e.totalBalanceItem?.text), s(2), f(g(10, 11, e.totalBalance)), s(5), f(e.withdrawableBalanceItem?.text), s(2), f(g(17, 13, e.withdrawableBalance)), s(2), r("vertical", !0), s(3), f(e.bonusBalanceItem?.text), s(2), f(g(24, 15, e.bonusBalance)), s(5), m(e.ctaItems?.length ? 28 : -1)); 9282 }, 9283 dependencies: [ 9284 T, 9285 I, 9286 fe, 9287 Ie, 9288 ye, 9289 K, 9290 ji, 9291 me, 9292 Ne, 9293 ae 9294 ], 9295 styles: [`@charset "UTF-8";.wallet{position:relative;text-align:center}.wallet__img{height:100%;overflow:hidden;pointer-events:none;position:absolute}.wallet__content{display:grid;gap:var(--%NS%semantic-spacing-stack-lg)}.wallet__total-label{color:var(--%NS%wallet-balance-total-label-color);margin-bottom:var(--%NS%semantic-spacing-stack-xs);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet__total-value{color:var(--%NS%wallet-balance-value-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet__list{align-items:center;display:flex;gap:var(--%NS%semantic-spacing-inline-md);justify-content:space-around}.wallet__item{flex:1}.wallet__item-label{color:var(--%NS%wallet-balance-item-label-color);margin-bottom:var(--%NS%semantic-spacing-stack-xs);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet__item-value{color:var(--%NS%wallet-balance-item-value-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet__details-btn{font-size:0;line-height:0;padding-block:var(--%NS%semantic-spacing-stack-sm)}.wallet__actions{display:flex;gap:var(--%NS%semantic-spacing-inline-lg)}.wallet__actions vn-am-cta{flex:1;font-size:0;line-height:normal} 9296`], 9297 encapsulation: 2, 9298 changeDetection: 1 9299 }), t; 9300 })(), Os = ["*"], he = (() => { 9301 let t = class extends w { 9302 constructor() { 9303 super(), this.hideSkeleton = !1, this.isClickable = !0, this.SkeletonType = Gc; 9304 } 9305 }; 9306 return t.ɵfac = function(n) { 9307 return new (n || t)(); 9308 }, t.ɵcmp = b({ 9309 type: t, 9310 selectors: [["vn-am-widget"]], 9311 inputs: { 9312 hideSkeleton: "hideSkeleton", 9313 footerContent: "footerContent", 9314 isClickable: "isClickable" 9315 }, 9316 features: [C], 9317 ngContentSelectors: Os, 9318 decls: 2, 9319 vars: 1, 9320 consts: [ 9321 [ 9322 "surface", 9323 "lowest", 9324 1, 9325 "ch", 9326 "ch-widget", 9327 "ch__font", 9328 "dh", 9329 "mb-3", 9330 3, 9331 "clickable", 9332 "elevated" 9333 ], 9334 [3, "type"], 9335 [ 9336 "surface", 9337 "lowest", 9338 1, 9339 "ch", 9340 "ch-widget", 9341 "ch__font", 9342 "dh", 9343 "mb-3", 9344 3, 9345 "click", 9346 "clickable", 9347 "elevated" 9348 ], 9349 [1, "ch-widget--content"], 9350 [ 9351 1, 9352 "d-flex", 9353 "justify-content-between", 9354 "align-items-center" 9355 ], 9356 [1, "d-flex"], 9357 [ 9358 1, 9359 "text-center", 9360 "mr-2", 9361 "d-flex", 9362 "align-items-center" 9363 ], 9364 [ 9365 "imageClass", 9366 "ch-widget__icon", 9367 3, 9368 "src", 9369 "alt", 9370 "width", 9371 "height" 9372 ], 9373 [ 9374 1, 9375 "ch-widget__icon", 9376 "ch__font--subtitle", 9377 3, 9378 "ngClass" 9379 ], 9380 [ 9381 1, 9382 "ch__font--title", 9383 "font-weight-bold" 9384 ], 9385 [ 9386 "name", 9387 "theme-right", 9388 "size", 9389 "12", 9390 "extraClass", 9391 "d-flex align-items-center" 9392 ], 9393 [ 9394 1, 9395 "d-flex", 9396 "justify-content-center", 9397 "align-items-center" 9398 ], 9399 [ 9400 "name", 9401 "theme-info-i", 9402 "size", 9403 "14", 9404 "extraClass", 9405 "d-flex mr-1 text-info" 9406 ], 9407 [ 9408 1, 9409 "ch__font--sm", 9410 "ch__font--description", 9411 3, 9412 "vnDynamicHtml" 9413 ] 9414 ], 9415 template: function(n, e) { 9416 n & 1 && (ki(), d(0, Ih, 6, 4, "ds-card", 0)(1, Lh, 1, 1, "vn-skeleton", 1)), n & 2 && m(e.hideSkeleton ? 0 : 1); 9417 }, 9418 dependencies: [ 9419 T, 9420 I, 9421 re, 9422 Kc, 9423 me, 9424 z, 9425 Ne, 9426 fe, 9427 Ie 9428 ], 9429 styles: [`@charset "UTF-8";@keyframes pulse{0%{background-color:#a5a5a51a}50%{background-color:#a5a5a54d}to{background-color:#a5a5a51a}}@keyframes vertical-shimmer{to{transform:translate(100%)}}@media(max-width:599.98px){vn-skeleton .ch-widget{background-color:var(--%NS%ds-card-color-background)}}.ch-widget{width:100%}.ch-widget__footer{background-color:var(--%NS%footer-color);border-radius:var(--%NS%content-radius);padding:var(--%NS%site-spacer-s) var(--%NS%site-spacer-m)}.ch-widget__icon{height:var(--%NS%vn-am-widget-icon-size);width:var(--%NS%vn-am-widget-icon-size)}.ch-widget__icon--skeleton{border-radius:50%;height:var(--%NS%vn-am-widget-icon-size);width:var(--%NS%vn-am-widget-icon-size);animation:pulse 1s infinite ease-in-out}.ch-widget--skeleton{border-radius:var(--%NS%content-radius);height:60px;width:100%;animation:pulse 1s infinite ease-in-out}.ch-widget--skeleton--sm{border-radius:var(--%NS%content-radius);height:var(--%NS%vn-am-widget-icon-size);width:60%;animation:pulse 1s infinite ease-in-out}.ch-widget .background-bar{background-color:var(--%NS%vn-am-widget-background-bar-bg);margin:var(--%NS%site-spacer-s) 0}.ch-widget .progress{background-color:var(--%NS%theme-error);height:var(--%NS%vn-am-widget-progress-bar-height)}.ch-widget .ds-divider{margin:var(--%NS%site-spacer-m) 0}.ch-widget__timestep{position:relative}.ch-widget__timestep+.ch-widget__timestep{margin-top:var(--%NS%site-spacer)}.ch-widget__timestep+.ch-widget__timestep:before{background-color:var(--%NS%vn-am-widget-bg-color);content:"";height:40%;left:7px;position:absolute;top:-55%;width:1px}.ch-widget__countdown{position:relative}.ch-widget__countdown:before{background-color:var(--%NS%vn-am-widget-bg-color);content:"";height:1px;left:calc(-1 * var(--%NS%site-spacer-l));position:absolute;top:50%;width:var(--%NS%site-spacer)}.ch-widget__normative{color:var(--%NS%vn-am-widget-normative-color);width:100%}.ch-widget__normative .normative-feedback{border-radius:var(--%NS%vn-am-widget-v3-border-radius)}.ch-widget__normative .normative-feedback__warning{background-color:var(--%NS%theme-warning-bg);border-left:4px solid var(--%NS%theme-warning);padding:var(--%NS%site-spacer-m)}.ch-widget__normative .normative-feedback__info{background-color:var(--%NS%vn-am-widget-normative-bg);color:var(--%NS%vn-am-widget-normative-color);padding:var(--%NS%site-spacer-s)}.ch-widget__normative .normative-options{font-size:12px;text-align:right}@media(max-width:599.98px){.am-v3.ch .ch-widget{--%NS%vn-am-widget-background-bar-bg: color-mix(in srgb, var(--%NS%color-white) 20%, transparent);--%NS%ds-card-custom-color-bg: var(--%NS%vn-am-widget-card-bg-mobile);color:var(--%NS%color-white)}}@media(min-width:1600px){.am-v3.ch .ch-widget{--%NS%vn-am-widget-icon-size: 24px}.am-v3.ch .ch-widget .progress{--%NS%vn-am-widget-progress-bar-height: 10px}}.am-v5 .ch-widget{display:inline-block} 9430`], 9431 encapsulation: 2, 9432 changeDetection: 1 9433 }), t; 9434 })(), $s = (t, n) => ({ 9435 "text-success": t, 9436 "text-danger": n 9437 }), ei = (() => { 9438 let t = class extends ft { 9439 constructor() { 9440 super(); 9441 } 9442 }; 9443 return t.ɵfac = function(n) { 9444 return new (n || t)(); 9445 }, t.ɵcmp = b({ 9446 type: t, 9447 selectors: [["vn-am-cashback-casino-widget"]], 9448 features: [C], 9449 decls: 5, 9450 vars: 5, 9451 consts: [ 9452 [ 9453 3,
9454 "hideSkeleton", 9455 "item", 9456 "mode" 9457 ], 9458 [ 9459 1, 9460 "d-flex", 9461 "justify-content-between" 9462 ], 9463 [ 9464 1, 9465 "ch__font", 9466 "mb-2", 9467 "ch__font--description", 9468 3, 9469 "innerHtml" 9470 ], 9471 [ 9472 1, 9473 "ch__font--subtitle", 9474 "font-weight-bold", 9475 "mb-2", 9476 3, 9477 "ngClass" 9478 ], 9479 [1, "text-right"], 9480 [3, "innerHtml"] 9481 ], 9482 template: function(n, e) { 9483 n & 1 && (a(0, "vn-am-widget", 0), G(1), a(2, "div", 1), d(3, Ph, 1, 1, "div", 2), d(4, Bh, 5, 7), c(), j(), c()), n & 2 && (r("hideSkeleton", e.hideSkeleton)("item", e.item)("mode", e.mode), s(3), m(e.descriptionV3 ? 3 : -1), s(), m(e.descriptionV3 ? -1 : 4)); 9484 }, 9485 dependencies: [ 9486 T, 9487 I, 9488 he 9489 ], 9490 encapsulation: 2, 9491 changeDetection: 1 9492 }), t; 9493 })(), Vs = (t, n) => ({ 9494 "text-success": t, 9495 "text-danger": n 9496 }), ti = (() => { 9497 let t = class extends bt { 9498 constructor() { 9499 super(...arguments), this.trackingService = u(ne); 9500 } 9501 ngOnInit() { 9502 super.ngOnInit(), this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"); 9503 } 9504 }; 9505 return t.ɵfac = (() => { 9506 let n; 9507 return function(e) { 9508 return (n || (n = D(t)))(e || t); 9509 }; 9510 })(), t.ɵcmp = b({ 9511 type: t, 9512 selectors: [["vn-am-cashback-coral-widget"]], 9513 features: [C], 9514 decls: 5, 9515 vars: 5, 9516 consts: [ 9517 [ 9518 3, 9519 "hideSkeleton", 9520 "item", 9521 "mode" 9522 ], 9523 [ 9524 1, 9525 "d-flex", 9526 "justify-content-between" 9527 ], 9528 [ 9529 1, 9530 "ch__font", 9531 "mb-2", 9532 "ch__font--description", 9533 3, 9534 "innerHtml" 9535 ], 9536 [ 9537 1, 9538 "ch__font--subtitle", 9539 "font-weight-bold", 9540 "mb-2", 9541 3, 9542 "ngClass" 9543 ], 9544 [1, "text-right"], 9545 [3, "innerHtml"] 9546 ], 9547 template: function(n, e) { 9548 n & 1 && (a(0, "vn-am-widget", 0), G(1), a(2, "div", 1), d(3, Rh, 1, 1, "div", 2), d(4, $h, 5, 7), c(), j(), c()), n & 2 && (r("hideSkeleton", e.hideSkeleton)("item", e.item)("mode", e.mode), s(3), m(e.descriptionV3 ? 3 : -1), s(), m(e.descriptionV3 ? -1 : 4)); 9549 }, 9550 dependencies: [ 9551 T, 9552 I, 9553 he 9554 ], 9555 encapsulation: 2, 9556 changeDetection: 1 9557 }), t; 9558 })(), Us = (t, n) => ({ 9559 "text-success": t, 9560 "text-danger": n 9561 }), zs = (() => { 9562 let t = class extends Ct { 9563 constructor() { 9564 super(); 9565 } 9566 }; 9567 return t.ɵfac = function(n) { 9568 return new (n || t)(); 9569 }, t.ɵcmp = b({ 9570 type: t, 9571 selectors: [["vn-am-cashback-poker-widget"]], 9572 features: [C], 9573 decls: 5, 9574 vars: 5, 9575 consts: [ 9576 [ 9577 3, 9578 "hideSkeleton", 9579 "item", 9580 "mode" 9581 ], 9582 [ 9583 1, 9584 "d-flex", 9585 "justify-content-between" 9586 ], 9587 [ 9588 1, 9589 "ch__font", 9590 "mb-2", 9591 "ch__font--description", 9592 3, 9593 "innerHtml" 9594 ], 9595 [ 9596 1, 9597 "ch__font--subtitle", 9598 "font-weight-bold", 9599 "mb-2", 9600 3, 9601 "ngClass" 9602 ], 9603 [1, "text-right"], 9604 [3, "innerHtml"] 9605 ], 9606 template: function(n, e) { 9607 n & 1 && (a(0, "vn-am-widget", 0), G(1), a(2, "div", 1), d(3, Vh, 1, 1, "div", 2), d(4, zh, 5, 7), c(), j(), c()), n & 2 && (r("hideSkeleton", e.hideSkeleton)("item", e.item)("mode", e.mode), s(3), m(e.descriptionV3 ? 3 : -1), s(), m(e.descriptionV3 ? -1 : 4)); 9608 }, 9609 dependencies: [ 9610 T, 9611 I, 9612 he 9613 ], 9614 encapsulation: 2, 9615 changeDetection: 1 9616 }), t; 9617 })(), ni = (() => { 9618 let t = class extends w { 9619 constructor() { 9620 super(...arguments), this.userDocumentsService = u($c); 9621 } 9622 ngOnInit() { 9623 this.userDocumentsService.refresh(); 9624 } 9625 }; 9626 return t.ɵfac = (() => { 9627 let n; 9628 return function(e) { 9629 return (n || (n = D(t)))(e || t); 9630 }; 9631 })(), t.ɵcmp = b({ 9632 type: t, 9633 selectors: [["vn-am-documents-widget"]], 9634 features: [C], 9635 decls: 2, 9636 vars: 5, 9637 consts: [[ 9638 3, 9639 "item", 9640 "mode", 9641 "hideSkeleton", 9642 "footerContent" 9643 ], [ 9644 3, 9645 "userDocuments", 9646 "item" 9647 ]], 9648 template: function(n, e) { 9649 if (n & 1 && (a(0, "vn-am-widget", 0), d(1, Fh, 1, 2, "vn-am-user-documents", 1), c()), n & 2) { 9650 let i; 9651 r("item", e.item)("mode", e.mode)("hideSkeleton", !!e.userDocumentsService.userDocuments())("footerContent", e.item.resources.FooterText), s(), m((i
9651= e.userDocumentsService.userDocuments()) ? 1 : -1, i); 9652 } 9653 }, 9654 dependencies: [he, zc], 9655 encapsulation: 2, 9656 changeDetection: 1 9657 }), t; 9658 })(), ii = (() => { 9659 let t = class extends w { 9660 constructor() { 9661 super(...arguments), this.accountMenuResourceService = u(xe), this.intlService = u(ge), this.accountMenuDataService = u(de), this.accountMenuTrackingService = u(Y), this.trackingService = u(ne), this.userService = u(pe), this.destroyRef = u(F), this.model = W(void 0), this.hideSkeleton = W(!1), this.isFirstNotification = !0; 9662 } 9663 ngOnInit() { 9664 this.userService.isAuthenticated && (this.triggerReorderPercentage = ee(this.item.parameters["trigger-reorder-percentage"]), this.accountMenuResourceService.getLossLimit().pipe(L(this.destroyRef)).subscribe((e) => { 9665 let i = e.totalNetDeposit >= 0, l = Math.abs(e.totalNetDeposit), k = i ? Math.abs(e.totalNetDeposit) / e.totalLossLimit * 100 : 0, E = e.totalLossLimit - e.totalNetDeposit, B = this.intlService.formatCurrency(e.totalLossLimit), $ = this.intlService.formatCurrency(i ? l : 0), Xs = this.item.resources.LimitText?.replace("_GLOBAL_LOSS_LIMIT_", $).replace("_TOTAL_LOSS_LIMIT_", B); 9666 k >= this.triggerReorderPercentage && ee(this.item.parameters.order) > 1 && (this.item.parameters.order = "1", this.accountMenuDataService.refreshWidgets()), this.limitType !== e.limitType && (this.limitType = e.limitType, this.item.text = this.item.resources[`${this.limitType}Title`]?.replace("_TOTAL_LOSS_LIMIT_", B) || ""); 9667 let Zs = { "component.PositionEvent": e.totalNetDeposit > 0 ? "negative value" : e.totalNetDeposit < 0 ? "positive value" : "zero value" }; 9668 this.accountMenuTrackingService.replacePlaceholders(this.item, Zs), this.isFirstNotification && (this.isFirstNotification = !1, this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent")), this.model.set({ 9669 totalLossLimit: e.totalLossLimit, 9670 totalNetDeposit: l, 9671 arrowClass: e.totalNetDeposit > 0 ? "arrow-value--down" : e.totalNetDeposit < 0 ? "arrow-value--up" : null, 9672 percentageElapsed: k, 9673 limitText: Xs || "", 9674 remainingDeposit: E, 9675 description: this.item.resources[`${this.limitType}Description`], 9676 limitReachedText: E <= 0 ? this.item.resources[`${this.limitType}LimitReachedText`] : "", 9677 limitNotReachedText: E > 0 && this.item.resources.LimitNotReachedText?.replace("_REMAINNING_DEPOSIT_", this.intlService.formatCurrency(E)) || "" 9678 }), this.hideSkeleton.set(!0); 9679 })); 9680 } 9681 }; 9682 return t.ɵfac = (() => { 9683 let n; 9684 return function(e) { 9685 return (n || (n = D(t)))(e || t); 9686 }; 9687 })(), t.ɵcmp = b({ 9688 type: t, 9689 selectors: [["vn-am-loss-limit-widget"]], 9690 features: [C], 9691 decls: 2, 9692 vars: 4, 9693 consts: [ 9694 [ 9695 3, 9696 "hideSkeleton", 9697 "item", 9698 "mode" 9699 ], 9700 [ 9701 1, 9702 "ch__font--subtitle", 9703 "font-weight-bold", 9704 "d-flex", 9705 "align-items-center", 9706 "mb-2" 9707 ], 9708 [ 9709 1, 9710 "pb-1", 9711 "mr-1" 9712 ], 9713 [1, "ch__font--description"], 9714 [1, "background-bar"], 9715 [1, "progress"], 9716 [ 9717 1, 9718 "d-flex", 9719 "justify-content-between" 9720 ], 9721 [3, "innerHtml"], 9722 [ 9723 1, 9724 "ch-widget__footer", 9725 "ch__font", 9726 "text-center", 9727 "mt-2" 9728 ], 9729 [ 9730 1, 9731 "ch-widget__footer", 9732 "ch__font", 9733 "d-flex", 9734 "align-items-center", 9735 "mt-2" 9736 ], 9737 [3, "ngClass"], 9738 [ 9739 "name", 9740 "theme-warning", 9741 "extraClass", 9742 "ch__font--title d-flex text-warning mr-2" 9743 ], 9744 [3, "vnDynamicHtml"] 9745 ], 9746 template: function(n, e) { 9747 if (n & 1 && (a(0, "vn-am-widget", 0), d(1, Kh, 15, 10), c()), n & 2) { 9748 let i; 9749 r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode), s(), m((i = e.model()) ? 1 : -1, i); 9750 } 9751 }, 9752 dependencies: [ 9753 T, 9754 I, 9755 he, 9756 re, 9757 z, 9758 q, 9759 ae 9760 ], 9761 encapsulation: 2, 9762 changeDetection: 1 9763 }), t; 9764 })(), Fs = (t) => ({ item: t }), si = (() => { 9765 let t = class extends w { 9766 constructor() { 9767 super(...arguments), this.accountMenuResourceService = u(xe), this.trackingService = u(ne), this.destroyRef = u(F), this.model = W(void 0), this.show
9767FooterText = W(!1), this.hideSkeleton = W(!1); 9768 } 9769 ngOnInit() { 9770 this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"); 9771 let e = ee(this.item.parameters["range-in-days"]), i = this.item.parameters.level; 9772 this.showFooterText.set(!!ce(this.item.parameters["show-footer-text"])), i && e && _i(e) && (this.model.set({ rangeText: this.item.resources.RangeText?.replace("_RANGE_", e.toString()) || "" }), this.accountMenuResourceService.getNetDeposit(i, e).pipe(L(this.destroyRef)).subscribe((l) => { 9773 this.model.update((k) => hi(pi({}, k), { 9774 totalDeposit: l.netDeposit, 9775 totalWithdrawals: l.netWithdrawal, 9776 balance: Math.abs(l.netLoss), 9777 arrowClass: l.netLoss > 0 ? "arrow-value--down" : l.netLoss < 0 ? "arrow-value--up" : null 9778 })), this.hideSkeleton.set(!0); 9779 })); 9780 } 9781 }; 9782 return t.ɵfac = (() => { 9783 let n; 9784 return function(e) { 9785 return (n || (n = D(t)))(e || t); 9786 }; 9787 })(), t.ɵcmp = b({ 9788 type: t, 9789 selectors: [["vn-am-net-deposit-widget"]], 9790 features: [C], 9791 decls: 2, 9792 vars: 4, 9793 consts: [ 9794 [ 9795 3, 9796 "hideSkeleton", 9797 "item", 9798 "mode" 9799 ], 9800 [1, "ch__font--title"], 9801 [ 9802 1, 9803 "ch__font--subtitle", 9804 "font-weight-bold", 9805 "d-flex", 9806 "align-items-center", 9807 "mt-2" 9808 ], 9809 [ 9810 1, 9811 "pb-1", 9812 "mr-1" 9813 ], 9814 [ 9815 1, 9816 "mb-1", 9817 "ch__font--description" 9818 ], 9819 [ 9820 1, 9821 "ch__font--title", 9822 "d-flex", 9823 "justify-content-between", 9824 "mt-2", 9825 "mb-2" 9826 ], 9827 [1, "font-weight-bold"], 9828 [ 9829 1, 9830 "ch__font--title", 9831 "d-flex", 9832 "justify-content-between", 9833 "mt-1" 9834 ], 9835 [ 9836 1, 9837 "ch-widget__footer", 9838 "ch__font", 9839 "text-center", 9840 "mt-2" 9841 ], 9842 [3, "ngClass"], 9843 [ 9844 4, 9845 "vnDynamicComponent", 9846 "vnDynamicComponentAttr" 9847 ], 9848 [3, "vnDynamicHtml"] 9849 ], 9850 template: function(n, e) { 9851 if (n & 1 && (a(0, "vn-am-widget", 0), d(1, Yh, 25, 15), c()), n & 2) { 9852 let i; 9853 r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode), s(), m((i = e.model()) ? 1 : -1, i); 9854 } 9855 }, 9856 dependencies: [ 9857 T, 9858 I, 9859 he, 9860 re, 9861 K, 9862 ae 9863 ], 9864 encapsulation: 2, 9865 changeDetection: 1 9866 }), t; 9867 })(), ai = (() => { 9868 let t = class extends w { 9869 constructor() { 9870 super(...arguments), this.offers = u(Wi), this.accountMenuTrackingService = u(Y), this.trackingService = u(ne), this.destroyRef = u(F), this.text = W(""), this.description = W(""), this.hideSkeleton = W(!1), this.isFirstNotification = !0; 9871 } 9872 ngOnInit() { 9873 this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"), this.description.set(this.item?.resources.NoOffersDescription || ""), this.offers.counts.pipe(L(this.destroyRef)).subscribe(() => { 9874 let e = this.offers.getCount("ALL"); 9875 this.text.set(e && this.item?.resources.Text.replace("{COUNT}", (e || 0).toString()) || ""), this.description.set((e ? this.item?.resources.Description : this.item?.resources.NoOffersDescription) || ""); 9876 let i = { "component.PositionEvent": e ? "new offers" : "no offer" }; 9877 this.accountMenuTrackingService.replacePlaceholders(this.item, i), this.hideSkeleton.set(!0), this.isFirstNotification && (this.isFirstNotification = !1, this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent")); 9878 }); 9879 } 9880 }; 9881 return t.ɵfac = (() => { 9882 let n; 9883 return function(e) { 9884 return (n || (n = D(t)))(e || t); 9885 }; 9886 })(), t.ɵcmp = b({ 9887 type: t, 9888 selectors: [["vn-am-offers-widget"]], 9889 features: [C], 9890 decls: 4, 9891 vars: 5, 9892 consts: [ 9893 [ 9894 3, 9895 "hideSkeleton", 9896 "item", 9897 "mode" 9898 ], 9899 [ 9900 1, 9901 "ch__font--subtitle", 9902 "font-weight-bold", 9903 "mb-2", 9904 3, 9905 "innerHtml" 9906 ], 9907 [ 9908 1, 9909 "ch__font", 9910 "mb-2", 9911 "ch__font--description", 9912 3, 9913 "innerHtml" 9914 ] 9915 ], 9916 template: function(n, e) { 9917 n & 1 && (a(0, "vn-am-widget", 0), G(1), h(2, "div", 1)(3, "div", 2), j(), c()), n & 2 && (r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode), s(2), r("innerHtml", e.text(), S), s(), r("innerHtml", e.description(), S)); 9918 }, 9919 dependencies: [he], 9920 encapsulation: 2, 9921 changeDetection: 1 9922 }), t; 9923 })(), Ws = (t, n) => ({ 9924 item: t, 9925 data: n 9926 }), oi = (() => { 9927 let t = class extends w { 9928 constructor() { 9929 super(...arguments), this.accountMenuResourceService = u(xe), this.trackingService = u(ne), this.destroyRef = u(F), this.model = W(void 0), this.profitLossData = W(void 0), this.errorText = W(""), this.hideSkeleton = W(!1); 9930 } 9931 ngOnInit() { 9932 this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"); 9933 let e = ee(this.item.parameters["range-in-days"]); 9934 e && _i(e) && this.accountMenuResourceService.getProfitLoss(e).pipe(L(this.destroyRef)).subscribe({ 9935 next: (i) => { 9936 this.profitLossData.set({ 9937 totalReturn: i.totalReturn, 9938 totalStake: i.totalStake, 9939 weeklyAverage: i.weeklyAverage, 9940 monthlyAverage: i.monthlyAverage, 9941 yearlyAverage: i.yearlyAverage 9942 }); 9943 let l = i.totalReturn - i.totalStake; 9944 this.model.set({ 9945 rangeText: this.item.resources.RangeText?.replace("_RANGE_", e.toString()) || "", 9946 totalReturn: i.totalReturn, 9947 totalStake: i.totalStake, 9948 balance: Math.abs(l), 9949 arrowClass: l > 0 ? "arrow-value--up" : l < 0 ? "arrow-value--down" : null 9950 }), this.hideSkeleton.set(!0); 9951 }, 9952 error: () => { 9953 this.hideSkeleton.set(!0), this.errorText.set(this.item.resources.ErrorText); 9954 } 9955 }); 9956 } 9957 }; 9958 return t.ɵfac = (() => { 9959 let n; 9960 return function(e) { 9961 return (n || (n = D(t)))(e || t); 9962 }; 9963 })(), t.ɵcmp = b({ 9964 type: t, 9965 selectors: [["vn-am-profit-loss-widget"]], 9966 features: [C], 9967 decls: 3, 9968 vars: 5, 9969 consts: [ 9970 [ 9971 3,
9972 "hideSkeleton", 9973 "item", 9974 "mode" 9975 ], 9976 [ 9977 1, 9978 "ch__font", 9979 "d-flex", 9980 "align-items-center", 9981 "mt-2" 9982 ], 9983 [1, "ch__font--title"], 9984 [ 9985 1, 9986 "ch__font--subtitle", 9987 "font-weight-bold", 9988 "d-flex", 9989 "align-items-center", 9990 "mt-2" 9991 ], 9992 [ 9993 1, 9994 "pb-1", 9995 "mr-1" 9996 ], 9997 [ 9998 1, 9999 "ch__font--title", 10000 "d-flex", 10001 "flex-wrap" 10002 ], 10003 [ 10004 1, 10005 "mt-2", 10006 "mr-4" 10007 ], 10008 [1, "ch__font--description"], 10009 [ 10010 1, 10011 "font-weight-bold", 10012 "ml-2" 10013 ], 10014 [3, "ngClass"], 10015 [ 10016 4, 10017 "vnDynamicComponent", 10018 "vnDynamicComponentAttr" 10019 ], 10020 [3, "innerText"] 10021 ], 10022 template: function(n, e) { 10023 if (n & 1 && (a(0, "vn-am-widget", 0), d(1, np, 23, 13), d(2, ip, 2, 1, "div", 1), c()), n & 2) { 10024 let i, l; 10025 r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode), s(), m((i = e.model()) ? 1 : -1, i), s(), m((l = e.errorText()) ? 2 : -1, l); 10026 } 10027 }, 10028 dependencies: [ 10029 T, 10030 I, 10031 he, 10032 K, 10033 ae 10034 ], 10035 encapsulation: 2, 10036 changeDetection: 1 10037 }), t; 10038 })(), ci = (() => { 10039 let t = class extends w { 10040 constructor() { 10041 super(...arguments), this.trackingService = u(ne), this.hideSkeleton = W(!1); 10042 } 10043 ngOnInit() { 10044 this.hideSkeleton.set(!0), this.trackingService.trackEvents(this.item, Lt.load); 10045 } 10046 }; 10047 return t.ɵfac = (() => { 10048 let n; 10049 return function(e) { 10050 return (n || (n = D(t)))(e || t); 10051 }; 10052 })(), t.ɵcmp = b({ 10053 type: t, 10054 selectors: [["vn-am-text-widget"]], 10055 features: [C], 10056 decls: 3, 10057 vars: 6, 10058 consts: [ 10059 [ 10060 3, 10061 "hideSkeleton", 10062 "item", 10063 "mode", 10064 "isClickable" 10065 ], 10066 [ 10067 1, 10068 "ch__font--title", 10069 "font-weight-bold", 10070 "mb-2", 10071 3, 10072 "innerHtml" 10073 ], 10074 [ 10075 1, 10076 "ch__font--description", 10077 3, 10078 "vnDynamicHtml" 10079 ] 10080 ], 10081 template: function(n, e) { 10082 if (n & 1 && (a(0, "vn-am-widget", 0), d(1, sp, 2, 3, "div", 1), d(2, ap, 1, 1, "div", 2), c()), n & 2) { 10083 let i, l; 10084 r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode)("isClickable", !1), s(), m((i = e.item?.resources?.Title) ? 1 : -1, i), s(), m((l = e.item?.resources?.Text) ? 2 : -1, l); 10085 } 10086 }, 10087 dependencies: [ 10088 he, 10089 re, 10090 q 10091 ], 10092 encapsulation: 2, 10093 changeDetection: 1 10094 }), t; 10095 })(), ri = (() => { 10096 let t = class extends w { 10097 constructor() { 10098 super(...arguments), this.accountMenuResourceService = u(xe), this.intlService = u(ge), this.trackingService = u(ne), this.destroyRef = u(F), this.aggregationTypeText = W(""), this.activeTimeSpent = W(void 0), this.percentByProduct = W([]), this.isBelowActiveTimeThreshold = W(!1), this.hideSkeleton = W(!1), this.trackByProduct = nt("product"); 10099 } 10100 ngOnInit() { 10101 this.item.parameters.aggregationType && this.accountMenuResourceService.getTimeSpent(this.item.parameters.aggregationType.toUpperCase()).pipe(L(this.destroyRef)).subscribe({ 10102 next: (e) => { 10103 let i = e.sessionSummary?.currentAverage || 0; 10104 this.aggregationTypeText.set(this.getAggregationTypeText(e)); 10105 let l = Ya.fromMinutes(this.item.parameters.showAverageTimeSpent ? i : i * 7); 10106 this.activeTimeSpent.set(l), this.isBelowActiveTimeThreshold.set(l.totalMinutes > 0 && l.totalMinutes < (Number(this.item.parameters.averagePeriodThresholdInMinutes) || 0)), this.percentByProduct.set(this.getPercentByProduct(e)), this.trackingService.trackContentItemEvent(this.item.trackEvent, "LoadedEvent"), this.hideSkeleton.set(!0); 10107 }, 10108 error: () => { 10109 this.hideSkeleton.set(!0); 10110 } 10111 }); 10112 } 10113 getAggregationTypeText(e) { 10114 if (this.item.resources.FixedAggregationPeriod) return this.item.resources.FixedAggregationPeriod; 10115 if (e.aggregationType === "WEEKLY") { 10116 let i = this.intlService.getMonths(), l = new Date(e.startDate), k = new Date(e.endDate); 10117 for (; k.getUTCDate() - l.getUTCDate() > 6;) k.setDate(k.getDate() - 1); 10118 let E = i[l.getUTCMonth()]?.longName, B = i[k.getUTCMonth()]?.longName, $ = E === B ? `${l.getUTCDate()}-${k.getUTCDate()} ${B}` : `${l.getUTCDate()} ${E} - ${k.getUTCDate()} ${B}`; 10119 return `${this.item.resources.WeekOf} ${$}`; 10120 } 10121 return this.item.resources[e.aggregationType] || ""; 10122 } 10123 getPercentByProduct(e) { 10124 if (!e.sessionSummary || this.isBelowActiveTimeThreshold()) return []; 10125 let i = Object.values(e.sessionSummary.productCumulative.active).reduce((l, k) => l + k); 10126 return Object.entries(e.sessionSummary.productCumulative.active).filter(([, l]) => l > 0).map(([l, k]) => ({ 10127 product: this.item.resources[l.toLowerCase()] ?? l, 10128 colorClass: this.item.resources[`${l.toLowerCase()}-color-class`] || "", 10129 percentage: k / i * 100 10130 })); 10131 } 10132 }; 10133 return t.ɵfac = (() => { 10134 let n; 10135 return function(e) { 10136 return (n || (n = D(t)))(e || t); 10137 }; 10138 })(), t.ɵcmp = b({ 10139 type: t, 10140 selectors: [["vn-am-time-spent-widget"]], 10141 features: [C], 10142 decls: 2, 10143 vars: 4, 10144 consts: [ 10145 [ 10146 3,
10147 "hideSkeleton", 10148 "item", 10149 "mode" 10150 ], 10151 [ 10152 1, 10153 "ch__font--title", 10154 "font-weight-bold" 10155 ], 10156 [ 10157 1, 10158 "ch__font--subtitle", 10159 "font-weight-bold", 10160 "d-flex", 10161 "align-items-center", 10162 "mb-2" 10163 ], 10164 [3, "innerText"], 10165 [ 10166 1, 10167 "ch__font", 10168 "empty-percent-by-product-text", 10169 "d-flex", 10170 "align-items-center", 10171 "mt-2" 10172 ], 10173 [ 10174 1, 10175 "mb-1", 10176 "ch__font--description" 10177 ], 10178 [1, "progress"], 10179 [ 10180 1, 10181 "progress-bar", 10182 3, 10183 "ngClass", 10184 "width" 10185 ], 10186 [1, "progress_legend"], 10187 [1, "progress_legend-item"], 10188 [ 10189 1, 10190 "progress-bar", 10191 3, 10192 "ngClass" 10193 ], 10194 [ 10195 1, 10196 "progress-bar_circle", 10197 3, 10198 "ngClass" 10199 ], 10200 [1, "progress-bar_text"] 10201 ], 10202 template: function(n, e) { 10203 n & 1 && (a(0, "vn-am-widget", 0), d(1, pp, 6, 4), c()), n & 2 && (r("hideSkeleton", e.hideSkeleton())("item", e.item)("mode", e.mode), s(), m(e.hideSkeleton() ? 1 : -1)); 10204 }, 10205 dependencies: [ 10206 T, 10207 I, 10208 he, 10209 go, 10210 mc 10211 ], 10212 encapsulation: 2, 10213 changeDetection: 1 10214 }), t; 10215 })(), li = (t, n) => ({ 10216 item: t, 10217 mode: n 10218 }), ui = (() => { 10219 let t = class extends w { 10220 constructor() { 10221 super(...arguments), this.dslService = u(te), this.accountMenuDataService = u(de), this.accountMenuTrackingService = u(Y), this.destroyRef = u(F), this.items = W([]), this.showWidgets = W(!1); 10222 } 10223 ngOnInit() { 10224 this.showWidgets.set(this.accountMenuDataService.routerMode || this.mode === "page"), this.dslService.evaluateContent(this.item.children).pipe(L(this.destroyRef)).subscribe((e) => { 10225 this.items.set(e), this.refresh(), this.accountMenuTrackingService.trackWidgetsLoad(this.items()); 10226 }), this.accountMenuDataService.widgetUpdate.pipe(L(this.destroyRef)).subscribe(() => { 10227 this.refresh(); 10228 }); 10229 } 10230 refresh() { 10231 this.items.update((e) => [...e].sort((i, l) => ee(i.parameters.order ?? 1e4) > ee(l.parameters.order ?? 1e4) ? 1 : -1)); 10232 } 10233 }; 10234 return t.ɵfac = (() => { 10235 let n; 10236 return function(e) { 10237 return (n || (n = D(t)))(e || t); 10238 }; 10239 })(), t.ɵcmp = b({ 10240 type: t, 10241 selectors: [["vn-am-widgets"]], 10242 features: [C], 10243 decls: 1, 10244 vars: 1, 10245 consts: [ 10246 [1, "ch-my-hub__col--dynamic"], 10247 [ 10248 4, 10249 "vnDynamicComponent", 10250 "vnDynamicComponentAttr" 10251 ], 10252 [1, "ch-account-menu-v3__col--dynamic"] 10253 ], 10254 template: function(n, e) { 10255 n & 1 && d(0, Sp, 2, 1), n & 2 && m(e.showWidgets() ? 0 : -1); 10256 }, 10257 dependencies: [K], 10258 encapsulation: 2, 10259 changeDetection: 1 10260 }), t; 10261 })(), mi = (() => { 10262 let t = class { 10263 constructor() { 10264 this.user = u(pe), this.accountMenuService = u(je), this.config = u(ue), this.userDocumentsConfig = u(Uc), this.dynamicLayoutService = u(bo), this.navigationService = u(ke), this.menuActionsService = u(st), this.accountMenuDataService = u(de), this.accountMenuOnboardingService = u(ut), this.accountMenuOnboardingOverlayService = u(Jt), this.eventsService = u(et), this.navigation = u(ke), this.coreAccountMenuService = u(no), this.destroyRef = u(F); 10265 } 10266 onFeatureInit() { 10267 return Se(this, null, function* () { 10268 yield Promise.all([Ye(this.config.whenReady), Ye(this.userDocumentsConfig.whenReady)]), this.coreAccountMenuService.set(this.accountMenuService), this.accountMenuDataService.init(), this.accountMenuOnboardingService.init(this.config.account.onboardingEnabled); 10269 let e; 10270 this.accountMenuService.visible.pipe(L(this.destroyRef)).subscribe((l) => e = l), this.menuActionsService.register(Ue.TOGGLE_ACCOUNT_MENU, (l, k, E, B) => { 10271 let $ = B["menu-anchor-element"]; 10272 this.accountMenuService.routerMode ? this.accountMenuService.toggle(!this.navigation.location.url().includes("/menu") && !this.navigation.location.url().includes(":menu"), $ ? { anchorElementKey: $ } : void 0) : this.accountMenuService.toggle(!e, $ ? { anchorElementKey: $ } : void 0); 10273 }), this.menuActionsService.register(Ue.TOGGLE_LABEL_SWITCHER, (l, k, E, B) => { 10274 let $ = { singlePageMode: !0 }; 10275 B["labelswitcher-menu-route"] && ($.route = B["labelswitcher-menu-route"]), B["menu-anchor-element"] && ($.anchorElementKey = B["menu-anchor-element"]), this.accountMenuService.toggle(!0, $); 10276 }), this.menuActionsService.register(Ue.GOTO_SETTINGS, () => { 10277 if (this.config.account.version === 6) { 10278 this.accountMenuService.toggle(!0, { route: "menu/accountsettings" }); 10279 return; 10280 } 10281 let l = this.accountMenuDataService.getItem("settings"); 10282 if (!l) throw new Error("Account menu does not have an item named settings."); 10283 if (!l.children?.length) throw new Error("Account menu settings item must have at lease one child item."); 10284 l.children[0]?.url && this.navigationService.goTo(l.children[0].url), this.accountMenuService.toggle(!1); 10285 }), this.menuActionsService.register(Ue.OPEN_SETTINGS, () => { 10286 this.accountMenuService.toggle(!0, { route: "menu/accountsettings" }); 10287 }), this.accountMenuService.setAccountMenuComponent("default", ht), this.accountMenuService.setAccountMenuComponent("menu", _n), this.accountMenuService.setAccountMenuComponent("cta", vn), this.accountMenuService.setAccountMenuComponent("logout", An), this.accountMenuService.setAccountMenuComponent("container", os), this.accountMenuService.setAccountMenuComponent("main", In), this.accountMenuService.setAccountMenuComponent("list", En), this.accountMenuService.setAccountMenuComponent("items", xn), this.accountMenuService.setAccountMenuComponent("last-login", Tn), this.accountMenuService.setAccountMenuComponent("login-duration", Fc), this.accountMenuService.setAccountMenuComponent("balance", tn), this.accountMenuService.setAccountMenuComponent("tourney-token-balance", Ls), this.accountMenuService.setAccountMenuComponent("available-balance", Qt), this.accountMenuService.setAccountMenuComponent("cashier-box", on), this.accountMenuService.setAccountMenuComponent("cashier-item", cn), this.accountMenuService.setAccountMenuComponent("bonus-balance", an), this.accountMenuService.setAccountMenuComponent("bonus-balance-item", sn), this.accountMenuService.setAccountMenuComponent("text", pt), this.accountMenuService.setAccountMenuComponent("row", Bn), this.accountMenuService.setAccountMenuComponent("header", yn), this.accountMenuService.setAccountMenuComponent("header-account", ds), this.accountMenuService.setAccountMenuComponent("header-avatar", kn), this.accountMenuService.setAccountMenuComponent("header-inbox", Sn), this.accountMenuService.setAccountMenuComponent("banner", Qi), this.accountMenuService.setAccountMenuComponent("invite-friends-banner", Gt), this.accountMenuDataService.version() === 2 && (this.accountMenuService.setAccountMenuComponent("slider", Wn), this.accountMenuService.setAccountMenuComponent("balance-tile-item", On), this.accountMenuService.setAccountMenuComponent("balance-tile", $n), this.accountMenuService.setAccountMenuComponent("bonuses-tile", Vn), this.accountMenuService.setAccountMenuComponent("chat", ln)), this.accountMenuService.setAccountMenuComponent("loss-limit-widget", ii), this.accountMenuService.setAccountMenuComponent("profit-loss-widget", oi), this.accountMenuService.setAccountMenuComponent("profit-loss-feedback", bn), this.accountMenuService.setAccountMenuComponent("net-deposit-widget", si), this.accountMenuService.setAccountMenuComponent("deposit-feedback", fn), this.accountMenuService.setAccountMenuComponent("time-spent-widget", ri), this.accountMenuService.setAccountMenuComponent("offers-widget", ai), this.accountMenuService.setAccountMenuComponent("documents-widget", ni), this.accountMenuService.setAccountMenuComponent("text-widget", ci), this.accountMenuService.setAccountMenuComponent("widgets", ui), this.accountMenuService.setAccountMenuComponent("tasks", Xn), this.accountMenuService.setAccountMenuComponent("adhoc-task", Kn), this.accountMenuService.setAccountMenuComponent("deadline-task", qn), this.accountMenuService.setAccountMenuComponent("user", Ps), this.accountMenuService.setAccountMenuComponent("wallet-balance", Qn), this.accountMenuService.setAccountMenuComponent("wallet-balance-item", Jn), this.accountMenuService.setAccountMenuComponent("wallet-balance-sub-item", Yn), this.accountMenuService.setAccountMenuComponent("balance-header-item", en), this.accountMenuService.setAccountMenuComponent("bonus-balance-header", ns), this.accountMenuService.setAccountMenuComponent("bonus-balance-header-item", ts), this.accountMenuService.setAccountMenuComponent("bonus-balance-sub-item", is), this.accountMenuService.setAccountMenuComponent("header-close", Cn), this.accountMenuService.setAccountMenuComponent("cta-v3", gn), this.accountMenuService.setAccountMenuComponent("slider-v3", Wn), this.accountMenuService.setAccountMenuComponent("onboarding-hotspot", Xt), this.accountMenuService.setAccountMenuComponent("verification-status", Zn), this.menuActionsService.register(Ue.OPEN_ACCOUNT_MENU_ONBOARDING_TOUR, () => this.openTour()), this.accountMenuService.setAccountMenuComponent("slot", jn), this.accountMenuService.setAccountMenuComponent("content-messages", mn), this.accountMenuService.setAccountMenuComponent("side-menu-item", Rn), this.accountMenuService.setAccountMenuComponent("mlife-rewards", Ln), this.accountMenuService.setAccountMenuComponent("ase-loyalty-tier", qi), this.accountMenuService.setAccountMenuComponent("label-switcher-item", Mn), this.accountMenuService.setAccountMenuComponent("label-switcher-menu", Dn), this.accountMenuService.setAccountMenuComponent("balance-header-title", Yi), this.accountMenuService.setAccountMenuComponent("dark-mode-toggle", cs), this.accountMenuService.setAccountMenuComponent("card-item", vt), this.config.account.version === 6 && (this.accountMenuService.setAccountMenuComponent("account-inbox", Yt), this.accountMenuService.setAccountMenuComponent("settings-items", qt), this.accountMenuService.setAccountMenuComponent("loggedout-footer", ys)), this.dynamicLayoutService.registerSlot(to.AccountMenuHeaderLeft, fo.Single); 10288 let i = this.config.account.cashbackType; 10289 i && (i === Rt.Poker ? (this.accountMenuService.setAccountMenuComponent("cashback-info", Pn), this.accountMenuService.setAccountMenuComponent("cashback-tile", Fn), this.accountMenuService.setAccountMenuComponent("cashback-widget", zs), this.accountMenuService.setAccountMenuComponent("poker-cashback", Hn), this.runOnLogin(() => this.accountMenuService.updatePokerCashback())) : i === Rt.Casino ? (this.accountMenuService.setAccountMenuComponent("cashback-info", rn), this.accountMenuService.setAccountMenuComponent("cashback-tile", Un), this.accountMenuService.setAccountMenuComponent("cashback-widget", ei), this.accountMenuService.setAccountMenuComponent("loyalty-cashback", Nn), this.runOnLogin(() => this.accountMenuService.updateLoyaltyCashback())) : i === Rt.Coral && (this.accountMenuService.setAccountMenuComponent("cashback-info", dn), this.accountMenuService.setAccountMenuComponent("cashback-tile", zn), this.accountMenuService.setAccountMenuComponent("cashback-widget", ti), this.accountMenuService.setAccountMenuComponent("coral-cashback", pn), this.runOnLogin(() => this.accountMenuService.updateCoralCashback()))), (this.config.account.version === 4 || this.config.account.version === 6) && this.runOnLogin(() => this.accountMenuService.updateMLifeProfile()), this.navigationService.attemptedNavigation.pipe(ga(this.accountMenuService.visible), fi((l) => l[1]), L(this.destroyRef)).subscribe((l) => { 10290 l && this.accountMenuService.toggle(!1); 10291 }), this.user.events.pipe(Dt((l) => l instanceof qa || l instanceof Xa), L(this.destroyRef)).subscribe(() => { 10292 this.accountMenuService.removeReturnUrlCookie(); 10293 }); 10294 }); 10295 } 10296 runOnLogin(e) { 10297 this.user.isAuthenticated && e(), this.user.events.pipe(Dt((i) => i instanceof ja), L(this.destroyRef)).subscribe(() => e()); 10298 } 10299 openTour() { 10300 if (this.accountMenuOnboardingService.enabled) { 10301 let e = this.accountMenuOnboardingService.tourStartedLoginCount ?? 0; 10302 this.accountMenuOnboardingService.saveTourStartedLoginCount(e), this.eventsService.raise({ eventName: tt.OpenOnboardingTour }), this.accountMenuOnboardingOverlayService.show(); 10303 } 10304 } 10305 }; 10306 return t.ɵfac = function(n) { 10307 return new (n || t)(); 10308 }, t.ɵprov = be({ 10309 token: t, 10310 factory: t.ɵfac 10311 }), t; 10312 })(), di = (() => { 10313 let t = class { 10314 get drawerClass() { 10315 return this.accountMenuDrawerService.drawerPosition().position !== J.Bottom; 10316 } 10317 constructor() { 10318 this.navigationService = u(ke), this.activatedRoute = u(wi), this.scrollBlockManager = u(Ta).createScrollBlockManager({ strategy: "overflow" }), this.accountMenuScrollService = u(_e), this.accountMenuDrawerService = u(Le), this.lifecycle = u(po).register(u(wi)), this.elementRef = u(pa), this.unsubscribe = new Z(), this.lifecycle.detached$.pipe(X(this.unsubscribe)).subscribe(() => { 10319 this.scrollBlockManager.unblock(); 10320 }), this.lifecycle.attached$.pipe(X(this.unsubscribe)).subscribe(() => { 10321 this.scrollBlockManager.block(); 10322 }); 10323 } 10324 ngOnInit() { 10325 this.activatedRoute.url.pipe(Ti(this.lifecycle), X(this.unsubscribe)).subscribe((e) => { 10326 let i = e.join("/"); 10327 i || (i = "menu"), this.route = i, this.scrollBlockManager.block(); 10328 }), this.accountMenuScrollService.onScrollTo.pipe(Ti(this.lifecycle), X(this.unsubscribe)).subscribe((e) => { 10329 this.elementRef.nativeElement.scrollTo({ 10330 top: e.y, 10331 left: e.x, 10332 behavior: "smooth" 10333 }); 10334 }); 10335 } 10336 onScroll(e) { 10337 this.accountMenuScrollService.onScroll(e); 10338 } 10339 ngOnDestroy() { 10340 this.unsubscribe.next(), this.unsubscribe.complete(), this.scrollBlockManager.unblock(); 10341 } 10342 }; 10343 return t.ɵfac = function(n) { 10344 return new (n || t)(); 10345 }, t.ɵcmp = b({ 10346 type: t, 10347 selectors: [["vn-account-menu-view"]], 10348 hostVars: 4, 10349 hostBindings: function(n, e) { 10350 n & 1 && y("scroll", function(i) { 10351 return e.onScroll(i); 10352 }), n & 2 && ie("block-scroll-chaining", e.navigationService.isOverlayActive)("drawer
10352-overlay", e.drawerClass); 10353 }, 10354 decls: 1, 10355 vars: 1, 10356 consts: [[3, "route"]], 10357 template: function(n, e) { 10358 n & 1 && h(0, "vn-account-menu", 0), n & 2 && r("route", e.route); 10359 }, 10360 dependencies: [zi], 10361 styles: ["@charset \"UTF-8\";.block-scroll-chaining[_nghost-%COMP%]{overflow-y:auto;overscroll-behavior:none}.block-scroll-chaining[_nghost-%COMP%]:before{content:\"\";display:block;height:calc(100% + 1px);position:absolute;top:0;width:100%;z-index:-1}"], 10362 changeDetection: 1 10363 }), t; 10364 })(), js = () => Se(null, null, function* () { 10365 let t = u(pe), n = u(At), e = u(de), i = u(st), l = u(ue); 10366 return e.routerModeReturnUrl || e.setReturnUrlCookie(n.homePage), yield Ye(l.whenReady), t.isAuthenticated || e.routerMode || l.account.version === 4 || l.account.version === 6 ? !0 : (i.invoke("gotoHome", ot.Menu), !1); 10367 }), Gs = eo([{ 10368 path: "**", 10369 component: di, 10370 canActivate: [js], 10371 data: { routeReuseKey: "vanilla:account-menu" } 10372 }]); 10373 })))(); 10374} 10375Ks(); 10376export { Yt as AccountInboxIconComponent, en as AccountMenuBalanceHeaderItemComponent, mi as AccountMenuBootstrapService, Le as AccountMenuDrawerService, Xt as AccountMenuHotspotComponent, Zt as AccountMenuOnboardingOverlayComponent, Jt as AccountMenuOnboardingOverlayService, Wt as AccountMenuOverlayComponent, xe as AccountMenuResourceService, _e as AccountMenuScrollService, je as AccountMenuService, Xn as AccountMenuTasksComponent, Y as AccountMenuTrackingService, di as AccountMenuViewComponent, Ge as AccountMenuVipService, he as AccountMenuWidgetComponent, ui as AccountMenuWidgetsComponent, qt as AccountSettingsComponent, Kt as AccountSettingsStatusService, Kn as AdhocTaskComponent, Qt as AvailableBalanceComponent, tn as BalanceItemComponent, $n as BalanceTileComponent, On as BalanceTileItemComponent, an as BonusBalanceComponent, sn as BonusBalanceItemComponent, Vn as BonusesTileComponent, vt as CardItemComponent, ei as CashbackCasinoWidgetComponent, ti as CashbackCoralWidgetComponent, on as CashierBoxComponent, cn as CashierItemComponent, rn as CasinoCashbackInfoComponent, Un as CasinoCashbackTileComponent, ln as ChatBubbleComponent, mn as ContentMessagesComponent, pn as CoralCashbackComponent, dn as CoralCashbackInfoComponent, hn as CoralCashbackLevelComponent, zn as CoralCashbackTileComponent, vn as CtaComponent, gn as CtaV3Component, qn as DeadlineTaskComponent, fn as DepositFeedbackComponent, ni as DocumentsWidgetComponent, Ce as DonutChartComponent, kn as HeaderAvatarComponent, Cn as HeaderCloseComponent, yn as HeaderComponent, Sn as HeaderInboxComponent, dt as INITIAL_ROUTE, _n as IconMenuComponent, xn as ItemsLayoutComponent, Mn as LabelSwitcherItemComponent, Dn as LabelSwitcherMenuComponent, Tn as LastLoginComponent, En as ListLayoutComponent, An as LogoutComponent, ii as LossLimitWidgetComponent, Nn as LoyaltyCashbackComponent, Ln as MLifeRewardsComponent, In as MainLayoutComponent, ht as MenuItemComponent, si as NetDepositWidgetComponent, ai as OffersWidgetComponent, Hn as PokerCashbackComponent, Pn as PokerCashbackInfoComponent, Fn as PokerCashbackTileComponent, bn as ProfitLossFeedbackComponent, oi as ProfitLossWidgetComponent, Gs as ROUTES, Bn as RowLayoutComponent, Rn as SideMenuItemComponent, jn as SlotComponent, pt as TextComponent, ci as TextWidgetComponent, ri as TimeSpentWidgetComponent, Zn as VerificationStatusComponent, Jn as WalletBalanceItemComponent, Yn as WalletBalanceSubItemComponent, Qn as WalletComponent, St as WalletDetailModalComponent, yp as provide }; 10377 10378//# sourceMappingURL=chunk-qkusn2zct.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.