PageSourceSearch

https://www-actus.univ-ubs.fr/plugins/tarteaucitron/resources/js/tarteaucitron.services.js

js univ-ubs.fr collected 2026-09-24 09:14:19 UTC 270,111 bytes, 7,159 lines download raw bytes

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

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.