PageSourceSearch

https://www.kemin.com/etc.clientlibs/kemin-redesign/components/lay….ACSHASHb310cac746d16303233b3d7adda4847e.js

js kemin.com collected 2026-10-02 03:24:29 UTC 1,303 bytes, 42 lines download raw bytes

1isDesktop = false;
2elements = [];
3document.addEventListener("DOMContentLoaded", function (event) {
4    elements = $(".layout-container-kemin");
5    if (window.innerWidth >= 992) {
6        isDesktop = true;
7    } else if (window.innerWidth <= 991) {
8        isDesktop = false;
9        updatePadding();
10    }
11    $(window).resize(function () {
12        if (window.innerWidth >= 992 && !isDesktop) {
13            isDesktop = true;
14            updatePadding();
15
16        } else if (window.innerWidth <= 991 && isDesktop) {
17            isDesktop = false;
18            updatePadding();
19        }
20    });
21});
22
23function updatePadding() {
24    for (var el of elements) {
25        //console.log("padding is " + el.style.padding);
26        let currentContainerPadding = el.style.padding;
27        let padding = "";
28        paddingArray = currentContainerPadding.split(" ");
29        for (let i = 0; i < paddingArray.length; i++) {
30            let item = parseFloat(paddingArray[i].replace("px", ""));
31            if (item != 0) {
32                if (!isDesktop)
33                    padding += (item / 2) + "px ";
34                else if (isDesktop)
35                    padding += (item * 2) + "px ";
36            } else {
37                padding += "0px ";
38            }
39        }
40        el.style.padding = padding;
41    }
42}

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.