@openreplay/tracker 3.6.1 → 3.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.eslintignore +1 -1
  2. package/LICENSE +1 -1
  3. package/cjs/app/guards.d.ts +1 -2
  4. package/cjs/app/guards.js +1 -5
  5. package/cjs/app/index.d.ts +13 -16
  6. package/cjs/app/index.js +45 -47
  7. package/cjs/app/nodes.d.ts +1 -1
  8. package/cjs/app/nodes.js +0 -2
  9. package/cjs/app/observer/iframe_observer.js +2 -2
  10. package/cjs/app/observer/observer.js +13 -13
  11. package/cjs/app/observer/shadow_root_observer.js +2 -2
  12. package/cjs/app/observer/top_observer.d.ts +0 -11
  13. package/cjs/app/observer/top_observer.js +12 -46
  14. package/cjs/app/session.d.ts +0 -6
  15. package/cjs/app/session.js +0 -46
  16. package/cjs/common/messages.d.ts +444 -0
  17. package/cjs/common/messages.js +743 -0
  18. package/cjs/common/types.d.ts +9 -0
  19. package/cjs/common/{interaction.js → types.js} +0 -0
  20. package/cjs/common/{interaction.d.ts → webworker.d.ts} +3 -3
  21. package/cjs/common/{messages.gen.js → webworker.js} +0 -1
  22. package/cjs/index.d.ts +2 -2
  23. package/cjs/index.js +9 -14
  24. package/cjs/modules/connection.js +2 -2
  25. package/cjs/modules/console.js +20 -6
  26. package/cjs/modules/cssrules.js +12 -16
  27. package/cjs/modules/exception.d.ts +2 -2
  28. package/cjs/modules/exception.js +12 -16
  29. package/cjs/modules/img.js +21 -31
  30. package/cjs/modules/input.js +6 -6
  31. package/cjs/modules/longtasks.d.ts +2 -0
  32. package/cjs/modules/longtasks.js +34 -0
  33. package/cjs/modules/mouse.js +33 -42
  34. package/cjs/modules/performance.js +2 -2
  35. package/cjs/modules/scroll.js +7 -16
  36. package/cjs/modules/timing.js +4 -4
  37. package/cjs/modules/viewport.js +4 -4
  38. package/lib/app/guards.d.ts +1 -2
  39. package/lib/app/guards.js +0 -3
  40. package/lib/app/index.d.ts +13 -16
  41. package/lib/app/index.js +46 -48
  42. package/lib/app/nodes.d.ts +1 -1
  43. package/lib/app/nodes.js +0 -2
  44. package/lib/app/observer/iframe_observer.js +1 -1
  45. package/lib/app/observer/observer.js +12 -12
  46. package/lib/app/observer/shadow_root_observer.js +1 -1
  47. package/lib/app/observer/top_observer.d.ts +0 -11
  48. package/lib/app/observer/top_observer.js +12 -46
  49. package/lib/app/session.d.ts +0 -6
  50. package/lib/app/session.js +0 -46
  51. package/lib/common/messages.d.ts +444 -0
  52. package/lib/common/messages.js +739 -0
  53. package/lib/common/tsconfig.tsbuildinfo +1 -1
  54. package/lib/common/types.d.ts +9 -0
  55. package/lib/common/{interaction.js → types.js} +0 -0
  56. package/lib/common/{interaction.d.ts → webworker.d.ts} +3 -3
  57. package/lib/common/webworker.js +1 -0
  58. package/lib/index.d.ts +2 -2
  59. package/lib/index.js +9 -14
  60. package/lib/modules/connection.js +2 -2
  61. package/lib/modules/console.js +20 -6
  62. package/lib/modules/cssrules.js +12 -16
  63. package/lib/modules/exception.d.ts +2 -2
  64. package/lib/modules/exception.js +12 -16
  65. package/lib/modules/img.js +21 -31
  66. package/lib/modules/input.js +6 -6
  67. package/lib/modules/longtasks.d.ts +2 -0
  68. package/lib/modules/longtasks.js +31 -0
  69. package/lib/modules/mouse.js +34 -43
  70. package/lib/modules/performance.js +2 -2
  71. package/lib/modules/scroll.js +8 -17
  72. package/lib/modules/timing.js +4 -4
  73. package/lib/modules/viewport.js +4 -4
  74. package/package.json +4 -3
  75. package/.prettierignore +0 -1
  76. package/cjs/app/messages.d.ts +0 -52
  77. package/cjs/app/messages.gen.d.ts +0 -57
  78. package/cjs/app/messages.gen.js +0 -493
  79. package/cjs/app/messages.js +0 -234
  80. package/cjs/common/messages.gen.d.ts +0 -382
  81. package/cjs/modules/adoptedStyleSheets.d.ts +0 -2
  82. package/cjs/modules/adoptedStyleSheets.js +0 -127
  83. package/lib/app/messages.d.ts +0 -52
  84. package/lib/app/messages.gen.d.ts +0 -57
  85. package/lib/app/messages.gen.js +0 -434
  86. package/lib/app/messages.js +0 -181
  87. package/lib/common/messages.gen.d.ts +0 -382
  88. package/lib/common/messages.gen.js +0 -2
  89. package/lib/modules/adoptedStyleSheets.d.ts +0 -2
  90. package/lib/modules/adoptedStyleSheets.js +0 -124
