@appsurify-testmap/rrweb-replay 2.1.2-alpha.1 → 2.1.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,10 +177,13 @@ function inspectInlineEventHandlers$1() {
177
177
  });
178
178
  });
179
179
  }
180
- if (document.readyState === "complete" || document.readyState === "interactive") {
181
- inspectInlineEventHandlers$1();
182
- } else {
183
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
180
+ try {
181
+ if (document.readyState === "complete" || document.readyState === "interactive") {
182
+ inspectInlineEventHandlers$1();
183
+ } else {
184
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
185
+ }
186
+ } catch (error) {
184
187
  }
185
188
  const MEDIA_SELECTOR = /(max|min)-device-(width|height)/;
186
189
  const MEDIA_SELECTOR_GLOBAL = new RegExp(MEDIA_SELECTOR.source, "g");
@@ -4320,10 +4323,13 @@ function inspectInlineEventHandlers() {
4320
4323
  });
4321
4324
  });
4322
4325
  }
4323
- if (document.readyState === "complete" || document.readyState === "interactive") {
4324
- inspectInlineEventHandlers();
4325
- } else {
4326
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4326
+ try {
4327
+ if (document.readyState === "complete" || document.readyState === "interactive") {
4328
+ inspectInlineEventHandlers();
4329
+ } else {
4330
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4331
+ }
4332
+ } catch (error) {
4327
4333
  }
4328
4334
  function getDefaultExportFromCjs(x2) {
4329
4335
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;