PageSourceSearch

https://tsk-megapolis.ru/bitrix/cache/js/s1/pesok/page_dfe942e0b3a…0b3a27e225ff6c14f92786a11.js?15393654301796

js tsk-megapolis.ru collected 2026-10-08 14:35:55 UTC 1,796 bytes, 55 lines download raw bytes

1
2; /* Start:"a:4:{s:4:"full";s:85:"/bitrix/templates/pesok/components/bitrix/news.list/articles/script.js?15373640641439";s:6:"source";s:70:"/bitrix/templates/pesok/components/bitrix/news.list/articles/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
3$NewsItems = [];
4columnOld = 0;
5$(function () {setTimeout(function () {resizeRow()},253)});
6window.onresize = function () {resizeRow()};
7
8
9function resizeRow() {
10    try {
11        $('.table_exactly .table-row>div').equalize({children: ".blog-post-image ",equalize: 'height', reset: !0});
12        $('.table_exactly .table-row>div').equalize({children: ".blog-post-description ",equalize: 'height', reset: !0});
13    }catch (e) {}
14
15    if(!$('.item-views.news').hasClass('table'))return;
16    var w = $('body').width();
17
18    var column = 4;
19    if (w > 992) {
20        column = 3;
21    } else if (w > 768) {
22        column = 2;
23    } else {
24        column = 1;
25    }
26    if (columnOld == column)return;
27    if ($NewsItems.length == 0) {
28        $NewsItems = [];
29        $('.table-row>div>div').each(function ($i, $ii) {
30            $NewsItems.push($($ii).html());
31        });
32    }
33    $rowString = '';
34    for (var i = 1; i <= column; i++) {
35        $rowString += '<div class="col-xs-' + 12 / column + '"></div>'
36    }
37
38    $('.table-row>div').remove();
39    $('.table-row').append($rowString);
40
41    var counter = 0;
42    var divRows = $('.table-row>div');
43
44    for (var $itemsK in $NewsItems) {
45        $(divRows[counter]).append($NewsItems[$itemsK]);
46        counter++;
47        if (counter == column)counter = 0;
48    }
49
50    try { InitSinglePostViaAjax();}catch (e) {}
51    columnOld = column;
52
53}
54/* End */
55;; /* /bitrix/templates/pesok/components/bitrix/news.list/articles/script.js?15373640641439*/

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.