PageSourceSearch

https://www.aiara.ch/banner/banner.iife.js?v=1788960939

js aiara.ch collected 2026-09-24 09:06:21 UTC 51,487 bytes, 1 lines download raw bytes

1!function(){"use strict";const t="aiara_banner_config",e=36e5;function a(){try{const a=localStorage.getItem(t);if(!a)return null;const{data:n,timestamp:i}=JSON.parse(a);if(n&&n.domain_id&&Date.now()-i<e)return n}catch{}return null}const n="aiara_consent",i="aiara_vid",o="aiara_vid_exp";function r(){const t=document.cookie.split("; ").find(t=>t.startsWith(`${n}=`));if(!t)return null;try{return JSON.parse(decodeURIComponent(t.split("=")[1]))}catch{return null}}function s(t,e){const a=encodeURIComponent(JSON.stringify(t)),i=new Date(Date.now()+31536e6).toUTCString(),o=e.replace(/^www\./,"");document.cookie=`${n}=${a}; expires=${i}; path=/; domain=.${o}; SameSite=Lax`,d();try{document.dispatchEvent(new CustomEvent("aiara:consent",{detail:t}))}catch{}l(t)}function l(t){try{(window.dataLayer=window.dataLayer||[]).push({event:"aiara_consent",aiara_consent:t})}catch{}}function c(){let t=localStorage.getItem(i);const e=localStorage.getItem(o);return t&&e&&Date.now()>parseInt(e,10)&&(localStorage.removeItem(i),localStorage.removeItem(o),t=null),t||(t=function(){try{if(crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID()}catch{}return"v-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,12)}(),localStorage.setItem(i,t),d()),t}function d(){localStorage.setItem(o,String(Date.now()+31536e6))}function p(t,...e){(null==t?void 0:t.gcm_debug_mode)&&console.log("[Aiara GCM]",...e)}function u(t=null){if(!(!1!==(null==t?void 0:t.gcm_enabled)))return void p(t,"GCM disabled — no consent default set");window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)};const e=!0===(null==t?void 0:t.gcm_allow_tags_before_consent),a=e?"granted":"denied";window.gtag("consent","default",{ad_storage:a,ad_user_data:a,ad_personalization:a,analytics_storage:a,functionality_storage:a,personalization_storage:a,security_storage:"granted",wait_for_update:e?0:500}),p(t,`consent default set — all=${a}, wait_for_update=${e?0:500}`)}function g(t,e=null){if(!1===(null==e?void 0:e.gcm_enabled))return void p(e,"GCM disabled — skipping update");if("function"!=typeof window.gtag)return;const a={ad_storage:t.marketing?"granted":"denied",ad_user_data:t.marketing?"granted":"denied",ad_personalization:t.marketing?"granted":"denied",analytics_storage:t.analytics?"granted":"denied",functionality_storage:t.functional?"granted":"denied",personalization_storage:t.functional?"granted":"denied"};window.gtag("consent","update",a),p(e,"consent update sent",a)}function m(t){(null==t?void 0:t.msuet_enabled)&&(window.uetq=window.uetq||[],window.uetq.push("consent","default",{ad_storage:"denied"}))}function f(t,e){(null==e?void 0:e.msuet_enabled)&&(window.uetq||(window.uetq=[]),window.uetq.push("consent","update",{ad_storage:t.marketing?"granted":"denied"}))}function b(t,e){(null==e?void 0:e.clarity_consent_api_enabled)&&"function"==typeof window.clarity&&window.clarity("consent",!0===t.analytics)}function h(t){document.querySelectorAll("script[data-cookie-category]").forEach(e=>{const a=e.getAttribute("data-cookie-category");if(t[a]){const t=document.createElement("script");for(const a of e.attributes)"type"!==a.name&&"data-cookie-category"!==a.name&&t.setAttribute(a.name,a.value);t.type="text/javascript",e.textContent&&(t.textContent=e.textContent),e.parentNode.replaceChild(t,e)}})}const v={"google.com/maps":{category:"marketing",service:"Google Maps"},"maps.google.com":{category:"marketing",service:"Google Maps"},"maps.googleapis.com":{category:"marketing",service:"Google Maps"},"youtube.com/embed":{category:"marketing",service:"YouTube"},"youtube-nocookie.com/embed":{category:"marketing",service:"YouTube"},"player.vimeo.com":{category:"marketing",service:"Vimeo"},"wistia.com":{category:"marketing",service:"Wistia"},"facebook.com/plugins":{category:"marketing",service:"Facebook"},"instagram.com/embed":{category:"marketing",service:"Instagram"},"twitter.com":{category:"marketing",service:"Twitter / X"},"x.com":{category:"marketing",service:"Twitter / X"},"linkedin.com/embed":{category:"marketing",service:"LinkedIn"},"tiktok.com/embed":{category:"marketing",service:"TikTok"},"pinterest.com":{category:"marketing",service:"Pinterest"},"open.spotify.com/embed":{category:"marketing",service:"Spotify"},"soundcloud.com":{category:"marketing",service:"SoundCloud"},"forms.hubspot.com":{category:"marketing",service:"HubSpot"},"calendly.com":{category:"marketing",service:"Calendly"},"cal.com":{category:"marketing",service:"Cal.com"}},y={de:{necessary:"Notwendige",functional:"Funktionale",analytics:"Analyse",marketing:"Marketing"},en:{necessary:"Necessary",functional:"Functional",analytics:"Analytics",marketing:"Marketing"},fr:{necessary:"Nécessaires",functional:"Fonctionnels",analytics:"Analyse",marketing:"Marketing"},it:{necessary:"Necessari",functional:"Funzionali",analytics:"Analisi",marketing:"Marketing"},pt:{necessary:"Necessários",functional:"Funcionais",analytics:"Análise",marketing:"Marketing"}},w={de:{title:"Inhalt blockiert",description:"Dieser Inhalt von {service} wird aus Datenschutzgründen blockiert.",category:"Benötigt: {category}-Cookies",button:"Inhalt aktivieren"},en:{title:"Content blocked",description:"This content from {service} is blocked for privacy reasons.",category:"Required: {category} cookies",button:"Activate content"},fr:{title:"Contenu bloqué",description:"Ce contenu de {service} est bloqué pour des raisons de protection des données.",category:"Requis : cookies {category}",button:"Activer le contenu"},it:{title:"Contenuto bloccato",description:"Questo contenuto di {service} è bloccato per motivi di protezione dei dati.",category:"Necessario: cookie {category}",button:"Attivare il contenuto"},pt:{title:"Conteúdo bloqueado",description:"Este conteúdo de {service} está bloqueado por motivos de proteção de dados.",category:"Necessário: cookies de {category}",button:"Ativar conteúdo"}};function x(t,e,a){const n=function(){const t=(document.documentElement.lang||"de").toLowerCase().slice(0,2);return w[t]?t:"de"}(),i=w[n],o=(y[n]||y.de)[t]||t,r=document.createElement("div");r.setAttribute("data-aiara-placeholder","1"),r.style.cssText=["box-sizing:border-box","display:flex","flex-direction:column","align-items:center","justify-content:center","gap:0.5rem","padding:1.5rem 1rem","background:#f8fafc","border:1px solid #e2e8f0","border-radius:0.5rem","text-align:center",'font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif',"color:#475569","width:100%","min-height:180px"].join(";"),a.getAttribute("width");const s=a.getAttribute("height");if(s&&/^\d+$/.test(s))r.style.minHeight=`${s}px`;else{const t=a.getBoundingClientRect();t.height>50&&(r.style.minHeight=`${t.height}px`)}return r.innerHTML=`\n        <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="color:#64748b;flex-shrink:0"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>\n        <div style="font-weight:600;font-size:0.95rem;color:#1e293b;margin-top:0.25rem">${i.title}</div>\n        <div style="font-size:0.85rem;max-width:480px;line-height:1.4">${i.description.replace("{service}",`<strong>${_(e)}</strong>`)}</div>\n        <div style="font-size:0.75rem;color:#94a3b8">${i.category.replace("{category}",_(o))}</div>\n        <button type="button" data-aiara-unlock="${_(t)}
1" style="margin-top:0.25rem;padding:0.5rem 1rem;background:#2563eb;color:#fff;border:0;border-radius:0.375rem;font-size:0.85rem;font-weight:600;cursor:pointer;font-family:inherit">${i.button}</button>\n    `,r}function _(t){return String(t).replace(/[&<>"']/g,t=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[t]))}function k(){document.querySelectorAll("iframe[src]:not([data-aiara-blocked])").forEach(t=>{var e;const a=t.getAttribute("data-cookie-category"),n=t.getAttribute("src");if(!n)return;let i=a,o=t.getAttribute("data-aiara-service-label")||t.getAttribute("title")||"Drittanbieter";if(!i){const t=function(t){if(!t||t.startsWith("about:")||t.startsWith("javascript:")||t.startsWith("data:"))return null;for(const[e,a]of Object.entries(v))if(t.includes(e))return a;return null}(n);if(!t)return;i=t.category,o=t.service}t.setAttribute("data-aiara-src",n),t.setAttribute("data-aiara-category",i),t.setAttribute("data-aiara-service",o),t.setAttribute("data-aiara-blocked","1"),t.setAttribute("src","about:blank"),t.style.display="none";const r=x(i,o,t);null==(e=t.parentNode)||e.insertBefore(r,t)})}function $(t){document.querySelectorAll('iframe[data-aiara-blocked="1"]').forEach(e=>{const a=e.getAttribute("data-aiara-category");if(!t[a])return;const n=e.getAttribute("data-aiara-src");n&&e.setAttribute("src",n),e.style.display="";const i=e.previousElementSibling;"1"===(null==i?void 0:i.getAttribute("data-aiara-placeholder"))&&i.remove(),e.removeAttribute("data-aiara-src"),e.removeAttribute("data-aiara-category"),e.removeAttribute("data-aiara-service"),e.removeAttribute("data-aiara-blocked")})}function C(t){var e;const a=(t.forced_language||document.documentElement.lang||"").toLowerCase().substring(0,2);return a&&["de","fr","it","en","pt"].includes(a)&&(null==(e=t.texts)?void 0:e[a])?a:"de"}function A(t,e){return t?"string"==typeof t?t:t[e]||t.en||t.de||"":""}function S(t,e,a,n){var i,o;const s=t.colors||{},l=C(t),c=r(),d=(null==(i=t.texts)?void 0:i[l])||(null==(o=t.texts)?void 0:o.de)||t.texts||{},p=t.layout||"bar_bottom",u=document.createElement("div");u.id="aiara-consent-banner",u.setAttribute("role","dialog"),u.setAttribute("aria-label",d.title||"Cookie-Einstellungen"),u.setAttribute("lang",l);const g="modal_center"===p||"modal"===p,m="corner_right"===p||"corner_left"===p,f="bottom_center"===p,b=p.startsWith("bar_");let h="";h=b?`\n            left: 0; right: 0;\n            ${"bar_bottom"===p?"bottom: 0;":"top: 0;"}\n            padding: 16px 0;\n            background: var(--aiara-bg);\n            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);\n        `:m?`\n            ${"corner_right"===p?"right: 16px;":"left: 16px;"}\n            bottom: 16px;\n            width: 420px;\n            max-width: calc(100vw - 32px);\n        `:f?"\n            left: 50%;\n            bottom: 24px;\n            transform: translateX(-50%);\n            width: 640px;\n            max-width: calc(100vw - 32px);\n        ":"\n            top: 0; left: 0; right: 0; bottom: 0;\n            display: flex; align-items: center; justify-content: center;\n            background: rgba(0,0,0,0.5);\n        ";const v=document.createElement("style");v.textContent=` #aiara-consent-banner { --aiara-primary: ${s.primary||"#1a56db"}; --aiara-secondary: ${s.secondary||"#6b7280"}; --aiara-bg: ${s.background||"#ffffff"}; --aiara-text: ${s.text||"#1f2937"}; --aiara-link: ${s.link||"#1a56db"}; --aiara-btn-text: ${s.button_text||"#ffffff"}; position: fixed; z-index: 999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.5; color: var(--aiara-text); ${h} } @media (max-width: 480px) { #aiara-consent-banner { ${m?"width: 100% !important; left: 0 !important; right: 0 !important; bottom: 0 !important; max-width: 100% !important; border-radius: 0 !important;":""} ${f?"width: 100% !important; left: 0 !important; right: 0 !important; bottom: 0 !important; max-width: 100% !important; transform: none !important; border-radius: 0 !important;":""} } ${b?" .aiara-inner { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; padding: 0 16px !important; } .aiara-actions { width: 100% !important; display: flex !important; flex-direction: column !important; gap: 8px !important; } .aiara-buttons { width: 100% !important; flex-wrap: nowrap !important; } .aiara-buttons .aiara-btn-accept, .aiara-buttons .aiara-btn-reject { flex: 1 !important; min-width: 0 !important; } .aiara-bottom-row { text-align: center !important; } ":""} } #aiara-consent-banner *, #aiara-consent-banner *::before, #aiara-consent-banner *::after, #aiara-settings-overlay *, #aiara-settings-overlay *::before, #aiara-settings-overlay *::after { box-sizing: border-box !important; } #aiara-consent-banner button, #aiara-settings-overlay button { -webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0; width: auto; height: auto; min-width: auto; min-height: auto; max-width: none; font: inherit; color: inherit; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; letter-spacing: normal; vertical-align: middle; } .aiara-inner { ${g?` background: var(--aiara-bg); border-radius: ${"pill"===t.button_style?"20px":"square"===t.button_style?"0px":"12px"}; padding: 24px; max-width: 520px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); `:m?` background: var(--aiara-bg); border-radius: ${"pill"===t.button_style?"20px":"square"===t.button_style?"0px":"12px"}; padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.08); `:f?` background: var(--aiara-bg); border-radius: ${"pill"===t.button_style?"20px":"square"===t.button_style?"0px":"14px"}; padding: 22px 24px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); border: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 14px; `:" max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; "} } .aiara-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; } .aiara-desc { color: var(--aiara-text); opacity: 0.75; margin-bottom: 8px; } .aiara-privacy-link { font-size: 12px; margin-bottom: 12px; } .aiara-privacy-link a { color: var(--aiara-link); text-decoration: underline; } .aiara-actions { } .aiara-buttons { display: flex; gap: 8px; flex-wrap: wrap; } ${m?" .aiara-buttons { flex-direction: row; } .aiara-btn-accept, .aiara-btn-reject { flex: 1; } .aiara-btn-settings { flex-basis: 100%; text-align: left !important; } ":""} ${f?" .aiara-inner > div:first-child { width: 100%; } .aiara-actions { width: 100%; } .aiara-buttons { flex-wrap: wrap; } ":""} .aiara-btn { padding: 10px 20px !important; border: none !important; border-radius: ${"pill"===t.button_style?"999px":"square"===t.button_style?"0px":"8px"} !important; cursor: pointer !important; font-size: 14px !important; font-weight: 500 !important; transition: box-shadow 0.2s ease !important; text-decoration: none !important; } .aiara-btn:hover, .aiara-btn:focus { box-shadow: inset 0 0 0 100px rgba(0,0,0,0.1) !important; text-decoration: none !important; } .aiara-btn-accept, .aiara-btn-accept:hover, .aiara-btn-accept:focus { background: var(--aiara-primary) !important; color: var(--aiara-btn-text) !important; } .aiara-btn-reject, .aiara-btn-reject:hover, .aiara-btn-reject:focus { background: var(--aiara-secondary) !important; color: var(--aiara-btn-text) !important; } .aiara-btn-settings, .aiara-btn-settings:hover, .aiara-btn-settings:focus { background: transparent !important; color: var(--aiara-link) !important; border: none !important; text-decoration: underline !important; padding: 6px 4px !important; box-shadow: none !important; opacity: 1 !important; } .aiara-btn-settings:hover, .aiara-btn-settings:focus { opacity: 0.7 !important; } #aiara-consent-banner :focus-visible, #aiara-settings-overlay :focus-visible, .aiara-toggle input:focus-visible + .slider { outline: none !important; box-shadow: 0 0 0 2px #fff, 0 0 0 5px #111 !important; border-radius: 4px; } .aiara-categories { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; } .aiara-category { border: 1px solid #e5e7eb; border-radius: ${"pill"===t.button_style?"12px":"square"===t.button_style?"0px":"8px"}; overflow: hidden; } .aiara-cat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; } .aiara-cat-header:hover { background: rgba(0,0,0,0.02); } .aiara-cat-info { flex: 1; } .aiara-cat-info label { font-weight: 600; font-size: 14px; display: block; cursor: pointer; } .aiara-cat-info small { color: var(--aiara-text); opacity: 0.7; display: block; font-size: 12px; margin-top: 2px; } .aiara-cat-toggle-link { color: var(--aiara-link) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5 !important; margin-left: 12px !important; white-space: nowrap !important; flex: 0 0 auto !important; } .aiara-cat-toggle-link:hover { text-decoration: underline !important; } .aiara-cat-details { display: none; padding: 0 16px 12px; border-top: 1px solid #f3f4f6; } .aiara-cat-details.open { display: block; } .aiara-cookie-item { padding: 10px 0; border-bottom: 1px solid #f3f4f6; } .aiara-cookie-item:last-child { border-bottom: none; } .aiara-cookie-name { font-weight: 600; font-size: 13px; margin-bottom: 6px; } .aiara-cookie-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 12px; } .aiara-cookie-meta dt { color: var(--aiara-text); opacity: 0.65; } .aiara-cookie-meta dd { margin: 0; } .aiara-toggle { position: relative; width: 44px; height: 24px; } .aiara-toggle input { opacity: 0; width: 0; height: 0; } .aiara-toggle .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #d1d5db; border-radius: 12px; transition: 0.3s; } .aiara-toggle .slider:before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; } .aiara-toggle input:checked + .slider { background: var(--aiara-primary); } .aiara-toggle input:checked + .slider:before { transform: translateX(20px); } .aiara-toggle input:disabled + .slider { opacity: 0.6;
1 cursor: not-allowed; } .aiara-custom-logo { margin-bottom: 12px; } .aiara-custom-logo img { max-width: 150px; height: auto; display: block; } .aiara-powered { font-size: 11px; color: var(--aiara-text); opacity: 0.55; text-align: left; margin-top: 16px; margin-bottom: 4px; } .aiara-bottom-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; } .aiara-bottom-row .aiara-btn-settings { margin: 0 !important; } .aiara-powered span { vertical-align: middle; } .aiara-powered a { color: var(--aiara-text); text-decoration: none; display: inline-block; vertical-align: middle; opacity: 0.7; } .aiara-powered a:hover { opacity: 1; } .aiara-powered a svg { height: auto; width: 160px; } .aiara-powered-corner { text-align: right; margin-top: 10px; margin-bottom: 0; } .aiara-powered-corner a svg { width: 80px; } .aiara-details { display: none; } .aiara-details.open { display: block; } .aiara-settings-overlay { --aiara-primary: ${s.primary||"#1a56db"}; --aiara-secondary: ${s.secondary||"#6b7280"}; --aiara-bg: ${s.background||"#ffffff"}; --aiara-text: ${s.text||"#1f2937"}; --aiara-link: ${s.link||"#1a56db"}; --aiara-btn-text: ${s.button_text||"#ffffff"}; display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999999; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.5; } .aiara-settings-overlay.open { display: flex; } .aiara-settings-modal { background: var(--aiara-bg); color: var(--aiara-text); width: 800px; max-width: calc(100vw - 32px); max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; border-radius: ${"pill"===t.button_style?"20px":"square"===t.button_style?"0px":"12px"}; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); } @media (max-width: 480px) { .aiara-settings-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; padding: 20px; } } .aiara-settings-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-shrink: 0; } .aiara-settings-body { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; } .aiara-settings-header h2 { font-size: 20px; font-weight: 700; margin: 0; } #aiara-settings-overlay .aiara-settings-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,0.05); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; } #aiara-settings-overlay .aiara-settings-close:hover { background: rgba(0,0,0,0.1); } .aiara-settings-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.08); flex-shrink: 0; } .aiara-settings-footer .aiara-powered-settings { flex-basis: 100%; font-size: 11px; color: var(--aiara-text); opacity: 0.55; display: flex; align-items: center; gap: 4px; } .aiara-settings-footer .aiara-powered-settings a { color: var(--aiara-text) !important; text-decoration: none !important; display: inline-block; vertical-align: middle; opacity: 0.7; } .aiara-settings-footer .aiara-powered-settings a:hover { opacity: 1 !important; } .aiara-settings-footer .aiara-powered-settings a svg { height: auto; width: 70px; display: inline-block; vertical-align: middle; } .aiara-settings-footer .aiara-btn { width: auto; flex: 1 1 auto; min-width: 0 !important; } @media (min-width: 481px) { .aiara-settings-footer .aiara-powered-settings { flex-basis: auto; margin-right: auto; } .aiara-settings-footer .aiara-btn { flex: none; min-width: 160px !important; } } `,document.head.appendChild(v);const y=(t.categories||[]).map((t,e)=>{const a=t.is_required,n=A(t.name,l)||t.key,i=A(t.description,l),o=`aiara-cat-${e}`,r={de:{provider:"Anbieter",usage:"Verwendung",duration:"Dauer",more:"mehr",less:"weniger"},fr:{provider:"Fournisseur",usage:"Utilisation",duration:"Durée",more:"plus",less:"moins"},it:{provider:"Fornitore",usage:"Utilizzo",duration:"Durata",more:"più",less:"meno"},en:{provider:"Provider",usage:"Purpose",duration:"Duration",more:"more",less:"less"},pt:{provider:"Fornecedor",usage:"Finalidade",duration:"Duração",more:"mais",less:"menos"}}[l]||{provider:"Anbieter",usage:"Verwendung",duration:"Dauer",more:"mehr",less:"weniger"},s=(t.cookies||[]).map(t=>{const e=A(t.description,l);return`\n            <div class="aiara-cookie-item">\n                <div class="aiara-cookie-name">${t.name}</div>\n                <dl class="aiara-cookie-meta">\n                    ${t.provider?`<dt>${r.provider}:</dt><dd>${t.provider}</dd>`:""}\n                    ${e?`<dt>${r.usage}:</dt><dd>${e}</dd>`:""}\n                    ${t.duration?`<dt>${r.duration}:</dt><dd>${t.duration}</dd>`:""}\n                </dl>\n            </div>\n        `}).join("");return`\n            <div class="aiara-category">\n                <div class="aiara-cat-header">\n                    <label class="aiara-toggle" onclick="event.stopPropagation();">\n                        <input type="checkbox" data-category="${t.key}" aria-label="${n}"\n                            ${a?"checked disabled":(null==c?void 0:c[t.key])?"checked":""}\n                        />
1\n                        <span class="slider"></span>\n                    </label>\n                    <div class="aiara-cat-info" style="margin-left: 12px;">\n                        <label>${n}</label>\n                        <small>${i}</small>\n                    </div>\n                    ${s?`<button type="button" class="aiara-cat-toggle-link" aria-expanded="false" aria-controls="${o}" data-more="${r.more}" data-less="${r.less}">${r.more}</button>`:""}\n                </div>\n                ${s?`<div class="aiara-cat-details" id="${o}">${s}</div>`:""}\n            </div>\n        `}).join(""),w='<a href="https://www.aiara.ch" target="_blank" rel="noopener" aria-label="Aiara"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 149 43"><path d="M17.88.35L.09 31.16c-.27.46.07 1.05.6 1.05h10.95c.25 0 .48.13.6.35l5.63 9.73c.27.47.94.47 1.21 0l5.62-9.73c.13-.22.36-.35.6-.35l10.95-.01c.54 0 .87-.58.6-1.05L19.08.35c-.27-.47-.94-.47-1.21 0zm5.4 29.15v.04l-4.2 7.26c-.27.47-.94.47-1.21 0l-4.01-6.95c-.13-.22-.36-.35-.6-.35h-1.1c-.27 0-.44-.29-.3-.53l6.02-10.42c.27-.47.94-.47 1.21 0l5.72 9.9c.27.47-.07 1.05-.6 1.05h-.92z" fill="#13213c" fill-rule="evenodd"/><path d="M49.52 31.68c-.21.46-.58.69-1.11.69h-4.38c-.36 0-.61-.11-.75-.33-.14-.22-.12-.49.05-.81l11.09-21.28c.25-.48.6-.72 1.06-.72.45 0 .8.24 1.05.72l11.06 21.28c.17.32.2.59.07.81-.13.22-.37.33-.73.33h-4.4c-.53 0-.9-.23-1.11-.69l-1.2-2.41h-9.53l-1.17 2.41zm5.94-12.51l-2.56 5.43h5.12l-2.56-5.43z" fill="#13213c" fill-rule="evenodd"/><path d="M74.58 9.25c.3 0 .53.08.7.25.17.16.25.4.25.69v21.24c0 .3-.08.53-.25.69-.17.17-.4.25-.7.25h-3.95c-.63 0-.94-.31-.94-.94V10.19c0-.63.31-.94.94-.94h3.95z" fill="#13213c" fill-rule="evenodd"/><path d="M83.77 31.68c-.21.46-.58.69-1.11.69h-4.38c-.36 0-.61-.11-.75-.33-.14-.22-.12-.49.05-.81l11.09-21.28c.25-.48.6-.72 1.06-.72.45 0 .8.24 1.05.72l11.06 21.28c.17.32.2.59.07.81-.13.22-.37.33-.73.33h-4.4c-.53 0-.9-.23-1.11-.69l-1.2-2.41h-9.53l-1.17 2.41zm5.94-12.51l-2.56 5.43h5.12l-2.56-5.43z" fill="#13213c" fill-rule="evenodd"/><path d="M109.55 31.43c0 .63-.31.94-.94.94h-3.89c-.63 0-.94-.31-.94-.94V10.19c0-.63.31-.94.94-.94h9.13c2.92 0 5.14.75 6.67 2.24 1.53 1.49 2.29 3.48 2.29 5.97 0 1.6-.37 2.97-1.12 4.12-.75 1.14-1.83 2-3.26 2.59l5.27 7.03c.24.33.3.61.18.83-.12.23-.38.34-.78.34h-4.83c-.51 0-.89-.2-1.14-.6l-4.7-6.72h-2.88v6.38zm0-10.97h4.52c.8 0 1.5-.28 2.1-.83.6-.55.9-1.28.9-2.18 0-.95-.3-1.69-.89-2.24-.6-.54-1.3-.82-2.11-.82h-4.52v6.06z" fill="#13213c" fill-rule="evenodd"/><path d="M130.84 31.68c-.21.46-.58.69-1.11.69h-4.38c-.36 0-.61-.11-.75-.33-.14-.22-.12-.49.05-.81l11.09-21.28c.25-.48.6-.72 1.06-.72.45 0 .8.24 1.05.72l11.06 21.28c.17.32.2.59.07.81-.13.22-.37.33-.73.33h-4.4c-.53 0-.9-.23-1.11-.69l-1.2-2.41h-9.53l-1.17 2.41zm5.94-12.51l-2.56 5.43h5.12l-2.56-5.43z" fill="#13213c" fill-rule="evenodd"/></svg></a>';u.innerHTML=`\n        <div class="aiara-inner">\n            <div style="flex:1;">\n                ${t.show_logo&&t.logo_url?`<div class="aiara-custom-logo"><img src="${t.logo_url}" alt="${t.organization_name||""}" /></div>`:""}\n                <div class="aiara-title">${d.title||"Cookie-Einstellungen"}</div>\n                <div class="aiara-desc">${d.description||"Wir verwenden Cookies, um Ihnen die bestmögliche Erfahrung zu bieten."}</div>\n                ${t.privacy_policy_url?`<div class="aiara-privacy-link"><a href="${t.privacy_policy_url}" target="_blank" rel="noopener">Datenschutzerklärung</a></div>`:""}\n                ${!m&&t.show_powered_by?`<div class="aiara-powered">${w}</div>`:""}\n            </div>\n            <div class="aiara-actions">\n                <div class="aiara-buttons">\n                    <button class="aiara-btn aiara-btn-accept" id="aiara-accept-all">\n                        ${d.accept_all||"Alle akzeptieren"}\n                    </button>\n                    <button class="aiara-btn aiara-btn-reject" id="aiara-reject-all">\n                        ${d.reject_all||"Ablehnen"}\n                    </button>\n                    ${m?`<button class="aiara-btn aiara-btn-settings" id="aiara-settings">${d.settings||"Einstellungen"}</button>`:""}\n                </div>\n                ${m?"":`<div class="aiara-bottom-row">\n                    <button class="aiara-btn aiara-btn-settings" id="aiara-settings">${d.settings||"Einstellungen"}</button>\n                </div>`}\n                ${m&&t.show_powered_by?`<div class="aiara-powered aiara-powered-corner">${w}</div>`:""}\n            </div>\n        </div>\n    `;const x=document.createElement("div");
1x.className="aiara-settings-overlay",x.id="aiara-settings-overlay",x.setAttribute("lang",l);const _=t.organization_name||"",k=_?{de:`Cookie-Einstellungen von ${_}`,fr:`Paramètres des cookies de ${_}`,it:`Impostazioni dei cookie di ${_}`,en:`Cookie settings of ${_}`,pt:`Configurações de cookies de ${_}`}[l]||`Cookie-Einstellungen von ${_}`:"",$={de:"Einstellungen schliessen",fr:"Fermer les paramètres",it:"Chiudere le impostazioni",en:"Close settings",pt:"Fechar configurações"}[l]||"Einstellungen schliessen";x.innerHTML=`\n        <div class="aiara-settings-modal" role="dialog" aria-modal="true" aria-labelledby="aiara-settings-title">\n            <div class="aiara-settings-header">\n                <div>\n                    <h2 id="aiara-settings-title">${d.settings||"Einstellungen"}</h2>\n                    ${k?`<p style="font-size:11px;color:var(--aiara-text);opacity:0.5;margin-top:2px;font-weight:400;">${k}</p>`:""}\n                </div>\n                <button type="button" class="aiara-settings-close" id="aiara-settings-close" aria-label="${$}"><svg aria-hidden="true" focusable="false" width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="1" y1="1" x2="13" y2="13"/><line x1="13" y1="1" x2="1" y2="13"/></svg></button>\n            </div>\n            <div class="aiara-settings-body">\n                <div class="aiara-desc">${d.description||""}</div>\n                ${t.privacy_policy_url?`<div class="aiara-privacy-link"><a href="${t.privacy_policy_url}" target="_blank" rel="noopener">Datenschutzerklärung</a></div>`:""}\n                <div class="aiara-categories">${y}</div>\n            </div>\n            <div class="aiara-settings-footer">\n                <div class="aiara-powered-settings"><span>Powered by</span> ${w}</div>\n                <button class="aiara-btn aiara-btn-reject" id="aiara-modal-reject">${d.reject_all||"Ablehnen"}</button>\n                <button class="aiara-btn aiara-btn-accept" id="aiara-modal-save">${d.save||"Auswahl speichern"}</button>\n            </div>\n        </div>\n    `,document.body.appendChild(u),document.body.appendChild(x),u.querySelector("#aiara-accept-all").addEventListener("click",()=>{e(),E(u,t.animation,p),x.remove()}),u.querySelector("#aiara-reject-all").addEventListener("click",()=>{a(),E(u,t.animation,p),x.remove()});const S=t=>[...t.querySelectorAll("button,input,a[href]")].filter(t=>!t.disabled&&null!==t.offsetParent),I=(t,e)=>{if("Tab"!==e.key)return;const a=S(t);if(!a.length)return;const n=a[0],i=a[a.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),i.focus()):e.shiftKey||document.activeElement!==i||(e.preventDefault(),n.focus())};let z=null;const j=()=>{x.classList.remove("open"),z&&document.contains(z)&&z.focus()};return u.querySelector("#aiara-settings").addEventListener("click",()=>{var t;z=document.activeElement,x.classList.add("open"),null==(t=S(x)[0])||t.focus()}),x.querySelector("#aiara-settings-close").addEventListener("click",j),x.addEventListener("keydown",t=>{"Escape"!==t.key?I(x,t):j()}),g&&(u.setAttribute("aria-modal","true"),u.setAttribute("tabindex","-1"),u.addEventListener("keydown",t=>I(u,t)),u.focus()),x.addEventListener("click",t=>{if(t.target===x)return void j();const e=t.target.closest(".aiara-cat-header"),a=e&&e.querySelector(".aiara-cat-toggle-link");if(!a)return;const n=document.getElementById(a.getAttribute("aria-controls"));if(!n)return;const i=n.classList.toggle("open");a.setAttribute("aria-expanded",i?"true":"false"),a.textContent=i?a.dataset.less:a.dataset.more}),x.querySelector("#aiara-modal-reject").addEventListener("click",()=>{a(),E(u,t.animation,p),x.remove()}),x.querySelector("#aiara-modal-save").addEventListener("click",()=>{const e={necessary:!0};x.querySelectorAll("[data-category]").forEach(t=>{e[t.dataset.category]=t.checked}),n(e),E(u,t.animation,p),x.remove()}),function(t,e,a){"fade"===e?(t.style.opacity="0",t.style.transition="opacity 0.3s ease",requestAnimationFrame(()=>{t.style.opacity="1"})):(t.style.transform=L(a,"100%"),t.style.transition="transform 0.3s ease",requestAnimationFrame(()=>{t.style.transform=L(a,"0")}))}(u,t.animation,p),u}function I(t,e){var a,n;const i=document.getElementById("aiara-reopen");i&&i.remove();const o=((null==e?void 0:e.colors)||{}).primary||"#1a56db",r=function(t){const e=t.replace("#",""),a=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2,2),16),i=parseInt(e.substr(4,2),16);return(299*a+587*n+114*i)/1e3<128}
1(o)?"#ffffff":"#1f2937",s=document.createElement("button");s.id="aiara-reopen";const l=C(e||{});return s.setAttribute("aria-label",(null==(n=null==(a=null==e?void 0:e.texts)?void 0:a[l])?void 0:n.settings)||"Cookie-Einstellungen öffnen"),s.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22" fill="${r}" fill-rule="evenodd"><path d="M22.624 10.348c.083.539.126 1.09.126 1.652 0 5.933-4.817 10.75-10.75 10.75S1.25 17.933 1.25 12 6.067 1.25 12 1.25c.459 0 .911.029 1.355.085a.749.749 0 0 1 .585 1.064 1.996 1.996 0 0 0 .602 2.444.751.751 0 0 1 .278.759 3.001 3.001 0 0 0 3.223 3.634.75.75 0 0 1 .654.273 1.995 1.995 0 0 0 2.74.351.75.75 0 0 1 1.187.488zM16.75 13.75a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5zm-7.5 2.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5zm.24-10.8a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm2.76 8.3a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-5.75-3a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm4.75-2.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5z"/></svg>`,s.style.cssText=`\n        position: fixed; bottom: 16px; left: 16px; z-index: 999998;\n        width: 44px; height: 44px; border-radius: 50%; border: none;\n        background: ${o}; cursor: pointer;\n        box-shadow: 0 2px 10px rgba(0,0,0,0.2);\n        display: flex; align-items: center; justify-content: center;\n        padding: 0; transition: transform 0.2s ease;\n    `,s.addEventListener("mouseenter",()=>{s.style.transform="scale(1.1)"}),s.addEventListener("mouseleave",()=>{s.style.transform="scale(1)"}),s.addEventListener("click",t),document.body.appendChild(s),s}function L(t,e){return"bottom_center"===t?`translate(-50%, ${e})`:`translateY(${e})`}function E(t,e,a){"fade"===e?(t.style.opacity="0",setTimeout(()=>t.remove(),300)):(t.style.transform=L(a,"100%"),setTimeout(()=>t.remove(),300))}function z(){return D&&D.tcf_policy_version||5}let j=!1,M=!1,T={},O=0,q=null,D=null;function V(t){D=t;const e=window.__tcfapi&&window.__tcfapi._queue||[];window.__tcfapi=function(t,e,a,n){if("function"==typeof a)switch(t){case"ping":a(U(),!0);break;case"getTCData":a(function(t,e){if(!Array.isArray(e)||0===e.length)return t;const a=t=>{const a={};for(const n of e)t&&t[n]&&(a[n]=t[n]);return a};return Object.assign({},t,{vendor:{consents:a(t.vendor&&t.vendor.consents),legitimateInterests:a(t.vendor&&t.vendor.legitimateInterests)}})}(q?Object.assign({},q,{eventStatus:M?"cmpuishown":"tcloaded",listenerId:null}):H(),n),!0);break;case"addEventListener":{const t=++O;T[t]=a;const e=q||H(),n=M?"cmpuishown":"tcloaded";a(Object.assign({},e,{listenerId:t,eventStatus:n}),!0);break}case"removeEventListener":{const t=!!T[n];delete T[n],a(t);break}default:a(null,!1)}},j=!0;for(const a of e)window.__tcfapi(a.command,a.version,a.callback,a.parameter);!function(){if(window.frames.__tcfapiLocator)return;const t=()=>{if(window.frames.__tcfapiLocator)return;const t=document.createElement("iframe");t.style.cssText="display:none",t.name="__tcfapiLocator",t.setAttribute("aria-hidden","true"),t.setAttribute("title","__tcfapiLocator"),document.body.appendChild(t)};document.body?t():document.addEventListener("DOMContentLoaded",t,{once:!0})}(),window.addEventListener("message",function(t){let e;try{e="string"==typeof t.data?JSON.parse(t.data):t.data}catch(n){return}if(!e||!e.__tcfapiCall)return;const a=e.__tcfapiCall;window.__tcfapi(a.command,a.version,function(e,n){const i={__tcfapiReturn:{returnValue:e,success:n,callId:a.callId}};t.source&&t.source.postMessage(i,"*")},a.parameter)})}function F(){M=!0,W("cmpuishown")}function N(){M=!1,W("cmpuihidden")}function B(t,e){q=R(t,e),W("useractioncomplete")}function P(t,e){q=R(t,e),W("tcloaded")}function U(){return{gdprApplies:!0,cmpLoaded:j,cmpStatus:j?"loaded":"stub",displayStatus:M?"visible":"hidden",apiVersion:"2.3",cmpVersion:1,cmpId:D&&D.cmp_id||507,gvlVersion:D&&D.vendor_list_version||0,tcfPolicyVersion:z()}}function H(){return{tcString:"",addtlConsent:"",tcfPolicyVersion:z(),cmpId:D&&D.cmp_id||507,cmpVersion:D&&D.cmp_version||1,gdprApplies:!0,eventStatus:M?"cmpuishown":"tcloaded",cmpStatus:"loaded",listenerId:null,isServiceSpecific:!0,useNonStandardTexts:!1,purposeOneTreatment:!1,publisherCC:D&&D.publisher_country_code||"CH",outOfBand:{allowedVendors:{},disclosedVendors:{}},purpose:{consents:{},legitimateInterests:{}}
1,vendor:{consents:{},legitimateInterests:{},disclosedVendors:{}},specialFeatureOptins:{},publisher:{consents:{},legitimateInterests:{},customPurpose:{consents:{},legitimateInterests:{}},restrictions:{}}}}function G(t){const e={};if(Array.isArray(t))for(const a of t)e[a]=!0;return e}function J(t){if(!Array.isArray(t.acDisclosed)||0===t.acDisclosed.length)return"";const e=t=>t.slice().sort((t,e)=>t-e),a=e(t.acConsents||[]),n=new Set(a),i=e(t.acDisclosed.filter(t=>!n.has(t)));return"2~"+a.join(".")+"~dv"+(i.length?"."+i.join("."):"")}function R(t,e){const a=e||{},n=G(a.purposeConsents),i=G(a.purposeLI);return{tcString:t,addtlConsent:J(a),tcfPolicyVersion:z(),cmpId:D&&D.cmp_id||507,cmpVersion:D&&D.cmp_version||1,gdprApplies:!0,eventStatus:null,cmpStatus:"loaded",listenerId:null,isServiceSpecific:!0,useNonStandardTexts:!1,purposeOneTreatment:!1,publisherCC:D&&D.publisher_country_code||"CH",outOfBand:{allowedVendors:{},disclosedVendors:{}},purpose:{consents:n,legitimateInterests:i},vendor:{consents:G(a.vendorConsents),legitimateInterests:G(a.vendorLI),disclosedVendors:G(a.disclosedVendors)},specialFeatureOptins:G(a.specialFeatureOptins),publisher:{consents:n,legitimateInterests:i,customPurpose:{consents:{},legitimateInterests:{}},restrictions:{}}}}function W(t){const e=q||H();for(const[n,i]of Object.entries(T))try{i(Object.assign({},e,{listenerId:Number(n),eventStatus:t}),!0)}catch(a){}}function X(t){const e=function(){const t=864e5,e=Math.floor(Date.now()/t)*t;return Math.round(e/100)}(),a=t.purposeConsents||[],n=t.purposeLegitimateInterests||[],i=t.vendorConsents||[],o=t.vendorLegitimateInterests||[],r=t.disclosedVendors||[],s=[];K(s,2,6),K(s,e,36),K(s,e,36),K(s,t.cmpId||0,12),K(s,t.cmpVersion||1,12),K(s,t.consentScreen||1,6),Q(s,(t.consentLanguage||"DE").toUpperCase()),K(s,t.vendorListVersion||0,12),K(s,t.tcfPolicyVersion||5,6),Y(s,1),Y(s,0),Z(s,t.specialFeatureOptins||[],12),Z(s,a,24),Z(s,n,24),Y(s,t.purposeOneTreatment?1:0),Q(s,(t.publisherCC||"CH").toUpperCase());const l=i.length?Math.max(...i):0;K(s,l,16),Y(s,0),tt(s,i,l);const c=o.length?Math.max(...o):0;K(s,c,16),Y(s,0),tt(s,o,c),K(s,0,12);const d=et(s),p=[];K(p,1,3);const u=r.length?Math.max(...r):0;K(p,u,16),Y(p,0),tt(p,r,u);return d+"."+et(p)}function Y(t,e){t.push(e?1:0)}function K(t,e,a){let n=Math.floor(e);const i=new Array(a);for(let o=a-1;o>=0;o--)i[o]=n%2,n=Math.floor(n/2);for(let o=0;o<a;o++)t.push(i[o])}function Q(t,e){K(t,e.charCodeAt(0)-65,6),K(t,e.charCodeAt(1)-65,6)}function Z(t,e,a){const n=new Set(e);for(let i=1;i<=a;i++)Y(t,n.has(i)?1:0)}function tt(t,e,a){const n=new Set(e);for(let i=1;i<=a;i++)Y(t,n.has(i)?1:0)}function et(t){for(;t.length%8!=0;)t.push(0);const e=[];for(let n=0;n<t.length;n+=8){let a=0;for(let e=0;e<8;e++)a=a<<1|(t[n+e]||0);e.push(a)}let a="";for(let n=0;n<e.length;n++)a+=String.fromCharCode(e[n]);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}!function(){if("function"==typeof window.__tcfapi)return;const t=[];window.__tcfapi=function(e,a,n,i){"ping"===e?n(U(),!0):t.push({command:e,version:a,callback:n,parameter:i})},window.__tcfapi._queue=t}(),k(),"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",k,{once:!0});let at=null,nt=null,it=null,ot=null,rt=null;const st={};let lt=null,ct=!1;
1function dt(t,e,a){return window[a]?Promise.resolve(window[a]):(st[a]||(st[a]=new Promise(n=>{const i=document.createElement("script");i.src=`${t}/banner/${e}`,i.async=!0,i.onload=()=>n(window[a]||null),i.onerror=()=>{console.warn("[Aiara] Bundle nicht ladbar:",e),n(null)},document.head.appendChild(i)})),st[a])}function pt(t){const e=at&&at.tags;e&&e.length&&lt&&dt(lt,"banner-tags.iife.js","AiaraTags").then(a=>{a&&a.applyTags(e,t)})}function ut(t,e){const a=(t.forced_language||document.documentElement.lang||"de").toUpperCase().substring(0,2);return X({cmpId:t.cmp_id||0,cmpVersion:t.cmp_version||1,consentLanguage:a,vendorListVersion:t.vendor_list_version||0,tcfPolicyVersion:t.tcf_policy_version||5,publisherCC:t.publisher_country_code||"CH",purposeConsents:e.purposeConsents||[],purposeLegitimateInterests:e.purposeLI||[],specialFeatureOptins:e.specialFeatureOptins||[],vendorConsents:e.vendorConsents||[],vendorLegitimateInterests:e.vendorLI||[],disclosedVendors:e.disclosedVendors||[],consentScreen:1})}function gt(t){const e=[];return t.functional&&e.push(1,11),t.analytics&&e.push(7,8,9),t.marketing&&e.push(2,3,4,5,6,10),e}function mt(t,e){const a=(t.forced_language||document.documentElement.lang||"de").toUpperCase().substring(0,2);return{cmpId:t.cmp_id||0,cmpVersion:t.cmp_version||1,consentLanguage:a,vendorListVersion:t.vendor_list_version||0,tcfPolicyVersion:t.tcf_policy_version||5,publisherCC:t.publisher_country_code||"CH",purposeConsents:gt(e),purposeLegitimateInterests:[],vendorConsents:[],vendorLegitimateInterests:[],disclosedVendors:[],purposeOneTreatment:!1,consentScreen:1}}function ft(t,e,a,n){if(!document.getElementById("aiara-legal-styles")){const t=document.createElement("style");t.id="aiara-legal-styles",t.textContent=' [data-aiara-legal] { --al-text:#374151; --al-head:#111827; --al-head3:#1f2937; --al-link:#2563eb; --al-link-h:#1d4ed8; --al-border:#e5e7eb; --al-th-bg:#f9fafb; --al-row-bg:#f9fafb; --al-th-text:#374151; line-height: 1.75; color: var(--al-text); } [data-aiara-legal][data-aiara-theme="light"] { --al-text:#e5e7eb; --al-head:#f9fafb; --al-head3:#f3f4f6; --al-link:#93c5fd; --al-link-h:#bfdbfe; --al-border:rgba(255,255,255,0.18); --al-th-bg:rgba(255,255,255,0.07); --al-row-bg:rgba(255,255,255,0.04); --al-th-text:#f3f4f6; } [data-aiara-legal] h1 { font-weight: 700; color: var(--al-head); margin-bottom: 1.5rem; } [data-aiara-legal] h2 { font-weight: 700; color: var(--al-head); margin-top: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--al-border); } [data-aiara-legal] h3 { font-weight: 600; color: var(--al-head3); margin-top: 1.5rem; margin-bottom: 0.75rem; } [data-aiara-legal] p { margin-bottom: 1rem; } [data-aiara-legal] ul, [data-aiara-legal] ol { margin: 0 0 1rem !important; padding: 0 0 0 1.5rem !important; } [data-aiara-legal] ul { list-style-type: disc; } [data-aiara-legal] ol { list-style-type: decimal; } [data-aiara-legal] li { margin: 0 0 0.375rem !important; padding: 0 !important; line-height: 1.6; } [data-aiara-legal] li:last-child { margin-bottom: 0 !important; } [data-aiara-legal] a { color: var(--al-link); text-decoration: underline; } [data-aiara-legal] a:hover { color: var(--al-link-h); } [data-aiara-legal] strong { font-weight: 600; } [data-aiara-legal] table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9em; } [data-aiara-legal] th { background: var(--al-th-bg); font-weight: 600; text-align: left; padding: 0.625rem 0.75rem; border: 1px solid var(--al-border); color: var(--al-th-text); } [data-aiara-legal] td { padding: 0.5rem 0.75rem; border: 1px solid var(--al-border); vertical-align: top; } [data-aiara-legal] tr:nth-child(even) td { background: var(--al-row-bg); } ',document.head.appendChild(t)}function i(i){const o=i.getAttribute("data-aiara-legal");if("privacy_policy"!==o&&"imprint"!==o)return;if(i.dataset.aiaraLoaded)return;const r=(n||document.documentElement.lang||"de").substring(0,2),s=i.getAttribute("data-aiara-lang")||r;"light"===a&&i.setAttribute("data-aiara-theme","light"),i.dataset.aiaraLoaded="1",i.innerHTML='<div style="text-align:center;padding:2rem;opacity:0.5;">...</div>',fetch(`${e}/api/v1/legal/${t}/${o}?lang=${s}`).then(t=>t.ok?t.text():"").then(t=>{i.innerHTML=t||""}).catch(()=>{i.innerHTML=""})}document.querySelectorAll("[data-aiara-legal]").forEach(i),new MutationObserver(t=>{var e,a;for(const n of t)for(const t of n.addedNodes)1===t.nodeType&&((null==(e=t.hasAttribute)?void 0:e.call(t,"data-aiara-legal"))&&i(t),null==(a=t.querySelectorAll)||a.call(t,"[data-aiara-legal]").forEach(i))}).observe(document.body,{childList:!0,subtree:!0})}document.addEventListener("click",t=>{var e;const n=t.target.closest("[data-aiara-unlock]");if(!n)return;t.preventDefault();const i=n.getAttribute("data-aiara-unlock");if(!i)return;const o={...nt||r()||{necessary:!0},necessary:!0,[i]:!0};if(it&&at)it(o,"placeholder_unlock",at);else{try{s(o,window.location.hostname.replace(/^www\./,""))}catch{}const t=null==(e=a())?void 0:e.integrations;g(o,t),f(o,t),b(o,t),h(o),pt(o),$(o)}}),function(){const n=document.currentScript||document.querySelector("script[data-domain-id]"),i=window.aiaraGtm||{},o=t=>n?n.getAttribute(t):null,d=o("data-domain-id")||i.domainId,p=o("data-api-base")||i.apiBase;
1if(!d||!p)return void console.warn("[Aiara] Missing data-domain-id/data-api-base (or window.aiaraGtm)");const v=parseInt(o("data-cmp-id")||"",10);function y(){!async function(n,i,o=null){var d,p,v,y;if(!n)return void console.warn("[Aiara] Missing data-domain-id attribute");const w=a();u(null==w?void 0:w.integrations),m(null==w?void 0:w.integrations);const x=await async function(a,n){try{const a=localStorage.getItem(t);if(a){const{data:t,timestamp:n}=JSON.parse(a);if(t&&t.domain_id&&Date.now()-n<e)return t}}catch{localStorage.removeItem(t)}try{const e=await fetch(`${n}/api/v1/banner/${a}`,{credentials:"omit",headers:{Accept:"application/json"}});if(!e.ok)return console.warn("[Aiara] Failed to load banner config:",e.status),null;const i=await e.json();return i&&i.domain_id&&localStorage.setItem(t,JSON.stringify({data:i,timestamp:Date.now()})),i}catch(i){return console.warn("[Aiara] Config fetch error:",i),null}}(n,i);if(!x)return;null!==o&&(x.cmp_id=o);!(null==(d=null==w?void 0:w.integrations)?void 0:d.msuet_enabled)&&(null==(p=x.integrations)?void 0:p.msuet_enabled)&&m(x.integrations);lt=i,at=x,nt=r(),it=O;const _=window.location.hostname.replace(/^www\./,""),k=x.hostname.replace(/^www\./,""),C=x.staging_hostname?x.staging_hostname.replace(/^www\./,""):null,A="localhost"===_||"127.0.0.1"===_||"::1"===_||/\.(test|local|localhost)$/i.test(_),L=C&&_===C;if((L||!(_===k||x.wildcard_subdomains_enabled&&_.endsWith("."+k)))&&!L&&!A)return void console.warn("[Aiara] Domain mismatch:",_,"!==",k);x.is_staging=x.is_staging||L||A,null==(v=document.getElementById("aiara-test-badge"))||v.remove(),null==(y=document.getElementById("aiara-test-badge-style"))||y.remove(),x.is_staging&&console.info("[Aiara] Test-Modus (Staging/Dev) — Consents zählen nicht zur Statistik.");let E=null,z=null;if(x.ab_test){const t=`aiara_ab_${x.ab_test.id}`,e=localStorage.getItem(t);if("a"===e||"b"===e)z=e;else{const e=100*Math.random();z=e<x.ab_test.traffic_split?"b":"a",localStorage.setItem(t,z)}E=x.ab_test.id;const a="b"===z?x.ab_test.variant_b:x.ab_test.variant_a;if(a)for(const[n,i]of Object.entries(a))"colors"===n&&"object"==typeof i&&x.colors?Object.assign(x.colors,i):"texts"===n&&"object"==typeof i&&x.texts?Object.assign(x.texts,i):x[n]=i}x.tcf_enabled&&(V(x),rt=await dt(i,"banner-tcf.iife.js","AiaraTcfUI"),rt&&(ot=await rt.fetchGvl(n,i)),ot||console.warn("[Aiara TCF] GVL/UI nicht ladbar — TCF-UI fällt aus"));if(x.us_privacy_enabled&&!1!==x.visitor_in_us){const t=(new Date).getTimezoneOffset();if(!0===x.visitor_in_us||t>=240&&t<=600){const t=await dt(i,"banner-gpp.iife.js","AiaraUsPrivacy");ct=!0;if(!(!t||!t.initUsPrivacy(x,{onDecision:(t,e)=>O(t,e,x,"us_initial"!==e)})))return void ft(n,i,x.legal_text_theme||"dark",x.forced_language);ct=!1}}document.addEventListener("click",t=>{var e,a;const n=null==(a=(e=t.target).closest)?void 0:a.call(e,".aiara-reopen,[data-aiara-reopen]");n&&"aiara-reopen"!==n.id&&(t.preventDefault(),M(x))}),window.aiara=Object.assign(window.aiara||{},{open:()=>M(x)});const j=r();if(j){if(l(j),g(j,x.integrations),f(j,x.integrations),b(j,x.integrations),h(j),pt(j),$(j),x.tcf_enabled){let t=null;try{t=JSON.parse(localStorage.getItem("aiara_tcf_sel")||"null")}catch{}if(t){const e=ut(x,t),a=window.location.hostname.replace(/^www\./,"");document.cookie=`euconsent-v2=${e};path=/;max-age=31536000;SameSite=Lax;domain=.${a}`,P(e,t)}else{P(X(mt(x,j)),{purposeConsents:gt(j)})}}return!1!==x.show_reopen_button&&I(()=>M(x),x),void ft(n,i,x.legal_text_theme||"dark",x.forced_language)}function M(t){var e,a,n;if(null==(e=document.getElementById("aiara-consent-banner"))||e.remove(),null==(a=document.getElementById("aiara-tcf"))||a.remove(),t.tcf_enabled&&rt&&ot){const e=rt.buildUiShownDefault(ot);try{n=ut(t,e),q=R(n,e)}catch{}F();const a=(t.forced_language||document.documentElement.lang||"de").toLowerCase().substring(0,2);return void rt.renderTcfBanner(t,ot,["de","fr","it","en"].includes(a)?a:"en",{onAcceptAll:()=>T(rt.buildAcceptAll(ot),"accept_all",t),onRejectAll:()=>T(rt.buildRejectAll(ot),"reject_all",t),onSave:e=>T(e,"custom",t)})}t.tcf_enabled&&F(),S(t,()=>O({necessary:!0,functional:!0,analytics:!0,marketing:!0,other:!0},"accept_all",t),()=>O({necessary:!0,functional:!1,analytics:!1,marketing:!1,other:!1},"reject_all",t),e=>O(e,"custom",t))}function T(t,e,a){rt&&rt.saveSelection&&rt.saveSelection(t);const o=e=>t.purposeConsents.includes(e),r={necessary:!0,functional:o(1)||o(11),analytics:[7,8,9].some(o),marketing:[2,3,4,5,6,10].some(o),other:!1},l=window.location.hostname.replace(/^www\./,"");s(r,l),nt=r,g(r,a.integrations),f(r,a.integrations),b(r,a.integrations),h(r),pt(r),$(r);const d=ut(a,t);document.cookie=`euconsent-v2=${d};path=/;max-age=31536000;SameSite=Lax;domain=.${l}`,B(d,t),N();
1const p=c(),u={visitor_id:p,consent_given:r,action:e,page_url:window.location.href};E&&z&&(u.ab_test_variant=z,u.banner_ab_test_id=E),fetch(`${i}/api/v1/consent/${n}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(u)}).catch(t=>console.warn("[Aiara] Consent log failed:",t)),fetch(`${i}/api/v1/consent/${n}/tcf`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({visitor_id:p,tc_string:d,consent_purposes:t.purposeConsents,legitimate_interest_purposes:t.purposeLI,vendor_consents:t.vendorConsents,vendor_legitimate_interests:t.vendorLI,action:e})}).catch(t=>console.warn("[Aiara] TCF log failed:",t)),!1!==a.show_reopen_button&&I(()=>M(a),a)}function O(t,e,a,o=!0){if(s(t,window.location.hostname.replace(/^www\./,"")),nt=t,g(t,a.integrations),f(t,a.integrations),b(t,a.integrations),h(t),pt(t),$(t),a.tcf_enabled&&!ct){N();const e=X(mt(a,t)),n=window.location.hostname.replace(/^www\./,"");document.cookie=`euconsent-v2=${e};path=/;max-age=31536000;SameSite=Lax;domain=.${n}`,B(e,{purposeConsents:gt(t)})}if(o){const a={visitor_id:c(),consent_given:t,action:e,page_url:window.location.href};E&&z&&(a.ab_test_variant=z,a.banner_ab_test_id=E),fetch(`${i}/api/v1/consent/${n}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).catch(t=>console.warn("[Aiara] Consent log failed:",t))}ct||!1===a.show_reopen_button||I(()=>M(a),a)}ft(n,i,x.legal_text_theme||"dark",x.forced_language),M(x)}(d,p,Number.isFinite(v)?v:null)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",y):y()}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.