@launchdarkly/session-replay 0.1.15 → 0.1.16
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 +10 -0
- package/dist/session-replay.js +235 -237
- package/dist/session-replay.js.map +1 -1
- package/package.json +2 -2
package/dist/session-replay.js
CHANGED
|
@@ -24,7 +24,7 @@ const Ie = (e, t, ...i) => {
|
|
|
24
24
|
} catch {
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
let xl = class {
|
|
28
28
|
constructor(t, i) {
|
|
29
29
|
Fe(this, "debug"), Fe(this, "name"), this.debug = t, this.name = i;
|
|
30
30
|
}
|
|
@@ -38,7 +38,7 @@ class xl {
|
|
|
38
38
|
let i = `[${Date.now()}]`;
|
|
39
39
|
this.name && (i += ` - ${this.name}`), console.warn.apply(console, [i, ...t]);
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
42
|
class dr {
|
|
43
43
|
constructor() {
|
|
44
44
|
Fe(this, "_sdk"), Fe(this, "_isLoaded", !1), Fe(this, "_callBuffer", []), Fe(this, "_capacity", 1e5), Fe(this, "_droppedEvents", 0), Fe(this, "_exceededCapacity", !1), Fe(this, "_logger", new xl());
|
|
@@ -130,10 +130,10 @@ function Gu(e, t) {
|
|
|
130
130
|
function Mi(e, t) {
|
|
131
131
|
throw new Error(t);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Wu(e) {
|
|
134
134
|
return typeof e == "object" && e !== null;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Xu(e, t) {
|
|
137
137
|
throw new Error(
|
|
138
138
|
"Unexpected invariant triggered."
|
|
139
139
|
);
|
|
@@ -142,7 +142,7 @@ const Cu = /\r\n|[\n\r]/g;
|
|
|
142
142
|
function ys(e, t) {
|
|
143
143
|
let i = 0, n = 1;
|
|
144
144
|
for (const s of e.body.matchAll(Cu)) {
|
|
145
|
-
if (typeof s.index == "number" ||
|
|
145
|
+
if (typeof s.index == "number" || Xu(), s.index >= t)
|
|
146
146
|
break;
|
|
147
147
|
i = s.index + s[0].length, n += 1;
|
|
148
148
|
}
|
|
@@ -244,7 +244,7 @@ class hr extends Error {
|
|
|
244
244
|
(n = this.nodes) === null || n === void 0 ? void 0 : n.map((b) => b.loc).filter((b) => b != null)
|
|
245
245
|
);
|
|
246
246
|
this.source = o ?? (p == null || (s = p[0]) === null || s === void 0 ? void 0 : s.source), this.positions = a ?? p?.map((b) => b.start), this.locations = a && o ? a.map((b) => ys(o, b)) : p?.map((b) => ys(b.source, b.start));
|
|
247
|
-
const m =
|
|
247
|
+
const m = Wu(
|
|
248
248
|
u?.extensions
|
|
249
249
|
) ? u?.extensions : void 0;
|
|
250
250
|
this.extensions = (r = h ?? m) !== null && r !== void 0 ? r : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
|
|
@@ -568,10 +568,10 @@ let Ju = class {
|
|
|
568
568
|
function Yu(e) {
|
|
569
569
|
return e === g.BANG || e === g.DOLLAR || e === g.AMP || e === g.PAREN_L || e === g.PAREN_R || e === g.SPREAD || e === g.COLON || e === g.EQUALS || e === g.AT || e === g.BRACKET_L || e === g.BRACKET_R || e === g.BRACE_L || e === g.PIPE || e === g.BRACE_R;
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Xt(e) {
|
|
572
572
|
return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function Wn(e, t) {
|
|
575
575
|
return Kl(e.charCodeAt(t)) && Ol(e.charCodeAt(t + 1));
|
|
576
576
|
}
|
|
577
577
|
function Kl(e) {
|
|
@@ -654,7 +654,7 @@ function Uu(e, t) {
|
|
|
654
654
|
throw ae(
|
|
655
655
|
e.source,
|
|
656
656
|
s,
|
|
657
|
-
r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` :
|
|
657
|
+
r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Xt(r) || Wn(i, s) ? `Unexpected character: ${et(e, s)}.` : `Invalid character: ${et(e, s)}.`
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
660
|
return oe(e, g.EOF, n, n);
|
|
@@ -666,9 +666,9 @@ function Fu(e, t) {
|
|
|
666
666
|
const r = i.charCodeAt(s);
|
|
667
667
|
if (r === 10 || r === 13)
|
|
668
668
|
break;
|
|
669
|
-
if (
|
|
669
|
+
if (Xt(r))
|
|
670
670
|
++s;
|
|
671
|
-
else if (
|
|
671
|
+
else if (Wn(i, s))
|
|
672
672
|
s += 2;
|
|
673
673
|
else
|
|
674
674
|
break;
|
|
@@ -744,9 +744,9 @@ function Ou(e, t) {
|
|
|
744
744
|
}
|
|
745
745
|
if (o === 10 || o === 13)
|
|
746
746
|
break;
|
|
747
|
-
if (
|
|
747
|
+
if (Xt(o))
|
|
748
748
|
++s;
|
|
749
|
-
else if (
|
|
749
|
+
else if (Wn(i, s))
|
|
750
750
|
s += 2;
|
|
751
751
|
else
|
|
752
752
|
throw ae(
|
|
@@ -766,7 +766,7 @@ function Mu(e, t) {
|
|
|
766
766
|
for (; s < 12; ) {
|
|
767
767
|
const r = i.charCodeAt(t + s++);
|
|
768
768
|
if (r === 125) {
|
|
769
|
-
if (s < 5 || !
|
|
769
|
+
if (s < 5 || !Xt(n))
|
|
770
770
|
break;
|
|
771
771
|
return {
|
|
772
772
|
value: String.fromCodePoint(n),
|
|
@@ -787,7 +787,7 @@ function Mu(e, t) {
|
|
|
787
787
|
}
|
|
788
788
|
function Eu(e, t) {
|
|
789
789
|
const i = e.source.body, n = qr(i, t + 2);
|
|
790
|
-
if (
|
|
790
|
+
if (Xt(n))
|
|
791
791
|
return {
|
|
792
792
|
value: String.fromCodePoint(n),
|
|
793
793
|
size: 6
|
|
@@ -893,9 +893,9 @@ function zu(e, t) {
|
|
|
893
893
|
o += i.slice(l, r), a.push(o), c === 13 && i.charCodeAt(r + 1) === 10 ? r += 2 : ++r, o = "", l = r, s = r;
|
|
894
894
|
continue;
|
|
895
895
|
}
|
|
896
|
-
if (
|
|
896
|
+
if (Xt(c))
|
|
897
897
|
++r;
|
|
898
|
-
else if (
|
|
898
|
+
else if (Wn(i, r))
|
|
899
899
|
r += 2;
|
|
900
900
|
else
|
|
901
901
|
throw ae(
|
|
@@ -929,9 +929,9 @@ function Pu(e, t) {
|
|
|
929
929
|
}
|
|
930
930
|
const Bu = 10, Ml = 2;
|
|
931
931
|
function pr(e) {
|
|
932
|
-
return
|
|
932
|
+
return Xn(e, []);
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function Xn(e, t) {
|
|
935
935
|
switch (typeof e) {
|
|
936
936
|
case "string":
|
|
937
937
|
return JSON.stringify(e);
|
|
@@ -952,7 +952,7 @@ function Du(e, t) {
|
|
|
952
952
|
if (ju(e)) {
|
|
953
953
|
const n = e.toJSON();
|
|
954
954
|
if (n !== e)
|
|
955
|
-
return typeof n == "string" ? n :
|
|
955
|
+
return typeof n == "string" ? n : Xn(n, i);
|
|
956
956
|
} else if (Array.isArray(e))
|
|
957
957
|
return Au(e, i);
|
|
958
958
|
return Qu(e, i);
|
|
@@ -963,7 +963,7 @@ function ju(e) {
|
|
|
963
963
|
function Qu(e, t) {
|
|
964
964
|
const i = Object.entries(e);
|
|
965
965
|
return i.length === 0 ? "{}" : t.length > Ml ? "[" + _u(e) + "]" : "{ " + i.map(
|
|
966
|
-
([n, s]) => n + ": " +
|
|
966
|
+
([n, s]) => n + ": " + Xn(s, t)
|
|
967
967
|
).join(", ") + " }";
|
|
968
968
|
}
|
|
969
969
|
function Au(e, t) {
|
|
@@ -973,7 +973,7 @@ function Au(e, t) {
|
|
|
973
973
|
return "[Array]";
|
|
974
974
|
const i = Math.min(Bu, e.length), n = e.length - i, s = [];
|
|
975
975
|
for (let r = 0; r < i; ++r)
|
|
976
|
-
s.push(
|
|
976
|
+
s.push(Xn(e[r], t));
|
|
977
977
|
return n === 1 ? s.push("... 1 more item") : n > 1 && s.push(`... ${n} more items`), "[" + s.join(", ") + "]";
|
|
978
978
|
}
|
|
979
979
|
function _u(e) {
|
|
@@ -2336,18 +2336,18 @@ function od(e, t, i = Yl) {
|
|
|
2336
2336
|
if (u = m.length === 0 ? void 0 : p[p.length - 1], c = h, h = m.pop(), V)
|
|
2337
2337
|
if (r) {
|
|
2338
2338
|
c = c.slice();
|
|
2339
|
-
let
|
|
2339
|
+
let X = 0;
|
|
2340
2340
|
for (const [G, v] of a) {
|
|
2341
|
-
const k = G -
|
|
2342
|
-
v === null ? (c.splice(k, 1),
|
|
2341
|
+
const k = G - X;
|
|
2342
|
+
v === null ? (c.splice(k, 1), X++) : c[k] = v;
|
|
2343
2343
|
}
|
|
2344
2344
|
} else {
|
|
2345
2345
|
c = Object.defineProperties(
|
|
2346
2346
|
{},
|
|
2347
2347
|
Object.getOwnPropertyDescriptors(c)
|
|
2348
2348
|
);
|
|
2349
|
-
for (const [
|
|
2350
|
-
c[
|
|
2349
|
+
for (const [X, G] of a)
|
|
2350
|
+
c[X] = G;
|
|
2351
2351
|
}
|
|
2352
2352
|
o = s.index, l = s.keys, a = s.edits, r = s.inArray, s = s.prev;
|
|
2353
2353
|
} else if (h) {
|
|
@@ -2359,8 +2359,8 @@ function od(e, t, i = Yl) {
|
|
|
2359
2359
|
if (!Array.isArray(c)) {
|
|
2360
2360
|
var b, d;
|
|
2361
2361
|
$r(c) || Mi(!1, `Invalid AST Node: ${pr(c)}.`);
|
|
2362
|
-
const
|
|
2363
|
-
if (C =
|
|
2362
|
+
const X = Z ? (b = n.get(c.kind)) === null || b === void 0 ? void 0 : b.leave : (d = n.get(c.kind)) === null || d === void 0 ? void 0 : d.enter;
|
|
2363
|
+
if (C = X?.call(t, c, u, h, p, m), C === rd)
|
|
2364
2364
|
break;
|
|
2365
2365
|
if (C === !1) {
|
|
2366
2366
|
if (!Z) {
|
|
@@ -2842,7 +2842,7 @@ var Is = { exports: {} };
|
|
|
2842
2842
|
T[_] = String.fromCharCode(y[_]);
|
|
2843
2843
|
return T.join("");
|
|
2844
2844
|
}
|
|
2845
|
-
function
|
|
2845
|
+
function X(f) {
|
|
2846
2846
|
if (f.slice)
|
|
2847
2847
|
return f.slice(0);
|
|
2848
2848
|
var y = new Uint8Array(f.byteLength);
|
|
@@ -2850,7 +2850,7 @@ var Is = { exports: {} };
|
|
|
2850
2850
|
}
|
|
2851
2851
|
function G() {
|
|
2852
2852
|
return this.bodyUsed = !1, this._initBody = function(f) {
|
|
2853
|
-
this._bodyInit = f, f ? typeof f == "string" ? this._bodyText = f : o.blob && Blob.prototype.isPrototypeOf(f) ? this._bodyBlob = f : o.formData && FormData.prototype.isPrototypeOf(f) ? this._bodyFormData = f : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) ? this._bodyText = f.toString() : o.arrayBuffer && o.blob && a(f) ? (this._bodyArrayBuffer =
|
|
2853
|
+
this._bodyInit = f, f ? typeof f == "string" ? this._bodyText = f : o.blob && Blob.prototype.isPrototypeOf(f) ? this._bodyBlob = f : o.formData && FormData.prototype.isPrototypeOf(f) ? this._bodyFormData = f : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) ? this._bodyText = f.toString() : o.arrayBuffer && o.blob && a(f) ? (this._bodyArrayBuffer = X(f.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : o.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(f) || u(f)) ? this._bodyArrayBuffer = X(f) : this._bodyText = f = Object.prototype.toString.call(f) : this._bodyText = "", this.headers.get("content-type") || (typeof f == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2854
2854
|
}, o.blob && (this.blob = function() {
|
|
2855
2855
|
var f = d(this);
|
|
2856
2856
|
if (f)
|
|
@@ -2876,7 +2876,7 @@ var Is = { exports: {} };
|
|
|
2876
2876
|
throw new Error("could not read FormData body as text");
|
|
2877
2877
|
return Promise.resolve(this._bodyText);
|
|
2878
2878
|
}, o.formData && (this.formData = function() {
|
|
2879
|
-
return this.text().then(
|
|
2879
|
+
return this.text().then(W);
|
|
2880
2880
|
}), this.json = function() {
|
|
2881
2881
|
return this.text().then(JSON.parse);
|
|
2882
2882
|
}, this;
|
|
@@ -2902,7 +2902,7 @@ var Is = { exports: {} };
|
|
|
2902
2902
|
K.prototype.clone = function() {
|
|
2903
2903
|
return new K(this, { body: this._bodyInit });
|
|
2904
2904
|
};
|
|
2905
|
-
function
|
|
2905
|
+
function W(f) {
|
|
2906
2906
|
var y = new FormData();
|
|
2907
2907
|
return f.trim().split("&").forEach(function(T) {
|
|
2908
2908
|
if (T) {
|
|
@@ -2967,16 +2967,16 @@ var Is = { exports: {} };
|
|
|
2967
2967
|
headers: w(U.getAllResponseHeaders() || "")
|
|
2968
2968
|
};
|
|
2969
2969
|
ie.url = "responseURL" in U ? U.responseURL : ie.headers.get("X-Request-URL");
|
|
2970
|
-
var
|
|
2971
|
-
T(new Y(
|
|
2970
|
+
var Xe = "response" in U ? U.response : U.responseText;
|
|
2971
|
+
T(new Y(Xe, ie));
|
|
2972
2972
|
}, U.onerror = function() {
|
|
2973
2973
|
_(new TypeError("Network request failed"));
|
|
2974
2974
|
}, U.ontimeout = function() {
|
|
2975
2975
|
_(new TypeError("Network request failed"));
|
|
2976
2976
|
}, U.onabort = function() {
|
|
2977
2977
|
_(new l.DOMException("Aborted", "AbortError"));
|
|
2978
|
-
}, U.open(B.method, B.url, !0), B.credentials === "include" ? U.withCredentials = !0 : B.credentials === "omit" && (U.withCredentials = !1), "responseType" in U && o.blob && (U.responseType = "blob"), B.headers.forEach(function(ie,
|
|
2979
|
-
U.setRequestHeader(
|
|
2978
|
+
}, U.open(B.method, B.url, !0), B.credentials === "include" ? U.withCredentials = !0 : B.credentials === "omit" && (U.withCredentials = !1), "responseType" in U && o.blob && (U.responseType = "blob"), B.headers.forEach(function(ie, Xe) {
|
|
2979
|
+
U.setRequestHeader(Xe, ie);
|
|
2980
2980
|
}), B.signal && (B.signal.addEventListener("abort", $), U.onreadystatechange = function() {
|
|
2981
2981
|
U.readyState === 4 && B.signal.removeEventListener("abort", $);
|
|
2982
2982
|
}), U.send(typeof B._bodyInit > "u" ? null : B._bodyInit);
|
|
@@ -3176,14 +3176,14 @@ var tn = function() {
|
|
|
3176
3176
|
function Ql(e) {
|
|
3177
3177
|
return e.replace(/[\s,]+/g, " ").trim();
|
|
3178
3178
|
}
|
|
3179
|
-
function
|
|
3179
|
+
function Wd(e) {
|
|
3180
3180
|
return Ql(e.source.body.substring(e.start, e.end));
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function Xd(e) {
|
|
3183
3183
|
var t = /* @__PURE__ */ new Set(), i = [];
|
|
3184
3184
|
return e.definitions.forEach(function(n) {
|
|
3185
3185
|
if (n.kind === "FragmentDefinition") {
|
|
3186
|
-
var s = n.name.value, r =
|
|
3186
|
+
var s = n.name.value, r = Wd(n.loc), l = Vs.get(s);
|
|
3187
3187
|
l && !l.has(r) ? jl && console.warn("Warning: fragment with name " + s + ` already exists.
|
|
3188
3188
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
3189
3189
|
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : l || Vs.set(s, l = /* @__PURE__ */ new Set()), l.add(r), t.has(r) || (t.add(r), i.push(n));
|
|
@@ -3211,7 +3211,7 @@ function Rd(e) {
|
|
|
3211
3211
|
});
|
|
3212
3212
|
if (!i || i.kind !== "Document")
|
|
3213
3213
|
throw new Error("Not a valid GraphQL document.");
|
|
3214
|
-
Pi.set(t, Cd(
|
|
3214
|
+
Pi.set(t, Cd(Xd(i)));
|
|
3215
3215
|
}
|
|
3216
3216
|
return Pi.get(t);
|
|
3217
3217
|
}
|
|
@@ -3679,8 +3679,8 @@ function Gs(e, t) {
|
|
|
3679
3679
|
}
|
|
3680
3680
|
);
|
|
3681
3681
|
}
|
|
3682
|
-
var An = Gs(_d, { path: "/" }),
|
|
3683
|
-
let br = "localStorage",
|
|
3682
|
+
var An = Gs(_d, { path: "/" }), Ws = /* @__PURE__ */ ((e) => (e.CLIENT_ID = "highlightClientID", e))(Ws || {});
|
|
3683
|
+
let br = "localStorage", Xs = !0, $d = class {
|
|
3684
3684
|
constructor() {
|
|
3685
3685
|
Dt(this, "storage", {});
|
|
3686
3686
|
}
|
|
@@ -3700,13 +3700,13 @@ let br = "localStorage", Ws = !0, $d = class {
|
|
|
3700
3700
|
return (i = An.get(t)) != null ? i : "";
|
|
3701
3701
|
}
|
|
3702
3702
|
setItem(t, i) {
|
|
3703
|
-
if (!
|
|
3703
|
+
if (!Xs)
|
|
3704
3704
|
return;
|
|
3705
3705
|
const n = /* @__PURE__ */ new Date();
|
|
3706
3706
|
n.setTime(n.getTime() + $l), An.set(t, i, { expires: n });
|
|
3707
3707
|
}
|
|
3708
3708
|
removeItem(t) {
|
|
3709
|
-
|
|
3709
|
+
Xs && An.remove(t);
|
|
3710
3710
|
}
|
|
3711
3711
|
};
|
|
3712
3712
|
const Cn = new $d(), sn = new qd(), fr = () => {
|
|
@@ -3723,7 +3723,7 @@ const Cn = new $d(), sn = new qd(), fr = () => {
|
|
|
3723
3723
|
}, eh = (e) => {
|
|
3724
3724
|
br = e;
|
|
3725
3725
|
}, oo = (e) => {
|
|
3726
|
-
|
|
3726
|
+
Xs = e;
|
|
3727
3727
|
}, Ve = (e) => {
|
|
3728
3728
|
try {
|
|
3729
3729
|
return fr().getItem(e);
|
|
@@ -3854,7 +3854,7 @@ function yh(e) {
|
|
|
3854
3854
|
[t]: ta(e[t].key)
|
|
3855
3855
|
})).reduce((t, i) => M(M({}, t), i), {}) : e.key;
|
|
3856
3856
|
}
|
|
3857
|
-
|
|
3857
|
+
let gh = class {
|
|
3858
3858
|
constructor(t, i) {
|
|
3859
3859
|
Dt(this, "client"), Dt(this, "metadata"), this.client = t, this.metadata = i;
|
|
3860
3860
|
}
|
|
@@ -3894,8 +3894,7 @@ class gh {
|
|
|
3894
3894
|
})
|
|
3895
3895
|
);
|
|
3896
3896
|
}
|
|
3897
|
-
}
|
|
3898
|
-
let Zh = class extends dr {
|
|
3897
|
+
}, Zh = class extends dr {
|
|
3899
3898
|
constructor(t, i) {
|
|
3900
3899
|
super(), Dt(this, "client"), this.client = new gh(t, i);
|
|
3901
3900
|
}
|
|
@@ -4033,7 +4032,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4033
4032
|
return Ze;
|
|
4034
4033
|
}
|
|
4035
4034
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4036
|
-
var
|
|
4035
|
+
var Wh = (e, t, i) => new Promise((n, s) => {
|
|
4037
4036
|
var r = (a) => {
|
|
4038
4037
|
try {
|
|
4039
4038
|
o(i.next(a));
|
|
@@ -4054,7 +4053,7 @@ class uo extends dr {
|
|
|
4054
4053
|
return this._isLoaded ? this._bufferCall("getSession", []) : null;
|
|
4055
4054
|
}
|
|
4056
4055
|
start(t) {
|
|
4057
|
-
return
|
|
4056
|
+
return Wh(this, null, function* () {
|
|
4058
4057
|
return this._bufferCall("start", [t]);
|
|
4059
4058
|
});
|
|
4060
4059
|
}
|
|
@@ -4073,7 +4072,7 @@ class uo extends dr {
|
|
|
4073
4072
|
}
|
|
4074
4073
|
let Ft;
|
|
4075
4074
|
typeof globalThis < "u" ? globalThis.LDRecord ? Ft = globalThis.LDRecord : (Ft = new uo(), globalThis.LDRecord = Ft) : Ft = new uo();
|
|
4076
|
-
var
|
|
4075
|
+
var Xh = Object.defineProperty, Ch = Object.defineProperties, Rh = Object.getOwnPropertyDescriptors, rn = Object.getOwnPropertySymbols, sa = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, ws = (e, t, i) => t in e ? Xh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, F = (e, t) => {
|
|
4077
4076
|
for (var i in t || (t = {}))
|
|
4078
4077
|
sa.call(t, i) && ws(e, i, t[i]);
|
|
4079
4078
|
if (rn)
|
|
@@ -4687,7 +4686,7 @@ function fa(e, t, i, n) {
|
|
|
4687
4686
|
}
|
|
4688
4687
|
return !1;
|
|
4689
4688
|
}
|
|
4690
|
-
function
|
|
4689
|
+
function Wp(e, t, i) {
|
|
4691
4690
|
const n = e.contentWindow;
|
|
4692
4691
|
if (!n)
|
|
4693
4692
|
return;
|
|
@@ -4711,7 +4710,7 @@ function Xp(e, t, i) {
|
|
|
4711
4710
|
return setTimeout(t, 0), e.addEventListener("load", t);
|
|
4712
4711
|
e.addEventListener("load", t);
|
|
4713
4712
|
}
|
|
4714
|
-
function
|
|
4713
|
+
function Xp(e, t, i) {
|
|
4715
4714
|
let n = !1, s;
|
|
4716
4715
|
try {
|
|
4717
4716
|
s = e.sheet;
|
|
@@ -4746,7 +4745,7 @@ function Cp(e, t) {
|
|
|
4746
4745
|
newlyAddedElement: Z = !1,
|
|
4747
4746
|
cssCaptured: V = !1,
|
|
4748
4747
|
privacySetting: C
|
|
4749
|
-
} = t,
|
|
4748
|
+
} = t, X = Rp(i, n);
|
|
4750
4749
|
switch (e.nodeType) {
|
|
4751
4750
|
case e.DOCUMENT_NODE:
|
|
4752
4751
|
return e.compatMode !== "CSS1Compat" ? {
|
|
@@ -4764,7 +4763,7 @@ function Cp(e, t) {
|
|
|
4764
4763
|
name: e.name,
|
|
4765
4764
|
publicId: e.publicId,
|
|
4766
4765
|
systemId: e.systemId,
|
|
4767
|
-
rootId:
|
|
4766
|
+
rootId: X
|
|
4768
4767
|
};
|
|
4769
4768
|
case e.ELEMENT_NODE:
|
|
4770
4769
|
return vp(e, {
|
|
@@ -4782,7 +4781,7 @@ function Cp(e, t) {
|
|
|
4782
4781
|
keepIframeSrcFn: I,
|
|
4783
4782
|
newlyAddedElement: Z,
|
|
4784
4783
|
privacySetting: C,
|
|
4785
|
-
rootId:
|
|
4784
|
+
rootId: X
|
|
4786
4785
|
});
|
|
4787
4786
|
case e.TEXT_NODE:
|
|
4788
4787
|
return wp(e, {
|
|
@@ -4790,20 +4789,20 @@ function Cp(e, t) {
|
|
|
4790
4789
|
needsMask: l,
|
|
4791
4790
|
maskTextFn: u,
|
|
4792
4791
|
privacySetting: C,
|
|
4793
|
-
rootId:
|
|
4792
|
+
rootId: X,
|
|
4794
4793
|
cssCaptured: V
|
|
4795
4794
|
});
|
|
4796
4795
|
case e.CDATA_SECTION_NODE:
|
|
4797
4796
|
return {
|
|
4798
4797
|
type: le.CDATA,
|
|
4799
4798
|
textContent: "",
|
|
4800
|
-
rootId:
|
|
4799
|
+
rootId: X
|
|
4801
4800
|
};
|
|
4802
4801
|
case e.COMMENT_NODE:
|
|
4803
4802
|
return {
|
|
4804
4803
|
type: le.Comment,
|
|
4805
4804
|
textContent: ce.textContent(e) || "",
|
|
4806
|
-
rootId:
|
|
4805
|
+
rootId: X
|
|
4807
4806
|
};
|
|
4808
4807
|
default:
|
|
4809
4808
|
return !1;
|
|
@@ -4855,45 +4854,45 @@ function vp(e, t) {
|
|
|
4855
4854
|
} = t;
|
|
4856
4855
|
let Z = Zo(e, n, s);
|
|
4857
4856
|
const V = Zo(e, a, null), C = d === "strict";
|
|
4858
|
-
let
|
|
4857
|
+
let X = Zp(e), G = {};
|
|
4859
4858
|
const v = e.attributes.length;
|
|
4860
|
-
for (let
|
|
4861
|
-
const w = e.attributes[
|
|
4862
|
-
ba(
|
|
4859
|
+
for (let W = 0; W < v; W++) {
|
|
4860
|
+
const w = e.attributes[W];
|
|
4861
|
+
ba(X, w.name) || (G[w.name] = ma(
|
|
4863
4862
|
i,
|
|
4864
|
-
|
|
4863
|
+
X,
|
|
4865
4864
|
yt(w.name),
|
|
4866
4865
|
w.value
|
|
4867
4866
|
));
|
|
4868
4867
|
}
|
|
4869
|
-
if (
|
|
4870
|
-
const
|
|
4868
|
+
if (X === "link" && r) {
|
|
4869
|
+
const W = Array.from(i.styleSheets).find((Y) => Y.href === e.href);
|
|
4871
4870
|
let w = null;
|
|
4872
|
-
|
|
4871
|
+
W && (w = vs(W)), w && (delete G.rel, delete G.href, G._cssText = w);
|
|
4873
4872
|
}
|
|
4874
|
-
if (
|
|
4875
|
-
let
|
|
4873
|
+
if (X === "style" && e.sheet) {
|
|
4874
|
+
let W = vs(
|
|
4876
4875
|
e.sheet
|
|
4877
4876
|
);
|
|
4878
|
-
|
|
4877
|
+
W && (e.childNodes.length > 1 && (W = ap(W, e)), G._cssText = W);
|
|
4879
4878
|
}
|
|
4880
|
-
if (
|
|
4881
|
-
const
|
|
4882
|
-
G.type !== "radio" && G.type !== "checkbox" && G.type !== "submit" && G.type !== "button" &&
|
|
4879
|
+
if (X === "input" || X === "textarea" || X === "select") {
|
|
4880
|
+
const W = e.value, w = e.checked;
|
|
4881
|
+
G.type !== "radio" && G.type !== "checkbox" && G.type !== "submit" && G.type !== "button" && W ? G.value = on({
|
|
4883
4882
|
element: e,
|
|
4884
4883
|
type: ln(e),
|
|
4885
|
-
tagName:
|
|
4886
|
-
value:
|
|
4884
|
+
tagName: X,
|
|
4885
|
+
value: W,
|
|
4887
4886
|
overwriteRecord: e.getAttribute("data-hl-record"),
|
|
4888
4887
|
maskInputOptions: l,
|
|
4889
4888
|
maskInputFn: o
|
|
4890
4889
|
}) : w && (G.checked = w);
|
|
4891
4890
|
}
|
|
4892
|
-
if (
|
|
4891
|
+
if (X === "option" && (e.selected && !l.select ? G.selected = !0 : delete G.selected), X === "dialog" && e.open && (G.rr_open_mode = e.matches("dialog:modal") ? "modal" : "non-modal"), X === "canvas" && p) {
|
|
4893
4892
|
if (e.__context === "2d")
|
|
4894
4893
|
tp(e);
|
|
4895
4894
|
else if (!("__context" in e)) {
|
|
4896
|
-
const
|
|
4895
|
+
const W = e.toDataURL(
|
|
4897
4896
|
c.type,
|
|
4898
4897
|
c.quality
|
|
4899
4898
|
), w = i.createElement("canvas");
|
|
@@ -4902,51 +4901,51 @@ function vp(e, t) {
|
|
|
4902
4901
|
c.type,
|
|
4903
4902
|
c.quality
|
|
4904
4903
|
);
|
|
4905
|
-
|
|
4904
|
+
W !== Y && (G.rr_dataURL = W);
|
|
4906
4905
|
}
|
|
4907
4906
|
}
|
|
4908
|
-
if (
|
|
4907
|
+
if (X === "img" && u && !Z && !V && !C) {
|
|
4909
4908
|
ot || (ot = i.createElement("canvas"), yo = ot.getContext("2d"));
|
|
4910
|
-
const
|
|
4911
|
-
|
|
4909
|
+
const W = e, w = W.currentSrc || W.getAttribute("src") || "<unknown-src>", Y = W.crossOrigin, ee = () => {
|
|
4910
|
+
W.removeEventListener("load", ee);
|
|
4912
4911
|
try {
|
|
4913
|
-
ot.width =
|
|
4912
|
+
ot.width = W.naturalWidth, ot.height = W.naturalHeight, yo.drawImage(W, 0, 0), G.rr_dataURL = ot.toDataURL(
|
|
4914
4913
|
c.type,
|
|
4915
4914
|
c.quality
|
|
4916
4915
|
);
|
|
4917
4916
|
} catch (te) {
|
|
4918
|
-
if (
|
|
4919
|
-
|
|
4917
|
+
if (W.crossOrigin !== "anonymous") {
|
|
4918
|
+
W.crossOrigin = "anonymous", W.complete && W.naturalWidth !== 0 ? ee() : W.addEventListener("load", ee);
|
|
4920
4919
|
return;
|
|
4921
4920
|
} else
|
|
4922
4921
|
console.warn(
|
|
4923
4922
|
`Cannot inline img src=${w}! Error: ${te}`
|
|
4924
4923
|
);
|
|
4925
4924
|
}
|
|
4926
|
-
|
|
4925
|
+
W.crossOrigin === "anonymous" && (Y ? G.crossOrigin = Y : W.removeAttribute("crossorigin"));
|
|
4927
4926
|
};
|
|
4928
|
-
|
|
4927
|
+
W.complete && W.naturalWidth !== 0 ? ee() : W.addEventListener("load", ee);
|
|
4929
4928
|
}
|
|
4930
|
-
if (
|
|
4931
|
-
const
|
|
4932
|
-
|
|
4929
|
+
if (X === "audio" || X === "video") {
|
|
4930
|
+
const W = G;
|
|
4931
|
+
W.rr_mediaState = e.paused ? "paused" : "played", W.rr_mediaCurrentTime = e.currentTime, W.rr_mediaPlaybackRate = e.playbackRate, W.rr_mediaMuted = e.muted, W.rr_mediaLoop = e.loop, W.rr_mediaVolume = e.volume;
|
|
4933
4932
|
}
|
|
4934
|
-
if (b || (e.scrollLeft && (G.rr_scrollLeft = e.scrollLeft), e.scrollTop && (G.rr_scrollTop = e.scrollTop)), Z || V || C && ks(
|
|
4935
|
-
const { width:
|
|
4933
|
+
if (b || (e.scrollLeft && (G.rr_scrollLeft = e.scrollLeft), e.scrollTop && (G.rr_scrollTop = e.scrollTop)), Z || V || C && ks(X)) {
|
|
4934
|
+
const { width: W, height: w } = e.getBoundingClientRect();
|
|
4936
4935
|
G = {
|
|
4937
4936
|
class: G.class,
|
|
4938
|
-
rr_width: `${
|
|
4937
|
+
rr_width: `${W}px`,
|
|
4939
4938
|
rr_height: `${w}px`
|
|
4940
4939
|
};
|
|
4941
4940
|
}
|
|
4942
|
-
C && ks(
|
|
4941
|
+
C && ks(X) && (Z = !0), X === "iframe" && !m(G.src) && (e.contentDocument || (G.rr_src = G.src), delete G.src);
|
|
4943
4942
|
let k;
|
|
4944
4943
|
try {
|
|
4945
|
-
customElements.get(
|
|
4944
|
+
customElements.get(X) && (k = !0);
|
|
4946
4945
|
} catch {
|
|
4947
4946
|
}
|
|
4948
|
-
const K = (
|
|
4949
|
-
const { width: w, height: Y } =
|
|
4947
|
+
const K = (W) => {
|
|
4948
|
+
const { width: w, height: Y } = W.getBoundingClientRect();
|
|
4950
4949
|
G = {
|
|
4951
4950
|
width: w,
|
|
4952
4951
|
height: Y,
|
|
@@ -4955,20 +4954,20 @@ function vp(e, t) {
|
|
|
4955
4954
|
rr_inlined_video: !0,
|
|
4956
4955
|
class: G.class,
|
|
4957
4956
|
style: G.style
|
|
4958
|
-
},
|
|
4957
|
+
}, X = "canvas";
|
|
4959
4958
|
const ee = i.createElement("canvas");
|
|
4960
4959
|
ee.width = e.width, ee.height = e.height, G.rr_dataURL = ee.toDataURL(
|
|
4961
4960
|
c.type,
|
|
4962
4961
|
c.quality
|
|
4963
4962
|
);
|
|
4964
4963
|
};
|
|
4965
|
-
if (
|
|
4966
|
-
const
|
|
4967
|
-
u && (
|
|
4964
|
+
if (X === "video") {
|
|
4965
|
+
const W = e;
|
|
4966
|
+
u && (W.src === "" || W.src.indexOf("blob:") !== -1) && K(W), h && W.src !== "" && W.src.indexOf("blob:") === -1 && K(W);
|
|
4968
4967
|
}
|
|
4969
4968
|
return {
|
|
4970
4969
|
type: le.Element,
|
|
4971
|
-
tagName:
|
|
4970
|
+
tagName: X,
|
|
4972
4971
|
attributes: G,
|
|
4973
4972
|
childNodes: [],
|
|
4974
4973
|
isSVG: Gp(e) || void 0,
|
|
@@ -5010,12 +5009,12 @@ function dt(e, t) {
|
|
|
5010
5009
|
recordCanvas: Z = !1,
|
|
5011
5010
|
onSerialize: V,
|
|
5012
5011
|
onIframeLoad: C,
|
|
5013
|
-
iframeLoadTimeout:
|
|
5012
|
+
iframeLoadTimeout: X = 5e3,
|
|
5014
5013
|
onStylesheetLoad: G,
|
|
5015
5014
|
stylesheetLoadTimeout: v = 5e3,
|
|
5016
5015
|
keepIframeSrcFn: k = () => !1,
|
|
5017
5016
|
newlyAddedElement: K = !1,
|
|
5018
|
-
cssCaptured:
|
|
5017
|
+
cssCaptured: W = !1,
|
|
5019
5018
|
privacySetting: w
|
|
5020
5019
|
} = t;
|
|
5021
5020
|
let { needsMask: Y } = t, { preserveWhiteSpace: ee = !0 } = t;
|
|
@@ -5042,7 +5041,7 @@ function dt(e, t) {
|
|
|
5042
5041
|
recordCanvas: Z,
|
|
5043
5042
|
keepIframeSrcFn: k,
|
|
5044
5043
|
newlyAddedElement: K,
|
|
5045
|
-
cssCaptured:
|
|
5044
|
+
cssCaptured: W,
|
|
5046
5045
|
privacySetting: w
|
|
5047
5046
|
});
|
|
5048
5047
|
if (!te)
|
|
@@ -5086,7 +5085,7 @@ function dt(e, t) {
|
|
|
5086
5085
|
preserveWhiteSpace: ee,
|
|
5087
5086
|
onSerialize: V,
|
|
5088
5087
|
onIframeLoad: C,
|
|
5089
|
-
iframeLoadTimeout:
|
|
5088
|
+
iframeLoadTimeout: X,
|
|
5090
5089
|
onStylesheetLoad: G,
|
|
5091
5090
|
stylesheetLoadTimeout: v,
|
|
5092
5091
|
keepIframeSrcFn: k,
|
|
@@ -5095,20 +5094,20 @@ function dt(e, t) {
|
|
|
5095
5094
|
};
|
|
5096
5095
|
if (!(y.type === le.Element && y.tagName === "textarea" && y.attributes.value !== void 0)) {
|
|
5097
5096
|
y.type === le.Element && y.attributes._cssText !== void 0 && typeof y.attributes._cssText == "string" && ($.cssCaptured = !0);
|
|
5098
|
-
for (const
|
|
5099
|
-
const He = dt(
|
|
5097
|
+
for (const Xe of Array.from(ce.childNodes(e))) {
|
|
5098
|
+
const He = dt(Xe, $);
|
|
5100
5099
|
He && y.childNodes.push(He);
|
|
5101
5100
|
}
|
|
5102
5101
|
}
|
|
5103
5102
|
let ie = null;
|
|
5104
5103
|
if (la(e) && (ie = ce.shadowRoot(e)))
|
|
5105
|
-
for (const
|
|
5106
|
-
const He = dt(
|
|
5104
|
+
for (const Xe of Array.from(ce.childNodes(ie))) {
|
|
5105
|
+
const He = dt(Xe, $);
|
|
5107
5106
|
He && (Ht(ie) && (He.isShadow = !0), y.childNodes.push(He));
|
|
5108
5107
|
}
|
|
5109
5108
|
}
|
|
5110
5109
|
const U = ce.parentNode(e);
|
|
5111
|
-
return U && Et(U) && Ht(U) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" &&
|
|
5110
|
+
return U && Et(U) && Ht(U) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" && Wp(
|
|
5112
5111
|
e,
|
|
5113
5112
|
() => {
|
|
5114
5113
|
const $ = e.contentDocument;
|
|
@@ -5134,7 +5133,7 @@ function dt(e, t) {
|
|
|
5134
5133
|
preserveWhiteSpace: ee,
|
|
5135
5134
|
onSerialize: V,
|
|
5136
5135
|
onIframeLoad: C,
|
|
5137
|
-
iframeLoadTimeout:
|
|
5136
|
+
iframeLoadTimeout: X,
|
|
5138
5137
|
onStylesheetLoad: G,
|
|
5139
5138
|
stylesheetLoadTimeout: v,
|
|
5140
5139
|
keepIframeSrcFn: k,
|
|
@@ -5146,8 +5145,8 @@ function dt(e, t) {
|
|
|
5146
5145
|
);
|
|
5147
5146
|
}
|
|
5148
5147
|
},
|
|
5149
|
-
|
|
5150
|
-
), y.type === le.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ua(y.attributes.href) === "css") &&
|
|
5148
|
+
X
|
|
5149
|
+
), y.type === le.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ua(y.attributes.href) === "css") && Xp(
|
|
5151
5150
|
e,
|
|
5152
5151
|
() => {
|
|
5153
5152
|
if (G) {
|
|
@@ -5172,7 +5171,7 @@ function dt(e, t) {
|
|
|
5172
5171
|
preserveWhiteSpace: ee,
|
|
5173
5172
|
onSerialize: V,
|
|
5174
5173
|
onIframeLoad: C,
|
|
5175
|
-
iframeLoadTimeout:
|
|
5174
|
+
iframeLoadTimeout: X,
|
|
5176
5175
|
onStylesheetLoad: G,
|
|
5177
5176
|
stylesheetLoadTimeout: v,
|
|
5178
5177
|
keepIframeSrcFn: k,
|
|
@@ -5207,7 +5206,7 @@ function xp(e, t) {
|
|
|
5207
5206
|
onSerialize: Z,
|
|
5208
5207
|
onIframeLoad: V,
|
|
5209
5208
|
iframeLoadTimeout: C,
|
|
5210
|
-
onStylesheetLoad:
|
|
5209
|
+
onStylesheetLoad: X,
|
|
5211
5210
|
stylesheetLoadTimeout: G,
|
|
5212
5211
|
keepIframeSrcFn: v = () => !1,
|
|
5213
5212
|
privacySetting: k = "default"
|
|
@@ -5267,7 +5266,7 @@ function xp(e, t) {
|
|
|
5267
5266
|
onSerialize: Z,
|
|
5268
5267
|
onIframeLoad: V,
|
|
5269
5268
|
iframeLoadTimeout: C,
|
|
5270
|
-
onStylesheetLoad:
|
|
5269
|
+
onStylesheetLoad: X,
|
|
5271
5270
|
stylesheetLoadTimeout: G,
|
|
5272
5271
|
keepIframeSrcFn: v,
|
|
5273
5272
|
newlyAddedElement: !1,
|
|
@@ -5796,7 +5795,7 @@ let Hp = vn, Us = class extends Hp {
|
|
|
5796
5795
|
};
|
|
5797
5796
|
var xn = Us;
|
|
5798
5797
|
Us.default = Us;
|
|
5799
|
-
let Ia = kn, Sa = xn, zp = vn, { isClean: Va, my: Ga } = oi, Vr,
|
|
5798
|
+
let Ia = kn, Sa = xn, zp = vn, { isClean: Va, my: Ga } = oi, Vr, Wa, Xa, Gr;
|
|
5800
5799
|
function Ca(e) {
|
|
5801
5800
|
return e.map((t) => (t.nodes && (t.nodes = Ca(t.nodes)), delete t.source, t));
|
|
5802
5801
|
}
|
|
@@ -5881,7 +5880,7 @@ let Me = class wa extends zp {
|
|
|
5881
5880
|
}
|
|
5882
5881
|
normalize(t, i) {
|
|
5883
5882
|
if (typeof t == "string")
|
|
5884
|
-
t = Ca(
|
|
5883
|
+
t = Ca(Wa(t).nodes);
|
|
5885
5884
|
else if (typeof t > "u")
|
|
5886
5885
|
t = [];
|
|
5887
5886
|
else if (Array.isArray(t)) {
|
|
@@ -5995,7 +5994,7 @@ let Me = class wa extends zp {
|
|
|
5995
5994
|
}
|
|
5996
5995
|
};
|
|
5997
5996
|
Me.registerParse = (e) => {
|
|
5998
|
-
|
|
5997
|
+
Wa = e;
|
|
5999
5998
|
};
|
|
6000
5999
|
Me.registerRule = (e) => {
|
|
6001
6000
|
Gr = e;
|
|
@@ -6004,12 +6003,12 @@ Me.registerAtRule = (e) => {
|
|
|
6004
6003
|
Vr = e;
|
|
6005
6004
|
};
|
|
6006
6005
|
Me.registerRoot = (e) => {
|
|
6007
|
-
|
|
6006
|
+
Xa = e;
|
|
6008
6007
|
};
|
|
6009
6008
|
var tt = Me;
|
|
6010
6009
|
Me.default = Me;
|
|
6011
6010
|
Me.rebuild = (e) => {
|
|
6012
|
-
e.type === "atrule" ? Object.setPrototypeOf(e, Vr.prototype) : e.type === "rule" ? Object.setPrototypeOf(e, Gr.prototype) : e.type === "decl" ? Object.setPrototypeOf(e, Sa.prototype) : e.type === "comment" ? Object.setPrototypeOf(e, Ia.prototype) : e.type === "root" && Object.setPrototypeOf(e,
|
|
6011
|
+
e.type === "atrule" ? Object.setPrototypeOf(e, Vr.prototype) : e.type === "rule" ? Object.setPrototypeOf(e, Gr.prototype) : e.type === "decl" ? Object.setPrototypeOf(e, Sa.prototype) : e.type === "comment" ? Object.setPrototypeOf(e, Ia.prototype) : e.type === "root" && Object.setPrototypeOf(e, Xa.prototype), e[Ga] = !0, e.nodes && e.nodes.forEach((t) => {
|
|
6013
6012
|
Me.rebuild(t);
|
|
6014
6013
|
});
|
|
6015
6014
|
};
|
|
@@ -6024,7 +6023,7 @@ let va = tt, dn = class extends va {
|
|
|
6024
6023
|
return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e);
|
|
6025
6024
|
}
|
|
6026
6025
|
};
|
|
6027
|
-
var
|
|
6026
|
+
var Wr = dn;
|
|
6028
6027
|
dn.default = dn;
|
|
6029
6028
|
va.registerAtRule(dn);
|
|
6030
6029
|
let Pp = tt, ka, xa, At = class extends Pp {
|
|
@@ -6041,7 +6040,7 @@ At.registerLazyResult = (e) => {
|
|
|
6041
6040
|
At.registerProcessor = (e) => {
|
|
6042
6041
|
xa = e;
|
|
6043
6042
|
};
|
|
6044
|
-
var
|
|
6043
|
+
var Xr = At;
|
|
6045
6044
|
At.default = At;
|
|
6046
6045
|
let Bp = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Dp = (e = 21) => {
|
|
6047
6046
|
let t = "", i = e | 0;
|
|
@@ -6050,7 +6049,7 @@ let Bp = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Dp
|
|
|
6050
6049
|
return t;
|
|
6051
6050
|
};
|
|
6052
6051
|
var jp = { nanoid: Dp };
|
|
6053
|
-
let { existsSync: Qp, readFileSync: Ap } = ve, { dirname: qn, join: _p } = ve, { SourceMapConsumer: Go, SourceMapGenerator:
|
|
6052
|
+
let { existsSync: Qp, readFileSync: Ap } = ve, { dirname: qn, join: _p } = ve, { SourceMapConsumer: Go, SourceMapGenerator: Wo } = ve;
|
|
6054
6053
|
function $p(e) {
|
|
6055
6054
|
return Buffer ? Buffer.from(e, "base64").toString() : window.atob(e);
|
|
6056
6055
|
}
|
|
@@ -6107,8 +6106,8 @@ let Fs = class {
|
|
|
6107
6106
|
}
|
|
6108
6107
|
} else {
|
|
6109
6108
|
if (t instanceof Go)
|
|
6110
|
-
return
|
|
6111
|
-
if (t instanceof
|
|
6109
|
+
return Wo.fromSourceMap(t).toString();
|
|
6110
|
+
if (t instanceof Wo)
|
|
6112
6111
|
return t.toString();
|
|
6113
6112
|
if (this.isMap(t))
|
|
6114
6113
|
return JSON.stringify(t);
|
|
@@ -6134,7 +6133,7 @@ let Fs = class {
|
|
|
6134
6133
|
};
|
|
6135
6134
|
var Ta = Fs;
|
|
6136
6135
|
Fs.default = Fs;
|
|
6137
|
-
let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsumer: em, SourceMapGenerator: tm } = ve, { fileURLToPath:
|
|
6136
|
+
let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsumer: em, SourceMapGenerator: tm } = ve, { fileURLToPath: Xo, pathToFileURL: Ii } = ve, Co = Sr, im = Ta, es = ve, ts = Symbol("fromOffsetCache"), nm = !!(em && tm), Ro = !!(Os && Ks), hn = class {
|
|
6138
6137
|
get from() {
|
|
6139
6138
|
return this.file || this.id;
|
|
6140
6139
|
}
|
|
@@ -6242,8 +6241,8 @@ let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsum
|
|
|
6242
6241
|
url: o.toString()
|
|
6243
6242
|
};
|
|
6244
6243
|
if (o.protocol === "file:")
|
|
6245
|
-
if (
|
|
6246
|
-
a.file =
|
|
6244
|
+
if (Xo)
|
|
6245
|
+
a.file = Xo(o);
|
|
6247
6246
|
else
|
|
6248
6247
|
throw new Error("file: protocol is not available in this PostCSS build");
|
|
6249
6248
|
let c = s.sourceContentFor(r.source);
|
|
@@ -6324,7 +6323,7 @@ let Ua = tt, sm = Ya, pn = class extends Ua {
|
|
|
6324
6323
|
var Cr = pn;
|
|
6325
6324
|
pn.default = pn;
|
|
6326
6325
|
Ua.registerRule(pn);
|
|
6327
|
-
let rm =
|
|
6326
|
+
let rm = Wr, om = kn, lm = xn, am = Tn, cm = Ta, um = li, dm = Cr;
|
|
6328
6327
|
function $t(e, t) {
|
|
6329
6328
|
if (Array.isArray(e)) return e.map((r) => $t(r));
|
|
6330
6329
|
let i = e, { inputs: n } = i, s = ft(i, ["inputs"]);
|
|
@@ -6515,7 +6514,7 @@ let { dirname: Di, relative: Fa, resolve: Ka, sep: Oa } = ve, { SourceMapConsume
|
|
|
6515
6514
|
}
|
|
6516
6515
|
};
|
|
6517
6516
|
var Ea = fm;
|
|
6518
|
-
const is = 39, vo = 34, Si = 92, ko = 47, Vi = 10, xt = 32, Gi = 12,
|
|
6517
|
+
const is = 39, vo = 34, Si = 92, ko = 47, Vi = 10, xt = 32, Gi = 12, Wi = 9, Xi = 13, ym = 91, gm = 93, Zm = 40, Im = 41, Sm = 123, Vm = 125, Gm = 59, Wm = 42, Xm = 58, Cm = 64, Ci = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ri = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Rm = /.[\r\n"'(/\\]/, xo = /[\da-f]/i;
|
|
6519
6518
|
var wm = function(e, t = {}) {
|
|
6520
6519
|
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 = [];
|
|
6521
6520
|
function V() {
|
|
@@ -6524,7 +6523,7 @@ var wm = function(e, t = {}) {
|
|
|
6524
6523
|
function C(k) {
|
|
6525
6524
|
throw e.error("Unclosed " + k, d);
|
|
6526
6525
|
}
|
|
6527
|
-
function
|
|
6526
|
+
function X() {
|
|
6528
6527
|
return Z.length === 0 && d >= b;
|
|
6529
6528
|
}
|
|
6530
6529
|
function G(k) {
|
|
@@ -6534,13 +6533,13 @@ var wm = function(e, t = {}) {
|
|
|
6534
6533
|
switch (s = i.charCodeAt(d), s) {
|
|
6535
6534
|
case Vi:
|
|
6536
6535
|
case xt:
|
|
6537
|
-
case Xi:
|
|
6538
6536
|
case Wi:
|
|
6537
|
+
case Xi:
|
|
6539
6538
|
case Gi: {
|
|
6540
6539
|
o = d;
|
|
6541
6540
|
do
|
|
6542
6541
|
o += 1, s = i.charCodeAt(o);
|
|
6543
|
-
while (s === xt || s === Vi || s ===
|
|
6542
|
+
while (s === xt || s === Vi || s === Wi || s === Xi || s === Gi);
|
|
6544
6543
|
c = ["space", i.slice(d, o)], d = o - 1;
|
|
6545
6544
|
break;
|
|
6546
6545
|
}
|
|
@@ -6548,15 +6547,15 @@ var wm = function(e, t = {}) {
|
|
|
6548
6547
|
case gm:
|
|
6549
6548
|
case Sm:
|
|
6550
6549
|
case Vm:
|
|
6551
|
-
case
|
|
6550
|
+
case Xm:
|
|
6552
6551
|
case Gm:
|
|
6553
6552
|
case Im: {
|
|
6554
|
-
let
|
|
6555
|
-
c = [
|
|
6553
|
+
let W = String.fromCharCode(s);
|
|
6554
|
+
c = [W, W, d];
|
|
6556
6555
|
break;
|
|
6557
6556
|
}
|
|
6558
6557
|
case Zm: {
|
|
6559
|
-
if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== is && p !== vo && p !== xt && p !== Vi && p !==
|
|
6558
|
+
if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== is && p !== vo && p !== xt && p !== Vi && p !== Wi && p !== Gi && p !== Xi) {
|
|
6560
6559
|
o = d;
|
|
6561
6560
|
do {
|
|
6562
6561
|
if (u = !1, o = i.indexOf(")", o + 1), o === -1)
|
|
@@ -6596,7 +6595,7 @@ var wm = function(e, t = {}) {
|
|
|
6596
6595
|
case Si: {
|
|
6597
6596
|
for (o = d, l = !0; i.charCodeAt(o + 1) === Si; )
|
|
6598
6597
|
o += 1, l = !l;
|
|
6599
|
-
if (s = i.charCodeAt(o + 1), l && s !== ko && s !== xt && s !== Vi && s !==
|
|
6598
|
+
if (s = i.charCodeAt(o + 1), l && s !== ko && s !== xt && s !== Vi && s !== Wi && s !== Xi && s !== Gi && (o += 1, xo.test(i.charAt(o)))) {
|
|
6600
6599
|
for (; xo.test(i.charAt(o + 1)); )
|
|
6601
6600
|
o += 1;
|
|
6602
6601
|
i.charCodeAt(o + 1) === xt && (o += 1);
|
|
@@ -6605,7 +6604,7 @@ var wm = function(e, t = {}) {
|
|
|
6605
6604
|
break;
|
|
6606
6605
|
}
|
|
6607
6606
|
default: {
|
|
6608
|
-
s === ko && i.charCodeAt(d + 1) ===
|
|
6607
|
+
s === ko && i.charCodeAt(d + 1) === Wm ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || K ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ri.lastIndex = d + 1, Ri.test(i), Ri.lastIndex === 0 ? o = i.length - 1 : o = Ri.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], I.push(c), d = o);
|
|
6609
6608
|
break;
|
|
6610
6609
|
}
|
|
6611
6610
|
}
|
|
@@ -6616,12 +6615,12 @@ var wm = function(e, t = {}) {
|
|
|
6616
6615
|
}
|
|
6617
6616
|
return {
|
|
6618
6617
|
back: v,
|
|
6619
|
-
endOfFile:
|
|
6618
|
+
endOfFile: X,
|
|
6620
6619
|
nextToken: G,
|
|
6621
6620
|
position: V
|
|
6622
6621
|
};
|
|
6623
6622
|
};
|
|
6624
|
-
let vm =
|
|
6623
|
+
let vm = Wr, km = kn, xm = xn, Tm = li, To = Cr, Nm = wm;
|
|
6625
6624
|
const No = {
|
|
6626
6625
|
empty: !0,
|
|
6627
6626
|
space: !0
|
|
@@ -6988,7 +6987,7 @@ let Lo = {};
|
|
|
6988
6987
|
var za = function(e) {
|
|
6989
6988
|
Lo[e] || (Lo[e] = !0, typeof console < "u" && console.warn && console.warn(e));
|
|
6990
6989
|
};
|
|
6991
|
-
let Mm = tt, Em =
|
|
6990
|
+
let Mm = tt, Em = Xr, Hm = Ea, zm = Rr, Jo = wr, Pm = li, Bm = wn, { isClean: Te, my: Dm } = oi, jm = za;
|
|
6992
6991
|
const Qm = {
|
|
6993
6992
|
atrule: "AtRule",
|
|
6994
6993
|
comment: "Comment",
|
|
@@ -7403,7 +7402,7 @@ let tb = wn, ib = za, Ps = class {
|
|
|
7403
7402
|
};
|
|
7404
7403
|
var nb = Ps;
|
|
7405
7404
|
Ps.default = Ps;
|
|
7406
|
-
let sb =
|
|
7405
|
+
let sb = Xr, rb = Da, ob = nb, lb = li, qt = class {
|
|
7407
7406
|
constructor(e = []) {
|
|
7408
7407
|
this.version = "8.5.3", this.plugins = this.normalize(e);
|
|
7409
7408
|
}
|
|
@@ -7436,7 +7435,7 @@ var ab = qt;
|
|
|
7436
7435
|
qt.default = qt;
|
|
7437
7436
|
lb.registerProcessor(qt);
|
|
7438
7437
|
sb.registerProcessor(qt);
|
|
7439
|
-
let ja =
|
|
7438
|
+
let ja = Wr, Qa = kn, cb = tt, ub = Sr, Aa = xn, _a = Xr, db = hm, hb = Tn, pb = Da, mb = Ya, bb = vn, fb = Rr, vr = ab, yb = wr, $a = li, qa = Cr, gb = wn, Zb = Ha;
|
|
7440
7439
|
function j(...e) {
|
|
7441
7440
|
return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new vr(e);
|
|
7442
7441
|
}
|
|
@@ -7513,10 +7512,10 @@ var kr = { exports: {} }, J = String, ec = function() {
|
|
|
7513
7512
|
kr.exports = ec();
|
|
7514
7513
|
kr.exports.createColors = ec;
|
|
7515
7514
|
var Gb = kr.exports;
|
|
7516
|
-
const
|
|
7515
|
+
const Wb = {}, Xb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7517
7516
|
__proto__: null,
|
|
7518
|
-
default:
|
|
7519
|
-
}, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Vb(
|
|
7517
|
+
default: Wb
|
|
7518
|
+
}, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Vb(Xb);
|
|
7520
7519
|
let Uo = Gb, Fo = ke, Bs = class tc extends Error {
|
|
7521
7520
|
constructor(t, i, n, s, r, l) {
|
|
7522
7521
|
super(t), this.name = "CssSyntaxError", this.reason = t, r && (this.file = r), s && (this.source = s), l && (this.plugin = l), typeof i < "u" && typeof n < "u" && (typeof i == "number" ? (this.line = i, this.column = n) : (this.line = i.line, this.column = i.column, this.endLine = n.line, this.endColumn = n.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, tc);
|
|
@@ -8569,7 +8568,7 @@ function ii(e, t) {
|
|
|
8569
8568
|
}
|
|
8570
8569
|
var nf = ii;
|
|
8571
8570
|
ii.default = ii;
|
|
8572
|
-
let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsumer:
|
|
8571
|
+
let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsumer: Wc, SourceMapGenerator: Ai } = ke, { pathToFileURL: Po } = ke, sf = Un, rf = !!(Wc && Ai), of = !!(Qi && Vc && Sc && Gc), lf = class {
|
|
8573
8572
|
constructor(e, t, i, n) {
|
|
8574
8573
|
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();
|
|
8575
8574
|
}
|
|
@@ -8585,7 +8584,7 @@ let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsume
|
|
|
8585
8584
|
applyPrevMaps() {
|
|
8586
8585
|
for (let e of this.previous()) {
|
|
8587
8586
|
let t = this.toUrl(this.path(e.file)), i = e.root || Qi(e.file), n;
|
|
8588
|
-
this.mapOpts.sourcesContent === !1 ? (n = new
|
|
8587
|
+
this.mapOpts.sourcesContent === !1 ? (n = new Wc(e.text), n.sourcesContent && (n.sourcesContent = null)) : n = e.consumer(), this.map.applySourceMap(n, t, this.toUrl(this.path(i)));
|
|
8589
8588
|
}
|
|
8590
8589
|
}
|
|
8591
8590
|
clearAnnotation() {
|
|
@@ -8728,7 +8727,7 @@ let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsume
|
|
|
8728
8727
|
return this.memoizedURLs.set(e, i), i;
|
|
8729
8728
|
}
|
|
8730
8729
|
};
|
|
8731
|
-
var
|
|
8730
|
+
var Xc = lf;
|
|
8732
8731
|
const os = 39, Bo = 34, vi = 92, Do = 47, ki = 10, Jt = 32, xi = 12, Ti = 9, Ni = 13, af = 91, cf = 93, uf = 40, df = 41, hf = 123, pf = 125, mf = 59, bf = 42, ff = 58, yf = 64, Li = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, gf = /.[\r\n"'(/\\]/, jo = /[\da-f]/i;
|
|
8733
8732
|
var Zf = function(e, t = {}) {
|
|
8734
8733
|
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 = [];
|
|
@@ -8738,7 +8737,7 @@ var Zf = function(e, t = {}) {
|
|
|
8738
8737
|
function C(k) {
|
|
8739
8738
|
throw e.error("Unclosed " + k, d);
|
|
8740
8739
|
}
|
|
8741
|
-
function
|
|
8740
|
+
function X() {
|
|
8742
8741
|
return Z.length === 0 && d >= b;
|
|
8743
8742
|
}
|
|
8744
8743
|
function G(k) {
|
|
@@ -8765,8 +8764,8 @@ var Zf = function(e, t = {}) {
|
|
|
8765
8764
|
case ff:
|
|
8766
8765
|
case mf:
|
|
8767
8766
|
case df: {
|
|
8768
|
-
let
|
|
8769
|
-
c = [
|
|
8767
|
+
let W = String.fromCharCode(s);
|
|
8768
|
+
c = [W, W, d];
|
|
8770
8769
|
break;
|
|
8771
8770
|
}
|
|
8772
8771
|
case uf: {
|
|
@@ -8830,17 +8829,17 @@ var Zf = function(e, t = {}) {
|
|
|
8830
8829
|
}
|
|
8831
8830
|
return {
|
|
8832
8831
|
back: v,
|
|
8833
|
-
endOfFile:
|
|
8832
|
+
endOfFile: X,
|
|
8834
8833
|
nextToken: G,
|
|
8835
8834
|
position: V
|
|
8836
8835
|
};
|
|
8837
8836
|
};
|
|
8838
|
-
let If = Lr, Sf = Jn, Vf = Yn, Gf = ci, Qo = Yr,
|
|
8837
|
+
let If = Lr, Sf = Jn, Vf = Yn, Gf = ci, Qo = Yr, Wf = Zf;
|
|
8839
8838
|
const Ao = {
|
|
8840
8839
|
empty: !0,
|
|
8841
8840
|
space: !0
|
|
8842
8841
|
};
|
|
8843
|
-
function
|
|
8842
|
+
function Xf(e) {
|
|
8844
8843
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
8845
8844
|
let i = e[t], n = i[3] || i[2];
|
|
8846
8845
|
if (n) return n;
|
|
@@ -8919,14 +8918,14 @@ let Cf = class {
|
|
|
8919
8918
|
}
|
|
8920
8919
|
}
|
|
8921
8920
|
createTokenizer() {
|
|
8922
|
-
this.tokenizer =
|
|
8921
|
+
this.tokenizer = Wf(this.input);
|
|
8923
8922
|
}
|
|
8924
8923
|
decl(e, t) {
|
|
8925
8924
|
let i = new Vf();
|
|
8926
8925
|
this.init(i, e[0][2]);
|
|
8927
8926
|
let n = e[e.length - 1];
|
|
8928
8927
|
for (n[0] === ";" && (this.semicolon = !0, e.pop()), i.source.end = this.getPosition(
|
|
8929
|
-
n[3] || n[2] ||
|
|
8928
|
+
n[3] || n[2] || Xf(e)
|
|
8930
8929
|
), i.source.end.offset++; e[0][0] !== "word"; )
|
|
8931
8930
|
e.length === 1 && this.unknownWord(e), i.raws.before += e.shift()[1];
|
|
8932
8931
|
for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
|
|
@@ -9202,7 +9201,7 @@ let _o = {};
|
|
|
9202
9201
|
var Rc = function(e) {
|
|
9203
9202
|
_o[e] || (_o[e] = !0, typeof console < "u" && console.warn && console.warn(e));
|
|
9204
9203
|
};
|
|
9205
|
-
let Tf = it, Nf = Jr, Lf =
|
|
9204
|
+
let Tf = it, Nf = Jr, Lf = Xc, Jf = Ur, $o = Fr, Yf = ci, Uf = Nn, { isClean: Ne, my: Ff } = ai, Kf = Rc;
|
|
9206
9205
|
const Of = {
|
|
9207
9206
|
atrule: "AtRule",
|
|
9208
9207
|
comment: "Comment",
|
|
@@ -9536,7 +9535,7 @@ var kc = Gt;
|
|
|
9536
9535
|
Gt.default = Gt;
|
|
9537
9536
|
Yf.registerLazyResult(Gt);
|
|
9538
9537
|
Nf.registerLazyResult(Gt);
|
|
9539
|
-
let Hf =
|
|
9538
|
+
let Hf = Xc, zf = Ur;
|
|
9540
9539
|
const Pf = Fr;
|
|
9541
9540
|
let Bf = Nn, Df = Rc, or = class {
|
|
9542
9541
|
get content() {
|
|
@@ -9977,7 +9976,7 @@ function ue(e, t, i, n) {
|
|
|
9977
9976
|
}
|
|
9978
9977
|
return !!(i && (s.matches(i) || n && s.closest(i) !== null));
|
|
9979
9978
|
}
|
|
9980
|
-
function
|
|
9979
|
+
function Wy(e, t) {
|
|
9981
9980
|
return t.getId(e) !== -1;
|
|
9982
9981
|
}
|
|
9983
9982
|
function cs(e, t, i) {
|
|
@@ -9995,7 +9994,7 @@ function Hc(e, t) {
|
|
|
9995
9994
|
function lr(e) {
|
|
9996
9995
|
return !!e.changedTouches;
|
|
9997
9996
|
}
|
|
9998
|
-
function
|
|
9997
|
+
function Xy(e = window) {
|
|
9999
9998
|
"NodeList" in e && !e.NodeList.prototype.forEach && (e.NodeList.prototype.forEach = Array.prototype.forEach), "DOMTokenList" in e && !e.DOMTokenList.prototype.forEach && (e.DOMTokenList.prototype.forEach = Array.prototype.forEach);
|
|
10000
9999
|
}
|
|
10001
10000
|
function zc(e, t) {
|
|
@@ -10057,7 +10056,7 @@ function Dc(e) {
|
|
|
10057
10056
|
const t = e.ownerDocument;
|
|
10058
10057
|
return t ? E.contains(t, e) || wy(e) : !1;
|
|
10059
10058
|
}
|
|
10060
|
-
var P = /* @__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))(P || {}), H = /* @__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))(H || {}), be = /* @__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))(be || {}), ze = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(ze || {}),
|
|
10059
|
+
var P = /* @__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))(P || {}), H = /* @__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))(H || {}), be = /* @__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))(be || {}), ze = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(ze || {}), Wt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Wt || {}), 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 || {}), jc = /* @__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))(jc || {});
|
|
10061
10060
|
function nl(e) {
|
|
10062
10061
|
return "__ln" in e;
|
|
10063
10062
|
}
|
|
@@ -10336,7 +10335,7 @@ class ky {
|
|
|
10336
10335
|
}
|
|
10337
10336
|
t.addedNodes.forEach((i) => this.genAdds(i, t.target)), t.removedNodes.forEach((i) => {
|
|
10338
10337
|
const n = this.mirror.getId(i), s = Et(t.target) ? this.mirror.getId(E.host(t.target)) : this.mirror.getId(t.target);
|
|
10339
|
-
ue(t.target, this.blockClass, this.blockSelector, !1) || cs(i, this.mirror, this.slimDOMOptions) || !
|
|
10338
|
+
ue(t.target, this.blockClass, this.blockSelector, !1) || cs(i, this.mirror, this.slimDOMOptions) || !Wy(i, this.mirror) || (this.addedSet.has(i) ? (cr(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Hc(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[sl(n, s)] ? cr(this.movedSet, i) : (this.removes.push({
|
|
10340
10339
|
parentId: s,
|
|
10341
10340
|
id: n,
|
|
10342
10341
|
isShadow: Et(t.target) && Ht(t.target) ? !0 : void 0
|
|
@@ -10659,20 +10658,20 @@ function Ky({
|
|
|
10659
10658
|
}) {
|
|
10660
10659
|
function h(Z) {
|
|
10661
10660
|
let V = ui(Z);
|
|
10662
|
-
const C = Z.isTrusted,
|
|
10663
|
-
if (V &&
|
|
10661
|
+
const C = Z.isTrusted, X = V && V.tagName;
|
|
10662
|
+
if (V && X === "OPTION" && (V = E.parentElement(V)), !V || !X || Fy.indexOf(X) < 0 || ue(V, n, s, !0) || V.classList.contains(r) || l && V.matches(l))
|
|
10664
10663
|
return;
|
|
10665
10664
|
let G = V.value, v = !1;
|
|
10666
10665
|
const k = ln(V) || "", K = V.getAttribute("data-hl-record");
|
|
10667
10666
|
k === "radio" || k === "checkbox" ? v = V.checked : ha({
|
|
10668
10667
|
maskInputOptions: o,
|
|
10669
10668
|
type: k,
|
|
10670
|
-
tagName:
|
|
10669
|
+
tagName: X,
|
|
10671
10670
|
overwriteRecord: K
|
|
10672
10671
|
}) && (G = on({
|
|
10673
10672
|
element: V,
|
|
10674
10673
|
maskInputOptions: o,
|
|
10675
|
-
tagName:
|
|
10674
|
+
tagName: X,
|
|
10676
10675
|
type: k,
|
|
10677
10676
|
value: G,
|
|
10678
10677
|
overwriteRecord: K,
|
|
@@ -10681,8 +10680,8 @@ function Ky({
|
|
|
10681
10680
|
V,
|
|
10682
10681
|
u ? { text: G, isChecked: v, userTriggered: C } : { text: G, isChecked: v }
|
|
10683
10682
|
);
|
|
10684
|
-
const
|
|
10685
|
-
k === "radio" &&
|
|
10683
|
+
const W = V.name;
|
|
10684
|
+
k === "radio" && W && v && t.querySelectorAll(`input[type="radio"][name="${W}"]`).forEach((w) => {
|
|
10686
10685
|
if (w !== V) {
|
|
10687
10686
|
const Y = w.value;
|
|
10688
10687
|
p(
|
|
@@ -10696,9 +10695,9 @@ function Ky({
|
|
|
10696
10695
|
const C = ll.get(Z);
|
|
10697
10696
|
if (!C || C.text !== V.text || C.isChecked !== V.isChecked) {
|
|
10698
10697
|
ll.set(Z, V);
|
|
10699
|
-
const
|
|
10698
|
+
const X = i.getId(Z);
|
|
10700
10699
|
z(e)(ge(F({}, V), {
|
|
10701
|
-
id:
|
|
10700
|
+
id: X
|
|
10702
10701
|
}));
|
|
10703
10702
|
}
|
|
10704
10703
|
}
|
|
@@ -11604,7 +11603,7 @@ function qy(e, t, i, n) {
|
|
|
11604
11603
|
return ue(this.canvas, i, n, !0) || setTimeout(() => {
|
|
11605
11604
|
const u = eu(c, t, this);
|
|
11606
11605
|
e(this.canvas, {
|
|
11607
|
-
type:
|
|
11606
|
+
type: Wt["2D"],
|
|
11608
11607
|
property: l,
|
|
11609
11608
|
args: u
|
|
11610
11609
|
});
|
|
@@ -11620,7 +11619,7 @@ function qy(e, t, i, n) {
|
|
|
11620
11619
|
{
|
|
11621
11620
|
set(c) {
|
|
11622
11621
|
e(this.canvas, {
|
|
11623
|
-
type:
|
|
11622
|
+
type: Wt["2D"],
|
|
11624
11623
|
property: l,
|
|
11625
11624
|
args: [c],
|
|
11626
11625
|
setter: !0
|
|
@@ -11727,7 +11726,7 @@ function tg(e, t, i, n) {
|
|
|
11727
11726
|
return s.push(
|
|
11728
11727
|
...dl(
|
|
11729
11728
|
t.WebGLRenderingContext.prototype,
|
|
11730
|
-
|
|
11729
|
+
Wt.WebGL,
|
|
11731
11730
|
e,
|
|
11732
11731
|
i,
|
|
11733
11732
|
n,
|
|
@@ -11736,7 +11735,7 @@ function tg(e, t, i, n) {
|
|
|
11736
11735
|
), typeof t.WebGL2RenderingContext < "u" && s.push(
|
|
11737
11736
|
...dl(
|
|
11738
11737
|
t.WebGL2RenderingContext.prototype,
|
|
11739
|
-
|
|
11738
|
+
Wt.WebGL2,
|
|
11740
11739
|
e,
|
|
11741
11740
|
i,
|
|
11742
11741
|
n,
|
|
@@ -11796,7 +11795,7 @@ class sg {
|
|
|
11796
11795
|
}
|
|
11797
11796
|
const { base64: m, type: b, dx: d, dy: I, dw: Z, dh: V } = h.data, C = {
|
|
11798
11797
|
id: p,
|
|
11799
|
-
type:
|
|
11798
|
+
type: Wt["2D"],
|
|
11800
11799
|
commands: [
|
|
11801
11800
|
{
|
|
11802
11801
|
property: "clearRect",
|
|
@@ -11937,50 +11936,50 @@ class sg {
|
|
|
11937
11936
|
!0
|
|
11938
11937
|
), h = 1e3 / n;
|
|
11939
11938
|
let p = 0, m;
|
|
11940
|
-
const b = /* @__PURE__ */ new Map(), d = (C,
|
|
11939
|
+
const b = /* @__PURE__ */ new Map(), d = (C, X) => {
|
|
11941
11940
|
const G = [];
|
|
11942
|
-
C.querySelectorAll(
|
|
11941
|
+
C.querySelectorAll(X).forEach((K) => G.push(K));
|
|
11943
11942
|
const v = document.createNodeIterator(C, Node.ELEMENT_NODE);
|
|
11944
11943
|
let k;
|
|
11945
11944
|
for (; k = v.nextNode(); )
|
|
11946
|
-
k != null && k.shadowRoot && G.push(...d(k.shadowRoot,
|
|
11945
|
+
k != null && k.shadowRoot && G.push(...d(k.shadowRoot, X));
|
|
11947
11946
|
return G;
|
|
11948
11947
|
}, I = (C) => {
|
|
11949
|
-
const
|
|
11948
|
+
const X = [];
|
|
11950
11949
|
return d(s.document, "canvas").forEach((G) => {
|
|
11951
11950
|
if (!ue(G, r, l, !0)) {
|
|
11952
|
-
this.debug(G, "discovered canvas"),
|
|
11951
|
+
this.debug(G, "discovered canvas"), X.push(G);
|
|
11953
11952
|
const v = this.mirror.getId(G);
|
|
11954
11953
|
b.has(v) || b.set(v, C);
|
|
11955
11954
|
}
|
|
11956
|
-
}),
|
|
11955
|
+
}), X;
|
|
11957
11956
|
}, Z = (C) => {
|
|
11958
|
-
const
|
|
11957
|
+
const X = [];
|
|
11959
11958
|
return (t || i) && d(s.document, "video").forEach((G) => {
|
|
11960
11959
|
if (!(!i && G.src !== "" && G.src.indexOf("blob:") === -1) && !(!t && (G.src === "" || G.src.indexOf("blob:") !== -1)) && !ue(G, r, l, !0)) {
|
|
11961
|
-
|
|
11960
|
+
X.push(G);
|
|
11962
11961
|
const v = this.mirror.getId(G);
|
|
11963
11962
|
b.has(v) || b.set(v, C);
|
|
11964
11963
|
}
|
|
11965
|
-
}),
|
|
11964
|
+
}), X;
|
|
11966
11965
|
}, V = (C) => fe(this, null, function* () {
|
|
11967
11966
|
if (p && C - p < h) {
|
|
11968
11967
|
m = requestAnimationFrame(V);
|
|
11969
11968
|
return;
|
|
11970
11969
|
}
|
|
11971
11970
|
p = C;
|
|
11972
|
-
const
|
|
11973
|
-
const k = this.mirror.getId(v), K = b.get(k),
|
|
11971
|
+
const X = (v) => {
|
|
11972
|
+
const k = this.mirror.getId(v), K = b.get(k), W = !o.initialSnapshotDelay || C - K > o.initialSnapshotDelay;
|
|
11974
11973
|
return this.debug(v, {
|
|
11975
11974
|
delay: o.initialSnapshotDelay,
|
|
11976
11975
|
delta: C - K,
|
|
11977
|
-
hadLoadingTime:
|
|
11978
|
-
}),
|
|
11976
|
+
hadLoadingTime: W
|
|
11977
|
+
}), W;
|
|
11979
11978
|
}, G = [];
|
|
11980
11979
|
G.push(
|
|
11981
|
-
...I(C).filter(
|
|
11980
|
+
...I(C).filter(X).map((v) => this.snapshot(v))
|
|
11982
11981
|
), G.push(
|
|
11983
|
-
...Z(C).filter(
|
|
11982
|
+
...Z(C).filter(X).map((v) => fe(this, null, function* () {
|
|
11984
11983
|
this.debug(v, "starting video snapshotting");
|
|
11985
11984
|
const k = this.mirror.getId(v);
|
|
11986
11985
|
if (this.snapshotInProgressMap.get(k)) {
|
|
@@ -11993,7 +11992,7 @@ class sg {
|
|
|
11993
11992
|
}
|
|
11994
11993
|
this.snapshotInProgressMap.set(k, !0);
|
|
11995
11994
|
try {
|
|
11996
|
-
const { width: K, height:
|
|
11995
|
+
const { width: K, height: W } = v.getBoundingClientRect(), { actualWidth: w, actualHeight: Y } = {
|
|
11997
11996
|
actualWidth: v.videoWidth,
|
|
11998
11997
|
actualHeight: v.videoHeight
|
|
11999
11998
|
}, ee = Math.max(w, Y);
|
|
@@ -12004,7 +12003,7 @@ class sg {
|
|
|
12004
12003
|
actualWidth: w,
|
|
12005
12004
|
actualHeight: Y,
|
|
12006
12005
|
boxWidth: K,
|
|
12007
|
-
boxHeight:
|
|
12006
|
+
boxHeight: W
|
|
12008
12007
|
});
|
|
12009
12008
|
return;
|
|
12010
12009
|
}
|
|
@@ -12013,12 +12012,12 @@ class sg {
|
|
|
12013
12012
|
const f = w * te, y = Y * te, T = yield createImageBitmap(v, {
|
|
12014
12013
|
resizeWidth: f,
|
|
12015
12014
|
resizeHeight: y
|
|
12016
|
-
}), _ = Math.max(K,
|
|
12015
|
+
}), _ = Math.max(K, W) / ee, B = w * _, U = Y * _, $ = (K - B) / 2, ie = (W - U) / 2;
|
|
12017
12016
|
this.debug(v, "created image bitmap", {
|
|
12018
12017
|
actualWidth: w,
|
|
12019
12018
|
actualHeight: Y,
|
|
12020
12019
|
boxWidth: K,
|
|
12021
|
-
boxHeight:
|
|
12020
|
+
boxHeight: W,
|
|
12022
12021
|
outputWidth: B,
|
|
12023
12022
|
outputHeight: U,
|
|
12024
12023
|
resizeWidth: f,
|
|
@@ -12187,12 +12186,12 @@ function Oe(e = {}) {
|
|
|
12187
12186
|
maskTextSelector: Z = null,
|
|
12188
12187
|
inlineStylesheet: V = !0,
|
|
12189
12188
|
maskAllInputs: C,
|
|
12190
|
-
maskInputOptions:
|
|
12189
|
+
maskInputOptions: X,
|
|
12191
12190
|
slimDOMOptions: G,
|
|
12192
12191
|
maskInputFn: v,
|
|
12193
12192
|
maskTextFn: k = gr,
|
|
12194
12193
|
hooks: K,
|
|
12195
|
-
packFn:
|
|
12194
|
+
packFn: W,
|
|
12196
12195
|
sampling: w = {},
|
|
12197
12196
|
mousemoveWait: Y,
|
|
12198
12197
|
recordDOM: ee = !0,
|
|
@@ -12205,7 +12204,7 @@ function Oe(e = {}) {
|
|
|
12205
12204
|
inlineVideos: U = !1,
|
|
12206
12205
|
plugins: $,
|
|
12207
12206
|
keepIframeSrcFn: ie = () => !1,
|
|
12208
|
-
privacySetting:
|
|
12207
|
+
privacySetting: Xe = "default",
|
|
12209
12208
|
ignoreCSSAttributes: He = /* @__PURE__ */ new Set([]),
|
|
12210
12209
|
errorHandler: pu,
|
|
12211
12210
|
logger: mu
|
|
@@ -12242,7 +12241,7 @@ function Oe(e = {}) {
|
|
|
12242
12241
|
textarea: !0,
|
|
12243
12242
|
select: !0,
|
|
12244
12243
|
password: !0
|
|
12245
|
-
} :
|
|
12244
|
+
} : X !== void 0 ? X : { password: !0 }, En = G === !0 || G === "all" ? {
|
|
12246
12245
|
script: !0,
|
|
12247
12246
|
comment: !0,
|
|
12248
12247
|
headFavicon: !0,
|
|
@@ -12257,13 +12256,13 @@ function Oe(e = {}) {
|
|
|
12257
12256
|
headMetaDescKeywords: G === "all",
|
|
12258
12257
|
headTitleMutations: G === "all"
|
|
12259
12258
|
} : G || {};
|
|
12260
|
-
|
|
12259
|
+
Xy();
|
|
12261
12260
|
let Br, Hn = 0;
|
|
12262
12261
|
const Dr = (D) => {
|
|
12263
12262
|
for (const Ce of $ || [])
|
|
12264
12263
|
Ce.eventProcessor && (D = Ce.eventProcessor(D));
|
|
12265
|
-
return
|
|
12266
|
-
!Rt && (D =
|
|
12264
|
+
return W && // Disable packing events which will be emitted to parent frames.
|
|
12265
|
+
!Rt && (D = W(D)), D;
|
|
12267
12266
|
};
|
|
12268
12267
|
re = (D, Ce) => {
|
|
12269
12268
|
var ne;
|
|
@@ -12362,7 +12361,7 @@ function Oe(e = {}) {
|
|
|
12362
12361
|
recordCanvas: te,
|
|
12363
12362
|
inlineImages: B,
|
|
12364
12363
|
inlineVideos: U,
|
|
12365
|
-
privacySetting:
|
|
12364
|
+
privacySetting: Xe,
|
|
12366
12365
|
sampling: w,
|
|
12367
12366
|
slimDOMOptions: En,
|
|
12368
12367
|
iframeManager: Ae,
|
|
@@ -12402,7 +12401,7 @@ function Oe(e = {}) {
|
|
|
12402
12401
|
recordCanvas: te,
|
|
12403
12402
|
inlineImages: B,
|
|
12404
12403
|
inlineVideos: U,
|
|
12405
|
-
privacySetting:
|
|
12404
|
+
privacySetting: Xe,
|
|
12406
12405
|
onSerialize: (ne) => {
|
|
12407
12406
|
zc(ne, we) && Ae.addIframe(ne), Pc(ne, we) && Qe.trackLinkElement(ne), ar(ne) && bi.addShadowRoot(E.shadowRoot(ne), document);
|
|
12408
12407
|
},
|
|
@@ -12531,7 +12530,7 @@ function Oe(e = {}) {
|
|
|
12531
12530
|
processedNodeManager: zn,
|
|
12532
12531
|
canvasManager: Pt,
|
|
12533
12532
|
ignoreCSSAttributes: He,
|
|
12534
|
-
privacySetting:
|
|
12533
|
+
privacySetting: Xe,
|
|
12535
12534
|
plugins: ((xe = $?.filter((A) => A.observer)) == null ? void 0 : xe.map((A) => ({
|
|
12536
12535
|
observer: A.observer,
|
|
12537
12536
|
options: A.options,
|
|
@@ -12951,7 +12950,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
12951
12950
|
}
|
|
12952
12951
|
} catch {
|
|
12953
12952
|
}
|
|
12954
|
-
},
|
|
12953
|
+
}, We = function(e, t, i, n) {
|
|
12955
12954
|
var s, r;
|
|
12956
12955
|
return function(l) {
|
|
12957
12956
|
t.value >= 0 && (l || n) && ((r = t.value - (s || 0)) || s === void 0) && (s = t.value, t.delta = r, t.rating = function(o, a) {
|
|
@@ -13001,13 +13000,13 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13001
13000
|
o.name === "first-contentful-paint" && (r.disconnect(), o.startTime < n.firstHiddenTime && (s.value = Math.max(o.startTime - Kn(), 0), s.entries.push(o), i(!0)));
|
|
13002
13001
|
});
|
|
13003
13002
|
});
|
|
13004
|
-
r && (i =
|
|
13005
|
-
s = Ge("FCP"), i =
|
|
13003
|
+
r && (i = We(e, s, Zl, t.reportAllChanges), st(function(l) {
|
|
13004
|
+
s = Ge("FCP"), i = We(e, s, Zl, t.reportAllChanges), Hr(function() {
|
|
13006
13005
|
s.value = performance.now() - l.timeStamp, i(!0);
|
|
13007
13006
|
});
|
|
13008
13007
|
}));
|
|
13009
13008
|
});
|
|
13010
|
-
}, Il = [0.1, 0.25],
|
|
13009
|
+
}, Il = [0.1, 0.25], Wg = function(e, t) {
|
|
13011
13010
|
t = t || {}, ou(zr(function() {
|
|
13012
13011
|
var i, n = Ge("CLS", 0), s = 0, r = [], l = function(a) {
|
|
13013
13012
|
a.forEach(function(c) {
|
|
@@ -13017,18 +13016,18 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13017
13016
|
}
|
|
13018
13017
|
}), s > n.value && (n.value = s, n.entries = r, i());
|
|
13019
13018
|
}, o = Ct("layout-shift", l);
|
|
13020
|
-
o && (i =
|
|
13019
|
+
o && (i = We(e, n, Il, t.reportAllChanges), On(function() {
|
|
13021
13020
|
l(o.takeRecords()), i(!0);
|
|
13022
13021
|
}), st(function() {
|
|
13023
|
-
s = 0, n = Ge("CLS", 0), i =
|
|
13022
|
+
s = 0, n = Ge("CLS", 0), i = We(e, n, Il, t.reportAllChanges), Hr(function() {
|
|
13024
13023
|
return i();
|
|
13025
13024
|
});
|
|
13026
13025
|
}), setTimeout(i, 0));
|
|
13027
13026
|
}));
|
|
13028
|
-
}, Kt = { passive: !0, capture: !0 },
|
|
13027
|
+
}, Kt = { passive: !0, capture: !0 }, Xg = /* @__PURE__ */ new Date(), Sl = function(e, t) {
|
|
13029
13028
|
Be || (Be = t, Bt = e, su = /* @__PURE__ */ new Date(), au(removeEventListener), lu());
|
|
13030
13029
|
}, lu = function() {
|
|
13031
|
-
if (Bt >= 0 && Bt < su -
|
|
13030
|
+
if (Bt >= 0 && Bt < su - Xg) {
|
|
13032
13031
|
var e = { entryType: "first-input", name: Be.type, target: Be.target, cancelable: Be.cancelable, startTime: Be.timeStamp, processingStart: Be.timeStamp + Bt };
|
|
13033
13032
|
Vn.forEach(function(t) {
|
|
13034
13033
|
t(e);
|
|
@@ -13059,11 +13058,11 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13059
13058
|
}, l = function(a) {
|
|
13060
13059
|
a.forEach(r);
|
|
13061
13060
|
}, o = Ct("first-input", l);
|
|
13062
|
-
i =
|
|
13061
|
+
i = We(e, s, Vl, t.reportAllChanges), o && On(zr(function() {
|
|
13063
13062
|
l(o.takeRecords()), o.disconnect();
|
|
13064
13063
|
})), o && st(function() {
|
|
13065
13064
|
var a;
|
|
13066
|
-
s = Ge("FID"), i =
|
|
13065
|
+
s = Ge("FID"), i = We(e, s, Vl, t.reportAllChanges), Vn = [], Bt = -1, Be = null, au(addEventListener), a = r, Vn.push(a), lu();
|
|
13067
13066
|
});
|
|
13068
13067
|
});
|
|
13069
13068
|
}, cu = 0, hs = 1 / 0, Oi = 0, wg = function(e) {
|
|
@@ -13074,9 +13073,9 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13074
13073
|
return ur ? cu : performance.interactionCount || 0;
|
|
13075
13074
|
}, vg = function() {
|
|
13076
13075
|
"interactionCount" in performance || ur || (ur = Ct("event", wg, { type: "event", buffered: !0, durationThreshold: 0 }));
|
|
13077
|
-
}, Gl = [200, 500], du = 0,
|
|
13076
|
+
}, Gl = [200, 500], du = 0, Wl = function() {
|
|
13078
13077
|
return uu() - du;
|
|
13079
|
-
}, Ye = [], ps = {},
|
|
13078
|
+
}, Ye = [], ps = {}, Xl = function(e) {
|
|
13080
13079
|
var t = Ye[Ye.length - 1], i = ps[e.interactionId];
|
|
13081
13080
|
if (i || Ye.length < 10 || e.duration > t.latency) {
|
|
13082
13081
|
if (i) i.entries.push(e), i.latency = Math.max(i.latency, e.duration);
|
|
@@ -13096,19 +13095,19 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13096
13095
|
vg();
|
|
13097
13096
|
var n, s = Ge("INP"), r = function(o) {
|
|
13098
13097
|
o.forEach(function(u) {
|
|
13099
|
-
u.interactionId &&
|
|
13098
|
+
u.interactionId && Xl(u), u.entryType === "first-input" && !Ye.some(function(h) {
|
|
13100
13099
|
return h.entries.some(function(p) {
|
|
13101
13100
|
return u.duration === p.duration && u.startTime === p.startTime;
|
|
13102
13101
|
});
|
|
13103
|
-
}) &&
|
|
13102
|
+
}) && Xl(u);
|
|
13104
13103
|
});
|
|
13105
|
-
var a, c = (a = Math.min(Ye.length - 1, Math.floor(
|
|
13104
|
+
var a, c = (a = Math.min(Ye.length - 1, Math.floor(Wl() / 50)), Ye[a]);
|
|
13106
13105
|
c && c.latency !== s.value && (s.value = c.latency, s.entries = c.entries, n());
|
|
13107
13106
|
}, l = Ct("event", r, { durationThreshold: (i = t.durationThreshold) !== null && i !== void 0 ? i : 40 });
|
|
13108
|
-
n =
|
|
13109
|
-
r(l.takeRecords()), s.value < 0 &&
|
|
13107
|
+
n = We(e, s, Gl, t.reportAllChanges), l && ("interactionId" in PerformanceEventTiming.prototype && l.observe({ type: "first-input", buffered: !0 }), On(function() {
|
|
13108
|
+
r(l.takeRecords()), s.value < 0 && Wl() > 0 && (s.value = 0, s.entries = []), n(!0);
|
|
13110
13109
|
}), st(function() {
|
|
13111
|
-
Ye = [], du = uu(), s = Ge("INP"), n =
|
|
13110
|
+
Ye = [], du = uu(), s = Ge("INP"), n = We(e, s, Gl, t.reportAllChanges);
|
|
13112
13111
|
}));
|
|
13113
13112
|
});
|
|
13114
13113
|
}, Cl = [2500, 4e3], ms = {}, xg = function(e, t) {
|
|
@@ -13118,7 +13117,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13118
13117
|
c && c.startTime < n.firstHiddenTime && (s.value = Math.max(c.startTime - Kn(), 0), s.entries = [c], i());
|
|
13119
13118
|
}, l = Ct("largest-contentful-paint", r);
|
|
13120
13119
|
if (l) {
|
|
13121
|
-
i =
|
|
13120
|
+
i = We(e, s, Cl, t.reportAllChanges);
|
|
13122
13121
|
var o = zr(function() {
|
|
13123
13122
|
ms[s.id] || (r(l.takeRecords()), l.disconnect(), ms[s.id] = !0, i(!0));
|
|
13124
13123
|
});
|
|
@@ -13127,7 +13126,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13127
13126
|
return setTimeout(o, 0);
|
|
13128
13127
|
}, !0);
|
|
13129
13128
|
}), On(o), st(function(a) {
|
|
13130
|
-
s = Ge("LCP"), i =
|
|
13129
|
+
s = Ge("LCP"), i = We(e, s, Cl, t.reportAllChanges), Hr(function() {
|
|
13131
13130
|
s.value = performance.now() - a.timeStamp, ms[s.id] = !0, i(!0);
|
|
13132
13131
|
});
|
|
13133
13132
|
});
|
|
@@ -13141,19 +13140,19 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
|
|
|
13141
13140
|
}, !0) : setTimeout(t, 0);
|
|
13142
13141
|
}, Ng = function(e, t) {
|
|
13143
13142
|
t = t || {};
|
|
13144
|
-
var i = Ge("TTFB"), n =
|
|
13143
|
+
var i = Ge("TTFB"), n = We(e, i, Rl, t.reportAllChanges);
|
|
13145
13144
|
Tg(function() {
|
|
13146
13145
|
var s = Er();
|
|
13147
13146
|
if (s) {
|
|
13148
13147
|
var r = s.responseStart;
|
|
13149
13148
|
if (r <= 0 || r > performance.now()) return;
|
|
13150
13149
|
i.value = Math.max(r - Kn(), 0), i.entries = [s], n(!0), st(function() {
|
|
13151
|
-
i = Ge("TTFB", 0), (n =
|
|
13150
|
+
i = Ge("TTFB", 0), (n = We(e, i, Rl, t.reportAllChanges))(!0);
|
|
13152
13151
|
});
|
|
13153
13152
|
}
|
|
13154
13153
|
});
|
|
13155
13154
|
};
|
|
13156
|
-
const Lg = (e) => (
|
|
13155
|
+
const Lg = (e) => (Wg(e), ou(e), Rg(e), xg(e), Ng(e), kg(e), () => {
|
|
13157
13156
|
}), lt = typeof navigator < "u" && "connection" in navigator ? navigator.connection : {}, Jg = (e, t) => {
|
|
13158
13157
|
const i = () => {
|
|
13159
13158
|
const s = ((/* @__PURE__ */ new Date()).getTime() - t) / 1e3;
|
|
@@ -13510,8 +13509,8 @@ class Dg {
|
|
|
13510
13509
|
this.sessionData,
|
|
13511
13510
|
this.options
|
|
13512
13511
|
), this.sessionData = (s = Bi(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);
|
|
13513
|
-
let u = Ve(
|
|
13514
|
-
u || (u = Rs(), Ke(
|
|
13512
|
+
let u = Ve(Ws.CLIENT_ID);
|
|
13513
|
+
u || (u = Rs(), Ke(Ws.CLIENT_ID, u));
|
|
13515
13514
|
let h;
|
|
13516
13515
|
this.options.disableSessionRecording || this.options.disableNetworkRecording !== void 0 || typeof this.options.networkRecording == "boolean" ? h = !1 : h = ((o = this.options.networkRecording) == null ? void 0 : o.recordHeadersAndBody) || !1;
|
|
13517
13516
|
let p = [];
|
|
@@ -14020,11 +14019,11 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14020
14019
|
return Dd;
|
|
14021
14020
|
}
|
|
14022
14021
|
}
|
|
14023
|
-
class
|
|
14022
|
+
class oZ extends Vh {
|
|
14024
14023
|
constructor(t, i) {
|
|
14025
14024
|
var n = (...p) => (super(...p), N(this, "record"), this), s, r, l, o, a, c, u, h;
|
|
14026
14025
|
try {
|
|
14027
|
-
if (typeof window > "u" || typeof document > "u") {
|
|
14026
|
+
if (n(i), typeof window > "u" || typeof document > "u") {
|
|
14028
14027
|
console.warn(
|
|
14029
14028
|
"@launchdarkly/session-replay is not initializing because it is not supported in this environment."
|
|
14030
14029
|
);
|
|
@@ -14042,7 +14041,6 @@ class sZ extends Vh {
|
|
|
14042
14041
|
);
|
|
14043
14042
|
return;
|
|
14044
14043
|
}
|
|
14045
|
-
n(i);
|
|
14046
14044
|
const p = ge(F({}, i), {
|
|
14047
14045
|
organizationID: t,
|
|
14048
14046
|
firstloadVersion: Bg,
|
|
@@ -14113,6 +14111,6 @@ class sZ extends Vh {
|
|
|
14113
14111
|
}
|
|
14114
14112
|
export {
|
|
14115
14113
|
Ft as LDRecord,
|
|
14116
|
-
|
|
14114
|
+
oZ as default
|
|
14117
14115
|
};
|
|
14118
14116
|
//# sourceMappingURL=session-replay.js.map
|