1function debounce(t,e,n){var i;return function(){var r=this,o=arguments,a=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||t.apply(r,o)}
2,e),a&&t.apply(r,o)}
3}
4function isScrolledIntoView(t){var e=t.getBoundingClientRect();return e.top>=0&&e.bottom<=window.innerHeight}
5function popupClose(){jQuery("#js-popup-container").empty(),jQuery(".modalCloseImg").length&&jQuery(".modalCloseImg").trigger("click")}
6function popup(t){popupClose(),jQuery("#js-popup-container").html(t).modal()}
7function isMsk(){return/komod-msk.ru/.test(window.location.href)}
8function isTest(){return/\?test=on/.test(window.location.href)}
9function goal(t){yaCounter24579416.reachGoal(t)}
10function BasketInfo(t){this.itemName=t.itemName,this.colorId=parseInt(t.colorId),this.colorText=t.colorText,this.colorName=t.colorName,this.colorPrice=parseFloat(t.colorPrice||0),this.colorPriceType=parseInt(t.colorPriceType||0),this.colorPreview=t.colorPreview,this.facadeId=parseInt(t.facadeId),this.facadeText=t.facadeText,this.facadeName=t.facadeName,this.facadePrice=parseFloat(t.facadePrice||0),this.facadePriceType=parseInt(t.facadePriceType||0),this.facadePreview=t.facadePreview,this.itemSizes=t.itemSizes,this.itemSizesPrice=parseFloat(t.itemSizesPrice),this.itemSizesText=t.itemSizesText}
11function openThumb(t){var e=jQuery("img[data-position="+t+"]");jQuery("#item_photo_current").attr("src",e.attr("rel")),jQuery("#item_photo_current").parent().attr("data-position",t),jQuery(".thumbs a").removeClass("sel"),e.parent().addClass("sel")}
12function openThumbCarousel(){jQuery(".thumbs-carousel-wrapper").html('<div class="owl-carousel owl-carousel-thumb"></div>'),jQuery(".thumbs-carousel-wrapper .owl-carousel-thumb").html(jQuery(".thumbs-carousel-source").html()),jQuery(".thumbs-carousel-wrapper").show(),owl=jQuery(".owl-carousel-thumb"),owl.owlCarousel({items:1,loop:!1,nav:!0,navText:"",startPosition:parseInt(jQuery("#item_photo_current").parent().attr("data-position"),10)}
13),jQuery(".thumbs-carousel-wrapper .owl-prev, .thumbs-carousel-wrapper .owl-next").off("click"),jQuery(".thumbs-carousel-wrapper .owl-prev, .thumbs-carousel-wrapper .owl-next").on("click",function(t){t.stopPropagation(),jQuery(this).hasClass("owl-next")&&owl.trigger("next.owl.carousel"),jQuery(this).hasClass("owl-prev")&&owl.trigger("prev.owl.carousel")}
14)}
15function openColorCarousel(t){jQuery(".thumbs-carousel-wrapper").html('<div class="owl-carousel owl-carousel-thumb owl-carousel-colors"></div>'),jQuery(".thumbs-carousel-wrapper .owl-carousel-thumb").html(jQuery(".colors-carousel-source").html()),jQuery(".thumbs-carousel-wrapper").show(),owl=jQuery(".owl-carousel-thumb"),owl.owlCarousel({items:1,loop:!1,nav:!0,navText:"",startPosition:--t}
16),jQuery(".thumbs-carousel-wrapper .owl-prev, .thumbs-carousel-wrapper .owl-next").off("click"),jQuery(".thumbs-carousel-wrapper .owl-prev, .thumbs-carousel-wrapper .owl-next").on("click",function(t){t.stopPropagation(),jQuery(this).hasClass("owl-next")&&owl.trigger("next.owl.carousel"),jQuery(this).hasClass("owl-prev")&&owl.trigger("prev.owl.carousel")}
17)}
18function note(t){var e=document.getElementById("note-content");e.innerText=t,e.style.display="block",setTimeout(function(){e.style.display="none"}
19,1500)}
20var STORAGE_DATA={}
21,hasLocalStorage=!1;if(localStorage)try{var x="testStorage";localStorage.setItem(x,x),hasLocalStorage=localStorage.getItem(x)==x,localStorage.removeItem(x)}
22catch(t){hasLocalStorage=!1}
23if(window.localStorageFallback={setItem:function(t,e){hasLocalStorage?localStorage.setItem(t,e):STORAGE_DATA[t]=e}
24,getItem:function(t){return hasLocalStorage?localStorage.getItem(t):STORAGE_DATA[t]}
25,removeItem:function(t){hasLocalStorage?localStorage.removeItem(t):STORAGE_DATA[t]=null}
26}
27,function(t){window.Utils={strPart:function(t,e){e||(e=20),void 0===t&&(t="");var n=t.length>e;return t=t.substr(0,e),n?t+"...":t}
28,safeAttributeValue:function(t){return t.split('"').join('"')}
29}
30}
31(jQuery),function(){function t(t){function e(e,n,i,r,o,a){for(;o>=0&&a>o;o+=t){var s=r?r[o]:o;i=n(i,e[s],s,e)}
32return i}
33return function(n,i,r,o){i=b(i,o,4);var a=!A(n)&&y.keys(n),s=(a||n).length,l=t>0?0:s-1;return arguments.length<3&&(r=n[a?a[l]:l],l+=t),e(n,i,r,a,l,s)}
34}
35function e(t){return function(e,n,i){n=k(n,i);for(var r=S(e),o=t>0?0:r-1;o>=0&&r>o;o+=t)if(n(e[o],o,e))return o;return-1}
36}
37function n(t,e,n){return function(i,r,o){var a=0,s=S(i);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(i,r),i[o]===r?o:-1;if(r!==r)return o=e(u.call(i,a,s),y.isNaN),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&s>o;o+=t)if(i[o]===r)return o;return-1}
38}
39function i(t,e){var n=_.length,i=t.constructor,r=y.isFunction(i)&&i.prototype||s,o="constructor";for(y.has(t,o)&&!y.contains(e,o)&&e.push(o);n--;)(o=_[n])in t&&t[o]!==r[o]&&!y.contains(e,o)&&e.push(o)}
40var r=this,o=r._,a=Array.prototype,s=Object.prototype,l=Function.prototype,c=a.push,u=a.slice,d=s.toString,p=s.hasOwnProperty,f=Array.isArray,h=Object.keys,m=l.bind,g=Object.create,v=function(){}
...
</html>