= 1kW<\/div>";$("#flames-wrapper","#ProductInformationModal.modal").html(r);$("#flamesinfo-wrapper","#ProductInformationModal.modal").html(ft);et=n.attr("data-groupname");ot=n.attr("data-groupafter");ImageLoader.load("./files/templates/designs/warmgarant/styleguide/assets/images/svg/pictograms/shower-cw-"+l+".svg","","","shower-icon").done(function(n){$(".pictogram","#ProductInformationModal.modal .cwvalue-wrapper").html(n)});$(".comfort","#ProductInformationModal.modal .cwvalue-wrapper").html(et+"
");$(".comfort","#ProductInformationModal.modal .cwvalue-wrapper").attr("data-after",ot);var lt=$("#drop","#ProductInformationModal.modal").html(),yt=$("#halfdrop","#ProductInformationModal.modal").html(),at=n.attr("data-warmwater"),u=0,h=parseFloat(at.replace(",",".")),vt=h%1!=0,c=at;if(vt?(c=h.toFixed(1).replace(".",","),u=Math.floor(h)):(c=Math.round(h),u=c),$("#liter-wrapper","#ProductInformationModal.modal").text(c),t="",!u.isNaN&&u>0){for(t+='
',i=0;i
6&&(t+="
");vt&&(t+=yt);t+="<\/div>"}st=lt+"= 1 liter p/min<\/div>";$("#drops-wrapper","#ProductInformationModal.modal").html(t);$("#dropsinfo-wrapper","#ProductInformationModal.modal").html(st);g=n.attr("data-energyclass");ht='
'+g.toUpperCase()+"<\/span><\/div>";$(".energyclasslbl-wrapper","#ProductInformationModal.modal").html(ht);ct=n.find("div.series-logo").html();$(".series-logo","#ProductInformationModal.modal").html(ct);f=n.find("div.quick-view-image").html();nt=$(".quick-view-image-holder","#ProductInformationModal.modal");f==null||!f||f.length<=1?($(".quick-view-image","#ProductInformationModal.modal").html(""),nt.addClass("hide")):($(".quick-view-image","#ProductInformationModal.modal").html(f),nt.removeClass("hide"));$("#ProductInformationModal").innovadisModal().modal("open")}return!1}catch(pt){return console.error("Open product detail error: "+pt.message),!1}})}function selectTab(n,t){$('a[href$="'+t+'"]',n).trigger("click")}function handleTabOnbefore(n){var t=$(n.currentTarget),i=t.data("toggle");i==="call-me-back-container"&&typeof onBeforeCallMeBack!="undefined"&&onBeforeCallMeBack()}function getParam(n){var t=RegExp("[?&]"+n+"=([^&]*)").exec(window.location.search);return t&&decodeURIComponent(t[1].replace(/\+/g," "))}function getExpiryRecord(n){var t=(new Date).getTime()+7776e6;return{value:n,expiryDate:t}}function addGclid(){var r=getParam("gclid"),t=null,i,u=getParam("gclsrc"),e=!u||u.indexOf("aw")!==-1,n,f;["QuotationRequests_GCLID"].forEach(function(n){document.getElementById(n)&&(i=document.getElementById(n))});r&&e&&(t=getExpiryRecord(r),localStorage.setItem("gclid",JSON.stringify(t)));n=t||JSON.parse(localStorage.getItem("gclid"));f=n&&(new Date).getTime()