PageSourceSearch

https://www.trebeurden.fr/wp-content/plugins/nova-cookies/public/l…/tarteaucitron.services.js?ver=1.5.12

js trebeurden.fr collected 2026-10-01 12:59:43 UTC 271,988 bytes, 7,203 lines download raw bytes

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

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.