@launchdarkly/session-replay 0.4.4 → 0.4.6
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 +18 -0
- package/dist/{LDObserve-CCxZpVBp.js → LDObserve-CuRlepLi.js} +2 -2
- package/dist/{LDObserve-CCxZpVBp.js.map → LDObserve-CuRlepLi.js.map} +1 -1
- package/dist/{index-lR0hHWCE.js → index-QeTTQTqI.js} +63 -68
- package/dist/index-QeTTQTqI.js.map +1 -0
- package/dist/session-replay.js +1 -1
- package/package.json +2 -2
- package/dist/index-lR0hHWCE.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @launchdarkly/session-replay
|
|
2
2
|
|
|
3
|
+
## [0.4.6](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.5...session-replay-0.4.6) (2025-10-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* highlight.run bumped to 9.22.3
|
|
11
|
+
|
|
12
|
+
## [0.4.5](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.4...session-replay-0.4.5) (2025-10-06)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* highlight.run bumped to 9.22.2
|
|
20
|
+
|
|
3
21
|
## [0.4.4](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.3...session-replay-0.4.4) (2025-10-03)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as n } from "./index-
|
|
1
|
+
import { x as n } from "./index-QeTTQTqI.js";
|
|
2
2
|
class a extends n {
|
|
3
3
|
start() {
|
|
4
4
|
return this._sdk.start();
|
|
@@ -50,4 +50,4 @@ typeof globalThis < "u" ? globalThis.LDObserve ? o = globalThis.LDObserve : (o =
|
|
|
50
50
|
export {
|
|
51
51
|
o as LDObserve
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=LDObserve-
|
|
53
|
+
//# sourceMappingURL=LDObserve-CuRlepLi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LDObserve-
|
|
1
|
+
{"version":3,"file":"LDObserve-CuRlepLi.js","sources":["../../../highlight-run/dist/LDObserve.js"],"sourcesContent":["import { B as u } from \"./buffer-DIFxvF2Q.js\";\nclass a extends u {\n start() {\n return this._sdk.start();\n }\n stop() {\n return this._sdk.stop();\n }\n recordGauge(r) {\n return this._bufferCall(\"recordGauge\", [r]);\n }\n recordCount(r) {\n return this._bufferCall(\"recordCount\", [r]);\n }\n recordIncr(r) {\n return this._bufferCall(\"recordIncr\", [r]);\n }\n recordHistogram(r) {\n return this._bufferCall(\"recordHistogram\", [r]);\n }\n recordUpDownCounter(r) {\n return this._bufferCall(\"recordUpDownCounter\", [r]);\n }\n // TODO: Ask @vkorolik about using this method before initialization. Doesn't\n // this cause problems if someone tries to work with the returned span?\n startSpan(r, e, t, s) {\n return this._bufferCall(\"startSpan\", [r, e, t, s]);\n }\n startManualSpan(r, e, t, s) {\n return this._bufferCall(\"startManualSpan\", [r, e, t, s]);\n }\n register(r, e) {\n return this._bufferCall(\"register\", [r, e]);\n }\n recordLog(r, e, t) {\n return this._bufferCall(\"recordLog\", [r, e, t]);\n }\n recordError(r, e, t, s, l) {\n return this._bufferCall(\"recordError\", [\n r,\n e,\n t,\n s,\n l\n ]);\n }\n}\nlet o;\ntypeof globalThis != \"undefined\" ? globalThis.LDObserve ? o = globalThis.LDObserve : (o = new a(), globalThis.LDObserve = o) : o = new a();\nexport {\n o as LDObserve\n};\n//# sourceMappingURL=LDObserve.js.map\n"],"names":["u"],"mappings":";AACA,MAAM,UAAUA,EAAE;AAAA,EAChB,QAAQ;AACN,WAAO,KAAK,KAAK,MAAK;AAAA,EACxB;AAAA,EACA,OAAO;AACL,WAAO,KAAK,KAAK,KAAI;AAAA,EACvB;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,WAAW,GAAG;AACZ,WAAO,KAAK,YAAY,cAAc,CAAC,CAAC,CAAC;AAAA,EAC3C;AAAA,EACA,gBAAgB,GAAG;AACjB,WAAO,KAAK,YAAY,mBAAmB,CAAC,CAAC,CAAC;AAAA,EAChD;AAAA,EACA,oBAAoB,GAAG;AACrB,WAAO,KAAK,YAAY,uBAAuB,CAAC,CAAC,CAAC;AAAA,EACpD;AAAA;AAAA;AAAA,EAGA,UAAU,GAAG,GAAG,GAAG,GAAG;AACpB,WAAO,KAAK,YAAY,aAAa,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAAA,EACnD;AAAA,EACA,gBAAgB,GAAG,GAAG,GAAG,GAAG;AAC1B,WAAO,KAAK,YAAY,mBAAmB,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAAA,EACzD;AAAA,EACA,SAAS,GAAG,GAAG;AACb,WAAO,KAAK,YAAY,YAAY,CAAC,GAAG,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,UAAU,GAAG,GAAG,GAAG;AACjB,WAAO,KAAK,YAAY,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC;AAAA,EAChD;AAAA,EACA,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG;AACzB,WAAO,KAAK,YAAY,eAAe;AAAA,MACrC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACN,CAAK;AAAA,EACH;AACF;AACG,IAAC;AACJ,OAAO,aAAc,MAAc,WAAW,YAAY,IAAI,WAAW,aAAa,IAAI,IAAI,EAAC,GAAI,WAAW,YAAY,KAAK,IAAI,IAAI,EAAC;"}
|
|
@@ -17,11 +17,11 @@ var lu = Object.defineProperty, au = (e, t, i) => t in e ? lu(e, t, { enumerable
|
|
|
17
17
|
const Hr = /* @__PURE__ */ Object.create(null), Ve = (e, t, ...i) => {
|
|
18
18
|
const n = `[@launchdarkly plugins]: (${e}): `;
|
|
19
19
|
console[t].apply(console, [n, ...i]), uu(n, ...i);
|
|
20
|
-
},
|
|
20
|
+
}, ot = (e, t, i, ...n) => {
|
|
21
21
|
Hr[`${e}-${t}`] || (Hr[`${e}-${t}`] = !0, Ve(e, i, ...n));
|
|
22
22
|
}, uu = (e, ...t) => cu(void 0, null, function* () {
|
|
23
23
|
try {
|
|
24
|
-
const { LDObserve: i } = yield import("./LDObserve-
|
|
24
|
+
const { LDObserve: i } = yield import("./LDObserve-CuRlepLi.js");
|
|
25
25
|
i.recordLog(`${e}${t}`, "warn");
|
|
26
26
|
} catch {
|
|
27
27
|
}
|
|
@@ -3738,14 +3738,14 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
|
|
|
3738
3738
|
e = window.sessionStorage;
|
|
3739
3739
|
break;
|
|
3740
3740
|
}
|
|
3741
|
-
e || (
|
|
3741
|
+
e || (ot(
|
|
3742
3742
|
"storage",
|
|
3743
3743
|
"getPersistentStorage",
|
|
3744
3744
|
"debug",
|
|
3745
3745
|
`persistent storage was not found for mode ${un}; using global storage`
|
|
3746
3746
|
), e = Ct);
|
|
3747
3747
|
} catch (t) {
|
|
3748
|
-
|
|
3748
|
+
ot(
|
|
3749
3749
|
"storage",
|
|
3750
3750
|
"getPersistentStorage",
|
|
3751
3751
|
"debug",
|
|
@@ -3762,7 +3762,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
|
|
|
3762
3762
|
try {
|
|
3763
3763
|
return oi().getItem(e);
|
|
3764
3764
|
} catch (t) {
|
|
3765
|
-
return
|
|
3765
|
+
return ot(
|
|
3766
3766
|
"storage",
|
|
3767
3767
|
"getItem",
|
|
3768
3768
|
"debug",
|
|
@@ -3775,7 +3775,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
|
|
|
3775
3775
|
try {
|
|
3776
3776
|
return oi().setItem(e, t);
|
|
3777
3777
|
} catch (i) {
|
|
3778
|
-
return
|
|
3778
|
+
return ot(
|
|
3779
3779
|
"storage",
|
|
3780
3780
|
"setItem",
|
|
3781
3781
|
"debug",
|
|
@@ -3788,7 +3788,7 @@ const Ct = new Dd(), dn = new jd(), oi = () => {
|
|
|
3788
3788
|
try {
|
|
3789
3789
|
return oi().removeItem(e);
|
|
3790
3790
|
} catch (t) {
|
|
3791
|
-
return
|
|
3791
|
+
return ot(
|
|
3792
3792
|
"storage",
|
|
3793
3793
|
"removeItem",
|
|
3794
3794
|
"debug",
|
|
@@ -3835,7 +3835,7 @@ const Nn = (e) => `${ge.SESSION_DATA}_${e}`, _d = () => {
|
|
|
3835
3835
|
if (t && t.lastPushTime && Date.now() - t.lastPushTime < pr)
|
|
3836
3836
|
return t;
|
|
3837
3837
|
hn(Nn(e));
|
|
3838
|
-
},
|
|
3838
|
+
}, st = function(e) {
|
|
3839
3839
|
if (!(e != null && e.sessionSecureID)) return;
|
|
3840
3840
|
const t = e.sessionSecureID;
|
|
3841
3841
|
$d(t);
|
|
@@ -3848,7 +3848,7 @@ const Nn = (e) => `${ge.SESSION_DATA}_${e}`, _d = () => {
|
|
|
3848
3848
|
_t(e);
|
|
3849
3849
|
const t = Nn(e), i = dn.getItem(t);
|
|
3850
3850
|
try {
|
|
3851
|
-
|
|
3851
|
+
st(JSON.parse(i));
|
|
3852
3852
|
} catch {
|
|
3853
3853
|
}
|
|
3854
3854
|
};
|
|
@@ -3861,19 +3861,14 @@ function th(e) {
|
|
|
3861
3861
|
const s = JSON.parse(
|
|
3862
3862
|
Xe(n) || "{}"
|
|
3863
3863
|
);
|
|
3864
|
-
s.lastPushTime
|
|
3865
|
-
"highlightSession",
|
|
3866
|
-
"pruneSessionData",
|
|
3867
|
-
"error",
|
|
3868
|
-
`data for key ${n} is not session data`
|
|
3869
|
-
) : Date.now() - s.lastPushTime >= pr && (qe(
|
|
3864
|
+
s.lastPushTime !== void 0 && Date.now() - s.lastPushTime >= pr && (ot(
|
|
3870
3865
|
"highlightSession",
|
|
3871
3866
|
"pruneSessionData",
|
|
3872
3867
|
"debug",
|
|
3873
3868
|
`removing session data for stale key ${n}`
|
|
3874
3869
|
), hn(n));
|
|
3875
3870
|
} catch (s) {
|
|
3876
|
-
|
|
3871
|
+
ot(
|
|
3877
3872
|
"highlightSession",
|
|
3878
3873
|
"pruneSessionData",
|
|
3879
3874
|
"error",
|
|
@@ -4009,7 +4004,7 @@ let yh = class {
|
|
|
4009
4004
|
return this._bufferCall("track", [t, i]);
|
|
4010
4005
|
}
|
|
4011
4006
|
};
|
|
4012
|
-
const Zh = "9.22.
|
|
4007
|
+
const Zh = "9.22.3", Ih = {
|
|
4013
4008
|
version: Zh
|
|
4014
4009
|
}, Sh = Ih.version;
|
|
4015
4010
|
function Al(e, t) {
|
|
@@ -4144,7 +4139,7 @@ let kh = class {
|
|
|
4144
4139
|
);
|
|
4145
4140
|
s != null && s.sessionSecureID ? this.sessionSecureID = s.sessionSecureID : (i != null && i.sessionKey ? this.sessionSecureID = $t(
|
|
4146
4141
|
`${t}-${i.sessionKey}`
|
|
4147
|
-
) : this.sessionSecureID = $t(), _t(this.sessionSecureID),
|
|
4142
|
+
) : this.sessionSecureID = $t(), _t(this.sessionSecureID), st({
|
|
4148
4143
|
sessionSecureID: this.sessionSecureID,
|
|
4149
4144
|
sessionKey: i?.sessionKey,
|
|
4150
4145
|
projectID: 0,
|
|
@@ -4291,7 +4286,7 @@ function mr(e) {
|
|
|
4291
4286
|
}
|
|
4292
4287
|
}
|
|
4293
4288
|
const qn = {};
|
|
4294
|
-
function
|
|
4289
|
+
function qe(e, t, i) {
|
|
4295
4290
|
var n;
|
|
4296
4291
|
const s = `${e}.${String(i)}`;
|
|
4297
4292
|
if (qn[s])
|
|
@@ -4315,16 +4310,16 @@ function ea(e, t, i) {
|
|
|
4315
4310
|
return typeof s != "function" ? t[i] : (es[n] = s, s.bind(t));
|
|
4316
4311
|
}
|
|
4317
4312
|
function Eh(e) {
|
|
4318
|
-
return
|
|
4313
|
+
return qe("Node", e, "childNodes");
|
|
4319
4314
|
}
|
|
4320
4315
|
function Mh(e) {
|
|
4321
|
-
return
|
|
4316
|
+
return qe("Node", e, "parentNode");
|
|
4322
4317
|
}
|
|
4323
4318
|
function zh(e) {
|
|
4324
|
-
return
|
|
4319
|
+
return qe("Node", e, "parentElement");
|
|
4325
4320
|
}
|
|
4326
4321
|
function Hh(e) {
|
|
4327
|
-
return
|
|
4322
|
+
return qe("Node", e, "textContent");
|
|
4328
4323
|
}
|
|
4329
4324
|
function Ph(e, t) {
|
|
4330
4325
|
return ea("Node", e, "contains")(t);
|
|
@@ -4333,19 +4328,19 @@ function Bh(e) {
|
|
|
4333
4328
|
return ea("Node", e, "getRootNode")();
|
|
4334
4329
|
}
|
|
4335
4330
|
function Dh(e) {
|
|
4336
|
-
return !e || !("host" in e) ? null :
|
|
4331
|
+
return !e || !("host" in e) ? null : qe("ShadowRoot", e, "host");
|
|
4337
4332
|
}
|
|
4338
4333
|
function jh(e) {
|
|
4339
4334
|
return e.styleSheets;
|
|
4340
4335
|
}
|
|
4341
4336
|
function Qh(e) {
|
|
4342
|
-
return !e || !("shadowRoot" in e) ? null :
|
|
4337
|
+
return !e || !("shadowRoot" in e) ? null : qe("Element", e, "shadowRoot");
|
|
4343
4338
|
}
|
|
4344
4339
|
function Ah(e, t) {
|
|
4345
|
-
return
|
|
4340
|
+
return qe("Element", e, "querySelector")(t);
|
|
4346
4341
|
}
|
|
4347
4342
|
function _h(e, t) {
|
|
4348
|
-
return
|
|
4343
|
+
return qe("Element", e, "querySelectorAll")(t);
|
|
4349
4344
|
}
|
|
4350
4345
|
function $h() {
|
|
4351
4346
|
return mr("MutationObserver").constructor;
|
|
@@ -9957,7 +9952,7 @@ function Ur(e) {
|
|
|
9957
9952
|
}
|
|
9958
9953
|
}
|
|
9959
9954
|
const cs = {};
|
|
9960
|
-
function
|
|
9955
|
+
function et(e, t, i) {
|
|
9961
9956
|
var n;
|
|
9962
9957
|
const s = `${e}.${String(i)}`;
|
|
9963
9958
|
if (cs[s])
|
|
@@ -9981,16 +9976,16 @@ function xc(e, t, i) {
|
|
|
9981
9976
|
return typeof s != "function" ? t[i] : (us[n] = s, s.bind(t));
|
|
9982
9977
|
}
|
|
9983
9978
|
function yy(e) {
|
|
9984
|
-
return
|
|
9979
|
+
return et("Node", e, "childNodes");
|
|
9985
9980
|
}
|
|
9986
9981
|
function gy(e) {
|
|
9987
|
-
return
|
|
9982
|
+
return et("Node", e, "parentNode");
|
|
9988
9983
|
}
|
|
9989
9984
|
function Zy(e) {
|
|
9990
|
-
return
|
|
9985
|
+
return et("Node", e, "parentElement");
|
|
9991
9986
|
}
|
|
9992
9987
|
function Iy(e) {
|
|
9993
|
-
return
|
|
9988
|
+
return et("Node", e, "textContent");
|
|
9994
9989
|
}
|
|
9995
9990
|
function Sy(e, t) {
|
|
9996
9991
|
return xc("Node", e, "contains")(t);
|
|
@@ -9999,19 +9994,19 @@ function Gy(e) {
|
|
|
9999
9994
|
return xc("Node", e, "getRootNode")();
|
|
10000
9995
|
}
|
|
10001
9996
|
function Vy(e) {
|
|
10002
|
-
return !e || !("host" in e) ? null :
|
|
9997
|
+
return !e || !("host" in e) ? null : et("ShadowRoot", e, "host");
|
|
10003
9998
|
}
|
|
10004
9999
|
function Xy(e) {
|
|
10005
10000
|
return e.styleSheets;
|
|
10006
10001
|
}
|
|
10007
10002
|
function Cy(e) {
|
|
10008
|
-
return !e || !("shadowRoot" in e) ? null :
|
|
10003
|
+
return !e || !("shadowRoot" in e) ? null : et("Element", e, "shadowRoot");
|
|
10009
10004
|
}
|
|
10010
10005
|
function Wy(e, t) {
|
|
10011
|
-
return
|
|
10006
|
+
return et("Element", e, "querySelector")(t);
|
|
10012
10007
|
}
|
|
10013
10008
|
function Ry(e, t) {
|
|
10014
|
-
return
|
|
10009
|
+
return et("Element", e, "querySelectorAll")(t);
|
|
10015
10010
|
}
|
|
10016
10011
|
function Tc() {
|
|
10017
10012
|
return Ur("MutationObserver").constructor;
|
|
@@ -10618,7 +10613,7 @@ const D = (e) => ti ? (...t) => {
|
|
|
10618
10613
|
return;
|
|
10619
10614
|
throw i;
|
|
10620
10615
|
}
|
|
10621
|
-
} : e,
|
|
10616
|
+
} : e, rt = [];
|
|
10622
10617
|
function Gi(e) {
|
|
10623
10618
|
try {
|
|
10624
10619
|
if ("composedPath" in e) {
|
|
@@ -10633,7 +10628,7 @@ function Gi(e) {
|
|
|
10633
10628
|
}
|
|
10634
10629
|
function Hc(e, t) {
|
|
10635
10630
|
const i = new Jy();
|
|
10636
|
-
|
|
10631
|
+
rt.push(i), i.init(e);
|
|
10637
10632
|
const n = new (Tc())(
|
|
10638
10633
|
D(i.processMutations.bind(i))
|
|
10639
10634
|
);
|
|
@@ -11366,7 +11361,7 @@ function $y(e, t = {}) {
|
|
|
11366
11361
|
I.observer(I.callback, i, I.options)
|
|
11367
11362
|
);
|
|
11368
11363
|
return D(() => {
|
|
11369
|
-
|
|
11364
|
+
rt.forEach((I) => I.reset()), n?.disconnect(), s(), r(), l(), o(), a(), c(), u(), h(), p(), m(), b(), d(), S.forEach((I) => I());
|
|
11370
11365
|
});
|
|
11371
11366
|
}
|
|
11372
11367
|
function Pi(e) {
|
|
@@ -12381,17 +12376,17 @@ function Be(e = {}) {
|
|
|
12381
12376
|
logger: ce
|
|
12382
12377
|
} = e, ve = Y(Y({}, e.dataURLOptions), (i = (t = e.sampling) == null ? void 0 : t.canvas) == null ? void 0 : i.dataURLOptions);
|
|
12383
12378
|
Uy(We);
|
|
12384
|
-
const
|
|
12379
|
+
const tt = f ? window.parent === window : !0;
|
|
12385
12380
|
let Ke = !1;
|
|
12386
|
-
if (!
|
|
12381
|
+
if (!tt)
|
|
12387
12382
|
try {
|
|
12388
12383
|
window.parent.document && (Ke = !1);
|
|
12389
12384
|
} catch {
|
|
12390
12385
|
Ke = !0;
|
|
12391
12386
|
}
|
|
12392
|
-
if (
|
|
12387
|
+
if (tt && !c)
|
|
12393
12388
|
throw new Error("emit function is required");
|
|
12394
|
-
if (!
|
|
12389
|
+
if (!tt && !Ke)
|
|
12395
12390
|
return () => {
|
|
12396
12391
|
};
|
|
12397
12392
|
J !== void 0 && R.mousemove === void 0 && (R.mousemove = J), Te.reset();
|
|
@@ -12438,7 +12433,7 @@ function Be(e = {}) {
|
|
|
12438
12433
|
oe = (_, we) => {
|
|
12439
12434
|
var se;
|
|
12440
12435
|
const re = _;
|
|
12441
|
-
if (re.timestamp = Rn(), (se =
|
|
12436
|
+
if (re.timestamp = Rn(), (se = rt[0]) != null && se.isFrozen() && re.type !== Q.FullSnapshot && !(re.type === Q.IncrementalSnapshot && re.data.source === B.Mutation) && rt.forEach((Je) => Je.unfreeze()), tt)
|
|
12442
12437
|
c?.(mt(re), we);
|
|
12443
12438
|
else if (Ke) {
|
|
12444
12439
|
const Je = {
|
|
@@ -12481,21 +12476,21 @@ function Be(e = {}) {
|
|
|
12481
12476
|
data: Y({
|
|
12482
12477
|
source: B.AdoptedStyleSheet
|
|
12483
12478
|
}, _)
|
|
12484
|
-
}),
|
|
12479
|
+
}), it = new ug({
|
|
12485
12480
|
mutationCb: Qe,
|
|
12486
12481
|
adoptedStyleSheetCb: ou
|
|
12487
|
-
}),
|
|
12482
|
+
}), nt = new qy({
|
|
12488
12483
|
mirror: Te,
|
|
12489
12484
|
mutationCb: Qe,
|
|
12490
|
-
stylesheetManager:
|
|
12485
|
+
stylesheetManager: it,
|
|
12491
12486
|
recordCrossOriginIframes: f,
|
|
12492
12487
|
wrappedEmit: oe
|
|
12493
12488
|
});
|
|
12494
12489
|
for (const _ of A || [])
|
|
12495
12490
|
_.getMirror && _.getMirror({
|
|
12496
12491
|
nodeMirror: Te,
|
|
12497
|
-
crossOriginIframeMirror:
|
|
12498
|
-
crossOriginIframeStyleMirror:
|
|
12492
|
+
crossOriginIframeMirror: nt.crossOriginIframeMirror,
|
|
12493
|
+
crossOriginIframeStyleMirror: nt.crossOriginIframeStyleMirror
|
|
12499
12494
|
});
|
|
12500
12495
|
const Pn = new dg();
|
|
12501
12496
|
ii = new cg({
|
|
@@ -12535,8 +12530,8 @@ function Be(e = {}) {
|
|
|
12535
12530
|
privacySetting: de,
|
|
12536
12531
|
sampling: R,
|
|
12537
12532
|
slimDOMOptions: ht,
|
|
12538
|
-
iframeManager:
|
|
12539
|
-
stylesheetManager:
|
|
12533
|
+
iframeManager: nt,
|
|
12534
|
+
stylesheetManager: it,
|
|
12540
12535
|
canvasManager: ii,
|
|
12541
12536
|
keepIframeSrcFn: j,
|
|
12542
12537
|
processedNodeManager: Pn
|
|
@@ -12556,7 +12551,7 @@ function Be(e = {}) {
|
|
|
12556
12551
|
}
|
|
12557
12552
|
},
|
|
12558
12553
|
_
|
|
12559
|
-
),
|
|
12554
|
+
), it.reset(), Vi.init(), rt.forEach((se) => se.lock());
|
|
12560
12555
|
const we = Yp(document, {
|
|
12561
12556
|
mirror: Te,
|
|
12562
12557
|
blockClass: p,
|
|
@@ -12574,13 +12569,13 @@ function Be(e = {}) {
|
|
|
12574
12569
|
inlineVideos: N,
|
|
12575
12570
|
privacySetting: de,
|
|
12576
12571
|
onSerialize: (se) => {
|
|
12577
|
-
Uc(se, Te) &&
|
|
12572
|
+
Uc(se, Te) && nt.addIframe(se), Kc(se, Te) && it.trackLinkElement(se), rr(se) && Vi.addShadowRoot(P.shadowRoot(se), document);
|
|
12578
12573
|
},
|
|
12579
12574
|
onIframeLoad: (se, re) => {
|
|
12580
|
-
|
|
12575
|
+
nt.attachIframe(se, re), Vi.observeAttachShadow(se);
|
|
12581
12576
|
},
|
|
12582
12577
|
onStylesheetLoad: (se, re) => {
|
|
12583
|
-
|
|
12578
|
+
it.attachLinkElement(se, re);
|
|
12584
12579
|
},
|
|
12585
12580
|
keepIframeSrcFn: j
|
|
12586
12581
|
});
|
|
@@ -12595,7 +12590,7 @@ function Be(e = {}) {
|
|
|
12595
12590
|
}
|
|
12596
12591
|
},
|
|
12597
12592
|
_
|
|
12598
|
-
),
|
|
12593
|
+
), rt.forEach((se) => se.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && it.adoptStyleSheets(
|
|
12599
12594
|
document.adoptedStyleSheets,
|
|
12600
12595
|
Te.getId(document)
|
|
12601
12596
|
);
|
|
@@ -12695,8 +12690,8 @@ function Be(e = {}) {
|
|
|
12695
12690
|
slimDOMOptions: ht,
|
|
12696
12691
|
dataURLOptions: ve,
|
|
12697
12692
|
mirror: Te,
|
|
12698
|
-
iframeManager:
|
|
12699
|
-
stylesheetManager:
|
|
12693
|
+
iframeManager: nt,
|
|
12694
|
+
stylesheetManager: it,
|
|
12700
12695
|
shadowDomManager: Vi,
|
|
12701
12696
|
processedNodeManager: Pn,
|
|
12702
12697
|
canvasManager: ii,
|
|
@@ -12717,7 +12712,7 @@ function Be(e = {}) {
|
|
|
12717
12712
|
w
|
|
12718
12713
|
);
|
|
12719
12714
|
};
|
|
12720
|
-
|
|
12715
|
+
nt.addLoadListener((re) => {
|
|
12721
12716
|
try {
|
|
12722
12717
|
_.push(we(re.contentDocument));
|
|
12723
12718
|
} catch (Je) {
|
|
@@ -12762,7 +12757,7 @@ Be.addCustomEvent = (e, t) => {
|
|
|
12762
12757
|
});
|
|
12763
12758
|
};
|
|
12764
12759
|
Be.freezePage = () => {
|
|
12765
|
-
|
|
12760
|
+
rt.forEach((e) => e.freeze());
|
|
12766
12761
|
};
|
|
12767
12762
|
Be.takeFullSnapshot = (e) => {
|
|
12768
12763
|
if (!vn)
|
|
@@ -13349,9 +13344,9 @@ var Tg = /* @__PURE__ */ ni(at, 9), Ng = /* @__PURE__ */ ni(wn, 5), tu = functio
|
|
|
13349
13344
|
if (ce > U) {
|
|
13350
13345
|
if (U = ce, N = j, ce > de)
|
|
13351
13346
|
break;
|
|
13352
|
-
for (var ve = Math.min(j, ce - 2),
|
|
13347
|
+
for (var ve = Math.min(j, ce - 2), tt = 0, F = 0; F < ve; ++F) {
|
|
13353
13348
|
var Ke = g - j + F & 32767, Ft = d[Ke], ht = Ke - Ft & 32767;
|
|
13354
|
-
ht >
|
|
13349
|
+
ht > tt && (tt = ht, y = Ke);
|
|
13355
13350
|
}
|
|
13356
13351
|
}
|
|
13357
13352
|
}
|
|
@@ -13803,7 +13798,7 @@ class Ag {
|
|
|
13803
13798
|
return;
|
|
13804
13799
|
}
|
|
13805
13800
|
}
|
|
13806
|
-
_t(""),
|
|
13801
|
+
_t(""), st(this.sessionData), this.logger.log(
|
|
13807
13802
|
`Loaded Highlight
|
|
13808
13803
|
Remote: ${this._backendUrl}
|
|
13809
13804
|
Project ID: ${this.sessionData.projectID}
|
|
@@ -14012,13 +14007,13 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14012
14007
|
Ve("initializeSession _setupWindowListeners", "warn", n);
|
|
14013
14008
|
}
|
|
14014
14009
|
const i = () => {
|
|
14015
|
-
this.addCustomEvent("Page Unload", ""), _t(this.sessionData.sessionSecureID),
|
|
14010
|
+
this.addCustomEvent("Page Unload", ""), _t(this.sessionData.sessionSecureID), st(this.sessionData);
|
|
14016
14011
|
};
|
|
14017
14012
|
if (window.addEventListener("beforeunload", i), this.listeners.push(
|
|
14018
14013
|
() => window.removeEventListener("beforeunload", i)
|
|
14019
14014
|
), navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i)) {
|
|
14020
14015
|
const n = () => {
|
|
14021
|
-
this.addCustomEvent("Page Unload", ""), _t(this.sessionData.sessionSecureID),
|
|
14016
|
+
this.addCustomEvent("Page Unload", ""), _t(this.sessionData.sessionSecureID), st(this.sessionData);
|
|
14022
14017
|
};
|
|
14023
14018
|
window.addEventListener("pagehide", n), this.listeners.push(
|
|
14024
14019
|
() => window.removeEventListener("beforeunload", n)
|
|
@@ -14093,7 +14088,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14093
14088
|
method: "POST",
|
|
14094
14089
|
body: s
|
|
14095
14090
|
}), 0;
|
|
14096
|
-
})), yield this._sendPayload({ sendFn: i }), this.hasPushedData = !0, this.sessionData.lastPushTime = Date.now(),
|
|
14091
|
+
})), yield this._sendPayload({ sendFn: i }), this.hasPushedData = !0, this.sessionData.lastPushTime = Date.now(), st(this.sessionData);
|
|
14097
14092
|
} catch (i) {
|
|
14098
14093
|
Ve("_save", "warn", i);
|
|
14099
14094
|
}
|
|
@@ -14163,7 +14158,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14163
14158
|
highlightLogs: o
|
|
14164
14159
|
}
|
|
14165
14160
|
});
|
|
14166
|
-
|
|
14161
|
+
st(this.sessionData), this.events = this.events.slice(n.length), vg(o);
|
|
14167
14162
|
});
|
|
14168
14163
|
}
|
|
14169
14164
|
takeFullSnapshot() {
|
|
@@ -14339,4 +14334,4 @@ export {
|
|
|
14339
14334
|
Qt as t,
|
|
14340
14335
|
Xl as x
|
|
14341
14336
|
};
|
|
14342
|
-
//# sourceMappingURL=index-
|
|
14337
|
+
//# sourceMappingURL=index-QeTTQTqI.js.map
|