@posthog/rrweb-player 0.0.30 → 0.0.33
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-player.cjs +34 -34
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +34 -34
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +34 -34
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +1 -1
package/dist/rrweb-player.js
CHANGED
|
@@ -540,8 +540,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
540
540
|
if (n2.__esModule) return n2;
|
|
541
541
|
var f2 = n2.default;
|
|
542
542
|
if (typeof f2 == "function") {
|
|
543
|
-
var a2 = function
|
|
544
|
-
if (this instanceof
|
|
543
|
+
var a2 = function a3() {
|
|
544
|
+
if (this instanceof a3) {
|
|
545
545
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
546
546
|
}
|
|
547
547
|
return f2.apply(this, arguments);
|
|
@@ -550,8 +550,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
550
550
|
} else a2 = {};
|
|
551
551
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
552
552
|
Object.keys(n2).forEach(function(k) {
|
|
553
|
-
var
|
|
554
|
-
Object.defineProperty(a2, k,
|
|
553
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
554
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
555
555
|
enumerable: true,
|
|
556
556
|
get: function() {
|
|
557
557
|
return n2[k];
|
|
@@ -927,8 +927,8 @@ function requireStringifier$1() {
|
|
|
927
927
|
if (root2.raws.indent) return root2.raws.indent;
|
|
928
928
|
let value;
|
|
929
929
|
root2.walk((i2) => {
|
|
930
|
-
let
|
|
931
|
-
if (
|
|
930
|
+
let p2 = i2.parent;
|
|
931
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
932
932
|
if (typeof i2.raws.before !== "undefined") {
|
|
933
933
|
let parts = i2.raws.before.split("\n");
|
|
934
934
|
value = parts[parts.length - 1];
|
|
@@ -1026,7 +1026,7 @@ function requireNode$1() {
|
|
|
1026
1026
|
} else if (i2 === "source") {
|
|
1027
1027
|
cloned[i2] = value;
|
|
1028
1028
|
} else if (Array.isArray(value)) {
|
|
1029
|
-
cloned[i2] = value.map((
|
|
1029
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
1030
1030
|
} else {
|
|
1031
1031
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
1032
1032
|
cloned[i2] = value;
|
|
@@ -1812,10 +1812,10 @@ function requireAtRule$1() {
|
|
|
1812
1812
|
Container.registerAtRule(AtRule);
|
|
1813
1813
|
return atRule$1;
|
|
1814
1814
|
}
|
|
1815
|
-
var document$
|
|
1815
|
+
var document$2;
|
|
1816
1816
|
var hasRequiredDocument$1;
|
|
1817
1817
|
function requireDocument$1() {
|
|
1818
|
-
if (hasRequiredDocument$1) return document$
|
|
1818
|
+
if (hasRequiredDocument$1) return document$2;
|
|
1819
1819
|
hasRequiredDocument$1 = 1;
|
|
1820
1820
|
let Container = requireContainer$1();
|
|
1821
1821
|
let LazyResult, Processor;
|
|
@@ -1837,9 +1837,9 @@ function requireDocument$1() {
|
|
|
1837
1837
|
Document2.registerProcessor = (dependant) => {
|
|
1838
1838
|
Processor = dependant;
|
|
1839
1839
|
};
|
|
1840
|
-
document$
|
|
1840
|
+
document$2 = Document2;
|
|
1841
1841
|
Document2.default = Document2;
|
|
1842
|
-
return document$
|
|
1842
|
+
return document$2;
|
|
1843
1843
|
}
|
|
1844
1844
|
var nonSecure$1;
|
|
1845
1845
|
var hasRequiredNonSecure$1;
|
|
@@ -2542,9 +2542,9 @@ function requireMapGenerator$1() {
|
|
|
2542
2542
|
column += str.length;
|
|
2543
2543
|
}
|
|
2544
2544
|
if (node2 && type !== "start") {
|
|
2545
|
-
let
|
|
2545
|
+
let p2 = node2.parent || { raws: {} };
|
|
2546
2546
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
2547
|
-
if (!childless || node2 !==
|
|
2547
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
2548
2548
|
if (node2.source && node2.source.end) {
|
|
2549
2549
|
mapping.source = this.sourcePath(node2);
|
|
2550
2550
|
mapping.original.line = node2.source.end.line;
|
|
@@ -3037,8 +3037,8 @@ function requireParser$1() {
|
|
|
3037
3037
|
if (colon === false) return;
|
|
3038
3038
|
let founded = 0;
|
|
3039
3039
|
let token;
|
|
3040
|
-
for (let
|
|
3041
|
-
token = tokens[
|
|
3040
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
3041
|
+
token = tokens[j2];
|
|
3042
3042
|
if (token[0] !== "space") {
|
|
3043
3043
|
founded += 1;
|
|
3044
3044
|
if (founded === 2) break;
|
|
@@ -3156,8 +3156,8 @@ function requireParser$1() {
|
|
|
3156
3156
|
} else if (token[1].toLowerCase() === "important") {
|
|
3157
3157
|
let cache = tokens.slice(0);
|
|
3158
3158
|
let str = "";
|
|
3159
|
-
for (let
|
|
3160
|
-
let type = cache[
|
|
3159
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
3160
|
+
let type = cache[j2][0];
|
|
3161
3161
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
3162
3162
|
break;
|
|
3163
3163
|
}
|
|
@@ -3745,8 +3745,8 @@ function requireLazyResult$1() {
|
|
|
3745
3745
|
let pluginVer = plugin.postcssVersion;
|
|
3746
3746
|
let runtimeVer = this.result.processor.version;
|
|
3747
3747
|
let a2 = pluginVer.split(".");
|
|
3748
|
-
let
|
|
3749
|
-
if (a2[0] !==
|
|
3748
|
+
let b2 = runtimeVer.split(".");
|
|
3749
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
3750
3750
|
console.error(
|
|
3751
3751
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
3752
3752
|
);
|
|
@@ -4897,8 +4897,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4897
4897
|
if (n2.__esModule) return n2;
|
|
4898
4898
|
var f2 = n2.default;
|
|
4899
4899
|
if (typeof f2 == "function") {
|
|
4900
|
-
var a2 = function
|
|
4901
|
-
if (this instanceof
|
|
4900
|
+
var a2 = function a3() {
|
|
4901
|
+
if (this instanceof a3) {
|
|
4902
4902
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
4903
4903
|
}
|
|
4904
4904
|
return f2.apply(this, arguments);
|
|
@@ -4907,8 +4907,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4907
4907
|
} else a2 = {};
|
|
4908
4908
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
4909
4909
|
Object.keys(n2).forEach(function(k) {
|
|
4910
|
-
var
|
|
4911
|
-
Object.defineProperty(a2, k,
|
|
4910
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
4911
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
4912
4912
|
enumerable: true,
|
|
4913
4913
|
get: function() {
|
|
4914
4914
|
return n2[k];
|
|
@@ -5284,8 +5284,8 @@ function requireStringifier() {
|
|
|
5284
5284
|
if (root2.raws.indent) return root2.raws.indent;
|
|
5285
5285
|
let value;
|
|
5286
5286
|
root2.walk((i2) => {
|
|
5287
|
-
let
|
|
5288
|
-
if (
|
|
5287
|
+
let p2 = i2.parent;
|
|
5288
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
5289
5289
|
if (typeof i2.raws.before !== "undefined") {
|
|
5290
5290
|
let parts = i2.raws.before.split("\n");
|
|
5291
5291
|
value = parts[parts.length - 1];
|
|
@@ -5383,7 +5383,7 @@ function requireNode() {
|
|
|
5383
5383
|
} else if (i2 === "source") {
|
|
5384
5384
|
cloned[i2] = value;
|
|
5385
5385
|
} else if (Array.isArray(value)) {
|
|
5386
|
-
cloned[i2] = value.map((
|
|
5386
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
5387
5387
|
} else {
|
|
5388
5388
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
5389
5389
|
cloned[i2] = value;
|
|
@@ -6899,9 +6899,9 @@ function requireMapGenerator() {
|
|
|
6899
6899
|
column += str.length;
|
|
6900
6900
|
}
|
|
6901
6901
|
if (node2 && type !== "start") {
|
|
6902
|
-
let
|
|
6902
|
+
let p2 = node2.parent || { raws: {} };
|
|
6903
6903
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
6904
|
-
if (!childless || node2 !==
|
|
6904
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
6905
6905
|
if (node2.source && node2.source.end) {
|
|
6906
6906
|
mapping.source = this.sourcePath(node2);
|
|
6907
6907
|
mapping.original.line = node2.source.end.line;
|
|
@@ -7394,8 +7394,8 @@ function requireParser() {
|
|
|
7394
7394
|
if (colon === false) return;
|
|
7395
7395
|
let founded = 0;
|
|
7396
7396
|
let token;
|
|
7397
|
-
for (let
|
|
7398
|
-
token = tokens[
|
|
7397
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
7398
|
+
token = tokens[j2];
|
|
7399
7399
|
if (token[0] !== "space") {
|
|
7400
7400
|
founded += 1;
|
|
7401
7401
|
if (founded === 2) break;
|
|
@@ -7513,8 +7513,8 @@ function requireParser() {
|
|
|
7513
7513
|
} else if (token[1].toLowerCase() === "important") {
|
|
7514
7514
|
let cache = tokens.slice(0);
|
|
7515
7515
|
let str = "";
|
|
7516
|
-
for (let
|
|
7517
|
-
let type = cache[
|
|
7516
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
7517
|
+
let type = cache[j2][0];
|
|
7518
7518
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
7519
7519
|
break;
|
|
7520
7520
|
}
|
|
@@ -8102,8 +8102,8 @@ function requireLazyResult() {
|
|
|
8102
8102
|
let pluginVer = plugin.postcssVersion;
|
|
8103
8103
|
let runtimeVer = this.result.processor.version;
|
|
8104
8104
|
let a2 = pluginVer.split(".");
|
|
8105
|
-
let
|
|
8106
|
-
if (a2[0] !==
|
|
8105
|
+
let b2 = runtimeVer.split(".");
|
|
8106
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
8107
8107
|
console.error(
|
|
8108
8108
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
8109
8109
|
);
|