@everymatrix/player-user-consents 1.66.2 → 1.67.3
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/cjs/player-user-consents.cjs.entry.js +42 -6
- package/dist/collection/utils/locale.utils.js +42 -6
- package/dist/esm/player-user-consents.entry.js +42 -6
- package/dist/player-user-consents/player-user-consents.entry.js +1 -1
- package/package.json +1 -1
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/packages/stencil/player-user-consents/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/packages/stencil/player-user-consents/stencil.config.dev.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/packages/stencil/player-user-consents/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/packages/stencil/player-user-consents/storybook/preview.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/player-user-consents/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -23,9 +23,15 @@ const TRANSLATIONS = {
|
|
|
23
23
|
sportsemail: "I want to receive Sports email marketing",
|
|
24
24
|
sportssms: "I want to receive Sports SMS marketing",
|
|
25
25
|
sports3rdparty: "I want to receive Sports phone call marketing",
|
|
26
|
+
sportspush: "I want to receive Sports push notifications",
|
|
26
27
|
casinoemail: "I want to receive Casino email marketing",
|
|
27
28
|
casinosms: "I want to receive Casino SMS marketing",
|
|
28
|
-
casino3rdparty: "I want to receive Casino phone call marketing"
|
|
29
|
+
casino3rdparty: "I want to receive Casino phone call marketing",
|
|
30
|
+
casinopush: "I want to receive Casino push notifications",
|
|
31
|
+
virtualsportsemail: "I want to receive Virtual Sports email marketing",
|
|
32
|
+
virtualsportssms: "I want to receive Virtual Sports SMS marketing",
|
|
33
|
+
virtualsports3rdparty: "I want to receive Virtual Sports phone call marketing",
|
|
34
|
+
virtualsportspush: "I want to receive Virtual Sports push notifications"
|
|
29
35
|
},
|
|
30
36
|
ro: {
|
|
31
37
|
termsAndConditions: {
|
|
@@ -44,9 +50,15 @@ const TRANSLATIONS = {
|
|
|
44
50
|
sportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi",
|
|
45
51
|
sportssms: "Vreau să primesc marketing prin SMS pentru sporturi",
|
|
46
52
|
sports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi",
|
|
53
|
+
sportspush: "Vreau să primesc notificări push pentru Sport",
|
|
47
54
|
casinoemail: "Vreau să primesc marketing prin e-mail pentru cazinou",
|
|
48
55
|
casinosms: "Vreau să primesc marketing prin SMS pentru cazinou",
|
|
49
|
-
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou"
|
|
56
|
+
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou",
|
|
57
|
+
casinopush: "Vreau să primesc notificări push pentru Cazinou",
|
|
58
|
+
virtualsportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi virtuale",
|
|
59
|
+
virtualsportssms: "Vreau să primesc marketing prin SMS pentru sporturi virtuale",
|
|
60
|
+
virtualsports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi virtuale",
|
|
61
|
+
virtualsportspush: "Vreau să primesc notificări push pentru sporturi virtuale"
|
|
50
62
|
},
|
|
51
63
|
hr: {
|
|
52
64
|
termsAndConditions: {
|
|
@@ -65,9 +77,15 @@ const TRANSLATIONS = {
|
|
|
65
77
|
sportsemail: "Želim primati sportski marketing putem e-pošte",
|
|
66
78
|
sportssms: "Želim primati sportski marketing putem SMS-a",
|
|
67
79
|
sports3rdparty: "Želim primati sportski marketing putem telefonskog poziva",
|
|
80
|
+
sportspush: "Želim primati push obavijesti za Sport",
|
|
68
81
|
casinoemail: "Želim primati kasino marketing putem e-pošte",
|
|
69
82
|
casinosms: "Želim primati kasino marketing putem SMS-a",
|
|
70
|
-
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva"
|
|
83
|
+
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva",
|
|
84
|
+
casinopush: "Želim primati push obavijesti za Kasino",
|
|
85
|
+
virtualsportsemail: "Želim primati marketing putem e-pošte za virtualne sportove",
|
|
86
|
+
virtualsportssms: "Želim primati marketing putem SMS-a za virtualne sportove",
|
|
87
|
+
virtualsports3rdparty: "Želim primati marketing putem telefonskog poziva za virtualne sportove",
|
|
88
|
+
virtualsportspush: "Želim primati push obavijesti za Virtualne sportove"
|
|
71
89
|
},
|
|
72
90
|
fr: {
|
|
73
91
|
termsAndConditions: {
|
|
@@ -86,9 +104,15 @@ const TRANSLATIONS = {
|
|
|
86
104
|
sportsemail: "Je veux recevoir des e-mails marketing pour les sports",
|
|
87
105
|
sportssms: "Je veux recevoir des SMS marketing pour les sports",
|
|
88
106
|
sports3rdparty: "Je veux recevoir des appels marketing pour les sports",
|
|
107
|
+
sportspush: "Je souhaite recevoir des notifications push pour le sport",
|
|
89
108
|
casinoemail: "Je veux recevoir des e-mails marketing pour le casino",
|
|
90
109
|
casinosms: "Je veux recevoir des SMS marketing pour le casino",
|
|
91
|
-
casino3rdparty: "Je veux recevoir des appels marketing pour le casino"
|
|
110
|
+
casino3rdparty: "Je veux recevoir des appels marketing pour le casino",
|
|
111
|
+
casinopush: "Je souhaite recevoir des notifications push pour le casino",
|
|
112
|
+
virtualsportsemail: "Je veux recevoir des e-mails marketing pour les sports virtuels",
|
|
113
|
+
virtualsportssms: "Je veux recevoir des SMS marketing pour les sports virtuels",
|
|
114
|
+
virtualsports3rdparty: "Je veux recevoir des appels marketing pour les sports virtuels",
|
|
115
|
+
virtualsportspush: "Je souhaite recevoir des notifications push pour les sports virtuels"
|
|
92
116
|
},
|
|
93
117
|
cs: {
|
|
94
118
|
termsAndConditions: {
|
|
@@ -107,9 +131,15 @@ const TRANSLATIONS = {
|
|
|
107
131
|
sportsemail: "Chci dostávat sportovní marketingové e-maily",
|
|
108
132
|
sportssms: "Chci dostávat sportovní marketingové SMS",
|
|
109
133
|
sports3rdparty: "Chci dostávat sportovní marketingové telefonáty",
|
|
134
|
+
sportspush: "Chci dostávat push oznámení o sportu",
|
|
110
135
|
casinoemail: "Chci dostávat marketingové e-maily pro kasino",
|
|
111
136
|
casinosms: "Chci dostávat marketingové SMS pro kasino",
|
|
112
|
-
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino"
|
|
137
|
+
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino",
|
|
138
|
+
casinopush: "Chci dostávat push oznámení o kasinu",
|
|
139
|
+
virtualsportsemail: "Chci dostávat marketingové e-maily pro virtuální sporty",
|
|
140
|
+
virtualsportssms: "Chci dostávat marketingové SMS pro virtuální sporty",
|
|
141
|
+
virtualsports3rdparty: "Chci dostávat marketingové telefonáty pro virtuální sporty",
|
|
142
|
+
virtualsportspush: "Chci dostávat push oznámení o virtuálních sportech"
|
|
113
143
|
},
|
|
114
144
|
de: {
|
|
115
145
|
termsAndConditions: {
|
|
@@ -128,9 +158,15 @@ const TRANSLATIONS = {
|
|
|
128
158
|
sportsemail: "Ich möchte Sport-Marketing-E-Mails erhalten",
|
|
129
159
|
sportssms: "Ich möchte Sport-Marketing-SMS erhalten",
|
|
130
160
|
sports3rdparty: "Ich möchte Sport-Marketing-Anrufe erhalten",
|
|
161
|
+
sportspush: "Ich möchte Push-Benachrichtigungen für Sport erhalten",
|
|
131
162
|
casinoemail: "Ich möchte Casino-Marketing-E-Mails erhalten",
|
|
132
163
|
casinosms: "Ich möchte Casino-Marketing-SMS erhalten",
|
|
133
|
-
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten"
|
|
164
|
+
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten",
|
|
165
|
+
casinopush: "Ich möchte Push-Benachrichtigungen für Casino erhalten",
|
|
166
|
+
virtualsportsemail: "Ich möchte Marketing-E-Mails für virtuelle Sportarten erhalten",
|
|
167
|
+
virtualsportssms: "Ich möchte Marketing-SMS für virtuelle Sportarten erhalten",
|
|
168
|
+
virtualsports3rdparty: "Ich möchte Marketing-Anrufe für virtuelle Sportarten erhalten",
|
|
169
|
+
virtualsportspush: "Ich möchte Push-Benachrichtigungen für virtuelle Sportarten erhalten"
|
|
134
170
|
},
|
|
135
171
|
};
|
|
136
172
|
const getTranslations = (url) => {
|
|
@@ -17,9 +17,15 @@ const TRANSLATIONS = {
|
|
|
17
17
|
sportsemail: "I want to receive Sports email marketing",
|
|
18
18
|
sportssms: "I want to receive Sports SMS marketing",
|
|
19
19
|
sports3rdparty: "I want to receive Sports phone call marketing",
|
|
20
|
+
sportspush: "I want to receive Sports push notifications",
|
|
20
21
|
casinoemail: "I want to receive Casino email marketing",
|
|
21
22
|
casinosms: "I want to receive Casino SMS marketing",
|
|
22
|
-
casino3rdparty: "I want to receive Casino phone call marketing"
|
|
23
|
+
casino3rdparty: "I want to receive Casino phone call marketing",
|
|
24
|
+
casinopush: "I want to receive Casino push notifications",
|
|
25
|
+
virtualsportsemail: "I want to receive Virtual Sports email marketing",
|
|
26
|
+
virtualsportssms: "I want to receive Virtual Sports SMS marketing",
|
|
27
|
+
virtualsports3rdparty: "I want to receive Virtual Sports phone call marketing",
|
|
28
|
+
virtualsportspush: "I want to receive Virtual Sports push notifications"
|
|
23
29
|
},
|
|
24
30
|
ro: {
|
|
25
31
|
termsAndConditions: {
|
|
@@ -38,9 +44,15 @@ const TRANSLATIONS = {
|
|
|
38
44
|
sportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi",
|
|
39
45
|
sportssms: "Vreau să primesc marketing prin SMS pentru sporturi",
|
|
40
46
|
sports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi",
|
|
47
|
+
sportspush: "Vreau să primesc notificări push pentru Sport",
|
|
41
48
|
casinoemail: "Vreau să primesc marketing prin e-mail pentru cazinou",
|
|
42
49
|
casinosms: "Vreau să primesc marketing prin SMS pentru cazinou",
|
|
43
|
-
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou"
|
|
50
|
+
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou",
|
|
51
|
+
casinopush: "Vreau să primesc notificări push pentru Cazinou",
|
|
52
|
+
virtualsportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi virtuale",
|
|
53
|
+
virtualsportssms: "Vreau să primesc marketing prin SMS pentru sporturi virtuale",
|
|
54
|
+
virtualsports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi virtuale",
|
|
55
|
+
virtualsportspush: "Vreau să primesc notificări push pentru sporturi virtuale"
|
|
44
56
|
},
|
|
45
57
|
hr: {
|
|
46
58
|
termsAndConditions: {
|
|
@@ -59,9 +71,15 @@ const TRANSLATIONS = {
|
|
|
59
71
|
sportsemail: "Želim primati sportski marketing putem e-pošte",
|
|
60
72
|
sportssms: "Želim primati sportski marketing putem SMS-a",
|
|
61
73
|
sports3rdparty: "Želim primati sportski marketing putem telefonskog poziva",
|
|
74
|
+
sportspush: "Želim primati push obavijesti za Sport",
|
|
62
75
|
casinoemail: "Želim primati kasino marketing putem e-pošte",
|
|
63
76
|
casinosms: "Želim primati kasino marketing putem SMS-a",
|
|
64
|
-
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva"
|
|
77
|
+
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva",
|
|
78
|
+
casinopush: "Želim primati push obavijesti za Kasino",
|
|
79
|
+
virtualsportsemail: "Želim primati marketing putem e-pošte za virtualne sportove",
|
|
80
|
+
virtualsportssms: "Želim primati marketing putem SMS-a za virtualne sportove",
|
|
81
|
+
virtualsports3rdparty: "Želim primati marketing putem telefonskog poziva za virtualne sportove",
|
|
82
|
+
virtualsportspush: "Želim primati push obavijesti za Virtualne sportove"
|
|
65
83
|
},
|
|
66
84
|
fr: {
|
|
67
85
|
termsAndConditions: {
|
|
@@ -80,9 +98,15 @@ const TRANSLATIONS = {
|
|
|
80
98
|
sportsemail: "Je veux recevoir des e-mails marketing pour les sports",
|
|
81
99
|
sportssms: "Je veux recevoir des SMS marketing pour les sports",
|
|
82
100
|
sports3rdparty: "Je veux recevoir des appels marketing pour les sports",
|
|
101
|
+
sportspush: "Je souhaite recevoir des notifications push pour le sport",
|
|
83
102
|
casinoemail: "Je veux recevoir des e-mails marketing pour le casino",
|
|
84
103
|
casinosms: "Je veux recevoir des SMS marketing pour le casino",
|
|
85
|
-
casino3rdparty: "Je veux recevoir des appels marketing pour le casino"
|
|
104
|
+
casino3rdparty: "Je veux recevoir des appels marketing pour le casino",
|
|
105
|
+
casinopush: "Je souhaite recevoir des notifications push pour le casino",
|
|
106
|
+
virtualsportsemail: "Je veux recevoir des e-mails marketing pour les sports virtuels",
|
|
107
|
+
virtualsportssms: "Je veux recevoir des SMS marketing pour les sports virtuels",
|
|
108
|
+
virtualsports3rdparty: "Je veux recevoir des appels marketing pour les sports virtuels",
|
|
109
|
+
virtualsportspush: "Je souhaite recevoir des notifications push pour les sports virtuels"
|
|
86
110
|
},
|
|
87
111
|
cs: {
|
|
88
112
|
termsAndConditions: {
|
|
@@ -101,9 +125,15 @@ const TRANSLATIONS = {
|
|
|
101
125
|
sportsemail: "Chci dostávat sportovní marketingové e-maily",
|
|
102
126
|
sportssms: "Chci dostávat sportovní marketingové SMS",
|
|
103
127
|
sports3rdparty: "Chci dostávat sportovní marketingové telefonáty",
|
|
128
|
+
sportspush: "Chci dostávat push oznámení o sportu",
|
|
104
129
|
casinoemail: "Chci dostávat marketingové e-maily pro kasino",
|
|
105
130
|
casinosms: "Chci dostávat marketingové SMS pro kasino",
|
|
106
|
-
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino"
|
|
131
|
+
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino",
|
|
132
|
+
casinopush: "Chci dostávat push oznámení o kasinu",
|
|
133
|
+
virtualsportsemail: "Chci dostávat marketingové e-maily pro virtuální sporty",
|
|
134
|
+
virtualsportssms: "Chci dostávat marketingové SMS pro virtuální sporty",
|
|
135
|
+
virtualsports3rdparty: "Chci dostávat marketingové telefonáty pro virtuální sporty",
|
|
136
|
+
virtualsportspush: "Chci dostávat push oznámení o virtuálních sportech"
|
|
107
137
|
},
|
|
108
138
|
de: {
|
|
109
139
|
termsAndConditions: {
|
|
@@ -122,9 +152,15 @@ const TRANSLATIONS = {
|
|
|
122
152
|
sportsemail: "Ich möchte Sport-Marketing-E-Mails erhalten",
|
|
123
153
|
sportssms: "Ich möchte Sport-Marketing-SMS erhalten",
|
|
124
154
|
sports3rdparty: "Ich möchte Sport-Marketing-Anrufe erhalten",
|
|
155
|
+
sportspush: "Ich möchte Push-Benachrichtigungen für Sport erhalten",
|
|
125
156
|
casinoemail: "Ich möchte Casino-Marketing-E-Mails erhalten",
|
|
126
157
|
casinosms: "Ich möchte Casino-Marketing-SMS erhalten",
|
|
127
|
-
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten"
|
|
158
|
+
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten",
|
|
159
|
+
casinopush: "Ich möchte Push-Benachrichtigungen für Casino erhalten",
|
|
160
|
+
virtualsportsemail: "Ich möchte Marketing-E-Mails für virtuelle Sportarten erhalten",
|
|
161
|
+
virtualsportssms: "Ich möchte Marketing-SMS für virtuelle Sportarten erhalten",
|
|
162
|
+
virtualsports3rdparty: "Ich möchte Marketing-Anrufe für virtuelle Sportarten erhalten",
|
|
163
|
+
virtualsportspush: "Ich möchte Push-Benachrichtigungen für virtuelle Sportarten erhalten"
|
|
128
164
|
},
|
|
129
165
|
};
|
|
130
166
|
export const getTranslations = (url) => {
|
|
@@ -19,9 +19,15 @@ const TRANSLATIONS = {
|
|
|
19
19
|
sportsemail: "I want to receive Sports email marketing",
|
|
20
20
|
sportssms: "I want to receive Sports SMS marketing",
|
|
21
21
|
sports3rdparty: "I want to receive Sports phone call marketing",
|
|
22
|
+
sportspush: "I want to receive Sports push notifications",
|
|
22
23
|
casinoemail: "I want to receive Casino email marketing",
|
|
23
24
|
casinosms: "I want to receive Casino SMS marketing",
|
|
24
|
-
casino3rdparty: "I want to receive Casino phone call marketing"
|
|
25
|
+
casino3rdparty: "I want to receive Casino phone call marketing",
|
|
26
|
+
casinopush: "I want to receive Casino push notifications",
|
|
27
|
+
virtualsportsemail: "I want to receive Virtual Sports email marketing",
|
|
28
|
+
virtualsportssms: "I want to receive Virtual Sports SMS marketing",
|
|
29
|
+
virtualsports3rdparty: "I want to receive Virtual Sports phone call marketing",
|
|
30
|
+
virtualsportspush: "I want to receive Virtual Sports push notifications"
|
|
25
31
|
},
|
|
26
32
|
ro: {
|
|
27
33
|
termsAndConditions: {
|
|
@@ -40,9 +46,15 @@ const TRANSLATIONS = {
|
|
|
40
46
|
sportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi",
|
|
41
47
|
sportssms: "Vreau să primesc marketing prin SMS pentru sporturi",
|
|
42
48
|
sports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi",
|
|
49
|
+
sportspush: "Vreau să primesc notificări push pentru Sport",
|
|
43
50
|
casinoemail: "Vreau să primesc marketing prin e-mail pentru cazinou",
|
|
44
51
|
casinosms: "Vreau să primesc marketing prin SMS pentru cazinou",
|
|
45
|
-
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou"
|
|
52
|
+
casino3rdparty: "Vreau să primesc marketing prin apel telefonic pentru cazinou",
|
|
53
|
+
casinopush: "Vreau să primesc notificări push pentru Cazinou",
|
|
54
|
+
virtualsportsemail: "Vreau să primesc marketing prin e-mail pentru sporturi virtuale",
|
|
55
|
+
virtualsportssms: "Vreau să primesc marketing prin SMS pentru sporturi virtuale",
|
|
56
|
+
virtualsports3rdparty: "Vreau să primesc marketing prin apel telefonic pentru sporturi virtuale",
|
|
57
|
+
virtualsportspush: "Vreau să primesc notificări push pentru sporturi virtuale"
|
|
46
58
|
},
|
|
47
59
|
hr: {
|
|
48
60
|
termsAndConditions: {
|
|
@@ -61,9 +73,15 @@ const TRANSLATIONS = {
|
|
|
61
73
|
sportsemail: "Želim primati sportski marketing putem e-pošte",
|
|
62
74
|
sportssms: "Želim primati sportski marketing putem SMS-a",
|
|
63
75
|
sports3rdparty: "Želim primati sportski marketing putem telefonskog poziva",
|
|
76
|
+
sportspush: "Želim primati push obavijesti za Sport",
|
|
64
77
|
casinoemail: "Želim primati kasino marketing putem e-pošte",
|
|
65
78
|
casinosms: "Želim primati kasino marketing putem SMS-a",
|
|
66
|
-
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva"
|
|
79
|
+
casino3rdparty: "Želim primati kasino marketing putem telefonskog poziva",
|
|
80
|
+
casinopush: "Želim primati push obavijesti za Kasino",
|
|
81
|
+
virtualsportsemail: "Želim primati marketing putem e-pošte za virtualne sportove",
|
|
82
|
+
virtualsportssms: "Želim primati marketing putem SMS-a za virtualne sportove",
|
|
83
|
+
virtualsports3rdparty: "Želim primati marketing putem telefonskog poziva za virtualne sportove",
|
|
84
|
+
virtualsportspush: "Želim primati push obavijesti za Virtualne sportove"
|
|
67
85
|
},
|
|
68
86
|
fr: {
|
|
69
87
|
termsAndConditions: {
|
|
@@ -82,9 +100,15 @@ const TRANSLATIONS = {
|
|
|
82
100
|
sportsemail: "Je veux recevoir des e-mails marketing pour les sports",
|
|
83
101
|
sportssms: "Je veux recevoir des SMS marketing pour les sports",
|
|
84
102
|
sports3rdparty: "Je veux recevoir des appels marketing pour les sports",
|
|
103
|
+
sportspush: "Je souhaite recevoir des notifications push pour le sport",
|
|
85
104
|
casinoemail: "Je veux recevoir des e-mails marketing pour le casino",
|
|
86
105
|
casinosms: "Je veux recevoir des SMS marketing pour le casino",
|
|
87
|
-
casino3rdparty: "Je veux recevoir des appels marketing pour le casino"
|
|
106
|
+
casino3rdparty: "Je veux recevoir des appels marketing pour le casino",
|
|
107
|
+
casinopush: "Je souhaite recevoir des notifications push pour le casino",
|
|
108
|
+
virtualsportsemail: "Je veux recevoir des e-mails marketing pour les sports virtuels",
|
|
109
|
+
virtualsportssms: "Je veux recevoir des SMS marketing pour les sports virtuels",
|
|
110
|
+
virtualsports3rdparty: "Je veux recevoir des appels marketing pour les sports virtuels",
|
|
111
|
+
virtualsportspush: "Je souhaite recevoir des notifications push pour les sports virtuels"
|
|
88
112
|
},
|
|
89
113
|
cs: {
|
|
90
114
|
termsAndConditions: {
|
|
@@ -103,9 +127,15 @@ const TRANSLATIONS = {
|
|
|
103
127
|
sportsemail: "Chci dostávat sportovní marketingové e-maily",
|
|
104
128
|
sportssms: "Chci dostávat sportovní marketingové SMS",
|
|
105
129
|
sports3rdparty: "Chci dostávat sportovní marketingové telefonáty",
|
|
130
|
+
sportspush: "Chci dostávat push oznámení o sportu",
|
|
106
131
|
casinoemail: "Chci dostávat marketingové e-maily pro kasino",
|
|
107
132
|
casinosms: "Chci dostávat marketingové SMS pro kasino",
|
|
108
|
-
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino"
|
|
133
|
+
casino3rdparty: "Chci dostávat marketingové telefonáty pro kasino",
|
|
134
|
+
casinopush: "Chci dostávat push oznámení o kasinu",
|
|
135
|
+
virtualsportsemail: "Chci dostávat marketingové e-maily pro virtuální sporty",
|
|
136
|
+
virtualsportssms: "Chci dostávat marketingové SMS pro virtuální sporty",
|
|
137
|
+
virtualsports3rdparty: "Chci dostávat marketingové telefonáty pro virtuální sporty",
|
|
138
|
+
virtualsportspush: "Chci dostávat push oznámení o virtuálních sportech"
|
|
109
139
|
},
|
|
110
140
|
de: {
|
|
111
141
|
termsAndConditions: {
|
|
@@ -124,9 +154,15 @@ const TRANSLATIONS = {
|
|
|
124
154
|
sportsemail: "Ich möchte Sport-Marketing-E-Mails erhalten",
|
|
125
155
|
sportssms: "Ich möchte Sport-Marketing-SMS erhalten",
|
|
126
156
|
sports3rdparty: "Ich möchte Sport-Marketing-Anrufe erhalten",
|
|
157
|
+
sportspush: "Ich möchte Push-Benachrichtigungen für Sport erhalten",
|
|
127
158
|
casinoemail: "Ich möchte Casino-Marketing-E-Mails erhalten",
|
|
128
159
|
casinosms: "Ich möchte Casino-Marketing-SMS erhalten",
|
|
129
|
-
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten"
|
|
160
|
+
casino3rdparty: "Ich möchte Casino-Marketing-Anrufe erhalten",
|
|
161
|
+
casinopush: "Ich möchte Push-Benachrichtigungen für Casino erhalten",
|
|
162
|
+
virtualsportsemail: "Ich möchte Marketing-E-Mails für virtuelle Sportarten erhalten",
|
|
163
|
+
virtualsportssms: "Ich möchte Marketing-SMS für virtuelle Sportarten erhalten",
|
|
164
|
+
virtualsports3rdparty: "Ich möchte Marketing-Anrufe für virtuelle Sportarten erhalten",
|
|
165
|
+
virtualsportspush: "Ich möchte Push-Benachrichtigungen für virtuelle Sportarten erhalten"
|
|
130
166
|
},
|
|
131
167
|
};
|
|
132
168
|
const getTranslations = (url) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as i}from"./index-bc209863.js";const a={en:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"I want to receive Sports email marketing",sportssms:"I want to receive Sports SMS marketing",sports3rdparty:"I want to receive Sports phone call marketing",casinoemail:"I want to receive Casino email marketing",casinosms:"I want to receive Casino SMS marketing",casino3rdparty:"I want to receive Casino phone call marketing"},ro:{termsAndConditions:{acceptPart1:"Accept ",acceptPart2:" platformei. Am citit şi înţeles ",acceptPart3:" publicată pe acest site şi confirm că am vârstă peste 18 ani.",tc:"Termenii şi condiţiile"},privacyPolicy:{readUnderstandPart1:"Am citit şi înţeles ",readUnderstandPart2:" publicată pe acest site şi confirm că am vârstă peste 18 ani.",privacy:"Politica de confidenţialitate"},sms:"Sunt de acord să primesc promoţii de marketing prin SMS.",emailmarketing:"Sunt de acord să primesc promoţii de marketing pe e-mail.",sportsemail:"Vreau să primesc marketing prin e-mail pentru sporturi",sportssms:"Vreau să primesc marketing prin SMS pentru sporturi",sports3rdparty:"Vreau să primesc marketing prin apel telefonic pentru sporturi",casinoemail:"Vreau să primesc marketing prin e-mail pentru cazinou",casinosms:"Vreau să primesc marketing prin SMS pentru cazinou",casino3rdparty:"Vreau să primesc marketing prin apel telefonic pentru cazinou"},hr:{termsAndConditions:{acceptPart1:"Prihvaćam Opće uvjete i odredbe ",acceptPart2:"",acceptPart3:"",tcLink:"Opći uvjeti i odredbe"},privacyPolicy:{readUnderstandPart1:"Pročitao sam i razumijem Politiku Privatnosti ",readUnderstandPart2:", i potvrđujem da imam više od 18 godina",privacyLink:"Politika Privatnosti"},sms:"Želim dobivati marketinški sadržaj putem sms",emailmarketing:"Želim dobivati marketinški sadržaj putem e-maila",sportsemail:"Želim primati sportski marketing putem e-pošte",sportssms:"Želim primati sportski marketing putem SMS-a",sports3rdparty:"Želim primati sportski marketing putem telefonskog poziva",casinoemail:"Želim primati kasino marketing putem e-pošte",casinosms:"Želim primati kasino marketing putem SMS-a",casino3rdparty:"Želim primati kasino marketing putem telefonskog poziva"},fr:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Je veux recevoir des e-mails marketing pour les sports",sportssms:"Je veux recevoir des SMS marketing pour les sports",sports3rdparty:"Je veux recevoir des appels marketing pour les sports",casinoemail:"Je veux recevoir des e-mails marketing pour le casino",casinosms:"Je veux recevoir des SMS marketing pour le casino",casino3rdparty:"Je veux recevoir des appels marketing pour le casino"},cs:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Chci dostávat sportovní marketingové e-maily",sportssms:"Chci dostávat sportovní marketingové SMS",sports3rdparty:"Chci dostávat sportovní marketingové telefonáty",casinoemail:"Chci dostávat marketingové e-maily pro kasino",casinosms:"Chci dostávat marketingové SMS pro kasino",casino3rdparty:"Chci dostávat marketingové telefonáty pro kasino"},de:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Ich möchte Sport-Marketing-E-Mails erhalten",sportssms:"Ich möchte Sport-Marketing-SMS erhalten",sports3rdparty:"Ich möchte Sport-Marketing-Anrufe erhalten",casinoemail:"Ich möchte Casino-Marketing-E-Mails erhalten",casinosms:"Ich möchte Casino-Marketing-SMS erhalten",casino3rdparty:"Ich möchte Casino-Marketing-Anrufe erhalten"}},r=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let i in e[t])a[t]||(a[t]={}),a[t][i]=e[t][i]})),t(!0)}))})),n=(e,t,i)=>{let r=(n=a[t||"en"],e.split(".").reduce(((e,t)=>e&&void 0!==e[t]?e[t]:null),n));var n;if(null===r)return e;if(void 0!==i)for(const[e,t]of Object.entries(i)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r};function s(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}const o=class{constructor(i){e(this,i),this.userLegislationConsent=t(this,"userLegislationConsent",7),this.goToTermsAndConditions=()=>window.postMessage({type:"GoToTermsAndConditions"}),this.goToPrivacyPolicy=()=>window.postMessage({type:"GoToPrivacyPolicy"}),this.lang="en",this.queried=!1,this.consentType="",this.mandatory=!1,this.gmVersion="",this.consentTitle="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.mbSource=void 0,this.textContent=""}handleNewTranslations(){r(this.translationUrl)}handleStylingUrlChange(e,t){e!==t&&s(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){this.translationUrl.length>2&&await r(this.translationUrl)}userLegislationConsentHandler(){this.userLegislationConsent.emit({type:this.consentType,value:this.checkboxInput.checked})}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&function(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}determineTextContent(){if("gmcore"===this.gmVersion&&"termsandconditions"===this.consentType)return i("p",null,n("termsAndConditions.acceptPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToTermsAndConditions},n("termsAndConditions.tcLink",this.lang)),n("termsAndConditions.acceptPart2",this.lang),i("span",{class:"ConsentLink",onClick:this.goToPrivacyPolicy},n("privacyPolicy.privacyLink",this.lang)),n("termsAndConditions.acceptPart3",this.lang));if("gm16"===this.gmVersion){if("termsandconditions"===this.consentType)return i("p",null,n("termsAndConditions.acceptPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToTermsAndConditions},n("termsAndConditions.tcLink",this.lang)));if("privacypolicy"===this.consentType)return i("p",null,n("privacyPolicy.readUnderstandPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToPrivacyPolicy},n("privacyPolicy.privacyLink",this.lang)),n("privacyPolicy.readUnderstandPart2",this.lang))}return i("p",null,n(this.consentType,this.lang))}render(){return this.queried&&this.userLegislationConsentHandler(),i("div",{key:"aba04e96251f2f0febe96883b931193fb5ca8c94",ref:e=>this.stylingContainer=e},i("p",{key:"d3f0cbeb5b45b4538462a53c41ab041b176a7c26",class:"ConsentTitle"},this.consentTitle),i("label",{key:"800ab8d45e87b075402c3178e60a16866d0321d4",class:"UserConsent",htmlFor:"userConsent"},i("input",{key:"919c15c353a8146661eca2870e7a63f7c689953e",ref:e=>this.checkboxInput=e,id:"userConsent",type:"checkbox",onInput:()=>this.userLegislationConsentHandler()}),this.determineTextContent(),this.mandatory&&i("span",{key:"f7126adee1ba5540837da4b852961d08a9eae857",class:"MandatoryItem"},"*")))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStylingUrl:["handleStylingUrlChange"]}}};o.style=':host{display:block;font-family:inherit}.ConsentTitle{margin-bottom:0.2rem;font-weight:600}.UserConsent:hover{cursor:pointer}.UserConsent{display:flex;align-items:center}.MandatoryItem{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:1.2rem}.ConsentLink{text-decoration:underline;color:var(--emw--color-primary), #52d004;font-weight:bold}#userConsent{appearance:none;width:18px;border-radius:3px;height:18px;border:1px solid var(--emw--color-black, #000000);background-color:var(--emw--color-white), #FFFFFF;cursor:pointer;position:relative}#userConsent:checked{background-color:var(--emw--color-white), #FFFFFF;border:1px solid var(--emw--color-black, #000000)}#userConsent:checked::after{content:"";position:absolute;width:4px;height:8px;border:solid var(--emw--color-black, #000000);background-color:var(--emw--color-white), #FFFFFF;border-width:0 2px 2px 0;top:2px;left:5px;transform:rotate(45deg)}';export{o as player_user_consents}
|
|
1
|
+
import{r as t,c as e,h as i}from"./index-bc209863.js";const r={en:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"I want to receive Sports email marketing",sportssms:"I want to receive Sports SMS marketing",sports3rdparty:"I want to receive Sports phone call marketing",sportspush:"I want to receive Sports push notifications",casinoemail:"I want to receive Casino email marketing",casinosms:"I want to receive Casino SMS marketing",casino3rdparty:"I want to receive Casino phone call marketing",casinopush:"I want to receive Casino push notifications",virtualsportsemail:"I want to receive Virtual Sports email marketing",virtualsportssms:"I want to receive Virtual Sports SMS marketing",virtualsports3rdparty:"I want to receive Virtual Sports phone call marketing",virtualsportspush:"I want to receive Virtual Sports push notifications"},ro:{termsAndConditions:{acceptPart1:"Accept ",acceptPart2:" platformei. Am citit şi înţeles ",acceptPart3:" publicată pe acest site şi confirm că am vârstă peste 18 ani.",tc:"Termenii şi condiţiile"},privacyPolicy:{readUnderstandPart1:"Am citit şi înţeles ",readUnderstandPart2:" publicată pe acest site şi confirm că am vârstă peste 18 ani.",privacy:"Politica de confidenţialitate"},sms:"Sunt de acord să primesc promoţii de marketing prin SMS.",emailmarketing:"Sunt de acord să primesc promoţii de marketing pe e-mail.",sportsemail:"Vreau să primesc marketing prin e-mail pentru sporturi",sportssms:"Vreau să primesc marketing prin SMS pentru sporturi",sports3rdparty:"Vreau să primesc marketing prin apel telefonic pentru sporturi",sportspush:"Vreau să primesc notificări push pentru Sport",casinoemail:"Vreau să primesc marketing prin e-mail pentru cazinou",casinosms:"Vreau să primesc marketing prin SMS pentru cazinou",casino3rdparty:"Vreau să primesc marketing prin apel telefonic pentru cazinou",casinopush:"Vreau să primesc notificări push pentru Cazinou",virtualsportsemail:"Vreau să primesc marketing prin e-mail pentru sporturi virtuale",virtualsportssms:"Vreau să primesc marketing prin SMS pentru sporturi virtuale",virtualsports3rdparty:"Vreau să primesc marketing prin apel telefonic pentru sporturi virtuale",virtualsportspush:"Vreau să primesc notificări push pentru sporturi virtuale"},hr:{termsAndConditions:{acceptPart1:"Prihvaćam Opće uvjete i odredbe ",acceptPart2:"",acceptPart3:"",tcLink:"Opći uvjeti i odredbe"},privacyPolicy:{readUnderstandPart1:"Pročitao sam i razumijem Politiku Privatnosti ",readUnderstandPart2:", i potvrđujem da imam više od 18 godina",privacyLink:"Politika Privatnosti"},sms:"Želim dobivati marketinški sadržaj putem sms",emailmarketing:"Želim dobivati marketinški sadržaj putem e-maila",sportsemail:"Želim primati sportski marketing putem e-pošte",sportssms:"Želim primati sportski marketing putem SMS-a",sports3rdparty:"Želim primati sportski marketing putem telefonskog poziva",sportspush:"Želim primati push obavijesti za Sport",casinoemail:"Želim primati kasino marketing putem e-pošte",casinosms:"Želim primati kasino marketing putem SMS-a",casino3rdparty:"Želim primati kasino marketing putem telefonskog poziva",casinopush:"Želim primati push obavijesti za Kasino",virtualsportsemail:"Želim primati marketing putem e-pošte za virtualne sportove",virtualsportssms:"Želim primati marketing putem SMS-a za virtualne sportove",virtualsports3rdparty:"Želim primati marketing putem telefonskog poziva za virtualne sportove",virtualsportspush:"Želim primati push obavijesti za Virtualne sportove"},fr:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Je veux recevoir des e-mails marketing pour les sports",sportssms:"Je veux recevoir des SMS marketing pour les sports",sports3rdparty:"Je veux recevoir des appels marketing pour les sports",sportspush:"Je souhaite recevoir des notifications push pour le sport",casinoemail:"Je veux recevoir des e-mails marketing pour le casino",casinosms:"Je veux recevoir des SMS marketing pour le casino",casino3rdparty:"Je veux recevoir des appels marketing pour le casino",casinopush:"Je souhaite recevoir des notifications push pour le casino",virtualsportsemail:"Je veux recevoir des e-mails marketing pour les sports virtuels",virtualsportssms:"Je veux recevoir des SMS marketing pour les sports virtuels",virtualsports3rdparty:"Je veux recevoir des appels marketing pour les sports virtuels",virtualsportspush:"Je souhaite recevoir des notifications push pour les sports virtuels"},cs:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Chci dostávat sportovní marketingové e-maily",sportssms:"Chci dostávat sportovní marketingové SMS",sports3rdparty:"Chci dostávat sportovní marketingové telefonáty",sportspush:"Chci dostávat push oznámení o sportu",casinoemail:"Chci dostávat marketingové e-maily pro kasino",casinosms:"Chci dostávat marketingové SMS pro kasino",casino3rdparty:"Chci dostávat marketingové telefonáty pro kasino",casinopush:"Chci dostávat push oznámení o kasinu",virtualsportsemail:"Chci dostávat marketingové e-maily pro virtuální sporty",virtualsportssms:"Chci dostávat marketingové SMS pro virtuální sporty",virtualsports3rdparty:"Chci dostávat marketingové telefonáty pro virtuální sporty",virtualsportspush:"Chci dostávat push oznámení o virtuálních sportech"},de:{termsAndConditions:{acceptPart1:"I accept the ",acceptPart2:", I have read and understood the ",acceptPart3:" as published on this site and confirm that I am over 18 years old.",tc:"Terms and Conditions"},privacyPolicy:{readUnderstandPart1:"I have read and understood the ",readUnderstandPart2:", as published on this site and confirm that I am over 18 years old.",privacy:"Privacy Policy"},sms:"I consent to receive marketing communication via SMS.",emailmarketing:"I consent to receive marketing communication via Email.",sportsemail:"Ich möchte Sport-Marketing-E-Mails erhalten",sportssms:"Ich möchte Sport-Marketing-SMS erhalten",sports3rdparty:"Ich möchte Sport-Marketing-Anrufe erhalten",sportspush:"Ich möchte Push-Benachrichtigungen für Sport erhalten",casinoemail:"Ich möchte Casino-Marketing-E-Mails erhalten",casinosms:"Ich möchte Casino-Marketing-SMS erhalten",casino3rdparty:"Ich möchte Casino-Marketing-Anrufe erhalten",casinopush:"Ich möchte Push-Benachrichtigungen für Casino erhalten",virtualsportsemail:"Ich möchte Marketing-E-Mails für virtuelle Sportarten erhalten",virtualsportssms:"Ich möchte Marketing-SMS für virtuelle Sportarten erhalten",virtualsports3rdparty:"Ich möchte Marketing-Anrufe für virtuelle Sportarten erhalten",virtualsportspush:"Ich möchte Push-Benachrichtigungen für virtuelle Sportarten erhalten"}},a=t=>new Promise((e=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{for(let i in t[e])r[e]||(r[e]={}),r[e][i]=t[e][i]})),e(!0)}))})),s=(t,e,i)=>{let a=(s=r[e||"en"],t.split(".").reduce(((t,e)=>t&&void 0!==t[e]?t[e]:null),s));var s;if(null===a)return t;if(void 0!==i)for(const[t,e]of Object.entries(i)){const i=new RegExp(`{${t}}`,"g");a=a.replace(i,e)}return a};function o(t,e){const i=new URL(e);fetch(i.href).then((t=>t.text())).then((e=>{const i=document.createElement("style");i.innerHTML=e,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}const n=class{constructor(i){t(this,i),this.userLegislationConsent=e(this,"userLegislationConsent",7),this.goToTermsAndConditions=()=>window.postMessage({type:"GoToTermsAndConditions"}),this.goToPrivacyPolicy=()=>window.postMessage({type:"GoToPrivacyPolicy"}),this.lang="en",this.queried=!1,this.consentType="",this.mandatory=!1,this.gmVersion="",this.consentTitle="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.mbSource=void 0,this.textContent=""}handleNewTranslations(){a(this.translationUrl)}handleStylingUrlChange(t,e){t!==e&&o(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){this.translationUrl.length>2&&await a(this.translationUrl)}userLegislationConsentHandler(){this.userLegislationConsent.emit({type:this.consentType,value:this.checkboxInput.checked})}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{i.innerHTML=e,t&&t.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&function(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&o(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}determineTextContent(){if("gmcore"===this.gmVersion&&"termsandconditions"===this.consentType)return i("p",null,s("termsAndConditions.acceptPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToTermsAndConditions},s("termsAndConditions.tcLink",this.lang)),s("termsAndConditions.acceptPart2",this.lang),i("span",{class:"ConsentLink",onClick:this.goToPrivacyPolicy},s("privacyPolicy.privacyLink",this.lang)),s("termsAndConditions.acceptPart3",this.lang));if("gm16"===this.gmVersion){if("termsandconditions"===this.consentType)return i("p",null,s("termsAndConditions.acceptPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToTermsAndConditions},s("termsAndConditions.tcLink",this.lang)));if("privacypolicy"===this.consentType)return i("p",null,s("privacyPolicy.readUnderstandPart1",this.lang),i("span",{class:"ConsentLink",onClick:this.goToPrivacyPolicy},s("privacyPolicy.privacyLink",this.lang)),s("privacyPolicy.readUnderstandPart2",this.lang))}return i("p",null,s(this.consentType,this.lang))}render(){return this.queried&&this.userLegislationConsentHandler(),i("div",{key:"aba04e96251f2f0febe96883b931193fb5ca8c94",ref:t=>this.stylingContainer=t},i("p",{key:"d3f0cbeb5b45b4538462a53c41ab041b176a7c26",class:"ConsentTitle"},this.consentTitle),i("label",{key:"800ab8d45e87b075402c3178e60a16866d0321d4",class:"UserConsent",htmlFor:"userConsent"},i("input",{key:"919c15c353a8146661eca2870e7a63f7c689953e",ref:t=>this.checkboxInput=t,id:"userConsent",type:"checkbox",onInput:()=>this.userLegislationConsentHandler()}),this.determineTextContent(),this.mandatory&&i("span",{key:"f7126adee1ba5540837da4b852961d08a9eae857",class:"MandatoryItem"},"*")))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStylingUrl:["handleStylingUrlChange"]}}};n.style=':host{display:block;font-family:inherit}.ConsentTitle{margin-bottom:0.2rem;font-weight:600}.UserConsent:hover{cursor:pointer}.UserConsent{display:flex;align-items:center}.MandatoryItem{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:1.2rem}.ConsentLink{text-decoration:underline;color:var(--emw--color-primary), #52d004;font-weight:bold}#userConsent{appearance:none;width:18px;border-radius:3px;height:18px;border:1px solid var(--emw--color-black, #000000);background-color:var(--emw--color-white), #FFFFFF;cursor:pointer;position:relative}#userConsent:checked{background-color:var(--emw--color-white), #FFFFFF;border:1px solid var(--emw--color-black, #000000)}#userConsent:checked::after{content:"";position:absolute;width:4px;height:8px;border:solid var(--emw--color-black, #000000);background-color:var(--emw--color-white), #FFFFFF;border-width:0 2px 2px 0;top:2px;left:5px;transform:rotate(45deg)}';export{n as player_user_consents}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|