PageSourceSearch

https://www.assem.nl/on/demandware.static/Sites-assem-nl-Site/-/nl_NL/v1790923043366/js/tagmanager.js

js assem.nl collected 2026-10-02 12:18:09 UTC 53,919 bytes, 1 lines download raw bytes

1!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=462)}({0:function(t,e){t.exports={regexes:{emailFormatRegExp:/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9][-a-z0-9]*(\.[-a-z0-9]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|today|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i},attributes:{action:"action",checked:"checked",disabled:"disabled",href:"href",id:"id",resource:"data-resource",src:"src",value:"value"},breakpoints:{minWidthSm:"576px",minWidthMd:"768px",minWidthLg:"992px",minWidthXl:"1200px",minWidthXXl:"1400px",maxWidthXs:"575.98px",maxWidthSm:"767.98px",maxWidthMd:"991.98px",maxWidthLg:"1199.98px",maxWidthXl:"1399.98px"},breakpointValues:{minWidthSm:576,minWidthMd:768,minWidthLg:992,minWidthXl:1200,minWidthXXl:1400,maxWidthXs:575.98,maxWidthSm:767.98,maxWidthMd:991.98,maxWidthLg:1199.98,maxWidthXl:1399.98},classes:{block:"d-block",hide:"hide",show:"show",error:"error",modalOpen:"modal-open",none:"d-none",scrollLock:"scroll-lock",selected:"selected",fadeIn:"fade-in",fadeOut:"fade-out"},imageProperties:{ratio:1.4},defaultCurrencyCode:"EUR",defaultCurrencySymbol:"€",delimiters:{price:","},events:{ajaxSuccess:"ajaxSuccess",account:{login:"account:login",passwordForgot:"account:passwordforgotten"},append:"append",blur:"blur",cart:{updatePricing:"cart:updatePricing",updateTotals:"cart:updateTotals",updateGlobal:"cart:updateGlobal"},cartCrossSell:"cart:crosssell",cartOmodaBag:"cart:omodabag",cartSummary:"cart:summarymobile",cartRemoveProduct:"cart:removeproduct",change:"change",checkout:{updateSummary:"checkout:updateSummary"},click:"click",currencyChange:{before:"currencyChange:before",after:"currencyChange:after"},fieldInvalid:"field:invalid",fieldValid:"field:valid",focusin:"focusin",focusout:"focusout",gtmProductStored:"gtm:productStored",load:"load",loadHTML:"loadhtml",login:{error:"login:error",submit:"login:submit",success:"login:success"},input:"input",intoView:"intoView",miniCart:{count:"count:update",show:"minicartshow"},modalShown:"shown.bs.modal",mouse:{enter:"mouseenter",leave:"mou
1seleave"},outOfView:"outOfView",panel:{beforeOpen:"panel:beforeOpen",beforeClose:"panel:beforeClose",afterOpen:"panel:afterOpen",afterClose:"panel:afterClose",close:"panel:close",open:"panel:open",login:"panel:login",loginComplete:"panel:loginComplete"},productAfterAddToCart:"product:afterAddToCart",productAfterAttributeSelect:"product:afterAttributeSelect",productUpsellShow:"product:upsell-modal",productStockCheck:"product:checkStock",quickview:{show:"quickview:show"},ready:"ready",scroll:"scroll",showUpsellModal:"product:upsell-modal-loaded",sortSearch:"search:sort",submit:"submit",touch:{start:"touchstart"},keyup:"keyup",afterCountryChange:"afterCountryChange",hamburguerMenuAfterCategorySelected:"hamburguerMenu:afterCategorySelected"},gtmEvents:{addToCart:"addToCart",addSize:"addSize",proceedToCheckout:"proceedToCheckout",checkoutOption:"checkoutOption",productClick:"productClick",productDetail:"productDetail",productImpression:"productImpression",storeCheck:"CheckWinkelVoorraad",menuUsed:"menuUsed"},selectors:{body:"body",checked:":checked",html:"html",selected:":selected"},orientation:{portrait:"portrait",landscape:"landscape"}}},11:function(t,e){let o;function n(t,e,o){const n=new Date;n.setTime(n.getTime()+24*o*60*60*1e3);const i=`${t}=${e}; ${"expires="+n.toGMTString()}; domain=${document.location.host}; path=/`;document.cookie=i}t.exports={init(){o=this,$(()=>{$("[data-cookielength]").each(o.checkCookie)}),$(document).on("click","[data-cookiehide]",o.activateCookie)},getCookie:function(t){const e=t+"=",o=document.cookie.split(";");for(let t=0;t<o.length;t++){let n=o[t];for(;" "===n.charAt(0);)n=n.substring(1);if(-1!==n.indexOf(e))return n.substring(e.length,n.length)}return""},setCookie:n,deleteCookie:function(t){const e=document.location.host;document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain=${e}; path=/`},checkCookie(){const t=$(this).data("cookiehide"),e=$("#"+t);0===o.getCookie(t).length&&e[0]?e.removeClass("visually-hidden"):e.remove()},activateCookie(){const t=$(this);return n(t.data("cookiehide"),"hide",t.data("cookielength"))}}},13:function(t,e){function o(){$("img.lazyload").one("load",(function(){$(this).closest(".container-lazyloading").css("background-image","none"),"loading"in HTMLImageElement.prototype&&($(this).removeClass("lazyload"),$(this).addClass("lazyloaded"))}))}function n(){$(".plp-product-images img.lazyload").on("load",(function(){const t=$(this).closest(".img-container"),e=t.find(".product-tile__image.js-active");e&&e.length>0&&(e[0].complete&&e[0].naturalHeight>0&&!e.hasClass("d-none")?(e.css("z-index",""),t.find(".product-tile__image:not(.js-active)").addClass("d-none"),e.removeClass("js-active")):e.addClass("d-none"))}))}function i(t){o(),n();const e=window.matchMedia("(hover: hover) and (pointer: fine)"),i=$(".js-mobile-placeholder").length&&$(".js-mobile-placeholder")[0].getAttribute("data-placeholder"),a=$("body").attr("data-pagetype");if("loading"in HTMLImageElement.prototype){const o=t.find("img.lazyload");o.length>0&&o.each((function(){this.dataset.src&&this.src!==this.dataset.src&&(this.src=this.dataset.src,this.loading="lazy"),this.dataset.srcset&&this.srcset!==this.dataset.srcset&&(this.srcset=this.dataset.srcset,this.dataset.sizes&&(this.sizes=this.dataset.sizes)),$(this).closest("picture").children("source").each((function(){"product listing"===a&&!e.matches&&this.hasAttribute("imageIndex")&&this.getAttribute("imageIndex")>0&&i?this.srcset=i:this.dataset.srcset&&this.srcset!==this.dataset.srcset&&(this.srcset=this.dataset.srcset)}))}))}}t.exports={enableLazyLoading:function(){"loading"in HTMLImageElement.prototype?($(()=>{i($(document))}),$(window).on("load",()=>{setTimeout(()=>{i($(document))},3e3)})):(o(),$(window).on("load",()=>{setTimeout(()=>{$(".container-lazyloading").css("background-image","none")},3e3)}))},imagesLazyLoaded:i,plpProductTilesHover:n}},146:function(t,e){const o={container:".js-align-el-container",element:".js-align-el"};t.exports.isVisible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},t.exports.isInViewport=function(t){let e=!1;if(t&&t.length){const o=t.offset().top,n=o+t.outerHeight()/2,i=$(window).scrollTop(),a=i+$(window).height()/2;e=n>i&&o<a}return e},t.exports.alignElements=()=>
1{document.querySelectorAll(o.container).forEach(t=>{const e=t.querySelectorAll(o.element);let n=0;e.forEach(t=>{const e=t.offsetWidth;e>n&&(n=e)}),e.forEach(t=>{t.style.minWidth=n+"px"})})}},147:function(t,e){t.exports.slickSliderDesktop=function(){$(".js-slick-slider").not(".slick-initialized").each((function(){const t=$(this),e=t.data("slides-to-scroll")?t.data("slides-to-scroll"):1,o=t.width(),n=function(t){let e=0;return $(t).each((function(){e+=parseInt($(this).outerWidth(!0),10)})),e}(t.find("li")),i="center"===t.data("start-with"),a=t.children().length,s=i?Math.floor(a/2):0;n<=o&&t.closest(".js-slick-slider-container").find(".button-slider__arrows").addClass("d-none");const r={arrows:!0,prevArrow:t.closest(".js-slick-slider-container").find(".js-arrow-left"),nextArrow:t.closest(".js-slick-slider-container").find(".js-arrow-right"),variableWidth:!0,infinite:!1,initialSlide:s,slidesToShow:e,slidesToScroll:e,swipe:!1,responsive:[{breakpoint:991,settings:"unslick"}]};t.slick(r)})),$(window).on("resize orientationchange",()=>{$(".js-slick-slider").each((function(){$(this).not(".slick-initialized").slick("resize")}))})}},15:function(t,e,o){var n=o(6);t.exports=function(){return n.Date.now()}},16:function(t,e,o){(function(e){var o="object"==typeof e&&e&&e.Object===Object&&e;t.exports=o}).call(this,o(5))},17:function(t,e,o){var n=o(18),i=o(3),a=o(20),s=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var o=r.test(t);return o||c.test(t)?d(t.slice(2),o?2:8):s.test(t)?NaN:+t}},18:function(t,e,o){var n=o(19),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},19:function(t,e){var o=/\s/;t.exports=function(t){for(var e=t.length;e--&&o.test(t.charAt(e)););return e}},20:function(t,e,o){var n=o(21),i=o(24);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},21:function(t,e,o){var n=o(7),i=o(22),a=o(23),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):a(t)}},22:function(t,e,o){var n=o(7),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,r=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,r),o=t[r];try{t[r]=void 0;var n=!0}catch(t){}var i=s.call(t);return n&&(e?t[r]=o:delete t[r]),i}},23:function(t,e){var o=Object.prototype.toString;t.exports=function(t){return o.call(t)}},24:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},25:function(t,e){t.exports={limitAmountToShow:function(t,e,o){const n=t.closest(".quantity-bubble");let i=e;n.toggleClass("has-items",i>0),o&&n.addClass("quantity-updated"),i||(i=parseInt(t.text(),10)),Number(i)>9?(t.text(9),t.siblings(".js-quantity-bubble-plus").removeClass("d-none")):(t.text(i),t.siblings(".js-quantity-bubble-plus").addClass("d-none")),n.on("webkitAnimationEnd otransitionend oTransitionEnd msTransitionEnd transitionend",()=>{n.removeClass("quantity-updated")})}}},281:function(t,e,o){const n=o(0);function i(t){$(".model-img").each((t,e)=>{if(!$(e).hasClass("pd-lazyload")){const t=e.src;if(t){const o=new Image;o.src=t;const i=o.naturalWidth,a=o.naturalHeight;if(i&&a){const t=(a/i).toFixed(1);parseFloat(t)<n.imageProperties.ratio&&e.classList.remove("model-img")}}}})}t.exports.checkModelImgIfRectangle=i,t.exports.checkModelImgIfRectangleDelay=function(){let t;$("img.model-img").off("load").on("load",()=>{clearTimeout(t),t=setTimeout(()=>{i()},200)}),i(),t=setTimeout(()=>{i()},500)}},3:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},30:function(t,e,o){const n=o(11),i=o(25);window.dataLayer=window.dataLayer||[];let a=$(".js-wishlist-total-header"),s=[],r=!0;function c(){a=$(".js-wishlist-total-header");const t=a.data("amount")||a.text();i.limitAmountToShow(a,t,!1)}function d(){const t=$(".js-wishlist")[0];t&&$.get(t.dataset.getlisturl).done(t=>{t.success&&(s=t.currentWishlist,t.removeWishlistCookie&&(r=!1,n.deleteCookie("wishlist")),s&&($(".
1js-wishlist").each((t,e)=>{const o=$(e).attr("data-pid").toString();o&&-1!==s.indexOf(o)?$(e).addClass("is-in-wishlist"):$(e).removeClass("is-in-wishlist"),$(e).removeClass("d-none")}),$(".js-wishlist-total").text(s.length)))})}function l(t){const e=$(".js-wishlist-page").data("getwishlisturl");return e?`${e.split("?")[0]}?type=${t}`:void 0}function u(t){if(window.isWishlistPageContentLoaded)return;const e=$(".js-wishlist-page");e.spinner().start();const n=t||e.data("getwishlisturl");n&&$.get(n).done(t=>{e.html(t),setTimeout(()=>{e.spinner().stop()},500),c(),d();o(13).imagesLazyLoaded($(document)),$(document).trigger("aiLabel:refresh"),function(){if(0===$(".wishlist-page").length)return;const t=[],e=[];$(".js-quickview").each((o,n)=>{const i=$(n).attr("data-pid");i&&(t.push(i.split("_")[0]),e.push(i))}),setTimeout(()=>{const o=$("[data-mcmid]").data("mcmid"),n=$("[data-mcenableanalytics]").data("mcenableanalytics");window._etmc&&o&&n&&(window._etmc.push(["setOrgId",o]),window._etmc.push(["trackWishlist",{items:t,skus:e}]))},2e3)}(),$(document).trigger("wishlist:contentLoaded")}).fail(t=>{setTimeout(()=>{e.spinner().stop()},500),console.error("Error loading wishlist page content:",t)})}function p(t){$(".js-wishlist-total").text(t),$(".js-wishlist-text").addClass("d-none").removeClass("d-inline-block"),1===t?$('.js-wishlist-text[data-wishlistamout="1"]').removeClass("d-none").addClass("d-inline-block"):t>=2&&$('.js-wishlist-text[data-wishlistamout="2"]').removeClass("d-none").addClass("d-inline-block")}$("body").on("click",".wishlist-page .full-pdp-link",(function(){window.location=$(this).data("href")})),p($(".js-wishlist-total-header").data("amount")),window.wishlistInitialized=!1,function t(){var e;if(!window.wishlistInitialized)if("function"==typeof $.fn.spinner)if(window.wishlistInitialized=!0,$(".js-wishlist-page").length){const t="looks"===window.location.hash.replace("#","")?"looks":"items";e=t,$('input[name="wishlisttoggle"]').each((t,o)=>{const n=o.id===e;$(o).prop("checked",n),n?o.setAttribute("checked","checked"):o.removeAttribute("checked"),$(o).closest(".btn").toggleClass("active",n)}),u(l(t))}else u();else setTimeout(t,50)}(),t.exports.initWishlist=function(){function t(){const t=$(".js-wishlist")[0],e=t&&t.dataset&&t.dataset.clearcacheurl||window.URLs&&window.URLs.clearCustomerCache||"GTM-ClearCustomerDataCache";e?setTimeout(()=>{$.post(e,{cacheType:"customer"}).done(t=>{if(t.success&&t.customerData){let e={};try{e="string"==typeof t.customerData?JSON.parse(t.customerData):t.customerData||{}}catch(t){console.warn("Error parsing customer data from cache clear:",t),e={}}window.dataLayer.push({event:"wishlistAfterAction",wishlist:e.wishlist||[]})}else window.dataLayer.push({event:"wishlistAfterAction",wishlist:[]})}).fail(()=>{window.dataLayer.push({event:"wishlistAfterAction",wishlist:[]})})},0):window.dataLayer.push({event:"wishlistAfterAction",wishlist:[]})}function e(t,e,o){if("remove"===o){if($(`.js-wishlist[data-pid="${e}"]`).removeClass("is-in-wishlist"),$(".wishlist-page").length>0){const t=$(`.wishlist-page [data-pid="${e}"]`).closest(".js-wishlist-col");t.find(".quickview").addClass("quickview--removed"),setTimeout(()=>{t.find(".js-back-in-stock-append:not(:empty)").length&&t.next(".js-wishlist-col").find(".js-back-in-stock-append").html(t.find(".js-back-in-stock-append").html()),t.remove()},300)}}else $(`.js-wishlist[data-pid="${e}"]`).addClass("is-in-wishlist");a.text(t.length),i.limitAmountToShow(a,t.length,!0),p(s.length)}$(document).off("wishlist:product:add").on("wishlist:product:add",(e,o)=>{t(),window.dataLayer.push({event:"addToWishlist",ecommerce:{currencyCode:o.currencyCode,add:{products:JSON.parse(o.gtmProduct)}}})}),$(document).off("wishlist:product:remove").on("wishlist:product:remove",(e,o)=>{t(),window.dataLayer.push({event:"removeFromWishlist",ecommerce:{currencyCode:o.currencyCode,remove:{products:o.gtmProduct?JSON.parse(o.gtmProduct):[]}}})}),$(()=>{$(".wishlist-page")&&$(".wishlist-page [data-slick]").length&&$(".wishlist-page [data-slick]").each((function(){!function(t){const e={infinite:!1,slidesToShow:4,slidesToScroll:1},o=t.data("slick");if(o){const t=Object.keys(o);for(let n=0;n<t.length;n++){const i=t[n];e[i]=o[i]}}t.not(".slick-initialized").slick(e)}($(this))})),c()}),d(),$(document).on("click",".js-wishlist, .js-remove-product-wishlist",(function(o){o.preventDefault(),o.stopImmediatePropagation();const i=$(o.target).is(".js-wishlist")?$(o.target):$(o.target).closest(".
1js-wishlist"),a=i.hasClass("remove-to-wishlist");let c;const d=this,l=d.dataset.wishlistMaxLength;let u;if(d.dataset.hasOwnProperty("pid")&&(c=d.dataset.pid),d.dataset.hasOwnProperty("variantpid")&&(u=d.dataset.variantpid),d.dataset.hasOwnProperty("removetowishlistpid")&&(c=d.dataset.optieid),c){if(r){let o;s=n.getCookie("wishlist"),s=s?JSON.parse(decodeURIComponent(s)).reverse():[],-1===s.indexOf(c)||a?(s=[c,...s],s.length>l&&s.splice(l,s.length-l),s.reverse(),o="add",i.length&&!i.data("removetowishlistpid")?$(document).trigger("wishlist:product:add",{gtmProduct:d.dataset.gtmProduct,currencyCode:d.dataset.gtmCurrency}):i.data("removetowishlistpid")&&t()):(s.splice(s.indexOf(c),1),o="remove",$(document).trigger("wishlist:product:remove",{gtmProduct:d.dataset.gtmProduct,currencyCode:d.dataset.gtmCurrency}),s.reverse()),n.setCookie("wishlist",encodeURIComponent(JSON.stringify(s)),365),e(s,c,o),s.reverse()}else s&&-1!==s.indexOf(c)?$.post(d.dataset.removeurl,{pid:c}).done(t=>{t.success&&t.currentWishlist&&(s=t.currentWishlist,e(s,c,"remove"),$(document).trigger("wishlist:product:remove",{gtmProduct:d.dataset.gtmProduct,currencyCode:d.dataset.gtmCurrency}))}):s&&-1!==s.indexOf(u)?$.post(d.dataset.removeurl,{pid:u}).done(t=>{t.success&&t.currentWishlist&&(s=t.currentWishlist,e(s,u,"remove"),$(document).trigger("wishlist:product:remove",{gtmProduct:d.dataset.gtmProduct,currencyCode:d.dataset.gtmCurrency}))}):$.post(d.dataset.addurl,{pid:c}).done(t=>{t.success&&(s=t.currentWishlist,e(s,c,"add"),$(document).trigger("wishlist:product:add",{gtmProduct:d.dataset.gtmProduct,currencyCode:d.dataset.gtmCurrency}))});const p=$(o.target).closest("[data-gtm-look-carousel]");if($(p).length){const t={eventAction:"wishlist icon"};$.extend(t,$(p).data("gtm-look-carousel")),window.dataLayer.push(t)}}const p=new CustomEvent("wishlist:clicked",{bubbles:!0,detail:{pid:c,sourceElement:this}});return i[0].dispatchEvent(p),!1})),$("body").on("change",'input[name="wishlisttoggle"]',t=>{t.preventDefault();const e=t.target.id;window.history&&window.history.replaceState&&window.history.replaceState(null,"",`${window.location.pathname}${window.location.search}#${e}`),u(l(e))})},t.exports.getWishlistItems=d,t.exports.checkWishlistProduct=c},344:function(t,e){window.dataLayer=window.dataLayer||[],t.exports=function(){const t={event:"accountFlow",eventAction:"club omoda",eventLabel:"login page"};$(document).on("login:success",()=>{window.dataLayer.push(Object.assign(t,{eventCategory:"accountLogin"}))}),$(document).on("login:register",()=>{window.dataLayer.push(Object.assign(t,{eventCategory:"accountCreationStart"}))}),$(document).on("login:registerFinal",()=>{window.dataLayer.push(Object.assign(t,{eventCategory:"accountCreated"}))}),$(document).on("login:passwordReset",()=>{window.dataLayer.push(Object.assign(t,{eventCategory:"forgotPassword"}))}),$(document).on("login:passwordResetUnrecognized",()=>{window.dataLayer.push(Object.assign(t,{eventCategory:"unrecognizedPassword"}))}),$(document).on("gtm:custom",(t,e)=>{window.dataLayer.push(Object.assign(e))})}()},345:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0),i=o(97);t.exports=function(){const t=$(document);t.on(n.events.cartCrossSell,(t,e)=>{e.pid&&e.productname?window.dataLayer.push({event:"CrossSell",eventCategory:"Cross-Sell",eventAction:`product ${e.pid} : ${e.productname}`}):console.warn("Warning: missing product ID or Name for tagmanger cross-sell event")}),t.on(n.events.cartOmodaBag,(t,e)=>{e.name?window.dataLayer.push({omodaBag:e.name,event:"omodaBag",eventCategory:"Gekozen tas",eventAction:e.name}):console.warn("Warning: missing bagname in tagmanager Omoda bag")}),t.on(n.events.cartRemoveProduct,(t,e)=>{const o={};["name","id","brand","price","category","head_category","variant","quantity","sku","color","size","material","season","consciousChoice"].forEach(t=>{t in e&&null!==e[t]&&"removetowishlist"!==t&&(o[t]="quantity"===t?e[t]:e[t]?e[t].toString():"")}),o&&Object.keys(o).length>0&&(e.removetowishlist?window.dataLayer.push({event:"removeToWishlist",ecommerce:{currencyCode:i.getCurrencyCode(),remove:{products:[o]}}}):window.dataLayer.push({event:"removeFromCart",ecommerce:{currencyCode:i.getCurrencyCode(),remove:{products:[o]}}}))});$(".js-proceed-to-checkout").on("click",t=>{const{checkoutType:e}=t.currentTarget.dataset;window.dataLayer.push({event:n.gtmEvents.proceedToCheckout,checkoutType:e})}),$(document).on("click",".js-shoppingbag-tile",()=>{window.dataLayer.push({event:"cartProductClick"})}),t.on(n.events.cartSummary,(t,e)=>{window.dataLayer.push({event:"cartInteraction",eventCategory:"shoppingbag",eventAction:e.element,eventLabel:e.expanded?"expand":"collapse"})}),t.on("cart:omodabag",(t,{ischecked:e})=>{window.dataLayer.push({event:"cartInteraction",eventCategory:"shoppingbag",eventAction:"omoda bag toggle",eventLabel:e?"enabled":"disabled"})}),t.on("cart:inwrap",(t,{ischecked:e})=>{window.dataLayer.push({event:"cartInteraction",eventCategory:"shoppingbag",eventAction:"wrap service toggle",eventLabel:e?"enabled":"disabled"})}),t.on("cart:protectspray",(t,{ischecked:e})=>{window.dataLayer.push({event:"cartInteraction",eventCategory:"shoppingbag",eventAction:"protectspray toggle",eventLabel:e?"enabled":"disabled"})})}()},346:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0),i=o(97),a=".js-product-grid__tile",s=".js-pdp-link",r=".js-product-grid__tile--imp",c=".js-quickview",d=".js-password-reveal-button",l="[data-gtm-list]",u="data-href",p="data-redirect-size-url",g="data-gtm-product",m="data-gtm-list",h="data-pid";function f(t){const e={};let o,n;const i=t.substring(t.indexOf("?")+1).replace(/\+/g,"%20").split("&");for(let t=i.length-1;t>=0;t--)o=i[t].split("="),n=decodeURIComponent(o[0]),0===n.indexOf("pref")&&(e[n]=decodeURIComponent(o[1]));let a;return Object.keys(e).length&&(a=function(t){const e={},o=Object.keys(t).length/2;let n="",i="";for(let a=1;a<o+1;a++)n=t["prefn"+a],i=t["prefv"+a],e[n]=i;return e}(e)),a&&a.Maat&&-1===a.Maat.indexOf("|")?a.Maat:null}t.exports=($(document).on(n.events.click,s,t=>{const e=[".js-add-to-cart-ldp",".js-add-to-cart-ldp-wrapper .swatch",".js-dropdown-placeholder",".product-attributes__list",".product-attributes__item",".dropdown-item",".back-in-stock__link",".js-wishlist",".js-ldp-similar-product",".js-ldp-similar-product-desktop"].join(", ");
1if($(t.target).closest(e).length)return t.preventDefault(),t.stopPropagation(),void t.stopImmediatePropagation();const o=t.currentTarget;let s;const d=f(window.location.href);s=o.getAttribute(p)&&d?`${o.getAttribute(p)}&size=${d}`:o.getAttribute(u);const y=o.closest(a);if(!y)return;let w=y.getAttribute(g),v=y.getAttribute(m);if(v||(v=y.closest(l)?y.closest(l).getAttribute(m):null),$(".js-shopthelook").length>0){const t=y.closest("[data-gtm-list]");t&&(v=t.getAttribute("data-gtm-list"))}else v||(v=$(".js-productgrid").data("gtm-list"));const k=$(c);let b=!1;const j=function(){s&&(document.location=s),b=!0};if(w){t.preventDefault();try{if(w=JSON.parse(w),k.length>0){const t=k.attr(h).toString();t!==w.id.toString()&&(w.sku=t)}const t=$(o).closest(r);t.length&&(w.position=parseFloat(t.data("position"))||0);const e={event:n.gtmEvents.productClick,ecommerce:{currencyCode:i.getCurrencyCode(),click:{actionField:{list:v},products:[w]}},eventCallback:j};window.dataLayer.push(e),setTimeout(()=>{b||j()},100)}catch(t){j()}}const C=o.closest("[data-gtm-look-carousel]");if($(C).length){const t={eventAction:"photo click"};$.extend(t,$(C).data("gtm-look-carousel")),window.dataLayer.push(t)}}),$(document).on(n.events.click,$(d),t=>{const e=$(t.target).data("target-element"),o="password"===$(e).attr("type")?"text":"password";$(e).attr("type",o);const n=$(t.target).data("text-"+o);$(t.target).text(n)}),void $(document).on(n.events.click,"[data-gtm-custom-click]",t=>{const e=$(t.target).closest("[data-gtm-custom-click]").data("gtm-custom-click");window.dataLayer.push(e)}))},347:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0),i={customerStatus:".js-customer-tracking",checkoutWrapper:".js-checkout-wrapper",authenticationType:".js-checkout-authentication",personalDataWrapper:".js-personaldata",shippingType:".js-shipping-type",paymentMethodType:".js-paymentmethod-type",createAccount:".js-createaccount",newsletterSubscription:".js-newslettersubscription",editPersonalDetails:".js-edit-details",editShippingMethod:".js-edit-shipping",editPaymentMethod:".js-edit-payment",basketCollapseTrigger:".js-basket-collapse",currentStepHolder:"[data-step]",checkoutBackButton:".js-checkout-back",couponCodeAdded:".js-coupon-added",basketTopDiscountLabel:".js-basket-top-discount"},a="method-id",s="step-id";let r;t.exports=function(){function t(t,e,o){let i=t;"log in"===e&&(i=2),4===t&&(e=o),window.dataLayer.push({event:n.gtmEvents.checkoutOption,ecommerce:{checkout_option:{actionField:{step:i,option:e}}}})}function e(t,e,o,n){console.log("sendCustomGTMOption",t,e,o,n),window.dataLayer.push({event:t,eventCategory:e,eventAction:o,eventLabel:n})}function o(t,e){window.dataLayer.push({event:"checkoutOption",ecommerce:{checkout_option:{actionField:{step:2,option:t,checkoutType:e}}}})}function c(t){if(t){const e=$(t.currentTarget),o=e.filter(":checked").data(a),n=e.filter(":checked").data(s);if(!o||!n)return;r={step:n,option:o}}}function d(t,e){window.dataLayer.push({event:"checkoutInteraction",eventCategory:"payment method",eventAction:"success"===e?"valid coupon entered":"invalid coupon entered",eventLabel:t.toString()})}document.addEventListener("coupon:updated",t=>{if(t.detail){const o=t.target.baseURI.indexOf("shoppingbag")>-1;e(o?"cartInteraction":"checkoutInteraction",o?"shoppingbag":"payment method",t.detail.message||"",t.detail.couponCode||"")}},!1);const l=$(i.checkoutWrapper);if(!(l.length>0))return;const u=t=>{const e=$("form.login"),n=e?e.find(".js-email"):null,i=e&&e.length&&e.valid()&&n&&n.length&&n.val();i&&(t.hasClass("js-checkout-login-guest")||t.closest(".js-checkout-login-guest").length)&&o("guest","guest"),i&&(t.hasClass("js-checkout-login-continue")||t.closest(".js-checkout-login-continue").length)&&o("guest","guest"),(t.hasClass("js-checkout-login-facebook")||t.closest(".js-checkout-login-facebook").length)&&o("facebook","facebook")};$("form.login .js-email").on("keydown",t=>{const e=$("form.login");if("Enter"===t.key){t.preventDefault();return(e.find(".js-checkout-login-regular").hasClass("d-none")?e.find(".js-checkout-login-continue"):e.find(".js-checkout-login-regular")).trigger("click"),!1}return!0}),$(document).on("checkout:login",(t,e)=>{o("regular",e)}
1),$(".js-checkout-login-continue, .js-checkout-login-facebook, .js-checkout-login-guest").on("click",t=>{const e=$(t.target);if(e.hasClass("js-checkout-login-continue")){const t=setInterval(()=>{window.emailValidated&&!window.emailExists&&(u(e),clearInterval(t))},500)}else u(e)}),$(".js-checkout-continue-button").on("click",o=>{const n=l.find(i.createAccount),a=$(o.target);if(n.length&&n.val()&&n.val().length>2?(e("accountFlow","accountCreated","club omoda","checkout"),r.option="account_created"):n.length&&!n.val()&&(r.step=3,r.option="guest"),$('[data-step="personaldata"]').length)(e=>{const o=e.closest('[name="billingaddress-form"]')[0].checkValidity(),n=$(".checkout__method:checked").attr("value");o&&t(r.step,r.option,n)})(a);else if(r){const e=$(".checkout__method:checked").attr("value");t(r.step,r.option,e)}}),[i.authenticationType,i.shippingType,i.paymentMethodType].forEach(t=>{const e=l.find(t);e&&0!==e.length&&($(document).ready(()=>{c({currentTarget:t})}),e.on(n.events.change,c))}),$(document).ready(()=>{const t=$(".js-error-data");if(t&&t.val()){let e;try{e=JSON.parse(t.val())}catch(t){}e.couponcode&&d(e.couponcode,"failure")}else if($(i.couponCodeAdded).length){d($(i.couponCodeAdded).data("code"),"success")}}),document.addEventListener("paypal:selected",()=>{window.dataLayer.push({event:"checkoutOption",ecommerce:{checkout_option:{actionField:{step:5,option:"paypal"}}}})},!1),$("body").on("click",i.basketCollapseTrigger,()=>{const t={personaldata:"personal details",shipping:"delivery method",payment:"payment method"}[$(i.currentStepHolder).data("step")],o="false"===$(i.basketCollapseTrigger).attr("aria-expanded");e("checkoutInteraction",t,"minicart arrow",o?"expand":"collapse"),o?$(i.basketTopDiscountLabel).fadeOut():$(i.basketTopDiscountLabel).fadeIn()}),$("body").on("click",i.checkoutBackButton,()=>{const t={personaldata:"personal details",shipping:"delivery method",payment:"payment method","payment-hpp":"payment method hpp"}[$(i.checkoutBackButton).data("step")];e("checkoutInteraction",t,"go back button",t)}),$("body").on("click",i.editPersonalDetails,()=>{e("checkoutInteraction","payment method","edit links","personal details")}),$("body").on("click",i.editShippingMethod,()=>{e("checkoutInteraction","payment method","edit links","delivery method")}),$("body").on("click",i.editPaymentMethod,()=>{e("checkoutInteraction","payment method","edit links","payment method")}),document.addEventListener("checkout:action",t=>{e(t.detail.event,t.detail.eventCategory,t.detail.eventAction,t.detail.eventLabel)},!1)}()},348:function(t,e){window.dataLayer=window.dataLayer||[],t.exports=function(){const t={};"body"in document&&"dataset"in document.body&&("-1"!==Object.keys(document.body.dataset).indexOf("pagetype")&&(t.pageType=document.body.dataset.pagetype||"other"),document.body.dataset.imageStyle&&(t.image_style=document.body.dataset.imageStyle));const e=document.querySelector("[data-gtm-product]"),o=$(".breadcrumbs");if(e&&e.dataset.gtmProduct)try{const o=e.dataset.gtmProduct;let n=JSON.parse(o);Array.isArray(n)&&([n]=n),n&&n.head_category&&(t.headCategory=n.head_category)}catch(t){return!1}else if(o.length>0){const e=$(".breadcrumbs").first().find(".breadcrumbs__item:first-child span").text().trim()||"";t.headCategory=e}else t.headCategory="";!function(){const e=document.getElementById("customer-tracking");if(!e)return;const o=e.dataset&&e.dataset.customerTrackingInfo;if(!o)return;const n=JSON.parse(o);Object.keys(n).forEach(e=>{t[e]=n[e]})}(),t&&Object.keys(t).length>0&&window.dataLayer.push(t)}()},349:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(47),i=o(0),a=o(97),{isVisible:s}=o(146);let r;const c=o(13),d=o(281),l=o(147),u=o(30),p="body",g=".js-productgrid",m=".modal",h=".js-quickview",f=".js-product-attributes",y="attribute-Maat",w=".js-product-grid__tile",v=".js-product-grid__tile--imp",k="data-gtm-list",b="gtmproduct",j="data-position",C="data-gtm-product";let L=[];function x(t,e){e&&"error"in e&&!e.error&&"addToCartTrackingData"in e&&window.dataLayer.push(e.addToCartTrackingData)}function O(t,e){if(!("size"in e)||!("store"in e)||!("status"in e))return void console.warn("Warning: Missing site, storeId or status for check stock in Tagmanager");const o=e.status?"wel aanwezig":"niet aanwezig";window.dataLayer.push({CheckWinkelVoorraad:{size:e.size,winkel:e.store,status:o},event:i.gtmEvents.storeCheck,eventCategory:"Check stock",eventAction:e.store})}function S(t,e){const{data:o}=e;if("pdpTrackingData"in o){if("el"in e&&null!==e.el){if($(e.el).closest(h).length>0)return;e.el.parent().hasClass(y)&&(delete o.pdpTrackingData.ecommerce,delete o.pdpTrackingData.event)}o.pdpTrackingData.url=window.location.href,window.dataLayer.push(o.pdpTrackingData)}}function T(){const t={event:i.gtmEvents.productImpression,ecommerce:{currencyCode:a.getCurrencyCode(),impressions:L}};window.dataLayer.push(t),L=[]}function _(t,e){const o=$(e).data(b);if(o&&"object"==typeof o){o.quantity=1;const t={event:i.gtmEvents.addToCart,ecommerce:{currencyCode:a.getCurrencyCode(),add:{products:o}}};window.dataLayer.push(t)}}function A(t){return t&&parseFloat(t.getAttribute(j))||0}function P(t,e){return t||e?e?e.getAttribute(k):t?t.getAttribute(k):"":""}function I(t){const e=t.target;if(!s(e))return;let o=e.querySelector(w).getAttribute(C);if(o){const t=$(e).closest(m),n=(t&&t.length>0?t[0]:document).querySelector(g);o=JSON.parse(o),o.position=A(e),o.list=P(e,n)}L.push(o),$(document).trigger(i.events.gtmProductStored)}function W(){if("IntersectionObserver"in window)try{var t=new IntersectionObserver(e=>{!function(t){const e={event:i.gtmEvents.productImpression,ecommerce:{currencyCode:a.getCurrencyCode(),impressions:t}};window.dataLayer.push(e)}(e.reduce((e,o)=>{if(o.isIntersecting){const n=o.target,i=n.querySelector(w);let a=i?i.getAttribute(C):null;if(a){const t=$(n).closest(m),e=(t&&t.length>0?t[0]:document).querySelector(g);a=JSON.parse(a),a.position=A(n),a.list=P(n,e)}t.unobserve(o.target),e.push(a)}return e},[]))},{threshold:[.75]});const e=document.querySelector(g);if(e){const o=[e],n={childList:!0},i=new MutationObserver(e=>
1{e.forEach(e=>{if(e.addedNodes.length>0){e.target.querySelectorAll(v).forEach(e=>{t.observe(e)})}})});o&&o.length>0&&o.forEach(e=>{e.querySelectorAll(v).forEach(e=>{t.observe(e)}),i.observe(e,n)})}}catch(t){}}function z(t){$(t.currentTarget).find(v).each((t,e)=>{$(e).trigger(i.events.intoView)})}function E(t){const e=$("<div>").append($(t)).find(".grid-footer").data("sort-options");if(e){e.options.forEach(t=>{$("option."+t.id).val(t.url)})}}function D(t){const e=location.href,o=parseInt($(".js-page-info").data("page-size"),10),n=!!(t&&t.dataset&&t.dataset.position)&&t.dataset.position,i=Math.floor((n-1)/o),a=i?i*o:0,s=function(t){const e=t.indexOf("?");if(-1===e)return{};const o=t.substring(e+1),n={};return o.split("&").forEach(t=>{const e=t.split("="),o=decodeURIComponent(e[0]),i=decodeURIComponent(e[1]);n[o]=i}),n}(location.href);if(0===a){const t=1===Object.keys(s).length?location.href.replace("?start="+s.start,""):location.href.replace("&start="+s.start,"");location.href.replace("start="+s.start,""),e!==t&&history.replaceState({},document.title,t)}else if(-1===location.href.indexOf("?")){const t=`${location.href}?start=${a}`;history.replaceState({},document.title,t)}else{const t=s.start?location.href.replace("start="+s.start,"start="+a):`${location.href}&start=${a}`;e!==t&&history.replaceState({},document.title,t)}}function M(){document.querySelectorAll(".js-product-grid__tile--imp").forEach(t=>{r.unobserve(t),r.observe(t)})}function R(){$(".grid-header:not(:first)").remove(),$(".grid-footer:not(:last)").remove()}function N(){if(function(){if(window.performance){const t=window.performance.getEntriesByType("navigation");if(t.length>0&&"back_forward"===t[0].type)return!0;if(window.performance.navigation&&window.performance.navigation.type===window.performance.navigation.TYPE_BACK_FORWARD)return!0}return!1}()||sessionStorage.getItem("back-from-PDP")){sessionStorage.setItem("back-from-PDP","");const t=sessionStorage.getItem("latest-product-position");if(t){const e=$(`[data-position='${t}']`)[0];e&&window.scrollTo(0,$(e).offset().top-200)}}}t.exports=function(){d.checkModelImgIfRectangleDelay(),l.slickSliderDesktop(),$(".js-desktop-slick-slider").on("init",()=>{$(".slick-track").addClass("desktop-slick")}),$(".js-desktop-slick-slider").not(".slick-initialized").slick({variableWidth:!0,slidesToShow:3,slidesToScroll:1,draggable:!0,swipe:!1,infinite:!1,responsive:[{breakpoint:991,settings:"unslick"}]}),$(window).on("resize orientationchange",()=>{!window.matchMedia(`only screen and (max-width: ${i.breakpoints.maxWidthMd})`).matches&&$(".js-desktop-slick-slider").slick("resize")}),$(document).on(i.events.click,$(f),t=>{const e=$(t.target).closest(".product-detail").find(".js-dropdown-placeholder.selected").text().trim();if(e.length>0){const t={event:i.gtmEvents.addSize,size:e};window.dataLayer.push(t)}}),function(){const t=window.matchMedia(`only screen and (max-width: ${i.breakpoints.maxWidthMd})`).matches;$(".js-simplebar-container").length&&t&&$(".js-simplebar-container").each((t,e)=>{e.removeAttribute("data-simplebar")})}(),["product listing","sale","search"].indexOf($("body").data("pagetype"))>-1&&(W(),function(){if("IntersectionObserver"in window)try{r=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&t.target.classList.contains("js-product-grid__tile--imp")&&D(t.target)})},{threshold:[1]}),M()}catch(t){$(".js-show-more-button").removeClass("d-none")}}(),$(".container").on("click",".js-show-previous-button a",(function(t){t.stopPropagation(),t.stopImmediatePropagation();const e=$(this).data("prev");t.preventDefault(),$.spinner().start(),$.ajax({url:e,data:{selectedUrl:e},method:"GET",success(t){$(".grid-header").replaceWith(t),R(),E(t),c.imagesLazyLoaded($(document));try{M()}catch(t){console.error(t)}d.checkModelImgIfRectangleDelay(),u.initWishlist(),$.spinner().stop()},error(){$.spinner().stop()}})})),$(".container").on("click",".js-load-more-products a",(function(t){t.stopPropagation(),t.stopImmediatePropagation();const e=$(this).data("next");t.preventDefault(),$.spinner().start(),$.ajax({url:e,data:{selectedUrl:e},method:"GET",success(t){$(".grid-footer").replaceWith(t),R(),E(t),
1c.imagesLazyLoaded($(document));try{M()}catch(t){console.error(t)}d.checkModelImgIfRectangleDelay(),u.initWishlist(),$.spinner().stop()},error(){$.spinner().stop()}})})),$(document).on("click",".js-pdp-link, .js-llp-link",t=>{const e=$(t.target).parents(".js-product-grid__tile--imp")[0],o=!!(e&&e.dataset&&e.dataset.position)&&e.dataset.position;sessionStorage.setItem("latest-product-position",o),D(e)}),N(),$(".quick-filter-option .js-refinement-link").on("click",(function(){const t={event:"Filter",filterName:$(".quick-filter-option.show").attr("gtm-quick-filter"),filterValue:$(this).data("filter-value"),filterType:"quick-filter"};window.dataLayer.push(t)}))),["product listing","sale","search","lookfinder"].indexOf($("body").data("pagetype"))>-1?history.scrollRestoration="manual":history.scrollRestoration="auto",$(document).on(i.events.productAfterAddToCart,x),$(document).on(i.events.productStockCheck,O),$(document).on(i.events.intoView,v,I),$(document).on(i.events.productUpsellShow,_),$(p).on(i.events.productAfterAttributeSelect,S),$(document).on(i.events.modalShown,m,z);const t=n(T,200,{leading:!1});$(document).on(i.events.gtmProductStored,t)}()},350:function(t,e){window.dataLayer=window.dataLayer||[],$(()=>{$(window).on("search:sort",(t,e)=>{window.dataLayer.push({event:"Sortering",sorteringName:e.sorteringName})}),$(window).on("search:filter",(t,e)=>{window.dataLayer.push({event:"Filter",filterName:e.filterName?e.filterName:void 0,filterValue:e.filterValue,filterType:e.filterType?e.filterType:"filter-item"})}),$(document).on("search:pageInformation",(t,e)=>{window.dataLayer.push({pageTypeInfo:e.pageTypeInfo})}),$(document).ready(()=>{const t=$(".js-pagetypeinfo");if(t.length>0){const e=t.data("page-type-info");e&&$(document).trigger("search:pageInformation",{pageTypeInfo:e})}})})},351:function(t,e){window.dataLayer=window.dataLayer||[],t.exports=function(){const t=".js-addtocart-upsell.show",e=".js-upsell-card-wrapper",o=".js-upsell-anchor",n=".js-addtocart-upsell-cta",i=":visible",a="data-gtm-label",s="data-gtm-action",r="href",c="product:upsell-modal-loaded",d="click",l={event:"upsell",categories:{impression:"upsell_impressions",click:"upsell_clicks",addtocart:"upsell_addtocart"}};function u(o){const{data:n}=o,c=l.categories[n.category];let d=[];const u=$(t);let p;"click"===n.category&&(o.preventDefault(),p=o.currentTarget.getAttribute(r));try{d="impression"===n.category?u.find(e):$(o.currentTarget).closest(e),d.each((t,e)=>{const o=$(e);if(o.is(i)){const t=o.attr(s),e=o.attr(a);window.dataLayer.push({event:l.event,eventCategory:c,eventAction:t,eventLabel:e,eventCallback(){p&&(document.location=p)}})}})}catch(t){p&&(document.location=p)}}$(document).on(c,{category:"impression"},u),$(document).on(d,o,{category:"click"},u),$(document).on(d,n,{category:"addtocart"},u)}()},352:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0);t.exports=void $(document).on(n.events.hamburguerMenuAfterCategorySelected,(function(t,e){window.dataLayer.push({event:n.gtmEvents.menuUsed,menuHead:e.menuHead,menuCategory:e.menuCategory,menuSubCategory:e.menuSubCategory})}))},353:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0),i="[data-gtm-click]",a={loginDetails:{virtualTitle:"Retour - Login",virtualURL:"/retour/login"},orderDetails:{virtualTitle:"Retour - Order details",virtualURL:"/retour/order-details"},returnProducts:{virtualTitle:"Retour - Products",virtualURL:"/retour/products"},returnOptionOverview:{virtualTitle:"Retour - Option overview",virtualURL:"/retour/options-overview"},returnOption:{homePickup:{virtualTitle:"Retour - Home pick up",virtualURL:"/retour/options/home-pick-up"},storeDropOff:{virtualTitle:"Retour - Store drop-off",virtualURL:"/retour/options/store-drop-off"},deliveryPointDropOff:{virtualTitle:"Retour - Delivery point drop-off",virtualURL:"/retour/options/delivery-point-drop-off"}},returnConfirmation:{virtualTitle:"Retour - Confirmation",virtualURL:"/retour/confirmation"},returnPaymentDetails:{virtualTitle:"Retour - Payment Details",virtualURL:"/retour/payment-details"}};t.exports=function(){let t=null;$(document).on(n.events.click,i,(function(){const e={event:"returnFlow"},o=$(this);let n=o.data("gtm-click");
1const i=o.attr("data-gtm-return-parameter"),a=o.closest(".js-returns-submit"),s=o.data("gtm-return-option-select");if(o.attr("data-gtm-extra-option")){const t=JSON.parse(o.attr("data-gtm-extra-option"));if(t&&"eventCategory"in t&&"return_component"===t.eventCategory){let e=$(".return-panel__container:not(.d-none)").last().attr("data-gtm-step")?$(".return-panel__container:not(.d-none)").last().attr("data-gtm-step"):$(".return-panel__container:not(.d-none)").find("[data-gtm-step]").data("gtm-step");!e&&$(".return-panel__container:not(.d-none)").attr("data-gtm-step")&&(e=$(".return-panel__container:not(.d-none)").attr("data-gtm-step")),e&&(t.eventCategory=e)}Object.assign(e,t)}if(i&&"orderDetails"===i&&a){const o=$(".js-returns-lineitem:checked").length,n=[];a.find(".js-returns-lineitem:checked").each((t,e)=>{const o=$(e).attr("data-value"),i=$(e).closest(".js-productid").find('[type="radio"]:checked'),a=$(i).data("value");n.push({id:o,reason:a})}),n.length&&o&&(t=n,Object.assign(e,{eventLabel:o,returnProducts:n}))}else if(i&&"toReturnPoint"===i&&a){const t=a.find("input:checked").attr("data-gtm-eventlabel");t&&Object.assign(e,{eventLabel:t})}else if(i&&"returnOption"===i&&a&&(void 0!==s||!1!==s)){const t=a.find("input:checked").attr("data-return-type"),o=a.attr("data-gtm-return-option");t&&Object.assign(e,{eventLabel:t,returnOption:o})}else i&&"returnPaymentDetails"===i&&a&&(Object.assign(e,{eventCategory:i}),document.querySelector("input[name=ibanNumber]").closest(".form-group").classList.contains("has-danger")&&(Object.assign(e,{eventLabel:"Invalid iban number"}),n="error message"));!("returnProducts"in e)&&t&&t.length&&Object.assign(e,{returnProducts:t}),window.dataLayer.push(Object.assign(e,{eventAction:n}))})),$(document).on("error:message",(t,e)=>{window.dataLayer.push({event:"errorMessage",eventCategory:e.eventCategory,eventAction:"error message",eventLabel:e.message})}),$(document).on("return:saveAddress",(t,e)=>{window.dataLayer.push({event:"returnFlow",eventCategory:"returnOption",eventAction:"save address change",returnOption:e||""})}),$(document).on("return:virtualPageView",(t,e)=>{if(e){let t=a[e];const o={event:"gtm.virtualPageview"};if("returnOption"===e){const e=$(".return-panel__container:not(.d-none)").find("[data-gtm-return-option]").data("gtm-return-option");t=e&&t[e]}window.dataLayer.push(Object.assign(o,{virtualTitle:t.virtualTitle,virtualURL:t.virtualURL}))}})}()},354:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(0),i="[data-gtm-click-login]";function a(t,e){if(e)return Object.assign(t,e),t}function s(t){const e=$(".js-page-gtm-container").data("gtm-pagetype"),o=$("[data-gtm-login-location]").attr("data-gtm-login-location");window.dataLayer.push(Object.assign(t,{eventAction:e,eventLabel:o}))}t.exports=($(document).on(n.events.click,i,(function(){const t={event:"accountFlow"},e=$(this).data("gtm-extra-option");e&&a(t,e),s(t)})),void $(document).on("login:addGtm",(t,e)=>{const o={event:"accountFlow"};let n;n="object"==typeof e&&e.hasParams?e.extraParams:$(e.target).data("gtm-extra-option"),n&&a(o,n),s(o)}))},355:function(t,e){window.dataLayer=window.dataLayer||[];const o=".js-stl-quickview",n=".js-wishlist";t.exports=void $(document).on("click",o,(function(t){const e=t.currentTarget.querySelector(n);if(e){const t=e.getAttribute("data-gtm-product"),o=t?JSON.parse(t)[0]:{},n=e.closest(".quickview--wishlist"),i=n?n.closest(".wishlist-container"):null;if(n&&i){const t=Array.from(i.querySelectorAll(".quickview--wishlist")).indexOf(n)+1;o.position=t}window.dataLayer.push({event:"lookClick",ecommerce:{click:{actionField:{list:"Overzicht - Wishlist"},products:[o]}}})}}))},356:function(t,e){window.dataLayer=window.dataLayer||[];const o="[data-track-carousel]",n=".js-product-images",i=".js-arrow-left",a=".js-arrow-right",s=".wishlist-social",r=".js-pdp-link",c=".js-carousel-slide";t.exports=function(){function t({category:t,action:e,label:o,carouselPosition:n}){window.dataLayer=window.dataLayer||[];const i={event:"carouselInteraction",eventCategory:t,eventAction:e,eventLabel:o};n&&(i.carouselPosition=n),window.dataLayer.push(i)}function e(t){const e=t.data("track-carousel"),n=$(`${o}[data-track-carousel="${e}"]`).filter(":visible").index(t);return n>=0?String(n+1):void 0}$(document).on("click",`${o} ${n}`,(function(){const n=$(this),i=n.closest(o),a=i.data("track-carousel"),s=n.closest(".
1js-carousel-slide"),r=s.data("position")||s.index()+1,c=e(i);t({category:a,action:"photo click",label:String(r),carouselPosition:c})})),$(document).on("click",`${o} ${c}`,(function(n){const i=$(this),a=i.closest(o);if(!1===a.data("track-slide-click"))return;const s=a.data("track-carousel"),r=i.data("position")||i.index()+1,c=e(a);t({category:s,action:n.target.closest("picture")?"photo click":"link click",label:String(r),carouselPosition:c})})),$(document).on("click",`${o} ${i}, ${o} ${a}`,(function(){const n=$(this),i=n.closest(o),a=i.data("track-carousel"),s=e(i);t({category:a,action:n.hasClass("js-arrow-left")?"arrow left":"arrow right",label:void 0,carouselPosition:s})})),$(document).off("wishlist:clicked").on("wishlist:clicked",`${o} ${s}`,(function(n){const i=$(this).closest(o);if(0===i.length)return;t({category:i.data("track-carousel"),action:"wishlist icon",label:void 0,carouselPosition:e(i)})})),$(document).off("click",`${o} ${r}`).on("click",`${o} ${r}`,(function(){const n=$(this),i=n.closest(o),a=i.data("track-carousel"),s=e(i),r=n.closest(".js-carousel-slide"),c=r.data("position")||r.index()+1;t({category:a,action:"link click",label:String(c),carouselPosition:s})}))}()},357:function(t,e,o){window.dataLayer=window.dataLayer||[];const n=o(97);t.exports=void $("body").on("click",".js-product-grid__tile--imp .js-llp-link",(function(t){const e=$(this).closest(".js-product-grid__tile--imp");if(!e.length)return;const o=function(t,e){return $(t.target).closest("figure.product-image, picture.img-container, img.model-img",e).length?"photo":"link"}(t,e),i=function(t){const e=t.data("position");if(null!=e&&""+e!=""){const t=Number(e);if(!Number.isNaN(t))return t}return t.closest(".js-product-grid, body").find(".js-product-grid__tile--imp:visible").index(t)+1}(e),a=function(t){const e=t.find(".js-wishlist").first(),o=e.attr("data-gtm-product");let n=null;if(o)try{n=JSON.parse(o)}catch(t){n=null}const i=Array.isArray(n)&&n[0]?n[0]:{},a=i&&i.id||e.data("pid")||t.data("productid")||t.attr("data-productid")||null;return{name:i&&Object.prototype.hasOwnProperty.call(i,"name")?i.name:null,id:a,price:i&&Object.prototype.hasOwnProperty.call(i,"price")?i.price:"",category:i&&i.category||"Looks voor dames",head_category:i&&i.head_category||"Looks",variant:i&&i.variant||"Regular",sku:i&&Object.prototype.hasOwnProperty.call(i,"sku")?i.sku:"",color:i&&Object.prototype.hasOwnProperty.call(i,"color")?i.color:"",material:i&&Object.prototype.hasOwnProperty.call(i,"material")?i.material:"",season:i&&Object.prototype.hasOwnProperty.call(i,"season")?i.season:null,image_style:i&&Object.prototype.hasOwnProperty.call(i,"image_style")?i.image_style:null}}(e);a.id&&window.dataLayer.push({event:"lookClick",click_type:o,ecommerce:{currencyCode:n.getCurrencyCode(),click:{actionField:{list:"Overzicht - "+a.category},products:[{name:a.name,id:a.id,price:a.price,category:a.category,head_category:a.head_category,variant:a.variant,sku:a.sku,color:a.color,material:a.material,season:a.season,image_style:a.image_style,position:i}]}}})}))},358:function(t,e){window.dataLayer=window.dataLayer||[];const o="[data-stylist-track]",n=".js-carousel-slide",i="#digital-stylist-modal",a="#digital-stylist-panel",s="#digital-stylist-info-modal",r="#stylistLoginModal",c="#stylistLoginPanel",d="[data-stylist-id]";t.exports=function(){function t(){const t=document.cookie.match(new RegExp("(?:^|; )selectedStylist=([^;]*)"));return t?decodeURIComponent(t[1]):""}function e(t){const e=t.attr("data-stylist-location")||t.closest("[data-stylist-location]").attr("data-stylist-location");return e||(t.closest(`${i}, ${a}`).length?"widget":t.closest(`${s}, ${r}, ${c}, .modal, .panel`).length?"popup":"page")}function l(t){const e=t.attr("data-stylist-track-position");if(void 0!==e&&""!==e){const t=Number(e);return Number.isNaN(t)?e:t}const o=t.attr("data-stylist-track-position-among");if(o){const e=t.closest(o);if(e.length){const t=$(o).index(e);if(t>=0)return t+1}}const i=t.closest(n);if(i.length){const t=i.data("position");if(null!=t&&""+t!=""){const e=Number(t);return Number.isNaN(e)?t:e}
1const e=i.closest(".js-carousel-list, .js-carousel");if(e.length){const t=e.find(n).not(".keen-slider__slide--clone").index(i);if(t>=0)return t+1}return i.index()+1}return""}function u(t){const e=t.attr("data-stylist-track-value");if(null!=e&&""!==e)return e;return(t.text()||"").replace(/\s+/g," ").trim()}function p(t){const e=t||{};window.dataLayer.push({event:"stylist_interaction",interaction:e.interaction||"",interaction_value:void 0!==e.interaction_value?e.interaction_value:"",stylist_id:void 0!==e.stylist_id?e.stylist_id:"",stylist_name:void 0!==e.stylist_name?e.stylist_name:"",location:void 0!==e.location?e.location:"",position:void 0!==e.position?e.position:""})}function g(o){const n=o.attr("data-stylist-track");if(!n)return;const i=function(e){const o=void 0!==e.attr("data-stylist-id")?e:e.closest(d),n=o.attr("data-stylist-id")||"",i=o.attr("data-stylist-name")||"";if(n)return{id:n,name:i};const a=e.closest("[data-pending-stylist-id]");return a.length?{id:a.attr("data-pending-stylist-id")||"",name:a.attr("data-pending-stylist-name")||""}:{id:t(),name:""}}(o),a="true"!==o.attr("data-stylist-track-omit-name");p({interaction:n,interaction_value:u(o),stylist_id:i.id,stylist_name:a?i.name:"",location:e(o),position:l(o)})}function m(e){p({interaction:"close",interaction_value:"",stylist_id:t(),stylist_name:"",location:e,position:""})}function h(t){const e=[t+" .js-product-grid__tile--imp .js-llp-link",t+" .js-pdp-link",t+" .js-product-images"].join(", ");$(document).on("click",e,(function(){const e=$(this).closest(".js-product-grid__tile--imp, .js-carousel-slide");if(!e.length)return;const o=e.closest(t),n=function(t){const e=t.find(".js-wishlist").first(),o=e.attr("data-pid")||t.attr("data-productid")||t.attr("data-pid");if(o)return o;const n=e.attr("data-gtm-product");if(n)try{const t=JSON.parse(n),e=Array.isArray(t)?t[0]:t;if(e&&e.id)return e.id}catch(t){}return""}(e);n&&p({interaction:"photo click",interaction_value:n,stylist_id:o.attr("data-stylist-id")||"",stylist_name:o.attr("data-stylist-name")||"",location:"page",position:e.data("position")||e.index()+1})}))}return $(document).on("click",o,(function(){g($(this))})),$(document).on("hide.bs.modal",i,()=>m("popup")),$(document).on("panel:beforeClose",(t,e)=>{e&&e.panel&&"digital-stylist-panel"===e.panel.id&&m("popup")}),h("#favorite-looks"),h("#favorite-products"),{push:p,pushFromElement:g}}()},462:function(t,e,o){window.dataLayer=window.dataLayer||[],o(344),o(345),o(346),o(347),o(348),o(349),o(350),o(351),o(352),o(353),o(354),o(355),o(356),o(357),o(358)},47:function(t,e,o){var n=o(9),i=o(3);t.exports=function(t,e,o){var a=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(o)&&(a="leading"in o?!!o.leading:a,s="trailing"in o?!!o.trailing:s),n(t,e,{leading:a,maxWait:e,trailing:s})}},5:function(t,e){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"==typeof window&&(o=window)}t.exports=o},6:function(t,e,o){var n=o(16),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();t.exports=a},7:function(t,e,o){var n=o(6).Symbol;t.exports=n},9:function(t,e,o){var n=o(3),i=o(15),a=o(17),s=Math.max,r=Math.min;t.exports=function(t,e,o){var c,d,l,u,p,g,m=0,h=!1,f=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var o=c,n=d;return c=d=void 0,m=e,u=t.apply(n,o)}function v(t){return m=t,p=setTimeout($,e),h?w(t):u}function k(t){var o=t-g;return void 0===g||o>=e||o<0||f&&t-m>=l}function $(){var t=i();if(k(t))return b(t);p=setTimeout($,function(t){var o=e-(t-g);return f?r(o,l-(t-m)):o}(t))}function b(t){return p=void 0,y&&c?w(t):(c=d=void 0,u)}function j(){var t=i(),o=k(t);if(c=arguments,d=this,g=t,o){if(void 0===p)return v(g);if(f)return clearTimeout(p),p=setTimeout($,e),w(g)}return void 0===p&&(p=setTimeout($,e)),u}return e=a(e)||0,n(o)&&(h=!!o.leading,l=(f="maxWait"in o)?s(a(o.maxWait)||0,e):l,y="trailing"in o?!!o.trailing:y),j.cancel=function(){void 0!==p&&clearTimeout(p),m=0,c=g=d=p=void 0},j.flush=function(){return void 0===p?u:b(i())},j}},97:function(t,e,o){const n=o(0),i=".js-currency-code",a="data-currency-code";t.exports.getCurrencyCode=function(){const t=document.querySelector(i);if(!t)return n.defaultCurrencyCode;const e=t.getAttribute(a);return e&&0!==e.length?e:n.defaultCurrencyCode}}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.