PageSourceSearch

https://phillypretzelfactory.com/wp-includes/js/dist/dom-ready.js?ver=a06281ae5cf5500e9317

js phillypretzelfactory.com collected 2026-09-26 06:23:36 UTC 1,508 bytes, 39 lines download raw bytes

1"use strict";
2var wp;
3(wp ||= {}).domReady = (() => {
4  var __defProp = Object.defineProperty;
5  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6  var __getOwnPropNames = Object.getOwnPropertyNames;
7  var __hasOwnProp = Object.prototype.hasOwnProperty;
8  var __export = (target, all) => {
9    for (var name in all)
10      __defProp(target, name, { get: all[name], enumerable: true });
11  };
12  var __copyProps = (to, from, except, desc) => {
13    if (from && typeof from === "object" || typeof from === "function") {
14      for (let key of __getOwnPropNames(from))
15        if (!__hasOwnProp.call(to, key) && key !== except)
16          __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17    }
18    return to;
19  };
20  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
22  // packages/dom-ready/build-module/index.mjs
23  var index_exports = {};
24  __export(index_exports, {
25    default: () => domReady
26  });
27  function domReady(callback) {
28    if (typeof document === "undefined") {
29      return;
30    }
31    if (document.readyState === "complete" || // DOMContentLoaded + Images/Styles/etc loaded, so we call directly.
32    document.readyState === "interactive") {
33      return void callback();
34    }
35    document.addEventListener("DOMContentLoaded", callback);
36  }
37  return __toCommonJS(index_exports);
38})();
39if (typeof wp.domReady === 'object' && wp.domReady.default) { wp.domReady = wp.domReady.default; }

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.