PageSourceSearch

https://www.quilivorno.it/wp-content/themes/zaki-theme/js/new/helpers/utils.js?ver=v5

js quilivorno.it collected 2026-10-02 03:59:05 UTC 1,005 bytes, 40 lines download raw bytes

1; (function (window, document, $, namespace, helperName, undefined) {
2
3  'use strict';
4
5  var ns = window[namespace] = window[namespace] || {};
6  ns['helpers'] = ns['helpers'] || {};
7  ns['helpers'][helperName] = ns['helpers'][helperName] || {
8
9    isDebug: function () {
10      ns.config = ns.config || {};
11      return typeof ns.config['debug'] !== 'undefined' ? ns.config.debug : false;
12    },
13
14    getCssClassSuffix: function (el, baseCssClass, opts) {
15      for (var x in opts) {
16        if (el.className.indexOf(baseCssClass + '-' + opts[x]) !== -1) {
17          return opts[x];
18        }
19      }
20      return false;
21    },
22
23    resolve: function (o, s) {
24      s = s.replace(/\[(\w+)\]/g, '.$1');
25      s = s.replace(/^\./, '');
26      var a = s.split('.');
27      for (var i = 0, n = a.length; i < n; ++i) {
28        var k = a[i];
29        if (k in o) {
30          o = o[k];
31        } else {
32          return;
33        }
34      }
35      return o;
36    }
37
38  };
39
40})(window, document, jQuery, 'zaux', 'utils');

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.