468 lines
28 KiB
JavaScript
468 lines
28 KiB
JavaScript
import { getCurrentLanguage, i18n } from '../../i18n.js'
|
||
|
||
class PagePrivacy extends HTMLElement {
|
||
connectedCallback() {
|
||
this._unsubs = []
|
||
this.render()
|
||
this._unsubs.push(i18n.subscribe(() => this.render()))
|
||
}
|
||
|
||
disconnectedCallback() {
|
||
this._unsubs.forEach(fn => fn())
|
||
this._unsubs = []
|
||
}
|
||
|
||
getContent(lang) {
|
||
const content = {
|
||
de: /* html */`
|
||
<h1>Datenschutzerklärung</h1>
|
||
<p class="legal-meta">kashilo.com — Anonymer Marktplatz | Stand: Februar 2026</p>
|
||
|
||
<h2>1. Verantwortlicher</h2>
|
||
<p>Verantwortlich für die Datenbearbeitung ist der Betreiber der Plattform kashilo.com mit Sitz in der Schweiz.</p>
|
||
|
||
<h2>2. Grundsatz</h2>
|
||
<p>Die Plattform wurde nach dem Prinzip der Datensparsamkeit konzipiert.</p>
|
||
|
||
<h2>3. Welche Daten werden erhoben?</h2>
|
||
<p><strong>3.1 Daten, die wir NICHT erheben:</strong> Keine E-Mail-Adressen, keine Namen, keine Telefonnummern, keine Standortdaten der Nutzer, keine Zahlungsdaten.</p>
|
||
<p><strong>3.2 Registrierung:</strong> Ein kryptografischer Hash (SHA-256) der UUID wird als Benutzerkennung gespeichert. Die UUID selbst wird nicht gespeichert.</p>
|
||
<p><strong>3.3 Nutzung:</strong> Anzeigen (Titel, Beschreibung, Preis, Kategorie, Standort, Bilder), Nachrichten (Ende-zu-Ende verschlüsselt, nur Ciphertext gespeichert), Favoriten (lokal im Browser).</p>
|
||
<p><strong>3.4 Technische Daten:</strong> Server-Logs können temporär IP-Adressen und Zugriffszeiten enthalten.</p>
|
||
|
||
<h2>4. Cookies und lokale Speicherung</h2>
|
||
<p><strong>4.1</strong> Keine Cookies für Tracking oder Analyse.</p>
|
||
<p><strong>4.2</strong> localStorage: Spracheinstellung, Theme, Währung, Auth-Token, Favoriten, Kategorie-Cache.</p>
|
||
<p><strong>4.3</strong> Diese Daten verlassen den Browser nicht.</p>
|
||
|
||
<h2>5. Drittdienste</h2>
|
||
<p><strong>5.1 Directus (Backend):</strong> Selbst gehostet, keine Datenübertragung an Dritte.</p>
|
||
<p><strong>5.2 BTCPay Server (Zahlungen):</strong> Keine personenbezogenen Daten übertragen.</p>
|
||
<p><strong>5.3 CoinGecko API (Wechselkurse):</strong> Keine personenbezogenen Daten übertragen.</p>
|
||
|
||
<h2>6. Verschlüsselung</h2>
|
||
<p><strong>6.1</strong> Kommunikation ist Ende-zu-Ende verschlüsselt (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Schlüssel werden im Browser generiert und gespeichert.</p>
|
||
<p><strong>6.3</strong> Server speichert nur verschlüsselten Ciphertext.</p>
|
||
|
||
<h2>7. Datenweitergabe</h2>
|
||
<p><strong>7.1</strong> Keine Weitergabe an Dritte zu Werbe- oder Marketingzwecken.</p>
|
||
<p><strong>7.2</strong> Herausgabe nur bei rechtlicher Verpflichtung durch Schweizer Behörden.</p>
|
||
|
||
<h2>8. Rechte der Nutzer</h2>
|
||
<p><strong>8.1</strong> Auskunft über gespeicherte Daten möglich.</p>
|
||
<p><strong>8.2</strong> Löschung durch Account-Löschung.</p>
|
||
<p><strong>8.3</strong> Datenportabilität auf Anfrage.</p>
|
||
|
||
<h2>9. Aufbewahrungsdauer</h2>
|
||
<p>Anzeigen: 30 Tage, Nachrichten: bis Löschung, Server-Logs: max. 7 Tage.</p>
|
||
|
||
<h2>10. Anwendbares Recht</h2>
|
||
<p>Schweizer Bundesgesetz über den Datenschutz (DSG).</p>
|
||
|
||
<h2>11. Änderungen</h2>
|
||
<p>Der Betreiber kann diese Datenschutzerklärung jederzeit anpassen.</p>
|
||
|
||
<p class="legal-meta">Letzte Aktualisierung: Februar 2026</p>
|
||
`,
|
||
en: /* html */`
|
||
<h1>Privacy Policy</h1>
|
||
<p class="legal-meta">kashilo.com — Anonymous Marketplace | Last updated: February 2026</p>
|
||
|
||
<h2>1. Controller</h2>
|
||
<p>The controller for data processing is the operator of kashilo.com, based in Switzerland.</p>
|
||
|
||
<h2>2. Principle</h2>
|
||
<p>The platform was designed following the principle of data minimization.</p>
|
||
|
||
<h2>3. What data is collected?</h2>
|
||
<p><strong>3.1 Data we do NOT collect:</strong> No email addresses, no names, no phone numbers, no user location data, no payment data.</p>
|
||
<p><strong>3.2 Registration:</strong> A cryptographic hash (SHA-256) of the UUID is stored as user identifier. The UUID itself is not stored.</p>
|
||
<p><strong>3.3 Usage:</strong> Listings (title, description, price, category, location, images), Messages (end-to-end encrypted, only ciphertext stored), Favorites (stored locally in browser).</p>
|
||
<p><strong>3.4 Technical data:</strong> Server logs may temporarily contain IP addresses and access times.</p>
|
||
|
||
<h2>4. Cookies and local storage</h2>
|
||
<p><strong>4.1</strong> No cookies for tracking or analytics.</p>
|
||
<p><strong>4.2</strong> localStorage: Language setting, theme, currency, auth token, favorites, category cache.</p>
|
||
<p><strong>4.3</strong> This data does not leave the browser.</p>
|
||
|
||
<h2>5. Third-party services</h2>
|
||
<p><strong>5.1 Directus (Backend):</strong> Self-hosted, no data transfer to third parties.</p>
|
||
<p><strong>5.2 BTCPay Server (Payments):</strong> No personal data transferred.</p>
|
||
<p><strong>5.3 CoinGecko API (Exchange rates):</strong> No personal data transferred.</p>
|
||
|
||
<h2>6. Encryption</h2>
|
||
<p><strong>6.1</strong> Communication is end-to-end encrypted (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Keys are generated and stored in the browser.</p>
|
||
<p><strong>6.3</strong> Server stores only encrypted ciphertext.</p>
|
||
|
||
<h2>7. Data sharing</h2>
|
||
<p><strong>7.1</strong> No data shared with third parties for advertising or marketing purposes.</p>
|
||
<p><strong>7.2</strong> Disclosure only when legally required by Swiss authorities.</p>
|
||
|
||
<h2>8. User rights</h2>
|
||
<p><strong>8.1</strong> Right to information about stored data.</p>
|
||
<p><strong>8.2</strong> Deletion by deleting the account.</p>
|
||
<p><strong>8.3</strong> Data portability upon request.</p>
|
||
|
||
<h2>9. Retention period</h2>
|
||
<p>Listings: 30 days, Messages: until deletion, Server logs: max. 7 days.</p>
|
||
|
||
<h2>10. Governing law</h2>
|
||
<p>Swiss Federal Act on Data Protection (FADP).</p>
|
||
|
||
<h2>11. Changes</h2>
|
||
<p>The operator may update this privacy policy at any time.</p>
|
||
|
||
<p class="legal-meta">Last updated: February 2026</p>
|
||
`,
|
||
fr: /* html */`
|
||
<h1>Politique de confidentialité</h1>
|
||
<p class="legal-meta">kashilo.com — Marché anonyme | Mise à jour : février 2026</p>
|
||
|
||
<h2>1. Responsable</h2>
|
||
<p>Le responsable du traitement des données est l'exploitant de kashilo.com, domicilié en Suisse.</p>
|
||
|
||
<h2>2. Principe</h2>
|
||
<p>La plateforme a été conçue selon le principe de minimisation des données.</p>
|
||
|
||
<h2>3. Quelles données sont collectées ?</h2>
|
||
<p><strong>3.1 Données que nous ne collectons PAS :</strong> Aucune adresse e-mail, aucun nom, aucun numéro de téléphone, aucune donnée de localisation, aucune donnée de paiement.</p>
|
||
<p><strong>3.2 Inscription :</strong> Un hash cryptographique (SHA-256) de l'UUID est stocké comme identifiant. L'UUID lui-même n'est pas stocké.</p>
|
||
<p><strong>3.3 Utilisation :</strong> Annonces (titre, description, prix, catégorie, lieu, images), Messages (chiffrés de bout en bout, seul le texte chiffré est stocké), Favoris (stockés localement dans le navigateur).</p>
|
||
<p><strong>3.4 Données techniques :</strong> Les journaux serveur peuvent temporairement contenir des adresses IP et des heures d'accès.</p>
|
||
|
||
<h2>4. Cookies et stockage local</h2>
|
||
<p><strong>4.1</strong> Aucun cookie de suivi ou d'analyse.</p>
|
||
<p><strong>4.2</strong> localStorage : Langue, thème, devise, jeton d'authentification, favoris, cache des catégories.</p>
|
||
<p><strong>4.3</strong> Ces données ne quittent pas le navigateur.</p>
|
||
|
||
<h2>5. Services tiers</h2>
|
||
<p><strong>5.1 Directus (Backend) :</strong> Auto-hébergé, aucun transfert de données à des tiers.</p>
|
||
<p><strong>5.2 BTCPay Server (Paiements) :</strong> Aucune donnée personnelle transférée.</p>
|
||
<p><strong>5.3 CoinGecko API (Taux de change) :</strong> Aucune donnée personnelle transférée.</p>
|
||
|
||
<h2>6. Chiffrement</h2>
|
||
<p><strong>6.1</strong> La communication est chiffrée de bout en bout (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Les clés sont générées et stockées dans le navigateur.</p>
|
||
<p><strong>6.3</strong> Le serveur ne stocke que du texte chiffré.</p>
|
||
|
||
<h2>7. Partage de données</h2>
|
||
<p><strong>7.1</strong> Aucune donnée partagée avec des tiers à des fins publicitaires ou marketing.</p>
|
||
<p><strong>7.2</strong> Divulgation uniquement sur obligation légale des autorités suisses.</p>
|
||
|
||
<h2>8. Droits des utilisateurs</h2>
|
||
<p><strong>8.1</strong> Droit d'accès aux données stockées.</p>
|
||
<p><strong>8.2</strong> Suppression par suppression du compte.</p>
|
||
<p><strong>8.3</strong> Portabilité des données sur demande.</p>
|
||
|
||
<h2>9. Durée de conservation</h2>
|
||
<p>Annonces : 30 jours, Messages : jusqu'à suppression, Journaux serveur : max. 7 jours.</p>
|
||
|
||
<h2>10. Droit applicable</h2>
|
||
<p>Loi fédérale suisse sur la protection des données (LPD).</p>
|
||
|
||
<h2>11. Modifications</h2>
|
||
<p>L'exploitant peut adapter cette politique de confidentialité à tout moment.</p>
|
||
|
||
<p class="legal-meta">Dernière mise à jour : février 2026</p>
|
||
`,
|
||
it: /* html */`
|
||
<h1>Informativa sulla privacy</h1>
|
||
<p class="legal-meta">kashilo.com — Mercato anonimo | Aggiornamento: febbraio 2026</p>
|
||
|
||
<h2>1. Titolare del trattamento</h2>
|
||
<p>Il titolare del trattamento dei dati è il gestore della piattaforma kashilo.com con sede in Svizzera.</p>
|
||
|
||
<h2>2. Principio</h2>
|
||
<p>La piattaforma è stata progettata secondo il principio della minimizzazione dei dati.</p>
|
||
|
||
<h2>3. Quali dati vengono raccolti?</h2>
|
||
<p><strong>3.1 Dati che NON raccogliamo:</strong> Nessun indirizzo e-mail, nessun nome, nessun numero di telefono, nessun dato di localizzazione degli utenti, nessun dato di pagamento.</p>
|
||
<p><strong>3.2 Registrazione:</strong> Un hash crittografico (SHA-256) dell'UUID viene memorizzato come identificativo utente. L'UUID stesso non viene memorizzato.</p>
|
||
<p><strong>3.3 Utilizzo:</strong> Annunci (titolo, descrizione, prezzo, categoria, località, immagini), Messaggi (crittografati end-to-end, solo il testo cifrato viene memorizzato), Preferiti (memorizzati localmente nel browser).</p>
|
||
<p><strong>3.4 Dati tecnici:</strong> I log del server possono contenere temporaneamente indirizzi IP e orari di accesso.</p>
|
||
|
||
<h2>4. Cookie e archiviazione locale</h2>
|
||
<p><strong>4.1</strong> Nessun cookie per tracciamento o analisi.</p>
|
||
<p><strong>4.2</strong> localStorage: Impostazione lingua, tema, valuta, token di autenticazione, preferiti, cache delle categorie.</p>
|
||
<p><strong>4.3</strong> Questi dati non lasciano il browser.</p>
|
||
|
||
<h2>5. Servizi di terze parti</h2>
|
||
<p><strong>5.1 Directus (Backend):</strong> Self-hosted, nessun trasferimento di dati a terzi.</p>
|
||
<p><strong>5.2 BTCPay Server (Pagamenti):</strong> Nessun dato personale trasferito.</p>
|
||
<p><strong>5.3 CoinGecko API (Tassi di cambio):</strong> Nessun dato personale trasferito.</p>
|
||
|
||
<h2>6. Crittografia</h2>
|
||
<p><strong>6.1</strong> La comunicazione è crittografata end-to-end (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Le chiavi vengono generate e memorizzate nel browser.</p>
|
||
<p><strong>6.3</strong> Il server memorizza solo testo cifrato.</p>
|
||
|
||
<h2>7. Condivisione dei dati</h2>
|
||
<p><strong>7.1</strong> Nessun dato condiviso con terzi a fini pubblicitari o di marketing.</p>
|
||
<p><strong>7.2</strong> Divulgazione solo su obbligo legale da parte delle autorità svizzere.</p>
|
||
|
||
<h2>8. Diritti degli utenti</h2>
|
||
<p><strong>8.1</strong> Diritto di informazione sui dati memorizzati.</p>
|
||
<p><strong>8.2</strong> Cancellazione tramite eliminazione dell'account.</p>
|
||
<p><strong>8.3</strong> Portabilità dei dati su richiesta.</p>
|
||
|
||
<h2>9. Periodo di conservazione</h2>
|
||
<p>Annunci: 30 giorni, Messaggi: fino alla cancellazione, Log del server: max. 7 giorni.</p>
|
||
|
||
<h2>10. Diritto applicabile</h2>
|
||
<p>Legge federale svizzera sulla protezione dei dati (LPD).</p>
|
||
|
||
<h2>11. Modifiche</h2>
|
||
<p>Il gestore può modificare la presente informativa sulla privacy in qualsiasi momento.</p>
|
||
|
||
<p class="legal-meta">Ultimo aggiornamento: febbraio 2026</p>
|
||
`,
|
||
es: /* html */`
|
||
<h1>Política de Privacidad</h1>
|
||
<p class="legal-meta">kashilo.com — Mercado anónimo | Actualización: febrero 2026</p>
|
||
|
||
<h2>1. Responsable del tratamiento</h2>
|
||
<p>El responsable del tratamiento de datos es el operador de la plataforma kashilo.com con sede en Suiza.</p>
|
||
|
||
<h2>2. Principio</h2>
|
||
<p>La plataforma fue diseñada según el principio de minimización de datos.</p>
|
||
|
||
<h2>3. ¿Qué datos se recopilan?</h2>
|
||
<p><strong>3.1 Datos que NO recopilamos:</strong> Sin direcciones de correo electrónico, sin nombres, sin números de teléfono, sin datos de ubicación de los usuarios, sin datos de pago.</p>
|
||
<p><strong>3.2 Registro:</strong> Un hash criptográfico (SHA-256) del UUID se almacena como identificador de usuario. El UUID en sí no se almacena.</p>
|
||
<p><strong>3.3 Uso:</strong> Anuncios (título, descripción, precio, categoría, ubicación, imágenes), Mensajes (cifrados de extremo a extremo, solo se almacena el texto cifrado), Favoritos (almacenados localmente en el navegador).</p>
|
||
<p><strong>3.4 Datos técnicos:</strong> Los registros del servidor pueden contener temporalmente direcciones IP y horarios de acceso.</p>
|
||
|
||
<h2>4. Cookies y almacenamiento local</h2>
|
||
<p><strong>4.1</strong> Sin cookies para seguimiento o análisis.</p>
|
||
<p><strong>4.2</strong> localStorage: Idioma, tema, moneda, token de autenticación, favoritos, caché de categorías.</p>
|
||
<p><strong>4.3</strong> Estos datos no salen del navegador.</p>
|
||
|
||
<h2>5. Servicios de terceros</h2>
|
||
<p><strong>5.1 Directus (Backend):</strong> Autoalojado, sin transferencia de datos a terceros.</p>
|
||
<p><strong>5.2 BTCPay Server (Pagos):</strong> Sin datos personales transferidos.</p>
|
||
<p><strong>5.3 CoinGecko API (Tipos de cambio):</strong> Sin datos personales transferidos.</p>
|
||
|
||
<h2>6. Cifrado</h2>
|
||
<p><strong>6.1</strong> La comunicación está cifrada de extremo a extremo (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Las claves se generan y almacenan en el navegador.</p>
|
||
<p><strong>6.3</strong> El servidor solo almacena texto cifrado.</p>
|
||
|
||
<h2>7. Compartición de datos</h2>
|
||
<p><strong>7.1</strong> Sin datos compartidos con terceros con fines publicitarios o de marketing.</p>
|
||
<p><strong>7.2</strong> Divulgación solo por obligación legal de las autoridades suizas.</p>
|
||
|
||
<h2>8. Derechos de los usuarios</h2>
|
||
<p><strong>8.1</strong> Derecho a información sobre los datos almacenados.</p>
|
||
<p><strong>8.2</strong> Eliminación mediante la supresión de la cuenta.</p>
|
||
<p><strong>8.3</strong> Portabilidad de datos bajo solicitud.</p>
|
||
|
||
<h2>9. Período de conservación</h2>
|
||
<p>Anuncios: 30 días, Mensajes: hasta su eliminación, Registros del servidor: máx. 7 días.</p>
|
||
|
||
<h2>10. Derecho aplicable</h2>
|
||
<p>Ley Federal Suiza de Protección de Datos (LPD).</p>
|
||
|
||
<h2>11. Modificaciones</h2>
|
||
<p>El operador puede modificar esta política de privacidad en cualquier momento.</p>
|
||
|
||
<p class="legal-meta">Última actualización: febrero 2026</p>
|
||
`,
|
||
pt: /* html */`
|
||
<h1>Política de Privacidade</h1>
|
||
<p class="legal-meta">kashilo.com — Mercado anônimo | Atualização: fevereiro 2026</p>
|
||
|
||
<h2>1. Responsável pelo tratamento</h2>
|
||
<p>O responsável pelo tratamento de dados é o operador da plataforma kashilo.com com sede na Suíça.</p>
|
||
|
||
<h2>2. Princípio</h2>
|
||
<p>A plataforma foi projetada segundo o princípio da minimização de dados.</p>
|
||
|
||
<h2>3. Quais dados são coletados?</h2>
|
||
<p><strong>3.1 Dados que NÃO coletamos:</strong> Sem endereços de e-mail, sem nomes, sem números de telefone, sem dados de localização dos usuários, sem dados de pagamento.</p>
|
||
<p><strong>3.2 Registro:</strong> Um hash criptográfico (SHA-256) do UUID é armazenado como identificador do usuário. O UUID em si não é armazenado.</p>
|
||
<p><strong>3.3 Uso:</strong> Anúncios (título, descrição, preço, categoria, localização, imagens), Mensagens (criptografadas de ponta a ponta, apenas o texto cifrado é armazenado), Favoritos (armazenados localmente no navegador).</p>
|
||
<p><strong>3.4 Dados técnicos:</strong> Os logs do servidor podem conter temporariamente endereços IP e horários de acesso.</p>
|
||
|
||
<h2>4. Cookies e armazenamento local</h2>
|
||
<p><strong>4.1</strong> Sem cookies para rastreamento ou análise.</p>
|
||
<p><strong>4.2</strong> localStorage: Idioma, tema, moeda, token de autenticação, favoritos, cache de categorias.</p>
|
||
<p><strong>4.3</strong> Estes dados não saem do navegador.</p>
|
||
|
||
<h2>5. Serviços de terceiros</h2>
|
||
<p><strong>5.1 Directus (Backend):</strong> Auto-hospedado, sem transferência de dados a terceiros.</p>
|
||
<p><strong>5.2 BTCPay Server (Pagamentos):</strong> Sem dados pessoais transferidos.</p>
|
||
<p><strong>5.3 CoinGecko API (Taxas de câmbio):</strong> Sem dados pessoais transferidos.</p>
|
||
|
||
<h2>6. Criptografia</h2>
|
||
<p><strong>6.1</strong> A comunicação é criptografada de ponta a ponta (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> As chaves são geradas e armazenadas no navegador.</p>
|
||
<p><strong>6.3</strong> O servidor armazena apenas texto cifrado.</p>
|
||
|
||
<h2>7. Compartilhamento de dados</h2>
|
||
<p><strong>7.1</strong> Sem dados compartilhados com terceiros para fins publicitários ou de marketing.</p>
|
||
<p><strong>7.2</strong> Divulgação apenas por obrigação legal das autoridades suíças.</p>
|
||
|
||
<h2>8. Direitos dos usuários</h2>
|
||
<p><strong>8.1</strong> Direito à informação sobre os dados armazenados.</p>
|
||
<p><strong>8.2</strong> Exclusão mediante eliminação da conta.</p>
|
||
<p><strong>8.3</strong> Portabilidade de dados mediante solicitação.</p>
|
||
|
||
<h2>9. Período de retenção</h2>
|
||
<p>Anúncios: 30 dias, Mensagens: até a exclusão, Logs do servidor: máx. 7 dias.</p>
|
||
|
||
<h2>10. Direito aplicável</h2>
|
||
<p>Lei Federal Suíça de Proteção de Dados (LPD).</p>
|
||
|
||
<h2>11. Alterações</h2>
|
||
<p>O operador pode alterar esta política de privacidade a qualquer momento.</p>
|
||
|
||
<p class="legal-meta">Última atualização: fevereiro 2026</p>
|
||
`,
|
||
ru: /* html */`
|
||
<h1>Политика конфиденциальности</h1>
|
||
<p class="legal-meta">kashilo.com — Анонимный маркетплейс | Обновлено: февраль 2026</p>
|
||
|
||
<h2>1. Ответственный за обработку данных</h2>
|
||
<p>Ответственным за обработку данных является оператор платформы kashilo.com с местонахождением в Швейцарии.</p>
|
||
|
||
<h2>2. Принцип</h2>
|
||
<p>Платформа разработана по принципу минимизации данных.</p>
|
||
|
||
<h2>3. Какие данные собираются?</h2>
|
||
<p><strong>3.1 Данные, которые мы НЕ собираем:</strong> Никаких адресов электронной почты, имён, номеров телефонов, данных о местоположении пользователей, платёжных данных.</p>
|
||
<p><strong>3.2 Регистрация:</strong> Криптографический хеш (SHA-256) UUID сохраняется как идентификатор пользователя. Сам UUID не сохраняется.</p>
|
||
<p><strong>3.3 Использование:</strong> Объявления (заголовок, описание, цена, категория, местоположение, изображения), Сообщения (сквозное шифрование, хранится только зашифрованный текст), Избранное (хранится локально в браузере).</p>
|
||
<p><strong>3.4 Технические данные:</strong> Серверные логи могут временно содержать IP-адреса и время доступа.</p>
|
||
|
||
<h2>4. Файлы cookie и локальное хранилище</h2>
|
||
<p><strong>4.1</strong> Никаких cookie для отслеживания или аналитики.</p>
|
||
<p><strong>4.2</strong> localStorage: Язык, тема, валюта, токен аутентификации, избранное, кеш категорий.</p>
|
||
<p><strong>4.3</strong> Эти данные не покидают браузер.</p>
|
||
|
||
<h2>5. Сторонние сервисы</h2>
|
||
<p><strong>5.1 Directus (Бэкенд):</strong> Собственный хостинг, без передачи данных третьим лицам.</p>
|
||
<p><strong>5.2 BTCPay Server (Платежи):</strong> Персональные данные не передаются.</p>
|
||
<p><strong>5.3 CoinGecko API (Курсы валют):</strong> Персональные данные не передаются.</p>
|
||
|
||
<h2>6. Шифрование</h2>
|
||
<p><strong>6.1</strong> Коммуникация защищена сквозным шифрованием (NaCl/TweetNaCl).</p>
|
||
<p><strong>6.2</strong> Ключи генерируются и хранятся в браузере.</p>
|
||
<p><strong>6.3</strong> Сервер хранит только зашифрованный текст.</p>
|
||
|
||
<h2>7. Передача данных</h2>
|
||
<p><strong>7.1</strong> Данные не передаются третьим лицам в рекламных или маркетинговых целях.</p>
|
||
<p><strong>7.2</strong> Раскрытие только по юридическому обязательству швейцарских органов власти.</p>
|
||
|
||
<h2>8. Права пользователей</h2>
|
||
<p><strong>8.1</strong> Право на информацию о хранимых данных.</p>
|
||
<p><strong>8.2</strong> Удаление путём удаления аккаунта.</p>
|
||
<p><strong>8.3</strong> Переносимость данных по запросу.</p>
|
||
|
||
<h2>9. Срок хранения</h2>
|
||
<p>Объявления: 30 дней, Сообщения: до удаления, Серверные логи: макс. 7 дней.</p>
|
||
|
||
<h2>10. Применимое право</h2>
|
||
<p>Федеральный закон Швейцарии о защите данных (DSG).</p>
|
||
|
||
<h2>11. Изменения</h2>
|
||
<p>Оператор может изменить настоящую политику конфиденциальности в любое время.</p>
|
||
|
||
<p class="legal-meta">Последнее обновление: февраль 2026</p>
|
||
`
|
||
}
|
||
return content[lang] || content.de
|
||
}
|
||
|
||
render() {
|
||
const lang = getCurrentLanguage()
|
||
const backLabel = { de: 'Zurück zur Startseite', en: 'Back to Home', fr: 'Retour à l\'accueil', it: 'Torna alla home', es: 'Volver al inicio', pt: 'Voltar ao Início', ru: 'На главную' }
|
||
this.innerHTML = /* html */`
|
||
<div class="legal-page">
|
||
<a href="#/" class="back-link">← ${backLabel[lang] || backLabel.en}</a>
|
||
<div class="legal-content">
|
||
${this.getContent(lang)}
|
||
</div>
|
||
</div>
|
||
`
|
||
}
|
||
}
|
||
|
||
customElements.define('page-privacy', PagePrivacy)
|
||
|
||
const style = document.createElement('style')
|
||
style.textContent = /* css */`
|
||
page-privacy .legal-page {
|
||
padding: var(--space-lg) 0;
|
||
max-width: 800px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
page-privacy .back-link {
|
||
display: inline-block;
|
||
color: var(--color-text-muted);
|
||
text-decoration: none;
|
||
font-size: var(--font-size-sm);
|
||
margin-bottom: var(--space-lg);
|
||
transition: color 0.2s;
|
||
}
|
||
|
||
page-privacy .back-link:hover {
|
||
color: var(--color-text);
|
||
}
|
||
|
||
page-privacy .legal-content h1 {
|
||
font-size: var(--font-size-2xl);
|
||
margin: 0 0 var(--space-xs);
|
||
}
|
||
|
||
page-privacy .legal-content h2 {
|
||
font-size: var(--font-size-lg);
|
||
margin: var(--space-xl) 0 var(--space-sm);
|
||
padding-top: var(--space-md);
|
||
border-top: 1px solid var(--color-border);
|
||
}
|
||
|
||
page-privacy .legal-content h2:first-of-type {
|
||
border-top: none;
|
||
}
|
||
|
||
page-privacy .legal-content p {
|
||
line-height: 1.7;
|
||
margin: 0 0 var(--space-sm);
|
||
color: var(--color-text-secondary);
|
||
}
|
||
|
||
page-privacy .legal-content ul {
|
||
margin: 0 0 var(--space-sm);
|
||
padding-left: var(--space-lg);
|
||
color: var(--color-text-secondary);
|
||
}
|
||
|
||
page-privacy .legal-content ul li {
|
||
line-height: 1.7;
|
||
margin-bottom: var(--space-xs);
|
||
}
|
||
|
||
page-privacy .legal-meta {
|
||
color: var(--color-text-muted);
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
page-privacy .legal-page {
|
||
padding: var(--space-md) 0;
|
||
}
|
||
|
||
page-privacy .legal-content h1 {
|
||
font-size: var(--font-size-xl);
|
||
}
|
||
|
||
page-privacy .legal-content h2 {
|
||
font-size: var(--font-size-base);
|
||
}
|
||
}
|
||
`
|
||
document.head.appendChild(style)
|