@launchdarkly/session-replay 0.1.4 → 0.1.5
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/CHANGELOG.md +6 -0
- package/dist/session-replay.js +178 -178
- package/dist/session-replay.js.map +1 -1
- package/package.json +1 -1
package/dist/session-replay.js
CHANGED
|
@@ -506,12 +506,12 @@ function Xt(e) {
|
|
|
506
506
|
return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
|
|
507
507
|
}
|
|
508
508
|
function Sn(e, t) {
|
|
509
|
-
return
|
|
509
|
+
return Kl(e.charCodeAt(t)) && Ol(e.charCodeAt(t + 1));
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Kl(e) {
|
|
512
512
|
return e >= 55296 && e <= 56319;
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function Ol(e) {
|
|
515
515
|
return e >= 56320 && e <= 57343;
|
|
516
516
|
}
|
|
517
517
|
function qe(e, t) {
|
|
@@ -579,12 +579,12 @@ function Tu(e, t) {
|
|
|
579
579
|
case 125:
|
|
580
580
|
return re(e, g.BRACE_R, s, s + 1);
|
|
581
581
|
case 34:
|
|
582
|
-
return i.charCodeAt(s + 1) === 34 && i.charCodeAt(s + 2) === 34 ?
|
|
582
|
+
return i.charCodeAt(s + 1) === 34 && i.charCodeAt(s + 2) === 34 ? Ku(e, s) : Yu(e, s);
|
|
583
583
|
}
|
|
584
584
|
if (Pt(r) || r === 45)
|
|
585
585
|
return Lu(e, s, r);
|
|
586
586
|
if (Fl(r))
|
|
587
|
-
return
|
|
587
|
+
return Ou(e, s);
|
|
588
588
|
throw ae(
|
|
589
589
|
e.source,
|
|
590
590
|
s,
|
|
@@ -726,9 +726,9 @@ function Ju(e, t) {
|
|
|
726
726
|
value: String.fromCodePoint(n),
|
|
727
727
|
size: 6
|
|
728
728
|
};
|
|
729
|
-
if (
|
|
729
|
+
if (Kl(n) && i.charCodeAt(t + 6) === 92 && i.charCodeAt(t + 7) === 117) {
|
|
730
730
|
const s = $r(i, t + 8);
|
|
731
|
-
if (
|
|
731
|
+
if (Ol(s))
|
|
732
732
|
return {
|
|
733
733
|
value: String.fromCodePoint(n, s),
|
|
734
734
|
size: 12
|
|
@@ -800,7 +800,7 @@ function Fu(e, t) {
|
|
|
800
800
|
)}".`
|
|
801
801
|
);
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function Ku(e, t) {
|
|
804
804
|
const i = e.source.body, n = i.length;
|
|
805
805
|
let s = e.lineStart, r = t + 3, l = r, o = "";
|
|
806
806
|
const a = [];
|
|
@@ -843,7 +843,7 @@ function Ou(e, t) {
|
|
|
843
843
|
}
|
|
844
844
|
throw ae(e.source, r, "Unterminated string.");
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Ou(e, t) {
|
|
847
847
|
const i = e.source.body, n = i.length;
|
|
848
848
|
let s = t + 1;
|
|
849
849
|
for (; s < n; ) {
|
|
@@ -2288,12 +2288,12 @@ var me;
|
|
|
2288
2288
|
const Gn = (e) => `${me.SESSION_DATA}_${e}`, ud = () => {
|
|
2289
2289
|
var e;
|
|
2290
2290
|
return (e = Ie(me.SESSION_ID)) != null ? e : "";
|
|
2291
|
-
},
|
|
2291
|
+
}, Ki = (e) => {
|
|
2292
2292
|
Fe(me.SESSION_ID, e);
|
|
2293
2293
|
}, dd = (e) => {
|
|
2294
2294
|
const t = Gn(e);
|
|
2295
2295
|
return JSON.parse(Ie(t) || "{}");
|
|
2296
|
-
},
|
|
2296
|
+
}, Oi = (e) => {
|
|
2297
2297
|
e || (e = ud());
|
|
2298
2298
|
let t = dd(e);
|
|
2299
2299
|
if (t && t.lastPushTime && Date.now() - t.lastPushTime < Bl)
|
|
@@ -2306,7 +2306,7 @@ const Gn = (e) => `${me.SESSION_DATA}_${e}`, ud = () => {
|
|
|
2306
2306
|
Fe(Gn(t), JSON.stringify(e));
|
|
2307
2307
|
}, hd = function() {
|
|
2308
2308
|
const e = _i.getItem(me.SESSION_ID);
|
|
2309
|
-
|
|
2309
|
+
Ki(e);
|
|
2310
2310
|
const t = Gn(e), i = _i.getItem(t);
|
|
2311
2311
|
try {
|
|
2312
2312
|
lt(JSON.parse(i));
|
|
@@ -2374,7 +2374,7 @@ class Wd {
|
|
|
2374
2374
|
}));
|
|
2375
2375
|
}
|
|
2376
2376
|
}
|
|
2377
|
-
|
|
2377
|
+
let Rd = class extends ur {
|
|
2378
2378
|
constructor(t, i) {
|
|
2379
2379
|
super(), bt(this, "client"), this.client = new Wd(t, i);
|
|
2380
2380
|
}
|
|
@@ -2408,7 +2408,7 @@ class Rd extends ur {
|
|
|
2408
2408
|
track(t, i) {
|
|
2409
2409
|
return this._bufferCall("track", [t, i]);
|
|
2410
2410
|
}
|
|
2411
|
-
}
|
|
2411
|
+
};
|
|
2412
2412
|
var so;
|
|
2413
2413
|
(function(e) {
|
|
2414
2414
|
e[e.All = 0] = "All", e[e.Two = 1] = "Two", e[e.One = 2] = "One";
|
|
@@ -2444,7 +2444,7 @@ const wd = (e) => {
|
|
|
2444
2444
|
let Cd = class {
|
|
2445
2445
|
constructor(t) {
|
|
2446
2446
|
bt(this, "sessionSecureID"), bt(this, "initCalled", !1), t != null && t.storageMode && ad(t?.storageMode), to(!!(t != null && t.sessionCookie)), t != null && t.sessionCookie ? hd() : to(!1);
|
|
2447
|
-
let i =
|
|
2447
|
+
let i = Oi();
|
|
2448
2448
|
this.sessionSecureID = Xs(), i != null && i.sessionSecureID && (this.sessionSecureID = i.sessionSecureID), !this.initCalled && (this.initCalled = !0);
|
|
2449
2449
|
}
|
|
2450
2450
|
};
|
|
@@ -2591,10 +2591,10 @@ const Yd = {
|
|
|
2591
2591
|
};
|
|
2592
2592
|
};
|
|
2593
2593
|
function Fd(e) {
|
|
2594
|
-
return `"${e.replace(
|
|
2594
|
+
return `"${e.replace(Kd, Od)}"`;
|
|
2595
2595
|
}
|
|
2596
|
-
const
|
|
2597
|
-
function
|
|
2596
|
+
const Kd = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
|
|
2597
|
+
function Od(e) {
|
|
2598
2598
|
return Ed[e.charCodeAt(0)];
|
|
2599
2599
|
}
|
|
2600
2600
|
const Ed = [
|
|
@@ -2859,7 +2859,7 @@ const Pd = 80, Bd = {
|
|
|
2859
2859
|
},
|
|
2860
2860
|
OperationDefinition: {
|
|
2861
2861
|
leave(e) {
|
|
2862
|
-
const t =
|
|
2862
|
+
const t = O("(", w(e.variableDefinitions, ", "), ")"), i = w(
|
|
2863
2863
|
[
|
|
2864
2864
|
e.operation,
|
|
2865
2865
|
w([e.name, t]),
|
|
@@ -2871,16 +2871,16 @@ const Pd = 80, Bd = {
|
|
|
2871
2871
|
}
|
|
2872
2872
|
},
|
|
2873
2873
|
VariableDefinition: {
|
|
2874
|
-
leave: ({ variable: e, type: t, defaultValue: i, directives: n }) => e + ": " + t +
|
|
2874
|
+
leave: ({ variable: e, type: t, defaultValue: i, directives: n }) => e + ": " + t + O(" = ", i) + O(" ", w(n, " "))
|
|
2875
2875
|
},
|
|
2876
2876
|
SelectionSet: {
|
|
2877
2877
|
leave: ({ selections: e }) => We(e)
|
|
2878
2878
|
},
|
|
2879
2879
|
Field: {
|
|
2880
2880
|
leave({ alias: e, name: t, arguments: i, directives: n, selectionSet: s }) {
|
|
2881
|
-
const r =
|
|
2882
|
-
let l = r +
|
|
2883
|
-
return l.length > Pd && (l = r +
|
|
2881
|
+
const r = O("", e, ": ") + t;
|
|
2882
|
+
let l = r + O("(", w(i, ", "), ")");
|
|
2883
|
+
return l.length > Pd && (l = r + O(`(
|
|
2884
2884
|
`, Ei(w(i, `
|
|
2885
2885
|
`)), `
|
|
2886
2886
|
)`)), w([l, w(n, " "), s], " ");
|
|
@@ -2891,13 +2891,13 @@ const Pd = 80, Bd = {
|
|
|
2891
2891
|
},
|
|
2892
2892
|
// Fragments
|
|
2893
2893
|
FragmentSpread: {
|
|
2894
|
-
leave: ({ name: e, directives: t }) => "..." + e +
|
|
2894
|
+
leave: ({ name: e, directives: t }) => "..." + e + O(" ", w(t, " "))
|
|
2895
2895
|
},
|
|
2896
2896
|
InlineFragment: {
|
|
2897
2897
|
leave: ({ typeCondition: e, directives: t, selectionSet: i }) => w(
|
|
2898
2898
|
[
|
|
2899
2899
|
"...",
|
|
2900
|
-
|
|
2900
|
+
O("on ", e),
|
|
2901
2901
|
w(t, " "),
|
|
2902
2902
|
i
|
|
2903
2903
|
],
|
|
@@ -2907,7 +2907,7 @@ const Pd = 80, Bd = {
|
|
|
2907
2907
|
FragmentDefinition: {
|
|
2908
2908
|
leave: ({ name: e, typeCondition: t, variableDefinitions: i, directives: n, selectionSet: s }) => (
|
|
2909
2909
|
// or removed in the future.
|
|
2910
|
-
`fragment ${e}${
|
|
2910
|
+
`fragment ${e}${O("(", w(i, ", "), ")")} on ${t} ${O("", w(n, " "), " ")}` + s
|
|
2911
2911
|
)
|
|
2912
2912
|
},
|
|
2913
2913
|
// Value
|
|
@@ -2940,7 +2940,7 @@ const Pd = 80, Bd = {
|
|
|
2940
2940
|
},
|
|
2941
2941
|
// Directive
|
|
2942
2942
|
Directive: {
|
|
2943
|
-
leave: ({ name: e, arguments: t }) => "@" + e +
|
|
2943
|
+
leave: ({ name: e, arguments: t }) => "@" + e + O("(", w(t, ", "), ")")
|
|
2944
2944
|
},
|
|
2945
2945
|
// Type
|
|
2946
2946
|
NamedType: {
|
|
@@ -2954,23 +2954,23 @@ const Pd = 80, Bd = {
|
|
|
2954
2954
|
},
|
|
2955
2955
|
// Type System Definitions
|
|
2956
2956
|
SchemaDefinition: {
|
|
2957
|
-
leave: ({ description: e, directives: t, operationTypes: i }) =>
|
|
2957
|
+
leave: ({ description: e, directives: t, operationTypes: i }) => O("", e, `
|
|
2958
2958
|
`) + w(["schema", w(t, " "), We(i)], " ")
|
|
2959
2959
|
},
|
|
2960
2960
|
OperationTypeDefinition: {
|
|
2961
2961
|
leave: ({ operation: e, type: t }) => e + ": " + t
|
|
2962
2962
|
},
|
|
2963
2963
|
ScalarTypeDefinition: {
|
|
2964
|
-
leave: ({ description: e, name: t, directives: i }) =>
|
|
2964
|
+
leave: ({ description: e, name: t, directives: i }) => O("", e, `
|
|
2965
2965
|
`) + w(["scalar", t, w(i, " ")], " ")
|
|
2966
2966
|
},
|
|
2967
2967
|
ObjectTypeDefinition: {
|
|
2968
|
-
leave: ({ description: e, name: t, interfaces: i, directives: n, fields: s }) =>
|
|
2968
|
+
leave: ({ description: e, name: t, interfaces: i, directives: n, fields: s }) => O("", e, `
|
|
2969
2969
|
`) + w(
|
|
2970
2970
|
[
|
|
2971
2971
|
"type",
|
|
2972
2972
|
t,
|
|
2973
|
-
|
|
2973
|
+
O("implements ", w(i, " & ")),
|
|
2974
2974
|
w(n, " "),
|
|
2975
2975
|
We(s)
|
|
2976
2976
|
],
|
|
@@ -2978,26 +2978,26 @@ const Pd = 80, Bd = {
|
|
|
2978
2978
|
)
|
|
2979
2979
|
},
|
|
2980
2980
|
FieldDefinition: {
|
|
2981
|
-
leave: ({ description: e, name: t, arguments: i, type: n, directives: s }) =>
|
|
2982
|
-
`) + t + (ao(i) ?
|
|
2981
|
+
leave: ({ description: e, name: t, arguments: i, type: n, directives: s }) => O("", e, `
|
|
2982
|
+
`) + t + (ao(i) ? O(`(
|
|
2983
2983
|
`, Ei(w(i, `
|
|
2984
2984
|
`)), `
|
|
2985
|
-
)`) :
|
|
2985
|
+
)`) : O("(", w(i, ", "), ")")) + ": " + n + O(" ", w(s, " "))
|
|
2986
2986
|
},
|
|
2987
2987
|
InputValueDefinition: {
|
|
2988
|
-
leave: ({ description: e, name: t, type: i, defaultValue: n, directives: s }) =>
|
|
2988
|
+
leave: ({ description: e, name: t, type: i, defaultValue: n, directives: s }) => O("", e, `
|
|
2989
2989
|
`) + w(
|
|
2990
|
-
[t + ": " + i,
|
|
2990
|
+
[t + ": " + i, O("= ", n), w(s, " ")],
|
|
2991
2991
|
" "
|
|
2992
2992
|
)
|
|
2993
2993
|
},
|
|
2994
2994
|
InterfaceTypeDefinition: {
|
|
2995
|
-
leave: ({ description: e, name: t, interfaces: i, directives: n, fields: s }) =>
|
|
2995
|
+
leave: ({ description: e, name: t, interfaces: i, directives: n, fields: s }) => O("", e, `
|
|
2996
2996
|
`) + w(
|
|
2997
2997
|
[
|
|
2998
2998
|
"interface",
|
|
2999
2999
|
t,
|
|
3000
|
-
|
|
3000
|
+
O("implements ", w(i, " & ")),
|
|
3001
3001
|
w(n, " "),
|
|
3002
3002
|
We(s)
|
|
3003
3003
|
],
|
|
@@ -3005,30 +3005,30 @@ const Pd = 80, Bd = {
|
|
|
3005
3005
|
)
|
|
3006
3006
|
},
|
|
3007
3007
|
UnionTypeDefinition: {
|
|
3008
|
-
leave: ({ description: e, name: t, directives: i, types: n }) =>
|
|
3008
|
+
leave: ({ description: e, name: t, directives: i, types: n }) => O("", e, `
|
|
3009
3009
|
`) + w(
|
|
3010
|
-
["union", t, w(i, " "),
|
|
3010
|
+
["union", t, w(i, " "), O("= ", w(n, " | "))],
|
|
3011
3011
|
" "
|
|
3012
3012
|
)
|
|
3013
3013
|
},
|
|
3014
3014
|
EnumTypeDefinition: {
|
|
3015
|
-
leave: ({ description: e, name: t, directives: i, values: n }) =>
|
|
3015
|
+
leave: ({ description: e, name: t, directives: i, values: n }) => O("", e, `
|
|
3016
3016
|
`) + w(["enum", t, w(i, " "), We(n)], " ")
|
|
3017
3017
|
},
|
|
3018
3018
|
EnumValueDefinition: {
|
|
3019
|
-
leave: ({ description: e, name: t, directives: i }) =>
|
|
3019
|
+
leave: ({ description: e, name: t, directives: i }) => O("", e, `
|
|
3020
3020
|
`) + w([t, w(i, " ")], " ")
|
|
3021
3021
|
},
|
|
3022
3022
|
InputObjectTypeDefinition: {
|
|
3023
|
-
leave: ({ description: e, name: t, directives: i, fields: n }) =>
|
|
3023
|
+
leave: ({ description: e, name: t, directives: i, fields: n }) => O("", e, `
|
|
3024
3024
|
`) + w(["input", t, w(i, " "), We(n)], " ")
|
|
3025
3025
|
},
|
|
3026
3026
|
DirectiveDefinition: {
|
|
3027
|
-
leave: ({ description: e, name: t, arguments: i, repeatable: n, locations: s }) =>
|
|
3028
|
-
`) + "directive @" + t + (ao(i) ?
|
|
3027
|
+
leave: ({ description: e, name: t, arguments: i, repeatable: n, locations: s }) => O("", e, `
|
|
3028
|
+
`) + "directive @" + t + (ao(i) ? O(`(
|
|
3029
3029
|
`, Ei(w(i, `
|
|
3030
3030
|
`)), `
|
|
3031
|
-
)`) :
|
|
3031
|
+
)`) : O("(", w(i, ", "), ")")) + (n ? " repeatable" : "") + " on " + w(s, " | ")
|
|
3032
3032
|
},
|
|
3033
3033
|
SchemaExtension: {
|
|
3034
3034
|
leave: ({ directives: e, operationTypes: t }) => w(
|
|
@@ -3044,7 +3044,7 @@ const Pd = 80, Bd = {
|
|
|
3044
3044
|
[
|
|
3045
3045
|
"extend type",
|
|
3046
3046
|
e,
|
|
3047
|
-
|
|
3047
|
+
O("implements ", w(t, " & ")),
|
|
3048
3048
|
w(i, " "),
|
|
3049
3049
|
We(n)
|
|
3050
3050
|
],
|
|
@@ -3056,7 +3056,7 @@ const Pd = 80, Bd = {
|
|
|
3056
3056
|
[
|
|
3057
3057
|
"extend interface",
|
|
3058
3058
|
e,
|
|
3059
|
-
|
|
3059
|
+
O("implements ", w(t, " & ")),
|
|
3060
3060
|
w(i, " "),
|
|
3061
3061
|
We(n)
|
|
3062
3062
|
],
|
|
@@ -3069,7 +3069,7 @@ const Pd = 80, Bd = {
|
|
|
3069
3069
|
"extend union",
|
|
3070
3070
|
e,
|
|
3071
3071
|
w(t, " "),
|
|
3072
|
-
|
|
3072
|
+
O("= ", w(i, " | "))
|
|
3073
3073
|
],
|
|
3074
3074
|
" "
|
|
3075
3075
|
)
|
|
@@ -3086,16 +3086,16 @@ function w(e, t = "") {
|
|
|
3086
3086
|
return (i = e?.filter((n) => n).join(t)) !== null && i !== void 0 ? i : "";
|
|
3087
3087
|
}
|
|
3088
3088
|
function We(e) {
|
|
3089
|
-
return
|
|
3089
|
+
return O(`{
|
|
3090
3090
|
`, Ei(w(e, `
|
|
3091
3091
|
`)), `
|
|
3092
3092
|
}`);
|
|
3093
3093
|
}
|
|
3094
|
-
function
|
|
3094
|
+
function O(e, t, i = "") {
|
|
3095
3095
|
return t != null && t !== "" ? e + t + i : "";
|
|
3096
3096
|
}
|
|
3097
3097
|
function Ei(e) {
|
|
3098
|
-
return
|
|
3098
|
+
return O(" ", e.replace(/\n/g, `
|
|
3099
3099
|
`));
|
|
3100
3100
|
}
|
|
3101
3101
|
function ao(e) {
|
|
@@ -3310,10 +3310,10 @@ var Rs = { exports: {} };
|
|
|
3310
3310
|
var y = f.toUpperCase();
|
|
3311
3311
|
return k.indexOf(y) > -1 ? y : f;
|
|
3312
3312
|
}
|
|
3313
|
-
function
|
|
3313
|
+
function K(f, y) {
|
|
3314
3314
|
y = y || {};
|
|
3315
3315
|
var N = y.body;
|
|
3316
|
-
if (f instanceof
|
|
3316
|
+
if (f instanceof K) {
|
|
3317
3317
|
if (f.bodyUsed)
|
|
3318
3318
|
throw new TypeError("Already read");
|
|
3319
3319
|
this.url = f.url, this.credentials = f.credentials, y.headers || (this.headers = new b(f.headers)), this.method = f.method, this.mode = f.mode, this.signal = f.signal, !N && f._bodyInit != null && (N = f._bodyInit, f.bodyUsed = !0);
|
|
@@ -3323,8 +3323,8 @@ var Rs = { exports: {} };
|
|
|
3323
3323
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
3324
3324
|
this._initBody(N);
|
|
3325
3325
|
}
|
|
3326
|
-
|
|
3327
|
-
return new
|
|
3326
|
+
K.prototype.clone = function() {
|
|
3327
|
+
return new K(this, { body: this._bodyInit });
|
|
3328
3328
|
};
|
|
3329
3329
|
function X(f) {
|
|
3330
3330
|
var y = new FormData();
|
|
@@ -3345,7 +3345,7 @@ var Rs = { exports: {} };
|
|
|
3345
3345
|
}
|
|
3346
3346
|
}), y;
|
|
3347
3347
|
}
|
|
3348
|
-
V.call(
|
|
3348
|
+
V.call(K.prototype);
|
|
3349
3349
|
function J(f, y) {
|
|
3350
3350
|
y || (y = {}), this.type = "default", this.status = y.status === void 0 ? 200 : y.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in y ? y.statusText : "OK", this.headers = new b(y.headers), this.url = y.url || "", this._initBody(f);
|
|
3351
3351
|
}
|
|
@@ -3377,7 +3377,7 @@ var Rs = { exports: {} };
|
|
|
3377
3377
|
}
|
|
3378
3378
|
function ee(f, y) {
|
|
3379
3379
|
return new Promise(function(N, Q) {
|
|
3380
|
-
var P = new
|
|
3380
|
+
var P = new K(f, y);
|
|
3381
3381
|
if (P.signal && P.signal.aborted)
|
|
3382
3382
|
return Q(new l.DOMException("Aborted", "AbortError"));
|
|
3383
3383
|
var F = new XMLHttpRequest();
|
|
@@ -3406,7 +3406,7 @@ var Rs = { exports: {} };
|
|
|
3406
3406
|
}), F.send(typeof P._bodyInit > "u" ? null : P._bodyInit);
|
|
3407
3407
|
});
|
|
3408
3408
|
}
|
|
3409
|
-
return ee.polyfill = !0, r.fetch || (r.fetch = ee, r.Headers = b, r.Request =
|
|
3409
|
+
return ee.polyfill = !0, r.fetch || (r.fetch = ee, r.Headers = b, r.Request = K, r.Response = J), l.Headers = b, l.Request = K, l.Response = J, l.fetch = ee, Object.defineProperty(l, "__esModule", { value: !0 }), l;
|
|
3410
3410
|
})({});
|
|
3411
3411
|
})(n), n.fetch.ponyfill = !0, delete n.fetch.polyfill;
|
|
3412
3412
|
var s = n;
|
|
@@ -3705,7 +3705,7 @@ const ce = {
|
|
|
3705
3705
|
function $l(e) {
|
|
3706
3706
|
return e.nodeType === e.ELEMENT_NODE;
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3708
|
+
function Ot(e) {
|
|
3709
3709
|
const t = (
|
|
3710
3710
|
// anchor and textarea elements also have a `host` property
|
|
3711
3711
|
// but only shadow roots have a `mode` property
|
|
@@ -3988,16 +3988,16 @@ function ws(e) {
|
|
|
3988
3988
|
}
|
|
3989
3989
|
const Uh = new RegExp(
|
|
3990
3990
|
/[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*/
|
|
3991
|
-
), Jh = new RegExp(/[0-9]{9,16}/), Fh = new RegExp(/[0-9]{3}-?[0-9]{2}-?[0-9]{4}/),
|
|
3991
|
+
), Jh = new RegExp(/[0-9]{9,16}/), Fh = new RegExp(/[0-9]{3}-?[0-9]{2}-?[0-9]{4}/), Kh = new RegExp(
|
|
3992
3992
|
/[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}/
|
|
3993
|
-
),
|
|
3993
|
+
), Oh = new RegExp(/[0-9]{4}-?[0-9]{4}-?[0-9]{4}-?[0-9]{4}/), Eh = new RegExp(
|
|
3994
3994
|
/[0-9]{1,5}.?[0-9]{0,3}\s[a-zA-Z]{2,30}\s[a-zA-Z]{2,15}/
|
|
3995
3995
|
), Mh = new RegExp(/(?:[0-9]{1,3}.){3}[0-9]{1,3}/), Hh = [
|
|
3996
3996
|
Uh,
|
|
3997
3997
|
Jh,
|
|
3998
3998
|
Fh,
|
|
3999
|
-
Oh,
|
|
4000
3999
|
Kh,
|
|
4000
|
+
Oh,
|
|
4001
4001
|
Eh,
|
|
4002
4002
|
Mh
|
|
4003
4003
|
];
|
|
@@ -4393,7 +4393,7 @@ function ip(e, t) {
|
|
|
4393
4393
|
customElements.get(W) && (x = !0);
|
|
4394
4394
|
} catch {
|
|
4395
4395
|
}
|
|
4396
|
-
const
|
|
4396
|
+
const K = (X) => {
|
|
4397
4397
|
const { width: C, height: J } = X.getBoundingClientRect();
|
|
4398
4398
|
V = {
|
|
4399
4399
|
width: C,
|
|
@@ -4412,7 +4412,7 @@ function ip(e, t) {
|
|
|
4412
4412
|
};
|
|
4413
4413
|
if (W === "video") {
|
|
4414
4414
|
const X = e;
|
|
4415
|
-
u && (X.src === "" || X.src.indexOf("blob:") !== -1) &&
|
|
4415
|
+
u && (X.src === "" || X.src.indexOf("blob:") !== -1) && K(X), h && X.src !== "" && X.src.indexOf("blob:") === -1 && K(X);
|
|
4416
4416
|
}
|
|
4417
4417
|
return {
|
|
4418
4418
|
type: oe.Element,
|
|
@@ -4462,7 +4462,7 @@ function dt(e, t) {
|
|
|
4462
4462
|
onStylesheetLoad: V,
|
|
4463
4463
|
stylesheetLoadTimeout: k = 5e3,
|
|
4464
4464
|
keepIframeSrcFn: x = () => !1,
|
|
4465
|
-
newlyAddedElement:
|
|
4465
|
+
newlyAddedElement: K = !1,
|
|
4466
4466
|
cssCaptured: X = !1,
|
|
4467
4467
|
privacySetting: C
|
|
4468
4468
|
} = t;
|
|
@@ -4489,7 +4489,7 @@ function dt(e, t) {
|
|
|
4489
4489
|
inlineVideos: I,
|
|
4490
4490
|
recordCanvas: Z,
|
|
4491
4491
|
keepIframeSrcFn: x,
|
|
4492
|
-
newlyAddedElement:
|
|
4492
|
+
newlyAddedElement: K,
|
|
4493
4493
|
cssCaptured: X,
|
|
4494
4494
|
privacySetting: C
|
|
4495
4495
|
});
|
|
@@ -4556,7 +4556,7 @@ function dt(e, t) {
|
|
|
4556
4556
|
}
|
|
4557
4557
|
}
|
|
4558
4558
|
const F = ce.parentNode(e);
|
|
4559
|
-
return F &&
|
|
4559
|
+
return F && Ot(F) && Et(F) && (y.isShadow = !0), y.type === oe.Element && y.tagName === "iframe" && _h(
|
|
4560
4560
|
e,
|
|
4561
4561
|
() => {
|
|
4562
4562
|
const _ = e.contentDocument;
|
|
@@ -5253,7 +5253,7 @@ function ga(e) {
|
|
|
5253
5253
|
for (let t of e.proxyOf.nodes)
|
|
5254
5254
|
ga(t);
|
|
5255
5255
|
}
|
|
5256
|
-
let
|
|
5256
|
+
let Oe = class Za extends yp {
|
|
5257
5257
|
get first() {
|
|
5258
5258
|
if (this.proxyOf.nodes)
|
|
5259
5259
|
return this.proxyOf.nodes[0];
|
|
@@ -5442,23 +5442,23 @@ let Ke = class Za extends yp {
|
|
|
5442
5442
|
}));
|
|
5443
5443
|
}
|
|
5444
5444
|
};
|
|
5445
|
-
|
|
5445
|
+
Oe.registerParse = (e) => {
|
|
5446
5446
|
ba = e;
|
|
5447
5447
|
};
|
|
5448
|
-
|
|
5448
|
+
Oe.registerRule = (e) => {
|
|
5449
5449
|
Sr = e;
|
|
5450
5450
|
};
|
|
5451
|
-
|
|
5451
|
+
Oe.registerAtRule = (e) => {
|
|
5452
5452
|
Ir = e;
|
|
5453
5453
|
};
|
|
5454
|
-
|
|
5454
|
+
Oe.registerRoot = (e) => {
|
|
5455
5455
|
fa = e;
|
|
5456
5456
|
};
|
|
5457
|
-
var et =
|
|
5458
|
-
|
|
5459
|
-
|
|
5457
|
+
var et = Oe;
|
|
5458
|
+
Oe.default = Oe;
|
|
5459
|
+
Oe.rebuild = (e) => {
|
|
5460
5460
|
e.type === "atrule" ? Object.setPrototypeOf(e, Ir.prototype) : e.type === "rule" ? Object.setPrototypeOf(e, Sr.prototype) : e.type === "decl" ? Object.setPrototypeOf(e, ha.prototype) : e.type === "comment" ? Object.setPrototypeOf(e, da.prototype) : e.type === "root" && Object.setPrototypeOf(e, fa.prototype), e[ma] = !0, e.nodes && e.nodes.forEach((t) => {
|
|
5461
|
-
|
|
5461
|
+
Oe.rebuild(t);
|
|
5462
5462
|
});
|
|
5463
5463
|
};
|
|
5464
5464
|
let Ia = et, on = class extends Ia {
|
|
@@ -5801,9 +5801,9 @@ function At(e, t) {
|
|
|
5801
5801
|
return new Tp(s);
|
|
5802
5802
|
throw new Error("Unknown node type: " + e.type);
|
|
5803
5803
|
}
|
|
5804
|
-
var
|
|
5804
|
+
var Kp = At;
|
|
5805
5805
|
At.default = At;
|
|
5806
|
-
let { dirname: Hi, relative: Ca, resolve: ka, sep: xa } = Ce, { SourceMapConsumer: Ta, SourceMapGenerator: zi } = Ce, { pathToFileURL: wo } = Ce,
|
|
5806
|
+
let { dirname: Hi, relative: Ca, resolve: ka, sep: xa } = Ce, { SourceMapConsumer: Ta, SourceMapGenerator: zi } = Ce, { pathToFileURL: wo } = Ce, Op = wn, Ep = !!(Ta && zi), Mp = !!(Hi && ka && Ca && xa), Hp = class {
|
|
5807
5807
|
constructor(e, t, i, n) {
|
|
5808
5808
|
this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = n, this.originalCSS = n, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
|
|
5809
5809
|
}
|
|
@@ -5914,7 +5914,7 @@ let { dirname: Hi, relative: Ca, resolve: ka, sep: xa } = Ce, { SourceMapConsume
|
|
|
5914
5914
|
}
|
|
5915
5915
|
});
|
|
5916
5916
|
else {
|
|
5917
|
-
let e = new
|
|
5917
|
+
let e = new Op(this.originalCSS, this.opts);
|
|
5918
5918
|
e.map && this.previousMaps.push(e.map);
|
|
5919
5919
|
}
|
|
5920
5920
|
return this.previousMaps;
|
|
@@ -5978,7 +5978,7 @@ var tm = function(e, t = {}) {
|
|
|
5978
5978
|
function V(x) {
|
|
5979
5979
|
if (Z.length) return Z.pop();
|
|
5980
5980
|
if (d >= b) return;
|
|
5981
|
-
let
|
|
5981
|
+
let K = x ? x.ignoreUnclosed : !1;
|
|
5982
5982
|
switch (s = i.charCodeAt(d), s) {
|
|
5983
5983
|
case Zi:
|
|
5984
5984
|
case Ct:
|
|
@@ -6008,7 +6008,7 @@ var tm = function(e, t = {}) {
|
|
|
6008
6008
|
o = d;
|
|
6009
6009
|
do {
|
|
6010
6010
|
if (u = !1, o = i.indexOf(")", o + 1), o === -1)
|
|
6011
|
-
if (n ||
|
|
6011
|
+
if (n || K) {
|
|
6012
6012
|
o = d;
|
|
6013
6013
|
break;
|
|
6014
6014
|
} else
|
|
@@ -6026,7 +6026,7 @@ var tm = function(e, t = {}) {
|
|
|
6026
6026
|
a = s === ts ? "'" : '"', o = d;
|
|
6027
6027
|
do {
|
|
6028
6028
|
if (u = !1, o = i.indexOf(a, o + 1), o === -1)
|
|
6029
|
-
if (n ||
|
|
6029
|
+
if (n || K) {
|
|
6030
6030
|
o = d + 1;
|
|
6031
6031
|
break;
|
|
6032
6032
|
} else
|
|
@@ -6053,7 +6053,7 @@ var tm = function(e, t = {}) {
|
|
|
6053
6053
|
break;
|
|
6054
6054
|
}
|
|
6055
6055
|
default: {
|
|
6056
|
-
s === ko && i.charCodeAt(d + 1) === _p ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n ||
|
|
6056
|
+
s === ko && i.charCodeAt(d + 1) === _p ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || K ? o = i.length : v("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Xi.lastIndex = d + 1, Xi.test(i), Xi.lastIndex === 0 ? o = i.length - 1 : o = Xi.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], I.push(c), d = o);
|
|
6057
6057
|
break;
|
|
6058
6058
|
}
|
|
6059
6059
|
}
|
|
@@ -6393,7 +6393,7 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
|
|
|
6393
6393
|
var Wr = cn;
|
|
6394
6394
|
cn.default = cn;
|
|
6395
6395
|
um.registerParse(cn);
|
|
6396
|
-
let
|
|
6396
|
+
let Ks = class {
|
|
6397
6397
|
constructor(e, t = {}) {
|
|
6398
6398
|
if (this.type = "warning", this.text = e, t.node && t.node.source) {
|
|
6399
6399
|
let i = t.node.rangeBy(t);
|
|
@@ -6409,9 +6409,9 @@ let Os = class {
|
|
|
6409
6409
|
}).message : this.plugin ? this.plugin + ": " + this.text : this.text;
|
|
6410
6410
|
}
|
|
6411
6411
|
};
|
|
6412
|
-
var La =
|
|
6413
|
-
|
|
6414
|
-
let pm = La,
|
|
6412
|
+
var La = Ks;
|
|
6413
|
+
Ks.default = Ks;
|
|
6414
|
+
let pm = La, Os = class {
|
|
6415
6415
|
get content() {
|
|
6416
6416
|
return this.css;
|
|
6417
6417
|
}
|
|
@@ -6430,8 +6430,8 @@ let pm = La, Ks = class {
|
|
|
6430
6430
|
return this.messages.filter((e) => e.type === "warning");
|
|
6431
6431
|
}
|
|
6432
6432
|
};
|
|
6433
|
-
var Rr =
|
|
6434
|
-
|
|
6433
|
+
var Rr = Os;
|
|
6434
|
+
Os.default = Os;
|
|
6435
6435
|
let Lo = {};
|
|
6436
6436
|
var Ya = function(e) {
|
|
6437
6437
|
Lo[e] || (Lo[e] = !0, typeof console < "u" && console.warn && console.warn(e));
|
|
@@ -6884,7 +6884,7 @@ var Ym = Qt;
|
|
|
6884
6884
|
Qt.default = Qt;
|
|
6885
6885
|
Lm.registerProcessor(Qt);
|
|
6886
6886
|
xm.registerProcessor(Qt);
|
|
6887
|
-
let
|
|
6887
|
+
let Ka = Vr, Oa = Rn, Um = et, Jm = Zr, Ea = vn, Ma = Gr, Fm = Kp, Km = wn, Om = Fa, Em = va, Mm = Wn, Hm = Wr, vr = Ym, zm = Rr, Ha = si, za = Xr, Pm = Xn, Bm = La;
|
|
6888
6888
|
function D(...e) {
|
|
6889
6889
|
return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new vr(e);
|
|
6890
6890
|
}
|
|
@@ -6914,8 +6914,8 @@ D.stringify = Pm;
|
|
|
6914
6914
|
D.parse = Hm;
|
|
6915
6915
|
D.fromJSON = Fm;
|
|
6916
6916
|
D.list = Em;
|
|
6917
|
-
D.comment = (e) => new
|
|
6918
|
-
D.atRule = (e) => new
|
|
6917
|
+
D.comment = (e) => new Oa(e);
|
|
6918
|
+
D.atRule = (e) => new Ka(e);
|
|
6919
6919
|
D.decl = (e) => new Ea(e);
|
|
6920
6920
|
D.rule = (e) => new za(e);
|
|
6921
6921
|
D.root = (e) => new Ha(e);
|
|
@@ -6925,15 +6925,15 @@ D.Declaration = Ea;
|
|
|
6925
6925
|
D.Container = Um;
|
|
6926
6926
|
D.Processor = vr;
|
|
6927
6927
|
D.Document = Ma;
|
|
6928
|
-
D.Comment =
|
|
6928
|
+
D.Comment = Oa;
|
|
6929
6929
|
D.Warning = Bm;
|
|
6930
|
-
D.AtRule =
|
|
6930
|
+
D.AtRule = Ka;
|
|
6931
6931
|
D.Result = zm;
|
|
6932
|
-
D.Input =
|
|
6932
|
+
D.Input = Km;
|
|
6933
6933
|
D.Rule = za;
|
|
6934
6934
|
D.Root = Ha;
|
|
6935
6935
|
D.Node = Mm;
|
|
6936
|
-
|
|
6936
|
+
Om.registerPostcss(D);
|
|
6937
6937
|
D.default = D;
|
|
6938
6938
|
var Dm = Object.defineProperty, jm = (e, t, i) => t in e ? Dm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ge = (e, t, i) => jm(e, typeof t != "symbol" ? t + "" : t, i);
|
|
6939
6939
|
function Am(e) {
|
|
@@ -7011,7 +7011,7 @@ let Jo = Qm, Fo = ke, zs = class Ba extends Error {
|
|
|
7011
7011
|
};
|
|
7012
7012
|
var Cr = zs;
|
|
7013
7013
|
zs.default = zs;
|
|
7014
|
-
const
|
|
7014
|
+
const Ko = {
|
|
7015
7015
|
after: `
|
|
7016
7016
|
`,
|
|
7017
7017
|
beforeClose: `
|
|
@@ -7094,7 +7094,7 @@ let Ps = class {
|
|
|
7094
7094
|
let s = e.parent;
|
|
7095
7095
|
if (i === "before" && (!s || s.type === "root" && s.first === e || s && s.type === "document"))
|
|
7096
7096
|
return "";
|
|
7097
|
-
if (!s) return
|
|
7097
|
+
if (!s) return Ko[i];
|
|
7098
7098
|
let r = e.root();
|
|
7099
7099
|
if (r.rawCache || (r.rawCache = {}), typeof r.rawCache[i] < "u")
|
|
7100
7100
|
return r.rawCache[i];
|
|
@@ -7106,7 +7106,7 @@ let Ps = class {
|
|
|
7106
7106
|
if (n = o.raws[t], typeof n < "u") return !1;
|
|
7107
7107
|
});
|
|
7108
7108
|
}
|
|
7109
|
-
return typeof n > "u" && (n =
|
|
7109
|
+
return typeof n > "u" && (n = Ko[i]), r.rawCache[i] = n, n;
|
|
7110
7110
|
}
|
|
7111
7111
|
rawBeforeClose(e) {
|
|
7112
7112
|
let t;
|
|
@@ -7712,7 +7712,7 @@ let cb = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ub
|
|
|
7712
7712
|
return t;
|
|
7713
7713
|
};
|
|
7714
7714
|
var db = { nanoid: ub };
|
|
7715
|
-
let { existsSync: hb, readFileSync: pb } = ke, { dirname: is, join: mb } = ke, { SourceMapConsumer:
|
|
7715
|
+
let { existsSync: hb, readFileSync: pb } = ke, { dirname: is, join: mb } = ke, { SourceMapConsumer: Oo, SourceMapGenerator: Eo } = ke;
|
|
7716
7716
|
function bb(e) {
|
|
7717
7717
|
return Buffer ? Buffer.from(e, "base64").toString() : window.atob(e);
|
|
7718
7718
|
}
|
|
@@ -7724,7 +7724,7 @@ let _s = class {
|
|
|
7724
7724
|
!this.mapFile && t.from && (this.mapFile = t.from), this.mapFile && (this.root = is(this.mapFile)), n && (this.text = n);
|
|
7725
7725
|
}
|
|
7726
7726
|
consumer() {
|
|
7727
|
-
return this.consumerCache || (this.consumerCache = new
|
|
7727
|
+
return this.consumerCache || (this.consumerCache = new Oo(this.text)), this.consumerCache;
|
|
7728
7728
|
}
|
|
7729
7729
|
decodeInline(e) {
|
|
7730
7730
|
let t = /^data:application\/json;charset=utf-?8;base64,/, i = /^data:application\/json;base64,/, n = /^data:application\/json;charset=utf-?8,/, s = /^data:application\/json,/, r = e.match(n) || e.match(s);
|
|
@@ -7768,7 +7768,7 @@ let _s = class {
|
|
|
7768
7768
|
return n;
|
|
7769
7769
|
}
|
|
7770
7770
|
} else {
|
|
7771
|
-
if (t instanceof
|
|
7771
|
+
if (t instanceof Oo)
|
|
7772
7772
|
return Eo.fromSourceMap(t).toString();
|
|
7773
7773
|
if (t instanceof Eo)
|
|
7774
7774
|
return t.toString();
|
|
@@ -8177,7 +8177,7 @@ let { dirname: Pi, relative: hc, resolve: pc, sep: mc } = ke, { SourceMapConsume
|
|
|
8177
8177
|
}
|
|
8178
8178
|
};
|
|
8179
8179
|
var fc = Nb;
|
|
8180
|
-
const rs = 39, Bo = 34, Ri = 92, Do = 47, vi = 10, Nt = 32, wi = 12, Ci = 9, ki = 13, Lb = 91, Yb = 93, Ub = 40, Jb = 41, Fb = 123,
|
|
8180
|
+
const rs = 39, Bo = 34, Ri = 92, Do = 47, vi = 10, Nt = 32, wi = 12, Ci = 9, ki = 13, Lb = 91, Yb = 93, Ub = 40, Jb = 41, Fb = 123, Kb = 125, Ob = 59, Eb = 42, Mb = 58, Hb = 64, xi = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ti = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, zb = /.[\r\n"'(/\\]/, jo = /[\da-f]/i;
|
|
8181
8181
|
var Pb = function(e, t = {}) {
|
|
8182
8182
|
let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, I = [], Z = [];
|
|
8183
8183
|
function G() {
|
|
@@ -8192,7 +8192,7 @@ var Pb = function(e, t = {}) {
|
|
|
8192
8192
|
function V(x) {
|
|
8193
8193
|
if (Z.length) return Z.pop();
|
|
8194
8194
|
if (d >= b) return;
|
|
8195
|
-
let
|
|
8195
|
+
let K = x ? x.ignoreUnclosed : !1;
|
|
8196
8196
|
switch (s = i.charCodeAt(d), s) {
|
|
8197
8197
|
case vi:
|
|
8198
8198
|
case Nt:
|
|
@@ -8209,9 +8209,9 @@ var Pb = function(e, t = {}) {
|
|
|
8209
8209
|
case Lb:
|
|
8210
8210
|
case Yb:
|
|
8211
8211
|
case Fb:
|
|
8212
|
-
case Ob:
|
|
8213
|
-
case Mb:
|
|
8214
8212
|
case Kb:
|
|
8213
|
+
case Mb:
|
|
8214
|
+
case Ob:
|
|
8215
8215
|
case Jb: {
|
|
8216
8216
|
let X = String.fromCharCode(s);
|
|
8217
8217
|
c = [X, X, d];
|
|
@@ -8222,7 +8222,7 @@ var Pb = function(e, t = {}) {
|
|
|
8222
8222
|
o = d;
|
|
8223
8223
|
do {
|
|
8224
8224
|
if (u = !1, o = i.indexOf(")", o + 1), o === -1)
|
|
8225
|
-
if (n ||
|
|
8225
|
+
if (n || K) {
|
|
8226
8226
|
o = d;
|
|
8227
8227
|
break;
|
|
8228
8228
|
} else
|
|
@@ -8240,7 +8240,7 @@ var Pb = function(e, t = {}) {
|
|
|
8240
8240
|
a = s === rs ? "'" : '"', o = d;
|
|
8241
8241
|
do {
|
|
8242
8242
|
if (u = !1, o = i.indexOf(a, o + 1), o === -1)
|
|
8243
|
-
if (n ||
|
|
8243
|
+
if (n || K) {
|
|
8244
8244
|
o = d + 1;
|
|
8245
8245
|
break;
|
|
8246
8246
|
} else
|
|
@@ -8267,7 +8267,7 @@ var Pb = function(e, t = {}) {
|
|
|
8267
8267
|
break;
|
|
8268
8268
|
}
|
|
8269
8269
|
default: {
|
|
8270
|
-
s === Do && i.charCodeAt(d + 1) === Eb ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n ||
|
|
8270
|
+
s === Do && i.charCodeAt(d + 1) === Eb ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || K ? o = i.length : v("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ti.lastIndex = d + 1, Ti.test(i), Ti.lastIndex === 0 ? o = i.length - 1 : o = Ti.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], I.push(c), d = o);
|
|
8271
8271
|
break;
|
|
8272
8272
|
}
|
|
8273
8273
|
}
|
|
@@ -9205,7 +9205,7 @@ const el = {
|
|
|
9205
9205
|
Element: [],
|
|
9206
9206
|
MutationObserver: ["constructor"]
|
|
9207
9207
|
}, Ni = {}, Ff = () => !!globalThis.Zone;
|
|
9208
|
-
function
|
|
9208
|
+
function Kr(e) {
|
|
9209
9209
|
if (Ni[e])
|
|
9210
9210
|
return Ni[e];
|
|
9211
9211
|
const t = globalThis[e], i = t.prototype, n = e in el ? el[e] : void 0, s = !!(n && // @ts-expect-error 2345
|
|
@@ -9242,7 +9242,7 @@ function Ae(e, t, i) {
|
|
|
9242
9242
|
return os[s].call(
|
|
9243
9243
|
t
|
|
9244
9244
|
);
|
|
9245
|
-
const r =
|
|
9245
|
+
const r = Kr(e), l = (n = Object.getOwnPropertyDescriptor(
|
|
9246
9246
|
r,
|
|
9247
9247
|
i
|
|
9248
9248
|
)) == null ? void 0 : n.get;
|
|
@@ -9255,13 +9255,13 @@ function wc(e, t, i) {
|
|
|
9255
9255
|
return ls[n].bind(
|
|
9256
9256
|
t
|
|
9257
9257
|
);
|
|
9258
|
-
const s =
|
|
9258
|
+
const s = Kr(e)[i];
|
|
9259
9259
|
return typeof s != "function" ? t[i] : (ls[n] = s, s.bind(t));
|
|
9260
9260
|
}
|
|
9261
|
-
function
|
|
9261
|
+
function Kf(e) {
|
|
9262
9262
|
return Ae("Node", e, "childNodes");
|
|
9263
9263
|
}
|
|
9264
|
-
function
|
|
9264
|
+
function Of(e) {
|
|
9265
9265
|
return Ae("Node", e, "parentNode");
|
|
9266
9266
|
}
|
|
9267
9267
|
function Ef(e) {
|
|
@@ -9292,7 +9292,7 @@ function Af(e, t) {
|
|
|
9292
9292
|
return Ae("Element", e, "querySelectorAll")(t);
|
|
9293
9293
|
}
|
|
9294
9294
|
function Cc() {
|
|
9295
|
-
return
|
|
9295
|
+
return Kr("MutationObserver").constructor;
|
|
9296
9296
|
}
|
|
9297
9297
|
function it(e, t, i) {
|
|
9298
9298
|
try {
|
|
@@ -9314,8 +9314,8 @@ function it(e, t, i) {
|
|
|
9314
9314
|
}
|
|
9315
9315
|
}
|
|
9316
9316
|
const E = {
|
|
9317
|
-
childNodes:
|
|
9318
|
-
parentNode:
|
|
9317
|
+
childNodes: Kf,
|
|
9318
|
+
parentNode: Of,
|
|
9319
9319
|
parentElement: Ef,
|
|
9320
9320
|
textContent: Mf,
|
|
9321
9321
|
contains: Hf,
|
|
@@ -9432,7 +9432,7 @@ function as(e, t, i) {
|
|
|
9432
9432
|
return e.tagName === "TITLE" && i.headTitleMutations ? !0 : t.getId(e) === Bt;
|
|
9433
9433
|
}
|
|
9434
9434
|
function Lc(e, t) {
|
|
9435
|
-
if (
|
|
9435
|
+
if (Ot(e))
|
|
9436
9436
|
return !1;
|
|
9437
9437
|
const i = t.getId(e);
|
|
9438
9438
|
if (!t.has(i))
|
|
@@ -9505,7 +9505,7 @@ function Fc(e) {
|
|
|
9505
9505
|
const t = e.ownerDocument;
|
|
9506
9506
|
return t ? E.contains(t, e) || ty(e) : !1;
|
|
9507
9507
|
}
|
|
9508
|
-
var z = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(z || {}), M = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(M || {}), fe = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(fe || {}), He = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(He || {}), Gt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Gt || {}), ct = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(ct || {}),
|
|
9508
|
+
var z = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(z || {}), M = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(M || {}), fe = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(fe || {}), He = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(He || {}), Gt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Gt || {}), ct = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(ct || {}), Kc = /* @__PURE__ */ ((e) => (e[e.Document = 0] = "Document", e[e.DocumentType = 1] = "DocumentType", e[e.Element = 2] = "Element", e[e.Text = 3] = "Text", e[e.CDATA = 4] = "CDATA", e[e.Comment = 5] = "Comment", e))(Kc || {});
|
|
9509
9509
|
function nl(e) {
|
|
9510
9510
|
return "__ln" in e;
|
|
9511
9511
|
}
|
|
@@ -9566,7 +9566,7 @@ class ny {
|
|
|
9566
9566
|
return;
|
|
9567
9567
|
b === "STYLE" && this.addedSet.has(c) && (u = !0);
|
|
9568
9568
|
}
|
|
9569
|
-
const h =
|
|
9569
|
+
const h = Ot(c) ? this.mirror.getId(Jc(a)) : this.mirror.getId(c), p = s(a);
|
|
9570
9570
|
if (h === -1 || p === -1)
|
|
9571
9571
|
return n.addNode(a);
|
|
9572
9572
|
const m = dt(a, {
|
|
@@ -9783,11 +9783,11 @@ class ny {
|
|
|
9783
9783
|
return;
|
|
9784
9784
|
}
|
|
9785
9785
|
t.addedNodes.forEach((i) => this.genAdds(i, t.target)), t.removedNodes.forEach((i) => {
|
|
9786
|
-
const n = this.mirror.getId(i), s =
|
|
9786
|
+
const n = this.mirror.getId(i), s = Ot(t.target) ? this.mirror.getId(E.host(t.target)) : this.mirror.getId(t.target);
|
|
9787
9787
|
ue(t.target, this.blockClass, this.blockSelector, !1) || as(i, this.mirror, this.slimDOMOptions) || !_f(i, this.mirror) || (this.addedSet.has(i) ? (lr(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Lc(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[sl(n, s)] ? lr(this.movedSet, i) : (this.removes.push({
|
|
9788
9788
|
parentId: s,
|
|
9789
9789
|
id: n,
|
|
9790
|
-
isShadow:
|
|
9790
|
+
isShadow: Ot(t.target) && Et(t.target) ? !0 : void 0
|
|
9791
9791
|
}), sy(i, this.removesSubTreeCache))), this.mapRemoves.push(i));
|
|
9792
9792
|
});
|
|
9793
9793
|
break;
|
|
@@ -9875,11 +9875,11 @@ function ry(e, t, i) {
|
|
|
9875
9875
|
return n ? e.has(n) : !1;
|
|
9876
9876
|
}
|
|
9877
9877
|
function ol(e, t) {
|
|
9878
|
-
return e.size === 0 ? !1 :
|
|
9878
|
+
return e.size === 0 ? !1 : Oc(e, t);
|
|
9879
9879
|
}
|
|
9880
|
-
function
|
|
9880
|
+
function Oc(e, t) {
|
|
9881
9881
|
const i = E.parentNode(t);
|
|
9882
|
-
return i ? e.has(i) ? !0 :
|
|
9882
|
+
return i ? e.has(i) ? !0 : Oc(e, i) : !1;
|
|
9883
9883
|
}
|
|
9884
9884
|
let Mt;
|
|
9885
9885
|
function oy(e) {
|
|
@@ -10111,19 +10111,19 @@ function hy({
|
|
|
10111
10111
|
if (G && W === "OPTION" && (G = E.parentElement(G)), !G || !W || dy.indexOf(W) < 0 || ue(G, n, s, !0) || G.classList.contains(r) || l && G.matches(l))
|
|
10112
10112
|
return;
|
|
10113
10113
|
let V = G.value, k = !1;
|
|
10114
|
-
const x = tn(G) || "",
|
|
10114
|
+
const x = tn(G) || "", K = G.getAttribute("data-hl-record");
|
|
10115
10115
|
x === "radio" || x === "checkbox" ? k = G.checked : na({
|
|
10116
10116
|
maskInputOptions: o,
|
|
10117
10117
|
type: x,
|
|
10118
10118
|
tagName: W,
|
|
10119
|
-
overwriteRecord:
|
|
10119
|
+
overwriteRecord: K
|
|
10120
10120
|
}) && (V = en({
|
|
10121
10121
|
element: G,
|
|
10122
10122
|
maskInputOptions: o,
|
|
10123
10123
|
tagName: W,
|
|
10124
10124
|
type: x,
|
|
10125
10125
|
value: V,
|
|
10126
|
-
overwriteRecord:
|
|
10126
|
+
overwriteRecord: K,
|
|
10127
10127
|
maskInputFn: a
|
|
10128
10128
|
})), p(
|
|
10129
10129
|
G,
|
|
@@ -10854,7 +10854,7 @@ class Sy {
|
|
|
10854
10854
|
});
|
|
10855
10855
|
}
|
|
10856
10856
|
patchRootIdOnNode(t, i) {
|
|
10857
|
-
t.type !==
|
|
10857
|
+
t.type !== Kc.Document && !t.rootId && (t.rootId = i), "childNodes" in t && t.childNodes.forEach((n) => {
|
|
10858
10858
|
this.patchRootIdOnNode(n, i);
|
|
10859
10859
|
});
|
|
10860
10860
|
}
|
|
@@ -11387,7 +11387,7 @@ class xy {
|
|
|
11387
11387
|
let p = 0, m;
|
|
11388
11388
|
const b = /* @__PURE__ */ new Map(), d = (v, W) => {
|
|
11389
11389
|
const V = [];
|
|
11390
|
-
v.querySelectorAll(W).forEach((
|
|
11390
|
+
v.querySelectorAll(W).forEach((K) => V.push(K));
|
|
11391
11391
|
const k = document.createNodeIterator(v, Node.ELEMENT_NODE);
|
|
11392
11392
|
let x;
|
|
11393
11393
|
for (; x = k.nextNode(); )
|
|
@@ -11418,10 +11418,10 @@ class xy {
|
|
|
11418
11418
|
}
|
|
11419
11419
|
p = v;
|
|
11420
11420
|
const W = (k) => {
|
|
11421
|
-
const x = this.mirror.getId(k),
|
|
11421
|
+
const x = this.mirror.getId(k), K = b.get(x), X = !o.initialSnapshotDelay || v - K > o.initialSnapshotDelay;
|
|
11422
11422
|
return this.debug(k, {
|
|
11423
11423
|
delay: o.initialSnapshotDelay,
|
|
11424
|
-
delta: v -
|
|
11424
|
+
delta: v - K,
|
|
11425
11425
|
hadLoadingTime: X
|
|
11426
11426
|
}), X;
|
|
11427
11427
|
}, V = [];
|
|
@@ -11441,7 +11441,7 @@ class xy {
|
|
|
11441
11441
|
}
|
|
11442
11442
|
this.snapshotInProgressMap.set(x, !0);
|
|
11443
11443
|
try {
|
|
11444
|
-
const { width:
|
|
11444
|
+
const { width: K, height: X } = k.getBoundingClientRect(), { actualWidth: C, actualHeight: J } = {
|
|
11445
11445
|
actualWidth: k.videoWidth,
|
|
11446
11446
|
actualHeight: k.videoHeight
|
|
11447
11447
|
}, q = Math.max(C, J);
|
|
@@ -11451,7 +11451,7 @@ class xy {
|
|
|
11451
11451
|
height: k.height,
|
|
11452
11452
|
actualWidth: C,
|
|
11453
11453
|
actualHeight: J,
|
|
11454
|
-
boxWidth:
|
|
11454
|
+
boxWidth: K,
|
|
11455
11455
|
boxHeight: X
|
|
11456
11456
|
});
|
|
11457
11457
|
return;
|
|
@@ -11461,11 +11461,11 @@ class xy {
|
|
|
11461
11461
|
const f = C * ee, y = J * ee, N = yield createImageBitmap(k, {
|
|
11462
11462
|
resizeWidth: f,
|
|
11463
11463
|
resizeHeight: y
|
|
11464
|
-
}), Q = Math.max(
|
|
11464
|
+
}), Q = Math.max(K, X) / q, P = C * Q, F = J * Q, _ = (K - P) / 2, te = (X - F) / 2;
|
|
11465
11465
|
this.debug(k, "created image bitmap", {
|
|
11466
11466
|
actualWidth: C,
|
|
11467
11467
|
actualHeight: J,
|
|
11468
|
-
boxWidth:
|
|
11468
|
+
boxWidth: K,
|
|
11469
11469
|
boxHeight: X,
|
|
11470
11470
|
outputWidth: P,
|
|
11471
11471
|
outputHeight: F,
|
|
@@ -11490,8 +11490,8 @@ class xy {
|
|
|
11490
11490
|
},
|
|
11491
11491
|
[N]
|
|
11492
11492
|
), this.debug(k, "send message");
|
|
11493
|
-
} catch (
|
|
11494
|
-
this.debug(k, "failed to snapshot",
|
|
11493
|
+
} catch (K) {
|
|
11494
|
+
this.debug(k, "failed to snapshot", K);
|
|
11495
11495
|
} finally {
|
|
11496
11496
|
this.snapshotInProgressMap.set(x, !1);
|
|
11497
11497
|
}
|
|
@@ -11621,7 +11621,7 @@ try {
|
|
|
11621
11621
|
console.debug("Unable to override Array.from", e);
|
|
11622
11622
|
}
|
|
11623
11623
|
const Re = vh();
|
|
11624
|
-
function
|
|
11624
|
+
function Ke(e = {}) {
|
|
11625
11625
|
var t, i, n, s, r, l, o, a;
|
|
11626
11626
|
const {
|
|
11627
11627
|
emit: c,
|
|
@@ -11639,7 +11639,7 @@ function Oe(e = {}) {
|
|
|
11639
11639
|
slimDOMOptions: V,
|
|
11640
11640
|
maskInputFn: k,
|
|
11641
11641
|
maskTextFn: x = fr,
|
|
11642
|
-
hooks:
|
|
11642
|
+
hooks: K,
|
|
11643
11643
|
packFn: X,
|
|
11644
11644
|
sampling: C = {},
|
|
11645
11645
|
mousemoveWait: J,
|
|
@@ -11706,7 +11706,7 @@ function Oe(e = {}) {
|
|
|
11706
11706
|
headTitleMutations: V === "all"
|
|
11707
11707
|
} : V || {};
|
|
11708
11708
|
$f();
|
|
11709
|
-
let zr,
|
|
11709
|
+
let zr, Kn = 0;
|
|
11710
11710
|
const Pr = (B) => {
|
|
11711
11711
|
for (const Xe of _ || [])
|
|
11712
11712
|
Xe.eventProcessor && (B = Xe.eventProcessor(B));
|
|
@@ -11728,12 +11728,12 @@ function Oe(e = {}) {
|
|
|
11728
11728
|
window.parent.postMessage(xe, "*");
|
|
11729
11729
|
}
|
|
11730
11730
|
if (ne.type === z.FullSnapshot)
|
|
11731
|
-
zr = ne,
|
|
11731
|
+
zr = ne, Kn = 0;
|
|
11732
11732
|
else if (ne.type === z.IncrementalSnapshot) {
|
|
11733
11733
|
if (ne.data.source === M.Mutation && ne.data.isAttachIframe)
|
|
11734
11734
|
return;
|
|
11735
|
-
|
|
11736
|
-
const xe = h &&
|
|
11735
|
+
Kn++;
|
|
11736
|
+
const xe = h && Kn >= h, A = u && ne.timestamp - zr.timestamp > u;
|
|
11737
11737
|
(xe || A) && ji(!0);
|
|
11738
11738
|
}
|
|
11739
11739
|
};
|
|
@@ -11775,7 +11775,7 @@ function Oe(e = {}) {
|
|
|
11775
11775
|
crossOriginIframeMirror: _e.crossOriginIframeMirror,
|
|
11776
11776
|
crossOriginIframeStyleMirror: _e.crossOriginIframeStyleMirror
|
|
11777
11777
|
});
|
|
11778
|
-
const
|
|
11778
|
+
const On = new Ny();
|
|
11779
11779
|
Ht = new xy({
|
|
11780
11780
|
recordCanvas: ee,
|
|
11781
11781
|
recordLocalVideos: P,
|
|
@@ -11817,7 +11817,7 @@ function Oe(e = {}) {
|
|
|
11817
11817
|
stylesheetManager: Qe,
|
|
11818
11818
|
canvasManager: Ht,
|
|
11819
11819
|
keepIframeSrcFn: te,
|
|
11820
|
-
processedNodeManager:
|
|
11820
|
+
processedNodeManager: On
|
|
11821
11821
|
},
|
|
11822
11822
|
mirror: Re
|
|
11823
11823
|
});
|
|
@@ -11976,7 +11976,7 @@ function Oe(e = {}) {
|
|
|
11976
11976
|
iframeManager: _e,
|
|
11977
11977
|
stylesheetManager: Qe,
|
|
11978
11978
|
shadowDomManager: hi,
|
|
11979
|
-
processedNodeManager:
|
|
11979
|
+
processedNodeManager: On,
|
|
11980
11980
|
canvasManager: Ht,
|
|
11981
11981
|
ignoreCSSAttributes: Me,
|
|
11982
11982
|
privacySetting: Ge,
|
|
@@ -11992,7 +11992,7 @@ function Oe(e = {}) {
|
|
|
11992
11992
|
})
|
|
11993
11993
|
}))) || []
|
|
11994
11994
|
},
|
|
11995
|
-
|
|
11995
|
+
K
|
|
11996
11996
|
);
|
|
11997
11997
|
};
|
|
11998
11998
|
_e.addLoadListener((ne) => {
|
|
@@ -12024,13 +12024,13 @@ function Oe(e = {}) {
|
|
|
12024
12024
|
window
|
|
12025
12025
|
)
|
|
12026
12026
|
)), () => {
|
|
12027
|
-
B.forEach((ne) => ne()),
|
|
12027
|
+
B.forEach((ne) => ne()), On.destroy(), fn = !1, ly();
|
|
12028
12028
|
};
|
|
12029
12029
|
} catch (B) {
|
|
12030
12030
|
console.warn(B);
|
|
12031
12031
|
}
|
|
12032
12032
|
}
|
|
12033
|
-
|
|
12033
|
+
Ke.addCustomEvent = (e, t) => {
|
|
12034
12034
|
fn && se({
|
|
12035
12035
|
type: z.Custom,
|
|
12036
12036
|
data: {
|
|
@@ -12039,25 +12039,25 @@ Oe.addCustomEvent = (e, t) => {
|
|
|
12039
12039
|
}
|
|
12040
12040
|
});
|
|
12041
12041
|
};
|
|
12042
|
-
|
|
12042
|
+
Ke.freezePage = () => {
|
|
12043
12043
|
$e.forEach((e) => e.freeze());
|
|
12044
12044
|
};
|
|
12045
|
-
|
|
12045
|
+
Ke.takeFullSnapshot = (e) => {
|
|
12046
12046
|
if (!fn)
|
|
12047
12047
|
throw new Error("please take full snapshot after start recording");
|
|
12048
12048
|
ji(e);
|
|
12049
12049
|
};
|
|
12050
|
-
|
|
12050
|
+
Ke.snapshotCanvas = (e) => le(void 0, null, function* () {
|
|
12051
12051
|
if (!Ht)
|
|
12052
12052
|
throw new Error("canvas manager is not initialized");
|
|
12053
12053
|
yield Ht.snapshot(e);
|
|
12054
12054
|
});
|
|
12055
|
-
|
|
12055
|
+
Ke.mirror = Re;
|
|
12056
12056
|
var pl;
|
|
12057
12057
|
(function(e) {
|
|
12058
12058
|
e[e.NotStarted = 0] = "NotStarted", e[e.Running = 1] = "Running", e[e.Stopped = 2] = "Stopped";
|
|
12059
12059
|
})(pl || (pl = {}));
|
|
12060
|
-
const { addCustomEvent: ml } =
|
|
12060
|
+
const { addCustomEvent: ml } = Ke;
|
|
12061
12061
|
var yn = function() {
|
|
12062
12062
|
return yn = Object.assign || function(e) {
|
|
12063
12063
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -12121,10 +12121,10 @@ function ye(e) {
|
|
|
12121
12121
|
function Fy() {
|
|
12122
12122
|
Ai.clear(), ar.clear();
|
|
12123
12123
|
}
|
|
12124
|
-
function
|
|
12124
|
+
function Ky() {
|
|
12125
12125
|
jc = !1;
|
|
12126
12126
|
}
|
|
12127
|
-
function
|
|
12127
|
+
function Oy() {
|
|
12128
12128
|
gn = !0;
|
|
12129
12129
|
}
|
|
12130
12130
|
function Ey() {
|
|
@@ -12133,8 +12133,8 @@ function Ey() {
|
|
|
12133
12133
|
var Yt = {
|
|
12134
12134
|
gql: ye,
|
|
12135
12135
|
resetCaches: Fy,
|
|
12136
|
-
disableFragmentWarnings:
|
|
12137
|
-
enableExperimentalFragmentVariables:
|
|
12136
|
+
disableFragmentWarnings: Ky,
|
|
12137
|
+
enableExperimentalFragmentVariables: Oy,
|
|
12138
12138
|
disableExperimentalFragmentVariables: Ey
|
|
12139
12139
|
};
|
|
12140
12140
|
(function(e) {
|
|
@@ -12615,13 +12615,13 @@ var Be, zt, $c, Zn, cr, qc = -1, nt = function(e) {
|
|
|
12615
12615
|
addEventListener("pageshow", function(t) {
|
|
12616
12616
|
t.persisted && (qc = t.timeStamp, e(t));
|
|
12617
12617
|
}, !0);
|
|
12618
|
-
},
|
|
12618
|
+
}, Or = function() {
|
|
12619
12619
|
return window.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0];
|
|
12620
12620
|
}, Yn = function() {
|
|
12621
|
-
var e =
|
|
12621
|
+
var e = Or();
|
|
12622
12622
|
return e && e.activationStart || 0;
|
|
12623
12623
|
}, Se = function(e, t) {
|
|
12624
|
-
var i =
|
|
12624
|
+
var i = Or(), n = "navigate";
|
|
12625
12625
|
return qc >= 0 ? n = "back-forward-cache" : i && (document.prerendering || Yn() > 0 ? n = "prerender" : document.wasDiscarded ? n = "restore" : i.type && (n = i.type.replace(/_/g, "-"))), { name: e, value: t === void 0 ? -1 : t, rating: "good", delta: 0, entries: [], id: "v3-".concat(Date.now(), "-").concat(Math.floor(8999999999999 * Math.random()) + 1e12), navigationType: n };
|
|
12626
12626
|
}, Wt = function(e, t, i) {
|
|
12627
12627
|
try {
|
|
@@ -12709,7 +12709,7 @@ var Be, zt, $c, Zn, cr, qc = -1, nt = function(e) {
|
|
|
12709
12709
|
});
|
|
12710
12710
|
}), setTimeout(i, 0));
|
|
12711
12711
|
}));
|
|
12712
|
-
},
|
|
12712
|
+
}, Kt = { passive: !0, capture: !0 }, bg = /* @__PURE__ */ new Date(), Vl = function(e, t) {
|
|
12713
12713
|
Be || (Be = t, zt = e, $c = /* @__PURE__ */ new Date(), iu(removeEventListener), tu());
|
|
12714
12714
|
}, tu = function() {
|
|
12715
12715
|
if (zt >= 0 && zt < $c - bg) {
|
|
@@ -12727,14 +12727,14 @@ var Be, zt, $c, Zn, cr, qc = -1, nt = function(e) {
|
|
|
12727
12727
|
}, r = function() {
|
|
12728
12728
|
l();
|
|
12729
12729
|
}, l = function() {
|
|
12730
|
-
removeEventListener("pointerup", s,
|
|
12730
|
+
removeEventListener("pointerup", s, Kt), removeEventListener("pointercancel", r, Kt);
|
|
12731
12731
|
};
|
|
12732
|
-
addEventListener("pointerup", s,
|
|
12732
|
+
addEventListener("pointerup", s, Kt), addEventListener("pointercancel", r, Kt);
|
|
12733
12733
|
}(t, e) : Vl(t, e);
|
|
12734
12734
|
}
|
|
12735
12735
|
}, iu = function(e) {
|
|
12736
12736
|
["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(t) {
|
|
12737
|
-
return e(t, fg,
|
|
12737
|
+
return e(t, fg, Kt);
|
|
12738
12738
|
});
|
|
12739
12739
|
}, Gl = [100, 300], yg = function(e, t) {
|
|
12740
12740
|
t = t || {}, ai(function() {
|
|
@@ -12827,7 +12827,7 @@ var Be, zt, $c, Zn, cr, qc = -1, nt = function(e) {
|
|
|
12827
12827
|
t = t || {};
|
|
12828
12828
|
var i = Se("TTFB"), n = Ve(e, i, wl, t.reportAllChanges);
|
|
12829
12829
|
Vg(function() {
|
|
12830
|
-
var s =
|
|
12830
|
+
var s = Or();
|
|
12831
12831
|
if (s) {
|
|
12832
12832
|
var r = s.responseStart;
|
|
12833
12833
|
if (r <= 0 || r > performance.now()) return;
|
|
@@ -13044,7 +13044,7 @@ class Jg {
|
|
|
13044
13044
|
((c = a.data.response) == null ? void 0 : c.type) === Le.AsyncEvents ? (this._eventBytesSinceSnapshot += a.data.response.eventsSize, this.logger.log(`Web worker sent payloadID ${a.data.response.id} size ${a.data.response.eventsSize} bytes, compression ratio ${a.data.response.eventsSize / a.data.response.compressedSize}.
|
|
13045
13045
|
Total since snapshot: ${(this._eventBytesSinceSnapshot / 1e6).toFixed(1)}MB`)) : ((u = a.data.response) == null ? void 0 : u.type) === Le.CustomEvent ? this.addCustomEvent(a.data.response.tag, a.data.response.payload) : ((h = a.data.response) == null ? void 0 : h.type) === Le.Stop && (Ut("Stopping recording due to worker failure", a.data.response), this.stop(!1));
|
|
13046
13046
|
};
|
|
13047
|
-
let o =
|
|
13047
|
+
let o = Oi();
|
|
13048
13048
|
if (this.reloaded = !1, !((r = this.sessionData) != null && r.sessionSecureID) && o != null && o.sessionSecureID)
|
|
13049
13049
|
this.sessionData = o, this.options.sessionSecureID = o.sessionSecureID, this.reloaded = !0, this.logger.log(`Tab reloaded, continuing previous session: ${this.sessionData.sessionSecureID}`);
|
|
13050
13050
|
else {
|
|
@@ -13146,7 +13146,7 @@ class Jg {
|
|
|
13146
13146
|
yield this._reset(t);
|
|
13147
13147
|
return;
|
|
13148
13148
|
}
|
|
13149
|
-
this.logger.log("Initializing...", t, this.sessionData, this.options), this.sessionData = (s =
|
|
13149
|
+
this.logger.log("Initializing...", t, this.sessionData, this.options), this.sessionData = (s = Oi(this.sessionData.sessionSecureID)) != null ? s : this.sessionData, (r = this.sessionData) != null && r.sessionStartTime ? this._recordingStartTime = (l = this.sessionData) == null ? void 0 : l.sessionStartTime : (this._recordingStartTime = (/* @__PURE__ */ new Date()).getTime(), this.sessionData.sessionStartTime = this._recordingStartTime), Ki(""), lt(this.sessionData);
|
|
13150
13150
|
let u = Ie(Qi.CLIENT_ID);
|
|
13151
13151
|
u || (u = Xs(), Fe(Qi.CLIENT_ID, u));
|
|
13152
13152
|
let h;
|
|
@@ -13210,7 +13210,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`), this.options.sessionSecu
|
|
|
13210
13210
|
const d = !!this._recordStop;
|
|
13211
13211
|
this._recordStop && (this._recordStop(), this._recordStop = void 0);
|
|
13212
13212
|
const [I, Z] = $y(this.privacySetting);
|
|
13213
|
-
this._recordStop =
|
|
13213
|
+
this._recordStop = Ke({
|
|
13214
13214
|
ignoreClass: "highlight-ignore",
|
|
13215
13215
|
blockClass: "highlight-block",
|
|
13216
13216
|
emit: b,
|
|
@@ -13349,11 +13349,11 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`), this.options.sessionSecu
|
|
|
13349
13349
|
this._isOnLocalHost && (console.error(n), Ut("initializeSession _setupWindowListeners", n));
|
|
13350
13350
|
}
|
|
13351
13351
|
const i = () => {
|
|
13352
|
-
this.addCustomEvent("Page Unload", ""),
|
|
13352
|
+
this.addCustomEvent("Page Unload", ""), Ki(this.sessionData.sessionSecureID), lt(this.sessionData);
|
|
13353
13353
|
};
|
|
13354
13354
|
if (window.addEventListener("beforeunload", i), this.listeners.push(() => window.removeEventListener("beforeunload", i)), navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i)) {
|
|
13355
13355
|
const n = () => {
|
|
13356
|
-
this.addCustomEvent("Page Unload", ""),
|
|
13356
|
+
this.addCustomEvent("Page Unload", ""), Ki(this.sessionData.sessionSecureID), lt(this.sessionData);
|
|
13357
13357
|
};
|
|
13358
13358
|
window.addEventListener("pagehide", n), this.listeners.push(() => window.removeEventListener("beforeunload", n));
|
|
13359
13359
|
}
|
|
@@ -13416,7 +13416,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`), this.options.sessionSecu
|
|
|
13416
13416
|
}
|
|
13417
13417
|
snapshot(t) {
|
|
13418
13418
|
return le(this, null, function* () {
|
|
13419
|
-
yield
|
|
13419
|
+
yield Ke.snapshotCanvas(t);
|
|
13420
13420
|
});
|
|
13421
13421
|
}
|
|
13422
13422
|
addSessionFeedback({ timestamp: t, verbatim: i, user_email: n, user_name: s }) {
|
|
@@ -13521,7 +13521,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`);
|
|
|
13521
13521
|
this.logger.log("taking full snapshot", {
|
|
13522
13522
|
bytesSinceSnapshot: this._eventBytesSinceSnapshot,
|
|
13523
13523
|
lastSnapshotTime: this._lastSnapshotTime
|
|
13524
|
-
}),
|
|
13524
|
+
}), Ke.takeFullSnapshot(), this._eventBytesSinceSnapshot = 0, this._lastSnapshotTime = (/* @__PURE__ */ new Date()).getTime();
|
|
13525
13525
|
}
|
|
13526
13526
|
register(t, i) {
|
|
13527
13527
|
this._integrations.push(new Rd(t, i));
|
|
@@ -13537,7 +13537,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`);
|
|
|
13537
13537
|
return (t = this == null ? void 0 : this.state) != null ? t : "NotRecording";
|
|
13538
13538
|
}
|
|
13539
13539
|
getSession() {
|
|
13540
|
-
const t = this.sessionData.sessionSecureID, i =
|
|
13540
|
+
const t = this.sessionData.sessionSecureID, i = Oi(t);
|
|
13541
13541
|
if (!i)
|
|
13542
13542
|
return null;
|
|
13543
13543
|
const n = `https://${Pn}/${i.projectID}/sessions/${t}`;
|
|
@@ -13551,7 +13551,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`);
|
|
|
13551
13551
|
};
|
|
13552
13552
|
}
|
|
13553
13553
|
}
|
|
13554
|
-
class
|
|
13554
|
+
class Dg extends Cd {
|
|
13555
13555
|
constructor(t, i) {
|
|
13556
13556
|
var n, s, r, l, o, a, c, u;
|
|
13557
13557
|
if (!t) {
|
|
@@ -13612,6 +13612,6 @@ class Bg extends Cd {
|
|
|
13612
13612
|
}
|
|
13613
13613
|
export {
|
|
13614
13614
|
Ft as LDRecord,
|
|
13615
|
-
|
|
13615
|
+
Dg as default
|
|
13616
13616
|
};
|
|
13617
13617
|
//# sourceMappingURL=session-replay.js.map
|