/*
* tagContainer Generator v96.0
* Copyright Commanders Act
* https://www.commandersact.com/fr/
* Generated: 2025-04-23 15:54:56 Europe/Paris
* ---
* Version : 25.03
* IDTC : 27
* IDS : 6418
*/
/*!compressed by terser*/ "undefined"==typeof tC&&(void 0!==document.domain&&void 0!==document.referrer||(document=window.document),function(t,e){var n,i=t.document,o=(t.location,t.navigator,t.tC,t.$,Array.prototype.push,Array.prototype.slice,Array.prototype.indexOf,Object.prototype.toString),c=(Object.prototype.hasOwnProperty,String.prototype.trim,function(t,e){return new c.fn.init(t,e,n)}),a=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,s=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,r={};c.fn=c.prototype={constructor:c,init:function(t,e,n){var o,r,C;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("string"==typeof t){if(!(o="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:a.exec(t))||!o[1]&&e)return!e||e.tC?(e||n).find(t):this.constructor(e).find(t);if(o[1])return C=(e=e instanceof c?e[0]:e)&&e.nodeType?e.ownerDocument||e:i,t=c.parseHTML(o[1],C,!0),s.test(o[1])&&c.isPlainObject(e)&&this.attr.call(t,e,!0),c.merge(this,t);if((r=i.getElementById(o[2]))&&r.parentNode){if(r.id!==o[2])return n.find(t);this.length=1,this[0]=r}return this.context=i,this.selector=t,this}return c.isFunction(t)?n.ready(t):(undefined!==t.selector&&(this.selector=t.selector,this.context=t.context),c.makeArray(t,this))},each:function(t,e){return c.each(this,t,e)},ready:function(t){return c.ready.promise(t),this}},c.fn.init.prototype=c.fn,c.extend=c.fn.extend=function(){var t,e,n,i,o,a,s=arguments[0]||{},r=1,C=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},r=2),"object"==typeof s||c.isFunction(s)||(s={}),C===r&&(s=this,--r);r]","i"),rchecked:/checked\s*(?:[^=]|=\s*.checked.)/i,containersLaunched:{}}),c.extend({inArray:function(t,e,n){var i,o=Array.prototype.indexOf;if(e){if(o)return o.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n=2)){window.caReady=window.caReady||[],window.cact=window.cact||function(){window.caReady.push(arguments)},t.cact&&(window.caReady=window.caReady.map((function(t){if(function(t){return"[object Arguments]"===t.toString()||Array.isArray(t)}(t))return t;var e,n=JSON.parse(JSON.stringify(t)),i=n._done;return delete n.event,delete n.callback,delete n._done,e=0!==Object.keys(n).length?[t.event,n,t.callback]:[t.event,t.callback],i&&(e._tc_meta={done:i}),e}))),t.cact=t.cact||{},t.cactInfo={apiVersion:2};var e=function(e){e._tc_meta=e._tc_meta||{};var n=e[0];if(!e._tc_meta.done&&null!=t.cact[n]){e._tc_meta=e._tc_meta||{},e._tc_meta.done=!0;var o=t.cact[n]._tc_version;if(e=Array.prototype.slice.call(e,null==o?0:1),null==o){var c=i(e);t.cact[n](c,c.callback)}else t.cact[n].apply(t.cact,e)}},n=function(){},i=function(t){var e,i;return"object"==typeof t[1]?(e=t[1],i=t[2]):"function"==typeof t[1]?(e={},i=t[1]):e={},e.event=t[0],e.callback=i||n,e};t.cact.exec=function(){for(var n=0;n0&&(i=Number(n.delay),delete n.delay),setTimeout((function(){t.eventTarget.dispatchEvent(e,n)}),i)}}}(),tC.set=function(t,e,n){if(!t||"object"!=typeof t)return t;"string"==typeof e&&(e=e.split(".").map((function(t){return t.indexOf("[")>-1?t.replace(/\]/g,"").split("["):t})).reduce((function(t,e){return t.concat(e)}),[]));for(var i=t,o=0;o=200&&e.status<300?"done":"fail"];if(n){var i=e.response;if(!0===t.json)try{i=JSON.parse(i)}catch(t){}n(i,e.status)}}};e.onload=i,e.onerror=i,e.send(n)},function(){"use strict";tC.getCrossDomainCookie=tC.getCrossDomainCookie||function(t,e){e=e||function(){};var n=t.siteId,i=t.name,o=t.domain;tC.xhr({url:"https://"+o+"/get-cookie?tc_s="+n+"&name="+i,withCredentials:!0,json:!0,done:function(t){var n="";try{n=t[i]||""}catch(t){}e(n)},fail:function(t){tC.log&&tC.log("error occured retrieving cookie "+i,t),e("")}})}}(),function(){"use strict";var t={"cookie-serverside":{path:"css",serverId:"phoenix",defaultDomain:"collect.commander1.com",siteQueryArg:"tc_s",caidSync:!1},dms:{path:"dms",serverId:"data",defaultDomain:"engage.commander1.com",siteQueryArg:"tc_s"},events:{path:"events",serverId:"cdp",defaultDomain:"collect.commander1.com",siteQueryArg:"tc_s"},"measure-click-and-visit":{path:"cs3",serverId:"mix",defaultDomain:tC.clientCampaignDns||"mix.commander1.com",syncDomain:"collect.commander1.com",siteQueryArg:"tcs"},"measure-visit":{path:"s3",serverId:"mix",defaultDomain:tC.clientCampaignDns||"mix.commander1.com",syncDomain:"collect.commander1.com",siteQueryArg:"tcs"},"privacy-consent":{path:"privacy-consent",serverId:"trust",defaultDomain:"privacy.commander1.com",cookielessDomains:["privacy.trustcommander.net"],siteQueryArg:"site"}},e=function(){var t=new Date;return t.getFullYear()+("0"+(t.getMonth()+1)).slice(-2)+("0"+t.getDate()).slice(-2)+("0"+t.getHours()).slice(-2)+("0"+t.getMinutes()).slice(-2)+("0"+t.getSeconds()).slice(-2)+Math.floor(12345678942*Math.random()+1)},n=function(t,e){var n=!1;"function"!=typeof navigator.sendBeacon?n=!0:navigator.sendBeacon(t,e)||(n=!0),n&&tC.xhr({method:"POST",json:!0,url:t,data:e,withCredentials:!0})};null==tC.track&&(tC._trackVersion=4),tC.track=tC.track||function(i){var o=(i=i||{}).siteId||tC.config.siteId||tC.id_site,c=t[i.route];if(null==c)return null;var a={};c.siteQueryArg&&o&&(a[c.siteQueryArg]=o),Object.assign(a,i.queryParams);var s=Object.keys(a).reduce((function(t,e){var n=a[e];return t.push(e+"="+n),t}),[]);(s=s.join("&"))&&(s="?"+s);var r=JSON.stringify(i.body||{}),C=c.defaultDomain,u=i.domain||window.tC_collect_dns||tC.config.collectionDomain||C;"/"===(u=u.split("://").slice(-1)[0])[u.length-1]&&(u=u.slice(0,-1));var d=tC.isCustomDns(u),l=(c.cookielessDomains||[]).includes(u),v="https://"+u+(d&&!l?"/"+c.serverId:"")+"/"+c.path+s,g=tC.getCookie("CAID"),p=!1!==c.caidSync;if(p&&(p=null!=tC.config.caidSync?tC.config.caidSync:p,p=null!=i.caidSync?i.caidSync:p),d&&!l&&!g){if(p){var f=c.syncDomain||C;tC.getCrossDomainCookie({name:"TCID",siteId:o,domain:f},(function(t){var i=t;i||(i=e()),tC.setCookie("CAID",i),n(v,r)}))}else{var _=e();tC.setCookie("CAID",_),n(v,r)}}else n(v,r)}}(),function(){"use strict";tC.uniqueEventIndex=tC.uniqueEventIndex||0,tC.triggeredEvents=tC.triggeredEvents||[],tC.config=tC.config||{};tC.config.collectionDomain=tC.config.collectionDomain||tC.clientCollectDns;var t=/[a-z0-9-.+_-]+@[a-z0-9-]+(\.[a-z0-9-]+)*/i,e=/(user|mail|pass(word|phrase)?|secret|((first|last)name))/i,n=function(e){return(e||"").replace(t,"*****")};tC.generateEventId=function(){for(var t=String(Date.now()).slice(2)+Math.round(1e13*Math.random());t.length<24;)t+="0";return t},tC.trigger=function(i){var o=(i=i||{}).event,c=Object.assign({},i.properties),a=i.config||{},s=c.url||function(i){try{var o=new URL(i);return o.pathname=n(o.pathname),o.searchParams.forEach((function(i,c){return t.test(i)?o.searchParams.set(c,n(i)):e.test(c)?o.searchParams.set(c,"*****"):void 0})),o.toString()}catch(t){return i}}(window.location.href);tC.uniqueEventIndex++,tC.uniqueEventId=tC.generateEventId();var r={},C=a.sourceKey||tC.config.sourceKey||"26c82cf8-0cb8-4990-925e-60cfe86a9a35";C&&(r.token=C);var u,d=tC.config.eventData;if("object"==typeof d&&tC.deepMerge&&(c=tC.deepMerge({},d,c)),c.user=c.user||{},!c.user.consent_categories){var l=[];"privacy"in tC&&(l="getValidCategories"in tC.privacy?tC.privacy.getValidCategories():tC.privacy.getOptinCategories());var v=tC.getCookie(tC.privacy&&tC.privacy.getCN()||"TC_PRIVACY");/ALL/.test(v)&&(l=["1","2","3","4","5","6","7","8","9","10"]),c.user.consent_categories=l}if(!c.user.rejected_vendors){var g=[];tC.privacy&&(tC.privacy.checkOptoutAllVendors&&tC.privacy.checkOptoutAllVendors()?g="ALL":tC.privacy.checkOptinAllVendors&&!tC.privacy.checkOptinAllVendors()&&(g=tC.privacy.getOptoutVendors())),c.user.rejected_vendors=g}switch(c.revenue&&(c.amount=c.revenue),c.integrations=c.integrations||{},c.integrations.facebook=c.integrations.facebook||{},c.integrations.facebook.fbc=tC.getCookie("_fbc")||void 0,c.integrations.facebook.fbp=tC.getCookie("_fbp")||void 0,c.integrations.facebook.event_id=c.integrations.facebook.event_id||tC.uniqueEventId,o){case"page_view":c.title=document.title,c.path=location.pathname,c.url=s,""!==document.referrer&&(c.referrer=document.referrer),c.type=c.type||(window.tc_vars||{}).env_template||"other",c.page_type=c.page_type||(window.tc_vars||{}).env_template||"other";break;case"purchase":c.status=c.status||"in_progress",c.type=c.type||"online"}try{u=window.Intl&&window.Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}var p,f=document.documentElement||{},_=window.navigator||{},h={title:document.title,url:s,lang:f.lang,referrer:document.referrer||tC.storage&&tC.storage.get("TC_REFERRER"),viewport:{width:f.clientWidth,height:f.clientHeight}},k={cookie:(p=["_fbp","_fbc",/^_+(ga|gcl|opt_|utm)/,/^(pm_sess|VISITOR_INFO1|FPGCL|GA_)/,"__gsas","NID","DSID","test_cookie","id","GED_PLAYLIST_ACTIVITY","ACLK_DATA","aboutads_sessNNN","FPAU","ANID","AID","IDE","TAID","FLC","RUL","FCCDCF","FCNEC","CUID","1P_JAR","Conversion","YSC","FPLC","_gid","AMP_TOKEN","FPID","_dc_gtm_","PAIDCONTENT","atuserid","xtidc","crto_mapped_user_id","awc","tduid","kwks2s","_ttp",/^_pk_id\./,"_pcid","pa_vid","rmStore","_uetmsclkid",/^_dy.*/,/^ty_.*/],(document.cookie||"").split("; ").filter((function(t){var e=t.split("=")[0];return p.find((function(t){return t.test?t.test(e):e===t}))})).join("; ")||""),lang:_.language||_.userLanguage,screen:{width:window.screen.width,height:window.screen.height},timezone:u};tC.internalvars.caEventData=c;var m={event_name:o,context:{page:h,device:k,eventId:a.eventId?String(a.eventId):tC.uniqueEventId,version:2,created:(new Date).toJSON(),generatorVersion:tC.generatorVersion,containerVersion:tC.containerVersion}};if(Object.assign(m,c),100100;)tC.triggeredEvents.shift();tC.triggeredEvents.push(m),tC.lastTriggeredEvent=tC.triggeredEvents[tC.triggeredEvents.length-1];var L=a.siteId||a.idSite,T=a.collectionDomain;if(tC.track({domain:T,route:"events",siteId:L,queryParams:r,body:m,caidSync:a.caidSync}),tC.eventTarget){var y={eventData:m,eventTarget:a.eventTarget};tC.eventTarget.dispatchEvent("track_"+o,y),tC.eventTarget.dispatchEvent("track_all_events",y)}return tC.uniqueEventIndex}}(),tC.storage={has:function(){try{return"localStorage"in window&&null!=window.localStorage&&(window.localStorage.setItem("TC_CHECK","1"),window.localStorage.removeItem("TC_CHECK"),!0)}catch(t){return!1}},isAvailable:function(){try{return window.localStorage,!0}catch(t){return!1}},get:function(t){if(this.isAvailable())return window.localStorage.getItem(t)},set:function(t,e){if(this.isAvailable())try{return window.localStorage.setItem(t,e)||!0}catch(t){return!1}},remove:function(t){if(this.isAvailable())return window.localStorage.removeItem(t)||!0},setWithExpiry:function(t,e,n){if(this.isAvailable()){var i=(new Date).getTime(),o=1e3*n*60*60*24,c=JSON.stringify({value:e,expires:i+o});try{window.localStorage.setItem(t,c)}catch(t){}}},getWithExpiry:function(t){if(this.isAvailable()){var e=window.localStorage.getItem(t);if(null==e)return null;var n=(new Date).getTime();return(e=JSON.parse(e)).expires or is not found ! the file "+t+" is not implemented !","warn")}},tC.bypassBookmarklet=!0,null!=tC.privacy&&!1===tC.privacy.initialized&&tC.privacy.init(),tC.extend({executeListener362_6418_27:function(t){window.top.postMessage('TC.EX.TRIGGER.FIRED:{"id":362,"name":"DOM ready","idcat":1,"cat":"DOM Ready"}',"*"),tC.executeTag902_6418_27(t),tC.eventTarget.dispatchEvent("tag_trigger_dom_ready",{eventTarget:(t||{}).target}),tC.launchTag(902,"CookieScript - OnConsentChanged: triggering tC.event",26,6418,27,362),tC.executeTag930_6418_27(t),tC.eventTarget.dispatchEvent("tag_trigger_dom_ready",{eventTarget:(t||{}).target}),tC.launchTag(930,"Technical - pageView - ContainerLoaded",26,6418,27,362)}}),tC.event=tC.event||{},tC.event.wishlistClickListFunctions=tC.event.wishlistClickListFunctions||[],tC.event.wishlistClickListIdTags=tC.event.wishlistClickListIdTags||[],-1==tC.event.wishlistClickListIdTags.indexOf("753")&&(tC.event.wishlistClickListIdTags.push("753"),tC.event.wishlistClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,306)}))),tC.event.wishlistClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.wishlistClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag383_6418_27(t,e),tC.launchTag(383,"GA4 - clickNavigation",26,6418,27,51))}))),-1==tC.event.clickNavigationListIdTags.indexOf("753")&&(tC.event.clickNavigationListIdTags.push("753"),tC.event.clickNavigationListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,51)}))),tC.event.clickNavigation=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickNavigationListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag712_6418_27(t,e),tC.launchTag(712,"GA4 - productListView",26,6418,27,310))}))),-1==tC.event.productListViewListIdTags.indexOf("753")&&(tC.event.productListViewListIdTags.push("753"),tC.event.productListViewListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,310)}))),tC.event.productListView=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.productListViewListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag389_6418_27(t,e),tC.launchTag(389,"GA4 - newsletterSubscription",26,6418,27,57))}))),-1==tC.event.newsletterSubscriptionListIdTags.indexOf("753")&&(tC.event.newsletterSubscriptionListIdTags.push("753"),tC.event.newsletterSubscriptionListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,57)}))),tC.event.newsletterSubscription=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.newsletterSubscriptionListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag726_6418_27(t,e),tC.launchTag(726,"GA4 - carouselClick",26,6418,27,316))}))),-1==tC.event.carouselClickListIdTags.indexOf("753")&&(tC.event.carouselClickListIdTags.push("753"),tC.event.carouselClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,316)}))),tC.event.carouselClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.carouselClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag740_6418_27(t,e),tC.launchTag(740,"GA4 - promotionView",26,6418,27,318))}))),-1==tC.event.promotionViewListIdTags.indexOf("753")&&(tC.event.promotionViewListIdTags.push("753"),tC.event.promotionViewListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,318)}))),tC.event.promotionView=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.promotionViewListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag678_6418_27(t,e),tC.launchTag(678,"GA4 - clickMarketingSubCategory",26,6418,27,321))}))),-1==tC.event.clickMarketingSubCategoryListIdTags.indexOf("753")&&(tC.event.clickMarketingSubCategoryListIdTags.push("753"),tC.event.clickMarketingSubCategoryListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,321)}))),tC.event.clickMarketingSubCategory=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickMarketingSubCategoryListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag684_6418_27(t,e),tC.launchTag(684,"GA4 - clickMarketingCategory",26,6418,27,325))}))),-1==tC.event.clickMarketingCategoryListIdTags.indexOf("753")&&(tC.event.clickMarketingCategoryListIdTags.push("753"),tC.event.clickMarketingCategoryListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,325)}))),tC.event.clickMarketingCategory=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickMarketingCategoryListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag407_6418_27(t,e),tC.launchTag(407,"GA4 - search",26,6418,27,73))}))),-1==tC.event.searchListIdTags.indexOf("753")&&(tC.event.searchListIdTags.push("753"),tC.event.searchListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,73)}))),tC.event.search=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.searchListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag743_6418_27(t,e),tC.launchTag(743,"GA4 - clickAddReview",26,6418,27,329))}))),-1==tC.event.clickAddReviewListIdTags.indexOf("753")&&(tC.event.clickAddReviewListIdTags.push("753"),tC.event.clickAddReviewListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,329)}))),tC.event.clickAddReview=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickAddReviewListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag409_6418_27(t,e),tC.launchTag(409,"GA4 - searchSuggestion",26,6418,27,75))}))),-1==tC.event.searchSuggestionListIdTags.indexOf("753")&&(tC.event.searchSuggestionListIdTags.push("753"),tC.event.searchSuggestionListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,75)}))),tC.event.searchSuggestion=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.searchSuggestionListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag745_6418_27(t,e),tC.launchTag(745,"GA4 - clickSeeReviews",26,6418,27,331))}))),-1==tC.event.clickSeeReviewsListIdTags.indexOf("753")&&(tC.event.clickSeeReviewsListIdTags.push("753"),tC.event.clickSeeReviewsListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,331)}))),tC.event.clickSeeReviews=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickSeeReviewsListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag411_6418_27(t,e),tC.launchTag(411,"GA4 - clickAddToCart",26,6418,27,77))}))),-1==tC.event.clickAddToCartListIdTags.indexOf("753")&&(tC.event.clickAddToCartListIdTags.push("753"),tC.event.clickAddToCartListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,77)}))),tC.event.clickAddToCart=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickAddToCartListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag757_6418_27(t,e),tC.launchTag(757,"GA4 - accountLogin",26,6418,27,337))}))),-1==tC.event.accountLoginListIdTags.indexOf("753")&&(tC.event.accountLoginListIdTags.push("753"),tC.event.accountLoginListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,337)}))),tC.event.accountLogin=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.accountLoginListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag759_6418_27(t,e),tC.launchTag(759,"GA4 - clickAccountNavigation",26,6418,27,339))}))),-1==tC.event.clickAccountNavigationListIdTags.indexOf("753")&&(tC.event.clickAccountNavigationListIdTags.push("753"),tC.event.clickAccountNavigationListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,339)}))),tC.event.clickAccountNavigation=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickAccountNavigationListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag761_6418_27(t,e),tC.launchTag(761,"GA4 - notifyMeClick",26,6418,27,341))}))),-1==tC.event.notifyMeClickListIdTags.indexOf("753")&&(tC.event.notifyMeClickListIdTags.push("753"),tC.event.notifyMeClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,341)}))),tC.event.notifyMeClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.notifyMeClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag763_6418_27(t,e),tC.launchTag(763,"GA4 - clickMoreReviews",26,6418,27,343))}))),-1==tC.event.clickMoreReviewsListIdTags.indexOf("753")&&(tC.event.clickMoreReviewsListIdTags.push("753"),tC.event.clickMoreReviewsListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,343)}))),tC.event.clickMoreReviews=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickMoreReviewsListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag767_6418_27(t,e),tC.launchTag(767,"GA4 - clickDownloadInvoice",26,6418,27,347))}))),-1==tC.event.clickDownloadInvoiceListIdTags.indexOf("753")&&(tC.event.clickDownloadInvoiceListIdTags.push("753"),tC.event.clickDownloadInvoiceListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,347)}))),tC.event.clickDownloadInvoice=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickDownloadInvoiceListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag427_6418_27(t,e),tC.launchTag(427,"GA4 - facetedSearch",26,6418,27,93))}))),-1==tC.event.facetedSearchListIdTags.indexOf("753")&&(tC.event.facetedSearchListIdTags.push("753"),tC.event.facetedSearchListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,93)}))),tC.event.facetedSearch=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.facetedSearchListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag435_6418_27(t,e),tC.launchTag(435,"GA4 - clickSort",26,6418,27,101))}))),-1==tC.event.clickSortListIdTags.indexOf("753")&&(tC.event.clickSortListIdTags.push("753"),tC.event.clickSortListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,101)}))),tC.event.clickSort=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickSortListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag923_6418_27(t,e),tC.launchTag(923,"GA4 - threeDimensionalViewing",26,6418,27,385))}))),-1==tC.event.threeDimensionalViewingListIdTags.indexOf("753")&&(tC.event.threeDimensionalViewingListIdTags.push("753"),tC.event.threeDimensionalViewingListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,385)}))),tC.event.threeDimensionalViewing=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.threeDimensionalViewingListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag924_6418_27(t,e),tC.launchTag(924,"GA4 - clickThreeDimensionalViewing",26,6418,27,386))}))),-1==tC.event.clickThreeDimensionalViewingListIdTags.indexOf("753")&&(tC.event.clickThreeDimensionalViewingListIdTags.push("753"),tC.event.clickThreeDimensionalViewingListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,386)}))),tC.event.clickThreeDimensionalViewing=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickThreeDimensionalViewingListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag804_6418_27(t,e),tC.launchTag(804,"GA4 - init gtag",26,6418,27,388))}))),-1==tC.event.pageViewListIdTags.indexOf("800")&&(tC.event.pageViewListIdTags.push("800"),tC.event.pageViewListFunctions.push((function(t,e){"ContainerLoaded"!=tc_array_events.triggerScenario&&"CookieScriptOnConsentChanged"!=tc_array_events.triggerScenario||(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag800_6418_27(t,e),tC.launchTag(800,"GA4 - config",26,6418,27,388))}))),-1==tC.event.pageViewListIdTags.indexOf("806")&&(tC.event.pageViewListIdTags.push("806"),tC.event.pageViewListFunctions.push((function(t,e){"ContainerLoaded"!=tc_array_events.triggerScenario&&"CookieScriptOnConsentChanged"!=tc_array_events.triggerScenario||(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag806_6418_27(t,e),tC.launchTag(806,"GA4 - Page Views",26,6418,27,388))}))),-1==tC.event.pageViewListIdTags.indexOf("379")&&(tC.event.pageViewListIdTags.push("379"),tC.event.pageViewListFunctions.push((function(t,e){"ContainerLoaded"!=tc_array_events.triggerScenario&&"CookieScriptOnConsentChanged"!=tc_array_events.triggerScenario||(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag379_6418_27(t,e),tC.launchTag(379,"GA4 - Engaged Sessions",26,6418,27,388))}))),tC.event.pageView=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.pageViewListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag934_6418_27(t,e),tC.launchTag(934,"GA4- plpBannerClick",26,6418,27,389))}))),-1==tC.event.plpBannerClickListIdTags.indexOf("753")&&(tC.event.plpBannerClickListIdTags.push("753"),tC.event.plpBannerClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,389)}))),tC.event.plpBannerClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.plpBannerClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag935_6418_27(t,e),tC.launchTag(935,"GA4 - clickMiniCart",26,6418,27,390))}))),-1==tC.event.clickMiniCartListIdTags.indexOf("753")&&(tC.event.clickMiniCartListIdTags.push("753"),tC.event.clickMiniCartListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,390)}))),tC.event.clickMiniCart=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickMiniCartListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag469_6418_27(t,e),tC.launchTag(469,"GA4 - FAQ",26,6418,27,135))}))),-1==tC.event.FAQListIdTags.indexOf("753")&&(tC.event.FAQListIdTags.push("753"),tC.event.FAQListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,135)}))),tC.event.FAQ=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.FAQListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag936_6418_27(t,e),tC.launchTag(936,"GA4 - reachBasketExclusiveOffer",26,6418,27,391))}))),-1==tC.event.reachBasketExclusiveOfferListIdTags.indexOf("753")&&(tC.event.reachBasketExclusiveOfferListIdTags.push("753"),tC.event.reachBasketExclusiveOfferListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,391)}))),tC.event.reachBasketExclusiveOffer=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.reachBasketExclusiveOfferListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag937_6418_27(t,e),tC.launchTag(937,"GA4 - clickBlog",26,6418,27,392))}))),-1==tC.event.clickBlogListIdTags.indexOf("753")&&(tC.event.clickBlogListIdTags.push("753"),tC.event.clickBlogListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,392)}))),tC.event.clickBlog=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickBlogListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag491_6418_27(t,e),tC.launchTag(491,"GA4 - clickBasketPromoCode",26,6418,27,157))}))),-1==tC.event.clickBasketPromoCodeListIdTags.indexOf("753")&&(tC.event.clickBasketPromoCodeListIdTags.push("753"),tC.event.clickBasketPromoCodeListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,157)}))),tC.event.clickBasketPromoCode=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickBasketPromoCodeListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag493_6418_27(t,e),tC.launchTag(493,"GA4 - clickCheckoutPay",26,6418,27,159))}))),-1==tC.event.clickCheckoutPayListIdTags.indexOf("753")&&(tC.event.clickCheckoutPayListIdTags.push("753"),tC.event.clickCheckoutPayListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,159)}))),tC.event.clickCheckoutPay=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickCheckoutPayListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag497_6418_27(t,e),tC.launchTag(497,"GA4 - accountCreation",26,6418,27,163))}))),-1==tC.event.accountCreationListIdTags.indexOf("753")&&(tC.event.accountCreationListIdTags.push("753"),tC.event.accountCreationListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,163)}))),tC.event.accountCreation=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.accountCreationListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag765_6418_27(t,e),tC.launchTag(765,"GA4 - clickOrderFollow",26,6418,27,169))}))),-1==tC.event.clickOrderFollowListIdTags.indexOf("753")&&(tC.event.clickOrderFollowListIdTags.push("753"),tC.event.clickOrderFollowListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,169)}))),tC.event.clickOrderFollow=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickOrderFollowListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag597_6418_27(t,e),tC.launchTag(597,"GA4 - productClick",26,6418,27,221))}))),-1==tC.event.productClickListIdTags.indexOf("753")&&(tC.event.productClickListIdTags.push("753"),tC.event.productClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,221)}))),tC.event.productClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.productClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag599_6418_27(t,e),tC.launchTag(599,"GA4 - promotionClick",26,6418,27,223))}))),-1==tC.event.promotionClickListIdTags.indexOf("753")&&(tC.event.promotionClickListIdTags.push("753"),tC.event.promotionClickListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,223)}))),tC.event.promotionClick=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.promotionClickListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag637_6418_27(t,e),tC.launchTag(637,"GA4 - clickRemoveFromCart",26,6418,27,231))}))),-1==tC.event.clickRemoveFromCartListIdTags.indexOf("753")&&(tC.event.clickRemoveFromCartListIdTags.push("753"),tC.event.clickRemoveFromCartListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,231)}))),tC.event.clickRemoveFromCart=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickRemoveFromCartListFunctions.length;n-1||tC.internalvars.CookieScriptConsentUndefined)&&(tC.executeTag661_6418_27(t,e),tC.launchTag(661,"GA4 - clickdownloadApp",26,6418,27,239))}))),-1==tC.event.clickdownloadAppListIdTags.indexOf("753")&&(tC.event.clickdownloadAppListIdTags.push("753"),tC.event.clickdownloadAppListFunctions.push((function(t,e){tC.executeTag753_6418_27(t,e),tC.launchTag(753,"Commanders Act - Event QA",1377,6418,27,239)}))),tC.event.clickdownloadApp=function(t,e){tc_array_events=tC.container_6418_27.init_tc_array_events(e);for(var n=0,i=tC.event.clickdownloadAppListFunctions.length;n0&&(void 0===e[1]?tC.event[t](e[0]):tC.event[t](e[0],e[1]))}))},reload:function(t,e){"boolean"!=typeof e&&(e=!1),e||(tC.container_position=0,tC.reload_events=!0),this.load(arguments[0],!0)},datalayer:function(){"undefined"==typeof tc_vars&&(window.tc_vars=[]);var t="product_voucher_code|internal_promotion|marketing_range|error_code|privacy_perso|privacy_audience|privacy_pub|privacy_social|user_transaction_count|product_availability|product_label|category_product_type|product_list|voucher_code|voucher_availability|order_subtotal|order_tax|cart_currency|site_env|page_type|pathName|user_status|user_has_transacted|user_id|shipping_method|order_payment_method|promotion_type|order_currency|cart_total|voucher_operation|cart_subtotal|cart_id|order_items|shipping_cost|voucher_discount|cart_items|order_id|promotion_id|promotion_name|order_total|page_view_sent|site_id|SIS_subcategory|search_query|search_results_count|SIS_category|site_country|marketing_subcategory|site_lang|marketing_category|product_brand|product_name|product_id|product_type|product_currency|product_price".split("|");for(var e in t)tc_vars.hasOwnProperty(t[e])||(tc_vars[t[e]]="");window.top.postMessage("TC.EX.EXT_VARS.RELOAD","*")},datastorage:function(){window.top.postMessage("TC.EX.DATASTORAGE.RELOAD","*")},deduplication:function(){tC.dedup&&(tC.dedup.LeA=!1,tC.dedup.LeAD=!1,tC.dedup.LeC=!1,tC.dedup.LeCD=!1,tC.dedup.LeV=!1,tC.dedup.LeVD=!1,tC.dedup.FeA=!1,tC.dedup.FeAD=!1,tC.dedup.FeC=!1,tC.dedup.FeCD=!1,tC.dedup.FeV=!1,tC.dedup.FeVD=!1,tC.dedup.AeA=[],tC.dedup.AeC=[],tC.dedup.AeV=[],tC.dedup.init(),tC.dedup.setEventList())},eventlisteners:function(){},internalvars:function(){var t=tC.internalvars_6418_27.listVar;if(t.length>0)for(var e=0;e-1&&['transaction','item'].indexOf(sendHitTaskModel.get('hitType'))===-1){canSendHit=false;}else if(_td_storedIds.indexOf(_td_transactionId)===-1){_td_storedIds.push(_td_transactionId);writeToStorage(transactionDeduper.keyName,JSON.stringify(_td_storedIds),transactionDeduper.cookieExpiresDays);}}
if(canSendHit){originalSendHitTask(sendHitTaskModel);}
if(typeof duplicateHitToTrackingIds!=='undefined'&&duplicateHitToTrackingIds.length){var _dh_hitPayload=sendHitTaskModel.get('hitPayload');var _dh_originalTrackingId=new RegExp(sendHitTaskModel.get('trackingId'),'gi');duplicateHitToTrackingIds.forEach(function(newTrackingId){sendHitTaskModel.set('hitPayload',_dh_hitPayload.replace(_dh_originalTrackingId,newTrackingId),true);if(canSendHit){originalSendHitTask(sendHitTaskModel);}});}}catch(err){originalSendHitTask(originalSendHitTaskModel);}});};};tC.internalvars.customTask=_customTask();}
tC.internalvars_6418.initiators.var133();tC.internalvars_6418_27.listVar.push(133);tC.internalvars_6418.initiators.var362=function(){if(sessionStorage.getItem("_page_referrer")!==null){tC.internalvars.tc_referrer=sessionStorage.getItem("_page_referrer");}else{if(document.referrer!==""){tC.internalvars.tc_referrer=document.referrer;}else{tC.internalvars.tc_referrer="(no referrer)";}
sessionStorage.setItem("_page_referrer",tC.internalvars.tc_referrer);}}
tC.internalvars_6418.initiators.var362();tC.internalvars_6418_27.listVar.push(362);tC.internalvars_6418.initiators.var364=function(){tC.internalvars.cookieLifetimeLimitation="";function getCookie(name){function escape(s){return s.replace(/([.*+?\^$(){}|\[\]\/\\])/g,'\\$1');}
var match=document.cookie.match(RegExp('(?:^|;\\s*)'+escape(name)+'=([^;]*)'));return match?match[1]:null;};var GA_cookie=getCookie('_ga');function setGATimeout(){var maxMonths=13,return_value=maxMonths*31*24*60*60,firstVisit=(!!GA_cookie)?new Date(+(GA_cookie.split('.')[3])*1000):new Date(),maintenant=new Date(),expireDate=firstVisit;expireDate.setMonth(firstVisit.getMonth()+maxMonths);if(!isNaN(Math.floor((expireDate-maintenant)/(1000)))){return_value=Math.max(Math.floor((expireDate-maintenant)/1000),2);}
return return_value;}
tC.internalvars.cookieLifetimeLimitation=setGATimeout();}
tC.internalvars_6418.initiators.var364();tC.internalvars_6418_27.listVar.push(364);tC.internalvars_6418.initiators.var55=function(){tC.internalvars.tc_random_tmp=new String(Math.random());tC.internalvars.tc_random=tC.internalvars.tc_random_tmp.substring(2,11);}
tC.internalvars_6418.initiators.var55();tC.internalvars_6418_27.listVar.push(55);tC.internalvars_6418.initiators.var57=function(){tC.internalvars.tc_timestamp=Math.round(new Date().getTime()/1000.0);}
tC.internalvars_6418.initiators.var57();tC.internalvars_6418_27.listVar.push(57);tC.internalvars_6418.initiators.var67=function(){tC.internalvars.tc_url=document.location.href;}
tC.internalvars_6418.initiators.var67();tC.internalvars_6418_27.listVar.push(67);tC.internalvars_6418.initiators.var479=function(){var removeEmailPagePath=function(pagePath,emailRemovedText){return pagePath.replace(/([a-zA-Z0-9\.\+_-`~!#\$%\^&*\(\)]+(@|%40|%2540)[a-zA-Z0-9\.\+_-`~!#\$%\^&*\(\)]+\.[a-zA-Z0-9\.\+_-`~!#\$%\^*\(\)]+)/gi,emailRemovedText);}
tC.internalvars.scrubbedURL=removeEmailPagePath(document.location.href,'[REDACTED EMAIL]');}
tC.internalvars_6418.initiators.var479();tC.internalvars_6418_27.listVar.push(479);tC.internalvars_6418.initiators.var68=function(){tC.internalvars.tc_pathname=document.location.pathname.toLowerCase();}
tC.internalvars_6418.initiators.var68();tC.internalvars_6418_27.listVar.push(68);tC.internalvars_6418.initiators.var171=function(){tC.internalvars.bu_family_level_1V2="";if(tc_vars["bu_family_level_1"]){tC.internalvars.bu_family_level_1V2=tc_vars["bu_family_level_1"];}}
tC.internalvars_6418.initiators.var171();tC.internalvars_6418_27.listVar.push(171);tC.internalvars_6418.initiators.var173=function(){tC.internalvars.bu_product_lineV2="";if(tc_vars["bu_product_line"]){tC.internalvars.bu_product_lineV2=tc_vars["bu_product_line"];}}
tC.internalvars_6418.initiators.var173();tC.internalvars_6418_27.listVar.push(173);tC.internalvars_6418.initiators.var175=function(){tC.internalvars.bu_family_level_2V2="";if(tc_vars["bu_family_level_2"]){tC.internalvars.bu_family_level_2V2=tc_vars["bu_family_level_2"];}}
tC.internalvars_6418.initiators.var175();tC.internalvars_6418_27.listVar.push(175);tC.internalvars_6418.initiators.var177=function(){tC.internalvars.bu_subfamily_code="";var sf=(tc_vars['bu_family_level_1'])?tc_vars['bu_family_level_1']:undefined;if(sf){var match=sf.match(/\d{6}/)
if(match.length===1){tC.internalvars.bu_subfamily_code=match[0];}}}
tC.internalvars_6418.initiators.var177();tC.internalvars_6418_27.listVar.push(177);tC.internalvars_6418.initiators.var179=function(){tC.internalvars.CD50_All_Info="";var pl=(tc_vars['bu_product_line'])?tc_vars['bu_product_line']:"",l1=(tc_vars['bu_family_level_1'])?tc_vars['bu_family_level_1']:"",l2=(tc_vars['bu_family_level_2'])?tc_vars['bu_family_level_2']:"";if(pl.indexOf("|")==-1){if(pl.length==1){pl+="|";}else{pl="|"+pl;}}
if(pl&&l1&&l2){tC.internalvars.CD50_All_Info=[pl,l2,l1].join("|");}}
tC.internalvars_6418.initiators.var179();tC.internalvars_6418_27.listVar.push(179);tC.internalvars_6418.initiators.var304=function(){tC.internalvars.SessionIDUnique=tC.getCookie("SessionIDUnique");}
tC.internalvars_6418.initiators.var304();tC.internalvars_6418_27.listVar.push(304);tC.internalvars_6418.initiators.var314=function(){var JSTransactionIdSent=function(){var keyName='_transaction_ids';var ids=JSON.parse((!!window.Storage?window.localStorage.getItem(keyName):tC.internalvars.cookieTransactionIds)||'[]');return ids.indexOf(tc_vars["order_id"])>-1;}
tC.internalvars.JSTransactionIdSent=JSTransactionIdSent();}
tC.internalvars_6418.initiators.var314();tC.internalvars_6418_27.listVar.push(314);tC.internalvars_6418.initiators.var316=function(){function getCookie(name){function escape(s){return s.replace(/([.*+?\^$(){}|\[\]\/\\])/g,'\\$1');}
var match=document.cookie.match(RegExp('(?:^|;\\s*)'+escape(name)+'=([^;]*)'));return match?match[1]:null;}
tC.internalvars.cookieTransactionIds=getCookie('_last_transaction_id');}
tC.internalvars_6418.initiators.var316();tC.internalvars_6418_27.listVar.push(316);tC.internalvars_6418.initiators.var328=function(){tC.internalvars.nullRefererPurchase=window.location.pathname.indexOf('/order-confirmation/')>-1?null:document.referrer;}
tC.internalvars_6418.initiators.var328();tC.internalvars_6418_27.listVar.push(328);tC.internalvars_6418.initiators.var331=function(){tC.internalvars.order_qty_total="";var oqt=0;var order_items=tc_vars["order_items"]
for(var i=0;i=0){Analytic.bindCommerceConnectorRetailersEvent($("html"));}});});};document.addEventListener('DOMContentLoaded',function(){if(document.querySelector("body > div.l-footer-wrapper > footer > div.c-footer__bottom > div > div:nth-child(2) > div.c-footer__legal.col-sm-12.order-sm-2.order-md-1.col-md-6 > a.extern-cookies-popup")!=null){var cookiesClic=document.querySelector("body > div.l-footer-wrapper > footer > div.c-footer__bottom > div > div:nth-child(2) > div.c-footer__legal.col-sm-12.order-sm-2.order-md-1.col-md-6 > a.extern-cookies-popup")
cookiesClic.addEventListener('click',function(){tC.event.privacyCenterDisplay()})}});tC.container_6418_27.datastorage();
//----------------------------------------------------
//----
tC.extend({executeTag753_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};if(tC.getCookie('tCdebugLib')==="1"){if(typeof tc_array_events!="undefined"){tc_array=tC.array_launched_tags;tC.log(tc_array[tc_array.length-1]);var datalayer=tc_array_events;var result={};var data=function(a){this.value=a};var readDatalayer=function(a,e){for(var t in e/2>=0&&(e=""),a)
if(a.hasOwnProperty(t)&&"push"!==t&&"_push"!==t){var r=a[t];"object"!=typeof r&&""!==r?e&&""!==e?result[e+"."+t]=new data(r):result[t]=new data(r):readDatalayer(r,e&&""!==e?e+"."+t:t)}};readDatalayer(datalayer);console.table(result);}}}});tC.extend({executeTag383_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};try{gtag('event','navigate_on_menu',{'send_to':'ga4','navigation_level':tc_array_events["navLevel"]});}catch(e){}}});tC.extend({executeTag712_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};var lplga4=[];var listItems=tc_array_events["productList"];for(var i=0;i=0&&(e=""),a)
if(a.hasOwnProperty(t)&&"push"!==t&&"_push"!==t){var r=a[t];"object"!=typeof r&&""!==r?e&&""!==e?result[e+"."+t]=new data(r):result[t]=new data(r):readDatalayer(r,e&&""!==e?e+"."+t:t)}};readDatalayer(datalayer);tC.log("*** CommandersAct Page Datalayer ***");console.table(result);}else{tC.log("*** CommandersAct Datalayer missing ***");}}}});tC.extend({executeTag923_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};try{gtag('event','view_item_3D_availability',{'send_to':'ga4','content_name':tc_array_events["contentName"],'item_name':tc_array_events["productName"]});}catch(e){}}});tC.extend({executeTag924_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};try{gtag('event','select_item_3D_viewing',{'send_to':'ga4','content_name':tc_array_events["contentName"],'item_name':tc_array_events["productName"]});}catch(e){}}});tC.extend({executeTag929_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};window["ga-disable-"+tC.internalvars.local_GA4_property]=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1===false?true:false)
window["ga-disable-"+tC.internalvars.global_GA4_property]=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1===false?true:false)
if(tc_vars["page_view_sent"]!==tC.internalvars.tc_url){tC.event.pageView(this,{"triggerScenario":"CookieScriptOnConsentChanged"});tc_vars["page_view_sent"]=tC.internalvars.tc_url;}}});tC.extend({executeTag928_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};if(tc_array_events.triggerScenario==="ContainerLoaded"){tc_vars["privacy_pub"]=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?1:0);tc_vars["privacy_social"]=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?1:0);tC.internalvars.privacy.ads=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?true:false);tC.internalvars.privacy.social=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?true:false);tc_vars["privacy_audience"]=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1?1:0);tC.internalvars.privacy.analytics=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1?true:false);}else if(tc_array_events.triggerScenario==="OneTrustOnConsentChanged"){tc_vars["privacy_pub"]=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?1:0);tc_vars["privacy_social"]=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?1:0);tC.internalvars.privacy.ads=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?true:false);tC.internalvars.privacy.social=(tC.getCookie("CookieScriptConsent").indexOf("targeting")>-1?true:false);tc_vars["privacy_audience"]=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1?1:0);tC.internalvars.privacy.analytics=(tC.getCookie("CookieScriptConsent").indexOf("performance")>-1?true:false);}}});tC.extend({executeTag804_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};tC.script.add("//www.googletagmanager.com/gtag/js?id="+tC.internalvars.local_GA4_property);window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){dataLayer.push(arguments);}
gtag('js',new Date());gtag('set',{'currency':tC.internalvars.currency,'anonymize_ip':true,'cookie_expires':tC.internalvars.cookieLifetimeLimitation,'allow_google_signals':tC.internalvars.privacy.ads,'allow_ad_personalization_signals':tC.internalvars.privacy.personnalization,'page_location':tC.internalvars.scrubbedURL,'page_custom_referrer':tC.internalvars.tc_referrer,'page_query':tC.internalvars.scrubbedQuery,'user_properties':{'user_id':tc_vars["user_id"],'user_status':tc_vars["user_status"],'privacy_perso':tC.internalvars.privacyGlobal.perso,'privacy_audience':tC.internalvars.privacyGlobal.analytics,'privacy_pub':tC.internalvars.privacyGlobal.pub,'privacy_social':tC.internalvars.privacyGlobal.social}});if(tC.internalvars.privacy.ads==="false"){gtag('set','allowAdFeatures',false);}
if((/gclid|dclid|utm_source/).test(document.location.search)||tc_vars["page_type"]=='checkout.confirmation'){gtag('set',{'page_referrer':'','ignore_referrer':true});}
regex=/^(www(\.services)?|promo|shop|blog|moncookeoperso|lp)\.(tefal(-home)?|t-fal|moulinex|rowenta|all-?clad|arno|seb|calor|krups|rochedo|obhnordica|emsa|wmf|imusa|supor|lagostina|samurai|umco|panex|vpc\.groupeseb|zahranstores|homeandcook)(usa|russia|-me)?\.(\w)+\.?(\w)*$/;hostname=document.location.hostname;if(!hostname.match(regex)){gtag('set','traffic_type','internal');}}});tC.extend({executeTag800_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};gtag('config',tC.internalvars.local_GA4_property,{'groups':['ga4','ga4_local'],'send_page_view':false,'content_group':tc_vars["page_type"],'page_custom_referrer':tC.internalvars.tc_referrer,'page_query':tC.internalvars.scrubbedQuery,'page_type':tc_vars["page_type"],'section':tC.internalvars.section,'site_country':tc_vars["site_country"],'site_zone':tC.internalvars.site_zone,'site_language':tc_vars["site_lang"],'site_brand':tC.internalvars.site_brand,'site_id':tc_vars["site_id"],'zone_country_brand':tC.internalvars.site_zone+'|'+tc_vars["site_country"]+'|'+tC.internalvars.site_brand,'privacy_perso':tC.internalvars.privacyGlobal.perso,'privacy_audience':tC.internalvars.privacyGlobal.analytics,'privacy_pub':tC.internalvars.privacyGlobal.pub,'privacy_social':tC.internalvars.privacyGlobal.social});gtag('config',tC.internalvars.global_GA4_property,{'groups':'ga4','send_page_view':false,'content_group':tc_vars["page_type"],'page_custom_referrer':tC.internalvars.tc_referrer,'page_query':tC.internalvars.scrubbedQuery,'page_type':tc_vars["page_type"],'section':tC.internalvars.section,'site_country':tc_vars["site_country"],'site_zone':tC.internalvars.site_zone,'site_language':tc_vars["site_lang"],'site_brand':tC.internalvars.site_brand,'site_id':tc_vars["site_id"],'zone_country_brand':tC.internalvars.site_zone+'|'+tc_vars["site_country"]+'|'+tC.internalvars.site_brand,'privacy_perso':tC.internalvars.privacyGlobal.perso,'privacy_audience':tC.internalvars.privacyGlobal.analytics,'privacy_pub':tC.internalvars.privacyGlobal.pub,'privacy_social':tC.internalvars.privacyGlobal.social});}});tC.extend({executeTag806_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};try{gtag('event','page_view',{'send_to':'ga4'});}catch(e){}
if(tc_vars["page_type"].match('search')&&tc_vars["search_query"]!==""){gtag('event','view_search_results',{'send_to':'ga4','search_term':tc_vars["search_query"],'search_result_count':tc_vars["search_results_count"]});}
if(tc_vars["page_type"]=='products.detail'||tc_vars["page_type"]=='accessories.detail'){gtag('event','view_item',{'send_to':'ga4','items':[{'item_id':tc_vars["product_id"],'item_name':tc_vars["product_name"],'item_brand':tc_vars["product_brand"]===undefined?tC.internalvars.site_brand:(tc_vars["product_brand"]===""?tC.internalvars.site_brand:tc_vars["product_brand"]),'currency':tc_vars["product_currency"],'price':tc_vars["product_price"],'item_category':tc_vars["product_type"],'item_category2':tc_vars["marketing_category"],'item_category3':tc_vars["marketing_subcategory"],'item_category4':tc_vars["SIS_category"],'item_category5':tc_vars["SIS_subcategory"],'item_type':tc_vars["product_type"],'item_marketing_category':tc_vars["marketing_category"],'item_marketing_subcategory':tc_vars["marketing_subcategory"],'item_sis_category':tc_vars["SIS_category"],'item_sis_subcategory':tc_vars["SIS_subcategory"],'item_availability':tc_vars["product_availability"]}]});}
if(tc_vars["page_type"]=='checkout.basket'||tc_vars["page_type"]=='checkout.delivery'||tc_vars["page_type"]=='checkout.payment'){if(tc_vars["page_type"]=='checkout.basket'){gtag('event','view_cart',{'send_to':'ga4','currency':tc_vars["cart_currency"],'value':tc_vars["cart_total"],'subvalue':tc_vars["cart_subtotal"],'cart_id':tc_vars["cart_id"],'items':tC.internalvars.EE_checkout_ProductsGA4});}else if(tc_vars["page_type"]=='checkout.delivery'){gtag('event','begin_checkout',{'send_to':'ga4','currency':tc_vars["cart_currency"],'value':tc_vars["cart_total"],'subvalue':tc_vars["cart_subtotal"],'cart_id':tc_vars["cart_id"],'coupon':tc_vars["voucher_code"],'discount':tc_vars["voucher_discount"],'items':tC.internalvars.EE_checkout_ProductsGA4});}else if(tc_vars["page_type"]=='checkout.payment'){gtag('event','add_shipping_info',{'send_to':'ga4','currency':tc_vars["cart_currency"],'value':tc_vars["cart_total"],'subvalue':tc_vars["cart_subtotal"],'cart_id':tc_vars["cart_id"],'coupon':tc_vars["voucher_code"],'discount':tc_vars["voucher_discount"],'shipping_tier':tc_vars["shipping_method"],'items':tC.internalvars.EE_checkout_ProductsGA4});}}
function getCookie(name){function escape(s){return s.replace(/([.*+?\^$(){}|\[\]\/\\])/g,'\\$1');}
var match=document.cookie.match(RegExp('(?:^|;\\s*)'+escape(name)+'=([^;]*)'));return match?match[1]:null;}
var sendPurchase=function(){if(getCookie('_last_transaction_id')!=tc_vars["order_id"]){gtag('event','purchase',{'send_to':'ga4','transaction_id':tc_vars["order_id"],'shipping_tier':tc_vars["shipping_method"],'payment_type':tc_vars["order_payment_method"],'discount':tc_vars["voucher_discount"],'value':tc_vars["order_total"],'subvalue':tc_vars["order_subtotal"],'currency':tc_vars["order_currency"],'shipping':tc_vars["shipping_cost"],'tax':tc_vars["order_tax"],'coupon':tc_vars["voucher_code"],'items':tC.internalvars.EE_purchase_productsGA4});document.cookie="_last_transaction_id="+tc_vars["order_id"]+"; SameSite=None; Secure";}};if(tc_vars["page_type"]=='checkout.confirmation'||tC.internalvars.tc_url.match('checkout/orderPlaced')){var checkOrderItems=function(){if(tC.internalvars.EE_purchase_productsGA4.length){sendPurchase();clearInterval(intervalOrderItems);}else{}};if(tC.internalvars.EE_purchase_productsGA4.length){sendPurchase();}else{intervalOrderItems=setInterval(checkOrderItems,1000);setTimeout(function(){clearInterval(intervalOrderItems);},5000);}}}});tC.extend({executeTag379_6418_27:function(el,p){if(!el||!el.target){el={type:"no_event",target:{}}};if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_6418_27.init_tc_array_events(p);var cact=tC.container_6418_27.cact||window.cact;var cact_container=window.tC_6418_27;var cact_event=el||{};var cact_event_vars=Object.assign({},tc_array_events);var cact_event_attrs=cact_event.target||{};gaTools={};setTimeout(function(){if(sessionStorage.getItem('en_s_activation')!='1'){gtag('event','30_seconds_for_session',{'send_to':'ga4'});sessionStorage.setItem('en_s_activation','1');try{tC.event.engagedSession(this,{});}catch(e){}}
gaTools.pageWith30s=true;if(gaTools.bigScrollHappened){gaTools.scrollWith30s();}},30*1000);gaTools.loadTimestamp=new Date().getTime();gaTools.maxScrollTop=0;gaTools.pageWith30s=false;gaTools.scrollHandler=function(){try{gaTools.maxScrollTop=Math.round(Math.max(document.documentElement.scrollTop,gaTools.maxScrollTop));}catch(e){}
gaTools.scrollHandler2();};tC.onDomReady(function(){try{if(window.addEventListener)
window.addEventListener("scroll",gaTools.scrollHandler,false);else if(window.attachEvent){window.attachEvent("onscroll",gaTools.scrollHandler);}}catch(e2){}});gaTools.bigScrollHappened=false;gaTools.scrollHandler2=function(){if(!gaTools.bigScrollHappened){var body=document.body,html=document.documentElement;var height=Math.max(body.scrollHeight,body.offsetHeight,html.clientHeight,html.scrollHeight,html.offsetHeight);if((Math.round(height/2)=0&&(e=""),a)
if(a.hasOwnProperty(t)&&"push"!==t&&"_push"!==t){var r=a[t];"object"!=typeof r&&""!==r?e&&""!==e?result[e+"."+t]=new data(r):result[t]=new data(r):readDatalayer(r,e&&""!==e?e+"."+t:t)}};readDatalayer(datalayer);tC.log("*** CommandersAct Page Datalayer ***");console.table(result);}else{tC.log("*** CommandersAct Datalayer missing ***");}}
tC.onDomReady(function(){tC.container_6418_27.eventlisteners();tC.eventTarget.dispatchEvent('container-ready');tC.eventTarget.dispatchEvent('container_6418_27_ready');tC.executeListener362_6418_27();});