PageSourceSearch

https://www.azrentahouse.com/wp-content/plugins/homerunner/assets/js/common.js?ver=2.4.3.1773784660

js azrentahouse.com collected 2026-10-01 01:46:00 UTC 1,121 bytes, 44 lines download raw bytes

1(function ($, settings) {
2  $.fn.serializeObject = function () {
3    var o = {};
4    var a = this.serializeArray();
5    $.each(a, function () {
6      if (o[this.name]) {
7        if (!o[this.name].push) {
8          o[this.name] = [o[this.name]];
9        }
10        o[this.name].push(this.value || "");
11      } else {
12        o[this.name] = this.value || "";
13      }
14    });
15    return o;
16  };
17
18  $.homelocalPrice = function (amount, currency = "", trim_zero = true) {
19    let price = new Intl.NumberFormat(settings.lang, {
20      style: "currency",
21      currency: currency || settings.currency,
22    }).format(amount);
23
24    if ("CNY" === currency) {
25      price = price.replace("CN", "");
26    }
27
28    if (trim_zero) {
29      if (parseInt(price.split(".")[1], 10) === 0) {
30        price = price.split(".")[0];
31      }
32    }
33
34    return price;
35  };
36
37  $(document).ready(function () {
38    // move all elements that have hk-modal attribute to .hk-scope-modal container.
39    $("[hk-modal]").each(function () {
40      const $this = $(this);
41      $this.appendTo(".hk-scope-modal");
42    });
43  });
44})(jQuery, homelocal_common_config);

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.