PageSourceSearch

https://suzukizap.ru/bitrix/templates/aspro-lite/components/bitrix/catalog.section/catalog_block/script.min.js

js suzukizap.ru collected 2026-10-08 16:52:54 UTC 1,861 bytes, 2 lines download raw bytes

1funcDefined("sliceItemBlock")||(sliceItemBlock=function(){$(".catalog-block .catalog-block__item:visible .catalog-block__info-title").sliceHeight({row:".grid-list",item:".catalog-block__item:visible",mobile:!0})}),function(){const ready=function(callback){"loading"!==document.readyState?callback():document.addEventListener("DOMContentLoaded",callback)},equalHeight=function(options){const parent=options.items.parent(),parentRect=parent[0].getBoundingClientRect(),index=options.index;let items=options.items,size=options.size;if(!size){const rect=options.items[0].getBoundingClientRect();size=Math.round(parentRect.width/rect.width)}if(index){let from=1,to=size;from=index%size==0?index-size:index-index%size,to+=from,items=options.items.slice(from,to)}const sizes=[];items.each((function(item){const _this=$(this).find(options.block);_this.css("height",""),sizes.push(_this[0].clientHeight)}));const maxSize=Math.max.apply(null,sizes);options.current?options.current.find(options.block).css("height",maxSize):index?items.eq(index-1).find(options.block).css("height",maxSize):items.each((function(){$(this).find(options.block).css("height",maxSize)}))},handler=function(){$(document).on("mouseenter",".catalog-block__wrapper.has-offers",(function(){const _this=$(this),parent=_this.parent(),bHovered=_this.data("hovered");if(bHovered)return;const rect=_this[0].getBoundingClientRect(),index=_this.index()+1;equalHeight({items:parent.find(" .catalog-block__wrapper:visible"),current:_this,block:".catalog-block__info",index:index}),_this.css("height",rect.height),_this.attr("data-hovered",!0)})),$(document).on("mouseleave",".catalog-block__wrapper.has-offers",(function(){const _this=$(this);_this.css("height",""),_this.attr("data-hovered",!1),_this.find(".catalog-block__info").css("height","")}))};ready(handler)}();
2//# sourceMappingURL=script.min.js.map

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.