PageSourceSearch

https://carcassonne.org/modules/contrib/tacjs/assets/vendor/tartea…/tarteaucitron.services.js?v=1.20.0

js carcassonne.org collected 2026-09-24 09:54:39 UTC 273,632 bytes, 7,264 lines download raw bytes

vendor: 1,671 bytes, lines 1-34
1/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, IN, stButtons, twttr, PCWidget*/
2/*jslint regexp: true, nomen: true*/
3/* min ready */
4
5// generic iframe
6tarteaucitron.services.iframe = {
7    "key": "iframe",
8    "type": "other",
9    "name": "Web content",
10    "uri": "",
11    "needConsent": true,
12    "cookies": [],
13    "js": function () {
14        "use strict";
15        tarteaucitron.fallback(['tac_iframe'], function (x) {
16            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : '',
17                width = tarteaucitron.getElemAttr(x,"width"),
18                height = tarteaucitron.getElemAttr(x,"height"),
19                allowfullscreen = tarteaucitron.getElemAttr(x,"allowfullscreen"),
20                url = tarteaucitron.getElemAttr(x,"url");
21
22            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
23
24            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
25        });
26    },
27    "fallback": function () {
28        "use strict";
29        var id = 'iframe';
30        tarteaucitron.fallback(['tac_iframe'], function (elem) {
31            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
32            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
33            return tarteaucitron.engage(id);
34        }
vendor: 134,163 bytes, lines 34-3667
34);
35    }
36};
37
38// brevochat
39tarteaucitron.services.brevochat = {
40    "key": "brevochat",
41    "type": "support",
42    "name": "Brevo Conversations",
43    "uri": "https://help.brevo.com/hc/fr/sections/18503544961042",
44    "needConsent": true,
45    "cookies": [],
46    "js": function () {
47        "use strict";
48
49        if (tarteaucitron.user.brevoConversationsId === undefined) {
50            return;
51        }
52
53        window.BrevoConversationsID = tarteaucitron.user.brevoConversationsId;
54        window['BrevoConversations'] = window['BrevoConversations'] || function() {
55            (window['BrevoConversations'].q = window['BrevoConversations'].q || []).push(arguments);
56        };
57
58        tarteaucitron.addScript('https://conversations-widget.brevo.com/brevo-conversations.js');
59    }
60};
61
62// matomoheatmap
63tarteaucitron.services.matomoheatmap = {
64    "key": "matomoheatmap",
65    "type": "analytic",
66    "name": "Matomo Cloud (heatmap)",
67    "uri": "https://matomo.org/guide/manage-matomo/privacy/",
68    "needConsent": true,
69    "cookies": [],
70    "js": function () {
71        "use strict";
72
73        window._paq = window._paq || [];
74        _paq.push(['HeatmapSessionRecording::enable']);
75    },
76    "fallback": function () {
77        "use strict";
78
79        window._paq = window._paq || [];
80        _paq.push(['HeatmapSessionRecording::disable']);
81    }
82};
83
84// teambrain
85tarteaucitron.services.teambrain = {
86    "key": "teambrain",
87    "type": "analytic",
88    "name": "TeamBrain",
89    "uri": "https://teambrain.app/",
90    "needConsent": true,
91    "cookies": [],
92    "js": function () {
93        "use strict";
94
95        if (tarteaucitron.user.teambrainUrl === undefined || tarteaucitron.user.teambrainProxyUrl === undefined) {
96            return;
97        }
98
99        tarteaucitron.addScript(tarteaucitron.user.teambrainUrl, 'tb-ext-app', '', '', 'data-proxy-url', tarteaucitron.user.teambrainProxyUrl);
100    }
101};
102
103// usercom
104tarteaucitron.services.usercom = {
105    "key": "usercom",
106    "type": "analytic",
107    "name": "User.com",
108    "uri": "https://user.com/security/privacy-policy",
109    "needConsent": true,
110    "cookies": ['_ca_chat'],
111    "js": function () {
112        "use strict";
113
114        if (tarteaucitron.user.userId === undefined || tarteaucitron.user.userApiKey === undefined) {
115            return;
116        }
117
118        window.civchat = {
119            apiKey: tarteaucitron.user.userApiKey,
120        };
121
122        tarteaucitron.addScript('https://' + tarteaucitron.user.userId + '.user.com/widget.js');
123    }
124};
125
126// cjcom
127tarteaucitron.services.cjcom = {
128    "key": "cjcom",
129    "type": "ads",
130    "name": "CJ.com",
131    "uri": "https://www.cj.com/legal/privacy-policy-services",
132    "needConsent": true,
133    "cookies": [],
134    "js": function () {
135        "use strict";
136
137        if (tarteaucitron.user.cjUserId === undefined) {
138            return;
139        }
140
141        tarteaucitron.addScript('https://www.mczbf.com/tags/'+tarteaucitron.user.cjUserId+'/tag.js', 'cjapitag');
142    }
143};
144
145// clickdimensions
146tarteaucitron.services.clickdimensions = {
147    "key": "clickdimensions",
148    "type": "ads",
149    "name": "Click Dimensions",
150    "uri": "https://clickdimensions.com/legal/privacy-policy/",
151    "needConsent": true,
152    "cookies": [],
153    "js": function () {
154        "use strict";
155
156        if (tarteaucitron.user.clickdimensionsAccountKey === undefined || tarteaucitron.user.clickdimensionsDomain === undefined) {
157            return;
158        }
159
160        tarteaucitron.addScript('https://analytics-eu.clickdimensions.com/ts.js', '', function() {
161            window.cdAnalytics = new clickdimensions.Analytics('analytics-eu.clickdimensions.com');
162            window.cdAnalytics.setAccountKey(tarteaucitron.user.clickdimensionsAccountKey);
163            window.cdAnalytics.setDomain(tarteaucitron.user.clickdimensionsDomain);
164            window.cdAnalytics.setScore(typeof(cdScore) == "undefined" ? 0 : (cdScore == 0 ? null : cdScore));
165            window.cdAnalytics.trackPage();
166        });
167    }
168};
169
170// madmetrics
171tarteaucitron.services.madmetrics = {
172    "key": "madmetrics",
173    "type": "ads",
174    "name": "MadMetrics",
175    "uri": "https://www.keyade.com/fr/politique-de-confidentialite/",
176    "needConsent": true,
177    "cookies": [],
178    "js": function () {
179        "use strict";
180
181        if (tarteaucitron.user.madmetricsHostname === undefined) {
182            return;
183        }
184
185        tarteaucitron.addScript('https://static.madmetrics.com/ktck_seo_acd_pv-min.js', '', function() {
186            var clientId = tarteaucitron.user.madmetricsClientId,
187                siteId = tarteaucitron.user.madmetricsSiteId,
188                directId = tarteaucitron.user.madmetricsDirectId,
189                referalId = tarteaucitron.user.madmetricsReferalId,
190                llmId = tarteaucitron.user.madmetricsLlmId;
191            var _kTck = new KaTracker( clientId, siteId, directId, referalId, llmId );
192            _kTck.setBridge('https://' + tarteaucitron.user.madmetricsHostname + '/k_redirect_md.php');
193            _kTck.track();
194        });
195    }
196};
197
198// fillout
199tarteaucitron.services.fillout = {
200    "key": "fillout",
201    "type": "other",
202    "name": "Fillout",
203    "uri": "https://www.fillout.com/privacy",
204    "needConsent": true,
205    "cookies": [],
206    "js": function () {
207        "use strict";
208        tarteaucitron.fallback(['tac_fillout'], '');
209        tarteaucitron.addScript('https://server.fillout.com/embed/v1/');
210    },
211    "fallback": function () {
212        "use strict";
213        var id = 'fillout';
214        tarteaucitron.fallback(['tac_fillout'], function (elem) {
215            return tarteaucitron.engage(id);
216        });
217    }
218};
219
220// kompass
221tarteaucitron.services.kompass = {
222    "key": "kompass",
223    "type": "analytic",
224    "name": "Kompass",
225    "uri": "https://fr.kompass.com/l/cookie-use-policy",
226    "needConsent": true,
227    "cookies": ["kompass","gq_lead","_first_pageview","eqy_sessionid","eqy_siteid","cluid","eqy_company","gq_utm","_jsuid"],
228    "js": function () {
229        "use strict";
230
231        if (tarteaucitron.user.kompassId === undefined) {
232            return;
233        }
234
235        tarteaucitron.addScript('https://fr.kompass.com/leads/script.js?id=' + tarteaucitron.user.kompassId);
236    }
237};
238
239// goldenbees
240tarteaucitron.services.goldenbees = {
241    "key": "goldenbees",
242    "type": "ads",
243    "name": "Golden Bees",
244    "uri": "https://www.goldenbees.fr/politique-confidentialite",
245    "needConsent": true,
246    "cookies": [],
247    "js": function () {
248        "use strict";
249
250        if (tarteaucitron.user.goldenbeesId === undefined) {
251            return;
252        }
253
254        tarteaucitron.addScript('https://cdn.goldenbees.fr/proxy?url=http%3A%2F%2Fstatic.goldenbees.fr%2Fcdn%2Fjs%2Fgtag%2Fgoldentag-min.js&attachment=0', '', function() {
255            window.gbTag = GbTagBuilder.build(tarteaucitron.user.goldenbeesId);
256            window.gbTag.fire();
257        });
258    }
259};
260
261// weply
262tarteaucitron.services.weply = {
263    "key": "weply",
264    "type": "support",
265    "name": "Weply",
266    "uri": "https://weply.chat/",
267    "needConsent": true,
268    "cookies": ['weply.analytics', 'logglytrackingsession'],
269    "js": function () {
270        "use strict";
271
272        if (tarteaucitron.user.weplyId === undefined) {
273            return;
274        }
275
276        tarteaucitron.addScript('https://app.weply.chat/widget/' + tarteaucitron.user.weplyId);
277    }
278};
279
280// skaze
281tarteaucitron.services.skaze = {
282    "key": "skaze",
283    "type": "ads",
284    "name": "Skaze",
285    "uri": "https://www.skaze.com/fr/politique/politique-de-confidentialite/",
286    "needConsent": true,
287    "cookies": [],
288    "js": function () {
289        "use strict";
290
291        if (tarteaucitron.user.skazeIdentifier === undefined) {
292            return;
293        }
294
295        window.skaze = window.skaze || {};
296        tarteaucitron.addScript('https://events.sk.ht/' + tarteaucitron.user.skazeIdentifier + '/lib.js', '', function() {
297            skaze.cmd = skaze.cmd || [];
298            skaze.cmd.push(function() {
299                skaze.init({ siteIdentifier : tarteaucitron.user.skazeIdentifier });
300
301                if (typeof tarteaucitron.user.skazeMore === 'function') {
302                    tarteaucitron.user.skazeMore();
303                }
304            });
305        });
306    }
307};
308
309// dialoginsight
310tarteaucitron.services.dialoginsight = {
311    "key": "dialoginsight",
312    "type": "support",
313    "name": "Dialog Insight",
314    "uri": "https://www.dialoginsight.com/politique-de-confidentialite/",
315    "needConsent": true,
316    "cookies": [],
317    "js": function () {
318        "use strict";
319
320        if (tarteaucitron.user.dialogInsightId === undefined) {
321            return;
322        }
323
324        tarteaucitron.addScript('https://t.ofsys.com/js/Journey/1/' + tarteaucitron.user.dialogInsightId + '/DI.Journey-min.js');
325    }
326};
327
328// markerio
329tarteaucitron.services.markerio = {
330    "key": "markerio",
331    "type": "support",
332    "name": "Marker.io",
333    "uri": "https://marker.io/cookie-policy",
334    "needConsent": true,
335    "cookies": [],
336    "js": function () {
337        "use strict";
338
339        if (tarteaucitron.user.markerioProjectId === undefined) {
340            return;
341        }
342
343        window.markerConfig = {
344            project: tarteaucitron.user.markerioProjectId,
345            source: 'snippet'
346        };
347
348        !function(e,r,a){if(!e.__Marker){e.__Marker={};var t=[],n={__cs:t};["show","hide","isVisible","capture","cancelCapture","unload","reload","isExtensionInstalled","setReporter","setCustomData","on","off"].forEach(function(e){n[e]=function(){var r=Array.prototype.slice.call(arguments);r.unshift(e),t.push(r)}}),e.Marker=n;var s=r.createElement("script");s.async=1,s.src="https://edge.marker.io/latest/shim.js";var i=r.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)}}(window,document);
349    }
350};
351
352// tolkaigenii
353tarteaucitron.services.tolkaigenii = {
354    "key": "tolkaigenii",
355    "type": "support",
356    "name": "Tolk.ai Genii",
357    "uri": "https://www.tolk.ai/",
358    "needConsent": true,
359    "cookies": [],
360    "js": function () {
361        "use strict";
362
363        if (tarteaucitron.user.tolkaiGeniiProject === undefined) {
364            return;
365        }
366
367        var script;
368        script = document.createElement('script');
369        script.id = "lightchat-bot";
370        script.src = "https://genii-script.tolk.ai/lightchat.js";
371        script.async = true;
372        script.setAttribute("type", "module");
373        script.setAttribute("project-id", tarteaucitron.user.tolkaiGeniiProject);
374        document.getElementsByTagName('head')[0].appendChild(script);
375    }
376};
377
378// seamlessaccess
379tarteaucitron.services.seamlessaccess = {
380    "key": "seamlessaccess",
381    "type": "api",
382    "name": "Seamlessaccess",
383    "uri": "https://seamlessaccess.org/about/trust/",
384    "needConsent": true,
385    "cookies": [],
386    "js": function () {
387        "use strict";
388        if (tarteaucitron.user.seamlessaccessInitiator === undefined) {
389            return;
390        }
391        var uniqIds = [];
392        tarteaucitron.fallback(['seamlessaccess_button'], function(x) {
393            var uniqId = tarteaucitron.getElemAttr(x, 'id');
394            if (uniqId === "") {
395                uniqId = '_' + Math.random().toString(36).substr(2, 9);
396                x.setAttribute('id', uniqId);
397            }
398            uniqIds.push(uniqId);
399            x.innerHTML = '';
400        }, true);
401        tarteaucitron.addScript('//service.seamlessaccess.org/thiss.js', 'seamlessaccessjs', function() {
402            for (var i = 0; i < uniqIds.length; i += 1) {
403                thiss.DiscoveryComponent.render({
404                    loginInitiatorURL: tarteaucitron.user.seamlessaccessInitiator,
405                }, '#' + uniqIds[i]);
406            }
407        });
408    },
409    "fallback": function () {
410        "use strict";
411        var id = 'seamlessaccess';
412        tarteaucitron.fallback(['seamlessaccess_button'], tarteaucitron.engage(id));
413    }
414};
415
416// reddit
417tarteaucitron.services.reddit = {
418    "key": "reddit",
419    "type": "ads",
420    "name": "Reddit",
421    "uri": "https://business.reddithelp.com/helpcenter/s/article/Reddit-Advertising-Policy-Overview",
422    "needConsent": true,
423    "cookies": [],
424    "js": function () {
425        "use strict";
426
427        if (tarteaucitron.user.redditInit === undefined) {
428            return;
429        }
430
431        !function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init',tarteaucitron.user.redditInit, {"aaid":tarteaucitron.user.redditAAID,"externalId":tarteaucitron.user.redditExternalId,"idfa":tarteaucitron.user.redditIDFA});rdt('track', 'PageVisit');
432    }
433};
434
435// zoho
436tarteaucitron.services.zoho = {
437    "key": "zoho",
438    "type": "support",
439    "name": "Zoho SalesIQ",
440    "uri": "https://www.zoho.com/gdpr.html",
441    "needConsent": true,
442    "cookies": [],
443    "js": function () {
444        "use strict";
445
446        if (tarteaucitron.user.zohoWidgetCode === undefined) {
447            return;
448        }
449
450        var $zoho=$zoho || {};
451        $zoho.salesiq = $zoho.salesiq || {widgetcode:tarteaucitron.user.zohoWidgetCode, values:{},ready:function(){}};
452        tarteaucitron.addScript('https://salesiq.zoho.eu/widget');
453    }
454};
455
456// teads
457tarteaucitron.services.teads = {
458    "key": "teads",
459    "type": "ads",
460    "name": "Teads",
461    "uri": "https://privacy-policy.teads.com",
462    "needConsent": true,
463    "cookies": [],
464    "js": function () {
465        "use strict";
466
467        if (tarteaucitron.user.teadsBuyerPixelId === undefined) {
468            return;
469        }
470
471        tarteaucitron.addScript('https://p.teads.tv/teads-fellow.js');
472
473        window.teads_e = window.teads_e || [];
474        window.teads_buyer_pixel_id = tarteaucitron.user.teadsBuyerPixelId;
475    }
476};
477
478// thetradedesk
479tarteaucitron.services.thetradedesk = {
480    "key": "thetradedesk",
481    "type": "ads",
482    "name": "TheTradeDesk",
483    "uri": "https://www.thetradedesk.com/fr/privacy",
484    "needConsent": true,
485    "cookies": [],
486    "js": function () {
487        "use strict";
488
489        if (tarteaucitron.user.thetradedeskAdvertiserId === undefined || tarteaucitron.user.thetradedeskUpixelId === undefined) {
490            return;
491        }
492
493        tarteaucitron.addScript('https://js.adsrvr.org/up_loader.1.1.0.js', '', function() {
494            ttd_dom_ready( function() {
495                if (typeof TTDUniversalPixelApi === 'function') {
496                    var universalPixelApi = new TTDUniversalPixelApi();
497                    universalPixelApi.init(tarteaucitron.user.thetradedeskAdvertiserId, [tarteaucitron.user.thetradedeskUpixelId], "https://insight.adsrvr.org/track/up");
498                }
499            });
500        });
501    }
502};
503
504// gcmanalyticsstorage
505tarteaucitron.services.gcmanalyticsstorage = {
506    "key": "gcmanalyticsstorage",
507    "type": "google",
508    "name": "Analytics",
509    "uri": "https://policies.google.com/privacy",
510    "needConsent": true,
511    "cookies": [],
512    "js": function () {
513        "use strict";
514
515        if (tarteaucitron.parameters.googleConsentMode === true) {
516            window.tac_gtag('consent', 'update', {
517                analytics_storage: 'granted'
518            });
519        }
520    },
521    "fallback": function () {
522        "use strict";
523
524        if (tarteaucitron.parameters.googleConsentMode === true) {
525            window.tac_gtag('consent', 'update', {
526                analytics_storage: 'denied'
527            });
528        }
529    }
530};
531
532// gcmadstorage
533tarteaucitron.services.gcmadstorage = {
534    "key": "gcmadstorage",
535    "type": "google",
536    "name": "Advertising",
537    "uri": "https://policies.google.com/privacy",
538    "needConsent": true,
539    "cookies": [],
540    "js": function () {
541        "use strict";
542
543        if (tarteaucitron.parameters.googleConsentMode === true) {
544            window.tac_gtag('consent', 'update', {
545                ad_storage: 'granted'
546            });
547        }
548    },
549    "fallback": function () {
550        "use strict";
551
552        if (tarteaucitron.parameters.googleConsentMode === true) {
553            window.tac_gtag('consent', 'update', {
554                ad_storage: 'denied'
555            });
556        }
557    }
558};
559
560// gcmadsuserdata
561tarteaucitron.services.gcmadsuserdata = {
562    "key": "gcmadsuserdata",
563    "type": "google",
564    "name": "Personalized Advertising",
565    "uri": "https://policies.google.com/privacy",
566    "needConsent": true,
567    "cookies": [],
568    "js": function () {
569        "use strict";
570
571        if (tarteaucitron.parameters.googleConsentMode === true) {
572            window.tac_gtag('consent', 'update', {
573                ad_user_data: 'granted',
574                ad_personalization: 'granted'
575            });
576        }
577    },
578    "fallback": function () {
579        "use strict";
580
581        if (tarteaucitron.parameters.googleConsentMode === true) {
582            window.tac_gtag('consent', 'update', {
583                ad_user_data: 'denied',
584                ad_personalization: 'denied'
585            });
586        }
587    }
588};
589
590// gcmpersonalization
591tarteaucitron.services.gcmpersonalization = {
592    "key": "gcmpersonalization",
593    "type": "google",
594    "name": "Personalization",
595    "uri": "https://policies.google.com/privacy",
596    "needConsent": true,
597    "cookies": [],
598    "js": function () {
599        "use strict";
600
601        if (tarteaucitron.parameters.googleConsentMode === true) {
602            window.tac_gtag('consent', 'update', {
603                personalization_storage: 'granted'
604            });
605        }
606    },
607    "fallback": function () {
608        "use strict";
609
610        if (tarteaucitron.parameters.googleConsentMode === true) {
611            window.tac_gtag('consent', 'update', {
612                personalization_storage: 'denied'
613            });
614        }
615    }
616};
617
618// gcmfunctionality
619tarteaucitron.services.gcmfunctionality = {
620    "key": "gcmfunctionality",
621    "type": "google",
622    "name": "Functionality",
623    "uri": "https://policies.google.com/privacy",
624    "needConsent": true,
625    "cookies": [],
626    "js": function () {
627        "use strict";
628
629        if (tarteaucitron.parameters.googleConsentMode === true) {
630            window.tac_gtag('consent', 'update', {
631                functionality_storage: 'granted'
632            });
633        }
634    },
635    "fallback": function () {
636        "use strict";
637
638        if (tarteaucitron.parameters.googleConsentMode === true) {
639            window.tac_gtag('consent', 'update', {
640                functionality_storage: 'denied'
641            });
642        }
643    }
644};
645
646// gcmsecurity
647tarteaucitron.services.gcmsecurity = {
648    "key": "gcmsecurity",
649    "type": "google",
650    "name": "Security",
651    "uri": "https://policies.google.com/privacy",
652    "needConsent": true,
653    "cookies": [],
654    "js": function () {
655        "use strict";
656
657        if (tarteaucitron.parameters.googleConsentMode === true) {
658            window.tac_gtag('consent', 'update', {
659                security_storage: 'granted'
660            });
661        }
662    },
663    "fallback": function () {
664        "use strict";
665
666        if (tarteaucitron.parameters.googleConsentMode === true) {
667            window.tac_gtag('consent', 'update', {
668                security_storage: 'denied'
669            });
670        }
671    }
672};
673
674// piximedia
675tarteaucitron.services.piximedia = {
676    "key": "piximedia",
677    "type": "ads",
678    "name": "Piximedia",
679    "uri": "https://piximedia.com/privacy/",
680    "needConsent": true,
681    "cookies": [],
682    "js": function () {
683        "use strict";
684
685        if (tarteaucitron.user.piximediaName === undefined || tarteaucitron.user.piximediaTag === undefined || tarteaucitron.user.piximediaType === undefined || tarteaucitron.user.piximediaId === undefined) {
686            return;
687        }
688
689        tarteaucitron.addScript('https://ad.piximedia.com/tools/activity/?' + tarteaucitron.user.piximediaName + '||'+ tarteaucitron.user.piximediaTag + '|' + tarteaucitron.user.piximediaType + '|' + tarteaucitron.user.piximediaId + '|||||');
690    }
691};
692
693// screeb
694tarteaucitron.services.screeb = {
695    "key": "screeb",
696    "type": "support",
697    "name": "Screeb",
698    "uri": "https://screeb.app/gdpr-privacy",
699    "needConsent": true,
700    "cookies": [],
701    "js": function () {
702        "use strict";
703
704        if (tarteaucitron.user.screebId === undefined) {
705            return;
706        }
707
708        window['ScreebObject'] = '$screeb';
709        window['$screeb'] = window['$screeb'] || function() {
710            var d = arguments;
711            return new Promise(function(a, b) {
712                (window['$screeb'].q = window['$screeb'].q || []).push({
713                    v: 1,
714                    args: d,
715                    ok: a,
716                    ko: b
717                })
718            })
719        };
720
721        tarteaucitron.addScript('https://t.screeb.app/tag.js', '$screeb');
722
723        if (tarteaucitron.user.screebDontInit !== true) {
724            window.$screeb('init', tarteaucitron.user.screebId);
725        }
726    }
727};
728
729// pipedrive
730tarteaucitron.services.pipedrive = {
731    "key": "pipedrive",
732    "type": "support",
733    "name": "Pipedrive",
734    "uri": "https://www.pipedrive.com/en/cookie-notice",
735    "needConsent": true,
736    "cookies": [],
737    "js": function () {
738        "use strict";
739
740        if (tarteaucitron.user.pipedriveCompany === undefined || tarteaucitron.user.pipedrivePlaybook === undefined) {
741            return;
742        }
743
744        window.pipedriveLeadboosterConfig = {base: 'leadbooster-chat.pipedrive.com', companyId: tarteaucitron.user.pipedriveCompany, playbookUuid: tarteaucitron.user.pipedrivePlaybook, version: 2};
745
746        if (!window.LeadBooster) {
747            window.LeadBooster = {
748                q: [],
749                on: function(n, h) {
750                    this.q.push({
751                        t: 'o',
752                        n: n,
753                        h: h
754                    });
755                },
756                trigger: function(n) {
757                    this.q.push({
758                        t: 't',
759                        n: n
760                    });
761                },
762            };
763        }
764
765        tarteaucitron.addScript('https://leadbooster-chat.pipedrive.com/assets/loader.js');
766    },
767    "fallback": function () {
768        "use strict";
769        var id = '';
770        tarteaucitron.fallback(['proactiveChat'], function (elem) {
771            return tarteaucitron.engage(id);
772        });
773    }
774};
775
776// dynatrace
777tarteaucitron.services.dynatrace = {
778    "key": "dynatrace",
779    "type": "api",
780    "name": "Dynatrace",
781    "uri": "https://www.dynatrace.com/company/trust-center/privacy/",
782    "needConsent": true,
783    "cookies": [],
784    "js": function () {
785        "use strict";
786
787        if (tarteaucitron.user.dynatraceJSPath === undefined || tarteaucitron.user.dynatraceConfig === undefined) {
788            return;
789        }
790
791        tarteaucitron.addScript(tarteaucitron.user.dynatraceJSPath, '', '', '', 'data-dtconfig', tarteaucitron.user.dynatraceConfig);
792    }
793};
794
795// mixpanel
796tarteaucitron.services.mixpanel = {
797    "key": "mixpanel",
798    "type": "analytic",
799    "name": "Mixpanel",
800    "uri": "https://docs.mixpanel.com/docs/privacy/overview",
801    "needConsent": true,
802    "cookies": [],
803    "js": function () {
804        "use strict";
805
806        (function (f, b) { if (!b.__SV) { var e, g, i, h; window.mixpanel = b; b._i = []; b.init = function (e, f, c) { function g(a, d) { var b = d.split("."); 2 == b.length && ((a = a[b[0]]), (d = b[1])); a[d] = function () { a.push([d].concat(Array.prototype.slice.call(arguments, 0))); }; } var a = b; "undefined" !== typeof c ? (a = b[c] = []) : (c = "mixpanel"); a.people = a.people || []; a.toString = function (a) { var d = "mixpanel"; "mixpanel" !== c && (d += "." + c); a || (d += " (stub)"); return d; }; a.people.toString = function () { return a.toString(1) + ".people (stub)"; }; i = "disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split( " "); for (h = 0; h < i.length; h++) g(a, i[h]); var j = "set set_once union unset remove delete".split(" "); a.get_group = function () { function b(c) { d[c] = function () { call2_args = arguments; call2 = [c].concat(Array.prototype.slice.call(call2_args, 0)); a.push([e, call2]); }; } for ( var d = {}, e = ["get_group"].concat( Array.prototype.slice.call(arguments, 0)), c = 0; c < j.length; c++) b(j[c]); return d; }; b._i.push([e, f, c]); }; b.__SV = 1.2; e = f.createElement("script"); e.type = "text/javascript"; e.async = !0; e.src = "undefined" !== typeof MIXPANEL_CUSTOM_LIB_URL ? MIXPANEL_CUSTOM_LIB_URL : "file:" === f.location.protocol && "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//) ? "https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js" : "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"; g = f.getElementsByTagName("script")[0]; g.parentNode.insertBefore(e, g); } })(document, window.mixpanel || []);
807    }
808};
809
810// freshsalescrm
811tarteaucitron.services.freshsalescrm = {
812  "key": "freshsalescrm",
813  "type": "analytic",
814  "name": "FreshSales (CRM)",
815  "uri": "https://www.freshworks.com/gdpr/",
816  "needConsent": true,
817  "cookies": [],
818  "js": function () {
819    "use strict";
820
821    if (tarteaucitron.user.freshsalescrmId === undefined) {
822     return;
823    }
824
825    tarteaucitron.addScript('https://eu.fw-cdn.com/' + tarteaucitron.user.freshsalescrmId + '.js');
826  }
827};
828
829// equativ
830tarteaucitron.services.equativ = {
831    "key": "equativ",
832    "type": "ads",
833    "name": "Equativ",
834    "uri": "https://equativ.com/",
835    "needConsent": true,
836    "cookies": [],
837    "js": function () {
838        "use strict";
839
840        if (tarteaucitron.user.equativId === undefined) {
841            return;
842        }
843
844        tarteaucitron.addScript('https://ced.sascdn.com/tag/' + tarteaucitron.user.equativId + '/smart.js');
845    }
846};
847
848// twitch
849tarteaucitron.services.twitch = {
850    "key": "twitch",
851    "type": "video",
852    "name": "Twitch",
853    "needConsent": true,
854    "cookies": [],
855    "uri": "https://www.twitch.tv/p/en/legal/privacy-notice",
856    "js": function () {
857        "use strict";
858        tarteaucitron.fallback(['twitch_player'], function (x) {
859            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Twitch iframe',
860                id = tarteaucitron.getElemAttr(x, 'videoID'),
861                parent = tarteaucitron.getElemAttr(x, 'parent'),
862                width = tarteaucitron.getElemAttr(x, 'width'),
863                height = tarteaucitron.getElemAttr(x, 'height');
864            var embedURL = "https://player.twitch.tv/?video=" + id + "&parent=" + parent;
865
866            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
867
868            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"" + embedURL + "\"></iframe>";
869        });
870    },
871    "fallback": function () {
872        "use strict";
873        var id = "twitch";
874        tarteaucitron.fallback(["twitch_player"], tarteaucitron.engage(id));
875    }
876};
877
878// eskimi
879tarteaucitron.services.eskimi = {
880    "key": "eskimi",
881    "type": "ads",
882    "name": "Eskimi",
883    "uri": "https://fr.eskimi.com/privacy-policy",
884    "needConsent": true,
885    "cookies": [],
886    "js": function () {
887        "use strict";
888
889        if (tarteaucitron.user.eskimiInit === undefined) {
890            return;
891        }
892
893        window.___esk = window.esk = function () {
894            window.___esk.callMethod ? window.___esk.callMethod.apply(window.___esk, arguments) : window.___esk.queue.push(arguments);
895        };
896        window.___esk.push = window.___esk;
897        window.___esk.loaded = true;
898        window.___esk.queue = [];
899
900        tarteaucitron.addScript("https://dsp-media.eskimi.com/assets/js/e/gtr.min.js", '', function () {
901            esk('init', tarteaucitron.user.eskimiInit);
902        });
903    }
904};
905
906// sharethissticky
907tarteaucitron.services.sharethissticky = {
908    "key": "sharethissticky",
909    "type": "social",
910    "name": "ShareThis Sticky",
911    "uri": "https://sharethis.com/fr/privacy/",
912    "needConsent": true,
913    "cookies": ['_stid','_stidv','pubconsent'],
914    "js": function () {
915        "use strict";
916
917        if (tarteaucitron.user.sharethisStickyProperty === undefined) {
918            return;
919        }
920
921        tarteaucitron.addScript("https://platform-api.sharethis.com/js/sharethis.js#property=" + tarteaucitron.user.sharethisStickyProperty + "&product=sticky-share-buttons");
922    }
923};
924
925// pianoanalytics
926tarteaucitron.services.pianoanalytics = {
927    "key": "pianoanalytics",
928    "type": "analytic",
929    "name": "Piano Analytics",
930    "uri": "https://piano.io/privacy-policy/",
931    "needConsent": true,
932    "cookies": ['_pcid','_pctx','_pctx','pa_user', 'pa_privacy'],
933    "js": function () {
934        "use strict";
935
936        if (tarteaucitron.user.pianoCollectDomain === undefined || tarteaucitron.user.pianoSite === undefined) {
937            return;
938        }
939
940        tarteaucitron.addScript("https://tag.aticdn.net/piano-analytics.js", '', function () {
941
942            pa.setConfigurations({
943                site: tarteaucitron.user.pianoSite,
944                collectDomain: tarteaucitron.user.pianoCollectDomain
945            });
946
947            if (tarteaucitron.user.pianoSendData !== false) {
948                pa.sendEvent('page.display', {
949                    'page': document.title
950                });
951            }
952        });
953    },
954    "fallback": function () {
955        if (tarteaucitron.parameters.pianoConsentMode === true) {
956            if (tarteaucitron.parameters.softConsentMode === false) {
957                this.js();
958            }
959        }
960    }
961};
962
963// actistat
964tarteaucitron.services.actistat = {
965    "key": "actistat",
966    "type": "analytic",
967    "name": "ActiSTAT",
968    "uri": "https://actigraph.com/actistat",
969    "needConsent": true,
970    "cookies": [],
971    "js": function () {
972        "use strict";
973
974        if (tarteaucitron.user.actistatId === undefined) {
975            return;
976        }
977
978        tarteaucitron.addScript('https://actistat.fr/umami.js', '', '', '', 'data-website-id', tarteaucitron.user.actistatId);
979    }
980};
981
982// outbrainamplify
983tarteaucitron.services.outbrainamplify = {
984    "key": "outbrainamplify",
985    "type": "ads",
986    "name": "Outbrain Amplify",
987    "uri": "https://www.outbrain.com/privacy/",
988    "needConsent": true,
989    "cookies": [],
990    "js": function () {
991        "use strict";
992
993        if (tarteaucitron.user.outbrainamplifyId === undefined) {
994            return;
995        }
996
997        var OB_ADV_ID = tarteaucitron.user.outbrainamplifyId;
998        if (window.obApi) {
999            var toArray = function(object) {
1000                return Object.prototype.toString.call(object) === '[object Array]' ? object : [object];
1001            };
1002            window.obApi.marketerId = toArray(_window.obApi.marketerId).concat(toArray(OB_ADV_ID));
1003            return;
1004        }
1005        var api = window.obApi = function() {
1006            api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);
1007        };
1008        api.version = '1.1';
1009        api.loaded = true;
1010        api.marketerId = OB_ADV_ID;
1011        api.queue = [];
1012
1013        tarteaucitron.addScript('https://amplify.outbrain.com/cp/obtp.js', '', function () {
1014            obApi('track', 'PAGE_VIEW');
1015        });
1016    }
1017};
1018
1019// playplay
1020tarteaucitron.services.playplay = {
1021    "key": "playplay",
1022    "type": "video",
1023    "name": "PlayPlay",
1024    "uri": "https://playplay.com/fr/confidentialite",
1025    "needConsent": true,
1026    "cookies": [],
1027    "js": function () {
1028        "use strict";
1029
1030        tarteaucitron.fallback(['tac_playplay'], function (x) {
1031            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Playplay iframe',
1032                id = tarteaucitron.getElemAttr(x, "data-id"),
1033                width = tarteaucitron.getElemAttr(x, "width"),
1034                height = tarteaucitron.getElemAttr(x, "height");
1035
1036            var playURL = "https://playplay.com/app/embed-video/" + id;
1037
1038            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
1039
1040            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "border:0;\" src=\"" + playURL + "\" allowfullscreen></iframe>";
1041        });
1042    },
1043    "fallback": function () {
1044        "use strict";
1045        var id = 'playplay';
1046        tarteaucitron.fallback(['tac_playplay'], function (elem) {
1047            return tarteaucitron.engage(id);
1048        });
1049    }
1050};
1051
1052// adobeworkspace
1053tarteaucitron.services.adobeworkspace = {
1054    "key": "adobeworkspace",
1055    "type": "analytic",
1056    "name": "Adobe - Analysis Workspace",
1057    "uri": "https://www.adobe.com/privacy/policy.html",
1058    "needConsent": true,
1059    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
1060    "js": function () {
1061        "use strict";
1062
1063        if (tarteaucitron.user.adobeworkspaceId1 === undefined || tarteaucitron.user.adobeworkspaceId2 === undefined || tarteaucitron.user.adobeworkspaceId3 === undefined) {
1064            return;
1065        }
1066
1067        tarteaucitron.addScript('https://assets.adobedtm.com/'+tarteaucitron.user.adobeworkspaceId1+'/'+tarteaucitron.user.adobeworkspaceId2+'/launch-'+tarteaucitron.user.adobeworkspaceId3+'.min.js');
1068    }
1069};
1070
1071// zohopagesense
1072tarteaucitron.services.zohopagesense = {
1073    "key": "zohopagesense",
1074    "type": "analytic",
1075    "name": "Zoho PageSense",
1076    "uri": "https://www.zoho.com/pagesense/cookie-policy.html",
1077    "needConsent": true,
1078    "cookies": ["zab_g_", "zabUserID", "zabVisitID", "zabSplit", "zabBucket", "zabHMBucket", "zpsfa_", "zfa", "zsr", "zabme", "zsd", "ps_payloadSeqId", "zabPZBucket", "zPersonalization", "zia_", "zpc", "zps_permission_status", "zps-tgr-dts", "zpspolls_", "zpsPollsBucket", "zpspb", "zpsPopupBucket", "zpssr", "zab_g_", "zab_", "zPersonalization"],
1079    "js": function () {
1080        "use strict";
1081
1082        if (tarteaucitron.user.zohoPageSenseProjectId === undefined || tarteaucitron.user.zohoPageSenseScriptHash === undefined) {
1083            return;
1084        }
1085        tarteaucitron.addScript('https://cdn-eu.pagesense.io/js/' + tarteaucitron.user.zohoPageSenseProjectId + '/' + tarteaucitron.user.zohoPageSenseScriptHash + '.js');
1086    }
1087};
1088
1089// leadinfo
1090tarteaucitron.services.leadinfo = {
1091    "key": "leadinfo",
1092    "type": "analytic",
1093    "name": "Leadinfo",
1094    "uri": "https://www.leadinfo.com/en/privacy/",
1095    "needConsent": true,
1096    "cookies": ['_li_id', '_li_ses'],
1097    "js": function () {
1098        "use strict";
1099
1100        if (tarteaucitron.user.leadinfoId === undefined) {
1101            return;
1102        }
1103
1104        window.GlobalLeadinfoNamespace = window.GlobalLeadinfoNamespace || [];
1105        window.GlobalLeadinfoNamespace.push("leadinfo");
1106        window["leadinfo"] = function() {
1107            (window["leadinfo"].q = window["leadinfo"].q || []).push(arguments)
1108        };
1109        window["leadinfo"].t = window["leadinfo"].t || tarteaucitron.user.leadinfoId;
1110        window["leadinfo"].q = window["leadinfo"].q || [];
1111
1112        tarteaucitron.addScript('https://cdn.leadinfo.net/ping.js');
1113    }
1114};
1115
1116// force24
1117tarteaucitron.services.force24 = {
1118    "key": "force24",
1119    "type": "analytic",
1120    "name": "Force24",
1121    "uri": "https://support.force24.co.uk/support/solutions/articles/79000128057-cookie-policies",
1122    "needConsent": true,
1123    "cookies": ['F24_autoID', 'F24_personID'],
1124    "js": function () {
1125        "use strict";
1126
1127        if (tarteaucitron.user.force24trackingId === undefined || tarteaucitron.user.force24clientId === undefined) {
1128            return;
1129        }
1130
1131        window.Force24Object = "f24", window["f24"] = window["f24"] || function() {
1132            window["f24"].q = window["f24"].q || [],
1133                window["f24"].q.push(arguments)
1134        }, window["f24"].l = 1 * new Date;
1135
1136        tarteaucitron.addScript('https://static.websites.data-crypt.com/scripts/activity/v3/inject-v3.min.js');
1137
1138        f24('config', 'set_tracking_id', tarteaucitron.user.force24trackingId);
1139        f24('config', 'set_client_id', tarteaucitron.user.force24clientId);
1140    }
1141};
1142
1143// tiktokvideo
1144tarteaucitron.services.tiktokvideo = {
1145    "key": "tiktokvideo",
1146    "type": "video",
1147    "name": "Tiktok Video",
1148    "uri": "https://www.tiktok.com/legal/page/eea/privacy-policy/en",
1149    "needConsent": true,
1150    "cookies": [],
1151    "js": function () {
1152        "use strict";
1153
1154        tarteaucitron.addScript('https://www.tiktok.com/embed.js');
1155    },
1156    "fallback": function () {
1157        "use strict";
1158        var id = 'tiktokvideo';
1159        tarteaucitron.fallback(['tiktok-embed'], function (elem) {
1160            return tarteaucitron.engage(id);
1161        });
1162    }
1163};
1164
1165// shinystat
1166tarteaucitron.services.shinystat = {
1167    "key": "shinystat",
1168    "type": "analytic",
1169    "name": "Shinystat",
1170    "uri": "https://www.shinystat.com/en/opt-out.html",
1171    "needConsent": true,
1172    "cookies": [],
1173    "js": function () {
1174        "use strict";
1175
1176        if (tarteaucitron.user.shinystatUser === undefined) {
1177            return;
1178        }
1179
1180        tarteaucitron.addScript('https://codice.shinystat.com/cgi-bin/getcod.cgi?USER=' + tarteaucitron.user.shinystatUser);
1181    }
1182};
1183
1184// activecampaignvgo
1185tarteaucitron.services.activecampaignvgo = {
1186    "key": "activecampaignvgo",
1187    "type": "other",
1188    "name": "Active Campaign",
1189    "uri": "https://www.activecampaign.com/legal/privacy-policy/",
1190    "needConsent": true,
1191    "cookies": [],
1192    "js": function () {
1193        "use strict";
1194
1195        if (tarteaucitron.user.activecampaignAccount === undefined) {
1196            return;
1197        }
1198
1199        window.visitorGlobalObjectAlias="vgo";
1200        window[window.visitorGlobalObjectAlias]=window[window.visitorGlobalObjectAlias]||function(){(window[window.visitorGlobalObjectAlias].q=window[window.visitorGlobalObjectAlias].q||[]).push(arguments)};
1201        window[window.visitorGlobalObjectAlias].l=(new Date).getTime();
1202
1203        tarteaucitron.addScript('https://diffuser-cdn.app-us1.com/diffuser/diffuser.js', '', function () {
1204            vgo('setAccount', tarteaucitron.user.activecampaignAccount);
1205            vgo('setTrackByDefault', true);
1206            vgo('process');
1207        });
1208    }
1209};
1210
1211// Brevo (formerly sendinblue)
1212tarteaucitron.services.sendinblue = {
1213    "key": "sendinblue",
1214    "type": "other",
1215    "name": "Brevo (formerly sendinblue)",
1216    "uri": "https://www.brevo.com/fr/legal/cookies/",
1217    "needConsent": true,
1218    "cookies": [],
1219    "js": function () {
1220        "use strict";
1221
1222        if (tarteaucitron.user.sendinblueKey === undefined) {
1223            return;
1224        }
1225
1226        window.sib = {equeue: [], client_key: tarteaucitron.user.sendinblueKey};
1227        window.sendinblue = {};
1228        for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) {
1229            (function(k) {
1230                window.sendinblue[k] = function() {
1231                    var arg = Array.prototype.slice.call(arguments);
1232                    (window.sib[k] || function() {
1233                        var t = {};
1234                        t[k] = arg;
1235                        window.sib.equeue.push(t);
1236                    })(arg[0], arg[1], arg[2], arg[3]);
1237                };
1238            })(j[i]);
1239        }
1240
1241        tarteaucitron.addScript('https://sibautomation.com/sa.js?key=' + window.sib.client_key, 'sendinblue-js', function () {
1242            window.sendinblue.page();
1243        });
1244    }
1245};
1246
1247// collectchat
1248tarteaucitron.services.collectchat = {
1249    "key": "collectchat",
1250    "type": "other",
1251    "name": "Collect Chat",
1252    "uri": "https://collect.chat/privacy/",
1253    "needConsent": true,
1254    "cookies": [],
1255    "js": function () {
1256        "use strict";
1257
1258        if (tarteaucitron.user.collectchatId === undefined) {
1259            return;
1260        }
1261
1262        window.CollectId = tarteaucitron.user.collectchatId;
1263
1264        tarteaucitron.addScript('https://collectcdn.com/launcher.js');
1265    }
1266};
1267
1268// eulerian
1269tarteaucitron.services.eulerian = {
1270    "key": "eulerian",
1271    "type": "analytic",
1272    "name": "Eulerian",
1273    "uri": "https://www.eulerian.com/rgpd",
1274    "needConsent": true,
1275    "cookies": [],
1276    "js": function () {
1277        "use strict";
1278
1279        if (tarteaucitron.user.eulerianHost === undefined) {
1280            return;
1281        }
1282
1283        (function(e,a){var i=e.length,y=5381,k='script',s=window,v=document,o=v.createElement(k);for(;i;){i-=1;y=(y*33)^e.charCodeAt(i)}y='_EA_'+(y>>>=0);(function(e,a,s,y){s[a]=s[a]||function(){(s[y]=s[y]||[]).push(arguments);s[y].eah=e;};}(e,a,s,y));i=new Date/1E7|0;o.ea=y;y=i%26;o.async=1;o.src='//'+e+'/'+String.fromCharCode(97+y,122-y,65+y)+(i%1E3)+'.js?2';s=v.getElementsByTagName(k)[0];s.parentNode.insertBefore(o,s);})
1284        (tarteaucitron.user.eulerianHost,'EA_push');
1285        EA_push();
1286    }
1287};
1288
1289// posthog
1290tarteaucitron.services.posthog = {
1291    "key": "posthog",
1292    "type": "other",
1293    "name": "Posthog",
1294    "uri": "https://posthog.com/privacy",
1295    "needConsent": true,
1296    "cookies": [],
1297    "js": function () {
1298        "use strict";
1299
1300        if (tarteaucitron.user.posthogApiKey === undefined || tarteaucitron.user.posthogHost === undefined) {
1301            return;
1302        }
1303
1304        !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
1305
1306        posthog.init(tarteaucitron.user.posthogApiKey, {api_host: tarteaucitron.user.posthogHost});
1307
1308    }
1309};
1310
1311// googlesignin
1312tarteaucitron.services.googlesignin = {
1313    "key": "googlesignin",
1314    "type": "other",
1315    "name": "Google Signin",
1316    "uri": "https://policies.google.com/technologies/cookies#types-of-cookies",
1317    "needConsent": true,
1318    "cookies": [],
1319    "js": function () {
1320        "use strict";
1321
1322        tarteaucitron.addScript('https://accounts.google.com/gsi/client');
1323    }
1324};
1325
1326// calendly
1327tarteaucitron.services.calendly = {
1328    "key": "calendly",
1329    "type": "other",
1330    "name": "Calendly",
1331    "uri": "https://calendly.com/privacy",
1332    "needConsent": true,
1333    "cookies": [],
1334    "js": function () {
1335        "use strict";
1336        tarteaucitron.fallback(['calendly-inline-widget'], '');
1337        tarteaucitron.addScript('https://assets.calendly.com/assets/external/widget.js');
1338    },
1339    "fallback": function () {
1340        "use strict";
1341        var id = 'calendly';
1342        tarteaucitron.fallback(['calendly-inline-widget'], function (elem) {
1343            return tarteaucitron.engage(id);
1344        });
1345    }
1346};
1347
1348// tolkai
1349tarteaucitron.services.tolkai = {
1350    "key": "tolkai",
1351    "type": "other",
1352    "name": "tolk.ai",
1353    "uri": "https://www.tolk.ai/",
1354    "needConsent": true,
1355    "cookies": [],
1356    "js": function () {
1357        "use strict";
1358
1359        if (tarteaucitron.user.tolkaiBot === undefined) {
1360            return;
1361        }
1362
1363        window.tcfbot = tarteaucitron.user.tolkaiBot;
1364        window.TcfWbchtParams = { behaviour: 'default' };
1365        window.display = 'iframe';
1366        tarteaucitron.addScript('https://script.tolk.ai/iframe-latest.js');
1367    }
1368};
1369
1370// kwanko
1371tarteaucitron.services.kwanko = {
1372    "key": "kwanko",
1373    "type": "ads",
1374    "name": "Kwanko",
1375    "uri": "https://www.kwanko.com/fr/rgpd/politique-gestion-donnees/",
1376    "needConsent": true,
1377    "cookies": [],
1378    "js": function () {
1379        "use strict";
1380        tarteaucitron.fallback(['tac_kwanko'], function (x) {
1381            var mclic = tarteaucitron.getElemAttr(x, "data-mclic");
1382
1383            return '<img src="https://action.metaffiliation.com/trk.php?mclic=' + mclic + '" width="1" height="1" />';
1384        });
1385    },
1386    "fallback": function () {
1387        "use strict";
1388        var id = 'kwanko';
1389        tarteaucitron.fallback(['tac_kwanko'], function (elem) {
1390            return tarteaucitron.engage(id);
1391        });
1392    }
1393};
1394
1395// leadforensics
1396tarteaucitron.services.leadforensics = {
1397    "key": "leadforensics",
1398    "type": "ads",
1399    "name": "Lead Forensics",
1400    "uri": "https://www.leadforensics.com/cookie-policy/",
1401    "needConsent": true,
1402    "cookies": ['ifuuid'],
1403    "js": function () {
1404        "use strict";
1405        if (tarteaucitron.user.leadforensicsId === undefined) {
1406            return;
1407        }
1408
1409        tarteaucitron.addScript('https://secure.team8save.com/js/sc/'+ tarteaucitron.user.leadforensicsId +'.js');
1410    }
1411};
1412
1413// ubib
1414tarteaucitron.services.ubib = {
1415    "key": "ubib",
1416    "type": "support",
1417    "name": "Ubib Chatbot",
1418    "uri": "https://ubib.libanswers.com/",
1419    "needConsent": true,
1420    "cookies": [],
1421    "js": function () {
1422        "use strict";
1423
1424        if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) {
1425            return;
1426        }
1427
1428        tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash);
1429    }
1430};
1431
1432// wysistathightrack
1433tarteaucitron.services.wysistathightrack = {
1434    "key": "wysistathightrack",
1435    "type": "analytic",
1436    "name": "Wysistat (privacy by design)",
1437    "uri": "https://www.wysistat.net/webanalytics/exemption-cnil/",
1438    "needConsent": false,
1439    "cookies": ['wysistat'],
1440    "js": function () {
1441        "use strict";
1442
1443        if (tarteaucitron.user.wysistatNom === undefined) {
1444            return;
1445        }
1446
1447        window._wsq = window._wsq || [];
1448        window._wsq.push(['_setNom', tarteaucitron.user.wysistatNom]);
1449        window._wsq.push(['_wysistat']);
1450
1451        tarteaucitron.addScript('https://www.wysistat.com/ws.jsa');
1452    }
1453};
1454
1455// robofabrica
1456tarteaucitron.services.robofabrica = {
1457    "key": "robofabrica",
1458    "type": "support",
1459    "name": "Robo Fabrica Chatbot",
1460    "uri": "https://robofabrica.tech/charte-vie-privee/",
1461    "needConsent": true,
1462    "cookies": [],
1463    "js": function () {
1464        "use strict";
1465
1466        if (tarteaucitron.user.robofabricaUuid === undefined) {
1467            return;
1468        }
1469
1470        tarteaucitron.addScript('https://app.robofabrica.tech/widget/script', 'inceptive-cw-script', function() {
1471
1472            document.getElementById('inceptive-cw-script').setAttribute('unique-url', tarteaucitron.user.robofabricaUuid);
1473            document.getElementById('inceptive-cw-script').setAttribute('label', 'start');
1474            document.getElementById('inceptive-cw-script').setAttribute('launch-btn-id', 'inceptive-cw-launch');
1475            document.getElementById('inceptive-cw-script').setAttribute('chat-server-url', 'https://app.robofabrica.tech:443');
1476
1477        });
1478    }
1479};
1480
1481// trustpilot
1482tarteaucitron.services.trustpilot = {
1483    "key": "trustpilot",
1484    "type": "other",
1485    "name": "Trustpilot",
1486    "uri": "https://fr.legal.trustpilot.com/for-reviewers/end-user-privacy-terms",
1487    "needConsent": true,
1488    "cookies": [],
1489    "js": function () {
1490        "use strict";
1491        tarteaucitron.fallback(['trustpilot-widget'], '');
1492        tarteaucitron.addScript('https://widget.trustpilot.com/bootstrap/v5/tp.widget.sync.bootstrap.min.js');
1493    },
1494    "fallback": function () {
1495        "use strict";
1496        var id = 'trustpilot';
1497        tarteaucitron.fallback(['trustpilot-widget'], function (elem) {
1498            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-style-width'));
1499            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-style-height'));
1500            return tarteaucitron.engage(id);
1501        });
1502    }
1503};
1504
1505// snapchat
1506tarteaucitron.services.snapchat = {
1507    "key": "snapchat",
1508    "type": "analytic",
1509    "name": "Snapchat",
1510    "uri": "https://snap.com/fr-FR/privacy/privacy-policy",
1511    "needConsent": true,
1512    "cookies": [],
1513    "js": function () {
1514        "use strict";
1515
1516        if (tarteaucitron.user.snapchatId === undefined) {
1517            return;
1518        }
1519
1520        var a = window.snaptr = function() {
1521            a.handleRequest ? a.handleRequest.apply(a, arguments) : a.queue.push(arguments)
1522        };
1523        a.queue = [];
1524
1525        if (tarteaucitron.user.snapchatEmail === undefined) {
1526            window.snaptr('init', tarteaucitron.user.snapchatId);
1527        } else {
1528            window.snaptr('init', tarteaucitron.user.snapchatId, {
1529                'user_email': tarteaucitron.user.snapchatEmail
1530            });
1531        }
1532        window.snaptr('track', 'PAGE_VIEW');
1533
1534        tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
1535
1536        if (typeof tarteaucitron.user.snapchatMore === 'function') {
1537            tarteaucitron.user.snapchatMore();
1538        }
1539    }
1540};
1541
1542// antvoice
1543tarteaucitron.services.antvoice = {
1544    "key": "antvoice",
1545    "type": "ads",
1546    "name": "antvoice",
1547    "uri": "https://www.antvoice.com/fr/privacy-policy/",
1548    "needConsent": true,
1549    "cookies": ['antvoice'],
1550    "js": function () {
1551        "use strict";
1552
1553        if (tarteaucitron.user.antvoiceId === undefined) {
1554            return;
1555        }
1556
1557        window.avDataLayer = window.avDataLayer || [];
1558        window.avtag = window.avtag || function(_cmd,_p) {
1559            window.avDataLayer.push({cmd:_cmd,p:_p});
1560        }
1561        window.avtag('setConsent', {consent:true});
1562        window.avtag('init', {id: tarteaucitron.user.antvoiceId});
1563
1564        tarteaucitron.addScript('https://static.avads.net/avtag.min.js');
1565    }
1566};
1567
1568// plausible
1569tarteaucitron.services.plausible = {
1570    "key": "plausible",
1571    "type": "analytic",
1572    "name": "Plausible",
1573    "uri": "https://plausible.io/privacy",
1574    "needConsent": false,
1575    "cookies": [],
1576    "js": function () {
1577        "use strict";
1578
1579        if (tarteaucitron.user.plausibleDomain === undefined) {
1580            return;
1581        }
1582
1583        if (tarteaucitron.user.plausibleEndpoint === undefined) {
1584            tarteaucitron.user.plausibleEndpoint = 'plausible.io';
1585        }
1586
1587        tarteaucitron.addScript('https://' + tarteaucitron.user.plausibleEndpoint + '/js/script.js', '', '', '', 'data-domain', tarteaucitron.user.plausibleDomain);
1588    }
1589};
1590
1591// videas
1592tarteaucitron.services.videas = {
1593    "key": "videas",
1594    "type": "video",
1595    "name": "Videas",
1596    "uri": "https://videas.fr/fr/legal",
1597    "needConsent": true,
1598    "cookies": [],
1599    "js": function () {
1600        "use strict";
1601        tarteaucitron.fallback(['tac_videas'], function (x) {
1602            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Videas iframe',
1603                width = tarteaucitron.getElemAttr(x, "width"),
1604                height = tarteaucitron.getElemAttr(x, "height"),
1605                id = tarteaucitron.getElemAttr(x, "data-id"),
1606                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
1607
1608            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
1609
1610            return '<iframe title="' + frame_title + '" src="https://app.videas.fr/embed/' + id + '/" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
1611        });
1612    },
1613    "fallback": function () {
1614        "use strict";
1615        var id = 'videas';
1616        tarteaucitron.fallback(['tac_videas'], function (elem) {
1617            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
1618            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
1619            return tarteaucitron.engage(id);
1620        });
1621    }
1622};
1623
1624// myfeelback
1625tarteaucitron.services.myfeelback = {
1626    "key": "myfeelback",
1627    "type": "api",
1628    "name": "MyFeelBack (Skeepers)",
1629    "uri": "https://help.myfeelback.com/fr/quels-sont-les-cookies-d%C3%A9pos%C3%A9s-par-un-dispositif-de-collecte-myfeelback",
1630    "needConsent": true,
1631    "cookies": [],
1632    "js": function () {
1633        "use strict";
1634        if (tarteaucitron.user.myfeelbackId === undefined) {
1635            return;
1636        }
1637
1638        window._Mfb_useCookie = true;
1639        window._Mfb_ud = {
1640            var1: undefined,
1641            var2: undefined,
1642            varN: undefined,
1643            _context: {
1644                lang: undefined,
1645                privacyMode: false,
1646                _page: {
1647                    url: location.pathname,
1648                    storageDuration: 30
1649                }
1650            }
1651        };
1652        tarteaucitron.addScript('https://actorssl-5637.kxcdn.com/actor/'+tarteaucitron.user.myfeelbackId+'/action', 'MFBActor');
1653    }
1654};
1655
1656// arcio
1657tarteaucitron.services.arcio = {
1658    "key": "arcio",
1659    "type": "api",
1660    "name": "Arc.io",
1661    "uri": "https://arc.io/about",
1662    "needConsent": true,
1663    "cookies": [],
1664    "js": function () {
1665        "use strict";
1666        if (tarteaucitron.user.arcId === undefined) {
1667            return;
1668        }
1669
1670        tarteaucitron.addScript('https://arc.io/widget.min.js#'+tarteaucitron.user.arcId);
1671    }
1672};
1673
1674// doubleclick
1675tarteaucitron.services.doubleclick = {
1676    "key": "doubleclick",
1677    "type": "ads",
1678    "name": "DoubleClick",
1679    "uri": "https://support.google.com/admanager/answer/2839090",
1680    "needConsent": true,
1681    "cookies": [],
1682    "js": function () {
1683        "use strict";
1684        tarteaucitron.fallback(['doubleclick_container'], function (x) {
1685            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Doubleclick iframe',
1686                id1 = tarteaucitron.getElemAttr(x, "data-id1"),
1687                id2 = tarteaucitron.getElemAttr(x, "data-id2"),
1688                type = tarteaucitron.getElemAttr(x, "data-type"),
1689                cat = tarteaucitron.getElemAttr(x, "data-cat"),
1690                item = tarteaucitron.getElemAttr(x, "data-item"),
1691                quantity = tarteaucitron.getElemAttr(x, "data-quantity"),
1692                price = tarteaucitron.getElemAttr(x, "data-price"),
1693                postage = tarteaucitron.getElemAttr(x, "data-postage"),
1694                seller = tarteaucitron.getElemAttr(x, "data-seller"),
1695                gdpr = tarteaucitron.getElemAttr(x, "data-gdpr"),
1696                gdpr_consent = tarteaucitron.getElemAttr(x, "data-gdpr-consent"),
1697                ord = tarteaucitron.getElemAttr(x, "data-ord"),
1698                num = tarteaucitron.getElemAttr(x, "data-num");
1699
1700            return '<iframe title="' + frame_title + '" src="https://'+id1+'.fls.doubleclick.net/activityi;src='+id2+';type='+type+';cat='+cat+';item='+item+';quantity='+quantity+';price='+price+';postage='+postage+';seller='+seller+';gdpr='+gdpr+';gdpr_consent='+gdpr_consent+';num='+num+';ord='+ord+'?" style="width:1px;height:1px;display:none"></iframe>';
1701        });
1702    }
1703};
1704
1705// userpilot
1706tarteaucitron.services.userpilot = {
1707    "key": "userpilot",
1708    "type": "analytic",
1709    "name": "UserPilot",
1710    "uri": "https://userpilot.com/privacy-policy",
1711    "needConsent": true,
1712    "cookies": [],
1713    "js": function () {
1714        "use strict";
1715        if (tarteaucitron.user.userpilotToken === undefined) {
1716            return;
1717        }
1718
1719        window.userpilotSettings = {token: tarteaucitron.user.userpilotToken};
1720        tarteaucitron.addScript('https://js.userpilot.io/sdk/latest.js');
1721    }
1722};
1723
1724tarteaucitron.services.piwikpro = {
1725    "key": "piwikpro",
1726    "type": "analytic",
1727    "name": "Piwik Pro",
1728    "uri": "https://piwik.pro/privacy-policy/",
1729    "needConsent": true,
1730    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
1731    "js": function () {
1732        "use strict";
1733        if (tarteaucitron.user.piwikProId === undefined || tarteaucitron.user.piwikProContainer === undefined) {
1734            return;
1735        }
1736
1737        window['dataLayer'] = window['dataLayer'] || [], window['dataLayer'].push({
1738            start: (new Date).getTime(),
1739            event: "stg.start"
1740        });
1741
1742        function stgCreateCookie(a, b, c) {
1743            var d = "";
1744            if (c) {
1745                var e = new Date;
1746                e.setTime(e.getTime() + 24 * c * 60 * 60 * 1e3), d = "; expires=" + e.toUTCString()
1747            }
1748            document.cookie = a + "=" + b + d + "; path=/"
1749        }
1750
1751        var isStgDebug = (window.location.href.match("stg_debug") || document.cookie.match("stg_debug")) && !window.location.href.match("stg_disable_debug");
1752        stgCreateCookie("stg_debug", isStgDebug ? 1 : "", isStgDebug ? 14 : -1);
1753        var qP = [];
1754
1755        var qPString = qP.length > 0 ? ("?" + qP.join("&")) : "";
1756        tarteaucitron.addScript('https://'+tarteaucitron.user.piwikProContainer+'.containers.piwik.pro/'+tarteaucitron.user.piwikProId+'.js'+qPString);
1757
1758        ! function(a, n, i) {
1759            a[n] = a[n] || {};
1760            for (var c = 0; c < i.length; c++) ! function(i) {
1761                a[n][i] = a[n][i] || {}, a[n][i].api = a[n][i].api || function() {
1762                    var a = [].slice.call(arguments, 0);
1763                    "string" == typeof a[0] && window['dataLayer'].push({
1764                        event: n + "." + i + ":" + a[0],
1765                        parameters: [].slice.call(arguments, 1)
1766                    })
1767                }
1768            }(i[c])
1769        }(window, "ppms", ["tm", "cm"]);
1770    }
1771};
1772
1773// pinterestpixel
1774tarteaucitron.services.pinterestpixel = {
1775    "key": "pinterestpixel",
1776    "type": "ads",
1777    "name": "Pinterest Pixel",
1778    "uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
1779    "needConsent": true,
1780    "cookies": ['_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
1781    "js": function () {
1782        "use strict";
1783
1784        if (tarteaucitron.user.pinterestpixelId === undefined) {
1785            return;
1786        }
1787
1788        if (!window.pintrk) {
1789            window.pintrk = function () {
1790                window.pintrk.queue.push(Array.prototype.slice.call(arguments));
1791            };
1792
1793            var n = window.pintrk;
1794            n.queue = [];
1795            n.version = "3.0";
1796
1797            tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function () {
1798                window.pintrk('load', tarteaucitron.user.pinterestpixelId);
1799                window.pintrk('page');
1800            });
1801        }
1802    }
1803};
1804
1805// elfsight
1806tarteaucitron.services.elfsight = {
1807    "key": "elfsight",
1808    "type": "support",
1809    "name": "Elfsight",
1810    "uri": "https://elfsight.com/privacy-policy/",
1811    "needConsent": true,
1812    "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
1813    "js": function () {
1814        "use strict";
1815
1816        tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
1817    }
1818};
1819
1820// plezi
1821tarteaucitron.services.plezi = {
1822    "key": "plezi",
1823    "type": "analytic",
1824    "name": "Plezi",
1825    "uri": "https://www.plezi.co/fr/mentions-legales/",
1826    "needConsent": true,
1827    "cookies": [],
1828    "js": function () {
1829        "use strict";
1830
1831        if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) {
1832            return;
1833        }
1834
1835        tarteaucitron.addScript('https://brain.plezi.co/api/v1/analytics?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw);
1836    }
1837};
1838
1839
1840// smartsupp
1841tarteaucitron.services.smartsupp = {
1842    "key": "smartsupp",
1843    "type": "support",
1844    "name": "Smartsupp",
1845    "uri": "https://www.smartsupp.com/help/privacy/",
1846    "needConsent": true,
1847    "cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
1848    "js": function () {
1849        "use strict";
1850
1851        if (tarteaucitron.user.smartsuppKey === undefined) {
1852            return;
1853        }
1854
1855        window._smartsupp = window._smartsupp || {};
1856        window._smartsupp.key = tarteaucitron.user.smartsuppKey;
1857        window.smartsupp = function () {
1858            window.smartsupp._.push(arguments)
1859        };
1860        window.smartsupp._ = [];
1861
1862        tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
1863    }
1864};
1865
1866
1867
1868// sharpspring
1869tarteaucitron.services.sharpspring = {
1870    "key": "sharpspring",
1871    "type": "analytic",
1872    "name": "SharpSpring",
1873    "uri": "https://sharpspring.com/legal/sharpspring-cookie-policy/",
1874    "needConsent": true,
1875    "cookies": ['koitk', '__ss', '__ss_tk', '__ss_referrer'],
1876    "js": function () {
1877        "use strict";
1878
1879        if (tarteaucitron.user.ssId === undefined || tarteaucitron.user.ssAccount === undefined) {
1880            return;
1881        }
1882
1883        window._ss = window._ss || [];
1884        window._ss.push(['_setDomain', 'https://' + tarteaucitron.user.ssId + '.marketingautomation.services/net']);
1885        window._ss.push(['_setAccount', tarteaucitron.user.ssAccount]);
1886        window._ss.push(['_trackPageView']);
1887
1888        window._pa = window._pa || {};
1889
1890        tarteaucitron.addScript('https://' + tarteaucitron.user.ssId + '.marketingautomation.services/client/ss.js');
1891    }
1892};
1893
1894// pardot
1895tarteaucitron.services.pardot = {
1896    "key": "pardot",
1897    "type": "analytic",
1898    "name": "Pardot",
1899    "uri": "https://www.salesforce.com/company/privacy/full_privacy/",
1900    "needConsent": true,
1901    "cookies": ['visitor_id'],
1902    "js": function () {
1903        "use strict";
1904        if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
1905            return;
1906        }
1907
1908        window.piAId = tarteaucitron.user.piAId;
1909        window.piCId = tarteaucitron.user.piCId;
1910        window.piHostname = 'pi.pardot.com';
1911
1912        tarteaucitron.addScript('https://pi.pardot.com/pd.js');
1913    }
1914};
1915
1916// Open Web Analytics
1917tarteaucitron.services.openwebanalytics = {
1918    "key": "openwebanalytics",
1919    "type": "analytic",
1920    "name": "Open Web Analytics",
1921    "uri": "",
1922    "needConsent": true,
1923    "cookies": [],
1924    "js": function () {
1925        "use strict";
1926
1927        if (tarteaucitron.user.openwebanalyticsId === undefined || tarteaucitron.user.openwebanalyticsHost === undefined) {
1928            return;
1929        }
1930
1931        window.owa_baseUrl = tarteaucitron.user.openwebanalyticsHost;
1932        window.owa_cmds = window.owa_cmds || [];
1933        window.owa_cmds.push(['setSiteId', tarteaucitron.user.openwebanalyticsId]);
1934        window.owa_cmds.push(['trackPageView']);
1935        window.owa_cmds.push(['trackClicks']);
1936
1937        tarteaucitron.addScript(window.owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js');
1938    }
1939};
1940
1941// xandr universal pixel
1942// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/universal-pixel-overview.html
1943tarteaucitron.services.xandr = {
1944    "key": "xandr",
1945    "type": "ads",
1946    "name": "Xandr (Universal)",
1947    "uri": "https://www.xandr.com/privacy/cookie-policy/",
1948    "needConsent": true,
1949    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
1950    "js": function () {
1951        "use strict";
1952        if (tarteaucitron.user.xandrId === undefined) {
1953            return;
1954        }
1955
1956        if (!window.pixie) {
1957            var n = window.pixie = function (e, i, a) {
1958                n.actionQueue.push({
1959                    action: e,
1960                    actionValue: i,
1961                    params: a
1962                })
1963            };
1964            n.actionQueue = [];
1965        }
1966
1967        tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function () {
1968            window.pixie('init', tarteaucitron.user.xandrId);
1969            window.pixie('event', 'PageView');
1970        });
1971    }
1972};
1973
1974// xandr segment
1975// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/segment-pixels-advanced.html
1976tarteaucitron.services.xandrsegment = {
1977    "key": "xandrsegment",
1978    "type": "ads",
1979    "name": "Xandr (Segment)",
1980    "uri": "https://www.xandr.com/privacy/cookie-policy/",
1981    "needConsent": true,
1982    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
1983    "js": function () {
1984        "use strict";
1985        var uniqIds = [],
1986            i,
1987            uri;
1988
1989        tarteaucitron.fallback(['xandrsegment-canvas'], function (x) {
1990            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1991            uniqIds.push(uniqId);
1992            return '<div id="' + uniqId + '" xandrsegmentAdd="' + tarteaucitron.getElemAttr(x, 'xandrsegmentAdd') + '" xandrsegmentAddCode="' + tarteaucitron.getElemAttr(x, 'xandrsegmentAddCode') + '" xandrsegmentRemove="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRemove') + '" xandrsegmentRemoveCode="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRemoveCode') + '" xandrsegmentMember="' + tarteaucitron.getElemAttr(x, 'xandrsegmentMember') + '" xandrsegmentRedir="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRedir') + '" xandrsegmentValue="' + tarteaucitron.getElemAttr(x, 'xandrsegmentValue') + '" xandrsegmentOther="' + tarteaucitron.getElemAttr(x, 'xandrsegmentOther') + '"></div>';
1993        });
1994
1995        for (i = 0; i < uniqIds.length; i += 1) {
1996            uri = '//ib.adnxs.com/seg?t=2&';
1997            uri += 'add=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentAdd') + '&';
1998            uri += 'add_code=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentAddCode') + '&';
1999            uri += 'remove=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRemove') + '&';
2000            uri += 'remove_code=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRemoveCode') + '&';
2001            uri += 'member=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentMember') + '&';
2002            uri += 'redir=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRedir') + '&';
2003            uri += 'value=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentValue') + '&';
2004            uri += 'other=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentOther');
2005
2006            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
2007        }
2008    },
2009    "fallback": function () {
2010        "use strict";
2011        var id = 'xandrsegment';
2012        tarteaucitron.fallback(['xandrsegment-canvas'], tarteaucitron.engage(id));
2013    }
2014};
2015
2016// xandr conversion
2017// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/working-with-conversion-pixels.html
2018tarteaucitron.services.xandrconversion = {
2019    "key": "xandrconversion",
2020    "type": "ads",
2021    "name": "Xandr (Conversion)",
2022    "uri": "https://www.xandr.com/privacy/cookie-policy/",
2023    "needConsent": true,
2024    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
2025    "js": function () {
2026        "use strict";
2027        var uniqIds = [],
2028            i,
2029            uri;
2030
2031        tarteaucitron.fallback(['xandrconversion-canvas'], function (x) {
2032            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2033            uniqIds.push(uniqId);
2034            return '<div id="' + uniqId + '" xandrconversionId="' + tarteaucitron.getElemAttr(x, 'xandrconversionId') + '" xandrconversionSeg="' + tarteaucitron.getElemAttr(x, 'xandrconversionSeg') + '" xandrconversionOrderId="' + tarteaucitron.getElemAttr(x, 'xandrconversionOrderId') + '" xandrconversionValue="' + tarteaucitron.getElemAttr(x, 'xandrconversionValue') + '" xandrconversionRedir="' + tarteaucitron.getElemAttr(x, 'xandrconversionRedir') + '" xandrconversionOther="' + tarteaucitron.getElemAttr(x, 'xandrconversionOther') + '"></div>';
2035        });
2036
2037        for (i = 0; i < uniqIds.length; i += 1) {
2038            uri = '//ib.adnxs.com/px?t=2&';
2039            uri += 'id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionId') + '&';
2040            uri += 'seg=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionSeg') + '&';
2041            uri += 'order_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionOrderId') + '&';
2042            uri += 'value=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionValue') + '&';
2043            uri += 'redir=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionRedir') + '&';
2044            uri += 'other=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionOther');
2045
2046            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
2047        }
2048    },
2049    "fallback": function () {
2050        "use strict";
2051        var id = 'xandrconversion';
2052        tarteaucitron.fallback(['xandrconversion-canvas'], tarteaucitron.engage(id));
2053    }
2054};
2055
2056// helloasso
2057tarteaucitron.services.helloasso = {
2058    "key": "helloasso",
2059    "type": "api",
2060    "name": "HelloAsso",
2061    "uri": "https://www.helloasso.com/confidentialite",
2062    "needConsent": true,
2063    "cookies": [],
2064    "js": function () {
2065        "use strict";
2066        tarteaucitron.fallback(['tac_helloasso'], function (x) {
2067            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'HelloAsso iframe',
2068                width = tarteaucitron.getElemAttr(x, "width"),
2069                height = tarteaucitron.getElemAttr(x, "height"),
2070                url = tarteaucitron.getElemAttr(x, "data-url"),
2071                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2072
2073            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2074
2075            return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2076        });
2077    },
2078    "fallback": function () {
2079        "use strict";
2080        var id = 'helloasso';
2081        tarteaucitron.fallback(['tac_helloasso'], function (elem) {
2082            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2083            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2084            return tarteaucitron.engage(id);
2085        });
2086    }
2087};
2088
2089// podcloud
2090tarteaucitron.services.podcloud = {
2091    "key": "podcloud",
2092    "type": "video",
2093    "name": "podCloud",
2094    "uri": "https://podcloud.fr/privacy",
2095    "needConsent": true,
2096    "cookies": [],
2097    "js": function () {
2098        "use strict";
2099        tarteaucitron.fallback(['tac_podcloud'], function (x) {
2100            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'podCloud iframe',
2101                width = tarteaucitron.getElemAttr(x, "width"),
2102                height = tarteaucitron.getElemAttr(x, "height"),
2103                url = tarteaucitron.getElemAttr(x, "data-url"),
2104                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2105
2106            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2107
2108            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2109        });
2110    },
2111    "fallback": function () {
2112        "use strict";
2113        var id = 'podcloud';
2114        tarteaucitron.fallback(['tac_podcloud'], function (elem) {
2115            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2116            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2117            return tarteaucitron.engage(id);
2118        });
2119    }
2120};
2121
2122// facebookpost
2123tarteaucitron.services.facebookpost = {
2124    "key": "facebookpost",
2125    "type": "social",
2126    "name": "Facebook (post)",
2127    "uri": "https://www.facebook.com/policy.php",
2128    "needConsent": true,
2129    "cookies": [],
2130    "js": function () {
2131        "use strict";
2132        tarteaucitron.fallback(['tac_facebookpost'], function (x) {
2133            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Facebook iframe',
2134                width = tarteaucitron.getElemAttr(x, "width"),
2135                height = tarteaucitron.getElemAttr(x, "height"),
2136                url = tarteaucitron.getElemAttr(x, "data-url"),
2137                appId = tarteaucitron.getElemAttr(x, "data-appid"),
2138                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
2139                showText = tarteaucitron.getElemAttr(x, "data-show-text");
2140
2141            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2142
2143            return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&amp;width=' + width + '&amp;show_text=false&amp;appId=' + appId + '&amp;show_text=' + showText + '&amp;height=' + height + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2144        });
2145    },
2146    "fallback": function () {
2147        "use strict";
2148        var id = 'facebookpost';
2149        tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
2150            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2151            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2152            return tarteaucitron.engage(id);
2153        });
2154    }
2155};
2156
2157// amplitude
2158tarteaucitron.services.amplitude = {
2159    "key": "amplitude",
2160    "type": "analytic",
2161    "name": "Amplitude",
2162    "uri": "https://amplitude.com/privacy",
2163    "needConsent": true,
2164    "cookies": [],
2165    "js": function () {
2166        "use strict";
2167        if (tarteaucitron.user.amplitude === undefined) {
2168            return;
2169        }
2170        tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function () {
2171
2172            window.amplitude = {
2173                _q: [],
2174                _iq: {}
2175            };
2176            function s(e, t) { e.prototype[t] = function () { this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this } }
2177            var o = function () { this._q = []; return this };
2178            var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
2179            for (var u = 0; u < a.length; u++) { s(o, a[u]) }
2180            amplitude.Identify = o;
2181            var c = function () { this._q = []; return this };
2182            var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
2183            for (var p = 0; p < l.length; p++) { s(c, l[p]) }
2184            amplitude.Revenue = c;
2185            var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"];
2186            function v(e) { function t(t) { e[t] = function () { e._q.push([t].concat(Array.prototype.slice.call(arguments, 0))) } } for (var n = 0; n < d.length; n++) { t(d[n]) } }
2187            v(amplitude);
2188            amplitude.getInstance = function (e) { e = (!e || e.length === 0 ? "$default_instance" : e).toLowerCase(); if (!amplitude._iq.hasOwnProperty(e)) { amplitude._iq[e] = { _q: [] }; v(amplitude._iq[e]) } return amplitude._iq[e] };
2189
2190            amplitude.getInstance().init(tarteaucitron.user.amplitude);
2191        });
2192    }
2193};
2194
2195// abtasty
2196tarteaucitron.services.abtasty = {
2197    "key": "abtasty",
2198    "type": "api",
2199    "name": "ABTasty",
2200    "uri": "https://www.abtasty.com/terms-of-use/",
2201    "needConsent": true,
2202    "cookies": ['ABTasty', 'ABTastySession'],
2203    "js": function () {
2204        "use strict";
2205        if (tarteaucitron.user.abtastyID === undefined) {
2206            return;
2207        }
2208        tarteaucitron.addScript('//try.abtasty.com/' + tarteaucitron.user.abtastyID + '.js');
2209    }
2210};
2211
2212
2213// yandex metrica
2214tarteaucitron.services.metrica = {
2215    "key": "metrica",
2216    "type": "analytic",
2217    "name": "Yandex Metrica",
2218    "uri": "https://yandex.com/legal/confidential/",
2219    "needConsent": true,
2220    "cookies": ['_ym_metrika_enabled', '_ym_isad', '_ym_uid', '_ym_d', 'yabs-sid', '_ym_debug', '_ym_mp2_substs', '_ym_hostIndex', '_ym_mp2_track', 'yandexuid', 'usst'],
2221    "js": function () {
2222        "use strict";
2223        if (tarteaucitron.user.yandexmetrica === undefined) {
2224            return;
2225        }
2226        tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function () {
2227
2228            (function (m, e, t, r, i, k, a) {
2229                m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
2230                m[i].l = 1 * new Date(); k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
2231            })
2232            (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
2233
2234            ym(tarteaucitron.user.yandexmetrica, "init", {
2235                clickmap: true,
2236                trackLinks: true,
2237                accurateTrackBounce: true,
2238                webvisor: true,
2239                ecommerce: "dataLayer"
2240            });
2241        });
2242    }
2243};
2244
2245// addthis
2246tarteaucitron.services.addthis = {
2247    "key": "addthis",
2248    "type": "social",
2249    "name": "AddThis",
2250    "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
2251    "needConsent": true,
2252    "cookies": ['__atuvc', '__atuvs'],
2253    "js": function () {
2254        "use strict";
2255        if (tarteaucitron.user.addthisPubId === undefined) {
2256            return;
2257        }
2258        if (tarteaucitron.isAjax === true) {
2259            window.addthis = null;
2260            window._adr = null;
2261            window._atc = null;
2262            window._atd = null;
2263            window._ate = null;
2264            window._atr = null;
2265            window._atw = null;
2266        }
2267        tarteaucitron.fallback(['addthis_inline_share_toolbox'], '');
2268        tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
2269    },
2270    "fallback": function () {
2271        "use strict";
2272        var id = 'addthis';
2273        tarteaucitron.fallback(['addthis_inline_share_toolbox'], tarteaucitron.engage(id));
2274    }
2275};
2276
2277// addtoanyfeed
2278tarteaucitron.services.addtoanyfeed = {
2279    "key": "addtoanyfeed",
2280    "type": "social",
2281    "name": "AddToAny (feed)",
2282    "uri": "https://www.addtoany.com/privacy",
2283    "needConsent": true,
2284    "cookies": [],
2285    "js": function () {
2286        "use strict";
2287        if (tarteaucitron.user.addtoanyfeedUri === undefined) {
2288            return;
2289        }
2290        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
2291        window.a2a_config = window.a2a_config || {};
2292        window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
2293        tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
2294    },
2295    "fallback": function () {
2296        "use strict";
2297        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
2298    }
2299};
2300
2301// addtoanyshare
2302tarteaucitron.services.addtoanyshare = {
2303    "key": "addtoanyshare",
2304    "type": "social",
2305    "name": "AddToAny (share)",
2306    "uri": "https://www.addtoany.com/privacy",
2307    "needConsent": true,
2308    "cookies": [],
2309    "js": function () {
2310        "use strict";
2311        tarteaucitron.fallback(['tac_addtoanyshare'], function (elem) {
2312            elem.remove();
2313        }, true);
2314        tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
2315    },
2316    "fallback": function () {
2317        "use strict";
2318        var id = 'addtoanyshare';
2319        tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
2320    }
2321};
2322
2323// aduptech ads
2324tarteaucitron.services.aduptech_ads = {
2325    "key": "aduptech_ads",
2326    "type": "ads",
2327    "name": "Ad Up Technology (ads)",
2328    "uri": "https://www.adup-tech.com/datenschutz",
2329    "needConsent": true,
2330    "cookies": [],
2331    "js": function () {
2332        "use strict";
2333
2334        var IDENTIFIER = "aduptech_ads",
2335            API_URL = "https://s.d.adup-tech.com/jsapi";
2336
2337        var elements = document.getElementsByClassName(IDENTIFIER);
2338        if (!elements || elements.length === 0) {
2339            return;
2340        }
2341
2342        tarteaucitron.fallback([IDENTIFIER], "");
2343
2344        tarteaucitron.addScript(API_URL, "", function () {
2345            for (var i = 0; i < elements.length; i++) {
2346                var element = elements[i];
2347
2348                if (!tarteaucitron.getElemAttr(element, "id")) {
2349                    element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
2350                }
2351
2352                window.uAd.embed(tarteaucitron.getElemAttr(element, "id"), {
2353                    placementKey: tarteaucitron.getElemAttr(element, "placementKey"),
2354                    responsive: Boolean(tarteaucitron.getElemAttr(element, "responsive")),
2355                    lazy: Boolean(tarteaucitron.getElemAttr(element, "lazy")),
2356                    adtest: Boolean(tarteaucitron.getElemAttr(element, "test")),
2357                    query: tarteaucitron.getElemAttr(element, "query") || "",
2358                    minCpc: tarteaucitron.getElemAttr(element, "minCpc") || "",
2359                    pageUrl: tarteaucitron.getElemAttr(element, "pageUrl") || "",
2360                    skip: tarteaucitron.getElemAttr(element, "skip") || ""
2361                });
2362            }
2363        });
2364
2365    },
2366    "fallback": function () {
2367        "use strict";
2368        tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
2369    }
2370};
2371
2372// aduptech conversion
2373tarteaucitron.services.aduptech_conversion = {
2374    "key": "aduptech_conversion",
2375    "type": "ads",
2376    "name": "Ad Up Technology (conversion)",
2377    "uri": "https://www.adup-tech.com/datenschutz",
2378    "needConsent": true,
2379    "cookies": [],
2380    "js": function () {
2381        "use strict";
2382
2383        var IDENTIFIER = "aduptech_conversion",
2384            CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
2385
2386        var elements = document.getElementsByClassName(IDENTIFIER);
2387        if (!elements || elements.length === 0) {
2388            return;
2389        }
2390
2391        tarteaucitron.fallback([IDENTIFIER], "");
2392
2393        for (var i = 0; i < elements.length; i++) {
2394            var element = elements[i];
2395
2396            if (!tarteaucitron.getElemAttr(element, "advertiserId") || !tarteaucitron.getElemAttr(element, "conversionCode")) {
2397                continue;
2398            }
2399
2400            var url = CONVERSION_PIXEL_BASE_URL +
2401                "/" + encodeURIComponent(tarteaucitron.getElemAttr(element, "advertiserId")) +
2402                "?t=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "conversionCode"));
2403
2404            if (tarteaucitron.getElemAttr(element, "price")) {
2405                url += "&price=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "price"));
2406            }
2407
2408            if (tarteaucitron.getElemAttr(element, "quantity")) {
2409                url += "&quantity=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "quantity"));
2410            }
2411
2412            if (tarteaucitron.getElemAttr(element, "total")) {
2413                url += "&total=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "total"));
2414            }
2415
2416            if (tarteaucitron.getElemAttr(element, "orderId")) {
2417                url += "&order_id=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "orderId"));
2418            }
2419
2420            if (tarteaucitron.getElemAttr(element, "itemNumber")) {
2421                url += "&item_number=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "itemNumber"));
2422            }
2423
2424            if (tarteaucitron.getElemAttr(element, "description")) {
2425                url += "&description=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "description"));
2426            }
2427
2428            (new Image()).src = url;
2429        }
2430    }
2431};
2432
2433// aduptech retargeting
2434tarteaucitron.services.aduptech_retargeting = {
2435    "key": "aduptech_retargeting",
2436    "type": "ads",
2437    "name": "Ad Up Technology (retargeting)",
2438    "uri": "https://www.adup-tech.com/datenschutz",
2439    "needConsent": true,
2440    "cookies": [],
2441    "js": function () {
2442        "use strict";
2443
2444        var IDENTIFIER = "aduptech_retargeting",
2445            API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
2446
2447        var elements = document.getElementsByClassName(IDENTIFIER);
2448        if (!elements || elements.length === 0) {
2449            return;
2450        }
2451
2452        tarteaucitron.fallback([IDENTIFIER], "");
2453
2454        window.AdUpRetargeting = function (api) {
2455            for (var i = 0; i < elements.length; i++) {
2456                var element = elements[i];
2457
2458                api.init();
2459
2460                api.setAccount(tarteaucitron.getElemAttr(element, "account"));
2461
2462                if (tarteaucitron.getElemAttr(element, "email")) {
2463                    api.setEmail(tarteaucitron.getElemAttr(element, "email"));
2464                } else if (tarteaucitron.getElemAttr(element, "hashedEmail")) {
2465                    api.setHashedEmail(tarteaucitron.getElemAttr(element, "hashedEmail"));
2466                }
2467
2468                if (tarteaucitron.getElemAttr(element, "product")) {
2469                    try {
2470                        api.setProduct(JSON.parse(tarteaucitron.getElemAttr(element, "product")));
2471                    } catch (e) {
2472                        api.setProduct(tarteaucitron.getElemAttr(element, "product"));
2473                    }
2474                }
2475
2476                if (tarteaucitron.getElemAttr(element, "transaction")) {
2477                    try {
2478                        api.setTransaction(JSON.parse(tarteaucitron.getElemAttr(element, "transaction")));
2479                    } catch (e) {
2480                        api.setTransaction(tarteaucitron.getElemAttr(element, "transaction"));
2481                    }
2482                }
2483
2484                if (tarteaucitron.getElemAttr(element, "demarkUser")) {
2485                    api.setDemarkUser();
2486                } else if (tarteaucitron.getElemAttr(element, "demarkProducts")) {
2487                    api.setDemarkProducts();
2488                }
2489
2490                if (tarteaucitron.getElemAttr(element, "conversionCode")) {
2491                    api.setConversionCode(tarteaucitron.getElemAttr(element, "conversionCode"));
2492                }
2493
2494                if (tarteaucitron.getElemAttr(element, "device")) {
2495                    var setter = "set" + tarteaucitron.getElemAttr(element, "device").charAt(0).toUpperCase() + tarteaucitron.getElemAttr(element, "device").slice(1);
2496                    if (typeof api[setter] === 'function') {
2497                        api[setter]();
2498                    }
2499                }
2500
2501                if (tarteaucitron.getElemAttr(element, "track")) {
2502                    var tracker = "track" + tarteaucitron.getElemAttr(element, "track").charAt(0).toUpperCase() + tarteaucitron.getElemAttr(element, "track").slice(1);
2503                    if (typeof api[tracker] === "function") {
2504                        api[tracker]();
2505                    } else {
2506                        api.trackHomepage();
2507                    }
2508                }
2509            };
2510        };
2511
2512        tarteaucitron.addScript(API_URL);
2513    }
2514};
2515
2516// amazon
2517tarteaucitron.services.amazon = {
2518    "key": "amazon",
2519    "type": "ads",
2520    "name": "Amazon",
2521    "uri": "https://www.amazon.com/gp/help/customer/display.html/?ie=UTF8&nodeId=201909010",
2522    "needConsent": true,
2523    "cookies": [],
2524    "js": function () {
2525        "use strict";
2526        tarteaucitron.fallback(['amazon_product'], function (x) {
2527            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Amazon iframe',
2528                amazonId = tarteaucitron.getElemAttr(x, "amazonid"),
2529                productId = tarteaucitron.getElemAttr(x, "productid"),
2530                url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon&region=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',
2531                iframe = '<iframe title="' + frame_title + '" style="width:120px;height:240px;" src="' + url + '"></iframe>';
2532
2533            return iframe;
2534        });
2535    },
2536    "fallback": function () {
2537        "use strict";
2538        var id = 'amazon';
2539        tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
2540    }
2541};
2542
2543// calameo
2544tarteaucitron.services.calameo = {
2545    "key": "calameo",
2546    "type": "video",
2547    "name": "Calameo",
2548    "uri": "https://fr.calameo.com/privacy",
2549    "needConsent": true,
2550    "cookies": [],
2551    "js": function () {
2552        "use strict";
2553        tarteaucitron.fallback(['calameo-canvas'], function (x) {
2554            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Calameo iframe',
2555                id = tarteaucitron.getElemAttr(x, "data-id"),
2556                width = tarteaucitron.getElemAttr(x, "width"),
2557                height = tarteaucitron.getElemAttr(x, "height"),
2558                url = '//v.calameo.com/?bkcode=' + id,
2559                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2560
2561            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2562
2563            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2564        });
2565    },
2566    "fallback": function () {
2567        "use strict";
2568        var id = 'calameo';
2569        tarteaucitron.fallback(['calameo-canvas'], function (elem) {
2570            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2571            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2572            return tarteaucitron.engage(id);
2573        });
2574    }
2575};
2576
2577// calameolibrary
2578tarteaucitron.services.calameolibrary = {
2579    "key": "calameolibrary",
2580    "type": "video",
2581    "name": "Calameo Library",
2582    "uri": "https://fr.calameo.com/privacy",
2583    "needConsent": true,
2584    "cookies": [],
2585    "js": function () {
2586        "use strict";
2587        tarteaucitron.fallback(['calameolibrary-canvas'], function (x) {
2588            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Calameo iframe',
2589                id = tarteaucitron.getElemAttr(x, "data-id"),
2590                width = tarteaucitron.getElemAttr(x, "width"),
2591                height = tarteaucitron.getElemAttr(x, "height"),
2592                url = '//v.calameo.com/library/?type=subscription&id=' + id,
2593                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2594
2595            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2596
2597            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2598        });
2599    },
2600    "fallback": function () {
2601        "use strict";
2602        var id = 'calameolibrary';
2603        tarteaucitron.fallback(['calameolibrary-canvas'], function (elem) {
2604            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2605            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2606            return tarteaucitron.engage(id);
2607        });
2608    }
2609};
2610
2611// clicky
2612tarteaucitron.services.clicky = {
2613    "key": "clicky",
2614    "type": "analytic",
2615    "name": "Clicky",
2616    "uri": "https://clicky.com/terms",
2617    "needConsent": true,
2618    "cookies": ['_jsuid', '_eventqueue', '_referrer_og', '_utm_og', '_first_pageview', 'clicky_olark', 'no_trackyy_' + tarteaucitron.user.clickyId, 'unpoco_' + tarteaucitron.user.clickyId, 'heatmaps_g2g_' + tarteaucitron.user.clickyId],
2619    "js": function () {
2620        "use strict";
2621        if (tarteaucitron.user.clickyId === undefined) {
2622            return;
2623        }
2624        tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
2625            if (typeof clicky.init === 'function') {
2626                clicky.init(tarteaucitron.user.clickyId);
2627            }
2628            if (typeof tarteaucitron.user.clickyMore === 'function') {
2629                tarteaucitron.user.clickyMore();
2630            }
2631        });
2632    }
2633};
2634
2635// clicmanager
2636tarteaucitron.services.clicmanager = {
2637    "key": "clicmanager",
2638    "type": "ads",
2639    "name": "Clicmanager",
2640    "uri": "https://www.clicmanager.fr/infos_legales.php",
2641    "needConsent": true,
2642    "cookies": [],
2643    "js": function () {
2644        "use strict";
2645        var uniqIds = [],
2646            i,
2647            uri;
2648
2649        tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
2650            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2651            uniqIds.push(uniqId);
2652            return '<div id="' + uniqId + '" c="' + tarteaucitron.getElemAttr(x, 'c') + '" s="' + tarteaucitron.getElemAttr(x, 's') + '" t="' + tarteaucitron.getElemAttr(x, 't') + '"></div>';
2653        });
2654
2655        for (i = 0; i < uniqIds.length; i += 1) {
2656            uri = '//ads.clicmanager.fr/exe.php?';
2657            uri += 'c=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'c') + '&';
2658            uri += 's=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 's') + '&';
2659            uri += 't=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 't');
2660
2661            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2662        }
2663    },
2664    "fallback": function () {
2665        "use strict";
2666        var id = 'clicmanager';
2667        tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
2668    }
2669};
2670
2671// compteur
2672tarteaucitron.services.compteur = {
2673    "key": "compteur",
2674    "type": "analytic",
2675    "name": "Compteur.fr",
2676    "uri": "https://www.compteur.fr/help_privacy_policy.htm",
2677    "needConsent": true,
2678    "cookies": [],
2679    "js": function () {
2680        "use strict";
2681        if (tarteaucitron.user.compteurID === undefined) {
2682            return;
2683        }
2684        tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function () { wtslog7(tarteaucitron.user.compteurID, 1); });
2685    }
2686};
2687
2688// contentsquare
2689tarteaucitron.services.contentsquare = {
2690    "key": "contentsquare",
2691    "type": "analytic",
2692    "name": "ContentSquare",
2693    "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
2694    "needConsent": true,
2695    "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
2696    "js": function () {
2697        "use strict";
2698        if (tarteaucitron.user.contentsquareID === undefined) {
2699            return;
2700        }
2701        tarteaucitron.addScript('//t.contentsquare.net/uxa/' + tarteaucitron.user.contentsquareID + '.js');
2702    }
2703};
2704
2705// crazyegg
2706tarteaucitron.services.crazyegg = {
2707    "key": "crazyegg",
2708    "type": "analytic",
2709    "name": "Crazy Egg",
2710    "uri": "https://www.crazyegg.com/privacy",
2711    "needConsent": true,
2712    "cookies": [],
2713    "js": function () {
2714        "use strict";
2715
2716        if (tarteaucitron.user.crazyeggId === undefined) {
2717            return;
2718        }
2719
2720        tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
2721    }
2722};
2723
2724// clarity
2725tarteaucitron.services.clarity = {
2726    "key": "clarity",
2727    "type": "analytic",
2728    "name": "Clarity",
2729    "uri": "https://clarity.microsoft.com/",
2730    "needConsent": true,
2731    "cookies": ['_clck', '_clsk', 'CLID', 'ANONCHK', 'MR', 'MUID', 'SM'],
2732    "js": function () {
2733        "use strict";
2734
2735        if (tarteaucitron.user.clarity === undefined) {
2736            return;
2737        }
2738
2739        window["clarity"] = window["clarity"] || function () { (window["clarity"].q = window["clarity"].q || []).push(arguments) };
2740
2741        tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity, '', function() {
2742            window["clarity"]("consent");
2743        });
2744    },
2745    "fallback": function () {
2746        if (tarteaucitron.parameters.bingConsentMode === true) {
2747            if (tarteaucitron.parameters.softConsentMode === false) {
2748                this.js();
2749            }
2750        }
2751    }
2752};
2753
2754// criteo
2755tarteaucitron.services.criteo = {
2756    "key": "criteo",
2757    "type": "ads",
2758    "name": "Criteo",
2759    "uri": "https://www.criteo.com/privacy/",
2760    "needConsent": true,
2761    "cookies": [],
2762    "js": function () {
2763        "use strict";
2764        document.MAX_ct0 = '';
2765        var uniqIds = [],
2766            i,
2767            uri;
2768
2769        tarteaucitron.fallback(['criteo-canvas'], function (x) {
2770            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2771            uniqIds.push(uniqId);
2772            return '<div id="' + uniqId + '" zoneid="' + tarteaucitron.getElemAttr(x, 'zoneid') + '"></div>';
2773        });
2774
2775        for (i = 0; i < uniqIds.length; i += 1) {
2776            uri = '//cas.criteo.com/delivery/ajs.php?';
2777            uri += 'zoneid=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'zoneid');
2778            uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
2779            uri += '&loc=' + encodeURI(window.location);
2780            uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
2781            uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
2782            uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
2783            uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
2784            uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
2785            uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
2786            uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
2787
2788            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2789        }
2790    },
2791    "fallback": function () {
2792        "use strict";
2793        var id = 'criteo';
2794        tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
2795    }
2796};
2797
2798// criteo onetag
2799tarteaucitron.services.criteoonetag = {
2800    "key": "criteoonetag",
2801    "type": "ads",
2802    "name": "Criteo OneTag",
2803    "uri": "https://www.criteo.com/privacy/",
2804    "needConsent": true,
2805    "cookies": ['uid', 'tk', 'uid3pd'],
2806    "js": function() {
2807        "use strict";
2808        if (tarteaucitron.user.criteoonetagAccount === undefined) return;
2809
2810        window.criteo_q = window.criteo_q || [];
2811        window.criteo_q.push({
2812            event: "setAccount",
2813            account: tarteaucitron.user.criteoonetagAccount
2814        })
2815
2816        tarteaucitron.addScript('//static.criteo.net/js/ld/ld.js', '', function() {
2817            if (typeof tarteaucitron.user.criteoonetagMore === 'function') {
2818                tarteaucitron.user.criteoonetagMore();
2819            }
2820        });
2821    }
2822};
2823
2824// artetv
2825tarteaucitron.services.artetv = {
2826    "key": "artetv",
2827    "type": "video",
2828    "name": "Arte.tv",
2829    "uri": "https://www.arte.tv/sites/fr/corporate/donnees-personnelles/",
2830    "needConsent": true,
2831    "cookies": [],
2832    "js": function () {
2833        "use strict";
2834        tarteaucitron.fallback(['artetv_player'], function (x) {
2835            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Arte.tv iframe',
2836                video_json = tarteaucitron.getElemAttr(x, "json"),
2837                video_width = tarteaucitron.getElemAttr(x, "width"),
2838                video_height = tarteaucitron.getElemAttr(x, "height"),
2839                video_frame,
2840                video_allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2841
2842            if (video_json === "") {
2843                return "";
2844            }
2845
2846            var styleAttr = (video_width !== "" ? "width:" + tarteaucitron.getStyleSize(video_width) + ";" : "") + (video_height !== "" ? "height:" + tarteaucitron.getStyleSize(video_height) + ";" : "");
2847
2848            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + 'transition-duration: 0; transition-property: no; margin: 0 auto; position: relative; display: block; background-color: #000000;" src="https://www.arte.tv/player/v5/index.php?json_url=' + video_json + '" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2849            return video_frame;
2850        });
2851    },
2852    "fallback": function () {
2853        "use strict";
2854        var id = 'artetv';
2855        tarteaucitron.fallback(['artetv_player'], function (elem) {
2856            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2857            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2858            return tarteaucitron.engage(id);
2859        });
2860    }
2861};
2862
2863// dailymotion
2864tarteaucitron.services.dailymotion = {
2865    "key": "dailymotion",
2866    "type": "video",
2867    "name": "Dailymotion",
2868    "uri": "https://www.dailymotion.com/legal/privacy",
2869    "needConsent": true,
2870    "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
2871    "js": function () {
2872        "use strict";
2873        tarteaucitron.fallback(['dailymotion_player'], function (x) {
2874            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Dailymotion iframe',
2875                video_id = tarteaucitron.getElemAttr(x, "videoID"),
2876                video_width = tarteaucitron.getElemAttr(x, "width"),
2877                video_height = tarteaucitron.getElemAttr(x, "height"),
2878                styleAttr = "",
2879                video_frame,
2880                embed_type = tarteaucitron.getElemAttr(x, "embedType"),
2881                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
2882                showinfo = tarteaucitron.getElemAttr(x, "showinfo"),
2883                autoplay = tarteaucitron.getElemAttr(x, "autoplay"),
2884                api = tarteaucitron.getElemAttr(x, "api"),
2885                params = 'info=' + showinfo + '&autoPlay=' + autoplay + '&api=' + api;
2886
2887            if (video_id === "") {
2888                return "";
2889            }
2890            if (video_width !== "") {
2891                styleAttr += 'width:' + tarteaucitron.getStyleSize(video_width) + ';';
2892            }
2893            if (video_height !== undefined) {
2894                styleAttr += 'height:' + tarteaucitron.getStyleSize(video_height) + ';';
2895            }
2896            if (embed_type === "" || !['video', 'playlist'].includes(embed_type)) {
2897                embed_type = "video";
2898            }
2899            video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" style="' + styleAttr + '" ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2900            return video_frame;
2901        });
2902    },
2903    "fallback": function () {
2904        "use strict";
2905        var id = 'dailymotion';
2906        tarteaucitron.fallback(['dailymotion_player'], function (elem) {
2907            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2908            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2909            return tarteaucitron.engage(id);
2910        });
2911    }
2912};
2913
2914// dating affiliation
2915tarteaucitron.services.datingaffiliation = {
2916    "key": "datingaffiliation",
2917    "type": "ads",
2918    "name": "Dating Affiliation",
2919    "uri": "https://www.dating-affiliation.com/conditions-generales.php",
2920    "needConsent": true,
2921    "cookies": [],
2922    "js": function () {
2923        "use strict";
2924        tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
2925            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Dating Affiliation iframe',
2926                comfrom = tarteaucitron.getElemAttr(x, "data-comfrom"),
2927                r = tarteaucitron.getElemAttr(x, "data-r"),
2928                p = tarteaucitron.getElemAttr(x, "data-p"),
2929                cf0 = tarteaucitron.getElemAttr(x, "data-cf0"),
2930                langue = tarteaucitron.getElemAttr(x, "data-langue"),
2931                forward_affiliate = tarteaucitron.getElemAttr(x, "data-forwardAffiliate"),
2932                cf2 = tarteaucitron.getElemAttr(x, "data-cf2"),
2933                cfsa2 = tarteaucitron.getElemAttr(x, "data-cfsa2"),
2934                width = tarteaucitron.getElemAttr(x, "width"),
2935                height = tarteaucitron.getElemAttr(x, "height"),
2936                url = 'https://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
2937
2938            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
2939
2940            return '<iframe title="' + frame_title + '" src="' + url + '&r=' + r + '&p=' + p + '&cf0=' + cf0 + '&langue=' + langue + '&forward_affiliate=' + forward_affiliate + '&cf2=' + cf2 + '&cfsa2=' + cfsa2 + '" style="' + styleAttr + '"></iframe>';
2941        });
2942    },
2943    "fallback": function () {
2944        "use strict";
2945        var id = 'datingaffiliation';
2946        tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
2947            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
2948            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
2949            return tarteaucitron.engage(id);
2950        });
2951    }
2952};
2953
2954// dating affiliation popup
2955tarteaucitron.services.datingaffiliationpopup = {
2956    "key": "datingaffiliationpopup",
2957    "type": "ads",
2958    "name": "Dating Affiliation (Pop Up)",
2959    "uri": "https://www.dating-affiliation.com/conditions-generales.php",
2960    "needConsent": true,
2961    "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
2962    "js": function () {
2963        "use strict";
2964        var uniqIds = [],
2965            i,
2966            uri;
2967
2968        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
2969            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2970            uniqIds.push(uniqId);
2971            return '<div id="' + uniqId + '" uri="' + tarteaucitron.getElemAttr(x, 'uri') + '" comfrom="' + tarteaucitron.getElemAttr(x, 'comfrom') + '" promo="' + tarteaucitron.getElemAttr(x, 'promo') + '" productid="' + tarteaucitron.getElemAttr(x, 'productid') + '" submitconfig="' + tarteaucitron.getElemAttr(x, 'submitconfig') + '" ur="' + tarteaucitron.getElemAttr(x, 'ur') + '" brand="' + tarteaucitron.getElemAttr(x, 'brand') + '" lang="' + tarteaucitron.getElemAttr(x, 'lang') + '" cf0="' + tarteaucitron.getElemAttr(x, 'cf0') + '" cf2="' + tarteaucitron.getElemAttr(x, 'cf2') + '" subid1="' + tarteaucitron.getElemAttr(x, 'subid1') + '" cfsa2="' + tarteaucitron.getElemAttr(x, 'cfsa2') + '" subid2="' + tarteaucitron.getElemAttr(x, 'subid2') + '" nicheid="' + tarteaucitron.getElemAttr(x, 'nicheid') + '" degreid="' + tarteaucitron.getElemAttr(x, 'degreid') + '" bt="' + tarteaucitron.getElemAttr(x, 'bt') + '" vis="' + tarteaucitron.getElemAttr(x, 'vis') + '" hid="' + tarteaucitron.getElemAttr(x, 'hid') + '" snd="' + tarteaucitron.getElemAttr(x, 'snd') + '" aabd="' + tarteaucitron.getElemAttr(x, 'aabd') + '" aabs="' + tarteaucitron.getElemAttr(x, 'aabs') + '"></div>';
2972        });
2973
2974        for (i = 0; i < uniqIds.length; i += 1) {
2975            uri = 'https://www.promotools.biz/da/popunder/script.php?';
2976            uri += 'comfrom=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'comfrom') + '&';
2977            uri += 'promo=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'promo') + '&';
2978            uri += 'product_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'productid') + '&';
2979            uri += 'submitconfig=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'submitconfig') + '&';
2980            uri += 'ur=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'ur') + '&';
2981            uri += 'brand=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'brand') + '&';
2982            uri += 'lang=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'lang') + '&';
2983            uri += 'cf0=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cf0') + '&';
2984            uri += 'cf2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cf2') + '&';
2985            uri += 'subid1=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'subid1') + '&';
2986            uri += 'cfsa2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cfsa2') + '&';
2987            uri += 'subid2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'subid2') + '&';
2988            uri += 'nicheId=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'nicheid') + '&';
2989            uri += 'degreId=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'degreid') + '&';
2990            uri += 'bt=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'bt') + '&';
2991            uri += 'vis=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'vis') + '&';
2992            uri += 'hid=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'hid') + '&';
2993            uri += 'snd=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'snd') + '&';
2994            uri += 'aabd=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'aabd') + '&';
2995            uri += 'aabs=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'aabs');
2996
2997            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2998        }
2999    },
3000    "fallback": function () {
3001        "use strict";
3002        var id = 'datingaffiliationpopup';
3003        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
3004    }
3005};
3006
3007// deezer
3008tarteaucitron.services.deezer = {
3009    "key": "deezer",
3010    "type": "video",
3011    "name": "Deezer",
3012    "uri": "https://www.deezer.com/legal/personal-datas",
3013    "needConsent": true,
3014    "cookies": [],
3015    "js": function () {
3016        "use strict";
3017        tarteaucitron.fallback(['deezer_player'], function (x) {
3018            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Deezer iframe',
3019                deezer_id = tarteaucitron.getElemAttr(x, "deezerID"),
3020                deezer_width = tarteaucitron.getElemAttr(x, "width"),
3021                deezer_height = tarteaucitron.getElemAttr(x, "height"),
3022                styleAttr = "",
3023                deezer_frame,
3024                embed_theme = tarteaucitron.getElemAttr(x, "theme"),
3025                embed_type = tarteaucitron.getElemAttr(x, "embedType"),
3026                radius = tarteaucitron.getElemAttr(x, "radius"),
3027                tracklist = tarteaucitron.getElemAttr(x, "tracklist"),
3028                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
3029                params;
3030
3031            if (deezer_id === "") {
3032                return "";
3033            }
3034            if (deezer_width !== "") {
3035                styleAttr += 'width:' + tarteaucitron.getStyleSize(deezer_width) + ';';
3036            }
3037            if (deezer_height !== "") {
3038                styleAttr += 'height:' + tarteaucitron.getStyleSize(deezer_height) + ';';
3039            }
3040            if (embed_theme === "" || !['auto', 'light', 'dark'].includes(embed_theme)) {
3041                embed_theme = "auto";
3042            }
3043            if (embed_type === "" || !['album', 'track', 'playlist'].includes(embed_type)) {
3044                embed_type = "album";
3045            }
3046            if (radius === "" || !['true', 'false'].includes(radius)) {
3047                radius = "true";
3048            }
3049            if (tracklist === "" || !['true', 'false'].includes(tracklist)) {
3050                tracklist = "true";
3051            }
3052            params = 'tracklist=' + tracklist + '&radius=' + radius;
3053            deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" style="' + styleAttr + '" ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
3054            return deezer_frame;
3055        });
3056    },
3057    "fallback": function () {
3058        "use strict";
3059        var id = 'deezer';
3060        tarteaucitron.fallback(['deezer_player'], function (elem) {
3061            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
3062            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
3063            return tarteaucitron.engage(id);
3064        });
3065    }
3066};
3067
3068// leadforensicsold
3069tarteaucitron.services.leadforensicsold = {
3070    "key": "leadforensicsold",
3071    "type": "analytic",
3072    "name": "LeadForensics",
3073    "uri": "https://www.leadforensics.com/privacy-policy/",
3074    "needConsent": true,
3075    "cookies": ['trackalyzer'],
3076    "js": function () {
3077        "use strict";
3078        if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
3079            tarteaucitron.user.leadforensicsIidentifier === undefined) {
3080            return;
3081        }
3082
3083        window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
3084
3085        (function () {
3086            var sf14g = document.createElement('script'); sf14g.async = true;
3087            sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
3088            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
3089        })();
3090
3091        tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
3092    }
3093};
3094
3095// disqus
3096tarteaucitron.services.disqus = {
3097    "key": "disqus",
3098    "type": "comment",
3099    "name": "Disqus",
3100    "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
3101    "needConsent": true,
3102    "cookies": [],
3103    "js": function () {
3104        "use strict";
3105        if (tarteaucitron.user.disqusShortname === undefined) {
3106            return;
3107        }
3108        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');
3109        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
3110    },
3111    "fallback": function () {
3112        "use strict";
3113        var id = 'disqus';
3114
3115        if (document.getElementById('disqus_thread')) {
3116            document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
3117        }
3118    }
3119};
3120
3121// ekomi
3122tarteaucitron.services.ekomi = {
3123    "key": "ekomi",
3124    "type": "social",
3125    "name": "eKomi",
3126    "uri": "https://www.ekomi-us.com/us/privacy/",
3127    "needConsent": true,
3128    "cookies": [],
3129    "js": function () {
3130        "use strict";
3131        if (tarteaucitron.user.ekomiCertId === undefined) {
3132            return;
3133        }
3134        window.eKomiIntegrationConfig = [
3135            { certId: tarteaucitron.user.ekomiCertId }
3136        ];
3137        tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
3138    }
3139};
3140
3141// etracker
3142tarteaucitron.services.etracker = {
3143    "key": "etracker",
3144    "type": "analytic",
3145    "name": "eTracker",
3146    "uri": "https://www.etracker.com/en/data-protection.html",
3147    "needConsent": true,
3148    "cookies": [],
3149    "js": function () {
3150        "use strict";
3151        if (tarteaucitron.user.etracker === undefined) {
3152            return;
3153        }
3154
3155        tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () { }, true, "data-secure-code", tarteaucitron.user.etracker);
3156    }
3157};
3158
3159// facebook
3160tarteaucitron.services.facebook = {
3161    "key": "facebook",
3162    "type": "social",
3163    "name": "Facebook",
3164    "uri": "https://www.facebook.com/policy.php",
3165    "needConsent": true,
3166    "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
3167    "js": function () {
3168        "use strict";
3169        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
3170        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
3171        if (tarteaucitron.isAjax === true) {
3172            if (typeof FB !== "undefined") {
3173                FB.XFBML.parse();
3174            }
3175        }
3176    },
3177    "fallback": function () {
3178        "use strict";
3179        var id = 'facebook';
3180        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
3181    }
3182};
3183
3184// facebooklikebox
3185tarteaucitron.services.facebooklikebox = {
3186    "key": "facebooklikebox",
3187    "type": "social",
3188    "name": "Facebook (like box)",
3189    "uri": "https://www.facebook.com/policy.php",
3190    "needConsent": true,
3191    "cookies": [],
3192    "js": function () {
3193        "use strict";
3194        tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
3195        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
3196        if (tarteaucitron.isAjax === true) {
3197            if (typeof FB !== "undefined") {
3198                FB.XFBML.parse();
3199            }
3200        }
3201    },
3202    "fallback": function () {
3203        "use strict";
3204        var id = 'facebooklikebox';
3205        tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
3206    }
3207};
3208
3209// facebookcomment
3210tarteaucitron.services.facebookcomment = {
3211    "key": "facebookcomment",
3212    "type": "comment",
3213    "name": "Facebook (commentaire)",
3214    "uri": "https://www.facebook.com/policy.php",
3215    "needConsent": true,
3216    "cookies": [],
3217    "js": function () {
3218        "use strict";
3219        tarteaucitron.fallback(['fb-comments'], '');
3220        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
3221        if (tarteaucitron.isAjax === true) {
3222            if (typeof FB !== "undefined") {
3223                FB.XFBML.parse();
3224            }
3225        }
3226    },
3227    "fallback": function () {
3228        "use strict";
3229        var id = 'facebookcomment';
3230        tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
3231    }
3232};
3233
3234// pingdom
3235tarteaucitron.services.pingdom = {
3236    "key": "pingdom",
3237    "type": "api",
3238    "name": "Pingdom",
3239    "uri": "https://www.solarwinds.com/general-data-protection-regulation-cloud",
3240    "needConsent": true,
3241    "cookies": [],
3242    "js": function () {
3243        "use strict";
3244
3245        if (tarteaucitron.user.pingdomId === undefined) {
3246            return;
3247        }
3248
3249        window._prum = [['id', tarteaucitron.user.pingdomId], ['mark', 'firstbyte', (new Date()).getTime()]];
3250
3251        tarteaucitron.addScript('https://rum-static.pingdom.net/prum.min.js');
3252    }
3253};
3254
3255
3256// simpleanalytics
3257tarteaucitron.services.simpleanalytics = {
3258    "key": "simpleanalytics",
3259    "type": "analytic",
3260    "name": "Simple Analytics",
3261    "uri": "https://docs.simpleanalytics.com/what-we-collect",
3262    "needConsent": false,
3263    "cookies": [],
3264    "js": function () {
3265        "use strict";
3266        tarteaucitron.addScript('https://scripts.simpleanalyticscdn.com/latest.js');
3267    }
3268};
3269
3270// stonly
3271tarteaucitron.services.stonly = {
3272    "key": "stonly",
3273    "type": "api",
3274    "name": "Stonly (privacy by design)",
3275    "uri": "https://trust.stonly.com/",
3276    "needConsent": false,
3277    "cookies": [],
3278    "js": function () {
3279        "use strict";
3280        if (tarteaucitron.user.stonlyId === undefined) {
3281            return;
3282        }
3283
3284        window.STONLY_WID = tarteaucitron.user.stonlyId;
3285        window.StonlyWidget || ((window.w = window.StonlyWidget = function () {
3286            window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
3287        }).queue = []);
3288
3289        tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
3290    }
3291};
3292
3293// stripe
3294/*tarteaucitron.services.stripe = {
3295    "key": "stripe",
3296    "type": "api",
3297    "name": "Stripe",
3298    "uri": "https://stripe.com/cookies-policy/legal",
3299    "needConsent": true,
3300    "cookies": [],
3301    "js": function () {
3302        "use strict";
3303        tarteaucitron.addScript('https://js.stripe.com/v3/');
3304    }
3305};*/
3306
3307// get+
3308tarteaucitron.services.getplus = {
3309    "key": "getplus",
3310    "type": "analytic",
3311    "name": "Get+",
3312    "uri": "https://www.getplus.fr/Conditions-generales-de-vente_a226.html",
3313    "needConsent": true,
3314    "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
3315    "js": function () {
3316        "use strict";
3317        if (tarteaucitron.user.getplusId === undefined) {
3318            return;
3319        }
3320
3321        window.webleads_site_ids = window.webleads_site_ids || [];
3322        window.webleads_site_ids.push(tarteaucitron.user.getplusId);
3323        tarteaucitron.addScript('//stats.webleads-tracker.com/js');
3324    }
3325};
3326
3327// google+
3328tarteaucitron.services.gplus = {
3329    "key": "gplus",
3330    "type": "social",
3331    "name": "Google+",
3332    "uri": "https://policies.google.com/privacy",
3333    "needConsent": true,
3334    "cookies": [],
3335    "js": function () {
3336        "use strict";
3337        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3338    },
3339    "fallback": function () {
3340        "use strict";
3341        var id = 'gplus';
3342        tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
3343    }
3344};
3345
3346// google+ badge
3347tarteaucitron.services.gplusbadge = {
3348    "key": "gplusbadge",
3349    "type": "social",
3350    "name": "Google+ (badge)",
3351    "uri": "https://policies.google.com/privacy",
3352    "needConsent": true,
3353    "cookies": [],
3354    "js": function () {
3355        "use strict";
3356        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3357    },
3358    "fallback": function () {
3359        "use strict";
3360        var id = 'gplusbadge';
3361        tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
3362    }
3363};
3364
3365// google adsense
3366tarteaucitron.services.adsense = {
3367    "key": "adsense",
3368    "type": "ads",
3369    "name": "Google Adsense",
3370    "uri": "https://adssettings.google.com/",
3371    "needConsent": true,
3372    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3373    "cookies": ['__gads'],
3374    "js": function () {
3375        "use strict";
3376        tarteaucitron.fallback(['adsbygoogle'], '');
3377        tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
3378    },
3379    "fallback": function () {
3380        "use strict";
3381        var id = 'adsense';
3382        tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
3383    }
3384};
3385
3386
3387// google adsense automatic
3388tarteaucitron.services.adsenseauto = {
3389    "key": "adsenseauto",
3390    "type": "ads",
3391    "name": "Google Adsense Automatic",
3392    "uri": "https://adssettings.google.com/",
3393    "needConsent": true,
3394    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3395    "cookies": ['__gads'],
3396    "js": function () {
3397        "use strict";
3398
3399        if (tarteaucitron.user.adsensecapub === undefined) {
3400            return;
3401        }
3402        tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + tarteaucitron.user.adsensecapub, '', '', '', 'crossorigin', 'anonymous');
3403    }
3404};
3405
3406// Google Adsense Search
3407tarteaucitron.services.adsensesearch = {
3408    "key": "adsensesearch",
3409    "type": "ads",
3410    "name": "Google Adsense Search",
3411    "uri": "https://adssettings.google.com/",
3412    "needConsent": true,
3413    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3414    "cookies": ['__gads'],
3415    "js": function () {
3416        "use strict";
3417        tarteaucitron.addScript('https://www.google.com/adsense/search/ads.js');
3418    },
3419    "fallback": function () {
3420        "use strict";
3421        var id = 'adsensesearch';
3422        tarteaucitron.fallback(['afscontainer1'], tarteaucitron.engage(id));
3423    }
3424};
3425
3426// google partners badge
3427tarteaucitron.services.googlepartners = {
3428    "key": "googlepartners",
3429    "type": "ads",
3430    "name": "Google Partners Badge",
3431    "uri": "https://adssettings.google.com/",
3432    "needConsent": true,
3433    "cookies": [],
3434    "js": function () {
3435        "use strict";
3436        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3437    },
3438    "fallback": function () {
3439        "use strict";
3440        var id = 'googlepartners';
3441        tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
3442    }
3443};
3444
3445// google adsense search (form)
3446tarteaucitron.services.adsensesearchform = {
3447    "key": "adsensesearchform",
3448    "type": "ads",
3449    "name": "Google Adsense Search (form)",
3450    "uri": "https://adssettings.google.com/",
3451    "needConsent": true,
3452    "cookies": [],
3453    "js": function () {
3454        "use strict";
3455        tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
3456    }
3457};
3458
3459// google adsense search (result)
3460tarteaucitron.services.adsensesearchresult = {
3461    "key": "adsensesearchresult",
3462    "type": "ads",
3463    "name": "Google Adsense Search (result)",
3464    "uri": "https://adssettings.google.com/",
3465    "needConsent": true,
3466    "cookies": [],
3467    "js": function () {
3468        "use strict";
3469        if (tarteaucitron.user.adsensesearchresultCx === undefined) {
3470            return;
3471        }
3472        tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
3473    },
3474    "fallback": function () {
3475        "use strict";
3476        var id = 'adsensesearchresult';
3477
3478        if (document.getElementById('gcse_searchresults')) {
3479            document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
3480        }
3481    }
3482};
3483
3484// googleadwordsconversion
3485tarteaucitron.services.googleadwordsconversion = {
3486    "key": "googleadwordsconversion",
3487    "type": "ads",
3488    "name": "Google Adwords (conversion)",
3489    "uri": "https://www.google.com/settings/ads",
3490    "needConsent": true,
3491    "cookies": [],
3492    "js": function () {
3493        "use strict";
3494        if (tarteaucitron.user.adwordsconversionId === undefined) {
3495            return;
3496        }
3497
3498        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
3499            window.google_trackConversion({
3500                google_conversion_id: tarteaucitron.user.adwordsconversionId,
3501                google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
3502                google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
3503                google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
3504                google_conversion_color: tarteaucitron.user.adwordsconversionColor,
3505                google_conversion_value: tarteaucitron.user.adwordsconversionValue,
3506                google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
3507                google_custom_params: {
3508                    parameter1: tarteaucitron.user.adwordsconversionCustom1,
3509                    parameter2: tarteaucitron.user.adwordsconversionCustom2
3510                }
3511            });
3512        });
3513    }
3514};
3515
3516// googleadwordsremarketing
3517tarteaucitron.services.googleadwordsremarketing = {
3518    "key": "googleadwordsremarketing",
3519    "type": "ads",
3520    "name": "Google Adwords (remarketing)",
3521    "uri": "https://www.google.com/settings/ads",
3522    "needConsent": true,
3523    "cookies": [],
3524    "js": function () {
3525        "use strict";
3526        if (tarteaucitron.user.adwordsremarketingId === undefined) {
3527            return;
3528        }
3529
3530        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
3531            window.google_trackConversion({
3532                google_conversion_id: tarteaucitron.user.adwordsremarketingId,
3533                google_remarketing_only: true
3534            });
3535        });
3536    }
3537};
3538
3539// google analytics (old)
3540tarteaucitron.services.gajs = {
3541    "key": "gajs",
3542    "type": "analytic",
3543    "name": "Google Analytics (ga.js)",
3544    "uri": "https://policies.google.com/privacy",
3545    "needConsent": true,
3546    "cookies": (function () {
3547        var googleIdentifier = tarteaucitron.user.gajsUa,
3548            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3549            tagGCookie = '_ga_' + googleIdentifier;
3550
3551        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3552        tagGCookie = tagGCookie.replace(/G-/g, '');
3553
3554        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3555    })(),
3556    "js": function () {
3557        "use strict";
3558
3559        if (tarteaucitron.user.gajsUa === undefined) {
3560            return;
3561        }
3562
3563        window._gaq = window._gaq || [];
3564        window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
3565        if (timeExpire !== undefined) {
3566            _gaq.push(['_setVisitorCookieTimeout', timeExpire]);
3567        }
3568
3569        if (tarteaucitron.user.gajsAnonymizeIp) {
3570            window._gaq.push(['_gat._anonymizeIp']);
3571        }
3572
3573        if (tarteaucitron.user.gajsPageView) {
3574            window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
3575        } else {
3576            window._gaq.push(['_trackPageview']);
3577        }
3578
3579        tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
3580            if (typeof tarteaucitron.user.gajsMore === 'function') {
3581                tarteaucitron.user.gajsMore();
3582            }
3583        });
3584    }
3585};
3586
3587// google analytics
3588tarteaucitron.services.analytics = {
3589    "key": "analytics",
3590    "type": "analytic",
3591    "name": "Google Analytics (universal)",
3592    "uri": "https://policies.google.com/privacy",
3593    "needConsent": true,
3594    "cookies": (function () {
3595        var googleIdentifier = tarteaucitron.user.analyticsUa,
3596            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3597            tagGCookie = '_ga_' + googleIdentifier;
3598
3599        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3600        tagGCookie = tagGCookie.replace(/G-/g, '');
3601
3602        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3603    })(),
3604    "js": function () {
3605        "use strict";
3606
3607        if (tarteaucitron.user.analyticsUa === undefined) {
3608            return;
3609        }
3610
3611        window.GoogleAnalyticsObject = 'ga';
3612        window.ga = window.ga || function () {
3613            window.ga.q = window.ga.q || [];
3614            window.ga.q.push(arguments);
3615        };
3616        window.ga.l = new Date();
3617        tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
3618            var uaCreate = { 'cookieExpires': (timeExpire !== undefined) ? timeExpire : 34128000 };
3619            tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
3620            ga('create', tarteaucitron.user.analyticsUa, uaCreate);
3621
3622            if (tarteaucitron.user.analyticsAnonymizeIp) {
3623                ga('set', 'anonymizeIp', true);
3624            }
3625
3626            if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
3627                tarteaucitron.user.analyticsPrepare();
3628            }
3629
3630            if (tarteaucitron.user.analyticsPageView) {
3631                ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
3632            } else {
3633                ga('send', 'pageview');
3634            }
3635
3636            if (typeof tarteaucitron.user.analyticsMore === 'function') {
3637                tarteaucitron.user.analyticsMore();
3638            }
3639        });
3640    }
3641};
3642
3643// google ads
3644tarteaucitron.services.googleads = {
3645    "key": "googleads",
3646    "type": "ads",
3647    "name": "Google Ads",
3648    "uri": "https://policies.google.com/privacy",
3649    "needConsent": true,
3650    "cookies": (function () {
3651        var googleIdentifier = tarteaucitron.user.googleadsId,
3652            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3653            tagGCookie = '_ga_' + googleIdentifier;
3654
3655        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3656        tagGCookie = tagGCookie.replace(/G-/g, '');
3657
3658        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3659    })(),
3660    "js": function () {
3661        "use strict";
3662
3663        if (tarteaucitron.user.googleadsId === undefined) {
3664            return;
3665        }
3666
3667        
vendor: 1,812 bytes, lines 3667-3714
3667window.dataLayer = window.dataLayer || [];
3668        tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.googleadsId, '', function () {
3669            window.gtag = function gtag() { dataLayer.push(arguments); }
3670            gtag('js', new Date());
3671            var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
3672
3673            gtag('config', tarteaucitron.user.googleadsId, additional_config_info);
3674
3675            if (typeof tarteaucitron.user.googleadsMore === 'function') {
3676                tarteaucitron.user.googleadsMore();
3677            }
3678        });
3679    },
3680    "fallback": function () {
3681        if (tarteaucitron.parameters.googleConsentMode === true) {
3682            if (tarteaucitron.parameters.softConsentMode === false) {
3683                this.js();
3684            }
3685        }
3686    }
3687};
3688
3689// google analytics
3690tarteaucitron.services.gtag = {
3691    "key": "gtag",
3692    "type": "analytic",
3693    "name": "Google Analytics (GA4)",
3694    "uri": "https://policies.google.com/privacy",
3695    "needConsent": true,
3696    "cookies": (function () {
3697        var googleIdentifier = tarteaucitron.user.gtagUa,
3698            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3699            tagGCookie = '_ga_' + googleIdentifier;
3700
3701        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3702        tagGCookie = tagGCookie.replace(/G-/g, '');
3703
3704        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3705    })(),
3706    "js": function () {
3707        "use strict";
3708
3709        if (tarteaucitron.user.gtagUa === undefined) {
3710            return;
3711        }
3712
3713        window.dataLayer = window.dataLayer || [];
3714        tarteaucitron.addScript('https://www.googletagmanager.com
vendor: 13,839 bytes, lines 3714-4018
3714/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
3715            window.gtag = function gtag() { dataLayer.push(arguments); }
3716            gtag('js', new Date());
3717            var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
3718
3719            if (tarteaucitron.user.gtagCrossdomain) {
3720                /**
3721                 * https://support.google.com/analytics/answer/7476333?hl=en
3722                 * https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
3723                 */
3724                gtag('config', tarteaucitron.user.gtagUa, additional_config_info, { linker: { domains: tarteaucitron.user.gtagCrossdomain, } });
3725            } else {
3726                gtag('config', tarteaucitron.user.gtagUa, additional_config_info);
3727            }
3728
3729            if (typeof tarteaucitron.user.gtagMore === 'function') {
3730                tarteaucitron.user.gtagMore();
3731            }
3732        });
3733    },
3734    "fallback": function () {
3735        if (tarteaucitron.parameters.googleConsentMode === true) {
3736            if (tarteaucitron.parameters.softConsentMode === false) {
3737                this.js();
3738            }
3739        }
3740    }
3741};
3742
3743tarteaucitron.services.firebase = {
3744    "key": "firebase",
3745    "type": "analytic",
3746    "name": "Firebase",
3747    "uri": "https://firebase.google.com/support/privacy",
3748    "needConsent": true,
3749    "cookies": (function () {
3750        var googleIdentifier = tarteaucitron.user.firebaseMeasurementId,
3751            tagGCookie = '_ga_' + googleIdentifier;
3752
3753        tagGCookie = tagGCookie.replace(/G-/g, '');
3754
3755        return ['_ga', tagGCookie];
3756    })(),
3757    "js": function () {
3758        "use strict";
3759
3760        if (tarteaucitron.user.firebaseApiKey === undefined) {
3761            return;
3762        }
3763
3764        tarteaucitron.addScript('https://www.gstatic.com/firebasejs/10.10.0/firebase-app.js', '', function () {
3765            tarteaucitron.addScript('https://www.gstatic.com/firebasejs/10.10.0/firebase-analytics.js', '', function () {
3766
3767                var firebaseConfig = {
3768                    apiKey: tarteaucitron.user.firebaseApiKey,
3769                    authDomain: tarteaucitron.user.firebaseAuthDomain,
3770                    databaseURL: tarteaucitron.user.firebaseDatabaseUrl,
3771                    projectId: tarteaucitron.user.firebaseProjectId,
3772                    storageBucket: tarteaucitron.user.firebaseStorageBucket,
3773                    appId: tarteaucitron.user.firebaseAppId,
3774                    measurementId: tarteaucitron.user.firebaseMeasurementId,
3775                };
3776                firebase.initializeApp(firebaseConfig);
3777                firebase.analytics();
3778            });
3779        });
3780    }
3781};
3782
3783// genially
3784tarteaucitron.services.genially = {
3785    "key": "genially",
3786    "type": "api",
3787    "name": "genially",
3788    "uri": "https://www.genial.ly/cookies",
3789    "needConsent": true,
3790    "cookies": ['_gat', '_ga', '_gid'],
3791    "js": function () {
3792        "use strict";
3793
3794        tarteaucitron.fallback(['tac_genially'], function (x) {
3795            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'genially iframe',
3796                width = tarteaucitron.getElemAttr(x, "width"),
3797                height = tarteaucitron.getElemAttr(x, "height"),
3798                geniallyid = tarteaucitron.getElemAttr(x, "geniallyid"),
3799                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
3800
3801            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
3802
3803            return '<iframe style="' + styleAttr + '" title="' + frame_title + '" src="https://view.genial.ly/' + geniallyid + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
3804        });
3805    },
3806    "fallback": function () {
3807        "use strict";
3808        var id = 'genially';
3809        tarteaucitron.fallback(['tac_genially'], function (elem) {
3810            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
3811            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
3812            return tarteaucitron.engage(id);
3813        });
3814    }
3815};
3816
3817// google maps
3818tarteaucitron.services.googlemaps = {
3819    "key": "googlemaps",
3820    "type": "api",
3821    "name": "Google Maps",
3822    "uri": "https://policies.google.com/privacy",
3823    "needConsent": true,
3824    "cookies": [],
3825    "js": function () {
3826        "use strict";
3827        var mapOptions,
3828            map,
3829            uniqIds = [],
3830            i;
3831
3832        if (tarteaucitron.user.mapscallback === undefined) {
3833            tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
3834        }
3835
3836        // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
3837        var googleMapsLibraries = '';
3838        if (tarteaucitron.user.googlemapsLibraries) {
3839            googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
3840        }
3841
3842        tarteaucitron.addScript('https://maps.googleapis.com/maps/api/js?loading=async&v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback=' + tarteaucitron.user.mapscallback + googleMapsLibraries);
3843
3844        window.tac_googlemaps_callback = function () {
3845            tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
3846                var uniqId = '_' + Math.random().toString(36).substr(2, 9);
3847                uniqIds.push(uniqId);
3848                return '<div id="' + uniqId + '" zoom="' + tarteaucitron.getElemAttr(x, 'zoom') + '" latitude="' + tarteaucitron.getElemAttr(x, 'latitude') + '" longitude="' + tarteaucitron.getElemAttr(x, 'longitude') + '" style="width:' + tarteaucitron.getStyleSize(x.offsetWidth) + ';height:' + tarteaucitron.getStyleSize(x.offsetHeight) + '"></div>';
3849            });
3850
3851            var i;
3852            for (i = 0; i < uniqIds.length; i += 1) {
3853                mapOptions = {
3854                    zoom: parseInt(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'zoom'), 10),
3855                    center: new google.maps.LatLng(parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'latitude'), 10), parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'longitude'), 10))
3856                };
3857                map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
3858                new google.maps.Marker({ position: { lat: parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'latitude'), 10), lng: parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'longitude'), 10) }, map: map });
3859            }
3860        };
3861    },
3862    "fallback": function () {
3863        "use strict";
3864        var id = 'googlemaps';
3865        tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
3866    }
3867};
3868
3869// googlemaps search
3870tarteaucitron.services.googlemapssearch = {
3871    "key": "googlemapssearch",
3872    "type": "api",
3873    "name": "Google Maps Search API",
3874    "uri": "https://policies.google.com/privacy",
3875    "needConsent": true,
3876    "cookies": ['nid'],
3877    "js": function () {
3878        "use strict";
3879        tarteaucitron.fallback(['googlemapssearch'], function (x) {
3880            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Google search iframe',
3881                width = tarteaucitron.getElemAttr(x, "width"),
3882                height = tarteaucitron.getElemAttr(x, "height"),
3883                // url = tarteaucitron.getElemAttr(x, "data-url");
3884                query = escape(tarteaucitron.getElemAttr(x, "data-search")),
3885                key = tarteaucitron.getElemAttr(x, "data-api-key");
3886
3887            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
3888
3889            return '<iframe title="' + frame_title + '" style="' + styleAttr + 'border:0" src="https://www.google.com/maps/embed/v1/place?q=' + query + '&key=' + key + '" allowfullscreen></iframe> '
3890        });
3891    },
3892    "fallback": function () {
3893        "use strict";
3894        var id = 'googlemapssearch';
3895        tarteaucitron.fallback(['googlemapssearch'], function (elem) {
3896            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
3897            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
3898            return tarteaucitron.engage(id);
3899        });
3900    }
3901};
3902
3903// googlemaps embed iframe
3904tarteaucitron.services.googlemapsembed = {
3905    "key": "googlemapsembed",
3906    "type": "api",
3907    "name": "Google Maps Embed",
3908    "uri": "https://policies.google.com/privacy",
3909    "needConsent": true,
3910    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3911    "js": function () {
3912        "use strict";
3913        tarteaucitron.fallback(['googlemapsembed'], function (x) {
3914            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Google maps iframe',
3915                width = tarteaucitron.getElemWidth(x),
3916                height = tarteaucitron.getElemHeight(x),
3917                url = tarteaucitron.getElemAttr(x, "data-url");
3918
3919            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
3920
3921            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
3922        });
3923    },
3924    "fallback": function () {
3925        "use strict";
3926        var id = 'googlemapsembed';
3927        tarteaucitron.fallback(['googlemapsembed'], function (elem) {
3928            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemWidth(elem));
3929            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemHeight(elem));
3930            return tarteaucitron.engage(id);
3931        });
3932    }
3933};
3934
3935
3936// openstreetmap embed iframe
3937tarteaucitron.services.openstreetmap = {
3938    "key": "openstreetmap",
3939    "type": "api",
3940    "name": "Openstreetmap Embed",
3941    "uri": "https://wiki.osmfoundation.org/wiki/Privacy_Policy#Cookies",
3942    "needConsent": true,
3943    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3944    "js": function () {
3945        "use strict";
3946        tarteaucitron.fallback(['openstreetmap'], function (x) {
3947            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Openstreetmap iframe',
3948                width = tarteaucitron.getElemWidth(x),
3949                height = tarteaucitron.getElemHeight(x),
3950                url = tarteaucitron.getElemAttr(x, "data-url");
3951
3952            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
3953
3954            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowfullscreen></iframe>';
3955        });
3956    },
3957    "fallback": function () {
3958        "use strict";
3959        var id = 'openstreetmap';
3960        tarteaucitron.fallback(['openstreetmap'], function (elem) {
3961            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemWidth(elem));
3962            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemHeight(elem));
3963            return tarteaucitron.engage(id);
3964        });
3965    }
3966};
3967
3968// geoportail embed iframe
3969tarteaucitron.services.geoportail = {
3970    "key": "geoportail",
3971    "type": "api",
3972    "name": "Geoportail maps Embed",
3973    "uri": "https://www.ign.fr/institut/gestion-des-cookies",
3974    "needConsent": true,
3975    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3976    "js": function () {
3977        "use strict";
3978        tarteaucitron.fallback(['geoportail'], function (x) {
3979            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Geoportail maps iframe',
3980                width = tarteaucitron.getElemWidth(x),
3981                height = tarteaucitron.getElemHeight(x),
3982                url = tarteaucitron.getElemAttr(x, "data-url");
3983
3984            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
3985
3986            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" sandbox="allow-forms allow-scripts allow-same-origin" allowfullscreen></iframe>';
3987        });
3988    },
3989    "fallback": function () {
3990        "use strict";
3991        var id = 'geoportail';
3992        tarteaucitron.fallback(['geoportail'], function (elem) {
3993            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemWidth(elem));
3994            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemHeight(elem));
3995            return tarteaucitron.engage(id);
3996        });
3997    }
3998};
3999
4000
4001// google tag manager
4002tarteaucitron.services.googletagmanager = {
4003    "key": "googletagmanager",
4004    "type": "api",
4005    "name": "Google Tag Manager",
4006    "uri": "https://policies.google.com/privacy",
4007    "needConsent": true,
4008    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
4009    "js": function () {
4010        "use strict";
4011        if (tarteaucitron.user.googletagmanagerId === undefined) {
4012            return;
4013        }
4014        window.dataLayer = window.dataLayer || [];
4015        window.dataLayer.push({
4016            'gtm.start': new Date().getTime(),
4017            event: 'gtm.js'
4018        });
vendor: 1,277 bytes, lines 4019-4050
4019        tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
4020    },
4021    "fallback": function () {
4022        if (tarteaucitron.parameters.googleConsentMode === true) {
4023            if (tarteaucitron.parameters.softConsentMode === false) {
4024                this.js();
4025            }
4026        }
4027    }
4028};
4029
4030// google tag manager multiple
4031tarteaucitron.services.multiplegoogletagmanager = {
4032    "key": "multiplegoogletagmanager",
4033    "type": "api",
4034    "name": "Google Tag Manager",
4035    "uri": "https://policies.google.com/privacy",
4036    "needConsent": true,
4037    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
4038    "js": function () {
4039        "use strict";
4040        if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
4041            return;
4042        }
4043        window.dataLayer = window.dataLayer || [];
4044        window.dataLayer.push({
4045            'gtm.start': new Date().getTime(),
4046            event: 'gtm.js'
4047        });
4048
4049        tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
4050            tarteaucitron.addScript('https://www.googletagmanager.com
vendor: 61,496 bytes, lines 4050-5717
4050/gtm.js?id=' + id);
4051        });
4052
4053    },
4054    "fallback": function () {
4055        if (tarteaucitron.parameters.googleConsentMode === true) {
4056            if (tarteaucitron.parameters.softConsentMode === false) {
4057                this.js();
4058            }
4059        }
4060    }
4061};
4062
4063// google webfonts
4064tarteaucitron.services.googlefonts = {
4065    "key": "googlefonts",
4066    "type": "api",
4067    "name": "Google Webfonts",
4068    "uri": "https://policies.google.com/privacy",
4069    "needConsent": true,
4070    "cookies": [],
4071    "js": function () {
4072        "use strict";
4073        if (tarteaucitron.user.googleFonts === undefined) {
4074            return;
4075        }
4076        tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
4077
4078            if (tarteaucitron.user.googleFonts instanceof Array) {
4079                WebFont.load({
4080                    google: {
4081                        families: tarteaucitron.user.googleFonts
4082                    }
4083                });
4084            } else {
4085                WebFont.load({
4086                    google: {
4087                        families: [tarteaucitron.user.googleFonts]
4088                    }
4089                });
4090            }
4091        });
4092    }
4093};
4094
4095// hubspot
4096tarteaucitron.services.hubspot = {
4097    "key": "hubspot",
4098    "type": "analytic",
4099    "name": "Hubspot",
4100    "uri": "https://legal.hubspot.com/privacy-policy",
4101    "needConsent": true,
4102    "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
4103    "js": function () {
4104        "use strict";
4105
4106        if (tarteaucitron.user.hubspotId === undefined) {
4107            return;
4108        }
4109
4110        var tac_businessUnitId = "";
4111        if (tarteaucitron.user.hubspotBusinessUnitId !== undefined && tarteaucitron.user.hubspotBusinessUnitId !== null && tarteaucitron.user.hubspotBusinessUnitId !== "") {
4112            tac_businessUnitId = "?businessUnitId=" + tarteaucitron.user.hubspotBusinessUnitId;
4113        }
4114
4115        tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js' + tac_businessUnitId, 'hs-script-loader');
4116    }
4117};
4118
4119// instagram
4120tarteaucitron.services.instagram = {
4121    "key": "instagram",
4122    "type": "social",
4123    "name": "Instagram",
4124    "uri": "https://www.instagram.com/legal/privacy/",
4125    "needConsent": true,
4126    "cookies": ['shbts', 'sessionid', 'csrftoken', 'rur', 'shbid', 'mid', 'ds_usr_id', 'ig_did', 'ig_cb', 'datr'],
4127    "js": function () {
4128        "use strict";
4129        tarteaucitron.fallback(['instagram_post'], function (x) {
4130            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Instagram iframe',
4131                post_id = tarteaucitron.getElemAttr(x, 'postId'),
4132                page_id = tarteaucitron.getElemAttr(x, 'pageId'),
4133                post_permalink = tarteaucitron.getElemAttr(x, 'data-instgrm-permalink'),
4134                embed_width = tarteaucitron.getElemAttr(x, 'width'),
4135                embed_height = tarteaucitron.getElemAttr(x, 'height'),
4136                styleAttr = "",
4137                post_frame;
4138
4139            if (post_permalink != null) {
4140                tarteaucitron.addScript('//www.instagram.com/embed.js', 'instagram-embed');
4141
4142                return '';
4143            }
4144
4145            var post_link = post_id !== "" ? 'p/' + post_id : (page_id !== "" ? page_id : "");
4146            if (post_link === "") {
4147                return "";
4148            }
4149
4150            if (embed_width !== "") {
4151                styleAttr = 'width:' + tarteaucitron.getStyleSize(embed_width) + ';';
4152            }
4153            if (embed_height !== "") {
4154                styleAttr = 'height:' + tarteaucitron.getStyleSize(embed_height) + ';';
4155            }
4156
4157            post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/' + post_link + '/embed" style="' + styleAttr + '"></iframe>';
4158
4159            return post_frame;
4160        });
4161    },
4162    "fallback": function () {
4163        "use strict";
4164        var id = 'instagram';
4165        tarteaucitron.fallback(['instagram_post'], function (elem) {
4166            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
4167            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
4168            return tarteaucitron.engage(id);
4169        });
4170    }
4171};
4172
4173// jsapi
4174tarteaucitron.services.jsapi = {
4175    "key": "jsapi",
4176    "type": "api",
4177    "name": "Google jsapi",
4178    "uri": "https://policies.google.com/privacy",
4179    "needConsent": true,
4180    "cookies": [],
4181    "js": function () {
4182        "use strict";
4183        tarteaucitron.addScript('//www.google.com/jsapi');
4184    }
4185};
4186
4187// twitterwidgetsapi
4188tarteaucitron.services.twitterwidgetsapi = {
4189    "key": "twitterwidgetsapi",
4190    "type": "api",
4191    "name": "X (formerly Twitter) Widgets API",
4192    "uri": "https://support.twitter.com/articles/20170514",
4193    "needConsent": true,
4194    "cookies": [],
4195    "js": function () {
4196        "use strict";
4197        tarteaucitron.fallback(['tacTwitterAPI'], '');
4198        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
4199    },
4200    "fallback": function () {
4201        "use strict";
4202        var id = 'twitterwidgetsapi';
4203        tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
4204    }
4205};
4206
4207// recaptcha
4208tarteaucitron.services.recaptcha = {
4209    "key": "recaptcha",
4210    "type": "api",
4211    "name": "reCAPTCHA",
4212    "uri": "https://policies.google.com/privacy",
4213    "needConsent": true,
4214    "cookies": ['nid'],
4215    "js": function () {
4216        "use strict";
4217        window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
4218        tarteaucitron.fallback(['g-recaptcha'], '');
4219
4220        let url = 'https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad';
4221        if (tarteaucitron.user.recaptchaapi !== undefined) {
4222            url += '&render=' + tarteaucitron.user.recaptchaapi;
4223        }
4224        if (tarteaucitron.user.recaptcha_hl !== undefined) {
4225            url += '&hl=' + tarteaucitron.user.recaptcha_hl;
4226        }
4227        tarteaucitron.addScript(url);
4228    },
4229    "fallback": function () {
4230        "use strict";
4231        var id = 'recaptcha';
4232        tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
4233    }
4234};
4235
4236// linkedin
4237tarteaucitron.services.linkedin = {
4238    "key": "linkedin",
4239    "type": "social",
4240    "name": "Linkedin",
4241    "uri": "https://www.linkedin.com/legal/cookie-policy",
4242    "needConsent": true,
4243    "cookies": [],
4244    "js": function () {
4245        "use strict";
4246        tarteaucitron.fallback(['tacLinkedin'], '');
4247        tarteaucitron.addScript('//platform.linkedin.com/in.js');
4248        if (tarteaucitron.isAjax === true) {
4249            if (typeof IN !== "undefined") {
4250                IN.parse();
4251            }
4252        }
4253    },
4254    "fallback": function () {
4255        "use strict";
4256        var id = 'linkedin';
4257        tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
4258    }
4259};
4260
4261// mautic
4262tarteaucitron.services.mautic = {
4263    "key": "mautic",
4264    "type": "analytic",
4265    "name": "Mautic",
4266    "uri": "https://www.mautic.org/privacy-policy/",
4267    "needConsent": true,
4268    "cookies": ['mtc_id', 'mtc_sid'],
4269    "js": function () {
4270        "use strict";
4271        if (tarteaucitron.user.mauticurl === undefined) {
4272            return;
4273        }
4274
4275        window.MauticTrackingObject = 'mt';
4276        window.mt = window.mt || function () {
4277            window.mt.q = window.mt.q || [];
4278            window.mt.q.push(arguments);
4279        };
4280
4281        tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
4282            mt('send', 'pageview');
4283        });
4284    }
4285};
4286
4287// microsoftcampaignanalytics
4288tarteaucitron.services.microsoftcampaignanalytics = {
4289    "key": "microsoftcampaignanalytics",
4290    "type": "analytic",
4291    "name": "Microsoft Campaign Analytics",
4292    "uri": "https://privacy.microsoft.com/privacystatement/",
4293    "needConsent": true,
4294    "cookies": [],
4295    "js": function () {
4296        "use strict";
4297        if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
4298            return;
4299        }
4300
4301        tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
4302            window.mstag = { loadTag: function () { }, time: (new Date()).getTime() };
4303            window.mstag.loadTag("analytics", { dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId });
4304        });
4305    }
4306};
4307
4308// onesignal
4309tarteaucitron.services.onesignal = {
4310    "key": "onesignal",
4311    "type": "api",
4312    "name": "OneSignal",
4313    "uri": "https://onesignal.com/privacy_policy",
4314    "needConsent": true,
4315    "cookies": [],
4316    "js": function () {
4317        "use strict";
4318        if (tarteaucitron.user.onesignalAppId === undefined) {
4319            return;
4320        }
4321        window.OneSignal = window.OneSignal || [];
4322
4323        window.OneSignal.push(function () {
4324            window.OneSignal.init({
4325                appId: tarteaucitron.user.onesignalAppId,
4326            });
4327        });
4328
4329        tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
4330    }
4331};
4332
4333// pinterest
4334tarteaucitron.services.pinterest = {
4335    "key": "pinterest",
4336    "type": "social",
4337    "name": "Pinterest",
4338    "uri": "https://about.pinterest.com/privacy-policy",
4339    "needConsent": true,
4340    "cookies": [],
4341    "js": function () {
4342        "use strict";
4343        tarteaucitron.fallback(['tacPinterest'], '');
4344        tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
4345    },
4346    "fallback": function () {
4347        "use strict";
4348        var id = 'pinterest';
4349        tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
4350    }
4351};
4352
4353// prelinker
4354tarteaucitron.services.prelinker = {
4355    "key": "prelinker",
4356    "type": "ads",
4357    "name": "Prelinker",
4358    "uri": "https://www.prelinker.com/index/index/cgu/",
4359    "needConsent": true,
4360    "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
4361    "js": function () {
4362        "use strict";
4363        var uniqIds = [],
4364            i,
4365            uri;
4366
4367        tarteaucitron.fallback(['prelinker-canvas'], function (x) {
4368            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4369            uniqIds.push(uniqId);
4370            return '<div id="' + uniqId + '" siteId="' + tarteaucitron.getElemAttr(x, 'siteId') + '" bannerId="' + tarteaucitron.getElemAttr(x, 'bannerId') + '" defaultLanguage="' + tarteaucitron.getElemAttr(x, 'defaultLanguage') + '" tracker="' + tarteaucitron.getElemAttr(x, 'tracker') + '"></div>';
4371        });
4372
4373        for (i = 0; i < uniqIds.length; i += 1) {
4374            uri = 'https://promo.easy-dating.org/banner/index?';
4375            uri += 'site_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'siteId') + '&';
4376            uri += 'banner_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'bannerId') + '&';
4377            uri += 'default_language=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'defaultLanguage') + '&';
4378            uri += 'tr4ck=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'trackrt');
4379
4380            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4381        }
4382    },
4383    "fallback": function () {
4384        "use strict";
4385        var id = 'prelinker';
4386        tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
4387    }
4388};
4389
4390// prezi
4391tarteaucitron.services.prezi = {
4392    "key": "prezi",
4393    "type": "video",
4394    "name": "Prezi",
4395    "uri": "https://prezi.com/privacy-policy/",
4396    "needConsent": true,
4397    "cookies": [],
4398    "js": function () {
4399        "use strict";
4400        tarteaucitron.fallback(['prezi-canvas'], function (x) {
4401            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Prezi iframe',
4402                id = tarteaucitron.getElemAttr(x, "data-id"),
4403                width = tarteaucitron.getElemAttr(x, "width"),
4404                height = tarteaucitron.getElemAttr(x, "height"),
4405                url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
4406
4407            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
4408
4409            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4410        });
4411    },
4412    "fallback": function () {
4413        "use strict";
4414        var id = 'prezi';
4415        tarteaucitron.fallback(['prezi-canvas'], function (elem) {
4416            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
4417            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
4418            return tarteaucitron.engage(id);
4419        });
4420    }
4421};
4422
4423// pubdirecte
4424tarteaucitron.services.pubdirecte = {
4425    "key": "pubdirecte",
4426    "type": "ads",
4427    "name": "Pubdirecte",
4428    "uri": "https://pubdirecte.com/contact.php",
4429    "needConsent": true,
4430    "cookies": [],
4431    "js": function () {
4432        "use strict";
4433        var uniqIds = [],
4434            i,
4435            uri;
4436
4437        tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
4438            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4439            uniqIds.push(uniqId);
4440            return '<div id="' + uniqId + '" pid="' + tarteaucitron.getElemAttr(x, 'pid') + '" ref="' + tarteaucitron.getElemAttr(x, 'ref') + '"></div>';
4441        });
4442
4443        for (i = 0; i < uniqIds.length; i += 1) {
4444            uri = '//www.pubdirecte.com/script/banniere.php?';
4445            uri += 'id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'pid') + '&';
4446            uri += 'ref=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'ref');
4447
4448            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4449        }
4450    },
4451    "fallback": function () {
4452        "use strict";
4453        var id = 'pubdirecte';
4454        tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
4455    }
4456};
4457
4458// purechat
4459tarteaucitron.services.purechat = {
4460    "key": "purechat",
4461    "type": "support",
4462    "name": "PureChat",
4463    "uri": "https://www.purechat.com/privacy",
4464    "needConsent": true,
4465    "cookies": [],
4466    "js": function () {
4467        "use strict";
4468        if (tarteaucitron.user.purechatId === undefined) {
4469            return;
4470        }
4471
4472        tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
4473            try {
4474                window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
4475            } catch (e) { }
4476        });
4477    }
4478};
4479
4480// Intercom
4481tarteaucitron.services.intercomChat = {
4482    "key": "intercomChat",
4483    "type": "support",
4484    "name": "Intercom",
4485    "uri": "https://www.intercom.com/",
4486    "needConsent": true,
4487    "cookies": [
4488        "intercom-id-" + tarteaucitron.user.intercomKey,
4489        "intercom-session-" + tarteaucitron.user.intercomKey,
4490    ],
4491    "readmoreLink": "https://www.intercom.com/legal/privacy",
4492    "js": function () {
4493
4494        if (tarteaucitron.user.intercomKey === undefined) {
4495            return;
4496        }
4497
4498        window.intercomSettings = {
4499            app_id: tarteaucitron.user.intercomKey,
4500        };
4501
4502        var w = window;
4503        var ic = w.Intercom;
4504        if (typeof ic === "function") {
4505            ic("reattach_activator");
4506            ic("update", w.intercomSettings);
4507        } else {
4508            var i = function () {
4509                i.c(arguments);
4510            };
4511            i.q = [];
4512            i.c = function (args) {
4513                i.q.push(args);
4514            };
4515            w.Intercom = i;
4516            tarteaucitron.addScript(
4517                "https://widget.intercom.io/widget/" + tarteaucitron.user.intercomKey,
4518                "",
4519                function () {
4520                    // Execute callback if function `intercomChatEnable`
4521                    // is defined
4522                    if (typeof intercomChatEnable === 'function') {
4523                        intercomChatEnable()
4524                    }
4525                }
4526            );
4527        }
4528    },
4529    "fallback": function () {
4530        "use strict";
4531        var id = "intercomChat";
4532        tarteaucitron.fallback(
4533            ["intercom-chat"],
4534            function () {
4535                // Execute callback if function `intercomChatDisable`
4536                // is defined
4537                if (typeof intercomChatDisable === 'function') {
4538                    intercomChatDisable()
4539                }
4540                return tarteaucitron.engage(id)
4541            }
4542        );
4543    },
4544};
4545
4546// rumbletalk
4547tarteaucitron.services.rumbletalk = {
4548    "key": "rumbletalk",
4549    "type": "social",
4550    "name": "RumbleTalk",
4551    "needConsent": true,
4552    "cookies": ['AWSALB'],
4553    "js": function () {
4554        "use strict";
4555        if (tarteaucitron.user.rumbletalkid === undefined) {
4556            return;
4557        }
4558
4559        tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
4560
4561        tarteaucitron.fallback(['rumbletalk'], function (x) {
4562            var width = tarteaucitron.getElemWidth(x),
4563                height = tarteaucitron.getElemHeight(x),
4564                id = tarteaucitron.getElemAttr(x, "data-id");
4565
4566            return '<div style="height: ' + tarteaucitron.getStyleSize(height) + '; width: ' + tarteaucitron.getStyleSize(width) + ';"><div id="' + id + '"></div></div>';
4567        });
4568    },
4569    "fallback": function () {
4570        "use strict";
4571        var id = 'rumbletalk';
4572        tarteaucitron.fallback(['rumbletalk'], function (elem) {
4573            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemWidth(elem));
4574            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemHeight(elem));
4575
4576            return tarteaucitron.engage(id);
4577        });
4578    }
4579};
4580
4581// shareaholic
4582tarteaucitron.services.shareaholic = {
4583    "key": "shareaholic",
4584    "type": "social",
4585    "name": "Shareaholic",
4586    "uri": "https://shareaholic.com/privacy/choices",
4587    "needConsent": true,
4588    "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
4589    "js": function () {
4590        "use strict";
4591        if (tarteaucitron.user.shareaholicSiteId === undefined) {
4592            return;
4593        }
4594
4595        tarteaucitron.fallback(['shareaholic-canvas'], '');
4596        tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
4597            try {
4598                Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
4599            } catch (e) { }
4600        });
4601    },
4602    "fallback": function () {
4603        "use strict";
4604        var id = 'shareaholic';
4605        tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
4606    }
4607};
4608
4609// shareasale
4610tarteaucitron.services.shareasale = {
4611    "key": "shareasale",
4612    "type": "ads",
4613    "name": "ShareASale",
4614    "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
4615    "needConsent": true,
4616    "cookies": [],
4617    "js": function () {
4618        "use strict";
4619        var uniqIds = [],
4620            i,
4621            uri;
4622
4623        tarteaucitron.fallback(['shareasale-canvas'], function (x) {
4624            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4625            uniqIds.push(uniqId);
4626            return '<div id="' + uniqId + '" amount="' + tarteaucitron.getElemAttr(x, 'amount') + '" tracking="' + tarteaucitron.getElemAttr(x, 'tracking') + '" transtype="' + tarteaucitron.getElemAttr(x, 'transtype') + '" persale="' + tarteaucitron.getElemAttr(x, 'persale') + '" perlead="' + tarteaucitron.getElemAttr(x, 'perlead') + '" perhit="' + tarteaucitron.getElemAttr(x, 'perhit') + '" merchantID="' + tarteaucitron.getElemAttr(x, 'merchantID') + '"></div>';
4627        });
4628
4629        for (i = 0; i < uniqIds.length; i += 1) {
4630            uri = 'https://shareasale.com/sale.cfm?';
4631            uri += 'amount=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'amount') + '&';
4632            uri += 'tracking=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'tracking') + '&';
4633            uri += 'transtype=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'transtype') + '&';
4634            uri += 'persale=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'persale') + '&';
4635            uri += 'perlead=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'perlead') + '&';
4636            uri += 'perhit=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'perhit') + '&';
4637            uri += 'merchantID=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'merchantID');
4638
4639            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
4640        }
4641    },
4642    "fallback": function () {
4643        "use strict";
4644        var id = 'shareasale';
4645        tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
4646    }
4647};
4648
4649// sharethis
4650tarteaucitron.services.sharethis = {
4651    "key": "sharethis",
4652    "type": "social",
4653    "name": "ShareThis",
4654    "uri": "https://www.sharethis.com/legal/privacy/",
4655    "needConsent": true,
4656    "cookies": ['__unam'],
4657    "js": function () {
4658        "use strict";
4659        if (tarteaucitron.user.sharethisPublisher === undefined) {
4660            return;
4661        }
4662        var switchTo5x = true,
4663            uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
4664
4665        tarteaucitron.fallback(['tacSharethis'], '');
4666        tarteaucitron.addScript(uri, '', function () {
4667            stLight.options({ publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false });
4668        });
4669
4670        if (tarteaucitron.isAjax === true) {
4671            if (typeof stButtons !== "undefined") {
4672                stButtons.locateElements();
4673            }
4674        }
4675    },
4676    "fallback": function () {
4677        "use strict";
4678        var id = 'sharethis';
4679        tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
4680    }
4681};
4682
4683// slideshare
4684tarteaucitron.services.slideshare = {
4685    "key": "slideshare",
4686    "type": "video",
4687    "name": "SlideShare",
4688    "uri": "https://www.linkedin.com/legal/privacy-policy",
4689    "needConsent": true,
4690    "cookies": [],
4691    "js": function () {
4692        "use strict";
4693        tarteaucitron.fallback(['slideshare-canvas'], function (x) {
4694            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Slideshare iframe',
4695                id = tarteaucitron.getElemAttr(x, "data-id"),
4696                width = tarteaucitron.getElemAttr(x, "width"),
4697                height = tarteaucitron.getElemAttr(x, "height"),
4698                url = '//www.slideshare.net/slideshow/embed_code/key/' + id;
4699
4700            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
4701
4702            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4703        });
4704    },
4705    "fallback": function () {
4706        "use strict";
4707        var id = 'slideshare';
4708        tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
4709            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
4710            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
4711            return tarteaucitron.engage(id);
4712        });
4713    }
4714};
4715
4716// soundcloud
4717tarteaucitron.services.soundcloud = {
4718    key: 'soundcloud',
4719    type: 'video',
4720    name: 'SoundCloud',
4721    needConsent: true,
4722    uri: "https://soundcloud.com/pages/privacy",
4723    cookies: ['sc_anonymous_id', 'sclocale'],
4724    js: function () {
4725        "use strict";
4726        tarteaucitron.fallback(['soundcloud_player'], function (x) {
4727            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Soundcloud iframe',
4728                player_height = tarteaucitron.getElemAttr(x, 'data-height'),
4729                frame_height = 'height:' + tarteaucitron.getStyleSize(player_height) + ';',
4730                playable_id = tarteaucitron.getElemAttr(x, 'data-playable-id'),
4731                playable_type = tarteaucitron.getElemAttr(x, 'data-playable-type'),
4732                playable_url = tarteaucitron.getElemAttr(x, 'data-playable-url'),
4733                color = tarteaucitron.getElemAttr(x, 'data-color'),
4734                autoplay = tarteaucitron.getElemAttr(x, 'data-auto-play'),
4735                hideRelated = tarteaucitron.getElemAttr(x, 'data-hide-related'),
4736                showComments = tarteaucitron.getElemAttr(x, 'data-show-comments'),
4737                showUser = tarteaucitron.getElemAttr(x, 'data-show-user'),
4738                showReposts = tarteaucitron.getElemAttr(x, 'data-show-reposts'),
4739                showTeaser = tarteaucitron.getElemAttr(x, 'data-show-teaser'),
4740                visual = tarteaucitron.getElemAttr(x, 'data-visual'),
4741                artwork = tarteaucitron.getElemAttr(x, 'data-artwork');
4742
4743            var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
4744
4745            if (playable_id === "" && playable_url === "") {
4746                return "";
4747            }
4748
4749            // Allow to embed from API results (playable_type + playable_id)
4750            var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
4751            // Or from raw URL from Soundcloud website
4752            if (playable_url && playable_url.length > 0) qs = '?url=' + escape(playable_url);
4753
4754            if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
4755            if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
4756            if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
4757            if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
4758            if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
4759            if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
4760            if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
4761            if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
4762            if (visual && visual.length > 0) qs += '&visual=' + visual;
4763            if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
4764
4765            return '<iframe title="' + frame_title + '" style="width:100%;' + frame_height + '" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
4766        });
4767    },
4768    fallback: function () {
4769        "use strict";
4770        tarteaucitron.fallback(['soundcloud_player'], function (elem) {
4771            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-height'));
4772            return tarteaucitron.engage('soundcloud');
4773        });
4774    }
4775};
4776
4777// spotify
4778tarteaucitron.services.spotify = {
4779    "key": "spotify",
4780    "type": "video",
4781    "name": "Spotify",
4782    "uri": "https://www.spotify.com/us/legal/privacy-policy/",
4783    "needConsent": true,
4784    "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
4785    "js": function () {
4786        "use strict";
4787        tarteaucitron.fallback(['spotify_player'], function (x) {
4788            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Spotify iframe',
4789                spotify_id = tarteaucitron.getElemAttr(x, "spotifyID"),
4790                spotify_width = tarteaucitron.getElemAttr(x, "width"),
4791                spotify_height = tarteaucitron.getElemAttr(x, "height"),
4792                styleAttr = "border-radius:12px;",
4793                spotify_frame;
4794
4795            if (spotify_id === "") {
4796                return "";
4797            }
4798            if (spotify_width !== "") {
4799                styleAttr += 'width:' + tarteaucitron.getStyleSize(spotify_width) + ';';
4800            }
4801            if (spotify_height !== "") {
4802                styleAttr += 'height:' + tarteaucitron.getStyleSize(spotify_height) + ';';
4803            }
4804            spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" style="' + styleAttr + '" allowfullscreen></iframe>';
4805            return spotify_frame;
4806        });
4807    },
4808    "fallback": function () {
4809        "use strict";
4810        var id = 'spotify';
4811        tarteaucitron.fallback(['spotify_player'], function (elem) {
4812            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
4813            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
4814            return tarteaucitron.engage(id);
4815        });
4816    }
4817};
4818
4819// statcounter
4820tarteaucitron.services.statcounter = {
4821    "key": "statcounter",
4822    "type": "analytic",
4823    "name": "StatCounter",
4824    "uri": "https://fr.statcounter.com/about/legal/#privacy",
4825    "needConsent": true,
4826    "cookies": ['sc_is_visitor_unique'],
4827    "js": function () {
4828        "use strict";
4829        var uniqIds = [],
4830            i,
4831            uri = '//statcounter.com/counter/counter.js';
4832
4833        tarteaucitron.fallback(['statcounter-canvas'], function (x) {
4834            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4835            uniqIds.push(uniqId);
4836            return '<div id="' + uniqId + '"></div>';
4837        });
4838
4839        for (i = 0; i < uniqIds.length; i += 1) {
4840            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4841        }
4842    },
4843    "fallback": function () {
4844        "use strict";
4845        var id = 'statcounter';
4846        tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
4847    }
4848};
4849
4850// timelinejs
4851tarteaucitron.services.timelinejs = {
4852    "key": "timelinejs",
4853    "type": "api",
4854    "name": "Timeline JS",
4855    "uri": "https://timeline.knightlab.com/#help",
4856    "needConsent": true,
4857    "cookies": [],
4858    "js": function () {
4859        "use strict";
4860        tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
4861            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Twitter iframe',
4862                spreadsheet_id = tarteaucitron.getElemAttr(x, "spreadsheet_id"),
4863                width = tarteaucitron.getElemAttr(x, "width"),
4864                height = tarteaucitron.getElemAttr(x, "height"),
4865                lang = tarteaucitron.getElemAttr(x, "lang_2_letter"),
4866                font = tarteaucitron.getElemAttr(x, "font"),
4867                map = tarteaucitron.getElemAttr(x, "map"),
4868                start_at_end = tarteaucitron.getElemAttr(x, "start_at_end"),
4869                hash_bookmark = tarteaucitron.getElemAttr(x, "hash_bookmark"),
4870                start_at_slide = tarteaucitron.getElemAttr(x, "start_at_slide"),
4871                start_zoom = tarteaucitron.getElemAttr(x, "start_zoom"),
4872                url = '//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source=' + spreadsheet_id + '&font=' + font + '&maptype=' + map + '&lang=' + lang + '&start_at_end=' + start_at_end + '&hash_bookmark=' + hash_bookmark + '&start_at_slide=' + start_at_slide + '&start_zoom_adjust=' + start_zoom + '&height=' + height;
4873
4874            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
4875
4876            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4877        });
4878    },
4879    "fallback": function () {
4880        "use strict";
4881        var id = 'timelinejs';
4882        tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
4883            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
4884            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
4885            return tarteaucitron.engage(id);
4886        });
4887    }
4888};
4889
4890// tagcommander
4891tarteaucitron.services.tagcommander = {
4892    "key": "tagcommander",
4893    "type": "api",
4894    "name": "TagCommander",
4895    "uri": "https://www.commandersact.com/en/privacy/",
4896    "needConsent": true,
4897    "cookies": [],
4898    "js": function () {
4899        "use strict";
4900        if (tarteaucitron.user.tagcommanderid === undefined) {
4901            return;
4902        }
4903        tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
4904    }
4905};
4906
4907// typekit
4908tarteaucitron.services.typekit = {
4909    "key": "typekit",
4910    "type": "api",
4911    "name": "Typekit (adobe)",
4912    "uri": "https://www.adobe.com/privacy.html",
4913    "needConsent": true,
4914    "cookies": [],
4915    "js": function () {
4916        "use strict";
4917        if (tarteaucitron.user.typekitId === undefined) {
4918            return;
4919        }
4920        tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
4921            try {
4922                Typekit.load();
4923            } catch (e) { }
4924        });
4925    }
4926};
4927
4928// twenga
4929tarteaucitron.services.twenga = {
4930    "key": "twenga",
4931    "type": "ads",
4932    "name": "Twenga",
4933    "uri": "https://www.twenga.com/privacy.php",
4934    "needConsent": true,
4935    "cookies": [],
4936    "js": function () {
4937        "use strict";
4938
4939        if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
4940            return;
4941        }
4942
4943        tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
4944    }
4945};
4946
4947// twitter
4948tarteaucitron.services.twitter = {
4949    "key": "twitter",
4950    "type": "social",
4951    "name": "X (formerly Twitter)",
4952    "uri": "https://support.twitter.com/articles/20170514",
4953    "needConsent": true,
4954    "cookies": [],
4955    "js": function () {
4956        "use strict";
4957        tarteaucitron.fallback(['tacTwitter'], '');
4958        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
4959    },
4960    "fallback": function () {
4961        "use strict";
4962        var id = 'twitter';
4963        tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
4964    }
4965};
4966
4967// twitter embed
4968tarteaucitron.services.twitterembed = {
4969    "key": "twitterembed",
4970    "type": "social",
4971    "name": "X (formerly Twitter) cards",
4972    "uri": "https://support.twitter.com/articles/20170514",
4973    "needConsent": true,
4974    "cookies": [],
4975    "js": function () {
4976        "use strict";
4977        var uniqIds = [],
4978            i,
4979            e,
4980            html;
4981
4982        tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
4983            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4984            uniqIds.push(uniqId);
4985            html = '<div id="' + uniqId + '" ';
4986            html += 'tweetid="' + tarteaucitron.getElemAttr(x, 'tweetid') + '" ';
4987            html += 'theme="' + tarteaucitron.getElemAttr(x, 'theme') + '" ';
4988            html += 'cards="' + tarteaucitron.getElemAttr(x, 'cards') + '" ';
4989            html += 'conversation="' + tarteaucitron.getElemAttr(x, 'conversation') + '" ';
4990            html += 'data-width="' + tarteaucitron.getElemAttr(x, 'data-width') + '" ';
4991            html += 'data-align="' + tarteaucitron.getElemAttr(x, 'data-align') + '" ';
4992            html += '></div>';
4993            return html;
4994        });
4995
4996        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
4997            var i;
4998            for (i = 0; i < uniqIds.length; i += 1) {
4999                e = document.getElementById(uniqIds[i]);
5000                twttr.widgets.createTweet(
5001                    tarteaucitron.getElemAttr(e, 'tweetid'),
5002                    e,
5003                    {
5004                        theme: tarteaucitron.getElemAttr(e, 'theme'),
5005                        cards: tarteaucitron.getElemAttr(e, 'cards'),
5006                        conversation: tarteaucitron.getElemAttr(e, 'conversation'),
5007                        lang: tarteaucitron.getLanguage(),
5008                        dnt: true,
5009                        width: tarteaucitron.getElemAttr(e, 'data-width'),
5010                        align: tarteaucitron.getElemAttr(e, 'data-align')
5011                    }
5012                );
5013            }
5014        });
5015    },
5016    "fallback": function () {
5017        "use strict";
5018        var id = 'twitterembed';
5019        tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
5020            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-width'));
5021            return tarteaucitron.engage(id);
5022        });
5023    }
5024};
5025
5026// twitter timeline
5027tarteaucitron.services.twittertimeline = {
5028    "key": "twittertimeline",
5029    "type": "social",
5030    "name": "X (formerly Twitter) timelines",
5031    "uri": "https://support.twitter.com/articles/20170514",
5032    "needConsent": true,
5033    "cookies": [],
5034    "js": function () {
5035        "use strict";
5036        tarteaucitron.fallback(['tacTwitterTimelines'], '');
5037        tarteaucitron.addScript('https://platform.twitter.com/widgets.js', 'twitter-wjs');
5038    },
5039    "fallback": function () {
5040        "use strict";
5041        var id = 'twittertimeline';
5042        tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
5043    }
5044};
5045
5046// twitter universal website tag
5047tarteaucitron.services.twitteruwt = {
5048    "key": "twitteruwt",
5049    "type": "analytic",
5050    "name": "X (formerly Twitter) Universal Website Tag",
5051    "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
5052    "needConsent": true,
5053    "cookies": [],
5054    "js": function () {
5055        "use strict";
5056
5057        if (tarteaucitron.user.twitteruwtId === undefined) {
5058            return;
5059        }
5060
5061        window.twq = function () {
5062            window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
5063        }
5064        window.twq.version = '1.1';
5065        window.twq.queue = [];
5066
5067        tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
5068            window.twq('init', tarteaucitron.user.twitteruwtId);
5069            window.twq('track', 'PageView');
5070        });
5071    }
5072};
5073
5074// user voice
5075tarteaucitron.services.uservoice = {
5076    "key": "uservoice",
5077    "type": "support",
5078    "name": "UserVoice",
5079    "uri": "https://www.uservoice.com/privacy/",
5080    "needConsent": true,
5081    "cookies": [],
5082    "js": function () {
5083        "use strict";
5084        if (tarteaucitron.user.userVoiceApi === undefined) {
5085            return;
5086        }
5087        tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
5088    }
5089};
5090
5091// vimeo
5092tarteaucitron.services.vimeo = {
5093    "key": "vimeo",
5094    "type": "video",
5095    "name": "Vimeo",
5096    "uri": "https://vimeo.com/privacy",
5097    "needConsent": true,
5098    "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
5099    "js": function () {
5100        "use strict";
5101        tarteaucitron.fallback(['vimeo_player'], function (x) {
5102            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe',
5103                video_width = tarteaucitron.getElemAttr(x, "width"),
5104                video_height = tarteaucitron.getElemAttr(x, "height"),
5105                styleAttr = "",
5106
5107                video_id = tarteaucitron.getElemAttr(x, "videoID"),
5108                video_hash = tarteaucitron.getElemAttr(x, "data-hash") || '',
5109                video_allowfullscreen = tarteaucitron.getElemAttr(x, "data-allowfullscreen"),
5110
5111                video_qs = "",
5112                attrs = ["title", "byline", "portrait", "loop", "autoplay", "autopause", "background", "color", "controls", "maxheight", "maxwidth", "muted", "playsinline", "speed", "transparent"],
5113                params = attrs.filter(function (a) {
5114                    return tarteaucitron.getElemAttr(x, a) !== "";
5115                }).map(function (a) {
5116                    return a + "=" + tarteaucitron.getElemAttr(x, a);
5117                }),
5118
5119                video_frame;
5120
5121            if (video_id === "") {
5122                return "";
5123            }
5124
5125            // query params
5126            if (video_hash.length > 0) {
5127                params.push("h=" + video_hash);
5128            }
5129            if (params.length > 0) {
5130                video_qs = "?" + params.join("&");
5131            }
5132
5133            // attributes
5134            if (video_width !== undefined) {
5135                styleAttr += 'width:' + tarteaucitron.getStyleSize(video_width) + ';';
5136            }
5137            if (video_height !== undefined) {
5138                styleAttr += 'height:' + tarteaucitron.getStyleSize(video_height) + ';';
5139            }
5140
5141            video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" style="' + styleAttr + '" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
5142
5143            return video_frame;
5144        });
5145    },
5146    "fallback": function () {
5147        "use strict";
5148        var id = 'vimeo';
5149        tarteaucitron.fallback(['vimeo_player'], function (elem) {
5150            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
5151            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
5152            return tarteaucitron.engage(id);
5153        });
5154    }
5155};
5156
5157// visualrevenue
5158tarteaucitron.services.visualrevenue = {
5159    "key": "visualrevenue",
5160    "type": "analytic",
5161    "name": "VisualRevenue",
5162    "uri": "https://www.outbrain.com/legal/privacy-713/",
5163    "needConsent": true,
5164    "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
5165    "js": function () {
5166        "use strict";
5167        if (tarteaucitron.user.visualrevenueId === undefined) {
5168            return;
5169        }
5170        window._vrq = window._vrq || [];
5171        window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
5172        window._vrq.push(['automate', true]);
5173        window._vrq.push(['track', function () { }]);
5174        tarteaucitron.addScript('https://a.visualrevenue.com/vrs.js');
5175    }
5176};
5177
5178// verizon dot tag
5179tarteaucitron.services.verizondottag = {
5180    "key": "verizondottag",
5181    "type": "analytic",
5182    "name": "Verizon Dot Tag",
5183    "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
5184    "needConsent": true,
5185    "cookies": [],
5186    "js": function () {
5187        "use strict";
5188
5189        if (tarteaucitron.user.verizondottagProjectId === undefined) {
5190            return;
5191        }
5192
5193        window.dotq = window.dotq || [];
5194        window.dotq.push({
5195            'projectId': tarteaucitron.user.verizondottagProjectId,
5196            'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
5197        });
5198
5199        tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
5200            //const items = window.dotq;
5201            window.dotq = [];
5202            window.dotq.push = function (item) {
5203                YAHOO.ywa.I13N.fireBeacon([item])
5204            };
5205            YAHOO.ywa.I13N.fireBeacon(items)
5206        });
5207    }
5208};
5209
5210// vshop
5211tarteaucitron.services.vshop = {
5212    "key": "vshop",
5213    "type": "ads",
5214    "name": "vShop",
5215    "uri": "https://vshop.fr/privacy-policy",
5216    "needConsent": true,
5217    "cookies": [],
5218    "js": function () {
5219        "use strict";
5220        tarteaucitron.fallback(['vcashW'], '');
5221        tarteaucitron.addScript('//vshop.fr/js/w.js');
5222    },
5223    "fallback": function () {
5224        "use strict";
5225        var id = 'vshop';
5226        tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
5227    }
5228};
5229
5230// wysistat
5231tarteaucitron.services.wysistat = {
5232    "key": "wysistat",
5233    "type": "analytic",
5234    "name": "Wysistat",
5235    "uri": "https://wysistat.net/contact/",
5236    "needConsent": true,
5237    "cookies": ['Wysistat'],
5238    "js": function () {
5239        "use strict";
5240        if (tarteaucitron.user.wysistat === undefined) {
5241            return;
5242        }
5243        tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
5244            window.stat(tarteaucitron.user.wysistat.cli, tarteaucitron.user.wysistat.frm, tarteaucitron.user.wysistat.prm, tarteaucitron.user.wysistat.ce, tarteaucitron.user.wysistat.page, tarteaucitron.user.wysistat.roi, tarteaucitron.user.wysistat.prof, tarteaucitron.user.wysistat.cpt);
5245        });
5246    }
5247};
5248
5249// xiti
5250tarteaucitron.services.xiti = {
5251    "key": "xiti",
5252    "type": "analytic",
5253    "name": "Xiti",
5254    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5255    "needConsent": true,
5256    "cookies": [],
5257    "js": function () {
5258        "use strict";
5259        if (tarteaucitron.user.xitiId === undefined) {
5260            return;
5261        }
5262        var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
5263            Xt_r,
5264            Xt_h,
5265            Xt_i,
5266            Xt_s,
5267            div = document.createElement('div');
5268        try {
5269            Xt_r = top.document.referrer;
5270        } catch (e) {
5271            Xt_r = document.referrer;
5272        }
5273        Xt_h = new Date();
5274        Xt_i = '<img style="display:none" border="0" alt="" ';
5275        Xt_i += 'src="https://logv3.xiti.com/hit.xiti?' + Xt_param;
5276        Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
5277        if (parseFloat(navigator.appVersion) >= 4) {
5278            Xt_s = screen;
5279            Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
5280        }
5281
5282        div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
5283        document.getElementsByTagName('body')[0].appendChild(div.firstChild);
5284
5285        if (typeof tarteaucitron.user.xitiMore === 'function') {
5286            tarteaucitron.user.xitiMore();
5287        }
5288    }
5289};
5290
5291// AT Internet
5292tarteaucitron.services.atinternet = {
5293    "key": "atinternet",
5294    "type": "analytic",
5295    "name": "AT Internet (privacy by design)",
5296    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5297    "needConsent": true,
5298    "safeanalytic": false,
5299    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
5300    "js": function () {
5301        "use strict";
5302        if (tarteaucitron.user.atLibUrl === undefined) {
5303            return;
5304        }
5305
5306        if (tarteaucitron.user.atinternetAlreadyLoaded !== undefined) {
5307            return;
5308        }
5309
5310        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5311
5312            window.tag = new ATInternet.Tracker.Tag();
5313
5314            if (typeof window.tag.privacy !== 'undefined') {
5315                window.tag.privacy.setVisitorOptin();
5316            }
5317
5318            if (typeof tarteaucitron.user.atMore === 'function') {
5319                tarteaucitron.user.atMore();
5320            }
5321
5322            if (tarteaucitron.user.atinternetSendData !== false) {
5323                window.tag.page.send();
5324            }
5325        });
5326    },
5327    "fallback": function () {
5328        "use strict";
5329        if (tarteaucitron.user.atLibUrl === undefined) {
5330            return;
5331        }
5332
5333        if (tarteaucitron.user.atNoFallback === true) {
5334            return;
5335        }
5336
5337        tarteaucitron.user.atinternetAlreadyLoaded = true;
5338
5339        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5340
5341            window.tag = new ATInternet.Tracker.Tag();
5342
5343            if (typeof window.tag.privacy !== 'undefined') {
5344
5345                var visitorMode = window.tag.privacy.getVisitorMode();
5346                if (visitorMode !== null && visitorMode.name !== undefined && visitorMode.name == "optout") {
5347                    window.tag.privacy.setVisitorOptout();
5348                } else {
5349                    window.tag.privacy.setVisitorMode('cnil', 'exempt');
5350                }
5351            }
5352
5353            if (typeof tarteaucitron.user.atMore === 'function') {
5354                tarteaucitron.user.atMore();
5355            }
5356
5357            if (tarteaucitron.user.atinternetSendData !== false) {
5358                window.tag.page.send();
5359            }
5360        });
5361    }
5362};
5363
5364// AT Internet
5365tarteaucitron.services.atinternethightrack = {
5366    "key": "atinternethightrack",
5367    "type": "analytic",
5368    "name": "AT Internet",
5369    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5370    "needConsent": true,
5371    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
5372    "js": function () {
5373        "use strict";
5374        if (tarteaucitron.user.atLibUrl === undefined) {
5375            return;
5376        }
5377
5378        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5379
5380            var tag = new ATInternet.Tracker.Tag();
5381
5382            if (typeof tarteaucitron.user.atMore === 'function') {
5383                tarteaucitron.user.atMore();
5384            }
5385        })
5386    }
5387};
5388
5389// youtube
5390tarteaucitron.services.youtube = {
5391    "key": "youtube",
5392    "type": "video",
5393    "name": "YouTube",
5394    "uri": "https://policies.google.com/privacy",
5395    "needConsent": true,
5396    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF'],
5397    "js": function () {
5398        "use strict";
5399        tarteaucitron.fallback(['youtube_player'], function (x) {
5400            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe',
5401                video_id = tarteaucitron.getElemAttr(x, "videoID"),
5402                srcdoc = tarteaucitron.getElemAttr(x, "srcdoc"),
5403                loading = tarteaucitron.getElemAttr(x, "loading"),
5404                referrerpolicy = tarteaucitron.getElemAttr(x, "referrerpolicy"),
5405                video_width = tarteaucitron.getElemAttr(x, "width"),
5406                video_height = tarteaucitron.getElemAttr(x, "height"),
5407                styleAttr = "",
5408                video_frame,
5409                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
5410                start = tarteaucitron.getElemAttr(x, "start"),
5411                end = tarteaucitron.getElemAttr(x, "end"),
5412                attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "end", "loop", "enablejsapi"],
5413                params = attrs.filter(function (a) {
5414                    return tarteaucitron.getElemAttr(x, a) !== "";
5415                }).map(function (a) {
5416                    return a + "=" + tarteaucitron.getElemAttr(x, a);
5417                }).join("&");
5418
5419            if(tarteaucitron.getElemAttr(x, "loop") == 1) {
5420                params = params + "&playlist=" + video_id;
5421            }
5422
5423            if (video_id === "") {
5424                return "";
5425            }
5426            if (video_width !== "") {
5427                styleAttr += 'width:' + tarteaucitron.getStyleSize(video_width) + ';';
5428            }
5429            if (video_height !== "") {
5430                styleAttr += 'height:' + tarteaucitron.getStyleSize(video_height) + ';';
5431            }
5432
5433            if (srcdoc !== undefined && srcdoc !== null && srcdoc !== "") {
5434                srcdoc = 'srcdoc="' + srcdoc + '" ';
5435            } else {
5436                srcdoc = '';
5437            }
5438
5439            if (loading !== undefined && loading !== null && loading !== "") {
5440                loading = 'loading ';
5441            } else {
5442                loading = '';
5443            }
5444
5445            if (referrerpolicy !== undefined && referrerpolicy !== null && referrerpolicy !== "") {
5446                referrerpolicy = 'referrerpolicy="' + referrerpolicy + '" ';
5447            } else {
5448                referrerpolicy = '';
5449            }
5450
5451            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + ' ' + srcdoc + ' ' + referrerpolicy + ' ' + loading + '></iframe>';
5452            return video_frame;
5453        });
5454    },
5455    "fallback": function () {
5456        "use strict";
5457        var id = 'youtube';
5458        tarteaucitron.fallback(['youtube_player'], function (elem) {
5459            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
5460            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
5461            return tarteaucitron.engage(id);
5462        });
5463    }
5464};
5465
5466// youtube playlist
5467tarteaucitron.services.youtubeplaylist = {
5468    "key": "youtubeplaylist",
5469    "type": "video",
5470    "name": "YouTube (playlist)",
5471    "uri": "https://policies.google.com/privacy",
5472    "needConsent": true,
5473    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF'],
5474    "js": function () {
5475        "use strict";
5476        tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
5477            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe',
5478                playlist_id = tarteaucitron.getElemAttr(x, "playlistID"),
5479                video_width = tarteaucitron.getElemAttr(x, "width"),
5480                video_height = tarteaucitron.getElemAttr(x, "height"),
5481                styleAttr = "",
5482                video_frame,
5483                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
5484                params = 'theme=' + tarteaucitron.getElemAttr(x, "theme") + '&rel=' + tarteaucitron.getElemAttr(x, "rel") + '&controls=' + tarteaucitron.getElemAttr(x, "controls") + '&showinfo=' + tarteaucitron.getElemAttr(x, "showinfo") + '&autoplay=' + tarteaucitron.getElemAttr(x, "autoplay") + '&mute=' + tarteaucitron.getElemAttr(x, "mute");
5485
5486            if (playlist_id === "") {
5487                return "";
5488            }
5489            if (video_width !== "") {
5490                styleAttr += 'width:' + tarteaucitron.getStyleSize(video_width) + ';';
5491            }
5492            if (video_height !== "") {
5493                styleAttr += 'height:' + tarteaucitron.getStyleSize(video_height) + ';';
5494            }
5495            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
5496            return video_frame;
5497        });
5498    },
5499    "fallback": function () {
5500        "use strict";
5501        var id = 'youtubeplaylist';
5502        tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
5503            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
5504            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
5505            return tarteaucitron.engage(id);
5506        });
5507    }
5508};
5509
5510// zopim
5511tarteaucitron.services.zopim = {
5512    "key": "zopim",
5513    "type": "support",
5514    "name": "Zopim",
5515    "uri": "https://www.zopim.com/privacy",
5516    "needConsent": true,
5517    "cookies": ['__zlcid', '__zprivacy'],
5518    "js": function () {
5519        "use strict";
5520        if (tarteaucitron.user.zopimID === undefined) {
5521            return;
5522        }
5523        tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
5524    }
5525};
5526
5527// kameleoon
5528tarteaucitron.services.kameleoon = {
5529    "key": "kameleoon",
5530    "type": "analytic",
5531    "name": "Kameleoon",
5532    "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
5533    "needConsent": true,
5534    "cookies": [],
5535    "js": function () {
5536        "use strict";
5537        if (tarteaucitron.user.kameleoon !== undefined) {
5538            tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
5539        }
5540    }
5541};
5542
5543// linkedin insight
5544tarteaucitron.services.linkedininsighttag = {
5545    "key": "linkedininsighttag",
5546    "type": "ads",
5547    "name": "Linkedin Insight",
5548    "uri": "https://www.linkedin.com/legal/cookie-policy",
5549    "needConsent": true,
5550    "cookies": ['li_fat_id'],
5551    "js": function () {
5552        "use strict";
5553        if (tarteaucitron.user.linkedininsighttag !== undefined) {
5554            window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
5555            window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
5556        }
5557
5558        tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
5559    }
5560};
5561
5562// xiti smartTag
5563tarteaucitron.services.xiti_smarttag = {
5564    "key": "xiti_smarttag",
5565    "type": "analytic",
5566    "name": "Xiti (SmartTag)",
5567    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5568    "needConsent": true,
5569    "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "attvtreman", "attvtsession"],
5570    "js": function () {
5571        "use strict";
5572        if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
5573            tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
5574        } else {
5575            var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
5576            if (xitiSmarttagId === undefined) {
5577                return;
5578            }
5579
5580            tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
5581        }
5582    }
5583};
5584
5585// facebook pixel
5586tarteaucitron.services.facebookpixel = {
5587    "key": "facebookpixel",
5588    "type": "ads",
5589    "name": "Facebook Pixel",
5590    "uri": "https://www.facebook.com/policy.php",
5591    "needConsent": true,
5592    "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src', '_fbp'],
5593    "js": function () {
5594        "use strict";
5595
5596        if (tarteaucitron.user.facebookpixelId === undefined) {
5597            return;
5598        }
5599
5600        var n;
5601        if (window.fbq) return;
5602        n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
5603        if (!window._fbq) window._fbq = n;
5604        n.push = n;
5605        n.loaded = !0;
5606        n.version = '2.0';
5607        n.queue = [];
5608        tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
5609        fbq('init', tarteaucitron.user.facebookpixelId);
5610        fbq('track', 'PageView');
5611
5612        if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
5613            tarteaucitron.user.facebookpixelMore();
5614        }
5615    }
5616};
5617
5618//Issuu
5619tarteaucitron.services.issuu = {
5620    "key": "issuu",
5621    "type": "other",
5622    "name": "Issuu",
5623    "uri": "https://issuu.com/legal/privacy",
5624    "needConsent": true,
5625    "cookies": ['__qca', 'iutk', 'mc'],
5626    "js": function () {
5627        "use strict";
5628        tarteaucitron.fallback(['issuu_player'], function (x) {
5629            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Issuu iframe',
5630                issuu_id = tarteaucitron.getElemAttr(x, "issuuID"),
5631                issuu_width = tarteaucitron.getElemAttr(x, "width"),
5632                issuu_height = tarteaucitron.getElemAttr(x, "height"),
5633                styleAttr = "",
5634                issuu_frame,
5635                issuu_embed;
5636
5637            if (issuu_id === "") {
5638                return "";
5639            }
5640            if (issuu_width !== "") {
5641                styleAttr += 'width:' + tarteaucitron.getStyleSize(issuu_width) + ';';
5642            }
5643            if (issuu_height !== "") {
5644                styleAttr += 'height:' + tarteaucitron.getStyleSize(issuu_height) + ';';
5645            }
5646
5647
5648            if (issuu_id.match(/^\d+\/\d+$/)) { issuu_embed = '#' + issuu_id; } else { issuu_embed = '?' + issuu_id; }
5649
5650
5651            issuu_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
5652
5653            return issuu_frame;
5654        });
5655    },
5656    "fallback": function () {
5657        "use strict";
5658        var id = 'issuu';
5659        tarteaucitron.fallback(['issuu_player'], function (elem) {
5660            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
5661            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
5662            return tarteaucitron.engage(id);
5663        });
5664    }
5665};
5666
5667// webmecanik
5668tarteaucitron.services.webmecanik = {
5669    "key": "webmecanik",
5670    "type": "analytic",
5671    "name": "Webmecanik",
5672    "uri": "https://webmecanik.com/tos",
5673    "needConsent": true,
5674    "cookies": ['mtc_id', 'mtc_sid'],
5675    "js": function () {
5676        "use strict";
5677        if (tarteaucitron.user.webmecanikurl === undefined) {
5678            return;
5679        }
5680
5681        window.MauticTrackingObject = 'mt';
5682        window.mt = window.mt || function () {
5683            window.mt.q = window.mt.q || [];
5684            window.mt.q.push(arguments);
5685        };
5686
5687        tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
5688            mt('send', 'pageview');
5689        });
5690    }
5691};
5692
5693// google analytics multiple
5694tarteaucitron.services.multiplegtag = {
5695    "key": "multiplegtag",
5696    "type": "analytic",
5697    "name": "Google Analytics (gtag.js)",
5698    "uri": "https://support.google.com/analytics/answer/6004245",
5699    "needConsent": true,
5700    "cookies": (function () {
5701
5702        var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '_gcl_au'];
5703
5704        if (tarteaucitron.user.multiplegtagUa !== undefined) {
5705            tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
5706                cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
5707                cookies.push('_ga_' + ua.replace(/G-/g, ''));
5708            });
5709        }
5710
5711        return cookies;
5712    })(),
5713    "js": function () {
5714        "use strict";
5715        window.dataLayer = window.dataLayer || [];
5716
5717        
5717if (tarteaucitron.user.multiplegtagUa !== undefined) {
5718            tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
5719                tarteaucitron.addScript('https://www.googletagmanager.com
vendor: 54,291 bytes, lines 5719-7126
5719/gtag/js?id=' + ua, '', function () {
5720                    window.gtag = function gtag() { dataLayer.push(arguments); }
5721                    gtag('js', new Date());
5722                    var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
5723                    gtag('config', ua, additional_config_info);
5724                });
5725            });
5726        }
5727    },
5728    "fallback": function () {
5729        if (tarteaucitron.parameters.googleConsentMode === true) {
5730            if (tarteaucitron.parameters.softConsentMode === false) {
5731                this.js();
5732            }
5733        }
5734    }
5735};
5736
5737// Koban
5738tarteaucitron.services.koban = {
5739    "key": "koban",
5740    "type": "analytic",
5741    "name": "Koban",
5742    "uri": "https://koban.cloud/tos",
5743    "needConsent": true,
5744    "cookies": ['kbntrk'],
5745    "js": function () {
5746        "use strict";
5747        if (tarteaucitron.user.kobanurl === undefined) {
5748            return;
5749        }
5750        if (tarteaucitron.user.kobanapi === undefined) {
5751            return;
5752        }
5753        window.KobanObject = 'kb';
5754        window.kb = window.kb || function () {
5755            window.kb.q = window.kb.q || [];
5756            window.kb.q.push(arguments);
5757        };
5758        window.kb.l = new Date();
5759        kb('reg', tarteaucitron.user.kobanapi);
5760        tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function () {
5761        });
5762    }
5763};
5764
5765// DEPRECATED, USE MATOMO CLOUD
5766tarteaucitron.services.matomo = {
5767    "key": "matomo",
5768    "type": "analytic",
5769    "name": "Matomo (privacy by design)",
5770    "uri": "https://matomo.org/faq/general/faq_146/",
5771    "needConsent": false,
5772    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
5773    "js": function () {
5774        "use strict";
5775        if (tarteaucitron.user.matomoId === undefined) {
5776            return;
5777        }
5778
5779        window._paq = window._paq || [];
5780        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5781        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
5782        window._paq.push(["setDoNotTrack", 1]);
5783        window._paq.push(["trackPageView"]);
5784        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
5785        window._paq.push(["enableLinkTracking"]);
5786
5787        if (typeof tarteaucitron.user.matomoMore === 'function') {
5788            tarteaucitron.user.matomoMore();
5789        }
5790
5791        window._paq.push([function () {
5792            var self = this;
5793            function getOriginalVisitorCookieTimeout() {
5794                var now = new Date(),
5795                    nowTs = Math.round(now.getTime() / 1000),
5796                    visitorInfo = self.getVisitorInfo();
5797                var createTs = parseInt(visitorInfo[2]);
5798                var cookieTimeout = 33696000; // 13 mois en secondes
5799                var originalTimeout = createTs + cookieTimeout - nowTs;
5800                return originalTimeout;
5801            }
5802            this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
5803        }]);
5804
5805        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
5806
5807        // waiting for piwik to be ready to check first party cookies
5808        var interval = setInterval(function () {
5809            if (typeof Piwik === 'undefined') return
5810
5811            clearInterval(interval)
5812
5813            // make piwik/matomo cookie accessible by getting tracker
5814            Piwik.getTracker();
5815
5816            // looping throught cookies
5817            var theCookies = document.cookie.split(';');
5818            for (var i = 1; i <= theCookies.length; i++) {
5819                var cookie = theCookies[i - 1].split('=');
5820                var cookieName = cookie[0].trim();
5821
5822                // if cookie starts like a piwik one, register it
5823                if (cookieName.indexOf('_pk_') === 0) {
5824                    tarteaucitron.services.matomo.cookies.push(cookieName);
5825                }
5826            }
5827        }, 100)
5828    }
5829};
5830
5831// DEPRECATED, USE MATOMO CLOUD
5832tarteaucitron.services.matomohightrack = {
5833    "key": "matomohightrack",
5834    "type": "analytic",
5835    "name": "Matomo",
5836    "uri": "https://matomo.org/faq/general/faq_146/",
5837    "needConsent": false,
5838    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
5839    "js": function () {
5840        "use strict";
5841        if (tarteaucitron.user.matomoId === undefined) {
5842            return;
5843        }
5844
5845        window._paq = window._paq || [];
5846        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5847        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
5848        window._paq.push(["trackPageView"]);
5849        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
5850        window._paq.push(["enableLinkTracking"]);
5851        window._paq.push([function () {
5852            var self = this;
5853        }]);
5854
5855        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
5856
5857        // waiting for piwik to be ready to check first party cookies
5858        var interval = setInterval(function () {
5859            if (typeof Piwik === 'undefined') return
5860
5861            clearInterval(interval)
5862            Piwik.getTracker();
5863
5864            var theCookies = document.cookie.split(';');
5865            for (var i = 1; i <= theCookies.length; i++) {
5866                var cookie = theCookies[i - 1].split('=');
5867                var cookieName = cookie[0].trim();
5868
5869                if (cookieName.indexOf('_pk_') === 0) {
5870                    tarteaucitron.services.matomo.cookies.push(cookieName);
5871                }
5872            }
5873        }, 100)
5874    }
5875};
5876
5877// matomocloud
5878tarteaucitron.services.matomocloud = {
5879    "key": "matomocloud",
5880    "type": "analytic",
5881    "name": "Matomo Cloud (privacy by design)",
5882    "uri": "https://matomo.org/guide/manage-matomo/privacy/",
5883    "needConsent": true,
5884    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'mtm_consent', 'matomo_ignore', 'matomo_sessid'],
5885    "js": function () {
5886        "use strict";
5887        if (tarteaucitron.user.matomoId === undefined) {
5888            return;
5889        }
5890
5891        window._paq = window._paq || [];
5892
5893        if (tarteaucitron.user.matomoFullTracking === true) {
5894            window._paq.push(["requireCookieConsent"]);
5895            window._paq.push(["setCookieConsentGiven"]);
5896            window._paq.push(["trackAllContentImpressions"]);
5897        } else {
5898            window._paq.push(["requireConsent"]);
5899            window._paq.push(["setConsentGiven"]);
5900        }
5901
5902        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5903        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
5904        window._paq.push(["enableLinkTracking"]);
5905
5906        if (tarteaucitron.user.matomoDontTrackPageView !== true) {
5907            window._paq.push(["trackPageView"]);
5908        }
5909
5910        if (tarteaucitron.user.matomoCustomJSPath === undefined || tarteaucitron.user.matomoCustomJSPath == '') {
5911            tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
5912        } else {
5913            tarteaucitron.addScript(tarteaucitron.user.matomoCustomJSPath, '', '', true, 'defer', true);
5914        }
5915
5916        if (typeof tarteaucitron.user.matomocloudMore === 'function') {
5917            tarteaucitron.user.matomocloudMore();
5918        }
5919
5920        // waiting for Matomo to be ready to check first party cookies
5921        var interval = setInterval(function () {
5922            if (typeof Matomo === 'undefined') return
5923
5924            clearInterval(interval)
5925
5926            // make Matomo cookie accessible by getting tracker
5927            Matomo.getTracker();
5928
5929            // looping through cookies
5930            var theCookies = document.cookie.split(';');
5931            for (var i = 1; i <= theCookies.length; i++) {
5932                var cookie = theCookies[i - 1].split('=');
5933                var cookieName = cookie[0].trim();
5934
5935                // if cookie starts like a matomo one, register it
5936                if (cookieName.indexOf('_pk_') === 0) {
5937                    tarteaucitron.services.matomo.cookies.push(cookieName);
5938                }
5939            }
5940        }, 100);
5941    },
5942    "fallback": function () {
5943        "use strict";
5944        if (tarteaucitron.user.matomoId === undefined) {
5945            return;
5946        }
5947
5948        window._paq = window._paq || [];
5949        if (tarteaucitron.user.matomoFullTracking === true) {
5950            window._paq.push(["requireCookieConsent"]);
5951        } else {
5952            window._paq.push(["requireConsent"]);
5953        }
5954        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5955        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
5956        window._paq.push(["trackPageView"]);
5957        window._paq.push(["enableLinkTracking"]);
5958
5959        if (typeof tarteaucitron.user.matomocloudMore === 'function') {
5960            tarteaucitron.user.matomocloudMore();
5961        }
5962
5963        if (tarteaucitron.user.matomoCustomJSPath === undefined || tarteaucitron.user.matomoCustomJSPath == '') {
5964            tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
5965        } else {
5966            tarteaucitron.addScript(tarteaucitron.user.matomoCustomJSPath, '', '', true, 'defer', true);
5967        }
5968    }
5969};
5970
5971// matomotm
5972tarteaucitron.services.matomotm = {
5973    "key": "matomotm",
5974    "type": "api",
5975    "name": "Matomo Tag Manager",
5976    "uri": "https://matomo.org/privacy/",
5977    "needConsent": true,
5978    "cookies": ['_pk.id', '_pk.sess'],
5979    "js": function () {
5980        "use strict";
5981        if (tarteaucitron.user.matomotmUrl === undefined) {
5982            return;
5983        }
5984
5985        var _mtm = window._mtm = window._mtm || [];
5986        _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
5987
5988        tarteaucitron.addScript(tarteaucitron.user.matomotmUrl);
5989    },
5990    "fallback": function () {
5991        "use strict";
5992        if (tarteaucitron.user.matomotmUrl === undefined) {
5993            return;
5994        }
5995
5996        if (tarteaucitron.parameters.softConsentMode === true) {
5997            return;
5998        }
5999
6000        var _mtm = window._mtm = window._mtm || [];
6001        _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
6002
6003        var _paq = window._paq = window._paq || [];
6004        _paq.push(['forgetCookieConsentGiven']);
6005        _paq.push(['deleteCookies']);
6006
6007        tarteaucitron.addScript(tarteaucitron.user.matomotmUrl);
6008
6009        var theCookies = document.cookie.split(';');
6010        for (var i = 1; i <= theCookies.length; i++) {
6011            var cookie = theCookies[i - 1].split('=');
6012            var cookieName = cookie[0].trim();
6013
6014            // if cookie starts like a matomo one, register it
6015            if (cookieName.indexOf('_pk_') === 0) {
6016                tarteaucitron.services.matomotm.cookies.push(cookieName);
6017            }
6018        }
6019        tarteaucitron.cookie.purge(tarteaucitron.services.matomotm.cookies);
6020    }
6021};
6022
6023
6024// Hotjar
6025tarteaucitron.services.hotjar = {
6026    "key": "hotjar",
6027    "type": "analytic",
6028    "name": "Hotjar",
6029    "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
6030    "needConsent": true,
6031    "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjid"],
6032    "js": function () {
6033        "use strict";
6034        if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
6035            return;
6036        }
6037        window.hj = window.hj || function () {
6038            (window.hj.q = window.hj.q || []).push(arguments)
6039        };
6040        window._hjSettings = {
6041            hjid: tarteaucitron.user.hotjarId,
6042            hjsv: tarteaucitron.user.HotjarSv
6043        };
6044        var uri = 'https://static.hotjar.com/c/hotjar-';
6045        var extension = '.js?sv=';
6046        tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
6047    }
6048};
6049
6050// bing ads universal event tracking
6051tarteaucitron.services.bingads = {
6052    'key': 'bingads',
6053    'type': 'ads',
6054    'name': 'Bing Ads Universal Event Tracking',
6055    'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
6056    'needConsent': true,
6057    'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
6058    'js': function () {
6059        'use strict';
6060
6061        if (tarteaucitron.user.bingadsID === undefined) {
6062            return;
6063        }
6064
6065        window.uetq = window.uetq || [];
6066
6067        tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
6068            var bingadsCreate = { ti: tarteaucitron.user.bingadsID };
6069
6070            if ('bingadsStoreCookies' in tarteaucitron.user) {
6071                bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
6072            }
6073
6074            bingadsCreate.q = window.uetq;
6075            window.uetq = new UET(bingadsCreate);
6076            window.uetq.push('pageLoad');
6077
6078            if (typeof tarteaucitron.user.bingadsMore === 'function') {
6079                tarteaucitron.user.bingadsMore();
6080            }
6081        });
6082    },
6083    "fallback": function () {
6084        if (tarteaucitron.parameters.bingConsentMode === true) {
6085            if (tarteaucitron.parameters.softConsentMode === false) {
6086                this.js();
6087            }
6088        }
6089    }
6090};
6091
6092//Matterport
6093tarteaucitron.services.matterport = {
6094    "key": "matterport",
6095    "type": "other",
6096    "name": "Matterport",
6097    "uri": "https://matterport.com/es/legal/privacy-policy/",
6098    "needConsent": true,
6099    "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
6100    "js": function () {
6101        "use strict";
6102        tarteaucitron.fallback(['matterport'], function (x) {
6103            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Matterport iframe',
6104                matterport_id = tarteaucitron.getElemAttr(x, "matterportID"),
6105                matterport_width = tarteaucitron.getElemAttr(x, "width"),
6106                matterport_height = tarteaucitron.getElemAttr(x, "height"),
6107                styleAttr = "",
6108                matterport_parameters = tarteaucitron.getElemAttr(x, "parameters"),
6109                matterport_allowfullscreen = tarteaucitron.getElemAttr(x, 'allowfullscreen'),
6110                matterport_frame;
6111
6112            if (matterport_id === "") {
6113                return "";
6114            }
6115            if (matterport_width !== "") {
6116                styleAttr += 'width:' + tarteaucitron.getStyleSize(matterport_width) + ';';
6117            }
6118            if (matterport_height !== undefined) {
6119                styleAttr += 'height:' + tarteaucitron.getStyleSize(matterport_height) + ';';
6120            }
6121            if (matterport_parameters === "") {
6122                return "";
6123            }
6124
6125            matterport_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '"' + (matterport_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
6126            return matterport_frame;
6127        });
6128    },
6129    "fallback": function () {
6130        "use strict";
6131        var id = 'matterport';
6132        tarteaucitron.fallback(['matterport'], function (elem) {
6133            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
6134            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
6135            return tarteaucitron.engage(id);
6136        });
6137    }
6138};
6139
6140// Adform
6141tarteaucitron.services.adform = {
6142    "key": "adform",
6143    "type": "ads",
6144    "name": "Adform",
6145    "uri": "https://site.adform.com/privacy-center/overview/",
6146    "needConsent": true,
6147    "cookies": [],
6148    "js": function () {
6149        "use strict";
6150
6151        if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
6152            return;
6153        }
6154
6155        window._adftrack = {
6156            pm: tarteaucitron.user.adformpm,
6157            divider: encodeURIComponent('|'),
6158            pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
6159        };
6160
6161        tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
6162    }
6163};
6164
6165// Active Campaign
6166tarteaucitron.services.activecampaign = {
6167    "key": "activecampaign",
6168    "type": "ads",
6169    "name": "Active Campaign",
6170    "uri": "https://www.activecampaign.com/privacy-policy/",
6171    "needConsent": true,
6172    "cookies": [],
6173    "js": function () {
6174        "use strict";
6175        if (tarteaucitron.user.actid === undefined) {
6176            return;
6177        }
6178
6179        window.trackcmp_email = '';
6180
6181        tarteaucitron.addScript('https://trackcmp.net/visit?actid=' + tarteaucitron.user.actid + '&e=' + encodeURIComponent(trackcmp_email) + '&r=' + encodeURIComponent(document.referrer) + '&u=' + encodeURIComponent(window.location.href));
6182    }
6183};
6184
6185// tawk.to
6186tarteaucitron.services.tawkto = {
6187    "key": "tawkto",
6188    "type": "support",
6189    "name": "Tawk.to chat",
6190    "uri": "https://www.tawk.to/data-protection/",
6191    "needConsent": true,
6192    "cookies": [],
6193    "js": function () {
6194        "use strict";
6195        if (tarteaucitron.user.tawktoId === undefined) {
6196            return;
6197        }
6198
6199        tarteaucitron.user.tawktoWidgetId = tarteaucitron.user.tawktoWidgetId || 'default';
6200
6201        window.Tawk_API = window.Tawk_API || {};
6202        window.Tawk_LoadStart = new Date();
6203
6204        tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/' + tarteaucitron.user.tawktoWidgetId);
6205    }
6206
6207};
6208
6209// getquanty
6210tarteaucitron.services.getquanty = {
6211    "key": "getquanty",
6212    "type": "analytic",
6213    "name": "GetQuanty",
6214    "uri": "https://www.getquanty.com/mentions-legales/",
6215    "needConsent": true,
6216    "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid', 'cluid', 'eqy_company', 'cluid', 'gq_utm', '_jsuid'],
6217    "js": function () {
6218        "use strict";
6219        if (tarteaucitron.user.getguanty === undefined) {
6220            return;
6221        }
6222
6223        if (tarteaucitron.user.getquantyAlreadyLoaded !== undefined) {
6224            return;
6225        }
6226
6227        tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
6228    },
6229    "fallback": function () {
6230        "use strict";
6231        if (tarteaucitron.user.getguanty === undefined) {
6232            return;
6233        }
6234
6235        tarteaucitron.user.getquantyAlreadyLoaded = true;
6236
6237        tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&notrack=1');
6238    }
6239};
6240
6241// emolytics
6242tarteaucitron.services.emolytics = {
6243    "key": "emolytics",
6244    "type": "analytic",
6245    "name": "Emolytics",
6246    "uri": "https://www.emolytics.com/main/privacy-policy.php",
6247    "needConsent": true,
6248    "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
6249    "js": function () {
6250        "use strict";
6251        if (tarteaucitron.user.emolyticsID === undefined) {
6252            return;
6253        }
6254        var scriptEmolytics = document.createElement('script');
6255        scriptEmolytics.text = 'var getsmily_id="' + tarteaucitron.user.emolyticsID + '";';
6256        document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
6257        tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
6258    }
6259};
6260
6261// youtubeapi
6262tarteaucitron.services.youtubeapi = {
6263    "key": "youtubeapi",
6264    "type": "video",
6265    "name": "Youtube (Js API)",
6266    "uri": "https://policies.google.com/privacy",
6267    "needConsent": true,
6268    "cookies": [],
6269    "js": function () {
6270        "use strict";
6271        tarteaucitron.addScript('https://www.youtube.com/player_api');
6272    }
6273};
6274
6275// Facil'ITI
6276tarteaucitron.services.faciliti = {
6277    "key": "faciliti",
6278    "type": "other",
6279    "name": "Facil'ITI",
6280    "uri": "https://www.facil-iti.com/legal-terms/",
6281    "needConsent": true,
6282    "cookies": ['FACIL_ITI'],
6283    "js": function () {
6284        "use strict";
6285        if (tarteaucitron.user.facilitiID === undefined) {
6286            return;
6287        }
6288
6289        (function () {
6290            var fs = document.createElement("script");
6291            fs.setAttribute("src", "https://cdn.facil-iti.app/tags/faciliti-tag.min.js");
6292            fs.dataset.applicationIdentifier = tarteaucitron.user.facilitiID;
6293            document.head.appendChild(fs);
6294        }());
6295    }
6296};
6297
6298// userlike
6299tarteaucitron.services.userlike = {
6300    "key": "userlike",
6301    "type": "support",
6302    "name": "Userlike",
6303    "uri": "https://www.userlike.com/en/terms#privacy-policy",
6304    "needConsent": true,
6305    "cookies": ['uslk_s', 'uslk_e'],
6306    "js": function () {
6307        "use strict";
6308        if (tarteaucitron.user.userlikeKey === undefined) {
6309            return;
6310        }
6311        tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
6312    }
6313};
6314
6315// adobeanalytics
6316tarteaucitron.services.adobeanalytics = {
6317    "key": "adobeanalytics",
6318    "type": "analytic",
6319    "name": "Adobe Analytics",
6320    "uri": "https://www.adobe.com/privacy/policy.html",
6321    "needConsent": true,
6322    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
6323    "js": function () {
6324        "use strict";
6325        if (tarteaucitron.user.adobeanalyticskey === undefined) {
6326            return;
6327        }
6328        tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
6329    }
6330};
6331
6332// woopra customer journey analytics
6333tarteaucitron.services.woopra = {
6334    'key': 'woopra',
6335    'type': 'analytic',
6336    'name': 'Woopra Customer Journey Analytics',
6337    'uri': 'https://www.woopra.com/privacy',
6338    'needConsent': true,
6339    'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
6340    'js': function () {
6341        'use strict';
6342
6343        if (tarteaucitron.user.woopraDomain === undefined) {
6344            return;
6345        }
6346
6347        (function () {
6348            var t, i, e, n = window, o = document, a = arguments, s = "script", r = ["config", "track", "identify", "visit", "push", "call", "trackForm", "trackClick"], c = function () { var t, i = this; for (i._e = [], t = 0; r.length > t; t++)(function (t) { i[t] = function () { return i._e.push([t].concat(Array.prototype.slice.call(arguments, 0))), i } })(r[t]) }; for (n._w = n._w || {}, t = 0; a.length > t; t++)n._w[a[t]] = n[a[t]] = n[a[t]] || new c; i = o.createElement(s), i.async = 1, i.src = "//static.woopra.com/js/w.js", e = o.getElementsByTagName(s)[0], e.parentNode.insertBefore(i, e)
6349        })("woopra");
6350
6351        woopra.config({
6352            domain: tarteaucitron.user.woopraDomain
6353        });
6354        woopra.track();
6355    }
6356};
6357
6358// ausha
6359tarteaucitron.services.ausha = {
6360    key: "ausha",
6361    type: "video",
6362    name: "Ausha",
6363    uri: "https://www.ausha.co/protection-personal-data/",
6364    needConsent: true,
6365    cookies: [],
6366    js: function () {
6367        "use strict";
6368        tarteaucitron.fallback(['ausha_player'], function (x) {
6369            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Ausha iframe',
6370                player_height = tarteaucitron.getElemAttr(x, 'data-height'),
6371                podcast_id = tarteaucitron.getElemAttr(x, 'data-podcast-id'),
6372                player_id = tarteaucitron.getElemAttr(x, 'data-player-id'),
6373                playlist = tarteaucitron.getElemAttr(x, 'data-playlist'),
6374                useshowid = tarteaucitron.getElemAttr(x, 'data-useshowid'),
6375                color = tarteaucitron.getElemAttr(x, 'data-color');
6376
6377            if (podcast_id === "") {
6378                return "";
6379            }
6380
6381            var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
6382
6383            if (useshowid == "1") {
6384                src = 'https://player.ausha.co/index.html?showId=' + podcast_id + '&v=3';
6385            }
6386
6387            if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
6388            if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
6389            if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
6390
6391            return '<iframe title="' + frame_title + '" id="' + player_id + '" loading="lazy" style="width:100%;height:' + tarteaucitron.getStyleSize(player_height) + ';" src="' + src + '"></iframe>';
6392        });
6393
6394        tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
6395    },
6396    fallback: function () {
6397        "use strict";
6398        tarteaucitron.fallback(['ausha_player'], function (elem) {
6399            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-height'));
6400            return tarteaucitron.engage('ausha');
6401        });
6402    }
6403};
6404
6405// visiblee
6406tarteaucitron.services.visiblee = {
6407    key: "visiblee",
6408    type: "analytic",
6409    name: "Visiblee",
6410    uri: "https://confidentiality.visiblee.io/fr/confidentialite",
6411    needConsent: true,
6412    cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_" + tarteaucitron.user.visibleedomain, "reload_" + tarteaucitron.user.visibleedomain],
6413    js: function () {
6414        "use strict";
6415
6416        if (tarteaucitron.user.visibleeclientid === undefined) {
6417            return;
6418        }
6419        tarteaucitron.addScript('//www.link-page.info/tracking_' + tarteaucitron.user.visibleeclientid + '.js', 'visiblee');
6420    }
6421};
6422
6423// bandcamp
6424tarteaucitron.services.bandcamp = {
6425    key: "bandcamp",
6426    type: "video",
6427    name: "Bandcamp",
6428    uri: "https://bandcamp.com",
6429    readmoreLink: "https://bandcamp.com/privacy",
6430    needConsent: true,
6431    cookies: ['client_id', 'BACKENDID', '_comm_playlist'],
6432    js: function () {
6433        "use strict";
6434        tarteaucitron.fallback(['bandcamp_player'], function (x) {
6435            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Bandcamp iframe',
6436                album_id = tarteaucitron.getElemAttr(x, "albumID"),
6437                bandcamp_width = tarteaucitron.getElemAttr(x, "width"),
6438                bandcamp_height = tarteaucitron.getElemAttr(x, "height"),
6439                styleAttr = "",
6440                attrs = ["size", "bgcol", "linkcol", "artwork", "minimal", "tracklist", "package", "transparent"],
6441                params = attrs.filter(function (a) {
6442                    return tarteaucitron.getElemAttr(x, a) !== "";
6443                }).map(function (a) {
6444                    if (a && a.length > 0) return a + "=" + tarteaucitron.getElemAttr(x, a);
6445                }).join("/");
6446
6447            if (album_id === "") {
6448                return "";
6449            }
6450
6451            if (bandcamp_width !== "") {
6452                styleAttr += 'width:' + tarteaucitron.getStyleSize(bandcamp_width) + ';';
6453            }
6454            if (bandcamp_height !== "") {
6455                styleAttr += 'height:' + tarteaucitron.getStyleSize(bandcamp_height) + ';';
6456            }
6457
6458            var src = 'https://bandcamp.com/EmbeddedPlayer/album=' + album_id + '/' + params;
6459
6460            return '<iframe title="' + frame_title + '" src="' + src + '" style="' + styleAttr + '" allowfullscreen seamless></iframe>';
6461        });
6462    },
6463    fallback: function () {
6464        "use strict";
6465        tarteaucitron.fallback(['bandcamp_player'], function (elem) {
6466            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
6467            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
6468            return tarteaucitron.engage('bandcamp');
6469        });
6470    }
6471};
6472
6473// Discord Widget
6474tarteaucitron.services.discord = {
6475    "key": "discord",
6476    "type": "social",
6477    "name": "Discord (Server Widget)",
6478    "needConsent": true,
6479    "cookies": ["__cfruid", "__dcfduid", "_ga", "_gcl_au", "OptanonConsent", "locale", "_gid"],
6480    "uri": "https://discord.com/privacy",
6481    "js": function () {
6482        "use strict";
6483        tarteaucitron.fallback(['discord_widget'], function (x) {
6484            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Discord iframe',
6485                id = tarteaucitron.getElemAttr(x, "guildID"),
6486                width = tarteaucitron.getElemAttr(x, "width"),
6487                height = tarteaucitron.getElemAttr(x, "height")
6488            var widgetURL = "https://discord.com/widget?id=" + id;
6489
6490            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6491
6492            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"" + widgetURL + "\"></iframe>";
6493        });
6494    },
6495    "fallback": function () {
6496        "use strict";
6497        var id = 'discord';
6498        tarteaucitron.fallback(['discord_widget'], function (elem) {
6499            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
6500            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
6501            return tarteaucitron.engage(id);
6502        });
6503    }
6504};
6505
6506// Google Maps
6507tarteaucitron.services.maps_noapi = {
6508    "key": "maps_noapi",
6509    "type": "other",
6510    "name": "Google Maps",
6511    "needConsent": true,
6512    "cookies": ["NID", "OGPC", "1P_JAR", "CONSENT"],
6513    "uri": "https://policies.google.com/privacy",
6514    "js": function () {
6515        "use strict";
6516        tarteaucitron.fallback(['googlemaps_embed'], function (x) {
6517            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google maps iframe',
6518                id = tarteaucitron.getElemAttr(x, "id"),
6519                width = tarteaucitron.getElemAttr(x, "width"),
6520                height = tarteaucitron.getElemAttr(x, "height")
6521            var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
6522
6523            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6524
6525            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "border:0;\" src=\"" + widgetURL + "\" allowfullscreen loading=\"lazy\"></iframe>";
6526        });
6527    },
6528    "fallback": function () {
6529        "use strict";
6530        var id = 'maps_noapi';
6531        tarteaucitron.fallback(['googlemaps_embed'], function (elem) {
6532            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
6533            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
6534            return tarteaucitron.engage(id);
6535        });
6536    }
6537};
6538
6539// hCaptcha
6540tarteaucitron.services.hcaptcha = {
6541    "key": "hcaptcha",
6542    "type": "other",
6543    "name": "hCaptcha",
6544    "needConsent": true,
6545    "cookies": [],
6546    "uri": "https://www.hcaptcha.com/privacy",
6547    "js": function () {
6548        "use strict";
6549        tarteaucitron.fallback(["h-captcha"], '');
6550        tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
6551    },
6552    "fallback": function () {
6553        "use strict";
6554        var id = "hcaptcha";
6555        tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
6556    }
6557};
6558
6559// France Culture
6560tarteaucitron.services.fculture = {
6561    "key": "fculture",
6562    "type": "video",
6563    "name": "France Culture",
6564    "needConsent": true,
6565    "cookies": ["_gid", "didomi_token", "outbrain_cid_fetch", "xtvrn", "xtant", "YSC", "ABTasty", "xtan", "ABTastySession", "xtidc", "_ga", "VISITOR_INFO1_LIVE", "euconsent-v2", "v1st", "dmvk", "ts", "VISITOR_INFO1_LIVE", "YSC"],
6566    "uri": "https://www.radiofrance.com/politique-d-utilisation-des-cookies-sur-les-sites-internet-du-groupe-radio-france",
6567    "js": function () {
6568        "use strict";
6569        tarteaucitron.fallback(['fculture_embed'], function (x) {
6570            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'France culture iframe',
6571                id = tarteaucitron.getElemAttr(x, 'id'),
6572                width = tarteaucitron.getElemAttr(x, 'width'),
6573                height = tarteaucitron.getElemAttr(x, 'height');
6574
6575            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6576
6577            return "<iframe title=\"" + frame_title + "\" src=\"https://www.franceculture.fr/player/export-reecouter?content=" + id + "\" style=\"" + styleAttr + "\"></iframe>"
6578        });
6579    },
6580    "fallback": function () {
6581        "use strict";
6582        var id = "fculture";
6583        tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
6584    }
6585};
6586
6587// Acast
6588tarteaucitron.services.acast = {
6589    "key": "acast",
6590    "type": "video",
6591    "name": "Acast",
6592    "needConsent": true,
6593    "cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
6594    "uri": "https://www.acast.com/en/privacy",
6595    "js": function () {
6596        "use strict";
6597        tarteaucitron.fallback(['acast_embed'], function (x) {
6598            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Acast iframe',
6599                id = tarteaucitron.getElemAttr(x, 'id1'),
6600                id2 = tarteaucitron.getElemAttr(x, 'id2'),
6601                width = tarteaucitron.getElemAttr(x, 'width'),
6602                height = tarteaucitron.getElemAttr(x, 'height'),
6603                seek = tarteaucitron.getElemAttr(x, 'seek');
6604            var widgetURL = "https://embed.acast.com/" + id + "/" + id2 + "?seek=" + seek;
6605
6606            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6607
6608            return "<iframe title=\"" + frame_title + "\" src=\"" + widgetURL + "\" style=\"border: none; overflow: hidden;" + styleAttr + "\"></iframe>";
6609        });
6610    },
6611    "fallback": function () {
6612        "use strict";
6613        var id = "acast";
6614        tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
6615    }
6616};
6617
6618// Mixcloud
6619tarteaucitron.services.mixcloud = {
6620    "key": "mixcloud",
6621    "type": "video",
6622    "name": "Mixcloud",
6623    "needConsent": true,
6624    "cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
6625    "uri": "https://www.mixcloud.com/privacy/",
6626    "js": function () {
6627        "use strict";
6628        tarteaucitron.fallback(['mixcloud_embed'], function (x) {
6629            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Mixcloud iframe',
6630                id = tarteaucitron.getElemAttr(x, 'id'),
6631                hidecover = tarteaucitron.getElemAttr(x, 'hidecover'),
6632                mini = tarteaucitron.getElemAttr(x, 'mini'),
6633                light = tarteaucitron.getElemAttr(x, 'light'),
6634                width = tarteaucitron.getElemAttr(x, 'width'),
6635                height = tarteaucitron.getElemAttr(x, 'height');
6636
6637            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6638
6639            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://www.mixcloud.com/widget/iframe/?hide_cover=" + hidecover + "&mini=" + mini + "&light=" + light + "&feed=" + id + "\"></iframe>";
6640        });
6641    },
6642    "fallback": function () {
6643        "use strict";
6644        var id = "mixcloud";
6645        tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
6646    }
6647};
6648
6649// Google Agenda
6650tarteaucitron.services.gagenda = {
6651    "key": "gagenda",
6652    "type": "other",
6653    "name": "Google Agenda",
6654    "needConsent": true,
6655    "cookies": ["CONSENT", "NID"],
6656    "uri": "https://policies.google.com/privacy",
6657    "js": function () {
6658        "use strict";
6659        tarteaucitron.fallback(['gagenda_embed'], function (x) {
6660            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google agenda iframe',
6661                calendar_data = tarteaucitron.getElemAttr(x, 'data'),
6662                width = tarteaucitron.getElemAttr(x, 'width'),
6663                height = tarteaucitron.getElemAttr(x, 'height');
6664
6665            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6666
6667            return "<iframe title=\"" + frame_title + "\" loading=\"lazy\" style=\"" + styleAttr + "border-width:0\" src=\"https://www.google.com/calendar/embed?" + calendar_data + "\"></iframe>";
6668        });
6669    },
6670    "fallback": function () {
6671        "use strict";
6672        var id = "gagenda";
6673        tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
6674    }
6675};
6676
6677// Google Docs
6678tarteaucitron.services.gdocs = {
6679    "key": "gdocs",
6680    "type": "other",
6681    "name": "Google Docs",
6682    "needConsent": true,
6683    "cookies": ["CONSENT", "NID"],
6684    "uri": "https://policies.google.com/privacy",
6685    "js": function () {
6686        "use strict";
6687        tarteaucitron.fallback(['gdocs_embed'], function (x) {
6688            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google docs iframe',
6689                id = tarteaucitron.getElemAttr(x, 'id'),
6690                width = tarteaucitron.getElemAttr(x, 'width'),
6691                height = tarteaucitron.getElemAttr(x, 'height');
6692
6693            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6694
6695            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/document/d/e/" + id + "/pub?embedded=true\"></iframe>";
6696        });
6697    },
6698    "fallback": function () {
6699        "use strict";
6700        var id = "gdocs";
6701        tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
6702    }
6703};
6704
6705// Google Sheets
6706tarteaucitron.services.gsheets = {
6707    "key": "gsheets",
6708    "type": "other",
6709    "name": "Google Sheets",
6710    "needConsent": true,
6711    "cookies": ["CONSENT", "NID"],
6712    "uri": "https://policies.google.com/privacy",
6713    "js": function () {
6714        "use strict";
6715        tarteaucitron.fallback(['gsheets_embed'], function (x) {
6716            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google sheets iframe',
6717                id = tarteaucitron.getElemAttr(x, 'id'),
6718                width = tarteaucitron.getElemAttr(x, 'width'),
6719                height = tarteaucitron.getElemAttr(x, 'height'),
6720                headers = tarteaucitron.getElemAttr(x, 'headers');
6721
6722            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6723
6724            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/spreadsheets/d/e/" + id + "/pubhtml?widget=true&amp;headers=" + headers + "\"></iframe>";
6725        });
6726    },
6727    "fallback": function () {
6728        "use strict";
6729        var id = "gsheets";
6730        tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
6731    }
6732};
6733
6734// Google Slides
6735tarteaucitron.services.gslides = {
6736    "key": "gslides",
6737    "type": "other",
6738    "name": "Google Slides",
6739    "needConsent": true,
6740    "cookies": ["CONSENT", "NID"],
6741    "uri": "https://policies.google.com/privacy",
6742    "js": function () {
6743        "use strict";
6744        tarteaucitron.fallback(['gslides_embed'], function (x) {
6745            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google slides iframe',
6746                id = tarteaucitron.getElemAttr(x, 'id'),
6747                width = tarteaucitron.getElemAttr(x, 'width'),
6748                height = tarteaucitron.getElemAttr(x, 'height'),
6749                autostart = tarteaucitron.getElemAttr(x, 'autostart'),
6750                loop = tarteaucitron.getElemAttr(x, 'loop'),
6751                delay = tarteaucitron.getElemAttr(x, 'delay');
6752
6753            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6754
6755            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/presentation/d/e/" + id + "/embed?start=" + autostart + "&loop=" + loop + "&delayms=" + delay + "\" allowfullscreen mozallowfullscreen webkitallowfullscreen></iframe>";
6756        });
6757    },
6758    "fallback": function () {
6759        "use strict";
6760        var id = "gslides";
6761        tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
6762    }
6763};
6764
6765// Google Forms
6766tarteaucitron.services.gforms = {
6767    "key": "gforms",
6768    "type": "other",
6769    "name": "Google Forms",
6770    "needConsent": true,
6771    "cookies": ["CONSENT", "NID"],
6772    "uri": "https://policies.google.com/privacy",
6773    "js": function () {
6774        "use strict";
6775        tarteaucitron.fallback(['gforms_embed'], function (x) {
6776            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google forms iframe',
6777                id = tarteaucitron.getElemAttr(x, 'id'),
6778                width = tarteaucitron.getElemAttr(x, 'width'),
6779                height = tarteaucitron.getElemAttr(x, 'height');
6780
6781            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6782
6783            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/forms/d/e/" + id + "/viewform?embedded=true\"></iframe>";
6784        });
6785    },
6786    "fallback": function () {
6787        "use strict";
6788        var id = "gforms";
6789        tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
6790    }
6791};
6792
6793// Google Optimize
6794tarteaucitron.services.goptimize = {
6795    "key": "goptimize",
6796    "type": "other",
6797    "name": "Google Optimize",
6798    "needConsent": true,
6799    "cookies": ["CONSENT", "NID"],
6800    "uri": "https://policies.google.com/privacy",
6801    "js": function () {
6802        "use strict";
6803
6804        if (tarteaucitron.user.goptimize === undefined) {
6805            return;
6806        }
6807
6808        tarteaucitron.addScript('https://www.googleoptimize.com/optimize.js?id=' + tarteaucitron.user.goptimize);
6809    }
6810};
6811
6812// Marketo munchkin
6813tarteaucitron.services.marketomunchkin = {
6814    "key": "marketomunchkin",
6815    "type": "api",
6816    "name": "Marketo munchkin",
6817    "uri": "https://documents.marketo.com/legal/cookies",
6818    "needConsent": true,
6819    "cookies": ['OptAnon', '_mkto_trk'],
6820    "js": function () {
6821        "use strict";
6822        if (tarteaucitron.user.marketomunchkinkey === undefined) {
6823            return;
6824        }
6825        var didInit = false;
6826        function initMunchkin() {
6827            if (didInit === false) {
6828                didInit = true;
6829                Munchkin.init(tarteaucitron.user.marketomunchkinkey);
6830            }
6831        }
6832        var s = document.createElement('script');
6833        s.type = 'text/javascript';
6834        s.async = true;
6835        s.src = '//munchkin.marketo.net/munchkin.js';
6836        s.onreadystatechange = function () {
6837            if (this.readyState == 'complete' || this.readyState == 'loaded') {
6838                initMunchkin();
6839            }
6840        };
6841        s.onload = initMunchkin;
6842        document.getElementsByTagName('head')[0].appendChild(s);
6843    }
6844};
6845
6846// outbrain
6847tarteaucitron.services.outbrain = {
6848    "key": "outbrain",
6849    "type": "ads",
6850    "name": "Outbrain",
6851    "uri": "https://www.outbrain.com/fr/advertisers/guidelines/",
6852    "needConsent": true,
6853    "cookies": [],
6854    "js": function () {
6855        "use strict";
6856
6857        tarteaucitron.addScript('https://widgets.outbrain.com/outbrain.js');
6858    }
6859};
6860
6861// affilae
6862tarteaucitron.services.affilae = {
6863    "key": "affilae",
6864    "type": "ads",
6865    "name": "Affilae",
6866    "uri": "https://affilae.com/en/privacy-cookie-policy/",
6867    "needConsent": true,
6868    "cookies": [],
6869    "js": function () {
6870        "use strict";
6871
6872        if (tarteaucitron.user.affilae === undefined) {
6873            return;
6874        }
6875
6876        window._ae = { "pid": tarteaucitron.user.affilae };
6877
6878        tarteaucitron.addScript('https://static.affilae.com/ae-v3.5.js');
6879    }
6880};
6881
6882// Canal-U.tv
6883tarteaucitron.services.canalu = {
6884    "key": "canalu",
6885    "type": "video",
6886    "name": "Canal-U.tv",
6887    "uri": "https://www.canal-u.tv/conditions-generales-utilisations",
6888    "needConsent": true,
6889    "cookies": [],
6890    "js": function () {
6891        "use strict";
6892        tarteaucitron.fallback(['canalu_player'], function (x) {
6893            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Canal-u.tv iframe',
6894                video_title = tarteaucitron.getElemAttr(x, "videoTitle"),
6895                frame_url = 'https://www.canal-u.tv/embed/' + video_title,
6896                width = tarteaucitron.getElemAttr(x, 'width'),
6897                height = tarteaucitron.getElemAttr(x, 'height');
6898
6899            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6900
6901            return '<iframe title="' + frame_title + '" src="' + frame_url + '?width=100%&amp;height=100%" ' +
6902                'style="' + styleAttr + '" ' +
6903                'allowfullscreen>' +
6904                '</iframe>';
6905        });
6906    },
6907    "fallback": function () {
6908        "use strict";
6909        tarteaucitron.fallback(['canalu_player'], function (elem) {
6910            return tarteaucitron.engage('canalu');
6911        });
6912    }
6913};
6914
6915// WebTV Normandie Université
6916tarteaucitron.services.webtvnu = {
6917    "key": "webtvnu",
6918    "type": "video",
6919    "name": "WebTV Normandie Université",
6920    "uri": "https://docs.google.com/document/d/1tpVclj4QBoAq1meSZgYrpNECwp7dbmb_IhICY3sTl9c/edit",
6921    "needConsent": true,
6922    "cookies": [],
6923    "js": function () {
6924        "use strict";
6925        tarteaucitron.fallback(['webtvnu_player'], function (x) {
6926            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'WebTV Normandie Université iframe',
6927                frame_url = 'https://webtv.normandie-univ.fr/permalink/' + tarteaucitron.getElemAttr(x, "videoID") + '/iframe/',
6928                width = tarteaucitron.getElemAttr(x, "width"),
6929                height = tarteaucitron.getElemAttr(x, "height");
6930
6931            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6932
6933            return '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="' + frame_url + '" allowfullscreen allow="autoplay"></iframe>';
6934        });
6935    },
6936    "fallback": function () {
6937        "use strict";
6938        tarteaucitron.fallback(['webtvnu_player'], function (elem) {
6939            return tarteaucitron.engage('webtvnu');
6940        });
6941    }
6942};
6943
6944// studizz
6945tarteaucitron.services.studizz = {
6946    "key": "studizz",
6947    "type": "support",
6948    "name": "Studizz Chatbot",
6949    "uri": "https://group.studizz.fr/",
6950    "needConsent": true,
6951    "cookies": [],
6952    "js": function () {
6953        "use strict";
6954
6955        if (tarteaucitron.user.studizzToken === undefined) {
6956            return;
6957        }
6958
6959        tarteaucitron.addScript('https://webchat.studizz.fr/webchat.js?token=' + tarteaucitron.user.studizzToken);
6960    }
6961};
6962
6963// meteofrance
6964tarteaucitron.services.meteofrance = {
6965    "key": "meteofrance",
6966    "type": "api",
6967    "name": "Météo France",
6968    "uri": "https://meteofrance.com/politique-de-confidentialite",
6969    "needConsent": true,
6970    "cookies": [],
6971    "js": function () {
6972        "use strict";
6973        tarteaucitron.fallback(['tac_meteofrance'], function (x) {
6974            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Météo France iframe',
6975                width = tarteaucitron.getElemAttr(x, "width"),
6976                height = tarteaucitron.getElemAttr(x, "height"),
6977                insee = tarteaucitron.getElemAttr(x, "data-insee"),
6978                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
6979
6980            var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : "");
6981
6982            return '<iframe title="' + frame_title + '" src="https://meteofrance.com/widget/prevision/' + insee + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
6983        });
6984    },
6985    "fallback": function () {
6986        "use strict";
6987        var id = 'meteofrance';
6988        tarteaucitron.fallback(['tac_meteofrance'], function (elem) {
6989            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width'));
6990            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height'));
6991            return tarteaucitron.engage(id);
6992        });
6993    }
6994};
6995
6996// m6meteo
6997tarteaucitron.services.m6meteo = {
6998    "key": "m6meteo",
6999    "type": "api",
7000    "name": "M6 Météo",
7001    "uri": "https://gdpr.m6tech.net/charte-confidentialite-m6-web-meteocity.pdf",
7002    "needConsent": true,
7003    "cookies": [],
7004    "js": function () {
7005        "use strict";
7006        tarteaucitron.fallback(['tac_m6meteo'], function (x) {
7007            var id = tarteaucitron.getElemAttr(x, "data-id");
7008
7009            tarteaucitron.addScript('https://www.meteocity.com/widget/js/'+id);
7010
7011            return '<div id="cont_'+id+'"><div id="spa_'+id+'"><a id="a_'+id+'" href="#"></a> ©<a target="_top" href="https://www.meteocity.com">M6météo</a></div></div>';
7012        });
7013    },
7014    "fallback": function () {
7015        "use strict";
7016        var id = 'm6meteo';
7017        tarteaucitron.fallback(['tac_m6meteo'], function (elem) {
7018
7019            return tarteaucitron.engage(id);
7020        });
7021    }
7022};
7023
7024// mtcaptcha
7025tarteaucitron.services.mtcaptcha = {
7026    "key": "mtcaptcha",
7027    "type": "api",
7028    "name": "MTcaptcha",
7029    "uri": "https://www.mtcaptcha.com",
7030    "readmoreLink": "https://www.mtcaptcha.com/faq-cookie-declaration",
7031    "needConsent": true,
7032    "cookies": ['mtv1Pulse','mtv1ConfSum','mtv1Pong'],
7033
7034    "js": function () {
7035
7036        if (tarteaucitron.user.mtcaptchaSitekey === undefined) {
7037            return;
7038        }
7039
7040        window.mtcaptchaConfig = {
7041            "sitekey": tarteaucitron.user.mtcaptchaSitekey
7042        };
7043
7044        tarteaucitron.addScript('https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js');
7045        tarteaucitron.addScript('https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js');
7046    }
7047};
7048
7049// Internet Archive / https://archive.org
7050tarteaucitron.services.archive = {
7051    "key": "archive",
7052    "type": "video",
7053    "name": "Internet Archive",
7054    "uri": "https://archive.org/about/terms.php",
7055    "needConsent": true,
7056    "cookies": ['abtest-identifier','donation-identifier'],
7057    "js": function () {
7058        "use strict";
7059        tarteaucitron.fallback(['archive_player'], function (x) {
7060            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Internet Archive iframe',
7061                video_id = tarteaucitron.getElemAttr(x, "data-videoID"),
7062                video_width = tarteaucitron.getElemAttr(x, "data-width"),
7063                video_height = tarteaucitron.getElemAttr(x, "data-height"),
7064                styleAttr = "",
7065                video_frame;
7066
7067            if (video_id === "") {
7068                return "";
7069            }
7070            if (video_width !== "") {
7071                styleAttr += 'width:' + tarteaucitron.getStyleSize(video_width) + ';';
7072            }
7073            if (video_height !== "") {
7074                styleAttr += 'height:' + tarteaucitron.getStyleSize(video_height) + ';';
7075            }
7076            video_frame = '<iframe title="' + frame_title + '" src="https://archive.org/embed/' + video_id + '" style="' + styleAttr + '" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
7077            return video_frame;
7078        });
7079    },
7080    "fallback": function () {
7081        "use strict";
7082        var id = 'archive';
7083        tarteaucitron.fallback(['archive_player'], function (elem) {
7084            elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-width'));
7085            elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-height'));
7086            return tarteaucitron.engage(id);
7087        });
7088    }
7089};
7090
7091// Gallica
7092tarteaucitron.services.gallica = {
7093    "key": "gallica",
7094    "type": "other",
7095    "name": "Gallica",
7096    "uri": "https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica",
7097    "needConsent": true,
7098    "cookies": ['dtCookie', 'dtLatC', 'dtPC', 'dtSa', 'rxVisitor', 'rxvt', 'xtvrn'],
7099    "js": function () {
7100        "use strict";
7101        tarteaucitron.fallback(['gallica_player'], function (x) {
7102            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Gallica iframe',
7103                src = tarteaucitron.getElemAttr(x, "data-src"),
7104                style = tarteaucitron.getElemAttr(x, "data-style"),
7105                frame;
7106            if (src === "") {
7107                return "";
7108            }
7109            frame = '<iframe title="' + frame_title + '" style="'+ style + '" src="' + src + '"></iframe>';
7110            return frame;
7111        });
7112    },
7113    "fallback": function () {
7114        "use strict";
7115        var id = 'gallica';
7116        tarteaucitron.fallback(['gallica_player'], function (elem) {
7117            elem.style = tarteaucitron.getElemAttr(elem,'data-style');
7118            return tarteaucitron.engage(id);
7119        });
7120    }
7121};
7122
7123// crisp
7124tarteaucitron.services.crisp = {
7125    "key": "crisp",
7126    "type": "
vendor: 4,394 bytes, lines 7126-7250
7126other",
7127    "name": "Crisp Chat",
7128    "uri": "https://help.crisp.chat/en/article/crisp-chatbox-cookie-ip-policy-1147xor/",
7129    "needConsent": false,
7130    "cookies": ['crisp-client', '__cfduid'],
7131    "js": function () {
7132        "use strict";
7133
7134        if (tarteaucitron.user.crispID === undefined) {
7135            return;
7136        }
7137
7138        window.$crisp = [];
7139        window.CRISP_WEBSITE_ID = tarteaucitron.user.crispID;
7140
7141        tarteaucitron.addScript('https://client.crisp.chat/l.js');
7142    }
7143};
7144
7145// microanalytics
7146tarteaucitron.services.microanalytics = {
7147    "key": "microanalytics",
7148    "type": "analytic",
7149    "name": "MicroAnalytic",
7150    "uri": "https://microanalytics.io/page/privacy",
7151    "needConsent": false,
7152    "cookies": [],
7153    "js": function () {
7154        "use strict";
7155
7156        if (tarteaucitron.user.microanalyticsID === undefined) {
7157            return;
7158        }
7159
7160        tarteaucitron.addScript('https://microanalytics.io/js/script.js', tarteaucitron.user.microanalyticsID, undefined, true, "data-host", "https://microanalytics.io");
7161    }
7162};
7163
7164// facebookcustomerchat
7165tarteaucitron.services.facebookcustomerchat = {
7166    "key": "facebookcustomerchat",
7167    "type": "social",
7168    "name": "Facebook (Customer Chat)",
7169    "uri": "https://www.facebook.com/policies/cookies/",
7170    "needConsent": true,
7171    "cookies": ['act','c_user','datr','dpr','presence','sb','wd','xs','/tr'],
7172    "js": function () {
7173        "use strict";
7174
7175        if (tarteaucitron.user.facebookChatID === undefined) {
7176            return;
7177        }
7178
7179        tarteaucitron.fallback(['fb-customerchat'], '');
7180        window.fbAsyncInit=function(){FB.init({appId:tarteaucitron.user.facebookChatID,autoLogAppEvents:!0,xfbml:!0,version:"v3.0"})};
7181        tarteaucitron.addScript('https://connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk/xfbml.customerchat.js', 'facebook-jssdk');
7182    },
7183    "fallback": function () {
7184        "use strict";
7185        var id = 'facebookcustomerchat';
7186        tarteaucitron.fallback(['fb-customerchat'], tarteaucitron.engage(id));
7187    }
7188};
7189
7190// weborama
7191tarteaucitron.services.weborama = {
7192    "key": "weborama",
7193    "type": "analytic",
7194    "name": "Weborama",
7195    "uri": "https://weborama.com/faq-cnil-avril-2021/",
7196    "needConsent": true,
7197    "cookies": [],
7198    "js": function () {
7199        "use strict";
7200        tarteaucitron.addScript('https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js');
7201    }
7202};
7203
7204// tiktok
7205tarteaucitron.services.tiktok = {
7206    "key": "tiktok",
7207    "type": "analytic",
7208    "name": "Tiktok",
7209    "uri": "https://www.tiktok.com/legal/tiktok-website-cookies-policy",
7210    "needConsent": true,
7211    "cookies": [],
7212    "js": function () {
7213        "use strict";
7214
7215        if (tarteaucitron.user.tiktokId === undefined) {
7216            return;
7217        }
7218
7219        !function (w, d, t) {
7220            w.TiktokAnalyticsObject = t;
7221            var ttq = w[t] = w[t] || [];
7222            ttq.methods = ["page", "track", "identify", "instances", "debug", "on", "off", "once", "ready", "alias", "group", "enableCookie", "disableCookie"], ttq.setAndDefer = function (t, e) {
7223                t[e] = function () {
7224                    t.push([e].concat(Array.prototype.slice.call(arguments, 0)))
7225                }
7226            };
7227            for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(ttq, ttq.methods[i]);
7228            ttq.instance = function (t) {
7229                for (var e = ttq._i[t] || [], n = 0; n < ttq.methods.length; n++) ttq.setAndDefer(e, ttq.methods[n]);
7230                return e
7231            }, ttq.load = function (e, n) {
7232                var i = "https://analytics.tiktok.com/i18n/pixel/events.js";
7233                ttq._i = ttq._i || {}, ttq._i[e] = [], ttq._i[e]._u = i, ttq._t = ttq._t || {}, ttq._t[e] = +new Date, ttq._o = ttq._o || {}, ttq._o[e] = n || {};
7234                var o = document.createElement("script");
7235                o.type = "text/javascript", o.async = !0, o.src = i + "?sdkid=" + e + "&lib=" + t;
7236                var a = document.getElementsByTagName("script")[0];
7237                a.parentNode.insertBefore(o, a)
7238            };
7239            ttq.load(tarteaucitron.user.tiktokId);
7240            ttq.page();
7241        }(window, document, 'ttq');
7242
7243        if (typeof tarteaucitron.user.tiktokMore === "function") {
7244            tarteaucitron.user.tiktokMore();
7245        }
7246    }
7247};
7248
7249// Klaviyo
7250tarteaucitron.services.klaviyo = {
7251    "key": "klaviyo",
7252    "type": "ads",
7253    "name": "Klaviyo",
7254    "uri": "https://help.klaviyo.com/hc/en-us/articles/360034666712-About-Cookies-in-Klaviyo",
7255    "needConsent": true,
7256    "cookies": ['__kla_id'],
7257    "js": function () {
7258        "use strict";
7259        if (tarteaucitron.user.klaviyoCompanyId === undefined) {
7260            return;
7261        }
7262        tarteaucitron.addScript('//static.klaviyo.com/onsite/js/klaviyo.js?company_id=' + tarteaucitron.user.klaviyoCompanyId);
7263    }
7264};

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