1function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}jQuery(document).ready(function(d){function e(){var e=d(".header__main").outerHeight()+(d(".header__menu ").outerHeight()-16)+(null!=(e=d("#wpadminbar ").outerHeight())?e:0)-8;d(".megamenu__submenu").css("top",e+"px")}e(),d(window).on("resize",e);var a,t=15,n=(t+=jQuery(".header__main").outerHeight(),jQuery(document).on("scroll",function(){jQuery(window).scrollTop()>=t?jQuery(".header__main").addClass("is-scrolled"):jQuery(window).scrollTop()<t-25&&jQuery(".header__main").removeClass("is-scrolled")}),d(".megamenu__nav li[data-id]").on("mouseenter",function(){var e=d(this).data("id");d(".megamenu__nav li").removeClass("active"),d(this).addClass("active"),d(".megamenu__links[data-for]").removeClass("active").hide(),d('.megamenu__links[data-for="'.concat(e,'"]')).addClass("active").show()}),""),i=null,o=d('[data-action="searching_item"]');jQuery('[data-action="toggle_menu_drawer"], .overlay').click(function(){jQuery('[data-action="toggle_menu_drawer"], .drawer, .overlay').toggleClass("is-open"),jQuery(".drawer__levels").removeClass("is-level-2")}),jQuery(".drawer").on("click","[data-json]",function(e){e.preventDefault();var e=JSON.parse(jQuery(this).attr("data-json")),t=jQuery(this).find("> span:first-child span:last-child").text().trim(),a="";jQuery.each(e,function(e,t){a+='<li><a href="'+t.url+'" class="u-inner-row u-gap-sb u-inner-align-center"><span class="u-inner-row u-inner-align-center u-gap-8"><span>'+t.text+'</span></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></a></li>'}),jQuery(".drawer__level--2 .drawer__content-header").text(t),jQuery(".drawer__level--2 .drawer__content ul").html(a),jQuery(".drawer__levels").addClass("is-level-2")}),jQuery(document).on("click",'[data-action="drawer_back"]',function(){jQuery(".drawer__levels").removeClass("is-level-2")}),jQuery('[data-action="toggle_sizetable"]').on("click",function(){jQuery(".wc__singleproduct-popup").toggleClass("is-active"),jQuery(".wc__singleproduct-overlay").toggleClass("is-active")});var c=new Swiper(".wc__singleproduct-swiper-thumbs",{spaceBetween:8,slidesPerView:"auto"}),s=new Swiper(".wc__singleproduct-swiper-main",{spaceBetween:10,thumbs:{swiper:c}});jQuery(".venobox").venobox(),new Swiper(".partners-swiper",{loop:!1,spaceBetween:32,breakpoints:{0:{slidesPerView:2},767:{slidesPerView:6},1e3:{slidesPerView:8}}}),new Swiper(".product-alternative-swiper",{spaceBetween:16,breakpoints:{1024:{slidesPerView:3.5},0:{slidesPerView:1.5}}}),new Swiper(".customers-swiper",{loop:!1,spaceBetween:32,breakpoints:{0:{slidesPerView:1.5},767:{slidesPerView:2.5},1e3:{spaceBetween:48,slidesPerView:"auto"}}}),new Swiper(".usp-carousel-swiper",{spaceBetween:16,breakpoints:{1024:{slidesPerView:3.5},0:{slidesPerView:1.5}}}),new Swiper(".tds__blocks-hero-swiper",{breakpoints:{0:{slidesPerView:1,spaceBetween:24},768:{slidesPerView:1.5,spaceBetween:24},1024:{slidesPerView:3,spaceBetween:24,autoplay:!1}}}
1),new Swiper(".tds__blocks-highlightswiper-swiper",{breakpoints:{0:{slidesPerView:"1.5",spaceBetween:16},1024:{slidesPerView:4,spaceBetween:24}}}),new Swiper(".footer__swiper-paymentmethods",{spaceBetween:8,slidesPerView:"auto"});function r(i,o){var c;return function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];clearTimeout(c),c=setTimeout(function(){i.apply(e,a)},o)}}jQuery('[data-action="toggle_subpages_account"]').on("click",function(){var e=jQuery(this).data("id");jQuery('[data-action="toggle_subpages_account"]').removeClass("active"),jQuery(this).addClass("active"),"mijn-gegevens"==e?(jQuery(".account__gegevens").show(),jQuery(".account__bestellingen").hide(),jQuery(".account__opgeslagen-designs").hide()):"opgeslagen-designs"==e?(jQuery(".account__opgeslagen-designs").show(),jQuery(".account__bestellingen").hide(),jQuery(".account__gegevens").hide()):(jQuery(".account__opgeslagen-designs").hide(),jQuery(".account__gegevens").hide(),jQuery(".account__bestellingen").show())}),jQuery('[data-action="submit_change_form"]').on("click",function(e){e.preventDefault();e=d("#accountForm").serialize();d.ajax({type:"POST",url:ajaxURL,data:e+"&action=update_account_details",dataType:"json",success:function(e){d("#responseMessage").text(e.message).css("color",e.success?"green":"red").show()},error:function(){d("#responseMessage").text("Er is een fout opgetreden. Probeer het opnieuw.").css("color","red").show()}})}),jQuery('[data-action="open_nex_subject"]').on("click",function(e){var t=jQuery(this).data("subject");n=n===t?(jQuery(this).find(".service__more").removeClass("active"),jQuery('.service__object[data-subject="'+t+'"]').removeClass("active"),""):(jQuery(".service__more").removeClass("active"),jQuery(this).find(".service__more").addClass("active"),jQuery(".service__object").removeClass("active"),jQuery('.service__object[data-subject="'+t+'"]').addClass("active"),t)}),jQuery(".readmore_button").on("click",function(){(i=i||d(".limited-text")).hasClass("limited-text")?(i.removeClass("limited-text"),jQuery(this).text("Lees minder")):(i.addClass("limited-text"),jQuery(this).text("Lees meer"))}),d(".information .Hoofdtekst").each(function(){var t,a=d(this);a.next(".hoofdtekst-readmore").length||(a.addClass("is-clamped"),a[0].scrollHeight<=a[0].clientHeight+2?a.removeClass("is-clamped"):(t=d('<button type="button" class="hoofdtekst-readmore">Lees meer</button>'),a.after(t),t.on("click",function(){var e=a.toggleClass("is-clamped").hasClass("is-clamped");t.text(e?"Lees meer":"Lees minder")})))}),d(".wc__archive-product-description").each(function(){var n,i,o=d(this);d.trim(o.text()).length&&!o.next(".wc__archive-product-description-readmore").length&&(o.addClass("is-clamped"),o[0].scrollHeight<=o[0].clientHeight+2?o.removeClass("is-clamped"):(n=d('<button type="button" class="wc__archive-product-description-readmore">Lees meer</button>'),o.after(n),i=!350,n.on("click",function(){var e,t,a;i||(i=!0,e=o.hasClass("is-clamped"),t=o.height(),o.removeClass("is-clamped").css({height:t,overflow:"hidden"}),e?(a=o.css("height","auto").height(),n.text("Lees minder")):(a=o.addClass("is-clamped").css("height","").height(),o.removeClass("is-clamped"),n.text("Lees meer")),o.css("height",t).stop().animate({height:a},350,function(){(e?o:o.addClass("is-clamped")).css({height:"",overflow:""}),i=!1}))})))}),jQuery('[data-action="check_giftvoucher"]').on("click",function(e){var t=d("#giftvoucher_input").val();d("#errormessage").hide(),d.ajax({type:"POST",url:ajaxURL,data:{nonce:ajaxNonce,action:"check_coupon_balance",coupon_code:t},success:function(e){e.success?(d("#amount_giftvoucher").val("â¬"+e.data.amount),e=e.data.expiredate.date.split(" ")[0],d("#amount_expiredate").val(e)):d("#errormessage").show()}})});var c=r(function(){var e=d(this).val();e?(d(".header__main-searched").html("Zoeken..."),d(".header__main-searched").addClass("is-active"),searchDebounceTimer=setTimeout(function(){d.ajax({method:"POST",url:ajaxURL,data:{nonce:ajaxNonce,action:"custom_search",search:e},success:function(e){d(".header__main-searched").addClass("is-active"),d(".header__main-searched").html(e.data.html)}})},400)):d(".header__main-searched").removeClass("is-active")},500);function l(){var e=d('input[name^="shipping_method"]:checked').val(),t=d('input[name="payment_method"]:checked').val(),e=e||d("#shipping_method_0").val();d.ajax({type:"POST",url:ajaxURL,data:{nonce:ajaxNonce,action:"update_checkout_Prices",shipping:e,payment:t},beforeSend:function(){d(".wc__checkout-total").addClass("updating")},success:function(e){e.success&&d(".wc_checkout-total-content").html(e.data.checkout)},complete:function(){d(".wc__checkout-total").removeClass("updating")}})}function u(){var e=d("#billing_country option:selected"),t=e.text(),e=e.closest("p");e.find(".country-notice").remove(),"België"===t&&e.append('<div class="mt-12 country-notice" style="color:red;">Controleer of uw adres, huisnummer en-<br>
1 postcode juist zijn.</div>')}o.on("input",c),d(document).on("click",function(e){d(e.target).closest(".header__main-searched").length||d(".header__main-searched").removeClass("is-active")}),d('[data-action="open__filters"]').on("click",function(){d(this).toggleClass("is-active"),d(this).closest(".filters").toggleClass("is-active")}),jQuery(document).on("click",'[data-action="toggle_drawer_filters"]',function(){d(".wc__archive-product-filters").toggleClass("is-active"),d(".wc__archive-product-filters-overlay").toggleClass("is-active")}),d(document).on("change",'[data-action="custom_filters_checkbox"]',function(){var e=d(this).data("filter-id"),t=d(this).is(":checked");d('[data-filter-id="'.concat(e,'"]')).prop("checked",t),clearTimeout(a),a=setTimeout(function(){var e,t=new URL(window.location.href),a=new URLSearchParams,n=(t.searchParams.forEach(function(e,t){t.startsWith("filter_pa_")||a.append(t,e)}),{});for(e in d('[data-action="custom_filters_checkbox"]:checked').each(function(){var e=d(this).attr("name").replace("[]","").replace("pa_",""),t=d(this).val();n[e]||(n[e]=new Set),n[e].add(t)}),n)a.set("filter_pa_".concat(e),Array.from(n[e]).join(","));t=t.pathname.replace(/\/page\/\d+\/?/,"")+"?"+a.toString();window.location.href=t},400)}),o=d(".woocommerce-notices-wrapper").first(),c=d(".wc__checkout").first(),o.length&&c.length&&(o.closest(".wc__checkout").length||o.prependTo(c)),d("#billing_company_field").hide(),d("#woocommerce_eu_vat_number").hide(),d("#company-checkout").on("change",function(){d(this).is(":checked")?(d("#billing_company_field").show(),d("#woocommerce_eu_vat_number").show()):(d("#woocommerce_eu_vat_number").hide(),d("#billing_company_field").hide())}),d("#ship-to-different-address-checkbox").on("change",function(){console.log("changed"),d("#ship-to-different-address-checkbox").is(":checked")?(d("#shipping_title").show(),d("#billing_title").text("Factuuradres"),d(".hidden_shipping_fields").children().appendTo('[data-function="shipping_checkout"]')):(d('[data-function="shipping_checkout"]').children().appendTo(".hidden_shipping_fields"),d("#shipping_title").hide(),d("#billing_title").text("Factuur- en verzendadres"))}),d('[data-action="toggle_login_popup"]').on("click",function(){d(".wc__checkout-overlay").toggleClass("is-active"),d(".wc__checkout-popup").toggleClass("is-active")}),d(".wc__checkout-overlay").on("click",function(){d(".wc__checkout-popup").toggleClass("is-active"),d(".wc__checkout-overlay").toggleClass("is-active")}),jQuery(document).on("select2:select","#billing_country",function(e){var t=d("#billing_country").val();d(".wc__checkout-paymentoptions").addClass("updating"),d.ajax({type:"POST",url:ajaxURL,data:{nonce:ajaxNonce,country:t,action:"update_shipping_payment_Prices"},beforeSend:function(){d(".wc__checkout-paymentoptions").addClass("updating")},success:function(e){e.success&&location.reload()}})}),jQuery(document).on("change",'input[name^="shipping_method"]',function(){l()}),jQuery(document).on("change",'input[name="payment_method"]',function(){l()}),jQuery(document).on("click",'[data-action="wc-toggle-coupons"]',function(){d(this).toggleClass("is-active");var e,t=jQuery(".wc__checkout-giftcard-container");t.is(":visible")?t.stop().animate({height:"0"},300,function(){t.hide()}):(t.show().css("height","0"),e=t[0].scrollHeight,t.stop().animate({height:e+"px"},300))}),jQuery(document).on("click",'[data-action="wc-remove-giftcard"]',function(){var e=jQuery(this).data("couponid");d.ajax({type:"POST",url:ajaxURL,data:{nonce:ajaxNonce,couponid:e,action:"remove_coupon_checkout"},beforeSend:function(){d('[data-action="wc-toggle-coupons"]').removeClass("is-active"),d(".wc__checkout-giftcard-container").stop().animate({height:"0"},300,function(){d(this).hide()})},success:function(e){e.success&&(l(),d(".wc__checkout-giftcard").html(e.data.html))}})}),jQuery(document).on("click",'[data-action="wc-add-giftcard"]',function(){var e=d("#custom-checkout-input").val();d(".wc__checkout-giftcard-error").hide(),e?d.ajax({type:"POST",url:ajaxURL,data:{nonce:ajaxNonce,couponcode:e,action:"add_coupon_checkout"},beforeSend:function(){d('[data-action="wc-toggle-coupons"]').removeClass("is-active"),d(".wc__checkout-giftcard-container").stop().animate({height:"0"},300,function(){d(this).hide()})},success:function(e){e.success?(l(),d(".wc__checkout-giftcard").html(e.data.html)):d(".wc__checkout-giftcard-error").text("Coupon is ongeldig").show()}}):d(".wc__checkout-giftcard-error").text("Coupon veld kan niet leeg zijn").show()}),u(),d(document.body).on("change","#billing_country",function(){u()}),jQuery(document).on("input change",'[data-action="wc-change-amount-cart"]',function(){var e=jQuery(this),t=e.val(),a=e.data("cart");clearTimeout(r),r=setTimeout(function(){jQuery.ajax({type:"POST",url:ajaxURL,data:{action:"wc_change_amount_cart",nonce:ajaxNonce,cart_key:a,quantity:t},beforeSend:function(){jQuery(".wc__cart-sticky").addClass("wc__cart-updating"),e.closest(".wc__cart-overview-item").addClass("wc__cart-updating")},success:function(e){e.success&&(jQuery(".wc__cart-overview").html(e.data.cart_overview),jQuery(".wc__cart-sticky").html(e.data.cart_summary))},complete:function(){jQuery(".wc__cart-sticky").removeClass("wc__cart-updating"),e.closest(".wc__cart-overview-item").removeClass("wc__cart-updating")}})},700)});var p="island_surcharge_refreshed";d(document).ajaxComplete(function(e,t,a){(t=>{try{var e=new URL(t,window.location.origin);return/\/wp-admin\/admin-ajax\.php$/i.test(e.pathname)}catch(e){return-1!==t.indexOf("admin-ajax.php")}})(a.url)&&(a=(e=>{try{var t=new URL(e.url,window.location.origin);if(t.searchParams&&t.searchParams.get("action"))return t.searchParams.get("action")}catch(e){}if(e.data)if("string"==typeof e.data)for(var a=e.data.split("&"),n=0;n<a.length;n++){var i=a[n].split("=");if("action"===decodeURIComponent(i[0]))return decodeURIComponent(i[1]||"")}
1else if("object"===_typeof(e.data)){if(window.FormData&&e.data instanceof FormData){t=e.data.get&&e.data.get("action");if(t)return t}if(e.data.action)return e.data.action}return null})(a))&&"wpo_wcnlpc_api_request"===a&&(a=(e=>{if(e&&e.responseJSON&&"object"===_typeof(e.responseJSON))return e.responseJSON;if((e=e&&e.responseText)&&"string"==typeof e){var t=d.trim(e).charAt(0);if("{"===t||"["===t)try{return JSON.parse(e)}catch(e){}}return null})(t))&&a.data&&d.isArray(a.data)&&(!(t="")!==(t=a.data.length&&a.data[0].data&&void 0!==a.data[0].data.custom_refresh?a.data[0].data.custom_refresh:t)&&"1"!==t&&"true"!==t||sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),l(),setTimeout(function(){sessionStorage.removeItem(p)},1e3)))}),"/blackfriday/"===window.location.pathname&&blackFridayEndDate&&new FlipDown(new Date(blackFridayEndDate).getTime()/1e3,{theme:"light",headings:["Dagen","Uren","Minuten","Seconden"]}).start(),d(document).on("input",'input[name^="sizes_"]',function(){var e=parseInt(d(this).val()||0),t=parseInt(d(this).data("prev")||0),a=d(this).data("max");if(a<d('input[name^="sizes_"]').toArray().reduce(function(e,t){return e+parseInt(d(t).val()||0)},0))return d(this).val(t),d('[data-function="megadeals__sizes-error"]').text("U heeft het maximum van "+a+" producten behaald");d('[data-function="megadeals__sizes-error"]').text(""),d(this).data("prev",e)}),d('input[name^="sizes_"]').each(function(){d(this).data("prev",d(this).val())});var h=d('[data-function="files"]'),_=d('[data-id="fileList"]'),o=d(".mc__form-files"),m=[".jpg",".png",".pdf",".eps",".ai",".psd"];h.on("change",function(){var e,t,a=this.files[0];a&&(e="."+a.name.split(".").pop().toLowerCase(),m.includes(e)?(_.empty(),e=a,t=d("<li>").addClass("file-list-item"),e=d("<div>").addClass("file-item").text(e.name+" ").append(d("<button>").html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>').attr("type","button").on("click",function(){t.remove(),h.val("")})),t.append(e),_.append(t),setTimeout(function(){return t.addClass("open")},10)):(alert("Dit bestandstype is niet toegestaan."),this.value=""))}),o.on("dragover",function(e){e.preventDefault(),e.stopPropagation(),d(this).closest(".megadeals__file").addClass("dragover")}),o.on("dragleave",function(e){e.preventDefault(),e.stopPropagation(),d(this).closest(".megadeals__file").removeClass("dragover")}),o.on("drop",function(e){e.preventDefault(),e.stopPropagation(),d(this).closest(".megadeals__file").removeClass("dragover"),h[0].files=e.originalEvent.dataTransfer.files,h.trigger("change")}),d(document).on("click",'[data-action="submit_form_megadeal"]',function(e){e.preventDefault();var i=[],e=d('[data-function="error_message_megadeal"]'),o=d('[data-id="form_megadeal"]'),c=(e.empty(),{files_megadeals:"Bestanden",add_to_cart_megadeal:"Aantal",checkbox_dtf:"DTF voorwaarden"}),t=(o.find("[required]").each(function(){var e,t=d(this),a=t.val(),n=t.attr("name"),n=c[n]||t.closest(".form-group").find("label").text()||n;"radio"===t.attr("type")?(e=t.attr("name"),o.find('input[name="'+e+'"]:checked').length||i.push(n+" is verplicht")):"checkbox"===t.attr("type")?t.is(":checked")||i.push(n+" is verplicht"):a&&""!==a.trim()||i.push(n+" is verplicht")}),o.find('input[name^="sizes_"]').first());if(t.length&&(t=t.data("max"),o.find('input[name^="sizes_"]').toArray().reduce(function(e,t){return e+parseInt(d(t).val()||0)},0)!==t)&&i.push("U moet intotaal "+t+" maten selecteren"),0<i.length)e.append('<div class="error">'+i.join("<br>")+"</div>");else{var a={tag:o.data("tag"),files:o.find('input[name="files_megadeals"]')[0].files,amount:o.find('input[name="add_to_cart_megadeal"]').val()},t=o.find('input[name="colors_megadeal"]:checked'),n=(t.length&&(a.color=t.val()),{}),e=(o.find('input[name^="sizes_"]').each(function(){var e=d(this).attr("name").replace("sizes_","").replace("megadeals_",""),t=parseInt(d(this).val()||0);0<t&&(n[e]=t)}),0<Object.keys(n).length&&(a.sizes=n),o.find('input[name="checkbox_dtf"]')),s=(e.length&&e.is(":checked")&&(a.checkbox_dtf=!0),new FormData);s.append("nonce",ajaxNonce),s.append("action","add_megadeal_product_to_cart"),s.append("tag",a.tag),s.append("amount",a.amount),s.append("product_url",window.location.href);for(var r=0;r<a.files.length;r++)s.append("files[]",a.files[r]);a.color&&s.append("color",a.color),a.sizes&&s.append("sizes",JSON.stringify(a.sizes)
1),a.checkbox_dtf&&s.append("checkbox_dtf",a.checkbox_dtf),d.ajax({type:"POST",url:ajaxURL,data:s,processData:!1,contentType:!1,success:function(e){e.success&&(window.location.href=e.cart_url)}})}});var g=null;d(document).on("click",".flex.flex-wrap.gap-2 > div",function(){setTimeout(function(){var n,e=new URLSearchParams(window.location.search).get("woocommerceId");e&&e!==g&&(n=g=e,d(".wc__singleproduct-swiper-main .swiper-slide").each(function(e){var t=d(this),a=t.find("a[data-variations]");if(a.length&&a.data("variations").toString().split(",").includes(n.toString()))return void 0!==s&&s.slideTo(e),d(".wc__singleproduct-swiper-main .swiper-slide").removeClass("swiper-slide-active"),t.addClass("swiper-slide-active"),!!0}))},100)}),d(".satisfactionhero__title").each(function(){var i,o,c,t,s=d(this),e=d.trim(s.text()),a=e.match(/[\d.,]+/);a&&"IntersectionObserver"in window&&(i=parseInt(a[0].replace(/[.,]/g,""),10))&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(o=e.slice(0,a.index),c=e.slice(a.index+a[0].length),s.text(o+"0"+c),(t=new IntersectionObserver(function(e){e.forEach(function(e){var n;e.isIntersecting&&(t.unobserve(e.target),n=performance.now(),requestAnimationFrame(function e(t){var t=Math.min((t-n)/2e3,1),a=1-Math.pow(1-t,4);s.text(o+Math.round(i*a).toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")+c),t<1&&requestAnimationFrame(e)}))})},{threshold:.4})).observe(this))})})
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.