@posthog/rrweb 0.0.23 → 0.0.24

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.
@@ -17466,12 +17466,13 @@ class Replayer {
17466
17466
  }
17467
17467
  }
17468
17468
  applyStyleDeclaration(data, styleSheet) {
17469
+ var _a2, _b;
17469
17470
  if (data.set) {
17470
17471
  const rule2 = getNestedRule(
17471
17472
  styleSheet.rules,
17472
17473
  data.index
17473
17474
  );
17474
- rule2.style.setProperty(
17475
+ (_a2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _a2.setProperty(
17475
17476
  data.set.property,
17476
17477
  data.set.value,
17477
17478
  data.set.priority
@@ -17482,7 +17483,7 @@ class Replayer {
17482
17483
  styleSheet.rules,
17483
17484
  data.index
17484
17485
  );
17485
- rule2.style.removeProperty(data.remove.property);
17486
+ (_b = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _b.removeProperty(data.remove.property);
17486
17487
  }
17487
17488
  }
17488
17489
  applyAdoptedStyleSheet(data) {