clarity-js 0.7.65 → 0.7.67

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 (102) hide show
  1. package/README.md +26 -26
  2. package/build/clarity.extended.js +1 -1
  3. package/build/clarity.insight.js +1 -1
  4. package/build/clarity.js +5410 -5355
  5. package/build/clarity.min.js +1 -1
  6. package/build/clarity.module.js +5410 -5355
  7. package/build/clarity.performance.js +1 -1
  8. package/package.json +70 -70
  9. package/rollup.config.ts +98 -98
  10. package/src/clarity.ts +60 -60
  11. package/src/core/api.ts +8 -8
  12. package/src/core/config.ts +32 -32
  13. package/src/core/copy.ts +3 -3
  14. package/src/core/event.ts +26 -26
  15. package/src/core/hash.ts +19 -19
  16. package/src/core/history.ts +73 -73
  17. package/src/core/index.ts +83 -83
  18. package/src/core/measure.ts +19 -19
  19. package/src/core/report.ts +28 -28
  20. package/src/core/scrub.ts +196 -196
  21. package/src/core/task.ts +180 -180
  22. package/src/core/time.ts +19 -19
  23. package/src/core/timeout.ts +10 -10
  24. package/src/core/version.ts +2 -2
  25. package/src/data/baseline.ts +123 -92
  26. package/src/data/compress.ts +31 -31
  27. package/src/data/consent.ts +20 -20
  28. package/src/data/custom.ts +23 -23
  29. package/src/data/dimension.ts +53 -53
  30. package/src/data/encode.ts +134 -127
  31. package/src/data/envelope.ts +53 -53
  32. package/src/data/extract.ts +204 -204
  33. package/src/data/index.ts +46 -46
  34. package/src/data/limit.ts +44 -44
  35. package/src/data/metadata.ts +356 -356
  36. package/src/data/metric.ts +51 -51
  37. package/src/data/ping.ts +36 -36
  38. package/src/data/signal.ts +30 -30
  39. package/src/data/summary.ts +34 -34
  40. package/src/data/token.ts +39 -39
  41. package/src/data/upgrade.ts +37 -37
  42. package/src/data/upload.ts +283 -283
  43. package/src/data/variable.ts +83 -83
  44. package/src/diagnostic/encode.ts +40 -40
  45. package/src/diagnostic/fraud.ts +36 -36
  46. package/src/diagnostic/index.ts +15 -15
  47. package/src/diagnostic/internal.ts +28 -28
  48. package/src/diagnostic/script.ts +37 -37
  49. package/src/global.ts +6 -6
  50. package/src/index.ts +9 -9
  51. package/src/insight/blank.ts +14 -14
  52. package/src/insight/encode.ts +60 -60
  53. package/src/insight/snapshot.ts +114 -114
  54. package/src/interaction/change.ts +40 -40
  55. package/src/interaction/click.ts +156 -156
  56. package/src/interaction/clipboard.ts +34 -34
  57. package/src/interaction/encode.ts +191 -191
  58. package/src/interaction/index.ts +59 -59
  59. package/src/interaction/input.ts +59 -59
  60. package/src/interaction/pointer.ts +139 -139
  61. package/src/interaction/resize.ts +47 -47
  62. package/src/interaction/scroll.ts +124 -124
  63. package/src/interaction/selection.ts +68 -68
  64. package/src/interaction/submit.ts +32 -32
  65. package/src/interaction/timeline.ts +65 -65
  66. package/src/interaction/unload.ts +28 -28
  67. package/src/interaction/visibility.ts +26 -26
  68. package/src/layout/animation.ts +133 -133
  69. package/src/layout/discover.ts +31 -31
  70. package/src/layout/document.ts +48 -48
  71. package/src/layout/dom.ts +414 -414
  72. package/src/layout/encode.ts +145 -145
  73. package/src/layout/index.ts +41 -41
  74. package/src/layout/mutation.ts +340 -340
  75. package/src/layout/node.ts +264 -264
  76. package/src/layout/offset.ts +19 -19
  77. package/src/layout/region.ts +153 -153
  78. package/src/layout/schema.ts +63 -63
  79. package/src/layout/selector.ts +82 -82
  80. package/src/layout/style.ts +149 -149
  81. package/src/layout/target.ts +32 -32
  82. package/src/layout/traverse.ts +27 -27
  83. package/src/performance/blank.ts +7 -7
  84. package/src/performance/encode.ts +31 -31
  85. package/src/performance/index.ts +14 -14
  86. package/src/performance/interaction.ts +125 -125
  87. package/src/performance/navigation.ts +31 -31
  88. package/src/performance/observer.ts +108 -108
  89. package/src/queue.ts +33 -33
  90. package/test/core.test.ts +139 -139
  91. package/test/helper.ts +162 -162
  92. package/test/html/core.html +27 -27
  93. package/test/tsconfig.test.json +5 -5
  94. package/tsconfig.json +21 -21
  95. package/tslint.json +32 -32
  96. package/types/core.d.ts +151 -151
  97. package/types/data.d.ts +504 -497
  98. package/types/diagnostic.d.ts +24 -24
  99. package/types/index.d.ts +39 -39
  100. package/types/interaction.d.ts +157 -157
  101. package/types/layout.d.ts +273 -273
  102. package/types/performance.d.ts +64 -64
