PageSourceSearch

https://www.spiral-poctefa.eu/libraries/tarteaucitronjs/tarteaucitron.services.js?tmky0r

js spiral-poctefa.eu collected 2026-10-09 02:08:30 UTC 266,979 bytes, 7,067 lines download raw bytes

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

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.