PageSourceSearch

https://nsaldago.ru/static/uil/export/project_mo_theme_short_03/re…/smi3-media-item-main.js?20260220222336

js nsaldago.ru collected 2026-10-02 16:36:44 UTC 1,641 bytes, 36 lines download raw bytes

1$(window).on('load', function uil_init_smi3_media_item_main() {
2    $('.uil-smi3-media-item-main').each(function () {
3        var $block = $(this),
4            $image = $block.find('.uil-smi3-media-item-main__image'),
5            block_oheight = $block.outerHeight(),
6            img_oheight = $image.find('img').outerHeight() || 0;
7        if (block_oheight - img_oheight <= 150) {
8            $block.css('height', img_oheight + 'px');
9            $image.css('line-height', img_oheight + 'px');
10            block_oheight = $block.outerHeight();
11        }
12        var $top = $block.find('.uil-smi3-media-item-main__content__top'), top_oheight = $top.outerHeight(),
13            $bot = $block.find('.uil-smi3-media-item-main__content__bottom'), bot_oheight = $bot.outerHeight(),
14            $ann = $block.find('.uil-smi3-media-item-main__annotation__content'), ann_height = $ann.height(),
15            ann_padding = parseInt($ann.parent().css('padding-bottom')),
16            ann_line_height = Math.floor(parseFloat($ann.css('line-height')));
17
18        if (top_oheight + bot_oheight + ann_padding > block_oheight) {
19            var hdelta = top_oheight - (block_oheight - bot_oheight - ann_padding);
20            ann_height = Math.floor((ann_height - hdelta) / ann_line_height) * ann_line_height;
21            if (ann_height > 0)
22                $ann.height(ann_height);
23            else
24                $ann.parent().hide();
25        }
26
27        $block.hover(
28            function () {
29                $block.addClass('hover');
30            },
31            function () {
32                $block.removeClass('hover');
33            }
34        )
35    });
36});

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.