1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| function u(o) { _o.inc(); const r = dr() , {params: s, url: i} = o , a = Date.now() , l = hne(16) , c = qu([8, 28, 20, 42, 21, 53, 65, 6]) , d = { [qu([56, 62, 52, 11, 23, 62, 39, 18, 16, 62, 54, 25, 25])]: qu([11, 11, 0, 21, 62, 25, 24, 19, 20, 15, 7]), [qu([56, 62, 52, 11, 23, 62, 39, 18, 16, 62, 60, 24, 5, 2, 18])]: l, [qu([56, 62, 52, 11, 23, 62, 39, 18, 16, 62, 40, 23, 6, 18, 14, 20, 15, 6, 25])]: a }; if (o.method.toLowerCase() === "get") { (s == null ? void 0 : s.siteCode) === void 0 && !i.includes("?siteCode=") && (s ? o.params.siteCode = r.currentSite : o.params = { siteCode: r.currentSite }); const p = t1({ p: s, t: a, n: l, k: c }); d[[qu([56, 62, 52, 11, 23, 62, 39, 18, 16, 62, 53, 23, 11, 5, 15, 20, 22, 19, 18])]] = p } else { const p = t1({ p: sC.stringify(o.data, { allowDots: !0 }), t: a, n: l, k: c }); d[[qu([56, 62, 52, 11, 23, 62, 39, 18, 16, 62, 53, 23, 11, 5, 15, 20, 22, 19, 18])]] = p, e === "mhyy" && (o.data ? o.data.noSiteCode ? delete o.data.noSiteCode : o.data.siteCode === void 0 && (o.data.siteCode = r.currentSite) : o.data = { siteCode: r.currentSite }) } const f = rp("token"); return f && (d.token = f), o.headers = { ...d, ...o.headers }, o }
|