{"version":3,"sources":["webpack:///./app/javascript/vendor/cookieconsent.js"],"names":["window","addEventListener","cc","initCookieConsent","run","current_lang","navigator","language","split","autoclear_cookies","page_scripts","hide_from_bots","onFirstAction","userPreferences","cookie","onAccept","allowedCategory","document","querySelectorAll","forEach","tag","type","onChange","changed_categories","languages","en","consent_modal","title","description","primary_btn","text","role","secondary_btn","settings_modal","save_settings_btn","accept_all_btn","reject_all_btn","close_btn_label","cookie_table_headers","col1","col2","col3","col4","blocks","toggle","value","enabled","readonly","cookie_table","is_regex","de","gui_options","layout","position","transition","swap_buttons"],"mappings":"4FAAA,uBAGAA,OAAOC,iBAAiB,QAAQ,WAE9B,IAAIC,EAAKC,oBAGTD,EAAGE,IAAI,CACLC,aAAmD,OAArCC,UAAUC,SAASC,MAAM,KAAK,GAAc,KAAO,KACjEC,mBAAmB,EAEnBC,cAAc,EAMdC,gBAAgB,EAWhBC,cAAe,SAAUC,EAAiBC,GACxC,EAGFC,SAAU,SAAUD,GAGdZ,EAAGc,gBAAgB,cACrBC,SACGC,iBAAiB,2BACjBC,SAAQ,SAACC,GAAG,OAAMA,EAAIC,KAAO,UAAU,GAE9C,EAEAC,SAAU,SAAUR,EAAQS,GAC1B,EAGFC,UAAW,CACTC,GAAI,CACFC,cAAe,CACbC,MAAO,kBACPC,YACE,mQACFC,YAAa,CACXC,KAAM,aACNC,KAAM,cAERC,cAAe,CACbF,KAAM,aACNC,KAAM,qBAGVE,eAAgB,CACdN,MAAO,qBACPO,kBAAmB,gBACnBC,eAAgB,aAChBC,eAAgB,aAChBC,gBAAiB,QACjBC,qBAAsB,CACpB,CAAEC,KAAM,QACR,CAAEC,KAAM,UACR,CAAEC,KAAM,cACR,CAAEC,KAAM,gBAEVC,OAAQ,CACN,CACEhB,MAAO,4BACPC,YACE,2YAEJ,CACED,MAAO,6BACPC,YACE,mIACFgB,OAAQ,CACNC,MAAO,YACPC,SAAS,EACTC,UAAU,IAGd,CACEpB,MAAO,oCACPC,YACE,oFACFgB,O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k.js","sourcesContent":["import \"vanilla-cookieconsent\";\nimport \"vanilla-cookieconsent/dist/cookieconsent.css\";\n\nwindow.addEventListener(\"load\", function () {\n // obtain plugin\n var cc = initCookieConsent();\n\n // run plugin with your configuration\n cc.run({\n current_lang: navigator.language.split(\"-\")[0] === \"de\" ? \"de\" : \"en\",\n autoclear_cookies: true, // default: false\n // theme_css: \"\", // 🚨 replace with a valid path\n page_scripts: true, // default: false\n\n // delay: 0, // default: 0\n // auto_language: \"\", // default: null; could also be \"browser\" or \"document\"\n // autorun: true, // default: true\n // force_consent: false, // default: false\n hide_from_bots: true, // default: false\n // remove_cookie_tables: false // default: false\n // cookie_name: \"cc_cookie\", // default: \"cc_cookie\"\n // cookie_expiration: 182, // default: 182 (days)\n // cookie_necessary_only_expiration: 182 // default: disabled\n // cookie_domain: location.hostname, // default: current domain\n // cookie_path: \"/\", // default: root\n // cookie_same_site: \"Lax\", // default: \"Lax\"\n // use_rfc_cookie: false, // default: false\n // revision: 0, // default: 0\n\n onFirstAction: function (userPreferences, cookie) {\n // callback triggered only once on the first accept/reject action\n },\n\n onAccept: function (cookie) {\n // callback triggered on the first accept/reject action, and after each page load\n\n if (cc.allowedCategory(\"analytics\")) {\n document\n .querySelectorAll(\"link[type='text/plain']\") // google fonts\n .forEach((tag) => (tag.type = \"text/css\"));\n }\n },\n\n onChange: function (cookie, changed_categories) {\n // callback triggered when user changes preferences after consent has already been given\n },\n\n languages: {\n en: {\n consent_modal: {\n title: \"We use cookies!\",\n description:\n 'Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent. ',\n primary_btn: {\n text: \"Accept all\",\n role: \"accept_all\", // \"accept_selected\" or \"accept_all\"\n },\n secondary_btn: {\n text: \"Reject all\",\n role: \"accept_necessary\", // \"settings\" or \"accept_necessary\"\n },\n },\n settings_modal: {\n title: \"Cookie preferences\",\n save_settings_btn: \"Save settings\",\n accept_all_btn: \"Accept all\",\n reject_all_btn: \"Reject all\",\n close_btn_label: \"Close\",\n cookie_table_headers: [\n { col1: \"Name\" },\n { col2: \"Domain\" },\n { col3: \"Expiration\" },\n { col4: \"Description\" },\n ],\n blocks: [\n {\n title: \"Cookie usage 📢\",\n description:\n 'We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want. For more details relative to cookies and other sensitive data, please read the full privacy policy.',\n },\n {\n title: \"Strictly necessary cookies\",\n description:\n \"These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly\",\n toggle: {\n value: \"necessary\",\n enabled: true,\n readonly: true, // cookie categories with readonly=true are all treated as \"necessary cookies\"\n },\n },\n {\n title: \"Performance and Analytics cookies\",\n description:\n \"These cookies allow the website to remember the choices you have made in the past\",\n toggle: {\n value: \"analytics\", // your cookie category\n enabled: true,\n readonly: false,\n },\n cookie_table: [\n // list of all expected cookies\n {\n col1: \"^_ga\", // match all cookies starting with \"_ga\"\n col2: \"google.com\",\n col3: \"2 years\",\n col4: \"description ...\",\n is_regex: true,\n },\n {\n col1: \"_gid\",\n col2: \"google.com\",\n col3: \"1 day\",\n col4: \"description ...\",\n },\n ],\n },\n {\n title: \"Advertisement and Targeting cookies\",\n description:\n \"These cookies collect information about how you use the website, which pages you visited and which links you clicked on. All of the data is anonymized and cannot be used to identify you\",\n toggle: {\n value: \"targeting\",\n enabled: false,\n readonly: false,\n },\n },\n {\n title: \"More information\",\n description:\n 'For any queries in relation to our policy on cookies and your choices, please contact us.',\n },\n ],\n },\n },\n de: {\n consent_modal: {\n title: \"Wir benutzen Cookies!\",\n description:\n 'Diese Website verwendet notwendige Cookies, um einen ordnungsgemäßen Betrieb zu gewährleisten, und Tracking-Cookies, um zu verstehen, wie du mit ihr interagierst. Letztere werden nur nach deiner Zustimmung gesetzt. ',\n primary_btn: {\n text: \"Alle akzeptieren\",\n role: \"accept_all\", // \"accept_selected\" or \"accept_all\"\n },\n secondary_btn: {\n text: \"Alle ablehnen\",\n role: \"accept_necessary\", // \"settings\" or \"accept_necessary\"\n },\n },\n settings_modal: {\n title: \"Cookie-Einstellungen\",\n save_settings_btn: \"Einstellungen speichern\",\n accept_all_btn: \"Alle akzeptieren\",\n reject_all_btn: \"Alle ablehnen\",\n close_btn_label: \"Close\",\n cookie_table_headers: [\n { col1: \"Name\" },\n { col2: \"Domain\" },\n { col3: \"Gültigkeit\" },\n { col4: \"Beschreibung\" },\n ],\n blocks: [\n {\n title: \"Verwendung von Cookies 📢\",\n description:\n 'Wir verwenden Cookies, um die grundlegenden Funktionen der Website zu gewährleisten und um dein Online-Erlebnis zu verbessern. Du kannst bei jeder Kategorie entscheiden, ob du die Verwendung von Cookies zulassen oder ablehnen möchtest, wann immer du willst. Für weitere Details zu den Cookies und anderen sensiblen Daten lies bitte die vollständige Datenschutzerklärung..',\n },\n {\n title: \"Unbedingt notwendige Cookies\",\n description:\n \"Diese Cookies sind für das reibungslose Funktionieren dieser Website unerlässlich. Ohne diese Cookies würde die Website nicht richtig funktionieren.\",\n toggle: {\n value: \"necessary\",\n enabled: true,\n readonly: true, // cookie categories with readonly=true are all treated as \"necessary cookies\"\n },\n },\n {\n title: \"Leistungs- und Analyse-Cookies\",\n description:\n \"Diese Cookies ermöglichen es der Website, sich an die von dir in der Vergangenheit getroffene Auswahl zu erinnern.\",\n toggle: {\n value: \"analytics\", // your cookie category\n enabled: true,\n readonly: false,\n },\n cookie_table: [\n // list of all expected cookies\n {\n col1: \"^_ga\", // match all cookies starting with \"_ga\"\n col2: \"google.com\",\n col3: \"2 years\",\n col4: \"description ...\",\n is_regex: true,\n },\n {\n col1: \"_gid\",\n col2: \"google.com\",\n col3: \"1 day\",\n col4: \"description ...\",\n },\n ],\n },\n {\n title: \"Cookies für Werbung und Zielgruppenansprache\",\n description:\n \"Diese Cookies sammeln Informationen darüber, wie du die Website genutzt, welche Seiten du besucht und auf welche Links du geklickt hast. Alle Daten sind anonymisiert und können nicht dazu verwendet werden, dich zu identifizieren.\",\n toggle: {\n value: \"targeting\",\n enabled: false,\n readonly: false,\n },\n },\n {\n title: \"Weitere Informationen\",\n description:\n 'Wenn du Fragen zu unserer Cookie-Richtlinie und deinen Optionen hast, bitte kontaktiere uns..',\n },\n ],\n },\n },\n },\n\n gui_options: {\n consent_modal: {\n layout: \"box\", // box/cloud/bar\n position: \"bottom right\", // bottom/middle/top + left/right/center\n transition: \"slide\", // zoom/slide\n swap_buttons: false, // enable to invert buttons\n },\n settings_modal: {\n layout: \"box\", // box/bar\n // position: \"left\", // left/right\n transition: \"slide\", // zoom/slide\n },\n },\n });\n});\n"],"sourceRoot":""}