{"version":3,"file":"default/js/cookie-consent.js","mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,UAAU;AACV;AACA,UAAU;AACV;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,UAAU;AACV;AACA;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,4FAA4F,cAAc,qFAAqF,8EAA8E;;AAE7Q,4DAA4D,uCAAuC,OAAO;AAC1G,kEAAkE,0BAA0B,OAAO;AACnG;AACA,+DAA+D,0BAA0B,OAAO;AAChG;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,qCAAqC,wBAAwB;AAC7D;AACA;AACA;AACA,qCAAqC,wBAAwB;AAC7D;AACA;;AAEA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,KAAK;;AAEL,CAAC,E","sources":["webpack://vinfast-na-storefronts/./cartridges/app_custom_vinfast_eu/cartridge/client/default/js/cookie-consent.js"],"sourcesContent":["/* For Info compliance type*/\nconst cookieEU_EN_v1 = {\n message:\n 'This website uses essential which are necessary to perform all of its features. This data may be processed by our IT service providers (such as Salesforce, Securiti AI, etc.). Data protection is a priority, and we use, thanks to our service provider Piwik Pro, an IP address anonymization technology for the cookies used for the purpose of audience measurement and statistics on the legal basis of our legitimate interest. You can configure your browser to refuse essential cookies, but in this case the site may not work correctly. You also have the option to reject anonymized analytical cookies or performance cookies by going to the \"cookies settings\" section.',\n accept: \"OK\",\n know_more:\n \"Know more [Privacy Policy]\",\n mesg_2nd:\n \"This website uses only essential cookies. Click here to see our privacy policy\",\n btn_2nd: \"OK\",\n};\nconst cookieEU_FR_v1 = {\n message:\n \"Ce site web utilise des cookies essentiels qui sont nécessaires à la mise en œuvre et au bon fonctionnement de l'ensemble de ses fonctionnalités. Ces données sont susceptibles d'être traitées par nos prestataires informatiques (comme Salesforce, Securiti AI...). La protection de vos données personnelles étant une priorité, nous avons recourt, grâce à notre prestataire Piwik Pro, à une technologie d'anonymisation des adresses IP pour les cookies destinés aux mesures d'audience et de statistiques sur la base de notre intérêt légitime. Vous pouvez configurer votre navigateur pour refuser les cookies essentiels mais dans ce cas le site risque de ne pas fonctionner correctement. Vous avez également la possibilité de vous opposer aux cookies analytics anonymisés ou aux cookies de performance en vous rendant dans la section \\\"Paramétrages des cookies et gestion du consentement\\\".\",\n accept: \"OK\",\n know_more:\n \"En savoir plus [Politique de confidentialité]\",\n mesg_2nd:\n \"Ce site n'utilise que des cookies qui sont nécessaires à la mise en œuvre de ses fonctionnalités. Cliquez ici pour prendre connaissance de notre politique de confidentialité.\",\n btn_2nd: \"OK\",\n};\nconst cookieEU_DE_v1 = {\n message:\n 'Diese Website verwendet essentielle Cookies, die für die Ausführung aller ihrer Funktionen erforderlich sind. Diese Daten können von unseren IT-Dienstleistern (wie Salesforce, Securiti AI, etc.) verarbeitet werden. Der Datenschutz hat Priorität, und wir verwenden dank unseres Dienstleisters Piwik Pro eine Technologie zur Anonymisierung von IP-Adressen für die Cookies zum Zwecke der Zielgruppenmessung und der Erstellung von Statistiken auf der Rechtsgrundlage unseres berechtigten Interesses. Sie können Ihren Browser so konfigurieren, dass er wesentliche Cookies ablehnt, aber in diesem Fall funktioniert die Website möglicherweise nicht richtig. Sie haben auch die Möglichkeit, anonymisierte analytische Cookies oder Leistungs-Cookies abzulehnen, indem Sie den Abschnitt \"Cookie-Einstellungen\" aufrufen.',\n accept: \"OK\",\n know_more:\n \"Erfahren Sie mehr [Datenschutz- und Cookie-Richtlinie]\",\n mesg_2nd:\n \"Unsere Website setzt nur notwendige Cookies ein. Klicken Sie hier, um die Datenschutz- und Cookie-Richtlinie einzusehen.\",\n btn_2nd: \"OK\",\n};\nconst cookieEU_NL_v1 = {\n message:\n 'Deze site maakt gebruik van essentiële cookies die nodig zijn voor de implementatie en goede werking van alle functies. Deze gegevens kunnen worden verwerkt door onze IT-serviceproviders (zoals Salesforce, Securiti AI, enz.). Omdat de bescherming van uw persoonlijke gegevens een prioriteit is, gebruiken we, dankzij onze serviceprovider Piwik Pro, een technologie voor het anonimiseren van IP-adressen voor cookies voor doeleinden van publieksmeting en statistieken op basis van ons legitieme belang. U kunt uw browser zo configureren dat essentiële cookies worden geweigerd, maar in dit geval werkt de site mogelijk niet correct. U heeft ook de mogelijkheid om u te verzetten tegen geanonimiseerde analytische cookies of prestatiecookies door naar het gedeelte \"cookies instellingen\" te gaan.',\n accept: \"OK\",\n know_more:\n \"Meer weten [privacy wetgeving]\",\n mesg_2nd:\n \"TOnze website gebruikt alleen noodzakelijke cookies. Klik hier om ons privacybeleid te zien\",\n btn_2nd: \"OK\",\n};\n\n/* For Opt-in compliance type */\nconst cookieEU_EN_v2 = {\n message:\n \"Our website uses essential cookies that are necessary for the implementation and proper functioning of all its features. We also use cookies to measure the audience and the performance of our website and to monitor advertising results. This data may be processed by our service providers and digital solutions suppliers. You can accept or decline cookies based on consent.
You can also set your browser to refuse essential cookies but if you do so the site may not function properly. You also have the possibility of opting out of Analytics cookies based on IP address anonymization technology by going to the \\\"Cookie settings and consent management\\\" section.\",\n accept: \"ACCEPT\",\n dismiss: \"REJECT\",\n pref_link: \"Cookie management by purposes & recipients of personal data\",\n know_more:\n \"Know more [Privacy Policy]\",\n mesg_2nd:\n \"This website uses cookies. To return to your preferences, click on: cookies settings. To know more click on our Privacy Policy\",\n btn_2nd: \"OK\",\n btn_save: \"SAVE SETTINGS\",\n\n pref_header: \"Allow the use of cookies from VinFast on this browser?\",\n pref_essential: \"Essential\",\n pref_essential_desc:\n \"These cookies are essential to support core site functionality such as providing secure log-in.\",\n\n pref_analytics: \"Analytics and audience metrics\",\n pref_analytics_desc:\n \"The analytical cookies that we use on our website allow us to count the number of visitors to our site, in particular to establish statistics and volumes of traffic and use. These cookies may be deposited by Vinfast or our service providers. These cookies use IP address anonymisation technology.\",\n pref_analytics_optout:\n \"We will not be able to analyze your site usage to provide custom content.\",\n\n pref_advert: \"Advertising\",\n pref_advert_desc:\n \"These cookies helps serve advertising content that is relevant to you.\",\n pref_advert_optout:\n \"We will not be able to provide you with interest-based offers or ads.\",\n\n pref_performance: \"Performances & Functionalities\",\n pref_performance_desc:\n \"These cookies facilitate measurement and analytics for improved browsing experience.\",\n pref_performance_optout:\n \"We will not be able to conduct analytics to optimize site functionality and performance, or remember what is in your shopping cart.\",\n\n pref_social: \"Social Networking\",\n pref_social_desc:\n \"These cookies allow social interactions such as posting comments on our site.\",\n pref_social_optout:\n \"We will not be able to let you share pages with social networks.\",\n first_party: \"First Party Cookie Providers\",\n third_party: \"Third Party Cookie Providers\",\n};\nconst cookieEU_FR_v2 = {\n message:\n \"Notre site web utilise des cookies essentiels qui sont nécessaires à la mise en œuvre et au bon fonctionnement de l'ensemble de ses fonctionnalités. Nous utilisons également des cookies pour mesurer l'audience et la performance de notre site ainsi que pour contrôler les résultats publicitaires. Ces données sont susceptibles d'être traitées par nos prestataires & fournisseurs de solutions digitales.
Vous pouvez accepter ou refuser les cookies reposant sur le consentement. Vous pouvez également configurer votre navigateur pour refuser les cookies essentiels mais dans ce cas le site risque de ne pas fonctionner correctement. Vous avez également la possibilité de vous opposer aux Cookies Analytics reposant sur une technologie d’anonymisation de l’adresse IP en vous rendant dans la section \\\"Paramétrages des cookies et gestion du consentement\\\".\",\n accept: \"ACCEPTER\",\n dismiss: \"REFUSER\",\n pref_link:\n \"Paramétrage des cookies et gestion du consentement par finalités \",\n know_more:\n \"En savoir plus [Politique de confidentialité]\",\n pref_header:\n \"Autoriser l'utilisation des cookies de VinFast sur ce navigateur ?\",\n\n mesg_2nd:\n \"Ce site utilise des cookies. Pour revenir sur vos choix, cliquez sur: \\\"paramétrage des cookies et gestion du consentement\\\".\",\n btn_2nd: \"OK\",\n btn_save: \"SAUVEGARDER LES PARAMÈTRES DE COOKIES\",\n\n pref_essential: \"Essentiel\",\n pref_essential_desc:\n \"Ces cookies sont essentiels pour prendre en charge les fonctionnalités principales du site, telles que la fourniture d'une connexion sécurisée.\",\n\n pref_analytics: \"Analytics et mesures d'audience\",\n pref_analytics_desc:\n \"Les Cookies analytiques que nous utilisons sur notre site nous permettent de comptabiliser le nombre de visiteurs sur notre site notamment pour établir des statistiques et des volumes de fréquentation et d'utilisation. Ces cookies peuvent être déposés par Vinfast ou nos prestataires de services. Ces cookies utilisent une technologie d'anonymisation de l'adresse IP.\",\n pref_analytics_optout:\n \"Nous ne serons pas en mesure d'analyser l'utilisation de votre site pour fournir un contenu personnalisé.\",\n\n pref_advert: \"Publicité\",\n pref_advert_desc:\n \"Ces cookies permettent de diffuser du contenu publicitaire personnalisé.\",\n pref_advert_optout:\n \"Nous ne serons pas en mesure de vous proposer des offres ou des publicités personnalisées basées sur vos centres d'intérêt.\",\n\n pref_performance: \"Performances & Fonctionalités\",\n pref_performance_desc:\n \"Ces cookies facilitent la mesure et l'analyse pour une meilleure expérience de navigation.\",\n pref_performance_optout:\n \"Nous ne serons pas en mesure d'effectuer des analyses pour optimiser les fonctionnalités et les performances du site, ou de mémoriser ce qui se trouve dans votre panier.\",\n\n pref_social: \"Réseaux sociaux\",\n pref_social_desc:\n \"Ces cookies permettent des interactions avec les réseaux sociaux telles que la publication de commentaires sur notre site\",\n pref_social_optout:\n \" Nous ne pourrons pas vous permettre de partager des pages avec les réseaux sociaux.\",\n first_party: \"Fournisseurs de cookies propriétaires\",\n third_party: \"Fournisseurs de cookies tiers\",\n};\nconst cookieEU_DE_v2 = {\n message:\n \"Unsere Website verwendet wichtige Cookies die für die Umsetzung und das ordnungsgemäße Funktionieren aller Funktionen erforderlich sind. Wir verwenden Cookies auch um die Besucherzahl und die Leistung unserer Website zu messen und die Werbeergebnisse zu überwachen. Diese Daten können von unseren Dienstleistern und Anbietern digitaler Lösungen verarbeitet werden.
Sie können Cookies mit Ihrer Zustimmung akzeptieren oder ablehnen. Sie können Ihren Browser auch so einstellen, dass wichtige Cookies abgelehnt werden, aber in diesem Fall funktioniert die Website möglicherweise nicht richtig. Sie haben auch die Möglichkeit Analytics-Cookies, die auf der Technologie zur Anonymisierung von IP-Adressen basieren, abzulehnen indem Sie den Abschnitt \\\"Cookie-Einstellungen und Zustimmungsmanagement\\\" aufrufen.\",\n accept: \"Akzeptieren\",\n dismiss: \"Ablehnen\",\n pref_link:\n \"Cookie Management nach Verwendungen und Empfängern von
personenbezogenen Daten\",\n know_more:\n \"Erfahren Sie mehr [Datenschutz- und Cookie-Richtlinie]\",\n pref_header:\n \"Zustimmung zum Einsatz von Cookies von VinFast auf diesem Browser\",\n\n mesg_2nd:\n \"Diese Website setzt Cookies ein. Bitte klicken Sie auf cookie-Einstellungen, um Ihre Einstellungen aufzurufen. Um mehr zu erfahren, klicken Sie auf unsere Datenschutz- Richtlinie.\",\n btn_2nd: \"OK\",\n btn_save: \"EINSTELLUNGEN SPEICHERN\",\n\n pref_essential: \"Notwendig\",\n pref_essential_desc:\n \"Diese Cookies sind erforderlich, um wesentliche Funktionen der Website zu ermöglichen, z.B. einen sicheren Log-In.\",\n\n pref_performance: \"Performances und Funktionalität\",\n pref_performance_desc:\n \"Diese Cookies ermöglichen Messungen und Analysenum das Erlebnis der Website zu verbessern\",\n pref_performance_optout:\n \"Eine Analyse mit dem Zweck der Optimierung der Funktionalität und Leistungsfähigkeit wird nicht möglich sein. Außerdem ist die Möglichkeit der Speicherung des Inhalts Ihres Einkaufskorbs eingeschränkt.\",\n\n pref_analytics: \"Analytics und Publikumsmessung\",\n pref_analytics_desc:\n \"Die analytischen Cookies, die wir auf unserer Website verwenden, ermöglichen es uns, die Anzahl der Besucher auf unserer Website zu erfassen, insbesondere um Statistiken und Volumen der Besucherzahlen und der Nutzung zu erstellen. Diese Cookies können von Vinfast oder unseren Dienstleistern abgelegt werden. Diese Cookies verwenden eine Technologie zur Anonymisierung der IP-Adresse.\",\n pref_analytics_optout:\n \"Wir werden nicht in der Lage sein, die Nutzung unserer Website zu analysieren und ihren Inhalt zu verbessern.\",\n\n pref_advert: \"Werbung\",\n pref_advert_desc:\n \"Diese Cookies unterstützen uns dabei, für Sie relevante Werbeinhalte bereitzustellen.\",\n pref_advert_optout:\n \"Wir werden Ihnen keine interessensbasierten Angebote oder Werbeinhalte bereitstellen können.\",\n\n pref_social: \"Soziale Netzwerke\",\n pref_social_desc:\n \"Diese Cookies erlauben es uns, mit sozialen Netzwerken zu interagieren und z.B. Posts auf unserer Seite darzustellen\",\n pref_social_optout:\n \"Wir werden es nicht ermöglichen können, dass Sie Seiten mit sozialen Netzwerken teilen.\",\n first_party: \"Anbieter von Erstanbieter-Cookies\",\n third_party: \"Drittanbieter von Cookies\",\n};\nconst cookieEU_NL_v2 = {\n message:\n \"Onze website maakt gebruik van essentiële cookies die noodzakelijk zijn voor de implementatie en goede werking van al zijn functies. Wij gebruiken ook cookies om het publiek en de prestaties van onze website te meten en om advertentieresultaten te monitoren. Deze gegevens kunnen worden verwerkt door onze dienstverleners en providers van digitale oplossingen.
U kunt naar eigen goeddunken cookies accepteren of weigeren. U kunt uw browser ook zo instellen dat essentiële cookies worden geweigerd, maar als u dat doet, werkt de site mogelijk niet naar behoren. U hebt ook de mogelijkheid om Analytics-cookies op basis van IP-adres anonimiseringstechnologie te selecteren door naar \\\"Cookie-instellingen en machtigingenbeheer\\\" te gaan.\",\n accept: \"ACCEPTEREN\",\n dismiss: \"WEIGEREN\",\n pref_link: \"Cookie management per doel en ontvanger van persoons gegevens\",\n know_more:\n \"Meer weten (privacy wetgeving)\",\n pref_header: \"VinFast cookies toestaan op deze browser?\",\n\n mesg_2nd:\n \"Deze website cookies: Om terug te keren naar je voorkeuren, klik op: Cookies instellingen. Klik voor meer informatie op ons Privacybeleid\",\n btn_2nd: \"OK\",\n btn_save: \"INSTELLINGEN OPSLAAN\",\n\n pref_essential: \"Essentieel\",\n pref_essential_desc:\n \"Deze cookies zijn essentieel om de website te laten functioneren, zoals beveiligde log-in.\",\n\n pref_performance: \"Prestaties en functionaliteit\",\n pref_performance_desc:\n \"Deze cookies faciliteren meetingen en analyses voor een verbeterde website ervaring\",\n pref_performance_optout:\n \"We zullen niet in staat zijn om analyses uit te voeren om de website optimaal te laten functioneren en presteren. Ook kunnen we niet onthouden wat in uw winkelmandje zit.\",\n\n pref_analytics: \"Analytics en publieksmeting\",\n pref_analytics_desc:\n \"De analytische cookies die wij op onze site gebruiken, stellen ons in staat het aantal bezoekers aan onze site te tellen, met name om statistieken en verkeers- en gebruiksvolumes op te stellen. Deze cookies kunnen worden geplaatst door Vinfast of onze dienstverleners. Deze cookies maken gebruik van IP-adresanonimiseringstechnologie\",\n pref_analytics_optout:\n \"Wir werden nicht in der Lage sein, die Nutzung unserer Website zu analysieren und ihren Inhalt zu verbessern\",\n\n pref_advert: \"Adverteren\",\n pref_advert_desc:\n \"Deze cookies helpen om u advertenties aan te bieden die relevant voor u kunnen zijn\",\n pref_advert_optout:\n \"We zijn niet in staat u gepersonaliseerde advertenties aan te bieden\",\n\n pref_social: \"Sociale netwerken\",\n pref_social_desc:\n \"Deze cookies staan sociale interacties toe zoals het publiceren van commentaar op onze website\",\n pref_social_optout:\n \"We zijn niet in staat om u pagina's te laten delen op sociale netwerken\",\n first_party: \"Aanbieders van first party cookies\",\n third_party: \"Aanbieders van cookies van derden\",\n};\n\nfunction OverrideCookieBanner() {\n //Get current language path\n var path = window.location.pathname;\n\n if (jQuery(\".cc-window\").hasClass(\"cc-type-info\")) {\n //Override Element HTML\n if (path.includes(\"/fr_FR/\")) {\n setValue_Info(cookieEU_FR_v1);\n } else if (path.includes(\"/de_DE/\")) {\n setValue_Info(cookieEU_DE_v1);\n } else if (path.includes(\"/nl_NL/\")) {\n setValue_Info(cookieEU_NL_v1);\n } else {\n setValue_Info(cookieEU_EN_v1);\n }\n } else if (jQuery(\".cc-window\").hasClass(\"cc-type-opt-in\")) {\n if (path.includes(\"/fr_FR/\")) {\n // console.log(path);\n setValue_Optin(cookieEU_FR_v2);\n } else if (path.includes(\"/de_DE/\")) {\n // console.log(path);\n setValue_Optin(cookieEU_DE_v2);\n } else if (path.includes(\"/nl_NL/\")) {\n // console.log(path);\n setValue_Optin(cookieEU_NL_v2);\n } else {\n // console.log(path);\n setValue_Optin(cookieEU_EN_v2);\n }\n }\n}\n\nfunction setValue_Info(object) {\n jQuery(\".cc-message\").html(object.message);\n jQuery(\".cc-allow\").html(object.accept);\n jQuery(\"#knowMore\").html(object.know_more);\n}\nfunction setValue_Optin(object) {\n jQuery(\".cc-message\").html(object.message);\n jQuery(\".cc-allow\").html(object.accept);\n jQuery(\".cc-dismiss\").html(object.dismiss);\n jQuery(\"#securitiCmpCookiePrefBtn\").html(object.pref_link);\n jQuery(\"#knowMore\").html(object.know_more);\n}\n\nfunction changeCookieBannerLayout() {\n /* Add modal layout */\n jQuery(\".cc-window\").wrap(\"
\");\n jQuery(\"#wrapper-cc\").show();\n jQuery(\".cc-window.cc-floating\").removeClass(\"cc-right\");\n jQuery(\".cc-window.cc-floating\").removeClass(\"cc-bottom\");\n\n /* Add logo */\n jQuery(\".cc-window\").prepend(\n \"\"\n );\n jQuery(\".cc-btn:last-child\").append(\"
\");\n jQuery(\"#securitiCmpCookiePrefBtn span:first-child\").remove();\n\n /* Re-order button */\n jQuery(\".cc-btn.cc-dismiss\").insertBefore(\".cc-btn.cc-allow\");\n jQuery(\".cc-window.cc-floating\").append(\"
\");\n jQuery(\".cc-window.cc-floating\").append(\"
\");\n jQuery(\"#securitiCmpCookiePrefBtn\").appendTo(\"#prefDiv\");\n\n jQuery(\".cc-message > a.cc-link\").appendTo(\"#knowMore\");\n //jQuery(\"#knowMore\").append(\"]\");\n\n /* Add event click to button */\n document\n .querySelectorAll(\".cc-btn\")\n .forEach((item) =>\n item.addEventListener(\"click\", () => jQuery(\"#wrapper-cc\").hide())\n );\n}\n\nfunction changePreferenceCenterLayout() {\n var path = window.location.pathname;\n\n if (path.includes(\"/fr_FR/\")) {\n changePreferenceCenterLayoutOptin(cookieEU_FR_v2);\n } else if (path.includes(\"/de_DR/\")) {\n changePreferenceCenterLayoutOptin(cookieEU_DE_v2);\n } else if (path.includes(\"/nl_NL/\")) {\n changePreferenceCenterLayoutOptin(cookieEU_NL_v2);\n } else {\n changePreferenceCenterLayoutOptin(cookieEU_EN_v2);\n }\n}\n\nfunction changePreferenceCenterLayoutOptin(object) {\n /* Remove un-use element */\n jQuery(\".cmp-logo-wrapper\").remove();\n jQuery(\".cmp-modal__sub-title\").remove();\n /* Remove 1st/3rd Party Section */\n //jQuery(\".cmp-tabs__sub-title\").remove();\n /* Remove Country Row */\n jQuery(\".cmp-cookie-info\").each(function () {\n if (jQuery(this).children(\"tbody\").children(\"tr\").children(\"tr\").last()) {\n jQuery(\"td.cmp-cookie-head\").each(function () {\n if (\n jQuery(this).html() == \"Country\" ||\n jQuery(this).html() == \"Land\" ||\n jQuery(this).html() == \"Pays\"\n ) {\n jQuery(this).parent(\"tr\").remove();\n }\n });\n }\n });\n /* Translate texts */\n jQuery(\".cmp-modal__title\").html(object.pref_header);\n jQuery(\".cmp-save-btn\").html(object.btn_save);\n jQuery(\".cmp-btn-wrapper\").append(\n '
' + object.know_more + \"
\"\n );\n jQuery(\".cmp-tabs__section\")\n .children(\".cmp-tabs__sub-title\")\n .html(object.first_party);\n jQuery(\".cmp-tab-content\")\n .children(\".cmp-tabs__sub-title\")\n .html(object.third_party);\n jQuery(\"li.cmp-category\").each(function () {\n if (jQuery(this).attr(\"id\") == \"Essential\") {\n jQuery(this)\n .children(\".cmp-prevent-default\")\n .children(\"span:nth-child(2)\")\n .html(object.pref_essential);\n } else if (jQuery(this).attr(\"id\") == \"Advertising\") {\n jQuery(this)\n .children(\".cmp-prevent-default\")\n .children(\"span:nth-child(2)\")\n .html(object.pref_advert);\n } else if (jQuery(this).attr(\"id\") == \"Analytics and audience metrics\") {\n jQuery(this)\n .children(\".cmp-prevent-default\")\n .children(\"span:nth-child(2)\")\n .html(object.pref_analytics);\n } else if (jQuery(this).attr(\"id\") == \"Performances & Functionalities\") {\n jQuery(this)\n .children(\".cmp-prevent-default\")\n .children(\"span:nth-child(2)\")\n .html(object.pref_performance);\n } else if (jQuery(this).attr(\"id\") == \"Social Networking\") {\n jQuery(this)\n .children(\".cmp-prevent-default\")\n .children(\"span:nth-child(2)\")\n .html(object.pref_social);\n }\n });\n /* Translate Elements */\n jQuery(\"div.cmp-tab-content\").each(function () {\n if (jQuery(this).data(\"category\") == \"Essential\") {\n jQuery(this)\n .children(\".cmp-tabs__header\")\n .children(\".cmp-tabs__title\")\n .html(object.pref_essential);\n jQuery(this).children(\".cmp-tabs__desc\").html(object.pref_essential_desc);\n } else if (jQuery(this).data(\"category\") == \"Advertising\") {\n jQuery(this)\n .children(\".cmp-tabs__header\")\n .children(\".cmp-tabs__title\")\n .html(object.pref_advert);\n jQuery(this).children(\".cmp-tabs__desc\").html(object.pref_advert_desc);\n jQuery(this)\n .children(\".cmp-tabs__opt-out\")\n .html(object.pref_advert_optout);\n } else if (\n jQuery(this).data(\"category\") == \"Analytics and audience metrics\"\n ) {\n jQuery(this)\n .children(\".cmp-tabs__header\")\n .children(\".cmp-tabs__title\")\n .html(object.pref_analytics);\n jQuery(this).children(\".cmp-tabs__desc\").html(object.pref_analytics_desc);\n jQuery(this)\n .children(\".cmp-tabs__opt-out\")\n .html(object.pref_analytics_optout);\n } else if (\n jQuery(this).data(\"category\") == \"Performances & Functionalities\"\n ) {\n jQuery(this)\n .children(\".cmp-tabs__header\")\n .children(\".cmp-tabs__title\")\n .html(object.pref_performance);\n jQuery(this)\n .children(\".cmp-tabs__desc\")\n .html(object.pref_performance_desc);\n jQuery(this)\n .children(\".ccmp-tabs__opt-out\")\n .html(object.pref_performance_optout);\n } else if (jQuery(this).data(\"category\") == \"Social Networking\") {\n jQuery(this)\n .children(\".cmp-tabs__header\")\n .children(\".cmp-tabs__title\")\n .html(object.pref_social);\n jQuery(this).children(\".cmp-tabs__desc\").html(object.pref_social_desc);\n jQuery(this)\n .children(\".cmp-tabs__opt-out\")\n .html(object.pref_social_optout);\n }\n });\n /* Add event click to button */\n document\n .querySelectorAll(\".cmp-save-btn\")\n .forEach((item) =>\n item.addEventListener(\"click\", () => jQuery(\"#wrapper-cc\").hide())\n );\n}\n\nfunction checkCookieExist() {\n if (\n Cookies.get(\"__privaci_cookie_consents\") &&\n !sessionStorage._isClosedBanner\n ) {\n //if cookie is set\n jQuery(\"body\").append(\"
\");\n jQuery(\"#cookieNoticeWrap\").append(\"
\");\n\n var consentValue = jQuery.parseJSON(\n Cookies.get(\"__privaci_cookie_consents\")\n );\n var path = window.location.pathname;\n if (Object.keys(consentValue[\"consents\"]).length > 1) {\n if (path.includes(\"/fr_FR/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_FR_v2.mesg_2nd);\n } else if (path.includes(\"/de_DE/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_DE_v2.mesg_2nd);\n } else if (path.includes(\"/nl_NL/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_NL_v2.mesg_2nd);\n } else {\n jQuery(\"#cookieNotice\").append(cookieEU_EN_v2.mesg_2nd);\n }\n\n jQuery(\"#cookieNotice\").append(\n \"OK\"\n );\n\n document.getElementById(\"showPrefCent\").addEventListener(\n \"click\",\n (window.showConsentPreferencesPopup = function (e) {\n preferenceCenterGeneration.showCookiePreference(e, null, !1, !0);\n })\n );\n\n // document.getElementById(\"enable-cookie-settings\").addEventListener(\n // \"click\",\n // (window.showConsentPreferencesPopup = function (e) {\n // preferenceCenterGeneration.showCookiePreference(e, null, !1, !0);\n // })\n // );\n } else {\n if (path.includes(\"/fr_FR/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_FR_v1.mesg_2nd);\n } else if (path.includes(\"/de_DE/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_DE_v1.mesg_2nd);\n } else if (path.includes(\"/nl_NL/\")) {\n jQuery(\"#cookieNotice\").append(cookieEU_NL_v1.mesg_2nd);\n } else {\n jQuery(\"#cookieNotice\").append(cookieEU_EN_v1.mesg_2nd);\n }\n\n jQuery(\"#cookieNotice\").append(\n \"OK\"\n );\n }\n\n document\n .getElementById(\"btnCloseBanner\")\n .addEventListener(\"click\", function () {\n sessionStorage.setItem(\"_isClosedBanner\", \"1\");\n jQuery(\"#cookieNoticeWrap\").hide();\n });\n }\n}\n\nfunction UpdateCookies() {\n setTimeout(function () {\n var uuid;\n var policy_version;\n var domain_id;\n var unixtime = Math.round(+new Date() / 1000);\n var date = new Date();\n var expiryDate = new Date(date.getFullYear(), date.getMonth() + 6, date.getDate());\n var x_token;\n var consent_time;\n var hostname = window.location.hostname;\n var essential, analytic, adverting, performance, social, unclass;\n\n if (hostname == \"shop.vinfastauto.eu\") {\n x_token = \"fd8bd1d9-ea90-4a11-bf51-601935c70b0f\";\n domain_id = 2;\n essential = 15\n analytic = 14\n adverting = 13\n unclass = 18\n }\n else {\n x_token = \"a569bd1c-55ad-4fc9-b088-8847e295d565\";\n domain_id = 3;\n essential = 21\n analytic = 20\n adverting = 19\n }\n\n if (Cookies.get(\"__privaci_cookie_consent_uuid\")) {\n var c = Cookies.get(\"__privaci_cookie_consent_uuid\")\n uuid = c.split(\":\")[0]\n policy_version = c.split(\":\")[1]\n }\n\n if (Cookies.get(\"__privaci_cookie_consents\")) {\n var c = Cookies.get(\"__privaci_cookie_consents\")\n var cookies = jQuery.parseJSON(c)\n var newContent = \"\";\n\n var __privaci_cookie_consents = newContent.concat('__privaci_cookie_consents = {\\\"consents\\\":{\\\"', essential, '\\\":1,\\\"', adverting, '\\\":0,\\\"', analytic, '\\\":1,\\\"', unclass, '\\\":0},\\\"location\\\":\\\"', cookies[\"location\"], '\\\",\\\"lang\\\":\"', cookies[\"lang\"], '\\\"}');\n\n document.cookie = \"__privaci_cookie_consents =; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\"\n document.cookie = __privaci_cookie_consents.concat(\"; expires=\", expiryDate, \"; path=/;\")\n consent_time = \"consent_time=\";\n document.cookie = consent_time.concat(unixtime, \"; expires=\", expiryDate, \"; path=/;\")\n }\n\n var consentedItem = {\n \"uuid\": uuid,\n \"domain_id\": domain_id,\n \"policy_version\": policy_version,\n \"consents\": [\n {\n \"cookie\": {\n \"property_id\": essential\n },\n \"granted\": true,\n \"timestamp\": unixtime\n },\n {\n \"cookie\": {\n \"property_id\": adverting\n },\n \"granted\": false,\n \"timestamp\": unixtime\n },\n {\n \"cookie\": {\n \"property_id\": analytic\n },\n \"granted\": true,\n \"timestamp\": unixtime\n },\n {\n \"cookie\": {\n \"property_id\": unclass\n },\n \"granted\": false,\n \"timestamp\": unixtime\n }\n ]\n }\n\n var xhr = new XMLHttpRequest();\n xhr.open('POST', 'https://app.eu.securiti.ai/privaci/v1/consent/cookie/singleupload', false);\n xhr.setRequestHeader('Content-type', 'application/json');\n xhr.setRequestHeader('X-Auth-Token', x_token);\n\n xhr.onload = function () {\n if (this.status >= 200 && this.status < 300) {\n var resp = JSON.parse(xhr.response)\n if (resp.status === 0) {\n console.log(resp.message);\n }\n } else {\n console.log('consent upload failed', this.status, xhr.statusText);\n }\n setTimeout(function () { isConsentTaken = false }, 0)\n };\n xhr.onerror = function () {\n console.log('consent upload failed', this.status, xhr.statusText);\n setTimeout(function () { isConsentTaken = false }, 0)\n };\n xhr.send(JSON.stringify(consentedItem));\n\n }, 3000)\n //window.location.reload();\n}\n\nfunction waitForElm(selector) {\n return new Promise((resolve) => {\n if (document.querySelector(selector)) {\n return resolve(document.querySelector(selector));\n }\n\n const observer = new MutationObserver((mutations) => {\n if (document.querySelector(selector)) {\n resolve(document.querySelector(selector));\n observer.disconnect();\n }\n });\n\n observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n}\n\nfunction changeLayoutAfter1stVisit() {\n waitForElm(\".cmp-modal__header\").then((elm) => {\n changePreferenceCenterLayout();\n });\n}\n\nfunction cookiesSetting() {\n showConsentPreferencesPopup();\n waitForElm(\".cmp-modal__header\").then((elm) => {\n changePreferenceCenterLayout();\n });\n}\n\n/* Main function */\njQuery(document).ready(function () {\n $('.footer_cookielink').click(function(e){\n e.preventDefault()\n cookiesSetting();\n });\n waitForElm(\".cc-window\").then((elm) => {\n changeCookieBannerLayout();\n OverrideCookieBanner();\n\n /* Add event click to button */\n // document\n // .querySelectorAll(\".cc-btn.cc-dismiss\")\n // .forEach((item) =>\n // item.addEventListener(\"click\", () => UpdateCookies())\n // );\n\n var path = window.location.pathname;\n if (path.includes(\"privacy-policy\")) jQuery(\"#wrapper-cc\").hide();\n\n var prefButton = document.getElementById(\"securitiCmpCookiePrefBtn\");\n if (prefButton != null)\n prefButton.addEventListener(\"click\", function () {\n waitForElm(\".cmp-modal__header\").then((elm) => {\n changePreferenceCenterLayout();\n });\n });\n });\n\n});"],"names":[],"sourceRoot":""}