diff --git a/cb.js b/cb.js
index 029cf0f..39fcaae 100644
--- a/cb.js
+++ b/cb.js
@@ -5,4 +5,4 @@
* @copy 2022-2024 Intastellar Solutions, International
*
*/
-const pSBC = (e, t, n, i) => { let o, a, s, l, r, c, d, g = parseInt, u = Math.round, p = "string" == typeof n; return "number" != typeof e || e < -1 || e > 1 || "string" != typeof t || "r" != t[0] && "#" != t[0] || n && !p ? null : (this.pSBCr || (this.pSBCr = e => { let t = e.length, n = {}; if (t > 9) { if ([o, a, s, p] = e = e.split(","), t = e.length, t < 3 || t > 4) return null; n.r = g("a" == o[3] ? o.slice(5) : o.slice(4)), n.g = g(a), n.b = g(s), n.a = p ? parseFloat(p) : -1 } else { if (8 == t || 6 == t || t < 4) return null; t < 6 && (e = "#" + e[1] + e[1] + e[2] + e[2] + e[3] + e[3] + (t > 4 ? e[4] + e[4] : "")), e = g(e.slice(1), 16), 9 == t || 5 == t ? (n.r = e >> 24 & 255, n.g = e >> 16 & 255, n.b = e >> 8 & 255, n.a = u((255 & e) / .255) / 1e3) : (n.r = e >> 16, n.g = e >> 8 & 255, n.b = 255 & e, n.a = -1) } return n }), d = t.length > 9, d = p ? n.length > 9 || "c" == n && !d : d, r = this.pSBCr(t), l = e < 0, c = n && "c" != n ? this.pSBCr(n) : l ? { r: 0, g: 0, b: 0, a: -1 } : { r: 255, g: 255, b: 255, a: -1 }, l = 1 - (e = l ? -1 * e : e), r && c ? (i ? (o = u(l * r.r + e * c.r), a = u(l * r.g + e * c.g), s = u(l * r.b + e * c.b)) : (o = u((l * r.r ** 2 + e * c.r ** 2) ** .5), a = u((l * r.g ** 2 + e * c.g ** 2) ** .5), s = u((l * r.b ** 2 + e * c.b ** 2) ** .5)), p = r.a, c = c.a, r = p >= 0 || c >= 0, p = r ? p < 0 ? c : c < 0 ? p : p * l + c * e : 0, d ? "rgb" + (r ? "a(" : "(") + o + "," + a + "," + s + (r ? "," + u(1e3 * p) / 1e3 : "") + ")" : "#" + (4294967296 + 16777216 * o + 65536 * a + 256 * s + (r ? u(255 * p) : 0)).toString(16).slice(1, r ? void 0 : -2)) : null) }; let message = "", cookieBtn = ""; const banner = document.createElement("inta-consents-settings-btn"), bannerContent = document.createElement("button"), intastellarLogo = "https://www.intastellarsolutions.com/assets/logos/intastellar-logo-new-white.svg", moreSettings = document.createElement("inta-consents-banner"), moreSettingsContent = document.createElement("section"), moreintHeader = document.createElement("intheader"), moreContentText = document.createElement("section"), moreFooter = document.createElement("footer"), intaconsents = document.createElement("intastellarconsents"), pluginSource = void 0 === findScriptParameter("utm_source") ? "Intastellar+Solutions+Cookiebanner" : findScriptParameter("utm_source"); window.platform = void 0 === findScriptParameter("utm_source") ? "Manual" : findScriptParameter("utm_source"); let intastellarCookieLanguageSettings = "Cookie Indstillinger"; "de" == intastellarCookieLanguage ? intastellarCookieLanguageSettings = "Cookie Einstellungen" : "en" == intastellarCookieLanguage && (intastellarCookieLanguageSettings = "Cookie Settings"), moreSettings.setAttribute("class", "intastellarCookieConstents"), moreSettingsContent.setAttribute("class", "intastellarCookieConstents__content"), moreintHeader.setAttribute("class", "intastellarCookieConstents__content-intHeader"), moreFooter.setAttribute("class", "intastellarCookieConstents__content-footer"), moreContentText.setAttribute("class", "intastellarCookieConstents__content-main"); const intastellarCookieConstents__Container = document.createElement("article"), intastellarCookieButtons = document.createElement("section"), testSection = document.createElement("section"); testSection.setAttribute("class", "intastellarCookieConstents__contentC"), testSection.appendChild(moreintHeader), testSection.appendChild(moreContentText), moreSettingsContent.appendChild(intastellarCookieConstents__Container), intastellarCookieConstents__Container.appendChild(testSection), intastellarCookieConstents__Container.appendChild(intastellarCookieButtons), intastellarCookieConstents__Container.appendChild(moreFooter); const cookieSettings = document.createElement("article"), cookieSettingsContent = document.createElement("section"); bannerContent.setAttribute("class", "intastellarCookie-settingsContainer"), intastellarCookieButtons.setAttribute("class", "intastellarCookie-settings__buttons"), bannerContent.setAttribute("title", intastellarCookieLanguageSettings), cookieSettings.setAttribute("class", "intastellarCookie-settings__container"), banner.setAttribute("onclick", "javascript:IntastellarCookieConsent.renew();"); const arrange = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.arrange ? "" : window?.INTA?.settings.arrange; function setIntastellarPartnerDomain() { if (null !== window?.INTA?.settings.partnerDomain && window?.INTA?.settings?.partnerDomain?.length > 0) { const e = document.createElement("iframe"); e.src = "/cookieSharingIframe.html", e.id = "intastellarCrossSiteCheck", e.style.display = "none", e.style.position = "absolute", e.style.top = "-100%", e.style.left = "-100%" } } "ltr" == arrange && (bannerContent.classList.add("intastellarCookie-settingsContainer--otherSide"), cookieSettings.classList.add("intastellarCookie-settings__container--otherSide")); const messages = { danish: "Ved at acceptere alle cookies understøtter du " + document.domain + " med at udvikle en bedre løsning til dig.
Vælg om du vil tillade kun de nødvendige cookies eller om du vil tillade alle cookies.", german: "Wenn Sie auf akzeptieren klicken, unterstützen Sie " + document.domain + " bei der Weiterentwicklung von unserer Webseite.
Wählen Sie zwischen alle Cookies akzeptieren oder Ablehnen.", english: "By accepting all cookies, you support " + document.domain + " in developing a better solution for you.
Select whether you want to allow only the necessary cookies or whether you want to allow all cookies." }, messageWrapStart = "
", settingsMessagesLanguages = { danish: `Du bestemmer over dine data \n Vi og vores samarbejdspartnere bruger teknologier, herunder cookies, til at indsamle oplysninger om dig til forskellige formål, herunder:
\n \n Funktionel \n Statistiske \n Marketing \n \n Ved at trykke på 'Accepter' giver du samtykke til alle disse formål. Du kan også vælge at tilkendegive, hvilke formål du vil give samtykke til ved at benytte checkboksene ud for formålet, og derefter trykke på 'Gem indstillinger'.\n Du kan til enhver tid trække dit samtykke tilbage ved at trykke på det lille ikon nederst i ${"ltr" == window?.INTA?.settings.arrange ? "venstre" : "højre"} hjørne af hjemmesiden.
\n Du kan læse mere om vores brug af cookies og andre teknologier, samt om vores indsamling og behandling af personoplysninger ved at trykke på linket.
\n ${generatePolicyUrl("Vores privat og cookie politik")}\n Intastellar Solutions, International privat politik `, german: `Sie haben die Kontrolle über Ihre Daten \n Wir und unsere Geschäftspartner nutzen Technologien wie Cookies dazu, personenbezogene Informationen für verschiedene Zwecke zu sammeln, darunter:
\n \n Funktionelle \n Statistike \n Werbung \n \n Wenn Sie auf „Akzeptieren“ klicken, erteilen Sie Ihre Einwilligung für alle diese Zwecke. Sie können auch entscheiden, welchen Zwecken Sie zustimmen, indem Sie das Kästchen neben dem Zweck anklicken und auf „Speichern“ klicken.
\n Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie auf das kleine Symbol unten in der ${"ltr" == window?.INTA?.settings.arrange ? "linken" : "rechten"} Ecke klicken.
\n ${generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik")}\n Intastellar Solutions, International Datenschutz erklährung `, english: `You´re in control \n We and our business partners uses technologies, including cookies, to collect information about you for various purposes, including:
\n \n Functional \n Statistical \n Advertisement \n \n By clicking 'Accept', you give your consent for all these purposes. You can also choose to specify the purposes you consent to by ticking the checkbox next to the purpose and clicking 'Save settings'.
\n You may withdraw your consent at any time by clicking the small icon at the bottom ${"ltr" == window?.INTA?.settings.arrange ? "left" : "right"} corner of the website.
\n ${generatePolicyUrl("Our Privacy and cookie Policy")}\n Intastellar Solutions, International privacy policy ` }; null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || "da-DK" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.danish, intastellarShowHideDetailsText = "Vis detaljer", message = messageWrapStart + messages.danish + "" + generatePolicyUrl("Vores privat og cookie politik") + `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accepter")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accepter", "Afvis", "Indstillinger"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accepter")}\n ${intastellarShowHideDetailsText} \n `, moreFooter.innerHTML = `\n \n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.danish.necessary.title} \n ${intastellarSupportedLanguages.danish.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.functional.title} \n ${intastellarSupportedLanguages.danish.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.statisic.title} \n ${intastellarSupportedLanguages.danish.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.marketing.title} \n ${intastellarSupportedLanguages.danish.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.german, intastellarShowHideDetailsText = "Details einblenden", message = messageWrapStart + messages.german + "" + generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.german.saveSettings, "Akzeptieren")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Akzeptieren", "Ablehnen", "Einstellungen"), moreFooter.innerHTML = `\n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.german.necessary.title} \n ${intastellarSupportedLanguages.german.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.functional.title} \n ${intastellarSupportedLanguages.german.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.statisic.title} \n ${intastellarSupportedLanguages.german.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.marketing.title} \n ${intastellarSupportedLanguages.german.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.english, intastellarShowHideDetailsText = "Show details", message = messageWrapStart + messages.english + "" + generatePolicyUrl("Our Privacy and cookie Policy"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.english.saveSettings, "Accept")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accept", "Decline All", "Settings"), moreFooter.innerHTML = `\n \n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.english.necessary.title} \n ${intastellarSupportedLanguages.english.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.functional.title} \n ${intastellarSupportedLanguages.english.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.statisic.title} \n ${intastellarSupportedLanguages.english.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.marketing.title} \n ${intastellarSupportedLanguages.english.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : (settingsMessage = settingsMessagesLanguages.danish, intastellarShowHideDetailsText = "Vis detaljer", message = messageWrapStart + messages.danish + "" + generatePolicyUrl("Vores privat og cookie politik"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accept")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accepter", "Afvis", "Indstillinger"), moreFooter.innerHTML = `\n \n \n \n ${intastellarSupportedLanguages.danish.necessary.title} \n ${intastellarSupportedLanguages.danish.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.functional.title} \n ${intastellarSupportedLanguages.danish.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.statisic.title} \n ${intastellarSupportedLanguages.danish.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.marketing.title} \n ${intastellarSupportedLanguages.danish.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `), moreContentText.innerHTML = settingsMessage; let ccpa = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.on, ccpaUrl = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.url, cookieColor = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.color || !1 === window?.INTA?.settings.color || window?.INTA?.settings.color.indexOf("[") > -1 || "" === window?.INTA?.settings.color ? "rgba(0, 51, 153, 1)" : window?.INTA?.settings.color, cookieLogo = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.logo || "" === window?.INTA?.settings.logo || window?.INTA?.settings.logo.indexOf("[") > -1 ? null : window?.INTA?.settings.logo, backgroundColor = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.background_color ? "#fff" : window?.INTA?.settings.background_color, cookieTextColor = invertColor(backgroundColor); const checkMarkColor = cookieColor; let brightColor = ""; if (-1 != cookieColor.indexOf("var")) { document.querySelector(":root").style.setProperty(cookieColor.split("(")[1].split(")")[0] + "--bright", pSBC(-.6, getComputedStyle(document.documentElement).getPropertyValue(cookieColor.split("(")[1].split(")")[0]))), brightColor = "var(" + cookieColor.split("(")[1].split(")")[0] + "--bright)" } else brightColor = pSBC(-.6, cookieColor); const intaCookieBannerStyle = document.createElement("style"); let textSettings = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.text && window?.INTA?.settings.text, withText = '\n.intastellarCookie-settingsContainer{\n border-radius: 50%;\n}\n\n.intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n}\n\n.intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n}\n\n.intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n}\n\n.intaGDPR-content h2{\n text-align: left;\n}\n\n.intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n}\n\n.intCookieIcon-openSettings{\n width: 55px;\n height: 55px;\n}\n', position = "--right", text = "", cookieSize = "100%"; "ltr" == arrange && (position = "--left"); let IntastellarToolTip = '' + intastellarCookieLanguageSettings + "
"; if (textSettings && (IntastellarToolTip = "", withText = '\n .intastellarCookie-settingsContainer{\n border-radius: 20px;\n }\n .intCookieIcon-openSettings{\n width: 40px;\n height: 40px;\n }\n .intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n }\n\n .intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n }\n\n .intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n }\n\n .intaGDPR-content h2{\n text-align: left;\n }\n\n .intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n }\n ', text = " Cookie notice", cookieSize = "25%"), intaCookieBannerStyle.innerHTML = ".intastellarCookie-settingsContainer,.intastellarCookieConstents__contentC, .intastellarCookie-settings__btn.--bg, .intastellarCCPAContainer{background: " + cookieColor + " !important;color: #fff !important;} .intCookie_ConsentLogo-container{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, " + cookieColor + " border-box;} .intCookie_ConsentContainer-content{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, " + cookieColor + " border-box;} .intastellarCookie-settings__btn.--changePermission{background: transparent !important; border-image-slice: 1;border-color: " + cookieColor + ";border-image:" + cookieColor + " 1 !important; border-width: 3px; border-style: solid; transition: background .25s ease-in-out; width: max-content; margin-inline: auto !important;} .intastellarCookie-settings__btn.--changePermission:hover{background: " + cookieColor + " !important; color: #fff !important;} .intCookieSetting__checkbox:checked ~ .checkmark{background: " + checkMarkColor + ";}.intastellarCCPA__popupClose{background:" + cookieColor + "; color: #fff;} .intastellarCookie-settings__btn.--bg:hover{background: " + brightColor + " !important;}.intastellarCookie-settings__close:hover{background: " + brightColor + " !important;} .intastellarCookieConstents__content-main .intastellarCookie-settings__privacyLink{color: #fff !important;} .intastellarCookie-settings__privacyLink{text-decoration: underline !important;}.intastellarCookie-settings__content .intastellarCookie-settings__privacyLink{color: " + cookieTextColor + ";}.intastellarCookie-settings__content p{color: " + cookieTextColor + " !important;}.intastellarCookie-settings__intHeader{color:" + cookieTextColor + " !important;}.intastellarCookie-settings__container{background-color: " + backgroundColor + " !important;} .intastellarCookie-settingsMoreContainer{display:none;position: fixed; top: 50%; left: 50%; background: #fff; padding: 15px;z-index: 1000; transform: translate(-50%,-50%);}" + withText, intHead.appendChild(intaCookieBannerStyle), ccpa && isValidCCPALink()) { const e = document.createElement("inta-consents-ccpa"), t = document.createElement("section"); e.setAttribute("class", "intastellarCCPAContainer"), e.setAttribute("title", "California Consumer Privacy Act: Do not sell my information!"), t.setAttribute("class", "intastellarCCPAContainer__content"), t.innerHTML = '\n Do not sell my personal data!\n ', e.appendChild(t), intaconsents.appendChild(e); const n = document.createElement("inta-consents-ccpa-popup"); n.setAttribute("class", "intastellarCCPApopup"); const i = document.createElement("section"); i.setAttribute("class", "intastellarCCPApopup__content"), null != window?.INTA?.settings.ccpa.collection ? i.innerHTML = `\n Do not sell my personal data! \n This section is about our California Consumer Privacy Act.
\n ${createCCPAPolicyLink(ccpaUrl)}\n Personal data we collect: \n \n IP-Address \n ${window?.INTA?.settings.ccpa.collection.map((e => "" + e.charAt(0).toUpperCase() + e.slice(1) + " ")).join("")}\n \n ` : i.innerHTML = '\n Do not sell my personal data! \n Personal data we collect: \n This section is about our California Consumer Privacy Act.
\n \n ', n.appendChild(i), intaconsents.appendChild(n) } else if (!isValidCCPALink() && "ccpa" in window?.INTA?.settings && "true" === window?.INTA?.settings.ccpa.on) throw new IntastellarSolutionsSDK("Please add your valid 'California Consumer Privacy Act' url to the banner. Read more at https://www.intastellarsolutions.com/gdpr-cookiebanner"); cookieSettingsContent.setAttribute("class", "intastellarCookie-settings__content"), -1 == window.location.host.indexOf("intastellarsolutions") && (poweredBy = "Powered by "); let intCookieIconSmallClass = cookieLogo == intCookieIcon ? " intastellarIcon" : "", CompanyLogoName = cookieLogo == intCookieIcon ? "Cookie Icon" : `${document.domain} logo`; function getMeta(e) { for (var t = document.getElementsByTagName("meta"), n = 0; n < t.length; n++)if (t[n].getAttribute("name") === e) return t[n].getAttribute("content"); return "" } function invertColor(e) { var t, n, i, o; return e.match(/^rgb/) ? (t = (e = e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1], n = e[2], i = e[3]) : (t = (e = +("0x" + e.slice(1).replace(e.length < 5 && /./g, "$&$&"))) >> 16, n = e >> 8 & 255, i = 255 & e), (o = Math.sqrt(t * t * .299 + n * n * .587 + i * i * .114)) >= 0 && 165 > o ? "#fff" : "#000" } function listCookies() { for (var e = document.cookie.split(";"), t = "", n = 1; n <= e.length; n++)t += n + " " + e[n - 1] + "\n"; return t } function allStorage() { for (var e = [], t = Object.keys(localStorage), n = t.length; n--;)e.push(getCookie(t[n])); return e } function listAllCookies(e) { return e.map((e => { const t = e.vendor; return null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || "da-DK" === intastellarCookieLanguage ? `\n \n \n Udbyder \n ${t}
\n Privat Politik
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privatslivs politik") : `Privatslivs politik `}
\n Domæne \n ${e.domains.map((e => { if (null != e) return `\n \n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? `\n \n \n Anbieter \n ${t}
\n Datenschutzerklährung
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Datenschutzerklährung") : `Datenschutzerklährung `}\n Domain \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? `\n \n \n Vendor \n ${t}
\n Privacy policy
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privacy policy") : `Privacy policy `}\n Domains \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : `\n \n \n Udbyder \n ${t}
\n Privat Politik
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privatslivs politik") : `Privatslivs politik `}\n Domæne \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => `\n \n ${e.cookie} \n ${e.purpose}
\n \n `)).join(" ")}\n \n \n \n ` })).join(" ") } function isURL(e) { const t = new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), n = document.createElement("a"); return n.href = e, (n.host !== window.location.host || n.host == window.location.host) && !!(t.test(e) && -1 != e.indexOf("policy") || t.test(e) && -1 != e.indexOf("cookie") || t.test(e) && -1 != e.indexOf("privat") || t.test(e) && -1 != e.indexOf("privacy") || t.test(e) && -1 != e.indexOf("conditions") || t.test(e) && -1 != e.indexOf("datenschutz") || t.test(e) && -1 != e.indexOf("politica") || t.test(e) && -1 != e.indexOf("handelsbetingelser")) } moreintHeader.innerHTML = `\n ${void 0 !== window?.INTA?.settings.logo ? ' ' : ""}\n `, cookieSettingsContent.innerHTML = '' + message + cookieBtn + poweredBy, cookieSettings.appendChild(cookieSettingsContent), window?.INTA?.settings.advanced && banner.appendChild(cookieSettings), banner.setAttribute("class", "intastellarCookie-settings"), bannerContent.innerHTML = ' ' + IntastellarToolTip + " " + text, banner.appendChild(bannerContent), moreSettings.appendChild(moreSettingsContent), intaconsents.appendChild(banner), intaconsents.appendChild(moreSettings), null != document.querySelector(".intastellarCCPAContainer") && document.querySelector(".intastellarCCPAContainer").addEventListener("click", (function () { document.querySelector(".intastellarCCPApopup").classList.toggle("--active") })), window.addEventListener("load", (function () { (adsbygoogle = window.adsbygoogle || []).pauseAdRequests = 0; const e = location.host.split(".").reverse(), t = (encodeURI(e[1] + "." + e[0]), document.createElement("iframe")); if (t.name = "intastellar-solutions-sharinglibrary-iframe", t.style.display = "none", t.title = "Intastellar Solutions cookie sharing library", t.src = intastellarCookieBannerRootDomain + "/cookieSharingIframe.html", document.body.appendChild(t), null != document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]")) { const e = document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]"); window.addEventListener("message", (function (t) { "https://consents.cdn.intastellarsolutions.com" === t.origin && "ready" === t.data && intaConsentsObjectVariable.sharingDomains.length > 0 && intaConsentsObjectVariable.sharingDomains.includes(window.location.host) && e.contentWindow.postMessage(intaConsentsObjectVariable, "https://consents.cdn.intastellarsolutions.com") })) } if (gtag("set", { user_id: getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid }), !isValidPolicyLink()) { const e = document.createElement("div"), t = document.createElement("div"); throw e.className = "intastellarErrorMessage", t.className = "intastellarErrorMessage-content", t.innerHTML = "Intastellar Solutions SDK: Please add a valid privacy & cookie policy to the banner. Read more at https://developers.intastellarsolutions.com/cookie-solutions/docs/add-privacy-policy ", e.appendChild(t), new IntastellarSolutionsSDK("Please add a valid privacy & cookie policy to the banner. Read more at https://developers.intastellarsolutions.com/cookie-solutions/docs/add-privacy-policy") } { document.querySelectorAll(".intaCookieListOverview-vendor").forEach(((e, t) => { "" != window?.INTA?.settings.company && null != window?.INTA?.settings.company && e.innerText == window.location.host && (e.innerText = window?.INTA?.settings.company) })), document.querySelectorAll(".intCookie_ConsentLogo").forEach((e => { e.src = window?.INTA?.settings.logo })), document.querySelectorAll(".intLearnMoreBtn").forEach((e => { e.addEventListener("click", (function (e) { learnMore(this) })) })), window?.INTA?.settings?.partnerDomain?.forEach((e => { intaConsentsObjectVariable.sharingDomains.push(e) })), window?.INTA?.settings?.partnerDomain && dataLayer.push({ linker: { domains: window?.INTA?.settings?.partnerDomain } }), "" == getCookie(int_hideCookieBannerName) && -1 == getCookie(int_hideCookieBannerName).indexOf("__inta") && document.querySelector(".intastellarCookieConstents").classList.add("--active"), document.querySelectorAll(".intaExpandCookieList").forEach(((e, t) => { e.addEventListener("click", (() => { document.querySelectorAll(".intastellar__arrow")[t].classList.toggle("open"), document.querySelectorAll(".intaCookieListOverview")[t].classList.toggle("view") })) })); document.querySelector(".intastellarCookie-settings__container"); null != document.querySelector(".intastellarCookieBanner") ? getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1") > -1 ? document.querySelector(".intastellarCookieBanner").style.display = "none" : document.querySelector(".intastellarCookieBanner").style.display = "" : getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1") > -1 && (document.querySelector("html").classList.remove("noScroll"), null != document.querySelector(".intastellarCookieConstents") && document.querySelector(".intastellarCookieConstents").classList.remove("--active")), document.querySelectorAll(".intastellarCookieBanner__settings").forEach((e => { e.addEventListener("click", (() => { let e = document.querySelector(".intastellarCookieConstents"); e?.classList.contains("--active") || (e?.classList.add("--active"), document.querySelector(".intastellarCookie-settings__container").classList.remove("intastellarCookie-settings__container--expand")) })) })); const e = document.querySelector("#functional"), t = document.querySelector("#statics"), n = document.querySelector("#marketing"), i = {}; null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? (i.necessaryCookiesText = "Decline All", i.saveSettingsText = "Save settings") : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? (i.necessaryCookiesText = "Ablehnen", i.saveSettingsText = "Speichern") : (null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || intastellarCookieLanguage, i.necessaryCookiesText = "Afvis", i.saveSettingsText = "Gem indstillinger"), e?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), t?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), n?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !0 === e?.checked && !0 === t?.checked && !0 === n?.checked || !0 === e?.checked || !0 === t?.checked || !0 === n?.checked ? i.saveSettingsText : i.necessaryCookiesText; document.getElementsByClassName("intastellarCookieBanner__accpetNecssery"), document.getElementsByClassName("intastellarCookieSettings--acceptAll"); if (document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission").forEach((e => { e.addEventListener("click", (e => { const t = getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents : intaConsentsObjectVariable.consents, n = document.createElement("iframe"); let i = e.target.getAttribute("data-type"); "intFunctionalCookies" === i ? (t.functionalCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")) : "intMarketingCookies" === i ? (t.advertisementCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")) : "intStaticsticCookies" === i && (t.staticsticCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(t), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; e.target.parentElement.parentElement.parentElement.parentNode; window.location.reload() })) })), document.querySelector(".--save").addEventListener("click", (() => { const i = []; if (e?.checked) gtag("consent", "update", { functionality_storage: "granted" }), i.push("functionalCookies"); else { gtag("consent", "update", { functionality_storage: "denied" }); const e = i.indexOf("functionalCookies"); e > -1 && i.splice(e, 1) } if (t?.checked) gtag("consent", "update", { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted" }), i.push("staticsticCookies"); else { gtag("consent", "update", { analytics_storage: "denied" }); const e = i.indexOf("staticsticCookies"); e > -1 && i.splice(e, 1) } if (n?.checked) gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted" }), i.push("advertisementCookies"); else { gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied" }); const e = i.indexOf("advertisementCookies"); e > -1 && i.splice(e, 1) } saveINTCookieSettings("changePermission", i) })), void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.on) { document.querySelector(".intastellarCCPA__popupClose").addEventListener("click", (() => { document.querySelector(".intastellarCCPApopup").classList.remove("--active") })) } if (null == button__acceptAll && null == button__acceptAll || button__acceptAll.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=0; expires=" + new Date((new Date).getTime() + 864e7).toGMTString() + "; path=/; " + intCookieDomain, document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all") })), null == button__acceptAll && null == button__acceptAll || button__acceptAll.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + new Date((new Date).getTime() + 864e7).toGMTString() + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"); const n = { intaConsentsObjectVariable: intaConsentsObjectVariable, partnerDomain: window?.INTA?.settings.partnerDomain }; window.addEventListener("message", (function (e) { "ready" != e.data && e.origin != intastellarCookieBannerRootDomain || document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(n), "*") })), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all") })), null == button__acceptAll && null == button__acceptAll || button__acceptAllNecessary.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"); const e = { intaConsentsObjectVariable: intaConsentsObjectVariable, partnerDomain: window?.INTA?.settings.partnerDomain }; window.addEventListener("message", (function (t) { "ready" != t.data && t.origin != intastellarCookieBannerRootDomain || document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(e), "*") })), gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }) })), null != button__acceptAll || null != button__acceptAll) { const e = document.querySelectorAll(".intastellarCookie-settingsContainer"), t = document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"), n = document.querySelectorAll(".intastellarCookieSettings--acceptAll"), i = (document.querySelector(".analytics"), document.querySelector(".intastellarCookie-settings__close")); document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission").forEach((e => { e.addEventListener("click", (function () { "intMarketingCookies" == this.getAttribute("data-type") ? document.querySelector("#marketing").checked = !0 : "intFunctionalCookies" == this.getAttribute("data-type") && (document.querySelector("#functional").checked = !0), saveINTCookieSettings("changePermission", this.getAttribute("data-type")), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") })) })), !1 === window?.INTA?.settings.advanced || "" === window?.INTA?.settings.advanced || void 0 === window?.INTA?.settings.advanced ? e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookie-settings__container"); document.querySelector("html").classList.toggle("noScroll"), e.classList.toggle("intastellarCookie-settings__container--expand") })) })) : e.forEach((e => { e.addEventListener("click", (function () { document.querySelector(".intastellarCookieConstents").classList.toggle("--active") })) })), window?.INTA?.settings.advanced && i.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })), t.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("denied"), document.querySelector("#marketing").checked = !1, document.querySelector("#statics").checked = !1, document.querySelector("#functional").checked = !1 })) })), n.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all"), document.querySelector("#marketing").checked = !0, document.querySelector("#statics").checked = !0, document.querySelector("#functional").checked = !0 })) })) } else { const e = document.querySelectorAll(".intastellarCookie-settingsContainer"), t = document.querySelectorAll(".config"), n = document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"), i = document.querySelectorAll(".intastellarCookieSettings--acceptAll"), o = document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission"), a = (document.querySelector(".intastellarCCPA__popupClose"), document.querySelector(".analytics"), document.querySelector(".intastellarCookie-settings__close")); document.querySelector(".intastellarCookie-settings__container"); o.forEach((e => { e.addEventListener("click", (function () { "intMarketingCookies" == this.getAttribute("data-type") ? document.querySelector("#marketing").checked = !0 : "intFunctionalCookies" == this.getAttribute("data-type") && (document.querySelector("#functional").checked = !0), saveINTCookieSettings("changePermission", this.getAttribute("data-type")), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") })) })), window?.INTA?.settings.advanced ? (e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookie-settings__container"); document.querySelector("html").classList.toggle("noScroll"), e.classList.toggle("intastellarCookie-settings__container--expand") })) })), t.forEach((e => { e.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })) }))) : e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookieConstents"); document.querySelector("html").classList.toggle("noScroll"), e.classList.add("--active") })) })), window?.INTA?.settings.advanced && a.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })), n.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/;" + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), document.querySelector("#marketing").checked = !1, document.querySelector("#statics").checked = !1, document.querySelector("#functional").checked = !1, gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }) })) })), i.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all"), document.querySelector("#marketing").checked = !0, document.querySelector("#statics").checked = !0, document.querySelector("#functional").checked = !0 })) })) } window.addEventListener("message", (e => { if ("ready" == e.data && document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), e.data) { e.data } })) } })); const IntastellarCookieConsent = { renew: function () { document.querySelector(".intastellarCookieConstents").classList.add("--active"), document.querySelector("html").classList.add("noScroll") }, initialize: function (e) { "loading" === document.readyState ? document.addEventListener("DOMContentLoaded", (() => { if (0 === document.querySelectorAll('script[src^="https://downloads.intastellarsolutions.com/cookieconsents/"][src$="/config.js"]').length || void 0 === window.INTA) { let e = window.location.host; e.replace(/^(?:https?:\/\/)?(?:www\.)?/i, ""), e = e.replace(/:\d+$/, ""); const t = "https://downloads.intastellarsolutions.com/cookieconsents/" + e + "/config.js", n = document.createElement("script"); n.src = t, document.head.insertBefore(n, document.currentScript) } document.body.append(e) })) : document.body.append(e) } }; function isCCPAURL(e) { const t = new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), n = document.createElement("a"); return n.href = e, (n.host !== window.location.host || n.host == window.location.host) && !!(t.test(e) && -1 != e.indexOf("policy") || t.test(e) && -1 != e.indexOf("ccpa") || t.test(e) && -1 != e.indexOf("california-consumer-privacy-act") || t.test(e) && -1 != e.indexOf("california") || t.test(e) && -1 != e.indexOf("privacy-act") || t.test(e) && -1 != e.indexOf("california-consumer")) } function getCookies() { for (var e = document.cookie.split(";"), t = "", n = 1; n <= e.length; n++)t += n + " - " + e[n - 1] + " "; return t } function findScriptParameter(e) { const t = document.currentScript.src; if (t.indexOf(e) > -1) { return new URL(t).searchParams.get(e) } } let intastellarSolutionsPrivacyPolicy = "https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy"; const xhr = new XMLHttpRequest; function showPrivacy() { document.querySelector(".intLearnMoreBtn").style.display = "none", document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop = "100px"; const e = document.querySelector(".intastellar_privacyPolicy"); e.style.height = "100%", e.style.background = "#ffff", e.style.color = "#000", e.style.borderBottom = "1px solid #c4c4c4", e.style.textAlign = "left", e.innerHTML = `\n \n Back \n ${intastellarSolutionsPrivacyPolicy}\n
\n `, e.scrollIntoView({ behavior: "smooth", block: "start" }) } function hidePrivacy() { document.querySelector(".intLearnMoreBtn").style.display = "block"; document.querySelector(".intastellar_privacyPolicy").style.height = "0" } function checkIfIncluded(e) { for (var t = document.getElementsByTagName("link"), n = 0; n < t.length; n++)if (t[n].href.substr(-e.length) == e) return !0; var i = document.getElementsByTagName("script"); for (n = 0; n < i.length; n++)if (i[n].src.substr(-e.length) == e) return !0; return !1 } function isValidCCPALink() { return !!("object" == typeof window?.INTA?.settings.ccpa && isCCPAURL(window?.INTA?.settings.ccpa.url) && window?.INTA?.settings.ccpa.url.length > 0 && void 0 !== window?.INTA?.settings.ccpa.url) } function generatePolicyUrl(e) { let t = ""; return "object" == typeof window.INTA.policy_link ? t = "" + e + " " : "string" == typeof window.INTA.policy_link && (t = "" + e + " "), t } function generateCookieButtons(e, t, n) { return '' + e + ' ' + t + ' ' + n + " " } function generateCookieSettingsButton(e, t) { return '" } function createCCPAPolicyLink(e) { let t = ""; return t = "Read more about our ccpa ", t } function isValidPolicyLink() { return !!("string" == typeof window.INTA.policy_link && isURL(window.INTA.policy_link) && window.INTA.policy_link.length > 0) || !!("object" == typeof window.INTA.policy_link && isURL(window.INTA.policy_link.url) && window.INTA.policy_link.url.length > 0 && void 0 !== window.INTA.policy_link.url) } function learnMore(e) { document.querySelector(".intReadMore").classList.toggle("view"), document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop = "140px", document.querySelector(".intReadMore").classList.contains("view") ? ("da-DK" == intastellarCookieLanguage || "da" == intastellarCookieLanguage || "dk" == intastellarCookieLanguage ? e.innerHTML = "Skjul detaljer" : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? e.innerHTML = "Hide details" : (null != intastellarCookieLanguage && "de" === intastellarCookieLanguage || "de-DE" === intastellarCookieLanguage) && (e.innerHTML = "Details ausblenden"), document.querySelector(".intReadMore").scrollIntoView({ behavior: "smooth", block: "start" })) : ("da-DK" == intastellarCookieLanguage || "da" == intastellarCookieLanguage || "dk" == intastellarCookieLanguage ? e.innerHTML = "Vis details" : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? e.innerHTML = "Show details" : (null != intastellarCookieLanguage && "de" === intastellarCookieLanguage || "de-DE" === intastellarCookieLanguage) && (e.innerHTML = "Details einblenden"), document.querySelector(".intastellarCookieConstents__contentC").scrollIntoView({ behavior: "smooth", block: "start" })) } function updateConsents(e, t = null) { window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })); let n = document.querySelector("script[src*='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js']")?.src; if (n = n?.split("client=")[1]?.split("&")[0], "all" == e) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1), t = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1), n = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, e), int__cookiesToKeep.push.apply(int__cookiesToKeep, t), int__cookiesToKeep.push.apply(int__cookiesToKeep, n), deleteAllCookies() } if (t.length > 0 && t.forEach((e => { if ("staticsticCookies" == e) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } else if ("advertisementCookies" == e) { let e = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } else if ("functionalCookies" == e) { let e = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } })), "checked" === intaCookieConsents?.staticsticCookies) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies(), window.allScripts.map((e => { console.log(e), "statics" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })) } else window.allScripts.map((e => { "statics" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })); if ("checked" === intaCookieConsents?.functionalCookies) { const e = document.querySelectorAll("inta-consents[data-src]"); window.allScripts.map((e => { "functional" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })); let t = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, t), deleteAllCookies(), e.forEach((e => { const t = document.createElement("iframe"); t.border = "0", t.frameBorder = "0", e.getAttribute("data-class") ? t.setAttribute("class", e.getAttribute("data-class")) : (t.width = "560", t.height = "315"), "undefined" !== e.getAttribute("data-src") && (t.src = e.getAttribute("data-src"), e.parentElement.replaceChild(t, e)) })) } else window.allScripts.map((e => { "functional" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })); if ("checked" === intaCookieConsents?.advertisementCookies) { const e = document.querySelectorAll("inta-consents-iframe[data-src]"); document.querySelectorAll("script[data-marketing]"); let t = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, t), deleteAllCookies(), fbq("consent", "grant"), window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })), e.forEach((e => { const t = document.createElement("iframe"); t.border = "0", t.frameBorder = "0", t.setAttribute("inta-yt-placeholder-img", e?.querySelector("inta-consents-bg")?.getAttribute("inta-bg-img")), (e.getAttribute("data-src").indexOf("youtube") > -1 || e.getAttribute("data-src").indexOf("youtu.be") > -1) && (t.allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", t.title = "YouTube video player"), e.getAttribute("data-class") ? t.setAttribute("class", e.getAttribute("data-class")) : (t.width = "560", t.height = "315"), t.src = e.getAttribute("data-src"), e.parentElement.replaceChild(t, e) })) } else window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })) } function saveINTCookieSettings(e, t = null) { document.querySelector("html").classList.remove("noScroll"), document.querySelector(".intastellarCookieConstents").classList.remove("--active"); const n = document.querySelector("#functional"), i = document.querySelector("#statics"), o = document.querySelector("#marketing"); o?.checked ? gtag("consent", "update", { ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }) : gtag("consent", "update", { ad_storage: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), n?.checked ? gtag("consent", "update", { functionality_storage: "granted", url_passthrough: !0 }) : gtag("consent", "update", { functionality_storage: "denied" }), i?.checked ? gtag("consent", "update", { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }) : gtag("consent", "update", { analytics_storage: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), intaConsentsObjectVariable.consents = { staticsticCookies: !!i?.checked && "checked", functionalCookies: !!n?.checked && "checked", advertisementCookies: !!o?.checked && "checked" }, dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, updateConsents(e, t), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") } xhr.onload = function () { intastellarSolutionsPrivacyPolicy = "loading...", 200 === this.status && (intastellarSolutionsPrivacyPolicy = this.responseText) }, xhr.open("GET", "https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy?lang=" + (void 0 === window?.INTA?.settings || "auto" === window?.INTA?.settings.lang || "" === window?.INTA?.settings.lang ? document.querySelector("html").getAttribute("lang") : "german" == window?.INTA?.settings.language ? "de" : "danish" == window?.INTA?.settings.language ? "da" : "english" == window?.INTA?.settings.language ? "en" : document.querySelector("html").getAttribute("lang")) + "&v=" + (new Date).getTime()), xhr.send(), setIntastellarPartnerDomain(), IntastellarCookieConsent.initialize(intaconsents);
\ No newline at end of file
+const pSBC = (e, t, n, i) => { let o, a, s, l, r, c, d, g = parseInt, u = Math.round, p = "string" == typeof n; return "number" != typeof e || e < -1 || e > 1 || "string" != typeof t || "r" != t[0] && "#" != t[0] || n && !p ? null : (this.pSBCr || (this.pSBCr = e => { let t = e.length, n = {}; if (t > 9) { if ([o, a, s, p] = e = e.split(","), t = e.length, t < 3 || t > 4) return null; n.r = g("a" == o[3] ? o.slice(5) : o.slice(4)), n.g = g(a), n.b = g(s), n.a = p ? parseFloat(p) : -1 } else { if (8 == t || 6 == t || t < 4) return null; t < 6 && (e = "#" + e[1] + e[1] + e[2] + e[2] + e[3] + e[3] + (t > 4 ? e[4] + e[4] : "")), e = g(e.slice(1), 16), 9 == t || 5 == t ? (n.r = e >> 24 & 255, n.g = e >> 16 & 255, n.b = e >> 8 & 255, n.a = u((255 & e) / .255) / 1e3) : (n.r = e >> 16, n.g = e >> 8 & 255, n.b = 255 & e, n.a = -1) } return n }), d = t.length > 9, d = p ? n.length > 9 || "c" == n && !d : d, r = this.pSBCr(t), l = e < 0, c = n && "c" != n ? this.pSBCr(n) : l ? { r: 0, g: 0, b: 0, a: -1 } : { r: 255, g: 255, b: 255, a: -1 }, l = 1 - (e = l ? -1 * e : e), r && c ? (i ? (o = u(l * r.r + e * c.r), a = u(l * r.g + e * c.g), s = u(l * r.b + e * c.b)) : (o = u((l * r.r ** 2 + e * c.r ** 2) ** .5), a = u((l * r.g ** 2 + e * c.g ** 2) ** .5), s = u((l * r.b ** 2 + e * c.b ** 2) ** .5)), p = r.a, c = c.a, r = p >= 0 || c >= 0, p = r ? p < 0 ? c : c < 0 ? p : p * l + c * e : 0, d ? "rgb" + (r ? "a(" : "(") + o + "," + a + "," + s + (r ? "," + u(1e3 * p) / 1e3 : "") + ")" : "#" + (4294967296 + 16777216 * o + 65536 * a + 256 * s + (r ? u(255 * p) : 0)).toString(16).slice(1, r ? void 0 : -2)) : null) }; let message = "", cookieBtn = ""; const banner = document.createElement("inta-consents-settings-btn"), bannerContent = document.createElement("button"), intastellarLogo = "https://www.intastellarsolutions.com/assets/logos/intastellar-logo-new-white.svg", moreSettings = document.createElement("inta-consents-banner"), moreSettingsContent = document.createElement("section"), moreintHeader = document.createElement("intheader"), moreContentText = document.createElement("section"), moreFooter = document.createElement("footer"), intaconsents = document.createElement("intastellarconsents"), pluginSource = void 0 === findScriptParameter("utm_source") ? "Intastellar+Solutions+Cookiebanner" : findScriptParameter("utm_source"); window.platform = void 0 === findScriptParameter("utm_source") ? "Manual" : findScriptParameter("utm_source"); let intastellarCookieLanguageSettings = "Cookie Indstillinger"; "de" == intastellarCookieLanguage ? intastellarCookieLanguageSettings = "Cookie Einstellungen" : "en" == intastellarCookieLanguage && (intastellarCookieLanguageSettings = "Cookie Settings"), moreSettings.setAttribute("class", "intastellarCookieConstents"), moreSettingsContent.setAttribute("class", "intastellarCookieConstents__content"), moreintHeader.setAttribute("class", "intastellarCookieConstents__content-intHeader"), moreFooter.setAttribute("class", "intastellarCookieConstents__content-footer"), moreContentText.setAttribute("class", "intastellarCookieConstents__content-main"); const intastellarCookieConstents__Container = document.createElement("article"), intastellarCookieButtons = document.createElement("section"), testSection = document.createElement("section"); testSection.setAttribute("class", "intastellarCookieConstents__contentC"), testSection.appendChild(moreintHeader), testSection.appendChild(moreContentText), moreSettingsContent.appendChild(intastellarCookieConstents__Container), intastellarCookieConstents__Container.appendChild(testSection), intastellarCookieConstents__Container.appendChild(intastellarCookieButtons), intastellarCookieConstents__Container.appendChild(moreFooter); const cookieSettings = document.createElement("article"), cookieSettingsContent = document.createElement("section"); bannerContent.setAttribute("class", "intastellarCookie-settingsContainer"), intastellarCookieButtons.setAttribute("class", "intastellarCookie-settings__buttons"), bannerContent.setAttribute("title", intastellarCookieLanguageSettings), cookieSettings.setAttribute("class", "intastellarCookie-settings__container"), banner.setAttribute("onclick", "javascript:IntastellarCookieConsent.renew();"); const arrange = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.arrange ? "" : window?.INTA?.settings.arrange; function setIntastellarPartnerDomain() { if (null !== window?.INTA?.settings.partnerDomain && window?.INTA?.settings?.partnerDomain?.length > 0) { const e = document.createElement("iframe"); e.src = "/cookieSharingIframe.html", e.id = "intastellarCrossSiteCheck", e.style.display = "none", e.style.position = "absolute", e.style.top = "-100%", e.style.left = "-100%" } } "ltr" == arrange && (bannerContent.classList.add("intastellarCookie-settingsContainer--otherSide"), cookieSettings.classList.add("intastellarCookie-settings__container--otherSide")); const messages = { danish: "Ved at acceptere alle cookies understøtter du " + document.domain + " med at udvikle en bedre løsning til dig.Vælg om du vil tillade kun de nødvendige cookies eller om du vil tillade alle cookies.", german: "Wenn Sie auf akzeptieren klicken, unterstützen Sie " + document.domain + " bei der Weiterentwicklung von unserer Webseite.
Wählen Sie zwischen alle Cookies akzeptieren oder Ablehnen.", english: "By accepting all cookies, you support " + document.domain + " in developing a better solution for you.
Select whether you want to allow only the necessary cookies or whether you want to allow all cookies." }, messageWrapStart = "
", settingsMessagesLanguages = { danish: `Du bestemmer over dine data \n Vi og vores samarbejdspartnere bruger teknologier, herunder cookies, til at indsamle oplysninger om dig til forskellige formål, herunder:
\n \n Funktionel \n Statistiske \n Marketing \n \n Ved at trykke på 'Accepter' giver du samtykke til alle disse formål. Du kan også vælge at tilkendegive, hvilke formål du vil give samtykke til ved at benytte checkboksene ud for formålet, og derefter trykke på 'Gem indstillinger'.\n Du kan til enhver tid trække dit samtykke tilbage ved at trykke på det lille ikon nederst i ${"ltr" == window?.INTA?.settings.arrange ? "venstre" : "højre"} hjørne af hjemmesiden.
\n Du kan læse mere om vores brug af cookies og andre teknologier, samt om vores indsamling og behandling af personoplysninger ved at trykke på linket.
\n ${generatePolicyUrl("Vores privat og cookie politik")}\n Intastellar Solutions, International privat politik `, german: `Sie haben die Kontrolle über Ihre Daten \n Wir und unsere Geschäftspartner nutzen Technologien wie Cookies dazu, personenbezogene Informationen für verschiedene Zwecke zu sammeln, darunter:
\n \n Funktionelle \n Statistike \n Werbung \n \n Wenn Sie auf „Akzeptieren“ klicken, erteilen Sie Ihre Einwilligung für alle diese Zwecke. Sie können auch entscheiden, welchen Zwecken Sie zustimmen, indem Sie das Kästchen neben dem Zweck anklicken und auf „Speichern“ klicken.
\n Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie auf das kleine Symbol unten in der ${"ltr" == window?.INTA?.settings.arrange ? "linken" : "rechten"} Ecke klicken.
\n ${generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik")}\n Intastellar Solutions, International Datenschutz erklährung `, english: `You´re in control \n We and our business partners uses technologies, including cookies, to collect information about you for various purposes, including:
\n \n Functional \n Statistical \n Advertisement \n \n By clicking 'Accept', you give your consent for all these purposes. You can also choose to specify the purposes you consent to by ticking the checkbox next to the purpose and clicking 'Save settings'.
\n You may withdraw your consent at any time by clicking the small icon at the bottom ${"ltr" == window?.INTA?.settings.arrange ? "left" : "right"} corner of the website.
\n ${generatePolicyUrl("Our Privacy and cookie Policy")}\n Intastellar Solutions, International privacy policy ` }; null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || "da-DK" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.danish, intastellarShowHideDetailsText = "Vis detaljer", message = messageWrapStart + messages.danish + "" + generatePolicyUrl("Vores privat og cookie politik") + `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accepter")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accepter", "Afvis", "Indstillinger"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accepter")}\n ${intastellarShowHideDetailsText} \n `, moreFooter.innerHTML = `\n \n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.danish.necessary.title} \n ${intastellarSupportedLanguages.danish.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.functional.title} \n ${intastellarSupportedLanguages.danish.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.statisic.title} \n ${intastellarSupportedLanguages.danish.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.marketing.title} \n ${intastellarSupportedLanguages.danish.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.german, intastellarShowHideDetailsText = "Details einblenden", message = messageWrapStart + messages.german + "" + generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.german.saveSettings, "Akzeptieren")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Akzeptieren", "Ablehnen", "Einstellungen"), moreFooter.innerHTML = `\n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.german.necessary.title} \n ${intastellarSupportedLanguages.german.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.functional.title} \n ${intastellarSupportedLanguages.german.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.statisic.title} \n ${intastellarSupportedLanguages.german.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.german.marketing.title} \n ${intastellarSupportedLanguages.german.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? (settingsMessage = settingsMessagesLanguages.english, intastellarShowHideDetailsText = "Show details", message = messageWrapStart + messages.english + "" + generatePolicyUrl("Our Privacy and cookie Policy"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.english.saveSettings, "Accept")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accept", "Decline All", "Settings"), moreFooter.innerHTML = `\n \n \n \n \n ID: ${getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid}
\n ${intastellarSupportedLanguages.english.necessary.title} \n ${intastellarSupportedLanguages.english.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.functional.title} \n ${intastellarSupportedLanguages.english.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.statisic.title} \n ${intastellarSupportedLanguages.english.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.english.marketing.title} \n ${intastellarSupportedLanguages.english.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `) : (settingsMessage = settingsMessagesLanguages.danish, intastellarShowHideDetailsText = "Vis detaljer", message = messageWrapStart + messages.danish + "" + generatePolicyUrl("Vores privat og cookie politik"), intastellarCookieButtons.innerHTML = `\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings, "Accept")}\n ${intastellarShowHideDetailsText} \n `, cookieBtn = generateCookieButtons("Accepter", "Afvis", "Indstillinger"), moreFooter.innerHTML = `\n \n \n \n ${intastellarSupportedLanguages.danish.necessary.title} \n ${intastellarSupportedLanguages.danish.necessary.description}
\n \n ${listAllCookies(inta_requiredCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.functional.title} \n ${intastellarSupportedLanguages.danish.functional.description}
\n \n ${listAllCookies(inta_functionalCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.statisic.title} \n ${intastellarSupportedLanguages.danish.statisic.description}
\n \n ${listAllCookies(inta_statisticCookieList)}\n \n \n \n ${intastellarSupportedLanguages.danish.marketing.title} \n ${intastellarSupportedLanguages.danish.marketing.description}
\n \n ${listAllCookies(inta_marketingCookieList)}\n \n \n \n \n \n \n \n \n \n `), moreContentText.innerHTML = settingsMessage; let ccpa = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.on, ccpaUrl = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.url, cookieColor = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.color || !1 === window?.INTA?.settings.color || window?.INTA?.settings.color.indexOf("[") > -1 || "" === window?.INTA?.settings.color ? "rgba(0, 51, 153, 1)" : window?.INTA?.settings.color, cookieLogo = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.logo || "" === window?.INTA?.settings.logo || window?.INTA?.settings.logo.indexOf("[") > -1 ? null : window?.INTA?.settings.logo, backgroundColor = void 0 === window?.INTA?.settings || void 0 === window?.INTA?.settings.background_color ? "#fff" : window?.INTA?.settings.background_color, cookieTextColor = invertColor(backgroundColor); const checkMarkColor = cookieColor; let brightColor = ""; if (-1 != cookieColor.indexOf("var")) { document.querySelector(":root").style.setProperty(cookieColor.split("(")[1].split(")")[0] + "--bright", pSBC(-.6, getComputedStyle(document.documentElement).getPropertyValue(cookieColor.split("(")[1].split(")")[0]))), brightColor = "var(" + cookieColor.split("(")[1].split(")")[0] + "--bright)" } else brightColor = pSBC(-.6, cookieColor); const intaCookieBannerStyle = document.createElement("style"); let textSettings = void 0 !== window?.INTA?.settings && void 0 !== window?.INTA?.settings.text && window?.INTA?.settings.text, withText = '\n.intastellarCookie-settingsContainer{\n border-radius: 50%;\n}\n\n.intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n}\n\n.intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n}\n\n.intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n}\n\n.intaGDPR-content h2{\n text-align: left;\n}\n\n.intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n}\n\n.intCookieIcon-openSettings{\n width: 55px;\n height: 55px;\n}\n', position = "--right", text = "", cookieSize = "100%"; "ltr" == arrange && (position = "--left"); let IntastellarToolTip = '' + intastellarCookieLanguageSettings + "
"; if (textSettings && (IntastellarToolTip = "", withText = '\n .intastellarCookie-settingsContainer{\n border-radius: 20px;\n }\n .intCookieIcon-openSettings{\n width: 40px;\n height: 40px;\n }\n .intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n }\n\n .intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n }\n\n .intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n }\n\n .intaGDPR-content h2{\n text-align: left;\n }\n\n .intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n }\n ', text = " Cookie notice", cookieSize = "25%"), intaCookieBannerStyle.innerHTML = ".intastellarCookie-settingsContainer,.intastellarCookieConstents__contentC, .intastellarCookie-settings__btn.--bg, .intastellarCCPAContainer{background: " + cookieColor + " !important;color: #fff !important;} .intCookie_ConsentLogo-container{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, " + cookieColor + " border-box;} .intCookie_ConsentContainer-content{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, " + cookieColor + " border-box;} .intastellarCookie-settings__btn.--changePermission{background: transparent !important; border-image-slice: 1;border-color: " + cookieColor + ";border-image:" + cookieColor + " 1 !important; border-width: 3px; border-style: solid; transition: background .25s ease-in-out; width: max-content; margin-inline: auto !important;} .intastellarCookie-settings__btn.--changePermission:hover{background: " + cookieColor + " !important; color: #fff !important;} .intCookieSetting__checkbox:checked ~ .checkmark{background: " + checkMarkColor + ";}.intastellarCCPA__popupClose{background:" + cookieColor + "; color: #fff;} .intastellarCookie-settings__btn.--bg:hover{background: " + brightColor + " !important;}.intastellarCookie-settings__close:hover{background: " + brightColor + " !important;} .intastellarCookieConstents__content-main .intastellarCookie-settings__privacyLink{color: #fff !important;} .intastellarCookie-settings__privacyLink{text-decoration: underline !important;}.intastellarCookie-settings__content .intastellarCookie-settings__privacyLink{color: " + cookieTextColor + ";}.intastellarCookie-settings__content p{color: " + cookieTextColor + " !important;}.intastellarCookie-settings__intHeader{color:" + cookieTextColor + " !important;}.intastellarCookie-settings__container{background-color: " + backgroundColor + " !important;} .intastellarCookie-settingsMoreContainer{display:none;position: fixed; top: 50%; left: 50%; background: #fff; padding: 15px;z-index: 1000; transform: translate(-50%,-50%);}" + withText, intHead.appendChild(intaCookieBannerStyle), ccpa && isValidCCPALink()) { const e = document.createElement("inta-consents-ccpa"), t = document.createElement("section"); e.setAttribute("class", "intastellarCCPAContainer"), e.setAttribute("title", "California Consumer Privacy Act: Do not sell my information!"), t.setAttribute("class", "intastellarCCPAContainer__content"), t.innerHTML = '\n Do not sell my personal data!\n ', e.appendChild(t), intaconsents.appendChild(e); const n = document.createElement("inta-consents-ccpa-popup"); n.setAttribute("class", "intastellarCCPApopup"); const i = document.createElement("section"); i.setAttribute("class", "intastellarCCPApopup__content"), null != window?.INTA?.settings.ccpa.collection ? i.innerHTML = `\n Do not sell my personal data! \n This section is about our California Consumer Privacy Act.
\n ${createCCPAPolicyLink(ccpaUrl)}\n Personal data we collect: \n \n IP-Address \n ${window?.INTA?.settings.ccpa.collection.map((e => "" + e.charAt(0).toUpperCase() + e.slice(1) + " ")).join("")}\n \n ` : i.innerHTML = '\n Do not sell my personal data! \n Personal data we collect: \n This section is about our California Consumer Privacy Act.
\n \n ', n.appendChild(i), intaconsents.appendChild(n) } else if (!isValidCCPALink() && "ccpa" in window?.INTA?.settings && "true" === window?.INTA?.settings.ccpa.on) throw new IntastellarSolutionsSDK("Please add your valid 'California Consumer Privacy Act' url to the banner. Read more at https://www.intastellarsolutions.com/gdpr-cookiebanner"); cookieSettingsContent.setAttribute("class", "intastellarCookie-settings__content"), -1 == window.location.host.indexOf("intastellarsolutions") && (poweredBy = "Powered by "); let intCookieIconSmallClass = cookieLogo == intCookieIcon ? " intastellarIcon" : "", CompanyLogoName = cookieLogo == intCookieIcon ? "Cookie Icon" : `${document.domain} logo`; function getMeta(e) { for (var t = document.getElementsByTagName("meta"), n = 0; n < t.length; n++)if (t[n].getAttribute("name") === e) return t[n].getAttribute("content"); return "" } function invertColor(e) { var t, n, i, o; return e.match(/^rgb/) ? (t = (e = e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1], n = e[2], i = e[3]) : (t = (e = +("0x" + e.slice(1).replace(e.length < 5 && /./g, "$&$&"))) >> 16, n = e >> 8 & 255, i = 255 & e), (o = Math.sqrt(t * t * .299 + n * n * .587 + i * i * .114)) >= 0 && 165 > o ? "#fff" : "#000" } function listCookies() { for (var e = document.cookie.split(";"), t = "", n = 1; n <= e.length; n++)t += n + " " + e[n - 1] + "\n"; return t } function allStorage() { for (var e = [], t = Object.keys(localStorage), n = t.length; n--;)e.push(getCookie(t[n])); return e } function listAllCookies(e) { return e.map((e => { const t = e.vendor; return null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || "da-DK" === intastellarCookieLanguage ? `\n \n \n Udbyder \n ${t}
\n Privat Politik
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privatslivs politik") : `Privatslivs politik `}
\n Domæne \n ${e.domains.map((e => { if (null != e) return `\n \n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? `\n \n \n Anbieter \n ${t}
\n Datenschutzerklährung
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Datenschutzerklährung") : `Datenschutzerklährung `}\n Domain \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? `\n \n \n Vendor \n ${t}
\n Privacy policy
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privacy policy") : `Privacy policy `}\n Domains \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => { if (null != e.cookie) return `\n \n ${e.cookie} \n ${e.purpose}
\n \n ` })).join(" ")}\n \n \n \n ` : `\n \n \n Udbyder \n ${t}
\n Privat Politik
\n ${null === e.vendor_privacy || null == e.vendor_privacy ? generatePolicyUrl("Privatslivs politik") : `Privatslivs politik `}\n Domæne \n ${e.domains.map((e => { if (null != e) return `\n ${e}
\n ` })).join(" ")}\n \n \n Cookies \n \n ${e.cookies.map((e => `\n \n ${e.cookie} \n ${e.purpose}
\n \n `)).join(" ")}\n \n \n \n ` })).join(" ") } function isURL(e) { const t = new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), n = document.createElement("a"); return n.href = e, (n.host !== window.location.host || n.host == window.location.host) && !!(t.test(e) && -1 != e.indexOf("policy") || t.test(e) && -1 != e.indexOf("cookie") || t.test(e) && -1 != e.indexOf("privat") || t.test(e) && -1 != e.indexOf("privacy") || t.test(e) && -1 != e.indexOf("conditions") || t.test(e) && -1 != e.indexOf("datenschutz") || t.test(e) && -1 != e.indexOf("politica") || t.test(e) && -1 != e.indexOf("handelsbetingelser")) } moreintHeader.innerHTML = `\n ${void 0 !== window?.INTA?.settings.logo ? ' ' : ""}\n `, cookieSettingsContent.innerHTML = '' + message + cookieBtn + poweredBy, cookieSettings.appendChild(cookieSettingsContent), window?.INTA?.settings.advanced && banner.appendChild(cookieSettings), banner.setAttribute("class", "intastellarCookie-settings"), bannerContent.innerHTML = ' ' + IntastellarToolTip + " " + text, banner.appendChild(bannerContent), moreSettings.appendChild(moreSettingsContent), intaconsents.appendChild(banner), intaconsents.appendChild(moreSettings), null != document.querySelector(".intastellarCCPAContainer") && document.querySelector(".intastellarCCPAContainer").addEventListener("click", (function () { document.querySelector(".intastellarCCPApopup").classList.toggle("--active") })), window.addEventListener("load", (function () { (adsbygoogle = window.adsbygoogle || []).pauseAdRequests = 0; const e = location.host.split(".").reverse(), t = (encodeURI(e[1] + "." + e[0]), document.createElement("iframe")); if (t.name = "intastellar-solutions-sharinglibrary-iframe", t.style.display = "none", t.title = "Intastellar Solutions cookie sharing library", t.src = intastellarCookieBannerRootDomain + "/cookieSharingIframe.html", document.body.appendChild(t), null != document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]")) { const e = document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]"); window.addEventListener("message", (function (t) { "https://consents.cdn.intastellarsolutions.com" === t.origin && "ready" === t.data && intaConsentsObjectVariable.sharingDomains.length > 0 && intaConsentsObjectVariable.sharingDomains.includes(window.location.host) && e.contentWindow.postMessage(intaConsentsObjectVariable, "https://consents.cdn.intastellarsolutions.com") })) } if (gtag("set", { user_id: getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid : intaConsentsObjectVariable.uid }), !isValidPolicyLink()) { const e = document.createElement("div"), t = document.createElement("div"); throw e.className = "intastellarErrorMessage", t.className = "intastellarErrorMessage-content", t.innerHTML = "Intastellar Solutions SDK: Please add a valid privacy & cookie policy to the banner. Read more at https://developers.intastellarsolutions.com/cookie-solutions/docs/add-privacy-policy ", e.appendChild(t), new IntastellarSolutionsSDK("Please add a valid privacy & cookie policy to the banner. Read more at https://developers.intastellarsolutions.com/cookie-solutions/docs/add-privacy-policy") } { document.querySelectorAll(".intaCookieListOverview-vendor").forEach(((e, t) => { "" != window?.INTA?.settings.company && null != window?.INTA?.settings.company && e.innerText == window.location.host && (e.innerText = window?.INTA?.settings.company) })), document.querySelectorAll(".intCookie_ConsentLogo").forEach((e => { e.src = window?.INTA?.settings.logo })), document.querySelectorAll(".intLearnMoreBtn").forEach((e => { e.addEventListener("click", (function (e) { learnMore(this) })) })), window?.INTA?.settings?.partnerDomain?.forEach((e => { intaConsentsObjectVariable.sharingDomains.push(e) })), window?.INTA?.settings?.partnerDomain && dataLayer.push({ linker: { domains: window?.INTA?.settings?.partnerDomain } }), "" == getCookie(int_hideCookieBannerName) && -1 == getCookie(int_hideCookieBannerName).indexOf("__inta") && document.querySelector(".intastellarCookieConstents").classList.add("--active"), document.querySelectorAll(".intaExpandCookieList").forEach(((e, t) => { e.addEventListener("click", (() => { document.querySelectorAll(".intastellar__arrow")[t].classList.toggle("open"), document.querySelectorAll(".intaCookieListOverview")[t].classList.toggle("view") })) })); document.querySelector(".intastellarCookie-settings__container"); null != document.querySelector(".intastellarCookieBanner") ? getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1") > -1 ? document.querySelector(".intastellarCookieBanner").style.display = "none" : document.querySelector(".intastellarCookieBanner").style.display = "" : getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1") > -1 && (document.querySelector("html").classList.remove("noScroll"), null != document.querySelector(".intastellarCookieConstents") && document.querySelector(".intastellarCookieConstents").classList.remove("--active")), document.querySelectorAll(".intastellarCookieBanner__settings").forEach((e => { e.addEventListener("click", (() => { let e = document.querySelector(".intastellarCookieConstents"); e?.classList.contains("--active") || (e?.classList.add("--active"), document.querySelector(".intastellarCookie-settings__container").classList.remove("intastellarCookie-settings__container--expand")) })) })); const e = document.querySelector("#functional"), t = document.querySelector("#statics"), n = document.querySelector("#marketing"), i = {}; null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? (i.necessaryCookiesText = "Decline All", i.saveSettingsText = "Save settings") : null != intastellarCookieLanguage && "de-DE" === intastellarCookieLanguage || "de" === intastellarCookieLanguage ? (i.necessaryCookiesText = "Ablehnen", i.saveSettingsText = "Speichern") : (null != intastellarCookieLanguage && "da" === intastellarCookieLanguage || intastellarCookieLanguage, i.necessaryCookiesText = "Afvis", i.saveSettingsText = "Gem indstillinger"), e?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), t?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), n?.addEventListener("change", (() => { document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !1 === e?.checked && !1 === t?.checked && !1 === n?.checked ? i.necessaryCookiesText : i.saveSettingsText })), document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText = !0 === e?.checked && !0 === t?.checked && !0 === n?.checked || !0 === e?.checked || !0 === t?.checked || !0 === n?.checked ? i.saveSettingsText : i.necessaryCookiesText; document.getElementsByClassName("intastellarCookieBanner__accpetNecssery"), document.getElementsByClassName("intastellarCookieSettings--acceptAll"); if (document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission").forEach((e => { e.addEventListener("click", (e => { const t = getCookie(int_hideCookieBannerName) ? JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents : intaConsentsObjectVariable.consents, n = document.createElement("iframe"); let i = e.target.getAttribute("data-type"); "intFunctionalCookies" === i ? (t.functionalCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")) : "intMarketingCookies" === i ? (t.advertisementCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")) : "intStaticsticCookies" === i && (t.staticsticCookies = "checked", n.src = e.target.parentElement.parentElement.parentElement.getAttribute("data-src")), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(t), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; e.target.parentElement.parentElement.parentElement.parentNode; window.location.reload() })) })), document.querySelector(".--save").addEventListener("click", (() => { const i = []; if (e?.checked) gtag("consent", "update", { functionality_storage: "granted" }), i.push("functionalCookies"); else { gtag("consent", "update", { functionality_storage: "denied" }); const e = i.indexOf("functionalCookies"); e > -1 && i.splice(e, 1) } if (t?.checked) gtag("consent", "update", { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted" }), i.push("staticsticCookies"); else { gtag("consent", "update", { analytics_storage: "denied" }); const e = i.indexOf("staticsticCookies"); e > -1 && i.splice(e, 1) } if (n?.checked) gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted" }), i.push("advertisementCookies"); else { gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied" }); const e = i.indexOf("advertisementCookies"); e > -1 && i.splice(e, 1) } saveINTCookieSettings("changePermission", i) })), void 0 !== window?.INTA?.settings.ccpa && window?.INTA?.settings.ccpa.on) { document.querySelector(".intastellarCCPA__popupClose").addEventListener("click", (() => { document.querySelector(".intastellarCCPApopup").classList.remove("--active") })) } if (null == button__acceptAll && null == button__acceptAll || button__acceptAll.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=0; expires=" + new Date((new Date).getTime() + 864e7).toGMTString() + "; path=/; " + intCookieDomain, document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all") })), null == button__acceptAll && null == button__acceptAll || button__acceptAll.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + new Date((new Date).getTime() + 864e7).toGMTString() + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"); const n = { intaConsentsObjectVariable: intaConsentsObjectVariable, partnerDomain: window?.INTA?.settings.partnerDomain }; window.addEventListener("message", (function (e) { "ready" != e.data && e.origin != intastellarCookieBannerRootDomain || document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(n), "*") })), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all") })), null == button__acceptAll && null == button__acceptAll || button__acceptAllNecessary.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"); const e = { intaConsentsObjectVariable: intaConsentsObjectVariable, partnerDomain: window?.INTA?.settings.partnerDomain }; window.addEventListener("message", (function (t) { "ready" != t.data && t.origin != intastellarCookieBannerRootDomain || document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(e), "*") })), gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }) })), null != button__acceptAll || null != button__acceptAll) { const e = document.querySelectorAll(".intastellarCookie-settingsContainer"), t = document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"), n = document.querySelectorAll(".intastellarCookieSettings--acceptAll"), i = (document.querySelector(".analytics"), document.querySelector(".intastellarCookie-settings__close")); document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission").forEach((e => { e.addEventListener("click", (function () { "intMarketingCookies" == this.getAttribute("data-type") ? document.querySelector("#marketing").checked = !0 : "intFunctionalCookies" == this.getAttribute("data-type") && (document.querySelector("#functional").checked = !0), saveINTCookieSettings("changePermission", this.getAttribute("data-type")), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") })) })), !1 === window?.INTA?.settings.advanced || "" === window?.INTA?.settings.advanced || void 0 === window?.INTA?.settings.advanced ? e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookie-settings__container"); document.querySelector("html").classList.toggle("noScroll"), e.classList.toggle("intastellarCookie-settings__container--expand") })) })) : e.forEach((e => { e.addEventListener("click", (function () { document.querySelector(".intastellarCookieConstents").classList.toggle("--active") })) })), window?.INTA?.settings.advanced && i.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })), t.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("denied"), document.querySelector("#marketing").checked = !1, document.querySelector("#statics").checked = !1, document.querySelector("#functional").checked = !1 })) })), n.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all"), document.querySelector("#marketing").checked = !0, document.querySelector("#statics").checked = !0, document.querySelector("#functional").checked = !0 })) })) } else { const e = document.querySelectorAll(".intastellarCookie-settingsContainer"), t = document.querySelectorAll(".config"), n = document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"), i = document.querySelectorAll(".intastellarCookieSettings--acceptAll"), o = document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission"), a = (document.querySelector(".intastellarCCPA__popupClose"), document.querySelector(".analytics"), document.querySelector(".intastellarCookie-settings__close")); document.querySelector(".intastellarCookie-settings__container"); o.forEach((e => { e.addEventListener("click", (function () { "intMarketingCookies" == this.getAttribute("data-type") ? document.querySelector("#marketing").checked = !0 : "intFunctionalCookies" == this.getAttribute("data-type") && (document.querySelector("#functional").checked = !0), saveINTCookieSettings("changePermission", this.getAttribute("data-type")), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") })) })), window?.INTA?.settings.advanced ? (e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookie-settings__container"); document.querySelector("html").classList.toggle("noScroll"), e.classList.toggle("intastellarCookie-settings__container--expand") })) })), t.forEach((e => { e.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })) }))) : e.forEach((e => { e.addEventListener("click", (function () { let e = document.querySelector(".intastellarCookieConstents"); document.querySelector("html").classList.toggle("noScroll"), e.classList.add("--active") })) })), window?.INTA?.settings.advanced && a.addEventListener("click", (function () { document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand") })), n.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: !1, functionalCookies: !1, advertisementCookies: !1 }, intaConsentsObjectVariable.time = (new Date).getTime(); document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/;" + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), document.querySelector("#marketing").checked = !1, document.querySelector("#statics").checked = !1, document.querySelector("#functional").checked = !1, gtag("consent", "update", { ad_storage: "denied", personalization_storage: "denied", analytics_storage: "denied", functionality_storage: "denied", ads_data_redaction: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }) })) })), i.forEach((e => { e.addEventListener("click", (function () { intaConsentsObjectVariable.consents = { staticsticCookies: "checked", functionalCookies: "checked", advertisementCookies: "checked" }, intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, document.cookie = "_vis_opt=1; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain; for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++)e.type = ""; document.querySelector("html").classList.toggle("noScroll"), document.querySelector(".intastellarCookieConstents").classList.toggle("--active"), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), gtag("consent", "update", { ad_storage: "granted", personalization_storage: "granted", analytics_storage: "granted", functionality_storage: "granted", ads_data_redaction: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }), dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), updateConsents("all"), document.querySelector("#marketing").checked = !0, document.querySelector("#statics").checked = !0, document.querySelector("#functional").checked = !0 })) })) } window.addEventListener("message", (e => { if ("ready" == e.data && document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*"), e.data) { e.data } })) } })); const IntastellarCookieConsent = { renew: function () { document.querySelector(".intastellarCookieConstents").classList.add("--active"), document.querySelector("html").classList.add("noScroll") }, initialize: function (e) { "loading" === document.readyState ? document.addEventListener("DOMContentLoaded", (() => { if (0 === document.querySelectorAll('script[src^="https://downloads.intastellarsolutions.com/cookieconsents/"][src$="/config.js"]').length || void 0 === window.INTA) { let e = window.location.host; e.replace(/^(?:https?:\/\/)?(?:www\.)?/i, ""), e = e.replace(/:\d+$/, ""); const t = "https://downloads.intastellarsolutions.com/cookieconsents/" + e + "/config.js", n = document.createElement("script"); n.src = t; const i = new XMLHttpRequest; i.open("GET", t), i.send(), 200 === i.status && document.head.insertBefore(n, document.currentScript) } document.body.append(e) })) : document.body.append(e) } }; function isCCPAURL(e) { const t = new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), n = document.createElement("a"); return n.href = e, (n.host !== window.location.host || n.host == window.location.host) && !!(t.test(e) && -1 != e.indexOf("policy") || t.test(e) && -1 != e.indexOf("ccpa") || t.test(e) && -1 != e.indexOf("california-consumer-privacy-act") || t.test(e) && -1 != e.indexOf("california") || t.test(e) && -1 != e.indexOf("privacy-act") || t.test(e) && -1 != e.indexOf("california-consumer")) } function getCookies() { for (var e = document.cookie.split(";"), t = "", n = 1; n <= e.length; n++)t += n + " - " + e[n - 1] + " "; return t } function findScriptParameter(e) { const t = document.currentScript.src; if (t.indexOf(e) > -1) { return new URL(t).searchParams.get(e) } } let intastellarSolutionsPrivacyPolicy = "https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy"; const xhr = new XMLHttpRequest; function showPrivacy() { document.querySelector(".intLearnMoreBtn").style.display = "none", document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop = "100px"; const e = document.querySelector(".intastellar_privacyPolicy"); e.style.height = "100%", e.style.background = "#ffff", e.style.color = "#000", e.style.borderBottom = "1px solid #c4c4c4", e.style.textAlign = "left", e.innerHTML = `\n \n Back \n ${intastellarSolutionsPrivacyPolicy}\n
\n `, e.scrollIntoView({ behavior: "smooth", block: "start" }) } function hidePrivacy() { document.querySelector(".intLearnMoreBtn").style.display = "block"; document.querySelector(".intastellar_privacyPolicy").style.height = "0" } function checkIfIncluded(e) { for (var t = document.getElementsByTagName("link"), n = 0; n < t.length; n++)if (t[n].href.substr(-e.length) == e) return !0; var i = document.getElementsByTagName("script"); for (n = 0; n < i.length; n++)if (i[n].src.substr(-e.length) == e) return !0; return !1 } function isValidCCPALink() { return !!("object" == typeof window?.INTA?.settings.ccpa && isCCPAURL(window?.INTA?.settings.ccpa.url) && window?.INTA?.settings.ccpa.url.length > 0 && void 0 !== window?.INTA?.settings.ccpa.url) } function generatePolicyUrl(e) { let t = ""; return "object" == typeof window.INTA.policy_link ? t = "" + e + " " : "string" == typeof window.INTA.policy_link && (t = "" + e + " "), t } function generateCookieButtons(e, t, n) { return '' + e + ' ' + t + ' ' + n + " " } function generateCookieSettingsButton(e, t) { return '" } function createCCPAPolicyLink(e) { let t = ""; return t = "Read more about our ccpa ", t } function isValidPolicyLink() { return !!("string" == typeof window.INTA.policy_link && isURL(window.INTA.policy_link) && window.INTA.policy_link.length > 0) || !!("object" == typeof window.INTA.policy_link && isURL(window.INTA.policy_link.url) && window.INTA.policy_link.url.length > 0 && void 0 !== window.INTA.policy_link.url) } function learnMore(e) { document.querySelector(".intReadMore").classList.toggle("view"), document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop = "140px", document.querySelector(".intReadMore").classList.contains("view") ? ("da-DK" == intastellarCookieLanguage || "da" == intastellarCookieLanguage || "dk" == intastellarCookieLanguage ? e.innerHTML = "Skjul detaljer" : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? e.innerHTML = "Hide details" : (null != intastellarCookieLanguage && "de" === intastellarCookieLanguage || "de-DE" === intastellarCookieLanguage) && (e.innerHTML = "Details ausblenden"), document.querySelector(".intReadMore").scrollIntoView({ behavior: "smooth", block: "start" })) : ("da-DK" == intastellarCookieLanguage || "da" == intastellarCookieLanguage || "dk" == intastellarCookieLanguage ? e.innerHTML = "Vis details" : null != intastellarCookieLanguage && "en" === intastellarCookieLanguage || "en-GB" === intastellarCookieLanguage || "en-US" === intastellarCookieLanguage ? e.innerHTML = "Show details" : (null != intastellarCookieLanguage && "de" === intastellarCookieLanguage || "de-DE" === intastellarCookieLanguage) && (e.innerHTML = "Details einblenden"), document.querySelector(".intastellarCookieConstents__contentC").scrollIntoView({ behavior: "smooth", block: "start" })) } function updateConsents(e, t = null) { window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })); let n = document.querySelector("script[src*='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js']")?.src; if (n = n?.split("client=")[1]?.split("&")[0], "all" == e) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1), t = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1), n = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, e), int__cookiesToKeep.push.apply(int__cookiesToKeep, t), int__cookiesToKeep.push.apply(int__cookiesToKeep, n), deleteAllCookies() } if (t.length > 0 && t.forEach((e => { if ("staticsticCookies" == e) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } else if ("advertisementCookies" == e) { let e = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } else if ("functionalCookies" == e) { let e = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); -1 == int__cookiesToKeep.indexOf(e) && int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies() } })), "checked" === intaCookieConsents?.staticsticCookies) { let e = [...inta_statisticCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, e), deleteAllCookies(), window.allScripts.map((e => { console.log(e), "statics" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })) } else window.allScripts.map((e => { "statics" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })); if ("checked" === intaCookieConsents?.functionalCookies) { const e = document.querySelectorAll("inta-consents[data-src]"); window.allScripts.map((e => { "functional" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })); let t = [...inta_functionalCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, t), deleteAllCookies(), e.forEach((e => { const t = document.createElement("iframe"); t.border = "0", t.frameBorder = "0", e.getAttribute("data-class") ? t.setAttribute("class", e.getAttribute("data-class")) : (t.width = "560", t.height = "315"), "undefined" !== e.getAttribute("data-src") && (t.src = e.getAttribute("data-src"), e.parentElement.replaceChild(t, e)) })) } else window.allScripts.map((e => { "functional" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })); if ("checked" === intaCookieConsents?.advertisementCookies) { const e = document.querySelectorAll("inta-consents-iframe[data-src]"); document.querySelectorAll("script[data-marketing]"); let t = [...inta_marketingCookieList.map((e => e.cookies.map((e => null != e.cookie ? e.cookie : ""))))].flat(1); int__cookiesToKeep.push.apply(int__cookiesToKeep, t), deleteAllCookies(), fbq("consent", "grant"), window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/javascript") })) })) })), e.forEach((e => { const t = document.createElement("iframe"); t.border = "0", t.frameBorder = "0", t.setAttribute("inta-yt-placeholder-img", e?.querySelector("inta-consents-bg")?.getAttribute("inta-bg-img")), (e.getAttribute("data-src").indexOf("youtube") > -1 || e.getAttribute("data-src").indexOf("youtu.be") > -1) && (t.allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", t.title = "YouTube video player"), e.getAttribute("data-class") ? t.setAttribute("class", e.getAttribute("data-class")) : (t.width = "560", t.height = "315"), t.src = e.getAttribute("data-src"), e.parentElement.replaceChild(t, e) })) } else window.allScripts.map((e => { "marketing" == e.type && e.scripts.forEach((e => { document.querySelectorAll("script").forEach((t => { (new RegExp(e, "ig").test(t.src) || t.innerText.indexOf(e) > -1) && (t.type = "text/blocked") })) })) })) } function saveINTCookieSettings(e, t = null) { document.querySelector("html").classList.remove("noScroll"), document.querySelector(".intastellarCookieConstents").classList.remove("--active"); const n = document.querySelector("#functional"), i = document.querySelector("#statics"), o = document.querySelector("#marketing"); o?.checked ? gtag("consent", "update", { ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }) : gtag("consent", "update", { ad_storage: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), n?.checked ? gtag("consent", "update", { functionality_storage: "granted", url_passthrough: !0 }) : gtag("consent", "update", { functionality_storage: "denied" }), i?.checked ? gtag("consent", "update", { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", url_passthrough: !0 }) : gtag("consent", "update", { analytics_storage: "denied", ad_user_data: "denied", ad_personalization: "denied", url_passthrough: !0 }), intaConsentsObjectVariable.consents = { staticsticCookies: !!i?.checked && "checked", functionalCookies: !!n?.checked && "checked", advertisementCookies: !!o?.checked && "checked" }, dataLayer.push({ event: "cookie_consent_update", cookie_consent: intaConsentsObjectVariable.consents }), intaConsentsObjectVariable.time = (new Date).getTime(), document.cookie = int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable), randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + "; path=/; " + intCookieDomain, updateConsents(e, t), document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable), "*") } xhr.onload = function () { intastellarSolutionsPrivacyPolicy = "loading...", 200 === this.status && (intastellarSolutionsPrivacyPolicy = this.responseText) }, xhr.open("GET", "https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy?lang=" + (void 0 === window?.INTA?.settings || "auto" === window?.INTA?.settings.lang || "" === window?.INTA?.settings.lang ? document.querySelector("html").getAttribute("lang") : "german" == window?.INTA?.settings.language ? "de" : "danish" == window?.INTA?.settings.language ? "da" : "english" == window?.INTA?.settings.language ? "en" : document.querySelector("html").getAttribute("lang")) + "&v=" + (new Date).getTime()), xhr.send(), setIntastellarPartnerDomain(), IntastellarCookieConsent.initialize(intaconsents);
\ No newline at end of file
diff --git a/dev/cb.dev.js b/dev/cb.dev.js
index 8652df7..9c8fa23 100644
--- a/dev/cb.dev.js
+++ b/dev/cb.dev.js
@@ -1765,7 +1765,14 @@ const IntastellarCookieConsent = {
const intastellarDefaultConfigFile = "https://downloads.intastellarsolutions.com/cookieconsents/" + host + "/config.js";
const configScript = document.createElement("script");
configScript.src = intastellarDefaultConfigFile;
- document.head.insertBefore(configScript, document.currentScript);
+
+ const xhr = new XMLHttpRequest();
+ xhr.open("GET", intastellarDefaultConfigFile);
+ xhr.send();
+
+ if (xhr.status === 200) {
+ document.head.insertBefore(configScript, document.currentScript);
+ }
}
document.body.append(template);
});