aesirx-analytics 2.2.19 → 2.2.21
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/{Consent-TGYEV2XV.js → Consent-OHFGKDZJ.js} +15 -12
- package/dist/{ConsentCustom-IBIHKHPV.js → ConsentCustom-UTTNESFI.js} +65 -62
- package/dist/analytics.js +96 -96
- package/dist/{chunk-ZC2ONV6W.js → chunk-AS3MN6ER.js} +430 -121
- package/dist/{chunk-EL2DBQXP.js → chunk-NTEWP6UQ.js} +467 -17
- package/dist/chunk-YOHHSMUP.js +182 -0
- package/dist/index.js +37 -26
- package/package.json +1 -1
- package/dist/chunk-UJTYOAT7.js +0 -464
@@ -7,7 +7,7 @@ import {
|
|
7
7
|
WALLET_CONNECT,
|
8
8
|
getWeb3ID,
|
9
9
|
useConsentStatus_default
|
10
|
-
} from "./chunk-
|
10
|
+
} from "./chunk-AS3MN6ER.js";
|
11
11
|
import {
|
12
12
|
AnalyticsContext,
|
13
13
|
agreeConsents,
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
revokeConsents,
|
25
25
|
useTranslation,
|
26
26
|
verifySignature
|
27
|
-
} from "./chunk-
|
27
|
+
} from "./chunk-NTEWP6UQ.js";
|
28
28
|
|
29
29
|
// src/Components/Consent.tsx
|
30
30
|
import React, { Suspense, useContext, useEffect, useState } from "react";
|
@@ -615,7 +615,8 @@ var ConsentComponentApp = (props) => {
|
|
615
615
|
"img",
|
616
616
|
{
|
617
617
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
618
|
-
src: bg_default
|
618
|
+
src: bg_default,
|
619
|
+
alt: "Background Image"
|
619
620
|
}
|
620
621
|
), /* @__PURE__ */ React.createElement(
|
621
622
|
"div",
|
@@ -628,7 +629,7 @@ var ConsentComponentApp = (props) => {
|
|
628
629
|
setShowExpandRevoke(true);
|
629
630
|
}
|
630
631
|
},
|
631
|
-
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
632
|
+
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }),
|
632
633
|
t("txt_shield_of_privacy")
|
633
634
|
)), showExpandRevoke && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
634
635
|
"div",
|
@@ -638,7 +639,7 @@ var ConsentComponentApp = (props) => {
|
|
638
639
|
setShowExpandRevoke(false);
|
639
640
|
}
|
640
641
|
},
|
641
|
-
/* @__PURE__ */ React.createElement("img", { src: no_default })
|
642
|
+
/* @__PURE__ */ React.createElement("img", { src: no_default, alt: "No Icon" })
|
642
643
|
), /* @__PURE__ */ React.createElement("div", { className: "p-3 bg-white text" }, t("txt_you_can_revoke"), " ", /* @__PURE__ */ React.createElement("br", null), t("txt_visit"), " ", /* @__PURE__ */ React.createElement(
|
643
644
|
"a",
|
644
645
|
{
|
@@ -652,9 +653,10 @@ var ConsentComponentApp = (props) => {
|
|
652
653
|
"img",
|
653
654
|
{
|
654
655
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
655
|
-
src: bg_default
|
656
|
+
src: bg_default,
|
657
|
+
alt: "Background Image"
|
656
658
|
}
|
657
|
-
), /* @__PURE__ */ React.createElement("div", { className: "position-relative p-3" }, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "me-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
659
|
+
), /* @__PURE__ */ React.createElement("div", { className: "position-relative p-3" }, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "me-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }), " ", t("txt_shield_of_privacy")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center" }, /* @__PURE__ */ React.createElement(
|
658
660
|
"a",
|
659
661
|
{
|
660
662
|
className: "text-success text-decoration-underline manage-consent fs-14",
|
@@ -691,7 +693,8 @@ var ConsentComponentApp = (props) => {
|
|
691
693
|
"img",
|
692
694
|
{
|
693
695
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
694
|
-
src: bg_default
|
696
|
+
src: bg_default,
|
697
|
+
alt: "Background Image"
|
695
698
|
}
|
696
699
|
), /* @__PURE__ */ React.createElement(
|
697
700
|
"div",
|
@@ -702,7 +705,7 @@ var ConsentComponentApp = (props) => {
|
|
702
705
|
sessionStorage.removeItem("aesirx-analytics-rejected");
|
703
706
|
}
|
704
707
|
},
|
705
|
-
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
708
|
+
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }),
|
706
709
|
t("txt_shield_of_privacy")
|
707
710
|
))) : /* @__PURE__ */ React.createElement(React.Fragment, null, level ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(TermsComponent, { level, handleLevel, layout }, /* @__PURE__ */ React.createElement(Form, { className: "mb-0" }, /* @__PURE__ */ React.createElement(
|
708
711
|
Form.Check,
|
@@ -733,7 +736,7 @@ var ConsentComponentApp = (props) => {
|
|
733
736
|
SSOButton,
|
734
737
|
{
|
735
738
|
className: "btn btn-success text-white d-flex align-items-center loginSSO",
|
736
|
-
text: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
|
739
|
+
text: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("img", { src: yes_default, className: "me-1", alt: "Yes Icon" }), t("txt_yes_i_consent")),
|
737
740
|
ssoState: "noscopes",
|
738
741
|
onGetData,
|
739
742
|
...level === 2 ? { noCreateAccount: true } : {}
|
@@ -753,7 +756,7 @@ var ConsentComponentApp = (props) => {
|
|
753
756
|
role: "status",
|
754
757
|
"aria-hidden": "true"
|
755
758
|
}
|
756
|
-
) : /* @__PURE__ */ React.createElement("img", { src: yes_default, className: "me-1" }),
|
759
|
+
) : /* @__PURE__ */ React.createElement("img", { src: yes_default, className: "me-1", alt: "Yes Icon" }),
|
757
760
|
t("txt_yes_i_consent")
|
758
761
|
), /* @__PURE__ */ React.createElement(
|
759
762
|
Button,
|
@@ -762,7 +765,7 @@ var ConsentComponentApp = (props) => {
|
|
762
765
|
onClick: handleNotAllow,
|
763
766
|
className: "d-flex align-items-center fs-14"
|
764
767
|
},
|
765
|
-
/* @__PURE__ */ React.createElement("img", { src: no_white_default, className: "me-1" }),
|
768
|
+
/* @__PURE__ */ React.createElement("img", { src: no_white_default, className: "me-1", alt: "No Icon" }),
|
766
769
|
t("txt_reject_consent")
|
767
770
|
)) : /* @__PURE__ */ React.createElement(React.Fragment, null))))) : /* @__PURE__ */ React.createElement("div", { className: "p-4" }, /* @__PURE__ */ React.createElement(
|
768
771
|
ContentLoader,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
trackEvent
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-YOHHSMUP.js";
|
4
4
|
import {
|
5
5
|
BROWSER_WALLET,
|
6
6
|
Connect_default,
|
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
check_circle_default,
|
12
12
|
getWeb3ID,
|
13
13
|
useConsentStatus_default
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-AS3MN6ER.js";
|
15
15
|
import {
|
16
16
|
AnalyticsContext,
|
17
17
|
agreeConsents,
|
@@ -28,7 +28,7 @@ import {
|
|
28
28
|
revokeConsents,
|
29
29
|
useTranslation,
|
30
30
|
verifySignature
|
31
|
-
} from "./chunk-
|
31
|
+
} from "./chunk-NTEWP6UQ.js";
|
32
32
|
|
33
33
|
// src/Components/ConsentCustom.tsx
|
34
34
|
import React, { Suspense, useContext, useEffect, useState } from "react";
|
@@ -645,7 +645,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
645
645
|
}, []);
|
646
646
|
useEffect(() => {
|
647
647
|
(gtagId || gtmId) && loadConsentDefault(gtagId, gtmId);
|
648
|
-
}, [layout]);
|
648
|
+
}, [layout, gtagId, gtmId]);
|
649
649
|
useEffect(() => {
|
650
650
|
if (showExpandRevoke && isDesktop && (sessionStorage.getItem("aesirx-analytics-revoke") === "3" || sessionStorage.getItem("aesirx-analytics-revoke") === "4")) {
|
651
651
|
setActiveConnectorType(BROWSER_WALLET);
|
@@ -668,7 +668,8 @@ var ConsentComponentCustomApp = (props) => {
|
|
668
668
|
{
|
669
669
|
width: "23px",
|
670
670
|
height: "23px",
|
671
|
-
src: upgradeLevel === level2 ? checkbox_active_default : checkbox_default
|
671
|
+
src: upgradeLevel === level2 ? checkbox_active_default : checkbox_default,
|
672
|
+
alt: "Checkbox icon"
|
672
673
|
}
|
673
674
|
))
|
674
675
|
);
|
@@ -678,7 +679,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
678
679
|
function gtag(p0, p1, p2) {
|
679
680
|
dataLayer.push(arguments);
|
680
681
|
}
|
681
|
-
if (
|
682
|
+
if (sessionStorage.getItem("consentGranted") === "true" && (gtmId2 && !document.querySelector(
|
682
683
|
`script[src="https://www.googletagmanager.com/gtm.js?id=${gtmId2}"]`
|
683
684
|
) || gtagId2 && !document.querySelector(
|
684
685
|
`script[src="https://www.googletagmanager.com/gtag/js?id=${gtagId2}"]`
|
@@ -693,17 +694,6 @@ var ConsentComponentCustomApp = (props) => {
|
|
693
694
|
dataLayer.push({ "gtm.start": (/* @__PURE__ */ new Date()).getTime(), event: "gtm.js" });
|
694
695
|
}
|
695
696
|
}
|
696
|
-
if (layout !== "simple-consent-mode" && sessionStorage.getItem("consentGranted") !== "true") {
|
697
|
-
gtag("set", "url_passthrough", true);
|
698
|
-
gtag("set", "ads_data_redaction", true);
|
699
|
-
gtag("consent", "default", {
|
700
|
-
ad_user_data: "denied",
|
701
|
-
ad_personalization: "denied",
|
702
|
-
ad_storage: "denied",
|
703
|
-
analytics_storage: "denied",
|
704
|
-
wait_for_update: 500
|
705
|
-
});
|
706
|
-
}
|
707
697
|
if (sessionStorage.getItem("consentGranted") === "true") {
|
708
698
|
gtag("consent", "update", {
|
709
699
|
ad_user_data: "granted",
|
@@ -736,7 +726,8 @@ var ConsentComponentCustomApp = (props) => {
|
|
736
726
|
"img",
|
737
727
|
{
|
738
728
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
739
|
-
src: bg_default
|
729
|
+
src: bg_default,
|
730
|
+
alt: "Background Image"
|
740
731
|
}
|
741
732
|
), /* @__PURE__ */ React.createElement(
|
742
733
|
"div",
|
@@ -749,8 +740,8 @@ var ConsentComponentCustomApp = (props) => {
|
|
749
740
|
setShowExpandRevoke(true);
|
750
741
|
}
|
751
742
|
},
|
752
|
-
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
753
|
-
t("txt_shield_of_privacy")
|
743
|
+
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }),
|
744
|
+
window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy")
|
754
745
|
)),
|
755
746
|
showExpandRevoke && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
756
747
|
"div",
|
@@ -760,7 +751,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
760
751
|
borderBottom: "1px solid #DEDEDE"
|
761
752
|
}
|
762
753
|
},
|
763
|
-
/* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, t("txt_tracking_data_privacy")),
|
754
|
+
/* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, window?.aesirx_analytics_translate?.txt_tracking_data_privacy ?? t("txt_tracking_data_privacy")),
|
764
755
|
/* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, /* @__PURE__ */ React.createElement(
|
765
756
|
"a",
|
766
757
|
{
|
@@ -773,10 +764,11 @@ var ConsentComponentCustomApp = (props) => {
|
|
773
764
|
"img",
|
774
765
|
{
|
775
766
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
|
776
|
-
src: bg_default
|
767
|
+
src: bg_default,
|
768
|
+
alt: "Background Image"
|
777
769
|
}
|
778
770
|
),
|
779
|
-
/* @__PURE__ */ React.createElement("div", { className: "minimize-shield position-relative z-2 py-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
771
|
+
/* @__PURE__ */ React.createElement("div", { className: "minimize-shield position-relative z-2 py-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }), window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy"))
|
780
772
|
))
|
781
773
|
), /* @__PURE__ */ React.createElement(
|
782
774
|
"div",
|
@@ -786,14 +778,14 @@ var ConsentComponentCustomApp = (props) => {
|
|
786
778
|
setShowExpandRevoke(false);
|
787
779
|
}
|
788
780
|
},
|
789
|
-
/* @__PURE__ */ React.createElement("img", { src: no_default })
|
790
|
-
), /* @__PURE__ */ React.createElement("div", { className: "p-3 bg-white" }, paymentRevoke ? t("txt_you_can_revoke_on_the_site") : t("txt_you_can_revoke")), /* @__PURE__ */ React.createElement(Form, { className: "mb-0 w-100 bg-white px-3" }, /* @__PURE__ */ React.createElement(
|
781
|
+
/* @__PURE__ */ React.createElement("img", { src: no_default, alt: "No Icon" })
|
782
|
+
), /* @__PURE__ */ React.createElement("div", { className: "p-3 bg-white" }, paymentRevoke ? window?.aesirx_analytics_translate?.txt_you_can_revoke_on_the_site ?? t("txt_you_can_revoke_on_the_site") : window?.aesirx_analytics_translate?.txt_you_can_revoke ?? t("txt_you_can_revoke")), /* @__PURE__ */ React.createElement(Form, { className: "mb-0 w-100 bg-white px-3" }, /* @__PURE__ */ React.createElement(
|
791
783
|
Form.Check,
|
792
784
|
{
|
793
785
|
id: `option-revoke-consent`,
|
794
786
|
checked: revokeConsentOption === "consent",
|
795
787
|
type: "checkbox",
|
796
|
-
label: t("txt_revoke_consent_for_the_site"),
|
788
|
+
label: window?.aesirx_analytics_translate?.txt_revoke_consent_for_the_site ?? t("txt_revoke_consent_for_the_site"),
|
797
789
|
value: "consent",
|
798
790
|
onChange: ({ target: { value } }) => {
|
799
791
|
setRevokeConsentOption(value);
|
@@ -807,7 +799,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
807
799
|
id: `option-revoke-${item}`,
|
808
800
|
checked: revokeConsentOption === item,
|
809
801
|
type: "checkbox",
|
810
|
-
label: item === "aesirx-analytics-optin-default" ? t("txt_revoke_opt_in") : item === "aesirx-analytics-optin-payment" ? t("txt_revoke_opt_in_payment") : item === "aesirx-analytics-optin-advisor" ? t("txt_revoke_opt_in_advisor") : t("txt_revoke_opt_in") + " " + item?.replace("aesirx-analytics-optin-", ""),
|
802
|
+
label: item === "aesirx-analytics-optin-default" ? window?.aesirx_analytics_translate?.txt_revoke_opt_in ?? t("txt_revoke_opt_in") : item === "aesirx-analytics-optin-payment" ? window?.aesirx_analytics_translate?.txt_revoke_opt_in_payment ?? t("txt_revoke_opt_in_payment") : item === "aesirx-analytics-optin-advisor" ? window?.aesirx_analytics_translate?.txt_revoke_opt_in_advisor ?? t("txt_revoke_opt_in_advisor") : window?.aesirx_analytics_translate?.txt_revoke_opt_in ?? t("txt_revoke_opt_in") + " " + item?.replace("aesirx-analytics-optin-", ""),
|
811
803
|
value: item,
|
812
804
|
onChange: ({ target: { value } }) => {
|
813
805
|
setRevokeConsentOption(value);
|
@@ -822,7 +814,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
822
814
|
target: "_blank",
|
823
815
|
rel: "noreferrer"
|
824
816
|
},
|
825
|
-
t("txt_manage_consent")
|
817
|
+
window?.aesirx_analytics_translate?.txt_manage_consent ?? t("txt_manage_consent")
|
826
818
|
), loading === "done" ? /* @__PURE__ */ React.createElement(
|
827
819
|
Button,
|
828
820
|
{
|
@@ -846,7 +838,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
846
838
|
},
|
847
839
|
className: "d-flex align-items-center justify-content-center w-100 w-lg-35 revoke-btn fs-14 rounded-pill py-2 py-lg-3"
|
848
840
|
},
|
849
|
-
t("txt_revoke_consent")
|
841
|
+
window?.aesirx_analytics_translate?.txt_revoke_consent ?? t("txt_revoke_consent")
|
850
842
|
) : /* @__PURE__ */ React.createElement(React.Fragment, null), (sessionStorage.getItem("aesirx-analytics-revoke") === "4" || sessionStorage.getItem("aesirx-analytics-revoke") === "2") && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Suspense, { fallback: /* @__PURE__ */ React.createElement("div", null, "Loading...") }, /* @__PURE__ */ React.createElement(
|
851
843
|
SSOButton,
|
852
844
|
{
|
@@ -862,6 +854,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
862
854
|
"div",
|
863
855
|
{
|
864
856
|
tabIndex: -1,
|
857
|
+
id: "consent-modal",
|
865
858
|
className: `toast-container position-fixed m-md-3 ${showExpandConsent ? "top-50 start-50 translate-middle" : "bottom-0 end-0"}`
|
866
859
|
},
|
867
860
|
/* @__PURE__ */ React.createElement(
|
@@ -874,7 +867,8 @@ var ConsentComponentCustomApp = (props) => {
|
|
874
867
|
"img",
|
875
868
|
{
|
876
869
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
877
|
-
src: bg_default
|
870
|
+
src: bg_default,
|
871
|
+
alt: "Background Image"
|
878
872
|
}
|
879
873
|
), /* @__PURE__ */ React.createElement(
|
880
874
|
"div",
|
@@ -888,87 +882,96 @@ var ConsentComponentCustomApp = (props) => {
|
|
888
882
|
sessionStorage.removeItem("aesirx-analytics-rejected");
|
889
883
|
}
|
890
884
|
},
|
891
|
-
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "
|
892
|
-
t("txt_shield_of_privacy")
|
893
|
-
))) : /* @__PURE__ */ React.createElement("div", { className: "bg-white" }, level ? /* @__PURE__ */ React.createElement(React.Fragment, null, upgradeLayout ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "bg-white rounded p-3 w-auto" }, /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-3" }, t("txt_select_your_preferred")), /* @__PURE__ */ React.createElement(Form, null, /* @__PURE__ */ React.createElement(Row, null, /* @__PURE__ */ React.createElement(Col, { lg: 6, className: "mb-2 mb-lg-0" }, /* @__PURE__ */ React.createElement(
|
885
|
+
/* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }),
|
886
|
+
window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy")
|
887
|
+
))) : /* @__PURE__ */ React.createElement("div", { className: "bg-white" }, level ? /* @__PURE__ */ React.createElement(React.Fragment, null, upgradeLayout ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "bg-white rounded p-3 w-auto" }, /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-3" }, window?.aesirx_analytics_translate?.txt_select_your_preferred ?? t("txt_select_your_preferred")), /* @__PURE__ */ React.createElement(Form, null, /* @__PURE__ */ React.createElement(Row, null, /* @__PURE__ */ React.createElement(Col, { lg: 6, className: "mb-2 mb-lg-0" }, /* @__PURE__ */ React.createElement(
|
894
888
|
ConsentLevelUprade,
|
895
889
|
{
|
896
890
|
level: 3,
|
897
|
-
levelname: t(
|
891
|
+
levelname: window?.aesirx_analytics_translate?.txt_decentralized_wallet ?? t("txt_decentralized_wallet"),
|
898
892
|
image: wallet_consent_default,
|
899
893
|
content: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
900
894
|
"img",
|
901
895
|
{
|
902
896
|
src: check_circle_default,
|
903
897
|
width: "14px",
|
904
|
-
height: "15px"
|
898
|
+
height: "15px",
|
899
|
+
alt: "Check Icon"
|
905
900
|
}
|
906
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_decentralized_wallet_will_be_loaded"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
901
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralized_wallet_will_be_loaded ?? t("txt_decentralized_wallet_will_be_loaded"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
907
902
|
"img",
|
908
903
|
{
|
909
904
|
src: check_circle_default,
|
910
905
|
width: "14px",
|
911
|
-
height: "15px"
|
906
|
+
height: "15px",
|
907
|
+
alt: "Check Icon"
|
912
908
|
}
|
913
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_both_first_party_third_party"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
909
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_both_first_party_third_party ?? t("txt_both_first_party_third_party"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
914
910
|
"img",
|
915
911
|
{
|
916
912
|
src: check_circle_default,
|
917
913
|
width: "14px",
|
918
|
-
height: "15px"
|
914
|
+
height: "15px",
|
915
|
+
alt: "Check Icon"
|
919
916
|
}
|
920
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_all_consented_data_will_be_collected"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
917
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_all_consented_data_will_be_collected ?? t("txt_all_consented_data_will_be_collected"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
921
918
|
"img",
|
922
919
|
{
|
923
920
|
src: check_circle_default,
|
924
921
|
width: "14px",
|
925
|
-
height: "15px"
|
922
|
+
height: "15px",
|
923
|
+
alt: "Check Icon"
|
926
924
|
}
|
927
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_users_can_revoke")))),
|
925
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_users_can_revoke ?? t("txt_users_can_revoke")))),
|
928
926
|
isUpgrade: true
|
929
927
|
}
|
930
928
|
)), /* @__PURE__ */ React.createElement(Col, { lg: 6 }, /* @__PURE__ */ React.createElement(
|
931
929
|
ConsentLevelUprade,
|
932
930
|
{
|
933
931
|
level: 4,
|
934
|
-
levelname: t(
|
932
|
+
levelname: window?.aesirx_analytics_translate?.txt_decentralized_wallet_shield ?? t("txt_decentralized_wallet_shield"),
|
935
933
|
image: wallet_shield_consent_default,
|
936
934
|
content: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
937
935
|
"img",
|
938
936
|
{
|
939
937
|
src: check_circle_default,
|
940
938
|
width: "14px",
|
941
|
-
height: "15px"
|
939
|
+
height: "15px",
|
940
|
+
alt: "Check Icon"
|
942
941
|
}
|
943
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_decentralized_wallet_will_be_loaded"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
942
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralized_wallet_will_be_loaded ?? t("txt_decentralized_wallet_will_be_loaded"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
944
943
|
"img",
|
945
944
|
{
|
946
945
|
src: check_circle_default,
|
947
946
|
width: "14px",
|
948
|
-
height: "15px"
|
947
|
+
height: "15px",
|
948
|
+
alt: "Check Icon"
|
949
949
|
}
|
950
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_both_first_party_third_party"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
950
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_both_first_party_third_party ?? t("txt_both_first_party_third_party"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
951
951
|
"img",
|
952
952
|
{
|
953
953
|
src: check_circle_default,
|
954
954
|
width: "14px",
|
955
|
-
height: "15px"
|
955
|
+
height: "15px",
|
956
|
+
alt: "Check Icon"
|
956
957
|
}
|
957
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_all_consented_data_will_be_collected"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
958
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_all_consented_data_will_be_collected ?? t("txt_all_consented_data_will_be_collected"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
958
959
|
"img",
|
959
960
|
{
|
960
961
|
src: check_circle_default,
|
961
962
|
width: "14px",
|
962
|
-
height: "15px"
|
963
|
+
height: "15px",
|
964
|
+
alt: "Check Icon"
|
963
965
|
}
|
964
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_users_can_revoke_dapp"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
966
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_users_can_revoke_dapp ?? t("txt_users_can_revoke_dapp"))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(
|
965
967
|
"img",
|
966
968
|
{
|
967
969
|
src: check_circle_default,
|
968
970
|
width: "14px",
|
969
|
-
height: "15px"
|
971
|
+
height: "15px",
|
972
|
+
alt: "Check Icon"
|
970
973
|
}
|
971
|
-
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, t("txt_users_can_earn")))),
|
974
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_users_can_earn ?? t("txt_users_can_earn")))),
|
972
975
|
isUpgrade: true
|
973
976
|
}
|
974
977
|
)))), /* @__PURE__ */ React.createElement("div", { className: "d-flex w-100 flex-wrap flex-lg-nowrap justify-content-between mt-4" }, /* @__PURE__ */ React.createElement(
|
@@ -981,7 +984,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
981
984
|
},
|
982
985
|
className: "d-flex align-items-center justify-content-center fs-14 w-100 w-lg-30 me-3 mb-2 mb-lg-0 rounded-pill py-3"
|
983
986
|
},
|
984
|
-
t("txt_back")
|
987
|
+
window?.aesirx_analytics_translate?.txt_back ?? t("txt_back")
|
985
988
|
), /* @__PURE__ */ React.createElement(
|
986
989
|
"div",
|
987
990
|
{
|
@@ -996,7 +999,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
996
999
|
SSOButton,
|
997
1000
|
{
|
998
1001
|
className: "btn btn-success d-flex align-items-center justify-content-center loginSSO rounded-pill py-2 py-lg-3 w-100 fs-14 text-white",
|
999
|
-
text: /* @__PURE__ */ React.createElement(React.Fragment, null, t("txt_continue")),
|
1002
|
+
text: /* @__PURE__ */ React.createElement(React.Fragment, null, window?.aesirx_analytics_translate?.txt_continue ?? t("txt_continue")),
|
1000
1003
|
ssoState: "noscopes",
|
1001
1004
|
onGetData,
|
1002
1005
|
...level === 2 ? { noCreateAccount: true } : {}
|
@@ -1018,7 +1021,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1018
1021
|
"aria-hidden": "true"
|
1019
1022
|
}
|
1020
1023
|
) : /* @__PURE__ */ React.createElement(React.Fragment, null),
|
1021
|
-
t("txt_continue")
|
1024
|
+
window?.aesirx_analytics_translate?.txt_continue ?? t("txt_continue")
|
1022
1025
|
))))) : showRejectedConsent ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
1023
1026
|
TermsComponent,
|
1024
1027
|
{
|
@@ -1055,7 +1058,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1055
1058
|
onClick: handleNotAllow,
|
1056
1059
|
className: "d-flex align-items-center justify-content-center fs-14 w-100 me-3 mb-2 mb-lg-0 rounded-pill py-2 py-lg-3"
|
1057
1060
|
},
|
1058
|
-
t("txt_reject_consent")
|
1061
|
+
window?.aesirx_analytics_translate?.txt_reject_consent ?? t("txt_reject_consent")
|
1059
1062
|
), level === 2 || level === 4 && !account && !address ? /* @__PURE__ */ React.createElement(React.Fragment, null) : /* @__PURE__ */ React.createElement(
|
1060
1063
|
Button,
|
1061
1064
|
{
|
@@ -1071,7 +1074,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1071
1074
|
"aria-hidden": "true"
|
1072
1075
|
}
|
1073
1076
|
) : /* @__PURE__ */ React.createElement(React.Fragment, null),
|
1074
|
-
t("txt_yes_i_consent")
|
1077
|
+
window?.aesirx_analytics_translate?.txt_yes_i_consent ?? t("txt_yes_i_consent")
|
1075
1078
|
), layout === "simple-consent-mode" ? /* @__PURE__ */ React.createElement(React.Fragment, null) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
1076
1079
|
Button,
|
1077
1080
|
{
|
@@ -1081,7 +1084,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1081
1084
|
},
|
1082
1085
|
className: "d-flex align-items-center justify-content-center fs-14 w-100 me-3 mb-2 mb-lg-0 rounded-pill py-2 py-lg-3"
|
1083
1086
|
},
|
1084
|
-
t("txt_change_consent")
|
1087
|
+
window?.aesirx_analytics_translate?.txt_change_consent ?? t("txt_change_consent")
|
1085
1088
|
), " ")) : /* @__PURE__ */ React.createElement(React.Fragment, null)))
|
1086
1089
|
)) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
1087
1090
|
TermsComponent,
|
@@ -1119,7 +1122,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1119
1122
|
onClick: handleNotAllow,
|
1120
1123
|
className: "d-flex align-items-center justify-content-center fs-14 w-100 me-3 mb-2 mb-lg-0 rounded-pill py-2 py-lg-3"
|
1121
1124
|
},
|
1122
|
-
t("txt_reject_consent")
|
1125
|
+
window?.aesirx_analytics_translate?.txt_reject_consent ?? t("txt_reject_consent")
|
1123
1126
|
), level === 2 || level === 4 && !account && !address ? /* @__PURE__ */ React.createElement(React.Fragment, null) : /* @__PURE__ */ React.createElement(
|
1124
1127
|
Button,
|
1125
1128
|
{
|
@@ -1135,7 +1138,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1135
1138
|
"aria-hidden": "true"
|
1136
1139
|
}
|
1137
1140
|
) : /* @__PURE__ */ React.createElement(React.Fragment, null),
|
1138
|
-
t("txt_yes_i_consent")
|
1141
|
+
window?.aesirx_analytics_translate?.txt_yes_i_consent ?? t("txt_yes_i_consent")
|
1139
1142
|
), layout === "simple-consent-mode" ? /* @__PURE__ */ React.createElement(React.Fragment, null) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
1140
1143
|
Button,
|
1141
1144
|
{
|
@@ -1145,7 +1148,7 @@ var ConsentComponentCustomApp = (props) => {
|
|
1145
1148
|
},
|
1146
1149
|
className: "d-flex align-items-center justify-content-center fs-14 w-100 me-3 mb-2 mb-lg-0 rounded-pill py-2 py-lg-3"
|
1147
1150
|
},
|
1148
|
-
t("txt_change_consent")
|
1151
|
+
window?.aesirx_analytics_translate?.txt_change_consent ?? t("txt_change_consent")
|
1149
1152
|
), " ")) : /* @__PURE__ */ React.createElement(React.Fragment, null)))
|
1150
1153
|
))) : /* @__PURE__ */ React.createElement("div", { className: "p-4" }, /* @__PURE__ */ React.createElement(
|
1151
1154
|
ContentLoader,
|