@mx-cartographer/experiences 4.1.0-alpha.j1 → 4.1.0-alpha.j3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +13 -13
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -13444,27 +13444,27 @@ const cg = ({
|
|
|
13444
13444
|
});
|
|
13445
13445
|
var Kn = /* @__PURE__ */ ((A) => (A[A.Main = 0] = "Main", A[A.RightSide = 1] = "RightSide", A))(Kn || {});
|
|
13446
13446
|
const Ig = () => {
|
|
13447
|
-
const { appStore: A } = an(), [
|
|
13447
|
+
const { appStore: A, isInitialized: e } = an(), [n, r] = g.useState(null);
|
|
13448
13448
|
return g.useEffect(() => {
|
|
13449
|
-
if (
|
|
13450
|
-
const
|
|
13451
|
-
fetch(
|
|
13449
|
+
if (e) {
|
|
13450
|
+
const a = `${A.appData?.address?.bullseye}/banner/${A.appData?.user_profile?.guid}/account_widget_banner`;
|
|
13451
|
+
fetch(a, {
|
|
13452
13452
|
method: "GET",
|
|
13453
13453
|
headers: {
|
|
13454
13454
|
Accept: "application/json",
|
|
13455
13455
|
"Content-Type": "application/json"
|
|
13456
13456
|
}
|
|
13457
|
-
}).then((
|
|
13458
|
-
if (
|
|
13459
|
-
return
|
|
13460
|
-
throw
|
|
13461
|
-
}).then((
|
|
13462
|
-
|
|
13463
|
-
}).catch((
|
|
13464
|
-
throw ft.notify(
|
|
13457
|
+
}).then((o) => {
|
|
13458
|
+
if (o.ok)
|
|
13459
|
+
return o.text();
|
|
13460
|
+
throw o;
|
|
13461
|
+
}).then((o) => o.length ? JSON.parse(o) : {}).then((o) => {
|
|
13462
|
+
r(o.banner), console.log(n);
|
|
13463
|
+
}).catch((o) => {
|
|
13464
|
+
throw ft.notify(o), o;
|
|
13465
13465
|
});
|
|
13466
13466
|
}
|
|
13467
|
-
}, [
|
|
13467
|
+
}, [e]), n && /* @__PURE__ */ t(he, { sx: { mt: 16 }, children: /* @__PURE__ */ t(Ps, { href: n.banner.redirect_url, children: /* @__PURE__ */ t(Ns, { alt: "green iguana", component: "img", height: 100, image: n.banner.image_url, width: "100%" }) }) });
|
|
13468
13468
|
}, Dg = () => {
|
|
13469
13469
|
const { accounts: A } = TA(), { selectedAccountGuids: e, setSelectedAccountGuids: n } = fA(), { isMobile: r } = MA(), { common: a } = I(), i = {
|
|
13470
13470
|
accountFilterOptionsCopy: {
|