PageSourceSearch

https://zelenii-sad.com/js/tygh/search_pickup_points.js?ver=1790343660

js zelenii-sad.com collected 2026-09-30 02:38:20 UTC 935 bytes, 31 lines download raw bytes

1(function (_, $) {
2  // Define pseudo-selectors in jquery
3  $.expr[':'].contains_case_insensitive = $.expr.createPseudo(function (arg) {
4    return function (elem) {
5      return searchPickupPoints($(elem), arg);
6    };
7  });
8  $.expr[':'].not_contains_case_insensitive = $.expr.createPseudo(function (arg) {
9    return function (elem) {
10      return !searchPickupPoints($(elem), arg);
11    };
12  });
13
14  searchPickupPoints = function searchPickupPoints(element, text) {
15    var isFound = true;
16    var elementText = element.text().replace(/[&\/\\#,+()$~%.'":*?<>{}\s]/g, '');
17    var inputText = text.replace(/[&\/\\#,+()$~%.'":*?<>{}]/g, '').split(' ');
18
19    for (var i = 0; i < inputText.length; i++) {
20      if (inputText[i].length > 0) {
21        isFound = elementText.toUpperCase().indexOf(inputText[i].toUpperCase()) >= 0;
22
23        if (!isFound) {
24          break;
25        }
26      }
27    }
28
29    return isFound;
30  };
31})(Tygh, Tygh.$);

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.