package/types/layout.d.ts CHANGED
@@ -1,274 +1,274 @@
1
- import { Privacy } from "@clarity-types/core";
2
-
3
- /* Enum */
4
-
5
- export const enum AnimationOperation {
6
- Create = 0,
7
- Play = 1,
8
- Pause = 2,
9
- Cancel = 3,
10
- Finish = 4,
11
- CommitStyles = 5
12
- }
13
-
14
- export const enum Source {
15
- Discover,
16
- ChildListAdd,
17
- ChildListRemove,
18
- Attributes,
19
- CharacterData
20
- }
21
-
22
- export const enum Selector {
23
- Alpha = 0,
24
- Beta = 1,
25
- Default = 1
26
- }
27
-
28
- export const enum InteractionState {
29
- None = 16,
30
- Clicked = 20,
31
- Input = 30
32
- }
33
-
34
- export interface AnimationState {
35
- time: number;
36
- event: number;
37
- data: AnimationData;
38
- }
39
-
40
- export interface AnimationData {
41
- id: string;
42
- operation: AnimationOperation;
43
- keyFrames?: string;
44
- timing?: string;
45
- timeline?: string;
46
- targetId?: number;
47
- }
48
-
49
- export const enum RegionVisibility {
50
- Rendered = 0,
51
- Visible = 10,
52
- ScrolledToEnd = 13
53
- }
54
-
55
- export const enum Mask {
56
- Text = "address,password,contact",
57
- Disable = "radio,checkbox,range,button,reset,submit",
58
- Exclude = "password,secret,pass,social,ssn,code,hidden",
59
- Tags = "INPUT,SELECT,TEXTAREA"
60
- }
61
-
62
- export const enum Constant {
63
- Empty = "",
64
- SvgPrefix = "svg:",
65
- DataPrefix = "data:",
66
- IFramePrefix = "iframe:",
67
- SvgNamespace = "http://www.w3.org/2000/svg",
68
- Id = "id",
69
- Class = "class",
70
- Style = "style",
71
- Href = "href",
72
- Src = "src",
73
- Srcset = "srcset",
74
- Hash = "#",
75
- Dot = ".",
76
- Separator = ">",
77
- Tilde = "~",
78
- Bang = "!",
79
- Period = ".",
80
- Comma = ",",
81
- DataAttribute = "data-",
82
- MaskData = "data-clarity-mask",
83
- UnmaskData = "data-clarity-unmask",
84
- RegionData = "data-clarity-region",
85
- Type = "type",
86
- Submit = "submit",
87
- Name = "name",
88
- Base = "*B",
89
- SameOrigin = "*O",
90
- Object = "object",
91
- Function = "function",
92
- StyleTag = "STYLE",
93
- InputTag = "INPUT",
94
- IFrameTag = "IFRAME",
95
- ImageTag = "IMG",
96
- TitleTag = "TITLE",
97
- BodyTag = "BODY",
98
- SvgTag = "svg:svg",
99
- BaseTag = "BASE",
100
- NativeCode = "[native code]",
101
- DocumentTag = "*D",
102
- ShadowDomTag = "*S",
103
- PolyfillShadowDomTag = "*P",
104
- TextTag = "*T",
105
- SuspendMutationTag = "*M",
106
- ChildList = "childList",
107
- Attributes = "attributes",
108
- CharacterData = "characterData",
109
- Throttle = "throttle",
110
- LoadEvent = "load",
111
- Pixel = "px",
112
- BorderBox = "border-box",
113
- Value = "value",
114
- MutationObserver = "MutationObserver",
115
- JsonLD = "application/ld+json",
116
- String = "string",
117
- Number = "number",
118
- Disable = "disable",
119
- HTML = "HTML",
120
- Property = "property",
121
- Content = "content",
122
- Generator = "generator",
123
- ogType = "og:type",
124
- ogTitle = "og:title",
125
- SvgStyle = "svg:style",
126
- ExcludeClassNames = "load,active,fixed,visible,focus,show,collaps,animat",
127
- StyleSheet = "stylesheet"
128
- }
129
-
130
- export const enum JsonLD {
131
- Type = "@type",
132
- Recipe = "recipe",
133
- Product = "product",
134
- AggregateRating = "aggregaterating",
135
- Author = "person",
136
- Offer = "offer",
137
- Brand = "brand",
138
- RatingValue = "ratingValue",
139
- BestRating = "bestRating",
140
- WorstRating = "worstRating",
141
- RatingCount = "ratingCount",
142
- ReviewCount = "reviewCount",
143
- Availability = "availability",
144
- Price = "price",
145
- PriceCurrency = "priceCurrency",
146
- ItemCondition = "itemCondition",
147
- Category = "category",
148
- Sku = "sku",
149
- Name = "name",
150
- Article = "article",
151
- Posting = "posting",
152
- Headline = "headline",
153
- Creator = "creator"
154
- }
155
-
156
- export const enum Setting {
157
- LookAhead = 33, // 33ms
158
- MutationSuspendThreshold = 10, // Stop listening for mutations after hitting a threshold count
159
- MutationActivePeriod = 3000, // Unit: milliseconds. Let mutations continue as normal during active periods of user interactions
160
- MaxMutationHistoryCount = 10000,
161
- MaxMutationHistoryTime = 30000, // Unit: milliseconds. Maximum time to keep mutation history in memory
162
- }
163
-
164
- export const enum StyleSheetOperation {
165
- Create = 0,
166
- Replace = 1,
167
- ReplaceSync = 2,
168
- SetAdoptedStyles = 3
169
- }
170
-
171
- /* Helper Interfaces */
172
- export interface Box {
173
- x: number; // Left
174
- y: number; // Top
175
- w: number; // Width
176
- h: number; // Height
177
- }
178
-
179
- export interface Attributes {
180
- [key: string]: string;
181
- }
182
-
183
- export interface SelectorInput {
184
- id: number;
185
- tag: string;
186
- prefix: [string, string];
187
- position: number;
188
- attributes: Attributes;
189
- }
190
-
191
- export interface NodeInfo {
192
- tag: string;
193
- attributes?: Attributes;
194
- value?: string;
195
- }
196
-
197
- export interface NodeValue {
198
- id: number;
199
- parent: number;
200
- previous: number;
201
- children: number[];
202
- data: NodeInfo;
203
- selector: [string, string];
204
- hash: [string, string];
205
- region: number;
206
- metadata: NodeMeta;
207
- }
208
-
209
- export interface NodeMeta {
210
- active: boolean;
211
- suspend: boolean;
212
- privacy: Privacy;
213
- position: number;
214
- fraud: number;
215
- size: number[];
216
- }
217
-
218
- export interface MutationQueue {
219
- time: number;
220
- mutations: MutationRecord[];
221
- }
222
-
223
- export interface MutationRecordWithTime {
224
- timestamp: number;
225
- mutation: MutationRecord;
226
- }
227
-
228
- export interface MutationHistory {
229
- [key: string]: [/* Count */ number, /* Instance */ number, /* Remove Nodes Buffer */ NodeList?];
230
- }
231
-
232
- export interface RegionQueue {
233
- node: Node;
234
- state: RegionState;
235
- }
236
-
237
- export interface RegionState {
238
- time: number;
239
- data: RegionData;
240
- }
241
-
242
- export interface StyleSheetState {
243
- time: number;
244
- event: number,
245
- data: StyleSheetData
246
- }
247
-
248
- /* Event Data */
249
-
250
- export interface DocumentData {
251
- width: number;
252
- height: number;
253
- }
254
-
255
- export interface RegionData {
256
- id: number;
257
- visibility: RegionVisibility;
258
- interaction: InteractionState;
259
- name: string;
260
- }
261
-
262
- export interface TargetMetadata {
263
- id: number;
264
- hash: [string, string];
265
- privacy: Privacy;
266
- node: Node;
267
- }
268
-
269
- export interface StyleSheetData {
270
- id: number | string;
271
- operation: StyleSheetOperation;
272
- cssRules?: string;
273
- newIds?: string[]
1
+ import { Privacy } from "@clarity-types/core";
2
+
3
+ /* Enum */
4
+
5
+ export const enum AnimationOperation {
6
+ Create = 0,
7
+ Play = 1,
8
+ Pause = 2,
9
+ Cancel = 3,
10
+ Finish = 4,
11
+ CommitStyles = 5
12
+ }
13
+
14
+ export const enum Source {
15
+ Discover,
16
+ ChildListAdd,
17
+ ChildListRemove,
18
+ Attributes,
19
+ CharacterData
20
+ }
21
+
22
+ export const enum Selector {
23
+ Alpha = 0,
24
+ Beta = 1,
25
+ Default = 1
26
+ }
27
+
28
+ export const enum InteractionState {
29
+ None = 16,
30
+ Clicked = 20,
31
+ Input = 30
32
+ }
33
+
34
+ export interface AnimationState {
35
+ time: number;
36
+ event: number;
37
+ data: AnimationData;
38
+ }
39
+
40
+ export interface AnimationData {
41
+ id: string;
42
+ operation: AnimationOperation;
43
+ keyFrames?: string;
44
+ timing?: string;
45
+ timeline?: string;
46
+ targetId?: number;
47
+ }
48
+
49
+ export const enum RegionVisibility {
50
+ Rendered = 0,
51
+ Visible = 10,
52
+ ScrolledToEnd = 13
53
+ }
54
+
55
+ export const enum Mask {
56
+ Text = "address,password,contact",
57
+ Disable = "radio,checkbox,range,button,reset,submit",
58
+ Exclude = "password,secret,pass,social,ssn,code,hidden",
59
+ Tags = "INPUT,SELECT,TEXTAREA"
60
+ }
61
+
62
+ export const enum Constant {
63
+ Empty = "",
64
+ SvgPrefix = "svg:",
65
+ DataPrefix = "data:",
66
+ IFramePrefix = "iframe:",
67
+ SvgNamespace = "http://www.w3.org/2000/svg",
68
+ Id = "id",
69
+ Class = "class",
70
+ Style = "style",
71
+ Href = "href",
72
+ Src = "src",
73
+ Srcset = "srcset",
74
+ Hash = "#",
75
+ Dot = ".",
76
+ Separator = ">",
77
+ Tilde = "~",
78
+ Bang = "!",
79
+ Period = ".",
80
+ Comma = ",",
81
+ DataAttribute = "data-",
82
+ MaskData = "data-clarity-mask",
83
+ UnmaskData = "data-clarity-unmask",
84
+ RegionData = "data-clarity-region",
85
+ Type = "type",
86
+ Submit = "submit",
87
+ Name = "name",
88
+ Base = "*B",
89
+ SameOrigin = "*O",
90
+ Object = "object",
91
+ Function = "function",
92
+ StyleTag = "STYLE",
93
+ InputTag = "INPUT",
94
+ IFrameTag = "IFRAME",
95
+ ImageTag = "IMG",
96
+ TitleTag = "TITLE",
97
+ BodyTag = "BODY",
98
+ SvgTag = "svg:svg",
99
+ BaseTag = "BASE",
100
+ NativeCode = "[native code]",
101
+ DocumentTag = "*D",
102
+ ShadowDomTag = "*S",
103
+ PolyfillShadowDomTag = "*P",
104
+ TextTag = "*T",
105
+ SuspendMutationTag = "*M",
106
+ ChildList = "childList",
107
+ Attributes = "attributes",
108
+ CharacterData = "characterData",
109
+ Throttle = "throttle",
110
+ LoadEvent = "load",
111
+ Pixel = "px",
112
+ BorderBox = "border-box",
113
+ Value = "value",
114
+ MutationObserver = "MutationObserver",
115
+ JsonLD = "application/ld+json",
116
+ String = "string",
117
+ Number = "number",
118
+ Disable = "disable",
119
+ HTML = "HTML",
120
+ Property = "property",
121
+ Content = "content",
122
+ Generator = "generator",
123
+ ogType = "og:type",
124
+ ogTitle = "og:title",
125
+ SvgStyle = "svg:style",
126
+ ExcludeClassNames = "load,active,fixed,visible,focus,show,collaps,animat",
127
+ StyleSheet = "stylesheet"
128
+ }
129
+
130
+ export const enum JsonLD {
131
+ Type = "@type",
132
+ Recipe = "recipe",
133
+ Product = "product",
134
+ AggregateRating = "aggregaterating",
135
+ Author = "person",
136
+ Offer = "offer",
137
+ Brand = "brand",
138
+ RatingValue = "ratingValue",
139
+ BestRating = "bestRating",
140
+ WorstRating = "worstRating",
141
+ RatingCount = "ratingCount",
142
+ ReviewCount = "reviewCount",
143
+ Availability = "availability",
144
+ Price = "price",
145
+ PriceCurrency = "priceCurrency",
146
+ ItemCondition = "itemCondition",
147
+ Category = "category",
148
+ Sku = "sku",
149
+ Name = "name",
150
+ Article = "article",
151
+ Posting = "posting",
152
+ Headline = "headline",
153
+ Creator = "creator"
154
+ }
155
+
156
+ export const enum Setting {
157
+ LookAhead = 33, // 33ms
158
+ MutationSuspendThreshold = 10, // Stop listening for mutations after hitting a threshold count
159
+ MutationActivePeriod = 3000, // Unit: milliseconds. Let mutations continue as normal during active periods of user interactions
160
+ MaxMutationHistoryCount = 10000,
161
+ MaxMutationHistoryTime = 30000, // Unit: milliseconds. Maximum time to keep mutation history in memory
162
+ }
163
+
164
+ export const enum StyleSheetOperation {
165
+ Create = 0,
166
+ Replace = 1,
167
+ ReplaceSync = 2,
168
+ SetAdoptedStyles = 3
169
+ }
170
+
171
+ /* Helper Interfaces */
172
+ export interface Box {
173
+ x: number; // Left
174
+ y: number; // Top
175
+ w: number; // Width
176
+ h: number; // Height
177
+ }
178
+
179
+ export interface Attributes {
180
+ [key: string]: string;
181
+ }
182
+
183
+ export interface SelectorInput {
184
+ id: number;
185
+ tag: string;
186
+ prefix: [string, string];
187
+ position: number;
188
+ attributes: Attributes;
189
+ }
190
+
191
+ export interface NodeInfo {
192
+ tag: string;
193
+ attributes?: Attributes;
194
+ value?: string;
195
+ }
196
+
197
+ export interface NodeValue {
198
+ id: number;
199
+ parent: number;
200
+ previous: number;
201
+ children: number[];
202
+ data: NodeInfo;
203
+ selector: [string, string];
204
+ hash: [string, string];
205
+ region: number;
206
+ metadata: NodeMeta;
207
+ }
208
+
209
+ export interface NodeMeta {
210
+ active: boolean;
211
+ suspend: boolean;
212
+ privacy: Privacy;
213
+ position: number;
214
+ fraud: number;
215
+ size: number[];
216
+ }
217
+
218
+ export interface MutationQueue {
219
+ time: number;
220
+ mutations: MutationRecord[];
221
+ }
222
+
223
+ export interface MutationRecordWithTime {
224
+ timestamp: number;
225
+ mutation: MutationRecord;
226
+ }
227
+
228
+ export interface MutationHistory {
229
+ [key: string]: [/* Count */ number, /* Instance */ number, /* Remove Nodes Buffer */ NodeList?];
230
+ }
231
+
232
+ export interface RegionQueue {
233
+ node: Node;
234
+ state: RegionState;
235
+ }
236
+
237
+ export interface RegionState {
238
+ time: number;
239
+ data: RegionData;
240
+ }
241
+
242
+ export interface StyleSheetState {
243
+ time: number;
244
+ event: number,
245
+ data: StyleSheetData
246
+ }
247
+
248
+ /* Event Data */
249
+
250
+ export interface DocumentData {
251
+ width: number;
252
+ height: number;
253
+ }
254
+
255
+ export interface RegionData {
256
+ id: number;
257
+ visibility: RegionVisibility;
258
+ interaction: InteractionState;
259
+ name: string;
260
+ }
261
+
262
+ export interface TargetMetadata {
263
+ id: number;
264
+ hash: [string, string];
265
+ privacy: Privacy;
266
+ node: Node;
267
+ }
268
+
269
+ export interface StyleSheetData {
270
+ id: number | string;
271
+ operation: StyleSheetOperation;
272
+ cssRules?: string;
273
+ newIds?: string[]
274
274
  }
@@ -1,65 +1,65 @@
1
- import { BooleanFlag, Target } from "./data";
2
-
3
- /* Helper Interface */
4
-
5
-
6
- // Reference: https://wicg.github.io/netinfo/#networkinformation-interface
7
- export interface NavigatorConnection extends EventTarget {
8
- effectiveType: string;
9
- downlinkMax: number;
10
- downlink: number;
11
- rtt: number;
12
- saveData: boolean;
13
- }
14
-
15
- /* Event Data */
16
- export interface NavigationData {
17
- fetchStart: number;
18
- connectStart: number;
19
- connectEnd: number;
20
- requestStart: number;
21
- responseStart: number;
22
- responseEnd: number;
23
- domInteractive: number;
24
- domComplete: number;
25
- loadEventStart: number;
26
- loadEventEnd: number;
27
- redirectCount: number;
28
- size: number;
29
- type: string;
30
- protocol: string;
31
- encodedSize: number;
32
- decodedSize: number;
33
- }
34
-
35
- export const enum FunctionNames {
36
- HistoryCompute = 1,
37
- Restart = 2,
38
- DiagnosticStart = 3,
39
- ScriptHandler = 4,
40
- ChangeRecompute = 5,
41
- ClickHandler = 6,
42
- ClipboardRecompute = 7,
43
- InteractionStart = 8,
44
- InputRecompute = 9,
45
- PointerMouse = 10,
46
- PointerTouch = 11,
47
- ResizeRecompute = 12,
48
- ScrollRecompute = 13,
49
- ScrollCompute = 14,
50
- SelectionRecompute = 15,
51
- SubmitRecompute = 16,
52
- UnloadRecompute = 17,
53
- VisibilityRecompute = 18,
54
- DocumentCompute = 19,
55
- LayoutStart = 20,
56
- MutationStart = 21,
57
- MutationHandle = 22,
58
- MutationGenerate = 23,
59
- RegionCompute = 24,
60
- PerformanceStart = 25,
61
- ObserverObserve = 26,
62
- ObserverHandle = 27
63
- }
64
-
1
+ import { BooleanFlag, Target } from "./data";
2
+
3
+ /* Helper Interface */
4
+
5
+
6
+ // Reference: https://wicg.github.io/netinfo/#networkinformation-interface
7
+ export interface NavigatorConnection extends EventTarget {
8
+ effectiveType: string;
9
+ downlinkMax: number;
10
+ downlink: number;
11
+ rtt: number;
12
+ saveData: boolean;
13
+ }
14
+
15
+ /* Event Data */
16
+ export interface NavigationData {
17
+ fetchStart: number;
18
+ connectStart: number;
19
+ connectEnd: number;
20
+ requestStart: number;
21
+ responseStart: number;
22
+ responseEnd: number;
23
+ domInteractive: number;
24
+ domComplete: number;
25
+ loadEventStart: number;
26
+ loadEventEnd: number;
27
+ redirectCount: number;
28
+ size: number;
29
+ type: string;
30
+ protocol: string;
31
+ encodedSize: number;
32
+ decodedSize: number;
33
+ }
34
+
35
+ export const enum FunctionNames {
36
+ HistoryCompute = 1,
37
+ Restart = 2,
38
+ DiagnosticStart = 3,
39
+ ScriptHandler = 4,
40
+ ChangeRecompute = 5,
41
+ ClickHandler = 6,
42
+ ClipboardRecompute = 7,
43
+ InteractionStart = 8,
44
+ InputRecompute = 9,
45
+ PointerMouse = 10,
46
+ PointerTouch = 11,
47
+ ResizeRecompute = 12,
48
+ ScrollRecompute = 13,
49
+ ScrollCompute = 14,
50
+ SelectionRecompute = 15,
51
+ SubmitRecompute = 16,
52
+ UnloadRecompute = 17,
53
+ VisibilityRecompute = 18,
54
+ DocumentCompute = 19,
55
+ LayoutStart = 20,
56
+ MutationStart = 21,
57
+ MutationHandle = 22,
58
+ MutationGenerate = 23,
59
+ RegionCompute = 24,
60
+ PerformanceStart = 25,
61
+ ObserverObserve = 26,
62
+ ObserverHandle = 27
63
+ }
64
+
65
65
  declare global { interface Function { dn?: FunctionNames; } }