PageSourceSearch

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

js betmgm.com collected 2026-09-24 09:03:14 UTC 8,854 bytes, 194 lines download raw bytes

1import { d as v, f as l, p as _, y as P } from "./chunk-xgti9j2t.js";
2import { $ as W, Aa as I, Ea as g, G as D, Hn as y, Pi as B, Pt as h, R as L, Ro as o, Sn as O, fa as M, fi as u, gn as R, gt as e, l as f, ni as G, oi as V, t as $, tn as S, tt as F } from "./chunk-c97c17u8.js";
3import { M as x } from "./chunk-l3jkbhly.js";
4import { p as z } from "./chunk-k52vj1ic.js";
5import { o as H } from "./chunk-l24fzhmb.js";
6import { A as Q } from "./chunk-jrtaqqwj.js";
7import { o as U, t as c } from "./chunk-pesy0vb6.js";
8import { D as J, o as j } from "./chunk-llc8ry2a.js";
9import { D as d, ut as q } from "./chunk-fbjoug0d.js";
10import { a as X } from "./chunk-ewplex8i.js";
11import { n as Y } from "./chunk-c18gpzrj.js";
12import { r as K, t as Z } from "./chunk-c9rg1mp5.js";
13import { t as ee } from "./chunk-kyqvtgtk.js";
14import { N as ie, Q as b, T as te, Y as se, b as ae, dt as ne, et as re, gt as oe, it as ce, j as p, l as r, pt as pe, s as he, tt as k, w as ue, z as A } from "./chunk-w0x32net.js";
15import { d as me, h as ve, p as le } from "./chunk-bhnvkbxx.js";
16import { ot as _e } from "./chunk-f2v2cgea.js";
17import { c as ge } from "./chunk-og5uebri.js";
18import { Dn as fe, Ln as Se, Tt as de, b as T, dr as be, fn as ke, gr as Ae, hr as Te, it as Ne, jr as we } from "./chunk-go6pvd0a.js";
19import { t as Ce } from "./chunk-k4et3zlq.js";
20import { i as Ee, p as Pe } from "./chunk-hul0ult7.js";
21import { n as We } from "./chunk-lmnwxprc.js";
22import { r as Ie } from "./chunk-ilfhy0in.js";
23import { n as De } from "./chunk-ohg30iel.js";
24import { $ as ye } from "./chunk-iuhjzybw.js";
25import { c as Be, s as Le } from "./chunk-bol8t3zz.js";
26import { $n as Oe, Bn as Me, Jt as Re } from "./chunk-iq8thase.js";
27import { t as Ge } from "./chunk-o4f8w5yc.js";
28function Ve() {
29	return [de(C)];
30}
31var N, w, m, C;
32function E() {
33	return (E = Ge((() => {
34		P(), B(), x(), z(), H(), Q(), U(), J(), q(), X(), Y(), K(), ee(), j(), oe(), le(), _e(), se(), ge(), we(), Ce(), Pe(), Ee(), We(), Ie(), De(), ye(), fe(), Le(), Oe(), N = [{
35			path: "backtoapp",
36			component: (() => {
37				let t = class {
38					constructor() {
39						if (this.commonMessages = e(be), this.messageQueue = e(re), this.navigation = e(b), this.wait = I(!1), this.MessageScope = k, this.messageQueue.count() === 0) this.continueToApp();
40						else {
41							let a = R(() => {
42								let i = this.messageQueue.messages().map((n) => Object.assign({}, n, { scope: k.BackToApp }));
43								this.messageQueue.addMultiple(i), a.destroy();
44							});
45						}
46					}
47					continueToApp() {
48						this.wait.set(!0), this.messageQueue.clear({ clearPersistent: !0 }), this.navigation.goToNativeApp({ replace: !0 });
49					}
50				};
51				return t.ɵfac = function(s) {
52					return new (s || t)();
53				}, t.ɵcmp = y({
54					type: t,
55					selectors: [["lh-back-to-app"]],
56					decls: 7,
57					vars: 3,
58					consts: [
59						[1, "px-wrapper"],
60						[3, "scope"],
61						["id", "backToApp"],
62						[1, "center-content"],
63						[
64							1,
65							"btn",
66							"btn-primary",
67							"w-100",
68							"login",
69							3,
70							"click",
71							"disabled"
72						]
73					],
74					template: function(s, a) {
75						s & 1 && (g(0, "div", 0), O(1, "vn-message-panel", 1), g(2, "div", 2)(3, "fieldset")(4, "section", 3)(5, "button", 4), $("click", function() {
76							return a.continueToApp();
77						}), W(6), M()()()()()), s & 2 && (h(), S("scope", a.MessageScope.BackToApp), h(4), S("disabled", a.wait()), h(), V(" ", a.wait() ? a.commonMessages.PleaseWait : a.commonMessages.Continue, " "));
78					},
79					dependencies: [Re],
80					encapsulation: 2
81				}), t;
82			})()
83		}], w = (() => {
84			let t = class {
85				constructor() {
86					this.apiService = e(ae), this.webWorkerService = e(Te), this.navigationService = e(b), this.user = e(me), this.nativeAppService = e(A), this.zone = e(F), this.destroyRef = e(f);
87				}
88				init() {
89					this.user.isAuthenticated && this.initPing(), this.user.events.pipe(o((a) => a instanceof ve), c(this.destroyRef)).subscribe(() => this.initPing());
90				}
91				initPing() {
92					this.webWorkerService.createWorker(T.NativeAutoPingInterval, { interval: 36e4 }, () => this.zone.run(() => this.ping()));
93				}
94				ping() {
95					this.apiService.get("ping", null, {
96						prefix: "",
97						resolveWithFullResponse: !0
98					}).subscribe({ error: (a) => {
99						[401, 403].indexOf(a.status) >
99 -1 && (this.webWorkerService.removeWorker(T.NativeAutoPingInterval), this.nativeAppService.isNativeApp && this.navigationService.goToNativeApp());
100					} });
101				}
102			};
103			return t.ɵfac = function(s) {
104				return new (s || t)();
105			}, t.ɵprov = u({
106				token: t,
107				factory: t.ɵfac,
108				providedIn: "root"
109			}), t;
110		})(), m = (() => {
111			var t;
112			let s = class {
113				constructor() {
114					l(this, t), this.log = e(pe), this.eventsSentToNative = new D(), _(this, t, e(d)), this.window = v(this, t);
115				}
116				get eventsToNative() {
117					return this.eventsSentToNative;
118				}
119				initialize() {
120					this.window.messageToNative = (i) => {
121						this.eventsSentToNative.next(i), this.log.debug(`[WrapperEmulator] Event '${i.eventName}' sent to native: `, i);
122					}, this.window.messageToWeb = (i) => {
123						this.emulateMessageToWeb(i);
124					};
125				}
126				emulateMessageToWeb(i) {
127					this.window.vanillaApp.native.messageToWeb(i), this.log.debug(`[WrapperEmulator] Event '${i.eventName}' sent to web: `, i);
128				}
129			};
130			return t = /* @__PURE__ */ new WeakMap(), s.ɵfac = function(a) {
131				return new (a || s)();
132			}, s.ɵprov = u({
133				token: s,
134				factory: s.ɵfac,
135				providedIn: "root"
136			}), s;
137		})(), C = (() => {
138			var t;
139			let s = class {
140				constructor() {
141					l(this, t), this.nativeAutoPingService = e(w), this.wrapperSettingsService = e(Me), this.nativeAppSettingsConfig = e(ne), this.wrapperEmulatorService = e(m), this.localStoreService = e(Ne), this.nativeAppService = e(A), this.productService = e(Z), this.rtmsService = e(ke), this.loginStoreService = e(ce), this.cookieService = e(ie), this.postLoginService = e(te), this.balancePropertiesCoreService = e(he), this.pageVisibilityService = e(Be), _(this, t, e(d)), this.destroyRef = e(f);
142				}
143				onFeatureInit() {
144					return this.nativeAppSettingsConfig.autoPingEnabled !== !1 && this.nativeAutoPingService.init(), this.nativeAppSettingsConfig.enableWrapperEmulator && (this.wrapperEmulatorService.initialize(), this.wrapperEmulatorService.eventsToNative.pipe(c(this.destroyRef)).subscribe((i) => {
145						if (i.eventName === r.GET_APPLICATION_SETTINGS) {
146							let n = this.localStoreService.get(p.WrapperEmulatorSettings) || { deviceTouchSupported: !0 };
147							this.localStoreService.set(p.WrapperEmulatorSettings, n), this.wrapperEmulatorService.emulateMessageToWeb({
148								eventName: r.SET_APPLICATION_SETTINGS,
149								parameters: n
150							});
151						} else if (i.eventName === r.UPDATE_APPLICATION_SETTINGS) {
152							let n = this.localStoreService.get(p.WrapperEmulatorSettings);
153							Object.assign(n || {}, i.parameters), this.localStoreService.set(p.WrapperEmulatorSettings, n);
154						}
155					})), this.notifyProductChanged(), this.notifyVisibilityChange(), L([this.balancePropertiesCoreService.whenReady, this.rtmsService.messages.pipe(o((i) => i.type === Ae.BALANCE_UPDATE))]).pipe(o(() => (this.balancePropertiesCoreService?.balanceInfo?.mainRealBalance ?? 0) > 0 || (this.balancePropertiesCoreService?.balanceInfo?.accountBalance ?? 0) > 0 || (this.balancePropertiesCoreService?.balanceInfo?.cashoutableBalanceReal ?? 0) > 0), G(1)).subscribe(() => {
156						let i = this.loginStoreService.PostLoginValues ?? {}, n = this.cookieService.getObject(ue.AdditionalPostLoginOptions) ?? {};
157						this.postLoginService.sendPostLoginEvent(i, n);
158					}), this.wrapperSettingsService.load().then();
159				}
160				notifyProductChanged() {
161					this.productService.productChanged.pipe(c(this.destroyRef)).subscribe((i) => {
162						this.nativeAppService.sendToNative({
163							eventName: r.PRODUCT_CHANGED,
164							parameters: { product: i.name }
165						});
166					});
167				}
168				notifyVisibilityChange() {
169					this.pageVisibilityService.visibilityChange().pipe(o(() => this.nativeAppService.isNative), c(this.destroyRef)).subscribe((i) => {
170						this.nativeAppService.sendToNative({
171							eventName: i.isVisible ? r.ON_PAGE_VISIBLE : r.ON_PAGE_HIDDEN,
172							parameters: { timestamp: Date.now() }
173						});
174					}), v(this, t).addEventListener(Se.BeforeUnload, () => {
175						this.nativeAppService.sendToNative({
176							eventName: r.ON_PAGE_UNLOAD,
177							parameters: { timestamp: Date.now() }
178						});
179					});
180				}
181			};
182			return t = /* @__PURE__ */ new WeakMap(), s.ɵfac = function(a) {
183				return new (a || s)();
184			}, s.ɵprov = u({
185				token: s,
186				factory: s.ɵfac
187			}), s;
188		})();
189	})))();
190}
191E();
192export { N as ROUTES, m as WrapperEmulatorService, Ve as provide };
193
194//# sourceMappingURL=chunk-jh3cqmcm.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.