var klevu_cms_module_enabled=!0,klevu_cmsSearchEnabled=!0,klevu_current_version="20.0.1",klevu_storeLandingPageUrl="/search.html",klevu_showQuickSearchOnEnter=!1,klevu_maxCategoriesToShow=6,klevu_apiKey="klevu-15094462342386383",klevu_lang="en",klevu_result_top_margin="",klevu_result_left_margin="",searchTextBoxName="klevuSearchBox",klv_subDomain=window.location.hostname.split(".");
if(klv_subDomain.length)if(klv_subDomain=klv_subDomain[0],"ganymedenl"===klv_subDomain||"pre"===klv_subDomain)klevu_apiKey="klevu-15094464342256383";else if("glaukosnl"===klv_subDomain||"test"===klv_subDomain)klevu_apiKey="klevu-14999264001476383";
(function(){var c=document.createElement("script"),a="https:"===document.location.protocol?"https://":"http://";c.type="text/javascript";c.async=!0;c.src=a+"js.klevu.com/klevu-js-v1/js/klevu-webstore.js";a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(c,a)})();
var klevu_uc={showResultsData:function(c){var a=document,d=!0,b=a.getElementById("klevuSearchNoResults");this.hideLoader();if(0!==klevu_searchedTerm.length){b&&(b.style.display="none");this.showAutoSuggestions(c.autoComplete,c.meta);this.showCmsContent(c.pages);this.showCategories(c.categories);if(c.autoComplete&&0<c.autoComplete.length||c.categories&&0<c.categories.length||c.pages&&0<c.pages.length)d=!1;klevu_uc.showProducts(c.meta,c.result,d,c.popularProducts);!d||0<c.result.length?klevu_commons.showBannerAdForGivenTerm(klevu_searchedTerm):
klevu_commons.showBannerAdForGivenTerm("");a.getElementById("klevuSearchingArea").style.cssText+=";display : block !important;"}},addAutocompleteLayoutToPage:function(c){var a=klevu_fluidLayoutEnabled?this.addElementToParent(c,"div",{"class":"klevu-fluid"}):c;loaderContainerDiv=this.addElementToParent(a,"div",{"class":"klevu-searching-area-l2",id:"loaderContainer",style:"display:none;"});this.addLoaderDiv(loaderContainerDiv);a=this.addElementToParent(a,"div",{"class":"klevu-searching-area-l2",id:"klevuSearchingArea",
style:"display:none;"});if(klevu_showPopularSearches||klevu_showRecentSerches||klevu_userOptions.showRecentlyViewedItems||klevu_userOptions.showTrendingProducts){var d=document.createElement("div");d.setAttribute("class","klevu-pt-rs-hover");d.setAttribute("id","klevu-pt-rs-hover");d.style.display="none";if(klevu_fluidLayoutEnabled){var b=document.createElement("div");b.setAttribute("class","klevu-fluid");b.appendChild(d);c.appendChild(b)}else c.appendChild(d);c=!1;klevu_showPopularSearches&&(c=this.addPopularSearchesDiv(d));
klevu_showRecentSerches&&(c=this.addRecentSearchesDiv(d));c||(d.style.display="none")}this.addElementToParent(a,"div",{"class":"klevuNoResults klevuNoResults-new",id:"klevuSearchNoResults",style:"display:none;"});"undefined"!==typeof klevu_showBannerAds&&klevu_showBannerAds&&this.addElementToParent(a,"div",{"class":"klevu-banner-ad",id:"klevuBannerAdTop",style:"padding:0px;"});c=this.addElementToParent(a,"div",{"class":"klevuResultsBlock",id:"klevuResultsBlock"});this.addElementToParent(c,"div",{"class":"klevuSuggestionHeading",
id:"klevuProductHeading",style:"display:none;"});this.addElementToParent(c,"div",{"class":"klevuSearchResults-l2",id:"productsList",style:"display:none;"});klevu_uiLabels.viewAllProducts="View all products";c=this.addElementToParent(a,"div",{"class":"klevuSuggestionsBlock",id:"klevuSuggestionsBlock"});this.addElementToParent(c,"div",{"class":"klevuAutoSuggestion-l2",id:"klevuAutoCompleteArea",style:"display:none;"});this.addElementToParent(c,"div",{"class":"klevuAutoSuggestion-l2",id:"klevuCmsContentArea",
style:"display:none;"});this.addElementToParent(c,"div",{"class":"klevuSuggestionHeading",style:"display:none;"}).innerHTML='\x3cspan class\x3d"klevuHeadingText"\x3ePages\x3c/span\x3e';this.addElementToParent(c,"div",{"class":"klevuAutoSuggestion-l2",id:"klevuCategoryArea",style:"display:none;"});"undefined"!==typeof klevu_showBannerAds&&klevu_showBannerAds&&this.addElementToParent(a,"div",{"class":"klevu-banner-ad",id:"klevuBannerAdBottom",style:"padding:0px;"});klevu_logoFreeSearch||this.addPoweredByDiv(a);
klevu_userOptions.autoComplete=!1},showProducts:function(c,a,d,b){var e=document,p=0,n=klevu_userOptions.recordsPerPage,m=e.getElementById("productsList"),h,v,q,w,x,y,z,A,B,C,D,r,E,F,G,f=e.getElementById("klevuProductHeading");var k="";var l=e.createElement("div");var t="",u="",H=e.createElement("UL");"undefined"!==typeof klevu_storeLandingPageUrl&&(k=klevu_storeLandingPageUrl);k="undefined"!==typeof klevu_searchQueryParam&&klevu_searchQueryParam?klevu_commons.updateUrlParameter(k,klevu_searchQueryParam,
""):klevu_commons.updateUrlParameter(k,"q","");if(0<a.length){c.totalResultsFound&&(p=Number(c.totalResultsFound));f.innerHTML='\x3cspan class\x3d"klevuHeadingText"\x3e'+klevu_uiLabels.matchingProducts.replace("#",klevu_searchedTerm)+"\x3c/span\x3e";b='\x3ca href\x3d"'+k+encodeURIComponent(klevu_searchedTerm)+'" target\x3d"_parent"\x3e'+klevu_uiLabels.viewAllProducts.replace("#",p)+"\x3c/a\x3e";f.innerHTML=klevu_layout.loaderPlaced?f.innerHTML+b:f.innerHTML+('\x3cspan class\x3d"klevuLoader" id\x3d"klevu-loader-2"\x3e'+
b+"\x3c/span\x3e");f.style.display="block";for(b=0;b<a.length&&b<n;b++){var I=G=F=r=B=x=k=E=D=C=A=z=y=w=q=v=p=e=d=h=c="";f=null;var J=1+b;a[b].id&&(e=a[b].id);a[b].name&&(c=a[b].name);a[b].metaDesc&&(h=a[b].metaDesc);a[b].desc&&(h=a[b].desc);a[b].shortDesc&&(h=a[b].shortDesc);a[b].shortDescription&&(h=a[b].shortDescription);a[b].salePrice&&(p=a[b].salePrice);a[b].price&&(v=a[b].price);a[b].url&&(A=a[b].url);a[b].image&&(q=a[b].image);a[b].imageUrl&&(q=a[b].imageUrl);a[b].brand&&(d=a[b].brand);a[b].currency&&
(w=a[b].currency);a[b].startPrice&&(C=a[b].startPrice);a[b].toPrice&&(D=a[b].toPrice);a[b].totalVariants&&(z=a[b].totalVariants);a[b].displayPrice&&(y=a[b].displayPrice);a[b].inStock&&(r=a[b].inStock);a[b].sku&&(E=a[b].sku);a[b].groupPrices&&(k=a[b].groupPrices);a[b].rating&&(x=a[b].rating);a[b].discount&&(B=a[b].discount);a[b].inStock&&(r=a[b].inStock);a[b].manufacturer&&(F=a[b].manufacturer);a[b].deliveryInfo&&(G=a[b].deliveryInfo);a[b].deliveryInfoClass&&(I=a[b].deliveryInfoClass);var g=h;l.innerHTML=
g;g=l.textContent||l.innerText||"";33<g.length&&(g=g.replace(/^(.{33}[^\s]*).*/,"$1")+" ...");h=g.lastIndexOf("\x3cb");var K=g.lastIndexOf("\x3c/b\x3e");h>K&&(g=g.substring(0,h-1));c={productCode:e,productImage:q,productBrand:d,productUrl:A,productName:c,productDescription:g,productPrice:v,salePrice:p,currency:w,priceToDisplay:y,startPrice:C,toPrice:D,totalProductVariants:z,productSku:E,groupPrices:k,rating:x,discount:B,inStock:r,manufacturer:F,deliveryInfo:G,deliveryInfoClass:I,productPosition:J};
for(f in a[b])a[b].hasOwnProperty(f)&&(c[f]=a[b][f]);f=klevu_uc.displayProductdata(c);H.appendChild(f);l.innerHTML=""}if(768>screen.width){m.className="klevuSearchResults-l2 klevuproductsListSlider";b=1;for(l=a.length;b<l&&b<n;b++)t=1===b?t+('\x3cinput type\x3d"radio" name\x3d"noelProductSlider" id\x3d"noelProductSlider_'+b+'" checked /\x3e'):t+('\x3cinput type\x3d"radio" name\x3d"noelProductSlider" id\x3d"noelProductSlider_'+b+'" /\x3e');u+='\x3cdiv class\x3d"klevuproductsListSliderarrow"\x3e';b=
1;for(l=a.length;b<l&&b<n;b++)u+='\x3clabel for\x3d"noelProductSlider_'+b+'"\x3e\x3c/label\x3e';u+="\x3c/div\x3e"}m.innerHTML=t;m.appendChild(H);m.innerHTML+=u}else f.style.display="none",m.innerHTML="",d&&(n=e.getElementById("klevuSearchNoResults"),n.innerHTML=klevu_layout.displayNoResultData(b),n.style.display="block");m.style.display="block";klevu_addEventListenersToProducts(a)},displayProductdata:function(c){var a="",d=document;var b=d.createElement("div");var e=d.createElement("LI");c=klevu_productCustomizations(c);
0===c.productImage.trim().length&&(c.productImage=klevu_userOptions.noImageUrl);escape(c.productCode);escape(c.productUrl);escape(c.productName);escape(c.salePrice);escape(c.rating);escape(c.category);b.innerHTML=c.productName;b=b.textContent||b.innerText||"";d=d.createElement("A");d.id="prAnchor-"+c.productPosition;d.href=c.productUrl.replace(/"/g,"%22");d.className="klevu-result-box-l2";a+='\x3cdiv class\x3d"klevu-img-wrap-l2"\x3e\x3cimg src\x3d"'+c.productImage+'" onerror\x3d"this.onerror\x3dnull;this.src\x3d\''+
klevu_userOptions.noImageUrl+'\';" alt\x3d"'+klevu_commons.escapeHtml(b)+'" /\x3e\x3c/div\x3e';"undefined"!==typeof klevu_showDiscountBadge&&klevu_showDiscountBadge&&""!=c.discount&&"0"!=c.discount&&"0.0"!=c.discount&&(a+='\x3cdiv class\x3d"klevu-discount-badge-l2"\x3e'+klevu_uiLabels.discountBadgeText+" "+Number(c.discount).toFixed(0)+"%\x3c/div\x3e");a=a+'\x3cdiv class\x3d"klevu-name-desc-l2"\x3e'+('\x3cdiv class\x3d"klevu-name-l2"\x3e'+c.productName+'\x3c/div\x3e\x3cdiv class\x3d"klevu-desc-l2"\x3e'+
c.productDescription+"\x3c/div\x3e");klevu_showPrices&&(a+='\x3cdiv class\x3d"klevu-price-l2"\x3e',a=klevu_userOptions.showOnlyOriginalAndSalePrices?a+klevu_commons.showOriginalAndSalePrices("SLIM",c,"klevu-saleprice-l2","klevu-saleprice-l2 klevu-special-price-l2"):a+klevu_commons.showProductPrices("SLIM",c,"klevu-saleprice-l2","klevu-saleprice-l2 klevu-special-price-l2"),0<klevu_userOptions.vatCaption.trim().length&&(a+='\x3cspan class\x3d"klevu-vat-caption-l2"\x3e('+klevu_userOptions.vatCaption+
")\x3c/span\x3e"),a+="\x3c/div\x3e");0<c.rating.trim().length&&!isNaN(Number(c.rating))&&5>=Number(c.rating)&&0<=Number(c.rating)&&(a+='\x3cdiv class\x3d"klevu-stars-small-l2"\x3e\x3cdiv class\x3d"klevu-rating-l2" style\x3d"width:'+20*Number(c.rating)+'%;"\x3e\x3c/div\x3e\x3c/div\x3e');0<klevu_userOptions.outOfStockCaption.trim().length&&c.inStock&&"no"===c.inStock&&(a+='\x3cdiv class\x3d"klevu-out-of-stock-l2"\x3e'+klevu_userOptions.outOfStockCaption+"\x3c/div\x3e");d.innerHTML=a+'\x3c/div\x3e\x3cdiv class\x3d"klevu-clear-left"\x3e\x3c/div\x3e';
e.appendChild(d);return e}};
function klevu_addEventListenersToProducts(c){for(var a=[],d,b=document,e=0;e<c.length;e++)d=c[e],a[e]={data:{code:escape(d.id),url:escape(d.url),name:escape(d.name),salePrice:escape(d.salePrice),rating:escape(d.rating),position:e,category:escape(d.category)}},d=b.getElementById("prAnchor-"+(e+1)),klevu_commons.isMobileDevice()?klevu_commons.attachEvent(d,"click",function(b){var c=Number(this.id.split("-")[1])-1;return klevu_analytics.trackClickedProduct(b,a[c])}):(klevu_commons.attachEvent(d,"mousedown",
function(b){var c=Number(this.id.split("-")[1])-1;return klevu_analytics.trackClickedProduct(b,a[c])}),klevu_userOptions.openProductClicksInNewWindow?d.setAttribute("target","_blank"):klevu_commons.attachEvent(d,"click",function(a){klevu_analytics.stopClickDefault(a)}))};
//# sourceMappingURL=/shop/template-resources/sourcemap/f48716df73c3edf2.js.map