PageSourceSearch

https://www.diamantia.com/js/mobileMenuResize.js?v=JQC74RAxoJuQc0lfZPoj3OIKd4LHxmtdKZBzXrg_eqE

js diamantia.com collected 2026-10-04 09:07:00 UTC 762 bytes, 30 lines download raw bytes

1(function () {
2    let handleResize = null;
3
4    window.addResizeListener = (dotNetObject) => {
5        if (handleResize) {
6            window.removeEventListener("resize", handleResize);
7        }
8
9        handleResize = () => {
10            const width = window.innerWidth;
11            dotNetObject.invokeMethodAsync("HandleResize", width);
12        };
13
14        window.addEventListener("resize", handleResize);
15        handleResize();
16    };
17
18    window.removeResizeListener = () => {
19        if (!handleResize) {
20            return;
21        }
22
23        window.removeEventListener("resize", handleResize);
24        handleResize = null;
25    };
26
27    window.getWindowWidth = function () {
28        return window.innerWidth;
29    };
30})();

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.