@screeb/rrweb 1.0.21 → 2.1.6-screeb.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/LICENSE DELETED
@@ -1,42 +0,0 @@
1
- This project is forked from rrweb-io/rrweb (https://github.com/rrweb-io/rrweb) under the MIT license:
2
-
3
- MIT License
4
-
5
- Copyright (c) 2018 Contributors (https://github.com/rrweb-io/rrweb/graphs/contributors) and SmartX Inc.
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
24
-
25
- Our modifications to this project are also released under the MIT license:
26
-
27
- Copyright (c) 2023 Functional Software, Inc. dba Sentry
28
-
29
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software
30
- and associated documentation files (the "Software"), to deal in the Software without restriction,
31
- including without limitation the rights to use, copy, modify, merge, publish, distribute,
32
- sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
33
- furnished to do so, subject to the following conditions:
34
-
35
- The above copyright notice and this permission notice shall be included in all copies or substantial
36
- portions of the Software.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
39
- NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
40
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
42
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,481 +0,0 @@
1
- import { actionWithDelay } from '@sentry-internal/rrweb-types';
2
- import { addedNodeMutation } from '@sentry-internal/rrweb-types';
3
- import { blockClass } from '@sentry-internal/rrweb-types';
4
- import { CanvasArg } from '@sentry-internal/rrweb-types';
5
- import { canvasMutationCallback } from '@sentry-internal/rrweb-types';
6
- import { canvasMutationData } from '@sentry-internal/rrweb-types';
7
- import { canvasMutationParam } from '@sentry-internal/rrweb-types';
8
- import { DataURLOptions } from '@sentry-internal/rrweb-snapshot';
9
- import { DeprecatedMirror } from '@sentry-internal/rrweb-types';
10
- import { DocumentDimension } from '@sentry-internal/rrweb-types';
11
- import { Emitter } from '@sentry-internal/rrweb-types';
12
- import { EventType } from '@sentry-internal/rrweb-types';
13
- import { eventWithTime } from '@sentry-internal/rrweb-types';
14
- import { fullSnapshotEvent } from '@sentry-internal/rrweb-types';
15
- import { Handler } from '@sentry-internal/rrweb-types';
16
- import { hookResetter } from '@sentry-internal/rrweb-types';
17
- import { hooksParam } from '@sentry-internal/rrweb-types';
18
- import { IMirror } from '@sentry-internal/rrweb-snapshot';
19
- import { incrementalSnapshotEvent } from '@sentry-internal/rrweb-types';
20
- import { IncrementalSource } from '@sentry-internal/rrweb-types';
21
- import { inputData } from '@sentry-internal/rrweb-types';
22
- import { IWindow } from '@sentry-internal/rrweb-types';
23
- import { KeepIframeSrcFn } from '@sentry-internal/rrweb-types';
24
- import { listenerHandler } from '@sentry-internal/rrweb-types';
25
- import { MaskAttributeFn } from '@sentry-internal/rrweb-snapshot';
26
- import { MaskInputFn } from '@sentry-internal/rrweb-snapshot';
27
- import { MaskInputOptions } from '@sentry-internal/rrweb-snapshot';
28
- import { maskTextClass } from '@sentry-internal/rrweb-types';
29
- import { MaskTextFn } from '@sentry-internal/rrweb-snapshot';
30
- import { Mirror } from '@sentry-internal/rrweb-snapshot';
31
- import { MouseInteractions } from '@sentry-internal/rrweb-types';
32
- import { PackFn } from '@sentry-internal/rrweb-types';
33
- import { playerMetaData } from '@sentry-internal/rrweb-types';
34
- import { RecordPlugin } from '@sentry-internal/rrweb-types';
35
- import { ReplayerEvents } from '@sentry-internal/rrweb-types';
36
- import { RRDocument } from '@sentry-internal/rrdom';
37
- import { RRIFrameElement } from '@sentry-internal/rrdom';
38
- import { RRNode } from '@sentry-internal/rrdom';
39
- import { SamplingStrategy } from '@sentry-internal/rrweb-types';
40
- import { SlimDOMOptions } from '@sentry-internal/rrweb-snapshot';
41
- import { StateMachine } from '@xstate/fsm';
42
- import { textMutation } from '@sentry-internal/rrweb-types';
43
- import { throttleOptions } from '@sentry-internal/rrweb-types';
44
- import { unmaskTextClass } from '@sentry-internal/rrweb-types';
45
- import { UnpackFn } from '@sentry-internal/rrweb-types';
46
- export declare function addCustomEvent<T>(tag: string, payload: T): void;
47
- declare type AppendedIframe = {
48
- mutationInQueue: addedNodeMutation;
49
- builtNode: HTMLIFrameElement | RRIFrameElement;
50
- };
51
- export declare class CanvasManager implements CanvasManagerInterface {
52
- private pendingCanvasMutations;
53
- private rafStamps;
54
- private options;
55
- private mirror;
56
- private shadowDoms;
57
- private windowsSet;
58
- private windows;
59
- private mutationCb;
60
- private restoreHandlers;
61
- private frozen;
62
- private locked;
63
- private snapshotInProgressMap;
64
- private worker;
65
- private lastSnapshotTime;
66
- reset(): void;
67
- freeze(): void;
68
- unfreeze(): void;
69
- lock(): void;
70
- unlock(): void;
71
- constructor(options: CanvasManagerConstructorOptions);
72
- addWindow(win: IWindow): void;
73
- addShadowRoot(shadowRoot: ShadowRoot): void;
74
- resetShadowRoots(): void;
75
- snapshot(canvasElement?: HTMLCanvasElement, options?: SnapshotOptions): void;
76
- private initFPSWorker;
77
- private processMutation;
78
- private initCanvasFPSObserver;
79
- private initCanvasMutationObserver;
80
- private getCanvasElements;
81
- private takeSnapshot;
82
- private startPendingCanvasMutationFlusher;
83
- private startRAFTimestamping;
84
- flushPendingCanvasMutations(): void;
85
- flushPendingCanvasMutationFor(canvas: HTMLCanvasElement, id: number): void;
86
- }
87
- export declare interface CanvasManagerConstructorOptions {
88
- recordCanvas: boolean;
89
- enableManualSnapshot?: boolean;
90
- mutationCb: canvasMutationCallback;
91
- win: IWindow;
92
- blockClass: blockClass;
93
- blockSelector: string | null;
94
- unblockSelector: string | null;
95
- maxCanvasSize?: MaxCanvasSize | null;
96
- mirror: Mirror;
97
- dataURLOptions: DataURLOptions;
98
- errorHandler?: ErrorHandler;
99
- sampling?: 'all' | number;
100
- }
101
- declare interface CanvasManagerInterface {
102
- reset(): void;
103
- freeze(): void;
104
- unfreeze(): void;
105
- lock(): void;
106
- unlock(): void;
107
- snapshot(canvasElement?: HTMLCanvasElement, options?: SnapshotOptions): void;
108
- addWindow(win: IWindow): void;
109
- addShadowRoot(shadowRoot: ShadowRoot): void;
110
- resetShadowRoots(): void;
111
- }
112
- export declare function canvasMutation({ event, mutation, target, imageMap, canvasEventMap, errorHandler, }: {
113
- event: Parameters<Replayer['applyIncremental']>[0];
114
- mutation: canvasMutationData;
115
- target: HTMLCanvasElement;
116
- imageMap: Replayer['imageMap'];
117
- canvasEventMap: Replayer['canvasEventMap'];
118
- errorHandler: Replayer['warnCanvasMutationFailed'];
119
- }): Promise<void>;
120
- export { canvasMutationData };
121
- export { canvasMutationParam };
122
- declare function clearTimeout_2(...rest: Parameters<typeof window.clearTimeout>): ReturnType<typeof window.clearTimeout>;
123
- declare function closestElementOfNode(node: Node | null): HTMLElement | null;
124
- declare function createPlayerService(context: PlayerContext, { getCastFn, applyEventsSynchronously, emitter }: PlayerAssets): StateMachine.Service<PlayerContext, PlayerEvent, PlayerState>;
125
- declare function createSpeedService(context: SpeedContext): StateMachine.Service<SpeedContext, SpeedEvent, SpeedState>;
126
- export declare function deserializeArg(imageMap: Replayer['imageMap'], ctx: CanvasRenderingContext2D | WebGLRenderingContext | WebGL2RenderingContext | null, preload?: {
127
- isUnchanged: boolean;
128
- }): (arg: CanvasArg) => Promise<any>;
129
- declare type ErrorHandler = (error: unknown) => void | boolean;
130
- export { EventType };
131
- export { eventWithTime };
132
- export declare function freezePage(): void;
133
- export { fullSnapshotEvent };
134
- declare function getBaseDimension(node: Node, rootIframe: Node): DocumentDimension;
135
- declare function getNestedRule(rules: CSSRuleList, position: number[]): CSSGroupingRule;
136
- declare function getPositionsAndIndex(nestedIndex: number[]): {
137
- positions: number[];
138
- index: number | undefined;
139
- };
140
- declare function getRootShadowHost(n: Node): Node;
141
- declare function getShadowHost(n: Node): Element | null;
142
- declare function getWindowHeight(win: Window): number;
143
- declare function getWindowScroll(win: Window): {
144
- left: number;
145
- top: number;
146
- };
147
- declare function getWindowWidth(win: Window): number;
148
- declare function hasShadowRoot<T extends Node | RRNode>(n: T): n is T & {
149
- shadowRoot: ShadowRoot;
150
- };
151
- declare function hookSetter<T>(target: T, key: string | number | symbol, d: PropertyDescriptor, isRevoked?: boolean, win?: Window & typeof globalThis): hookResetter;
152
- export { incrementalSnapshotEvent };
153
- export { IncrementalSource };
154
- declare function inDom(n: Node): boolean;
155
- export { inputData };
156
- declare function isAncestorRemoved(target: Node, mirror: Mirror): boolean;
157
- declare function isBlocked(node: Node | null, blockClass: blockClass, blockSelector: string | null, unblockSelector: string | null, checkAncestors: boolean): boolean;
158
- declare function isIgnored(n: Node, mirror: Mirror): boolean;
159
- declare function isSerialized(n: Node, mirror: Mirror): boolean;
160
- declare function isSerializedIframe<TNode extends Node | RRNode>(n: TNode, mirror: IMirror<TNode>): boolean;
161
- declare function isSerializedStylesheet<TNode extends Node | RRNode>(n: TNode, mirror: IMirror<TNode>): boolean;
162
- declare function iterateResolveTree(tree: ResolveTree, cb: (mutation: addedNodeMutation) => unknown): void;
163
- declare function legacy_isTouchEvent(event: MouseEvent | TouchEvent | PointerEvent): event is TouchEvent;
164
- declare type MaxCanvasSize = [
165
- number,
166
- number
167
- ];
168
- declare let _mirror: DeprecatedMirror;
169
- export { MouseInteractions };
170
- declare let nowTimestamp: () => number;
171
- declare function on(type: string, fn: EventListenerOrEventListenerObject, target?: Document | IWindow): listenerHandler;
172
- declare function onRequestAnimationFrame(...rest: Parameters<typeof requestAnimationFrame>): ReturnType<typeof requestAnimationFrame>;
173
- declare function patch(source: {
174
- [key: string]: any;
175
- }, name: string, replacement: (...args: unknown[]) => unknown): () => void;
176
- declare type PlayerAssets = {
177
- emitter: Emitter;
178
- applyEventsSynchronously(events: Array<eventWithTime>): void;
179
- getCastFn(event: eventWithTime, isSync: boolean): () => void;
180
- };
181
- export declare type playerConfig = {
182
- speed: number;
183
- maxSpeed: number;
184
- root: Element;
185
- loadTimeout: number;
186
- skipInactive: boolean;
187
- inactivePeriodThreshold: number;
188
- showWarning: boolean;
189
- showDebug: boolean;
190
- blockClass: string;
191
- liveMode: boolean;
192
- insertStyleRules: string[];
193
- triggerFocus: boolean;
194
- UNSAFE_replayCanvas: boolean;
195
- pauseAnimation?: boolean;
196
- mouseTail: boolean | {
197
- duration?: number;
198
- lineCap?: string;
199
- lineWidth?: number;
200
- strokeStyle?: string;
201
- };
202
- unpackFn?: UnpackFn;
203
- useVirtualDom: boolean;
204
- logger: {
205
- log: (...args: Parameters<typeof console.log>) => void;
206
- warn: (...args: Parameters<typeof console.warn>) => void;
207
- };
208
- plugins?: ReplayPlugin[];
209
- };
210
- declare type PlayerContext = {
211
- events: eventWithTime[];
212
- timer: Timer;
213
- timeOffset: number;
214
- baselineTime: number;
215
- lastPlayedEvent: eventWithTime | null;
216
- };
217
- declare type PlayerEvent = {
218
- type: 'PLAY';
219
- payload: {
220
- timeOffset: number;
221
- };
222
- } | {
223
- type: 'CAST_EVENT';
224
- payload: {
225
- event: eventWithTime;
226
- };
227
- } | {
228
- type: 'PAUSE';
229
- } | {
230
- type: 'TO_LIVE';
231
- payload: {
232
- baselineTime?: number;
233
- };
234
- } | {
235
- type: 'ADD_EVENT';
236
- payload: {
237
- event: eventWithTime;
238
- };
239
- } | {
240
- type: 'END';
241
- };
242
- export declare type PlayerMachineState = StateMachine.State<PlayerContext, PlayerEvent, PlayerState>;
243
- export declare type PlayerState = {
244
- value: 'playing';
245
- context: PlayerContext;
246
- } | {
247
- value: 'paused';
248
- context: PlayerContext;
249
- } | {
250
- value: 'live';
251
- context: PlayerContext;
252
- };
253
- declare function polyfill(win?: Window & typeof globalThis): void;
254
- declare function queueToResolveTrees(queue: addedNodeMutation[]): ResolveTree[];
255
- export declare function record<T = eventWithTime>(options?: recordOptions<T>): listenerHandler | undefined;
256
- export declare namespace record {
257
- var mirror: Mirror;
258
- var takeFullSnapshot: takeFullSnapshot;
259
- }
260
- export declare type recordOptions<T> = {
261
- emit?: (e: T, isCheckout?: boolean) => void;
262
- checkoutEveryNth?: number;
263
- checkoutEveryNms?: number;
264
- blockClass?: blockClass;
265
- blockSelector?: string;
266
- unblockSelector?: string;
267
- ignoreClass?: string;
268
- ignoreSelector?: string;
269
- maskAllText?: boolean;
270
- maskTextClass?: maskTextClass;
271
- unmaskTextClass?: unmaskTextClass;
272
- maskTextSelector?: string;
273
- unmaskTextSelector?: string;
274
- maskAllInputs?: boolean;
275
- maskInputOptions?: MaskInputOptions;
276
- maskAttributeFn?: MaskAttributeFn;
277
- maskInputFn?: MaskInputFn;
278
- maskTextFn?: MaskTextFn;
279
- maxCanvasSize?: [
280
- number,
281
- number
282
- ];
283
- slimDOMOptions?: SlimDOMOptions | 'all' | true;
284
- ignoreCSSAttributes?: Set<string>;
285
- inlineStylesheet?: boolean;
286
- hooks?: hooksParam;
287
- packFn?: PackFn;
288
- sampling?: SamplingStrategy;
289
- dataURLOptions?: DataURLOptions;
290
- recordDOM?: boolean;
291
- recordCanvas?: boolean;
292
- recordCrossOriginIframes?: boolean;
293
- recordAfter?: 'DOMContentLoaded' | 'load';
294
- userTriggeredOnInput?: boolean;
295
- collectFonts?: boolean;
296
- inlineImages?: boolean;
297
- win?: Window;
298
- plugins?: RecordPlugin[];
299
- mousemoveWait?: number;
300
- keepIframeSrcFn?: KeepIframeSrcFn;
301
- errorHandler?: ErrorHandler;
302
- onMutation?: (mutations: MutationRecord[]) => boolean;
303
- getCanvasManager?: (options: CanvasManagerConstructorOptions) => CanvasManagerInterface;
304
- };
305
- export declare class Replayer {
306
- wrapper: HTMLDivElement;
307
- iframe: HTMLIFrameElement;
308
- service: ReturnType<typeof createPlayerService>;
309
- speedService: ReturnType<typeof createSpeedService>;
310
- readonly timer: Timer;
311
- config: playerConfig;
312
- usingVirtualDom: boolean;
313
- virtualDom: RRDocument;
314
- private emitter;
315
- private nextUserInteractionEvent;
316
- private legacy_missingNodeRetryMap;
317
- private cache;
318
- private imageMap;
319
- private canvasEventMap;
320
- private mirror;
321
- private styleMirror;
322
- private firstFullSnapshot;
323
- private newDocumentQueue;
324
- private pointers;
325
- private mouseTailAnimationFrame;
326
- private lastMouseDownEvent;
327
- private lastHoveredRootNode;
328
- private lastSelectionData;
329
- private constructedStyleMutations;
330
- private adoptedStyleSheets;
331
- constructor(events: Array<eventWithTime | string>, config?: Partial<playerConfig>);
332
- private createPointer;
333
- on(event: string, handler: Handler): this;
334
- off(event: string, handler: Handler): this;
335
- setConfig(config: Partial<playerConfig>): void;
336
- getMetaData(): playerMetaData;
337
- getCurrentTime(): number;
338
- getTimeOffset(): number;
339
- getMirror(): Mirror;
340
- play(timeOffset?: number): void;
341
- pause(timeOffset?: number): void;
342
- resume(timeOffset?: number): void;
343
- destroy(): void;
344
- startLive(baselineTime?: number): void;
345
- addEvent(rawEvent: eventWithTime | string): void;
346
- enableInteract(): void;
347
- disableInteract(): void;
348
- resetCache(): void;
349
- private reevaluateFastForward;
350
- private setupDom;
351
- private handleResize;
352
- private applyEventsSynchronously;
353
- private getCastFn;
354
- private rebuildFullSnapshot;
355
- private insertStyleRules;
356
- private attachDocumentToIframe;
357
- private collectIframeAndAttachDocument;
358
- private waitForStylesheetLoad;
359
- private preloadAllImages;
360
- private preloadImages;
361
- private deserializeAndPreloadCanvasEvents;
362
- private applyIncremental;
363
- private applyMutation;
364
- private applyScroll;
365
- private applyInput;
366
- private applySelection;
367
- private applyStyleSheetMutation;
368
- private applyStyleSheetRule;
369
- private applyStyleDeclaration;
370
- private applyAdoptedStyleSheet;
371
- private legacy_resolveMissingNode;
372
- private moveAndHover;
373
- private drawMouseTail;
374
- private stepMouseTails;
375
- private hoverElements;
376
- private isUserInteraction;
377
- private backToNormal;
378
- private warnNodeNotFound;
379
- private warnCanvasMutationFailed;
380
- private debugNodeNotFound;
381
- private warn;
382
- private debug;
383
- }
384
- export { ReplayerEvents };
385
- export declare type ReplayPlugin = {
386
- handler?: (event: eventWithTime, isSync: boolean, context: {
387
- replayer: Replayer;
388
- }) => void;
389
- onBuild?: (node: Node | RRNode, context: {
390
- id: number;
391
- replayer: Replayer;
392
- }) => void;
393
- getMirror?: (mirrors: {
394
- nodeMirror: Mirror;
395
- }) => void;
396
- };
397
- declare type ResolveTree = {
398
- value: addedNodeMutation;
399
- children: ResolveTree[];
400
- parent: ResolveTree | null;
401
- };
402
- declare function setTimeout_2(...rest: Parameters<typeof window.setTimeout>): ReturnType<typeof window.setTimeout>;
403
- declare function shadowHostInDom(n: Node): boolean;
404
- declare type SnapshotOptions = {
405
- skipRequestAnimationFrame?: boolean;
406
- };
407
- declare type SpeedContext = {
408
- normalSpeed: playerConfig['speed'];
409
- timer: Timer;
410
- };
411
- declare type SpeedEvent = {
412
- type: 'FAST_FORWARD';
413
- payload: {
414
- speed: playerConfig['speed'];
415
- };
416
- } | {
417
- type: 'BACK_TO_NORMAL';
418
- } | {
419
- type: 'SET_SPEED';
420
- payload: {
421
- speed: playerConfig['speed'];
422
- };
423
- };
424
- export declare type SpeedMachineState = StateMachine.State<SpeedContext, SpeedEvent, SpeedState>;
425
- export declare type SpeedState = {
426
- value: 'normal';
427
- context: SpeedContext;
428
- } | {
429
- value: 'skipping';
430
- context: SpeedContext;
431
- };
432
- declare class StyleSheetMirror {
433
- private id;
434
- private styleIDMap;
435
- private idStyleMap;
436
- getId(stylesheet: CSSStyleSheet): number;
437
- has(stylesheet: CSSStyleSheet): boolean;
438
- add(stylesheet: CSSStyleSheet, id?: number): number;
439
- getStyle(id: number): CSSStyleSheet | null;
440
- reset(): void;
441
- generateId(): number;
442
- }
443
- export declare function takeFullSnapshot(isCheckout?: boolean): void;
444
- declare function throttle<T>(func: (arg: T) => void, wait: number, options?: throttleOptions): (...args: T[]) => void;
445
- declare class Timer {
446
- timeOffset: number;
447
- speed: number;
448
- private actions;
449
- private raf;
450
- private lastTimestamp;
451
- constructor(actions: actionWithDelay[] | undefined, config: {
452
- speed: number;
453
- });
454
- addAction(action: actionWithDelay): void;
455
- start(): void;
456
- private rafCheck;
457
- clear(): void;
458
- setSpeed(speed: number): void;
459
- isActive(): boolean;
460
- private findActionIndex;
461
- }
462
- declare function uniqueTextMutations(mutations: textMutation[]): textMutation[];
463
- declare namespace utils {
464
- export { on, throttle, hookSetter, patch, getWindowScroll, getWindowHeight, getWindowWidth, closestElementOfNode, isBlocked, isSerialized, isIgnored, isAncestorRemoved, legacy_isTouchEvent, polyfill, queueToResolveTrees, iterateResolveTree, isSerializedIframe, isSerializedStylesheet, getBaseDimension, hasShadowRoot, getNestedRule, getPositionsAndIndex, uniqueTextMutations, getShadowHost, getRootShadowHost, shadowHostInDom, inDom, onRequestAnimationFrame, setTimeout_2 as setTimeout, clearTimeout_2 as clearTimeout, _mirror, nowTimestamp, AppendedIframe, StyleSheetMirror };
465
- }
466
- export { utils };
467
- export {};
468
- declare global {
469
- const __RRWEB_EXCLUDE_SHADOW_DOM__: boolean;
470
- const __RRWEB_EXCLUDE_IFRAME__: boolean;
471
- }
472
- declare namespace record {
473
- var mirror: import("@sentry-internal/rrweb-snapshot").Mirror;
474
- var takeFullSnapshot: typeof import(".").takeFullSnapshot;
475
- }
476
- declare global {
477
- interface Window {
478
- FontFace: typeof FontFace;
479
- Array: typeof Array;
480
- }
481
- }