PageSourceSearch

https://www.technoseum.de/typo3conf/ext/sitepackage/Resources/Public/JavaScript/KlaroConfig.js?1730717796

js technoseum.de collected 2026-10-02 07:19:02 UTC 19,124 bytes, 299 lines download raw bytes

1// By default, Klaro will load the config from  a global "klaroConfig" variable.
2// You can change this by specifying the "data-config" attribute on your
3// script take, e.g. like this:
4// <script src="klaro.js" data-config="myConfigVariableName" />
5// You can also disable auto-loading of the consent notice by adding
6// data-no-auto-load=true to the script tag.
7var klaroConfig = {
8    // You can customize the ID of the DIV element that Klaro will create
9    // when starting up. If undefined, Klaro will use 'klaro'.
10    elementID: 'klaro',
11
12    // How Klaro should store the user's preferences. It can be either 'cookie'
13    // (the default) or 'localStorage'.
14    storageMethod: 'cookie',
15
16    // You can customize the name of the cookie that Klaro uses for storing
17    // user consent decisions. If undefined, Klaro will use 'klaro'.
18    cookieName: 'klaro',
19
20    // You can also set a custom expiration time for the Klaro cookie.
21    // By default, it will expire after 120 days.
22    cookieExpiresAfterDays: 365,
23
24    // You can change to cookie domain for the consent manager itself.
25    // Use this if you want to get consent once for multiple matching domains.
26    // If undefined, Klaro will use the current domain.
27    //cookieDomain: '.github.com',
28
29    // Put a link to your privacy policy here (relative or absolute).
30    privacyPolicy: {
31        default: '/privacy-policy/',
32        de: '/datenschutz/',
33    },
34
35    // Defines the default state for applications (true=enabled by default).
36    default: false,
37
38    // If "mustConsent" is set to true, Klaro will directly display the consent
39    // manager modal and not allow the user to close it before having actively
40    // consented or declines the use of third-party apps.
41    mustConsent: false,
42
43    // Show "accept all" to accept all apps instead of "ok" that only accepts
44    // required and "default: true" apps
45    acceptAll: true,
46
47    // replace "decline" with cookie manager modal
48    hideDeclineAll: false,
49
50    // hide "learnMore" link
51    hideLearnMore: false,
52
53    // You can define the UI language directly here. If undefined, Klaro will
54    // use the value given in the global "lang" variable. If that does
55    // not exist, it will use the value given in the "lang" attribute of your
56    // HTML tag. If that also doesn't exist, it will use 'en'.
57    //lang: 'en',
58
59    // You can overwrite existing translations and add translations for your
60    // app descriptions and purposes. See `src/translations/` for a full
61    // list of translations that can be overwritten:
62    // https://github.com/KIProtect/klaro/tree/master/src/translations
63
64    // Example config that shows how to overwrite translations:
65    // https://github.com/KIProtect/klaro/blob/master/src/configs/i18n.js
66    translations: {
67        // If you erase the "consentModal" translations, Klaro will use the
68        // bundled translations.
69        de: {
70            // Vorlage siehe https://github.com/kiprotect/klaro/blob/master/src/translations/de.yml
71            consentNotice: {
72                learnMore: 'Einstellungen',
73                description: 'Wir sammeln und verarbeiten Daten wie z.B. Cookies, um Video- und Kartendienste sowie Funktionen für soziale Medien anbieten zu können, Inhalte zu personalisieren sowie die Zugriffe auf unsere Webseite zu analysieren. Einige deiner Daten werden durch Anbieter in den USA verarbeitet, was mit entsprechenden Risiken, z. B. eines heimlichen Datenzugriffs durch US-Behörden, verbunden ist. Mit deiner Einwilligung erklärst du dich auch mit der Verarbeitung deiner Daten in den USA einverstanden.',
74                extraHTML: '<p><a href="/datenschutz/">Datenschutz</a> | <a href="/impressum/">Impressum</a> </p>',
75            },
76            consentModal: {
77                title: 'Einstellungen',
78                description: 'Hier findest du eine Übersicht über die individualisierbaren Einstellungen. Du kannst alle Häkchen setzen oder nur bestimmte Funktionen auswählen. Einige deiner Daten werden durch den Hauptsitz von Google in den USA verarbeitet, was mit entsprechenden Risiken, z. B. eines heimlichen Datenzugriffs durch US-Behörden, verbunden ist. Mit deiner Einwilligung, der hier genannten Google Dienste, erklärst du dich auch mit der Verarbeitung deiner Daten in den USA einverstanden.',
79                privacyPolicy: {
80                    name: 'Datenschutzerklärung',
81                    text: 'Weitere Details findest du in unserer {privacyPolicy}.',
82                }
83            },
84            acceptAll: 'Alle akzeptieren',
85            app: {
86                disableAll: {
87                    description: 'Nutze diesen Schalter, um alle Apps zu aktivieren/deaktivieren.',
88                },
89            },
90            
91            youtube: {
92                description: 'Zum Abspielen von Videos verwenden wir YouTube von Google Ireland Limited („Google“), deren Hauptsitz in den USA ist. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. lit. a) DSGVO und § 25 Abs. 1 TDDDG.',
93            },
94            softgarden: {
95                description: 'Für die Darstellung von Stellenangeboten verwenden wir Softgarden von softgarden e-recruiting GmbH. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. a) DSGVO und § 25 Abs. 1 TDDDG.',
96            },
97            googleMaps: {
98                description: 'Für die Darstellung von Karten verwenden wir Google Maps von Google Ireland Limited („Google“), deren Hauptsitz in den USA ist. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. a) DSGVO und § 25 Abs. 1 TDDDG.',
99            },
100            googleTagManager: {
101                title: 'Google Tag Manager mit Google Ads und Google Analytics',
102                description: 'Wir verwenden den Google Tag Manager von Google Ireland Limited („Google“), deren Hauptsitz in den USA ist. Der Google Tag Manager dient zur Steuerung und Implementierung der Dienste Google Analytics und Google Ads. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. a) DSGVO. Google Ads: Wir verwenden Google Ads von Google Ireland Limited („Google“), deren Hauptsitz in den USA ist. Google Ads verwenden wir für unser Marketing und der damit verbundenen Erfolgsmessung unserer Online-Werbung. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. a) DSGVO und § 25 Abs. 1 TDDDG. Google Analytics: Wir verwenden Google Analytics mit Einbindung der IP-Anonym
102isierung von Google Ireland Limited („Google“), deren Hauptsitz in den USA ist. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. a) DSGVO und § 25 Abs. 1 TDDDG.',
103            },
104            necessary: {
105                description: 'Essenzielle Cookies ermöglichen grundlegende Funktionen und sind für das Funktionieren der Website erforderlich. Man kann diese Cookies nicht deaktivieren. Die Verwendung erfolgt auf der Rechtsgrundlage gemäß Art. 6 Abs. 1 lit. c) und f) DSGVO.',
106                title: 'Notwendig',
107            },
108            purposes: {
109                necessary: 'Notwendig',
110                functional: 'Funktionell',
111                analytics: 'Analyse',
112                externalmedia: 'Externe Medien',
113            },
114        },
115        en: {
116            consentNotice: {
117                learnMore: 'Settings',
118                description: 'We collect and process data such as Cookies in order to be able to offer video and map services as well as functions for social media, personalize content and analyze the access to our website. Some of your data is processed by providers in the USA, which involves corresponding risks, e.g. B. a secret data access by US authorities. With your consent, you also consent to the processing of your data in the United States.',
119                extraHTML: '<p><a href="/privacy-policy/">Privacy Policy</a> | <a href="/imprint/">Imprint</a> </p>',
120            },
121            consentModal: {
122                title: 'Customize',
123                description: 'Here you will find an overview of the customizable settings. You can tick all the boxes and agree to an optimal website experience or select only certain functions.',
124                privacyPolicy: {
125                    name: 'privacy policy',
126                    text: 'You can find more details in our {privacyPolicy}.',
127                }
128            },
129            acceptAll: 'Accept all',
130            
131            youtube: {
132                description: 'We use YouTube from Google Ireland Limited (“Google”), which is headquartered in the USA, to play videos. Some of your data is processed by YouTube in the USA, which entails corresponding risks, e.g. B. a secret data access by US authorities. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR. With your consent, you also consent to the processing of your data in the United States.',
133            },
134            softgarden: {
135                description: 'For the presentation of job advertisements, we use Softgarden from softgarden e-recruiting GmbH. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR.',
136            },
137            googleMaps: {
138                description: 'We use Google Maps from Google Ireland Limited (“Google”), which is headquartered in the USA, to display maps. Some of your data is processed by Google Maps and Google Analytics in the USA, which is associated with corresponding risks, e.g. B. a secret data access by US authorities. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR. With your consent, you also consent to the processing of your data in the United States.',
139            },
140            googleTagManager: {
141                title: 'Google Tag Manager, Google Ads and Google Analytics',
142                description: 'We use Google Tag Manager from Google Ireland Limited (“Google”, whose headquarters are in the USA. Google Tag Manager is used to implement and organize the services Google Analytics and Google Ads. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR. Google Ads: We use Google Ads from Google Ireland Limited (“Google”, whose headquarters are in the USA. Google Ads is used for our marketing and the analysis of our online advertisements. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR and § 25 Para. 1 TDDDG. Google Analytics: We use Google Analytics with the integration of IP anonymization from Google Ireland Limited ("Google"), whose headquarters are in the USA. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. a) GDPR and § 25 Para. 1 TDDDG.',
143            },
144            necessary: {
145                description: 'Essential cookies enable basic functions and are necessary for the functioning of the website. You cannot deactivate these cookies. The use takes place on the legal basis according to Art. 6 Para. 1 S. 1 lit. c) and f) GDPR.',
146                title: 'Necessary',
147            },
148            purposes: {
149                necessary: 'necessary',
150                functional: 'functional',
151                analytics: 'analysis',
152                externalmedia: 'external media',
153            },
154        },
155     },
156
157    // This is a list of third-party apps that Klaro will manage for you.
158    apps: [
159        /*
160        {
161            // Each app should have a unique (and short) name.
162            name: 'matomo',
163
164            // If "default" is set to true, the app will be enabled by default
165            // Overwrites global "default" setting.
166            // We recommend leaving this to "false" for apps that collect
167            // personal information.
168            default: true,
169
170            // The title of you app as listed in the consent modal.
171            title: 'Matomo/Piwik',
172
173            // The purpose(s) of this app. Will be listed on the consent notice.
174            // Do not forget to add translations for all purposes you list here.
175            purposes: ['analytics'],
176
177            // A list of regex expressions or strings giving the names of
178            // cookies set by this app. If the user withdraws consent for a
179            // given app, Klaro will then automatically delete all matching
180            // cookies.
181            cookies: [
182                // you can also explicitly provide a path and a domain for
183                // a given cookie. This is necessary if you have apps that
184                // set cookies for a path that is not "/" or a domain that
185                // is not the current domain. If you do not set these values
186                // properly, the cookie can't be deleted by Klaro
187                // (there is no way to access the path or domain of a cookie in JS)
188                // Notice that it is not possible to delete cookies that were set
189                // on a third-party domain! See the note at mdn:
190                // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#new-cookie_domain
191                [/^_pk_.*$/, '/', 'klaro.kiprotect.com'], //for the production version
192                [/^_pk_.*$/, '/', 'localhost'], //for the local version
193                'piwik_ignore',
194            ],
195
196            // An optional callback function that will be called each time
197            // the consent state for the app changes (true=consented). Passes
198            // the `app` config as the second parameter as well.
199            callback: function(consent, app) {
200                // This is an example callback function.
201                console.log(
202                    'User consent for app ' + app.name + ': consent=' + consent
203                );
204            },
205
206            // If "required" is set to true, Klaro will not allow this app to
207            // be disabled by the user.
208            required: false,
209
210            // If "optOut" is set to true, Klaro will load this app even before
211            // the user gave explicit consent.
212            // We recommend always leaving this "false".
213            optOut: false,
214
215            // If "onlyOnce" is set to true, the app will only be executed
216            // once regardless how often the user toggles it on and off.
217            onlyOnce: true,
218        },
219        */
220
221        // The apps will appear in the modal in the same order as defined here.
222        {
223            name: 'necessary',
224            purposes: ['necessary'],
225            required: true,
226        },
227        {
228            name: 'softgarden',
229            title: 'Softgarden (Stellenangebote)',
230            purposes: ['functional'],
231            callback: function(consent, app) {
232                // Video benötigt: data-name="youtube" data-src="..."
233                var consentcheck = app.name + consent;
234                if (consentcheck == "softgardenfalse") {
235                    $(".softgarden-embed iframe").each(function() {
236                        if (klaro.language() == "de") {
237                            $(this).parent().addClass("blocked").prepend('<div class="klaro-content-message">Deine Einstellungen blockieren die Anzeige von Stellenangeboten<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Einstellungen ändern</button></div>');
238                        }
239                        else if (klaro.language() == "en") {
240                            $(this).parent().addClass("blocked").prepend('<div class="klaro-content-message">Unfortunately, your cookie settings block the display of job advertisements<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Change settings</button></div>');
241                        }
242                    });
243                } else {
244                    $(".softgarden-embed iframe").each(function() {
245                        $(this).parent().removeClass("blocked").find(".klaro-content-message").remove(); 
246                    });
247                }
248            },
249        },
250        {
251            name: 'youtube',
252            title: 'Google YouTube',
253            purposes: ['functional'],
254            callback: function(consent, app) {
255                // Video benötigt: data-name="youtube" data-src="..."
256                var consentcheck = app.name + consent;
257                if (consentcheck == "youtubefalse") {
258                    $(".video-embed iframe").each(function() {
259                        if (klaro.language() == "de") {
260                            $(this).parent().addClass("blocked").prepend('<div class="klaro-content-message">Deine Einstellungen blockieren die Anzeige eines YouTube Videos<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Einstellungen ändern</button></div>');
261                        }
262                        else if (klaro.language() == "en") {
263                            $(this).parent().addClass("blocked").prepend('<div class="klaro-content-message">Unfortunately, your cookie settings block video playback.<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Change settings</button></div>');
264                        }
265                    });
266                } else {
267                    $(".video-embed iframe").each(function() {
268                        $(this).parent().removeClass("blocked").find(".klaro-content-message").remove(); 
269                    });
270                }
271            },
272        },
273        {
274            name: 'googleMaps',
275            title: 'Google Maps',
276            purposes: ['functional'],
277            callback: function(consent, app) {
278                // Karte benötigt: data-name="googleMaps" data-src="..."
279                var consentcheck = app.name + consent;
280                if (consentcheck == "googleMapsfalse") {
281                    if (klaro.language() == "de") {
282                        // $("#gmap").addClass("blocked").prepend('<div class="klaro-content-message">Deine Einstellungen blockieren die Anzeige einer Google-Maps Karte.<br /><br /><button class="btn-primary" onclick="klaro.getManager().updateConsent(\'googleMaps\', true);klaro.getManager().saveAndApplyConsents();">Erlauben</button></div>');
283                        $("#gmap").addClass("blocked").prepend('<div class="klaro-content-message">Deine Einstellungen blockieren die Anzeige einer Google-Maps Karte<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Einstellungen ändern</button></div>');
284                    }
285                    else if (klaro.language() == "en") {
286                        $("#gmap").addClass("blocked").prepend('<div class="klaro-content-message">Unfortunately, your cookie settings block the display of maps.<br /><br /><button class="btn-primary" onclick="klaro.show(undefined, true);">Change settings</button></div>');
287                    }
288                } else {
289                    $("#gmap").removeClass("blocked").find(".klaro-content-message").remove(); 
290                } 
291            },
292        },
293        {
294            name: 'googleTagManager',
295            //title: 'Google Tag Manager',
296            purposes: ['analytics'],
297        },
298    ],
299};

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.