@appsurify-testmap/rrweb-player 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.
@@ -573,10 +573,13 @@ function inspectInlineEventHandlers$1() {
573
573
  });
574
574
  });
575
575
  }
576
- if (document.readyState === "complete" || document.readyState === "interactive") {
577
- inspectInlineEventHandlers$1();
578
- } else {
579
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
576
+ try {
577
+ if (document.readyState === "complete" || document.readyState === "interactive") {
578
+ inspectInlineEventHandlers$1();
579
+ } else {
580
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
581
+ }
582
+ } catch (error) {
580
583
  }
581
584
  const MEDIA_SELECTOR = /(max|min)-device-(width|height)/;
582
585
  const MEDIA_SELECTOR_GLOBAL = new RegExp(MEDIA_SELECTOR.source, "g");
@@ -4716,10 +4719,13 @@ function inspectInlineEventHandlers() {
4716
4719
  });
4717
4720
  });
4718
4721
  }
4719
- if (document.readyState === "complete" || document.readyState === "interactive") {
4720
- inspectInlineEventHandlers();
4721
- } else {
4722
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4722
+ try {
4723
+ if (document.readyState === "complete" || document.readyState === "interactive") {
4724
+ inspectInlineEventHandlers();
4725
+ } else {
4726
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4727
+ }
4728
+ } catch (error) {
4723
4729
  }
4724
4730
  function getDefaultExportFromCjs(x2) {
4725
4731
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;