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