/*
* tagContainer Generator v33
* Copyright Commanders Act
* https://www.commandersact.com/fr/
* Generated: 2019-11-15 09:24:09 Europe/Paris
* ---
* Version : 8.02
* IDTC : 1
* IDS : 1495
*/
/*!compressed by YUI*/ if(typeof tC=="undefined"){if(typeof document.domain=="undefined"||typeof document.referrer=="undefined"){document=window.document}(function(n,l){var k,s,z=n.document,a=n.location,e=n.navigator,y=n.tC,w=n.$,I=Array.prototype.push,b=Array.prototype.slice,v=Array.prototype.indexOf,g=Object.prototype.toString,j=Object.prototype.hasOwnProperty,p=String.prototype.trim,c=function(K,L){return new c.fn.init(K,L,k)},C=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,r=/\S/,u=/\s+/,d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,x=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,A=/(?:^|:|,)(?:\s*\[)+/g,H=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,F=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,J=/^-ms-/,q=/-([\da-z])/gi,G=function(K,L){return(L+"").toUpperCase()},f={};c.fn=c.prototype={constructor:c,init:function(K,N,Q){var M,O,L,P;if(!K){return this}if(K.nodeType){this.context=this[0]=K;this.length=1;return this}if(typeof K==="string"){if(K.charAt(0)==="<"&&K.charAt(K.length-1)===">"&&K.length>=3){M=[null,K,null]}else{M=x.exec(K)}if(M&&(M[1]||!N)){if(M[1]){N=N instanceof c?N[0]:N;P=(N&&N.nodeType?N.ownerDocument||N:z);K=c.parseHTML(M[1],P,true);if(m.test(M[1])&&c.isPlainObject(N)){this.attr.call(K,N,true)}return c.merge(this,K)}else{O=z.getElementById(M[2]);if(O&&O.parentNode){if(O.id!==M[2]){return Q.find(K)}this.length=1;this[0]=O}this.context=z;this.selector=K;return this}}else{if(!N||N.tC){return(N||Q).find(K)}else{return this.constructor(N).find(K)}}}else{if(c.isFunction(K)){return Q.ready(K)}}if(K.selector!==l){this.selector=K.selector;this.context=K.context}return c.makeArray(K,this)},each:function(L,K){return c.each(this,L,K)},ready:function(K){c.ready.promise(K);return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var T,M,K,L,Q,R,P=arguments[0]||{},O=1,N=arguments.length,S=false;if(typeof P==="boolean"){S=P;P=arguments[1]||{};O=2}if(typeof P!=="object"&&!c.isFunction(P)){P={}}if(N===O){P=this;--O}for(;O]","i"),rchecked:/checked\s*(?:[^=]|=\s*.checked.)/i,containersLaunched:{}});c.extend({inArray:function(O,L,N){var K,M=Array.prototype.indexOf;if(L){if(M){return M.call(L,O,N)}K=L.length;N=N?N<0?Math.max(0,K+N):N:0;for(;N or is not found ! the file "+d+" is not implemented !","warn")}}}});tC.extend({getParamURL:function(p,b){if(typeof p==="undefined"){return""}p=p.toLowerCase();var n=new Array();if(!b){var o="";try{if(typeof top!="undefined"&&typeof top.document!="undefined"){o=top.document}}catch(h){}if(o===""){o=document}b=typeof o.location!="undefined"?o.location.href:""}b=b.replace(/%23/g,"#");var m=0;var d=b.indexOf("?");var c=b.indexOf("#");if(d!=-1){m=d}else{if(c!=-1){m=c}}var a="";if(m!=0){a=b.substring(m+1,b.length).split("#").join("&")}a=a.replace(/%3d/g,"=");var f=a.split("&");for(var g=0;gerror",a.message],"warn")}return this};tC.fn.resetCss=function(){this.each(function(a,b){tC(b).css({border:"none",background:"none",font:"none",margin:"none",padding:"none",top:"none",left:"none",buttom:"none",right:"none",width:"none",height:"none"})});return this};if(!tC.privacy){tC.extend({privacy:{reactived:null,id:null,version:null,categories:null,cookieData:null,init:function(){this.categories=tC.getCookie(this.getPCCN()).split(",");var a=tC.getCookie(this.getCN());this.cookieData=a.indexOf("@@@")>=0?a.split("@@@"):a.split(this.getCS())},set:function(a){this.settings=a},getCN:function(){return typeof tc_privacy_cookie_name!="undefined"?tc_privacy_cookie_name:"TC_OPTOUT"},activTag:function(e,c){var d=e.split(this.getCS());if(d.length>2){var b=d[2].split("|");for(var a=0;a0){var e=tC.privacy.catBlockPH.toString();if(tC.privacy.validRules("TH2")||(b==0&&g.indexOf(e)>-1&&this.categories.indexOf(e)===-1)||(b==1&&JSON.stringify(g)!=JSON.stringify(this.categories))){tC.pixelTrack.add(h+"/privacy-consent/?id_tc=1&site=1495&version="+d+"&id_privacy="+f+"&privacy_action="+c+"&list_categories="+j+"&tcpid="+tC.getCookie("TCPID")+"&rand="+Math.random())}}else{tC.pixelTrack.add(h+"/privacy-consent/?id_tc=1&site=1495&version="+d+"&id_privacy="+f+"&privacy_action="+c+"&list_categories="+j+"&tcpid="+tC.getCookie("TCPID")+"&rand="+Math.random())}};tC.privacy.hitCounter=function(a){tC.privacy.init();var b=parseInt(tC.privacy.cookieData[0]||1);b=(typeof tC.privacy.cookieData[2]!="undefined"&&tC.privacy.cookieData[2]=="")?+!b:b;var c=b==0?"https://privacy.commander1.com":"https://privacy.trustcommander.net";if(tC.privacy.catBlockPH&&tC.privacy.catBlockPH>0){if(tC.privacy.validRules("TH2")){tC.pixelTrack.add(c+"/privacy-consent/?id=1&site=1495&version="+tC.privacyVersion+"&id_privacy="+a+"&privacy_action=V&TCPID="+tC.getCookie("TCPID")+"&tc_optout="+b+"&rand="+Math.random())}}else{tC.pixelTrack.add(c+"/privacy-consent/?id=1&site=1495&version="+tC.privacyVersion+"&id_privacy="+a+"&privacy_action=V&TCPID="+tC.getCookie("TCPID")+"&tc_optout="+b+"&rand="+Math.random())}};tC.privacy.getPCCN=function(){return tC.privacy.getCN()+"_categories"};if(tC.getCookie("TCPID")==""){tC.setCookie("TCPID",tC.privacy.rand(),393,"/",tC.domain())}tC.extend({_R:{cR:function(a){tC.storage.set("tC_Sync",a);tC.pixelTrack.add("https://engage.commander1.com/reach?tc_s=1495")},rR:function(){if(tC.storage.has()){var a=new Date().getTime();var b=tC.storage.get("tC_Sync")||0;b=parseInt(b);if(b==0||a-b>604800000){this.cR(a)}}}}});tC.onDomReady(function(){tC._R.rR()});tC.extend({crypt:function(d){var e="",a;for(var b=0;b=32&&f<=126){a=f+26;if(a>126){a=(a%126)+32-1}e+=String.fromCharCode(a)}else{e+=d.charAt(b)}}return e},uncrypt:function(c){var d="",a;for(var b=0;b=32&&c.charCodeAt(b)<=126){if(c.charCodeAt(b)>=(32+26)&&c.charCodeAt(b)<=126){a=c.charCodeAt(b)-26}else{a=c.charCodeAt(b)-26+(126-32)+1}d+=String.fromCharCode(a)}else{d+=c.charAt(b)}}return d}});tC.extend({match:function(a,d,b){try{return(a.match(new RegExp(d,b)))}catch(c){tC.log("the tC.match error ! message : "+c.message,"data : "+a,"p : "+d,"flag : "+b,"warn")}}});tC.extend({addClass:function(f){var h,d,b,e,g,j,a;if(tC.isFunction(f)){return this.each(function(c){jQuery(this).addClass(f.call(this,c,this.className))})}if(f&&typeof f==="string"){h=f.split(core_rspace);for(d=0,b=this.length;d=0){f=f.replace(" "+e[j]+" "," ")}}g.className=h?jQuery.trim(f):""}}}return this},toggleClass:function(d,b){var c=typeof d,a=typeof b==="boolean";if(tC.isFunction(d)){return this.each(function(e){tC(this).toggleClass(d.call(this,e,this.className,b),b)})}return this.each(function(){if(c==="string"){var g,f=0,e=jQuery(this),h=b,j=d.split(core_rspace);while((g=j[f++])){h=a?h:!e.hasClass(g);e[h?"addClass":"removeClass"](g)}}else{if(c==="undefined"||c==="boolean"){if(this.className){jQuery._data(this,"__className__",this.className)}this.className=this.className||d===false?"":jQuery._data(this,"__className__")||""}}})},hasClass:function(a){var d=" "+a+" ",c=0,b=this.length;for(;c=0){return true}}return false}});if(tC.isCurrentVersion()){if(typeof tC.dedup_done=="undefined"||tC.dedup_done===false){tC.extend({dedup:{crypted:true,LeA:false,LeAD:false,LeC:false,LeCD:false,LeV:false,LeVD:false,FeA:false,FeAD:false,FeC:false,FeCD:false,FeV:false,FeVD:false,AeA:[],AeC:[],AeV:[],tc_hdoc:document,brands:null,d_tags:null,tc_scompshop:null,tc_scomnet:null,tc_ssearchv:null,tc_ssearche:null,cj_max:null,enable_dedup:null,ch_A:[],ch_C:[],ch_V:[],ch_0:null,detected_channel:"",detected_source:"",tc_scookcj_name:"tc_cj_v2",tc_scookcj_path:"/",tc_scookcj_days:365,tc_dm:tC.domain(),tc_scooksda_name:"tc_sdauid",tc_scooksda_path:"/",setup:function(b,a){this[b]=a;return this},init:function(){if(!this.enable_dedup){return}var v=this,q="",a="",h="",m=0;v.cj=v.getCj();for(i in v.ch_0){var b=v.ch_0[i];if(b.t=="c"||b.t=="a"){v.ch_C.push(b)}if(b.t=="v"||b.t=="a"){v.ch_V.push(b)}if(b.t!="0"&&typeof b.l!="undefined"){v.ch_A.push(b)}}try{v.tc_hdoc=top.document}catch(o){}if(tC.getCookie("TCID")==""){tC.setCookie("TCID",v.rand(),365,"/","."+v.tc_dm)}if(tC.getCookie("TCSESSION")==""){tC.setCookie("TCSESSION",v.rand(),0,"/","."+v.tc_dm)}var n=tC.getParamURL;if((n("utm_medium")!=""&&n("utm_medium").match(/^retargeting$/))){q={l:"Retargeting"};var l=n("utm_source");a=l}if((n("utm_medium")!=""&&n("utm_medium").match(/^display$/))){q={l:"Display"};var l=n("utm_source");a=l}if((n("GCLID")!=""&&n("GCLID").match(/^.*$/))){q={l:"SEM"};var l=n("cid");a=l}if((n("utm_medium")!=""&&n("utm_medium").match(/^affiliate$/))){q={l:"Affiliation"};var l=n("utm_source");a=l}if((n("utm_medium")!=""&&n("utm_medium").match(/^email$/))){q={l:"email"};var l=n("utm_source");a=l}if(typeof q.l!="undefined"){q=q.l}if(typeof q!=="undefined"&&q!=null&&q!=""){m=1}if(typeof a!=="undefined"&&a!=null&&a!=""){m=1}if(!m){var p=v.meta_origin(v.tc_hdoc.referrer);if(p){q=(p.split("@@@"))[0];a=(p.split("@@@"))[1]}}if(tC.dedup.redirect!="1"){if(q){var d=q+"@@@"+a+"@@@"+new Date().getTime()+"@@@C",k=v.cj;if(k.length>0){var t=k[k.length-1],r=t.split("@@@"),f=typeof r[0]!="undefined"?r[0]:"",j=typeof r[1]!="undefined"?r[1]:"",u=typeof r[3]!="undefined"?r[3].replace("CLICK","C"):"";if(f==q&&j==a&&u=="C"){v.cj.pop()}}v.setCj(d);if("lahalle.commander1.com"!=""&&"lahalle.commander1.com".indexOf("commander1.com")!==-1){tC.pixelTrack.add("https://lahalle.commander1.com/dc3/?chn="+q+"&src="+a+"&type=C&limit="+tC.dedup.cj_max+"&rand="+Math.random(),"img")}tC.dedup.detected_channel=q;tC.dedup.detected_source=a}}else{tC.setCookie("TCREDIRECT","0",0,"/",tC.domain())}},getChannel:function(f){var c=f.t,b=tC.dedup,e;if(c=="C"||c=="click"){e=b.ch_C}else{if(c=="V"||c=="view"){e=b.ch_V}else{if(c=="A"||c=="all"){e=b.ch_A}else{e=b.ch_0}}}if(typeof f.l!="undefined"){f.l=f.l.replace("DIRECT_ACCESS","Direct Access").replace("EXTERNAL_LINK","External links");if(f.l=="COM"){f.l="Community websites"}if(f.l=="CSS"){f.l="Comparison shopping services"}if(f.l=="BRAND"){f.l="Brand"}}for(var a in e){if((typeof f.i!="undefined"&&parseInt(f.i)==parseInt(e[a].i))||(typeof f.l!="undefined"&&typeof e[a].l!="undefined"&&f.l.toLowerCase()==e[a].l.toLowerCase())){return e[a]}}return false},rand:function(){var a=new Date();return""+a.getYear()+(a.getMonth()+1)+a.getDay()+a.getHours()+a.getMinutes()+a.getSeconds()+parseInt(Math.random()*12345678942)},getCj:function(){var a=this.crypted?tC.uncrypt(tC.getCookie(this.tc_scookcj_name)):tC.getCookie(this.tc_scookcj_name);return a==""?[]:a.split("|||")},setCj:function(b){var c=this.cj;if(tC.isArray(b)){for(var a in b){c.push(b[a])}}else{c.push(b)}while(c.length>this.cj_max){c.shift()}this.cj=c;tC.setCookie(this.tc_scookcj_name,(this.crypted?tC.crypt(c.join("|||")):c.join("|||")),this.tc_scookcj_days,this.tc_scookcj_path,this.tc_dm)},removeCj:function(){tC.setCookie(this.tc_scookcj_name,"",0,this.tc_scookcj_path,this.tc_dm)},match:function(b,c,a){if(b&&b!="ignored"&&a!=""){switch(b){case"equals":if(a==c){return true}break;case"different":if(a!=c){return true}break;case"contains":if(tC.match(a,c)){return true}break;case"notcontains":if(!tC.match(a,c)){return true}break;default:return true}}else{return true}return false},contains_channel:function(c){for(var a in c.e){var b=c.e[a];if(typeof b=="object"){if(typeof b.c!="undefined"&&typeof c.c!="undefined"&&b.c.toLowerCase()==c.c.toLowerCase()&&this.match(c.m,c.s,b.d)){return true}}}return false},ValidRules:function(id_tag){var rules=typeof this.d_tags[id_tag]!="undefined"?this.d_tags[id_tag]:false,valid_rules=true,self=this;if(!rules){return true}state_rules_string="";var tab_length=rules.length;for(var i=0;i=0;d--){var k=f[d].split("@@@");if(k.length!=4){}else{var g=k[0],a=k[1],c=l.age(k[2]),c=c==""?false:c,b=k[3].replace("VIEW","V").replace("CLICK","C"),h=l.getChannel({l:g,t:"C"}),j=l.getChannel({l:g,t:"V"});if((h||j)&&c!==false){if(h!=false&&b=="C"&&parseFloat(c)<=parseFloat(h.a)){if(!l.LeC){l.LeC=g;l.LeCD=a}l.FeC=g;l.FeCD=a;l.AeC.push({c:g,d:a});if(!l.LeA||e=="V"){l.LeA=g;l.LeAD=a;e="C"}l.FeA=g;l.FeAD=a;l.AeA.push({c:g,d:a})}if(j!=false&&b=="V"&&parseFloat(c)<=parseFloat(j.b)){if(!l.LeV){l.LeV=g;l.LeVD=a}l.FeV=g;l.FeVD=a;l.AeV.push({c:g,d:a});if(!l.LeA){l.LeA=g;l.LeAD=a;e="V"}l.FeA=g;l.FeAD=a;l.AeA.push({c:g,d:a})}}}}}}tC.dedup.mergeObjects=tC.dedup.mergeObjects||function(d,b){tC.dedup[d]=tC.dedup[d]||{};var c=Object.keys(b);for(var a=0;a0){if(typeof c[1]=="undefined"){tC.event[d](c[0])}else{tC.event[d](c[0],c[1])}}})},reload:function(b,a){if(typeof a!="boolean"){a=false}if(!a){tC.container_position=0;tC.reload_events=true}this.load(arguments[0],true)},datalayer:function(){if(typeof tc_vars=="undefined"){window.tc_vars=[]}var a="order_gift_name|order_payment_express|env_work|env_channel|env_language|env_country|env_dnt|env_template|user_name|user_firstname|user_email_hash|user_birthday|user_street|user_cuserid|user_id|user_category|user_gender|user_date|user_day|user_hour|user_email_optin|user_recency|user_frequency|user_loyaltycard|user_multichannel|user_localization|user_segment|user_store|user_logged|user_age|user_optin|user_postalcode|user_city|user_country|user_email|category_id_magento|page_cat1|page_cat2|page_cat3|page_cat4|page_name|page_number|page_content_type|page_virtual_name|page_error|product_article_sku|product_id_ref|product_id_magento|product_sku|product_quantity|product_name|product_category|product_type|product_family|product_model|product_variant|product_unitprice_ati|product_discount_ati|product_unitprice_tf|product_discount_tf|product_discount|product_currency|product_trademark|product_url_page|product_url_picture|product_rating|product_instock|list_products|search_keywords|search_page_number|search_results_number|search_redirect|search_filters|order_delivery_time|funnel_type|order_gift|order_gift_id|order_id|basket_id|order_amount_ati_without_sf|order_amount_ati_with_sf|order_discount_ati|order_ship_ati|order_amount_tf_without_sf|order_amount_tf_with_sf|order_discount_tf|order_ship_tf|order_newcustomer|order_tax|order_payment_methods|order_shipping_method|order_status|order_promo_code|order_promo_code_label|order_promo_code_value_ati|order_currency|order_email|order_email_optin|order_products_number|order_products|checkout_step".split("|");for(var b in a){if(!tc_vars.hasOwnProperty(a[b])){tc_vars[a[b]]=""}}window.top.postMessage("TC.EX.EXT_VARS.RELOAD","*")},datastorage:function(){window.top.postMessage("TC.EX.DATASTORAGE.RELOAD","*")},deduplication:function(){if(tC.dedup){tC.dedup.LeA=false;tC.dedup.LeAD=false;tC.dedup.LeC=false;tC.dedup.LeCD=false;tC.dedup.LeV=false;tC.dedup.LeVD=false;tC.dedup.FeA=false;tC.dedup.FeAD=false;tC.dedup.FeC=false;tC.dedup.FeCD=false;tC.dedup.FeV=false;tC.dedup.FeVD=false;tC.dedup.AeA=[];tC.dedup.AeC=[];tC.dedup.AeV=[];tC.dedup.setEventList()}},eventlisteners:function(){},internalvars:function(){var a=tC.internalvars_1495.listVar;if(a.length>0){for(var b=0;b=0){var debutcat=ow_utm_url.indexOf("#utm_medium")+12;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.utm_medium=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var461();tC.internalvars_1495.listVar.push(461);tC.internalvars_1495.initiators.var462=function(){tC.internalvars.utm_source="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#utm_source")>=0){var debutcat=ow_utm_url.indexOf("#utm_source")+12;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.utm_source=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var462();tC.internalvars_1495.listVar.push(462);tC.internalvars_1495.initiators.var463=function(){tC.internalvars.utm_campaign="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#utm_campaign")>=0){var debutcat=ow_utm_url.indexOf("#utm_campaign")+14;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.utm_campaign=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var463();tC.internalvars_1495.listVar.push(463);tC.internalvars_1495.initiators.var341=function(){tC.internalvars.maindomain='';var tmp1=window.location.hostname.split('.');tC.internalvars.maindomain=tmp1[tmp1.length-2]+'.'+tmp1[tmp1.length-1];}
tC.internalvars_1495.initiators.var341();tC.internalvars_1495.listVar.push(341);tC.internalvars_1495.initiators.var343=function(){tC.internalvars.subCategories='';if(typeof tc_vars["page_cat1"]==="undefined"||tc_vars["page_cat1"]===""||tc_vars["page_cat1"]===null){tC.internalvars.subCategories=document.location.pathname;}
else if(typeof tc_vars["page_cat2"]==="undefined"||tc_vars["page_cat2"]===""||tc_vars["page_cat2"]===null){tC.internalvars.subCategories=tc_vars["page_cat1"];}
else if(typeof tc_vars["page_cat3"]==="undefined"||tc_vars["page_cat3"]===""||tc_vars["page_cat3"]===null){tC.internalvars.subCategories=tc_vars["page_cat1"]+"|"+tc_vars["page_cat2"];}
else if(typeof tc_vars["page_cat4"]==="undefined"||tc_vars["page_cat4"]===""||tc_vars["page_cat4"]===null){tC.internalvars.subCategories=tc_vars["page_cat1"]+"|"+tc_vars["page_cat2"]+"|"+tc_vars["page_cat3"];}
else{tC.internalvars.subCategories=tc_vars["page_cat1"]+"|"+tc_vars["page_cat2"]+"|"+tc_vars["page_cat3"]+"|"+tc_vars["page_cat4"];}}
tC.internalvars_1495.initiators.var343();tC.internalvars_1495.listVar.push(343);tC.internalvars_1495.initiators.var347=function(){tC.internalvars.referrer_pathname="";if(document.referrer!=="null"||document.referrer!==""||document.referrer!=="undefined")
{try{tC.internalvars.referrer_pathname=document.referrer.match(/:\/\/[^\/]+[\/]+([^\?]*)[\/]*(?:\?.*)?$/)[1]}catch(ex){}}}
tC.internalvars_1495.initiators.var347();tC.internalvars_1495.listVar.push(347);tC.internalvars_1495.initiators.var377=function(){tC.internalvars.price_tf=(Math.round((tc_vars["product_unitprice_tf"]-tc_vars["product_discount_tf"])*100)/100).toString();}
tC.internalvars_1495.initiators.var377();tC.internalvars_1495.listVar.push(377);tC.internalvars_1495.initiators.var379=function(){tC.internalvars.amount_tf=(Math.round((tc_vars["order_amount_tf_without_sf"])*100)/100).toString();}
tC.internalvars_1495.initiators.var379();tC.internalvars_1495.listVar.push(379);tC.internalvars_1495.initiators.var385=function(){tC.internalvars.cookieValue="";tC.internalvars.cookieValue=tC.getCookie("ow_cookielist2");}
tC.internalvars_1495.initiators.var385();tC.internalvars_1495.listVar.push(385);tC.internalvars_1495.initiators.var391=function(){tC.internalvars.product_id=document.location.href.slice(-6);}
tC.internalvars_1495.initiators.var391();tC.internalvars_1495.listVar.push(391);tC.internalvars_1495.initiators.var413=function(){tC.internalvars.criteo_dedup="0";if(tC.dedup.LeA.toString().indexOf('Retargeting')!==-1&&tC.dedup.LeAD.toString().indexOf('criteo')!==-1)
{tC.internalvars.criteo_dedup="1";}}
tC.internalvars_1495.initiators.var413();tC.internalvars_1495.listVar.push(413);tC.internalvars_1495.initiators.var421=function(){tC.internalvars.cmcrea="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#cmcrea")>=0){var debutcat=ow_utm_url.indexOf("#cmcrea")+8;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmcrea=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var421();tC.internalvars_1495.listVar.push(421);tC.internalvars_1495.initiators.var423=function(){tC.internalvars.cmnom="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#cmnom")>=0){var debutcat=ow_utm_url.indexOf("#cmnom")+7;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmnom=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var423();tC.internalvars_1495.listVar.push(423);tC.internalvars_1495.initiators.var425=function(){tC.internalvars.cmtype="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#cmtype")>=0){var debutcat=ow_utm_url.indexOf("#cmtype")+8;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmtype=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var425();tC.internalvars_1495.listVar.push(425);tC.internalvars_1495.initiators.var427=function(){tC.internalvars.cmzone="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#cmzone")>=0){var debutcat=ow_utm_url.indexOf("#cmzone")+8;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmzone=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var427();tC.internalvars_1495.listVar.push(427);tC.internalvars_1495.initiators.var429=function(){tC.internalvars.pdtWithDisc="";ow_varTempTab=new Array();ow_varPdtWithDisc="";if(tc_vars["page_cat2"]=="confirmation-commande"){for(i=0;i=0){var debutcat=ow_utm_url.indexOf("#cmpint")+8;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmpint=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var457();tC.internalvars_1495.listVar.push(457);tC.internalvars_1495.initiators.var464=function(){tC.internalvars.utm_content="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#utm_content")>=0){var debutcat=ow_utm_url.indexOf("#utm_content")+13;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.utm_content=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var464();tC.internalvars_1495.listVar.push(464);tC.internalvars_1495.initiators.var465=function(){tC.internalvars.utm_term="";ow_utm_url=tC.internalvars.ow_utm_url;if(ow_utm_url.indexOf("#utm_term")>=0){var debutcat=ow_utm_url.indexOf("#utm_term")+10;var fincat=ow_utm_url.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.utm_term=ow_utm_url.substring(debutcat,fincat);}}
tC.internalvars_1495.initiators.var465();tC.internalvars_1495.listVar.push(465);tC.internalvars_1495.initiators.var509=function(){tC.internalvars.tc_uniqueid="";var ow_tc_local_uniqueid=tC.getParamURL("TC_UNIQUEID");tC.internalvars.tc_uniqueid=ow_tc_local_uniqueid;}
tC.internalvars_1495.initiators.var509();tC.internalvars_1495.listVar.push(509);tC.internalvars_1495.initiators.var533=function(){try{var ow_sec_expire=60*60*24*30*13*1000;if(tC.getCookie("_ga")){var ow_gaCookie=tC.getCookie("_ga");var ow_ga_create=(Number(ow_gaCookie.split(".").pop()))*1000;var ow_t=new Date().getTime();var ow_t0=new Date(ow_ga_create).getTime();var ow_t1=ow_t0+ow_sec_expire;var ow_t_diff=Math.round((ow_t1-ow_t)/1000);}else{var ow_t_diff=ow_sec_expire/1000;}
tC.internalvars.cookieGaExpire=ow_t_diff;}catch(e){tC.internalvars.cookieGaExpire=ow_sec_expire/1000;}}
tC.internalvars_1495.initiators.var533();tC.internalvars_1495.listVar.push(533);tC.internalvars_1495.initiators.var534=function(){tC.internalvars.FirstPage="false";if(document.referrer===""){tC.internalvars.FirstPage="true";}
if(document.referrer!==""){if(document.referrer.split('/')[2]!=document.location.host){tC.internalvars.FirstPage="true";}}}
tC.internalvars_1495.initiators.var534();tC.internalvars_1495.listVar.push(534);var tc_mapped_statut_client='';switch(tc_vars["order_newcustomer"].toString().toLowerCase()){case"oui":tc_mapped_statut_client="nouveau-client";break;case"non":tc_mapped_statut_client="client-existant";break;case"1":tc_mapped_statut_client="nouveau-client";break;case"0":tc_mapped_statut_client="client-existant";break;default:tc_mapped_statut_client="";}
tC.internalvars_1495.initiators.var518=function(){tC.internalvars.sparkow_env="";switch(tc_vars["page_cat2"]){case"panier":tC.internalvars.sparkow_env="basket_create_or_replace";break;case"confirmation-commande":tC.internalvars.sparkow_env="basket_update_and_buy";break;default:tC.internalvars.sparkow_env="";break;}}
tC.internalvars_1495.initiators.var518();tC.internalvars_1495.listVar.push(518);tC.internalvars_1495.initiators.var532=function(){tC.internalvars.url_conteneurs="";switch(tc_vars["env_work"]){case"prod":tC.internalvars.url_conteneurs="//cdn.tagcommander.com/1495/";break;case"preprod":tC.internalvars.url_conteneurs="//cdn.tagcommander.com/1495/uat/";break;default:tC.internalvars.url_conteneurs="";break;}}
tC.internalvars_1495.initiators.var532();tC.internalvars_1495.listVar.push(532);tC.internalvars_1495.initiators.var459=function(){tC.internalvars.optinmailcriteo="";switch(tc_vars["user_email_optin"]){case"oui":tC.internalvars.optinmailcriteo="1";break;case"non":tC.internalvars.optinmailcriteo="0";break;default:tC.internalvars.optinmailcriteo="0";break;}}
tC.internalvars_1495.initiators.var459();tC.internalvars_1495.listVar.push(459);var tc_mapped_sitetype='';switch(tc_vars["env_channel"].toString().toLowerCase()){case"web":tc_mapped_sitetype="d";break;case"mobile":tc_mapped_sitetype="m";break;case"tablette":tc_mapped_sitetype="t";break;default:tc_mapped_sitetype="";}
tC.internalvars_1495.initiators.var417=function(){tC.internalvars.TrackID_SmartAd="";switch(tc_vars["page_cat2"]){case"confirmation-commande":tC.internalvars.TrackID_SmartAd="23341";break;case"petite-rentree-enfant":tC.internalvars.TrackID_SmartAd="23344";break;case"ceremonie-adulte":tC.internalvars.TrackID_SmartAd="23345";break;case"ceremonie-enfant":tC.internalvars.TrackID_SmartAd="23346";break;case"junior-fille":tC.internalvars.TrackID_SmartAd="23347";break;case"junior-garcon":tC.internalvars.TrackID_SmartAd="23348";break;case"haut-plus-bas":tC.internalvars.TrackID_SmartAd="23349";break;case"tshirt-6-99":tC.internalvars.TrackID_SmartAd="23350";break;case"offre-pyjama":tC.internalvars.TrackID_SmartAd="23351";break;case"tshirt-enfant":tC.internalvars.TrackID_SmartAd="23352";break;default:tC.internalvars.TrackID_SmartAd="23343";break;}}
tC.internalvars_1495.initiators.var417();tC.internalvars_1495.listVar.push(417);
/*END_VARIABLES_BLOCK*/
/*DYNAMIC JS BLOCK 2*/
/*END DYNAMIC JS BLOCK 2*/
/*CUSTOM_JS_BLOCK2*/
/*END_CUSTOM_JS_BLOCK2*/
tC.container_1495_1.datastorage();}
//----------------------------------------------------
//----
if(tC.getCookie('tc_mode_test')==1){(function(){var tc_testmodescriptexec=document.createElement('script');tc_testmodescriptexec.type='text/javascript';tc_testmodescriptexec.src='//manager.tagcommander.com/utils/test_mode_include.php?id=1&site=1495&type=exec&rand='+Math.random()+'&version=8.02';(document.getElementsByTagName('body')[0]||document.getElementsByTagName('head')[0]||document.getElementsByTagName('script')[0].parentNode).appendChild(tc_testmodescriptexec);})();(function(){setTimeout(function(){if(typeof top.tc_count!=='undefined'){top.tc_count++;}else{top.tc_count=1;}var tc_newscript=document.createElement('script');tc_newscript.type='text/javascript';tc_newscript.src='//manager.tagcommander.com/utils/livetest/bookmarklet.php?r='+Math.random()+'&nb='+top.tc_count+'&container=1495!1&version=8.02';(document.getElementsByTagName('body')[0]||document.getElementsByTagName('head')[0]||document.getElementsByTagName('script')[0].parentNode).appendChild(tc_newscript);},1000);})();}else{if(tC.dedup.ValidRules('499')){if(tC.privacy.validRules('499')){if(typeof tC.internalvars.tc_stop_reload==="undefined"){if((document.location).toString().toLowerCase().match(new RegExp(('/myfashioncard').replace(new RegExp("\\*","g"),".*"),"gi"))||(document.location).toString().toLowerCase().match(new RegExp(('/offres-du-moment-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))||(document.location).toString().toLowerCase().match(new RegExp(('/programme-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))||(document.location).toString().toLowerCase().match(new RegExp(('/faq-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))){tC.launchTag(499,'Universal Analytics - MyFashionCard',1479,1495,1,1);(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','UA-2127726-2',tC.internalvars.maindomain,{'cookieDomain':tC.internalvars.maindomain,'name':'vivarte','cookieExpires':tC.internalvars.cookieGaExpire},{'siteSpeedSampleRate':1});ga('vivarte.set','anonymizeIp',true);ga('vivarte.require','ec');ga('vivarte.require','displayfeatures');ga('vivarte.require','linkid','linkid.js');ga('vivarte.set','dimension2','my fashion card');ga('vivarte.set','dimension3',document.location.pathname);ga('vivarte.set','dimension6','my fashion card |'+document.location.pathname);ga('vivarte.set','dimension7','my fashion card');ga('vivarte.set','dimension19',document.location.href);ga('vivarte.set','contentGroup1','my fashion card');ga('vivarte.set','contentGroup3','my fashion card');ga('vivarte.set','contentGroup4','my fashion card |'+document.location.pathname);ga('vivarte.set','contentGroup5','my fashion card |'+document.location.pathname);ga('vivarte.set','page','/mfc'+document.location.pathname);if(tC.internalvars.cmpint)
{ga('vivarte.ec:addPromo',{'name':tC.internalvars.cmpint,'id':'/'+tC.internalvars.referrer_pathname});ga('vivarte.ec:setAction','promo_click');ga('vivarte.send','event','campagne interne',tC.internalvars.cmpint,'/'+tC.internalvars.referrer_pathname,{'nonInteraction':1});}
if(tC.internalvars.cmnom)
{ga('vivarte.ec:addPromo',{'id':tC.internalvars.cmtype,'name':tC.internalvars.cmnom,'creative':tC.internalvars.cmcrea,'position':tC.internalvars.cmzone});ga('vivarte.ec:setAction','promo_click');ga('vivarte.send','event','campagne interne',tC.internalvars.cmtype,tC.internalvars.cmnom+' | '+tC.internalvars.cmcrea+' | '+tC.internalvars.cmzone,{'nonInteraction':1});}
if(tC.internalvars.qcat!="")
{ga('vivarte.send','event','recommandations',tC.internalvars.qcat,tC.internalvars.qearly,0,{'nonInteraction':1});}
ga('vivarte.send','pageview');}}}}
if(tC.dedup.ValidRules('521')){if(tC.privacy.validRules('521')){if(typeof tC.internalvars.tc_stop_reload==="undefined"){if(!(document.location).toString().toLowerCase().match(new RegExp(('/myfashioncard').replace(new RegExp("\\*","g"),".*"),"gi"))&&!(document.location).toString().toLowerCase().match(new RegExp(('/offres-du-moment-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))&&!(document.location).toString().toLowerCase().match(new RegExp(('/programme-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))&&!(document.location).toString().toLowerCase().match(new RegExp(('/faq-mfc').replace(new RegExp("\\*","g"),".*"),"gi"))){tC.launchTag(521,'Universal Analytics Global',1479,1495,1,1);var ow_cookieName="ow_cookielist2";var ow_browserName=navigator.appName;if((ow_browserName=="Microsoft Internet Explorer")||(window.navigator.userAgent.indexOf("Edge")>-1)||((ow_browserName=="Microsoft Internet Explorer")&&(window.navigator.userAgent.indexOf("Trident")>-1))){ow_expires=";";}
else{ow_expires=";expires=0;"}
if(tc_vars["env_template"]!="fiche-produit"){if(tc_vars["env_template"]=="recherche"){tC.setCookie("ow_cookielist2",tc_vars["env_template"]+"/"+tc_vars["search_keywords"].toLowerCase(),null,"/");}
else if((tc_vars["env_template"]=="liste-produit")||(tc_vars["env_template"]=="sous-categorie-produit")||(tc_vars["env_template"]=="categorie-produit")){tC.setCookie("ow_cookielist2",'/'+tc_vars["env_template"]+"/"+tC.internalvars.subCategories,null,"/");}
else if(tc_vars["env_template"]=="accueil"){tC.setCookie("ow_cookielist2",'accueil');}
else{tC.setCookie("ow_cookielist2","/autre/",null,"/");}}
else if((document.referrer.indexOf(tC.internalvars.maindomain)==-1)||(document.referrer===undefined)||(document.referrer===null)||(document.referrer==="")){tC.setCookie("ow_cookielist2","/entree produit/"+tc_vars["product_sku"],null,"/");}
else if(document.referrer.indexOf("/product-id/")>-1){tC.setCookie("ow_cookielist2","/recommandations/"+document.referrer.split("/product-id/")[1],null,"/");}
if(tc_vars["page_virtual_name"]=="/commander/paiement/"){tC.setCookie("ow_ua_funnelType",tc_vars["funnel_type"],null,"/");}
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','UA-2127726-2',tC.internalvars.maindomain,{'cookieDomain':'auto','name':'vivarte','cookieExpires':tC.internalvars.cookieGaExpire},{'siteSpeedSampleRate':1});ga('vivarte.require','ec');ga('vivarte.require','displayfeatures');ga('vivarte.require','linkid','linkid.js');if((tC.internalvars.utm_medium!==undefined)&&(tC.internalvars.utm_medium!=="")&&(tC.internalvars.utm_source!==undefined)&&(tC.internalvars.utm_source!=="")&&(tC.internalvars.utm_campaign!==undefined)&&(tC.internalvars.utm_campaign!=="")){ga('vivarte.set','&cm',tC.internalvars.utm_medium);ga('vivarte.set','&cs',tC.internalvars.utm_source);ga('vivarte.set','&cn',tC.internalvars.utm_campaign);if((tC.internalvars.utm_term!==undefined)&&(tC.internalvars.utm_term!=="")){ga('vivarte.set','&ck',tC.internalvars.utm_term);}
if((tC.internalvars.utm_content!==undefined)&&(tC.internalvars.utm_content!=="")){ga('vivarte.set','&cc',tC.internalvars.utm_content);}}
if((tc_vars["funnel_type"]!==undefined)&&(tc_vars["funnel_type"]!=="")){ga('vivarte.set','dimension1',tc_vars["funnel_type"]);}else if((tc_vars["funnel_type"]==="")&&(tC.internalvars.ow_funnelType!=="")){ga('vivarte.set','dimension1',tC.internalvars.ow_funnelType);}
if(tc_vars["page_cat1"]){ga('vivarte.set','dimension2',tc_vars["page_cat1"])}
if(tc_vars["page_cat2"]){ga('vivarte.set','dimension3',tc_vars["page_cat2"])}
if(tc_vars["page_cat3"]){ga('vivarte.set','dimension4',tc_vars["page_cat3"])}
if(tc_vars["page_cat4"]){ga('vivarte.set','dimension5',tc_vars["page_cat4"])}
ga('vivarte.set','dimension6',tC.internalvars.subCategories);ga('vivarte.set','dimension7',tc_vars["env_template"]);ga('vivarte.set','dimension10',navigator.userAgent);ga('vivarte.set','dimension11',tc_vars["user_frequency"]);ga('vivarte.set','dimension12',tc_vars["user_category"]);ga('vivarte.set','dimension13','segment : '+tc_vars["user_segment"]+'|fidelite :'+tc_vars["user_loyaltycard"]+'client_multicanal :'+tc_vars["user_multichannel"]+'|'+'genre :'+tc_vars["user_gender"]+'|'+'age :'+tc_vars["user_age"]);ga('vivarte.set','dimension14',tc_vars["user_recency"]);ga('vivarte.set','dimension15','localisation :'+tc_vars["user_localization"]+'|'+'magasin :'+tc_vars["user_store"]+'|'+'code_postal :'+tc_vars["user_postalcode"]);ga('vivarte.set','dimension19',document.location.href);ga('vivarte.set','contentGroup1',tc_vars["env_template"]);ga('vivarte.set','contentGroup3',tc_vars["page_cat1"]);if(tc_vars["page_cat2"]!==""){ga('vivarte.set','contentGroup4',tc_vars["page_cat1"]+'|'+tc_vars["page_cat2"]);ga('vivarte.set','contentGroup5',tC.internalvars.subCategories)}
ga('vivarte.set','page',tc_vars["page_virtual_name"]);if(tc_vars["order_delivery_time"]!==""){ga('vivarte.set','dimension18',tc_vars["order_delivery_time"])}
if(tc_vars["env_template"]=="layer/achat-express"){ga('vivarte.set','metric6',1);}
if((tc_vars["env_template"]==="erreur")&&(tc_vars["page_cat2"]==="500")){ga('vivarte.set','page','/erreur/500/page='+document.location.pathname+document.location.search+'&depuis='+document.referrer);}
if((tc_vars["env_template"]==="erreur")&&(tc_vars["page_cat2"]==="404")){ga('vivarte.set','page','/erreur/404/page='+document.location.pathname+document.location.search+'&depuis='+document.referrer);}
if(tc_vars["env_template"]==="maintenance"){ga('vivarte.set','page','/erreur/maintenance/page='+document.location.pathname+document.location.search+'&from='+document.referrer);}
if(tc_vars["env_template"]=="recherche"&&parseFloat(tc_vars["search_results_number"])>0){ga('vivarte.set','page','/recherche-catalogue/resultats/?motcle='+tc_vars["search_keywords"]+'&motcategorie=Recherche-avec-resultat');}
if(tc_vars["env_template"]=="recherche"&&parseFloat(tc_vars["search_results_number"])===0){ga('vivarte.set','page','/recherche-catalogue/resultats/?motcle='+tc_vars["search_keywords"]+'&motcategorie=Recherche-sans-resultat');}
if(tc_vars["env_template"]=="categorie-produit"||tc_vars["env_template"]=="liste-produit"||tc_vars["env_template"]=="sous-categorie-produit"||tc_vars["env_template"]=="recherche")
{ga('vivarte.set','dimension9',tc_vars["page_number"]);var temp_concat=tc_vars["list_products"];for(var i=0;i-1)&&(tc_vars["page_virtual_name"].indexOf("/confirmation/")>-1)){(function(){cm_p=[];cm_id="a66a2901-2406-4763-8e94-905220c3a09a";cm_p.push(["w",window.location.hostname]),ep="//tr.cloud-media.fr/t/"+cm_id,qs=cm_p.map(function(a){return a[0]+"="+encodeURI(a[1])}).join("&"),b=document.getElementsByTagName("body")[0],e=document.createElement("img"),e.src=ep+"?"+qs,b.parentNode.appendChild(e,b);})();}}}}}
if(tC.dedup.ValidRules('646')){if(tC.internalvars.tc_url.toString().toLowerCase().indexOf(('bench.lahalle.com').toLowerCase())==-1&&tC.internalvars.tc_url.toString().toLowerCase().indexOf(('benchm.lahalle.com').toLowerCase())==-1){tC.launchTag(646,'Hotjar',1573,1495,1,1);(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:'892687',hjsv:'6'};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');}}
tC.extend({executeTag629_1495_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_1.init_tc_array_events(p);try{var ow_sendUAEventClick1=function(){window.ga('vivarte.send','event','fb connect','inscription',{nonInteraction:true});ow_buttonClick1.removeEventListener('click',ow_sendUAEventClick1,false);};var ow_buttonClick1=document.getElementsByClassName("facebook-button facebook-signup")[0];ow_buttonClick1.addEventListener('click',ow_sendUAEventClick1,false);}catch(e){}
try{var ow_sendUAEventClick2=function(){window.ga('vivarte.send','event','fb connect','login',{nonInteraction:true});ow_buttonClick2.removeEventListener('click',ow_sendUAEventClick2,false);};var ow_buttonClick2=document.getElementsByClassName("facebook-button facebook-login")[0];ow_buttonClick2.addEventListener('click',ow_sendUAEventClick2,false);}catch(e){}}});}
function tc_events_1(tc_elt,tc_id_event,tc_array_events){tc_array_events["id"]=tc_id_event;(function(){var l='ProductArticleSku|product_id|id|Action|Categorie|Libelle|Valeur'.split('|');for(var k in l){if(!tc_array_events.hasOwnProperty(l[k])){tc_array_events[l[k]]='';}}})();if(tC.privacy.validRules('E23')){if(tc_array_events["id"]=='1'){tC.launchTag('e1','Event UA Global','-1','1495','1');var tc_ga_value=0;if(tc_array_events["Categorie"]=="Validation E-reservation"){ga('vivarte.set','metric7',tC.internalvars.pdtWithDisc);ga('vivarte.set','metric8','1');}
if((typeof tc_array_events["Valeur"]!=="undefined")&&(tc_array_events["Valeur"]>0)){tc_ga_value=Math.round(tc_array_events["Valeur"]);}else if(tC.internalvars.pdtWithDisc.constructor!==Array){tc_ga_value=Math.round(tC.internalvars.pdtWithDisc);}else{tc_ga_value=0;}
if(tc_array_events["Categorie"]=="Ajout panier"){var ow_splitLIB=tc_array_events["Libelle"].split("|");var ow_splitAC=tc_array_events["Action"].split("|");ga('vivarte.set','metric4','1');ga('vivarte.ec:addProduct',{'id':ow_splitLIB[1],'name':ow_splitLIB[0]+' | '+ow_splitLIB[2].toLowerCase(),'category':ow_splitAC[0]+'/'+ow_splitAC[1]+'/'+ow_splitAC[2],'price':tc_array_events["Valeur"],'quantity':'1','brand':ow_splitLIB[0],'variant':ow_splitLIB[3]+'|'+ow_splitLIB[4]+'|'+tc_vars["product_variant"]+'|'+ow_splitLIB[5]});ga('vivarte.ec:setAction','add',{'list':tC.internalvars.cookieValue});}
ga('vivarte.send','event',tc_array_events["Categorie"],tc_array_events["Action"],tc_array_events["Libelle"],tc_ga_value,{'nonInteraction':1});ga('vivarte.set','metric4',0);ga('vivarte.set','metric6',0);ga('vivarte.set','metric7',0);ga('vivarte.set','metric8',0);if(tc_array_events["Categorie"]=="Partage reseaux sociaux"){ga('vivarte.send','social',tc_array_events["Action"],'like',document.location.href);}
if(tc_array_events["Categorie"]=="Liens reseaux sociaux"){ga('vivarte.send','social',tc_array_events["Action"],'follow',document.location.href);}}}
if(tC.privacy.validRules('E28')){if(tc_array_events["id"]=='1'){tC.launchTag('e1','event Ajout_panier tc_events_5','-1','1495','1');tc_events_5(this,"Ajout_panier",{"Categorie":tc_array_events["Categorie"],"Action":tc_array_events["Action"],"ProductArticleSku":tc_array_events["ProductArticleSku"],"Valeur":tc_array_events["Valeur"]});}}}
tC.onDomReady(function(){tC.container_1495_1.eventlisteners();tC.executeListener13_1495_1();});