@posthog/rrweb-player 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.
@@ -13219,12 +13219,13 @@ class Replayer {
13219
13219
  }
13220
13220
  }
13221
13221
  applyStyleDeclaration(data, styleSheet) {
13222
+ var _a2, _b2;
13222
13223
  if (data.set) {
13223
13224
  const rule2 = getNestedRule(
13224
13225
  styleSheet.rules,
13225
13226
  data.index
13226
13227
  );
13227
- rule2.style.setProperty(
13228
+ (_a2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _a2.setProperty(
13228
13229
  data.set.property,
13229
13230
  data.set.value,
13230
13231
  data.set.priority
@@ -13235,7 +13236,7 @@ class Replayer {
13235
13236
  styleSheet.rules,
13236
13237
  data.index
13237
13238
  );
13238
- rule2.style.removeProperty(data.remove.property);
13239
+ (_b2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _b2.removeProperty(data.remove.property);
13239
13240
  }
13240
13241
  }
13241
13242
  applyAdoptedStyleSheet(data) {