/*
* tagContainer Generator v33
* Copyright Commanders Act
* https://www.commandersact.com/fr/
* Generated: 2019-12-04 10:42:04 Europe/Paris
* ---
* Version : 241.00
* IDTC : 5
* IDS : 1495
*/
/*!compressed by YUI*/ if(typeof tC=="undefined"){if(typeof document.domain=="undefined"||typeof document.referrer=="undefined"){document=window.document}(function(o,m){var l,t,A=o.document,a=o.location,f=o.navigator,z=o.tC,x=o.$,J=Array.prototype.push,b=Array.prototype.slice,w=Array.prototype.indexOf,h=Object.prototype.toString,k=Object.prototype.hasOwnProperty,q=String.prototype.trim,c=function(L,M){return new c.fn.init(L,M,l)},D=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,s=/\S/,v=/\s+/,d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,n=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,F=/^[\],:{}\s]*$/,B=/(?:^|:|,)(?:\s*\[)+/g,I=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,G=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,K=/^-ms-/,r=/-([\da-z])/gi,H=function(L,M){return(M+"").toUpperCase()},g={};c.fn=c.prototype={constructor:c,init:function(L,O,R){var N,P,M,Q;if(!L){return this}if(L.nodeType){this.context=this[0]=L;this.length=1;return this}if(typeof L==="string"){if(L.charAt(0)==="<"&&L.charAt(L.length-1)===">"&&L.length>=3){N=[null,L,null]}else{N=y.exec(L)}if(N&&(N[1]||!O)){if(N[1]){O=O instanceof c?O[0]:O;Q=(O&&O.nodeType?O.ownerDocument||O:A);L=c.parseHTML(N[1],Q,true);if(n.test(N[1])&&c.isPlainObject(O)){this.attr.call(L,O,true)}return c.merge(this,L)}else{P=A.getElementById(N[2]);if(P&&P.parentNode){if(P.id!==N[2]){return R.find(L)}this.length=1;this[0]=P}this.context=A;this.selector=L;return this}}else{if(!O||O.tC){return(O||R).find(L)}else{return this.constructor(O).find(L)}}}else{if(c.isFunction(L)){return R.ready(L)}}if(L.selector!==m){this.selector=L.selector;this.context=L.context}return c.makeArray(L,this)},each:function(M,L){return c.each(this,M,L)},ready:function(L){c.ready.promise(L);return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var U,N,L,M,R,S,Q=arguments[0]||{},P=1,O=arguments.length,T=false;if(typeof Q==="boolean"){T=Q;Q=arguments[1]||{};P=2}if(typeof Q!=="object"&&!c.isFunction(Q)){Q={}}if(O===P){Q=this;--P}for(;P]","i"),rchecked:/checked\s*(?:[^=]|=\s*.checked.)/i,containersLaunched:{}});c.extend({inArray:function(P,M,O){var L,N=Array.prototype.indexOf;if(M){if(N){return N.call(M,P,O)}L=M.length;O=O?O<0?Math.max(0,L+O):O:0;for(;O 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(f,c){var d=f.split(this.getCS());if(d.length>2){var b=d[2].split("|");for(var a=0;a0){var f=tC.privacy.catBlockPH.toString();if(tC.privacy.validRules("TH2")||(b==0&&h.indexOf(f)>-1&&this.categories.indexOf(f)===-1)||(b==1&&JSON.stringify(h)!=JSON.stringify(this.categories))){tC.pixelTrack.add(j+"/privacy-consent/?id_tc=5&site=1495&version="+d+"&id_privacy="+g+"&privacy_action="+c+"&list_categories="+k+"&tcpid="+tC.getCookie("TCPID")+"&rand="+Math.random())}}else{tC.pixelTrack.add(j+"/privacy-consent/?id_tc=5&site=1495&version="+d+"&id_privacy="+g+"&privacy_action="+c+"&list_categories="+k+"&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=5&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=5&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({browserDetect:{get:function(){this.init();return{browser:this.browser,version:this.version,OS:this.OS}},init:function(){if(typeof this.browser=="undefined"){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS"}},getRules:function(){switch(this.browser){case"Internet Explorer":return"Internet Explorer "+this.version;break;case"Chrome":return"Chrome "+this.version;break;case"Firefox":return"Firefox "+this.version;break;case"Safari":return"Safari "+this.version;break;case"Opera":return"Opera ";break;default:return""}},searchString:function(d){for(var a=0;a=32&&g<=126){a=g+26;if(a>126){a=(a%126)+32-1}f+=String.fromCharCode(a)}else{f+=d.charAt(b)}}return f},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(g){var j,d,b,f,h,k,a;if(tC.isFunction(g)){return this.each(function(c){jQuery(this).addClass(g.call(this,c,this.className))})}if(g&&typeof g==="string"){j=g.split(core_rspace);for(d=0,b=this.length;d=0){g=g.replace(" "+f[k]+" "," ")}}h.className=j?jQuery.trim(g):""}}}return this},toggleClass:function(d,b){var c=typeof d,a=typeof b==="boolean";if(tC.isFunction(d)){return this.each(function(f){tC(this).toggleClass(d.call(this,f,this.className,b),b)})}return this.each(function(){if(c==="string"){var h,g=0,f=jQuery(this),j=b,k=d.split(core_rspace);while((h=k[g++])){j=a?j:!f.hasClass(h);f[j?"addClass":"removeClass"](h)}}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(g){var c=g.t,b=tC.dedup,f;if(c=="C"||c=="click"){f=b.ch_C}else{if(c=="V"||c=="view"){f=b.ch_V}else{if(c=="A"||c=="all"){f=b.ch_A}else{f=b.ch_0}}}if(typeof g.l!="undefined"){g.l=g.l.replace("DIRECT_ACCESS","Direct Access").replace("EXTERNAL_LINK","External links");if(g.l=="COM"){g.l="Community websites"}if(g.l=="CSS"){g.l="Comparison shopping services"}if(g.l=="BRAND"){g.l="Brand"}}for(var a in f){if((typeof g.i!="undefined"&&parseInt(g.i)==parseInt(f[a].i))||(typeof g.l!="undefined"&&typeof f[a].l!="undefined"&&g.l.toLowerCase()==f[a].l.toLowerCase())){return f[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 l=g[d].split("@@@");if(l.length!=4){}else{var h=l[0],a=l[1],c=m.age(l[2]),c=c==""?false:c,b=l[3].replace("VIEW","V").replace("CLICK","C"),j=m.getChannel({l:h,t:"C"}),k=m.getChannel({l:h,t:"V"});if((j||k)&&c!==false){if(j!=false&&b=="C"&&parseFloat(c)<=parseFloat(j.a)){if(!m.LeC){m.LeC=h;m.LeCD=a}m.FeC=h;m.FeCD=a;m.AeC.push({c:h,d:a});if(!m.LeA||f=="V"){m.LeA=h;m.LeAD=a;f="C"}m.FeA=h;m.FeAD=a;m.AeA.push({c:h,d:a})}if(k!=false&&b=="V"&&parseFloat(c)<=parseFloat(k.b)){if(!m.LeV){m.LeV=h;m.LeVD=a}m.FeV=h;m.FeVD=a;m.AeV.push({c:h,d:a});if(!m.LeA){m.LeA=h;m.LeAD=a;f="V"}m.FeA=h;m.FeAD=a;m.AeA.push({c:h,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(){(function(){var f=tC.getCookie("eb-abtesting");var d="0,1,2,3,4,5,6,7,8,9";var a=d.split(",");if(f==""){var b=parseInt(Math.random()*a.length);for(var c=0;c0){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_5.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=5&site=1495&type=exec&rand='+Math.random()+'&version=241.00';(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!5&version=241.00';(document.getElementsByTagName('body')[0]||document.getElementsByTagName('head')[0]||document.getElementsByTagName('script')[0].parentNode).appendChild(tc_newscript);},1000);})();}else{tC.extend({executeTag620_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);tC.scriptElt1=document.createElement("script");tC.scriptElt1.id="tc_script_619_1";tC.scriptElt1.src="https://www.googletagmanager.com/gtag/js?id="+'AW-1044739139';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(tC.scriptElt1,null);window.dataLayer=window.dataLayer||[];var gtag=function(){dataLayer.push(arguments);};gtag('js',new Date());gtag('config','AW-1044739139');gtag('config','AW-995241549');gtag('event','conversion',{'send_to':'AW-1044739139'+"/"+'Fs8mCNnH-wEQw-iV8gM','value':parseFloat(tc_vars["order_amount_tf_without_sf"]),'currency':tc_vars["order_currency"],'transaction_id':tc_vars["order_id"]});gtag('event','conversion',{'send_to':'AW-995241549'+"/"+'7sH1CJPBnQMQzdzI2gM','value':parseFloat(tc_vars["order_amount_tf_without_sf"]),'currency':tc_vars["order_currency"],'transaction_id':tc_vars["order_id"]});}});tC.extend({executeTag409_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);if(typeof _abtasty!="undefined"){_abtasty.push(['transaction','Transaction',tc_vars["order_id"],tc_vars["order_amount_ati_with_sf"]]);_abtasty.push(["eco","User Gender",tc_vars["user_gender"]]);_abtasty.push(["eco","User Age",tc_vars["user_age"]]);_abtasty.push(["eco","Payment Method",tc_vars["order_payment_methods"]]);_abtasty.push(["eco","Shipping Method",tc_vars["order_shipping_method"]]);for(var i=0;i=1){ow_newcustomer=0}else{ow_newcustomer=1}
tC.template=[];tC.template.tabProduct="";var tc_listProduct="";var tc_listProduct_price="";for(var i=0;itc_innerHeight){if(tC.getCookie("TC_OPTOUT")===''){tC.privacy.In(0,tC.privacyVersion,'ALL');if(document.getElementById('header_tc_privacy')){var x=document.getElementById('header_tc_privacy');x.style.display='none';document.body.removeChild(x);}
tc_reloadContainerPrivacy();}
window.removeEventListener('scroll',tc_privacyScroll,true);}};window.addEventListener("scroll",tc_privacyScroll,true);}
window.tc_closePrivacyButton=function(){tc_reloadContainerPrivacy();if(document.getElementById('header_tc_privacy')){var x=document.getElementById('header_tc_privacy');x.style.display='none';document.body.removeChild(x);}};window.tc_closePrivacyCenter=function(){tc_reloadContainerPrivacy();if(document.getElementById('header_tc_privacy')){var x=document.getElementById('header_tc_privacy');x.style.display='none';document.body.removeChild(x);}};}
tC.extend({executeTag619_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);tC.scriptElt1=document.createElement("script");tC.scriptElt1.id="tc_script_619_1";tC.scriptElt1.src="https://www.googletagmanager.com/gtag/js?id="+'AW-1044739139';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(tC.scriptElt1,null);window.dataLayer=window.dataLayer||[];var gtag=function(){dataLayer.push(arguments);};gtag('js',new Date());gtag('config','AW-1044739139');var remktg_pagetype=tc_vars["env_template"];var remktg_prodid="";var remktg_mtt=0;if(tc_vars["env_template"]=='accueil'){remktg_pagetype='homepage';}
else if(tc_vars["env_template"]=='liste-produit'||tc_vars["env_template"]=='sous-categorie-produit'||tc_vars["env_template"]=='categorie-produit'){remktg_pagetype='category';}
else if(tc_vars["page_cat2"]=='panier'){remktg_pagetype='cart';}
else if(tc_vars["env_template"]=='fiche-produit'){remktg_mtt=tC.internalvars.price_tf;remktg_prodid=tc_vars["product_id_ref"];remktg_pagetype='product';}
if(tc_vars["env_template"]=='liste-produit'||tc_vars["env_template"]=='sous-categorie-produit'||tc_vars["env_template"]=='categorie-produit'||tc_vars["page_cat2"]=='panier'){remktg_prodid=[];for(var i=0;i=1){ow_newcustomer=0}else{ow_newcustomer=1}
scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.src="//mastertag.effiliation.com/"+'mt660012004'+".js?page=home&insession="+tc_vars["user_logged"]+"&newcustomer="+ow_newcustomer;scriptElt1.async="async";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);}});tC.extend({executeTag97_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);if(Number(tc_vars["user_frequency"])>=1){ow_newcustomer=0}else{ow_newcustomer=1}
scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.src="//mastertag.effiliation.com/"+'mt660012004'+".js?page=generic&insession="+tc_vars["user_logged"]+"&newcustomer="+ow_newcustomer;scriptElt1.async="async";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);}});tC.extend({executeTag101_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);if(Number(tc_vars["user_frequency"])>=1){ow_newcustomer=0}else{ow_newcustomer=1}
if(tc_vars["page_cat2"]===""){ow_cat2=tc_vars["page_cat2"]}else{ow_cat2="/"+tc_vars["page_cat2"]}
if(tc_vars["page_cat3"]===""){ow_cat3=tc_vars["page_cat3"]}else{ow_cat3="/"+tc_vars["page_cat3"]}
if(tc_vars["page_cat4"]===""){ow_cat4=tc_vars["page_cat4"]}else{ow_cat4="/"+tc_vars["page_cat4"]}
ow_categorie=tc_vars["page_cat1"]+ow_cat2+ow_cat3+ow_cat4
ow_idp=tc_vars["list_products"]
ow_list_idp=[]
for(i=0;i=1){ow_newcustomer=0}else{ow_newcustomer=1}
tC.template=[];tC.template.tabProduct="";var tc_listProduct_price="";for(var i=0;i=1){ow_newcustomer=0}else{ow_newcustomer=1}
scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.src="//mastertag.effiliation.com/"+'mt660012004'+".js?page=product&idp="+tc_vars["product_id_ref"]+"&insession="+tc_vars["user_logged"]+"&newcustomer="+ow_newcustomer+"&prix="+tc_vars["product_unitprice_ati"]+"&idcat="+tc_vars["page_cat3"];scriptElt1.async="async";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);}});tC.extend({executeTag131_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);var scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.type="text/javascript";scriptElt1.src='//static.criteo.net/js/ld/ld.js';scriptElt1.async="true";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);window.criteo_q=window.criteo_q||[];window.criteo_q.push({event:"setAccount",account:'13020'},{event:"setCustomerId",id:tc_vars["user_id"]},{event:"setSiteType",type:tc_mapped_sitetype},{event:"viewHome",user_segment:'',ui_tcid:tc_getCookie("TCID")},{event:"setHashedEmail",email:tc_vars["user_email"]});if(''!=""){window.criteo_q.push({event:"setLogin",login:''});}}});tC.extend({executeTag135_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.type="text/javascript";scriptElt1.src='//static.criteo.net/js/ld/ld.js';scriptElt1.async="true";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);window.criteo_q=window.criteo_q||[];window.criteo_q.push({event:"setAccount",account:'13020'},{event:"setCustomerId",id:tc_vars["user_id"]},{event:"setSiteType",type:tc_mapped_sitetype},{event:"viewItem",product:tc_vars["product_id_ref"],user_cat:tc_vars["user_category"].split(' ').join('-'),ui_tcid:tc_getCookie("TCID")},{event:"setHashedEmail",email:tc_vars["user_email"]});if(''!=""){window.criteo_q.push({event:"setLogin",login:''});}}});tC.extend({executeTag133_1495_5:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_1495_5.init_tc_array_events(p);scriptElt1=document.createElement("script");scriptElt1.id="tc_script__1";scriptElt1.type="text/javascript";scriptElt1.src='//static.criteo.net/js/ld/ld.js';scriptElt1.async="true";(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(scriptElt1,null);window.criteo_q=window.criteo_q||[];window.criteo_q.push({event:"setAccount",account:'13020'},{event:"setCustomerId",id:tc_vars["user_id"]},{event:"setSiteType",type:tc_mapped_sitetype},{event:"viewList",product:function(){var pl=[];if(tc_vars["list_products"].length>0){for(var i=0;i0)){fb_value=Math.round(tc_array_events["Valeur"]);}else{fb_value=0}
fbq('track','AddToCart',{content_ids:tc_array_events["ProductArticleSku"],content_type:'product',value:fb_value,currency:'EUR'});}catch(e){}}}}
if(tC.privacy.validRules('E37')){if(tc_array_events["id"]=='Ajout_panier'){tC.launchTag('eAjout_panier','Snapchat - Ajout Panier','-1','1495','5');try{snaptr('track','ADD_CART');}catch(e){tC.log(e)}}}
if(tC.privacy.validRules('E38')){if(tc_array_events["id"]=='Ajout_panier'){tC.launchTag('eAjout_panier','Pinterest - ajout panier','-1','1495','5');try{pintrk('track','AddToCart',{value:tc_array_events["Valeur"],order_quantity:'1',currency:'EUR'});}catch(e){tC.log(e)}}}}
var tc_privacy_used=0;var tc_privacy_display_5=function(){if(tC.isCurrentVersion()){tC.privacy.containerId=5;tC.script.add('https://cdn.tagcommander.com/privacy/1495/privacy_13.js');}}
var tc_privacy_cpt=0;function tc_privacy_wait_body_5(){if(document.body!=null){tc_privacy_display_5();}else{tc_privacy_cpt++;if(tc_privacy_cpt<20){setTimeout("tc_privacy_wait_body_5()",100);}}}
tc_privacy_wait_body_5();tC.onDomReady(function(){tC.container_1495_5.eventlisteners();tC.executeListener3_1495_5();});