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