@@ -0,0 +1,743 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MouseClick = exports.CSSInsertRuleURLBased = exports.PageClose = exports.CustomIssue = exports.TechnicalInfo = exports.SetCSSDataURLBased = exports.SetNodeAttributeURLBased = exports.LongTask = exports.SetPageVisibility = exports.ConnectionInformation = exports.ResourceTiming = exports.PerformanceTrack = exports.GraphQL = exports.NgRx = exports.MobX = exports.Vuex = exports.Redux = exports.StateAction = exports.OTable = exports.Profiler = exports.Fetch = exports.CSSDeleteRule = exports.CSSInsertRule = exports.Metadata = exports.UserAnonymousID = exports.UserID = exports.RawCustomEvent = exports.JSException = exports.PageRenderTiming = exports.PageLoadTiming = exports.ConsoleLog = exports.MouseMove = exports.SetInputChecked = exports.SetInputValue = exports.SetInputTarget = exports.SetNodeScroll = exports.SetNodeData = exports.RemoveNodeAttribute = exports.SetNodeAttribute = exports.RemoveNode = exports.MoveNode = exports.CreateTextNode = exports.CreateElementNode = exports.CreateDocument = exports.SetViewportScroll = exports.SetViewportSize = exports.SetPageLocation = exports.Timestamp = exports.BatchMeta = exports.classes = void 0;
4
+ exports.CreateIFrameDocument = void 0;
5
+ function bindNew(Class) {
6
+ function _Class(...args) {
7
+ return new Class(...args);
8
+ }
9
+ _Class.prototype = Class.prototype;
10
+ return _Class;
11
+ }
12
+ exports.classes = new Map();
13
+ class _BatchMeta {
14
+ constructor(pageNo, firstIndex, timestamp) {
15
+ this.pageNo = pageNo;
16
+ this.firstIndex = firstIndex;
17
+ this.timestamp = timestamp;
18
+ this._id = 80;
19
+ }
20
+ encode(writer) {
21
+ return (writer.uint(80) &&
22
+ writer.uint(this.pageNo) &&
23
+ writer.uint(this.firstIndex) &&
24
+ writer.int(this.timestamp));
25
+ }
26
+ }
27
+ exports.BatchMeta = bindNew(_BatchMeta);
28
+ exports.classes.set(80, exports.BatchMeta);
29
+ class _Timestamp {
30
+ constructor(timestamp) {
31
+ this.timestamp = timestamp;
32
+ this._id = 0;
33
+ }
34
+ encode(writer) {
35
+ return writer.uint(0) && writer.uint(this.timestamp);
36
+ }
37
+ }
38
+ exports.Timestamp = bindNew(_Timestamp);
39
+ exports.classes.set(0, exports.Timestamp);
40
+ class _SetPageLocation {
41
+ constructor(url, referrer, navigationStart) {
42
+ this.url = url;
43
+ this.referrer = referrer;
44
+ this.navigationStart = navigationStart;
45
+ this._id = 4;
46
+ }
47
+ encode(writer) {
48
+ return (writer.uint(4) &&
49
+ writer.string(this.url) &&
50
+ writer.string(this.referrer) &&
51
+ writer.uint(this.navigationStart));
52
+ }
53
+ }
54
+ exports.SetPageLocation = bindNew(_SetPageLocation);
55
+ exports.classes.set(4, exports.SetPageLocation);
56
+ class _SetViewportSize {
57
+ constructor(width, height) {
58
+ this.width = width;
59
+ this.height = height;
60
+ this._id = 5;
61
+ }
62
+ encode(writer) {
63
+ return writer.uint(5) && writer.uint(this.width) && writer.uint(this.height);
64
+ }
65
+ }
66
+ exports.SetViewportSize = bindNew(_SetViewportSize);
67
+ exports.classes.set(5, exports.SetViewportSize);
68
+ class _SetViewportScroll {
69
+ constructor(x, y) {
70
+ this.x = x;
71
+ this.y = y;
72
+ this._id = 6;
73
+ }
74
+ encode(writer) {
75
+ return writer.uint(6) && writer.int(this.x) && writer.int(this.y);
76
+ }
77
+ }
78
+ exports.SetViewportScroll = bindNew(_SetViewportScroll);
79
+ exports.classes.set(6, exports.SetViewportScroll);
80
+ class _CreateDocument {
81
+ constructor() {
82
+ this._id = 7;
83
+ }
84
+ encode(writer) {
85
+ return writer.uint(7);
86
+ }
87
+ }
88
+ exports.CreateDocument = bindNew(_CreateDocument);
89
+ exports.classes.set(7, exports.CreateDocument);
90
+ class _CreateElementNode {
91
+ constructor(id, parentID, index, tag, svg) {
92
+ this.id = id;
93
+ this.parentID = parentID;
94
+ this.index = index;
95
+ this.tag = tag;
96
+ this.svg = svg;
97
+ this._id = 8;
98
+ }
99
+ encode(writer) {
100
+ return (writer.uint(8) &&
101
+ writer.uint(this.id) &&
102
+ writer.uint(this.parentID) &&
103
+ writer.uint(this.index) &&
104
+ writer.string(this.tag) &&
105
+ writer.boolean(this.svg));
106
+ }
107
+ }
108
+ exports.CreateElementNode = bindNew(_CreateElementNode);
109
+ exports.classes.set(8, exports.CreateElementNode);
110
+ class _CreateTextNode {
111
+ constructor(id, parentID, index) {
112
+ this.id = id;
113
+ this.parentID = parentID;
114
+ this.index = index;
115
+ this._id = 9;
116
+ }
117
+ encode(writer) {
118
+ return (writer.uint(9) &&
119
+ writer.uint(this.id) &&
120
+ writer.uint(this.parentID) &&
121
+ writer.uint(this.index));
122
+ }
123
+ }
124
+ exports.CreateTextNode = bindNew(_CreateTextNode);
125
+ exports.classes.set(9, exports.CreateTextNode);
126
+ class _MoveNode {
127
+ constructor(id, parentID, index) {
128
+ this.id = id;
129
+ this.parentID = parentID;
130
+ this.index = index;
131
+ this._id = 10;
132
+ }
133
+ encode(writer) {
134
+ return (writer.uint(10) &&
135
+ writer.uint(this.id) &&
136
+ writer.uint(this.parentID) &&
137
+ writer.uint(this.index));
138
+ }
139
+ }
140
+ exports.MoveNode = bindNew(_MoveNode);
141
+ exports.classes.set(10, exports.MoveNode);
142
+ class _RemoveNode {
143
+ constructor(id) {
144
+ this.id = id;
145
+ this._id = 11;
146
+ }
147
+ encode(writer) {
148
+ return writer.uint(11) && writer.uint(this.id);
149
+ }
150
+ }
151
+ exports.RemoveNode = bindNew(_RemoveNode);
152
+ exports.classes.set(11, exports.RemoveNode);
153
+ class _SetNodeAttribute {
154
+ constructor(id, name, value) {
155
+ this.id = id;
156
+ this.name = name;
157
+ this.value = value;
158
+ this._id = 12;
159
+ }
160
+ encode(writer) {
161
+ return (writer.uint(12) &&
162
+ writer.uint(this.id) &&
163
+ writer.string(this.name) &&
164
+ writer.string(this.value));
165
+ }
166
+ }
167
+ exports.SetNodeAttribute = bindNew(_SetNodeAttribute);
168
+ exports.classes.set(12, exports.SetNodeAttribute);
169
+ class _RemoveNodeAttribute {
170
+ constructor(id, name) {
171
+ this.id = id;
172
+ this.name = name;
173
+ this._id = 13;
174
+ }
175
+ encode(writer) {
176
+ return writer.uint(13) && writer.uint(this.id) && writer.string(this.name);
177
+ }
178
+ }
179
+ exports.RemoveNodeAttribute = bindNew(_RemoveNodeAttribute);
180
+ exports.classes.set(13, exports.RemoveNodeAttribute);
181
+ class _SetNodeData {
182
+ constructor(id, data) {
183
+ this.id = id;
184
+ this.data = data;
185
+ this._id = 14;
186
+ }
187
+ encode(writer) {
188
+ return writer.uint(14) && writer.uint(this.id) && writer.string(this.data);
189
+ }
190
+ }
191
+ exports.SetNodeData = bindNew(_SetNodeData);
192
+ exports.classes.set(14, exports.SetNodeData);
193
+ class _SetNodeScroll {
194
+ constructor(id, x, y) {
195
+ this.id = id;
196
+ this.x = x;
197
+ this.y = y;
198
+ this._id = 16;
199
+ }
200
+ encode(writer) {
201
+ return writer.uint(16) && writer.uint(this.id) && writer.int(this.x) && writer.int(this.y);
202
+ }
203
+ }
204
+ exports.SetNodeScroll = bindNew(_SetNodeScroll);
205
+ exports.classes.set(16, exports.SetNodeScroll);
206
+ class _SetInputTarget {
207
+ constructor(id, label) {
208
+ this.id = id;
209
+ this.label = label;
210
+ this._id = 17;
211
+ }
212
+ encode(writer) {
213
+ return writer.uint(17) && writer.uint(this.id) && writer.string(this.label);
214
+ }
215
+ }
216
+ exports.SetInputTarget = bindNew(_SetInputTarget);
217
+ exports.classes.set(17, exports.SetInputTarget);
218
+ class _SetInputValue {
219
+ constructor(id, value, mask) {
220
+ this.id = id;
221
+ this.value = value;
222
+ this.mask = mask;
223
+ this._id = 18;
224
+ }
225
+ encode(writer) {
226
+ return (writer.uint(18) && writer.uint(this.id) && writer.string(this.value) && writer.int(this.mask));
227
+ }
228
+ }
229
+ exports.SetInputValue = bindNew(_SetInputValue);
230
+ exports.classes.set(18, exports.SetInputValue);
231
+ class _SetInputChecked {
232
+ constructor(id, checked) {
233
+ this.id = id;
234
+ this.checked = checked;
235
+ this._id = 19;
236
+ }
237
+ encode(writer) {
238
+ return writer.uint(19) && writer.uint(this.id) && writer.boolean(this.checked);
239
+ }
240
+ }
241
+ exports.SetInputChecked = bindNew(_SetInputChecked);
242
+ exports.classes.set(19, exports.SetInputChecked);
243
+ class _MouseMove {
244
+ constructor(x, y) {
245
+ this.x = x;
246
+ this.y = y;
247
+ this._id = 20;
248
+ }
249
+ encode(writer) {
250
+ return writer.uint(20) && writer.uint(this.x) && writer.uint(this.y);
251
+ }
252
+ }
253
+ exports.MouseMove = bindNew(_MouseMove);
254
+ exports.classes.set(20, exports.MouseMove);
255
+ class _ConsoleLog {
256
+ constructor(level, value) {
257
+ this.level = level;
258
+ this.value = value;
259
+ this._id = 22;
260
+ }
261
+ encode(writer) {
262
+ return writer.uint(22) && writer.string(this.level) && writer.string(this.value);
263
+ }
264
+ }
265
+ exports.ConsoleLog = bindNew(_ConsoleLog);
266
+ exports.classes.set(22, exports.ConsoleLog);
267
+ class _PageLoadTiming {
268
+ constructor(requestStart, responseStart, responseEnd, domContentLoadedEventStart, domContentLoadedEventEnd, loadEventStart, loadEventEnd, firstPaint, firstContentfulPaint) {
269
+ this.requestStart = requestStart;
270
+ this.responseStart = responseStart;
271
+ this.responseEnd = responseEnd;
272
+ this.domContentLoadedEventStart = domContentLoadedEventStart;
273
+ this.domContentLoadedEventEnd = domContentLoadedEventEnd;
274
+ this.loadEventStart = loadEventStart;
275
+ this.loadEventEnd = loadEventEnd;
276
+ this.firstPaint = firstPaint;
277
+ this.firstContentfulPaint = firstContentfulPaint;
278
+ this._id = 23;
279
+ }
280
+ encode(writer) {
281
+ return (writer.uint(23) &&
282
+ writer.uint(this.requestStart) &&
283
+ writer.uint(this.responseStart) &&
284
+ writer.uint(this.responseEnd) &&
285
+ writer.uint(this.domContentLoadedEventStart) &&
286
+ writer.uint(this.domContentLoadedEventEnd) &&
287
+ writer.uint(this.loadEventStart) &&
288
+ writer.uint(this.loadEventEnd) &&
289
+ writer.uint(this.firstPaint) &&
290
+ writer.uint(this.firstContentfulPaint));
291
+ }
292
+ }
293
+ exports.PageLoadTiming = bindNew(_PageLoadTiming);
294
+ exports.classes.set(23, exports.PageLoadTiming);
295
+ class _PageRenderTiming {
296
+ constructor(speedIndex, visuallyComplete, timeToInteractive) {
297
+ this.speedIndex = speedIndex;
298
+ this.visuallyComplete = visuallyComplete;
299
+ this.timeToInteractive = timeToInteractive;
300
+ this._id = 24;
301
+ }
302
+ encode(writer) {
303
+ return (writer.uint(24) &&
304
+ writer.uint(this.speedIndex) &&
305
+ writer.uint(this.visuallyComplete) &&
306
+ writer.uint(this.timeToInteractive));
307
+ }
308
+ }
309
+ exports.PageRenderTiming = bindNew(_PageRenderTiming);
310
+ exports.classes.set(24, exports.PageRenderTiming);
311
+ class _JSException {
312
+ constructor(name, message, payload) {
313
+ this.name = name;
314
+ this.message = message;
315
+ this.payload = payload;
316
+ this._id = 25;
317
+ }
318
+ encode(writer) {
319
+ return (writer.uint(25) &&
320
+ writer.string(this.name) &&
321
+ writer.string(this.message) &&
322
+ writer.string(this.payload));
323
+ }
324
+ }
325
+ exports.JSException = bindNew(_JSException);
326
+ exports.classes.set(25, exports.JSException);
327
+ class _RawCustomEvent {
328
+ constructor(name, payload) {
329
+ this.name = name;
330
+ this.payload = payload;
331
+ this._id = 27;
332
+ }
333
+ encode(writer) {
334
+ return writer.uint(27) && writer.string(this.name) && writer.string(this.payload);
335
+ }
336
+ }
337
+ exports.RawCustomEvent = bindNew(_RawCustomEvent);
338
+ exports.classes.set(27, exports.RawCustomEvent);
339
+ class _UserID {
340
+ constructor(id) {
341
+ this.id = id;
342
+ this._id = 28;
343
+ }
344
+ encode(writer) {
345
+ return writer.uint(28) && writer.string(this.id);
346
+ }
347
+ }
348
+ exports.UserID = bindNew(_UserID);
349
+ exports.classes.set(28, exports.UserID);
350
+ class _UserAnonymousID {
351
+ constructor(id) {
352
+ this.id = id;
353
+ this._id = 29;
354
+ }
355
+ encode(writer) {
356
+ return writer.uint(29) && writer.string(this.id);
357
+ }
358
+ }
359
+ exports.UserAnonymousID = bindNew(_UserAnonymousID);
360
+ exports.classes.set(29, exports.UserAnonymousID);
361
+ class _Metadata {
362
+ constructor(key, value) {
363
+ this.key = key;
364
+ this.value = value;
365
+ this._id = 30;
366
+ }
367
+ encode(writer) {
368
+ return writer.uint(30) && writer.string(this.key) && writer.string(this.value);
369
+ }
370
+ }
371
+ exports.Metadata = bindNew(_Metadata);
372
+ exports.classes.set(30, exports.Metadata);
373
+ class _CSSInsertRule {
374
+ constructor(id, rule, index) {
375
+ this.id = id;
376
+ this.rule = rule;
377
+ this.index = index;
378
+ this._id = 37;
379
+ }
380
+ encode(writer) {
381
+ return (writer.uint(37) && writer.uint(this.id) && writer.string(this.rule) && writer.uint(this.index));
382
+ }
383
+ }
384
+ exports.CSSInsertRule = bindNew(_CSSInsertRule);
385
+ exports.classes.set(37, exports.CSSInsertRule);
386
+ class _CSSDeleteRule {
387
+ constructor(id, index) {
388
+ this.id = id;
389
+ this.index = index;
390
+ this._id = 38;
391
+ }
392
+ encode(writer) {
393
+ return writer.uint(38) && writer.uint(this.id) && writer.uint(this.index);
394
+ }
395
+ }
396
+ exports.CSSDeleteRule = bindNew(_CSSDeleteRule);
397
+ exports.classes.set(38, exports.CSSDeleteRule);
398
+ class _Fetch {
399
+ constructor(method, url, request, response, status, timestamp, duration) {
400
+ this.method = method;
401
+ this.url = url;
402
+ this.request = request;
403
+ this.response = response;
404
+ this.status = status;
405
+ this.timestamp = timestamp;
406
+ this.duration = duration;
407
+ this._id = 39;
408
+ }
409
+ encode(writer) {
410
+ return (writer.uint(39) &&
411
+ writer.string(this.method) &&
412
+ writer.string(this.url) &&
413
+ writer.string(this.request) &&
414
+ writer.string(this.response) &&
415
+ writer.uint(this.status) &&
416
+ writer.uint(this.timestamp) &&
417
+ writer.uint(this.duration));
418
+ }
419
+ }
420
+ exports.Fetch = bindNew(_Fetch);
421
+ exports.classes.set(39, exports.Fetch);
422
+ class _Profiler {
423
+ constructor(name, duration, args, result) {
424
+ this.name = name;
425
+ this.duration = duration;
426
+ this.args = args;
427
+ this.result = result;
428
+ this._id = 40;
429
+ }
430
+ encode(writer) {
431
+ return (writer.uint(40) &&
432
+ writer.string(this.name) &&
433
+ writer.uint(this.duration) &&
434
+ writer.string(this.args) &&
435
+ writer.string(this.result));
436
+ }
437
+ }
438
+ exports.Profiler = bindNew(_Profiler);
439
+ exports.classes.set(40, exports.Profiler);
440
+ class _OTable {
441
+ constructor(key, value) {
442
+ this.key = key;
443
+ this.value = value;
444
+ this._id = 41;
445
+ }
446
+ encode(writer) {
447
+ return writer.uint(41) && writer.string(this.key) && writer.string(this.value);
448
+ }
449
+ }
450
+ exports.OTable = bindNew(_OTable);
451
+ exports.classes.set(41, exports.OTable);
452
+ class _StateAction {
453
+ constructor(type) {
454
+ this.type = type;
455
+ this._id = 42;
456
+ }
457
+ encode(writer) {
458
+ return writer.uint(42) && writer.string(this.type);
459
+ }
460
+ }
461
+ exports.StateAction = bindNew(_StateAction);
462
+ exports.classes.set(42, exports.StateAction);
463
+ class _Redux {
464
+ constructor(action, state, duration) {
465
+ this.action = action;
466
+ this.state = state;
467
+ this.duration = duration;
468
+ this._id = 44;
469
+ }
470
+ encode(writer) {
471
+ return (writer.uint(44) &&
472
+ writer.string(this.action) &&
473
+ writer.string(this.state) &&
474
+ writer.uint(this.duration));
475
+ }
476
+ }
477
+ exports.Redux = bindNew(_Redux);
478
+ exports.classes.set(44, exports.Redux);
479
+ class _Vuex {
480
+ constructor(mutation, state) {
481
+ this.mutation = mutation;
482
+ this.state = state;
483
+ this._id = 45;
484
+ }
485
+ encode(writer) {
486
+ return writer.uint(45) && writer.string(this.mutation) && writer.string(this.state);
487
+ }
488
+ }
489
+ exports.Vuex = bindNew(_Vuex);
490
+ exports.classes.set(45, exports.Vuex);
491
+ class _MobX {
492
+ constructor(type, payload) {
493
+ this.type = type;
494
+ this.payload = payload;
495
+ this._id = 46;
496
+ }
497
+ encode(writer) {
498
+ return writer.uint(46) && writer.string(this.type) && writer.string(this.payload);
499
+ }
500
+ }
501
+ exports.MobX = bindNew(_MobX);
502
+ exports.classes.set(46, exports.MobX);
503
+ class _NgRx {
504
+ constructor(action, state, duration) {
505
+ this.action = action;
506
+ this.state = state;
507
+ this.duration = duration;
508
+ this._id = 47;
509
+ }
510
+ encode(writer) {
511
+ return (writer.uint(47) &&
512
+ writer.string(this.action) &&
513
+ writer.string(this.state) &&
514
+ writer.uint(this.duration));
515
+ }
516
+ }
517
+ exports.NgRx = bindNew(_NgRx);
518
+ exports.classes.set(47, exports.NgRx);
519
+ class _GraphQL {
520
+ constructor(operationKind, operationName, variables, response) {
521
+ this.operationKind = operationKind;
522
+ this.operationName = operationName;
523
+ this.variables = variables;
524
+ this.response = response;
525
+ this._id = 48;
526
+ }
527
+ encode(writer) {
528
+ return (writer.uint(48) &&
529
+ writer.string(this.operationKind) &&
530
+ writer.string(this.operationName) &&
531
+ writer.string(this.variables) &&
532
+ writer.string(this.response));
533
+ }
534
+ }
535
+ exports.GraphQL = bindNew(_GraphQL);
536
+ exports.classes.set(48, exports.GraphQL);
537
+ class _PerformanceTrack {
538
+ constructor(frames, ticks, totalJSHeapSize, usedJSHeapSize) {
539
+ this.frames = frames;
540
+ this.ticks = ticks;
541
+ this.totalJSHeapSize = totalJSHeapSize;
542
+ this.usedJSHeapSize = usedJSHeapSize;
543
+ this._id = 49;
544
+ }
545
+ encode(writer) {
546
+ return (writer.uint(49) &&
547
+ writer.int(this.frames) &&
548
+ writer.int(this.ticks) &&
549
+ writer.uint(this.totalJSHeapSize) &&
550
+ writer.uint(this.usedJSHeapSize));
551
+ }
552
+ }
553
+ exports.PerformanceTrack = bindNew(_PerformanceTrack);
554
+ exports.classes.set(49, exports.PerformanceTrack);
555
+ class _ResourceTiming {
556
+ constructor(timestamp, duration, ttfb, headerSize, encodedBodySize, decodedBodySize, url, initiator) {
557
+ this.timestamp = timestamp;
558
+ this.duration = duration;
559
+ this.ttfb = ttfb;
560
+ this.headerSize = headerSize;
561
+ this.encodedBodySize = encodedBodySize;
562
+ this.decodedBodySize = decodedBodySize;
563
+ this.url = url;
564
+ this.initiator = initiator;
565
+ this._id = 53;
566
+ }
567
+ encode(writer) {
568
+ return (writer.uint(53) &&
569
+ writer.uint(this.timestamp) &&
570
+ writer.uint(this.duration) &&
571
+ writer.uint(this.ttfb) &&
572
+ writer.uint(this.headerSize) &&
573
+ writer.uint(this.encodedBodySize) &&
574
+ writer.uint(this.decodedBodySize) &&
575
+ writer.string(this.url) &&
576
+ writer.string(this.initiator));
577
+ }
578
+ }
579
+ exports.ResourceTiming = bindNew(_ResourceTiming);
580
+ exports.classes.set(53, exports.ResourceTiming);
581
+ class _ConnectionInformation {
582
+ constructor(downlink, type) {
583
+ this.downlink = downlink;
584
+ this.type = type;
585
+ this._id = 54;
586
+ }
587
+ encode(writer) {
588
+ return writer.uint(54) && writer.uint(this.downlink) && writer.string(this.type);
589
+ }
590
+ }
591
+ exports.ConnectionInformation = bindNew(_ConnectionInformation);
592
+ exports.classes.set(54, exports.ConnectionInformation);
593
+ class _SetPageVisibility {
594
+ constructor(hidden) {
595
+ this.hidden = hidden;
596
+ this._id = 55;
597
+ }
598
+ encode(writer) {
599
+ return writer.uint(55) && writer.boolean(this.hidden);
600
+ }
601
+ }
602
+ exports.SetPageVisibility = bindNew(_SetPageVisibility);
603
+ exports.classes.set(55, exports.SetPageVisibility);
604
+ class _LongTask {
605
+ constructor(timestamp, duration, context, containerType, containerSrc, containerId, containerName) {
606
+ this.timestamp = timestamp;
607
+ this.duration = duration;
608
+ this.context = context;
609
+ this.containerType = containerType;
610
+ this.containerSrc = containerSrc;
611
+ this.containerId = containerId;
612
+ this.containerName = containerName;
613
+ this._id = 59;
614
+ }
615
+ encode(writer) {
616
+ return (writer.uint(59) &&
617
+ writer.uint(this.timestamp) &&
618
+ writer.uint(this.duration) &&
619
+ writer.uint(this.context) &&
620
+ writer.uint(this.containerType) &&
621
+ writer.string(this.containerSrc) &&
622
+ writer.string(this.containerId) &&
623
+ writer.string(this.containerName));
624
+ }
625
+ }
626
+ exports.LongTask = bindNew(_LongTask);
627
+ exports.classes.set(59, exports.LongTask);
628
+ class _SetNodeAttributeURLBased {
629
+ constructor(id, name, value, baseURL) {
630
+ this.id = id;
631
+ this.name = name;
632
+ this.value = value;
633
+ this.baseURL = baseURL;
634
+ this._id = 60;
635
+ }
636
+ encode(writer) {
637
+ return (writer.uint(60) &&
638
+ writer.uint(this.id) &&
639
+ writer.string(this.name) &&
640
+ writer.string(this.value) &&
641
+ writer.string(this.baseURL));
642
+ }
643
+ }
644
+ exports.SetNodeAttributeURLBased = bindNew(_SetNodeAttributeURLBased);
645
+ exports.classes.set(60, exports.SetNodeAttributeURLBased);
646
+ class _SetCSSDataURLBased {
647
+ constructor(id, data, baseURL) {
648
+ this.id = id;
649
+ this.data = data;
650
+ this.baseURL = baseURL;
651
+ this._id = 61;
652
+ }
653
+ encode(writer) {
654
+ return (writer.uint(61) &&
655
+ writer.uint(this.id) &&
656
+ writer.string(this.data) &&
657
+ writer.string(this.baseURL));
658
+ }
659
+ }
660
+ exports.SetCSSDataURLBased = bindNew(_SetCSSDataURLBased);
661
+ exports.classes.set(61, exports.SetCSSDataURLBased);
662
+ class _TechnicalInfo {
663
+ constructor(type, value) {
664
+ this.type = type;
665
+ this.value = value;
666
+ this._id = 63;
667
+ }
668
+ encode(writer) {
669
+ return writer.uint(63) && writer.string(this.type) && writer.string(this.value);
670
+ }
671
+ }
672
+ exports.TechnicalInfo = bindNew(_TechnicalInfo);
673
+ exports.classes.set(63, exports.TechnicalInfo);
674
+ class _CustomIssue {
675
+ constructor(name, payload) {
676
+ this.name = name;
677
+ this.payload = payload;
678
+ this._id = 64;
679
+ }
680
+ encode(writer) {
681
+ return writer.uint(64) && writer.string(this.name) && writer.string(this.payload);
682
+ }
683
+ }
684
+ exports.CustomIssue = bindNew(_CustomIssue);
685
+ exports.classes.set(64, exports.CustomIssue);
686
+ class _PageClose {
687
+ constructor() {
688
+ this._id = 65;
689
+ }
690
+ encode(writer) {
691
+ return writer.uint(65);
692
+ }
693
+ }
694
+ exports.PageClose = bindNew(_PageClose);
695
+ exports.classes.set(65, exports.PageClose);
696
+ class _CSSInsertRuleURLBased {
697
+ constructor(id, rule, index, baseURL) {
698
+ this.id = id;
699
+ this.rule = rule;
700
+ this.index = index;
701
+ this.baseURL = baseURL;
702
+ this._id = 67;
703
+ }
704
+ encode(writer) {
705
+ return (writer.uint(67) &&
706
+ writer.uint(this.id) &&
707
+ writer.string(this.rule) &&
708
+ writer.uint(this.index) &&
709
+ writer.string(this.baseURL));
710
+ }
711
+ }
712
+ exports.CSSInsertRuleURLBased = bindNew(_CSSInsertRuleURLBased);
713
+ exports.classes.set(67, exports.CSSInsertRuleURLBased);
714
+ class _MouseClick {
715
+ constructor(id, hesitationTime, label, selector) {
716
+ this.id = id;
717
+ this.hesitationTime = hesitationTime;
718
+ this.label = label;
719
+ this.selector = selector;
720
+ this._id = 69;
721
+ }
722
+ encode(writer) {
723
+ return (writer.uint(69) &&
724
+ writer.uint(this.id) &&
725
+ writer.uint(this.hesitationTime) &&
726
+ writer.string(this.label) &&
727
+ writer.string(this.selector));
728
+ }
729
+ }
730
+ exports.MouseClick = bindNew(_MouseClick);
731
+ exports.classes.set(69, exports.MouseClick);
732
+ class _CreateIFrameDocument {
733
+ constructor(frameID, id) {
734
+ this.frameID = frameID;
735
+ this.id = id;
736
+ this._id = 70;
737
+ }
738
+ encode(writer) {
739
+ return writer.uint(70) && writer.uint(this.frameID) && writer.uint(this.id);
740
+ }
741
+ }
742
+ exports.CreateIFrameDocument = bindNew(_CreateIFrameDocument);
743
+ exports.classes.set(70, exports.CreateIFrameDocument);