@abyss-project/commons-front-core 1.0.146 → 1.0.147
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/{CookieConsentSettings.component-OElkXdNK.js → CookieConsentSettings.component-Dkw8Ye0E.js} +205 -145
- package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +1 -1
- package/dist/components/PdfEditor/operations/actions.d.ts +14 -0
- package/dist/components/PdfEditor/operations/rotate-coords.d.ts +19 -0
- package/dist/components/PdfEditor/operations/rotate-coords.spec.d.ts +1 -0
- package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +3 -0
- package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +3 -0
- package/dist/components/PdfEditor/signature/resolve-asset.d.ts +3 -0
- package/dist/components/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
- package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +2 -1
- package/dist/components/PdfEditor/tools/SignatureTool.d.ts +3 -0
- package/dist/components/PdfEditor/tools/Toolbar.d.ts +6 -0
- package/dist/components/PdfEditor/types.d.ts +9 -1
- package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +3 -1
- package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +6 -2
- package/dist/components/PdfEditor/viewer/ViewerControls.d.ts +15 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +62 -2
- package/dist/{index-C-0bb3BS.js → index-2CKJrPca.js} +2 -2
- package/dist/{index-HPIAkAU-.js → index-B3Q0CXvH.js} +2 -2
- package/dist/{index-paxe4Y8a.js → index-BHkn2ltL.js} +2 -2
- package/dist/{index-JqXrUnnS.js → index-BL7GRhPa.js} +4 -4
- package/dist/{index-CWQyokns.js → index-BOsYmSCD.js} +28048 -27307
- package/dist/{index-pojd1-xt.js → index-BW9Bye_5.js} +3 -3
- package/dist/{index-VzGJqZUr.js → index-BqukycfU.js} +3 -3
- package/dist/{index-DPJn-INz.js → index-C2KsBRfQ.js} +2 -2
- package/dist/{index-DP9EENt-.js → index-CaN4t0Xc.js} +2 -2
- package/dist/{index-DAG2YmhY.js → index-CrfvkYYN.js} +2 -2
- package/dist/{index-D-Z-Yepf.js → index-Cx0vAIWv.js} +2 -2
- package/dist/{index-D-prSy8i.js → index-D8zo5pJ7.js} +3 -3
- package/dist/{index-BStJ2eR5.js → index-DBRSsvnV.js} +2 -2
- package/dist/{index-C4iVvX_c.js → index-DCJSXRWb.js} +1 -1
- package/dist/{index-CTzGCHT1.js → index-DCjRpdx3.js} +4 -4
- package/dist/{index-CeZ2OKqT.js → index-DFfm18gp.js} +2 -2
- package/dist/{index-DMJCOIN6.js → index-DayoEcuw.js} +2 -2
- package/dist/{index-CCaYRiXR.js → index-Dn-WBCKE.js} +2 -2
- package/dist/{index-aJDianQ2.js → index-EZoUoL9o.js} +3 -3
- package/dist/{index-DedcVRIy.js → index-GG9dANvs.js} +4 -4
- package/dist/{index-0DKoS1Ho.js → index-HwfQ82MI.js} +2 -2
- package/dist/{index-C_VHuOIZ.js → index-xJbVPHgr.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/translations/en.d.ts +31 -1
- package/dist/translations/fr.d.ts +31 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
2
|
-
import { useCallback as
|
|
3
|
-
import { Paper as te, Stack as P, Box as
|
|
1
|
+
import { jsx as i, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as O, useMemo as x, useState as b, useEffect as z, createContext as Q, useContext as ee } from "react";
|
|
3
|
+
import { Paper as te, Stack as P, Box as I, Typography as m, Button as C, Dialog as oe, DialogTitle as ie, DialogContent as re, FormControlLabel as R, Checkbox as v, DialogActions as se, Card as ae, CardContent as ne } from "@mui/material";
|
|
4
4
|
import { useIntl as le } from "react-intl";
|
|
5
5
|
import { UserLanguage as y, enTranslation as ce, frTranslation as de, AbyssCore as k } from "@abyss-project/main";
|
|
6
6
|
import { useQuery as ue, useMutation as pe } from "@tanstack/react-query";
|
|
@@ -31,7 +31,7 @@ const q = {
|
|
|
31
31
|
850: "#1C1C1E",
|
|
32
32
|
900: "#18181B",
|
|
33
33
|
950: "#09090B"
|
|
34
|
-
},
|
|
34
|
+
}, ge = {
|
|
35
35
|
50: "#ECFEFF",
|
|
36
36
|
100: "#CFFAFE",
|
|
37
37
|
200: "#A5F3FC",
|
|
@@ -54,7 +54,7 @@ const q = {
|
|
|
54
54
|
700: "#B45309",
|
|
55
55
|
800: "#92400E",
|
|
56
56
|
900: "#78350F"
|
|
57
|
-
},
|
|
57
|
+
}, Ae = {
|
|
58
58
|
50: "#FEF2F2",
|
|
59
59
|
100: "#FEE2E2",
|
|
60
60
|
200: "#FECACA",
|
|
@@ -87,14 +87,14 @@ const q = {
|
|
|
87
87
|
700: "#7C3AED",
|
|
88
88
|
800: "#6B21A8",
|
|
89
89
|
900: "#581C87"
|
|
90
|
-
},
|
|
90
|
+
}, he = {
|
|
91
91
|
discord: "#5865F2",
|
|
92
92
|
discordHover: "#4752C4",
|
|
93
93
|
google: "#4285F4",
|
|
94
94
|
googleHover: "#3367D6",
|
|
95
95
|
slack: "#4A154B",
|
|
96
96
|
slackHover: "#3B1139"
|
|
97
|
-
},
|
|
97
|
+
}, Te = {
|
|
98
98
|
yellow: "#E1A624",
|
|
99
99
|
blue: "#317AC1",
|
|
100
100
|
grey: "#384454",
|
|
@@ -143,7 +143,7 @@ const q = {
|
|
|
143
143
|
// cyan light
|
|
144
144
|
"#F9A8D4"
|
|
145
145
|
// pink light
|
|
146
|
-
],
|
|
146
|
+
], fe = [
|
|
147
147
|
"#6366f1",
|
|
148
148
|
// indigo
|
|
149
149
|
"#8b5cf6",
|
|
@@ -176,23 +176,23 @@ const q = {
|
|
|
176
176
|
// sky
|
|
177
177
|
"#3b82f6"
|
|
178
178
|
// blue
|
|
179
|
-
],
|
|
179
|
+
], Ie = (e) => M[e % M.length], Ne = (e) => G[e % G.length], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
180
180
|
__proto__: null,
|
|
181
181
|
amber: W,
|
|
182
|
-
chipColors:
|
|
182
|
+
chipColors: Te,
|
|
183
183
|
colorPool: M,
|
|
184
184
|
colorPoolExtended: G,
|
|
185
|
-
cyan:
|
|
186
|
-
getPoolColor:
|
|
187
|
-
getPoolColorExtended:
|
|
185
|
+
cyan: ge,
|
|
186
|
+
getPoolColor: Ie,
|
|
187
|
+
getPoolColorExtended: Ne,
|
|
188
188
|
green: Ee,
|
|
189
189
|
indigo: q,
|
|
190
190
|
neutral: me,
|
|
191
191
|
purple: Se,
|
|
192
|
-
red:
|
|
193
|
-
social:
|
|
194
|
-
tagColorPool:
|
|
195
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
192
|
+
red: Ae,
|
|
193
|
+
social: he,
|
|
194
|
+
tagColorPool: fe
|
|
195
|
+
}, Symbol.toStringTag, { value: "Module" })), Oe = {
|
|
196
196
|
"space-display-name": {
|
|
197
197
|
personal: "Mon Cloud",
|
|
198
198
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -220,11 +220,26 @@ const q = {
|
|
|
220
220
|
download: "Télécharger",
|
|
221
221
|
"save-to-cloud": "Enregistrer sur AbyssCloud",
|
|
222
222
|
"quick-sigs": "Signatures enregistrées",
|
|
223
|
-
"quick-texts": "Blocs de texte"
|
|
223
|
+
"quick-texts": "Blocs de texte",
|
|
224
|
+
"toggle-pages": "Afficher/masquer les pages",
|
|
225
|
+
aria: {
|
|
226
|
+
tools: "Outils d’édition",
|
|
227
|
+
history: "Annuler et rétablir",
|
|
228
|
+
"quick-signatures": "Signatures enregistrées"
|
|
229
|
+
}
|
|
224
230
|
},
|
|
225
231
|
sidebar: {
|
|
226
232
|
pages: "Pages ({count})"
|
|
227
233
|
},
|
|
234
|
+
viewer: {
|
|
235
|
+
"zoom-in": "Zoom avant",
|
|
236
|
+
"zoom-out": "Zoom arrière",
|
|
237
|
+
"fit-width": "Ajuster à la largeur",
|
|
238
|
+
"reset-zoom": "Réinitialiser le zoom",
|
|
239
|
+
"prev-page": "Page précédente",
|
|
240
|
+
"next-page": "Page suivante",
|
|
241
|
+
"page-indicator": "Page {current} sur {total}"
|
|
242
|
+
},
|
|
228
243
|
insert: {
|
|
229
244
|
button: "Insérer des pages",
|
|
230
245
|
reading: "Lecture du PDF…",
|
|
@@ -241,14 +256,16 @@ const q = {
|
|
|
241
256
|
confirm: "{count, plural, one {Insérer # page} other {Insérer # pages}}"
|
|
242
257
|
},
|
|
243
258
|
action: {
|
|
244
|
-
cancel: "Annuler"
|
|
259
|
+
cancel: "Annuler",
|
|
260
|
+
delete: "Supprimer"
|
|
245
261
|
},
|
|
246
262
|
error: {
|
|
247
263
|
"load-failed": "Impossible de charger le PDF : {message}",
|
|
248
264
|
"export-failed": "Échec de l'export : {message}"
|
|
249
265
|
},
|
|
250
266
|
text: {
|
|
251
|
-
hint: "Cliquez n'importe où sur la page pour ajouter du texte. Entrée ou clic en dehors pour valider. Double-clic pour modifier, glisser pour déplacer."
|
|
267
|
+
hint: "Cliquez n'importe où sur la page pour ajouter du texte. Entrée ou clic en dehors pour valider. Double-clic pour modifier, glisser pour déplacer.",
|
|
268
|
+
placeholder: "Saisir…"
|
|
252
269
|
},
|
|
253
270
|
draw: {
|
|
254
271
|
hint: "Cliquez et glissez sur la page pour dessiner.",
|
|
@@ -263,6 +280,7 @@ const q = {
|
|
|
263
280
|
"add-button": "Ajouter une signature",
|
|
264
281
|
"apply-all-pages": "Appliquer sur toutes les pages",
|
|
265
282
|
"manage-assets": "Gérer mes assets",
|
|
283
|
+
"asset-load-failed": "Impossible de charger cet asset. Veuillez réessayer.",
|
|
266
284
|
clear: "Effacer",
|
|
267
285
|
"picker-title": "Ajouter votre signature",
|
|
268
286
|
tabs: {
|
|
@@ -326,7 +344,9 @@ const q = {
|
|
|
326
344
|
},
|
|
327
345
|
"fill-fields": {
|
|
328
346
|
empty: "Aucun champ remplissable détecté dans ce PDF.",
|
|
329
|
-
detected: "{count, plural, one {# champ remplissable détecté.} other {# champs remplissables détectés.}}"
|
|
347
|
+
detected: "{count, plural, one {# champ remplissable détecté.} other {# champs remplissables détectés.}}",
|
|
348
|
+
flatten: "Aplatir les champs à l’export",
|
|
349
|
+
"flatten-hint": "Fige les valeurs et rend le formulaire non modifiable."
|
|
330
350
|
},
|
|
331
351
|
page: {
|
|
332
352
|
inserted: "Page insérée",
|
|
@@ -943,6 +963,7 @@ const q = {
|
|
|
943
963
|
},
|
|
944
964
|
billing: {
|
|
945
965
|
"current-plan": "Plan actuel",
|
|
966
|
+
"free-plan": "Gratuit",
|
|
946
967
|
tier: {
|
|
947
968
|
FREEMIUM: "Gratuit",
|
|
948
969
|
DEFAULT: "Standard",
|
|
@@ -1021,6 +1042,14 @@ const q = {
|
|
|
1021
1042
|
internal: {
|
|
1022
1043
|
name: "Internal",
|
|
1023
1044
|
description: "Usage interne Abyss"
|
|
1045
|
+
},
|
|
1046
|
+
"family-free": {
|
|
1047
|
+
name: "Famille",
|
|
1048
|
+
description: "Jusqu'à 6 membres, espaces partagés"
|
|
1049
|
+
},
|
|
1050
|
+
"family-paid": {
|
|
1051
|
+
name: "Famille+",
|
|
1052
|
+
description: "Jusqu'à 12 membres + bonus sur vos quotas perso"
|
|
1024
1053
|
}
|
|
1025
1054
|
},
|
|
1026
1055
|
"plan-feature": {
|
|
@@ -1043,14 +1072,15 @@ const q = {
|
|
|
1043
1072
|
banner: {
|
|
1044
1073
|
"no-family": "Pas encore de famille",
|
|
1045
1074
|
"no-family-cta": "Créer une famille",
|
|
1075
|
+
"no-family-sub": "Souvenirs, fichiers & quotas partagés",
|
|
1046
1076
|
pending: "Invitation en attente",
|
|
1047
|
-
active: "Famille active",
|
|
1048
1077
|
manage: "Gérer",
|
|
1049
1078
|
"owner-badge": "Propriétaire",
|
|
1050
1079
|
// reserved: Banking family — used by host banner
|
|
1051
1080
|
"coming-soon": "Banking famille — bientôt disponible",
|
|
1052
1081
|
settings: {
|
|
1053
|
-
"no-family-description": "
|
|
1082
|
+
"no-family-description": "Créez un espace partagé avec vos proches — souvenirs, fichiers, tableaux et plus.",
|
|
1083
|
+
"join-hint": "Pour rejoindre une famille existante, vous devez être invité par un de ses membres : demandez-lui de vous envoyer une invitation.",
|
|
1054
1084
|
"pending-description": "Vous avez reçu une invitation. Connectez-vous à Abyss pour l'accepter ou la refuser.",
|
|
1055
1085
|
"active-description": "Vous êtes membre de cet espace famille.",
|
|
1056
1086
|
"owner-description": "Vous gérez cet espace famille."
|
|
@@ -1276,11 +1306,26 @@ const q = {
|
|
|
1276
1306
|
download: "Download",
|
|
1277
1307
|
"save-to-cloud": "Save to AbyssCloud",
|
|
1278
1308
|
"quick-sigs": "Saved signatures",
|
|
1279
|
-
"quick-texts": "Text blocks"
|
|
1309
|
+
"quick-texts": "Text blocks",
|
|
1310
|
+
"toggle-pages": "Toggle pages panel",
|
|
1311
|
+
aria: {
|
|
1312
|
+
tools: "Editing tools",
|
|
1313
|
+
history: "Undo and redo",
|
|
1314
|
+
"quick-signatures": "Saved signatures"
|
|
1315
|
+
}
|
|
1280
1316
|
},
|
|
1281
1317
|
sidebar: {
|
|
1282
1318
|
pages: "Pages ({count})"
|
|
1283
1319
|
},
|
|
1320
|
+
viewer: {
|
|
1321
|
+
"zoom-in": "Zoom in",
|
|
1322
|
+
"zoom-out": "Zoom out",
|
|
1323
|
+
"fit-width": "Fit width",
|
|
1324
|
+
"reset-zoom": "Reset zoom",
|
|
1325
|
+
"prev-page": "Previous page",
|
|
1326
|
+
"next-page": "Next page",
|
|
1327
|
+
"page-indicator": "Page {current} of {total}"
|
|
1328
|
+
},
|
|
1284
1329
|
insert: {
|
|
1285
1330
|
button: "Insert pages",
|
|
1286
1331
|
reading: "Reading PDF…",
|
|
@@ -1297,14 +1342,16 @@ const q = {
|
|
|
1297
1342
|
confirm: "{count, plural, one {Insert # page} other {Insert # pages}}"
|
|
1298
1343
|
},
|
|
1299
1344
|
action: {
|
|
1300
|
-
cancel: "Cancel"
|
|
1345
|
+
cancel: "Cancel",
|
|
1346
|
+
delete: "Delete"
|
|
1301
1347
|
},
|
|
1302
1348
|
error: {
|
|
1303
1349
|
"load-failed": "Failed to load PDF: {message}",
|
|
1304
1350
|
"export-failed": "Export failed: {message}"
|
|
1305
1351
|
},
|
|
1306
1352
|
text: {
|
|
1307
|
-
hint: "Click anywhere on the page to add text. Press Enter or click outside to confirm. Double-click to edit, drag to move."
|
|
1353
|
+
hint: "Click anywhere on the page to add text. Press Enter or click outside to confirm. Double-click to edit, drag to move.",
|
|
1354
|
+
placeholder: "Type…"
|
|
1308
1355
|
},
|
|
1309
1356
|
draw: {
|
|
1310
1357
|
hint: "Click and drag on the page to draw.",
|
|
@@ -1319,6 +1366,7 @@ const q = {
|
|
|
1319
1366
|
"add-button": "Add a signature",
|
|
1320
1367
|
"apply-all-pages": "Apply to every page",
|
|
1321
1368
|
"manage-assets": "Manage my assets",
|
|
1369
|
+
"asset-load-failed": "Could not load this asset. Please try again.",
|
|
1322
1370
|
clear: "Clear",
|
|
1323
1371
|
"picker-title": "Add your signature",
|
|
1324
1372
|
tabs: {
|
|
@@ -1382,7 +1430,9 @@ const q = {
|
|
|
1382
1430
|
},
|
|
1383
1431
|
"fill-fields": {
|
|
1384
1432
|
empty: "No fillable fields detected in this PDF.",
|
|
1385
|
-
detected: "{count, plural, one {# fillable field detected.} other {# fillable fields detected.}}"
|
|
1433
|
+
detected: "{count, plural, one {# fillable field detected.} other {# fillable fields detected.}}",
|
|
1434
|
+
flatten: "Flatten fields on export",
|
|
1435
|
+
"flatten-hint": "Bakes the values in and makes the form read-only."
|
|
1386
1436
|
},
|
|
1387
1437
|
page: {
|
|
1388
1438
|
inserted: "Inserted page",
|
|
@@ -1999,6 +2049,7 @@ const q = {
|
|
|
1999
2049
|
},
|
|
2000
2050
|
billing: {
|
|
2001
2051
|
"current-plan": "Current plan",
|
|
2052
|
+
"free-plan": "Free",
|
|
2002
2053
|
tier: {
|
|
2003
2054
|
FREEMIUM: "Free",
|
|
2004
2055
|
DEFAULT: "Standard",
|
|
@@ -2077,6 +2128,14 @@ const q = {
|
|
|
2077
2128
|
internal: {
|
|
2078
2129
|
name: "Internal",
|
|
2079
2130
|
description: "Abyss internal use"
|
|
2131
|
+
},
|
|
2132
|
+
"family-free": {
|
|
2133
|
+
name: "Family",
|
|
2134
|
+
description: "Up to 6 members, shared spaces"
|
|
2135
|
+
},
|
|
2136
|
+
"family-paid": {
|
|
2137
|
+
name: "Family+",
|
|
2138
|
+
description: "Up to 12 members + a bonus on your personal quotas"
|
|
2080
2139
|
}
|
|
2081
2140
|
},
|
|
2082
2141
|
"plan-feature": {
|
|
@@ -2290,14 +2349,15 @@ const q = {
|
|
|
2290
2349
|
banner: {
|
|
2291
2350
|
"no-family": "No family yet",
|
|
2292
2351
|
"no-family-cta": "Create a family",
|
|
2352
|
+
"no-family-sub": "Shared memories, files & quotas",
|
|
2293
2353
|
pending: "Invitation pending",
|
|
2294
|
-
active: "Family active",
|
|
2295
2354
|
manage: "Manage",
|
|
2296
2355
|
"owner-badge": "Owner",
|
|
2297
2356
|
// reserved: Banking family — used by host banner
|
|
2298
2357
|
"coming-soon": "Family Banking — coming soon",
|
|
2299
2358
|
settings: {
|
|
2300
|
-
"no-family-description": "
|
|
2359
|
+
"no-family-description": "Create a shared space with your loved ones — memories, files, boards and more.",
|
|
2360
|
+
"join-hint": "To join an existing family, a member must invite you: ask them to send you an invitation.",
|
|
2301
2361
|
"pending-description": "You have a pending invitation. Sign in to Abyss to accept or decline it.",
|
|
2302
2362
|
"active-description": "You are a member of this family space.",
|
|
2303
2363
|
"owner-description": "You are managing this family space."
|
|
@@ -2308,41 +2368,41 @@ const q = {
|
|
|
2308
2368
|
var U, B;
|
|
2309
2369
|
function ye() {
|
|
2310
2370
|
if (B) return U;
|
|
2311
|
-
B = 1, U = o, o.flatten = o, o.unflatten =
|
|
2371
|
+
B = 1, U = o, o.flatten = o, o.unflatten = a;
|
|
2312
2372
|
function e(r) {
|
|
2313
2373
|
return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
2314
2374
|
}
|
|
2315
2375
|
function t(r) {
|
|
2316
2376
|
return r;
|
|
2317
2377
|
}
|
|
2318
|
-
function o(r,
|
|
2319
|
-
|
|
2320
|
-
const u =
|
|
2321
|
-
function
|
|
2322
|
-
|
|
2323
|
-
const l =
|
|
2324
|
-
if (!d && !S && D && Object.keys(l).length && (!
|
|
2325
|
-
return
|
|
2326
|
-
|
|
2378
|
+
function o(r, s) {
|
|
2379
|
+
s = s || {};
|
|
2380
|
+
const u = s.delimiter || ".", p = s.maxDepth, A = s.transformKey || t, f = {};
|
|
2381
|
+
function n(h, N, T) {
|
|
2382
|
+
T = T || 1, Object.keys(h).forEach(function(c) {
|
|
2383
|
+
const l = h[c], d = s.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), D = E === "[object Object]" || E === "[object Array]", _ = N ? N + u + A(c) : A(c);
|
|
2384
|
+
if (!d && !S && D && Object.keys(l).length && (!s.maxDepth || T < p))
|
|
2385
|
+
return n(l, _, T + 1);
|
|
2386
|
+
f[_] = l;
|
|
2327
2387
|
});
|
|
2328
2388
|
}
|
|
2329
|
-
return
|
|
2389
|
+
return n(r), f;
|
|
2330
2390
|
}
|
|
2331
|
-
function
|
|
2332
|
-
|
|
2333
|
-
const u =
|
|
2391
|
+
function a(r, s) {
|
|
2392
|
+
s = s || {};
|
|
2393
|
+
const u = s.delimiter || ".", p = s.overwrite || !1, A = s.transformKey || t, f = {};
|
|
2334
2394
|
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
2335
2395
|
return r;
|
|
2336
|
-
function
|
|
2396
|
+
function h(c) {
|
|
2337
2397
|
const l = Number(c);
|
|
2338
|
-
return isNaN(l) || c.indexOf(".") !== -1 ||
|
|
2398
|
+
return isNaN(l) || c.indexOf(".") !== -1 || s.object ? c : l;
|
|
2339
2399
|
}
|
|
2340
|
-
function
|
|
2400
|
+
function N(c, l, d) {
|
|
2341
2401
|
return Object.keys(d).reduce(function(E, S) {
|
|
2342
2402
|
return E[c + u + S] = d[S], E;
|
|
2343
2403
|
}, l);
|
|
2344
2404
|
}
|
|
2345
|
-
function
|
|
2405
|
+
function T(c) {
|
|
2346
2406
|
const l = Object.prototype.toString.call(c), d = l === "[object Array]", E = l === "[object Object]";
|
|
2347
2407
|
if (c) {
|
|
2348
2408
|
if (d)
|
|
@@ -2353,53 +2413,53 @@ function ye() {
|
|
|
2353
2413
|
}
|
|
2354
2414
|
return r = Object.keys(r).reduce(function(c, l) {
|
|
2355
2415
|
const d = Object.prototype.toString.call(r[l]);
|
|
2356
|
-
return !(d === "[object Object]" || d === "[object Array]") ||
|
|
2416
|
+
return !(d === "[object Object]" || d === "[object Array]") || T(r[l]) ? (c[l] = r[l], c) : N(
|
|
2357
2417
|
l,
|
|
2358
2418
|
c,
|
|
2359
|
-
o(r[l],
|
|
2419
|
+
o(r[l], s)
|
|
2360
2420
|
);
|
|
2361
2421
|
}, {}), Object.keys(r).forEach(function(c) {
|
|
2362
|
-
const l = c.split(u).map(
|
|
2363
|
-
let d =
|
|
2422
|
+
const l = c.split(u).map(A);
|
|
2423
|
+
let d = h(l.shift()), E = h(l[0]), S = f;
|
|
2364
2424
|
for (; E !== void 0; ) {
|
|
2365
2425
|
if (d === "__proto__")
|
|
2366
2426
|
return;
|
|
2367
|
-
const D = Object.prototype.toString.call(S[d]),
|
|
2368
|
-
if (!p && !
|
|
2427
|
+
const D = Object.prototype.toString.call(S[d]), _ = D === "[object Object]" || D === "[object Array]";
|
|
2428
|
+
if (!p && !_ && typeof S[d] < "u")
|
|
2369
2429
|
return;
|
|
2370
|
-
(p && !
|
|
2430
|
+
(p && !_ || !p && S[d] == null) && (S[d] = typeof E == "number" && !s.object ? [] : {}), S = S[d], l.length > 0 && (d = h(l.shift()), E = h(l[0]));
|
|
2371
2431
|
}
|
|
2372
|
-
S[d] =
|
|
2373
|
-
}),
|
|
2432
|
+
S[d] = a(r[c], s);
|
|
2433
|
+
}), f;
|
|
2374
2434
|
}
|
|
2375
2435
|
return U;
|
|
2376
2436
|
}
|
|
2377
2437
|
var w = ye();
|
|
2378
2438
|
const j = {
|
|
2379
|
-
[y.FRENCH]: { ...
|
|
2439
|
+
[y.FRENCH]: { ...Oe, common: de },
|
|
2380
2440
|
[y.ENGLISH]: { ...Ce, common: ce }
|
|
2381
2441
|
}, We = {
|
|
2382
2442
|
[y.FRENCH]: w.flatten(j[y.FRENCH]),
|
|
2383
2443
|
[y.ENGLISH]: w.flatten(j[y.ENGLISH])
|
|
2384
|
-
},
|
|
2444
|
+
}, be = {
|
|
2385
2445
|
break: /* @__PURE__ */ i("br", {}),
|
|
2386
2446
|
bold: (...e) => /* @__PURE__ */ i("strong", { children: e }),
|
|
2387
2447
|
italic: (...e) => /* @__PURE__ */ i("i", { children: e }),
|
|
2388
2448
|
primary: (...e) => /* @__PURE__ */ i("span", { style: { color: q[500] }, children: e }),
|
|
2389
2449
|
focus: (...e) => /* @__PURE__ */ i("span", { style: { color: W[400] }, children: e })
|
|
2390
2450
|
}, K = () => {
|
|
2391
|
-
const e = le(), t =
|
|
2392
|
-
(o,
|
|
2451
|
+
const e = le(), t = O(
|
|
2452
|
+
(o, a) => e.formatMessage(o, { ...be, ...a }),
|
|
2393
2453
|
[e]
|
|
2394
2454
|
);
|
|
2395
2455
|
return x(() => {
|
|
2396
|
-
const { formatMessage: o, ...
|
|
2397
|
-
return { ...
|
|
2456
|
+
const { formatMessage: o, ...a } = e;
|
|
2457
|
+
return { ...a, formatRichMessage: t };
|
|
2398
2458
|
}, [e, t]);
|
|
2399
|
-
}, L = "abyssCookieConsent", J = 365,
|
|
2459
|
+
}, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60, ve = () => typeof window > "u" ? !1 : window.location.protocol === "https:", X = (e, t) => {
|
|
2400
2460
|
const o = ["Path=/", `Max-Age=${t}`, "SameSite=Lax"];
|
|
2401
|
-
return e.domain && o.push(`Domain=${e.domain}`),
|
|
2402
|
-
},
|
|
2461
|
+
return e.domain && o.push(`Domain=${e.domain}`), ve() && o.push("Secure"), o.join("; ");
|
|
2462
|
+
}, _e = () => {
|
|
2403
2463
|
if (typeof document > "u")
|
|
2404
2464
|
return null;
|
|
2405
2465
|
const e = document.cookie.split(";").map((o) => o.trim()).find((o) => o.startsWith(`${L}=`));
|
|
@@ -2407,8 +2467,8 @@ const j = {
|
|
|
2407
2467
|
return null;
|
|
2408
2468
|
const t = e.slice(L.length + 1);
|
|
2409
2469
|
try {
|
|
2410
|
-
const o = atob(decodeURIComponent(t)),
|
|
2411
|
-
return typeof
|
|
2470
|
+
const o = atob(decodeURIComponent(t)), a = JSON.parse(o);
|
|
2471
|
+
return typeof a.a != "boolean" || typeof a.m != "boolean" || typeof a.d != "string" || typeof a.v != "string" ? null : a;
|
|
2412
2472
|
} catch {
|
|
2413
2473
|
return null;
|
|
2414
2474
|
}
|
|
@@ -2416,7 +2476,7 @@ const j = {
|
|
|
2416
2476
|
if (typeof document > "u")
|
|
2417
2477
|
return;
|
|
2418
2478
|
const o = btoa(JSON.stringify(e));
|
|
2419
|
-
document.cookie = `${L}=${o}; ${X(t,
|
|
2479
|
+
document.cookie = `${L}=${o}; ${X(t, Re)}`;
|
|
2420
2480
|
}, De = (e = {}) => {
|
|
2421
2481
|
typeof document > "u" || (document.cookie = `${L}=; ${X(e, 0)}`);
|
|
2422
2482
|
};
|
|
@@ -2434,10 +2494,10 @@ const Y = (e) => ({
|
|
|
2434
2494
|
return { action: "adopt-db", value: Y(t) };
|
|
2435
2495
|
if (e && !t)
|
|
2436
2496
|
return { action: "push-cookie", value: e };
|
|
2437
|
-
const o = new Date(e.decidedAt).getTime(),
|
|
2497
|
+
const o = new Date(e.decidedAt).getTime(), a = new Date(
|
|
2438
2498
|
typeof t.decidedAt == "string" ? t.decidedAt : t.decidedAt.toISOString()
|
|
2439
2499
|
).getTime();
|
|
2440
|
-
return
|
|
2500
|
+
return a > o ? { action: "adopt-db", value: Y(t) } : o > a ? { action: "push-cookie", value: e } : { action: "noop", value: e };
|
|
2441
2501
|
}, Me = J * 24 * 60 * 60 * 1e3, Le = (e) => ({
|
|
2442
2502
|
essentials: !0,
|
|
2443
2503
|
analytics: e.a,
|
|
@@ -2452,73 +2512,73 @@ const Y = (e) => ({
|
|
|
2452
2512
|
}), Ue = (e, t, o) => {
|
|
2453
2513
|
if (o.v !== t)
|
|
2454
2514
|
return !1;
|
|
2455
|
-
const
|
|
2456
|
-
return Number.isNaN(
|
|
2515
|
+
const a = new Date(e).getTime();
|
|
2516
|
+
return Number.isNaN(a) ? !1 : Date.now() - a < Me;
|
|
2457
2517
|
}, Ge = (e) => {
|
|
2458
|
-
const t =
|
|
2518
|
+
const t = _e();
|
|
2459
2519
|
return !t || !Ue(t.d, e, t) ? null : Le(t);
|
|
2460
2520
|
}, Fe = (e) => {
|
|
2461
|
-
const [t, o] =
|
|
2521
|
+
const [t, o] = b(() => Ge(e.consentVersion)), a = ue({
|
|
2462
2522
|
queryKey: ["cookie-consent", "me"],
|
|
2463
2523
|
queryFn: async () => (await k.sdk.user.cookieConsent.get()).data.consent,
|
|
2464
2524
|
enabled: e.isAuthenticated,
|
|
2465
2525
|
retry: !1,
|
|
2466
2526
|
refetchOnWindowFocus: !1
|
|
2467
2527
|
}), r = pe({
|
|
2468
|
-
mutationFn: async (
|
|
2469
|
-
analytics:
|
|
2470
|
-
marketing:
|
|
2471
|
-
decidedAt:
|
|
2472
|
-
consentVersion:
|
|
2528
|
+
mutationFn: async (n) => (await k.sdk.user.cookieConsent.upsert({
|
|
2529
|
+
analytics: n.analytics,
|
|
2530
|
+
marketing: n.marketing,
|
|
2531
|
+
decidedAt: n.decidedAt,
|
|
2532
|
+
consentVersion: n.consentVersion
|
|
2473
2533
|
})).data.consent
|
|
2474
|
-
}),
|
|
2475
|
-
(
|
|
2476
|
-
H(V(
|
|
2534
|
+
}), s = O(
|
|
2535
|
+
(n) => {
|
|
2536
|
+
H(V(n), { domain: e.domain }), o(n), e.isAuthenticated && r.mutate(n);
|
|
2477
2537
|
},
|
|
2478
2538
|
[e.domain, e.isAuthenticated, r]
|
|
2479
2539
|
);
|
|
2480
2540
|
z(() => {
|
|
2481
|
-
if (!e.isAuthenticated ||
|
|
2541
|
+
if (!e.isAuthenticated || a.isLoading || a.isError)
|
|
2482
2542
|
return;
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2485
|
-
}, [e.isAuthenticated,
|
|
2486
|
-
const u =
|
|
2487
|
-
|
|
2543
|
+
const n = Pe(t, a.data ?? null);
|
|
2544
|
+
n.action === F.ADOPT_DB && n.value ? (H(V(n.value), { domain: e.domain }), o(n.value)) : n.action === F.PUSH_COOKIE && n.value && r.mutate(n.value);
|
|
2545
|
+
}, [e.isAuthenticated, a.isLoading, a.isError, a.data]);
|
|
2546
|
+
const u = O(() => {
|
|
2547
|
+
s({
|
|
2488
2548
|
essentials: !0,
|
|
2489
2549
|
analytics: !0,
|
|
2490
2550
|
marketing: !0,
|
|
2491
2551
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2492
2552
|
consentVersion: e.consentVersion
|
|
2493
2553
|
});
|
|
2494
|
-
}, [e.consentVersion,
|
|
2495
|
-
|
|
2554
|
+
}, [e.consentVersion, s]), p = O(() => {
|
|
2555
|
+
s({
|
|
2496
2556
|
essentials: !0,
|
|
2497
2557
|
analytics: !1,
|
|
2498
2558
|
marketing: !1,
|
|
2499
2559
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2500
2560
|
consentVersion: e.consentVersion
|
|
2501
2561
|
});
|
|
2502
|
-
}, [e.consentVersion,
|
|
2503
|
-
(
|
|
2504
|
-
|
|
2562
|
+
}, [e.consentVersion, s]), A = O(
|
|
2563
|
+
(n) => {
|
|
2564
|
+
s({
|
|
2505
2565
|
essentials: !0,
|
|
2506
|
-
analytics:
|
|
2507
|
-
marketing:
|
|
2566
|
+
analytics: n.analytics,
|
|
2567
|
+
marketing: n.marketing,
|
|
2508
2568
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2509
2569
|
consentVersion: e.consentVersion
|
|
2510
2570
|
});
|
|
2511
2571
|
},
|
|
2512
|
-
[e.consentVersion,
|
|
2513
|
-
),
|
|
2572
|
+
[e.consentVersion, s]
|
|
2573
|
+
), f = O(() => {
|
|
2514
2574
|
De({ domain: e.domain }), o(null);
|
|
2515
2575
|
}, [e.domain]);
|
|
2516
|
-
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save:
|
|
2576
|
+
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset: f };
|
|
2517
2577
|
}, ke = ({ api: e, privacyLinkHref: t }) => {
|
|
2518
|
-
const o = K(), { acceptAll:
|
|
2519
|
-
|
|
2578
|
+
const o = K(), { acceptAll: a, rejectAll: r, save: s } = e, [u, p] = b(!1), [A, f] = b(!1), [n, h] = b(!1), N = () => {
|
|
2579
|
+
s({ analytics: A, marketing: n }), p(!1);
|
|
2520
2580
|
};
|
|
2521
|
-
return /* @__PURE__ */
|
|
2581
|
+
return /* @__PURE__ */ g($, { children: [
|
|
2522
2582
|
/* @__PURE__ */ i(
|
|
2523
2583
|
te,
|
|
2524
2584
|
{
|
|
@@ -2528,7 +2588,7 @@ const Y = (e) => ({
|
|
|
2528
2588
|
bottom: { xs: 8, md: 16 },
|
|
2529
2589
|
left: { xs: 8, md: 16 },
|
|
2530
2590
|
right: { xs: 8, md: 16 },
|
|
2531
|
-
zIndex: (
|
|
2591
|
+
zIndex: (T) => T.zIndex.snackbar,
|
|
2532
2592
|
p: { xs: 2, md: 3 },
|
|
2533
2593
|
borderRadius: 2,
|
|
2534
2594
|
maxWidth: 900,
|
|
@@ -2538,57 +2598,57 @@ const Y = (e) => ({
|
|
|
2538
2598
|
},
|
|
2539
2599
|
role: "dialog",
|
|
2540
2600
|
"aria-labelledby": "cookie-consent-title",
|
|
2541
|
-
children: /* @__PURE__ */
|
|
2542
|
-
/* @__PURE__ */
|
|
2601
|
+
children: /* @__PURE__ */ g(P, { direction: { xs: "column", md: "row" }, spacing: 2, alignItems: { xs: "stretch", md: "center" }, children: [
|
|
2602
|
+
/* @__PURE__ */ g(I, { sx: { flex: 1 }, children: [
|
|
2543
2603
|
/* @__PURE__ */ i(m, { id: "cookie-consent-title", variant: "subtitle1", fontWeight: 700, gutterBottom: !0, children: o.formatRichMessage({ id: "cookies.banner.title" }) }),
|
|
2544
2604
|
/* @__PURE__ */ i(m, { variant: "body2", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.banner.description" }) }),
|
|
2545
2605
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", sx: { mt: 1, display: "block" }, children: /* @__PURE__ */ i("a", { href: t, style: { color: "inherit" }, rel: "noreferrer", children: o.formatRichMessage({ id: "cookies.banner.privacy-link" }) }) })
|
|
2546
2606
|
] }),
|
|
2547
|
-
/* @__PURE__ */
|
|
2607
|
+
/* @__PURE__ */ g(P, { direction: { xs: "column", sm: "row" }, spacing: 1, sx: { flexShrink: 0 }, children: [
|
|
2548
2608
|
/* @__PURE__ */ i(C, { variant: "text", onClick: r, children: o.formatRichMessage({ id: "cookies.action.reject-all" }) }),
|
|
2549
2609
|
/* @__PURE__ */ i(C, { variant: "outlined", onClick: () => p(!0), children: o.formatRichMessage({ id: "cookies.action.configure" }) }),
|
|
2550
|
-
/* @__PURE__ */ i(C, { variant: "contained", onClick:
|
|
2610
|
+
/* @__PURE__ */ i(C, { variant: "contained", onClick: a, children: o.formatRichMessage({ id: "cookies.action.accept-all" }) })
|
|
2551
2611
|
] })
|
|
2552
2612
|
] })
|
|
2553
2613
|
}
|
|
2554
2614
|
),
|
|
2555
|
-
/* @__PURE__ */
|
|
2615
|
+
/* @__PURE__ */ g(oe, { open: u, onClose: () => p(!1), maxWidth: "sm", fullWidth: !0, children: [
|
|
2556
2616
|
/* @__PURE__ */ i(ie, { children: o.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2557
|
-
/* @__PURE__ */ i(re, { children: /* @__PURE__ */
|
|
2617
|
+
/* @__PURE__ */ i(re, { children: /* @__PURE__ */ g(P, { spacing: 2, sx: { pt: 1 }, children: [
|
|
2558
2618
|
/* @__PURE__ */ i(
|
|
2559
|
-
|
|
2619
|
+
R,
|
|
2560
2620
|
{
|
|
2561
|
-
control: /* @__PURE__ */ i(
|
|
2562
|
-
label: /* @__PURE__ */
|
|
2621
|
+
control: /* @__PURE__ */ i(v, { checked: !0, disabled: !0 }),
|
|
2622
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2563
2623
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2564
2624
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2565
2625
|
] })
|
|
2566
2626
|
}
|
|
2567
2627
|
),
|
|
2568
2628
|
/* @__PURE__ */ i(
|
|
2569
|
-
|
|
2629
|
+
R,
|
|
2570
2630
|
{
|
|
2571
|
-
control: /* @__PURE__ */ i(
|
|
2572
|
-
label: /* @__PURE__ */
|
|
2631
|
+
control: /* @__PURE__ */ i(v, { checked: A, onChange: (T, c) => f(c) }),
|
|
2632
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2573
2633
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2574
2634
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2575
2635
|
] })
|
|
2576
2636
|
}
|
|
2577
2637
|
),
|
|
2578
2638
|
/* @__PURE__ */ i(
|
|
2579
|
-
|
|
2639
|
+
R,
|
|
2580
2640
|
{
|
|
2581
|
-
control: /* @__PURE__ */ i(
|
|
2582
|
-
label: /* @__PURE__ */
|
|
2641
|
+
control: /* @__PURE__ */ i(v, { checked: n, onChange: (T, c) => h(c) }),
|
|
2642
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2583
2643
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: o.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2584
2644
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: o.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2585
2645
|
] })
|
|
2586
2646
|
}
|
|
2587
2647
|
)
|
|
2588
2648
|
] }) }),
|
|
2589
|
-
/* @__PURE__ */
|
|
2649
|
+
/* @__PURE__ */ g(se, { children: [
|
|
2590
2650
|
/* @__PURE__ */ i(C, { onClick: () => p(!1), children: o.formatRichMessage({ id: "cookies.action.cancel" }) }),
|
|
2591
|
-
/* @__PURE__ */ i(C, { onClick:
|
|
2651
|
+
/* @__PURE__ */ i(C, { onClick: N, variant: "contained", children: o.formatRichMessage({ id: "cookies.action.save" }) })
|
|
2592
2652
|
] })
|
|
2593
2653
|
] })
|
|
2594
2654
|
] });
|
|
@@ -2601,60 +2661,60 @@ const Y = (e) => ({
|
|
|
2601
2661
|
children: e,
|
|
2602
2662
|
consentVersion: t,
|
|
2603
2663
|
isAuthenticated: o,
|
|
2604
|
-
domain:
|
|
2664
|
+
domain: a,
|
|
2605
2665
|
privacyLinkHref: r = we,
|
|
2606
|
-
renderBanner:
|
|
2666
|
+
renderBanner: s
|
|
2607
2667
|
}) => {
|
|
2608
|
-
const u = Fe({ isAuthenticated: o, consentVersion: t, domain:
|
|
2609
|
-
return /* @__PURE__ */
|
|
2668
|
+
const u = Fe({ isAuthenticated: o, consentVersion: t, domain: a }), p = x(() => u.isResolved ? null : s ? s(u) : /* @__PURE__ */ i(ke, { api: u, privacyLinkHref: r }), [u, r, s]);
|
|
2669
|
+
return /* @__PURE__ */ g(Z.Provider, { value: u, children: [
|
|
2610
2670
|
e,
|
|
2611
2671
|
p
|
|
2612
2672
|
] });
|
|
2613
2673
|
}, Je = () => {
|
|
2614
|
-
const e = K(), { consent: t, save: o } = Be(), [
|
|
2674
|
+
const e = K(), { consent: t, save: o } = Be(), [a, r] = b((t == null ? void 0 : t.analytics) ?? !1), [s, u] = b((t == null ? void 0 : t.marketing) ?? !1);
|
|
2615
2675
|
return z(() => {
|
|
2616
2676
|
t && (r(t.analytics), u(t.marketing));
|
|
2617
|
-
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ i(
|
|
2677
|
+
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ i(ae, { sx: { borderRadius: 3 }, children: /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ g(P, { spacing: 2, children: [
|
|
2618
2678
|
/* @__PURE__ */ i(m, { variant: "h6", children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2619
2679
|
/* @__PURE__ */ i(
|
|
2620
|
-
|
|
2680
|
+
R,
|
|
2621
2681
|
{
|
|
2622
|
-
control: /* @__PURE__ */ i(
|
|
2623
|
-
label: /* @__PURE__ */
|
|
2682
|
+
control: /* @__PURE__ */ i(v, { checked: !0, disabled: !0 }),
|
|
2683
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2624
2684
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2625
2685
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2626
2686
|
] })
|
|
2627
2687
|
}
|
|
2628
2688
|
),
|
|
2629
2689
|
/* @__PURE__ */ i(
|
|
2630
|
-
|
|
2690
|
+
R,
|
|
2631
2691
|
{
|
|
2632
|
-
control: /* @__PURE__ */ i(
|
|
2633
|
-
label: /* @__PURE__ */
|
|
2692
|
+
control: /* @__PURE__ */ i(v, { checked: a, onChange: (p, A) => r(A) }),
|
|
2693
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2634
2694
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2635
2695
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2636
2696
|
] })
|
|
2637
2697
|
}
|
|
2638
2698
|
),
|
|
2639
2699
|
/* @__PURE__ */ i(
|
|
2640
|
-
|
|
2700
|
+
R,
|
|
2641
2701
|
{
|
|
2642
|
-
control: /* @__PURE__ */ i(
|
|
2643
|
-
label: /* @__PURE__ */
|
|
2702
|
+
control: /* @__PURE__ */ i(v, { checked: s, onChange: (p, A) => u(A) }),
|
|
2703
|
+
label: /* @__PURE__ */ g(I, { children: [
|
|
2644
2704
|
/* @__PURE__ */ i(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2645
2705
|
/* @__PURE__ */ i(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2646
2706
|
] })
|
|
2647
2707
|
}
|
|
2648
2708
|
),
|
|
2649
|
-
/* @__PURE__ */ i(
|
|
2709
|
+
/* @__PURE__ */ i(I, { children: /* @__PURE__ */ i(C, { variant: "contained", onClick: () => o({ analytics: a, marketing: s }), children: e.formatRichMessage({ id: "cookies.action.save" }) }) })
|
|
2650
2710
|
] }) }) });
|
|
2651
2711
|
};
|
|
2652
2712
|
export {
|
|
2653
2713
|
Ke as A,
|
|
2654
|
-
|
|
2714
|
+
be as B,
|
|
2655
2715
|
ke as C,
|
|
2656
2716
|
Ce as D,
|
|
2657
|
-
|
|
2717
|
+
Oe as E,
|
|
2658
2718
|
F as R,
|
|
2659
2719
|
J as V,
|
|
2660
2720
|
Je as a,
|
|
@@ -2663,24 +2723,24 @@ export {
|
|
|
2663
2723
|
De as d,
|
|
2664
2724
|
Pe as e,
|
|
2665
2725
|
We as f,
|
|
2666
|
-
|
|
2726
|
+
Ae as g,
|
|
2667
2727
|
W as h,
|
|
2668
2728
|
Ee as i,
|
|
2669
2729
|
q as j,
|
|
2670
2730
|
K as k,
|
|
2671
|
-
|
|
2731
|
+
ge as l,
|
|
2672
2732
|
qe as m,
|
|
2673
2733
|
me as n,
|
|
2674
|
-
|
|
2734
|
+
Te as o,
|
|
2675
2735
|
Se as p,
|
|
2676
2736
|
M as q,
|
|
2677
|
-
|
|
2678
|
-
|
|
2737
|
+
_e as r,
|
|
2738
|
+
he as s,
|
|
2679
2739
|
G as t,
|
|
2680
2740
|
Be as u,
|
|
2681
|
-
|
|
2741
|
+
fe as v,
|
|
2682
2742
|
H as w,
|
|
2683
|
-
|
|
2684
|
-
|
|
2743
|
+
Ie as x,
|
|
2744
|
+
Ne as y,
|
|
2685
2745
|
j as z
|
|
2686
2746
|
};
|