PageSourceSearch

https://markformelle.kz/local/templates/markformelle/components/bi…/footer_menu_new/script.js?16687798592757

js markformelle.kz collected 2026-09-28 22:49:18 UTC 2,757 bytes, 73 lines download raw bytes

1$(function () {
2    $('.footer_buyers, .footer_about').removeClass('not-show-mobile');
3});
4
5document.addEventListener("DOMContentLoaded", () => {
6    const navListsArr = Array.from(document.querySelectorAll('.ftr-nav-list'));
7    const navHeadersArr = Array.from(document.querySelectorAll('.ftr-name-toggler'));
8
9    //создаем стрелочку
10    const createSvgArrow = () => {
11        const newArrow = document.createElement('div');
12        newArrow.classList.add('footernav_arror');
13        newArrow.innerHTML = `
14            <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 129 129" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 129 129">
15                <g>
16                    <path fill="#9B9B9B" d="m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z"></path>
17                </g>
18            </svg>`;
19        return newArrow;
20    }
21
22    //управляет поворотом стрелок
23    const actualizeArrows = () => {
24        const arrowArray = Array.from(document.querySelectorAll('.footernav_arror'));
25
26        arrowArray.forEach(item => {
27            if (item.parentNode.classList.contains('is_open')) {
28                item.classList.add('footernav_arror__down');
29            } else {
30                item.classList.remove('footernav_arror__down');
31            }
32        })
33    }
34
35    navHeadersArr.forEach((item, index) => {
36        //добавляем стрелочку
37        item.append(createSvgArrow());
38
39        item.addEventListener('click', () => {
40            navListsArr[index].classList.toggle('ftr-nav-list__visible');
41            item.classList.toggle('is_open');
42
43            actualizeArrows();
44        });
45    });
46});
47
48
49$(document).ready(() => {
50
51    if ($(window).width() > 600) {
52        $(document).scroll(() => {
53            let maxMenuHeight = $('.wrap_404').height() - $(document).scrollTop() + 132 + 'px';
54            $('.wrap_404 .catalog-menu__wrapper').css('max-height', maxMenuHeight);
55        });
56        const tempInt =
57        setInterval(() => {
58            let maxMenuHeight = $('.wrap_404').height() - $(document).scrollTop() + 132 + 'px';
59            $('.wrap_404 .catalog-menu__wrapper').css('max-height', maxMenuHeight);
60        }, 200);
61        setTimeout(() => {
62            clearInterval(tempInt);
63        }, 15000);
64    }
65
66    if (window.innerWidth <= 600) {
67        setTimeout(() => {
68            if($('.mini-line__mobile').length) {
69                $('.ftr').css('margin-bottom', '80px');
70            }
71        }, 3500);
72    }
73});

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.