1 2; /* Start:"a:4:{s:4:"full";s:124:"/bitrix/templates/.default/components/bxready.market2/block.list/.default/bitrix/news.list/.default/script.js?17611123122992";s:6:"source";s:109:"/bitrix/templates/.default/components/bxready.market2/block.list/.default/bitrix/news.list/.default/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3(function() { 4 if (!!window.JCCatalogBlockSlider) 5 return; 6 7 window.JCCatalogBlockSlider = function(params) { 8 this.prevBtn; 9 this.nextBtn; 10 this.setButtons(params.hideDesktop, params.hideMobile); 11 BXReady.showAjaxShadow('#sl_'+params.uniqId, 'shadow_slider_'+params.uniqId); 12 13 var slidesToShow = params.LG_CNT; 14 15 try { 16 if(window.BXReady.coreData.xl_mode) 17 slidesToShow = params.XLG_CNT; 18 } 19 catch (e){}; 20 21 $('#sl_'+params.uniqId).slick({ 22 dots: params.dots, 23 infinite: false, 24 speed: params.speed, 25 autoplay: params.autoPlay, 26 autoplaySpeed: params.autoPlaySpeed, 27 vertical: params.verticalMode, 28 slidesToShow: slidesToShow, 29 slidesToScroll: 1, 30 prevArrow: this.prevBtn, 31 nextArrow: this.nextBtn, 32 lazyLoad: 'ondemand', 33 responsive: [ 34 { 35 breakpoint: params.LG_BREAKPOINT, 36 settings: { 37 slidesToShow: params.LG_CNT, 38 slidesToScroll: 1 39 } 40 }, 41 { 42 breakpoint: params.MD_BREAKPOINT, 43 settings: { 44 slidesToShow: params.MD_CNT, 45 slidesToScroll: 1 46 } 47 }, 48 { 49 breakpoint: params.SM_BREAKPOINT, 50 settings: { 51 slidesToShow: params.SM_CNT, 52 slidesToScroll: 1 53 } 54 }, 55 { 56 breakpoint: params.XS_BREAKPOINT, 57 settings: { 58 slidesToShow: params.XS_CNT, 59 slidesToScroll: 1 60 } 61 }, 62 ], 63 }); 64 $('.bxr-slick-section').css({'height': 'auto'}); 65 BXReady.closeAjaxShadow('shadow_slider_'+params.uniqId); 66 }; 67 68 window.JCCatalogBlockSlider.prototype = 69 { 70 isTouchDevice: function() { 71 try { 72 document.createEvent('TouchEvent'); 73 return true; 74 } 75 catch(e) { 76 return false; 77 } 78 }, 79 80 setButtons: function(hideDesktop, hideMobile) 81 { 82 isTouch = this.isTouchDevice(); 83 addClass = (!isTouch && hideDesktop || isTouch && hideMobile) ? " hidden-arrow" : ""; 84 this.prevBtn = '<button type="button" class="bxr-color-button slick-prev '+ addClass +'"></button>'; 85 this.nextBtn = '<button type="button" class="bxr-color-button slick-next '+ addClass +'"></button>'; 86 } 87 } 88})(); 89/* End */ 90; 91; /* Start:"a:4:{s:4:"full";s:97:"/bitrix/tools/bxready2/collection/bxr_elements/ecommerce.lite.v1/include/script.js?17611123024388";s:6:"source";s:82:"/bitrix/tools/bxready2/collection/bxr_elements/ecommerce.lite.v1/include/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 92if (window){ 93 window.elementEcommerceLiteV1 = { 94 resizeVerticalBlock: function(){ 95 var $maxHeight = []; 96 var $maxNameHeight = []; 97 var $maxPriceHeight = []; 98 var $maxInfoHeight = []; 99 100 $('.bxr-element-ecommerce-lite-v1[data-resize=1]').each(function(){ 101 102 uid = $(this).data('uid'); 103 $nameContainer = $(this).children('.bxr-element-container').children('.bxr-element-name'); 104 $priceContainer = $(this).children('.bxr-element-container').children('.bxr-element-price'); 105 $infoContainer = $(this).children('.bxr-element-container').children('.bxr-element-info'); 106 107 if (!(uid in $maxNameHeight)) { 108 $maxNameHeight[uid] = 0; 109 } 110 111 if (!(uid in $maxPriceHeight)) { 112 $maxPriceHeight[uid] = 0; 113 } 114 115 if (!(uid in $maxInfoHeight)) {
116 $maxInfoHeight[uid] = 0; 117 } 118 119 if ($nameContainer.height() > $maxNameHeight[uid]) $maxNameHeight[uid] = $nameContainer.height(); 120 121 if ($priceContainer.height() > $maxPriceHeight[uid]) $maxPriceHeight[uid] = $priceContainer.height(); 122 123 if ($infoContainer.height() > $maxInfoHeight[uid]) $maxInfoHeight[uid] = $infoContainer.height(); 124 125 }); 126 127 $('.bxr-element-ecommerce-lite-v1[data-resize=1]').each(function(){ 128 129 uid = $(this).data('uid'); 130 $nameContainer = $(this).children('.bxr-element-container').children('.bxr-element-name'); 131 $priceContainer = $(this).children('.bxr-element-container').children('.bxr-element-price'); 132 $infoContainer = $(this).children('.bxr-element-container').children('.bxr-element-info'); 133 134 if ($nameContainer.height() <= $maxNameHeight[uid]) { 135 $nameContainer.height($maxNameHeight[uid]); 136 } 137 138 if ($priceContainer.height() <= $maxPriceHeight[uid]) { 139 $priceContainer.height($maxPriceHeight[uid]); 140 } 141 142 if ($infoContainer.height() <= $maxInfoHeight[uid]) { 143 $infoContainer.height($maxInfoHeight[uid]); 144 } 145 146 }); 147 148 $('.bxr-element-ecommerce-lite-v1[data-resize=1]').each(function(){ 149 150 uid = $(this).data('uid'); 151 if (!(uid in $maxHeight)) { 152 $maxHeight[uid] = 0; 153 } 154 if ($(this).height()>$maxHeight[uid]) $maxHeight[uid] = $(this).height(); 155 }); 156 157 $('.bxr-element-ecommerce-lite-v1[data-resize=1]').each(function(){ 158 159 uid = $(this).data('uid'); 160 if ($(this).height() <= $maxHeight[uid]) { 161 $(this).children('.bxr-element-container').height($maxHeight[uid]); 162 $(this).height($maxHeight[uid]); 163 } 164 }); 165 } 166 } 167 168 $(document).ready(function(){ 169 elementEcommerceLiteV1.resizeVerticalBlock(); 170 }); 171 172 if (typeof window.BXReady.loader != 'object') 173 window.BXReady.loader = []; 174 175 BXReady.loader.push(elementEcommerceLiteV1.resizeVerticalBlock); 176 177 $(window).resize(function(){ 178 elementEcommerceLiteV1.resizeVerticalBlock(); 179 }); 180 181 /*var current_offer_id; 182 var trade_id; 183 var trade_name; 184 var trade_link; 185 var formRequestMsg; 186 187 $(document).on("mouseover", ".bxr-element-ecommerce-lite-v1 .bxr-trade-request", function() { 188 current_offer_id = $(this).data('offer-id'); 189 trade_id = $(this).data('trade-id'); 190 trade_name = $(this).data('trade-name'); 191 trade_link = $(this).data('trade-link'); 192 193 strParams = ""; 194 $(this).closest('.bxr-element-ecommerce-lite-v1').find('li.bx_active').each(function() { 195 strParams += $(this).data('prop-name')+': '+$(this).attr('title')+', '; 196 }); 197 strParams = strParams.slice(0,-2); 198 199 formRequestMsg = $(this).data('msg').replace("#PARAMS#",strParams); 200 });*/ 201} 202/* End */ 203;; /* /bitrix/templates/.default/components/bxready.market2/block.list/.default/bitrix/news.list/.default/script.js?17611123122992*/ 204; /* /bitrix/tools/bxready2/collection/bxr_elements/ecommerce.lite.v1/include/script.js?17611123024388*/
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.