PageSourceSearch

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

js betmgm.com collected 2026-09-24 09:01:58 UTC 27,924 bytes, 831 lines download raw bytes

1import { d as y, f as X, n as w, p as ee, t as l, y as te } from "./chunk-xgti9j2t.js";
2import { Aa as D, Ba as g, Bi as Fe, Fn as S, G as re, Gn as xe, Gt as v, Kn as se, Mr as _e, Oa as H, Pi as ie, Pn as T, Q as Le, Rn as je, T as Me, Tn as C, To as U, Ur as F, Ut as ne, W as x, Yi as Be, _ as ze, ai as qe, d as We, fi as b, gn as _, gt as o, ka as L, ki as Ke, l as P, na as Ne, ni as Ve, tt as Ge, wo as ae, xi as Qe, yn as j, yo as Ze } from "./chunk-c97c17u8.js";
3import { M as oe, t as M, v as k } from "./chunk-l3jkbhly.js";
4import { _ as Je, a as Ye, g as Xe, i as B, m as et, p as le, t as tt } from "./chunk-k52vj1ic.js";
5import { A as rt, E as st, N as it } from "./chunk-jrtaqqwj.js";
6import { i as nt, o as at, r as ot, t as lt } from "./chunk-pesy0vb6.js";
7import { $ as ht, D as he, ut as ct } from "./chunk-fbjoug0d.js";
8import { r as ut, t as dt } from "./chunk-c9rg1mp5.js";
9import { n as z, t as pt } from "./chunk-kyqvtgtk.js";
10import { t as ce } from "./chunk-o4f8w5yc.js";
11function ft(t, e, s = {}) {
12	let r = o(fe), { injector: i = o(U), removeOnGet: n = r.removeOnGet ?? !0 } = s;
13	return L(i, () => {
14		let a = o(C), h = o(j), f = g(() => typeof t == "function" ? t() : t), p = g(() => {
15			if (M(a)) {
16				let c = h.get(f(), e);
17				return n && h.remove(f()), s.onDeserialize ? s.onDeserialize(c) : c;
18			} else return e;
19		}), d = Ke(() => p());
20		return k(a) && _(() => {
21			let c = d(), m = f();
22			s.onSerialize ? h.set(m, s.onSerialize(c)) : h.set(m, c);
23		}), d;
24	});
25}
26function gt(t, e, s) {
27	let r = s ?? o(H), i = new (r.get(W))(t, e);
28	return r.get(P).onDestroy(() => i.disconnect()), i;
29}
30function ue(t) {
31	return new Proxy(t, {
32		has(e, s) {
33			return !!this.get(e, s, void 0);
34		},
35		get(e, s) {
36			let r = T(e);
37			return !mt(r) || !(s in r) ? (x(e[s]) && e[s][N] && delete e[s], e[s]) : (x(e[s]) || (Object.defineProperty(e, s, {
38				value: g(() => e()[s]),
39				configurable: !0
40			}), e[s][N] = !0), ue(e[s]));
41		}
42	});
43}
44function mt(t) {
45	if (t === null || typeof t != "object" || yt(t)) return !1;
46	let e = Object.getPrototypeOf(t);
47	if (e === Object.prototype) return !0;
48	for (; e && e !== Object.prototype;) {
49		if (ge.includes(e.constructor)) return !1;
50		e = Object.getPrototypeOf(e);
51	}
52	return e === Object.prototype;
53}
54function yt(t) {
55	return typeof t?.[Symbol.iterator] == "function";
56}
57function de(t, ...e) {
58	let s = T(() => q(t)), r = e.reduce((a, h) => l(l({}, a), typeof h == "function" ? h(a) : h), s), i = t[u], n = Reflect.ownKeys(t[u]);
59	for (let a of Reflect.ownKeys(r)) if (n.includes(a)) {
60		let h = a;
61		s[h] !== r[h] && i[h].set(r[h]);
62	}
63	bt(t);
64}
65function q(t) {
66	let e = t[u];
67	return Reflect.ownKeys(t[u]).reduce((s, r) => {
68		let i = e[r]();
69		return w(l({}, s), { [r]: i });
70	}, {});
71}
72function vt(t) {
73	return me.get(t[u]) || [];
74}
75function bt(t) {
76	let e = vt(t);
77	for (let s of e) wt(t, s);
78}
79function wt(t, e) {
80	T(() => {
81		e(q(t));
82	});
83}
84function St(...t) {
85	let e = [...t], s = typeof e[0] == "function" ? {} : e.shift(), r = e;
86	return (() => {
87		class i {
88			constructor() {
89				let a = r.reduce((O, E) => E(O), Ot()), { stateSignals: h, props: f, methods: p, hooks: d } = a, c = l(l(l({}, h), f), p);
90				this[u] = a[u];
91				for (let O of Reflect.ownKeys(c)) this[O] = c[O];
92				let { onInit: m, onDestroy: A } = d;
93				m && m(), A && o(P).onDestroy(A);
94			}
95			static ɵfac = function(a) {
96				return new (a || i)();
97			};
98			static ɵprov = b({
99				token: i,
100				factory: i.ɵfac,
101				providedIn: s.providedIn || null
102			});
103		}
104		return i;
105	})();
106}
107function Ot() {
108	return {
109		[u]: {},
110		stateSignals: {},
111		props: {},
112		methods: {},
113		hooks: {}
114	};
115}
116function Ct(...t) {
117	let e = typeof t[0] == "function" ? t : t.slice(1);
118	return (s) => e.reduce((r, i) => i(r), s);
119}
120function kt(t) {
121	return (e) => {
122		let s = t(l(l(l({ [u]: e[u] }, e.stateSignals), e.props), e.methods));
123		return w(l({}, e), { props: l(l({}, e.props), s) });
124	};
125}
126function It(t) {
127	return kt((e) => {
128		let s = t(e);
129		return Reflect.ownKeys(s).reduce((r, i) => {
130			let n = s[i];
131			return w(l({}, r), { [i]: x(n) ? n : g(n) });
132		}, {});
133	});
134}
135function pe(t) {
136	return (e) => {
137		let s = l(l(l({ [u]: e[u] }, e.stateSignals), e.props), e.methods), r = typeof t == "function" ? t(s) : t, i = (n, a) => a ? () => {
138			n && n(), a(s);
139		}
139 : n;
140		return w(l({}, e), { hooks: {
141			onInit: i(e.hooks.onInit, r.onInit),
142			onDestroy: i(e.hooks.onDestroy, r.onDestroy)
143		} });
144	};
145}
146function Rt(t) {
147	return (e) => {
148		let s = t(l(l(l({ [u]: e[u] }, e.stateSignals), e.props), e.methods));
149		return w(l({}, e), { methods: l(l({}, e.methods), s) });
150	};
151}
152function At(t) {
153	return (e) => {
154		let s = typeof t == "function" ? t() : t, r = Reflect.ownKeys(s), i = e[u], n = {};
155		for (let a of r) i[a] = D(s[a]), n[a] = ue(i[a]);
156		return w(l({}, e), { stateSignals: l(l({}, e.stateSignals), n) });
157	};
158}
159function Dt(t, e = {}) {
160	return Ct({ state: void 0 }, pe({ onInit(s) {
161		let r = o(I), i = o(j), n = typeof t == "function" ? t() : t;
162		if (r.isServerRendered && i.hasKey(n)) {
163			let a = i.get(n, null);
164			i.remove(n), a && (e.onDeserialize && (a = e.onDeserialize(a)), de(s, a));
165		}
166		r.isServer && _(() => {
167			let a = q(s);
168			e.onSerialize && (a = e.onSerialize(a)), i.set(n, a);
169		});
170	} }));
171}
172function Pt(t, e, s = [{
173	path: "**",
174	children: []
175}]) {
176	return Ne([{
177		provide: st,
178		useFactory: () => o(K) ? s : t,
179		multi: !0
180	}, it([], ...e)]);
181}
182function $t(t, e) {
183	return Et(k, t, e);
184}
185function Et(t, e, s = o(C)) {
186	return t(s) ? (r) => r.pipe(Fe(e)) : (r) => r;
187}
188function Ht(t, e) {
189	let s = e ?? o(H), r = new (s.get(Se))(t);
190	return s.get(P).onDestroy(() => r.disconnect()), r;
191}
192function Tt(t, e) {
193	let s = e ?? o(H), r = new (s.get(Oe))(t);
194	return s.get(P).onDestroy(() => r.disconnect()), r;
195}
196function Ut() {
197	let t = o(I), e = o($), s = D(!1), r = g(() => t.isServerRendered ? e.isFullyHydrated() ? !0 : s() : !0);
198	return xe(() => {
199		s.set(!0);
200	}), r;
201}
202function Ft(t = new Je()) {
203	return t.set(Ie, !0);
204}
205function xt(t, e, s = {}) {
206	let { injector: r = o(U), removeOnGet: i = !0 } = s;
207	return L(r, () => {
208		let n = o(C), a = o(j), h = o($), f = g(() => typeof t == "function" ? t() : t), p = g(() => e());
209		if (k(n)) return _(() => {
210			let d = p(), c = f();
211			s.onSerialize ? a.set(c, s.onSerialize(d)) : a.set(c, d);
212		}), p;
213		if (M(n)) {
214			let d = a.get(f(), void 0);
215			if (d === void 0) return p;
216			i && a.remove(f());
217			let c = s.onDeserialize ? s.onDeserialize(d) : d, m = g(() => p() === c);
218			return g(() => m() || h.isFullyHydrated() ? p() : c);
219		}
220		return p;
221	});
222}
223var fe, I, W, K, N, ge, me, u, ye, ve, be, we, $, Se, Oe, Ce, ke, Ie;
224function Re() {
225	return (Re = ce((() => {
226		te(), ie(), oe(), le(), rt(), at(), fe = new v("LINKED_TRANSFER_STATE_DEFAULT_OPTIONS", {
227			providedIn: "root",
228			factory: () => ({ removeOnGet: !0 })
229		}), I = new v("PLATFORM", {
230			providedIn: "platform",
231			factory: () => {
232				let t = o(C), e = !!o(S).getElementById("ng-state"), s = k(t), r = M(t);
233				return {
234					isServer: s,
235					isBrowser: r,
236					isServerRendered: e,
237					runOnBrowser: (i) => r && i(),
238					runOnServer: (i) => s && i()
239				};
240			}
241		}), W = new v("IntersectionObserverToken", {
242			providedIn: "root",
243			factory: () => o(S).defaultView.IntersectionObserver
244		}), K = new v("REQUEST_EXPLORATION", {
245			providedIn: "root",
246			factory: () => k(o(C)) && Object.is(o(F), null)
247		}), N = Symbol(""), ge = [
248			WeakSet,
249			WeakMap,
250			Promise,
251			Date,
252			Error,
253			RegExp,
254			ArrayBuffer,
255			DataView,
256			Function
257		], me = /* @__PURE__ */ new WeakMap(), u = Symbol(""), ye = new v("ssr-request-logger", {
258			providedIn: "root",
259			factory: () => o(F)?.logger ?? null
260		}), ve = (() => {
261			class t {
262				#t = o(F);
263				#r = o(ye);
264				#e = /* @__PURE__ */ new Set();
265				registerCriticalErrorHandler(s) {
266					return this.#e.add(s), () => this.#e.delete(s);
267				}
268				reportCriticalError(s) {
269					this.#t?.renderDefect.push(s);
270					for (let r of this.#e) try {
271						r();
272					} catch (i) {
273						this.#r?.error({ err: i }, "critical error handler failed");
274					}
275				}
276				static ɵfac = function(s) {
277					return new (s || t)();
278				};
279				static ɵprov = b({
280					token: t,
281					factory: t.ɵfac,
282					providedIn: "root"
283				});
284			}
285			return t;
286		})(), be = {
287			timeout: 1e4,
288			logging: !1
289		}, we = new v("HYDRATION_TRACKER_CONFIG_TOKEN", {
290			providedIn: "root",
291			factory: () => be
292		}), $ = (() => {
293			class t {
294				config = o(we);
295				platform = o(I);
296				document = o(S);
297				ngZone = o(Ge);
298				observer = null;
299				timeoutId = null;
300				userHasInteracted = nt(this.ngZone.runOutsideAngular(() => Ze(this.document, "pointerdown", {
301					capture: !0,
302					passive: !0
303				}).pipe(Ve(1), se(() => !0), lt())), { initialValue: !1 });
304				isFullyHydrated = D(!1);
305				isFullyHydrated$ = ot(this.isFullyHydrated);
306				constructor() {
307					this.platform.isServerRendered ? this.initializeObserver() : this.platform.isBrowser && this.isFullyHydrated.set(!0);
308				}
309				initializeObserver() {
310					let s = this.getUnhydratedElements(), r = s.length;
311					if (r === 0) {
312						this.isFullyHydrated.set(!0), this.config.logging && console.log("[HydrationTracker] ✅ Application was already hydrated on initialization.");
313						return;
314					}
315					this.observer = new MutationObserver((i) => {
316						for (let n of i) n.type === "attributes" && n.attributeName === "ngh" && (n.target.hasAttribute("ngh") || r--);
317						r <= 0 && this.completeHydration(!1);
318					}
318), s.forEach((i) => {
319						this.ngZone.runOutsideAngular(() => {
320							this.observer?.observe(i, {
321								attributes: !0,
322								attributeFilter: ["ngh"]
323							});
324						});
325					}), this.config.timeout && (this.timeoutId = this.ngZone.runOutsideAngular(() => setTimeout(() => {
326						this.completeHydration(!0);
327					}, this.config.timeout)));
328				}
329				getUnhydratedElements() {
330					return Array.from(document.body.querySelectorAll("[ngh]"));
331				}
332				completeHydration(s) {
333					this.timeoutId && (clearTimeout(this.timeoutId), this.timeoutId = null), this.isFullyHydrated.set(!0), s ? this.config.logging && console.warn(`[HydrationTracker] \u{1F7E1} Hydration check timed out after ${this.config.timeout} milliseconds. Forcing completion.`) : this.config.logging && console.log("[HydrationTracker] ✅ Application is now fully hydrated."), this.observer?.disconnect(), this.observer = null;
334				}
335				ngOnDestroy() {
336					this.observer?.disconnect(), this.timeoutId && clearTimeout(this.timeoutId);
337				}
338				static ɵfac = function(s) {
339					return new (s || t)();
340				};
341				static ɵprov = b({
342					token: t,
343					factory: t.ɵfac,
344					providedIn: "root"
345				});
346			}
347			return t;
348		})(), Se = new v("ResizeObserverToken", {
349			providedIn: "root",
350			factory: () => o(S).defaultView.ResizeObserver
351		}), Oe = new v("MutationObserverToken", {
352			providedIn: "root",
353			factory: () => o(S).defaultView.MutationObserver
354		}), Ce = (() => {
355			class t {
356				platform = o(I);
357				flags = /* @__PURE__ */ new Map();
358				register(s) {
359					this.platform.isServer && !this.flags.has(s.name) && this.flags.set(s.name, s);
360				}
361				static ɵfac = function(s) {
362					return new (s || t)();
363				};
364				static ɵprov = b({
365					token: t,
366					factory: t.ɵfac,
367					providedIn: "root"
368				});
369			}
370			return t;
371		})(), ke = (() => {
372			class t {
373				vnHideOnState = Qe.required();
374				cssClass = g(() => `cs-hide-${this.vnHideOnState()}`);
375				static ɵfac = function(s) {
376					return new (s || t)();
377				};
378				static ɵdir = Me({
379					type: t,
380					selectors: [[
381						"",
382						"vnHideOnState",
383						""
384					]],
385					hostVars: 2,
386					hostBindings: function(s, r) {
387						s & 2 && je(r.cssClass());
388					},
389					inputs: { vnHideOnState: [1, "vnHideOnState"] }
390				});
391			}
392			return t;
393		})(), Ie = new Xe(() => !1);
394	})))();
395}
396function R(t) {
397	return /^(?:https?:)?\/\//i.test(t);
398}
399var V, G, Q, Ae, Z, De, Pe, J, Y, $e, Ee;
400function He() {
401	return (He = ce((() => {
402		te(), ie(), oe(), le(), ct(), ut(), pt(), V = "-shown", G = "-hidden", Q = (() => {
403			var t;
404			let e = class {
405				constructor() {
406					X(this, t), ee(this, t, o(he)), this._doc = o(S), this.renderer = o(Be).createRenderer(null, null), this.html = this._doc.documentElement;
407				}
408				toggleVisibilityClass(r, i) {
409					i ? (this.setCssClass(`${r}${V}`, !0), this.setCssClass(`${r}${G}`, !1)) : (this.setCssClass(`${r}${G}`, !0), this.setCssClass(`${r}${V}`, !1));
410				}
411				setCssClass(r, i) {
412					r && r.split(" ").filter((n) => n).forEach((n) => {
413						i ? this.renderer.addClass(this.html, n) : this.renderer.removeClass(this.html, n);
414					});
415				}
416				hasCssClass(r) {
417					return this.html.classList.contains(r);
418				}
419				setAttribute(r, i) {
420					i ? this.renderer.setAttribute(this.html, r, i) : this.renderer.removeAttribute(this.html, r);
421				}
422				getAttribute(r) {
423					return this.html.getAttribute(r);
424				}
425				createScrollBlockManager(r) {
426					return {
427						block: () => this.blockScrolling(!0, r),
428						unblock: () => this.blockScrolling(!1, r)
429					};
430				}
431				blockScrolling(r, i) {
432					if (i?.strategy === "overflow") r ? this.renderer.setStyle(this._doc.body, "overflow", "hidden") : this.renderer.removeStyle(this._doc.body, "overflow");
433					else if (r) {
434						let n = y(this, t).scrollY;
435						this.renderer.setStyle(this.html, "top", `-${n}px`), this.setCssClass("cdk-global-scrollblock", !0);
436					} else {
437						let n = parseInt(this.html.style.top || "0") * -1;
438						this.renderer.setStyle(this.html, "top", ""), this.setCssClass("cdk-global-scrollblock", !1), y(this, t).scrollTo(0, n);
439					}
440				}
441				hasBlockScrolling() {
442					return this.html.classList.contains("cdk-global-scrollblock");
443				}
444				removeClassStartsWith(r) {
445					r && Array.from(this.html.classList).forEach((i) => {
446						i.startsWith(r) && this.renderer.removeClass(this.html, i);
447					});
448				}
449			};
450			return t = /* @__PURE__ */ new WeakMap(), e.ɵfac = function(s) {
451				return new (s || e)();
452			}, e.ɵprov = b({
453				token: e,
454				factory: e.ɵfac,
455				providedIn: "root"
456			}), e;
457		})(), Ae = class {
458			get show() {
459				return this.#t;
460			}
461			#t = new re();
462			#r = new re();
463			#e = !1;
464			constructor(t) {
465				this.options = t, t.disabled || ne(t.delay ?? 0).pipe(Le(this.#r)).subscribe(() => this.#t.next(!0));
466			}
467			done() {
468				this.#e || (this.#e = !0, this.#r.next(null), this.#r.complete(), this.#t.next(!1));
469			}
470		}, Z = (() => {
471			let t = class {
472				constructor() {
473					this.visible = D(!1), this.htmlNode = o(Q), this.page = o(z), this.injector = o(U), this.blockScrollCounter = 0, this.nextId = 0, this.activeIndicators = /* @__PURE__ */ new Map(), this.disabledUrlPattern = new RegExp(this.page.loadingIndicator.disabledUrlPattern ?? "(?!)", "i"), this.defaultOptions = { delay: this.page.loadingIndicator.defaultDelay };
474				}
475				get activeSources() {
476					return [...this.activeIndicators.values()];
477				}
478				start(s) {
479					let r = Object.assign({}, this.defaultOptions, s), i = this.nextId++, n = r.source ?? `indicator-${i}`;
480					this.activeIndicators.set(i, {
481						id: i,
482						source: n,
483						startedAt: Date.now()
484					}), this.handleBlockScrolling(r, !0), r.disabled === void 0 && r?.url && (r.disabled = this.disabledUrlPattern.test(r.url));
485					let a = L(this.injector, () => new Ae(r));
486					return a.show.subscribe((h) => this.handleVisibilityChange(i, h, r)), a;
487				}
488				handleBlockScrolling(s, r) {
489					s.blockScrolling && (this.blockScrollCounter += r ? 1 : -1, this.htmlNode.blockScrolling(r));
490				}
491				handleVisibilityChange(s, r, i) {
492					if (r) {
493						this.visible.set(!0);
494						return;
495					}
496					this.activeIndicators.delete(s), this.handleBlockScrolling(i, !1), this.activeIndicators.size === 0 && this.visible.set(!1);
497				}
498			};
499			return t.ɵfac = function(e) {
500				return new (e || t)();
501			}, t.ɵprov = b({
502				token: t,
503				factory: t.ɵfac,
504				providedIn: "root"
505			}), t;
506		})(), De = class Te {
507			constructor(e, s, r, i, n, a, h, f, p, d, c) {
508				this.urlService = e, this.protocol = s, this.search = r, this.hash = i, this.hostname = n, this.port = a, this.pathname = h, this.isRelative = f, this.isSameHost = p, this.isSameTopDomain = d, this.culture = c;
509			}
510			clone() {
511				return new Te(this.urlService, this.protocol, this.search.clone(), this.hash, this.hostname, this.port, this.pathname, this.isRelative, this.isSameHost, this.isSameTopDomain, this.culture);
512			}
513			url() {
514				let e = this.pathname, s = this.search.toString();
515				return s && (e += "?" + s), this.hash && (e += "#" + encodeURI(this.hash)), e;
516			}
517			path() {
518				return this.pathname;
519			}
520			baseUrl() {
521				return `${this.protocol}://${this.host()}`;
522			}
523			host() {
524				let e = this.hostname;
525				return this.port && this.port !== "0" && (e += ":" + this.port), e;
526			}
527			absUrl() {
528				return this.baseUrl() + this.url();
529			}
530			changeCulture(e) {
531				if (e = e.toLowerCase(), this.urlService.supportedLanguages.indexOf(e) < 0) throw new Error("\"" + e + "\" is not in the list of supported cultures.");
532				if (!this.pathname || this.pathname === "/") this.pathname = "/" + e, this.culture = e;
533				else if (this.culture !== null) {
534					let s = new RegExp(this.urlService.culturePattern, "gi");
535					this.pathname = this.pathname.replace(s, "/" + e + "/"), this.culture = e, this.pathname = this.pathname.replace(/\/$/gi, "");
536				}
537			}
538			appendReferrer(e) {
539				e = e || {};
540				let s = this.urlService.current(), r = e.url || s.search.get("rurl") || (e.absolute ? s.absUrl() : s.url());
541				!this.isRelative && !R(r) && (r = this.urlService.parse(r).absUrl()), this.search.set("rurl", r);
542			}
543		}, Pe = class {
544			decodeKey(t) {
545				return decodeURIComponent(t);
546			}
547			decodeValue(t) {
548				return decodeURIComponent(t);
549			}
550			encodeKey(t) {
551				return this.encode(t);
552			}
553			encodeValue(t) {
554				return this.encode(t);
555			}
556			encode(t) {
557				return encodeURIComponent(t).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",");
558			}
559		}, J = class Ue {
560			constructor(e) {
561				this.ciParams = /* @__PURE__ */ new Map(), this.inner = new B({
562					encoder: new Pe(),
563					fromString: e
564				}), this.buildCiMap();
565			}
566			has(e) {
567				return this.ciParams.has(e.toLowerCase());
568			}
569			get(e) {
570				let s = this.ciParams.get(e.toLowerCase());
571				return s ? this.inner.get(s[0]) : null;
572			}
573			getAll(e) {
574				let s = this.ciParams.get(e.toLowerCase());
575				return s ? s.reduce((r, i) => r.concat(this.inner.getAll(i)), []) : null;
576			}
577			set(e, s) {
578				this.inner = this.inner.set(e, s), this.addCiKey(e);
579			}
580			delete(e) {
581				let s = e.toLowerCase(), r = this.ciParams.get(s);
582				r && (r.forEach((i) => this.inner = this.inner.delete(i)), this.ciParams.delete(s));
583			}
584			append(e, s) {
585				this.inner = this.inner.append(e, s), this.addCiKey(e);
586			}
587			keys() {
588				return this.inner.keys();
589			}
590			toString() {
591				return this.inner.toString();
592			}
593			clone() {
594				return new Ue(this.toString());
595			}
596			buildCiMap() {
597				this.inner.keys().forEach((e) => this.addCiKey(e));
598			}
599			addCiKey(e) {
600				let s = e.toLowerCase(), r = this.ciParams.get(s), i;
601				r ? i = r.concat(e) : i = [e], this.ciParams.set(s, i);
602			}
603		}, Y = (() => {
604			var t;
605			let e = class {
606				constructor() {
607					X(this, t), this.page = o(z), ee(this, t, o(he)), this._doc = o(S), this.platformId = o(C), this.parsingAnchorElement = k(this.platformId) ? null : this._doc.createElement("a"), this.supportedLanguages = this.page.uiLanguages.concat(this.page.hiddenLanguages).map((r) => r.routeValue), this.culturePattern = "^/?(" + this.supportedLanguages.join("|") + ")(/|\\?|\\(|$)";
608				}
609				parsingNode(r) {
610					let i = r.href;
611					return this.parsingAnchorElement ? (this._doc.documentMode && (this.parsingAnchorElement.setAttribute("href", i), i = this.parsingAnchorElement.href), this.parsingAnchorElement.setAttribute("href", i), this.parsingAnchorElement) : (r.isRelative && (i = `${y(this, t).location.protocol}//${y(this, t).location.hostname}${i}`), new URL(i));
612				}
613				parse(r) {
614					let i = this.interpretUrl(r), n = this.parsingNode(i), a = new J(n.search ? n.search.replace(/^\?/, "") : ""), h = n.protocol ? n.protocol.replace(/:$/, "") : "", f = n.hash ? n.hash.replace(/^#/, "") : "", p = n.hostname, d = n.port, c = n.pathname.startsWith("/") && n.pathname.charAt(1) !== "/" ? n.pathname : "/" + n.pathname, m = y(this, t).location.href.startsWith(n.protocol + "//" + n.host), A = n.hostname.endsWith(this.page.domain), O = i.isRelative, E = this.getCulture(c);
615					return new De(this, h, a, f, p, d, c, O, m, A, E);
616				}
617				current() {
618					return this.parse(y(this, t).location.href);
619				}
620				isAbsolute(r) {
621					return R(r);
622				}
623				appendReferrer(r, i) {
624					let n = this.parse(r);
625					return n.appendReferrer(i), n.absUrl();
626				}
627				getCulture(r) {
628					if (r === "" || r === "/") return this.page.defaultLanguage.routeValue;
629					let i = new RegExp(this.culturePattern, "gi").exec(r);
630					return i == null ? null : i[1] ?? null;
631				}
632				interpretUrl(r) {
633					return r = this.replaceUrlPlaceholders(r), this.isAbsolute(r) ? {
634						href: r,
635						isRelative: !1
636					} : r === "/" ? {
637						href: "/" + this.page.lang,
638						isRelative: !0
639					} : r.startsWith("/") ? new RegExp(this.culturePattern, "gi").test(r) ? {
640						href: r,
641						isRelative: !0
642					} : {
643						href: "/" + this.page.lang + r,
644						isRelative: !0
645					} : r.startsWith("?") ? {
646						href: y(this, t).location.pathname + r,
647						isRelative: !0
648					} : r.startsWith("htcmd") ? {
649						href: r,
650						isRelative: !0
651					} : {
652						href: y(this, t).location.pathname + "/" + r,
653						isRelative: !0
654					};
655				}
656				replaceUrlPlaceholders(r) {
657					return r?.replace(/{culture}/g, this.page.lang) || r;
658				}
659			};
660			return t = /* @__PURE__ */ new WeakMap(), e.ɵfac = function(s) {
661				return new (s || e)();
662			}, e.ɵprov = b({
663				token: e,
664				factory: e.ɵfac,
665				providedIn: "root"
666			}), e;
667		})(), $e = class {
668			constructor() {
669				this.defaultOptions = {
670					resolveWithFullResponse: !1,
671					showSpinner: !1,
672					retryCount: 0,
673					retryDelay: 500,
674					retryOnStatus: [
675						0,
676						400,
677						408,
678						502,
679						503,
680						504
681					],
682					transferCache: !1
683				}, this.defaultGetOptions = { method: "GET" }, this.defaultPostOptions = {
684					method: "POST",
685					showSpinner: !0
686				}, this.defaultPutOptions = {
687					method: "PUT",
688					showSpinner: !0
689				}, this.defaultDeleteOptions = {
690					method: "DELETE",
691					showSpinner: !0
692				}, this.defaultHeaders = {};
693			}
694			wireup(t, e, s, r, i, n, a) {
695				this.httpClient = e, this.loadingIndicatorService = s, this.defaultOptions.baseUrl = r, this.urlService = t, n.area ? this.defaultOptions.prefix = `/${i}/${n.area}` : this.defaultOptions.prefix = `/${i}`, R(r) && (this.defaultOptions.withCredentials = !0), a && (n.product && a.hasOwnProperty(`x-bwin-${n.product}-api`) && r && !this.urlService.parse(r).isSameTopDomain && delete a[`x-bwin-${n.product}-api`], this.defaultHeaders = a), this.onWireup();
696			}
697			request(t, e) {
698				if (!e?.method) throw new Error("For 'request' function 'method' option is required.");
699				let s = e.method[0].toUpperCase() + e.method.slice(1).toLowerCase(), r = this["default" + s + "Options"] ?? {}, i = Object.assign({}, this.defaultOptions, r, { url: t }, e);
700				return this.callApi(i);
701			}
702			get(t, e, s) {
703				let r = Object.assign({}, this.defaultOptions, this.defaultGetOptions, {
704					url: t,
705					params: e
706				}, s);
707				return this.callApi(r);
708			}
709			post(t, e, s) {
710				let r = Object.assign({}, this.defaultOptions, this.defaultPostOptions, {
711					url: t,
712					data: e
713				}, s);
714				return this.callApi(r);
715			}
716			put(t, e, s) {
717				let r = Object.assign({}, this.defaultOptions, this.defaultPutOptions, {
718					url: t,
719					data: e
720				}, s);
721				return this.callApi(r);
722			}
723			delete(t, e, s) {
724				let r = Object.assign({}, this.defaultOptions, this.defaultDeleteOptions, {
725					url: t,
726					params: e
727				}, s);
728				return this.callApi(r);
729			}
730			jsonp(t, e) {
731				return this.httpClient.jsonp(t, e);
732			}
733			onWireup() {}
734			callApi(t) {
735				let e = this.buildUrl(t), s = this.buildUrlParams(t), r = this.buildHeaders(t);
736				this.preRequest(t);
737				let i = this.createHttpRequest(t, e, s, r);
738				return this.handleRetries(i, t).pipe(_e((n) => ae(this.postRequest(t, n))), se((n) => this.postRequest(t, n)), We(() => t.loadingIndicator?.done()));
739			}
740			buildUrl(t) {
741				let e = t.url;
742				return R(e) || (e = "", t.baseUrl && (!t.prefix || !R(t.prefix)) && (e += t.baseUrl), e += (t.prefix ?? "") + "/api/" + t.url), e;
743			}
744			buildUrlParams(t) {
745				let e = new B();
746				return t.params && (t.params instanceof B ? e = t.params : ht(t.params, (s, r) => {
747					Array.isArray(s) ? s.forEach((i) => {
748						i != null && (e = e.append(r, i));
749					}) : s != null && (e = e.append(r, s));
750				})), e;
751			}
752			buildHeaders(t) {
753				let e = new tt(l(l({}, this.defaultHeaders), t.headers || {}));
754				return t.messageQueueScope && (e = e.append("X-van-message-queue-scope", t.messageQueueScope)), e;
755			}
756			createHttpRequest(t, e, s, r) {
757				let { data: i, responseType: n, reportProgress: a, withCredentials: h } = t;
758				return this.httpClient.request(t.method, e, l(l(w(l({
759					params: s,
760					headers: r,
761					transferCache: t.transferCache,
762					keepalive: t.keepalive ?? !1,
763					body: i
764				}, n ? { responseType: n } : {}), { observe: "response" }), a != null ? { reportProgress: a } : {}), h != null ? { withCredentials: h } : {}));
765			}
766			handleRetries(t, e) {
767				if (!e.retryCount) return t;
768				let s, r;
769				if (e.retryDelay instanceof Function) s = e.retryDelay;
770				else {
771					let i = e.retryDelay;
772					s = () => i;
773				}
774				if (e.retryOnStatus instanceof Function) r = e.retryOnStatus;
775				else {
776					let i = e.retryOnStatus || [];
777					r = (n) => i.indexOf(n) !== -1;
778				}
779				return t.pipe(ze((i) => i.pipe(qe((n, a) => {
780					let h = a + 1;
781					return h > e.retryCount || !r(n.status) ? ae(n) : ne(s(h));
782				}))));
783			}
784			postRequest(t, e) {
785				return t.loadingIndicator && t.loadingIndicator.done(), t.resolveWithFullResponse ? e : e instanceof et ? e.body : e.error;
786			}
787			preRequest(t) {
788				t.showSpinner && (t.loadingIndicator = this.loadingIndicatorService.start({ url: t.url }));
789			}
790		}, Ee = (() => {
791			let t = class {
792				constructor() {
793					this.urlService = o(Y), this.httpClient = o(Ye), this.loadingIndicatorService = o(Z), this.page = o(z), this.productService = o(dt);
794				}
795				create(s, r = {
796					product: "",
797					area: null,
798					forwardProductApiRequestHeader: !1
799				}) {
800					return this.productService.isSingleDomainApp ? this.createForProduct(s, r) : this.createInstance(s, "", r, this.getHeaders(r));
801				}
802				createForProduct(s, r = {
803					product: "",
804					area: null,
805					forwardProductApiRequestHeader: !1
806				}) {
807					return this.createInstance(s, this.productService.getMetadata(r.product).apiBaseUrl, r, this.getHeaders(r));
808				}
809				getHeaders(s) {
810					if (!s.forwardProductApiRequestHeader) return null;
811					let r = {};
812					return r[`x-bwin-${s.product}-api`] = this.page.environment, r;
813				}
814				createInstance(s, r, i, n) {
815					let a = new s();
816					return a.wireup(this.urlService, this.httpClient, this.loadingIndicatorService, r, this.page.lang, i, n), a;
817				}
818			};
819			return t.ɵfac = function(e) {
820				return new (e || t)();
821			}, t.ɵprov = b({
822				token: t,
823				factory: t.ɵfac,
824				providedIn: "root"
825			}), t;
826		})();
827	})))();
828}
829export { Dt as A, It as C, Re as D, ft as E, pe as O, W as S, At as T, ve as _, Y as a, Ce as b, $t as c, Ht as d, I as f, $ as g, Ut as h, Z as i, Ft as j, St as k, xt as l, Tt as m, Ee as n, He as o, gt as p, Q as r, $e as s, J as t, Pt as u, K as v, de as w, Rt as x, ke as y };
830
831//# sourceMappingURL=chunk-llc8ry2a.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.