@itwin/core-i18n 5.0.0-dev.56 → 5.0.0-dev.57
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/lib/cjs/ITwinLocalization.js +6 -2
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +533 -523
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +160 -146
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/lib/esm/ITwinLocalization.js +6 -2
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/package.json +6 -6
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
function cov_ogldeftyv() {
|
|
21
21
|
var path = "C:\\agent\\_work\\1\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
-
var hash = "
|
|
22
|
+
var hash = "a382596dbfbc886d31159a6dca6879dc56dcf2cf";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
@@ -117,751 +117,751 @@ function cov_ogldeftyv() {
|
|
|
117
117
|
},
|
|
118
118
|
"9": {
|
|
119
119
|
start: {
|
|
120
|
-
line:
|
|
121
|
-
column:
|
|
120
|
+
line: 28,
|
|
121
|
+
column: 18
|
|
122
122
|
},
|
|
123
123
|
end: {
|
|
124
|
-
line:
|
|
125
|
-
column:
|
|
124
|
+
line: 28,
|
|
125
|
+
column: 27
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
"10": {
|
|
129
129
|
start: {
|
|
130
|
-
line:
|
|
130
|
+
line: 30,
|
|
131
131
|
column: 8
|
|
132
132
|
},
|
|
133
133
|
end: {
|
|
134
|
-
line:
|
|
134
|
+
line: 30,
|
|
135
135
|
column: 58
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
"11": {
|
|
139
139
|
start: {
|
|
140
|
-
line:
|
|
140
|
+
line: 31,
|
|
141
141
|
column: 8
|
|
142
142
|
},
|
|
143
143
|
end: {
|
|
144
|
-
line:
|
|
144
|
+
line: 35,
|
|
145
145
|
column: 10
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
"12": {
|
|
149
149
|
start: {
|
|
150
|
-
line:
|
|
150
|
+
line: 36,
|
|
151
151
|
column: 8
|
|
152
152
|
},
|
|
153
153
|
end: {
|
|
154
|
-
line:
|
|
154
|
+
line: 41,
|
|
155
155
|
column: 10
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
"13": {
|
|
159
159
|
start: {
|
|
160
|
-
line:
|
|
160
|
+
line: 42,
|
|
161
161
|
column: 8
|
|
162
162
|
},
|
|
163
163
|
end: {
|
|
164
|
-
line:
|
|
164
|
+
line: 49,
|
|
165
165
|
column: 10
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"14": {
|
|
169
169
|
start: {
|
|
170
|
-
line:
|
|
170
|
+
line: 50,
|
|
171
171
|
column: 8
|
|
172
172
|
},
|
|
173
173
|
end: {
|
|
174
|
-
line:
|
|
174
|
+
line: 53,
|
|
175
175
|
column: 36
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"15": {
|
|
179
179
|
start: {
|
|
180
|
-
line:
|
|
180
|
+
line: 57,
|
|
181
181
|
column: 31
|
|
182
182
|
},
|
|
183
183
|
end: {
|
|
184
|
-
line:
|
|
184
|
+
line: 57,
|
|
185
185
|
column: 66
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"16": {
|
|
189
189
|
start: {
|
|
190
|
-
line:
|
|
190
|
+
line: 58,
|
|
191
191
|
column: 35
|
|
192
192
|
},
|
|
193
193
|
end: {
|
|
194
|
-
line:
|
|
194
|
+
line: 58,
|
|
195
195
|
column: 78
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
198
|
"17": {
|
|
199
199
|
start: {
|
|
200
|
-
line:
|
|
200
|
+
line: 59,
|
|
201
201
|
column: 33
|
|
202
202
|
},
|
|
203
203
|
end: {
|
|
204
|
-
line:
|
|
204
|
+
line: 59,
|
|
205
205
|
column: 77
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
"18": {
|
|
209
209
|
start: {
|
|
210
|
-
line:
|
|
210
|
+
line: 60,
|
|
211
211
|
column: 8
|
|
212
212
|
},
|
|
213
213
|
end: {
|
|
214
|
-
line:
|
|
214
|
+
line: 61,
|
|
215
215
|
column: 53
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
218
|
"19": {
|
|
219
219
|
start: {
|
|
220
|
-
line:
|
|
220
|
+
line: 61,
|
|
221
221
|
column: 12
|
|
222
222
|
},
|
|
223
223
|
end: {
|
|
224
|
-
line:
|
|
224
|
+
line: 61,
|
|
225
225
|
column: 53
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
"20": {
|
|
229
229
|
start: {
|
|
230
|
-
line:
|
|
230
|
+
line: 62,
|
|
231
231
|
column: 28
|
|
232
232
|
},
|
|
233
233
|
end: {
|
|
234
|
-
line:
|
|
234
|
+
line: 66,
|
|
235
235
|
column: 9
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"21": {
|
|
239
239
|
start: {
|
|
240
|
-
line:
|
|
240
|
+
line: 68,
|
|
241
241
|
column: 8
|
|
242
242
|
},
|
|
243
243
|
end: {
|
|
244
|
-
line:
|
|
244
|
+
line: 69,
|
|
245
245
|
column: 37
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"22": {
|
|
249
249
|
start: {
|
|
250
|
-
line:
|
|
250
|
+
line: 69,
|
|
251
251
|
column: 12
|
|
252
252
|
},
|
|
253
253
|
end: {
|
|
254
|
-
line:
|
|
254
|
+
line: 69,
|
|
255
255
|
column: 37
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
"23": {
|
|
259
259
|
start: {
|
|
260
|
-
line:
|
|
260
|
+
line: 70,
|
|
261
261
|
column: 28
|
|
262
262
|
},
|
|
263
263
|
end: {
|
|
264
|
-
line:
|
|
264
|
+
line: 70,
|
|
265
265
|
column: 58
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
"24": {
|
|
269
269
|
start: {
|
|
270
|
-
line:
|
|
270
|
+
line: 71,
|
|
271
271
|
column: 8
|
|
272
272
|
},
|
|
273
273
|
end: {
|
|
274
|
-
line:
|
|
274
|
+
line: 72,
|
|
275
275
|
column: 50
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"25": {
|
|
279
279
|
start: {
|
|
280
|
-
line:
|
|
280
|
+
line: 72,
|
|
281
281
|
column: 12
|
|
282
282
|
},
|
|
283
283
|
end: {
|
|
284
|
-
line:
|
|
284
|
+
line: 72,
|
|
285
285
|
column: 50
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
"26": {
|
|
289
289
|
start: {
|
|
290
|
-
line:
|
|
290
|
+
line: 73,
|
|
291
291
|
column: 8
|
|
292
292
|
},
|
|
293
293
|
end: {
|
|
294
|
-
line:
|
|
294
|
+
line: 73,
|
|
295
295
|
column: 27
|
|
296
296
|
}
|
|
297
297
|
},
|
|
298
298
|
"27": {
|
|
299
299
|
start: {
|
|
300
|
-
line:
|
|
300
|
+
line: 92,
|
|
301
301
|
column: 8
|
|
302
302
|
},
|
|
303
303
|
end: {
|
|
304
|
-
line:
|
|
304
|
+
line: 92,
|
|
305
305
|
column: 91
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
"28": {
|
|
309
309
|
start: {
|
|
310
|
-
line:
|
|
310
|
+
line: 92,
|
|
311
311
|
column: 61
|
|
312
312
|
},
|
|
313
313
|
end: {
|
|
314
|
-
line:
|
|
314
|
+
line: 92,
|
|
315
315
|
column: 89
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
"29": {
|
|
319
319
|
start: {
|
|
320
|
-
line:
|
|
320
|
+
line: 108,
|
|
321
321
|
column: 8
|
|
322
322
|
},
|
|
323
323
|
end: {
|
|
324
|
-
line:
|
|
324
|
+
line: 110,
|
|
325
325
|
column: 9
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
"30": {
|
|
329
329
|
start: {
|
|
330
|
-
line:
|
|
330
|
+
line: 109,
|
|
331
331
|
column: 12
|
|
332
332
|
},
|
|
333
333
|
end: {
|
|
334
|
-
line:
|
|
334
|
+
line: 109,
|
|
335
335
|
column: 116
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
"31": {
|
|
339
339
|
start: {
|
|
340
|
-
line:
|
|
340
|
+
line: 111,
|
|
341
341
|
column: 22
|
|
342
342
|
},
|
|
343
343
|
end: {
|
|
344
|
-
line:
|
|
344
|
+
line: 111,
|
|
345
345
|
column: 50
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
348
|
"32": {
|
|
349
349
|
start: {
|
|
350
|
-
line:
|
|
350
|
+
line: 112,
|
|
351
351
|
column: 8
|
|
352
352
|
},
|
|
353
353
|
end: {
|
|
354
|
-
line:
|
|
354
|
+
line: 114,
|
|
355
355
|
column: 9
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
"33": {
|
|
359
359
|
start: {
|
|
360
|
-
line:
|
|
360
|
+
line: 113,
|
|
361
361
|
column: 12
|
|
362
362
|
},
|
|
363
363
|
end: {
|
|
364
|
-
line:
|
|
364
|
+
line: 113,
|
|
365
365
|
column: 67
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
368
|
"34": {
|
|
369
369
|
start: {
|
|
370
|
-
line:
|
|
370
|
+
line: 115,
|
|
371
371
|
column: 8
|
|
372
372
|
},
|
|
373
373
|
end: {
|
|
374
|
-
line:
|
|
374
|
+
line: 115,
|
|
375
375
|
column: 21
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
"35": {
|
|
379
379
|
start: {
|
|
380
|
-
line:
|
|
380
|
+
line: 126,
|
|
381
381
|
column: 22
|
|
382
382
|
},
|
|
383
383
|
end: {
|
|
384
|
-
line:
|
|
384
|
+
line: 126,
|
|
385
385
|
column: 24
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"36": {
|
|
389
389
|
start: {
|
|
390
|
-
line:
|
|
390
|
+
line: 127,
|
|
391
391
|
column: 8
|
|
392
392
|
},
|
|
393
393
|
end: {
|
|
394
|
-
line:
|
|
394
|
+
line: 134,
|
|
395
395
|
column: 9
|
|
396
396
|
}
|
|
397
397
|
},
|
|
398
398
|
"37": {
|
|
399
399
|
start: {
|
|
400
|
-
line:
|
|
400
|
+
line: 128,
|
|
401
401
|
column: 12
|
|
402
402
|
},
|
|
403
403
|
end: {
|
|
404
|
-
line:
|
|
404
|
+
line: 128,
|
|
405
405
|
column: 44
|
|
406
406
|
}
|
|
407
407
|
},
|
|
408
408
|
"38": {
|
|
409
409
|
start: {
|
|
410
|
-
line:
|
|
410
|
+
line: 131,
|
|
411
411
|
column: 12
|
|
412
412
|
},
|
|
413
413
|
end: {
|
|
414
|
-
line:
|
|
414
|
+
line: 133,
|
|
415
415
|
column: 15
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
"39": {
|
|
419
419
|
start: {
|
|
420
|
-
line:
|
|
420
|
+
line: 132,
|
|
421
421
|
column: 16
|
|
422
422
|
},
|
|
423
423
|
end: {
|
|
424
|
-
line:
|
|
424
|
+
line: 132,
|
|
425
425
|
column: 48
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
"40": {
|
|
429
429
|
start: {
|
|
430
|
-
line:
|
|
430
|
+
line: 135,
|
|
431
431
|
column: 8
|
|
432
432
|
},
|
|
433
433
|
end: {
|
|
434
|
-
line:
|
|
434
|
+
line: 135,
|
|
435
435
|
column: 57
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
"41": {
|
|
439
439
|
start: {
|
|
440
|
-
line:
|
|
440
|
+
line: 145,
|
|
441
441
|
column: 8
|
|
442
442
|
},
|
|
443
443
|
end: {
|
|
444
|
-
line:
|
|
444
|
+
line: 147,
|
|
445
445
|
column: 9
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
"42": {
|
|
449
449
|
start: {
|
|
450
|
-
line:
|
|
450
|
+
line: 146,
|
|
451
451
|
column: 12
|
|
452
452
|
},
|
|
453
453
|
end: {
|
|
454
|
-
line:
|
|
454
|
+
line: 146,
|
|
455
455
|
column: 116
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
"43": {
|
|
459
459
|
start: {
|
|
460
|
-
line:
|
|
460
|
+
line: 148,
|
|
461
461
|
column: 8
|
|
462
462
|
},
|
|
463
463
|
end: {
|
|
464
|
-
line:
|
|
464
|
+
line: 151,
|
|
465
465
|
column: 10
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
468
|
"44": {
|
|
469
469
|
start: {
|
|
470
|
-
line:
|
|
470
|
+
line: 152,
|
|
471
471
|
column: 19
|
|
472
472
|
},
|
|
473
473
|
end: {
|
|
474
|
-
line:
|
|
474
|
+
line: 152,
|
|
475
475
|
column: 58
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
478
|
"45": {
|
|
479
479
|
start: {
|
|
480
|
-
line:
|
|
480
|
+
line: 153,
|
|
481
481
|
column: 20
|
|
482
482
|
},
|
|
483
483
|
end: {
|
|
484
|
-
line:
|
|
484
|
+
line: 153,
|
|
485
485
|
column: 36
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
488
|
"46": {
|
|
489
489
|
start: {
|
|
490
|
-
line:
|
|
490
|
+
line: 154,
|
|
491
491
|
column: 8
|
|
492
492
|
},
|
|
493
493
|
end: {
|
|
494
|
-
line:
|
|
494
|
+
line: 155,
|
|
495
495
|
column: 60
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
498
|
"47": {
|
|
499
499
|
start: {
|
|
500
|
-
line:
|
|
500
|
+
line: 155,
|
|
501
501
|
column: 12
|
|
502
502
|
},
|
|
503
503
|
end: {
|
|
504
|
-
line:
|
|
504
|
+
line: 155,
|
|
505
505
|
column: 60
|
|
506
506
|
}
|
|
507
507
|
},
|
|
508
508
|
"48": {
|
|
509
509
|
start: {
|
|
510
|
-
line:
|
|
510
|
+
line: 156,
|
|
511
511
|
column: 8
|
|
512
512
|
},
|
|
513
513
|
end: {
|
|
514
|
-
line:
|
|
514
|
+
line: 156,
|
|
515
515
|
column: 19
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
"49": {
|
|
519
519
|
start: {
|
|
520
|
-
line:
|
|
520
|
+
line: 163,
|
|
521
521
|
column: 8
|
|
522
522
|
},
|
|
523
523
|
end: {
|
|
524
|
-
line:
|
|
524
|
+
line: 163,
|
|
525
525
|
column: 42
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
"50": {
|
|
529
529
|
start: {
|
|
530
|
-
line:
|
|
530
|
+
line: 167,
|
|
531
531
|
column: 8
|
|
532
532
|
},
|
|
533
533
|
end: {
|
|
534
|
-
line:
|
|
534
|
+
line: 167,
|
|
535
535
|
column: 38
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
538
|
"51": {
|
|
539
539
|
start: {
|
|
540
|
-
line:
|
|
540
|
+
line: 171,
|
|
541
541
|
column: 8
|
|
542
542
|
},
|
|
543
543
|
end: {
|
|
544
|
-
line:
|
|
544
|
+
line: 171,
|
|
545
545
|
column: 53
|
|
546
546
|
}
|
|
547
547
|
},
|
|
548
548
|
"52": {
|
|
549
549
|
start: {
|
|
550
|
-
line:
|
|
550
|
+
line: 182,
|
|
551
551
|
column: 25
|
|
552
552
|
},
|
|
553
553
|
end: {
|
|
554
|
-
line:
|
|
554
|
+
line: 182,
|
|
555
555
|
column: 51
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
"53": {
|
|
559
559
|
start: {
|
|
560
|
-
line:
|
|
560
|
+
line: 183,
|
|
561
561
|
column: 8
|
|
562
562
|
},
|
|
563
563
|
end: {
|
|
564
|
-
line:
|
|
564
|
+
line: 184,
|
|
565
565
|
column: 28
|
|
566
566
|
}
|
|
567
567
|
},
|
|
568
568
|
"54": {
|
|
569
569
|
start: {
|
|
570
|
-
line:
|
|
570
|
+
line: 184,
|
|
571
571
|
column: 12
|
|
572
572
|
},
|
|
573
573
|
end: {
|
|
574
|
-
line:
|
|
574
|
+
line: 184,
|
|
575
575
|
column: 28
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"55": {
|
|
579
579
|
start: {
|
|
580
|
-
line:
|
|
580
|
+
line: 185,
|
|
581
581
|
column: 31
|
|
582
582
|
},
|
|
583
583
|
end: {
|
|
584
|
-
line:
|
|
584
|
+
line: 210,
|
|
585
585
|
column: 10
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
588
|
"56": {
|
|
589
589
|
start: {
|
|
590
|
-
line:
|
|
590
|
+
line: 187,
|
|
591
591
|
column: 12
|
|
592
592
|
},
|
|
593
593
|
end: {
|
|
594
|
-
line:
|
|
594
|
+
line: 209,
|
|
595
595
|
column: 15
|
|
596
596
|
}
|
|
597
597
|
},
|
|
598
598
|
"57": {
|
|
599
599
|
start: {
|
|
600
|
-
line:
|
|
600
|
+
line: 188,
|
|
601
601
|
column: 16
|
|
602
602
|
},
|
|
603
603
|
end: {
|
|
604
|
-
line:
|
|
604
|
+
line: 189,
|
|
605
605
|
column: 37
|
|
606
606
|
}
|
|
607
607
|
},
|
|
608
608
|
"58": {
|
|
609
609
|
start: {
|
|
610
|
-
line:
|
|
610
|
+
line: 189,
|
|
611
611
|
column: 20
|
|
612
612
|
},
|
|
613
613
|
end: {
|
|
614
|
-
line:
|
|
614
|
+
line: 189,
|
|
615
615
|
column: 37
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
"59": {
|
|
619
619
|
start: {
|
|
620
|
-
line:
|
|
620
|
+
line: 195,
|
|
621
621
|
column: 30
|
|
622
622
|
},
|
|
623
623
|
end: {
|
|
624
|
-
line:
|
|
624
|
+
line: 195,
|
|
625
625
|
column: 91
|
|
626
626
|
}
|
|
627
627
|
},
|
|
628
628
|
"60": {
|
|
629
629
|
start: {
|
|
630
|
-
line:
|
|
630
|
+
line: 195,
|
|
631
631
|
column: 73
|
|
632
632
|
},
|
|
633
633
|
end: {
|
|
634
|
-
line:
|
|
634
|
+
line: 195,
|
|
635
635
|
column: 90
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
638
|
"61": {
|
|
639
639
|
start: {
|
|
640
|
-
line:
|
|
640
|
+
line: 196,
|
|
641
641
|
column: 16
|
|
642
642
|
},
|
|
643
643
|
end: {
|
|
644
|
-
line:
|
|
644
|
+
line: 204,
|
|
645
645
|
column: 17
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
"62": {
|
|
649
649
|
start: {
|
|
650
|
-
line:
|
|
650
|
+
line: 197,
|
|
651
651
|
column: 20
|
|
652
652
|
},
|
|
653
653
|
end: {
|
|
654
|
-
line:
|
|
654
|
+
line: 200,
|
|
655
655
|
column: 21
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"63": {
|
|
659
659
|
start: {
|
|
660
|
-
line:
|
|
660
|
+
line: 198,
|
|
661
661
|
column: 24
|
|
662
662
|
},
|
|
663
663
|
end: {
|
|
664
|
-
line:
|
|
664
|
+
line: 199,
|
|
665
665
|
column: 102
|
|
666
666
|
}
|
|
667
667
|
},
|
|
668
668
|
"64": {
|
|
669
669
|
start: {
|
|
670
|
-
line:
|
|
670
|
+
line: 199,
|
|
671
671
|
column: 28
|
|
672
672
|
},
|
|
673
673
|
end: {
|
|
674
|
-
line:
|
|
674
|
+
line: 199,
|
|
675
675
|
column: 102
|
|
676
676
|
}
|
|
677
677
|
},
|
|
678
678
|
"65": {
|
|
679
679
|
start: {
|
|
680
|
-
line:
|
|
680
|
+
line: 199,
|
|
681
681
|
column: 69
|
|
682
682
|
},
|
|
683
683
|
end: {
|
|
684
|
-
line:
|
|
684
|
+
line: 199,
|
|
685
685
|
column: 100
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
688
|
"66": {
|
|
689
689
|
start: {
|
|
690
|
-
line:
|
|
690
|
+
line: 203,
|
|
691
691
|
column: 20
|
|
692
692
|
},
|
|
693
693
|
end: {
|
|
694
|
-
line:
|
|
694
|
+
line: 203,
|
|
695
695
|
column: 33
|
|
696
696
|
}
|
|
697
697
|
},
|
|
698
698
|
"67": {
|
|
699
699
|
start: {
|
|
700
|
-
line:
|
|
700
|
+
line: 206,
|
|
701
701
|
column: 16
|
|
702
702
|
},
|
|
703
703
|
end: {
|
|
704
|
-
line:
|
|
704
|
+
line: 207,
|
|
705
705
|
column: 113
|
|
706
706
|
}
|
|
707
707
|
},
|
|
708
708
|
"68": {
|
|
709
709
|
start: {
|
|
710
|
-
line:
|
|
710
|
+
line: 207,
|
|
711
711
|
column: 20
|
|
712
712
|
},
|
|
713
713
|
end: {
|
|
714
|
-
line:
|
|
714
|
+
line: 207,
|
|
715
715
|
column: 113
|
|
716
716
|
}
|
|
717
717
|
},
|
|
718
718
|
"69": {
|
|
719
719
|
start: {
|
|
720
|
-
line:
|
|
720
|
+
line: 208,
|
|
721
721
|
column: 16
|
|
722
722
|
},
|
|
723
723
|
end: {
|
|
724
|
-
line:
|
|
724
|
+
line: 208,
|
|
725
725
|
column: 26
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
728
|
"70": {
|
|
729
729
|
start: {
|
|
730
|
-
line:
|
|
730
|
+
line: 211,
|
|
731
731
|
column: 8
|
|
732
732
|
},
|
|
733
733
|
end: {
|
|
734
|
-
line:
|
|
734
|
+
line: 211,
|
|
735
735
|
column: 51
|
|
736
736
|
}
|
|
737
737
|
},
|
|
738
738
|
"71": {
|
|
739
739
|
start: {
|
|
740
|
-
line:
|
|
740
|
+
line: 212,
|
|
741
741
|
column: 8
|
|
742
742
|
},
|
|
743
743
|
end: {
|
|
744
|
-
line:
|
|
744
|
+
line: 212,
|
|
745
745
|
column: 30
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
748
|
"72": {
|
|
749
749
|
start: {
|
|
750
|
-
line:
|
|
750
|
+
line: 216,
|
|
751
751
|
column: 8
|
|
752
752
|
},
|
|
753
753
|
end: {
|
|
754
|
-
line:
|
|
754
|
+
line: 216,
|
|
755
755
|
column: 38
|
|
756
756
|
}
|
|
757
757
|
},
|
|
758
758
|
"73": {
|
|
759
759
|
start: {
|
|
760
|
-
line:
|
|
760
|
+
line: 219,
|
|
761
761
|
column: 0
|
|
762
762
|
},
|
|
763
763
|
end: {
|
|
764
|
-
line:
|
|
764
|
+
line: 219,
|
|
765
765
|
column: 46
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
768
|
"74": {
|
|
769
769
|
start: {
|
|
770
|
-
line:
|
|
771
|
-
column:
|
|
770
|
+
line: 221,
|
|
771
|
+
column: 18
|
|
772
772
|
},
|
|
773
773
|
end: {
|
|
774
|
-
line:
|
|
775
|
-
column:
|
|
774
|
+
line: 221,
|
|
775
|
+
column: 26
|
|
776
776
|
}
|
|
777
777
|
},
|
|
778
778
|
"75": {
|
|
779
779
|
start: {
|
|
780
|
-
line:
|
|
780
|
+
line: 222,
|
|
781
781
|
column: 16
|
|
782
782
|
},
|
|
783
783
|
end: {
|
|
784
|
-
line:
|
|
784
|
+
line: 222,
|
|
785
785
|
column: 83
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
788
|
"76": {
|
|
789
789
|
start: {
|
|
790
|
-
line:
|
|
790
|
+
line: 223,
|
|
791
791
|
column: 17
|
|
792
792
|
},
|
|
793
793
|
end: {
|
|
794
|
-
line:
|
|
794
|
+
line: 223,
|
|
795
795
|
column: 87
|
|
796
796
|
}
|
|
797
797
|
},
|
|
798
798
|
"77": {
|
|
799
799
|
start: {
|
|
800
|
-
line:
|
|
800
|
+
line: 224,
|
|
801
801
|
column: 18
|
|
802
802
|
},
|
|
803
803
|
end: {
|
|
804
|
-
line:
|
|
804
|
+
line: 224,
|
|
805
805
|
column: 86
|
|
806
806
|
}
|
|
807
807
|
},
|
|
808
808
|
"78": {
|
|
809
809
|
start: {
|
|
810
|
-
line:
|
|
810
|
+
line: 226,
|
|
811
811
|
column: 22
|
|
812
812
|
},
|
|
813
813
|
end: {
|
|
814
|
-
line:
|
|
814
|
+
line: 226,
|
|
815
815
|
column: 29
|
|
816
816
|
}
|
|
817
817
|
},
|
|
818
818
|
"79": {
|
|
819
819
|
start: {
|
|
820
|
-
line:
|
|
820
|
+
line: 227,
|
|
821
821
|
column: 8
|
|
822
822
|
},
|
|
823
823
|
end: {
|
|
824
|
-
line:
|
|
824
|
+
line: 230,
|
|
825
825
|
column: 9
|
|
826
826
|
}
|
|
827
827
|
},
|
|
828
828
|
"80": {
|
|
829
829
|
start: {
|
|
830
|
-
line:
|
|
830
|
+
line: 227,
|
|
831
831
|
column: 21
|
|
832
832
|
},
|
|
833
833
|
end: {
|
|
834
|
-
line:
|
|
834
|
+
line: 227,
|
|
835
835
|
column: 22
|
|
836
836
|
}
|
|
837
837
|
},
|
|
838
838
|
"81": {
|
|
839
839
|
start: {
|
|
840
|
-
line:
|
|
840
|
+
line: 228,
|
|
841
841
|
column: 12
|
|
842
842
|
},
|
|
843
843
|
end: {
|
|
844
|
-
line:
|
|
844
|
+
line: 229,
|
|
845
845
|
column: 44
|
|
846
846
|
}
|
|
847
847
|
},
|
|
848
848
|
"82": {
|
|
849
849
|
start: {
|
|
850
|
-
line:
|
|
850
|
+
line: 229,
|
|
851
851
|
column: 16
|
|
852
852
|
},
|
|
853
853
|
end: {
|
|
854
|
-
line:
|
|
854
|
+
line: 229,
|
|
855
855
|
column: 44
|
|
856
856
|
}
|
|
857
857
|
},
|
|
858
858
|
"83": {
|
|
859
859
|
start: {
|
|
860
|
-
line:
|
|
860
|
+
line: 231,
|
|
861
861
|
column: 8
|
|
862
862
|
},
|
|
863
863
|
end: {
|
|
864
|
-
line:
|
|
864
|
+
line: 231,
|
|
865
865
|
column: 23
|
|
866
866
|
}
|
|
867
867
|
}
|
|
@@ -895,505 +895,505 @@ function cov_ogldeftyv() {
|
|
|
895
895
|
name: "(anonymous_1)",
|
|
896
896
|
decl: {
|
|
897
897
|
start: {
|
|
898
|
-
line:
|
|
898
|
+
line: 29,
|
|
899
899
|
column: 4
|
|
900
900
|
},
|
|
901
901
|
end: {
|
|
902
|
-
line:
|
|
902
|
+
line: 29,
|
|
903
903
|
column: 5
|
|
904
904
|
}
|
|
905
905
|
},
|
|
906
906
|
loc: {
|
|
907
907
|
start: {
|
|
908
|
-
line:
|
|
908
|
+
line: 29,
|
|
909
909
|
column: 25
|
|
910
910
|
},
|
|
911
911
|
end: {
|
|
912
|
-
line:
|
|
912
|
+
line: 54,
|
|
913
913
|
column: 5
|
|
914
914
|
}
|
|
915
915
|
},
|
|
916
|
-
line:
|
|
916
|
+
line: 29
|
|
917
917
|
},
|
|
918
918
|
"2": {
|
|
919
919
|
name: "(anonymous_2)",
|
|
920
920
|
decl: {
|
|
921
921
|
start: {
|
|
922
|
-
line:
|
|
922
|
+
line: 55,
|
|
923
923
|
column: 4
|
|
924
924
|
},
|
|
925
925
|
end: {
|
|
926
|
-
line:
|
|
926
|
+
line: 55,
|
|
927
927
|
column: 5
|
|
928
928
|
}
|
|
929
929
|
},
|
|
930
930
|
loc: {
|
|
931
931
|
start: {
|
|
932
|
-
line:
|
|
932
|
+
line: 55,
|
|
933
933
|
column: 33
|
|
934
934
|
},
|
|
935
935
|
end: {
|
|
936
|
-
line:
|
|
936
|
+
line: 74,
|
|
937
937
|
column: 5
|
|
938
938
|
}
|
|
939
939
|
},
|
|
940
|
-
line:
|
|
940
|
+
line: 55
|
|
941
941
|
},
|
|
942
942
|
"3": {
|
|
943
943
|
name: "(anonymous_3)",
|
|
944
944
|
decl: {
|
|
945
945
|
start: {
|
|
946
|
-
line:
|
|
946
|
+
line: 91,
|
|
947
947
|
column: 4
|
|
948
948
|
},
|
|
949
949
|
end: {
|
|
950
|
-
line:
|
|
950
|
+
line: 91,
|
|
951
951
|
column: 5
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
loc: {
|
|
955
955
|
start: {
|
|
956
|
-
line:
|
|
956
|
+
line: 91,
|
|
957
957
|
column: 27
|
|
958
958
|
},
|
|
959
959
|
end: {
|
|
960
|
-
line:
|
|
960
|
+
line: 93,
|
|
961
961
|
column: 5
|
|
962
962
|
}
|
|
963
963
|
},
|
|
964
|
-
line:
|
|
964
|
+
line: 91
|
|
965
965
|
},
|
|
966
966
|
"4": {
|
|
967
967
|
name: "(anonymous_4)",
|
|
968
968
|
decl: {
|
|
969
969
|
start: {
|
|
970
|
-
line:
|
|
970
|
+
line: 92,
|
|
971
971
|
column: 44
|
|
972
972
|
},
|
|
973
973
|
end: {
|
|
974
|
-
line:
|
|
974
|
+
line: 92,
|
|
975
975
|
column: 45
|
|
976
976
|
}
|
|
977
977
|
},
|
|
978
978
|
loc: {
|
|
979
979
|
start: {
|
|
980
|
-
line:
|
|
980
|
+
line: 92,
|
|
981
981
|
column: 61
|
|
982
982
|
},
|
|
983
983
|
end: {
|
|
984
|
-
line:
|
|
984
|
+
line: 92,
|
|
985
985
|
column: 89
|
|
986
986
|
}
|
|
987
987
|
},
|
|
988
|
-
line:
|
|
988
|
+
line: 92
|
|
989
989
|
},
|
|
990
990
|
"5": {
|
|
991
991
|
name: "(anonymous_5)",
|
|
992
992
|
decl: {
|
|
993
993
|
start: {
|
|
994
|
-
line:
|
|
994
|
+
line: 107,
|
|
995
995
|
column: 4
|
|
996
996
|
},
|
|
997
997
|
end: {
|
|
998
|
-
line:
|
|
998
|
+
line: 107,
|
|
999
999
|
column: 5
|
|
1000
1000
|
}
|
|
1001
1001
|
},
|
|
1002
1002
|
loc: {
|
|
1003
1003
|
start: {
|
|
1004
|
-
line:
|
|
1004
|
+
line: 107,
|
|
1005
1005
|
column: 37
|
|
1006
1006
|
},
|
|
1007
1007
|
end: {
|
|
1008
|
-
line:
|
|
1008
|
+
line: 116,
|
|
1009
1009
|
column: 5
|
|
1010
1010
|
}
|
|
1011
1011
|
},
|
|
1012
|
-
line:
|
|
1012
|
+
line: 107
|
|
1013
1013
|
},
|
|
1014
1014
|
"6": {
|
|
1015
1015
|
name: "(anonymous_6)",
|
|
1016
1016
|
decl: {
|
|
1017
1017
|
start: {
|
|
1018
|
-
line:
|
|
1018
|
+
line: 125,
|
|
1019
1019
|
column: 4
|
|
1020
1020
|
},
|
|
1021
1021
|
end: {
|
|
1022
|
-
line:
|
|
1022
|
+
line: 125,
|
|
1023
1023
|
column: 5
|
|
1024
1024
|
}
|
|
1025
1025
|
},
|
|
1026
1026
|
loc: {
|
|
1027
1027
|
start: {
|
|
1028
|
-
line:
|
|
1028
|
+
line: 125,
|
|
1029
1029
|
column: 61
|
|
1030
1030
|
},
|
|
1031
1031
|
end: {
|
|
1032
|
-
line:
|
|
1032
|
+
line: 136,
|
|
1033
1033
|
column: 5
|
|
1034
1034
|
}
|
|
1035
1035
|
},
|
|
1036
|
-
line:
|
|
1036
|
+
line: 125
|
|
1037
1037
|
},
|
|
1038
1038
|
"7": {
|
|
1039
1039
|
name: "(anonymous_7)",
|
|
1040
1040
|
decl: {
|
|
1041
1041
|
start: {
|
|
1042
|
-
line:
|
|
1042
|
+
line: 131,
|
|
1043
1043
|
column: 30
|
|
1044
1044
|
},
|
|
1045
1045
|
end: {
|
|
1046
|
-
line:
|
|
1046
|
+
line: 131,
|
|
1047
1047
|
column: 31
|
|
1048
1048
|
}
|
|
1049
1049
|
},
|
|
1050
1050
|
loc: {
|
|
1051
1051
|
start: {
|
|
1052
|
-
line:
|
|
1052
|
+
line: 131,
|
|
1053
1053
|
column: 42
|
|
1054
1054
|
},
|
|
1055
1055
|
end: {
|
|
1056
|
-
line:
|
|
1056
|
+
line: 133,
|
|
1057
1057
|
column: 13
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
1060
|
-
line:
|
|
1060
|
+
line: 131
|
|
1061
1061
|
},
|
|
1062
1062
|
"8": {
|
|
1063
1063
|
name: "(anonymous_8)",
|
|
1064
1064
|
decl: {
|
|
1065
1065
|
start: {
|
|
1066
|
-
line:
|
|
1066
|
+
line: 144,
|
|
1067
1067
|
column: 4
|
|
1068
1068
|
},
|
|
1069
1069
|
end: {
|
|
1070
|
-
line:
|
|
1070
|
+
line: 144,
|
|
1071
1071
|
column: 5
|
|
1072
1072
|
}
|
|
1073
1073
|
},
|
|
1074
1074
|
loc: {
|
|
1075
1075
|
start: {
|
|
1076
|
-
line:
|
|
1076
|
+
line: 144,
|
|
1077
1077
|
column: 46
|
|
1078
1078
|
},
|
|
1079
1079
|
end: {
|
|
1080
|
-
line:
|
|
1080
|
+
line: 157,
|
|
1081
1081
|
column: 5
|
|
1082
1082
|
}
|
|
1083
1083
|
},
|
|
1084
|
-
line:
|
|
1084
|
+
line: 144
|
|
1085
1085
|
},
|
|
1086
1086
|
"9": {
|
|
1087
1087
|
name: "(anonymous_9)",
|
|
1088
1088
|
decl: {
|
|
1089
1089
|
start: {
|
|
1090
|
-
line:
|
|
1090
|
+
line: 162,
|
|
1091
1091
|
column: 4
|
|
1092
1092
|
},
|
|
1093
1093
|
end: {
|
|
1094
|
-
line:
|
|
1094
|
+
line: 162,
|
|
1095
1095
|
column: 5
|
|
1096
1096
|
}
|
|
1097
1097
|
},
|
|
1098
1098
|
loc: {
|
|
1099
1099
|
start: {
|
|
1100
|
-
line:
|
|
1100
|
+
line: 162,
|
|
1101
1101
|
column: 30
|
|
1102
1102
|
},
|
|
1103
1103
|
end: {
|
|
1104
|
-
line:
|
|
1104
|
+
line: 164,
|
|
1105
1105
|
column: 5
|
|
1106
1106
|
}
|
|
1107
1107
|
},
|
|
1108
|
-
line:
|
|
1108
|
+
line: 162
|
|
1109
1109
|
},
|
|
1110
1110
|
"10": {
|
|
1111
1111
|
name: "(anonymous_10)",
|
|
1112
1112
|
decl: {
|
|
1113
1113
|
start: {
|
|
1114
|
-
line:
|
|
1114
|
+
line: 166,
|
|
1115
1115
|
column: 4
|
|
1116
1116
|
},
|
|
1117
1117
|
end: {
|
|
1118
|
-
line:
|
|
1118
|
+
line: 166,
|
|
1119
1119
|
column: 5
|
|
1120
1120
|
}
|
|
1121
1121
|
},
|
|
1122
1122
|
loc: {
|
|
1123
1123
|
start: {
|
|
1124
|
-
line:
|
|
1124
|
+
line: 166,
|
|
1125
1125
|
column: 22
|
|
1126
1126
|
},
|
|
1127
1127
|
end: {
|
|
1128
|
-
line:
|
|
1128
|
+
line: 168,
|
|
1129
1129
|
column: 5
|
|
1130
1130
|
}
|
|
1131
1131
|
},
|
|
1132
|
-
line:
|
|
1132
|
+
line: 166
|
|
1133
1133
|
},
|
|
1134
1134
|
"11": {
|
|
1135
1135
|
name: "(anonymous_11)",
|
|
1136
1136
|
decl: {
|
|
1137
1137
|
start: {
|
|
1138
|
-
line:
|
|
1138
|
+
line: 170,
|
|
1139
1139
|
column: 4
|
|
1140
1140
|
},
|
|
1141
1141
|
end: {
|
|
1142
|
-
line:
|
|
1142
|
+
line: 170,
|
|
1143
1143
|
column: 5
|
|
1144
1144
|
}
|
|
1145
1145
|
},
|
|
1146
1146
|
loc: {
|
|
1147
1147
|
start: {
|
|
1148
|
-
line:
|
|
1148
|
+
line: 170,
|
|
1149
1149
|
column: 35
|
|
1150
1150
|
},
|
|
1151
1151
|
end: {
|
|
1152
|
-
line:
|
|
1152
|
+
line: 172,
|
|
1153
1153
|
column: 5
|
|
1154
1154
|
}
|
|
1155
1155
|
},
|
|
1156
|
-
line:
|
|
1156
|
+
line: 170
|
|
1157
1157
|
},
|
|
1158
1158
|
"12": {
|
|
1159
1159
|
name: "(anonymous_12)",
|
|
1160
1160
|
decl: {
|
|
1161
1161
|
start: {
|
|
1162
|
-
line:
|
|
1162
|
+
line: 181,
|
|
1163
1163
|
column: 4
|
|
1164
1164
|
},
|
|
1165
1165
|
end: {
|
|
1166
|
-
line:
|
|
1166
|
+
line: 181,
|
|
1167
1167
|
column: 5
|
|
1168
1168
|
}
|
|
1169
1169
|
},
|
|
1170
1170
|
loc: {
|
|
1171
1171
|
start: {
|
|
1172
|
-
line:
|
|
1172
|
+
line: 181,
|
|
1173
1173
|
column: 34
|
|
1174
1174
|
},
|
|
1175
1175
|
end: {
|
|
1176
|
-
line:
|
|
1176
|
+
line: 213,
|
|
1177
1177
|
column: 5
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
|
-
line:
|
|
1180
|
+
line: 181
|
|
1181
1181
|
},
|
|
1182
1182
|
"13": {
|
|
1183
1183
|
name: "(anonymous_13)",
|
|
1184
1184
|
decl: {
|
|
1185
1185
|
start: {
|
|
1186
|
-
line:
|
|
1186
|
+
line: 185,
|
|
1187
1187
|
column: 43
|
|
1188
1188
|
},
|
|
1189
1189
|
end: {
|
|
1190
|
-
line:
|
|
1190
|
+
line: 185,
|
|
1191
1191
|
column: 44
|
|
1192
1192
|
}
|
|
1193
1193
|
},
|
|
1194
1194
|
loc: {
|
|
1195
1195
|
start: {
|
|
1196
|
-
line:
|
|
1196
|
+
line: 185,
|
|
1197
1197
|
column: 56
|
|
1198
1198
|
},
|
|
1199
1199
|
end: {
|
|
1200
|
-
line:
|
|
1200
|
+
line: 210,
|
|
1201
1201
|
column: 9
|
|
1202
1202
|
}
|
|
1203
1203
|
},
|
|
1204
|
-
line:
|
|
1204
|
+
line: 185
|
|
1205
1205
|
},
|
|
1206
1206
|
"14": {
|
|
1207
1207
|
name: "(anonymous_14)",
|
|
1208
1208
|
decl: {
|
|
1209
1209
|
start: {
|
|
1210
|
-
line:
|
|
1210
|
+
line: 187,
|
|
1211
1211
|
column: 46
|
|
1212
1212
|
},
|
|
1213
1213
|
end: {
|
|
1214
|
-
line:
|
|
1214
|
+
line: 187,
|
|
1215
1215
|
column: 47
|
|
1216
1216
|
}
|
|
1217
1217
|
},
|
|
1218
1218
|
loc: {
|
|
1219
1219
|
start: {
|
|
1220
|
-
line:
|
|
1220
|
+
line: 187,
|
|
1221
1221
|
column: 55
|
|
1222
1222
|
},
|
|
1223
1223
|
end: {
|
|
1224
|
-
line:
|
|
1224
|
+
line: 209,
|
|
1225
1225
|
column: 13
|
|
1226
1226
|
}
|
|
1227
1227
|
},
|
|
1228
|
-
line:
|
|
1228
|
+
line: 187
|
|
1229
1229
|
},
|
|
1230
1230
|
"15": {
|
|
1231
1231
|
name: "(anonymous_15)",
|
|
1232
1232
|
decl: {
|
|
1233
1233
|
start: {
|
|
1234
|
-
line:
|
|
1234
|
+
line: 195,
|
|
1235
1235
|
column: 57
|
|
1236
1236
|
},
|
|
1237
1237
|
end: {
|
|
1238
|
-
line:
|
|
1238
|
+
line: 195,
|
|
1239
1239
|
column: 58
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
1242
|
loc: {
|
|
1243
1243
|
start: {
|
|
1244
|
-
line:
|
|
1244
|
+
line: 195,
|
|
1245
1245
|
column: 73
|
|
1246
1246
|
},
|
|
1247
1247
|
end: {
|
|
1248
|
-
line:
|
|
1248
|
+
line: 195,
|
|
1249
1249
|
column: 90
|
|
1250
1250
|
}
|
|
1251
1251
|
},
|
|
1252
|
-
line:
|
|
1252
|
+
line: 195
|
|
1253
1253
|
},
|
|
1254
1254
|
"16": {
|
|
1255
1255
|
name: "(anonymous_16)",
|
|
1256
1256
|
decl: {
|
|
1257
1257
|
start: {
|
|
1258
|
-
line:
|
|
1258
|
+
line: 199,
|
|
1259
1259
|
column: 53
|
|
1260
1260
|
},
|
|
1261
1261
|
end: {
|
|
1262
|
-
line:
|
|
1262
|
+
line: 199,
|
|
1263
1263
|
column: 54
|
|
1264
1264
|
}
|
|
1265
1265
|
},
|
|
1266
1266
|
loc: {
|
|
1267
1267
|
start: {
|
|
1268
|
-
line:
|
|
1268
|
+
line: 199,
|
|
1269
1269
|
column: 69
|
|
1270
1270
|
},
|
|
1271
1271
|
end: {
|
|
1272
|
-
line:
|
|
1272
|
+
line: 199,
|
|
1273
1273
|
column: 100
|
|
1274
1274
|
}
|
|
1275
1275
|
},
|
|
1276
|
-
line:
|
|
1276
|
+
line: 199
|
|
1277
1277
|
},
|
|
1278
1278
|
"17": {
|
|
1279
1279
|
name: "(anonymous_17)",
|
|
1280
1280
|
decl: {
|
|
1281
1281
|
start: {
|
|
1282
|
-
line:
|
|
1282
|
+
line: 215,
|
|
1283
1283
|
column: 4
|
|
1284
1284
|
},
|
|
1285
1285
|
end: {
|
|
1286
|
-
line:
|
|
1286
|
+
line: 215,
|
|
1287
1287
|
column: 5
|
|
1288
1288
|
}
|
|
1289
1289
|
},
|
|
1290
1290
|
loc: {
|
|
1291
1291
|
start: {
|
|
1292
|
-
line:
|
|
1292
|
+
line: 215,
|
|
1293
1293
|
column: 30
|
|
1294
1294
|
},
|
|
1295
1295
|
end: {
|
|
1296
|
-
line:
|
|
1296
|
+
line: 217,
|
|
1297
1297
|
column: 5
|
|
1298
1298
|
}
|
|
1299
1299
|
},
|
|
1300
|
-
line:
|
|
1300
|
+
line: 215
|
|
1301
1301
|
},
|
|
1302
1302
|
"18": {
|
|
1303
1303
|
name: "(anonymous_18)",
|
|
1304
1304
|
decl: {
|
|
1305
1305
|
start: {
|
|
1306
|
-
line:
|
|
1306
|
+
line: 222,
|
|
1307
1307
|
column: 4
|
|
1308
1308
|
},
|
|
1309
1309
|
end: {
|
|
1310
|
-
line:
|
|
1310
|
+
line: 222,
|
|
1311
1311
|
column: 5
|
|
1312
1312
|
}
|
|
1313
1313
|
},
|
|
1314
1314
|
loc: {
|
|
1315
1315
|
start: {
|
|
1316
|
-
line:
|
|
1316
|
+
line: 222,
|
|
1317
1317
|
column: 14
|
|
1318
1318
|
},
|
|
1319
1319
|
end: {
|
|
1320
|
-
line:
|
|
1320
|
+
line: 222,
|
|
1321
1321
|
column: 85
|
|
1322
1322
|
}
|
|
1323
1323
|
},
|
|
1324
|
-
line:
|
|
1324
|
+
line: 222
|
|
1325
1325
|
},
|
|
1326
1326
|
"19": {
|
|
1327
1327
|
name: "(anonymous_19)",
|
|
1328
1328
|
decl: {
|
|
1329
1329
|
start: {
|
|
1330
|
-
line:
|
|
1330
|
+
line: 223,
|
|
1331
1331
|
column: 4
|
|
1332
1332
|
},
|
|
1333
1333
|
end: {
|
|
1334
|
-
line:
|
|
1334
|
+
line: 223,
|
|
1335
1335
|
column: 5
|
|
1336
1336
|
}
|
|
1337
1337
|
},
|
|
1338
1338
|
loc: {
|
|
1339
1339
|
start: {
|
|
1340
|
-
line:
|
|
1340
|
+
line: 223,
|
|
1341
1341
|
column: 15
|
|
1342
1342
|
},
|
|
1343
1343
|
end: {
|
|
1344
|
-
line:
|
|
1344
|
+
line: 223,
|
|
1345
1345
|
column: 89
|
|
1346
1346
|
}
|
|
1347
1347
|
},
|
|
1348
|
-
line:
|
|
1348
|
+
line: 223
|
|
1349
1349
|
},
|
|
1350
1350
|
"20": {
|
|
1351
1351
|
name: "(anonymous_20)",
|
|
1352
1352
|
decl: {
|
|
1353
1353
|
start: {
|
|
1354
|
-
line:
|
|
1354
|
+
line: 224,
|
|
1355
1355
|
column: 4
|
|
1356
1356
|
},
|
|
1357
1357
|
end: {
|
|
1358
|
-
line:
|
|
1358
|
+
line: 224,
|
|
1359
1359
|
column: 5
|
|
1360
1360
|
}
|
|
1361
1361
|
},
|
|
1362
1362
|
loc: {
|
|
1363
1363
|
start: {
|
|
1364
|
-
line:
|
|
1364
|
+
line: 224,
|
|
1365
1365
|
column: 16
|
|
1366
1366
|
},
|
|
1367
1367
|
end: {
|
|
1368
|
-
line:
|
|
1368
|
+
line: 224,
|
|
1369
1369
|
column: 88
|
|
1370
1370
|
}
|
|
1371
1371
|
},
|
|
1372
|
-
line:
|
|
1372
|
+
line: 224
|
|
1373
1373
|
},
|
|
1374
1374
|
"21": {
|
|
1375
1375
|
name: "(anonymous_21)",
|
|
1376
1376
|
decl: {
|
|
1377
1377
|
start: {
|
|
1378
|
-
line:
|
|
1378
|
+
line: 225,
|
|
1379
1379
|
column: 4
|
|
1380
1380
|
},
|
|
1381
1381
|
end: {
|
|
1382
|
-
line:
|
|
1382
|
+
line: 225,
|
|
1383
1383
|
column: 5
|
|
1384
1384
|
}
|
|
1385
1385
|
},
|
|
1386
1386
|
loc: {
|
|
1387
1387
|
start: {
|
|
1388
|
-
line:
|
|
1388
|
+
line: 225,
|
|
1389
1389
|
column: 27
|
|
1390
1390
|
},
|
|
1391
1391
|
end: {
|
|
1392
|
-
line:
|
|
1392
|
+
line: 232,
|
|
1393
1393
|
column: 5
|
|
1394
1394
|
}
|
|
1395
1395
|
},
|
|
1396
|
-
line:
|
|
1396
|
+
line: 225
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
1399
|
branchMap: {
|
|
@@ -1508,187 +1508,187 @@ function cov_ogldeftyv() {
|
|
|
1508
1508
|
"3": {
|
|
1509
1509
|
loc: {
|
|
1510
1510
|
start: {
|
|
1511
|
-
line:
|
|
1511
|
+
line: 32,
|
|
1512
1512
|
column: 22
|
|
1513
1513
|
},
|
|
1514
1514
|
end: {
|
|
1515
|
-
line:
|
|
1515
|
+
line: 32,
|
|
1516
1516
|
column: 75
|
|
1517
1517
|
}
|
|
1518
1518
|
},
|
|
1519
1519
|
type: "binary-expr",
|
|
1520
1520
|
locations: [{
|
|
1521
1521
|
start: {
|
|
1522
|
-
line:
|
|
1522
|
+
line: 32,
|
|
1523
1523
|
column: 22
|
|
1524
1524
|
},
|
|
1525
1525
|
end: {
|
|
1526
|
-
line:
|
|
1526
|
+
line: 32,
|
|
1527
1527
|
column: 42
|
|
1528
1528
|
}
|
|
1529
1529
|
}, {
|
|
1530
1530
|
start: {
|
|
1531
|
-
line:
|
|
1531
|
+
line: 32,
|
|
1532
1532
|
column: 46
|
|
1533
1533
|
},
|
|
1534
1534
|
end: {
|
|
1535
|
-
line:
|
|
1535
|
+
line: 32,
|
|
1536
1536
|
column: 75
|
|
1537
1537
|
}
|
|
1538
1538
|
}],
|
|
1539
|
-
line:
|
|
1539
|
+
line: 32
|
|
1540
1540
|
},
|
|
1541
1541
|
"4": {
|
|
1542
1542
|
loc: {
|
|
1543
1543
|
start: {
|
|
1544
|
-
line:
|
|
1544
|
+
line: 51,
|
|
1545
1545
|
column: 17
|
|
1546
1546
|
},
|
|
1547
1547
|
end: {
|
|
1548
|
-
line:
|
|
1548
|
+
line: 51,
|
|
1549
1549
|
column: 86
|
|
1550
1550
|
}
|
|
1551
1551
|
},
|
|
1552
1552
|
type: "binary-expr",
|
|
1553
1553
|
locations: [{
|
|
1554
1554
|
start: {
|
|
1555
|
-
line:
|
|
1555
|
+
line: 51,
|
|
1556
1556
|
column: 17
|
|
1557
1557
|
},
|
|
1558
1558
|
end: {
|
|
1559
|
-
line:
|
|
1559
|
+
line: 51,
|
|
1560
1560
|
column: 40
|
|
1561
1561
|
}
|
|
1562
1562
|
}, {
|
|
1563
1563
|
start: {
|
|
1564
|
-
line:
|
|
1564
|
+
line: 51,
|
|
1565
1565
|
column: 44
|
|
1566
1566
|
},
|
|
1567
1567
|
end: {
|
|
1568
|
-
line:
|
|
1568
|
+
line: 51,
|
|
1569
1569
|
column: 86
|
|
1570
1570
|
}
|
|
1571
1571
|
}],
|
|
1572
|
-
line:
|
|
1572
|
+
line: 51
|
|
1573
1573
|
},
|
|
1574
1574
|
"5": {
|
|
1575
1575
|
loc: {
|
|
1576
1576
|
start: {
|
|
1577
|
-
line:
|
|
1577
|
+
line: 52,
|
|
1578
1578
|
column: 17
|
|
1579
1579
|
},
|
|
1580
1580
|
end: {
|
|
1581
|
-
line:
|
|
1581
|
+
line: 52,
|
|
1582
1582
|
column: 73
|
|
1583
1583
|
}
|
|
1584
1584
|
},
|
|
1585
1585
|
type: "binary-expr",
|
|
1586
1586
|
locations: [{
|
|
1587
1587
|
start: {
|
|
1588
|
-
line:
|
|
1588
|
+
line: 52,
|
|
1589
1589
|
column: 17
|
|
1590
1590
|
},
|
|
1591
1591
|
end: {
|
|
1592
|
-
line:
|
|
1592
|
+
line: 52,
|
|
1593
1593
|
column: 39
|
|
1594
1594
|
}
|
|
1595
1595
|
}, {
|
|
1596
1596
|
start: {
|
|
1597
|
-
line:
|
|
1597
|
+
line: 52,
|
|
1598
1598
|
column: 43
|
|
1599
1599
|
},
|
|
1600
1600
|
end: {
|
|
1601
|
-
line:
|
|
1601
|
+
line: 52,
|
|
1602
1602
|
column: 73
|
|
1603
1603
|
}
|
|
1604
1604
|
}],
|
|
1605
|
-
line:
|
|
1605
|
+
line: 52
|
|
1606
1606
|
},
|
|
1607
1607
|
"6": {
|
|
1608
1608
|
loc: {
|
|
1609
1609
|
start: {
|
|
1610
|
-
line:
|
|
1610
|
+
line: 57,
|
|
1611
1611
|
column: 32
|
|
1612
1612
|
},
|
|
1613
1613
|
end: {
|
|
1614
|
-
line:
|
|
1614
|
+
line: 57,
|
|
1615
1615
|
column: 58
|
|
1616
1616
|
}
|
|
1617
1617
|
},
|
|
1618
1618
|
type: "binary-expr",
|
|
1619
1619
|
locations: [{
|
|
1620
1620
|
start: {
|
|
1621
|
-
line:
|
|
1621
|
+
line: 57,
|
|
1622
1622
|
column: 32
|
|
1623
1623
|
},
|
|
1624
1624
|
end: {
|
|
1625
|
-
line:
|
|
1625
|
+
line: 57,
|
|
1626
1626
|
column: 52
|
|
1627
1627
|
}
|
|
1628
1628
|
}, {
|
|
1629
1629
|
start: {
|
|
1630
|
-
line:
|
|
1630
|
+
line: 57,
|
|
1631
1631
|
column: 56
|
|
1632
1632
|
},
|
|
1633
1633
|
end: {
|
|
1634
|
-
line:
|
|
1634
|
+
line: 57,
|
|
1635
1635
|
column: 58
|
|
1636
1636
|
}
|
|
1637
1637
|
}],
|
|
1638
|
-
line:
|
|
1638
|
+
line: 57
|
|
1639
1639
|
},
|
|
1640
1640
|
"7": {
|
|
1641
1641
|
loc: {
|
|
1642
1642
|
start: {
|
|
1643
|
-
line:
|
|
1643
|
+
line: 59,
|
|
1644
1644
|
column: 33
|
|
1645
1645
|
},
|
|
1646
1646
|
end: {
|
|
1647
|
-
line:
|
|
1647
|
+
line: 59,
|
|
1648
1648
|
column: 77
|
|
1649
1649
|
}
|
|
1650
1650
|
},
|
|
1651
1651
|
type: "binary-expr",
|
|
1652
1652
|
locations: [{
|
|
1653
1653
|
start: {
|
|
1654
|
-
line:
|
|
1654
|
+
line: 59,
|
|
1655
1655
|
column: 33
|
|
1656
1656
|
},
|
|
1657
1657
|
end: {
|
|
1658
|
-
line:
|
|
1658
|
+
line: 59,
|
|
1659
1659
|
column: 60
|
|
1660
1660
|
}
|
|
1661
1661
|
}, {
|
|
1662
1662
|
start: {
|
|
1663
|
-
line:
|
|
1663
|
+
line: 59,
|
|
1664
1664
|
column: 64
|
|
1665
1665
|
},
|
|
1666
1666
|
end: {
|
|
1667
|
-
line:
|
|
1667
|
+
line: 59,
|
|
1668
1668
|
column: 77
|
|
1669
1669
|
}
|
|
1670
1670
|
}],
|
|
1671
|
-
line:
|
|
1671
|
+
line: 59
|
|
1672
1672
|
},
|
|
1673
1673
|
"8": {
|
|
1674
1674
|
loc: {
|
|
1675
1675
|
start: {
|
|
1676
|
-
line:
|
|
1676
|
+
line: 60,
|
|
1677
1677
|
column: 8
|
|
1678
1678
|
},
|
|
1679
1679
|
end: {
|
|
1680
|
-
line:
|
|
1680
|
+
line: 61,
|
|
1681
1681
|
column: 53
|
|
1682
1682
|
}
|
|
1683
1683
|
},
|
|
1684
1684
|
type: "if",
|
|
1685
1685
|
locations: [{
|
|
1686
1686
|
start: {
|
|
1687
|
-
line:
|
|
1687
|
+
line: 60,
|
|
1688
1688
|
column: 8
|
|
1689
1689
|
},
|
|
1690
1690
|
end: {
|
|
1691
|
-
line:
|
|
1691
|
+
line: 61,
|
|
1692
1692
|
column: 53
|
|
1693
1693
|
}
|
|
1694
1694
|
}, {
|
|
@@ -1701,27 +1701,27 @@ function cov_ogldeftyv() {
|
|
|
1701
1701
|
column: undefined
|
|
1702
1702
|
}
|
|
1703
1703
|
}],
|
|
1704
|
-
line:
|
|
1704
|
+
line: 60
|
|
1705
1705
|
},
|
|
1706
1706
|
"9": {
|
|
1707
1707
|
loc: {
|
|
1708
1708
|
start: {
|
|
1709
|
-
line:
|
|
1709
|
+
line: 68,
|
|
1710
1710
|
column: 8
|
|
1711
1711
|
},
|
|
1712
1712
|
end: {
|
|
1713
|
-
line:
|
|
1713
|
+
line: 69,
|
|
1714
1714
|
column: 37
|
|
1715
1715
|
}
|
|
1716
1716
|
},
|
|
1717
1717
|
type: "if",
|
|
1718
1718
|
locations: [{
|
|
1719
1719
|
start: {
|
|
1720
|
-
line:
|
|
1720
|
+
line: 68,
|
|
1721
1721
|
column: 8
|
|
1722
1722
|
},
|
|
1723
1723
|
end: {
|
|
1724
|
-
line:
|
|
1724
|
+
line: 69,
|
|
1725
1725
|
column: 37
|
|
1726
1726
|
}
|
|
1727
1727
|
}, {
|
|
@@ -1734,27 +1734,27 @@ function cov_ogldeftyv() {
|
|
|
1734
1734
|
column: undefined
|
|
1735
1735
|
}
|
|
1736
1736
|
}],
|
|
1737
|
-
line:
|
|
1737
|
+
line: 68
|
|
1738
1738
|
},
|
|
1739
1739
|
"10": {
|
|
1740
1740
|
loc: {
|
|
1741
1741
|
start: {
|
|
1742
|
-
line:
|
|
1742
|
+
line: 108,
|
|
1743
1743
|
column: 8
|
|
1744
1744
|
},
|
|
1745
1745
|
end: {
|
|
1746
|
-
line:
|
|
1746
|
+
line: 110,
|
|
1747
1747
|
column: 9
|
|
1748
1748
|
}
|
|
1749
1749
|
},
|
|
1750
1750
|
type: "if",
|
|
1751
1751
|
locations: [{
|
|
1752
1752
|
start: {
|
|
1753
|
-
line:
|
|
1753
|
+
line: 108,
|
|
1754
1754
|
column: 8
|
|
1755
1755
|
},
|
|
1756
1756
|
end: {
|
|
1757
|
-
line:
|
|
1757
|
+
line: 110,
|
|
1758
1758
|
column: 9
|
|
1759
1759
|
}
|
|
1760
1760
|
}, {
|
|
@@ -1767,60 +1767,60 @@ function cov_ogldeftyv() {
|
|
|
1767
1767
|
column: undefined
|
|
1768
1768
|
}
|
|
1769
1769
|
}],
|
|
1770
|
-
line:
|
|
1770
|
+
line: 108
|
|
1771
1771
|
},
|
|
1772
1772
|
"11": {
|
|
1773
1773
|
loc: {
|
|
1774
1774
|
start: {
|
|
1775
|
-
line:
|
|
1775
|
+
line: 108,
|
|
1776
1776
|
column: 12
|
|
1777
1777
|
},
|
|
1778
1778
|
end: {
|
|
1779
|
-
line:
|
|
1779
|
+
line: 108,
|
|
1780
1780
|
column: 60
|
|
1781
1781
|
}
|
|
1782
1782
|
},
|
|
1783
1783
|
type: "binary-expr",
|
|
1784
1784
|
locations: [{
|
|
1785
1785
|
start: {
|
|
1786
|
-
line:
|
|
1786
|
+
line: 108,
|
|
1787
1787
|
column: 12
|
|
1788
1788
|
},
|
|
1789
1789
|
end: {
|
|
1790
|
-
line:
|
|
1790
|
+
line: 108,
|
|
1791
1791
|
column: 34
|
|
1792
1792
|
}
|
|
1793
1793
|
}, {
|
|
1794
1794
|
start: {
|
|
1795
|
-
line:
|
|
1795
|
+
line: 108,
|
|
1796
1796
|
column: 38
|
|
1797
1797
|
},
|
|
1798
1798
|
end: {
|
|
1799
|
-
line:
|
|
1799
|
+
line: 108,
|
|
1800
1800
|
column: 60
|
|
1801
1801
|
}
|
|
1802
1802
|
}],
|
|
1803
|
-
line:
|
|
1803
|
+
line: 108
|
|
1804
1804
|
},
|
|
1805
1805
|
"12": {
|
|
1806
1806
|
loc: {
|
|
1807
1807
|
start: {
|
|
1808
|
-
line:
|
|
1808
|
+
line: 112,
|
|
1809
1809
|
column: 8
|
|
1810
1810
|
},
|
|
1811
1811
|
end: {
|
|
1812
|
-
line:
|
|
1812
|
+
line: 114,
|
|
1813
1813
|
column: 9
|
|
1814
1814
|
}
|
|
1815
1815
|
},
|
|
1816
1816
|
type: "if",
|
|
1817
1817
|
locations: [{
|
|
1818
1818
|
start: {
|
|
1819
|
-
line:
|
|
1819
|
+
line: 112,
|
|
1820
1820
|
column: 8
|
|
1821
1821
|
},
|
|
1822
1822
|
end: {
|
|
1823
|
-
line:
|
|
1823
|
+
line: 114,
|
|
1824
1824
|
column: 9
|
|
1825
1825
|
}
|
|
1826
1826
|
}, {
|
|
@@ -1833,60 +1833,60 @@ function cov_ogldeftyv() {
|
|
|
1833
1833
|
column: undefined
|
|
1834
1834
|
}
|
|
1835
1835
|
}],
|
|
1836
|
-
line:
|
|
1836
|
+
line: 112
|
|
1837
1837
|
},
|
|
1838
1838
|
"13": {
|
|
1839
1839
|
loc: {
|
|
1840
1840
|
start: {
|
|
1841
|
-
line:
|
|
1841
|
+
line: 127,
|
|
1842
1842
|
column: 8
|
|
1843
1843
|
},
|
|
1844
1844
|
end: {
|
|
1845
|
-
line:
|
|
1845
|
+
line: 134,
|
|
1846
1846
|
column: 9
|
|
1847
1847
|
}
|
|
1848
1848
|
},
|
|
1849
1849
|
type: "if",
|
|
1850
1850
|
locations: [{
|
|
1851
1851
|
start: {
|
|
1852
|
-
line:
|
|
1852
|
+
line: 127,
|
|
1853
1853
|
column: 8
|
|
1854
1854
|
},
|
|
1855
1855
|
end: {
|
|
1856
|
-
line:
|
|
1856
|
+
line: 134,
|
|
1857
1857
|
column: 9
|
|
1858
1858
|
}
|
|
1859
1859
|
}, {
|
|
1860
1860
|
start: {
|
|
1861
|
-
line:
|
|
1861
|
+
line: 130,
|
|
1862
1862
|
column: 13
|
|
1863
1863
|
},
|
|
1864
1864
|
end: {
|
|
1865
|
-
line:
|
|
1865
|
+
line: 134,
|
|
1866
1866
|
column: 9
|
|
1867
1867
|
}
|
|
1868
1868
|
}],
|
|
1869
|
-
line:
|
|
1869
|
+
line: 127
|
|
1870
1870
|
},
|
|
1871
1871
|
"14": {
|
|
1872
1872
|
loc: {
|
|
1873
1873
|
start: {
|
|
1874
|
-
line:
|
|
1874
|
+
line: 145,
|
|
1875
1875
|
column: 8
|
|
1876
1876
|
},
|
|
1877
1877
|
end: {
|
|
1878
|
-
line:
|
|
1878
|
+
line: 147,
|
|
1879
1879
|
column: 9
|
|
1880
1880
|
}
|
|
1881
1881
|
},
|
|
1882
1882
|
type: "if",
|
|
1883
1883
|
locations: [{
|
|
1884
1884
|
start: {
|
|
1885
|
-
line:
|
|
1885
|
+
line: 145,
|
|
1886
1886
|
column: 8
|
|
1887
1887
|
},
|
|
1888
1888
|
end: {
|
|
1889
|
-
line:
|
|
1889
|
+
line: 147,
|
|
1890
1890
|
column: 9
|
|
1891
1891
|
}
|
|
1892
1892
|
}, {
|
|
@@ -1899,60 +1899,60 @@ function cov_ogldeftyv() {
|
|
|
1899
1899
|
column: undefined
|
|
1900
1900
|
}
|
|
1901
1901
|
}],
|
|
1902
|
-
line:
|
|
1902
|
+
line: 145
|
|
1903
1903
|
},
|
|
1904
1904
|
"15": {
|
|
1905
1905
|
loc: {
|
|
1906
1906
|
start: {
|
|
1907
|
-
line:
|
|
1907
|
+
line: 145,
|
|
1908
1908
|
column: 12
|
|
1909
1909
|
},
|
|
1910
1910
|
end: {
|
|
1911
|
-
line:
|
|
1911
|
+
line: 145,
|
|
1912
1912
|
column: 60
|
|
1913
1913
|
}
|
|
1914
1914
|
},
|
|
1915
1915
|
type: "binary-expr",
|
|
1916
1916
|
locations: [{
|
|
1917
1917
|
start: {
|
|
1918
|
-
line:
|
|
1918
|
+
line: 145,
|
|
1919
1919
|
column: 12
|
|
1920
1920
|
},
|
|
1921
1921
|
end: {
|
|
1922
|
-
line:
|
|
1922
|
+
line: 145,
|
|
1923
1923
|
column: 34
|
|
1924
1924
|
}
|
|
1925
1925
|
}, {
|
|
1926
1926
|
start: {
|
|
1927
|
-
line:
|
|
1927
|
+
line: 145,
|
|
1928
1928
|
column: 38
|
|
1929
1929
|
},
|
|
1930
1930
|
end: {
|
|
1931
|
-
line:
|
|
1931
|
+
line: 145,
|
|
1932
1932
|
column: 60
|
|
1933
1933
|
}
|
|
1934
1934
|
}],
|
|
1935
|
-
line:
|
|
1935
|
+
line: 145
|
|
1936
1936
|
},
|
|
1937
1937
|
"16": {
|
|
1938
1938
|
loc: {
|
|
1939
1939
|
start: {
|
|
1940
|
-
line:
|
|
1940
|
+
line: 154,
|
|
1941
1941
|
column: 8
|
|
1942
1942
|
},
|
|
1943
1943
|
end: {
|
|
1944
|
-
line:
|
|
1944
|
+
line: 155,
|
|
1945
1945
|
column: 60
|
|
1946
1946
|
}
|
|
1947
1947
|
},
|
|
1948
1948
|
type: "if",
|
|
1949
1949
|
locations: [{
|
|
1950
1950
|
start: {
|
|
1951
|
-
line:
|
|
1951
|
+
line: 154,
|
|
1952
1952
|
column: 8
|
|
1953
1953
|
},
|
|
1954
1954
|
end: {
|
|
1955
|
-
line:
|
|
1955
|
+
line: 155,
|
|
1956
1956
|
column: 60
|
|
1957
1957
|
}
|
|
1958
1958
|
}, {
|
|
@@ -1965,27 +1965,27 @@ function cov_ogldeftyv() {
|
|
|
1965
1965
|
column: undefined
|
|
1966
1966
|
}
|
|
1967
1967
|
}],
|
|
1968
|
-
line:
|
|
1968
|
+
line: 154
|
|
1969
1969
|
},
|
|
1970
1970
|
"17": {
|
|
1971
1971
|
loc: {
|
|
1972
1972
|
start: {
|
|
1973
|
-
line:
|
|
1973
|
+
line: 183,
|
|
1974
1974
|
column: 8
|
|
1975
1975
|
},
|
|
1976
1976
|
end: {
|
|
1977
|
-
line:
|
|
1977
|
+
line: 184,
|
|
1978
1978
|
column: 28
|
|
1979
1979
|
}
|
|
1980
1980
|
},
|
|
1981
1981
|
type: "if",
|
|
1982
1982
|
locations: [{
|
|
1983
1983
|
start: {
|
|
1984
|
-
line:
|
|
1984
|
+
line: 183,
|
|
1985
1985
|
column: 8
|
|
1986
1986
|
},
|
|
1987
1987
|
end: {
|
|
1988
|
-
line:
|
|
1988
|
+
line: 184,
|
|
1989
1989
|
column: 28
|
|
1990
1990
|
}
|
|
1991
1991
|
}, {
|
|
@@ -1998,27 +1998,27 @@ function cov_ogldeftyv() {
|
|
|
1998
1998
|
column: undefined
|
|
1999
1999
|
}
|
|
2000
2000
|
}],
|
|
2001
|
-
line:
|
|
2001
|
+
line: 183
|
|
2002
2002
|
},
|
|
2003
2003
|
"18": {
|
|
2004
2004
|
loc: {
|
|
2005
2005
|
start: {
|
|
2006
|
-
line:
|
|
2006
|
+
line: 188,
|
|
2007
2007
|
column: 16
|
|
2008
2008
|
},
|
|
2009
2009
|
end: {
|
|
2010
|
-
line:
|
|
2010
|
+
line: 189,
|
|
2011
2011
|
column: 37
|
|
2012
2012
|
}
|
|
2013
2013
|
},
|
|
2014
2014
|
type: "if",
|
|
2015
2015
|
locations: [{
|
|
2016
2016
|
start: {
|
|
2017
|
-
line:
|
|
2017
|
+
line: 188,
|
|
2018
2018
|
column: 16
|
|
2019
2019
|
},
|
|
2020
2020
|
end: {
|
|
2021
|
-
line:
|
|
2021
|
+
line: 189,
|
|
2022
2022
|
column: 37
|
|
2023
2023
|
}
|
|
2024
2024
|
}, {
|
|
@@ -2031,27 +2031,27 @@ function cov_ogldeftyv() {
|
|
|
2031
2031
|
column: undefined
|
|
2032
2032
|
}
|
|
2033
2033
|
}],
|
|
2034
|
-
line:
|
|
2034
|
+
line: 188
|
|
2035
2035
|
},
|
|
2036
2036
|
"19": {
|
|
2037
2037
|
loc: {
|
|
2038
2038
|
start: {
|
|
2039
|
-
line:
|
|
2039
|
+
line: 198,
|
|
2040
2040
|
column: 24
|
|
2041
2041
|
},
|
|
2042
2042
|
end: {
|
|
2043
|
-
line:
|
|
2043
|
+
line: 199,
|
|
2044
2044
|
column: 102
|
|
2045
2045
|
}
|
|
2046
2046
|
},
|
|
2047
2047
|
type: "if",
|
|
2048
2048
|
locations: [{
|
|
2049
2049
|
start: {
|
|
2050
|
-
line:
|
|
2050
|
+
line: 198,
|
|
2051
2051
|
column: 24
|
|
2052
2052
|
},
|
|
2053
2053
|
end: {
|
|
2054
|
-
line:
|
|
2054
|
+
line: 199,
|
|
2055
2055
|
column: 102
|
|
2056
2056
|
}
|
|
2057
2057
|
}, {
|
|
@@ -2064,27 +2064,27 @@ function cov_ogldeftyv() {
|
|
|
2064
2064
|
column: undefined
|
|
2065
2065
|
}
|
|
2066
2066
|
}],
|
|
2067
|
-
line:
|
|
2067
|
+
line: 198
|
|
2068
2068
|
},
|
|
2069
2069
|
"20": {
|
|
2070
2070
|
loc: {
|
|
2071
2071
|
start: {
|
|
2072
|
-
line:
|
|
2072
|
+
line: 206,
|
|
2073
2073
|
column: 16
|
|
2074
2074
|
},
|
|
2075
2075
|
end: {
|
|
2076
|
-
line:
|
|
2076
|
+
line: 207,
|
|
2077
2077
|
column: 113
|
|
2078
2078
|
}
|
|
2079
2079
|
},
|
|
2080
2080
|
type: "if",
|
|
2081
2081
|
locations: [{
|
|
2082
2082
|
start: {
|
|
2083
|
-
line:
|
|
2083
|
+
line: 206,
|
|
2084
2084
|
column: 16
|
|
2085
2085
|
},
|
|
2086
2086
|
end: {
|
|
2087
|
-
line:
|
|
2087
|
+
line: 207,
|
|
2088
2088
|
column: 113
|
|
2089
2089
|
}
|
|
2090
2090
|
}, {
|
|
@@ -2097,27 +2097,27 @@ function cov_ogldeftyv() {
|
|
|
2097
2097
|
column: undefined
|
|
2098
2098
|
}
|
|
2099
2099
|
}],
|
|
2100
|
-
line:
|
|
2100
|
+
line: 206
|
|
2101
2101
|
},
|
|
2102
2102
|
"21": {
|
|
2103
2103
|
loc: {
|
|
2104
2104
|
start: {
|
|
2105
|
-
line:
|
|
2105
|
+
line: 228,
|
|
2106
2106
|
column: 12
|
|
2107
2107
|
},
|
|
2108
2108
|
end: {
|
|
2109
|
-
line:
|
|
2109
|
+
line: 229,
|
|
2110
2110
|
column: 44
|
|
2111
2111
|
}
|
|
2112
2112
|
},
|
|
2113
2113
|
type: "if",
|
|
2114
2114
|
locations: [{
|
|
2115
2115
|
start: {
|
|
2116
|
-
line:
|
|
2116
|
+
line: 228,
|
|
2117
2117
|
column: 12
|
|
2118
2118
|
},
|
|
2119
2119
|
end: {
|
|
2120
|
-
line:
|
|
2120
|
+
line: 229,
|
|
2121
2121
|
column: 44
|
|
2122
2122
|
}
|
|
2123
2123
|
}, {
|
|
@@ -2130,7 +2130,7 @@ function cov_ogldeftyv() {
|
|
|
2130
2130
|
column: undefined
|
|
2131
2131
|
}
|
|
2132
2132
|
}],
|
|
2133
|
-
line:
|
|
2133
|
+
line: 228
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
2136
2136
|
s: {
|
|
@@ -2272,11 +2272,11 @@ function cov_ogldeftyv() {
|
|
|
2272
2272
|
file: "ITwinLocalization.js",
|
|
2273
2273
|
sources: ["C:\\agent\\_work\\1\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
2274
2274
|
names: [],
|
|
2275
|
-
mappings: ";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;AAEH,sDAA2E;AAC3E,wGAAmG;AACnG,gFAA+D;AAC/D,sDAA6C;AAG7C,MAAM,mBAAmB,GAAW,CAAC,CAAC,CAAC,8GAA8G;AAcrJ;;;GAGG;AACH,MAAa,iBAAiB;
|
|
2275
|
+
mappings: "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",
|
|
2276
2276
|
sourcesContent: ["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Localization\n */\n\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport type { Localization } from \"@itwin/core-common\";\n\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\n\n/** Options for ITwinLocalization\n * @public\n */\nexport interface LocalizationOptions {\n urlTemplate?: string;\n backendPlugin?: Module;\n detectorPlugin?: Module;\n initOptions?: InitOptions;\n backendHttpOptions?: BackendOptions;\n detectorOptions?: DetectorOptions;\n}\n\n/** Supplies localizations for iTwin.js\n * @note this class uses the [i18next](https://www.i18next.com/) package.\n * @public\n */\nexport class ITwinLocalization implements Localization {\n public i18next: i18n;\n private readonly _initOptions: InitOptions;\n private readonly _backendOptions: BackendOptions;\n private readonly _detectionOptions: DetectorOptions;\n private readonly _namespaces = new Map<string, Promise<void>>();\n\n public constructor(options?: LocalizationOptions) {\n this.i18next = i18next.createInstance();\n\n this._backendOptions = {\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\n crossDomain: true,\n ...options?.backendHttpOptions,\n };\n\n this._detectionOptions = {\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\n lookupQuerystring: \"lng\",\n caches: [],\n ...options?.detectorOptions,\n };\n\n this._initOptions = {\n interpolation: { escapeValue: true },\n fallbackLng: \"en\",\n maxRetries: DEFAULT_MAX_RETRIES,\n backend: this._backendOptions,\n detection: this._detectionOptions,\n ...options?.initOptions,\n };\n\n this.i18next\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\n .use(options?.backendPlugin ?? Backend)\n .use(TranslationLogger);\n }\n\n public async initialize(namespaces: string[]): Promise<void> {\n\n // Also consider namespaces passed into constructor\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\n\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\n if (defaultNamespace)\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\n\n const initOptions: InitOptions = {\n ...this._initOptions,\n defaultNS: defaultNamespace,\n ns: [...combinedNamespaces],\n };\n\n // if in a development environment, set debugging\n if (process.env.NODE_ENV === \"development\")\n initOptions.debug = true;\n\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\n\n for (const ns of namespaces)\n this._namespaces.set(ns, initPromise);\n\n return initPromise;\n }\n\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\n * For example:\n * ``` ts\n * \"MyKeys\": {\n * \"Key1\": \"First value\",\n * \"Key2\": \"Second value\"\n * }\n * ```\n *\n * ``` ts\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\n * ```\n * @param line The input line, potentially containing %{keys}.\n * @returns The line with all %{keys} translated\n * @public\n */\n public getLocalizedKeys(line: string): string {\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\n }\n\n /** Return the translated value of a key.\n * @param key - the key that matches a property in the JSON localization file.\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\n * followed by a colon, followed by the property in the JSON file.\n * For example:\n * ``` ts\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\n * ```\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @public\n */\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n const value = this.i18next.t(key, options);\n\n if (typeof value !== \"string\") {\n throw new Error(\"Translation key(s) string not found\");\n }\n\n return value;\n }\n\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\n let fullKey: string | string[] = \"\";\n\n if (typeof key === \"string\") {\n fullKey = `${namespace}:${key}`;\n } else {\n fullKey = key.map((subKey: string) => {\n return `${namespace}:${subKey}`;\n });\n }\n\n return this.getLocalizedString(fullKey, options);\n }\n\n /** Gets the English translation.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n options = {\n ...options,\n ns: namespace, // ensure namespace argument is used\n };\n\n const en = this.i18next.getFixedT(\"en\", namespace);\n const str = en(key, options);\n if (typeof str !== \"string\")\n throw new Error(\"Translation key(s) not found\");\n\n return str;\n }\n\n /** Get the promise for an already registered Namespace.\n * @param name - the name of the namespace\n * @public\n */\n public getNamespacePromise(name: string): Promise<void> | undefined {\n return this._namespaces.get(name);\n }\n\n /** @internal */\n public getLanguageList(): readonly string[] {\n return this.i18next.languages;\n }\n\n /** override the language detected in the browser */\n public async changeLanguage(language: string) {\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\n }\n\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\n * @public\n */\n public async registerNamespace(name: string): Promise<void> {\n const existing = this._namespaces.get(name);\n if (existing !== undefined)\n return existing;\n\n const theReadPromise = new Promise<void>((resolve) => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.i18next.loadNamespaces(name, (err) => {\n if (!err)\n return resolve();\n\n // Here we got a non-null err object.\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\n\n try {\n for (const thisError of err) {\n if (typeof thisError === \"string\")\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\n }\n } catch {\n locales = [];\n }\n // if we removed every locale from the array, it wasn't loaded.\n if (locales.length === 0)\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\n\n resolve();\n });\n });\n this._namespaces.set(name, theReadPromise);\n return theReadPromise;\n }\n\n /** @internal */\n public unregisterNamespace(name: string): void {\n this._namespaces.delete(name);\n }\n}\n\nclass TranslationLogger {\n public static readonly type = \"logger\";\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\n private createLogMessage(args: string[]) {\n let message = args[0];\n for (let i = 1; i < args.length; ++i) {\n if (typeof args[i] === \"string\")\n message += `\\n ${args[i]}`;\n }\n return message;\n }\n}\n"]
|
|
2277
2277
|
},
|
|
2278
2278
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
2279
|
-
hash: "
|
|
2279
|
+
hash: "a382596dbfbc886d31159a6dca6879dc56dcf2cf"
|
|
2280
2280
|
};
|
|
2281
2281
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
2282
2282
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -2315,10 +2315,13 @@ const DEFAULT_MAX_RETRIES = (cov_ogldeftyv().s[8]++, 1); // a low number prevent
|
|
|
2315
2315
|
* @public
|
|
2316
2316
|
*/
|
|
2317
2317
|
class ITwinLocalization {
|
|
2318
|
+
i18next;
|
|
2319
|
+
_initOptions;
|
|
2320
|
+
_backendOptions;
|
|
2321
|
+
_detectionOptions;
|
|
2322
|
+
_namespaces = (cov_ogldeftyv().s[9]++, new Map());
|
|
2318
2323
|
constructor(options) {
|
|
2319
2324
|
cov_ogldeftyv().f[1]++;
|
|
2320
|
-
cov_ogldeftyv().s[9]++;
|
|
2321
|
-
this._namespaces = new Map();
|
|
2322
2325
|
cov_ogldeftyv().s[10]++;
|
|
2323
2326
|
this.i18next = i18next_1.default.createInstance();
|
|
2324
2327
|
cov_ogldeftyv().s[11]++;
|
|
@@ -2617,10 +2620,7 @@ class ITwinLocalization {
|
|
|
2617
2620
|
cov_ogldeftyv().s[73]++;
|
|
2618
2621
|
exports.ITwinLocalization = ITwinLocalization;
|
|
2619
2622
|
class TranslationLogger {
|
|
2620
|
-
static
|
|
2621
|
-
cov_ogldeftyv().s[74]++;
|
|
2622
|
-
this.type = "logger";
|
|
2623
|
-
}
|
|
2623
|
+
static type = (cov_ogldeftyv().s[74]++, "logger");
|
|
2624
2624
|
log(args) {
|
|
2625
2625
|
cov_ogldeftyv().f[18]++;
|
|
2626
2626
|
cov_ogldeftyv().s[75]++;
|
|
@@ -18171,10 +18171,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18171
18171
|
* @public
|
|
18172
18172
|
*/
|
|
18173
18173
|
class BeEvent {
|
|
18174
|
-
|
|
18175
|
-
|
|
18176
|
-
this._insideRaiseEvent = false;
|
|
18177
|
-
}
|
|
18174
|
+
_listeners = [];
|
|
18175
|
+
_insideRaiseEvent = false;
|
|
18178
18176
|
/** The number of listeners currently subscribed to the event. */
|
|
18179
18177
|
get numberOfListeners() { return this._listeners.length; }
|
|
18180
18178
|
/**
|
|
@@ -18283,9 +18281,7 @@ class BeUiEvent extends BeEvent {
|
|
|
18283
18281
|
* @public
|
|
18284
18282
|
*/
|
|
18285
18283
|
class BeEventList {
|
|
18286
|
-
|
|
18287
|
-
this._events = {};
|
|
18288
|
-
}
|
|
18284
|
+
_events = {};
|
|
18289
18285
|
/**
|
|
18290
18286
|
* Gets the event associated with the specified name, creating the event if it does not already exist.
|
|
18291
18287
|
* @param name The name of the event.
|
|
@@ -18831,6 +18827,8 @@ function isObject(obj) {
|
|
|
18831
18827
|
* @public
|
|
18832
18828
|
*/
|
|
18833
18829
|
class BentleyError extends Error {
|
|
18830
|
+
errorNumber;
|
|
18831
|
+
_metaData;
|
|
18834
18832
|
/**
|
|
18835
18833
|
* @param errorNumber The a number that identifies of the problem.
|
|
18836
18834
|
* @param message message that describes the problem (should not be localized).
|
|
@@ -19258,6 +19256,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19258
19256
|
* @public
|
|
19259
19257
|
*/
|
|
19260
19258
|
class ByteStream {
|
|
19259
|
+
_view;
|
|
19260
|
+
_byteOffset;
|
|
19261
|
+
_curPos = 0;
|
|
19261
19262
|
/** Construct a new ByteStream with the read position set to the beginning.
|
|
19262
19263
|
* @param buffer The underlying buffer from which data is to be extracted.
|
|
19263
19264
|
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
@@ -19272,7 +19273,6 @@ class ByteStream {
|
|
|
19272
19273
|
* For both of the above reasons, this constructor is private, and [[fromUint8Array]] or [[fromArrayBuffer]] should be used to create a ByteStream.
|
|
19273
19274
|
*/
|
|
19274
19275
|
constructor(buffer, subView) {
|
|
19275
|
-
this._curPos = 0;
|
|
19276
19276
|
if (undefined !== subView) {
|
|
19277
19277
|
this._view = new DataView(buffer, subView.byteOffset, subView.byteLength);
|
|
19278
19278
|
this._byteOffset = subView.byteOffset;
|
|
@@ -19650,7 +19650,9 @@ var CompressedId64Set;
|
|
|
19650
19650
|
CompressedId64Set.compressIds = compressIds;
|
|
19651
19651
|
/** This exists strictly for the purposes of compressed sets of 64-bit Ids, to avoid the overhead of BigInt for handling 64-bit integers. */
|
|
19652
19652
|
class Uint64 {
|
|
19653
|
-
|
|
19653
|
+
lower;
|
|
19654
|
+
upper;
|
|
19655
|
+
static _base = 0x100000000;
|
|
19654
19656
|
static assertUint32(num) {
|
|
19655
19657
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num >= 0);
|
|
19656
19658
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num < Uint64._base);
|
|
@@ -19855,10 +19857,11 @@ class OrderedId64Array extends _SortedArray__WEBPACK_IMPORTED_MODULE_3__.SortedA
|
|
|
19855
19857
|
* @public
|
|
19856
19858
|
*/
|
|
19857
19859
|
class MutableCompressedId64Set {
|
|
19860
|
+
_ids;
|
|
19861
|
+
_inserted = new OrderedId64Array();
|
|
19862
|
+
_deleted = new OrderedId64Array();
|
|
19858
19863
|
/** Construct a new set, optionally initialized to contain the Ids represented by `ids`. */
|
|
19859
19864
|
constructor(ids) {
|
|
19860
|
-
this._inserted = new OrderedId64Array();
|
|
19861
|
-
this._deleted = new OrderedId64Array();
|
|
19862
19865
|
this._ids = ids ?? "";
|
|
19863
19866
|
}
|
|
19864
19867
|
/** Obtain the compact string representation of the contents of this set. If any insertions or removals are pending, they will be applied and the string recomputed. */
|
|
@@ -19978,8 +19981,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19978
19981
|
*/
|
|
19979
19982
|
|
|
19980
19983
|
class DictionaryIterator {
|
|
19984
|
+
_keys;
|
|
19985
|
+
_values;
|
|
19986
|
+
_curIndex = -1;
|
|
19981
19987
|
constructor(keys, values) {
|
|
19982
|
-
this._curIndex = -1;
|
|
19983
19988
|
this._keys = keys;
|
|
19984
19989
|
this._values = values;
|
|
19985
19990
|
}
|
|
@@ -20014,6 +20019,11 @@ class DictionaryIterator {
|
|
|
20014
20019
|
* @public
|
|
20015
20020
|
*/
|
|
20016
20021
|
class Dictionary {
|
|
20022
|
+
_keys = [];
|
|
20023
|
+
_compareKeys;
|
|
20024
|
+
_cloneKey;
|
|
20025
|
+
_values = [];
|
|
20026
|
+
_cloneValue;
|
|
20017
20027
|
/**
|
|
20018
20028
|
* Construct a new Dictionary<K, V>.
|
|
20019
20029
|
* @param compareKeys The function used to compare keys within the dictionary.
|
|
@@ -20021,8 +20031,6 @@ class Dictionary {
|
|
|
20021
20031
|
* @param cloneValue The function invoked to clone a value for insertion into the dictionary. The default implementation simply returns its input.
|
|
20022
20032
|
*/
|
|
20023
20033
|
constructor(compareKeys, cloneKey = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone, cloneValue = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
20024
|
-
this._keys = [];
|
|
20025
|
-
this._values = [];
|
|
20026
20034
|
this._compareKeys = compareKeys;
|
|
20027
20035
|
this._cloneKey = cloneKey;
|
|
20028
20036
|
this._cloneValue = cloneValue;
|
|
@@ -20260,6 +20268,7 @@ function using(resources, func) {
|
|
|
20260
20268
|
}
|
|
20261
20269
|
}
|
|
20262
20270
|
class FuncDisposable {
|
|
20271
|
+
_disposeFunc;
|
|
20263
20272
|
constructor(disposeFunc) { this._disposeFunc = disposeFunc; }
|
|
20264
20273
|
dispose() { this._disposeFunc(); }
|
|
20265
20274
|
}
|
|
@@ -20267,6 +20276,7 @@ class FuncDisposable {
|
|
|
20267
20276
|
* @public
|
|
20268
20277
|
*/
|
|
20269
20278
|
class DisposableList {
|
|
20279
|
+
_disposables;
|
|
20270
20280
|
/** Creates a disposable list. */
|
|
20271
20281
|
constructor(disposables = []) {
|
|
20272
20282
|
this._disposables = [];
|
|
@@ -20732,11 +20742,11 @@ var Id64;
|
|
|
20732
20742
|
* @public
|
|
20733
20743
|
*/
|
|
20734
20744
|
class Uint32Set {
|
|
20745
|
+
_map = new Map();
|
|
20735
20746
|
/** Construct a new Uint32Set.
|
|
20736
20747
|
* @param ids If supplied, all of the specified Ids will be added to the new set.
|
|
20737
20748
|
*/
|
|
20738
20749
|
constructor(ids) {
|
|
20739
|
-
this._map = new Map();
|
|
20740
20750
|
if (undefined !== ids)
|
|
20741
20751
|
this.addIds(ids);
|
|
20742
20752
|
}
|
|
@@ -20850,9 +20860,7 @@ var Id64;
|
|
|
20850
20860
|
* @public
|
|
20851
20861
|
*/
|
|
20852
20862
|
class Uint32Map {
|
|
20853
|
-
|
|
20854
|
-
this._map = new Map();
|
|
20855
|
-
}
|
|
20863
|
+
_map = new Map();
|
|
20856
20864
|
/** Remove all entries from the map. */
|
|
20857
20865
|
clear() { this._map.clear(); }
|
|
20858
20866
|
/** Find an entry in the map by Id. */
|
|
@@ -20903,6 +20911,9 @@ function validateLocalId(num) {
|
|
|
20903
20911
|
* @public
|
|
20904
20912
|
*/
|
|
20905
20913
|
class TransientIdSequence {
|
|
20914
|
+
/** The starting local Id provided to the constructor. The sequence begins at `initialLocalId + 1`. */
|
|
20915
|
+
initialLocalId;
|
|
20916
|
+
_localId;
|
|
20906
20917
|
/** Constructor.
|
|
20907
20918
|
* @param initialLocalId The starting local Id. The local Id of the first [[Id64String]] generated by [[getNext]] will be `initialLocalId + 1`.
|
|
20908
20919
|
*/
|
|
@@ -21065,6 +21076,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21065
21076
|
* @public
|
|
21066
21077
|
*/
|
|
21067
21078
|
class IndexedValue {
|
|
21079
|
+
value;
|
|
21080
|
+
index;
|
|
21068
21081
|
constructor(value, index) {
|
|
21069
21082
|
this.value = value;
|
|
21070
21083
|
this.index = index;
|
|
@@ -21077,6 +21090,10 @@ class IndexedValue {
|
|
|
21077
21090
|
* @public
|
|
21078
21091
|
*/
|
|
21079
21092
|
class IndexMap {
|
|
21093
|
+
_array = [];
|
|
21094
|
+
_compareValues;
|
|
21095
|
+
_clone;
|
|
21096
|
+
_maximumSize;
|
|
21080
21097
|
/**
|
|
21081
21098
|
* Construct a new IndexMap<T>.
|
|
21082
21099
|
* @param compare The function used to compare elements within the map.
|
|
@@ -21084,7 +21101,6 @@ class IndexMap {
|
|
|
21084
21101
|
* @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
|
|
21085
21102
|
*/
|
|
21086
21103
|
constructor(compare, maximumSize = Number.MAX_SAFE_INTEGER, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
21087
|
-
this._array = [];
|
|
21088
21104
|
this._compareValues = compare;
|
|
21089
21105
|
this._clone = clone;
|
|
21090
21106
|
this._maximumSize = maximumSize;
|
|
@@ -21358,12 +21374,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21358
21374
|
* @public
|
|
21359
21375
|
*/
|
|
21360
21376
|
class Entry {
|
|
21377
|
+
key;
|
|
21378
|
+
value;
|
|
21379
|
+
newer;
|
|
21380
|
+
older;
|
|
21361
21381
|
constructor(key, value) {
|
|
21362
21382
|
this.key = key;
|
|
21363
21383
|
this.value = value;
|
|
21364
21384
|
}
|
|
21365
21385
|
}
|
|
21366
21386
|
class EntryIterator {
|
|
21387
|
+
_entry;
|
|
21367
21388
|
constructor(oldestEntry) {
|
|
21368
21389
|
this._entry = oldestEntry;
|
|
21369
21390
|
}
|
|
@@ -21377,6 +21398,7 @@ class EntryIterator {
|
|
|
21377
21398
|
}
|
|
21378
21399
|
}
|
|
21379
21400
|
class KeyIterator {
|
|
21401
|
+
_entry;
|
|
21380
21402
|
constructor(oldestEntry) {
|
|
21381
21403
|
this._entry = oldestEntry;
|
|
21382
21404
|
}
|
|
@@ -21389,6 +21411,7 @@ class KeyIterator {
|
|
|
21389
21411
|
}
|
|
21390
21412
|
}
|
|
21391
21413
|
class ValueIterator {
|
|
21414
|
+
_entry;
|
|
21392
21415
|
constructor(oldestEntry) {
|
|
21393
21416
|
this._entry = oldestEntry;
|
|
21394
21417
|
}
|
|
@@ -21421,6 +21444,15 @@ class ValueIterator {
|
|
|
21421
21444
|
* @public
|
|
21422
21445
|
*/
|
|
21423
21446
|
class LRUCache {
|
|
21447
|
+
_container;
|
|
21448
|
+
/** Current number of items */
|
|
21449
|
+
size;
|
|
21450
|
+
/** Maximum number of items this cache can hold */
|
|
21451
|
+
limit;
|
|
21452
|
+
/** Least recently-used entry. Invalidated when cache is modified. */
|
|
21453
|
+
oldest;
|
|
21454
|
+
/** Most recently-used entry. Invalidated when cache is modified. */
|
|
21455
|
+
newest;
|
|
21424
21456
|
/**
|
|
21425
21457
|
* Construct a new LRUCache to hold up to `limit` entries.
|
|
21426
21458
|
*/
|
|
@@ -21718,7 +21750,12 @@ var LogLevel;
|
|
|
21718
21750
|
* @public
|
|
21719
21751
|
*/
|
|
21720
21752
|
class Logger {
|
|
21721
|
-
static
|
|
21753
|
+
static _logError;
|
|
21754
|
+
static _logWarning;
|
|
21755
|
+
static _logInfo;
|
|
21756
|
+
static _logTrace;
|
|
21757
|
+
static _onLogLevelChanged;
|
|
21758
|
+
static _staticMetaData = new Map();
|
|
21722
21759
|
/** An event raised whenever [[setLevel]] or [[setLevelDefault]] is called. */
|
|
21723
21760
|
static get onLogLevelChanged() {
|
|
21724
21761
|
// We have to lazily initialize because it's static and BeEvent imports UnexpectedErrors which imports Logger which wants to instantiate BeEvent.
|
|
@@ -21727,7 +21764,7 @@ class Logger {
|
|
|
21727
21764
|
}
|
|
21728
21765
|
return Logger._onLogLevelChanged;
|
|
21729
21766
|
}
|
|
21730
|
-
static
|
|
21767
|
+
static _categoryFilter = {};
|
|
21731
21768
|
/** Maps category names to the least severe level at which messages in that category should be displayed,
|
|
21732
21769
|
* or `undefined` if a minimum has not been defined.
|
|
21733
21770
|
* @see [[setLevel]] to change the minimum logging level for a category.
|
|
@@ -21736,6 +21773,7 @@ class Logger {
|
|
|
21736
21773
|
// NOTE: this property is accessed by native code.
|
|
21737
21774
|
return this._categoryFilter;
|
|
21738
21775
|
}
|
|
21776
|
+
static _minLevel;
|
|
21739
21777
|
/** The least severe level at which messages should be displayed by default.
|
|
21740
21778
|
* @see [[setLevelDefault]] to change this default.
|
|
21741
21779
|
* @see [[setLevel]] to override this default for specific categories.
|
|
@@ -21745,7 +21783,7 @@ class Logger {
|
|
|
21745
21783
|
return this._minLevel;
|
|
21746
21784
|
}
|
|
21747
21785
|
/** Should the call stack be included when an exception is logged? */
|
|
21748
|
-
static
|
|
21786
|
+
static logExceptionCallstacks = false;
|
|
21749
21787
|
/** Contains metadata that should be included with every logged message.
|
|
21750
21788
|
* @beta
|
|
21751
21789
|
*/
|
|
@@ -21941,7 +21979,10 @@ class Logger {
|
|
|
21941
21979
|
* @public
|
|
21942
21980
|
*/
|
|
21943
21981
|
class PerfLogger {
|
|
21944
|
-
static
|
|
21982
|
+
static _severity = LogLevel.Info;
|
|
21983
|
+
_operation;
|
|
21984
|
+
_metaData;
|
|
21985
|
+
_startTimeStamp;
|
|
21945
21986
|
constructor(operation, metaData) {
|
|
21946
21987
|
this._operation = operation;
|
|
21947
21988
|
this._metaData = metaData;
|
|
@@ -21999,18 +22040,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21999
22040
|
* @public
|
|
22000
22041
|
*/
|
|
22001
22042
|
class ObservableSet extends Set {
|
|
22043
|
+
/** Emitted after `item` is added to this set. */
|
|
22044
|
+
onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22045
|
+
/** Emitted after `item` is deleted from this set. */
|
|
22046
|
+
onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22047
|
+
/** Emitted after this set's contents are cleared. */
|
|
22048
|
+
onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22002
22049
|
/** Construct a new ObservableSet.
|
|
22003
22050
|
* @param elements Optional elements with which to populate the new set.
|
|
22004
22051
|
*/
|
|
22005
22052
|
constructor(elements) {
|
|
22006
22053
|
// NB: Set constructor will invoke add(). Do not override until initialized.
|
|
22007
22054
|
super(elements);
|
|
22008
|
-
/** Emitted after `item` is added to this set. */
|
|
22009
|
-
this.onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22010
|
-
/** Emitted after `item` is deleted from this set. */
|
|
22011
|
-
this.onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22012
|
-
/** Emitted after this set's contents are cleared. */
|
|
22013
|
-
this.onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
22014
22055
|
this.add = (item) => {
|
|
22015
22056
|
const prevSize = this.size;
|
|
22016
22057
|
const ret = super.add(item);
|
|
@@ -22073,6 +22114,11 @@ class AbandonedError extends Error {
|
|
|
22073
22114
|
* Promises involved that are chained together. That makes this class less efficient than just using a Promise directly.
|
|
22074
22115
|
*/
|
|
22075
22116
|
class PromiseWithAbandon {
|
|
22117
|
+
_run;
|
|
22118
|
+
_args;
|
|
22119
|
+
/** Method to abandon the Promise created by [[init]] while it is outstanding. The promise will be rejected. */
|
|
22120
|
+
abandon;
|
|
22121
|
+
_resolve;
|
|
22076
22122
|
/** Create a PromiseWithAbandon. After this call you must call [[init]] to create the underlying Promise.
|
|
22077
22123
|
* @param _run The method that creates the underlying Promise.
|
|
22078
22124
|
* @param _args An array of args to be passed to run when [[start]] is called.
|
|
@@ -22110,6 +22156,10 @@ class PromiseWithAbandon {
|
|
|
22110
22156
|
* @beta
|
|
22111
22157
|
*/
|
|
22112
22158
|
class OneAtATimeAction {
|
|
22159
|
+
_active;
|
|
22160
|
+
_pending;
|
|
22161
|
+
_run;
|
|
22162
|
+
msg;
|
|
22113
22163
|
/** Ctor for OneAtATimePromise.
|
|
22114
22164
|
* @param run The method that performs an action that creates the Promise.
|
|
22115
22165
|
*/
|
|
@@ -22423,6 +22473,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22423
22473
|
* @public
|
|
22424
22474
|
*/
|
|
22425
22475
|
class ReadonlyOrderedSet {
|
|
22476
|
+
_array;
|
|
22426
22477
|
/** Construct a new ReadonlyOrderedSet<T>.
|
|
22427
22478
|
* @param compare The function used to compare elements within the set, determining their ordering.
|
|
22428
22479
|
* @param clone The function invoked to clone a new element for insertion into the set. The default implementation simply returns its input.
|
|
@@ -22498,6 +22549,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22498
22549
|
* @public
|
|
22499
22550
|
*/
|
|
22500
22551
|
class PriorityQueue {
|
|
22552
|
+
_array = [];
|
|
22553
|
+
_compare;
|
|
22554
|
+
_clone;
|
|
22501
22555
|
/**
|
|
22502
22556
|
* Constructor
|
|
22503
22557
|
* @param compare The function used to compare values in the queue. If `compare(x, y)` returns a negative value, then x is placed before y in the queue.
|
|
@@ -22505,7 +22559,6 @@ class PriorityQueue {
|
|
|
22505
22559
|
* @note If the criterion which control the result of the `compare` function changes, then [[PriorityQueue.sort]] should be used to reorder the queue according to the new criterion.
|
|
22506
22560
|
*/
|
|
22507
22561
|
constructor(compare, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
22508
|
-
this._array = [];
|
|
22509
22562
|
this._compare = compare;
|
|
22510
22563
|
this._clone = clone;
|
|
22511
22564
|
}
|
|
@@ -22803,6 +22856,10 @@ var DuplicatePolicy;
|
|
|
22803
22856
|
* @public
|
|
22804
22857
|
*/
|
|
22805
22858
|
class ReadonlySortedArray {
|
|
22859
|
+
_array = [];
|
|
22860
|
+
_compare;
|
|
22861
|
+
_clone;
|
|
22862
|
+
_duplicatePolicy;
|
|
22806
22863
|
/**
|
|
22807
22864
|
* Construct a new ReadonlySortedArray<T>.
|
|
22808
22865
|
* @param compare The function used to compare elements within the array.
|
|
@@ -22810,7 +22867,6 @@ class ReadonlySortedArray {
|
|
|
22810
22867
|
* @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
|
|
22811
22868
|
*/
|
|
22812
22869
|
constructor(compare, duplicatePolicy = false, clone = shallowClone) {
|
|
22813
|
-
this._array = [];
|
|
22814
22870
|
this._compare = compare;
|
|
22815
22871
|
this._clone = clone;
|
|
22816
22872
|
if (typeof duplicatePolicy === "boolean")
|
|
@@ -23061,7 +23117,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23061
23117
|
* @alpha
|
|
23062
23118
|
*/
|
|
23063
23119
|
class StatusCategory {
|
|
23064
|
-
static
|
|
23120
|
+
static handlers = new Set();
|
|
23065
23121
|
static for(error) {
|
|
23066
23122
|
for (const handler of this.handlers) {
|
|
23067
23123
|
const category = handler(error);
|
|
@@ -23080,173 +23136,110 @@ class StatusCategory {
|
|
|
23080
23136
|
* @alpha
|
|
23081
23137
|
*/
|
|
23082
23138
|
class SuccessCategory extends StatusCategory {
|
|
23083
|
-
|
|
23084
|
-
super(...arguments);
|
|
23085
|
-
this.error = false;
|
|
23086
|
-
}
|
|
23139
|
+
error = false;
|
|
23087
23140
|
}
|
|
23088
23141
|
/**
|
|
23089
23142
|
* An error status.
|
|
23090
23143
|
* @alpha
|
|
23091
23144
|
*/
|
|
23092
23145
|
class ErrorCategory extends StatusCategory {
|
|
23093
|
-
|
|
23094
|
-
super(...arguments);
|
|
23095
|
-
this.error = true;
|
|
23096
|
-
}
|
|
23146
|
+
error = true;
|
|
23097
23147
|
}
|
|
23098
23148
|
var HTTP;
|
|
23099
23149
|
(function (HTTP) {
|
|
23100
23150
|
class OK extends SuccessCategory {
|
|
23101
|
-
|
|
23102
|
-
|
|
23103
|
-
this.name = "OK";
|
|
23104
|
-
this.code = 200;
|
|
23105
|
-
}
|
|
23151
|
+
name = "OK";
|
|
23152
|
+
code = 200;
|
|
23106
23153
|
}
|
|
23107
23154
|
HTTP.OK = OK;
|
|
23108
23155
|
class Accepted extends SuccessCategory {
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
this.name = "Accepted";
|
|
23112
|
-
this.code = 202;
|
|
23113
|
-
}
|
|
23156
|
+
name = "Accepted";
|
|
23157
|
+
code = 202;
|
|
23114
23158
|
}
|
|
23115
23159
|
HTTP.Accepted = Accepted;
|
|
23116
23160
|
class NoContent extends SuccessCategory {
|
|
23117
|
-
|
|
23118
|
-
|
|
23119
|
-
this.name = "NoContent";
|
|
23120
|
-
this.code = 204;
|
|
23121
|
-
}
|
|
23161
|
+
name = "NoContent";
|
|
23162
|
+
code = 204;
|
|
23122
23163
|
}
|
|
23123
23164
|
HTTP.NoContent = NoContent;
|
|
23124
23165
|
class BadRequest extends ErrorCategory {
|
|
23125
|
-
|
|
23126
|
-
|
|
23127
|
-
this.name = "BadRequest";
|
|
23128
|
-
this.code = 400;
|
|
23129
|
-
}
|
|
23166
|
+
name = "BadRequest";
|
|
23167
|
+
code = 400;
|
|
23130
23168
|
}
|
|
23131
23169
|
HTTP.BadRequest = BadRequest;
|
|
23132
23170
|
class Unauthorized extends ErrorCategory {
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
this.name = "Unauthorized";
|
|
23136
|
-
this.code = 401;
|
|
23137
|
-
}
|
|
23171
|
+
name = "Unauthorized";
|
|
23172
|
+
code = 401;
|
|
23138
23173
|
}
|
|
23139
23174
|
HTTP.Unauthorized = Unauthorized;
|
|
23140
23175
|
class Forbidden extends ErrorCategory {
|
|
23141
|
-
|
|
23142
|
-
|
|
23143
|
-
this.name = "Forbidden";
|
|
23144
|
-
this.code = 403;
|
|
23145
|
-
}
|
|
23176
|
+
name = "Forbidden";
|
|
23177
|
+
code = 403;
|
|
23146
23178
|
}
|
|
23147
23179
|
HTTP.Forbidden = Forbidden;
|
|
23148
23180
|
class NotFound extends ErrorCategory {
|
|
23149
|
-
|
|
23150
|
-
|
|
23151
|
-
this.name = "NotFound";
|
|
23152
|
-
this.code = 404;
|
|
23153
|
-
}
|
|
23181
|
+
name = "NotFound";
|
|
23182
|
+
code = 404;
|
|
23154
23183
|
}
|
|
23155
23184
|
HTTP.NotFound = NotFound;
|
|
23156
23185
|
class RequestTimeout extends ErrorCategory {
|
|
23157
|
-
|
|
23158
|
-
|
|
23159
|
-
this.name = "RequestTimeout";
|
|
23160
|
-
this.code = 408;
|
|
23161
|
-
}
|
|
23186
|
+
name = "RequestTimeout";
|
|
23187
|
+
code = 408;
|
|
23162
23188
|
}
|
|
23163
23189
|
HTTP.RequestTimeout = RequestTimeout;
|
|
23164
23190
|
class Conflict extends ErrorCategory {
|
|
23165
|
-
|
|
23166
|
-
|
|
23167
|
-
this.name = "Conflict";
|
|
23168
|
-
this.code = 409;
|
|
23169
|
-
}
|
|
23191
|
+
name = "Conflict";
|
|
23192
|
+
code = 409;
|
|
23170
23193
|
}
|
|
23171
23194
|
HTTP.Conflict = Conflict;
|
|
23172
23195
|
class Gone extends ErrorCategory {
|
|
23173
|
-
|
|
23174
|
-
|
|
23175
|
-
this.name = "Gone";
|
|
23176
|
-
this.code = 410;
|
|
23177
|
-
}
|
|
23196
|
+
name = "Gone";
|
|
23197
|
+
code = 410;
|
|
23178
23198
|
}
|
|
23179
23199
|
HTTP.Gone = Gone;
|
|
23180
23200
|
class PreconditionFailed extends ErrorCategory {
|
|
23181
|
-
|
|
23182
|
-
|
|
23183
|
-
this.name = "PreconditionFailed";
|
|
23184
|
-
this.code = 412;
|
|
23185
|
-
}
|
|
23201
|
+
name = "PreconditionFailed";
|
|
23202
|
+
code = 412;
|
|
23186
23203
|
}
|
|
23187
23204
|
HTTP.PreconditionFailed = PreconditionFailed;
|
|
23188
23205
|
class ExpectationFailed extends ErrorCategory {
|
|
23189
|
-
|
|
23190
|
-
|
|
23191
|
-
this.name = "ExpectationFailed";
|
|
23192
|
-
this.code = 417;
|
|
23193
|
-
}
|
|
23206
|
+
name = "ExpectationFailed";
|
|
23207
|
+
code = 417;
|
|
23194
23208
|
}
|
|
23195
23209
|
HTTP.ExpectationFailed = ExpectationFailed;
|
|
23196
23210
|
class MisdirectedRequest extends ErrorCategory {
|
|
23197
|
-
|
|
23198
|
-
|
|
23199
|
-
this.name = "MisdirectedRequest";
|
|
23200
|
-
this.code = 421;
|
|
23201
|
-
}
|
|
23211
|
+
name = "MisdirectedRequest";
|
|
23212
|
+
code = 421;
|
|
23202
23213
|
}
|
|
23203
23214
|
HTTP.MisdirectedRequest = MisdirectedRequest;
|
|
23204
23215
|
class UnprocessableEntity extends ErrorCategory {
|
|
23205
|
-
|
|
23206
|
-
|
|
23207
|
-
this.name = "UnprocessableEntity";
|
|
23208
|
-
this.code = 422;
|
|
23209
|
-
}
|
|
23216
|
+
name = "UnprocessableEntity";
|
|
23217
|
+
code = 422;
|
|
23210
23218
|
}
|
|
23211
23219
|
HTTP.UnprocessableEntity = UnprocessableEntity;
|
|
23212
23220
|
class UpgradeRequired extends ErrorCategory {
|
|
23213
|
-
|
|
23214
|
-
|
|
23215
|
-
this.name = "UpgradeRequired";
|
|
23216
|
-
this.code = 426;
|
|
23217
|
-
}
|
|
23221
|
+
name = "UpgradeRequired";
|
|
23222
|
+
code = 426;
|
|
23218
23223
|
}
|
|
23219
23224
|
HTTP.UpgradeRequired = UpgradeRequired;
|
|
23220
23225
|
class PreconditionRequired extends ErrorCategory {
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
this.name = "PreconditionRequired";
|
|
23224
|
-
this.code = 428;
|
|
23225
|
-
}
|
|
23226
|
+
name = "PreconditionRequired";
|
|
23227
|
+
code = 428;
|
|
23226
23228
|
}
|
|
23227
23229
|
HTTP.PreconditionRequired = PreconditionRequired;
|
|
23228
23230
|
class TooManyRequests extends ErrorCategory {
|
|
23229
|
-
|
|
23230
|
-
|
|
23231
|
-
this.name = "TooManyRequests";
|
|
23232
|
-
this.code = 429;
|
|
23233
|
-
}
|
|
23231
|
+
name = "TooManyRequests";
|
|
23232
|
+
code = 429;
|
|
23234
23233
|
}
|
|
23235
23234
|
HTTP.TooManyRequests = TooManyRequests;
|
|
23236
23235
|
class InternalServerError extends ErrorCategory {
|
|
23237
|
-
|
|
23238
|
-
|
|
23239
|
-
this.name = "InternalServerError";
|
|
23240
|
-
this.code = 500;
|
|
23241
|
-
}
|
|
23236
|
+
name = "InternalServerError";
|
|
23237
|
+
code = 500;
|
|
23242
23238
|
}
|
|
23243
23239
|
HTTP.InternalServerError = InternalServerError;
|
|
23244
23240
|
class NotImplemented extends ErrorCategory {
|
|
23245
|
-
|
|
23246
|
-
|
|
23247
|
-
this.name = "NotImplemented";
|
|
23248
|
-
this.code = 501;
|
|
23249
|
-
}
|
|
23241
|
+
name = "NotImplemented";
|
|
23242
|
+
code = 501;
|
|
23250
23243
|
}
|
|
23251
23244
|
HTTP.NotImplemented = NotImplemented;
|
|
23252
23245
|
})(HTTP || (HTTP = {}));
|
|
@@ -23581,6 +23574,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23581
23574
|
* @public
|
|
23582
23575
|
*/
|
|
23583
23576
|
class BeDuration {
|
|
23577
|
+
_milliseconds;
|
|
23584
23578
|
constructor(milliseconds = 0) { this._milliseconds = milliseconds; }
|
|
23585
23579
|
/** The duration in milliseconds */
|
|
23586
23580
|
get milliseconds() { return this._milliseconds; }
|
|
@@ -23647,6 +23641,7 @@ class BeDuration {
|
|
|
23647
23641
|
* @public
|
|
23648
23642
|
*/
|
|
23649
23643
|
class BeTimePoint {
|
|
23644
|
+
_milliseconds;
|
|
23650
23645
|
/** the time in milliseconds, of this BeTimePoint (relative to January 1, 1970 00:00:00 UTC.) */
|
|
23651
23646
|
get milliseconds() { return this._milliseconds; }
|
|
23652
23647
|
constructor(milliseconds) { this._milliseconds = milliseconds; }
|
|
@@ -23685,6 +23680,9 @@ class BeTimePoint {
|
|
|
23685
23680
|
* @public
|
|
23686
23681
|
*/
|
|
23687
23682
|
class StopWatch {
|
|
23683
|
+
description;
|
|
23684
|
+
_start;
|
|
23685
|
+
_stop;
|
|
23688
23686
|
/** Get the elapsed time since start() on a running timer. */
|
|
23689
23687
|
get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
|
|
23690
23688
|
/** Get the elapsed time, in seconds, since start() on a running timer. */
|
|
@@ -23807,6 +23805,8 @@ function flattenObject(obj) {
|
|
|
23807
23805
|
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23808
23806
|
*/
|
|
23809
23807
|
class Tracing {
|
|
23808
|
+
static _tracer;
|
|
23809
|
+
static _openTelemetry;
|
|
23810
23810
|
/**
|
|
23811
23811
|
* If OpenTelemetry tracing is enabled, creates a new span and runs the provided function in it.
|
|
23812
23812
|
* If OpenTelemetry tracing is _not_ enabled, runs the provided function.
|
|
@@ -23936,10 +23936,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23936
23936
|
* @public
|
|
23937
23937
|
*/
|
|
23938
23938
|
class TupleKeyedMap {
|
|
23939
|
+
_map = new Map();
|
|
23939
23940
|
// argument types match those of Map
|
|
23940
23941
|
constructor(entries) {
|
|
23941
|
-
this._map = new Map();
|
|
23942
|
-
this._size = 0;
|
|
23943
23942
|
if (entries)
|
|
23944
23943
|
for (const [k, v] of entries) {
|
|
23945
23944
|
this.set(k, v);
|
|
@@ -23999,6 +23998,7 @@ class TupleKeyedMap {
|
|
|
23999
23998
|
}
|
|
24000
23999
|
yield* impl(this._map, []);
|
|
24001
24000
|
}
|
|
24001
|
+
_size = 0;
|
|
24002
24002
|
get size() {
|
|
24003
24003
|
return this._size;
|
|
24004
24004
|
}
|
|
@@ -24049,6 +24049,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24049
24049
|
* @public
|
|
24050
24050
|
*/
|
|
24051
24051
|
class TypedArrayBuilder {
|
|
24052
|
+
/** The constructor for the specific type of array being populated. */
|
|
24053
|
+
_constructor;
|
|
24054
|
+
/** The underlying typed array, to be reallocated and copied when its capacity is exceeded. */
|
|
24055
|
+
_data;
|
|
24056
|
+
/** The number of elements added to the array so far. */
|
|
24057
|
+
_length;
|
|
24058
|
+
/** Multiplier applied to required capacity by [[ensureCapacity]]. */
|
|
24059
|
+
growthFactor;
|
|
24052
24060
|
/** Constructs a new builder from the specified options, with a [[length]] of zero. */
|
|
24053
24061
|
constructor(constructor, options) {
|
|
24054
24062
|
this._constructor = constructor;
|
|
@@ -24257,15 +24265,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24257
24265
|
*/
|
|
24258
24266
|
class UnexpectedErrors {
|
|
24259
24267
|
/** handler for re-throwing exceptions directly */
|
|
24260
|
-
static
|
|
24268
|
+
static reThrowImmediate = (e) => { throw e; };
|
|
24261
24269
|
/** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
|
|
24262
|
-
static
|
|
24270
|
+
static reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
|
|
24263
24271
|
/** handler for logging exception to console */
|
|
24264
|
-
static
|
|
24272
|
+
static consoleLog = (e) => console.error(e); // eslint-disable-line no-console
|
|
24265
24273
|
/** handler for logging exception with [[Logger]] */
|
|
24266
|
-
static
|
|
24267
|
-
static
|
|
24268
|
-
static
|
|
24274
|
+
static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
|
|
24275
|
+
static _telemetry = [];
|
|
24276
|
+
static _handler = this.errorLog; // default to error logging
|
|
24269
24277
|
constructor() { } // this is a singleton
|
|
24270
24278
|
/** Add a "telemetry tracker" for unexpected errors. Useful for tracking/reporting errors without changing handler.
|
|
24271
24279
|
* @returns a method to remove the tracker
|
|
@@ -24387,11 +24395,13 @@ const defaultYieldManagerOptions = {
|
|
|
24387
24395
|
* @public
|
|
24388
24396
|
*/
|
|
24389
24397
|
class YieldManager {
|
|
24398
|
+
/** Options controlling the yield behavior. */
|
|
24399
|
+
options;
|
|
24400
|
+
_counter = 0;
|
|
24390
24401
|
/** Constructor.
|
|
24391
24402
|
* @param options Options customizing the yield behavior. Omitted properties are assigned their default values.
|
|
24392
24403
|
*/
|
|
24393
24404
|
constructor(options = {}) {
|
|
24394
|
-
this._counter = 0;
|
|
24395
24405
|
this.options = { ...defaultYieldManagerOptions, ...options };
|
|
24396
24406
|
}
|
|
24397
24407
|
/** Increment the iteration counter, yielding control and resetting the counter if [[options.iterationsBeforeYield]] is exceeded. */
|