@graffico/legal 0.3.6 → 0.3.7
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/README.md +341 -341
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,341 +1,341 @@
|
|
|
1
|
-
# @graffico/legal
|
|
2
|
-
|
|
3
|
-
CMP GDPR drop-in per React / Next.js. Banner + modale, policy server-rendered, **tracker terzi che caricano solo dopo consenso**, plugin Next.js per security headers.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
pnpm add @graffico/legal
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## 1. Setup minimo
|
|
12
|
-
|
|
13
|
-
`src/config/legal.ts`:
|
|
14
|
-
|
|
15
|
-
```ts
|
|
16
|
-
import type { CompanyConfig } from "@graffico/legal";
|
|
17
|
-
|
|
18
|
-
export const legalConfig: CompanyConfig = {
|
|
19
|
-
name: "Mia Azienda",
|
|
20
|
-
domain: "azienda.it",
|
|
21
|
-
owners: "Mario Rossi",
|
|
22
|
-
addresses: "Via Roma 1, Milano",
|
|
23
|
-
vatNumbers: "01234567890",
|
|
24
|
-
email: "privacy@azienda.it",
|
|
25
|
-
policyVersion: "2026.05", // cambiarla invalida i consensi vecchi
|
|
26
|
-
services: ["google-analytics", "facebook-pixel", "contact-form"],
|
|
27
|
-
primaryColor: "#2c5282",
|
|
28
|
-
language: "it",
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
`app/layout.tsx`:
|
|
33
|
-
|
|
34
|
-
```tsx
|
|
35
|
-
import { LegalProvider } from "@graffico/legal/server";
|
|
36
|
-
import { legalConfig } from "@/config/legal";
|
|
37
|
-
|
|
38
|
-
export default function RootLayout({ children }) {
|
|
39
|
-
return (
|
|
40
|
-
<html>
|
|
41
|
-
<body>
|
|
42
|
-
<LegalProvider config={legalConfig}>{children}</LegalProvider>
|
|
43
|
-
</body>
|
|
44
|
-
</html>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
`<LegalProvider>` monta automaticamente banner + modale + floating toggle.
|
|
50
|
-
|
|
51
|
-
### Tailwind / globals.css
|
|
52
|
-
|
|
53
|
-
La libreria usa Tailwind utility classes inline (niente CSS bundle). Devi dire al JIT di Tailwind di scansionare i file della libreria, altrimenti banner e modale appariranno senza stili.
|
|
54
|
-
|
|
55
|
-
**Tailwind v4** — aggiungi una direttiva `@source` in `src/app/globals.css` (o equivalente):
|
|
56
|
-
|
|
57
|
-
```css
|
|
58
|
-
@import "tailwindcss";
|
|
59
|
-
@source "../../node_modules/@graffico/legal/dist/**/*.{js,cjs}";
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
> Il path `../../` parte da `src/app/`. Se il tuo `globals.css` sta altrove, regola la profondità relativa. In monorepo con workspace, il dist è raggiungibile via `node_modules` simlink.
|
|
63
|
-
|
|
64
|
-
**Tailwind v3** — aggiungi al `tailwind.config.js`:
|
|
65
|
-
|
|
66
|
-
```js
|
|
67
|
-
module.exports = {
|
|
68
|
-
content: [
|
|
69
|
-
"./src/**/*.{js,ts,jsx,tsx}",
|
|
70
|
-
"./node_modules/@graffico/legal/dist/**/*.{js,cjs}",
|
|
71
|
-
],
|
|
72
|
-
};
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
## 2. Tracker — drop-in con consenso integrato
|
|
78
|
-
|
|
79
|
-
Importi il componente Legal, passi le API key. Lo script parte **solo dopo consenso**.
|
|
80
|
-
|
|
81
|
-
```tsx
|
|
82
|
-
import {
|
|
83
|
-
ConsentModeBoot,
|
|
84
|
-
GoogleAnalyticsLegal,
|
|
85
|
-
GoogleAdsLegal,
|
|
86
|
-
MetaPixelLegal,
|
|
87
|
-
HotjarLegal,
|
|
88
|
-
GTMLegal,
|
|
89
|
-
EmailJSLegal,
|
|
90
|
-
} from "@graffico/legal";
|
|
91
|
-
|
|
92
|
-
<LegalProvider config={legalConfig}>
|
|
93
|
-
<ConsentModeBoot /> {/* Google Consent Mode v2 default = denied */}
|
|
94
|
-
<GoogleAnalyticsLegal gaId="G-XXXX" />
|
|
95
|
-
<GoogleAdsLegal
|
|
96
|
-
conversionId="AW-XXXX"
|
|
97
|
-
conversions={{ formSubmit: { sendTo: "AW-XXXX/abc", value: 1, currency: "EUR" } }}
|
|
98
|
-
/>
|
|
99
|
-
<MetaPixelLegal pixelId="123456" events={["Lead", "Contact"]} />
|
|
100
|
-
<HotjarLegal siteId={1234567} />
|
|
101
|
-
<EmailJSLegal
|
|
102
|
-
serviceId={process.env.NEXT_PUBLIC_EMAILJS_SERVICE_ID!}
|
|
103
|
-
templateId={process.env.NEXT_PUBLIC_EMAILJS_TEMPLATE_ID!}
|
|
104
|
-
publicKey={process.env.NEXT_PUBLIC_EMAILJS_USER_ID!}
|
|
105
|
-
/>
|
|
106
|
-
{children}
|
|
107
|
-
</LegalProvider>
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
| Componente | Categoria default | Script gated | Note |
|
|
111
|
-
|---|---|---|---|
|
|
112
|
-
| `ConsentModeBoot` | — | — | Boot gtag stub + Consent Mode v2. **Sempre per primo.** |
|
|
113
|
-
| `GoogleAnalyticsLegal` | `statistical` | `gtag/js?id=G-…` | Anonymize IP on di default. |
|
|
114
|
-
| `GoogleAdsLegal` | `marketing` | `gtag/js?id=AW-…` | Mappa conversioni dichiarativa. |
|
|
115
|
-
| `MetaPixelLegal` | `marketing` | `fbevents.js` | Whitelist `events` opzionale. Su revoca → `fbq('consent','revoke')`. |
|
|
116
|
-
| `HotjarLegal` | `statistical` | `static.hotjar.com/c/hotjar-…` | Session recording + heatmap. |
|
|
117
|
-
| `GTMLegal` | `marketing` | `gtm.js?id=GTM-…` | Lascia ai tag interni la granularità. |
|
|
118
|
-
| `EmailJSLegal` | — (art. 6.1.b) | — | Config holder per `useEmailJS()`. |
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## 3. Hook trigger eventi
|
|
123
|
-
|
|
124
|
-
Nei tuoi componenti `"use client"`:
|
|
125
|
-
|
|
126
|
-
```tsx
|
|
127
|
-
import { useGAEvent, useMetaEvent, useAdsConversion, useHotjarEvent } from "@graffico/legal";
|
|
128
|
-
|
|
129
|
-
const trackGA = useGAEvent();
|
|
130
|
-
const trackLead = useMetaEvent("Lead");
|
|
131
|
-
const fireConversion = useAdsConversion("formSubmit");
|
|
132
|
-
const trackHj = useHotjarEvent();
|
|
133
|
-
|
|
134
|
-
// Tutti diventano no-op senza consenso — chiama liberamente
|
|
135
|
-
trackGA("button_click", { id: "hero" });
|
|
136
|
-
trackLead({ value: 99, currency: "EUR" });
|
|
137
|
-
fireConversion();
|
|
138
|
-
trackHj("scroll_to_pricing");
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
## 4. Form contatto con consenso
|
|
144
|
-
|
|
145
|
-
```tsx
|
|
146
|
-
"use client";
|
|
147
|
-
import { useEmailJS, ConsentCheckbox } from "@graffico/legal";
|
|
148
|
-
|
|
149
|
-
export function ContactForm() {
|
|
150
|
-
const { send, status } = useEmailJS();
|
|
151
|
-
|
|
152
|
-
async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
|
|
153
|
-
e.preventDefault();
|
|
154
|
-
const res = await send(e.currentTarget);
|
|
155
|
-
if (!res.ok) console.warn(res.error); // CONSENT_MISSING | CONFIG_MISSING | SEND_FAILED
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return (
|
|
159
|
-
<form onSubmit={onSubmit}>
|
|
160
|
-
<input name="name" required />
|
|
161
|
-
<input name="email" type="email" required />
|
|
162
|
-
<textarea name="message" required />
|
|
163
|
-
<ConsentCheckbox /> {/* obbligatorio: blocca submit se non spuntato */}
|
|
164
|
-
<button disabled={status === "loading"}>Invia</button>
|
|
165
|
-
</form>
|
|
166
|
-
);
|
|
167
|
-
}
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
`send()` inietta automaticamente nel payload mail: `_consentId`, `_consentTimestamp`, `_policyVersion` (prova legale art. 7.1).
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
## 5. Pagine policy
|
|
175
|
-
|
|
176
|
-
Auto-renderizzate dalla config — incluse sezioni Processors / Transfers / Retention / DPO se valorizzati.
|
|
177
|
-
|
|
178
|
-
```tsx
|
|
179
|
-
// app/privacy-policy/page.tsx
|
|
180
|
-
import { PrivacyPolicy } from "@graffico/legal/server";
|
|
181
|
-
import { legalConfig } from "@/config/legal";
|
|
182
|
-
export default () => <PrivacyPolicy config={legalConfig} />;
|
|
183
|
-
|
|
184
|
-
// app/cookie-policy/page.tsx
|
|
185
|
-
import { CookiePolicy } from "@graffico/legal/server";
|
|
186
|
-
export default () => <CookiePolicy config={legalConfig} />;
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
---
|
|
190
|
-
|
|
191
|
-
## 6. Gate per embed terzi
|
|
192
|
-
|
|
193
|
-
```tsx
|
|
194
|
-
import { ConsentGate, useConsentCategory } from "@graffico/legal";
|
|
195
|
-
|
|
196
|
-
<ConsentGate
|
|
197
|
-
category="marketing"
|
|
198
|
-
fallback={<p>Abilita cookie marketing per vedere il video.</p>}
|
|
199
|
-
>
|
|
200
|
-
<iframe src="https://youtube.com/embed/…" />
|
|
201
|
-
</ConsentGate>
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## 7. Next.js plugin — security headers
|
|
207
|
-
|
|
208
|
-
CSP derivata dai `services[]` + `processors[]`. HSTS, X-Frame, Permissions-Policy, COOP, Referrer-Policy.
|
|
209
|
-
|
|
210
|
-
```ts
|
|
211
|
-
// next.config.ts
|
|
212
|
-
import { withLegal } from "@graffico/legal/next";
|
|
213
|
-
import { legalConfig } from "@/config/legal";
|
|
214
|
-
|
|
215
|
-
const nextConfig = { /* … */ };
|
|
216
|
-
|
|
217
|
-
export default withLegal(nextConfig, legalConfig, {
|
|
218
|
-
cspReportOnly: process.env.CSP_ENFORCE !== "1", // rollout: 7gg report-only → enforce
|
|
219
|
-
});
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
Per `netlify.toml`:
|
|
223
|
-
|
|
224
|
-
```ts
|
|
225
|
-
import { emitNetlifyHeaders } from "@graffico/legal/next";
|
|
226
|
-
console.log(emitNetlifyHeaders(legalConfig));
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## 8. `CompanyConfig`
|
|
232
|
-
|
|
233
|
-
```ts
|
|
234
|
-
interface CompanyConfig {
|
|
235
|
-
name: string;
|
|
236
|
-
domain: string;
|
|
237
|
-
owners: string;
|
|
238
|
-
addresses: string | string[];
|
|
239
|
-
vatNumbers: string | string[];
|
|
240
|
-
email: string;
|
|
241
|
-
|
|
242
|
-
policyVersion?: string; // cambiarla invalida i consensi pregressi
|
|
243
|
-
lastUpdated?: string; // ISO date, default oggi
|
|
244
|
-
|
|
245
|
-
services?: ServiceReference[]; // tracker dichiarati (preset id o oggetto)
|
|
246
|
-
processors?: Processor[]; // destinatari/responsabili esterni
|
|
247
|
-
retention?: RetentionMap; // tempi di conservazione per categoria
|
|
248
|
-
dpo?: DpoInfo; // se nominato (art. 37 GDPR)
|
|
249
|
-
|
|
250
|
-
theme?: "light" | "dark";
|
|
251
|
-
primaryColor?: string;
|
|
252
|
-
language?: "it" | "en";
|
|
253
|
-
togglePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
interface Processor {
|
|
257
|
-
name: string;
|
|
258
|
-
purpose: string;
|
|
259
|
-
country: string;
|
|
260
|
-
transferBasis?: string; // "DPF + SCC 2021/914", "SCC", …
|
|
261
|
-
privacyUrl?: string;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
interface RetentionMap {
|
|
265
|
-
contactForms?: string; // "90d"
|
|
266
|
-
analytics?: string; // "14m"
|
|
267
|
-
marketing?: string; // "2y"
|
|
268
|
-
[k: string]: string | undefined;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
interface DpoInfo {
|
|
272
|
-
name: string;
|
|
273
|
-
email: string;
|
|
274
|
-
phone?: string;
|
|
275
|
-
}
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
---
|
|
279
|
-
|
|
280
|
-
## 9. Conformità GDPR / ePrivacy — cosa fa già la lib
|
|
281
|
-
|
|
282
|
-
- **TTL consenso 180 giorni** (`CONSENT_TTL_MS`), allineato al Garante 10/06/2021. Scaduto → re-prompt.
|
|
283
|
-
- **Re-prompt automatico** al cambio `policyVersion`.
|
|
284
|
-
- **Auto-decline su GPC / DNT** (`navigator.globalPrivacyControl`, `Sec-GPC`) senza UI.
|
|
285
|
-
- **Prova legale**: `consentId` UUID + `timestamp` ISO + `policyVersion` + `source` in localStorage e nel payload mail.
|
|
286
|
-
- **Parità grafica reject/accept** nel banner (Garante 10/06/2021 §4).
|
|
287
|
-
- **Categorie indipendenti**: `necessary` / `statistical` / `marketing`. Default OFF.
|
|
288
|
-
- **Niente cookie wall**: il sito resta fruibile senza consenso.
|
|
289
|
-
- **Zero telemetria** della libreria stessa.
|
|
290
|
-
|
|
291
|
-
---
|
|
292
|
-
|
|
293
|
-
## 10. Service preset (id stringa per `services[]`)
|
|
294
|
-
|
|
295
|
-
| Categoria | Id |
|
|
296
|
-
|---|---|
|
|
297
|
-
| Analytics | `google-analytics`, `microsoft-clarity`, `hotjar` |
|
|
298
|
-
| Marketing | `facebook-pixel`, `google-ads`, `linkedin-insight`, `tiktok-pixel` |
|
|
299
|
-
| Tag manager | `google-tag-manager` |
|
|
300
|
-
| Pagamenti | `stripe`, `paypal` |
|
|
301
|
-
| Contenuti | `youtube`, `google-maps`, `google-fonts` |
|
|
302
|
-
| Form / mail | `contact-form`, `mailchimp`, `newsletter` |
|
|
303
|
-
|
|
304
|
-
Servizio inline custom:
|
|
305
|
-
|
|
306
|
-
```ts
|
|
307
|
-
{
|
|
308
|
-
id: "crm",
|
|
309
|
-
name: "CRM Interno",
|
|
310
|
-
category: "provided", // "automatic" | "provided" | "marketing"
|
|
311
|
-
purposes: ["Gestione clienti"],
|
|
312
|
-
dataCollected: ["Email", "Nome"],
|
|
313
|
-
}
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
---
|
|
317
|
-
|
|
318
|
-
## 11. API export
|
|
319
|
-
|
|
320
|
-
**`@graffico/legal/server`** — `LegalProvider`, `PrivacyPolicy`, `CookiePolicy`.
|
|
321
|
-
|
|
322
|
-
**`@graffico/legal`** (client) —
|
|
323
|
-
- Tracker: `ConsentModeBoot`, `GoogleAnalyticsLegal`, `GoogleAdsLegal`, `MetaPixelLegal`, `HotjarLegal`, `GTMLegal`, `EmailJSLegal`
|
|
324
|
-
- Hook: `useConsent`, `useConsentCategory`, `useIsHydrated`, `useGAEvent`, `useAdsConversion`, `useMetaEvent`, `useHotjarEvent`, `useHotjarIdentify`, `useEmailJS`, `useT`, `useLegalLanguage`
|
|
325
|
-
- UI: `ConsentBanner`, `PreferenceModal`, `FloatingConsentToggle`, `ConsentGate`, `ConsentCheckbox`, `ServiceGrid`
|
|
326
|
-
- Azioni: `acceptAll`, `declineAll`, `savePreferences`, `resetConsent`, `setModalOpen`, `setLanguage`
|
|
327
|
-
- Primitive: `subscribeConsent`, `getConsentSnapshot`, `CONSENT_TTL_MS`, `SERVICE_PRESETS`
|
|
328
|
-
|
|
329
|
-
**`@graffico/legal/next`** — `withLegal`, `emitNetlifyHeaders`, `buildLegalHeaders`, `buildCspFromConfig`.
|
|
330
|
-
|
|
331
|
-
---
|
|
332
|
-
|
|
333
|
-
## Requisiti
|
|
334
|
-
|
|
335
|
-
- React ≥ 18 (App Router consigliato)
|
|
336
|
-
- Tailwind opzionale (la UI usa classi Tailwind)
|
|
337
|
-
- `@emailjs/browser` ≥ 4 — peer optional, solo se usi `EmailJSLegal`
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
Made by **Graffico Studio**.
|
|
1
|
+
# @graffico/legal
|
|
2
|
+
|
|
3
|
+
CMP GDPR drop-in per React / Next.js. Banner + modale, policy server-rendered, **tracker terzi che caricano solo dopo consenso**, plugin Next.js per security headers.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pnpm add @graffico/legal
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. Setup minimo
|
|
12
|
+
|
|
13
|
+
`src/config/legal.ts`:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import type { CompanyConfig } from "@graffico/legal";
|
|
17
|
+
|
|
18
|
+
export const legalConfig: CompanyConfig = {
|
|
19
|
+
name: "Mia Azienda",
|
|
20
|
+
domain: "azienda.it",
|
|
21
|
+
owners: "Mario Rossi",
|
|
22
|
+
addresses: "Via Roma 1, Milano",
|
|
23
|
+
vatNumbers: "01234567890",
|
|
24
|
+
email: "privacy@azienda.it",
|
|
25
|
+
policyVersion: "2026.05", // cambiarla invalida i consensi vecchi
|
|
26
|
+
services: ["google-analytics", "facebook-pixel", "contact-form"],
|
|
27
|
+
primaryColor: "#2c5282",
|
|
28
|
+
language: "it",
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
`app/layout.tsx`:
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import { LegalProvider } from "@graffico/legal/server";
|
|
36
|
+
import { legalConfig } from "@/config/legal";
|
|
37
|
+
|
|
38
|
+
export default function RootLayout({ children }) {
|
|
39
|
+
return (
|
|
40
|
+
<html>
|
|
41
|
+
<body>
|
|
42
|
+
<LegalProvider config={legalConfig}>{children}</LegalProvider>
|
|
43
|
+
</body>
|
|
44
|
+
</html>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`<LegalProvider>` monta automaticamente banner + modale + floating toggle.
|
|
50
|
+
|
|
51
|
+
### Tailwind / globals.css
|
|
52
|
+
|
|
53
|
+
La libreria usa Tailwind utility classes inline (niente CSS bundle). Devi dire al JIT di Tailwind di scansionare i file della libreria, altrimenti banner e modale appariranno senza stili.
|
|
54
|
+
|
|
55
|
+
**Tailwind v4** — aggiungi una direttiva `@source` in `src/app/globals.css` (o equivalente):
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
@import "tailwindcss";
|
|
59
|
+
@source "../../node_modules/@graffico/legal/dist/**/*.{js,cjs}";
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
> Il path `../../` parte da `src/app/`. Se il tuo `globals.css` sta altrove, regola la profondità relativa. In monorepo con workspace, il dist è raggiungibile via `node_modules` simlink.
|
|
63
|
+
|
|
64
|
+
**Tailwind v3** — aggiungi al `tailwind.config.js`:
|
|
65
|
+
|
|
66
|
+
```js
|
|
67
|
+
module.exports = {
|
|
68
|
+
content: [
|
|
69
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
70
|
+
"./node_modules/@graffico/legal/dist/**/*.{js,cjs}",
|
|
71
|
+
],
|
|
72
|
+
};
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## 2. Tracker — drop-in con consenso integrato
|
|
78
|
+
|
|
79
|
+
Importi il componente Legal, passi le API key. Lo script parte **solo dopo consenso**.
|
|
80
|
+
|
|
81
|
+
```tsx
|
|
82
|
+
import {
|
|
83
|
+
ConsentModeBoot,
|
|
84
|
+
GoogleAnalyticsLegal,
|
|
85
|
+
GoogleAdsLegal,
|
|
86
|
+
MetaPixelLegal,
|
|
87
|
+
HotjarLegal,
|
|
88
|
+
GTMLegal,
|
|
89
|
+
EmailJSLegal,
|
|
90
|
+
} from "@graffico/legal";
|
|
91
|
+
|
|
92
|
+
<LegalProvider config={legalConfig}>
|
|
93
|
+
<ConsentModeBoot /> {/* Google Consent Mode v2 default = denied */}
|
|
94
|
+
<GoogleAnalyticsLegal gaId="G-XXXX" />
|
|
95
|
+
<GoogleAdsLegal
|
|
96
|
+
conversionId="AW-XXXX"
|
|
97
|
+
conversions={{ formSubmit: { sendTo: "AW-XXXX/abc", value: 1, currency: "EUR" } }}
|
|
98
|
+
/>
|
|
99
|
+
<MetaPixelLegal pixelId="123456" events={["Lead", "Contact"]} />
|
|
100
|
+
<HotjarLegal siteId={1234567} />
|
|
101
|
+
<EmailJSLegal
|
|
102
|
+
serviceId={process.env.NEXT_PUBLIC_EMAILJS_SERVICE_ID!}
|
|
103
|
+
templateId={process.env.NEXT_PUBLIC_EMAILJS_TEMPLATE_ID!}
|
|
104
|
+
publicKey={process.env.NEXT_PUBLIC_EMAILJS_USER_ID!}
|
|
105
|
+
/>
|
|
106
|
+
{children}
|
|
107
|
+
</LegalProvider>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
| Componente | Categoria default | Script gated | Note |
|
|
111
|
+
|---|---|---|---|
|
|
112
|
+
| `ConsentModeBoot` | — | — | Boot gtag stub + Consent Mode v2. **Sempre per primo.** |
|
|
113
|
+
| `GoogleAnalyticsLegal` | `statistical` | `gtag/js?id=G-…` | Anonymize IP on di default. |
|
|
114
|
+
| `GoogleAdsLegal` | `marketing` | `gtag/js?id=AW-…` | Mappa conversioni dichiarativa. |
|
|
115
|
+
| `MetaPixelLegal` | `marketing` | `fbevents.js` | Whitelist `events` opzionale. Su revoca → `fbq('consent','revoke')`. |
|
|
116
|
+
| `HotjarLegal` | `statistical` | `static.hotjar.com/c/hotjar-…` | Session recording + heatmap. |
|
|
117
|
+
| `GTMLegal` | `marketing` | `gtm.js?id=GTM-…` | Lascia ai tag interni la granularità. |
|
|
118
|
+
| `EmailJSLegal` | — (art. 6.1.b) | — | Config holder per `useEmailJS()`. |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 3. Hook trigger eventi
|
|
123
|
+
|
|
124
|
+
Nei tuoi componenti `"use client"`:
|
|
125
|
+
|
|
126
|
+
```tsx
|
|
127
|
+
import { useGAEvent, useMetaEvent, useAdsConversion, useHotjarEvent } from "@graffico/legal";
|
|
128
|
+
|
|
129
|
+
const trackGA = useGAEvent();
|
|
130
|
+
const trackLead = useMetaEvent("Lead");
|
|
131
|
+
const fireConversion = useAdsConversion("formSubmit");
|
|
132
|
+
const trackHj = useHotjarEvent();
|
|
133
|
+
|
|
134
|
+
// Tutti diventano no-op senza consenso — chiama liberamente
|
|
135
|
+
trackGA("button_click", { id: "hero" });
|
|
136
|
+
trackLead({ value: 99, currency: "EUR" });
|
|
137
|
+
fireConversion();
|
|
138
|
+
trackHj("scroll_to_pricing");
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 4. Form contatto con consenso
|
|
144
|
+
|
|
145
|
+
```tsx
|
|
146
|
+
"use client";
|
|
147
|
+
import { useEmailJS, ConsentCheckbox } from "@graffico/legal";
|
|
148
|
+
|
|
149
|
+
export function ContactForm() {
|
|
150
|
+
const { send, status } = useEmailJS();
|
|
151
|
+
|
|
152
|
+
async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
|
|
153
|
+
e.preventDefault();
|
|
154
|
+
const res = await send(e.currentTarget);
|
|
155
|
+
if (!res.ok) console.warn(res.error); // CONSENT_MISSING | CONFIG_MISSING | SEND_FAILED
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return (
|
|
159
|
+
<form onSubmit={onSubmit}>
|
|
160
|
+
<input name="name" required />
|
|
161
|
+
<input name="email" type="email" required />
|
|
162
|
+
<textarea name="message" required />
|
|
163
|
+
<ConsentCheckbox /> {/* obbligatorio: blocca submit se non spuntato */}
|
|
164
|
+
<button disabled={status === "loading"}>Invia</button>
|
|
165
|
+
</form>
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
`send()` inietta automaticamente nel payload mail: `_consentId`, `_consentTimestamp`, `_policyVersion` (prova legale art. 7.1).
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## 5. Pagine policy
|
|
175
|
+
|
|
176
|
+
Auto-renderizzate dalla config — incluse sezioni Processors / Transfers / Retention / DPO se valorizzati.
|
|
177
|
+
|
|
178
|
+
```tsx
|
|
179
|
+
// app/privacy-policy/page.tsx
|
|
180
|
+
import { PrivacyPolicy } from "@graffico/legal/server";
|
|
181
|
+
import { legalConfig } from "@/config/legal";
|
|
182
|
+
export default () => <PrivacyPolicy config={legalConfig} />;
|
|
183
|
+
|
|
184
|
+
// app/cookie-policy/page.tsx
|
|
185
|
+
import { CookiePolicy } from "@graffico/legal/server";
|
|
186
|
+
export default () => <CookiePolicy config={legalConfig} />;
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 6. Gate per embed terzi
|
|
192
|
+
|
|
193
|
+
```tsx
|
|
194
|
+
import { ConsentGate, useConsentCategory } from "@graffico/legal";
|
|
195
|
+
|
|
196
|
+
<ConsentGate
|
|
197
|
+
category="marketing"
|
|
198
|
+
fallback={<p>Abilita cookie marketing per vedere il video.</p>}
|
|
199
|
+
>
|
|
200
|
+
<iframe src="https://youtube.com/embed/…" />
|
|
201
|
+
</ConsentGate>
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## 7. Next.js plugin — security headers
|
|
207
|
+
|
|
208
|
+
CSP derivata dai `services[]` + `processors[]`. HSTS, X-Frame, Permissions-Policy, COOP, Referrer-Policy.
|
|
209
|
+
|
|
210
|
+
```ts
|
|
211
|
+
// next.config.ts
|
|
212
|
+
import { withLegal } from "@graffico/legal/next";
|
|
213
|
+
import { legalConfig } from "@/config/legal";
|
|
214
|
+
|
|
215
|
+
const nextConfig = { /* … */ };
|
|
216
|
+
|
|
217
|
+
export default withLegal(nextConfig, legalConfig, {
|
|
218
|
+
cspReportOnly: process.env.CSP_ENFORCE !== "1", // rollout: 7gg report-only → enforce
|
|
219
|
+
});
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Per `netlify.toml`:
|
|
223
|
+
|
|
224
|
+
```ts
|
|
225
|
+
import { emitNetlifyHeaders } from "@graffico/legal/next";
|
|
226
|
+
console.log(emitNetlifyHeaders(legalConfig));
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## 8. `CompanyConfig`
|
|
232
|
+
|
|
233
|
+
```ts
|
|
234
|
+
interface CompanyConfig {
|
|
235
|
+
name: string;
|
|
236
|
+
domain: string;
|
|
237
|
+
owners: string;
|
|
238
|
+
addresses: string | string[];
|
|
239
|
+
vatNumbers: string | string[];
|
|
240
|
+
email: string;
|
|
241
|
+
|
|
242
|
+
policyVersion?: string; // cambiarla invalida i consensi pregressi
|
|
243
|
+
lastUpdated?: string; // ISO date, default oggi
|
|
244
|
+
|
|
245
|
+
services?: ServiceReference[]; // tracker dichiarati (preset id o oggetto)
|
|
246
|
+
processors?: Processor[]; // destinatari/responsabili esterni
|
|
247
|
+
retention?: RetentionMap; // tempi di conservazione per categoria
|
|
248
|
+
dpo?: DpoInfo; // se nominato (art. 37 GDPR)
|
|
249
|
+
|
|
250
|
+
theme?: "light" | "dark";
|
|
251
|
+
primaryColor?: string;
|
|
252
|
+
language?: "it" | "en";
|
|
253
|
+
togglePosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
interface Processor {
|
|
257
|
+
name: string;
|
|
258
|
+
purpose: string;
|
|
259
|
+
country: string;
|
|
260
|
+
transferBasis?: string; // "DPF + SCC 2021/914", "SCC", …
|
|
261
|
+
privacyUrl?: string;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
interface RetentionMap {
|
|
265
|
+
contactForms?: string; // "90d"
|
|
266
|
+
analytics?: string; // "14m"
|
|
267
|
+
marketing?: string; // "2y"
|
|
268
|
+
[k: string]: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
interface DpoInfo {
|
|
272
|
+
name: string;
|
|
273
|
+
email: string;
|
|
274
|
+
phone?: string;
|
|
275
|
+
}
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 9. Conformità GDPR / ePrivacy — cosa fa già la lib
|
|
281
|
+
|
|
282
|
+
- **TTL consenso 180 giorni** (`CONSENT_TTL_MS`), allineato al Garante 10/06/2021. Scaduto → re-prompt.
|
|
283
|
+
- **Re-prompt automatico** al cambio `policyVersion`.
|
|
284
|
+
- **Auto-decline su GPC / DNT** (`navigator.globalPrivacyControl`, `Sec-GPC`) senza UI.
|
|
285
|
+
- **Prova legale**: `consentId` UUID + `timestamp` ISO + `policyVersion` + `source` in localStorage e nel payload mail.
|
|
286
|
+
- **Parità grafica reject/accept** nel banner (Garante 10/06/2021 §4).
|
|
287
|
+
- **Categorie indipendenti**: `necessary` / `statistical` / `marketing`. Default OFF.
|
|
288
|
+
- **Niente cookie wall**: il sito resta fruibile senza consenso.
|
|
289
|
+
- **Zero telemetria** della libreria stessa.
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## 10. Service preset (id stringa per `services[]`)
|
|
294
|
+
|
|
295
|
+
| Categoria | Id |
|
|
296
|
+
|---|---|
|
|
297
|
+
| Analytics | `google-analytics`, `microsoft-clarity`, `hotjar` |
|
|
298
|
+
| Marketing | `facebook-pixel`, `google-ads`, `linkedin-insight`, `tiktok-pixel` |
|
|
299
|
+
| Tag manager | `google-tag-manager` |
|
|
300
|
+
| Pagamenti | `stripe`, `paypal` |
|
|
301
|
+
| Contenuti | `youtube`, `google-maps`, `google-fonts` |
|
|
302
|
+
| Form / mail | `contact-form`, `mailchimp`, `newsletter` |
|
|
303
|
+
|
|
304
|
+
Servizio inline custom:
|
|
305
|
+
|
|
306
|
+
```ts
|
|
307
|
+
{
|
|
308
|
+
id: "crm",
|
|
309
|
+
name: "CRM Interno",
|
|
310
|
+
category: "provided", // "automatic" | "provided" | "marketing"
|
|
311
|
+
purposes: ["Gestione clienti"],
|
|
312
|
+
dataCollected: ["Email", "Nome"],
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 11. API export
|
|
319
|
+
|
|
320
|
+
**`@graffico/legal/server`** — `LegalProvider`, `PrivacyPolicy`, `CookiePolicy`.
|
|
321
|
+
|
|
322
|
+
**`@graffico/legal`** (client) —
|
|
323
|
+
- Tracker: `ConsentModeBoot`, `GoogleAnalyticsLegal`, `GoogleAdsLegal`, `MetaPixelLegal`, `HotjarLegal`, `GTMLegal`, `EmailJSLegal`
|
|
324
|
+
- Hook: `useConsent`, `useConsentCategory`, `useIsHydrated`, `useGAEvent`, `useAdsConversion`, `useMetaEvent`, `useHotjarEvent`, `useHotjarIdentify`, `useEmailJS`, `useT`, `useLegalLanguage`
|
|
325
|
+
- UI: `ConsentBanner`, `PreferenceModal`, `FloatingConsentToggle`, `ConsentGate`, `ConsentCheckbox`, `ServiceGrid`
|
|
326
|
+
- Azioni: `acceptAll`, `declineAll`, `savePreferences`, `resetConsent`, `setModalOpen`, `setLanguage`
|
|
327
|
+
- Primitive: `subscribeConsent`, `getConsentSnapshot`, `CONSENT_TTL_MS`, `SERVICE_PRESETS`
|
|
328
|
+
|
|
329
|
+
**`@graffico/legal/next`** — `withLegal`, `emitNetlifyHeaders`, `buildLegalHeaders`, `buildCspFromConfig`.
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## Requisiti
|
|
334
|
+
|
|
335
|
+
- React ≥ 18 (App Router consigliato)
|
|
336
|
+
- Tailwind opzionale (la UI usa classi Tailwind)
|
|
337
|
+
- `@emailjs/browser` ≥ 4 — peer optional, solo se usi `EmailJSLegal`
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
Made by **Graffico Studio**.
|
package/dist/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{LegalConfigProvider as O,ConsentBanner as F}from"@graffico/legal";import{jsx as j,jsxs as H}from"react/jsx-runtime";function Y({children:t,config:i}){return H(O,{config:i,children:[t,j(F,{})]})}var x={it:{legal:"Legal",lastUpdated:"Ultima modifica",email:"Email",vat:"P.IVA",generatedBy:"Generato professionalmente da",bannerTitle:"Informativa sui Cookie",bannerDescription:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalit\xE0 tecniche e, con il tuo consenso, anche per le finalit\xE0 di ",bannerDescriptionMeasurement:"misurazione",bannerDescriptionEnd:" come specificato nella ",cookiePolicyLink:"cookie policy",decline:"Rifiuta",customize:"Personalizza",accept:"Accetta",close:"Chiudi",preferencesTitle:"Preferenze Privacy",preferencesSubtitle:"Personalizza come trattiamo i tuoi dati",preferencesDescription:'Questo pannello ti permette di esprimere alcune preferenze relative al trattamento delle tue informazioni personali. Puoi rivedere e modificare le tue scelte in qualsiasi momento. Per rifiutare il tuo consenso alle attivit\xE0 di trattamento descritte di seguito, disattiva i singoli comandi o utilizza il pulsante "Rifiuta tutto".',necessaryTitle:"Strettamente necessari",necessaryDescription:"Questi strumenti sono richiesti per le funzionalit\xE0 base del sito e non possono essere disattivati.",measurementTitle:"Misurazione",measurementDescription:"Ci permettono di misurare il traffico e analizzare il tuo comportamento per migliorare il servizio.",marketingTitle:"Marketing e Profilazione",marketingDescription:"Utilizzati per inviarti comunicazioni commerciali personalizzate in base ai tuoi interessi.",consentId:"IDC (Consent ID)",consentDate:"Data Consenso",consentPolicyVersion:"Versione policy",consentSource:"Origine",legalProofDescription:"Questi identificativi fungono da prova legale del tuo consenso secondo le linee guida GDPR. Puoi richiederne la cancellazione in qualsiasi momento.",consentCheckboxLabel:"Acconsento al trattamento dei miei dati personali per la gestione della richiesta come descritto nella",privacyPolicyLink:"privacy policy",declineAll:"Rifiuta tutto",saveAndContinue:"Salva e continua",acceptAll:"Accetta tutto",monitorTitle:"Monitoraggio e Stats",supportTitle:"Supporto e Feedback",privacyPreferences:"Preferenze Privacy",privacyPolicyTitle:"Privacy Policy di",privacyWelcome:"Benvenuto nella privacy policy di",privacyIntro:"Questa policy ti aiuter\xE0 a comprendere quali dati raccogliamo, perch\xE9 li raccogliamo e quali sono i tuoi diritti in merito.",ownerTitle:"Titolare del Trattamento dei Dati",dataSummaryTitle:"Riepilogo dei Dati",automaticDataTitle:"Dati raccolti automaticamente",automaticDataDescription:"Raccogliamo automaticamente i tuoi dati, ad esempio quando visiti ",automaticDataIncludes:". Include: indirizzo IP, Dati di utilizzo, Strumenti di Tracciamento, numero di Utenti, statistiche delle sessioni, identificativi del dispositivo (user-agent, lingua, fuso orario).",providedDataTitle:"Dati forniti dall'Utente",providedDataDescription:"Raccogliamo i dati che ci fornisci, ad esempio quando compili un modulo di contatto. Include: nome, email.",treatmentDetailsTitle:"Dettagli sul trattamento dei Dati Personali",treatmentDetailsDescription:"Di seguito sono riportati i dettagli sulle modalit\xE0 di raccolta dei dati e i servizi di terze parti che utilizziamo.",modeAndPlaceTitle:"Modalit\xE0 e luogo del trattamento",modeDescription:"Il Titolare adotta le opportune misure di sicurezza volte ad impedire l'accesso, la divulgazione, la modifica o la distruzione non autorizzate dei Dati Personali. Il trattamento viene effettuato mediante strumenti informatici e/o telematici, con modalit\xE0 organizzative e con logiche strettamente correlate alle finalit\xE0 indicate.",placeDescription:"I Dati sono trattati presso le sedi operative del Titolare ed in ogni altro luogo in cui le parti coinvolte nel trattamento siano localizzate. Se non diversamente indicato, i Dati Personali sono trattati e conservati per il tempo richiesto dalla finalit\xE0 per la quale sono stati raccolti.",rightsTitle:"I tuoi Diritti (GDPR)",right1:"Revocare il consenso in ogni momento",right2:"Opporsi al trattamento dei propri Dati",right3:"Accedere ai propri Dati",right4:"Verificare e chiedere la rettificazione",right5:"Ottenere la limitazione del trattamento",right6:"Ottenere la cancellazione o rimozione",right7:"Ricevere i propri Dati o farli trasferire ad altro titolare",right8:"Proporre reclamo all'Autorit\xE0 di controllo (Garante)",howToExerciseRights:"Come esercitare i diritti",exerciseRightsDescription:"Le richieste vanno indirizzate ai recapiti del Titolare indicati in questo documento. La richiesta \xE8 gratuita e risponderemo nel pi\xF9 breve tempo possibile.",supervisoryAuthorityTitle:"Autorit\xE0 di controllo",supervisoryAuthorityIntro:"Ai sensi degli artt. 13.2.d e 77 GDPR, l'interessato ha diritto di proporre reclamo all'autorit\xE0 di controllo competente qualora ritenga che il trattamento dei propri dati personali violi la normativa vigente.",supervisoryAuthorityName:"Garante per la Protezione dei Dati Personali",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Roma (Italia)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Sede",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Sito web",definitionsTitle:"Definizioni e riferimenti legali",personalDataTitle:"Dati Personali",personalDataDescription:"Qualunque informazione che, direttamente o indirettamente, renda identificata o identificabile una persona fisica.",usageDataTitle:"Dati di Utilizzo",usageDataDescription:"Informazioni raccolte automaticamente attraverso questa Applicazione (es. indirizzi IP, orario della richiesta, browser utilizzato).",ownerDefinitionTitle:"Titolare del Trattamento",ownerDefinitionDescription:"La persona fisica o giuridica che determina le finalit\xE0 e i mezzi del trattamento di dati personali.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Piccole porzioni di dati conservate all'interno del browser dell'Utente.",processorsTitle:"Destinatari e responsabili esterni",processorsIntro:"I Dati Personali possono essere comunicati ai responsabili del trattamento elencati di seguito. Ciascun responsabile \xE8 stato selezionato per affidabilit\xE0 e adeguatezza delle garanzie tecniche e organizzative.",processorPurpose:"Finalit\xE0",processorCountry:"Sede",processorTransferBasis:"Base giuridica trasferimento",processorPrivacyPolicy:"Privacy policy",transfersTitle:"Trasferimenti di Dati Personali fuori dall'Unione Europea",transfersDescription:"Alcuni dei responsabili esterni hanno sede al di fuori dello Spazio Economico Europeo. I trasferimenti avvengono sulla base di decisioni di adeguatezza (es. EU-US Data Privacy Framework) o di Clausole Contrattuali Tipo (SCC 2021/914) adottate dalla Commissione Europea, integrate da misure supplementari ove necessarie. L'Utente pu\xF2 richiedere copia delle garanzie scrivendo al Titolare.",retentionTitle:"Conservazione dei Dati",retentionIntro:"I Dati Personali sono conservati per il tempo strettamente necessario alle finalit\xE0 per cui sono stati raccolti.",retentionContactForms:"Form di contatto",retentionAnalytics:"Dati analitici",retentionMarketing:"Dati di marketing",dpoTitle:"Responsabile della Protezione dei Dati (DPO)",dpoIntro:"L'Utente pu\xF2 contattare il DPO per qualsiasi questione relativa al trattamento dei propri Dati Personali e all'esercizio dei diritti GDPR.",dpoPhone:"Telefono",policyVersionLabel:"Versione",lawfulBasisTitle:"Basi giuridiche del trattamento",lawfulBasisIntro:"Ciascuna finalit\xE0 di trattamento poggia su una specifica base giuridica ex art. 6 GDPR. Di seguito la mappatura dichiarata dal Titolare.",lawfulBasisContract:"Esecuzione di un contratto o misure precontrattuali (art. 6.1.b GDPR)",lawfulBasisConsent:"Consenso espresso dell'interessato (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legittimo interesse del Titolare (art. 6.1.f GDPR) \u2014 es. sicurezza del sito, prevenzione frodi, statistiche aggregate",lawfulBasisLegalObligation:"Adempimento di un obbligo di legge (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Tutela degli interessi vitali dell'interessato (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Esecuzione di un compito di interesse pubblico (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Base giuridica non dichiarata per questo servizio",profilingTitle:"Processi decisionali automatizzati e profilazione",profilingDeclaredYes:"Il Titolare effettua trattamenti che includono processi decisionali automatizzati e/o profilazione ai sensi dell'art. 22 GDPR. L'interessato ha diritto a ottenere intervento umano, esprimere la propria opinione e contestare la decisione. Per dettagli su logica, importanza e conseguenze previste, contattare il Titolare ai recapiti indicati.",profilingDeclaredNo:"Il Titolare non effettua processi decisionali automatizzati n\xE9 profilazione che producano effetti giuridici sull'interessato o che incidano significativamente sulla sua persona, ai sensi dell'art. 22 GDPR. Eventuali strumenti di analisi (es. Google Analytics, Meta Pixel) sono utilizzati per misurazione aggregata e non per decisioni automatizzate individuali.",cookieTableTitle:"Elenco dettagliato dei Cookie e degli identificatori",cookieTableIntro:"Di seguito i cookie e gli identificatori utilizzati da ciascun servizio, con finalit\xE0, durata e categoria. La lista \xE8 esaustiva per i servizi attivi sull'Applicazione al momento della pubblicazione di questa policy.",cookieTableName:"Nome",cookieTableProvider:"Fornitore",cookieTablePurpose:"Finalit\xE0",cookieTableDuration:"Durata",cookieTableType:"Tipologia",cookieTypeTechnical:"Tecnico",cookieTypeStatistical:"Statistico",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profilazione",cookieTableNoneDeclared:"Per questo servizio non sono dichiarati cookie nominali (pu\xF2 utilizzare identificatori dinamici o LocalStorage).",marketingConsentLabel:"Acconsento a ricevere comunicazioni commerciali e di marketing (newsletter, offerte) ex art. 6.1.a GDPR. Posso revocare il consenso in qualunque momento scrivendo a",cookiePolicyTitle:"Cookie Policy di",cookieWelcome:"Benvenuto nella cookie policy di",cookieIntro:"Questa policy ti aiuter\xE0 a comprendere quali cookie e tecnologie di tracciamento utilizziamo, come li utilizziamo e quali sono i tuoi diritti in merito.",introduction:"Introduzione",introDescription1:"Questo documento contiene informazioni in merito alle tecnologie che consentono a questa Applicazione di raggiungere gli scopi descritti di seguito. Tali tecnologie permettono al Titolare di raccogliere e salvare informazioni (per esempio tramite l'utilizzo di Cookie) o di utilizzare risorse (per esempio eseguendo uno script).",introDescription2:"Per semplicit\xE0, in questo documento tali tecnologie sono sinteticamente definite \u201CStrumenti di Tracciamento\u201D. Alcune delle finalit\xE0 per le quali vengono impiegati potrebbero richiedere il consenso dell'Utente.",usageTrackingTitle:"Utilizzo degli Strumenti di Tracciamento",usageTrackingDescription:"Questa Applicazione utilizza Strumenti di Tracciamento per svolere attivit\xE0 che sono strettamente necessarie a garantire il funzionamento e per misurare il traffico tramite analisi.",managePreferencesTitle:"Come gestire le preferenze",managePreferencesDescription1:"Qualora l'utilizzo dei Tracker sia basato sul consenso, l'Utente pu\xF2 fornire o revocare tale consenso impostando o aggiornando le proprie preferenze tramite il relativo pannello delle scelte in materia di privacy disponibile su questa Applicazione.",managePreferencesDescription2:"Gli Utenti possono inoltre utilizzare le impostazioni del proprio browser per vedere quali Cookie sono stati installati, bloccarli o cancellarli. Tuttavia, le impostazioni del browser non consentono un controllo granulare del consenso per categoria.",preferenceCenterTitle:"Centro Preferenze",preferenceCenterDescription:"Puoi gestire i tuoi consensi in modo granulare o resettare completamente le tue impostazioni per visualizzare nuovamente il banner iniziale.",managePreferencesButton:"Gestisci preferenze",resetBannerButton:"Resetta e riapri banner",fullPrivacyPolicyLink:"Privacy Policy Completa",browserInfo:"Info Browser",browserSettingsTitle:"Impostazioni Browser",browserSettingsDescription:"I cookie possono essere gestiti anche tramite le impostazioni del tuo browser (Chrome, Safari, Firefox, ecc.) per un controllo totale sulla privacy e sulla conservazione dei dati.",trackingToolTitle:"Strumento di Tracciamento",trackingToolDescription:"Qualsiasi tecnologia \u2014 es. Cookie, identificativi univoci, web beacons \u2014 che consenta di tracciare gli Utenti, raccogliendo o salvando informazioni sul dispositivo.",dataSubjectTitle:"Interessato",dataSubjectDescription:"La persona fisica cui si riferiscono i Dati Personali.",purposes:"Finalit\xE0",dataCollected:"Dati raccolti",statistics:"Statistica",optimization:"Ottimizzazione",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Analisi del comportamento",sessionScreencast:"Screencast sessione",usageData:"Dati di utilizzo",trackingTools:"Strumenti di Tracciamento",tagManagement:"Gestione dei tag",userDatabaseManagement:"Gestione database Utenti",sendingMessages:"Invio messaggi",name:"Nome",surname:"Cognome",paymentManagement:"Gestione dei pagamenti",variousDataAsSpecified:"Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio",externalContent:"Visualizzazione di contenuti da piattaforme esterne",geographicPosition:"Posizione geografica",contactUser:"Contattare l'utente",requestManagement:"Gestione richieste",variousData:"Dati vari",contentDisplay:"Visualizzazione dei contenuti",variousDataTypes:"Varie tipologie di Dati",contactForm:"Modulo di Contatto",youtubeWidget:"Widget Video YouTube",googleMapsWidget:"Widget Google Maps",noActiveService:"Nessun servizio attivo"},en:{legal:"Legal",lastUpdated:"Last modified",email:"Email",vat:"VAT",generatedBy:"Professionally generated by",bannerTitle:"Cookie Policy",bannerDescription:"We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, also for the purposes of ",bannerDescriptionMeasurement:"measurement",bannerDescriptionEnd:" as specified in the ",cookiePolicyLink:"cookie policy",decline:"Refuse",customize:"Customize",accept:"Accept",close:"Close",preferencesTitle:"Privacy Preferences",preferencesSubtitle:"Customize how we process your data",preferencesDescription:'This panel allows you to express certain preferences regarding the processing of your personal information. You can review and modify your choices at any time. To refuse your consent to the processing activities described below, disable the individual controls or use the "Refuse all" button.',necessaryTitle:"Strictly necessary",necessaryDescription:"These tools are required for the basic functionality of the site and cannot be disabled.",measurementTitle:"Measurement",measurementDescription:"They allow us to measure traffic and analyze your behavior to improve the service.",marketingTitle:"Marketing and Profiling",marketingDescription:"Used to send you personalized marketing communications based on your interests.",consentId:"Consent ID",consentDate:"Consent Date",consentPolicyVersion:"Policy version",consentSource:"Source",legalProofDescription:"These identifiers serve as legal proof of your consent according to GDPR guidelines. You can request their deletion at any time.",consentCheckboxLabel:"I consent to the processing of my personal data for handling this request as described in the",privacyPolicyLink:"privacy policy",declineAll:"Refuse all",saveAndContinue:"Save and continue",acceptAll:"Accept all",monitorTitle:"Monitoring and Stats",supportTitle:"Support and Feedback",privacyPreferences:"Privacy Preferences",privacyPolicyTitle:"Privacy Policy of",privacyWelcome:"Welcome to the privacy policy of",privacyIntro:"This policy will help you understand what data we collect, why we collect it and what your rights are in this regard.",ownerTitle:"Data Controller",dataSummaryTitle:"Data Summary",automaticDataTitle:"Automatically collected data",automaticDataDescription:"We automatically collect your data, for example when you visit ",automaticDataIncludes:". Includes: IP address, Usage data, Tracking Tools, number of Users, session statistics, device identifiers (user-agent, language, timezone).",providedDataTitle:"Data provided by the User",providedDataDescription:"We collect the data you provide us, for example when you fill out a contact form. Includes: name, email.",treatmentDetailsTitle:"Details on the processing of Personal Data",treatmentDetailsDescription:"Below are details on how data is collected and the third-party services we use.",modeAndPlaceTitle:"Method and place of processing",modeDescription:"The Controller takes appropriate security measures to prevent unauthorized access, disclosure, modification or destruction of Personal Data. Processing is carried out using computers and/or IT enabled tools, with organizational methods and logic strictly related to the purposes indicated.",placeDescription:"The Data is processed at the Controller's operating offices and in any other places where the parties involved in the processing are located. Unless otherwise stated, Personal Data is processed and stored for the time required by the purpose for which it was collected.",rightsTitle:"Your Rights (GDPR)",right1:"Withdraw consent at any time",right2:"Object to the processing of your Data",right3:"Access your Data",right4:"Verify and seek rectification",right5:"Obtain restriction of processing",right6:"Obtain erasure or removal",right7:"Receive your Data or have it transferred to another controller",right8:"Lodge a complaint with the Supervisory Authority (Italian Garante)",howToExerciseRights:"How to exercise rights",exerciseRightsDescription:"Requests should be addressed to the Controller's contact details indicated in this document. The request is free of charge and we will respond as soon as possible.",supervisoryAuthorityTitle:"Supervisory Authority",supervisoryAuthorityIntro:"Pursuant to art. 13.2.d and 77 GDPR, the data subject has the right to lodge a complaint with the competent supervisory authority where they consider that the processing of their personal data infringes applicable law.",supervisoryAuthorityName:"Italian Data Protection Authority (Garante per la Protezione dei Dati Personali)",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Rome (Italy)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Address",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Website",definitionsTitle:"Definitions and legal references",personalDataTitle:"Personal Data",personalDataDescription:"Any information that, directly or indirectly, makes a natural person identified or identifiable.",usageDataTitle:"Usage Data",usageDataDescription:"Information collected automatically through this Application (e.g. IP addresses, time of request, browser used).",ownerDefinitionTitle:"Data Controller",ownerDefinitionDescription:"The natural or legal person who determines the purposes and means of the processing of personal data.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Small portions of data stored within the User's browser.",processorsTitle:"Recipients and external data processors",processorsIntro:"Personal Data may be shared with the data processors listed below. Each processor has been selected for reliability and adequacy of technical and organizational safeguards.",processorPurpose:"Purpose",processorCountry:"Location",processorTransferBasis:"Transfer legal basis",processorPrivacyPolicy:"Privacy policy",transfersTitle:"Transfers of Personal Data outside the European Union",transfersDescription:"Some external processors are based outside the European Economic Area. Transfers occur under adequacy decisions (e.g. EU-US Data Privacy Framework) or Standard Contractual Clauses (SCC 2021/914) adopted by the European Commission, supplemented by additional measures where needed. The User can request a copy of the safeguards by contacting the Controller.",retentionTitle:"Data Retention",retentionIntro:"Personal Data is kept only for the time strictly necessary to the purposes for which it was collected.",retentionContactForms:"Contact forms",retentionAnalytics:"Analytics data",retentionMarketing:"Marketing data",dpoTitle:"Data Protection Officer (DPO)",dpoIntro:"The User can contact the DPO for any matter related to the processing of their Personal Data and the exercise of GDPR rights.",dpoPhone:"Phone",policyVersionLabel:"Version",lawfulBasisTitle:"Lawful bases of processing",lawfulBasisIntro:"Each processing purpose relies on a specific lawful basis pursuant to art. 6 GDPR. Below is the mapping declared by the Controller.",lawfulBasisContract:"Performance of a contract or pre-contractual measures (art. 6.1.b GDPR)",lawfulBasisConsent:"Explicit consent of the data subject (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legitimate interest of the Controller (art. 6.1.f GDPR) \u2014 e.g. site security, fraud prevention, aggregated statistics",lawfulBasisLegalObligation:"Compliance with a legal obligation (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Protection of vital interests of the data subject (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Performance of a task carried out in the public interest (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Lawful basis not declared for this service",profilingTitle:"Automated decision-making and profiling",profilingDeclaredYes:"The Controller carries out processing that includes automated decision-making and/or profiling pursuant to art. 22 GDPR. The data subject has the right to obtain human intervention, express their opinion and contest the decision. For details on logic, significance and envisaged consequences, contact the Controller at the addresses indicated.",profilingDeclaredNo:"The Controller does not carry out automated decision-making or profiling that produces legal effects on the data subject or significantly affects them, pursuant to art. 22 GDPR. Any analytics tools (e.g. Google Analytics, Meta Pixel) are used for aggregated measurement and not for individual automated decisions.",cookieTableTitle:"Detailed list of Cookies and identifiers",cookieTableIntro:"Below are the cookies and identifiers used by each service, with purpose, duration and category. The list is exhaustive for the services active on the Application at the time of publication of this policy.",cookieTableName:"Name",cookieTableProvider:"Provider",cookieTablePurpose:"Purpose",cookieTableDuration:"Duration",cookieTableType:"Type",cookieTypeTechnical:"Technical",cookieTypeStatistical:"Statistical",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profiling",cookieTableNoneDeclared:"No nominal cookies declared for this service (it may use dynamic identifiers or LocalStorage).",marketingConsentLabel:"I consent to receive commercial and marketing communications (newsletter, offers) pursuant to art. 6.1.a GDPR. I may withdraw consent at any time by writing to",cookiePolicyTitle:"Cookie Policy of",cookieWelcome:"Welcome to the cookie policy of",cookieIntro:"This policy will help you understand which cookies and tracking technologies we use, how we use them and what your rights are in this regard.",introduction:"Introduction",introDescription1:"This document contains information regarding the technologies that enable this Application to achieve the purposes described below. Such technologies allow the Controller to collect and store information (for example through the use of Cookies) or to use resources (for example by running a script).",introDescription2:"For simplicity, in this document these technologies are synthetically defined as \u201CTracking Tools\u201D. Some of the purposes for which they are used may require the User's consent.",usageTrackingTitle:"Use of Tracking Tools",usageTrackingDescription:"This Application uses Tracking Tools to carry out activities that are strictly necessary to ensure operation and to measure traffic through analysis.",managePreferencesTitle:"How to manage preferences",managePreferencesDescription1:"If the use of Trackers is based on consent, the User can give or withdraw such consent by setting or updating their preferences through the relevant privacy choice panel available on this Application.",managePreferencesDescription2:"Users can also use their browser settings to see which Cookies have been installed, block or delete them. However, browser settings do not allow granular control of consent by category.",preferenceCenterTitle:"Preference Center",preferenceCenterDescription:"You can manage your consents granularly or reset your settings completely to view the initial banner again.",managePreferencesButton:"Manage preferences",resetBannerButton:"Reset and reopen banner",fullPrivacyPolicyLink:"Full Privacy Policy",browserInfo:"Browser Info",browserSettingsTitle:"Browser Settings",browserSettingsDescription:"Cookies can also be managed through your browser settings (Chrome, Safari, Firefox, etc.) for total control over privacy and data storage.",trackingToolTitle:"Tracking Tool",trackingToolDescription:"Any technology \u2014 e.g. Cookies, unique identifiers, web beacons \u2014 that allows users to be tracked, collecting or saving information on the device.",dataSubjectTitle:"Data Subject",dataSubjectDescription:"The natural person to whom the Personal Data refers.",purposes:"Purposes",dataCollected:"Data collected",statistics:"Statistics",optimization:"Optimization",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Behavior analysis",sessionScreencast:"Session screencast",usageData:"Usage data",trackingTools:"Tracking Tools",tagManagement:"Tag management",userDatabaseManagement:"User database management",sendingMessages:"Sending messages",name:"Name",surname:"Last Name",paymentManagement:"Payment management",variousDataAsSpecified:"Various types of Data as specified in the privacy policy of the service",externalContent:"Displaying content from external platforms",geographicPosition:"Geographic position",contactUser:"Contacting the user",requestManagement:"Request management",variousData:"Various data",contentDisplay:"Content display",variousDataTypes:"Various types of Data",contactForm:"Contact Form",youtubeWidget:"YouTube Video Widget",googleMapsWidget:"Google Maps Widget",noActiveService:"No active service"}};var Q={it:"it-IT",en:"en-US"},S=new Map;function h(t){return t&&t.toLowerCase().startsWith("en")?"en":"it"}function K(t){let i=S.get(t);if(i)return i;let e=x[t]??x.it,a=x.it,n=d=>e[d]??a[d];return S.set(t,n),n}var T=t=>K(h(t)),$=t=>Q[t];function A(t,i){return new Date(t).toLocaleDateString($(i),{day:"numeric",month:"long",year:"numeric"})}var J="#2c5282",k=t=>t.primaryColor??J,I=t=>t.domain||t.name,N=t=>Array.isArray(t)?t:[t];import{ServiceGrid as te}from"@graffico/legal";import{jsx as L,jsxs as X}from"react/jsx-runtime";function D({primaryColor:t,t:i}){return L("footer",{className:"mt-40 pt-12 border-t border-gray-100 text-center",children:X("p",{className:"text-xs text-gray-400 font-bold uppercase tracking-widest",children:[i("generatedBy")," ",L("a",{href:"https://graffico.it/",target:"_blank",rel:"noopener noreferrer",className:"transition-colors underline decoration-2 underline-offset-4",style:{color:t},children:"GRAFFICO.IT"})," ","\u2022 \xA9 ",new Date().getFullYear()]})})}import{jsx as v,jsxs as y}from"react/jsx-runtime";function P({title:t,intro:i,config:e,language:a,primaryColor:n,t:d}){return y("header",{className:"mb-20",children:[y("div",{className:"flex items-center gap-3 mb-6",children:[v("span",{className:"px-3 py-1 text-white text-[10px] font-black uppercase tracking-widest rounded-full",style:{backgroundColor:n},children:d("legal")}),v("div",{className:"h-0.5 w-12 bg-gray-100"})]}),y("h1",{className:"text-4xl md:text-6xl font-black tracking-tight mb-8",children:[t," ",v("br",{}),v("span",{className:"underline decoration-[8px] underline-offset-8",style:{textDecorationColor:`${n}1a`,color:n},children:I(e)})]}),v("p",{className:"text-xl text-gray-500 leading-relaxed max-w-2xl font-medium",children:i}),y("div",{className:"flex flex-wrap gap-x-6 gap-y-2 text-xs text-gray-400 font-bold uppercase tracking-widest mt-8",children:[y("span",{children:[d("lastUpdated"),":"," ",e.lastUpdated??A(new Date,a)]}),e.policyVersion&&y("span",{children:[d("policyVersionLabel"),": ",e.policyVersion]})]})]})}function R(t){if(!t||typeof t!="string")return;let i=t.trim();if(i.length===0)return;if(i.startsWith("/")||i.startsWith("#")||i.startsWith("?"))return i;let e=i.toLowerCase();if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:"))return i}import{jsx as r,jsxs as l}from"react/jsx-runtime";function B({config:t,primaryColor:i,t:e}){let a=t.processors??[];return a.length===0?null:l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("processorsTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("processorsIntro")}),r("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:a.map((n,d)=>{let c=R(n.privacyUrl);return l("div",{className:"p-6 bg-gray-50 rounded-3xl border border-gray-100 space-y-3",children:[r("h3",{className:"text-lg font-black border-l-2 pl-3",style:{borderColor:i},children:n.name}),l("dl",{className:"space-y-2 text-sm",children:[l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorPurpose")}),r("dd",{className:"text-gray-600 font-medium",children:n.purpose})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorCountry")}),r("dd",{className:"text-gray-600 font-medium",children:n.country})]}),n.transferBasis&&l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorTransferBasis")}),r("dd",{className:"text-gray-600 font-medium",children:n.transferBasis})]}),c&&l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorPrivacyPolicy")}),r("dd",{children:r("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 font-bold",style:{color:i},children:c})})]})]})]},`${n.name}-${d}`)})})]})}function M({config:t,t:i}){return(t.processors??[]).some(a=>a.transferBasis)?l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:i("transfersTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i("transfersDescription")})]}):null}function E({config:t,primaryColor:i,t:e}){let a=t.retention;if(!a)return null;let n={contactForms:e("retentionContactForms"),analytics:e("retentionAnalytics"),marketing:e("retentionMarketing")},d=Object.entries(a).filter(([,c])=>typeof c=="string"&&c.length>0);return d.length===0?null:l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("retentionTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("retentionIntro")}),r("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:d.map(([c,C])=>l("div",{className:"p-6 bg-gray-50 rounded-3xl border border-gray-100",children:[r("p",{className:"text-[10px] font-black uppercase tracking-widest text-gray-400",children:n[c]??c}),r("p",{className:"text-2xl font-black mt-2",style:{color:i},children:C})]},c))})]})}function G({primaryColor:t,t:i}){return l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:i("supervisoryAuthorityTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i("supervisoryAuthorityIntro")}),l("div",{className:"bg-gray-50 p-8 rounded-3xl border border-gray-100 space-y-3",children:[r("p",{className:"text-xl font-black",children:i("supervisoryAuthorityName")}),l("dl",{className:"space-y-2 text-sm pt-2",children:[l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelAddress")}),r("dd",{className:"text-gray-600 font-medium",children:i("supervisoryAuthorityAddress")})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelEmail")}),r("dd",{children:r("a",{href:`mailto:${i("supervisoryAuthorityEmail")}`,className:"underline underline-offset-2 font-bold",style:{color:t},children:i("supervisoryAuthorityEmail")})})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelWebsite")}),r("dd",{children:r("a",{href:i("supervisoryAuthorityWebsite"),target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 font-bold",style:{color:t},children:i("supervisoryAuthorityWebsite")})})]})]})]})]})}function U({config:t,primaryColor:i,t:e}){return t.dpo?l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("dpoTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("dpoIntro")}),l("div",{className:"bg-gray-50 p-8 rounded-3xl border border-gray-100",children:[r("p",{className:"text-xl font-black",children:t.dpo.name}),l("p",{className:"mt-3 font-bold flex items-center gap-2",children:[l("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("email"),":"]}),r("span",{className:"underline decoration-2 underline-offset-4",style:{color:i},children:t.dpo.email})]}),t.dpo.phone&&l("p",{className:"mt-2 font-bold flex items-center gap-2",children:[l("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("dpoPhone"),":"]}),r("span",{className:"text-gray-700",children:t.dpo.phone})]})]})]}):null}var Z={"google-analytics":{id:"google-analytics",name:"Google Analytics 4",category:"automatic",purposes:["Statistica","Ottimizzazione"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ga",provider:"google-analytics.com",purpose:"Identificatore univoco utente per statistiche di sessione",duration:"2 anni",type:"statistical"},{name:"_ga_<container-id>",provider:"google-analytics.com",purpose:"Stato di sessione GA4",duration:"2 anni",type:"statistical"},{name:"_gid",provider:"google-analytics.com",purpose:"Identificatore utente giornaliero",duration:"24 ore",type:"statistical"}]},"facebook-pixel":{id:"facebook-pixel",name:"Meta Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_fbp",provider:"facebook.com",purpose:"Identificatore browser per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"fr",provider:"facebook.com",purpose:"Pubblicit\xE0 mirata e misurazione",duration:"90 giorni",type:"marketing"},{name:"_fbc",provider:"facebook.com",purpose:"Click-ID per attribuzione di campagna",duration:"90 giorni",type:"marketing"}]},"google-ads":{id:"google-ads",name:"Google Ads",category:"marketing",purposes:["Marketing","Targeting","Misurazione conversioni"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"IDE",provider:"doubleclick.net",purpose:"Profilazione e remarketing Google Ads",duration:"13 mesi",type:"marketing"},{name:"_gcl_au",provider:"google.com",purpose:"Misurazione conversioni cross-site",duration:"90 giorni",type:"marketing"},{name:"NID",provider:"google.com",purpose:"Memorizza preferenze utente per annunci",duration:"6 mesi",type:"marketing"}]},"linkedin-insight":{id:"linkedin-insight",name:"LinkedIn Insight Tag",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"li_sugr",provider:"linkedin.com",purpose:"Inferenza identit\xE0 per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"lidc",provider:"linkedin.com",purpose:"Routing data center",duration:"24 ore",type:"technical"}]},"tiktok-pixel":{id:"tiktok-pixel",name:"TikTok Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ttp",provider:"tiktok.com",purpose:"Identificatore univoco utente TikTok Pixel",duration:"13 mesi",type:"marketing"}]},"microsoft-clarity":{id:"microsoft-clarity",name:"Microsoft Clarity",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento","Screencast sessione"],lawfulBasis:"consent",cookies:[{name:"_clck",provider:"clarity.ms",purpose:"ID utente persistente Clarity",duration:"1 anno",type:"statistical"},{name:"_clsk",provider:"clarity.ms",purpose:"Sessione di registrazione Clarity",duration:"24 ore",type:"statistical"}]},hotjar:{id:"hotjar",name:"Hotjar",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_hjSessionUser_<id>",provider:"hotjar.com",purpose:"Identificatore utente persistente",duration:"1 anno",type:"statistical"},{name:"_hjSession_<id>",provider:"hotjar.com",purpose:"Sessione di registrazione",duration:"30 minuti",type:"statistical"}]},"google-tag-manager":{id:"google-tag-manager",name:"Google Tag Manager",category:"automatic",purposes:["Gestione dei tag"],dataCollected:["Dati di utilizzo"],lawfulBasis:"legitimate-interest"},mailchimp:{id:"mailchimp",name:"Mailchimp",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome","Dati di utilizzo"],lawfulBasis:"consent"},newsletter:{id:"newsletter",name:"Newsletter",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome"],lawfulBasis:"consent"},stripe:{id:"stripe",name:"Stripe",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract",cookies:[{name:"__stripe_mid",provider:"stripe.com",purpose:"Prevenzione frodi",duration:"1 anno",type:"technical"},{name:"__stripe_sid",provider:"stripe.com",purpose:"Sessione di pagamento",duration:"30 minuti",type:"technical"}]},paypal:{id:"paypal",name:"PayPal",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract"},youtube:{id:"youtube",name:"YouTube Video Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"VISITOR_INFO1_LIVE",provider:"youtube.com",purpose:"Stima banda utente per pre-buffering",duration:"6 mesi",type:"statistical"},{name:"YSC",provider:"youtube.com",purpose:"Sessione video corrente",duration:"Sessione",type:"statistical"}]},"google-maps":{id:"google-maps",name:"Google Maps Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Posizione geografica","Strumenti di Tracciamento"],lawfulBasis:"consent"},"contact-form":{id:"contact-form",name:"Modulo di Contatto",category:"provided",purposes:["Contattare l'utente","Gestione richieste"],dataCollected:["Email","Nome","Cognome","Dati vari"],lawfulBasis:"contract"},"google-fonts":{id:"google-fonts",name:"Google Fonts",category:"automatic",purposes:["Visualizzazione dei contenuti"],dataCollected:["Dati di utilizzo","Varie tipologie di Dati"],lawfulBasis:"legitimate-interest"}},w=t=>typeof t=="string"?Z[t]||{id:t,name:t,category:"automatic",purposes:[],dataCollected:[]}:t;import{jsx as u,jsxs as b}from"react/jsx-runtime";var ee={contract:"lawfulBasisContract",consent:"lawfulBasisConsent","legitimate-interest":"lawfulBasisLegitInterest","legal-obligation":"lawfulBasisLegalObligation","vital-interests":"lawfulBasisVitalInterests","public-task":"lawfulBasisPublicTask"};function q({config:t,primaryColor:i,t:e}){let a=(t.services??[]).map(n=>w(n));return a.length===0?null:b("section",{className:"space-y-8",children:[u("h2",{className:"text-3xl font-black tracking-tight",children:e("lawfulBasisTitle")}),u("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("lawfulBasisIntro")}),u("div",{className:"overflow-x-auto rounded-3xl border border-gray-100",children:b("table",{className:"w-full text-left text-sm",children:[u("thead",{className:"bg-gray-50 text-[10px] font-black uppercase tracking-widest text-gray-400",children:b("tr",{children:[u("th",{className:"px-6 py-4 w-1/3",children:e("treatmentDetailsTitle")}),u("th",{className:"px-6 py-4",children:e("lawfulBasisTitle")})]})}),u("tbody",{className:"divide-y divide-gray-100",children:a.map(n=>{let d=n.lawfulBasis?ee[n.lawfulBasis]:null,c=e(d||"lawfulBasisNotDeclared");return b("tr",{className:"bg-white",children:[u("td",{className:"px-6 py-4 align-top",children:u("span",{className:"font-black border-l-2 pl-3",style:{borderColor:i},children:n.name})}),u("td",{className:"px-6 py-4 text-gray-600 font-medium",children:c})]},n.id)})})]})})]})}function _({config:t,t:i}){let e=t.automatedDecisionMaking===!0;return b("section",{className:"space-y-8",children:[u("h2",{className:"text-3xl font-black tracking-tight",children:i("profilingTitle")}),u("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i(e?"profilingDeclaredYes":"profilingDeclaredNo")})]})}import{Fragment as ae,jsx as o,jsxs as s}from"react/jsx-runtime";function ie({config:t}){let i=h(t.language),e=T(t.language),a=k(t);return o("div",{className:"bg-white min-h-screen text-gray-900 font-sans",style:{"--selection-bg":`${a}1a`,"--selection-text":a,"--primary-color":a},children:s("div",{className:"max-w-5xl mx-auto px-6 py-20 md:py-32",children:[o(P,{title:e("privacyPolicyTitle"),intro:s(ae,{children:[e("privacyWelcome")," ",t.domain||t.name,"."," ",e("privacyIntro")]}),config:t,language:i,primaryColor:a,t:e}),s("div",{className:"space-y-32",children:[s("section",{className:"space-y-8",children:[o("h2",{className:"text-sm font-black uppercase tracking-[0.2em] text-gray-400",children:e("ownerTitle")}),s("div",{className:"bg-gray-50 p-10 rounded-4xl border border-gray-100",children:[o("p",{className:"text-xl font-black text-gray-900",children:t.owners}),s("div",{className:"mt-4 space-y-2 text-gray-600 leading-relaxed font-medium",children:[N(t.addresses).map((n,d)=>o("p",{children:n},d)),t.vatNumbers&&s("p",{className:"mt-2 text-sm",children:[e("vat"),": ",N(t.vatNumbers).join(", ")]}),s("p",{className:"pt-6 font-bold flex items-center gap-2",children:[s("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("email"),":"]}),o("span",{className:"underline decoration-2 underline-offset-4",style:{color:a},children:t.email})]})]})]})]}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("dataSummaryTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[s("div",{className:"p-8 bg-gray-50 rounded-3xl border border-gray-100",children:[o("h3",{className:"font-black text-gray-900 mb-4",children:e("automaticDataTitle")}),s("p",{className:"text-sm text-gray-500 leading-relaxed",children:[e("automaticDataDescription"),t.name,e("automaticDataIncludes")]})]}),s("div",{className:"p-8 bg-gray-50 rounded-3xl border border-gray-100",children:[o("h3",{className:"font-black text-gray-900 mb-4",children:e("providedDataTitle")}),o("p",{className:"text-sm text-gray-500 leading-relaxed",children:e("providedDataDescription")})]})]})]}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("treatmentDetailsTitle")}),o("p",{className:"text-gray-600 leading-relaxed text-lg max-w-3xl font-medium",children:e("treatmentDetailsDescription")}),o(te,{config:t,language:i})]}),o(q,{config:t,primaryColor:a,t:e}),o(B,{config:t,primaryColor:a,t:e}),o(M,{config:t,t:e}),o(E,{config:t,primaryColor:a,t:e}),o(_,{config:t,t:e}),o(U,{config:t,primaryColor:a,t:e}),s("section",{className:"space-y-8",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("modeAndPlaceTitle")}),s("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-6",children:[o("p",{children:e("modeDescription")}),o("p",{children:e("placeDescription")})]})]}),s("section",{className:"space-y-12 bg-gray-950 text-white p-12 rounded-[3.5rem] shadow-2xl",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("rightsTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 text-gray-400 text-sm leading-relaxed font-medium",children:[s("ul",{className:"list-disc list-inside space-y-3",children:[o("li",{children:e("right1")}),o("li",{children:e("right2")}),o("li",{children:e("right3")}),o("li",{children:e("right4")})]}),s("ul",{className:"list-disc list-inside space-y-3",children:[o("li",{children:e("right5")}),o("li",{children:e("right6")}),o("li",{children:e("right7")}),o("li",{children:e("right8")})]})]}),s("div",{className:"pt-8 border-t border-white/5 mt-8",children:[o("p",{className:"text-xs text-gray-500 font-bold uppercase tracking-[0.2em]",children:e("howToExerciseRights")}),o("p",{className:"text-sm text-gray-300 mt-2 italic",children:e("exerciseRightsDescription")})]})]}),o(G,{primaryColor:a,t:e}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("definitionsTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-12",children:[o(z,{title:e("personalDataTitle"),description:e("personalDataDescription"),primaryColor:a}),o(z,{title:e("usageDataTitle"),description:e("usageDataDescription"),primaryColor:a}),o(z,{title:e("ownerDefinitionTitle"),description:e("ownerDefinitionDescription"),primaryColor:a}),o(z,{title:e("cookieDefinitionTitle"),description:e("cookieDefinitionDescription"),primaryColor:a})]})]})]}),o(D,{primaryColor:a,t:e})]})})}function z({title:t,description:i,primaryColor:e}){return s("div",{className:"space-y-3",children:[o("h4",{className:"font-black text-gray-900 border-l-2 pl-4",style:{borderColor:e},children:t}),o("p",{className:"text-sm text-gray-500 leading-relaxed font-medium",children:i})]})}import{PreferenceCard as ne,ServiceGrid as se}from"@graffico/legal";import{jsx as p,jsxs as f}from"react/jsx-runtime";var oe={technical:"cookieTypeTechnical",statistical:"cookieTypeStatistical",marketing:"cookieTypeMarketing",profiling:"cookieTypeProfiling"},re={technical:"#22c55e",statistical:"#3b82f6",marketing:"#f59e0b",profiling:"#ef4444"};function V({config:t,primaryColor:i,t:e}){let a=(t.services??[]).map(n=>w(n));return a.length===0?null:f("section",{className:"space-y-12",children:[f("div",{className:"max-w-3xl",children:[p("h2",{className:"text-3xl font-black tracking-tight mb-6",children:e("cookieTableTitle")}),p("p",{className:"text-gray-600 leading-relaxed font-medium",children:e("cookieTableIntro")})]}),p("div",{className:"space-y-8",children:a.map(n=>{let d=n.cookies??[];return f("div",{className:"rounded-3xl border border-gray-100 overflow-hidden",children:[p("div",{className:"px-6 py-4 bg-gray-50 flex items-center justify-between",children:p("h3",{className:"text-lg font-black border-l-2 pl-3",style:{borderColor:i},children:n.name})}),d.length===0?p("p",{className:"px-6 py-6 text-sm text-gray-500 font-medium italic",children:e("cookieTableNoneDeclared")}):p("div",{className:"overflow-x-auto",children:f("table",{className:"w-full text-left text-sm",children:[p("thead",{className:"bg-white text-[10px] font-black uppercase tracking-widest text-gray-400",children:f("tr",{children:[p("th",{className:"px-6 py-3",children:e("cookieTableName")}),p("th",{className:"px-6 py-3",children:e("cookieTableProvider")}),p("th",{className:"px-6 py-3",children:e("cookieTablePurpose")}),p("th",{className:"px-6 py-3",children:e("cookieTableDuration")}),p("th",{className:"px-6 py-3",children:e("cookieTableType")})]})}),p("tbody",{className:"divide-y divide-gray-100",children:d.map((c,C)=>f("tr",{className:"bg-white",children:[p("td",{className:"px-6 py-4 align-top font-mono text-xs text-gray-900 font-bold",children:c.name}),p("td",{className:"px-6 py-4 align-top text-gray-600 font-medium",children:c.provider}),p("td",{className:"px-6 py-4 align-top text-gray-600 font-medium",children:c.purpose}),p("td",{className:"px-6 py-4 align-top text-gray-600 font-medium whitespace-nowrap",children:c.duration}),p("td",{className:"px-6 py-4 align-top",children:p("span",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full text-[10px] font-black uppercase tracking-widest text-white",style:{backgroundColor:re[c.type]},children:e(oe[c.type])})})]},`${c.name}-${C}`))})]})})]},n.id)})})]})}import{Fragment as ce,jsx as m,jsxs as g}from"react/jsx-runtime";function le({config:t}){let i=h(t.language),e=T(t.language),a=k(t);return m("div",{className:"bg-white min-h-screen text-gray-900 font-sans",style:{"--selection-bg":`${a}1a`,"--selection-text":a},children:g("div",{className:"max-w-5xl mx-auto px-6 py-20 md:py-32",children:[m(P,{title:e("cookiePolicyTitle"),intro:g(ce,{children:[e("cookieWelcome")," ",t.domain||t.name,"."," ",e("cookieIntro")]}),config:t,language:i,primaryColor:a,t:e}),g("div",{className:"space-y-32",children:[g("section",{className:"bg-gray-50 p-10 rounded-4xl border border-gray-100 space-y-6",children:[m("h2",{className:"text-2xl font-black text-gray-900",children:e("introduction")}),g("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-4",children:[m("p",{children:e("introDescription1")}),m("p",{children:e("introDescription2")})]})]}),g("section",{className:"space-y-16",children:[g("div",{className:"max-w-3xl",children:[m("h2",{className:"text-3xl font-black tracking-tight mb-6",children:e("usageTrackingTitle")}),m("p",{className:"font-black text-lg leading-relaxed",style:{color:a},children:e("usageTrackingDescription")})]}),m(se,{config:t,language:i})]}),m(V,{config:t,primaryColor:a,t:e}),g("section",{className:"space-y-12",children:[m("h2",{className:"text-3xl font-black tracking-tight",children:e("managePreferencesTitle")}),g("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-6",children:[m("p",{children:e("managePreferencesDescription1")}),m("p",{children:e("managePreferencesDescription2")})]}),m(ne,{language:i,primaryColor:a})]}),g("section",{className:"space-y-12 border-t border-gray-100 pt-32",children:[m("h2",{className:"text-3xl font-black tracking-tight",children:e("definitionsTitle")}),g("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-12",children:[m(W,{title:e("trackingToolTitle"),description:e("trackingToolDescription"),primaryColor:a}),m(W,{title:e("dataSubjectTitle"),description:e("dataSubjectDescription"),primaryColor:a})]})]})]}),m(D,{primaryColor:a,t:e})]})})}function W({title:t,description:i,primaryColor:e}){return g("div",{className:"space-y-3",children:[m("h4",{className:"font-black text-gray-900 border-l-2 pl-4",style:{borderColor:e},children:t}),m("p",{className:"text-sm text-gray-500 leading-relaxed font-medium",children:i})]})}export{le as CookiePolicy,Y as LegalProvider,ie as PrivacyPolicy};
|
|
1
|
+
import{LegalConfigProvider as O,ConsentBanner as F}from"@graffico/legal";import{jsx as j,jsxs as H}from"react/jsx-runtime";function Y({children:t,config:i}){return H(O,{config:i,children:[t,j(F,{})]})}var x={it:{legal:"Legal",lastUpdated:"Ultima modifica",email:"Email",vat:"P.IVA",generatedBy:"Generato professionalmente da",bannerTitle:"Informativa sui Cookie",bannerDescription:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalit\xE0 tecniche e, con il tuo consenso, anche per le finalit\xE0 di ",bannerDescriptionMeasurement:"misurazione",bannerDescriptionEnd:" come specificato nella ",cookiePolicyLink:"cookie policy",decline:"Rifiuta",customize:"Personalizza",accept:"Accetta",close:"Chiudi",preferencesTitle:"Preferenze Privacy",preferencesSubtitle:"Personalizza come trattiamo i tuoi dati",preferencesDescription:'Questo pannello ti permette di esprimere alcune preferenze relative al trattamento delle tue informazioni personali. Puoi rivedere e modificare le tue scelte in qualsiasi momento. Per rifiutare il tuo consenso alle attivit\xE0 di trattamento descritte di seguito, disattiva i singoli comandi o utilizza il pulsante "Rifiuta tutto".',necessaryTitle:"Strettamente necessari",necessaryDescription:"Questi strumenti sono richiesti per le funzionalit\xE0 base del sito e non possono essere disattivati.",measurementTitle:"Misurazione",measurementDescription:"Ci permettono di misurare il traffico e analizzare il tuo comportamento per migliorare il servizio.",marketingTitle:"Marketing e Profilazione",marketingDescription:"Utilizzati per inviarti comunicazioni commerciali personalizzate in base ai tuoi interessi.",consentId:"IDC (Consent ID)",consentDate:"Data Consenso",consentPolicyVersion:"Versione policy",consentSource:"Origine",legalProofDescription:"Questi identificativi fungono da prova legale del tuo consenso secondo le linee guida GDPR. Puoi richiederne la cancellazione in qualsiasi momento.",consentCheckboxLabel:"Acconsento al trattamento dei miei dati personali per la gestione della richiesta come descritto nella",privacyPolicyLink:"privacy policy",declineAll:"Rifiuta tutto",saveAndContinue:"Salva e continua",acceptAll:"Accetta tutto",monitorTitle:"Monitoraggio e Stats",supportTitle:"Supporto e Feedback",privacyPreferences:"Preferenze Privacy",privacyPolicyTitle:"Privacy Policy di",privacyWelcome:"Benvenuto nella privacy policy di",privacyIntro:"Questa policy ti aiuter\xE0 a comprendere quali dati raccogliamo, perch\xE9 li raccogliamo e quali sono i tuoi diritti in merito.",ownerTitle:"Titolare del Trattamento dei Dati",dataSummaryTitle:"Riepilogo dei Dati",automaticDataTitle:"Dati raccolti automaticamente",automaticDataDescription:"Raccogliamo automaticamente i tuoi dati, ad esempio quando visiti ",automaticDataIncludes:". Include: indirizzo IP, Dati di utilizzo, Strumenti di Tracciamento, numero di Utenti, statistiche delle sessioni, identificativi del dispositivo (user-agent, lingua, fuso orario).",providedDataTitle:"Dati forniti dall'Utente",providedDataDescription:"Raccogliamo i dati che ci fornisci, ad esempio quando compili un modulo di contatto. Include: nome, email.",treatmentDetailsTitle:"Dettagli sul trattamento dei Dati Personali",treatmentDetailsDescription:"Di seguito sono riportati i dettagli sulle modalit\xE0 di raccolta dei dati e i servizi di terze parti che utilizziamo.",modeAndPlaceTitle:"Modalit\xE0 e luogo del trattamento",modeDescription:"Il Titolare adotta le opportune misure di sicurezza volte ad impedire l'accesso, la divulgazione, la modifica o la distruzione non autorizzate dei Dati Personali. Il trattamento viene effettuato mediante strumenti informatici e/o telematici, con modalit\xE0 organizzative e con logiche strettamente correlate alle finalit\xE0 indicate.",placeDescription:"I Dati sono trattati presso le sedi operative del Titolare ed in ogni altro luogo in cui le parti coinvolte nel trattamento siano localizzate. Se non diversamente indicato, i Dati Personali sono trattati e conservati per il tempo richiesto dalla finalit\xE0 per la quale sono stati raccolti.",rightsTitle:"I tuoi Diritti (GDPR)",right1:"Revocare il consenso in ogni momento",right2:"Opporsi al trattamento dei propri Dati",right3:"Accedere ai propri Dati",right4:"Verificare e chiedere la rettificazione",right5:"Ottenere la limitazione del trattamento",right6:"Ottenere la cancellazione o rimozione",right7:"Ricevere i propri Dati o farli trasferire ad altro titolare",right8:"Proporre reclamo all'Autorit\xE0 di controllo (Garante)",howToExerciseRights:"Come esercitare i diritti",exerciseRightsDescription:"Le richieste vanno indirizzate ai recapiti del Titolare indicati in questo documento. La richiesta \xE8 gratuita e risponderemo nel pi\xF9 breve tempo possibile.",supervisoryAuthorityTitle:"Autorit\xE0 di controllo",supervisoryAuthorityIntro:"Ai sensi degli artt. 13.2.d e 77 GDPR, l'interessato ha diritto di proporre reclamo all'autorit\xE0 di controllo competente qualora ritenga che il trattamento dei propri dati personali violi la normativa vigente.",supervisoryAuthorityName:"Garante per la Protezione dei Dati Personali",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Roma (Italia)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Sede",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Sito web",definitionsTitle:"Definizioni e riferimenti legali",personalDataTitle:"Dati Personali",personalDataDescription:"Qualunque informazione che, direttamente o indirettamente, renda identificata o identificabile una persona fisica.",usageDataTitle:"Dati di Utilizzo",usageDataDescription:"Informazioni raccolte automaticamente attraverso questa Applicazione (es. indirizzi IP, orario della richiesta, browser utilizzato).",ownerDefinitionTitle:"Titolare del Trattamento",ownerDefinitionDescription:"La persona fisica o giuridica che determina le finalit\xE0 e i mezzi del trattamento di dati personali.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Piccole porzioni di dati conservate all'interno del browser dell'Utente.",processorsTitle:"Destinatari e responsabili esterni",processorsIntro:"I Dati Personali possono essere comunicati ai responsabili del trattamento elencati di seguito. Ciascun responsabile \xE8 stato selezionato per affidabilit\xE0 e adeguatezza delle garanzie tecniche e organizzative.",processorPurpose:"Finalit\xE0",processorCountry:"Sede",processorTransferBasis:"Base giuridica trasferimento",processorPrivacyPolicy:"Privacy policy",transfersTitle:"Trasferimenti di Dati Personali fuori dall'Unione Europea",transfersDescription:"Alcuni dei responsabili esterni hanno sede al di fuori dello Spazio Economico Europeo. I trasferimenti avvengono sulla base di decisioni di adeguatezza (es. EU-US Data Privacy Framework) o di Clausole Contrattuali Tipo (SCC 2021/914) adottate dalla Commissione Europea, integrate da misure supplementari ove necessarie. L'Utente pu\xF2 richiedere copia delle garanzie scrivendo al Titolare.",retentionTitle:"Conservazione dei Dati",retentionIntro:"I Dati Personali sono conservati per il tempo strettamente necessario alle finalit\xE0 per cui sono stati raccolti.",retentionContactForms:"Form di contatto",retentionAnalytics:"Dati analitici",retentionMarketing:"Dati di marketing",dpoTitle:"Responsabile della Protezione dei Dati (DPO)",dpoIntro:"L'Utente pu\xF2 contattare il DPO per qualsiasi questione relativa al trattamento dei propri Dati Personali e all'esercizio dei diritti GDPR.",dpoPhone:"Telefono",policyVersionLabel:"Versione",lawfulBasisTitle:"Basi giuridiche del trattamento",lawfulBasisIntro:"Ciascuna finalit\xE0 di trattamento poggia su una specifica base giuridica ex art. 6 GDPR. Di seguito la mappatura dichiarata dal Titolare.",lawfulBasisContract:"Esecuzione di un contratto o misure precontrattuali (art. 6.1.b GDPR)",lawfulBasisConsent:"Consenso espresso dell'interessato (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legittimo interesse del Titolare (art. 6.1.f GDPR) \u2014 es. sicurezza del sito, prevenzione frodi, statistiche aggregate",lawfulBasisLegalObligation:"Adempimento di un obbligo di legge (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Tutela degli interessi vitali dell'interessato (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Esecuzione di un compito di interesse pubblico (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Base giuridica non dichiarata per questo servizio",profilingTitle:"Processi decisionali automatizzati e profilazione",profilingDeclaredYes:"Il Titolare effettua trattamenti che includono processi decisionali automatizzati e/o profilazione ai sensi dell'art. 22 GDPR. L'interessato ha diritto a ottenere intervento umano, esprimere la propria opinione e contestare la decisione. Per dettagli su logica, importanza e conseguenze previste, contattare il Titolare ai recapiti indicati.",profilingDeclaredNo:"Il Titolare non effettua processi decisionali automatizzati n\xE9 profilazione che producano effetti giuridici sull'interessato o che incidano significativamente sulla sua persona, ai sensi dell'art. 22 GDPR. Eventuali strumenti di analisi (es. Google Analytics, Meta Pixel) sono utilizzati per misurazione aggregata e non per decisioni automatizzate individuali.",cookieTableTitle:"Elenco dettagliato dei Cookie e degli identificatori",cookieTableIntro:"Di seguito i cookie e gli identificatori utilizzati da ciascun servizio, con finalit\xE0, durata e categoria. La lista \xE8 esaustiva per i servizi attivi sull'Applicazione al momento della pubblicazione di questa policy.",cookieTableName:"Nome",cookieTableProvider:"Fornitore",cookieTablePurpose:"Finalit\xE0",cookieTableDuration:"Durata",cookieTableType:"Tipologia",cookieTypeTechnical:"Tecnico",cookieTypeStatistical:"Statistico",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profilazione",cookieTableNoneDeclared:"Per questo servizio non sono dichiarati cookie nominali (pu\xF2 utilizzare identificatori dinamici o LocalStorage).",marketingConsentLabel:"Acconsento a ricevere comunicazioni commerciali e di marketing (newsletter, offerte) ex art. 6.1.a GDPR. Posso revocare il consenso in qualunque momento scrivendo a",cookiePolicyTitle:"Cookie Policy di",cookieWelcome:"Benvenuto nella cookie policy di",cookieIntro:"Questa policy ti aiuter\xE0 a comprendere quali cookie e tecnologie di tracciamento utilizziamo, come li utilizziamo e quali sono i tuoi diritti in merito.",introduction:"Introduzione",introDescription1:"Questo documento contiene informazioni in merito alle tecnologie che consentono a questa Applicazione di raggiungere gli scopi descritti di seguito. Tali tecnologie permettono al Titolare di raccogliere e salvare informazioni (per esempio tramite l'utilizzo di Cookie) o di utilizzare risorse (per esempio eseguendo uno script).",introDescription2:"Per semplicit\xE0, in questo documento tali tecnologie sono sinteticamente definite \u201CStrumenti di Tracciamento\u201D. Alcune delle finalit\xE0 per le quali vengono impiegati potrebbero richiedere il consenso dell'Utente.",usageTrackingTitle:"Utilizzo degli Strumenti di Tracciamento",usageTrackingDescription:"Questa Applicazione utilizza Strumenti di Tracciamento per svolere attivit\xE0 che sono strettamente necessarie a garantire il funzionamento e per misurare il traffico tramite analisi.",managePreferencesTitle:"Come gestire le preferenze",managePreferencesDescription1:"Qualora l'utilizzo dei Tracker sia basato sul consenso, l'Utente pu\xF2 fornire o revocare tale consenso impostando o aggiornando le proprie preferenze tramite il relativo pannello delle scelte in materia di privacy disponibile su questa Applicazione.",managePreferencesDescription2:"Gli Utenti possono inoltre utilizzare le impostazioni del proprio browser per vedere quali Cookie sono stati installati, bloccarli o cancellarli. Tuttavia, le impostazioni del browser non consentono un controllo granulare del consenso per categoria.",preferenceCenterTitle:"Centro Preferenze",preferenceCenterDescription:"Puoi gestire i tuoi consensi in modo granulare o resettare completamente le tue impostazioni per visualizzare nuovamente il banner iniziale.",managePreferencesButton:"Gestisci preferenze",resetBannerButton:"Resetta e riapri banner",fullPrivacyPolicyLink:"Privacy Policy Completa",browserInfo:"Info Browser",browserSettingsTitle:"Impostazioni Browser",browserSettingsDescription:"I cookie possono essere gestiti anche tramite le impostazioni del tuo browser (Chrome, Safari, Firefox, ecc.) per un controllo totale sulla privacy e sulla conservazione dei dati.",trackingToolTitle:"Strumento di Tracciamento",trackingToolDescription:"Qualsiasi tecnologia \u2014 es. Cookie, identificativi univoci, web beacons \u2014 che consenta di tracciare gli Utenti, raccogliendo o salvando informazioni sul dispositivo.",dataSubjectTitle:"Interessato",dataSubjectDescription:"La persona fisica cui si riferiscono i Dati Personali.",purposes:"Finalit\xE0",dataCollected:"Dati raccolti",statistics:"Statistica",optimization:"Ottimizzazione",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Analisi del comportamento",sessionScreencast:"Screencast sessione",usageData:"Dati di utilizzo",trackingTools:"Strumenti di Tracciamento",tagManagement:"Gestione dei tag",userDatabaseManagement:"Gestione database Utenti",sendingMessages:"Invio messaggi",name:"Nome",surname:"Cognome",paymentManagement:"Gestione dei pagamenti",variousDataAsSpecified:"Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio",externalContent:"Visualizzazione di contenuti da piattaforme esterne",geographicPosition:"Posizione geografica",contactUser:"Contattare l'utente",requestManagement:"Gestione richieste",variousData:"Dati vari",contentDisplay:"Visualizzazione dei contenuti",variousDataTypes:"Varie tipologie di Dati",contactForm:"Modulo di Contatto",youtubeWidget:"Widget Video YouTube",googleMapsWidget:"Widget Google Maps",noActiveService:"Nessun servizio attivo"},en:{legal:"Legal",lastUpdated:"Last modified",email:"Email",vat:"VAT",generatedBy:"Professionally generated by",bannerTitle:"Cookie Policy",bannerDescription:"We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, also for the purposes of ",bannerDescriptionMeasurement:"measurement",bannerDescriptionEnd:" as specified in the ",cookiePolicyLink:"cookie policy",decline:"Refuse",customize:"Customize",accept:"Accept",close:"Close",preferencesTitle:"Privacy Preferences",preferencesSubtitle:"Customize how we process your data",preferencesDescription:'This panel allows you to express certain preferences regarding the processing of your personal information. You can review and modify your choices at any time. To refuse your consent to the processing activities described below, disable the individual controls or use the "Refuse all" button.',necessaryTitle:"Strictly necessary",necessaryDescription:"These tools are required for the basic functionality of the site and cannot be disabled.",measurementTitle:"Measurement",measurementDescription:"They allow us to measure traffic and analyze your behavior to improve the service.",marketingTitle:"Marketing and Profiling",marketingDescription:"Used to send you personalized marketing communications based on your interests.",consentId:"Consent ID",consentDate:"Consent Date",consentPolicyVersion:"Policy version",consentSource:"Source",legalProofDescription:"These identifiers serve as legal proof of your consent according to GDPR guidelines. You can request their deletion at any time.",consentCheckboxLabel:"I consent to the processing of my personal data for handling this request as described in the",privacyPolicyLink:"privacy policy",declineAll:"Refuse all",saveAndContinue:"Save and continue",acceptAll:"Accept all",monitorTitle:"Monitoring and Stats",supportTitle:"Support and Feedback",privacyPreferences:"Privacy Preferences",privacyPolicyTitle:"Privacy Policy of",privacyWelcome:"Welcome to the privacy policy of",privacyIntro:"This policy will help you understand what data we collect, why we collect it and what your rights are in this regard.",ownerTitle:"Data Controller",dataSummaryTitle:"Data Summary",automaticDataTitle:"Automatically collected data",automaticDataDescription:"We automatically collect your data, for example when you visit ",automaticDataIncludes:". Includes: IP address, Usage data, Tracking Tools, number of Users, session statistics, device identifiers (user-agent, language, timezone).",providedDataTitle:"Data provided by the User",providedDataDescription:"We collect the data you provide us, for example when you fill out a contact form. Includes: name, email.",treatmentDetailsTitle:"Details on the processing of Personal Data",treatmentDetailsDescription:"Below are details on how data is collected and the third-party services we use.",modeAndPlaceTitle:"Method and place of processing",modeDescription:"The Controller takes appropriate security measures to prevent unauthorized access, disclosure, modification or destruction of Personal Data. Processing is carried out using computers and/or IT enabled tools, with organizational methods and logic strictly related to the purposes indicated.",placeDescription:"The Data is processed at the Controller's operating offices and in any other places where the parties involved in the processing are located. Unless otherwise stated, Personal Data is processed and stored for the time required by the purpose for which it was collected.",rightsTitle:"Your Rights (GDPR)",right1:"Withdraw consent at any time",right2:"Object to the processing of your Data",right3:"Access your Data",right4:"Verify and seek rectification",right5:"Obtain restriction of processing",right6:"Obtain erasure or removal",right7:"Receive your Data or have it transferred to another controller",right8:"Lodge a complaint with the Supervisory Authority (Italian Garante)",howToExerciseRights:"How to exercise rights",exerciseRightsDescription:"Requests should be addressed to the Controller's contact details indicated in this document. The request is free of charge and we will respond as soon as possible.",supervisoryAuthorityTitle:"Supervisory Authority",supervisoryAuthorityIntro:"Pursuant to art. 13.2.d and 77 GDPR, the data subject has the right to lodge a complaint with the competent supervisory authority where they consider that the processing of their personal data infringes applicable law.",supervisoryAuthorityName:"Italian Data Protection Authority (Garante per la Protezione dei Dati Personali)",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Rome (Italy)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Address",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Website",definitionsTitle:"Definitions and legal references",personalDataTitle:"Personal Data",personalDataDescription:"Any information that, directly or indirectly, makes a natural person identified or identifiable.",usageDataTitle:"Usage Data",usageDataDescription:"Information collected automatically through this Application (e.g. IP addresses, time of request, browser used).",ownerDefinitionTitle:"Data Controller",ownerDefinitionDescription:"The natural or legal person who determines the purposes and means of the processing of personal data.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Small portions of data stored within the User's browser.",processorsTitle:"Recipients and external data processors",processorsIntro:"Personal Data may be shared with the data processors listed below. Each processor has been selected for reliability and adequacy of technical and organizational safeguards.",processorPurpose:"Purpose",processorCountry:"Location",processorTransferBasis:"Transfer legal basis",processorPrivacyPolicy:"Privacy policy",transfersTitle:"Transfers of Personal Data outside the European Union",transfersDescription:"Some external processors are based outside the European Economic Area. Transfers occur under adequacy decisions (e.g. EU-US Data Privacy Framework) or Standard Contractual Clauses (SCC 2021/914) adopted by the European Commission, supplemented by additional measures where needed. The User can request a copy of the safeguards by contacting the Controller.",retentionTitle:"Data Retention",retentionIntro:"Personal Data is kept only for the time strictly necessary to the purposes for which it was collected.",retentionContactForms:"Contact forms",retentionAnalytics:"Analytics data",retentionMarketing:"Marketing data",dpoTitle:"Data Protection Officer (DPO)",dpoIntro:"The User can contact the DPO for any matter related to the processing of their Personal Data and the exercise of GDPR rights.",dpoPhone:"Phone",policyVersionLabel:"Version",lawfulBasisTitle:"Lawful bases of processing",lawfulBasisIntro:"Each processing purpose relies on a specific lawful basis pursuant to art. 6 GDPR. Below is the mapping declared by the Controller.",lawfulBasisContract:"Performance of a contract or pre-contractual measures (art. 6.1.b GDPR)",lawfulBasisConsent:"Explicit consent of the data subject (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legitimate interest of the Controller (art. 6.1.f GDPR) \u2014 e.g. site security, fraud prevention, aggregated statistics",lawfulBasisLegalObligation:"Compliance with a legal obligation (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Protection of vital interests of the data subject (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Performance of a task carried out in the public interest (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Lawful basis not declared for this service",profilingTitle:"Automated decision-making and profiling",profilingDeclaredYes:"The Controller carries out processing that includes automated decision-making and/or profiling pursuant to art. 22 GDPR. The data subject has the right to obtain human intervention, express their opinion and contest the decision. For details on logic, significance and envisaged consequences, contact the Controller at the addresses indicated.",profilingDeclaredNo:"The Controller does not carry out automated decision-making or profiling that produces legal effects on the data subject or significantly affects them, pursuant to art. 22 GDPR. Any analytics tools (e.g. Google Analytics, Meta Pixel) are used for aggregated measurement and not for individual automated decisions.",cookieTableTitle:"Detailed list of Cookies and identifiers",cookieTableIntro:"Below are the cookies and identifiers used by each service, with purpose, duration and category. The list is exhaustive for the services active on the Application at the time of publication of this policy.",cookieTableName:"Name",cookieTableProvider:"Provider",cookieTablePurpose:"Purpose",cookieTableDuration:"Duration",cookieTableType:"Type",cookieTypeTechnical:"Technical",cookieTypeStatistical:"Statistical",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profiling",cookieTableNoneDeclared:"No nominal cookies declared for this service (it may use dynamic identifiers or LocalStorage).",marketingConsentLabel:"I consent to receive commercial and marketing communications (newsletter, offers) pursuant to art. 6.1.a GDPR. I may withdraw consent at any time by writing to",cookiePolicyTitle:"Cookie Policy of",cookieWelcome:"Welcome to the cookie policy of",cookieIntro:"This policy will help you understand which cookies and tracking technologies we use, how we use them and what your rights are in this regard.",introduction:"Introduction",introDescription1:"This document contains information regarding the technologies that enable this Application to achieve the purposes described below. Such technologies allow the Controller to collect and store information (for example through the use of Cookies) or to use resources (for example by running a script).",introDescription2:"For simplicity, in this document these technologies are synthetically defined as \u201CTracking Tools\u201D. Some of the purposes for which they are used may require the User's consent.",usageTrackingTitle:"Use of Tracking Tools",usageTrackingDescription:"This Application uses Tracking Tools to carry out activities that are strictly necessary to ensure operation and to measure traffic through analysis.",managePreferencesTitle:"How to manage preferences",managePreferencesDescription1:"If the use of Trackers is based on consent, the User can give or withdraw such consent by setting or updating their preferences through the relevant privacy choice panel available on this Application.",managePreferencesDescription2:"Users can also use their browser settings to see which Cookies have been installed, block or delete them. However, browser settings do not allow granular control of consent by category.",preferenceCenterTitle:"Preference Center",preferenceCenterDescription:"You can manage your consents granularly or reset your settings completely to view the initial banner again.",managePreferencesButton:"Manage preferences",resetBannerButton:"Reset and reopen banner",fullPrivacyPolicyLink:"Full Privacy Policy",browserInfo:"Browser Info",browserSettingsTitle:"Browser Settings",browserSettingsDescription:"Cookies can also be managed through your browser settings (Chrome, Safari, Firefox, etc.) for total control over privacy and data storage.",trackingToolTitle:"Tracking Tool",trackingToolDescription:"Any technology \u2014 e.g. Cookies, unique identifiers, web beacons \u2014 that allows users to be tracked, collecting or saving information on the device.",dataSubjectTitle:"Data Subject",dataSubjectDescription:"The natural person to whom the Personal Data refers.",purposes:"Purposes",dataCollected:"Data collected",statistics:"Statistics",optimization:"Optimization",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Behavior analysis",sessionScreencast:"Session screencast",usageData:"Usage data",trackingTools:"Tracking Tools",tagManagement:"Tag management",userDatabaseManagement:"User database management",sendingMessages:"Sending messages",name:"Name",surname:"Last Name",paymentManagement:"Payment management",variousDataAsSpecified:"Various types of Data as specified in the privacy policy of the service",externalContent:"Displaying content from external platforms",geographicPosition:"Geographic position",contactUser:"Contacting the user",requestManagement:"Request management",variousData:"Various data",contentDisplay:"Content display",variousDataTypes:"Various types of Data",contactForm:"Contact Form",youtubeWidget:"YouTube Video Widget",googleMapsWidget:"Google Maps Widget",noActiveService:"No active service"}};var Q={it:"it-IT",en:"en-US"},S=new Map;function h(t){return t&&t.toLowerCase().startsWith("en")?"en":"it"}function K(t){let i=S.get(t);if(i)return i;let e=x[t]??x.it,a=x.it,n=p=>e[p]??a[p];return S.set(t,n),n}var T=t=>K(h(t)),$=t=>Q[t];function A(t,i){return new Date(t).toLocaleDateString($(i),{day:"numeric",month:"long",year:"numeric"})}var J="#2c5282",k=t=>t.primaryColor??J,I=t=>t.domain||t.name,N=t=>Array.isArray(t)?t:[t];import{ServiceGrid as te}from"@graffico/legal";import{jsx as L,jsxs as X}from"react/jsx-runtime";function D({primaryColor:t,t:i}){return L("footer",{className:"mt-40 pt-12 border-t border-gray-100 text-center",children:X("p",{className:"text-xs text-gray-400 font-bold uppercase tracking-widest",children:[i("generatedBy")," ",L("a",{href:"https://graffico.it/",target:"_blank",rel:"noopener noreferrer",className:"transition-colors underline decoration-2 underline-offset-4",style:{color:t},children:"GRAFFICO.IT"})," ","\u2022 \xA9 ",new Date().getFullYear()]})})}import{jsx as v,jsxs as y}from"react/jsx-runtime";function P({title:t,intro:i,config:e,language:a,primaryColor:n,t:p}){return y("header",{className:"mb-20",children:[y("div",{className:"flex items-center gap-3 mb-6",children:[v("span",{className:"px-3 py-1 text-white text-[10px] font-black uppercase tracking-widest rounded-full",style:{backgroundColor:n},children:p("legal")}),v("div",{className:"h-0.5 w-12 bg-gray-100"})]}),y("h1",{className:"text-4xl md:text-6xl font-black tracking-tight mb-8",children:[t," ",v("br",{}),v("span",{className:"underline decoration-[8px] underline-offset-8",style:{textDecorationColor:`${n}1a`,color:n},children:I(e)})]}),v("p",{className:"text-xl text-gray-500 leading-relaxed max-w-2xl font-medium",children:i}),y("div",{className:"flex flex-wrap gap-x-6 gap-y-2 text-xs text-gray-400 font-bold uppercase tracking-widest mt-8",children:[y("span",{children:[p("lastUpdated"),":"," ",e.lastUpdated??A(new Date,a)]}),e.policyVersion&&y("span",{children:[p("policyVersionLabel"),": ",e.policyVersion]})]})]})}function R(t){if(!t||typeof t!="string")return;let i=t.trim();if(i.length===0)return;if(i.startsWith("/")||i.startsWith("#")||i.startsWith("?"))return i;let e=i.toLowerCase();if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:"))return i}import{jsx as r,jsxs as l}from"react/jsx-runtime";function B({config:t,primaryColor:i,t:e}){let a=t.processors??[];return a.length===0?null:l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("processorsTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("processorsIntro")}),r("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:a.map((n,p)=>{let d=R(n.privacyUrl);return l("div",{className:"p-6 bg-gray-50 rounded-3xl border border-gray-100 space-y-3",children:[r("h3",{className:"text-lg font-black border-l-2 pl-3",style:{borderColor:i},children:n.name}),l("dl",{className:"space-y-2 text-sm",children:[l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorPurpose")}),r("dd",{className:"text-gray-600 font-medium",children:n.purpose})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorCountry")}),r("dd",{className:"text-gray-600 font-medium",children:n.country})]}),n.transferBasis&&l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorTransferBasis")}),r("dd",{className:"text-gray-600 font-medium",children:n.transferBasis})]}),d&&l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:e("processorPrivacyPolicy")}),r("dd",{children:r("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 font-bold",style:{color:i},children:e("processorPrivacyPolicy")})})]})]})]},`${n.name}-${p}`)})})]})}function M({config:t,t:i}){return(t.processors??[]).some(a=>a.transferBasis)?l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:i("transfersTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i("transfersDescription")})]}):null}function E({config:t,primaryColor:i,t:e}){let a=t.retention;if(!a)return null;let n={contactForms:e("retentionContactForms"),analytics:e("retentionAnalytics"),marketing:e("retentionMarketing")},p=Object.entries(a).filter(([,d])=>typeof d=="string"&&d.length>0);return p.length===0?null:l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("retentionTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("retentionIntro")}),r("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:p.map(([d,C])=>l("div",{className:"p-6 bg-gray-50 rounded-3xl border border-gray-100",children:[r("p",{className:"text-[10px] font-black uppercase tracking-widest text-gray-400",children:n[d]??d}),r("p",{className:"text-2xl font-black mt-2",style:{color:i},children:C})]},d))})]})}function G({primaryColor:t,t:i}){return l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:i("supervisoryAuthorityTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i("supervisoryAuthorityIntro")}),l("div",{className:"bg-gray-50 p-8 rounded-3xl border border-gray-100 space-y-3",children:[r("p",{className:"text-xl font-black",children:i("supervisoryAuthorityName")}),l("dl",{className:"space-y-2 text-sm pt-2",children:[l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelAddress")}),r("dd",{className:"text-gray-600 font-medium",children:i("supervisoryAuthorityAddress")})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelEmail")}),r("dd",{children:r("a",{href:`mailto:${i("supervisoryAuthorityEmail")}`,className:"underline underline-offset-2 font-bold",style:{color:t},children:i("supervisoryAuthorityEmail")})})]}),l("div",{className:"flex gap-2",children:[r("dt",{className:"font-black uppercase tracking-widest text-[10px] text-gray-400 min-w-[120px] pt-0.5",children:i("supervisoryAuthorityLabelWebsite")}),r("dd",{children:r("a",{href:i("supervisoryAuthorityWebsite"),target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 font-bold",style:{color:t},children:i("supervisoryAuthorityLabelWebsite")})})]})]})]})]})}function U({config:t,primaryColor:i,t:e}){return t.dpo?l("section",{className:"space-y-8",children:[r("h2",{className:"text-3xl font-black tracking-tight",children:e("dpoTitle")}),r("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("dpoIntro")}),l("div",{className:"bg-gray-50 p-8 rounded-3xl border border-gray-100",children:[r("p",{className:"text-xl font-black",children:t.dpo.name}),l("p",{className:"mt-3 font-bold flex items-center gap-2",children:[l("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("email"),":"]}),r("span",{className:"underline decoration-2 underline-offset-4",style:{color:i},children:t.dpo.email})]}),t.dpo.phone&&l("p",{className:"mt-2 font-bold flex items-center gap-2",children:[l("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("dpoPhone"),":"]}),r("span",{className:"text-gray-700",children:t.dpo.phone})]})]})]}):null}var Z={"google-analytics":{id:"google-analytics",name:"Google Analytics 4",category:"automatic",purposes:["Statistica","Ottimizzazione"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ga",provider:"google-analytics.com",purpose:"Identificatore univoco utente per statistiche di sessione",duration:"2 anni",type:"statistical"},{name:"_ga_<container-id>",provider:"google-analytics.com",purpose:"Stato di sessione GA4",duration:"2 anni",type:"statistical"},{name:"_gid",provider:"google-analytics.com",purpose:"Identificatore utente giornaliero",duration:"24 ore",type:"statistical"}]},"facebook-pixel":{id:"facebook-pixel",name:"Meta Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_fbp",provider:"facebook.com",purpose:"Identificatore browser per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"fr",provider:"facebook.com",purpose:"Pubblicit\xE0 mirata e misurazione",duration:"90 giorni",type:"marketing"},{name:"_fbc",provider:"facebook.com",purpose:"Click-ID per attribuzione di campagna",duration:"90 giorni",type:"marketing"}]},"google-ads":{id:"google-ads",name:"Google Ads",category:"marketing",purposes:["Marketing","Targeting","Misurazione conversioni"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"IDE",provider:"doubleclick.net",purpose:"Profilazione e remarketing Google Ads",duration:"13 mesi",type:"marketing"},{name:"_gcl_au",provider:"google.com",purpose:"Misurazione conversioni cross-site",duration:"90 giorni",type:"marketing"},{name:"NID",provider:"google.com",purpose:"Memorizza preferenze utente per annunci",duration:"6 mesi",type:"marketing"}]},"linkedin-insight":{id:"linkedin-insight",name:"LinkedIn Insight Tag",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"li_sugr",provider:"linkedin.com",purpose:"Inferenza identit\xE0 per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"lidc",provider:"linkedin.com",purpose:"Routing data center",duration:"24 ore",type:"technical"}]},"tiktok-pixel":{id:"tiktok-pixel",name:"TikTok Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ttp",provider:"tiktok.com",purpose:"Identificatore univoco utente TikTok Pixel",duration:"13 mesi",type:"marketing"}]},"microsoft-clarity":{id:"microsoft-clarity",name:"Microsoft Clarity",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento","Screencast sessione"],lawfulBasis:"consent",cookies:[{name:"_clck",provider:"clarity.ms",purpose:"ID utente persistente Clarity",duration:"1 anno",type:"statistical"},{name:"_clsk",provider:"clarity.ms",purpose:"Sessione di registrazione Clarity",duration:"24 ore",type:"statistical"}]},hotjar:{id:"hotjar",name:"Hotjar",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_hjSessionUser_<id>",provider:"hotjar.com",purpose:"Identificatore utente persistente",duration:"1 anno",type:"statistical"},{name:"_hjSession_<id>",provider:"hotjar.com",purpose:"Sessione di registrazione",duration:"30 minuti",type:"statistical"}]},"google-tag-manager":{id:"google-tag-manager",name:"Google Tag Manager",category:"automatic",purposes:["Gestione dei tag"],dataCollected:["Dati di utilizzo"],lawfulBasis:"legitimate-interest"},mailchimp:{id:"mailchimp",name:"Mailchimp",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome","Dati di utilizzo"],lawfulBasis:"consent"},newsletter:{id:"newsletter",name:"Newsletter",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome"],lawfulBasis:"consent"},stripe:{id:"stripe",name:"Stripe",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract",cookies:[{name:"__stripe_mid",provider:"stripe.com",purpose:"Prevenzione frodi",duration:"1 anno",type:"technical"},{name:"__stripe_sid",provider:"stripe.com",purpose:"Sessione di pagamento",duration:"30 minuti",type:"technical"}]},paypal:{id:"paypal",name:"PayPal",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract"},youtube:{id:"youtube",name:"YouTube Video Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"VISITOR_INFO1_LIVE",provider:"youtube.com",purpose:"Stima banda utente per pre-buffering",duration:"6 mesi",type:"statistical"},{name:"YSC",provider:"youtube.com",purpose:"Sessione video corrente",duration:"Sessione",type:"statistical"}]},"google-maps":{id:"google-maps",name:"Google Maps Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Posizione geografica","Strumenti di Tracciamento"],lawfulBasis:"consent"},"contact-form":{id:"contact-form",name:"Modulo di Contatto",category:"provided",purposes:["Contattare l'utente","Gestione richieste"],dataCollected:["Email","Nome","Cognome","Dati vari"],lawfulBasis:"contract"},"google-fonts":{id:"google-fonts",name:"Google Fonts",category:"automatic",purposes:["Visualizzazione dei contenuti"],dataCollected:["Dati di utilizzo","Varie tipologie di Dati"],lawfulBasis:"legitimate-interest"}},w=t=>typeof t=="string"?Z[t]||{id:t,name:t,category:"automatic",purposes:[],dataCollected:[]}:t;import{jsx as u,jsxs as b}from"react/jsx-runtime";var ee={contract:"lawfulBasisContract",consent:"lawfulBasisConsent","legitimate-interest":"lawfulBasisLegitInterest","legal-obligation":"lawfulBasisLegalObligation","vital-interests":"lawfulBasisVitalInterests","public-task":"lawfulBasisPublicTask"};function q({config:t,primaryColor:i,t:e}){let a=(t.services??[]).map(n=>w(n));return a.length===0?null:b("section",{className:"space-y-8",children:[u("h2",{className:"text-3xl font-black tracking-tight",children:e("lawfulBasisTitle")}),u("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:e("lawfulBasisIntro")}),u("div",{className:"overflow-x-auto rounded-3xl border border-gray-100",children:b("table",{className:"w-full text-left text-sm",children:[u("thead",{className:"bg-gray-50 text-[10px] font-black uppercase tracking-widest text-gray-400",children:b("tr",{children:[u("th",{className:"px-6 py-4 w-1/3",children:e("treatmentDetailsTitle")}),u("th",{className:"px-6 py-4",children:e("lawfulBasisTitle")})]})}),u("tbody",{className:"divide-y divide-gray-100",children:a.map(n=>{let p=n.lawfulBasis?ee[n.lawfulBasis]:null,d=e(p||"lawfulBasisNotDeclared");return b("tr",{className:"bg-white",children:[u("td",{className:"px-6 py-4 align-top",children:u("span",{className:"font-black border-l-2 pl-3",style:{borderColor:i},children:n.name})}),u("td",{className:"px-6 py-4 text-gray-600 font-medium",children:d})]},n.id)})})]})})]})}function _({config:t,t:i}){let e=t.automatedDecisionMaking===!0;return b("section",{className:"space-y-8",children:[u("h2",{className:"text-3xl font-black tracking-tight",children:i("profilingTitle")}),u("p",{className:"text-gray-600 leading-relaxed max-w-3xl font-medium",children:i(e?"profilingDeclaredYes":"profilingDeclaredNo")})]})}import{Fragment as ae,jsx as o,jsxs as s}from"react/jsx-runtime";function ie({config:t}){let i=h(t.language),e=T(t.language),a=k(t);return o("div",{className:"bg-white min-h-screen text-gray-900 font-sans",style:{"--selection-bg":`${a}1a`,"--selection-text":a,"--primary-color":a},children:s("div",{className:"max-w-5xl mx-auto px-6 py-20 md:py-32",children:[o(P,{title:e("privacyPolicyTitle"),intro:s(ae,{children:[e("privacyWelcome")," ",t.domain||t.name,"."," ",e("privacyIntro")]}),config:t,language:i,primaryColor:a,t:e}),s("div",{className:"space-y-32",children:[s("section",{className:"space-y-8",children:[o("h2",{className:"text-sm font-black uppercase tracking-[0.2em] text-gray-400",children:e("ownerTitle")}),s("div",{className:"bg-gray-50 p-10 rounded-4xl border border-gray-100",children:[o("p",{className:"text-xl font-black text-gray-900",children:t.owners}),s("div",{className:"mt-4 space-y-2 text-gray-600 leading-relaxed font-medium",children:[N(t.addresses).map((n,p)=>o("p",{children:n},p)),t.vatNumbers&&s("p",{className:"mt-2 text-sm",children:[e("vat"),": ",N(t.vatNumbers).join(", ")]}),s("p",{className:"pt-6 font-bold flex items-center gap-2",children:[s("span",{className:"text-gray-400 font-black uppercase text-[10px] tracking-widest",children:[e("email"),":"]}),o("span",{className:"underline decoration-2 underline-offset-4",style:{color:a},children:t.email})]})]})]})]}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("dataSummaryTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[s("div",{className:"p-8 bg-gray-50 rounded-3xl border border-gray-100",children:[o("h3",{className:"font-black text-gray-900 mb-4",children:e("automaticDataTitle")}),s("p",{className:"text-sm text-gray-500 leading-relaxed",children:[e("automaticDataDescription"),t.name,e("automaticDataIncludes")]})]}),s("div",{className:"p-8 bg-gray-50 rounded-3xl border border-gray-100",children:[o("h3",{className:"font-black text-gray-900 mb-4",children:e("providedDataTitle")}),o("p",{className:"text-sm text-gray-500 leading-relaxed",children:e("providedDataDescription")})]})]})]}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("treatmentDetailsTitle")}),o("p",{className:"text-gray-600 leading-relaxed text-lg max-w-3xl font-medium",children:e("treatmentDetailsDescription")}),o(te,{config:t,language:i})]}),o(q,{config:t,primaryColor:a,t:e}),o(B,{config:t,primaryColor:a,t:e}),o(M,{config:t,t:e}),o(E,{config:t,primaryColor:a,t:e}),o(_,{config:t,t:e}),o(U,{config:t,primaryColor:a,t:e}),s("section",{className:"space-y-8",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("modeAndPlaceTitle")}),s("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-6",children:[o("p",{children:e("modeDescription")}),o("p",{children:e("placeDescription")})]})]}),s("section",{className:"space-y-12 bg-gray-950 text-white p-12 rounded-[3.5rem] shadow-2xl",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("rightsTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 text-gray-400 text-sm leading-relaxed font-medium",children:[s("ul",{className:"list-disc list-inside space-y-3",children:[o("li",{children:e("right1")}),o("li",{children:e("right2")}),o("li",{children:e("right3")}),o("li",{children:e("right4")})]}),s("ul",{className:"list-disc list-inside space-y-3",children:[o("li",{children:e("right5")}),o("li",{children:e("right6")}),o("li",{children:e("right7")}),o("li",{children:e("right8")})]})]}),s("div",{className:"pt-8 border-t border-white/5 mt-8",children:[o("p",{className:"text-xs text-gray-500 font-bold uppercase tracking-[0.2em]",children:e("howToExerciseRights")}),o("p",{className:"text-sm text-gray-300 mt-2 italic",children:e("exerciseRightsDescription")})]})]}),o(G,{primaryColor:a,t:e}),s("section",{className:"space-y-12",children:[o("h2",{className:"text-3xl font-black tracking-tight",children:e("definitionsTitle")}),s("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-12",children:[o(z,{title:e("personalDataTitle"),description:e("personalDataDescription"),primaryColor:a}),o(z,{title:e("usageDataTitle"),description:e("usageDataDescription"),primaryColor:a}),o(z,{title:e("ownerDefinitionTitle"),description:e("ownerDefinitionDescription"),primaryColor:a}),o(z,{title:e("cookieDefinitionTitle"),description:e("cookieDefinitionDescription"),primaryColor:a})]})]})]}),o(D,{primaryColor:a,t:e})]})})}function z({title:t,description:i,primaryColor:e}){return s("div",{className:"space-y-3",children:[o("h4",{className:"font-black text-gray-900 border-l-2 pl-4",style:{borderColor:e},children:t}),o("p",{className:"text-sm text-gray-500 leading-relaxed font-medium",children:i})]})}import{PreferenceCard as ne,ServiceGrid as se}from"@graffico/legal";import{jsx as c,jsxs as f}from"react/jsx-runtime";var oe={technical:"cookieTypeTechnical",statistical:"cookieTypeStatistical",marketing:"cookieTypeMarketing",profiling:"cookieTypeProfiling"},re={technical:"#22c55e",statistical:"#3b82f6",marketing:"#f59e0b",profiling:"#ef4444"};function V({config:t,primaryColor:i,t:e}){let a=(t.services??[]).map(n=>w(n));return a.length===0?null:f("section",{className:"space-y-12",children:[f("div",{className:"max-w-3xl",children:[c("h2",{className:"text-3xl font-black tracking-tight mb-6",children:e("cookieTableTitle")}),c("p",{className:"text-gray-600 leading-relaxed font-medium",children:e("cookieTableIntro")})]}),c("div",{className:"space-y-8",children:a.map(n=>{let p=n.cookies??[];return f("div",{className:"rounded-3xl border border-gray-100 overflow-hidden",children:[c("div",{className:"px-6 py-4 bg-gray-50 flex items-center justify-between",children:c("h3",{className:"text-lg font-black border-l-2 pl-3",style:{borderColor:i},children:n.name})}),p.length===0?c("p",{className:"px-6 py-6 text-sm text-gray-500 font-medium italic",children:e("cookieTableNoneDeclared")}):c("div",{className:"overflow-x-auto",children:f("table",{className:"w-full text-left text-sm",children:[c("thead",{className:"bg-white text-[10px] font-black uppercase tracking-widest text-gray-400",children:f("tr",{children:[c("th",{className:"px-6 py-3",children:e("cookieTableName")}),c("th",{className:"px-6 py-3",children:e("cookieTableProvider")}),c("th",{className:"px-6 py-3",children:e("cookieTablePurpose")}),c("th",{className:"px-6 py-3",children:e("cookieTableDuration")}),c("th",{className:"px-6 py-3",children:e("cookieTableType")})]})}),c("tbody",{className:"divide-y divide-gray-100",children:p.map((d,C)=>f("tr",{className:"bg-white",children:[c("td",{className:"px-6 py-4 align-top font-mono text-xs text-gray-900 font-bold",children:d.name}),c("td",{className:"px-6 py-4 align-top text-gray-600 font-medium",children:d.provider}),c("td",{className:"px-6 py-4 align-top text-gray-600 font-medium",children:d.purpose}),c("td",{className:"px-6 py-4 align-top text-gray-600 font-medium whitespace-nowrap",children:d.duration}),c("td",{className:"px-6 py-4 align-top",children:c("span",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full text-[10px] font-black uppercase tracking-widest text-white",style:{backgroundColor:re[d.type]},children:e(oe[d.type])})})]},`${d.name}-${C}`))})]})})]},n.id)})})]})}import{Fragment as ce,jsx as m,jsxs as g}from"react/jsx-runtime";function le({config:t}){let i=h(t.language),e=T(t.language),a=k(t);return m("div",{className:"bg-white min-h-screen text-gray-900 font-sans",style:{"--selection-bg":`${a}1a`,"--selection-text":a},children:g("div",{className:"max-w-5xl mx-auto px-6 py-20 md:py-32",children:[m(P,{title:e("cookiePolicyTitle"),intro:g(ce,{children:[e("cookieWelcome")," ",t.domain||t.name,"."," ",e("cookieIntro")]}),config:t,language:i,primaryColor:a,t:e}),g("div",{className:"space-y-32",children:[g("section",{className:"bg-gray-50 p-10 rounded-4xl border border-gray-100 space-y-6",children:[m("h2",{className:"text-2xl font-black text-gray-900",children:e("introduction")}),g("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-4",children:[m("p",{children:e("introDescription1")}),m("p",{children:e("introDescription2")})]})]}),g("section",{className:"space-y-16",children:[g("div",{className:"max-w-3xl",children:[m("h2",{className:"text-3xl font-black tracking-tight mb-6",children:e("usageTrackingTitle")}),m("p",{className:"font-black text-lg leading-relaxed",style:{color:a},children:e("usageTrackingDescription")})]}),m(se,{config:t,language:i})]}),m(V,{config:t,primaryColor:a,t:e}),g("section",{className:"space-y-12",children:[m("h2",{className:"text-3xl font-black tracking-tight",children:e("managePreferencesTitle")}),g("div",{className:"prose prose-gray max-w-none text-gray-600 font-medium leading-relaxed space-y-6",children:[m("p",{children:e("managePreferencesDescription1")}),m("p",{children:e("managePreferencesDescription2")})]}),m(ne,{language:i,primaryColor:a})]}),g("section",{className:"space-y-12 border-t border-gray-100 pt-32",children:[m("h2",{className:"text-3xl font-black tracking-tight",children:e("definitionsTitle")}),g("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-12",children:[m(W,{title:e("trackingToolTitle"),description:e("trackingToolDescription"),primaryColor:a}),m(W,{title:e("dataSubjectTitle"),description:e("dataSubjectDescription"),primaryColor:a})]})]})]}),m(D,{primaryColor:a,t:e})]})})}function W({title:t,description:i,primaryColor:e}){return g("div",{className:"space-y-3",children:[m("h4",{className:"font-black text-gray-900 border-l-2 pl-4",style:{borderColor:e},children:t}),m("p",{className:"text-sm text-gray-500 leading-relaxed font-medium",children:i})]})}export{le as CookiePolicy,Y as LegalProvider,ie as PrivacyPolicy};
|