@openreplay/tracker 7.0.1 → 7.0.2-beta.2

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/cjs/app/index.js CHANGED
@@ -14,7 +14,7 @@ const performance_js_1 = require("../modules/performance.js");
14
14
  const CANCELED = 'canceled';
15
15
  const START_ERROR = ':(';
16
16
  const UnsuccessfulStart = (reason) => ({ reason, success: false });
17
- const SuccessfulStart = (body) => (Object.assign(Object.assign({}, body), { success: true }));
17
+ const SuccessfulStart = (body) => ({ ...body, success: true });
18
18
  var ActivityState;
19
19
  (function (ActivityState) {
20
20
  ActivityState[ActivityState["NotActive"] = 0] = "NotActive";
@@ -28,13 +28,12 @@ class App {
28
28
  // if (options.onStart !== undefined) {
29
29
  // deprecationWarn("'onStart' option", "tracker.start().then(/* handle session info */)")
30
30
  // } ?? maybe onStart is good
31
- var _a, _b;
32
31
  this.messages = [];
33
32
  this.startCallbacks = [];
34
33
  this.stopCallbacks = [];
35
34
  this.commitCallbacks = [];
36
35
  this.activityState = ActivityState.NotActive;
37
- this.version = '7.0.1'; // TODO: version compatability check inside each plugin.
36
+ this.version = '7.0.2-beta.2'; // TODO: version compatability check inside each plugin.
38
37
  this.compressionThreshold = 24 * 1000;
39
38
  this.restartAttempts = 0;
40
39
  this._usingOldFetchPlugin = false;
@@ -57,8 +56,8 @@ class App {
57
56
  sessionStorage: null,
58
57
  }, options);
59
58
  this.revID = this.options.revID;
60
- this.localStorage = (_a = this.options.localStorage) !== null && _a !== void 0 ? _a : window.localStorage;
61
- this.sessionStorage = (_b = this.options.sessionStorage) !== null && _b !== void 0 ? _b : window.sessionStorage;
59
+ this.localStorage = this.options.localStorage ?? window.localStorage;
60
+ this.sessionStorage = this.options.sessionStorage ?? window.sessionStorage;
62
61
  this.sanitizer = new sanitizer_js_1.default(this, options);
63
62
  this.nodes = new nodes_js_1.default(this.options.node_id);
64
63
  this.observer = new top_observer_js_1.default(this, options);
@@ -86,7 +85,6 @@ class App {
86
85
  this._debug('webworker_error', e);
87
86
  };
88
87
  this.worker.onmessage = ({ data }) => {
89
- var _a;
90
88
  if (data === 'restart') {
91
89
  this.stop(false);
92
90
  void this.start({}, true);
@@ -103,7 +101,6 @@ class App {
103
101
  const batchSize = batch.byteLength;
104
102
  if (batchSize > this.compressionThreshold) {
105
103
  (0, fflate_1.gzip)(data.batch, { mtime: 0 }, (err, result) => {
106
- var _a;
107
104
  if (err) {
108
105
  console.error('Openreplay compression error:', err);
109
106
  this.stop(false);
@@ -113,11 +110,11 @@ class App {
113
110
  }
114
111
  }
115
112
  // @ts-ignore
116
- (_a = this.worker) === null || _a === void 0 ? void 0 : _a.postMessage({ type: 'compressed', batch: result });
113
+ this.worker?.postMessage({ type: 'compressed', batch: result });
117
114
  });
118
115
  }
119
116
  else {
120
- (_a = this.worker) === null || _a === void 0 ? void 0 : _a.postMessage({ type: 'uncompressed', batch: batch });
117
+ this.worker?.postMessage({ type: 'uncompressed', batch: batch });
121
118
  }
122
119
  }
123
120
  };
@@ -220,8 +217,8 @@ class App {
220
217
  if (useSafe) {
221
218
  listener = this.safe(listener);
222
219
  }
223
- this.attachStartCallback(() => target === null || target === void 0 ? void 0 : target.addEventListener(type, listener, useCapture), useSafe);
224
- this.attachStopCallback(() => target === null || target === void 0 ? void 0 : target.removeEventListener(type, listener, useCapture), useSafe);
220
+ this.attachStartCallback(() => target?.addEventListener(type, listener, useCapture), useSafe);
221
+ this.attachStopCallback(() => target?.removeEventListener(type, listener, useCapture), useSafe);
225
222
  }
226
223
  // TODO: full correct semantic
227
224
  checkRequiredVersion(version) {
@@ -250,7 +247,10 @@ class App {
250
247
  };
251
248
  }
252
249
  getSessionInfo() {
253
- return Object.assign(Object.assign({}, this.session.getInfo()), this.getTrackerInfo());
250
+ return {
251
+ ...this.session.getInfo(),
252
+ ...this.getTrackerInfo(),
253
+ };
254
254
  }
255
255
  getSessionToken() {
256
256
  return this.session.getSessionToken();
@@ -268,7 +268,7 @@ class App {
268
268
  const isSaas = /api\.openreplay\.com/.test(ingest);
269
269
  const projectPath = isSaas ? 'https://openreplay.com/ingest' : ingest;
270
270
  const url = projectPath.replace(/ingest$/, `${projectID}/session/${sessionID}`);
271
- if (options === null || options === void 0 ? void 0 : options.withCurrentTime) {
271
+ if (options?.withCurrentTime) {
272
272
  const jumpTo = (0, utils_js_1.now)() - timestamp;
273
273
  return `${url}?jumpto=${jumpTo}`;
274
274
  }
@@ -281,7 +281,6 @@ class App {
281
281
  return this.projectKey;
282
282
  }
283
283
  getBaseHref() {
284
- var _a, _b;
285
284
  if (typeof this.options.resourceBaseHref === 'string') {
286
285
  return this.options.resourceBaseHref;
287
286
  }
@@ -292,7 +291,7 @@ class App {
292
291
  return document.baseURI;
293
292
  }
294
293
  // IE only
295
- return (((_b = (_a = document.head) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('base')[0]) === null || _b === void 0 ? void 0 : _b.getAttribute('href')) ||
294
+ return (document.head?.getElementsByTagName('base')[0]?.getAttribute('href') ||
296
295
  location.origin + location.pathname);
297
296
  }
298
297
  resolveResourceURL(resourceURL) {
@@ -355,8 +354,14 @@ class App {
355
354
  headers: {
356
355
  'Content-Type': 'application/json',
357
356
  },
358
- body: JSON.stringify(Object.assign(Object.assign({}, this.getTrackerInfo()), { timestamp, userID: this.session.getInfo().userID, token: needNewSessionID ? undefined : this.session.getSessionToken(), deviceMemory: performance_js_1.deviceMemory,
359
- jsHeapSizeLimit: performance_js_1.jsHeapSizeLimit })),
357
+ body: JSON.stringify({
358
+ ...this.getTrackerInfo(),
359
+ timestamp,
360
+ userID: this.session.getInfo().userID,
361
+ token: needNewSessionID ? undefined : this.session.getSessionToken(),
362
+ deviceMemory: performance_js_1.deviceMemory,
363
+ jsHeapSizeLimit: performance_js_1.jsHeapSizeLimit,
364
+ }),
360
365
  })
361
366
  .then((r) => {
362
367
  if (r.status === 200) {
@@ -26,7 +26,6 @@ class IFrameOffsets {
26
26
  return this.calcOffset(state);
27
27
  }
28
28
  observe(iFrame) {
29
- var _a;
30
29
  const doc = iFrame.contentDocument;
31
30
  if (!doc) {
32
31
  return;
@@ -38,9 +37,8 @@ class IFrameOffsets {
38
37
  iFrame,
39
38
  parent: parentState || null,
40
39
  clear: () => {
41
- var _a;
42
40
  parentDoc.removeEventListener('scroll', invalidateOffset);
43
- (_a = parentDoc.defaultView) === null || _a === void 0 ? void 0 : _a.removeEventListener('resize', invalidateOffset);
41
+ parentDoc.defaultView?.removeEventListener('resize', invalidateOffset);
44
42
  },
45
43
  };
46
44
  const invalidateOffset = () => {
@@ -48,7 +46,7 @@ class IFrameOffsets {
48
46
  };
49
47
  // anything more reliable? This does not cover all cases (layout changes are ignored, for ex.)
50
48
  parentDoc.addEventListener('scroll', invalidateOffset);
51
- (_a = parentDoc.defaultView) === null || _a === void 0 ? void 0 : _a.addEventListener('resize', invalidateOffset);
49
+ parentDoc.defaultView?.addEventListener('resize', invalidateOffset);
52
50
  this.states.set(doc, state);
53
51
  }
54
52
  clear() {
@@ -16,7 +16,7 @@ function isIgnored(node) {
16
16
  if (tag === 'LINK') {
17
17
  const rel = node.getAttribute('rel');
18
18
  const as = node.getAttribute('as');
19
- return !((rel === null || rel === void 0 ? void 0 : rel.includes('stylesheet')) || as === 'style' || as === 'font');
19
+ return !(rel?.includes('stylesheet') || as === 'style' || as === 'font');
20
20
  }
21
21
  return (tag === 'SCRIPT' || tag === 'NOSCRIPT' || tag === 'META' || tag === 'TITLE' || tag === 'BASE');
22
22
  }
package/cjs/index.js CHANGED
@@ -142,7 +142,7 @@ class API {
142
142
  // no-cors issue only with text/plain or not-set Content-Type
143
143
  // req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
144
144
  req.send(JSON.stringify({
145
- trackerVersion: '7.0.1',
145
+ trackerVersion: '7.0.2-beta.2',
146
146
  projectKey: options.projectKey,
147
147
  doNotTrack,
148
148
  // TODO: add precise reason (an exact API missing)
@@ -7,16 +7,53 @@ function default_1(app, instance, opts, sanitize, stringify) {
7
7
  const { headers: reqHs, data: reqData, method, url } = axiosResponseObj.config;
8
8
  const { data: rData, headers: rHs, status: globStatus, response } = axiosResponseObj;
9
9
  const { data: resData, headers: resHs, status: resStatus } = response || {};
10
+ const ihOpt = opts.ignoreHeaders;
11
+ const isHIgnoring = Array.isArray(ihOpt) ? (name) => ihOpt.includes(name) : () => ihOpt;
12
+ function writeHeader(hsObj, header) {
13
+ if (!isHIgnoring(header[0])) {
14
+ hsObj[header[0]] = header[1];
15
+ }
16
+ }
17
+ let requestHs = {};
18
+ let responseHs = {};
19
+ if (reqHs.toJSON) {
20
+ requestHs = reqHs.toJSON();
21
+ }
22
+ else if (reqHs instanceof Headers) {
23
+ reqHs.forEach((v, n) => writeHeader(requestHs, [n, v]));
24
+ }
25
+ else if (Array.isArray(reqHs)) {
26
+ reqHs.forEach((h) => writeHeader(requestHs, h));
27
+ }
28
+ else if (typeof reqHs === 'object') {
29
+ Object.entries(reqHs).forEach((h) => writeHeader(requestHs, h));
30
+ }
31
+ const usedResHeader = resHs ? resHs : rHs;
32
+ if (usedResHeader.toJSON) {
33
+ responseHs = usedResHeader.toJSON();
34
+ }
35
+ else if (usedResHeader instanceof Headers) {
36
+ usedResHeader.forEach((v, n) => writeHeader(responseHs, [n, v]));
37
+ }
38
+ else if (Array.isArray(usedResHeader)) {
39
+ usedResHeader.forEach((h) => writeHeader(responseHs, h));
40
+ }
41
+ else if (typeof usedResHeader === 'object') {
42
+ Object.entries(usedResHeader).forEach(([n, v]) => {
43
+ if (!isHIgnoring(n))
44
+ responseHs[n] = v;
45
+ });
46
+ }
10
47
  const reqResInfo = sanitize({
11
48
  url,
12
49
  method: method || '',
13
50
  status: globStatus || resStatus || 0,
14
51
  request: {
15
- headers: reqHs.toJSON(),
52
+ headers: requestHs,
16
53
  body: reqData,
17
54
  },
18
55
  response: {
19
- headers: (resHs === null || resHs === void 0 ? void 0 : resHs.toJSON()) || rHs.toJSON(),
56
+ headers: responseHs,
20
57
  body: resData || rData,
21
58
  },
22
59
  });
@@ -55,9 +92,8 @@ function default_1(app, instance, opts, sanitize, stringify) {
55
92
  synchronous: true,
56
93
  });
57
94
  app.attachStopCallback(() => {
58
- var _a, _b, _c, _d;
59
- (_b = (_a = instance.interceptors.request).eject) === null || _b === void 0 ? void 0 : _b.call(_a, reqInt);
60
- (_d = (_c = instance.interceptors.response).eject) === null || _d === void 0 ? void 0 : _d.call(_c, resInt);
95
+ instance.interceptors.request.eject?.(reqInt);
96
+ instance.interceptors.response.eject?.(resInt);
61
97
  });
62
98
  }
63
99
  exports.default = default_1;
@@ -72,12 +72,15 @@ function default_1(app) {
72
72
  function patchAdoptedStyleSheets(prototype) {
73
73
  const nativeAdoptedStyleSheetsDescriptor = Object.getOwnPropertyDescriptor(prototype, 'adoptedStyleSheets');
74
74
  if (nativeAdoptedStyleSheetsDescriptor) {
75
- Object.defineProperty(prototype, 'adoptedStyleSheets', Object.assign(Object.assign({}, nativeAdoptedStyleSheetsDescriptor), { set: function (value) {
75
+ Object.defineProperty(prototype, 'adoptedStyleSheets', {
76
+ ...nativeAdoptedStyleSheetsDescriptor,
77
+ set: function (value) {
76
78
  // @ts-ignore
77
79
  const retVal = nativeAdoptedStyleSheetsDescriptor.set.call(this, value);
78
80
  sendAdoptedStyleSheetsUpdate(this);
79
81
  return retVal;
80
- } }));
82
+ },
83
+ });
81
84
  }
82
85
  }
83
86
  const patchContext = (context) => {
@@ -4,16 +4,21 @@ const guards_js_1 = require("../app/guards.js");
4
4
  const utils_js_1 = require("../utils.js");
5
5
  const messages_gen_js_1 = require("../app/messages.gen.js");
6
6
  const input_js_1 = require("./input.js");
7
- const finder_1 = require("@medv/finder");
8
- function _getSelector(target, document, options) {
9
- const selector = (0, finder_1.finder)(target, {
7
+ // loading it only once per browser tab context
8
+ // plus workaround for SSR apps
9
+ let finderLib;
10
+ async function _getSelector(target, document, options) {
11
+ if (!finderLib) {
12
+ const { finder } = await import('@medv/finder');
13
+ finderLib = finder;
14
+ }
15
+ return finderLib(target, {
10
16
  root: document.body,
11
17
  seedMinLength: 3,
12
- optimizedMinLength: (options === null || options === void 0 ? void 0 : options.minSelectorDepth) || 2,
13
- threshold: (options === null || options === void 0 ? void 0 : options.nthThreshold) || 1000,
14
- maxNumberOfTries: (options === null || options === void 0 ? void 0 : options.maxOptimiseTries) || 10000,
18
+ optimizedMinLength: options?.minSelectorDepth || 2,
19
+ threshold: options?.nthThreshold || 1000,
20
+ maxNumberOfTries: options?.maxOptimiseTries || 10000,
15
21
  });
16
- return selector;
17
22
  }
18
23
  function isClickable(element) {
19
24
  const tag = element.tagName.toUpperCase();
@@ -133,8 +138,12 @@ function default_1(app, options) {
133
138
  }
134
139
  };
135
140
  const patchDocument = (document, topframe = false) => {
136
- function getSelector(id, target, options) {
137
- return (selectorMap[id] = selectorMap[id] || _getSelector(target, document, options));
141
+ async function getSelector(id, target, options) {
142
+ if (selectorMap[id]) {
143
+ return selectorMap[id];
144
+ }
145
+ const selector = await _getSelector(target, document, options);
146
+ return selector;
138
147
  }
139
148
  const attachListener = topframe
140
149
  ? app.attachEventListener.bind(app) // attached/removed on start/stop
@@ -158,7 +167,7 @@ function default_1(app, options) {
158
167
  directionChangeCount++;
159
168
  }
160
169
  }, false);
161
- attachListener(document, 'click', (e) => {
170
+ attachListener(document, 'click', async (e) => {
162
171
  const target = getTarget(e.target, document);
163
172
  if ((!e.clientX && !e.clientY) || target === null) {
164
173
  return;
@@ -166,7 +175,7 @@ function default_1(app, options) {
166
175
  const id = app.nodes.getID(target);
167
176
  if (id !== undefined) {
168
177
  sendMouseMove();
169
- app.send((0, messages_gen_js_1.MouseClick)(id, mouseTarget === target ? Math.round(performance.now() - mouseTargetTime) : 0, getTargetLabel(target), isClickable(target) && !disableClickmaps ? getSelector(id, target, options) : ''), true);
178
+ app.send((0, messages_gen_js_1.MouseClick)(id, mouseTarget === target ? Math.round(performance.now() - mouseTargetTime) : 0, getTargetLabel(target), isClickable(target) && !disableClickmaps ? await getSelector(id, target, options) : ''), true);
170
179
  }
171
180
  mouseTarget = null;
172
181
  });
@@ -177,6 +186,6 @@ function default_1(app, options) {
177
186
  }
178
187
  });
179
188
  patchDocument(document, true);
180
- app.ticker.attach(sendMouseMove, (options === null || options === void 0 ? void 0 : options.trackingOffset) || 7);
189
+ app.ticker.attach(sendMouseMove, options?.trackingOffset || 7);
181
190
  }
182
191
  exports.default = default_1;
@@ -49,7 +49,7 @@ function default_1(app, opts = {}) {
49
49
  try {
50
50
  reqResInfo.response.body = JSON.parse(resBody);
51
51
  }
52
- catch (_a) { }
52
+ catch { }
53
53
  }
54
54
  return options.sanitizer(reqResInfo);
55
55
  }
@@ -60,7 +60,7 @@ function default_1(app, opts = {}) {
60
60
  try {
61
61
  r.body = JSON.stringify(r.body);
62
62
  }
63
- catch (_a) {
63
+ catch {
64
64
  r.body = '<unable to stringify>';
65
65
  app.notify.warn("Openreplay fetch couldn't stringify body:", r.body);
66
66
  }
@@ -166,7 +166,7 @@ function default_1(app, opts = {}) {
166
166
  .split('\r\n')
167
167
  .map((h) => h.split(':'))
168
168
  .filter((entry) => !isHIgnored(entry[0]))
169
- .reduce((hds, [name, value]) => (Object.assign(Object.assign({}, hds), { [name]: value })), {})
169
+ .reduce((hds, [name, value]) => ({ ...hds, [name]: value }), {})
170
170
  : {};
171
171
  const method = strMethod(initMethod);
172
172
  const reqResInfo = sanitize({
package/cjs/utils.js CHANGED
@@ -70,9 +70,8 @@ function hasOpenreplayAttribute(e, attr) {
70
70
  }
71
71
  exports.hasOpenreplayAttribute = hasOpenreplayAttribute;
72
72
  function isIframeCrossdomain(e) {
73
- var _a;
74
73
  try {
75
- return ((_a = e.contentWindow) === null || _a === void 0 ? void 0 : _a.location.href) !== window.location.href;
74
+ return e.contentWindow?.location.href !== window.location.href;
76
75
  }
77
76
  catch (e) {
78
77
  return true;
@@ -27,7 +27,7 @@ function finder(input, options) {
27
27
  threshold: 1000,
28
28
  maxNumberOfTries: 10000,
29
29
  };
30
- config = Object.assign(Object.assign({}, defaults), options);
30
+ config = { ...defaults, ...options };
31
31
  rootDocument = findRootDocument(config.root, defaults);
32
32
  let path = bottomUpSearch(input, Limit.All, () => bottomUpSearch(input, Limit.Two, () => bottomUpSearch(input, Limit.One)));
33
33
  if (path) {
@@ -271,7 +271,7 @@ const defaultOptions = {
271
271
  wrap: false,
272
272
  };
273
273
  function cssesc(string, opt = {}) {
274
- const options = Object.assign(Object.assign({}, defaultOptions), opt);
274
+ const options = { ...defaultOptions, ...opt };
275
275
  if (options.quotes != 'single' && options.quotes != 'double') {
276
276
  options.quotes = 'single';
277
277
  }
package/lib/app/index.js CHANGED
@@ -11,7 +11,7 @@ import { deviceMemory, jsHeapSizeLimit } from '../modules/performance.js';
11
11
  const CANCELED = 'canceled';
12
12
  const START_ERROR = ':(';
13
13
  const UnsuccessfulStart = (reason) => ({ reason, success: false });
14
- const SuccessfulStart = (body) => (Object.assign(Object.assign({}, body), { success: true }));
14
+ const SuccessfulStart = (body) => ({ ...body, success: true });
15
15
  var ActivityState;
16
16
  (function (ActivityState) {
17
17
  ActivityState[ActivityState["NotActive"] = 0] = "NotActive";
@@ -25,13 +25,12 @@ export default class App {
25
25
  // if (options.onStart !== undefined) {
26
26
  // deprecationWarn("'onStart' option", "tracker.start().then(/* handle session info */)")
27
27
  // } ?? maybe onStart is good
28
- var _a, _b;
29
28
  this.messages = [];
30
29
  this.startCallbacks = [];
31
30
  this.stopCallbacks = [];
32
31
  this.commitCallbacks = [];
33
32
  this.activityState = ActivityState.NotActive;
34
- this.version = '7.0.1'; // TODO: version compatability check inside each plugin.
33
+ this.version = '7.0.2-beta.2'; // TODO: version compatability check inside each plugin.
35
34
  this.compressionThreshold = 24 * 1000;
36
35
  this.restartAttempts = 0;
37
36
  this._usingOldFetchPlugin = false;
@@ -54,8 +53,8 @@ export default class App {
54
53
  sessionStorage: null,
55
54
  }, options);
56
55
  this.revID = this.options.revID;
57
- this.localStorage = (_a = this.options.localStorage) !== null && _a !== void 0 ? _a : window.localStorage;
58
- this.sessionStorage = (_b = this.options.sessionStorage) !== null && _b !== void 0 ? _b : window.sessionStorage;
56
+ this.localStorage = this.options.localStorage ?? window.localStorage;
57
+ this.sessionStorage = this.options.sessionStorage ?? window.sessionStorage;
59
58
  this.sanitizer = new Sanitizer(this, options);
60
59
  this.nodes = new Nodes(this.options.node_id);
61
60
  this.observer = new Observer(this, options);
@@ -83,7 +82,6 @@ export default class App {
83
82
  this._debug('webworker_error', e);
84
83
  };
85
84
  this.worker.onmessage = ({ data }) => {
86
- var _a;
87
85
  if (data === 'restart') {
88
86
  this.stop(false);
89
87
  void this.start({}, true);
@@ -100,7 +98,6 @@ export default class App {
100
98
  const batchSize = batch.byteLength;
101
99
  if (batchSize > this.compressionThreshold) {
102
100
  gzip(data.batch, { mtime: 0 }, (err, result) => {
103
- var _a;
104
101
  if (err) {
105
102
  console.error('Openreplay compression error:', err);
106
103
  this.stop(false);
@@ -110,11 +107,11 @@ export default class App {
110
107
  }
111
108
  }
112
109
  // @ts-ignore
113
- (_a = this.worker) === null || _a === void 0 ? void 0 : _a.postMessage({ type: 'compressed', batch: result });
110
+ this.worker?.postMessage({ type: 'compressed', batch: result });
114
111
  });
115
112
  }
116
113
  else {
117
- (_a = this.worker) === null || _a === void 0 ? void 0 : _a.postMessage({ type: 'uncompressed', batch: batch });
114
+ this.worker?.postMessage({ type: 'uncompressed', batch: batch });
118
115
  }
119
116
  }
120
117
  };
@@ -217,8 +214,8 @@ export default class App {
217
214
  if (useSafe) {
218
215
  listener = this.safe(listener);
219
216
  }
220
- this.attachStartCallback(() => target === null || target === void 0 ? void 0 : target.addEventListener(type, listener, useCapture), useSafe);
221
- this.attachStopCallback(() => target === null || target === void 0 ? void 0 : target.removeEventListener(type, listener, useCapture), useSafe);
217
+ this.attachStartCallback(() => target?.addEventListener(type, listener, useCapture), useSafe);
218
+ this.attachStopCallback(() => target?.removeEventListener(type, listener, useCapture), useSafe);
222
219
  }
223
220
  // TODO: full correct semantic
224
221
  checkRequiredVersion(version) {
@@ -247,7 +244,10 @@ export default class App {
247
244
  };
248
245
  }
249
246
  getSessionInfo() {
250
- return Object.assign(Object.assign({}, this.session.getInfo()), this.getTrackerInfo());
247
+ return {
248
+ ...this.session.getInfo(),
249
+ ...this.getTrackerInfo(),
250
+ };
251
251
  }
252
252
  getSessionToken() {
253
253
  return this.session.getSessionToken();
@@ -265,7 +265,7 @@ export default class App {
265
265
  const isSaas = /api\.openreplay\.com/.test(ingest);
266
266
  const projectPath = isSaas ? 'https://openreplay.com/ingest' : ingest;
267
267
  const url = projectPath.replace(/ingest$/, `${projectID}/session/${sessionID}`);
268
- if (options === null || options === void 0 ? void 0 : options.withCurrentTime) {
268
+ if (options?.withCurrentTime) {
269
269
  const jumpTo = now() - timestamp;
270
270
  return `${url}?jumpto=${jumpTo}`;
271
271
  }
@@ -278,7 +278,6 @@ export default class App {
278
278
  return this.projectKey;
279
279
  }
280
280
  getBaseHref() {
281
- var _a, _b;
282
281
  if (typeof this.options.resourceBaseHref === 'string') {
283
282
  return this.options.resourceBaseHref;
284
283
  }
@@ -289,7 +288,7 @@ export default class App {
289
288
  return document.baseURI;
290
289
  }
291
290
  // IE only
292
- return (((_b = (_a = document.head) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('base')[0]) === null || _b === void 0 ? void 0 : _b.getAttribute('href')) ||
291
+ return (document.head?.getElementsByTagName('base')[0]?.getAttribute('href') ||
293
292
  location.origin + location.pathname);
294
293
  }
295
294
  resolveResourceURL(resourceURL) {
@@ -352,8 +351,14 @@ export default class App {
352
351
  headers: {
353
352
  'Content-Type': 'application/json',
354
353
  },
355
- body: JSON.stringify(Object.assign(Object.assign({}, this.getTrackerInfo()), { timestamp, userID: this.session.getInfo().userID, token: needNewSessionID ? undefined : this.session.getSessionToken(), deviceMemory,
356
- jsHeapSizeLimit })),
354
+ body: JSON.stringify({
355
+ ...this.getTrackerInfo(),
356
+ timestamp,
357
+ userID: this.session.getInfo().userID,
358
+ token: needNewSessionID ? undefined : this.session.getSessionToken(),
359
+ deviceMemory,
360
+ jsHeapSizeLimit,
361
+ }),
357
362
  })
358
363
  .then((r) => {
359
364
  if (r.status === 200) {
@@ -24,7 +24,6 @@ export default class IFrameOffsets {
24
24
  return this.calcOffset(state);
25
25
  }
26
26
  observe(iFrame) {
27
- var _a;
28
27
  const doc = iFrame.contentDocument;
29
28
  if (!doc) {
30
29
  return;
@@ -36,9 +35,8 @@ export default class IFrameOffsets {
36
35
  iFrame,
37
36
  parent: parentState || null,
38
37
  clear: () => {
39
- var _a;
40
38
  parentDoc.removeEventListener('scroll', invalidateOffset);
41
- (_a = parentDoc.defaultView) === null || _a === void 0 ? void 0 : _a.removeEventListener('resize', invalidateOffset);
39
+ parentDoc.defaultView?.removeEventListener('resize', invalidateOffset);
42
40
  },
43
41
  };
44
42
  const invalidateOffset = () => {
@@ -46,7 +44,7 @@ export default class IFrameOffsets {
46
44
  };
47
45
  // anything more reliable? This does not cover all cases (layout changes are ignored, for ex.)
48
46
  parentDoc.addEventListener('scroll', invalidateOffset);
49
- (_a = parentDoc.defaultView) === null || _a === void 0 ? void 0 : _a.addEventListener('resize', invalidateOffset);
47
+ parentDoc.defaultView?.addEventListener('resize', invalidateOffset);
50
48
  this.states.set(doc, state);
51
49
  }
52
50
  clear() {
@@ -14,7 +14,7 @@ function isIgnored(node) {
14
14
  if (tag === 'LINK') {
15
15
  const rel = node.getAttribute('rel');
16
16
  const as = node.getAttribute('as');
17
- return !((rel === null || rel === void 0 ? void 0 : rel.includes('stylesheet')) || as === 'style' || as === 'font');
17
+ return !(rel?.includes('stylesheet') || as === 'style' || as === 'font');
18
18
  }
19
19
  return (tag === 'SCRIPT' || tag === 'NOSCRIPT' || tag === 'META' || tag === 'TITLE' || tag === 'BASE');
20
20
  }
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/common/messages.gen.ts","../../src/common/interaction.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/parse5/dist/cjs/common/html.d.ts","../../node_modules/parse5/dist/cjs/common/token.d.ts","../../node_modules/parse5/dist/cjs/common/error-codes.d.ts","../../node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts","../../node_modules/parse5/dist/cjs/tokenizer/index.d.ts","../../node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts","../../node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts","../../node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts","../../node_modules/parse5/dist/cjs/parser/index.d.ts","../../node_modules/parse5/dist/cjs/tree-adapters/default.d.ts","../../node_modules/parse5/dist/cjs/serializer/index.d.ts","../../node_modules/parse5/dist/cjs/common/foreign-content.d.ts","../../node_modules/parse5/dist/cjs/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/jsdom/base.d.ts","../../node_modules/@types/jsdom/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e006479e644c0b532e275bfa27c4a3c898d18a32cfcad0a9d103b45c8464aaf","signature":"d122ccf255c1258d6ae7f54515914a5605a867108483fb5572c86707a2ed73f3","impliedFormat":99},{"version":"557f4368ce3ac79da76c2798548edd24fc33e817526ceb1969298f197815a64f","signature":"48290b53f9ec600dc1e7969c08d1542c977f1d6192366f5424208ea7abc39b9b","impliedFormat":99},{"version":"a20fc1fcd9cd7c2b79d5f00d14802c1d58c3848e09ee4f84b350591af88b7636","impliedFormat":1},{"version":"cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","impliedFormat":1},{"version":"b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","impliedFormat":1},{"version":"93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","impliedFormat":1},{"version":"dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","impliedFormat":1},{"version":"b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb","impliedFormat":1},{"version":"89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","impliedFormat":1},{"version":"9ee13abb39c50c2f45b5362dbadc55334e82dfc9789cfc070808e10dc5f60000","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"03c04ba2137908b3b6219ecadc3471d4e39bb9030e6404510ee6e87a3b590a2d","impliedFormat":1},{"version":"772ff00e189d93488d1ca6f0f4dfba77bd090a99ed31e19a14bc16fad4078e48","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d2bcfb9c4591832ec479f830c49c291419caeb19953506bdeef1c0e6ad79b03","impliedFormat":1},{"version":"ac0c7cb0a4c1bec60be2c0460b3bda1e674eaf2c98312d7b6f16a0bb58718e2d","impliedFormat":1},{"version":"7e2181a6fc140b4525d5a45c204477c37fa78a635558e88552c68f76a4325403","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"0ea59475772c2a8fdeb1f41ad9b02025aff6423003ec7eaf8129ee846f438aee","impliedFormat":1},{"version":"276b547eeb8eeeee9a446a3bfa6e07d1c0199269bdcf33813abab1281394a9cb","impliedFormat":1},{"version":"c999f7816955f75b447823e3e4085f699600e2a4a3327907df9af65b0a9c0df6","impliedFormat":1},{"version":"64361245fe025cbbad90451dd3698f7e6822d465ef568cbee3a4d8ddb52e7cda","impliedFormat":1},{"version":"8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","impliedFormat":1},{"version":"9b814e0806922056145bedb096f11b73bdce70cc871f3ccfc4ce00b2cba75718","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"2013a2215691096d953ce7cefbc71a6cd31ef14be092cd003792714c5cd23bde","affectsGlobalScope":true,"impliedFormat":1},{"version":"60155c38ec392043962a90006153f7e31187b93411f2d8f9b35f595e98b8d75f","impliedFormat":1},{"version":"2ad6a251b6ef19fd1f8498f83bb7b265033bd52287e1f6569d09544f18806713","impliedFormat":1},{"version":"bfa08f2c30c475aef1c9451855ba6b2acfdc64f61950a38fae75806d66fb85c2","impliedFormat":1},{"version":"159807eb55a9439f9a675bd493788190a6203b5f36c315f8c3acbfcb875c7072","impliedFormat":1},{"version":"fe31b2b31ac5453fc7b8eef32b62017e55b214ceb884f0b177f442af92e84682","impliedFormat":1},{"version":"dd72576c8ea64d55af46a386068503d3cfcecce84ed7e1cbd4ff4081ba67fafc","impliedFormat":1},{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"70a7e8a7880d55396285e4b85ff5bdf3af3083176abe07f944967836f2a43188","impliedFormat":1},{"version":"3570df7c6f3a976109f55b596a2d88c2f87e0574cd1502272594ee5c4e56d0ef","impliedFormat":1},{"version":"850e95721334c2aa7697b08782f443ec4286274e5024169d4443933544f359d7","impliedFormat":1},{"version":"74e6cd21f7b5e29fab05060ea24e2b90aa254f16f3f62ccd7055bdb8fc7b2ff5","affectsGlobalScope":true,"impliedFormat":1},{"version":"5761c90b0cabdd6bd1f5fb1c3bf942088fdd39e18ed35dbe39b0c34bc733bf13","affectsGlobalScope":true,"impliedFormat":1},{"version":"1eb6c5569d41e6021832d0a8a71f45fecbc13d03ad7d306da485999148b64955","impliedFormat":1},{"version":"c05ef0ecf06540ad3039515c10d3b27f9380639ced40f4093fd073e1b5ff21d9","impliedFormat":1},{"version":"fd25a0d3e6448b61d33e1fe4e0667a1a87a77e53570b65a454937cf2dc92f967","impliedFormat":1},{"version":"c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","impliedFormat":1},{"version":"24a68c38b5c66d6a6883624342560d88db670e97824b397e78d9dac121aa8bae","impliedFormat":1},{"version":"9a134dbb29f0af914d90b23f609b39019d66ed53db7d492ab6b04c67114559da","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"7b3781fbdfddbee8dba55ccee5aa74a7c8d6701ade11d49ab7d8cb1fcefe669e","impliedFormat":1},{"version":"c4aab2ec3a249f2a4caa9cbdb099752a80daf999b79d85aa3504cdfd6e559476","impliedFormat":1},{"version":"666d3f264db693828f6edc2eb53ae6013e40f6e39278ca209c7a8a99ac91b62f","affectsGlobalScope":true,"impliedFormat":1},{"version":"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","impliedFormat":1},{"version":"c764a6cf523d13f2304a23216cd1084e28c041eebabd8aa9b2a9d99866c668c0","impliedFormat":1},{"version":"1272a5c2bd05961adc473e905332b7a422b00485c10b41c752f7fcf6835e3436","impliedFormat":1},{"version":"30ef92bf8135ce36ba1231fe41715276f2a40be72a478ddeb862bc16672e8680","impliedFormat":1},{"version":"4ace0a30a70fe5963442d75ea6e69f525671ae76f6e57ab7556c44839b4237e8","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f03dbf03c001fb3ac1c9bea6dde049dfff27ef8886cc4a886374aacf2e997d","affectsGlobalScope":true,"impliedFormat":1},{"version":"66bfb3de947abf4b117ee849c245425dbe494d6903e28f9ded566e91c9d05d77","impliedFormat":1},{"version":"c28d4f58131b93d60e087b86148d4e0c9d9b5c49c23ff1a9d1a9594fdedd5d08","impliedFormat":1},{"version":"c6b5d7f259544c91024ecf2b17138574a3f6ff2476468fafd7f957d2b68d6d98","impliedFormat":1},{"version":"1ec27c4b695590464113276d174f873e260e468ef226b7dc18f9193875fa559d","affectsGlobalScope":true,"impliedFormat":1},{"version":"33da4ee2ab9fdd9ef8b3fc526d871ce02ae8c825283f5695e7cad507c087b97c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"71709584ed5ed7d236dc225441ec4634ffc6c718853e04b9c27b9ea121459044","impliedFormat":1},{"version":"963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","impliedFormat":1},{"version":"fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","impliedFormat":1},{"version":"bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e","impliedFormat":1},{"version":"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","impliedFormat":1},{"version":"7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","impliedFormat":1},{"version":"f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","impliedFormat":1},{"version":"ba600bf38b5c1a5dffa1b99dd7a783549082bbba3b4fe9497eaaf5e4c1764b20","impliedFormat":1},{"version":"ae8cd6af37275eac75f5369cdb5f01063bcf1f48d74cb434303ee50ec446acfe","impliedFormat":1},{"version":"2518830a2fda9c272ba48798d0e7b857037443b06594db8e42c87e86944ee9e4","impliedFormat":1},{"version":"95c1cf650d16b197525b5bfdf8dd7abba0a49d99ddb12a4ba66466a8a6903e49","impliedFormat":1},{"version":"1fe0aabe758d56ad72495d6e6c7b6ae75619faaeaaf03f0ddf1948eea4cfac84","impliedFormat":1},{"version":"bbc57966c8c48ee78fd58aadb893784025be056ae538ae22d1e83c502a987e68","impliedFormat":1},{"version":"5e5d6f6697e378b0660b567866bf67d099d0ea754f8810c0dabe737805f5cf03","impliedFormat":1},{"version":"99ab49d4732fdc98cf5c495925e65e796544cb4086fe42afc235dfc02bcf2351","impliedFormat":1},{"version":"af8339d509c40da075088e544c28ed37b519876e5c4d36a48644ebfb3c6ae6c8","impliedFormat":1},{"version":"d393adc32e520d4274bb4c3dfdcdb342b806a230b66ef0f82b35bffbc4aa2590","impliedFormat":1},{"version":"c26af7eaedb4f710984634e419ab15e54e5bb99a0b3cae71188c2fff572276de","impliedFormat":1},{"version":"38b58ef018d0aeee42ef74c42978bb5805503233fdeeb82cd2aed2199fb0d013","impliedFormat":1},{"version":"3b6040253231d44e6778eb6861cc86c1758562e77783d21b7ecbc73322ded539","impliedFormat":1},{"version":"cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","impliedFormat":1},{"version":"fd0589ca571ad090b531d8c095e26caa53d4825c64d3ff2b2b1ab95d72294175","impliedFormat":1},{"version":"669843ecafb89ae1e944df06360e8966219e4c1c34c0d28aa2503272cdd444a7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","impliedFormat":1},{"version":"bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621","impliedFormat":1},{"version":"8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","impliedFormat":1},{"version":"2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","impliedFormat":1},{"version":"2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","impliedFormat":1},{"version":"42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","impliedFormat":1},{"version":"d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","impliedFormat":1},{"version":"b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","impliedFormat":1},{"version":"7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","impliedFormat":1},{"version":"906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","impliedFormat":1},{"version":"5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","impliedFormat":1},{"version":"c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","impliedFormat":1},{"version":"e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","impliedFormat":1},{"version":"e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","impliedFormat":1},{"version":"9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","impliedFormat":1},{"version":"0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","impliedFormat":1},{"version":"71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","impliedFormat":1},{"version":"c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","impliedFormat":1},{"version":"2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","impliedFormat":1},{"version":"479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","impliedFormat":1},{"version":"ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","impliedFormat":1},{"version":"f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","impliedFormat":1},{"version":"86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","impliedFormat":1},{"version":"2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","impliedFormat":1},{"version":"a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","impliedFormat":1},{"version":"b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","impliedFormat":1},{"version":"61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","impliedFormat":1},{"version":"6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","impliedFormat":1},{"version":"c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","impliedFormat":1},{"version":"38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","impliedFormat":1},{"version":"d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","impliedFormat":1},{"version":"3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","impliedFormat":1},{"version":"b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","impliedFormat":1},{"version":"f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","impliedFormat":1},{"version":"843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","impliedFormat":1},{"version":"f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","impliedFormat":1},{"version":"6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","impliedFormat":1},{"version":"e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","impliedFormat":1},{"version":"a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","impliedFormat":1},{"version":"a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","impliedFormat":1},{"version":"da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","impliedFormat":1},{"version":"b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","impliedFormat":1},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750","impliedFormat":1}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"module":5,"noImplicitAny":true,"noImplicitThis":true,"outDir":"..","rootDir":"../../src","strictNullChecks":true,"target":2},"fileIdsList":[[46,99],[99],[46,47,48,49,50,99],[46,48,99],[69,70,99,106,107],[70,99,106],[99,110],[99,111],[69,99,101,106,125,126,128],[99,127],[53,99],[56,99],[57,62,90,99],[58,69,70,77,87,98,99],[58,59,69,77,99],[60,99],[61,62,70,78,99],[62,87,95,99],[63,65,69,77,99],[64,99],[65,66,99],[69,99],[67,69,99],[69,70,71,87,98,99],[69,70,71,84,87,90,99],[99,103],[65,69,72,77,87,98,99],[69,70,72,73,77,87,95,98,99],[72,74,87,95,98,99],[53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],[69,75,99],[76,98,99],[65,69,77,87,99],[78,99],[79,99],[56,80,99],[81,97,99,103],[82,99],[83,99],[69,84,85,99],[84,86,99,101],[57,69,87,88,89,90,99],[57,87,89,99],[87,88,99],[90,99],[91,99],[87,99],[69,93,94,99],[93,94,99],[62,77,87,95,99],[96,99],[77,97,99],[57,72,83,98,99],[62,99],[87,99,100],[99,101],[99,102],[57,62,69,71,80,87,98,99,101,103],[87,99,104],[99,106],[99,132,171],[99,132,156,171],[99,171],[99,132],[99,132,157,171],[99,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],[99,157,171],[99,173],[99,114],[99,113,114],[99,113],[99,113,114,115,117,118,121,122,123,124],[99,114,118],[99,113,114,115,117,118,119,120],[99,113,118],[99,118,122],[99,114,115,116],[99,115],[99,113,114,118],[44,99],[44]],"referencedMap":[[48,1],[46,2],[51,3],[47,1],[49,4],[50,1],[52,2],[108,5],[109,6],[110,2],[111,7],[112,8],[127,9],[128,10],[129,2],[107,2],[53,11],[54,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[65,21],[66,21],[68,22],[67,23],[69,22],[70,24],[71,25],[55,26],[105,2],[72,27],[73,28],[74,29],[106,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[81,37],[82,38],[83,39],[84,40],[85,40],[86,41],[87,42],[89,43],[88,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[97,52],[98,53],[99,54],[100,55],[101,56],[102,57],[103,58],[104,59],[130,2],[131,60],[156,61],[157,62],[132,63],[135,63],[154,61],[155,61],[145,61],[144,64],[142,61],[137,61],[150,61],[148,61],[152,61],[136,61],[149,61],[153,61],[138,61],[139,61],[151,61],[133,61],[140,61],[141,61],[143,61],[147,61],[158,65],[146,61],[134,61],[171,66],[170,2],[165,65],[167,67],[166,65],[159,65],[160,65],[162,65],[164,65],[168,67],[169,67],[161,67],[163,67],[172,2],[126,2],[173,2],[174,68],[115,69],[124,70],[113,2],[114,71],[125,72],[120,73],[121,74],[119,75],[123,76],[117,77],[116,78],[122,79],[118,70],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[45,80],[44,2]],"exportedModulesMap":[[48,1],[46,2],[51,3],[47,1],[49,4],[50,1],[52,2],[108,5],[109,6],[110,2],[111,7],[112,8],[127,9],[128,10],[129,2],[107,2],[53,11],[54,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[65,21],[66,21],[68,22],[67,23],[69,22],[70,24],[71,25],[55,26],[105,2],[72,27],[73,28],[74,29],[106,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[81,37],[82,38],[83,39],[84,40],[85,40],[86,41],[87,42],[89,43],[88,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[97,52],[98,53],[99,54],[100,55],[101,56],[102,57],[103,58],[104,59],[130,2],[131,60],[156,61],[157,62],[132,63],[135,63],[154,61],[155,61],[145,61],[144,64],[142,61],[137,61],[150,61],[148,61],[152,61],[136,61],[149,61],[153,61],[138,61],[139,61],[151,61],[133,61],[140,61],[141,61],[143,61],[147,61],[158,65],[146,61],[134,61],[171,66],[170,2],[165,65],[167,67],[166,65],[159,65],[160,65],[162,65],[164,65],[168,67],[169,67],[161,67],[163,67],[172,2],[126,2],[173,2],[174,68],[115,69],[124,70],[113,2],[114,71],[125,72],[120,73],[121,74],[119,75],[123,76],[117,77],[116,78],[122,79],[118,70],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[45,81]],"semanticDiagnosticsPerFile":[48,46,51,47,49,50,52,108,109,110,111,112,127,128,129,107,53,54,56,57,58,59,60,61,62,63,64,65,66,68,67,69,70,71,55,105,72,73,74,106,75,76,77,78,79,80,81,82,83,84,85,86,87,89,88,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,130,131,156,157,132,135,154,155,145,144,142,137,150,148,152,136,149,153,138,139,151,133,140,141,143,147,158,146,134,171,170,165,167,166,159,160,162,164,168,169,161,163,172,126,173,174,115,124,113,114,125,120,121,119,123,117,116,122,118,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,45,44],"latestChangedDtsFile":"./interaction.d.ts"},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/common/messages.gen.ts","../../src/common/interaction.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/parse5/dist/cjs/common/html.d.ts","../../node_modules/parse5/dist/cjs/common/token.d.ts","../../node_modules/parse5/dist/cjs/common/error-codes.d.ts","../../node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts","../../node_modules/parse5/dist/cjs/tokenizer/index.d.ts","../../node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts","../../node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts","../../node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts","../../node_modules/parse5/dist/cjs/parser/index.d.ts","../../node_modules/parse5/dist/cjs/tree-adapters/default.d.ts","../../node_modules/parse5/dist/cjs/serializer/index.d.ts","../../node_modules/parse5/dist/cjs/common/foreign-content.d.ts","../../node_modules/parse5/dist/cjs/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/jsdom/base.d.ts","../../node_modules/@types/jsdom/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e006479e644c0b532e275bfa27c4a3c898d18a32cfcad0a9d103b45c8464aaf","signature":"d122ccf255c1258d6ae7f54515914a5605a867108483fb5572c86707a2ed73f3","impliedFormat":99},{"version":"557f4368ce3ac79da76c2798548edd24fc33e817526ceb1969298f197815a64f","signature":"48290b53f9ec600dc1e7969c08d1542c977f1d6192366f5424208ea7abc39b9b","impliedFormat":99},{"version":"a20fc1fcd9cd7c2b79d5f00d14802c1d58c3848e09ee4f84b350591af88b7636","impliedFormat":1},{"version":"cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","impliedFormat":1},{"version":"b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","impliedFormat":1},{"version":"93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","impliedFormat":1},{"version":"dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","impliedFormat":1},{"version":"b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb","impliedFormat":1},{"version":"89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","impliedFormat":1},{"version":"9ee13abb39c50c2f45b5362dbadc55334e82dfc9789cfc070808e10dc5f60000","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"03c04ba2137908b3b6219ecadc3471d4e39bb9030e6404510ee6e87a3b590a2d","impliedFormat":1},{"version":"772ff00e189d93488d1ca6f0f4dfba77bd090a99ed31e19a14bc16fad4078e48","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d2bcfb9c4591832ec479f830c49c291419caeb19953506bdeef1c0e6ad79b03","impliedFormat":1},{"version":"ac0c7cb0a4c1bec60be2c0460b3bda1e674eaf2c98312d7b6f16a0bb58718e2d","impliedFormat":1},{"version":"7e2181a6fc140b4525d5a45c204477c37fa78a635558e88552c68f76a4325403","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"0ea59475772c2a8fdeb1f41ad9b02025aff6423003ec7eaf8129ee846f438aee","impliedFormat":1},{"version":"276b547eeb8eeeee9a446a3bfa6e07d1c0199269bdcf33813abab1281394a9cb","impliedFormat":1},{"version":"c999f7816955f75b447823e3e4085f699600e2a4a3327907df9af65b0a9c0df6","impliedFormat":1},{"version":"64361245fe025cbbad90451dd3698f7e6822d465ef568cbee3a4d8ddb52e7cda","impliedFormat":1},{"version":"8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","impliedFormat":1},{"version":"9b814e0806922056145bedb096f11b73bdce70cc871f3ccfc4ce00b2cba75718","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"2013a2215691096d953ce7cefbc71a6cd31ef14be092cd003792714c5cd23bde","affectsGlobalScope":true,"impliedFormat":1},{"version":"60155c38ec392043962a90006153f7e31187b93411f2d8f9b35f595e98b8d75f","impliedFormat":1},{"version":"2ad6a251b6ef19fd1f8498f83bb7b265033bd52287e1f6569d09544f18806713","impliedFormat":1},{"version":"bfa08f2c30c475aef1c9451855ba6b2acfdc64f61950a38fae75806d66fb85c2","impliedFormat":1},{"version":"159807eb55a9439f9a675bd493788190a6203b5f36c315f8c3acbfcb875c7072","impliedFormat":1},{"version":"fe31b2b31ac5453fc7b8eef32b62017e55b214ceb884f0b177f442af92e84682","impliedFormat":1},{"version":"dd72576c8ea64d55af46a386068503d3cfcecce84ed7e1cbd4ff4081ba67fafc","impliedFormat":1},{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"70a7e8a7880d55396285e4b85ff5bdf3af3083176abe07f944967836f2a43188","impliedFormat":1},{"version":"3570df7c6f3a976109f55b596a2d88c2f87e0574cd1502272594ee5c4e56d0ef","impliedFormat":1},{"version":"850e95721334c2aa7697b08782f443ec4286274e5024169d4443933544f359d7","impliedFormat":1},{"version":"74e6cd21f7b5e29fab05060ea24e2b90aa254f16f3f62ccd7055bdb8fc7b2ff5","affectsGlobalScope":true,"impliedFormat":1},{"version":"5761c90b0cabdd6bd1f5fb1c3bf942088fdd39e18ed35dbe39b0c34bc733bf13","affectsGlobalScope":true,"impliedFormat":1},{"version":"1eb6c5569d41e6021832d0a8a71f45fecbc13d03ad7d306da485999148b64955","impliedFormat":1},{"version":"c05ef0ecf06540ad3039515c10d3b27f9380639ced40f4093fd073e1b5ff21d9","impliedFormat":1},{"version":"fd25a0d3e6448b61d33e1fe4e0667a1a87a77e53570b65a454937cf2dc92f967","impliedFormat":1},{"version":"c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","impliedFormat":1},{"version":"24a68c38b5c66d6a6883624342560d88db670e97824b397e78d9dac121aa8bae","impliedFormat":1},{"version":"9a134dbb29f0af914d90b23f609b39019d66ed53db7d492ab6b04c67114559da","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"7b3781fbdfddbee8dba55ccee5aa74a7c8d6701ade11d49ab7d8cb1fcefe669e","impliedFormat":1},{"version":"c4aab2ec3a249f2a4caa9cbdb099752a80daf999b79d85aa3504cdfd6e559476","impliedFormat":1},{"version":"666d3f264db693828f6edc2eb53ae6013e40f6e39278ca209c7a8a99ac91b62f","affectsGlobalScope":true,"impliedFormat":1},{"version":"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","impliedFormat":1},{"version":"c764a6cf523d13f2304a23216cd1084e28c041eebabd8aa9b2a9d99866c668c0","impliedFormat":1},{"version":"1272a5c2bd05961adc473e905332b7a422b00485c10b41c752f7fcf6835e3436","impliedFormat":1},{"version":"30ef92bf8135ce36ba1231fe41715276f2a40be72a478ddeb862bc16672e8680","impliedFormat":1},{"version":"4ace0a30a70fe5963442d75ea6e69f525671ae76f6e57ab7556c44839b4237e8","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f03dbf03c001fb3ac1c9bea6dde049dfff27ef8886cc4a886374aacf2e997d","affectsGlobalScope":true,"impliedFormat":1},{"version":"66bfb3de947abf4b117ee849c245425dbe494d6903e28f9ded566e91c9d05d77","impliedFormat":1},{"version":"c28d4f58131b93d60e087b86148d4e0c9d9b5c49c23ff1a9d1a9594fdedd5d08","impliedFormat":1},{"version":"c6b5d7f259544c91024ecf2b17138574a3f6ff2476468fafd7f957d2b68d6d98","impliedFormat":1},{"version":"1ec27c4b695590464113276d174f873e260e468ef226b7dc18f9193875fa559d","affectsGlobalScope":true,"impliedFormat":1},{"version":"33da4ee2ab9fdd9ef8b3fc526d871ce02ae8c825283f5695e7cad507c087b97c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"71709584ed5ed7d236dc225441ec4634ffc6c718853e04b9c27b9ea121459044","impliedFormat":1},{"version":"963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","impliedFormat":1},{"version":"fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","impliedFormat":1},{"version":"bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e","impliedFormat":1},{"version":"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","impliedFormat":1},{"version":"7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","impliedFormat":1},{"version":"f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","impliedFormat":1},{"version":"ba600bf38b5c1a5dffa1b99dd7a783549082bbba3b4fe9497eaaf5e4c1764b20","impliedFormat":1},{"version":"ae8cd6af37275eac75f5369cdb5f01063bcf1f48d74cb434303ee50ec446acfe","impliedFormat":1},{"version":"2518830a2fda9c272ba48798d0e7b857037443b06594db8e42c87e86944ee9e4","impliedFormat":1},{"version":"95c1cf650d16b197525b5bfdf8dd7abba0a49d99ddb12a4ba66466a8a6903e49","impliedFormat":1},{"version":"1fe0aabe758d56ad72495d6e6c7b6ae75619faaeaaf03f0ddf1948eea4cfac84","impliedFormat":1},{"version":"bbc57966c8c48ee78fd58aadb893784025be056ae538ae22d1e83c502a987e68","impliedFormat":1},{"version":"5e5d6f6697e378b0660b567866bf67d099d0ea754f8810c0dabe737805f5cf03","impliedFormat":1},{"version":"99ab49d4732fdc98cf5c495925e65e796544cb4086fe42afc235dfc02bcf2351","impliedFormat":1},{"version":"af8339d509c40da075088e544c28ed37b519876e5c4d36a48644ebfb3c6ae6c8","impliedFormat":1},{"version":"d393adc32e520d4274bb4c3dfdcdb342b806a230b66ef0f82b35bffbc4aa2590","impliedFormat":1},{"version":"c26af7eaedb4f710984634e419ab15e54e5bb99a0b3cae71188c2fff572276de","impliedFormat":1},{"version":"38b58ef018d0aeee42ef74c42978bb5805503233fdeeb82cd2aed2199fb0d013","impliedFormat":1},{"version":"3b6040253231d44e6778eb6861cc86c1758562e77783d21b7ecbc73322ded539","impliedFormat":1},{"version":"cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","impliedFormat":1},{"version":"fd0589ca571ad090b531d8c095e26caa53d4825c64d3ff2b2b1ab95d72294175","impliedFormat":1},{"version":"669843ecafb89ae1e944df06360e8966219e4c1c34c0d28aa2503272cdd444a7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","impliedFormat":1},{"version":"bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621","impliedFormat":1},{"version":"8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","impliedFormat":1},{"version":"2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","impliedFormat":1},{"version":"2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","impliedFormat":1},{"version":"42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","impliedFormat":1},{"version":"d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","impliedFormat":1},{"version":"b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","impliedFormat":1},{"version":"7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","impliedFormat":1},{"version":"906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","impliedFormat":1},{"version":"5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","impliedFormat":1},{"version":"c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","impliedFormat":1},{"version":"e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","impliedFormat":1},{"version":"e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","impliedFormat":1},{"version":"9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","impliedFormat":1},{"version":"0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","impliedFormat":1},{"version":"71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","impliedFormat":1},{"version":"c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","impliedFormat":1},{"version":"2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","impliedFormat":1},{"version":"479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","impliedFormat":1},{"version":"ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","impliedFormat":1},{"version":"f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","impliedFormat":1},{"version":"86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","impliedFormat":1},{"version":"2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","impliedFormat":1},{"version":"a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","impliedFormat":1},{"version":"b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","impliedFormat":1},{"version":"61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","impliedFormat":1},{"version":"6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","impliedFormat":1},{"version":"c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","impliedFormat":1},{"version":"38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","impliedFormat":1},{"version":"d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","impliedFormat":1},{"version":"3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","impliedFormat":1},{"version":"b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","impliedFormat":1},{"version":"f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","impliedFormat":1},{"version":"843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","impliedFormat":1},{"version":"f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","impliedFormat":1},{"version":"6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","impliedFormat":1},{"version":"e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","impliedFormat":1},{"version":"a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","impliedFormat":1},{"version":"a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","impliedFormat":1},{"version":"da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","impliedFormat":1},{"version":"b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","impliedFormat":1},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750","impliedFormat":1}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"module":6,"noImplicitAny":true,"noImplicitThis":true,"outDir":"..","rootDir":"../../src","strictNullChecks":true,"target":7},"fileIdsList":[[46,99],[99],[46,47,48,49,50,99],[46,48,99],[69,70,99,106,107],[70,99,106],[99,110],[99,111],[69,99,101,106,125,126,128],[99,127],[53,99],[56,99],[57,62,90,99],[58,69,70,77,87,98,99],[58,59,69,77,99],[60,99],[61,62,70,78,99],[62,87,95,99],[63,65,69,77,99],[64,99],[65,66,99],[69,99],[67,69,99],[69,70,71,87,98,99],[69,70,71,84,87,90,99],[99,103],[65,69,72,77,87,98,99],[69,70,72,73,77,87,95,98,99],[72,74,87,95,98,99],[53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],[69,75,99],[76,98,99],[65,69,77,87,99],[78,99],[79,99],[56,80,99],[81,97,99,103],[82,99],[83,99],[69,84,85,99],[84,86,99,101],[57,69,87,88,89,90,99],[57,87,89,99],[87,88,99],[90,99],[91,99],[87,99],[69,93,94,99],[93,94,99],[62,77,87,95,99],[96,99],[77,97,99],[57,72,83,98,99],[62,99],[87,99,100],[99,101],[99,102],[57,62,69,71,80,87,98,99,101,103],[87,99,104],[99,106],[99,132,171],[99,132,156,171],[99,171],[99,132],[99,132,157,171],[99,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],[99,157,171],[99,173],[99,114],[99,113,114],[99,113],[99,113,114,115,117,118,121,122,123,124],[99,114,118],[99,113,114,115,117,118,119,120],[99,113,118],[99,118,122],[99,114,115,116],[99,115],[99,113,114,118],[44,99],[44]],"referencedMap":[[48,1],[46,2],[51,3],[47,1],[49,4],[50,1],[52,2],[108,5],[109,6],[110,2],[111,7],[112,8],[127,9],[128,10],[129,2],[107,2],[53,11],[54,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[65,21],[66,21],[68,22],[67,23],[69,22],[70,24],[71,25],[55,26],[105,2],[72,27],[73,28],[74,29],[106,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[81,37],[82,38],[83,39],[84,40],[85,40],[86,41],[87,42],[89,43],[88,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[97,52],[98,53],[99,54],[100,55],[101,56],[102,57],[103,58],[104,59],[130,2],[131,60],[156,61],[157,62],[132,63],[135,63],[154,61],[155,61],[145,61],[144,64],[142,61],[137,61],[150,61],[148,61],[152,61],[136,61],[149,61],[153,61],[138,61],[139,61],[151,61],[133,61],[140,61],[141,61],[143,61],[147,61],[158,65],[146,61],[134,61],[171,66],[170,2],[165,65],[167,67],[166,65],[159,65],[160,65],[162,65],[164,65],[168,67],[169,67],[161,67],[163,67],[172,2],[126,2],[173,2],[174,68],[115,69],[124,70],[113,2],[114,71],[125,72],[120,73],[121,74],[119,75],[123,76],[117,77],[116,78],[122,79],[118,70],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[45,80],[44,2]],"exportedModulesMap":[[48,1],[46,2],[51,3],[47,1],[49,4],[50,1],[52,2],[108,5],[109,6],[110,2],[111,7],[112,8],[127,9],[128,10],[129,2],[107,2],[53,11],[54,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,17],[62,18],[63,19],[64,20],[65,21],[66,21],[68,22],[67,23],[69,22],[70,24],[71,25],[55,26],[105,2],[72,27],[73,28],[74,29],[106,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[81,37],[82,38],[83,39],[84,40],[85,40],[86,41],[87,42],[89,43],[88,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[97,52],[98,53],[99,54],[100,55],[101,56],[102,57],[103,58],[104,59],[130,2],[131,60],[156,61],[157,62],[132,63],[135,63],[154,61],[155,61],[145,61],[144,64],[142,61],[137,61],[150,61],[148,61],[152,61],[136,61],[149,61],[153,61],[138,61],[139,61],[151,61],[133,61],[140,61],[141,61],[143,61],[147,61],[158,65],[146,61],[134,61],[171,66],[170,2],[165,65],[167,67],[166,65],[159,65],[160,65],[162,65],[164,65],[168,67],[169,67],[161,67],[163,67],[172,2],[126,2],[173,2],[174,68],[115,69],[124,70],[113,2],[114,71],[125,72],[120,73],[121,74],[119,75],[123,76],[117,77],[116,78],[122,79],[118,70],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[45,81]],"semanticDiagnosticsPerFile":[48,46,51,47,49,50,52,108,109,110,111,112,127,128,129,107,53,54,56,57,58,59,60,61,62,63,64,65,66,68,67,69,70,71,55,105,72,73,74,106,75,76,77,78,79,80,81,82,83,84,85,86,87,89,88,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,130,131,156,157,132,135,154,155,145,144,142,137,150,148,152,136,149,153,138,139,151,133,140,141,143,147,158,146,134,171,170,165,167,166,159,160,162,164,168,169,161,163,172,126,173,174,115,124,113,114,125,120,121,119,123,117,116,122,118,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,45,44],"latestChangedDtsFile":"./interaction.d.ts"},"version":"4.9.5"}
package/lib/index.js CHANGED
@@ -137,7 +137,7 @@ export default class API {
137
137
  // no-cors issue only with text/plain or not-set Content-Type
138
138
  // req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
139
139
  req.send(JSON.stringify({
140
- trackerVersion: '7.0.1',
140
+ trackerVersion: '7.0.2-beta.2',
141
141
  projectKey: options.projectKey,
142
142
  doNotTrack,
143
143
  // TODO: add precise reason (an exact API missing)
@@ -5,16 +5,53 @@ export default function (app, instance, opts, sanitize, stringify) {
5
5
  const { headers: reqHs, data: reqData, method, url } = axiosResponseObj.config;
6
6
  const { data: rData, headers: rHs, status: globStatus, response } = axiosResponseObj;
7
7
  const { data: resData, headers: resHs, status: resStatus } = response || {};
8
+ const ihOpt = opts.ignoreHeaders;
9
+ const isHIgnoring = Array.isArray(ihOpt) ? (name) => ihOpt.includes(name) : () => ihOpt;
10
+ function writeHeader(hsObj, header) {
11
+ if (!isHIgnoring(header[0])) {
12
+ hsObj[header[0]] = header[1];
13
+ }
14
+ }
15
+ let requestHs = {};
16
+ let responseHs = {};
17
+ if (reqHs.toJSON) {
18
+ requestHs = reqHs.toJSON();
19
+ }
20
+ else if (reqHs instanceof Headers) {
21
+ reqHs.forEach((v, n) => writeHeader(requestHs, [n, v]));
22
+ }
23
+ else if (Array.isArray(reqHs)) {
24
+ reqHs.forEach((h) => writeHeader(requestHs, h));
25
+ }
26
+ else if (typeof reqHs === 'object') {
27
+ Object.entries(reqHs).forEach((h) => writeHeader(requestHs, h));
28
+ }
29
+ const usedResHeader = resHs ? resHs : rHs;
30
+ if (usedResHeader.toJSON) {
31
+ responseHs = usedResHeader.toJSON();
32
+ }
33
+ else if (usedResHeader instanceof Headers) {
34
+ usedResHeader.forEach((v, n) => writeHeader(responseHs, [n, v]));
35
+ }
36
+ else if (Array.isArray(usedResHeader)) {
37
+ usedResHeader.forEach((h) => writeHeader(responseHs, h));
38
+ }
39
+ else if (typeof usedResHeader === 'object') {
40
+ Object.entries(usedResHeader).forEach(([n, v]) => {
41
+ if (!isHIgnoring(n))
42
+ responseHs[n] = v;
43
+ });
44
+ }
8
45
  const reqResInfo = sanitize({
9
46
  url,
10
47
  method: method || '',
11
48
  status: globStatus || resStatus || 0,
12
49
  request: {
13
- headers: reqHs.toJSON(),
50
+ headers: requestHs,
14
51
  body: reqData,
15
52
  },
16
53
  response: {
17
- headers: (resHs === null || resHs === void 0 ? void 0 : resHs.toJSON()) || rHs.toJSON(),
54
+ headers: responseHs,
18
55
  body: resData || rData,
19
56
  },
20
57
  });
@@ -53,8 +90,7 @@ export default function (app, instance, opts, sanitize, stringify) {
53
90
  synchronous: true,
54
91
  });
55
92
  app.attachStopCallback(() => {
56
- var _a, _b, _c, _d;
57
- (_b = (_a = instance.interceptors.request).eject) === null || _b === void 0 ? void 0 : _b.call(_a, reqInt);
58
- (_d = (_c = instance.interceptors.response).eject) === null || _d === void 0 ? void 0 : _d.call(_c, resInt);
93
+ instance.interceptors.request.eject?.(reqInt);
94
+ instance.interceptors.response.eject?.(resInt);
59
95
  });
60
96
  }
@@ -68,12 +68,15 @@ export default function (app) {
68
68
  function patchAdoptedStyleSheets(prototype) {
69
69
  const nativeAdoptedStyleSheetsDescriptor = Object.getOwnPropertyDescriptor(prototype, 'adoptedStyleSheets');
70
70
  if (nativeAdoptedStyleSheetsDescriptor) {
71
- Object.defineProperty(prototype, 'adoptedStyleSheets', Object.assign(Object.assign({}, nativeAdoptedStyleSheetsDescriptor), { set: function (value) {
71
+ Object.defineProperty(prototype, 'adoptedStyleSheets', {
72
+ ...nativeAdoptedStyleSheetsDescriptor,
73
+ set: function (value) {
72
74
  // @ts-ignore
73
75
  const retVal = nativeAdoptedStyleSheetsDescriptor.set.call(this, value);
74
76
  sendAdoptedStyleSheetsUpdate(this);
75
77
  return retVal;
76
- } }));
78
+ },
79
+ });
77
80
  }
78
81
  }
79
82
  const patchContext = (context) => {
@@ -2,16 +2,21 @@ import { hasTag, isSVGElement, isDocument } from '../app/guards.js';
2
2
  import { normSpaces, hasOpenreplayAttribute, getLabelAttribute, now } from '../utils.js';
3
3
  import { MouseMove, MouseClick, MouseThrashing } from '../app/messages.gen.js';
4
4
  import { getInputLabel } from './input.js';
5
- import { finder } from '@medv/finder';
6
- function _getSelector(target, document, options) {
7
- const selector = finder(target, {
5
+ // loading it only once per browser tab context
6
+ // plus workaround for SSR apps
7
+ let finderLib;
8
+ async function _getSelector(target, document, options) {
9
+ if (!finderLib) {
10
+ const { finder } = await import('@medv/finder');
11
+ finderLib = finder;
12
+ }
13
+ return finderLib(target, {
8
14
  root: document.body,
9
15
  seedMinLength: 3,
10
- optimizedMinLength: (options === null || options === void 0 ? void 0 : options.minSelectorDepth) || 2,
11
- threshold: (options === null || options === void 0 ? void 0 : options.nthThreshold) || 1000,
12
- maxNumberOfTries: (options === null || options === void 0 ? void 0 : options.maxOptimiseTries) || 10000,
16
+ optimizedMinLength: options?.minSelectorDepth || 2,
17
+ threshold: options?.nthThreshold || 1000,
18
+ maxNumberOfTries: options?.maxOptimiseTries || 10000,
13
19
  });
14
- return selector;
15
20
  }
16
21
  function isClickable(element) {
17
22
  const tag = element.tagName.toUpperCase();
@@ -131,8 +136,12 @@ export default function (app, options) {
131
136
  }
132
137
  };
133
138
  const patchDocument = (document, topframe = false) => {
134
- function getSelector(id, target, options) {
135
- return (selectorMap[id] = selectorMap[id] || _getSelector(target, document, options));
139
+ async function getSelector(id, target, options) {
140
+ if (selectorMap[id]) {
141
+ return selectorMap[id];
142
+ }
143
+ const selector = await _getSelector(target, document, options);
144
+ return selector;
136
145
  }
137
146
  const attachListener = topframe
138
147
  ? app.attachEventListener.bind(app) // attached/removed on start/stop
@@ -156,7 +165,7 @@ export default function (app, options) {
156
165
  directionChangeCount++;
157
166
  }
158
167
  }, false);
159
- attachListener(document, 'click', (e) => {
168
+ attachListener(document, 'click', async (e) => {
160
169
  const target = getTarget(e.target, document);
161
170
  if ((!e.clientX && !e.clientY) || target === null) {
162
171
  return;
@@ -164,7 +173,7 @@ export default function (app, options) {
164
173
  const id = app.nodes.getID(target);
165
174
  if (id !== undefined) {
166
175
  sendMouseMove();
167
- app.send(MouseClick(id, mouseTarget === target ? Math.round(performance.now() - mouseTargetTime) : 0, getTargetLabel(target), isClickable(target) && !disableClickmaps ? getSelector(id, target, options) : ''), true);
176
+ app.send(MouseClick(id, mouseTarget === target ? Math.round(performance.now() - mouseTargetTime) : 0, getTargetLabel(target), isClickable(target) && !disableClickmaps ? await getSelector(id, target, options) : ''), true);
168
177
  }
169
178
  mouseTarget = null;
170
179
  });
@@ -175,5 +184,5 @@ export default function (app, options) {
175
184
  }
176
185
  });
177
186
  patchDocument(document, true);
178
- app.ticker.attach(sendMouseMove, (options === null || options === void 0 ? void 0 : options.trackingOffset) || 7);
187
+ app.ticker.attach(sendMouseMove, options?.trackingOffset || 7);
179
188
  }
@@ -47,7 +47,7 @@ export default function (app, opts = {}) {
47
47
  try {
48
48
  reqResInfo.response.body = JSON.parse(resBody);
49
49
  }
50
- catch (_a) { }
50
+ catch { }
51
51
  }
52
52
  return options.sanitizer(reqResInfo);
53
53
  }
@@ -58,7 +58,7 @@ export default function (app, opts = {}) {
58
58
  try {
59
59
  r.body = JSON.stringify(r.body);
60
60
  }
61
- catch (_a) {
61
+ catch {
62
62
  r.body = '<unable to stringify>';
63
63
  app.notify.warn("Openreplay fetch couldn't stringify body:", r.body);
64
64
  }
@@ -164,7 +164,7 @@ export default function (app, opts = {}) {
164
164
  .split('\r\n')
165
165
  .map((h) => h.split(':'))
166
166
  .filter((entry) => !isHIgnored(entry[0]))
167
- .reduce((hds, [name, value]) => (Object.assign(Object.assign({}, hds), { [name]: value })), {})
167
+ .reduce((hds, [name, value]) => ({ ...hds, [name]: value }), {})
168
168
  : {};
169
169
  const method = strMethod(initMethod);
170
170
  const reqResInfo = sanitize({
package/lib/utils.js CHANGED
@@ -60,9 +60,8 @@ export function hasOpenreplayAttribute(e, attr) {
60
60
  return false;
61
61
  }
62
62
  export function isIframeCrossdomain(e) {
63
- var _a;
64
63
  try {
65
- return ((_a = e.contentWindow) === null || _a === void 0 ? void 0 : _a.location.href) !== window.location.href;
64
+ return e.contentWindow?.location.href !== window.location.href;
66
65
  }
67
66
  catch (e) {
68
67
  return true;
@@ -24,7 +24,7 @@ export function finder(input, options) {
24
24
  threshold: 1000,
25
25
  maxNumberOfTries: 10000,
26
26
  };
27
- config = Object.assign(Object.assign({}, defaults), options);
27
+ config = { ...defaults, ...options };
28
28
  rootDocument = findRootDocument(config.root, defaults);
29
29
  let path = bottomUpSearch(input, Limit.All, () => bottomUpSearch(input, Limit.Two, () => bottomUpSearch(input, Limit.One)));
30
30
  if (path) {
@@ -267,7 +267,7 @@ const defaultOptions = {
267
267
  wrap: false,
268
268
  };
269
269
  function cssesc(string, opt = {}) {
270
- const options = Object.assign(Object.assign({}, defaultOptions), opt);
270
+ const options = { ...defaultOptions, ...opt };
271
271
  if (options.quotes != 'single' && options.quotes != 'double') {
272
272
  options.quotes = 'single';
273
273
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openreplay/tracker",
3
3
  "description": "The OpenReplay tracker main package",
4
- "version": "7.0.1",
4
+ "version": "7.0.2-beta.2",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"
@@ -22,7 +22,8 @@
22
22
  "build": "npm run clean && npm run tscRun && npm run rollup && npm run compile",
23
23
  "prepare": "cd ../../ && husky install tracker/.husky/",
24
24
  "lint-front": "lint-staged",
25
- "test": "jest"
25
+ "test": "jest",
26
+ "prepublishOnly": "npm run build"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@babel/core": "^7.10.2",
@@ -7,8 +7,8 @@
7
7
  "noImplicitThis": true,
8
8
  "strictNullChecks": true,
9
9
  "alwaysStrict": true,
10
- "target": "es6",
11
- "module": "es6",
10
+ "target": "es2020",
11
+ "module": "es2020",
12
12
  "moduleResolution": "nodenext"
13
13
  },
14
14
  "exclude": ["**/*.test.ts"]