aesirx-analytics 2.2.21 → 2.3.1
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-OHFGKDZJ.js → Consent-5U2D4TQI.js} +4 -4
- package/dist/{ConsentCustom-UTTNESFI.js → ConsentCustom-JINUMJZ5.js} +24 -52
- package/dist/analytics.js +558 -723
- package/dist/{chunk-AS3MN6ER.js → chunk-FFLWRB5N.js} +312 -224
- package/dist/{chunk-NTEWP6UQ.js → chunk-NKOHXSTE.js} +238 -31
- package/dist/index.js +10 -12
- package/package.json +15 -9
- package/dist/chunk-YOHHSMUP.js +0 -182
@@ -3,8 +3,10 @@ import {
|
|
3
3
|
bg_default,
|
4
4
|
getConsents,
|
5
5
|
privacy_default,
|
6
|
+
unBlockScripts,
|
7
|
+
useI18nextContext,
|
6
8
|
useTranslation
|
7
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-NKOHXSTE.js";
|
8
10
|
|
9
11
|
// src/Hooks/config.ts
|
10
12
|
import {
|
@@ -162,6 +164,16 @@ var useConsentStatus = (endpoint, layout, props) => {
|
|
162
164
|
setShowRevoke(status);
|
163
165
|
if (level2 && level2 !== "0") {
|
164
166
|
window.funcAfterConsent && window.funcAfterConsent();
|
167
|
+
window.configBlockJS && unBlockScripts();
|
168
|
+
if (window["aesirx_analytics_degistered_scripts"]) {
|
169
|
+
const blockJSList = window["aesirx_analytics_degistered_scripts"];
|
170
|
+
Object.keys(blockJSList).forEach((key) => {
|
171
|
+
const scriptNode = document.createElement("script");
|
172
|
+
scriptNode.src = blockJSList[key].src + (blockJSList[key].ver ? `?ver=${blockJSList[key].ver}` : "");
|
173
|
+
scriptNode.type = "text/javascript";
|
174
|
+
document.body.appendChild(scriptNode);
|
175
|
+
});
|
176
|
+
}
|
165
177
|
}
|
166
178
|
};
|
167
179
|
return [
|
@@ -831,28 +843,28 @@ var css = `:root {
|
|
831
843
|
--aesirxconsent-danger-rgb: 220, 53, 69;
|
832
844
|
--aesirxconsent-light-rgb: 248, 249, 250;
|
833
845
|
--aesirxconsent-dark-rgb: 34, 35, 40;
|
834
|
-
--aesirxconsent-primary-text-emphasis:
|
835
|
-
--aesirxconsent-secondary-text-emphasis:
|
836
|
-
--aesirxconsent-success-text-emphasis:
|
837
|
-
--aesirxconsent-info-text-emphasis:
|
838
|
-
--aesirxconsent-warning-text-emphasis:
|
839
|
-
--aesirxconsent-danger-text-emphasis:
|
846
|
+
--aesirxconsent-primary-text-emphasis: rgb(7.6, 14, 26.4);
|
847
|
+
--aesirxconsent-secondary-text-emphasis: rgb(39.2, 50.4, 93.6);
|
848
|
+
--aesirxconsent-success-text-emphasis: rgb(10.4, 71.6, 59.2);
|
849
|
+
--aesirxconsent-info-text-emphasis: rgb(5.2, 80.8, 96);
|
850
|
+
--aesirxconsent-warning-text-emphasis: rgb(102, 77.2, 2.8);
|
851
|
+
--aesirxconsent-danger-text-emphasis: rgb(88, 21.2, 27.6);
|
840
852
|
--aesirxconsent-light-text-emphasis: #495057;
|
841
853
|
--aesirxconsent-dark-text-emphasis: #495057;
|
842
|
-
--aesirxconsent-primary-bg-subtle:
|
843
|
-
--aesirxconsent-secondary-bg-subtle:
|
844
|
-
--aesirxconsent-success-bg-subtle:
|
845
|
-
--aesirxconsent-info-bg-subtle:
|
846
|
-
--aesirxconsent-warning-bg-subtle:
|
847
|
-
--aesirxconsent-danger-bg-subtle:
|
848
|
-
--aesirxconsent-light-bg-subtle:
|
854
|
+
--aesirxconsent-primary-bg-subtle: rgb(207.8, 211, 217.2);
|
855
|
+
--aesirxconsent-secondary-bg-subtle: rgb(223.6, 229.2, 250.8);
|
856
|
+
--aesirxconsent-success-bg-subtle: rgb(209.2, 239.8, 233.6);
|
857
|
+
--aesirxconsent-info-bg-subtle: rgb(206.6, 244.4, 252);
|
858
|
+
--aesirxconsent-warning-bg-subtle: rgb(255, 242.6, 205.4);
|
859
|
+
--aesirxconsent-danger-bg-subtle: rgb(248, 214.6, 217.8);
|
860
|
+
--aesirxconsent-light-bg-subtle: rgb(251.5, 252, 252.5);
|
849
861
|
--aesirxconsent-dark-bg-subtle: #ced4da;
|
850
|
-
--aesirxconsent-primary-border-subtle:
|
851
|
-
--aesirxconsent-secondary-border-subtle:
|
852
|
-
--aesirxconsent-success-border-subtle:
|
853
|
-
--aesirxconsent-info-border-subtle:
|
854
|
-
--aesirxconsent-warning-border-subtle:
|
855
|
-
--aesirxconsent-danger-border-subtle:
|
862
|
+
--aesirxconsent-primary-border-subtle: rgb(160.6, 167, 179.4);
|
863
|
+
--aesirxconsent-secondary-border-subtle: rgb(192.2, 203.4, 246.6);
|
864
|
+
--aesirxconsent-success-border-subtle: rgb(163.4, 224.6, 212.2);
|
865
|
+
--aesirxconsent-info-border-subtle: rgb(158.2, 233.8, 249);
|
866
|
+
--aesirxconsent-warning-border-subtle: rgb(255, 230.2, 155.8);
|
867
|
+
--aesirxconsent-danger-border-subtle: rgb(241, 174.2, 180.6);
|
856
868
|
--aesirxconsent-light-border-subtle: #e9ecef;
|
857
869
|
--aesirxconsent-dark-border-subtle: #adb5bd;
|
858
870
|
--aesirxconsent-white-rgb: 255, 255, 255;
|
@@ -882,11 +894,11 @@ var css = `:root {
|
|
882
894
|
--aesirxconsent-link-color: #132342;
|
883
895
|
--aesirxconsent-link-color-rgb: 19, 35, 66;
|
884
896
|
--aesirxconsent-link-decoration: underline;
|
885
|
-
--aesirxconsent-link-hover-color:
|
897
|
+
--aesirxconsent-link-hover-color: rgb(15.2, 28, 52.8);
|
886
898
|
--aesirxconsent-link-hover-color-rgb: 15, 28, 53;
|
887
899
|
--aesirxconsent-code-color: #d63384;
|
888
900
|
--aesirxconsent-highlight-color: #212529;
|
889
|
-
--aesirxconsent-highlight-bg:
|
901
|
+
--aesirxconsent-highlight-bg: rgb(255, 242.6, 205.4);
|
890
902
|
--aesirxconsent-border-width: 1px;
|
891
903
|
--aesirxconsent-border-style: solid;
|
892
904
|
--aesirxconsent-border-color: #dee2e6;
|
@@ -915,8 +927,8 @@ var css = `:root {
|
|
915
927
|
color-scheme: dark;
|
916
928
|
--aesirxconsent-body-color: #dee2e6;
|
917
929
|
--aesirxconsent-body-color-rgb: 222, 226, 230;
|
918
|
-
--aesirxconsent-body-bg: #
|
919
|
-
--aesirxconsent-body-bg-rgb:
|
930
|
+
--aesirxconsent-body-bg: #212529;
|
931
|
+
--aesirxconsent-body-bg-rgb: 33, 37, 41;
|
920
932
|
--aesirxconsent-emphasis-color: #fff;
|
921
933
|
--aesirxconsent-emphasis-color-rgb: 255, 255, 255;
|
922
934
|
--aesirxconsent-secondary-color: rgba(222, 226, 230, 0.75);
|
@@ -925,46 +937,46 @@ var css = `:root {
|
|
925
937
|
--aesirxconsent-secondary-bg-rgb: 52, 58, 64;
|
926
938
|
--aesirxconsent-tertiary-color: rgba(222, 226, 230, 0.5);
|
927
939
|
--aesirxconsent-tertiary-color-rgb: 222, 226, 230;
|
928
|
-
--aesirxconsent-tertiary-bg:
|
940
|
+
--aesirxconsent-tertiary-bg: rgb(42.5, 47.5, 52.5);
|
929
941
|
--aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
|
930
|
-
--aesirxconsent-primary-text-emphasis:
|
931
|
-
--aesirxconsent-secondary-text-emphasis:
|
932
|
-
--aesirxconsent-success-text-emphasis:
|
933
|
-
--aesirxconsent-info-text-emphasis:
|
934
|
-
--aesirxconsent-warning-text-emphasis:
|
935
|
-
--aesirxconsent-danger-text-emphasis:
|
942
|
+
--aesirxconsent-primary-text-emphasis: rgb(113.4, 123, 141.6);
|
943
|
+
--aesirxconsent-secondary-text-emphasis: rgb(160.8, 177.6, 242.4);
|
944
|
+
--aesirxconsent-success-text-emphasis: rgb(117.6, 209.4, 190.8);
|
945
|
+
--aesirxconsent-info-text-emphasis: rgb(109.8, 223.2, 246);
|
946
|
+
--aesirxconsent-warning-text-emphasis: rgb(255, 217.8, 106.2);
|
947
|
+
--aesirxconsent-danger-text-emphasis: rgb(234, 133.8, 143.4);
|
936
948
|
--aesirxconsent-light-text-emphasis: #f8f9fa;
|
937
949
|
--aesirxconsent-dark-text-emphasis: #dee2e6;
|
938
|
-
--aesirxconsent-primary-bg-subtle:
|
939
|
-
--aesirxconsent-secondary-bg-subtle:
|
940
|
-
--aesirxconsent-success-bg-subtle:
|
941
|
-
--aesirxconsent-info-bg-subtle:
|
942
|
-
--aesirxconsent-warning-bg-subtle:
|
943
|
-
--aesirxconsent-danger-bg-subtle:
|
944
|
-
--aesirxconsent-light-bg-subtle: #
|
945
|
-
--aesirxconsent-dark-bg-subtle: #
|
946
|
-
--aesirxconsent-primary-border-subtle:
|
947
|
-
--aesirxconsent-secondary-border-subtle:
|
948
|
-
--aesirxconsent-success-border-subtle:
|
949
|
-
--aesirxconsent-info-border-subtle:
|
950
|
-
--aesirxconsent-warning-border-subtle:
|
951
|
-
--aesirxconsent-danger-border-subtle:
|
950
|
+
--aesirxconsent-primary-bg-subtle: rgb(3.8, 7, 13.2);
|
951
|
+
--aesirxconsent-secondary-bg-subtle: rgb(19.6, 25.2, 46.8);
|
952
|
+
--aesirxconsent-success-bg-subtle: rgb(5.2, 35.8, 29.6);
|
953
|
+
--aesirxconsent-info-bg-subtle: rgb(2.6, 40.4, 48);
|
954
|
+
--aesirxconsent-warning-bg-subtle: rgb(51, 38.6, 1.4);
|
955
|
+
--aesirxconsent-danger-bg-subtle: rgb(44, 10.6, 13.8);
|
956
|
+
--aesirxconsent-light-bg-subtle: #343a40;
|
957
|
+
--aesirxconsent-dark-bg-subtle: #1a1d20;
|
958
|
+
--aesirxconsent-primary-border-subtle: rgb(11.4, 21, 39.6);
|
959
|
+
--aesirxconsent-secondary-border-subtle: rgb(58.8, 75.6, 140.4);
|
960
|
+
--aesirxconsent-success-border-subtle: rgb(15.6, 107.4, 88.8);
|
961
|
+
--aesirxconsent-info-border-subtle: rgb(7.8, 121.2, 144);
|
962
|
+
--aesirxconsent-warning-border-subtle: rgb(153, 115.8, 4.2);
|
963
|
+
--aesirxconsent-danger-border-subtle: rgb(132, 31.8, 41.4);
|
952
964
|
--aesirxconsent-light-border-subtle: #495057;
|
953
|
-
--aesirxconsent-dark-border-subtle: #
|
965
|
+
--aesirxconsent-dark-border-subtle: #343a40;
|
954
966
|
--aesirxconsent-heading-color: inherit;
|
955
|
-
--aesirxconsent-link-color:
|
956
|
-
--aesirxconsent-link-hover-color:
|
957
|
-
--aesirxconsent-link-color-rgb:
|
958
|
-
--aesirxconsent-link-hover-color-rgb:
|
959
|
-
--aesirxconsent-code-color:
|
967
|
+
--aesirxconsent-link-color: rgb(113.4, 123, 141.6);
|
968
|
+
--aesirxconsent-link-hover-color: rgb(141.72, 149.4, 164.28);
|
969
|
+
--aesirxconsent-link-color-rgb: 113, 123, 142;
|
970
|
+
--aesirxconsent-link-hover-color-rgb: 142, 149, 164;
|
971
|
+
--aesirxconsent-code-color: rgb(230.4, 132.6, 181.2);
|
960
972
|
--aesirxconsent-highlight-color: #dee2e6;
|
961
|
-
--aesirxconsent-highlight-bg:
|
962
|
-
--aesirxconsent-border-color: #
|
973
|
+
--aesirxconsent-highlight-bg: rgb(102, 77.2, 2.8);
|
974
|
+
--aesirxconsent-border-color: #495057;
|
963
975
|
--aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
|
964
|
-
--aesirxconsent-form-valid-color:
|
965
|
-
--aesirxconsent-form-valid-border-color:
|
966
|
-
--aesirxconsent-form-invalid-color:
|
967
|
-
--aesirxconsent-form-invalid-border-color:
|
976
|
+
--aesirxconsent-form-valid-color: rgb(117, 183, 152.4);
|
977
|
+
--aesirxconsent-form-valid-border-color: rgb(117, 183, 152.4);
|
978
|
+
--aesirxconsent-form-invalid-color: rgb(234, 133.8, 143.4);
|
979
|
+
--aesirxconsent-form-invalid-border-color: rgb(234, 133.8, 143.4);
|
968
980
|
}
|
969
981
|
|
970
982
|
.aesirxconsent {
|
@@ -1085,7 +1097,6 @@ var css = `:root {
|
|
1085
1097
|
display: flex;
|
1086
1098
|
flex-shrink: 0;
|
1087
1099
|
align-items: center;
|
1088
|
-
justify-content: space-between;
|
1089
1100
|
padding: var(--aesirxconsent-modal-header-padding);
|
1090
1101
|
border-bottom: var(--aesirxconsent-modal-header-border-width) solid var(--aesirxconsent-modal-header-border-color);
|
1091
1102
|
border-top-left-radius: var(--aesirxconsent-modal-inner-border-radius);
|
@@ -1735,14 +1746,11 @@ var css = `:root {
|
|
1735
1746
|
.aesirxconsent .offcanvas-header {
|
1736
1747
|
display: flex;
|
1737
1748
|
align-items: center;
|
1738
|
-
justify-content: space-between;
|
1739
1749
|
padding: var(--aesirxconsent-offcanvas-padding-y) var(--aesirxconsent-offcanvas-padding-x);
|
1740
1750
|
}
|
1741
1751
|
.aesirxconsent .offcanvas-header .btn-close {
|
1742
1752
|
padding: calc(var(--aesirxconsent-offcanvas-padding-y) * 0.5) calc(var(--aesirxconsent-offcanvas-padding-x) * 0.5);
|
1743
|
-
margin
|
1744
|
-
margin-right: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-x));
|
1745
|
-
margin-bottom: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y));
|
1753
|
+
margin: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y)) calc(-0.5 * var(--aesirxconsent-offcanvas-padding-x)) calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y)) auto;
|
1746
1754
|
}
|
1747
1755
|
.aesirxconsent .offcanvas-title {
|
1748
1756
|
margin-bottom: 0;
|
@@ -1821,6 +1829,9 @@ var css = `:root {
|
|
1821
1829
|
.btn-check:checked + .aesirxconsent .btn:focus-visible, :not(.btn-check) + .aesirxconsent .btn:active:focus-visible, .aesirxconsent .btn:first-child:active:focus-visible, .aesirxconsent .btn.active:focus-visible, .aesirxconsent .btn.show:focus-visible {
|
1822
1830
|
box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
|
1823
1831
|
}
|
1832
|
+
.btn-check:checked:focus-visible + .aesirxconsent .btn {
|
1833
|
+
box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
|
1834
|
+
}
|
1824
1835
|
.aesirxconsent .btn:disabled, .aesirxconsent .btn.disabled, fieldset:disabled .aesirxconsent .btn {
|
1825
1836
|
color: var(--aesirxconsent-btn-disabled-color);
|
1826
1837
|
pointer-events: none;
|
@@ -1833,12 +1844,12 @@ var css = `:root {
|
|
1833
1844
|
--aesirxconsent-btn-bg: #132342;
|
1834
1845
|
--aesirxconsent-btn-border-color: #132342;
|
1835
1846
|
--aesirxconsent-btn-hover-color: #fff;
|
1836
|
-
--aesirxconsent-btn-hover-bg:
|
1837
|
-
--aesirxconsent-btn-hover-border-color:
|
1847
|
+
--aesirxconsent-btn-hover-bg: rgb(16.15, 29.75, 56.1);
|
1848
|
+
--aesirxconsent-btn-hover-border-color: rgb(15.2, 28, 52.8);
|
1838
1849
|
--aesirxconsent-btn-focus-shadow-rgb: 54, 68, 94;
|
1839
1850
|
--aesirxconsent-btn-active-color: #fff;
|
1840
|
-
--aesirxconsent-btn-active-bg:
|
1841
|
-
--aesirxconsent-btn-active-border-color:
|
1851
|
+
--aesirxconsent-btn-active-bg: rgb(15.2, 28, 52.8);
|
1852
|
+
--aesirxconsent-btn-active-border-color: rgb(14.25, 26.25, 49.5);
|
1842
1853
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1843
1854
|
--aesirxconsent-btn-disabled-color: #fff;
|
1844
1855
|
--aesirxconsent-btn-disabled-bg: #132342;
|
@@ -1849,12 +1860,12 @@ var css = `:root {
|
|
1849
1860
|
--aesirxconsent-btn-bg: #627eea;
|
1850
1861
|
--aesirxconsent-btn-border-color: #627eea;
|
1851
1862
|
--aesirxconsent-btn-hover-color: #000;
|
1852
|
-
--aesirxconsent-btn-hover-bg:
|
1853
|
-
--aesirxconsent-btn-hover-border-color:
|
1863
|
+
--aesirxconsent-btn-hover-bg: rgb(121.55, 145.35, 237.15);
|
1864
|
+
--aesirxconsent-btn-hover-border-color: rgb(113.7, 138.9, 236.1);
|
1854
1865
|
--aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
|
1855
1866
|
--aesirxconsent-btn-active-color: #000;
|
1856
|
-
--aesirxconsent-btn-active-bg:
|
1857
|
-
--aesirxconsent-btn-active-border-color:
|
1867
|
+
--aesirxconsent-btn-active-bg: rgb(129.4, 151.8, 238.2);
|
1868
|
+
--aesirxconsent-btn-active-border-color: rgb(113.7, 138.9, 236.1);
|
1858
1869
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1859
1870
|
--aesirxconsent-btn-disabled-color: #000;
|
1860
1871
|
--aesirxconsent-btn-disabled-bg: #627eea;
|
@@ -1865,12 +1876,12 @@ var css = `:root {
|
|
1865
1876
|
--aesirxconsent-btn-bg: #1ab394;
|
1866
1877
|
--aesirxconsent-btn-border-color: #1ab394;
|
1867
1878
|
--aesirxconsent-btn-hover-color: #000;
|
1868
|
-
--aesirxconsent-btn-hover-bg:
|
1869
|
-
--aesirxconsent-btn-hover-border-color:
|
1879
|
+
--aesirxconsent-btn-hover-bg: rgb(60.35, 190.4, 164.05);
|
1880
|
+
--aesirxconsent-btn-hover-border-color: rgb(48.9, 186.6, 158.7);
|
1870
1881
|
--aesirxconsent-btn-focus-shadow-rgb: 22, 152, 126;
|
1871
1882
|
--aesirxconsent-btn-active-color: #000;
|
1872
|
-
--aesirxconsent-btn-active-bg:
|
1873
|
-
--aesirxconsent-btn-active-border-color:
|
1883
|
+
--aesirxconsent-btn-active-bg: rgb(71.8, 194.2, 169.4);
|
1884
|
+
--aesirxconsent-btn-active-border-color: rgb(48.9, 186.6, 158.7);
|
1874
1885
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1875
1886
|
--aesirxconsent-btn-disabled-color: #000;
|
1876
1887
|
--aesirxconsent-btn-disabled-bg: #1ab394;
|
@@ -1881,12 +1892,12 @@ var css = `:root {
|
|
1881
1892
|
--aesirxconsent-btn-bg: #0dcaf0;
|
1882
1893
|
--aesirxconsent-btn-border-color: #0dcaf0;
|
1883
1894
|
--aesirxconsent-btn-hover-color: #000;
|
1884
|
-
--aesirxconsent-btn-hover-bg:
|
1885
|
-
--aesirxconsent-btn-hover-border-color:
|
1895
|
+
--aesirxconsent-btn-hover-bg: rgb(49.3, 209.95, 242.25);
|
1896
|
+
--aesirxconsent-btn-hover-border-color: rgb(37.2, 207.3, 241.5);
|
1886
1897
|
--aesirxconsent-btn-focus-shadow-rgb: 11, 172, 204;
|
1887
1898
|
--aesirxconsent-btn-active-color: #000;
|
1888
|
-
--aesirxconsent-btn-active-bg:
|
1889
|
-
--aesirxconsent-btn-active-border-color:
|
1899
|
+
--aesirxconsent-btn-active-bg: rgb(61.4, 212.6, 243);
|
1900
|
+
--aesirxconsent-btn-active-border-color: rgb(37.2, 207.3, 241.5);
|
1890
1901
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1891
1902
|
--aesirxconsent-btn-disabled-color: #000;
|
1892
1903
|
--aesirxconsent-btn-disabled-bg: #0dcaf0;
|
@@ -1897,12 +1908,12 @@ var css = `:root {
|
|
1897
1908
|
--aesirxconsent-btn-bg: #ffc107;
|
1898
1909
|
--aesirxconsent-btn-border-color: #ffc107;
|
1899
1910
|
--aesirxconsent-btn-hover-color: #000;
|
1900
|
-
--aesirxconsent-btn-hover-bg:
|
1901
|
-
--aesirxconsent-btn-hover-border-color:
|
1911
|
+
--aesirxconsent-btn-hover-bg: rgb(255, 202.3, 44.2);
|
1912
|
+
--aesirxconsent-btn-hover-border-color: rgb(255, 199.2, 31.8);
|
1902
1913
|
--aesirxconsent-btn-focus-shadow-rgb: 217, 164, 6;
|
1903
1914
|
--aesirxconsent-btn-active-color: #000;
|
1904
|
-
--aesirxconsent-btn-active-bg:
|
1905
|
-
--aesirxconsent-btn-active-border-color:
|
1915
|
+
--aesirxconsent-btn-active-bg: rgb(255, 205.4, 56.6);
|
1916
|
+
--aesirxconsent-btn-active-border-color: rgb(255, 199.2, 31.8);
|
1906
1917
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1907
1918
|
--aesirxconsent-btn-disabled-color: #000;
|
1908
1919
|
--aesirxconsent-btn-disabled-bg: #ffc107;
|
@@ -1913,12 +1924,12 @@ var css = `:root {
|
|
1913
1924
|
--aesirxconsent-btn-bg: #dc3545;
|
1914
1925
|
--aesirxconsent-btn-border-color: #dc3545;
|
1915
1926
|
--aesirxconsent-btn-hover-color: #fff;
|
1916
|
-
--aesirxconsent-btn-hover-bg:
|
1917
|
-
--aesirxconsent-btn-hover-border-color:
|
1927
|
+
--aesirxconsent-btn-hover-bg: rgb(187, 45.05, 58.65);
|
1928
|
+
--aesirxconsent-btn-hover-border-color: rgb(176, 42.4, 55.2);
|
1918
1929
|
--aesirxconsent-btn-focus-shadow-rgb: 225, 83, 97;
|
1919
1930
|
--aesirxconsent-btn-active-color: #fff;
|
1920
|
-
--aesirxconsent-btn-active-bg:
|
1921
|
-
--aesirxconsent-btn-active-border-color:
|
1931
|
+
--aesirxconsent-btn-active-bg: rgb(176, 42.4, 55.2);
|
1932
|
+
--aesirxconsent-btn-active-border-color: rgb(165, 39.75, 51.75);
|
1922
1933
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1923
1934
|
--aesirxconsent-btn-disabled-color: #fff;
|
1924
1935
|
--aesirxconsent-btn-disabled-bg: #dc3545;
|
@@ -1929,12 +1940,12 @@ var css = `:root {
|
|
1929
1940
|
--aesirxconsent-btn-bg: #f8f9fa;
|
1930
1941
|
--aesirxconsent-btn-border-color: #f8f9fa;
|
1931
1942
|
--aesirxconsent-btn-hover-color: #000;
|
1932
|
-
--aesirxconsent-btn-hover-bg:
|
1933
|
-
--aesirxconsent-btn-hover-border-color:
|
1943
|
+
--aesirxconsent-btn-hover-bg: rgb(210.8, 211.65, 212.5);
|
1944
|
+
--aesirxconsent-btn-hover-border-color: rgb(198.4, 199.2, 200);
|
1934
1945
|
--aesirxconsent-btn-focus-shadow-rgb: 211, 212, 213;
|
1935
1946
|
--aesirxconsent-btn-active-color: #000;
|
1936
|
-
--aesirxconsent-btn-active-bg:
|
1937
|
-
--aesirxconsent-btn-active-border-color:
|
1947
|
+
--aesirxconsent-btn-active-bg: rgb(198.4, 199.2, 200);
|
1948
|
+
--aesirxconsent-btn-active-border-color: rgb(186, 186.75, 187.5);
|
1938
1949
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1939
1950
|
--aesirxconsent-btn-disabled-color: #000;
|
1940
1951
|
--aesirxconsent-btn-disabled-bg: #f8f9fa;
|
@@ -1945,12 +1956,12 @@ var css = `:root {
|
|
1945
1956
|
--aesirxconsent-btn-bg: #222328;
|
1946
1957
|
--aesirxconsent-btn-border-color: #222328;
|
1947
1958
|
--aesirxconsent-btn-hover-color: #fff;
|
1948
|
-
--aesirxconsent-btn-hover-bg:
|
1949
|
-
--aesirxconsent-btn-hover-border-color:
|
1959
|
+
--aesirxconsent-btn-hover-bg: rgb(67.15, 68, 72.25);
|
1960
|
+
--aesirxconsent-btn-hover-border-color: rgb(56.1, 57, 61.5);
|
1950
1961
|
--aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
|
1951
1962
|
--aesirxconsent-btn-active-color: #fff;
|
1952
|
-
--aesirxconsent-btn-active-bg:
|
1953
|
-
--aesirxconsent-btn-active-border-color:
|
1963
|
+
--aesirxconsent-btn-active-bg: rgb(78.2, 79, 83);
|
1964
|
+
--aesirxconsent-btn-active-border-color: rgb(56.1, 57, 61.5);
|
1954
1965
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1955
1966
|
--aesirxconsent-btn-disabled-color: #fff;
|
1956
1967
|
--aesirxconsent-btn-disabled-bg: #222328;
|
@@ -3994,7 +4005,7 @@ var css = `:root {
|
|
3994
4005
|
.aesirxconsent .form-control:focus {
|
3995
4006
|
color: var(--aesirxconsent-body-color);
|
3996
4007
|
background-color: var(--aesirxconsent-body-bg);
|
3997
|
-
border-color:
|
4008
|
+
border-color: rgb(137, 145, 160.5);
|
3998
4009
|
outline: 0;
|
3999
4010
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4000
4011
|
}
|
@@ -4133,7 +4144,7 @@ var css = `:root {
|
|
4133
4144
|
}
|
4134
4145
|
}
|
4135
4146
|
.aesirxconsent .form-select:focus {
|
4136
|
-
border-color:
|
4147
|
+
border-color: rgb(137, 145, 160.5);
|
4137
4148
|
outline: 0;
|
4138
4149
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4139
4150
|
}
|
@@ -4211,7 +4222,7 @@ var css = `:root {
|
|
4211
4222
|
filter: brightness(90%);
|
4212
4223
|
}
|
4213
4224
|
.aesirxconsent .form-check-input:focus {
|
4214
|
-
border-color:
|
4225
|
+
border-color: rgb(137, 145, 160.5);
|
4215
4226
|
outline: 0;
|
4216
4227
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4217
4228
|
}
|
@@ -4257,7 +4268,7 @@ var css = `:root {
|
|
4257
4268
|
}
|
4258
4269
|
}
|
4259
4270
|
.aesirxconsent .form-switch .form-check-input:focus {
|
4260
|
-
--aesirxconsent-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%
|
4271
|
+
--aesirxconsent-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28137, 145, 160.5%29'/%3e%3c/svg%3e");
|
4261
4272
|
}
|
4262
4273
|
.aesirxconsent .form-switch .form-check-input:checked {
|
4263
4274
|
background-position: right center;
|
@@ -4323,7 +4334,7 @@ var css = `:root {
|
|
4323
4334
|
}
|
4324
4335
|
}
|
4325
4336
|
.aesirxconsent .form-range::-webkit-slider-thumb:active {
|
4326
|
-
background-color:
|
4337
|
+
background-color: rgb(184.2, 189, 198.3);
|
4327
4338
|
}
|
4328
4339
|
.aesirxconsent .form-range::-webkit-slider-runnable-track {
|
4329
4340
|
width: 100%;
|
@@ -4349,7 +4360,7 @@ var css = `:root {
|
|
4349
4360
|
}
|
4350
4361
|
}
|
4351
4362
|
.aesirxconsent .form-range::-moz-range-thumb:active {
|
4352
|
-
background-color:
|
4363
|
+
background-color: rgb(184.2, 189, 198.3);
|
4353
4364
|
}
|
4354
4365
|
.aesirxconsent .form-range::-moz-range-track {
|
4355
4366
|
width: 100%;
|
@@ -9742,8 +9753,8 @@ var css = `:root {
|
|
9742
9753
|
--aesirxconsent-btn-hover-border-color: #222328;
|
9743
9754
|
--aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
|
9744
9755
|
--aesirxconsent-btn-active-color: #fff;
|
9745
|
-
--aesirxconsent-btn-active-bg:
|
9746
|
-
--aesirxconsent-btn-active-border-color:
|
9756
|
+
--aesirxconsent-btn-active-bg: rgb(27.2, 28, 32);
|
9757
|
+
--aesirxconsent-btn-active-border-color: rgb(25.5, 26.25, 30);
|
9747
9758
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9748
9759
|
--aesirxconsent-btn-disabled-color: #fff;
|
9749
9760
|
--aesirxconsent-btn-disabled-bg: #222328;
|
@@ -9759,7 +9770,7 @@ var css = `:root {
|
|
9759
9770
|
--aesirxconsent-btn-focus-shadow-rgb: 27, 157, 132;
|
9760
9771
|
--aesirxconsent-btn-active-color: #000;
|
9761
9772
|
--aesirxconsent-btn-active-bg: white;
|
9762
|
-
--aesirxconsent-btn-active-border-color:
|
9773
|
+
--aesirxconsent-btn-active-border-color: rgb(48.9, 186.6, 158.7);
|
9763
9774
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9764
9775
|
--aesirxconsent-btn-disabled-color: #000;
|
9765
9776
|
--aesirxconsent-btn-disabled-bg: #fff;
|
@@ -9774,8 +9785,8 @@ var css = `:root {
|
|
9774
9785
|
--aesirxconsent-btn-hover-border-color: #a5a4b5;
|
9775
9786
|
--aesirxconsent-btn-focus-shadow-rgb: 179, 178, 192;
|
9776
9787
|
--aesirxconsent-btn-active-color: #000;
|
9777
|
-
--aesirxconsent-btn-active-bg:
|
9778
|
-
--aesirxconsent-btn-active-border-color:
|
9788
|
+
--aesirxconsent-btn-active-bg: rgb(132, 131.2, 144.8);
|
9789
|
+
--aesirxconsent-btn-active-border-color: rgb(123.75, 123, 135.75);
|
9779
9790
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9780
9791
|
--aesirxconsent-btn-disabled-color: #000;
|
9781
9792
|
--aesirxconsent-btn-disabled-bg: #a5a4b5;
|
@@ -10143,6 +10154,18 @@ var css = `:root {
|
|
10143
10154
|
.aesirxconsent.opt-in-consent .btn {
|
10144
10155
|
padding: 13px 60px 13px 60px;
|
10145
10156
|
}
|
10157
|
+
.aesirxconsent .language-switcher *::-webkit-scrollbar-track {
|
10158
|
+
border-radius: 5px;
|
10159
|
+
background-color: #e9e9e9;
|
10160
|
+
}
|
10161
|
+
.aesirxconsent .language-switcher *::-webkit-scrollbar {
|
10162
|
+
width: 4px;
|
10163
|
+
background-color: #e9e9e9;
|
10164
|
+
}
|
10165
|
+
.aesirxconsent .language-switcher *::-webkit-scrollbar-thumb {
|
10166
|
+
border-radius: 5px;
|
10167
|
+
background-color: #1ab394;
|
10168
|
+
}
|
10146
10169
|
|
10147
10170
|
body.modal-open .aesirxconsent .offcanvas-backdrop,
|
10148
10171
|
body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
|
@@ -10199,6 +10222,27 @@ body .aesirxsso .btn {
|
|
10199
10222
|
--aesirxconsent-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
|
10200
10223
|
}
|
10201
10224
|
|
10225
|
+
.video-placeholder-normal,
|
10226
|
+
.video-placeholder-youtube {
|
10227
|
+
background-size: 100% 100%;
|
10228
|
+
background-position: center;
|
10229
|
+
background-repeat: no-repeat;
|
10230
|
+
background-color: rgba(178, 176, 176, 0.3490196078);
|
10231
|
+
position: relative;
|
10232
|
+
display: flex;
|
10233
|
+
align-items: center;
|
10234
|
+
justify-content: center;
|
10235
|
+
max-width: 100%;
|
10236
|
+
}
|
10237
|
+
|
10238
|
+
.video-placeholder-text-normal,
|
10239
|
+
.video-placeholder-text-youtube {
|
10240
|
+
text-align: center;
|
10241
|
+
padding: 10px 16px;
|
10242
|
+
border: 1px solid;
|
10243
|
+
border-radius: 2px;
|
10244
|
+
}
|
10245
|
+
|
10202
10246
|
.aesirxsso .fade, .aesirxsso.fade,
|
10203
10247
|
.aesirxconsent .fade,
|
10204
10248
|
.aesirxconsent.fade {
|
@@ -10270,8 +10314,73 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
|
|
10270
10314
|
// src/Assets/check_circle.svg
|
10271
10315
|
var check_circle_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="7" cy="7" r="7" fill="%231AB394"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M7 1.4C3.90721 1.4 1.4 3.90721 1.4 7C1.4 10.0928 3.90721 12.6 7 12.6C10.0928 12.6 12.6 10.0928 12.6 7C12.6 3.90721 10.0928 1.4 7 1.4ZM0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7Z" fill="%231AB394"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M9.59499 5.10542C9.86835 5.37878 9.86835 5.822 9.59499 6.09537L6.79499 8.89537C6.52162 9.16873 6.0784 9.16873 5.80504 8.89537L4.40504 7.49537C4.13167 7.222 4.13167 6.77878 4.40504 6.50542C4.6784 6.23205 5.12162 6.23205 5.39499 6.50542L6.30001 7.41044L8.60504 5.10542C8.8784 4.83205 9.32162 4.83205 9.59499 5.10542Z" fill="white"/>%0A</svg>%0A';
|
10272
10316
|
|
10317
|
+
// src/Components/ConsentHeader.tsx
|
10318
|
+
import React from "react";
|
10319
|
+
import Select from "react-select";
|
10320
|
+
import i18n from "i18next";
|
10321
|
+
var ConsentHeader = ({ isRejectedLayout, languageSwitcher }) => {
|
10322
|
+
const { t } = useTranslation();
|
10323
|
+
const { listLanguages } = useI18nextContext();
|
10324
|
+
const currentLanguage = listLanguages.filter(
|
10325
|
+
(lang) => lang.value == i18n.language || i18n.language?.includes(lang.value)
|
10326
|
+
);
|
10327
|
+
const customStyles = {
|
10328
|
+
menuList: (base) => ({
|
10329
|
+
...base,
|
10330
|
+
maxHeight: "160px"
|
10331
|
+
})
|
10332
|
+
};
|
10333
|
+
return /* @__PURE__ */ React.createElement(
|
10334
|
+
"div",
|
10335
|
+
{
|
10336
|
+
className: `rounded-top align-items-center justify-content-between p-2 p-lg-3 fw-medium flex-wrap py-2 py-lg-3 px-lg-4 header-consent-bg ${isRejectedLayout ? "d-none" : "d-flex"}`,
|
10337
|
+
style: {
|
10338
|
+
borderBottom: "1px solid #DEDEDE"
|
10339
|
+
}
|
10340
|
+
},
|
10341
|
+
/* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, window?.aesirx_analytics_translate?.txt_tracking_data_privacy ?? t("txt_tracking_data_privacy")),
|
10342
|
+
languageSwitcher ? /* @__PURE__ */ React.createElement("div", { className: "language-switcher ms-auto me-2 d-flex align-items-center fs-14" }, /* @__PURE__ */ React.createElement(
|
10343
|
+
Select,
|
10344
|
+
{
|
10345
|
+
styles: customStyles,
|
10346
|
+
components: {
|
10347
|
+
IndicatorSeparator: () => null
|
10348
|
+
},
|
10349
|
+
isClearable: false,
|
10350
|
+
isSearchable: false,
|
10351
|
+
placeholder: t("txt_select"),
|
10352
|
+
options: listLanguages,
|
10353
|
+
className: "shadow-none",
|
10354
|
+
onChange: (data) => {
|
10355
|
+
i18n.changeLanguage(data.value);
|
10356
|
+
},
|
10357
|
+
defaultValue: currentLanguage?.length ? currentLanguage : [{ label: "English", value: "en" }]
|
10358
|
+
}
|
10359
|
+
)) : /* @__PURE__ */ React.createElement(React.Fragment, null),
|
10360
|
+
/* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, /* @__PURE__ */ React.createElement(
|
10361
|
+
"a",
|
10362
|
+
{
|
10363
|
+
href: "https://shield.aesirx.io/",
|
10364
|
+
rel: "noreferrer",
|
10365
|
+
target: "_blank",
|
10366
|
+
className: "minimize-shield-wrapper position-relative text-decoration-none"
|
10367
|
+
},
|
10368
|
+
/* @__PURE__ */ React.createElement(
|
10369
|
+
"img",
|
10370
|
+
{
|
10371
|
+
className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
|
10372
|
+
src: bg_default,
|
10373
|
+
alt: "Background Image"
|
10374
|
+
}
|
10375
|
+
),
|
10376
|
+
/* @__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"))
|
10377
|
+
))
|
10378
|
+
);
|
10379
|
+
};
|
10380
|
+
var ConsentHeader_default = ConsentHeader;
|
10381
|
+
|
10273
10382
|
// src/Components/Terms.tsx
|
10274
|
-
import
|
10383
|
+
import React2, { Fragment, useState as useState2 } from "react";
|
10275
10384
|
|
10276
10385
|
// src/Assets/aesirx.svg
|
10277
10386
|
var aesirx_default = 'data:image/svg+xml,<svg width="83" height="22" viewBox="0 0 83 22" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.16061 8.27141L3.3678 16.0569H9.11771L6.16061 8.27141ZM6.89989 6.42969L12.7319 21.7494H11.2534L9.44627 17.1451H2.95709L1.31426 21.7494H0L5.42134 6.42969H6.89989Z" fill="white"/>%0A<path d="M19.4648 21.7494V6.42969H27.5968V7.43426H20.8612V13.378H25.379V14.3826H20.8612V20.6612H28.0897V21.7494H19.4648Z" fill="white"/>%0A<path d="M34.9104 19.9909C35.4033 20.242 35.9783 20.4095 36.4711 20.5769C37.1283 20.7443 37.8675 20.9117 38.6068 20.9117C39.6747 20.9117 40.6604 20.7443 41.4818 20.1583C42.1389 19.656 42.4675 18.9026 42.4675 18.1492C42.4675 16.3912 41.0711 15.1354 38.3604 14.382C35.6497 13.6286 34.2533 12.1217 34.3355 9.77772C34.3355 8.68943 34.8283 7.76857 35.6497 7.09885C36.6354 6.34542 37.7854 5.92685 39.0175 6.01056C39.7568 6.01056 40.4139 6.09428 41.0711 6.26171C41.646 6.42914 42.221 6.59656 42.7139 6.84771L42.221 7.936C41.8103 7.76857 41.3996 7.60114 40.9068 7.43371C40.3318 7.26628 39.6747 7.18257 39.0175 7.18257C38.114 7.18257 37.2925 7.35 36.5533 7.85228C36.0604 8.18714 35.7319 9.02429 35.7319 9.77772C35.7319 11.5357 37.1283 12.8752 39.8389 13.6286C42.5496 14.382 43.946 15.8889 43.8639 18.1492C43.8639 19.2375 43.4532 20.242 42.4675 20.9117C41.3175 21.7489 40.1675 22 38.8532 22C38.114 22 37.1283 21.9163 36.389 21.7489C35.814 21.5815 35.1569 21.3303 34.664 20.9955L34.9104 19.9909Z" fill="white"/>%0A<path d="M53.0644 6.42969H51.668V21.7494H53.0644V6.42969Z" fill="white"/>%0A<path d="M71.0549 21.6657L67.5228 15.136C67.5228 15.136 66.7835 15.2197 65.7978 15.2197H63.58V21.582H62.1836V6.42969H66.0442C67.3585 6.42969 68.7549 6.68083 69.9049 7.43426C70.9727 8.18769 71.5477 9.44341 71.4656 10.7828C71.4656 11.7037 71.2192 12.5408 70.7263 13.2943C70.2335 13.964 69.5763 14.55 68.7549 14.8011L72.6156 21.6657H71.0549ZM66.0442 7.60169H63.4979V14.0477H65.7978C67.1121 14.0477 68.0156 13.7966 68.7549 13.378C69.6585 12.8757 70.0692 12.0386 70.0692 10.7828C70.0692 9.52712 69.8228 8.60627 69.0013 8.18769C68.0156 7.76912 67.2764 7.60169 66.0442 7.60169Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M77.3984 15.5025V0H78.7885V15.5025H77.3984Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M81.9532 12.5256L73.6562 3.74439L74.6575 2.76172L82.9545 11.5429L81.9532 12.5256Z" fill="white"/>%0A</svg>%0A';
|
@@ -10347,7 +10456,8 @@ var TermsComponent = ({
|
|
10347
10456
|
isCustom = false,
|
10348
10457
|
layout,
|
10349
10458
|
isRejectedLayout,
|
10350
|
-
customConsentText
|
10459
|
+
customConsentText,
|
10460
|
+
languageSwitcher
|
10351
10461
|
}) => {
|
10352
10462
|
const { t } = useTranslation();
|
10353
10463
|
const handleReadmore = (status) => {
|
@@ -10355,37 +10465,14 @@ var TermsComponent = ({
|
|
10355
10465
|
};
|
10356
10466
|
const [showReadmore, setShowReadmore] = useState2(false);
|
10357
10467
|
const [activeTab, setActiveTab] = useState2("consent");
|
10358
|
-
return /* @__PURE__ */
|
10359
|
-
(term, key) => term.level === level && /* @__PURE__ */
|
10360
|
-
|
10468
|
+
return /* @__PURE__ */ React2.createElement(React2.Fragment, null, terms.map(
|
10469
|
+
(term, key) => term.level === level && /* @__PURE__ */ React2.createElement(Fragment, { key }, /* @__PURE__ */ React2.createElement(
|
10470
|
+
ConsentHeader_default,
|
10361
10471
|
{
|
10362
|
-
|
10363
|
-
|
10364
|
-
|
10365
|
-
|
10366
|
-
}
|
10367
|
-
}
|
10368
|
-
},
|
10369
|
-
/* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, isCustom ? window?.aesirx_analytics_translate?.txt_tracking_data_privacy ?? t("txt_tracking_data_privacy") : t(term.name)),
|
10370
|
-
/* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, isCustom ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
10371
|
-
"a",
|
10372
|
-
{
|
10373
|
-
href: "https://shield.aesirx.io/",
|
10374
|
-
rel: "noreferrer",
|
10375
|
-
target: "_blank",
|
10376
|
-
className: "minimize-shield-wrapper position-relative text-decoration-none"
|
10377
|
-
},
|
10378
|
-
/* @__PURE__ */ React.createElement(
|
10379
|
-
"img",
|
10380
|
-
{
|
10381
|
-
className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
|
10382
|
-
src: bg_default,
|
10383
|
-
alt: "Background Image"
|
10384
|
-
}
|
10385
|
-
),
|
10386
|
-
/* @__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"))
|
10387
|
-
)) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `status-tier tier-${term.level} rounded-circle` }), /* @__PURE__ */ React.createElement("div", { className: "status-tier-text" }, t(term.tier), " - ", t(term.levelname))))
|
10388
|
-
), /* @__PURE__ */ React.createElement("div", { className: `pb-1 pb-lg-3 ${isCustom ? "pt-0" : "p-3"} bg-white` }, isCustom ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
10472
|
+
isRejectedLayout,
|
10473
|
+
languageSwitcher
|
10474
|
+
}
|
10475
|
+
), /* @__PURE__ */ React2.createElement("div", { className: `pb-1 pb-lg-3 ${isCustom ? "pt-0" : "p-3"} bg-white` }, isCustom ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
|
10389
10476
|
Tabs,
|
10390
10477
|
{
|
10391
10478
|
id: "consent_info_tab",
|
@@ -10393,14 +10480,14 @@ var TermsComponent = ({
|
|
10393
10480
|
onSelect: (k) => setActiveTab(k),
|
10394
10481
|
className: `mb-2 mb-lg-4 w-100 flex-nowrap align-items-center consent_info_tab ${isRejectedLayout ? "d-none" : ""}`
|
10395
10482
|
},
|
10396
|
-
/* @__PURE__ */
|
10483
|
+
/* @__PURE__ */ React2.createElement(
|
10397
10484
|
Tab,
|
10398
10485
|
{
|
10399
10486
|
eventKey: "consent",
|
10400
10487
|
title: window?.aesirx_analytics_translate?.txt_consent_nanagement ?? t("txt_consent_nanagement"),
|
10401
10488
|
className: "w-auto px-2 px-lg-4"
|
10402
10489
|
},
|
10403
|
-
isRejectedLayout ? /* @__PURE__ */
|
10490
|
+
isRejectedLayout ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("p", { className: "mt-0 pt-4 mb-2" }, window?.aesirx_analytics_translate?.txt_you_have_chosen ?? t("txt_you_have_chosen")), /* @__PURE__ */ React2.createElement("p", { className: "mt-2 mb-3" }, window?.aesirx_analytics_translate?.txt_only_anonymized ?? t("txt_only_anonymized")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10404
10491
|
"img",
|
10405
10492
|
{
|
10406
10493
|
src: check_circle_default,
|
@@ -10408,14 +10495,14 @@ var TermsComponent = ({
|
|
10408
10495
|
height: "15px",
|
10409
10496
|
alt: "Check Icon"
|
10410
10497
|
}
|
10411
|
-
)), /* @__PURE__ */
|
10498
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_allow_data ? /* @__PURE__ */ React2.createElement(
|
10412
10499
|
"div",
|
10413
10500
|
{
|
10414
10501
|
dangerouslySetInnerHTML: {
|
10415
10502
|
__html: window?.aesirx_analytics_translate?.txt_consent_allow_data
|
10416
10503
|
}
|
10417
10504
|
}
|
10418
|
-
) : /* @__PURE__ */
|
10505
|
+
) : /* @__PURE__ */ React2.createElement(
|
10419
10506
|
"div",
|
10420
10507
|
{
|
10421
10508
|
dangerouslySetInnerHTML: {
|
@@ -10424,7 +10511,7 @@ var TermsComponent = ({
|
|
10424
10511
|
})
|
10425
10512
|
}
|
10426
10513
|
}
|
10427
|
-
))), /* @__PURE__ */
|
10514
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10428
10515
|
"img",
|
10429
10516
|
{
|
10430
10517
|
src: check_circle_default,
|
@@ -10432,14 +10519,14 @@ var TermsComponent = ({
|
|
10432
10519
|
height: "15px",
|
10433
10520
|
alt: "Check Icon"
|
10434
10521
|
}
|
10435
|
-
)), /* @__PURE__ */
|
10522
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data ? /* @__PURE__ */ React2.createElement(
|
10436
10523
|
"div",
|
10437
10524
|
{
|
10438
10525
|
dangerouslySetInnerHTML: {
|
10439
10526
|
__html: window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data
|
10440
10527
|
}
|
10441
10528
|
}
|
10442
|
-
) : /* @__PURE__ */
|
10529
|
+
) : /* @__PURE__ */ React2.createElement(
|
10443
10530
|
"div",
|
10444
10531
|
{
|
10445
10532
|
dangerouslySetInnerHTML: {
|
@@ -10448,14 +10535,14 @@ var TermsComponent = ({
|
|
10448
10535
|
})
|
10449
10536
|
}
|
10450
10537
|
}
|
10451
|
-
)))) : /* @__PURE__ */
|
10538
|
+
)))) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, customConsentText ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
|
10452
10539
|
"div",
|
10453
10540
|
{
|
10454
10541
|
dangerouslySetInnerHTML: {
|
10455
10542
|
__html: customConsentText
|
10456
10543
|
}
|
10457
10544
|
}
|
10458
|
-
)) : /* @__PURE__ */
|
10545
|
+
)) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, " ", /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_manage_your_consent ?? t("txt_manage_your_consent")), /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? window?.aesirx_analytics_translate?.txt_choose_how_we_use_simple ?? t("txt_choose_how_we_use_simple") : window?.aesirx_analytics_translate?.txt_choose_how_we_use ?? t("txt_choose_how_we_use")), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, window?.aesirx_analytics_translate?.txt_by_consenting ?? t("txt_by_consenting")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10459
10546
|
"img",
|
10460
10547
|
{
|
10461
10548
|
src: check_circle_default,
|
@@ -10463,7 +10550,7 @@ var TermsComponent = ({
|
|
10463
10550
|
height: "15px",
|
10464
10551
|
alt: "Check Icon"
|
10465
10552
|
}
|
10466
|
-
)), /* @__PURE__ */
|
10553
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_analytics_behavioral ?? t("txt_analytics_behavioral")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10467
10554
|
"img",
|
10468
10555
|
{
|
10469
10556
|
src: check_circle_default,
|
@@ -10471,7 +10558,7 @@ var TermsComponent = ({
|
|
10471
10558
|
height: "15px",
|
10472
10559
|
alt: "Check Icon"
|
10473
10560
|
}
|
10474
|
-
)), /* @__PURE__ */
|
10561
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_form_data ?? t("txt_form_data"))))), /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, window?.aesirx_analytics_translate?.txt_please_note ?? t("txt_please_note")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10475
10562
|
"img",
|
10476
10563
|
{
|
10477
10564
|
src: check_circle_default,
|
@@ -10479,7 +10566,7 @@ var TermsComponent = ({
|
|
10479
10566
|
height: "15px",
|
10480
10567
|
alt: "Check Icon"
|
10481
10568
|
}
|
10482
|
-
)), /* @__PURE__ */
|
10569
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_we_do_not_share ?? t("txt_we_do_not_share")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10483
10570
|
"img",
|
10484
10571
|
{
|
10485
10572
|
src: check_circle_default,
|
@@ -10487,7 +10574,7 @@ var TermsComponent = ({
|
|
10487
10574
|
height: "15px",
|
10488
10575
|
alt: "Check Icon"
|
10489
10576
|
}
|
10490
|
-
)), /* @__PURE__ */
|
10577
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_you_can_opt_in ?? t("txt_you_can_opt_in")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10491
10578
|
"img",
|
10492
10579
|
{
|
10493
10580
|
src: check_circle_default,
|
@@ -10495,14 +10582,14 @@ var TermsComponent = ({
|
|
10495
10582
|
height: "15px",
|
10496
10583
|
alt: "Check Icon"
|
10497
10584
|
}
|
10498
|
-
)), /* @__PURE__ */
|
10585
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_more_details ? /* @__PURE__ */ React2.createElement(
|
10499
10586
|
"div",
|
10500
10587
|
{
|
10501
10588
|
dangerouslySetInnerHTML: {
|
10502
10589
|
__html: window?.aesirx_analytics_translate?.txt_for_more_details
|
10503
10590
|
}
|
10504
10591
|
}
|
10505
|
-
) : /* @__PURE__ */
|
10592
|
+
) : /* @__PURE__ */ React2.createElement(
|
10506
10593
|
"div",
|
10507
10594
|
{
|
10508
10595
|
dangerouslySetInnerHTML: {
|
@@ -10513,14 +10600,14 @@ var TermsComponent = ({
|
|
10513
10600
|
}
|
10514
10601
|
))))))
|
10515
10602
|
),
|
10516
|
-
/* @__PURE__ */
|
10603
|
+
/* @__PURE__ */ React2.createElement(
|
10517
10604
|
Tab,
|
10518
10605
|
{
|
10519
10606
|
eventKey: "detail",
|
10520
10607
|
title: window?.aesirx_analytics_translate?.txt_details ?? t("txt_details"),
|
10521
10608
|
className: "px-2 px-lg-4"
|
10522
10609
|
},
|
10523
|
-
/* @__PURE__ */
|
10610
|
+
/* @__PURE__ */ React2.createElement("div", { className: `about_section` }, /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_manage_your_consent ?? t("txt_manage_your_consent")), /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? window?.aesirx_analytics_translate?.txt_choose_how_we_use_simple ?? t("txt_choose_how_we_use_simple") : window?.aesirx_analytics_translate?.txt_choose_how_we_use ?? t("txt_choose_how_we_use")), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_benefit ?? t("txt_benefit")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10524
10611
|
"img",
|
10525
10612
|
{
|
10526
10613
|
src: check_circle_default,
|
@@ -10528,14 +10615,14 @@ var TermsComponent = ({
|
|
10528
10615
|
height: "15px",
|
10529
10616
|
alt: "Check Icon"
|
10530
10617
|
}
|
10531
|
-
)), /* @__PURE__ */
|
10618
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_control_your_data ? /* @__PURE__ */ React2.createElement(
|
10532
10619
|
"div",
|
10533
10620
|
{
|
10534
10621
|
dangerouslySetInnerHTML: {
|
10535
10622
|
__html: window?.aesirx_analytics_translate?.txt_control_your_data
|
10536
10623
|
}
|
10537
10624
|
}
|
10538
|
-
) : /* @__PURE__ */
|
10625
|
+
) : /* @__PURE__ */ React2.createElement(
|
10539
10626
|
"div",
|
10540
10627
|
{
|
10541
10628
|
dangerouslySetInnerHTML: {
|
@@ -10544,7 +10631,7 @@ var TermsComponent = ({
|
|
10544
10631
|
})
|
10545
10632
|
}
|
10546
10633
|
}
|
10547
|
-
))), /* @__PURE__ */
|
10634
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10548
10635
|
"img",
|
10549
10636
|
{
|
10550
10637
|
src: check_circle_default,
|
@@ -10552,14 +10639,14 @@ var TermsComponent = ({
|
|
10552
10639
|
height: "15px",
|
10553
10640
|
alt: "Check Icon"
|
10554
10641
|
}
|
10555
|
-
)), /* @__PURE__ */
|
10642
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_earn_rewards ? /* @__PURE__ */ React2.createElement(
|
10556
10643
|
"div",
|
10557
10644
|
{
|
10558
10645
|
dangerouslySetInnerHTML: {
|
10559
10646
|
__html: window?.aesirx_analytics_translate?.txt_earn_rewards
|
10560
10647
|
}
|
10561
10648
|
}
|
10562
|
-
) : /* @__PURE__ */
|
10649
|
+
) : /* @__PURE__ */ React2.createElement(
|
10563
10650
|
"div",
|
10564
10651
|
{
|
10565
10652
|
dangerouslySetInnerHTML: {
|
@@ -10568,7 +10655,7 @@ var TermsComponent = ({
|
|
10568
10655
|
})
|
10569
10656
|
}
|
10570
10657
|
}
|
10571
|
-
))), /* @__PURE__ */
|
10658
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10572
10659
|
"img",
|
10573
10660
|
{
|
10574
10661
|
src: check_circle_default,
|
@@ -10576,14 +10663,14 @@ var TermsComponent = ({
|
|
10576
10663
|
height: "15px",
|
10577
10664
|
alt: "Check Icon"
|
10578
10665
|
}
|
10579
|
-
)), /* @__PURE__ */
|
10666
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_transparent_data ? /* @__PURE__ */ React2.createElement(
|
10580
10667
|
"div",
|
10581
10668
|
{
|
10582
10669
|
dangerouslySetInnerHTML: {
|
10583
10670
|
__html: window?.aesirx_analytics_translate?.txt_transparent_data
|
10584
10671
|
}
|
10585
10672
|
}
|
10586
|
-
) : /* @__PURE__ */
|
10673
|
+
) : /* @__PURE__ */ React2.createElement(
|
10587
10674
|
"div",
|
10588
10675
|
{
|
10589
10676
|
dangerouslySetInnerHTML: {
|
@@ -10592,7 +10679,7 @@ var TermsComponent = ({
|
|
10592
10679
|
})
|
10593
10680
|
}
|
10594
10681
|
}
|
10595
|
-
)))), /* @__PURE__ */
|
10682
|
+
)))), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_understanding_your_privacy ?? t("txt_understanding_your_privacy")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10596
10683
|
"img",
|
10597
10684
|
{
|
10598
10685
|
src: check_circle_default,
|
@@ -10600,14 +10687,14 @@ var TermsComponent = ({
|
|
10600
10687
|
height: "15px",
|
10601
10688
|
alt: "Check Icon"
|
10602
10689
|
}
|
10603
|
-
)), /* @__PURE__ */
|
10690
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_reject_no_data ? /* @__PURE__ */ React2.createElement(
|
10604
10691
|
"div",
|
10605
10692
|
{
|
10606
10693
|
dangerouslySetInnerHTML: {
|
10607
10694
|
__html: window?.aesirx_analytics_translate?.txt_reject_no_data
|
10608
10695
|
}
|
10609
10696
|
}
|
10610
|
-
) : /* @__PURE__ */
|
10697
|
+
) : /* @__PURE__ */ React2.createElement(
|
10611
10698
|
"div",
|
10612
10699
|
{
|
10613
10700
|
dangerouslySetInnerHTML: {
|
@@ -10616,7 +10703,7 @@ var TermsComponent = ({
|
|
10616
10703
|
})
|
10617
10704
|
}
|
10618
10705
|
}
|
10619
|
-
))), /* @__PURE__ */
|
10706
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10620
10707
|
"img",
|
10621
10708
|
{
|
10622
10709
|
src: check_circle_default,
|
@@ -10624,14 +10711,14 @@ var TermsComponent = ({
|
|
10624
10711
|
height: "15px",
|
10625
10712
|
alt: "Check Icon"
|
10626
10713
|
}
|
10627
|
-
)), /* @__PURE__ */
|
10714
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_first_third_party ? /* @__PURE__ */ React2.createElement(
|
10628
10715
|
"div",
|
10629
10716
|
{
|
10630
10717
|
dangerouslySetInnerHTML: {
|
10631
10718
|
__html: window?.aesirx_analytics_translate?.txt_consent_first_third_party
|
10632
10719
|
}
|
10633
10720
|
}
|
10634
|
-
) : /* @__PURE__ */
|
10721
|
+
) : /* @__PURE__ */ React2.createElement(
|
10635
10722
|
"div",
|
10636
10723
|
{
|
10637
10724
|
dangerouslySetInnerHTML: {
|
@@ -10640,7 +10727,7 @@ var TermsComponent = ({
|
|
10640
10727
|
})
|
10641
10728
|
}
|
10642
10729
|
}
|
10643
|
-
))), layout === "simple-consent-mode" ? /* @__PURE__ */
|
10730
|
+
))), layout === "simple-consent-mode" ? /* @__PURE__ */ React2.createElement(React2.Fragment, null) : /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10644
10731
|
"img",
|
10645
10732
|
{
|
10646
10733
|
src: check_circle_default,
|
@@ -10648,14 +10735,14 @@ var TermsComponent = ({
|
|
10648
10735
|
height: "15px",
|
10649
10736
|
alt: "Check Icon"
|
10650
10737
|
}
|
10651
|
-
)), /* @__PURE__ */
|
10738
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose ? /* @__PURE__ */ React2.createElement(
|
10652
10739
|
"div",
|
10653
10740
|
{
|
10654
10741
|
dangerouslySetInnerHTML: {
|
10655
10742
|
__html: window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose
|
10656
10743
|
}
|
10657
10744
|
}
|
10658
|
-
) : /* @__PURE__ */
|
10745
|
+
) : /* @__PURE__ */ React2.createElement(
|
10659
10746
|
"div",
|
10660
10747
|
{
|
10661
10748
|
dangerouslySetInnerHTML: {
|
@@ -10666,14 +10753,14 @@ var TermsComponent = ({
|
|
10666
10753
|
}
|
10667
10754
|
)))))
|
10668
10755
|
),
|
10669
|
-
/* @__PURE__ */
|
10756
|
+
/* @__PURE__ */ React2.createElement(
|
10670
10757
|
Tab,
|
10671
10758
|
{
|
10672
10759
|
eventKey: "about",
|
10673
10760
|
title: window?.aesirx_analytics_translate?.txt_about ?? t("txt_about"),
|
10674
10761
|
className: "px-2 px-lg-4"
|
10675
10762
|
},
|
10676
|
-
/* @__PURE__ */
|
10763
|
+
/* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_our_commitment_in_action ?? t("txt_our_commitment_in_action")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10677
10764
|
"img",
|
10678
10765
|
{
|
10679
10766
|
src: check_circle_default,
|
@@ -10681,14 +10768,14 @@ var TermsComponent = ({
|
|
10681
10768
|
height: "15px",
|
10682
10769
|
alt: "Check Icon"
|
10683
10770
|
}
|
10684
|
-
)), /* @__PURE__ */
|
10771
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_private_protection ? /* @__PURE__ */ React2.createElement(
|
10685
10772
|
"div",
|
10686
10773
|
{
|
10687
10774
|
dangerouslySetInnerHTML: {
|
10688
10775
|
__html: window?.aesirx_analytics_translate?.txt_private_protection
|
10689
10776
|
}
|
10690
10777
|
}
|
10691
|
-
) : /* @__PURE__ */
|
10778
|
+
) : /* @__PURE__ */ React2.createElement(
|
10692
10779
|
"div",
|
10693
10780
|
{
|
10694
10781
|
dangerouslySetInnerHTML: {
|
@@ -10697,7 +10784,7 @@ var TermsComponent = ({
|
|
10697
10784
|
})
|
10698
10785
|
}
|
10699
10786
|
}
|
10700
|
-
))), /* @__PURE__ */
|
10787
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10701
10788
|
"img",
|
10702
10789
|
{
|
10703
10790
|
src: check_circle_default,
|
@@ -10705,14 +10792,14 @@ var TermsComponent = ({
|
|
10705
10792
|
height: "15px",
|
10706
10793
|
alt: "Check Icon"
|
10707
10794
|
}
|
10708
|
-
)), /* @__PURE__ */
|
10795
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_enables_compliance ? /* @__PURE__ */ React2.createElement(
|
10709
10796
|
"div",
|
10710
10797
|
{
|
10711
10798
|
dangerouslySetInnerHTML: {
|
10712
10799
|
__html: window?.aesirx_analytics_translate?.txt_enables_compliance
|
10713
10800
|
}
|
10714
10801
|
}
|
10715
|
-
) : /* @__PURE__ */
|
10802
|
+
) : /* @__PURE__ */ React2.createElement(
|
10716
10803
|
"div",
|
10717
10804
|
{
|
10718
10805
|
dangerouslySetInnerHTML: {
|
@@ -10721,7 +10808,7 @@ var TermsComponent = ({
|
|
10721
10808
|
})
|
10722
10809
|
}
|
10723
10810
|
}
|
10724
|
-
))), /* @__PURE__ */
|
10811
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10725
10812
|
"img",
|
10726
10813
|
{
|
10727
10814
|
src: check_circle_default,
|
@@ -10729,14 +10816,14 @@ var TermsComponent = ({
|
|
10729
10816
|
height: "15px",
|
10730
10817
|
alt: "Check Icon"
|
10731
10818
|
}
|
10732
|
-
)), /* @__PURE__ */
|
10819
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_proactive_protection ? /* @__PURE__ */ React2.createElement(
|
10733
10820
|
"div",
|
10734
10821
|
{
|
10735
10822
|
dangerouslySetInnerHTML: {
|
10736
10823
|
__html: window?.aesirx_analytics_translate?.txt_proactive_protection
|
10737
10824
|
}
|
10738
10825
|
}
|
10739
|
-
) : /* @__PURE__ */
|
10826
|
+
) : /* @__PURE__ */ React2.createElement(
|
10740
10827
|
"div",
|
10741
10828
|
{
|
10742
10829
|
dangerouslySetInnerHTML: {
|
@@ -10745,7 +10832,7 @@ var TermsComponent = ({
|
|
10745
10832
|
})
|
10746
10833
|
}
|
10747
10834
|
}
|
10748
|
-
))), /* @__PURE__ */
|
10835
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10749
10836
|
"img",
|
10750
10837
|
{
|
10751
10838
|
src: check_circle_default,
|
@@ -10753,7 +10840,7 @@ var TermsComponent = ({
|
|
10753
10840
|
height: "15px",
|
10754
10841
|
alt: "Check Icon"
|
10755
10842
|
}
|
10756
|
-
)), /* @__PURE__ */
|
10843
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement(
|
10757
10844
|
"div",
|
10758
10845
|
{
|
10759
10846
|
dangerouslySetInnerHTML: {
|
@@ -10762,7 +10849,7 @@ var TermsComponent = ({
|
|
10762
10849
|
})
|
10763
10850
|
}
|
10764
10851
|
}
|
10765
|
-
))), /* @__PURE__ */
|
10852
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10766
10853
|
"img",
|
10767
10854
|
{
|
10768
10855
|
src: check_circle_default,
|
@@ -10770,14 +10857,14 @@ var TermsComponent = ({
|
|
10770
10857
|
height: "15px",
|
10771
10858
|
alt: "Check Icon"
|
10772
10859
|
}
|
10773
|
-
)), /* @__PURE__ */
|
10860
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_learn_more ? /* @__PURE__ */ React2.createElement(
|
10774
10861
|
"div",
|
10775
10862
|
{
|
10776
10863
|
dangerouslySetInnerHTML: {
|
10777
10864
|
__html: window?.aesirx_analytics_translate?.txt_learn_more
|
10778
10865
|
}
|
10779
10866
|
}
|
10780
|
-
) : /* @__PURE__ */
|
10867
|
+
) : /* @__PURE__ */ React2.createElement(
|
10781
10868
|
"div",
|
10782
10869
|
{
|
10783
10870
|
dangerouslySetInnerHTML: {
|
@@ -10786,7 +10873,7 @@ var TermsComponent = ({
|
|
10786
10873
|
})
|
10787
10874
|
}
|
10788
10875
|
}
|
10789
|
-
))), /* @__PURE__ */
|
10876
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10790
10877
|
"img",
|
10791
10878
|
{
|
10792
10879
|
src: check_circle_default,
|
@@ -10794,14 +10881,14 @@ var TermsComponent = ({
|
|
10794
10881
|
height: "15px",
|
10795
10882
|
alt: "Check Icon"
|
10796
10883
|
}
|
10797
|
-
)), /* @__PURE__ */
|
10884
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_business ? /* @__PURE__ */ React2.createElement(
|
10798
10885
|
"div",
|
10799
10886
|
{
|
10800
10887
|
dangerouslySetInnerHTML: {
|
10801
10888
|
__html: window?.aesirx_analytics_translate?.txt_for_business
|
10802
10889
|
}
|
10803
10890
|
}
|
10804
|
-
) : /* @__PURE__ */
|
10891
|
+
) : /* @__PURE__ */ React2.createElement(
|
10805
10892
|
"div",
|
10806
10893
|
{
|
10807
10894
|
dangerouslySetInnerHTML: {
|
@@ -10810,14 +10897,14 @@ var TermsComponent = ({
|
|
10810
10897
|
})
|
10811
10898
|
}
|
10812
10899
|
}
|
10813
|
-
))), /* @__PURE__ */
|
10900
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "ms-4" }, window?.aesirx_analytics_translate?.txt_more_info_at ? /* @__PURE__ */ React2.createElement(
|
10814
10901
|
"div",
|
10815
10902
|
{
|
10816
10903
|
dangerouslySetInnerHTML: {
|
10817
10904
|
__html: window?.aesirx_analytics_translate?.txt_more_info_at
|
10818
10905
|
}
|
10819
10906
|
}
|
10820
|
-
) : /* @__PURE__ */
|
10907
|
+
) : /* @__PURE__ */ React2.createElement(
|
10821
10908
|
"div",
|
10822
10909
|
{
|
10823
10910
|
dangerouslySetInnerHTML: {
|
@@ -10828,7 +10915,7 @@ var TermsComponent = ({
|
|
10828
10915
|
}
|
10829
10916
|
)))
|
10830
10917
|
)
|
10831
|
-
)) : /* @__PURE__ */
|
10918
|
+
)) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("span", { className: "text-dark fw-medium" }, t(term.content)), " ", /* @__PURE__ */ React2.createElement("span", { className: "" }, t(term.term)), /* @__PURE__ */ React2.createElement("div", { className: "read-more d-flex justify-content-between align-items-center flex-wrap" }, term.upgrade && /* @__PURE__ */ React2.createElement(
|
10832
10919
|
"a",
|
10833
10920
|
{
|
10834
10921
|
className: "fs-14 text-success fw-bold mb-1",
|
@@ -10836,7 +10923,7 @@ var TermsComponent = ({
|
|
10836
10923
|
onClick: () => handleLevel(terms[key + 1].level)
|
10837
10924
|
},
|
10838
10925
|
t(term.upgrade)
|
10839
|
-
), /* @__PURE__ */
|
10926
|
+
), /* @__PURE__ */ React2.createElement(
|
10840
10927
|
"div",
|
10841
10928
|
{
|
10842
10929
|
className: "ms-auto read-more-btn mb-1",
|
@@ -10846,7 +10933,7 @@ var TermsComponent = ({
|
|
10846
10933
|
},
|
10847
10934
|
!showReadmore ? t("txt_show_details") : t("txt_hide_details"),
|
10848
10935
|
" ",
|
10849
|
-
/* @__PURE__ */
|
10936
|
+
/* @__PURE__ */ React2.createElement(
|
10850
10937
|
"img",
|
10851
10938
|
{
|
10852
10939
|
src: arrow_default,
|
@@ -10854,37 +10941,37 @@ var TermsComponent = ({
|
|
10854
10941
|
alt: "Arrow Icon"
|
10855
10942
|
}
|
10856
10943
|
)
|
10857
|
-
)))), isCustom ? /* @__PURE__ */
|
10944
|
+
)))), isCustom ? /* @__PURE__ */ React2.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white bg-white" }, /* @__PURE__ */ React2.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, children))) : /* @__PURE__ */ React2.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React2.createElement(
|
10858
10945
|
"img",
|
10859
10946
|
{
|
10860
10947
|
className: "position-absolute h-100 w-100 object-fit-cover",
|
10861
10948
|
src: bg_default,
|
10862
10949
|
alt: "Background Image"
|
10863
10950
|
}
|
10864
|
-
), /* @__PURE__ */
|
10951
|
+
), /* @__PURE__ */ React2.createElement(
|
10865
10952
|
"img",
|
10866
10953
|
{
|
10867
10954
|
className: "position-absolute h-100 w-100 object-fit-cover lightning flash-effect",
|
10868
10955
|
src: bg_default,
|
10869
10956
|
alt: "Background Image"
|
10870
10957
|
}
|
10871
|
-
), /* @__PURE__ */
|
10958
|
+
), /* @__PURE__ */ React2.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, showReadmore && /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, term.upgrade && t(term.upgrade), t(term.upgradetext), /* @__PURE__ */ React2.createElement("div", { className: "fs-14 fst-italic" }, "* ", t("txt_no_collect")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React2.createElement("div", { className: "me-2" }, /* @__PURE__ */ React2.createElement("img", { src: privacy_default, alt: "SoP Icon" }), " ", window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy")), children))))
|
10872
10959
|
));
|
10873
10960
|
};
|
10874
10961
|
|
10875
10962
|
// src/Components/LoadingStatus.tsx
|
10876
|
-
import
|
10963
|
+
import React3 from "react";
|
10877
10964
|
import { Button } from "react-bootstrap";
|
10878
10965
|
var LoadingStatus = ({ loading }) => {
|
10879
10966
|
const { t } = useTranslation();
|
10880
|
-
return /* @__PURE__ */
|
10967
|
+
return /* @__PURE__ */ React3.createElement(React3.Fragment, null, loading === "connect" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
|
10881
10968
|
Button,
|
10882
10969
|
{
|
10883
10970
|
variant: "dark",
|
10884
10971
|
disabled: true,
|
10885
10972
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10886
10973
|
},
|
10887
|
-
/* @__PURE__ */
|
10974
|
+
/* @__PURE__ */ React3.createElement(
|
10888
10975
|
"span",
|
10889
10976
|
{
|
10890
10977
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10892,15 +10979,15 @@ var LoadingStatus = ({ loading }) => {
|
|
10892
10979
|
"aria-hidden": "true"
|
10893
10980
|
}
|
10894
10981
|
),
|
10895
|
-
/* @__PURE__ */
|
10896
|
-
)) : loading === "sign" ? /* @__PURE__ */
|
10982
|
+
/* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_please_connect ?? t("txt_please_connect"))
|
10983
|
+
)) : loading === "sign" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
|
10897
10984
|
Button,
|
10898
10985
|
{
|
10899
10986
|
variant: "dark",
|
10900
10987
|
disabled: true,
|
10901
10988
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10902
10989
|
},
|
10903
|
-
/* @__PURE__ */
|
10990
|
+
/* @__PURE__ */ React3.createElement(
|
10904
10991
|
"span",
|
10905
10992
|
{
|
10906
10993
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10908,15 +10995,15 @@ var LoadingStatus = ({ loading }) => {
|
|
10908
10995
|
"aria-hidden": "true"
|
10909
10996
|
}
|
10910
10997
|
),
|
10911
|
-
/* @__PURE__ */
|
10912
|
-
)) : loading === "saving" ? /* @__PURE__ */
|
10998
|
+
/* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_please_sign ?? t("txt_please_sign"))
|
10999
|
+
)) : loading === "saving" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
|
10913
11000
|
Button,
|
10914
11001
|
{
|
10915
11002
|
variant: "dark",
|
10916
11003
|
disabled: true,
|
10917
11004
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10918
11005
|
},
|
10919
|
-
/* @__PURE__ */
|
11006
|
+
/* @__PURE__ */ React3.createElement(
|
10920
11007
|
"span",
|
10921
11008
|
{
|
10922
11009
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10924,12 +11011,12 @@ var LoadingStatus = ({ loading }) => {
|
|
10924
11011
|
"aria-hidden": "true"
|
10925
11012
|
}
|
10926
11013
|
),
|
10927
|
-
/* @__PURE__ */
|
10928
|
-
)) : /* @__PURE__ */
|
11014
|
+
/* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_saving ?? t("txt_saving"))
|
11015
|
+
)) : /* @__PURE__ */ React3.createElement(React3.Fragment, null));
|
10929
11016
|
};
|
10930
11017
|
|
10931
11018
|
// src/Components/Connect.tsx
|
10932
|
-
import
|
11019
|
+
import React5, { Suspense, useState as useState4 } from "react";
|
10933
11020
|
import { Modal } from "react-bootstrap";
|
10934
11021
|
import { isMobile, isDesktop as isDesktop2, OsTypes, osName } from "react-device-detect";
|
10935
11022
|
|
@@ -10938,7 +11025,7 @@ var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABY
|
|
10938
11025
|
|
10939
11026
|
// src/Components/Ethereum/connect.tsx
|
10940
11027
|
import { useWeb3Modal } from "@web3modal/react";
|
10941
|
-
import
|
11028
|
+
import React4, { useState as useState3 } from "react";
|
10942
11029
|
|
10943
11030
|
// src/Assets/ethereum_logo.png
|
10944
11031
|
var ethereum_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAhCAYAAAA2/OAtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAI/SURBVHgBxVY9SEJRFD6vokgIAqea3uTUIDS5Ra4GtbiqY1POLRkEDSHmFE3RFi4NOrXkFARGDkLkotEQ/QiBYBSFfUfPq+fzvvd8JvTBx33v3nM+z73n3PMkGhDtdjtKowQE42AJDNIoACEdrIloBvS5+YyROzZAXZ5ZMOLm4CjKUWJIWqbDmA/QsKLAuc38Cg0jysmh321bEcB6mLyIyra3yBkRu6TZRZoi+ygNsGB0IFH8+iqGGA2GkCppqkgz5A1xR1H8Kp+jTt7gh19P7WomQR1DTeH0IPMn4Au4CM5YbFrgjqZpDX6ZMC2kFGIlGRnvYFWogwvgvKxx0uJg+kdUajImjnfgrUlMhbpwRiLnZHHtBhBtVcPDLCYuwSZYEWEVroQqGOKTYJYjnQPz1H9OXsABFcFPcHoM4d7gYRe8oL/hCaxwsjTJOuGljmc/dW+JqhnbbZ+jrMP/Q/x9nZLCyz4PYFbEQ9TtRH4H0U5SYd+UHhCR4HKGKCfrWoxTWDiWeTbkbuQzifK5PYOPsPuSbsV2b9St1Za5+IMm4TqYgEFRtsROU+AZeC9iAdmNcfc3jeLvAQyT7V4cGWeOcVxGvpbr4KGJ6mtqEuZuv2SZToF7chTLchwGyojwwE1Up+5nRLcsqbLP201bt93X+jj7GBI0GHKqc1R2fk4Qhiw5Iw+7smrB9sMHB/40l22WG1gv2Pm6faLXwFfLHPfOtJOTo6ic77ZluqCsR69ARZzKf6k4jQp8jaXI/fRf+AaHjRu6xDEXQwAAAABJRU5ErkJggg==";
|
@@ -10952,21 +11039,21 @@ var ConnectMetamask = () => {
|
|
10952
11039
|
await open();
|
10953
11040
|
setLoading(false);
|
10954
11041
|
}
|
10955
|
-
return /* @__PURE__ */
|
11042
|
+
return /* @__PURE__ */ React4.createElement(
|
10956
11043
|
"button",
|
10957
11044
|
{
|
10958
11045
|
onClick: onOpen,
|
10959
11046
|
disabled: loading,
|
10960
11047
|
className: "btn btn-ethereum fw-medium px-4 fs-18 lh-sm w-100 btn-secondary text-white d-flex align-items-center justify-content-start"
|
10961
11048
|
},
|
10962
|
-
loading ? /* @__PURE__ */
|
11049
|
+
loading ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
|
10963
11050
|
"span",
|
10964
11051
|
{
|
10965
11052
|
className: "spinner-border spinner-border-sm me-1",
|
10966
11053
|
role: "status",
|
10967
11054
|
"aria-hidden": "true"
|
10968
11055
|
}
|
10969
|
-
), "Waiting for signing...") : /* @__PURE__ */
|
11056
|
+
), "Waiting for signing...") : /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("img", { className: "me-3", src: ethereum_logo_default, alt: "Ethereum Logo" }), "Ethereum wallets")
|
10970
11057
|
);
|
10971
11058
|
};
|
10972
11059
|
var connect_default = ConnectMetamask;
|
@@ -10983,7 +11070,7 @@ var ConnectModal = ({
|
|
10983
11070
|
const [show, setShow] = useState4(true);
|
10984
11071
|
const handleClose = () => setShow(false);
|
10985
11072
|
const { t } = useTranslation();
|
10986
|
-
return /* @__PURE__ */
|
11073
|
+
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
10987
11074
|
Modal,
|
10988
11075
|
{
|
10989
11076
|
className: "aesirxconsent aesirxconsent-modal",
|
@@ -10991,21 +11078,21 @@ var ConnectModal = ({
|
|
10991
11078
|
onHide: handleClose,
|
10992
11079
|
centered: true
|
10993
11080
|
},
|
10994
|
-
/* @__PURE__ */
|
11081
|
+
/* @__PURE__ */ React5.createElement(Modal.Body, { className: "aesirxconsent" }, /* @__PURE__ */ React5.createElement("div", { className: "p-4 block-wallet rounded-top" }, /* @__PURE__ */ React5.createElement("div", { className: "px-3 text-center" }, /* @__PURE__ */ React5.createElement("h3", { className: "fs-3 fw-semibold mt-2 mb-4 text-primary" }, window?.aesirx_analytics_translate?.txt_please_connect_your_wallet ?? t("txt_please_connect_your_wallet")), /* @__PURE__ */ React5.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React5.createElement(Suspense, { fallback: /* @__PURE__ */ React5.createElement(React5.Fragment, null, "Loading...") }, /* @__PURE__ */ React5.createElement(SSOEthereumApp, { handleOnConnect }))), /* @__PURE__ */ React5.createElement("div", { className: "d-flex flex-row flex-wrap" }, isDesktop2 && /* @__PURE__ */ React5.createElement(
|
10995
11082
|
"button",
|
10996
11083
|
{
|
10997
11084
|
disabled: isConnecting,
|
10998
11085
|
className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start mb-3",
|
10999
11086
|
onClick: () => handleOnConnect(BROWSER_WALLET)
|
11000
11087
|
},
|
11001
|
-
isConnecting ? /* @__PURE__ */
|
11088
|
+
isConnecting ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
11002
11089
|
"span",
|
11003
11090
|
{
|
11004
11091
|
className: "spinner-border spinner-border-sm me-1",
|
11005
11092
|
role: "status",
|
11006
11093
|
"aria-hidden": "true"
|
11007
11094
|
}
|
11008
|
-
), window?.aesirx_analytics_translate?.txt_connecting ?? t("txt_connecting")) : /* @__PURE__ */
|
11095
|
+
), window?.aesirx_analytics_translate?.txt_connecting ?? t("txt_connecting")) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
|
11009
11096
|
"img",
|
11010
11097
|
{
|
11011
11098
|
src: concordium_logo_default,
|
@@ -11013,20 +11100,20 @@ var ConnectModal = ({
|
|
11013
11100
|
alt: "Concordium"
|
11014
11101
|
}
|
11015
11102
|
), "Concordium Browser Wallet")
|
11016
|
-
), osName !== OsTypes?.IOS ? /* @__PURE__ */
|
11103
|
+
), osName !== OsTypes?.IOS ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
11017
11104
|
"button",
|
11018
11105
|
{
|
11019
11106
|
className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start text-start",
|
11020
11107
|
onClick: () => handleOnConnect(WALLET_CONNECT)
|
11021
11108
|
},
|
11022
|
-
!activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */
|
11109
|
+
!activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React5.createElement(
|
11023
11110
|
"span",
|
11024
11111
|
{
|
11025
11112
|
className: "spinner-border spinner-border-sm me-1",
|
11026
11113
|
role: "status",
|
11027
11114
|
"aria-hidden": "true"
|
11028
11115
|
}
|
11029
|
-
) : /* @__PURE__ */
|
11116
|
+
) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
|
11030
11117
|
"img",
|
11031
11118
|
{
|
11032
11119
|
src: concordium_logo_default,
|
@@ -11034,7 +11121,7 @@ var ConnectModal = ({
|
|
11034
11121
|
alt: "Concordium"
|
11035
11122
|
}
|
11036
11123
|
), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
|
11037
|
-
)) : /* @__PURE__ */
|
11124
|
+
)) : /* @__PURE__ */ React5.createElement(React5.Fragment, null)), " ")))
|
11038
11125
|
));
|
11039
11126
|
};
|
11040
11127
|
var SSOEthereumApp = ({ handleOnConnect }) => {
|
@@ -11043,12 +11130,12 @@ var SSOEthereumApp = ({ handleOnConnect }) => {
|
|
11043
11130
|
handleOnConnect("", "metamask");
|
11044
11131
|
}
|
11045
11132
|
});
|
11046
|
-
return isConnected ? /* @__PURE__ */
|
11133
|
+
return isConnected ? /* @__PURE__ */ React5.createElement(React5.Fragment, null) : /* @__PURE__ */ React5.createElement(connect_default, null);
|
11047
11134
|
};
|
11048
11135
|
var Connect_default = ConnectModal;
|
11049
11136
|
|
11050
11137
|
// src/Components/Ethereum/index.tsx
|
11051
|
-
import
|
11138
|
+
import React6 from "react";
|
11052
11139
|
import { configureChains, createConfig, WagmiConfig } from "wagmi";
|
11053
11140
|
import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
|
11054
11141
|
import {
|
@@ -11170,7 +11257,7 @@ var SSOEthereumProvider = ({ children, layout, level }) => {
|
|
11170
11257
|
webSocketPublicClient
|
11171
11258
|
});
|
11172
11259
|
const ethereumClient = new EthereumClient(wagmiConfig, chains);
|
11173
|
-
return /* @__PURE__ */
|
11260
|
+
return /* @__PURE__ */ React6.createElement(React6.Fragment, null, (layout === "simple-consent-mode" || level === 1) && (!revoke || revoke === "0" || revoke === "1") ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, children) : /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React6.createElement(Web3Modal, { projectId, ethereumClient })));
|
11174
11261
|
};
|
11175
11262
|
var Ethereum_default = SSOEthereumProvider;
|
11176
11263
|
|
@@ -11256,6 +11343,7 @@ export {
|
|
11256
11343
|
WALLET_CONNECT,
|
11257
11344
|
useConsentStatus_default,
|
11258
11345
|
check_circle_default,
|
11346
|
+
ConsentHeader_default,
|
11259
11347
|
TermsComponent,
|
11260
11348
|
LoadingStatus,
|
11261
11349
|
Connect_default,
|