1import { g as r, y as s } from "./chunk-xgti9j2t.js"; 2import { Pi as u, fi as m, gt as i, nt as _ } from "./chunk-c97c17u8.js"; 3import { M as h } from "./chunk-l3jkbhly.js"; 4import { p } from "./chunk-k52vj1ic.js"; 5import { o as f } from "./chunk-l24fzhmb.js"; 6import { A as k } from "./chunk-jrtaqqwj.js"; 7import { o as d } from "./chunk-pesy0vb6.js"; 8import { D as A, o as l } from "./chunk-llc8ry2a.js"; 9import { ut as I } from "./chunk-fbjoug0d.js"; 10import { a as v } from "./chunk-ewplex8i.js"; 11import { n as D } from "./chunk-c18gpzrj.js"; 12import { r as C } from "./chunk-c9rg1mp5.js"; 13import { t as F } from "./chunk-kyqvtgtk.js"; 14import { Y as g, gt as B, l as M, pt as S, z as L } from "./chunk-w0x32net.js"; 15import { p as y } from "./chunk-bhnvkbxx.js"; 16import { ot as O } from "./chunk-f2v2cgea.js"; 17import { a as T, c as b } from "./chunk-og5uebri.js"; 18import { Dn as G, Tt as R, cr as J, jr as N } from "./chunk-go6pvd0a.js"; 19import { t as W } from "./chunk-k4et3zlq.js"; 20import { i as q, p as w } from "./chunk-hul0ult7.js"; 21import { n as z } from "./chunk-lmnwxprc.js"; 22import { r as E } from "./chunk-ilfhy0in.js"; 23import { n as V } from "./chunk-ohg30iel.js"; 24import { $ as X } from "./chunk-iuhjzybw.js"; 25import { t as x } from "./chunk-o4f8w5yc.js"; 26function H() { 27 return [R(e)]; 28} 29var e; 30function a() { 31 return (a = x((() => { 32 s(), u(), h(), p(), f(), k(), d(), A(), I(), v(), D(), C(), F(), l(), B(), y(), O(), g(), b(), N(), W(), w(), q(), z(), E(), V(), X(), G(), e = (() => { 33 let n = class { 34 constructor() { 35 this.hostApiService = i(J), this.trackingService = i(T), this.logger = i(S), this.nativeAppService = i(L); 36 } 37 onFeatureInit() { 38 return r(this, null, function* () { 39 yield this.trackMasterAccountFrontendId(); 40 }); 41 } 42 trackMasterAccountFrontendId() { 43 return r(this, null, function* () { 44 let { masterAccountFrontendId: t, accountId: c } = yield this.fetchMasterAccountDetails(); 45 this.trackingService.updateDataLayer({ 46 "user.profile.masterAccountFrontEnd": t, 47 "user.profile.regAccountID": c 48 }), this.nativeAppService.sendToNative({ 49 eventName: M.MASTER_ACCOUNT_DETAILS, 50 parameters: { 51 masterAccountId: c, 52 masterAccountFrontendId: t 53 } 54 }); 55 }); 56 } 57 fetchMasterAccountDetails() { 58 return r(this, null, function* () { 59 try { 60 let t = yield _(this.hostApiService.get("masteraccount")); 61 return { 62 masterAccountFrontendId: t.masterAccountFrontendId ?? "", 63 accountId: t.accountId?.toString() ?? "" 64 }; 65 } catch (t) { 66 return this.logger.errorRemote("Failed to fetch masteraccount details.", t), { 67 masterAccountFrontendId: "", 68 accountId: "" 69 }; 70 } 71 }); 72 } 73 }; 74 return n.ɵfac = function(o) { 75 return new (o || n)(); 76 }, n.ɵprov = m({ 77 token: n, 78 factory: n.ɵfac 79 }), n; 80 })(); 81 })))(); 82} 83a(); 84export { H as provide }; 85 86//# sourceMappingURL=chunk-Bgppf2xf2.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.