@itwin/core-i18n 4.0.0-dev.24 → 4.0.0-dev.30
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/CHANGELOG.md +5 -0
- package/lib/cjs/ITwinLocalization.js +9 -11
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/test/ITwinLocalization.test.js +6 -11
- package/lib/cjs/test/ITwinLocalization.test.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +625 -1452
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +33 -44
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/lib/esm/ITwinLocalization.js +9 -11
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/lib/esm/test/ITwinLocalization.test.js +6 -11
- package/lib/esm/test/ITwinLocalization.test.js.map +1 -1
- package/package.json +7 -7
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
/** @packageDocumentation
|
|
18
18
|
* @module Localization
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
21
|
-
var path = "D:\\vsts_a\\
|
|
22
|
-
var hash = "
|
|
20
|
+
function cov_1n64vqx5d7() {
|
|
21
|
+
var path = "D:\\vsts_a\\8\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
+
var hash = "e79e2625c080a04e240018b9f8c90ce810e7378e";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
26
|
-
path: "D:\\vsts_a\\
|
|
26
|
+
path: "D:\\vsts_a\\8\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
|
|
27
27
|
statementMap: {
|
|
28
28
|
"0": {
|
|
29
29
|
start: {
|
|
@@ -117,751 +117,751 @@ function cov_2l9mmpbx71() {
|
|
|
117
117
|
},
|
|
118
118
|
"9": {
|
|
119
119
|
start: {
|
|
120
|
-
line:
|
|
120
|
+
line: 25,
|
|
121
121
|
column: 8
|
|
122
122
|
},
|
|
123
123
|
end: {
|
|
124
|
-
line:
|
|
124
|
+
line: 25,
|
|
125
125
|
column: 37
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
"10": {
|
|
129
129
|
start: {
|
|
130
|
-
line:
|
|
130
|
+
line: 26,
|
|
131
131
|
column: 8
|
|
132
132
|
},
|
|
133
133
|
end: {
|
|
134
|
-
line:
|
|
134
|
+
line: 26,
|
|
135
135
|
column: 58
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
"11": {
|
|
139
139
|
start: {
|
|
140
|
-
line:
|
|
140
|
+
line: 27,
|
|
141
141
|
column: 8
|
|
142
142
|
},
|
|
143
143
|
end: {
|
|
144
|
-
line:
|
|
144
|
+
line: 31,
|
|
145
145
|
column: 10
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
"12": {
|
|
149
149
|
start: {
|
|
150
|
-
line:
|
|
150
|
+
line: 32,
|
|
151
151
|
column: 8
|
|
152
152
|
},
|
|
153
153
|
end: {
|
|
154
|
-
line:
|
|
154
|
+
line: 37,
|
|
155
155
|
column: 10
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
"13": {
|
|
159
159
|
start: {
|
|
160
|
-
line:
|
|
160
|
+
line: 38,
|
|
161
161
|
column: 8
|
|
162
162
|
},
|
|
163
163
|
end: {
|
|
164
|
-
line:
|
|
164
|
+
line: 45,
|
|
165
165
|
column: 10
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"14": {
|
|
169
169
|
start: {
|
|
170
|
-
line:
|
|
170
|
+
line: 46,
|
|
171
171
|
column: 8
|
|
172
172
|
},
|
|
173
173
|
end: {
|
|
174
|
-
line:
|
|
174
|
+
line: 49,
|
|
175
175
|
column: 36
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"15": {
|
|
179
179
|
start: {
|
|
180
|
-
line:
|
|
180
|
+
line: 53,
|
|
181
181
|
column: 31
|
|
182
182
|
},
|
|
183
183
|
end: {
|
|
184
|
-
line:
|
|
184
|
+
line: 53,
|
|
185
185
|
column: 66
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"16": {
|
|
189
189
|
start: {
|
|
190
|
-
line:
|
|
190
|
+
line: 54,
|
|
191
191
|
column: 35
|
|
192
192
|
},
|
|
193
193
|
end: {
|
|
194
|
-
line:
|
|
194
|
+
line: 54,
|
|
195
195
|
column: 78
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
198
|
"17": {
|
|
199
199
|
start: {
|
|
200
|
-
line:
|
|
200
|
+
line: 55,
|
|
201
201
|
column: 33
|
|
202
202
|
},
|
|
203
203
|
end: {
|
|
204
|
-
line:
|
|
205
|
-
column:
|
|
204
|
+
line: 55,
|
|
205
|
+
column: 77
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
"18": {
|
|
209
209
|
start: {
|
|
210
|
-
line:
|
|
210
|
+
line: 56,
|
|
211
211
|
column: 8
|
|
212
212
|
},
|
|
213
213
|
end: {
|
|
214
|
-
line:
|
|
214
|
+
line: 57,
|
|
215
215
|
column: 53
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
218
|
"19": {
|
|
219
219
|
start: {
|
|
220
|
-
line:
|
|
220
|
+
line: 57,
|
|
221
221
|
column: 12
|
|
222
222
|
},
|
|
223
223
|
end: {
|
|
224
|
-
line:
|
|
224
|
+
line: 57,
|
|
225
225
|
column: 53
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
"20": {
|
|
229
229
|
start: {
|
|
230
|
-
line:
|
|
230
|
+
line: 58,
|
|
231
231
|
column: 28
|
|
232
232
|
},
|
|
233
233
|
end: {
|
|
234
|
-
line:
|
|
234
|
+
line: 62,
|
|
235
235
|
column: 9
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"21": {
|
|
239
239
|
start: {
|
|
240
|
-
line:
|
|
240
|
+
line: 64,
|
|
241
241
|
column: 8
|
|
242
242
|
},
|
|
243
243
|
end: {
|
|
244
|
-
line:
|
|
244
|
+
line: 65,
|
|
245
245
|
column: 37
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"22": {
|
|
249
249
|
start: {
|
|
250
|
-
line:
|
|
250
|
+
line: 65,
|
|
251
251
|
column: 12
|
|
252
252
|
},
|
|
253
253
|
end: {
|
|
254
|
-
line:
|
|
254
|
+
line: 65,
|
|
255
255
|
column: 37
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
"23": {
|
|
259
259
|
start: {
|
|
260
|
-
line:
|
|
260
|
+
line: 66,
|
|
261
261
|
column: 28
|
|
262
262
|
},
|
|
263
263
|
end: {
|
|
264
|
-
line:
|
|
264
|
+
line: 66,
|
|
265
265
|
column: 58
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
"24": {
|
|
269
269
|
start: {
|
|
270
|
-
line:
|
|
270
|
+
line: 67,
|
|
271
271
|
column: 8
|
|
272
272
|
},
|
|
273
273
|
end: {
|
|
274
|
-
line:
|
|
274
|
+
line: 68,
|
|
275
275
|
column: 50
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"25": {
|
|
279
279
|
start: {
|
|
280
|
-
line:
|
|
280
|
+
line: 68,
|
|
281
281
|
column: 12
|
|
282
282
|
},
|
|
283
283
|
end: {
|
|
284
|
-
line:
|
|
284
|
+
line: 68,
|
|
285
285
|
column: 50
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
"26": {
|
|
289
289
|
start: {
|
|
290
|
-
line:
|
|
290
|
+
line: 69,
|
|
291
291
|
column: 8
|
|
292
292
|
},
|
|
293
293
|
end: {
|
|
294
|
-
line:
|
|
294
|
+
line: 69,
|
|
295
295
|
column: 27
|
|
296
296
|
}
|
|
297
297
|
},
|
|
298
298
|
"27": {
|
|
299
299
|
start: {
|
|
300
|
-
line:
|
|
300
|
+
line: 88,
|
|
301
301
|
column: 8
|
|
302
302
|
},
|
|
303
303
|
end: {
|
|
304
|
-
line:
|
|
304
|
+
line: 88,
|
|
305
305
|
column: 91
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
"28": {
|
|
309
309
|
start: {
|
|
310
|
-
line:
|
|
310
|
+
line: 88,
|
|
311
311
|
column: 61
|
|
312
312
|
},
|
|
313
313
|
end: {
|
|
314
|
-
line:
|
|
314
|
+
line: 88,
|
|
315
315
|
column: 89
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
"29": {
|
|
319
319
|
start: {
|
|
320
|
-
line:
|
|
320
|
+
line: 104,
|
|
321
321
|
column: 8
|
|
322
322
|
},
|
|
323
323
|
end: {
|
|
324
|
-
line:
|
|
324
|
+
line: 106,
|
|
325
325
|
column: 9
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
"30": {
|
|
329
329
|
start: {
|
|
330
|
-
line:
|
|
330
|
+
line: 105,
|
|
331
331
|
column: 12
|
|
332
332
|
},
|
|
333
333
|
end: {
|
|
334
|
-
line:
|
|
334
|
+
line: 105,
|
|
335
335
|
column: 116
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
"31": {
|
|
339
339
|
start: {
|
|
340
|
-
line:
|
|
340
|
+
line: 107,
|
|
341
341
|
column: 22
|
|
342
342
|
},
|
|
343
343
|
end: {
|
|
344
|
-
line:
|
|
344
|
+
line: 107,
|
|
345
345
|
column: 50
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
348
|
"32": {
|
|
349
349
|
start: {
|
|
350
|
-
line:
|
|
350
|
+
line: 108,
|
|
351
351
|
column: 8
|
|
352
352
|
},
|
|
353
353
|
end: {
|
|
354
|
-
line:
|
|
354
|
+
line: 110,
|
|
355
355
|
column: 9
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
"33": {
|
|
359
359
|
start: {
|
|
360
|
-
line:
|
|
360
|
+
line: 109,
|
|
361
361
|
column: 12
|
|
362
362
|
},
|
|
363
363
|
end: {
|
|
364
|
-
line:
|
|
364
|
+
line: 109,
|
|
365
365
|
column: 67
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
368
|
"34": {
|
|
369
369
|
start: {
|
|
370
|
-
line:
|
|
370
|
+
line: 111,
|
|
371
371
|
column: 8
|
|
372
372
|
},
|
|
373
373
|
end: {
|
|
374
|
-
line:
|
|
374
|
+
line: 111,
|
|
375
375
|
column: 21
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
"35": {
|
|
379
379
|
start: {
|
|
380
|
-
line:
|
|
380
|
+
line: 122,
|
|
381
381
|
column: 22
|
|
382
382
|
},
|
|
383
383
|
end: {
|
|
384
|
-
line:
|
|
384
|
+
line: 122,
|
|
385
385
|
column: 24
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"36": {
|
|
389
389
|
start: {
|
|
390
|
-
line:
|
|
390
|
+
line: 123,
|
|
391
391
|
column: 8
|
|
392
392
|
},
|
|
393
393
|
end: {
|
|
394
|
-
line:
|
|
394
|
+
line: 130,
|
|
395
395
|
column: 9
|
|
396
396
|
}
|
|
397
397
|
},
|
|
398
398
|
"37": {
|
|
399
399
|
start: {
|
|
400
|
-
line:
|
|
400
|
+
line: 124,
|
|
401
401
|
column: 12
|
|
402
402
|
},
|
|
403
403
|
end: {
|
|
404
|
-
line:
|
|
404
|
+
line: 124,
|
|
405
405
|
column: 44
|
|
406
406
|
}
|
|
407
407
|
},
|
|
408
408
|
"38": {
|
|
409
409
|
start: {
|
|
410
|
-
line:
|
|
410
|
+
line: 127,
|
|
411
411
|
column: 12
|
|
412
412
|
},
|
|
413
413
|
end: {
|
|
414
|
-
line:
|
|
414
|
+
line: 129,
|
|
415
415
|
column: 15
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
"39": {
|
|
419
419
|
start: {
|
|
420
|
-
line:
|
|
420
|
+
line: 128,
|
|
421
421
|
column: 16
|
|
422
422
|
},
|
|
423
423
|
end: {
|
|
424
|
-
line:
|
|
424
|
+
line: 128,
|
|
425
425
|
column: 48
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
"40": {
|
|
429
429
|
start: {
|
|
430
|
-
line:
|
|
430
|
+
line: 131,
|
|
431
431
|
column: 8
|
|
432
432
|
},
|
|
433
433
|
end: {
|
|
434
|
-
line:
|
|
434
|
+
line: 131,
|
|
435
435
|
column: 57
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
"41": {
|
|
439
439
|
start: {
|
|
440
|
-
line:
|
|
440
|
+
line: 141,
|
|
441
441
|
column: 8
|
|
442
442
|
},
|
|
443
443
|
end: {
|
|
444
|
-
line:
|
|
444
|
+
line: 143,
|
|
445
445
|
column: 9
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
"42": {
|
|
449
449
|
start: {
|
|
450
|
-
line:
|
|
450
|
+
line: 142,
|
|
451
451
|
column: 12
|
|
452
452
|
},
|
|
453
453
|
end: {
|
|
454
|
-
line:
|
|
454
|
+
line: 142,
|
|
455
455
|
column: 116
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
"43": {
|
|
459
459
|
start: {
|
|
460
|
-
line:
|
|
460
|
+
line: 144,
|
|
461
461
|
column: 8
|
|
462
462
|
},
|
|
463
463
|
end: {
|
|
464
|
-
line:
|
|
464
|
+
line: 147,
|
|
465
465
|
column: 10
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
468
|
"44": {
|
|
469
469
|
start: {
|
|
470
|
-
line:
|
|
470
|
+
line: 148,
|
|
471
471
|
column: 19
|
|
472
472
|
},
|
|
473
473
|
end: {
|
|
474
|
-
line:
|
|
474
|
+
line: 148,
|
|
475
475
|
column: 58
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
478
|
"45": {
|
|
479
479
|
start: {
|
|
480
|
-
line:
|
|
480
|
+
line: 149,
|
|
481
481
|
column: 20
|
|
482
482
|
},
|
|
483
483
|
end: {
|
|
484
|
-
line:
|
|
484
|
+
line: 149,
|
|
485
485
|
column: 36
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
488
|
"46": {
|
|
489
489
|
start: {
|
|
490
|
-
line:
|
|
490
|
+
line: 150,
|
|
491
491
|
column: 8
|
|
492
492
|
},
|
|
493
493
|
end: {
|
|
494
|
-
line:
|
|
494
|
+
line: 151,
|
|
495
495
|
column: 60
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
498
|
"47": {
|
|
499
499
|
start: {
|
|
500
|
-
line:
|
|
500
|
+
line: 151,
|
|
501
501
|
column: 12
|
|
502
502
|
},
|
|
503
503
|
end: {
|
|
504
|
-
line:
|
|
504
|
+
line: 151,
|
|
505
505
|
column: 60
|
|
506
506
|
}
|
|
507
507
|
},
|
|
508
508
|
"48": {
|
|
509
509
|
start: {
|
|
510
|
-
line:
|
|
510
|
+
line: 152,
|
|
511
511
|
column: 8
|
|
512
512
|
},
|
|
513
513
|
end: {
|
|
514
|
-
line:
|
|
514
|
+
line: 152,
|
|
515
515
|
column: 19
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
"49": {
|
|
519
519
|
start: {
|
|
520
|
-
line:
|
|
520
|
+
line: 159,
|
|
521
521
|
column: 8
|
|
522
522
|
},
|
|
523
523
|
end: {
|
|
524
|
-
line:
|
|
524
|
+
line: 159,
|
|
525
525
|
column: 42
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
"50": {
|
|
529
529
|
start: {
|
|
530
|
-
line:
|
|
530
|
+
line: 163,
|
|
531
531
|
column: 8
|
|
532
532
|
},
|
|
533
533
|
end: {
|
|
534
|
-
line:
|
|
534
|
+
line: 163,
|
|
535
535
|
column: 38
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
538
|
"51": {
|
|
539
539
|
start: {
|
|
540
|
-
line:
|
|
540
|
+
line: 167,
|
|
541
541
|
column: 8
|
|
542
542
|
},
|
|
543
543
|
end: {
|
|
544
|
-
line:
|
|
544
|
+
line: 167,
|
|
545
545
|
column: 53
|
|
546
546
|
}
|
|
547
547
|
},
|
|
548
548
|
"52": {
|
|
549
549
|
start: {
|
|
550
|
-
line:
|
|
550
|
+
line: 178,
|
|
551
551
|
column: 25
|
|
552
552
|
},
|
|
553
553
|
end: {
|
|
554
|
-
line:
|
|
554
|
+
line: 178,
|
|
555
555
|
column: 51
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
"53": {
|
|
559
559
|
start: {
|
|
560
|
-
line:
|
|
560
|
+
line: 179,
|
|
561
561
|
column: 8
|
|
562
562
|
},
|
|
563
563
|
end: {
|
|
564
|
-
line:
|
|
564
|
+
line: 180,
|
|
565
565
|
column: 28
|
|
566
566
|
}
|
|
567
567
|
},
|
|
568
568
|
"54": {
|
|
569
569
|
start: {
|
|
570
|
-
line:
|
|
570
|
+
line: 180,
|
|
571
571
|
column: 12
|
|
572
572
|
},
|
|
573
573
|
end: {
|
|
574
|
-
line:
|
|
574
|
+
line: 180,
|
|
575
575
|
column: 28
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"55": {
|
|
579
579
|
start: {
|
|
580
|
-
line:
|
|
580
|
+
line: 181,
|
|
581
581
|
column: 31
|
|
582
582
|
},
|
|
583
583
|
end: {
|
|
584
|
-
line:
|
|
584
|
+
line: 206,
|
|
585
585
|
column: 10
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
588
|
"56": {
|
|
589
589
|
start: {
|
|
590
|
-
line:
|
|
590
|
+
line: 183,
|
|
591
591
|
column: 12
|
|
592
592
|
},
|
|
593
593
|
end: {
|
|
594
|
-
line:
|
|
594
|
+
line: 205,
|
|
595
595
|
column: 15
|
|
596
596
|
}
|
|
597
597
|
},
|
|
598
598
|
"57": {
|
|
599
599
|
start: {
|
|
600
|
-
line:
|
|
600
|
+
line: 184,
|
|
601
601
|
column: 16
|
|
602
602
|
},
|
|
603
603
|
end: {
|
|
604
|
-
line:
|
|
604
|
+
line: 185,
|
|
605
605
|
column: 37
|
|
606
606
|
}
|
|
607
607
|
},
|
|
608
608
|
"58": {
|
|
609
609
|
start: {
|
|
610
|
-
line:
|
|
610
|
+
line: 185,
|
|
611
611
|
column: 20
|
|
612
612
|
},
|
|
613
613
|
end: {
|
|
614
|
-
line:
|
|
614
|
+
line: 185,
|
|
615
615
|
column: 37
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
"59": {
|
|
619
619
|
start: {
|
|
620
|
-
line:
|
|
620
|
+
line: 191,
|
|
621
621
|
column: 30
|
|
622
622
|
},
|
|
623
623
|
end: {
|
|
624
|
-
line:
|
|
624
|
+
line: 191,
|
|
625
625
|
column: 91
|
|
626
626
|
}
|
|
627
627
|
},
|
|
628
628
|
"60": {
|
|
629
629
|
start: {
|
|
630
|
-
line:
|
|
630
|
+
line: 191,
|
|
631
631
|
column: 73
|
|
632
632
|
},
|
|
633
633
|
end: {
|
|
634
|
-
line:
|
|
634
|
+
line: 191,
|
|
635
635
|
column: 90
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
638
|
"61": {
|
|
639
639
|
start: {
|
|
640
|
-
line:
|
|
640
|
+
line: 192,
|
|
641
641
|
column: 16
|
|
642
642
|
},
|
|
643
643
|
end: {
|
|
644
|
-
line:
|
|
644
|
+
line: 200,
|
|
645
645
|
column: 17
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
"62": {
|
|
649
649
|
start: {
|
|
650
|
-
line:
|
|
650
|
+
line: 193,
|
|
651
651
|
column: 20
|
|
652
652
|
},
|
|
653
653
|
end: {
|
|
654
|
-
line:
|
|
654
|
+
line: 196,
|
|
655
655
|
column: 21
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"63": {
|
|
659
659
|
start: {
|
|
660
|
-
line:
|
|
660
|
+
line: 194,
|
|
661
661
|
column: 24
|
|
662
662
|
},
|
|
663
663
|
end: {
|
|
664
|
-
line:
|
|
664
|
+
line: 195,
|
|
665
665
|
column: 102
|
|
666
666
|
}
|
|
667
667
|
},
|
|
668
668
|
"64": {
|
|
669
669
|
start: {
|
|
670
|
-
line:
|
|
670
|
+
line: 195,
|
|
671
671
|
column: 28
|
|
672
672
|
},
|
|
673
673
|
end: {
|
|
674
|
-
line:
|
|
674
|
+
line: 195,
|
|
675
675
|
column: 102
|
|
676
676
|
}
|
|
677
677
|
},
|
|
678
678
|
"65": {
|
|
679
679
|
start: {
|
|
680
|
-
line:
|
|
680
|
+
line: 195,
|
|
681
681
|
column: 69
|
|
682
682
|
},
|
|
683
683
|
end: {
|
|
684
|
-
line:
|
|
684
|
+
line: 195,
|
|
685
685
|
column: 100
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
688
|
"66": {
|
|
689
689
|
start: {
|
|
690
|
-
line:
|
|
690
|
+
line: 199,
|
|
691
691
|
column: 20
|
|
692
692
|
},
|
|
693
693
|
end: {
|
|
694
|
-
line:
|
|
694
|
+
line: 199,
|
|
695
695
|
column: 33
|
|
696
696
|
}
|
|
697
697
|
},
|
|
698
698
|
"67": {
|
|
699
699
|
start: {
|
|
700
|
-
line:
|
|
700
|
+
line: 202,
|
|
701
701
|
column: 16
|
|
702
702
|
},
|
|
703
703
|
end: {
|
|
704
|
-
line:
|
|
704
|
+
line: 203,
|
|
705
705
|
column: 113
|
|
706
706
|
}
|
|
707
707
|
},
|
|
708
708
|
"68": {
|
|
709
709
|
start: {
|
|
710
|
-
line:
|
|
710
|
+
line: 203,
|
|
711
711
|
column: 20
|
|
712
712
|
},
|
|
713
713
|
end: {
|
|
714
|
-
line:
|
|
714
|
+
line: 203,
|
|
715
715
|
column: 113
|
|
716
716
|
}
|
|
717
717
|
},
|
|
718
718
|
"69": {
|
|
719
719
|
start: {
|
|
720
|
-
line:
|
|
720
|
+
line: 204,
|
|
721
721
|
column: 16
|
|
722
722
|
},
|
|
723
723
|
end: {
|
|
724
|
-
line:
|
|
724
|
+
line: 204,
|
|
725
725
|
column: 26
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
728
|
"70": {
|
|
729
729
|
start: {
|
|
730
|
-
line:
|
|
730
|
+
line: 207,
|
|
731
731
|
column: 8
|
|
732
732
|
},
|
|
733
733
|
end: {
|
|
734
|
-
line:
|
|
734
|
+
line: 207,
|
|
735
735
|
column: 51
|
|
736
736
|
}
|
|
737
737
|
},
|
|
738
738
|
"71": {
|
|
739
739
|
start: {
|
|
740
|
-
line:
|
|
740
|
+
line: 208,
|
|
741
741
|
column: 8
|
|
742
742
|
},
|
|
743
743
|
end: {
|
|
744
|
-
line:
|
|
744
|
+
line: 208,
|
|
745
745
|
column: 30
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
748
|
"72": {
|
|
749
749
|
start: {
|
|
750
|
-
line:
|
|
750
|
+
line: 212,
|
|
751
751
|
column: 8
|
|
752
752
|
},
|
|
753
753
|
end: {
|
|
754
|
-
line:
|
|
754
|
+
line: 212,
|
|
755
755
|
column: 38
|
|
756
756
|
}
|
|
757
757
|
},
|
|
758
758
|
"73": {
|
|
759
759
|
start: {
|
|
760
|
-
line:
|
|
760
|
+
line: 215,
|
|
761
761
|
column: 0
|
|
762
762
|
},
|
|
763
763
|
end: {
|
|
764
|
-
line:
|
|
764
|
+
line: 215,
|
|
765
765
|
column: 46
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
768
|
"74": {
|
|
769
769
|
start: {
|
|
770
|
-
line:
|
|
770
|
+
line: 217,
|
|
771
771
|
column: 16
|
|
772
772
|
},
|
|
773
773
|
end: {
|
|
774
|
-
line:
|
|
774
|
+
line: 217,
|
|
775
775
|
column: 83
|
|
776
776
|
}
|
|
777
777
|
},
|
|
778
778
|
"75": {
|
|
779
779
|
start: {
|
|
780
|
-
line:
|
|
780
|
+
line: 218,
|
|
781
781
|
column: 17
|
|
782
782
|
},
|
|
783
783
|
end: {
|
|
784
|
-
line:
|
|
784
|
+
line: 218,
|
|
785
785
|
column: 87
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
788
|
"76": {
|
|
789
789
|
start: {
|
|
790
|
-
line:
|
|
790
|
+
line: 219,
|
|
791
791
|
column: 18
|
|
792
792
|
},
|
|
793
793
|
end: {
|
|
794
|
-
line:
|
|
794
|
+
line: 219,
|
|
795
795
|
column: 86
|
|
796
796
|
}
|
|
797
797
|
},
|
|
798
798
|
"77": {
|
|
799
799
|
start: {
|
|
800
|
-
line:
|
|
800
|
+
line: 221,
|
|
801
801
|
column: 22
|
|
802
802
|
},
|
|
803
803
|
end: {
|
|
804
|
-
line:
|
|
804
|
+
line: 221,
|
|
805
805
|
column: 29
|
|
806
806
|
}
|
|
807
807
|
},
|
|
808
808
|
"78": {
|
|
809
809
|
start: {
|
|
810
|
-
line:
|
|
810
|
+
line: 222,
|
|
811
811
|
column: 8
|
|
812
812
|
},
|
|
813
813
|
end: {
|
|
814
|
-
line:
|
|
814
|
+
line: 225,
|
|
815
815
|
column: 9
|
|
816
816
|
}
|
|
817
817
|
},
|
|
818
818
|
"79": {
|
|
819
819
|
start: {
|
|
820
|
-
line:
|
|
820
|
+
line: 222,
|
|
821
821
|
column: 21
|
|
822
822
|
},
|
|
823
823
|
end: {
|
|
824
|
-
line:
|
|
824
|
+
line: 222,
|
|
825
825
|
column: 22
|
|
826
826
|
}
|
|
827
827
|
},
|
|
828
828
|
"80": {
|
|
829
829
|
start: {
|
|
830
|
-
line:
|
|
830
|
+
line: 223,
|
|
831
831
|
column: 12
|
|
832
832
|
},
|
|
833
833
|
end: {
|
|
834
|
-
line:
|
|
834
|
+
line: 224,
|
|
835
835
|
column: 44
|
|
836
836
|
}
|
|
837
837
|
},
|
|
838
838
|
"81": {
|
|
839
839
|
start: {
|
|
840
|
-
line:
|
|
840
|
+
line: 224,
|
|
841
841
|
column: 16
|
|
842
842
|
},
|
|
843
843
|
end: {
|
|
844
|
-
line:
|
|
844
|
+
line: 224,
|
|
845
845
|
column: 44
|
|
846
846
|
}
|
|
847
847
|
},
|
|
848
848
|
"82": {
|
|
849
849
|
start: {
|
|
850
|
-
line:
|
|
850
|
+
line: 226,
|
|
851
851
|
column: 8
|
|
852
852
|
},
|
|
853
853
|
end: {
|
|
854
|
-
line:
|
|
854
|
+
line: 226,
|
|
855
855
|
column: 23
|
|
856
856
|
}
|
|
857
857
|
},
|
|
858
858
|
"83": {
|
|
859
859
|
start: {
|
|
860
|
-
line:
|
|
860
|
+
line: 229,
|
|
861
861
|
column: 0
|
|
862
862
|
},
|
|
863
863
|
end: {
|
|
864
|
-
line:
|
|
864
|
+
line: 229,
|
|
865
865
|
column: 34
|
|
866
866
|
}
|
|
867
867
|
}
|
|
@@ -909,7 +909,7 @@ function cov_2l9mmpbx71() {
|
|
|
909
909
|
column: 25
|
|
910
910
|
},
|
|
911
911
|
end: {
|
|
912
|
-
line:
|
|
912
|
+
line: 50,
|
|
913
913
|
column: 5
|
|
914
914
|
}
|
|
915
915
|
},
|
|
@@ -919,481 +919,481 @@ function cov_2l9mmpbx71() {
|
|
|
919
919
|
name: "(anonymous_2)",
|
|
920
920
|
decl: {
|
|
921
921
|
start: {
|
|
922
|
-
line:
|
|
922
|
+
line: 51,
|
|
923
923
|
column: 4
|
|
924
924
|
},
|
|
925
925
|
end: {
|
|
926
|
-
line:
|
|
926
|
+
line: 51,
|
|
927
927
|
column: 5
|
|
928
928
|
}
|
|
929
929
|
},
|
|
930
930
|
loc: {
|
|
931
931
|
start: {
|
|
932
|
-
line:
|
|
932
|
+
line: 51,
|
|
933
933
|
column: 33
|
|
934
934
|
},
|
|
935
935
|
end: {
|
|
936
|
-
line:
|
|
936
|
+
line: 70,
|
|
937
937
|
column: 5
|
|
938
938
|
}
|
|
939
939
|
},
|
|
940
|
-
line:
|
|
940
|
+
line: 51
|
|
941
941
|
},
|
|
942
942
|
"3": {
|
|
943
943
|
name: "(anonymous_3)",
|
|
944
944
|
decl: {
|
|
945
945
|
start: {
|
|
946
|
-
line:
|
|
946
|
+
line: 87,
|
|
947
947
|
column: 4
|
|
948
948
|
},
|
|
949
949
|
end: {
|
|
950
|
-
line:
|
|
950
|
+
line: 87,
|
|
951
951
|
column: 5
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
loc: {
|
|
955
955
|
start: {
|
|
956
|
-
line:
|
|
956
|
+
line: 87,
|
|
957
957
|
column: 27
|
|
958
958
|
},
|
|
959
959
|
end: {
|
|
960
|
-
line:
|
|
960
|
+
line: 89,
|
|
961
961
|
column: 5
|
|
962
962
|
}
|
|
963
963
|
},
|
|
964
|
-
line:
|
|
964
|
+
line: 87
|
|
965
965
|
},
|
|
966
966
|
"4": {
|
|
967
967
|
name: "(anonymous_4)",
|
|
968
968
|
decl: {
|
|
969
969
|
start: {
|
|
970
|
-
line:
|
|
970
|
+
line: 88,
|
|
971
971
|
column: 44
|
|
972
972
|
},
|
|
973
973
|
end: {
|
|
974
|
-
line:
|
|
974
|
+
line: 88,
|
|
975
975
|
column: 45
|
|
976
976
|
}
|
|
977
977
|
},
|
|
978
978
|
loc: {
|
|
979
979
|
start: {
|
|
980
|
-
line:
|
|
980
|
+
line: 88,
|
|
981
981
|
column: 61
|
|
982
982
|
},
|
|
983
983
|
end: {
|
|
984
|
-
line:
|
|
984
|
+
line: 88,
|
|
985
985
|
column: 89
|
|
986
986
|
}
|
|
987
987
|
},
|
|
988
|
-
line:
|
|
988
|
+
line: 88
|
|
989
989
|
},
|
|
990
990
|
"5": {
|
|
991
991
|
name: "(anonymous_5)",
|
|
992
992
|
decl: {
|
|
993
993
|
start: {
|
|
994
|
-
line:
|
|
994
|
+
line: 103,
|
|
995
995
|
column: 4
|
|
996
996
|
},
|
|
997
997
|
end: {
|
|
998
|
-
line:
|
|
998
|
+
line: 103,
|
|
999
999
|
column: 5
|
|
1000
1000
|
}
|
|
1001
1001
|
},
|
|
1002
1002
|
loc: {
|
|
1003
1003
|
start: {
|
|
1004
|
-
line:
|
|
1004
|
+
line: 103,
|
|
1005
1005
|
column: 37
|
|
1006
1006
|
},
|
|
1007
1007
|
end: {
|
|
1008
|
-
line:
|
|
1008
|
+
line: 112,
|
|
1009
1009
|
column: 5
|
|
1010
1010
|
}
|
|
1011
1011
|
},
|
|
1012
|
-
line:
|
|
1012
|
+
line: 103
|
|
1013
1013
|
},
|
|
1014
1014
|
"6": {
|
|
1015
1015
|
name: "(anonymous_6)",
|
|
1016
1016
|
decl: {
|
|
1017
1017
|
start: {
|
|
1018
|
-
line:
|
|
1018
|
+
line: 121,
|
|
1019
1019
|
column: 4
|
|
1020
1020
|
},
|
|
1021
1021
|
end: {
|
|
1022
|
-
line:
|
|
1022
|
+
line: 121,
|
|
1023
1023
|
column: 5
|
|
1024
1024
|
}
|
|
1025
1025
|
},
|
|
1026
1026
|
loc: {
|
|
1027
1027
|
start: {
|
|
1028
|
-
line:
|
|
1028
|
+
line: 121,
|
|
1029
1029
|
column: 61
|
|
1030
1030
|
},
|
|
1031
1031
|
end: {
|
|
1032
|
-
line:
|
|
1032
|
+
line: 132,
|
|
1033
1033
|
column: 5
|
|
1034
1034
|
}
|
|
1035
1035
|
},
|
|
1036
|
-
line:
|
|
1036
|
+
line: 121
|
|
1037
1037
|
},
|
|
1038
1038
|
"7": {
|
|
1039
1039
|
name: "(anonymous_7)",
|
|
1040
1040
|
decl: {
|
|
1041
1041
|
start: {
|
|
1042
|
-
line:
|
|
1042
|
+
line: 127,
|
|
1043
1043
|
column: 30
|
|
1044
1044
|
},
|
|
1045
1045
|
end: {
|
|
1046
|
-
line:
|
|
1046
|
+
line: 127,
|
|
1047
1047
|
column: 31
|
|
1048
1048
|
}
|
|
1049
1049
|
},
|
|
1050
1050
|
loc: {
|
|
1051
1051
|
start: {
|
|
1052
|
-
line:
|
|
1052
|
+
line: 127,
|
|
1053
1053
|
column: 42
|
|
1054
1054
|
},
|
|
1055
1055
|
end: {
|
|
1056
|
-
line:
|
|
1056
|
+
line: 129,
|
|
1057
1057
|
column: 13
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
1060
|
-
line:
|
|
1060
|
+
line: 127
|
|
1061
1061
|
},
|
|
1062
1062
|
"8": {
|
|
1063
1063
|
name: "(anonymous_8)",
|
|
1064
1064
|
decl: {
|
|
1065
1065
|
start: {
|
|
1066
|
-
line:
|
|
1066
|
+
line: 140,
|
|
1067
1067
|
column: 4
|
|
1068
1068
|
},
|
|
1069
1069
|
end: {
|
|
1070
|
-
line:
|
|
1070
|
+
line: 140,
|
|
1071
1071
|
column: 5
|
|
1072
1072
|
}
|
|
1073
1073
|
},
|
|
1074
1074
|
loc: {
|
|
1075
1075
|
start: {
|
|
1076
|
-
line:
|
|
1076
|
+
line: 140,
|
|
1077
1077
|
column: 46
|
|
1078
1078
|
},
|
|
1079
1079
|
end: {
|
|
1080
|
-
line:
|
|
1080
|
+
line: 153,
|
|
1081
1081
|
column: 5
|
|
1082
1082
|
}
|
|
1083
1083
|
},
|
|
1084
|
-
line:
|
|
1084
|
+
line: 140
|
|
1085
1085
|
},
|
|
1086
1086
|
"9": {
|
|
1087
1087
|
name: "(anonymous_9)",
|
|
1088
1088
|
decl: {
|
|
1089
1089
|
start: {
|
|
1090
|
-
line:
|
|
1090
|
+
line: 158,
|
|
1091
1091
|
column: 4
|
|
1092
1092
|
},
|
|
1093
1093
|
end: {
|
|
1094
|
-
line:
|
|
1094
|
+
line: 158,
|
|
1095
1095
|
column: 5
|
|
1096
1096
|
}
|
|
1097
1097
|
},
|
|
1098
1098
|
loc: {
|
|
1099
1099
|
start: {
|
|
1100
|
-
line:
|
|
1100
|
+
line: 158,
|
|
1101
1101
|
column: 30
|
|
1102
1102
|
},
|
|
1103
1103
|
end: {
|
|
1104
|
-
line:
|
|
1104
|
+
line: 160,
|
|
1105
1105
|
column: 5
|
|
1106
1106
|
}
|
|
1107
1107
|
},
|
|
1108
|
-
line:
|
|
1108
|
+
line: 158
|
|
1109
1109
|
},
|
|
1110
1110
|
"10": {
|
|
1111
1111
|
name: "(anonymous_10)",
|
|
1112
1112
|
decl: {
|
|
1113
1113
|
start: {
|
|
1114
|
-
line:
|
|
1114
|
+
line: 162,
|
|
1115
1115
|
column: 4
|
|
1116
1116
|
},
|
|
1117
1117
|
end: {
|
|
1118
|
-
line:
|
|
1118
|
+
line: 162,
|
|
1119
1119
|
column: 5
|
|
1120
1120
|
}
|
|
1121
1121
|
},
|
|
1122
1122
|
loc: {
|
|
1123
1123
|
start: {
|
|
1124
|
-
line:
|
|
1124
|
+
line: 162,
|
|
1125
1125
|
column: 22
|
|
1126
1126
|
},
|
|
1127
1127
|
end: {
|
|
1128
|
-
line:
|
|
1128
|
+
line: 164,
|
|
1129
1129
|
column: 5
|
|
1130
1130
|
}
|
|
1131
1131
|
},
|
|
1132
|
-
line:
|
|
1132
|
+
line: 162
|
|
1133
1133
|
},
|
|
1134
1134
|
"11": {
|
|
1135
1135
|
name: "(anonymous_11)",
|
|
1136
1136
|
decl: {
|
|
1137
1137
|
start: {
|
|
1138
|
-
line:
|
|
1138
|
+
line: 166,
|
|
1139
1139
|
column: 4
|
|
1140
1140
|
},
|
|
1141
1141
|
end: {
|
|
1142
|
-
line:
|
|
1142
|
+
line: 166,
|
|
1143
1143
|
column: 5
|
|
1144
1144
|
}
|
|
1145
1145
|
},
|
|
1146
1146
|
loc: {
|
|
1147
1147
|
start: {
|
|
1148
|
-
line:
|
|
1148
|
+
line: 166,
|
|
1149
1149
|
column: 35
|
|
1150
1150
|
},
|
|
1151
1151
|
end: {
|
|
1152
|
-
line:
|
|
1152
|
+
line: 168,
|
|
1153
1153
|
column: 5
|
|
1154
1154
|
}
|
|
1155
1155
|
},
|
|
1156
|
-
line:
|
|
1156
|
+
line: 166
|
|
1157
1157
|
},
|
|
1158
1158
|
"12": {
|
|
1159
1159
|
name: "(anonymous_12)",
|
|
1160
1160
|
decl: {
|
|
1161
1161
|
start: {
|
|
1162
|
-
line:
|
|
1162
|
+
line: 177,
|
|
1163
1163
|
column: 4
|
|
1164
1164
|
},
|
|
1165
1165
|
end: {
|
|
1166
|
-
line:
|
|
1166
|
+
line: 177,
|
|
1167
1167
|
column: 5
|
|
1168
1168
|
}
|
|
1169
1169
|
},
|
|
1170
1170
|
loc: {
|
|
1171
1171
|
start: {
|
|
1172
|
-
line:
|
|
1172
|
+
line: 177,
|
|
1173
1173
|
column: 34
|
|
1174
1174
|
},
|
|
1175
1175
|
end: {
|
|
1176
|
-
line:
|
|
1176
|
+
line: 209,
|
|
1177
1177
|
column: 5
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
|
-
line:
|
|
1180
|
+
line: 177
|
|
1181
1181
|
},
|
|
1182
1182
|
"13": {
|
|
1183
1183
|
name: "(anonymous_13)",
|
|
1184
1184
|
decl: {
|
|
1185
1185
|
start: {
|
|
1186
|
-
line:
|
|
1186
|
+
line: 181,
|
|
1187
1187
|
column: 43
|
|
1188
1188
|
},
|
|
1189
1189
|
end: {
|
|
1190
|
-
line:
|
|
1190
|
+
line: 181,
|
|
1191
1191
|
column: 44
|
|
1192
1192
|
}
|
|
1193
1193
|
},
|
|
1194
1194
|
loc: {
|
|
1195
1195
|
start: {
|
|
1196
|
-
line:
|
|
1196
|
+
line: 181,
|
|
1197
1197
|
column: 56
|
|
1198
1198
|
},
|
|
1199
1199
|
end: {
|
|
1200
|
-
line:
|
|
1200
|
+
line: 206,
|
|
1201
1201
|
column: 9
|
|
1202
1202
|
}
|
|
1203
1203
|
},
|
|
1204
|
-
line:
|
|
1204
|
+
line: 181
|
|
1205
1205
|
},
|
|
1206
1206
|
"14": {
|
|
1207
1207
|
name: "(anonymous_14)",
|
|
1208
1208
|
decl: {
|
|
1209
1209
|
start: {
|
|
1210
|
-
line:
|
|
1210
|
+
line: 183,
|
|
1211
1211
|
column: 46
|
|
1212
1212
|
},
|
|
1213
1213
|
end: {
|
|
1214
|
-
line:
|
|
1214
|
+
line: 183,
|
|
1215
1215
|
column: 47
|
|
1216
1216
|
}
|
|
1217
1217
|
},
|
|
1218
1218
|
loc: {
|
|
1219
1219
|
start: {
|
|
1220
|
-
line:
|
|
1220
|
+
line: 183,
|
|
1221
1221
|
column: 55
|
|
1222
1222
|
},
|
|
1223
1223
|
end: {
|
|
1224
|
-
line:
|
|
1224
|
+
line: 205,
|
|
1225
1225
|
column: 13
|
|
1226
1226
|
}
|
|
1227
1227
|
},
|
|
1228
|
-
line:
|
|
1228
|
+
line: 183
|
|
1229
1229
|
},
|
|
1230
1230
|
"15": {
|
|
1231
1231
|
name: "(anonymous_15)",
|
|
1232
1232
|
decl: {
|
|
1233
1233
|
start: {
|
|
1234
|
-
line:
|
|
1234
|
+
line: 191,
|
|
1235
1235
|
column: 57
|
|
1236
1236
|
},
|
|
1237
1237
|
end: {
|
|
1238
|
-
line:
|
|
1238
|
+
line: 191,
|
|
1239
1239
|
column: 58
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
1242
|
loc: {
|
|
1243
1243
|
start: {
|
|
1244
|
-
line:
|
|
1244
|
+
line: 191,
|
|
1245
1245
|
column: 73
|
|
1246
1246
|
},
|
|
1247
1247
|
end: {
|
|
1248
|
-
line:
|
|
1248
|
+
line: 191,
|
|
1249
1249
|
column: 90
|
|
1250
1250
|
}
|
|
1251
1251
|
},
|
|
1252
|
-
line:
|
|
1252
|
+
line: 191
|
|
1253
1253
|
},
|
|
1254
1254
|
"16": {
|
|
1255
1255
|
name: "(anonymous_16)",
|
|
1256
1256
|
decl: {
|
|
1257
1257
|
start: {
|
|
1258
|
-
line:
|
|
1258
|
+
line: 195,
|
|
1259
1259
|
column: 53
|
|
1260
1260
|
},
|
|
1261
1261
|
end: {
|
|
1262
|
-
line:
|
|
1262
|
+
line: 195,
|
|
1263
1263
|
column: 54
|
|
1264
1264
|
}
|
|
1265
1265
|
},
|
|
1266
1266
|
loc: {
|
|
1267
1267
|
start: {
|
|
1268
|
-
line:
|
|
1268
|
+
line: 195,
|
|
1269
1269
|
column: 69
|
|
1270
1270
|
},
|
|
1271
1271
|
end: {
|
|
1272
|
-
line:
|
|
1272
|
+
line: 195,
|
|
1273
1273
|
column: 100
|
|
1274
1274
|
}
|
|
1275
1275
|
},
|
|
1276
|
-
line:
|
|
1276
|
+
line: 195
|
|
1277
1277
|
},
|
|
1278
1278
|
"17": {
|
|
1279
1279
|
name: "(anonymous_17)",
|
|
1280
1280
|
decl: {
|
|
1281
1281
|
start: {
|
|
1282
|
-
line:
|
|
1282
|
+
line: 211,
|
|
1283
1283
|
column: 4
|
|
1284
1284
|
},
|
|
1285
1285
|
end: {
|
|
1286
|
-
line:
|
|
1286
|
+
line: 211,
|
|
1287
1287
|
column: 5
|
|
1288
1288
|
}
|
|
1289
1289
|
},
|
|
1290
1290
|
loc: {
|
|
1291
1291
|
start: {
|
|
1292
|
-
line:
|
|
1292
|
+
line: 211,
|
|
1293
1293
|
column: 30
|
|
1294
1294
|
},
|
|
1295
1295
|
end: {
|
|
1296
|
-
line:
|
|
1296
|
+
line: 213,
|
|
1297
1297
|
column: 5
|
|
1298
1298
|
}
|
|
1299
1299
|
},
|
|
1300
|
-
line:
|
|
1300
|
+
line: 211
|
|
1301
1301
|
},
|
|
1302
1302
|
"18": {
|
|
1303
1303
|
name: "(anonymous_18)",
|
|
1304
1304
|
decl: {
|
|
1305
1305
|
start: {
|
|
1306
|
-
line:
|
|
1306
|
+
line: 217,
|
|
1307
1307
|
column: 4
|
|
1308
1308
|
},
|
|
1309
1309
|
end: {
|
|
1310
|
-
line:
|
|
1310
|
+
line: 217,
|
|
1311
1311
|
column: 5
|
|
1312
1312
|
}
|
|
1313
1313
|
},
|
|
1314
1314
|
loc: {
|
|
1315
1315
|
start: {
|
|
1316
|
-
line:
|
|
1316
|
+
line: 217,
|
|
1317
1317
|
column: 14
|
|
1318
1318
|
},
|
|
1319
1319
|
end: {
|
|
1320
|
-
line:
|
|
1320
|
+
line: 217,
|
|
1321
1321
|
column: 85
|
|
1322
1322
|
}
|
|
1323
1323
|
},
|
|
1324
|
-
line:
|
|
1324
|
+
line: 217
|
|
1325
1325
|
},
|
|
1326
1326
|
"19": {
|
|
1327
1327
|
name: "(anonymous_19)",
|
|
1328
1328
|
decl: {
|
|
1329
1329
|
start: {
|
|
1330
|
-
line:
|
|
1330
|
+
line: 218,
|
|
1331
1331
|
column: 4
|
|
1332
1332
|
},
|
|
1333
1333
|
end: {
|
|
1334
|
-
line:
|
|
1334
|
+
line: 218,
|
|
1335
1335
|
column: 5
|
|
1336
1336
|
}
|
|
1337
1337
|
},
|
|
1338
1338
|
loc: {
|
|
1339
1339
|
start: {
|
|
1340
|
-
line:
|
|
1340
|
+
line: 218,
|
|
1341
1341
|
column: 15
|
|
1342
1342
|
},
|
|
1343
1343
|
end: {
|
|
1344
|
-
line:
|
|
1344
|
+
line: 218,
|
|
1345
1345
|
column: 89
|
|
1346
1346
|
}
|
|
1347
1347
|
},
|
|
1348
|
-
line:
|
|
1348
|
+
line: 218
|
|
1349
1349
|
},
|
|
1350
1350
|
"20": {
|
|
1351
1351
|
name: "(anonymous_20)",
|
|
1352
1352
|
decl: {
|
|
1353
1353
|
start: {
|
|
1354
|
-
line:
|
|
1354
|
+
line: 219,
|
|
1355
1355
|
column: 4
|
|
1356
1356
|
},
|
|
1357
1357
|
end: {
|
|
1358
|
-
line:
|
|
1358
|
+
line: 219,
|
|
1359
1359
|
column: 5
|
|
1360
1360
|
}
|
|
1361
1361
|
},
|
|
1362
1362
|
loc: {
|
|
1363
1363
|
start: {
|
|
1364
|
-
line:
|
|
1364
|
+
line: 219,
|
|
1365
1365
|
column: 16
|
|
1366
1366
|
},
|
|
1367
1367
|
end: {
|
|
1368
|
-
line:
|
|
1368
|
+
line: 219,
|
|
1369
1369
|
column: 88
|
|
1370
1370
|
}
|
|
1371
1371
|
},
|
|
1372
|
-
line:
|
|
1372
|
+
line: 219
|
|
1373
1373
|
},
|
|
1374
1374
|
"21": {
|
|
1375
1375
|
name: "(anonymous_21)",
|
|
1376
1376
|
decl: {
|
|
1377
1377
|
start: {
|
|
1378
|
-
line:
|
|
1378
|
+
line: 220,
|
|
1379
1379
|
column: 4
|
|
1380
1380
|
},
|
|
1381
1381
|
end: {
|
|
1382
|
-
line:
|
|
1382
|
+
line: 220,
|
|
1383
1383
|
column: 5
|
|
1384
1384
|
}
|
|
1385
1385
|
},
|
|
1386
1386
|
loc: {
|
|
1387
1387
|
start: {
|
|
1388
|
-
line:
|
|
1388
|
+
line: 220,
|
|
1389
1389
|
column: 27
|
|
1390
1390
|
},
|
|
1391
1391
|
end: {
|
|
1392
|
-
line:
|
|
1392
|
+
line: 227,
|
|
1393
1393
|
column: 5
|
|
1394
1394
|
}
|
|
1395
1395
|
},
|
|
1396
|
-
line:
|
|
1396
|
+
line: 220
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
1399
|
branchMap: {
|
|
@@ -1508,980 +1508,188 @@ function cov_2l9mmpbx71() {
|
|
|
1508
1508
|
"3": {
|
|
1509
1509
|
loc: {
|
|
1510
1510
|
start: {
|
|
1511
|
-
line:
|
|
1511
|
+
line: 28,
|
|
1512
1512
|
column: 22
|
|
1513
1513
|
},
|
|
1514
1514
|
end: {
|
|
1515
|
-
line:
|
|
1516
|
-
column:
|
|
1515
|
+
line: 28,
|
|
1516
|
+
column: 75
|
|
1517
1517
|
}
|
|
1518
1518
|
},
|
|
1519
|
-
type: "
|
|
1519
|
+
type: "binary-expr",
|
|
1520
1520
|
locations: [{
|
|
1521
1521
|
start: {
|
|
1522
|
-
line:
|
|
1523
|
-
column:
|
|
1524
|
-
},
|
|
1525
|
-
end: {
|
|
1526
|
-
line: 29,
|
|
1527
|
-
column: 129
|
|
1528
|
-
}
|
|
1529
|
-
}, {
|
|
1530
|
-
start: {
|
|
1531
|
-
line: 29,
|
|
1532
|
-
column: 132
|
|
1533
|
-
},
|
|
1534
|
-
end: {
|
|
1535
|
-
line: 29,
|
|
1536
|
-
column: 161
|
|
1537
|
-
}
|
|
1538
|
-
}],
|
|
1539
|
-
line: 29
|
|
1540
|
-
},
|
|
1541
|
-
"4": {
|
|
1542
|
-
loc: {
|
|
1543
|
-
start: {
|
|
1544
|
-
line: 29,
|
|
1545
|
-
column: 22
|
|
1546
|
-
},
|
|
1547
|
-
end: {
|
|
1548
|
-
line: 29,
|
|
1549
|
-
column: 124
|
|
1550
|
-
}
|
|
1551
|
-
},
|
|
1552
|
-
type: "binary-expr",
|
|
1553
|
-
locations: [{
|
|
1554
|
-
start: {
|
|
1555
|
-
line: 29,
|
|
1556
|
-
column: 22
|
|
1557
|
-
},
|
|
1558
|
-
end: {
|
|
1559
|
-
line: 29,
|
|
1560
|
-
column: 107
|
|
1561
|
-
}
|
|
1562
|
-
}, {
|
|
1563
|
-
start: {
|
|
1564
|
-
line: 29,
|
|
1565
|
-
column: 111
|
|
1566
|
-
},
|
|
1567
|
-
end: {
|
|
1568
|
-
line: 29,
|
|
1569
|
-
column: 124
|
|
1570
|
-
}
|
|
1571
|
-
}],
|
|
1572
|
-
line: 29
|
|
1573
|
-
},
|
|
1574
|
-
"5": {
|
|
1575
|
-
loc: {
|
|
1576
|
-
start: {
|
|
1577
|
-
line: 29,
|
|
1578
|
-
column: 28
|
|
1579
|
-
},
|
|
1580
|
-
end: {
|
|
1581
|
-
line: 29,
|
|
1582
|
-
column: 97
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
type: "cond-expr",
|
|
1586
|
-
locations: [{
|
|
1587
|
-
start: {
|
|
1588
|
-
line: 29,
|
|
1589
|
-
column: 69
|
|
1590
|
-
},
|
|
1591
|
-
end: {
|
|
1592
|
-
line: 29,
|
|
1593
|
-
column: 75
|
|
1594
|
-
}
|
|
1595
|
-
}, {
|
|
1596
|
-
start: {
|
|
1597
|
-
line: 29,
|
|
1598
|
-
column: 78
|
|
1599
|
-
},
|
|
1600
|
-
end: {
|
|
1601
|
-
line: 29,
|
|
1602
|
-
column: 97
|
|
1603
|
-
}
|
|
1604
|
-
}],
|
|
1605
|
-
line: 29
|
|
1606
|
-
},
|
|
1607
|
-
"6": {
|
|
1608
|
-
loc: {
|
|
1609
|
-
start: {
|
|
1610
|
-
line: 29,
|
|
1611
|
-
column: 28
|
|
1612
|
-
},
|
|
1613
|
-
end: {
|
|
1614
|
-
line: 29,
|
|
1615
|
-
column: 66
|
|
1616
|
-
}
|
|
1617
|
-
},
|
|
1618
|
-
type: "binary-expr",
|
|
1619
|
-
locations: [{
|
|
1620
|
-
start: {
|
|
1621
|
-
line: 29,
|
|
1622
|
-
column: 28
|
|
1623
|
-
},
|
|
1624
|
-
end: {
|
|
1625
|
-
line: 29,
|
|
1626
|
-
column: 44
|
|
1627
|
-
}
|
|
1628
|
-
}, {
|
|
1629
|
-
start: {
|
|
1630
|
-
line: 29,
|
|
1631
|
-
column: 48
|
|
1632
|
-
},
|
|
1633
|
-
end: {
|
|
1634
|
-
line: 29,
|
|
1635
|
-
column: 66
|
|
1636
|
-
}
|
|
1637
|
-
}],
|
|
1638
|
-
line: 29
|
|
1639
|
-
},
|
|
1640
|
-
"7": {
|
|
1641
|
-
loc: {
|
|
1642
|
-
start: {
|
|
1643
|
-
line: 31,
|
|
1644
|
-
column: 15
|
|
1645
|
-
},
|
|
1646
|
-
end: {
|
|
1647
|
-
line: 31,
|
|
1648
|
-
column: 91
|
|
1649
|
-
}
|
|
1650
|
-
},
|
|
1651
|
-
type: "cond-expr",
|
|
1652
|
-
locations: [{
|
|
1653
|
-
start: {
|
|
1654
|
-
line: 31,
|
|
1655
|
-
column: 56
|
|
1656
|
-
},
|
|
1657
|
-
end: {
|
|
1658
|
-
line: 31,
|
|
1659
|
-
column: 62
|
|
1660
|
-
}
|
|
1661
|
-
}, {
|
|
1662
|
-
start: {
|
|
1663
|
-
line: 31,
|
|
1664
|
-
column: 65
|
|
1665
|
-
},
|
|
1666
|
-
end: {
|
|
1667
|
-
line: 31,
|
|
1668
|
-
column: 91
|
|
1669
|
-
}
|
|
1670
|
-
}],
|
|
1671
|
-
line: 31
|
|
1672
|
-
},
|
|
1673
|
-
"8": {
|
|
1674
|
-
loc: {
|
|
1675
|
-
start: {
|
|
1676
|
-
line: 31,
|
|
1677
|
-
column: 15
|
|
1678
|
-
},
|
|
1679
|
-
end: {
|
|
1680
|
-
line: 31,
|
|
1681
|
-
column: 53
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
type: "binary-expr",
|
|
1685
|
-
locations: [{
|
|
1686
|
-
start: {
|
|
1687
|
-
line: 31,
|
|
1688
|
-
column: 15
|
|
1689
|
-
},
|
|
1690
|
-
end: {
|
|
1691
|
-
line: 31,
|
|
1692
|
-
column: 31
|
|
1693
|
-
}
|
|
1694
|
-
}, {
|
|
1695
|
-
start: {
|
|
1696
|
-
line: 31,
|
|
1697
|
-
column: 35
|
|
1698
|
-
},
|
|
1699
|
-
end: {
|
|
1700
|
-
line: 31,
|
|
1701
|
-
column: 53
|
|
1702
|
-
}
|
|
1703
|
-
}],
|
|
1704
|
-
line: 31
|
|
1705
|
-
},
|
|
1706
|
-
"9": {
|
|
1707
|
-
loc: {
|
|
1708
|
-
start: {
|
|
1709
|
-
line: 37,
|
|
1710
|
-
column: 15
|
|
1711
|
-
},
|
|
1712
|
-
end: {
|
|
1713
|
-
line: 37,
|
|
1714
|
-
column: 88
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
type: "cond-expr",
|
|
1718
|
-
locations: [{
|
|
1719
|
-
start: {
|
|
1720
|
-
line: 37,
|
|
1721
|
-
column: 56
|
|
1722
|
-
},
|
|
1723
|
-
end: {
|
|
1724
|
-
line: 37,
|
|
1725
|
-
column: 62
|
|
1726
|
-
}
|
|
1727
|
-
}, {
|
|
1728
|
-
start: {
|
|
1729
|
-
line: 37,
|
|
1730
|
-
column: 65
|
|
1731
|
-
},
|
|
1732
|
-
end: {
|
|
1733
|
-
line: 37,
|
|
1734
|
-
column: 88
|
|
1735
|
-
}
|
|
1736
|
-
}],
|
|
1737
|
-
line: 37
|
|
1738
|
-
},
|
|
1739
|
-
"10": {
|
|
1740
|
-
loc: {
|
|
1741
|
-
start: {
|
|
1742
|
-
line: 37,
|
|
1743
|
-
column: 15
|
|
1744
|
-
},
|
|
1745
|
-
end: {
|
|
1746
|
-
line: 37,
|
|
1747
|
-
column: 53
|
|
1748
|
-
}
|
|
1749
|
-
},
|
|
1750
|
-
type: "binary-expr",
|
|
1751
|
-
locations: [{
|
|
1752
|
-
start: {
|
|
1753
|
-
line: 37,
|
|
1754
|
-
column: 15
|
|
1755
|
-
},
|
|
1756
|
-
end: {
|
|
1757
|
-
line: 37,
|
|
1758
|
-
column: 31
|
|
1759
|
-
}
|
|
1760
|
-
}, {
|
|
1761
|
-
start: {
|
|
1762
|
-
line: 37,
|
|
1763
|
-
column: 35
|
|
1764
|
-
},
|
|
1765
|
-
end: {
|
|
1766
|
-
line: 37,
|
|
1767
|
-
column: 53
|
|
1768
|
-
}
|
|
1769
|
-
}],
|
|
1770
|
-
line: 37
|
|
1771
|
-
},
|
|
1772
|
-
"11": {
|
|
1773
|
-
loc: {
|
|
1774
|
-
start: {
|
|
1775
|
-
line: 45,
|
|
1776
|
-
column: 15
|
|
1777
|
-
},
|
|
1778
|
-
end: {
|
|
1779
|
-
line: 45,
|
|
1780
|
-
column: 84
|
|
1781
|
-
}
|
|
1782
|
-
},
|
|
1783
|
-
type: "cond-expr",
|
|
1784
|
-
locations: [{
|
|
1785
|
-
start: {
|
|
1786
|
-
line: 45,
|
|
1787
|
-
column: 56
|
|
1788
|
-
},
|
|
1789
|
-
end: {
|
|
1790
|
-
line: 45,
|
|
1791
|
-
column: 62
|
|
1792
|
-
}
|
|
1793
|
-
}, {
|
|
1794
|
-
start: {
|
|
1795
|
-
line: 45,
|
|
1796
|
-
column: 65
|
|
1797
|
-
},
|
|
1798
|
-
end: {
|
|
1799
|
-
line: 45,
|
|
1800
|
-
column: 84
|
|
1801
|
-
}
|
|
1802
|
-
}],
|
|
1803
|
-
line: 45
|
|
1804
|
-
},
|
|
1805
|
-
"12": {
|
|
1806
|
-
loc: {
|
|
1807
|
-
start: {
|
|
1808
|
-
line: 45,
|
|
1809
|
-
column: 15
|
|
1810
|
-
},
|
|
1811
|
-
end: {
|
|
1812
|
-
line: 45,
|
|
1813
|
-
column: 53
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
type: "binary-expr",
|
|
1817
|
-
locations: [{
|
|
1818
|
-
start: {
|
|
1819
|
-
line: 45,
|
|
1820
|
-
column: 15
|
|
1821
|
-
},
|
|
1822
|
-
end: {
|
|
1823
|
-
line: 45,
|
|
1824
|
-
column: 31
|
|
1825
|
-
}
|
|
1826
|
-
}, {
|
|
1827
|
-
start: {
|
|
1828
|
-
line: 45,
|
|
1829
|
-
column: 35
|
|
1830
|
-
},
|
|
1831
|
-
end: {
|
|
1832
|
-
line: 45,
|
|
1833
|
-
column: 53
|
|
1834
|
-
}
|
|
1835
|
-
}],
|
|
1836
|
-
line: 45
|
|
1837
|
-
},
|
|
1838
|
-
"13": {
|
|
1839
|
-
loc: {
|
|
1840
|
-
start: {
|
|
1841
|
-
line: 48,
|
|
1842
|
-
column: 17
|
|
1843
|
-
},
|
|
1844
|
-
end: {
|
|
1845
|
-
line: 48,
|
|
1846
|
-
column: 172
|
|
1847
|
-
}
|
|
1848
|
-
},
|
|
1849
|
-
type: "cond-expr",
|
|
1850
|
-
locations: [{
|
|
1851
|
-
start: {
|
|
1852
|
-
line: 48,
|
|
1853
|
-
column: 125
|
|
1854
|
-
},
|
|
1855
|
-
end: {
|
|
1856
|
-
line: 48,
|
|
1857
|
-
column: 127
|
|
1858
|
-
}
|
|
1859
|
-
}, {
|
|
1860
|
-
start: {
|
|
1861
|
-
line: 48,
|
|
1862
|
-
column: 130
|
|
1863
|
-
},
|
|
1864
|
-
end: {
|
|
1865
|
-
line: 48,
|
|
1866
|
-
column: 172
|
|
1867
|
-
}
|
|
1868
|
-
}],
|
|
1869
|
-
line: 48
|
|
1870
|
-
},
|
|
1871
|
-
"14": {
|
|
1872
|
-
loc: {
|
|
1873
|
-
start: {
|
|
1874
|
-
line: 48,
|
|
1875
|
-
column: 17
|
|
1876
|
-
},
|
|
1877
|
-
end: {
|
|
1878
|
-
line: 48,
|
|
1879
|
-
column: 122
|
|
1880
|
-
}
|
|
1881
|
-
},
|
|
1882
|
-
type: "binary-expr",
|
|
1883
|
-
locations: [{
|
|
1884
|
-
start: {
|
|
1885
|
-
line: 48,
|
|
1886
|
-
column: 17
|
|
1887
|
-
},
|
|
1888
|
-
end: {
|
|
1889
|
-
line: 48,
|
|
1890
|
-
column: 105
|
|
1891
|
-
}
|
|
1892
|
-
}, {
|
|
1893
|
-
start: {
|
|
1894
|
-
line: 48,
|
|
1895
|
-
column: 109
|
|
1896
|
-
},
|
|
1897
|
-
end: {
|
|
1898
|
-
line: 48,
|
|
1899
|
-
column: 122
|
|
1900
|
-
}
|
|
1901
|
-
}],
|
|
1902
|
-
line: 48
|
|
1903
|
-
},
|
|
1904
|
-
"15": {
|
|
1905
|
-
loc: {
|
|
1906
|
-
start: {
|
|
1907
|
-
line: 48,
|
|
1908
|
-
column: 23
|
|
1909
|
-
},
|
|
1910
|
-
end: {
|
|
1911
|
-
line: 48,
|
|
1912
|
-
column: 95
|
|
1913
|
-
}
|
|
1914
|
-
},
|
|
1915
|
-
type: "cond-expr",
|
|
1916
|
-
locations: [{
|
|
1917
|
-
start: {
|
|
1918
|
-
line: 48,
|
|
1919
|
-
column: 64
|
|
1920
|
-
},
|
|
1921
|
-
end: {
|
|
1922
|
-
line: 48,
|
|
1923
|
-
column: 70
|
|
1924
|
-
}
|
|
1925
|
-
}, {
|
|
1926
|
-
start: {
|
|
1927
|
-
line: 48,
|
|
1928
|
-
column: 73
|
|
1929
|
-
},
|
|
1930
|
-
end: {
|
|
1931
|
-
line: 48,
|
|
1932
|
-
column: 95
|
|
1933
|
-
}
|
|
1934
|
-
}],
|
|
1935
|
-
line: 48
|
|
1936
|
-
},
|
|
1937
|
-
"16": {
|
|
1938
|
-
loc: {
|
|
1939
|
-
start: {
|
|
1940
|
-
line: 48,
|
|
1941
|
-
column: 23
|
|
1942
|
-
},
|
|
1943
|
-
end: {
|
|
1944
|
-
line: 48,
|
|
1945
|
-
column: 61
|
|
1946
|
-
}
|
|
1947
|
-
},
|
|
1948
|
-
type: "binary-expr",
|
|
1949
|
-
locations: [{
|
|
1950
|
-
start: {
|
|
1951
|
-
line: 48,
|
|
1952
|
-
column: 23
|
|
1953
|
-
},
|
|
1954
|
-
end: {
|
|
1955
|
-
line: 48,
|
|
1956
|
-
column: 39
|
|
1957
|
-
}
|
|
1958
|
-
}, {
|
|
1959
|
-
start: {
|
|
1960
|
-
line: 48,
|
|
1961
|
-
column: 43
|
|
1962
|
-
},
|
|
1963
|
-
end: {
|
|
1964
|
-
line: 48,
|
|
1965
|
-
column: 61
|
|
1966
|
-
}
|
|
1967
|
-
}],
|
|
1968
|
-
line: 48
|
|
1969
|
-
},
|
|
1970
|
-
"17": {
|
|
1971
|
-
loc: {
|
|
1972
|
-
start: {
|
|
1973
|
-
line: 49,
|
|
1974
|
-
column: 17
|
|
1975
|
-
},
|
|
1976
|
-
end: {
|
|
1977
|
-
line: 49,
|
|
1978
|
-
column: 159
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
type: "cond-expr",
|
|
1982
|
-
locations: [{
|
|
1983
|
-
start: {
|
|
1984
|
-
line: 49,
|
|
1985
|
-
column: 124
|
|
1986
|
-
},
|
|
1987
|
-
end: {
|
|
1988
|
-
line: 49,
|
|
1989
|
-
column: 126
|
|
1990
|
-
}
|
|
1991
|
-
}, {
|
|
1992
|
-
start: {
|
|
1993
|
-
line: 49,
|
|
1994
|
-
column: 129
|
|
1995
|
-
},
|
|
1996
|
-
end: {
|
|
1997
|
-
line: 49,
|
|
1998
|
-
column: 159
|
|
1999
|
-
}
|
|
2000
|
-
}],
|
|
2001
|
-
line: 49
|
|
2002
|
-
},
|
|
2003
|
-
"18": {
|
|
2004
|
-
loc: {
|
|
2005
|
-
start: {
|
|
2006
|
-
line: 49,
|
|
2007
|
-
column: 17
|
|
2008
|
-
},
|
|
2009
|
-
end: {
|
|
2010
|
-
line: 49,
|
|
2011
|
-
column: 121
|
|
2012
|
-
}
|
|
2013
|
-
},
|
|
2014
|
-
type: "binary-expr",
|
|
2015
|
-
locations: [{
|
|
2016
|
-
start: {
|
|
2017
|
-
line: 49,
|
|
2018
|
-
column: 17
|
|
2019
|
-
},
|
|
2020
|
-
end: {
|
|
2021
|
-
line: 49,
|
|
2022
|
-
column: 104
|
|
2023
|
-
}
|
|
2024
|
-
}, {
|
|
2025
|
-
start: {
|
|
2026
|
-
line: 49,
|
|
2027
|
-
column: 108
|
|
2028
|
-
},
|
|
2029
|
-
end: {
|
|
2030
|
-
line: 49,
|
|
2031
|
-
column: 121
|
|
2032
|
-
}
|
|
2033
|
-
}],
|
|
2034
|
-
line: 49
|
|
2035
|
-
},
|
|
2036
|
-
"19": {
|
|
2037
|
-
loc: {
|
|
2038
|
-
start: {
|
|
2039
|
-
line: 49,
|
|
2040
|
-
column: 23
|
|
2041
|
-
},
|
|
2042
|
-
end: {
|
|
2043
|
-
line: 49,
|
|
2044
|
-
column: 94
|
|
2045
|
-
}
|
|
2046
|
-
},
|
|
2047
|
-
type: "cond-expr",
|
|
2048
|
-
locations: [{
|
|
2049
|
-
start: {
|
|
2050
|
-
line: 49,
|
|
2051
|
-
column: 64
|
|
2052
|
-
},
|
|
2053
|
-
end: {
|
|
2054
|
-
line: 49,
|
|
2055
|
-
column: 70
|
|
2056
|
-
}
|
|
2057
|
-
}, {
|
|
2058
|
-
start: {
|
|
2059
|
-
line: 49,
|
|
2060
|
-
column: 73
|
|
2061
|
-
},
|
|
2062
|
-
end: {
|
|
2063
|
-
line: 49,
|
|
2064
|
-
column: 94
|
|
2065
|
-
}
|
|
2066
|
-
}],
|
|
2067
|
-
line: 49
|
|
2068
|
-
},
|
|
2069
|
-
"20": {
|
|
2070
|
-
loc: {
|
|
2071
|
-
start: {
|
|
2072
|
-
line: 49,
|
|
2073
|
-
column: 23
|
|
2074
|
-
},
|
|
2075
|
-
end: {
|
|
2076
|
-
line: 49,
|
|
2077
|
-
column: 61
|
|
2078
|
-
}
|
|
2079
|
-
},
|
|
2080
|
-
type: "binary-expr",
|
|
2081
|
-
locations: [{
|
|
2082
|
-
start: {
|
|
2083
|
-
line: 49,
|
|
2084
|
-
column: 23
|
|
2085
|
-
},
|
|
2086
|
-
end: {
|
|
2087
|
-
line: 49,
|
|
2088
|
-
column: 39
|
|
2089
|
-
}
|
|
2090
|
-
}, {
|
|
2091
|
-
start: {
|
|
2092
|
-
line: 49,
|
|
2093
|
-
column: 43
|
|
2094
|
-
},
|
|
2095
|
-
end: {
|
|
2096
|
-
line: 49,
|
|
2097
|
-
column: 61
|
|
2098
|
-
}
|
|
2099
|
-
}],
|
|
2100
|
-
line: 49
|
|
2101
|
-
},
|
|
2102
|
-
"21": {
|
|
2103
|
-
loc: {
|
|
2104
|
-
start: {
|
|
2105
|
-
line: 55,
|
|
2106
|
-
column: 32
|
|
2107
|
-
},
|
|
2108
|
-
end: {
|
|
2109
|
-
line: 55,
|
|
2110
|
-
column: 58
|
|
2111
|
-
}
|
|
2112
|
-
},
|
|
2113
|
-
type: "binary-expr",
|
|
2114
|
-
locations: [{
|
|
2115
|
-
start: {
|
|
2116
|
-
line: 55,
|
|
2117
|
-
column: 32
|
|
2118
|
-
},
|
|
2119
|
-
end: {
|
|
2120
|
-
line: 55,
|
|
2121
|
-
column: 52
|
|
2122
|
-
}
|
|
2123
|
-
}, {
|
|
2124
|
-
start: {
|
|
2125
|
-
line: 55,
|
|
2126
|
-
column: 56
|
|
2127
|
-
},
|
|
2128
|
-
end: {
|
|
2129
|
-
line: 55,
|
|
2130
|
-
column: 58
|
|
2131
|
-
}
|
|
2132
|
-
}],
|
|
2133
|
-
line: 55
|
|
2134
|
-
},
|
|
2135
|
-
"22": {
|
|
2136
|
-
loc: {
|
|
2137
|
-
start: {
|
|
2138
|
-
line: 57,
|
|
2139
|
-
column: 33
|
|
2140
|
-
},
|
|
2141
|
-
end: {
|
|
2142
|
-
line: 57,
|
|
2143
|
-
column: 114
|
|
2144
|
-
}
|
|
2145
|
-
},
|
|
2146
|
-
type: "cond-expr",
|
|
2147
|
-
locations: [{
|
|
2148
|
-
start: {
|
|
2149
|
-
line: 57,
|
|
2150
|
-
column: 96
|
|
2151
|
-
},
|
|
2152
|
-
end: {
|
|
2153
|
-
line: 57,
|
|
2154
|
-
column: 98
|
|
2155
|
-
}
|
|
2156
|
-
}, {
|
|
2157
|
-
start: {
|
|
2158
|
-
line: 57,
|
|
2159
|
-
column: 101
|
|
2160
|
-
},
|
|
2161
|
-
end: {
|
|
2162
|
-
line: 57,
|
|
2163
|
-
column: 114
|
|
2164
|
-
}
|
|
2165
|
-
}],
|
|
2166
|
-
line: 57
|
|
2167
|
-
},
|
|
2168
|
-
"23": {
|
|
2169
|
-
loc: {
|
|
2170
|
-
start: {
|
|
2171
|
-
line: 57,
|
|
2172
|
-
column: 33
|
|
2173
|
-
},
|
|
2174
|
-
end: {
|
|
2175
|
-
line: 57,
|
|
2176
|
-
column: 93
|
|
2177
|
-
}
|
|
2178
|
-
},
|
|
2179
|
-
type: "binary-expr",
|
|
2180
|
-
locations: [{
|
|
2181
|
-
start: {
|
|
2182
|
-
line: 57,
|
|
2183
|
-
column: 33
|
|
2184
|
-
},
|
|
2185
|
-
end: {
|
|
2186
|
-
line: 57,
|
|
2187
|
-
column: 76
|
|
2188
|
-
}
|
|
2189
|
-
}, {
|
|
2190
|
-
start: {
|
|
2191
|
-
line: 57,
|
|
2192
|
-
column: 80
|
|
2193
|
-
},
|
|
2194
|
-
end: {
|
|
2195
|
-
line: 57,
|
|
2196
|
-
column: 93
|
|
2197
|
-
}
|
|
2198
|
-
}],
|
|
2199
|
-
line: 57
|
|
2200
|
-
},
|
|
2201
|
-
"24": {
|
|
2202
|
-
loc: {
|
|
2203
|
-
start: {
|
|
2204
|
-
line: 58,
|
|
2205
|
-
column: 8
|
|
2206
|
-
},
|
|
2207
|
-
end: {
|
|
2208
|
-
line: 59,
|
|
2209
|
-
column: 53
|
|
2210
|
-
}
|
|
2211
|
-
},
|
|
2212
|
-
type: "if",
|
|
2213
|
-
locations: [{
|
|
2214
|
-
start: {
|
|
2215
|
-
line: 58,
|
|
2216
|
-
column: 8
|
|
2217
|
-
},
|
|
2218
|
-
end: {
|
|
2219
|
-
line: 59,
|
|
2220
|
-
column: 53
|
|
2221
|
-
}
|
|
2222
|
-
}, {
|
|
2223
|
-
start: {
|
|
2224
|
-
line: undefined,
|
|
2225
|
-
column: undefined
|
|
2226
|
-
},
|
|
2227
|
-
end: {
|
|
2228
|
-
line: undefined,
|
|
2229
|
-
column: undefined
|
|
2230
|
-
}
|
|
2231
|
-
}],
|
|
2232
|
-
line: 58
|
|
2233
|
-
},
|
|
2234
|
-
"25": {
|
|
2235
|
-
loc: {
|
|
2236
|
-
start: {
|
|
2237
|
-
line: 66,
|
|
2238
|
-
column: 8
|
|
2239
|
-
},
|
|
2240
|
-
end: {
|
|
2241
|
-
line: 67,
|
|
2242
|
-
column: 37
|
|
2243
|
-
}
|
|
2244
|
-
},
|
|
2245
|
-
type: "if",
|
|
2246
|
-
locations: [{
|
|
2247
|
-
start: {
|
|
2248
|
-
line: 66,
|
|
2249
|
-
column: 8
|
|
2250
|
-
},
|
|
2251
|
-
end: {
|
|
2252
|
-
line: 67,
|
|
2253
|
-
column: 37
|
|
2254
|
-
}
|
|
2255
|
-
}, {
|
|
2256
|
-
start: {
|
|
2257
|
-
line: undefined,
|
|
2258
|
-
column: undefined
|
|
2259
|
-
},
|
|
2260
|
-
end: {
|
|
2261
|
-
line: undefined,
|
|
2262
|
-
column: undefined
|
|
2263
|
-
}
|
|
2264
|
-
}],
|
|
2265
|
-
line: 66
|
|
2266
|
-
},
|
|
2267
|
-
"26": {
|
|
2268
|
-
loc: {
|
|
2269
|
-
start: {
|
|
2270
|
-
line: 106,
|
|
2271
|
-
column: 8
|
|
2272
|
-
},
|
|
2273
|
-
end: {
|
|
2274
|
-
line: 108,
|
|
2275
|
-
column: 9
|
|
2276
|
-
}
|
|
2277
|
-
},
|
|
2278
|
-
type: "if",
|
|
2279
|
-
locations: [{
|
|
2280
|
-
start: {
|
|
2281
|
-
line: 106,
|
|
2282
|
-
column: 8
|
|
2283
|
-
},
|
|
2284
|
-
end: {
|
|
2285
|
-
line: 108,
|
|
2286
|
-
column: 9
|
|
2287
|
-
}
|
|
2288
|
-
}, {
|
|
2289
|
-
start: {
|
|
2290
|
-
line: undefined,
|
|
2291
|
-
column: undefined
|
|
2292
|
-
},
|
|
2293
|
-
end: {
|
|
2294
|
-
line: undefined,
|
|
2295
|
-
column: undefined
|
|
2296
|
-
}
|
|
2297
|
-
}],
|
|
2298
|
-
line: 106
|
|
2299
|
-
},
|
|
2300
|
-
"27": {
|
|
2301
|
-
loc: {
|
|
2302
|
-
start: {
|
|
2303
|
-
line: 106,
|
|
2304
|
-
column: 12
|
|
2305
|
-
},
|
|
2306
|
-
end: {
|
|
2307
|
-
line: 106,
|
|
2308
|
-
column: 162
|
|
2309
|
-
}
|
|
2310
|
-
},
|
|
2311
|
-
type: "binary-expr",
|
|
2312
|
-
locations: [{
|
|
2313
|
-
start: {
|
|
2314
|
-
line: 106,
|
|
2315
|
-
column: 13
|
|
1522
|
+
line: 28,
|
|
1523
|
+
column: 22
|
|
2316
1524
|
},
|
|
2317
1525
|
end: {
|
|
2318
|
-
line:
|
|
2319
|
-
column:
|
|
1526
|
+
line: 28,
|
|
1527
|
+
column: 42
|
|
2320
1528
|
}
|
|
2321
1529
|
}, {
|
|
2322
1530
|
start: {
|
|
2323
|
-
line:
|
|
2324
|
-
column:
|
|
1531
|
+
line: 28,
|
|
1532
|
+
column: 46
|
|
2325
1533
|
},
|
|
2326
1534
|
end: {
|
|
2327
|
-
line:
|
|
2328
|
-
column:
|
|
1535
|
+
line: 28,
|
|
1536
|
+
column: 75
|
|
2329
1537
|
}
|
|
2330
1538
|
}],
|
|
2331
|
-
line:
|
|
1539
|
+
line: 28
|
|
2332
1540
|
},
|
|
2333
|
-
"
|
|
1541
|
+
"4": {
|
|
2334
1542
|
loc: {
|
|
2335
1543
|
start: {
|
|
2336
|
-
line:
|
|
2337
|
-
column:
|
|
1544
|
+
line: 47,
|
|
1545
|
+
column: 17
|
|
2338
1546
|
},
|
|
2339
1547
|
end: {
|
|
2340
|
-
line:
|
|
2341
|
-
column:
|
|
1548
|
+
line: 47,
|
|
1549
|
+
column: 86
|
|
2342
1550
|
}
|
|
2343
1551
|
},
|
|
2344
|
-
type: "
|
|
1552
|
+
type: "binary-expr",
|
|
2345
1553
|
locations: [{
|
|
2346
1554
|
start: {
|
|
2347
|
-
line:
|
|
2348
|
-
column:
|
|
1555
|
+
line: 47,
|
|
1556
|
+
column: 17
|
|
2349
1557
|
},
|
|
2350
1558
|
end: {
|
|
2351
|
-
line:
|
|
2352
|
-
column:
|
|
1559
|
+
line: 47,
|
|
1560
|
+
column: 40
|
|
2353
1561
|
}
|
|
2354
1562
|
}, {
|
|
2355
1563
|
start: {
|
|
2356
|
-
line:
|
|
2357
|
-
column:
|
|
1564
|
+
line: 47,
|
|
1565
|
+
column: 44
|
|
2358
1566
|
},
|
|
2359
1567
|
end: {
|
|
2360
|
-
line:
|
|
2361
|
-
column:
|
|
1568
|
+
line: 47,
|
|
1569
|
+
column: 86
|
|
2362
1570
|
}
|
|
2363
1571
|
}],
|
|
2364
|
-
line:
|
|
1572
|
+
line: 47
|
|
2365
1573
|
},
|
|
2366
|
-
"
|
|
1574
|
+
"5": {
|
|
2367
1575
|
loc: {
|
|
2368
1576
|
start: {
|
|
2369
|
-
line:
|
|
2370
|
-
column:
|
|
1577
|
+
line: 48,
|
|
1578
|
+
column: 17
|
|
2371
1579
|
},
|
|
2372
1580
|
end: {
|
|
2373
|
-
line:
|
|
2374
|
-
column:
|
|
1581
|
+
line: 48,
|
|
1582
|
+
column: 73
|
|
2375
1583
|
}
|
|
2376
1584
|
},
|
|
2377
1585
|
type: "binary-expr",
|
|
2378
1586
|
locations: [{
|
|
2379
1587
|
start: {
|
|
2380
|
-
line:
|
|
2381
|
-
column:
|
|
1588
|
+
line: 48,
|
|
1589
|
+
column: 17
|
|
2382
1590
|
},
|
|
2383
1591
|
end: {
|
|
2384
|
-
line:
|
|
2385
|
-
column:
|
|
1592
|
+
line: 48,
|
|
1593
|
+
column: 39
|
|
2386
1594
|
}
|
|
2387
1595
|
}, {
|
|
2388
1596
|
start: {
|
|
2389
|
-
line:
|
|
2390
|
-
column:
|
|
1597
|
+
line: 48,
|
|
1598
|
+
column: 43
|
|
2391
1599
|
},
|
|
2392
1600
|
end: {
|
|
2393
|
-
line:
|
|
2394
|
-
column:
|
|
1601
|
+
line: 48,
|
|
1602
|
+
column: 73
|
|
2395
1603
|
}
|
|
2396
1604
|
}],
|
|
2397
|
-
line:
|
|
1605
|
+
line: 48
|
|
2398
1606
|
},
|
|
2399
|
-
"
|
|
1607
|
+
"6": {
|
|
2400
1608
|
loc: {
|
|
2401
1609
|
start: {
|
|
2402
|
-
line:
|
|
2403
|
-
column:
|
|
1610
|
+
line: 53,
|
|
1611
|
+
column: 32
|
|
2404
1612
|
},
|
|
2405
1613
|
end: {
|
|
2406
|
-
line:
|
|
2407
|
-
column:
|
|
1614
|
+
line: 53,
|
|
1615
|
+
column: 58
|
|
2408
1616
|
}
|
|
2409
1617
|
},
|
|
2410
|
-
type: "
|
|
1618
|
+
type: "binary-expr",
|
|
2411
1619
|
locations: [{
|
|
2412
1620
|
start: {
|
|
2413
|
-
line:
|
|
2414
|
-
column:
|
|
1621
|
+
line: 53,
|
|
1622
|
+
column: 32
|
|
2415
1623
|
},
|
|
2416
1624
|
end: {
|
|
2417
|
-
line:
|
|
2418
|
-
column:
|
|
1625
|
+
line: 53,
|
|
1626
|
+
column: 52
|
|
2419
1627
|
}
|
|
2420
1628
|
}, {
|
|
2421
1629
|
start: {
|
|
2422
|
-
line:
|
|
2423
|
-
column:
|
|
1630
|
+
line: 53,
|
|
1631
|
+
column: 56
|
|
2424
1632
|
},
|
|
2425
1633
|
end: {
|
|
2426
|
-
line:
|
|
2427
|
-
column:
|
|
1634
|
+
line: 53,
|
|
1635
|
+
column: 58
|
|
2428
1636
|
}
|
|
2429
1637
|
}],
|
|
2430
|
-
line:
|
|
1638
|
+
line: 53
|
|
2431
1639
|
},
|
|
2432
|
-
"
|
|
1640
|
+
"7": {
|
|
2433
1641
|
loc: {
|
|
2434
1642
|
start: {
|
|
2435
|
-
line:
|
|
2436
|
-
column:
|
|
1643
|
+
line: 55,
|
|
1644
|
+
column: 33
|
|
2437
1645
|
},
|
|
2438
1646
|
end: {
|
|
2439
|
-
line:
|
|
2440
|
-
column:
|
|
1647
|
+
line: 55,
|
|
1648
|
+
column: 77
|
|
2441
1649
|
}
|
|
2442
1650
|
},
|
|
2443
1651
|
type: "binary-expr",
|
|
2444
1652
|
locations: [{
|
|
2445
1653
|
start: {
|
|
2446
|
-
line:
|
|
2447
|
-
column:
|
|
1654
|
+
line: 55,
|
|
1655
|
+
column: 33
|
|
2448
1656
|
},
|
|
2449
1657
|
end: {
|
|
2450
|
-
line:
|
|
2451
|
-
column:
|
|
1658
|
+
line: 55,
|
|
1659
|
+
column: 60
|
|
2452
1660
|
}
|
|
2453
1661
|
}, {
|
|
2454
1662
|
start: {
|
|
2455
|
-
line:
|
|
2456
|
-
column:
|
|
1663
|
+
line: 55,
|
|
1664
|
+
column: 64
|
|
2457
1665
|
},
|
|
2458
1666
|
end: {
|
|
2459
|
-
line:
|
|
2460
|
-
column:
|
|
1667
|
+
line: 55,
|
|
1668
|
+
column: 77
|
|
2461
1669
|
}
|
|
2462
1670
|
}],
|
|
2463
|
-
line:
|
|
1671
|
+
line: 55
|
|
2464
1672
|
},
|
|
2465
|
-
"
|
|
1673
|
+
"8": {
|
|
2466
1674
|
loc: {
|
|
2467
1675
|
start: {
|
|
2468
|
-
line:
|
|
1676
|
+
line: 56,
|
|
2469
1677
|
column: 8
|
|
2470
1678
|
},
|
|
2471
1679
|
end: {
|
|
2472
|
-
line:
|
|
2473
|
-
column:
|
|
1680
|
+
line: 57,
|
|
1681
|
+
column: 53
|
|
2474
1682
|
}
|
|
2475
1683
|
},
|
|
2476
1684
|
type: "if",
|
|
2477
1685
|
locations: [{
|
|
2478
1686
|
start: {
|
|
2479
|
-
line:
|
|
1687
|
+
line: 56,
|
|
2480
1688
|
column: 8
|
|
2481
1689
|
},
|
|
2482
1690
|
end: {
|
|
2483
|
-
line:
|
|
2484
|
-
column:
|
|
1691
|
+
line: 57,
|
|
1692
|
+
column: 53
|
|
2485
1693
|
}
|
|
2486
1694
|
}, {
|
|
2487
1695
|
start: {
|
|
@@ -2493,60 +1701,60 @@ function cov_2l9mmpbx71() {
|
|
|
2493
1701
|
column: undefined
|
|
2494
1702
|
}
|
|
2495
1703
|
}],
|
|
2496
|
-
line:
|
|
1704
|
+
line: 56
|
|
2497
1705
|
},
|
|
2498
|
-
"
|
|
1706
|
+
"9": {
|
|
2499
1707
|
loc: {
|
|
2500
1708
|
start: {
|
|
2501
|
-
line:
|
|
1709
|
+
line: 64,
|
|
2502
1710
|
column: 8
|
|
2503
1711
|
},
|
|
2504
1712
|
end: {
|
|
2505
|
-
line:
|
|
2506
|
-
column:
|
|
1713
|
+
line: 65,
|
|
1714
|
+
column: 37
|
|
2507
1715
|
}
|
|
2508
1716
|
},
|
|
2509
1717
|
type: "if",
|
|
2510
1718
|
locations: [{
|
|
2511
1719
|
start: {
|
|
2512
|
-
line:
|
|
1720
|
+
line: 64,
|
|
2513
1721
|
column: 8
|
|
2514
1722
|
},
|
|
2515
1723
|
end: {
|
|
2516
|
-
line:
|
|
2517
|
-
column:
|
|
1724
|
+
line: 65,
|
|
1725
|
+
column: 37
|
|
2518
1726
|
}
|
|
2519
1727
|
}, {
|
|
2520
1728
|
start: {
|
|
2521
|
-
line:
|
|
2522
|
-
column:
|
|
1729
|
+
line: undefined,
|
|
1730
|
+
column: undefined
|
|
2523
1731
|
},
|
|
2524
1732
|
end: {
|
|
2525
|
-
line:
|
|
2526
|
-
column:
|
|
1733
|
+
line: undefined,
|
|
1734
|
+
column: undefined
|
|
2527
1735
|
}
|
|
2528
1736
|
}],
|
|
2529
|
-
line:
|
|
1737
|
+
line: 64
|
|
2530
1738
|
},
|
|
2531
|
-
"
|
|
1739
|
+
"10": {
|
|
2532
1740
|
loc: {
|
|
2533
1741
|
start: {
|
|
2534
|
-
line:
|
|
1742
|
+
line: 104,
|
|
2535
1743
|
column: 8
|
|
2536
1744
|
},
|
|
2537
1745
|
end: {
|
|
2538
|
-
line:
|
|
1746
|
+
line: 106,
|
|
2539
1747
|
column: 9
|
|
2540
1748
|
}
|
|
2541
1749
|
},
|
|
2542
1750
|
type: "if",
|
|
2543
1751
|
locations: [{
|
|
2544
1752
|
start: {
|
|
2545
|
-
line:
|
|
1753
|
+
line: 104,
|
|
2546
1754
|
column: 8
|
|
2547
1755
|
},
|
|
2548
1756
|
end: {
|
|
2549
|
-
line:
|
|
1757
|
+
line: 106,
|
|
2550
1758
|
column: 9
|
|
2551
1759
|
}
|
|
2552
1760
|
}, {
|
|
@@ -2559,192 +1767,192 @@ function cov_2l9mmpbx71() {
|
|
|
2559
1767
|
column: undefined
|
|
2560
1768
|
}
|
|
2561
1769
|
}],
|
|
2562
|
-
line:
|
|
1770
|
+
line: 104
|
|
2563
1771
|
},
|
|
2564
|
-
"
|
|
1772
|
+
"11": {
|
|
2565
1773
|
loc: {
|
|
2566
1774
|
start: {
|
|
2567
|
-
line:
|
|
1775
|
+
line: 104,
|
|
2568
1776
|
column: 12
|
|
2569
1777
|
},
|
|
2570
1778
|
end: {
|
|
2571
|
-
line:
|
|
2572
|
-
column:
|
|
1779
|
+
line: 104,
|
|
1780
|
+
column: 60
|
|
2573
1781
|
}
|
|
2574
1782
|
},
|
|
2575
1783
|
type: "binary-expr",
|
|
2576
1784
|
locations: [{
|
|
2577
1785
|
start: {
|
|
2578
|
-
line:
|
|
2579
|
-
column:
|
|
1786
|
+
line: 104,
|
|
1787
|
+
column: 12
|
|
2580
1788
|
},
|
|
2581
1789
|
end: {
|
|
2582
|
-
line:
|
|
2583
|
-
column:
|
|
1790
|
+
line: 104,
|
|
1791
|
+
column: 34
|
|
2584
1792
|
}
|
|
2585
1793
|
}, {
|
|
2586
1794
|
start: {
|
|
2587
|
-
line:
|
|
2588
|
-
column:
|
|
1795
|
+
line: 104,
|
|
1796
|
+
column: 38
|
|
2589
1797
|
},
|
|
2590
1798
|
end: {
|
|
2591
|
-
line:
|
|
2592
|
-
column:
|
|
1799
|
+
line: 104,
|
|
1800
|
+
column: 60
|
|
2593
1801
|
}
|
|
2594
1802
|
}],
|
|
2595
|
-
line:
|
|
1803
|
+
line: 104
|
|
2596
1804
|
},
|
|
2597
|
-
"
|
|
1805
|
+
"12": {
|
|
2598
1806
|
loc: {
|
|
2599
1807
|
start: {
|
|
2600
|
-
line:
|
|
2601
|
-
column:
|
|
1808
|
+
line: 108,
|
|
1809
|
+
column: 8
|
|
2602
1810
|
},
|
|
2603
1811
|
end: {
|
|
2604
|
-
line:
|
|
2605
|
-
column:
|
|
1812
|
+
line: 110,
|
|
1813
|
+
column: 9
|
|
2606
1814
|
}
|
|
2607
1815
|
},
|
|
2608
|
-
type: "
|
|
1816
|
+
type: "if",
|
|
2609
1817
|
locations: [{
|
|
2610
1818
|
start: {
|
|
2611
|
-
line:
|
|
2612
|
-
column:
|
|
1819
|
+
line: 108,
|
|
1820
|
+
column: 8
|
|
2613
1821
|
},
|
|
2614
1822
|
end: {
|
|
2615
|
-
line:
|
|
2616
|
-
column:
|
|
1823
|
+
line: 110,
|
|
1824
|
+
column: 9
|
|
2617
1825
|
}
|
|
2618
1826
|
}, {
|
|
2619
1827
|
start: {
|
|
2620
|
-
line:
|
|
2621
|
-
column:
|
|
1828
|
+
line: undefined,
|
|
1829
|
+
column: undefined
|
|
2622
1830
|
},
|
|
2623
1831
|
end: {
|
|
2624
|
-
line:
|
|
2625
|
-
column:
|
|
1832
|
+
line: undefined,
|
|
1833
|
+
column: undefined
|
|
2626
1834
|
}
|
|
2627
1835
|
}],
|
|
2628
|
-
line:
|
|
1836
|
+
line: 108
|
|
2629
1837
|
},
|
|
2630
|
-
"
|
|
1838
|
+
"13": {
|
|
2631
1839
|
loc: {
|
|
2632
1840
|
start: {
|
|
2633
|
-
line:
|
|
2634
|
-
column:
|
|
1841
|
+
line: 123,
|
|
1842
|
+
column: 8
|
|
2635
1843
|
},
|
|
2636
1844
|
end: {
|
|
2637
|
-
line:
|
|
2638
|
-
column:
|
|
1845
|
+
line: 130,
|
|
1846
|
+
column: 9
|
|
2639
1847
|
}
|
|
2640
1848
|
},
|
|
2641
|
-
type: "
|
|
1849
|
+
type: "if",
|
|
2642
1850
|
locations: [{
|
|
2643
1851
|
start: {
|
|
2644
|
-
line:
|
|
2645
|
-
column:
|
|
1852
|
+
line: 123,
|
|
1853
|
+
column: 8
|
|
2646
1854
|
},
|
|
2647
1855
|
end: {
|
|
2648
|
-
line:
|
|
2649
|
-
column:
|
|
1856
|
+
line: 130,
|
|
1857
|
+
column: 9
|
|
2650
1858
|
}
|
|
2651
1859
|
}, {
|
|
2652
1860
|
start: {
|
|
2653
|
-
line:
|
|
2654
|
-
column:
|
|
1861
|
+
line: 126,
|
|
1862
|
+
column: 13
|
|
2655
1863
|
},
|
|
2656
1864
|
end: {
|
|
2657
|
-
line:
|
|
2658
|
-
column:
|
|
1865
|
+
line: 130,
|
|
1866
|
+
column: 9
|
|
2659
1867
|
}
|
|
2660
1868
|
}],
|
|
2661
|
-
line:
|
|
1869
|
+
line: 123
|
|
2662
1870
|
},
|
|
2663
|
-
"
|
|
1871
|
+
"14": {
|
|
2664
1872
|
loc: {
|
|
2665
1873
|
start: {
|
|
2666
|
-
line:
|
|
2667
|
-
column:
|
|
1874
|
+
line: 141,
|
|
1875
|
+
column: 8
|
|
2668
1876
|
},
|
|
2669
1877
|
end: {
|
|
2670
1878
|
line: 143,
|
|
2671
|
-
column:
|
|
1879
|
+
column: 9
|
|
2672
1880
|
}
|
|
2673
1881
|
},
|
|
2674
|
-
type: "
|
|
1882
|
+
type: "if",
|
|
2675
1883
|
locations: [{
|
|
2676
1884
|
start: {
|
|
2677
|
-
line:
|
|
2678
|
-
column:
|
|
1885
|
+
line: 141,
|
|
1886
|
+
column: 8
|
|
2679
1887
|
},
|
|
2680
1888
|
end: {
|
|
2681
1889
|
line: 143,
|
|
2682
|
-
column:
|
|
1890
|
+
column: 9
|
|
2683
1891
|
}
|
|
2684
1892
|
}, {
|
|
2685
1893
|
start: {
|
|
2686
|
-
line:
|
|
2687
|
-
column:
|
|
1894
|
+
line: undefined,
|
|
1895
|
+
column: undefined
|
|
2688
1896
|
},
|
|
2689
1897
|
end: {
|
|
2690
|
-
line:
|
|
2691
|
-
column:
|
|
1898
|
+
line: undefined,
|
|
1899
|
+
column: undefined
|
|
2692
1900
|
}
|
|
2693
1901
|
}],
|
|
2694
|
-
line:
|
|
1902
|
+
line: 141
|
|
2695
1903
|
},
|
|
2696
|
-
"
|
|
1904
|
+
"15": {
|
|
2697
1905
|
loc: {
|
|
2698
1906
|
start: {
|
|
2699
|
-
line:
|
|
2700
|
-
column:
|
|
1907
|
+
line: 141,
|
|
1908
|
+
column: 12
|
|
2701
1909
|
},
|
|
2702
1910
|
end: {
|
|
2703
|
-
line:
|
|
2704
|
-
column:
|
|
1911
|
+
line: 141,
|
|
1912
|
+
column: 60
|
|
2705
1913
|
}
|
|
2706
1914
|
},
|
|
2707
1915
|
type: "binary-expr",
|
|
2708
1916
|
locations: [{
|
|
2709
1917
|
start: {
|
|
2710
|
-
line:
|
|
2711
|
-
column:
|
|
1918
|
+
line: 141,
|
|
1919
|
+
column: 12
|
|
2712
1920
|
},
|
|
2713
1921
|
end: {
|
|
2714
|
-
line:
|
|
2715
|
-
column:
|
|
1922
|
+
line: 141,
|
|
1923
|
+
column: 34
|
|
2716
1924
|
}
|
|
2717
1925
|
}, {
|
|
2718
1926
|
start: {
|
|
2719
|
-
line:
|
|
2720
|
-
column:
|
|
1927
|
+
line: 141,
|
|
1928
|
+
column: 38
|
|
2721
1929
|
},
|
|
2722
1930
|
end: {
|
|
2723
|
-
line:
|
|
2724
|
-
column:
|
|
1931
|
+
line: 141,
|
|
1932
|
+
column: 60
|
|
2725
1933
|
}
|
|
2726
1934
|
}],
|
|
2727
|
-
line:
|
|
1935
|
+
line: 141
|
|
2728
1936
|
},
|
|
2729
|
-
"
|
|
1937
|
+
"16": {
|
|
2730
1938
|
loc: {
|
|
2731
1939
|
start: {
|
|
2732
|
-
line:
|
|
1940
|
+
line: 150,
|
|
2733
1941
|
column: 8
|
|
2734
1942
|
},
|
|
2735
1943
|
end: {
|
|
2736
|
-
line:
|
|
1944
|
+
line: 151,
|
|
2737
1945
|
column: 60
|
|
2738
1946
|
}
|
|
2739
1947
|
},
|
|
2740
1948
|
type: "if",
|
|
2741
1949
|
locations: [{
|
|
2742
1950
|
start: {
|
|
2743
|
-
line:
|
|
1951
|
+
line: 150,
|
|
2744
1952
|
column: 8
|
|
2745
1953
|
},
|
|
2746
1954
|
end: {
|
|
2747
|
-
line:
|
|
1955
|
+
line: 151,
|
|
2748
1956
|
column: 60
|
|
2749
1957
|
}
|
|
2750
1958
|
}, {
|
|
@@ -2757,27 +1965,27 @@ function cov_2l9mmpbx71() {
|
|
|
2757
1965
|
column: undefined
|
|
2758
1966
|
}
|
|
2759
1967
|
}],
|
|
2760
|
-
line:
|
|
1968
|
+
line: 150
|
|
2761
1969
|
},
|
|
2762
|
-
"
|
|
1970
|
+
"17": {
|
|
2763
1971
|
loc: {
|
|
2764
1972
|
start: {
|
|
2765
|
-
line:
|
|
1973
|
+
line: 179,
|
|
2766
1974
|
column: 8
|
|
2767
1975
|
},
|
|
2768
1976
|
end: {
|
|
2769
|
-
line:
|
|
1977
|
+
line: 180,
|
|
2770
1978
|
column: 28
|
|
2771
1979
|
}
|
|
2772
1980
|
},
|
|
2773
1981
|
type: "if",
|
|
2774
1982
|
locations: [{
|
|
2775
1983
|
start: {
|
|
2776
|
-
line:
|
|
1984
|
+
line: 179,
|
|
2777
1985
|
column: 8
|
|
2778
1986
|
},
|
|
2779
1987
|
end: {
|
|
2780
|
-
line:
|
|
1988
|
+
line: 180,
|
|
2781
1989
|
column: 28
|
|
2782
1990
|
}
|
|
2783
1991
|
}, {
|
|
@@ -2790,27 +1998,27 @@ function cov_2l9mmpbx71() {
|
|
|
2790
1998
|
column: undefined
|
|
2791
1999
|
}
|
|
2792
2000
|
}],
|
|
2793
|
-
line:
|
|
2001
|
+
line: 179
|
|
2794
2002
|
},
|
|
2795
|
-
"
|
|
2003
|
+
"18": {
|
|
2796
2004
|
loc: {
|
|
2797
2005
|
start: {
|
|
2798
|
-
line:
|
|
2006
|
+
line: 184,
|
|
2799
2007
|
column: 16
|
|
2800
2008
|
},
|
|
2801
2009
|
end: {
|
|
2802
|
-
line:
|
|
2010
|
+
line: 185,
|
|
2803
2011
|
column: 37
|
|
2804
2012
|
}
|
|
2805
2013
|
},
|
|
2806
2014
|
type: "if",
|
|
2807
2015
|
locations: [{
|
|
2808
2016
|
start: {
|
|
2809
|
-
line:
|
|
2017
|
+
line: 184,
|
|
2810
2018
|
column: 16
|
|
2811
2019
|
},
|
|
2812
2020
|
end: {
|
|
2813
|
-
line:
|
|
2021
|
+
line: 185,
|
|
2814
2022
|
column: 37
|
|
2815
2023
|
}
|
|
2816
2024
|
}, {
|
|
@@ -2823,27 +2031,27 @@ function cov_2l9mmpbx71() {
|
|
|
2823
2031
|
column: undefined
|
|
2824
2032
|
}
|
|
2825
2033
|
}],
|
|
2826
|
-
line:
|
|
2034
|
+
line: 184
|
|
2827
2035
|
},
|
|
2828
|
-
"
|
|
2036
|
+
"19": {
|
|
2829
2037
|
loc: {
|
|
2830
2038
|
start: {
|
|
2831
|
-
line:
|
|
2039
|
+
line: 194,
|
|
2832
2040
|
column: 24
|
|
2833
2041
|
},
|
|
2834
2042
|
end: {
|
|
2835
|
-
line:
|
|
2043
|
+
line: 195,
|
|
2836
2044
|
column: 102
|
|
2837
2045
|
}
|
|
2838
2046
|
},
|
|
2839
2047
|
type: "if",
|
|
2840
2048
|
locations: [{
|
|
2841
2049
|
start: {
|
|
2842
|
-
line:
|
|
2050
|
+
line: 194,
|
|
2843
2051
|
column: 24
|
|
2844
2052
|
},
|
|
2845
2053
|
end: {
|
|
2846
|
-
line:
|
|
2054
|
+
line: 195,
|
|
2847
2055
|
column: 102
|
|
2848
2056
|
}
|
|
2849
2057
|
}, {
|
|
@@ -2856,27 +2064,27 @@ function cov_2l9mmpbx71() {
|
|
|
2856
2064
|
column: undefined
|
|
2857
2065
|
}
|
|
2858
2066
|
}],
|
|
2859
|
-
line:
|
|
2067
|
+
line: 194
|
|
2860
2068
|
},
|
|
2861
|
-
"
|
|
2069
|
+
"20": {
|
|
2862
2070
|
loc: {
|
|
2863
2071
|
start: {
|
|
2864
|
-
line:
|
|
2072
|
+
line: 202,
|
|
2865
2073
|
column: 16
|
|
2866
2074
|
},
|
|
2867
2075
|
end: {
|
|
2868
|
-
line:
|
|
2076
|
+
line: 203,
|
|
2869
2077
|
column: 113
|
|
2870
2078
|
}
|
|
2871
2079
|
},
|
|
2872
2080
|
type: "if",
|
|
2873
2081
|
locations: [{
|
|
2874
2082
|
start: {
|
|
2875
|
-
line:
|
|
2083
|
+
line: 202,
|
|
2876
2084
|
column: 16
|
|
2877
2085
|
},
|
|
2878
2086
|
end: {
|
|
2879
|
-
line:
|
|
2087
|
+
line: 203,
|
|
2880
2088
|
column: 113
|
|
2881
2089
|
}
|
|
2882
2090
|
}, {
|
|
@@ -2889,27 +2097,27 @@ function cov_2l9mmpbx71() {
|
|
|
2889
2097
|
column: undefined
|
|
2890
2098
|
}
|
|
2891
2099
|
}],
|
|
2892
|
-
line:
|
|
2100
|
+
line: 202
|
|
2893
2101
|
},
|
|
2894
|
-
"
|
|
2102
|
+
"21": {
|
|
2895
2103
|
loc: {
|
|
2896
2104
|
start: {
|
|
2897
|
-
line:
|
|
2105
|
+
line: 223,
|
|
2898
2106
|
column: 12
|
|
2899
2107
|
},
|
|
2900
2108
|
end: {
|
|
2901
|
-
line:
|
|
2109
|
+
line: 224,
|
|
2902
2110
|
column: 44
|
|
2903
2111
|
}
|
|
2904
2112
|
},
|
|
2905
2113
|
type: "if",
|
|
2906
2114
|
locations: [{
|
|
2907
2115
|
start: {
|
|
2908
|
-
line:
|
|
2116
|
+
line: 223,
|
|
2909
2117
|
column: 12
|
|
2910
2118
|
},
|
|
2911
2119
|
end: {
|
|
2912
|
-
line:
|
|
2120
|
+
line: 224,
|
|
2913
2121
|
column: 44
|
|
2914
2122
|
}
|
|
2915
2123
|
}, {
|
|
@@ -2922,7 +2130,7 @@ function cov_2l9mmpbx71() {
|
|
|
2922
2130
|
column: undefined
|
|
2923
2131
|
}
|
|
2924
2132
|
}],
|
|
2925
|
-
line:
|
|
2133
|
+
line: 223
|
|
2926
2134
|
}
|
|
2927
2135
|
},
|
|
2928
2136
|
s: {
|
|
@@ -3057,42 +2265,18 @@ function cov_2l9mmpbx71() {
|
|
|
3057
2265
|
"18": [0, 0],
|
|
3058
2266
|
"19": [0, 0],
|
|
3059
2267
|
"20": [0, 0],
|
|
3060
|
-
"21": [0, 0]
|
|
3061
|
-
"22": [0, 0],
|
|
3062
|
-
"23": [0, 0],
|
|
3063
|
-
"24": [0, 0],
|
|
3064
|
-
"25": [0, 0],
|
|
3065
|
-
"26": [0, 0],
|
|
3066
|
-
"27": [0, 0],
|
|
3067
|
-
"28": [0, 0],
|
|
3068
|
-
"29": [0, 0],
|
|
3069
|
-
"30": [0, 0],
|
|
3070
|
-
"31": [0, 0],
|
|
3071
|
-
"32": [0, 0],
|
|
3072
|
-
"33": [0, 0],
|
|
3073
|
-
"34": [0, 0],
|
|
3074
|
-
"35": [0, 0],
|
|
3075
|
-
"36": [0, 0],
|
|
3076
|
-
"37": [0, 0],
|
|
3077
|
-
"38": [0, 0],
|
|
3078
|
-
"39": [0, 0],
|
|
3079
|
-
"40": [0, 0],
|
|
3080
|
-
"41": [0, 0],
|
|
3081
|
-
"42": [0, 0],
|
|
3082
|
-
"43": [0, 0],
|
|
3083
|
-
"44": [0, 0],
|
|
3084
|
-
"45": [0, 0]
|
|
2268
|
+
"21": [0, 0]
|
|
3085
2269
|
},
|
|
3086
2270
|
inputSourceMap: {
|
|
3087
2271
|
version: 3,
|
|
3088
2272
|
file: "ITwinLocalization.js",
|
|
3089
|
-
sources: ["D:\\vsts_a\\
|
|
2273
|
+
sources: ["D:\\vsts_a\\8\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
3090
2274
|
names: [],
|
|
3091
|
-
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;IAO5B,YAAmB,OAA6B
|
|
2275
|
+
mappings: "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",
|
|
3092
2276
|
sourcesContent: ["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Localization\r\n */\r\n\r\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\r\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\r\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport type { Localization } from \"@itwin/core-common\";\r\n\r\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\r\n\r\n/** Options for ITwinLocalization\r\n * @public\r\n */\r\nexport interface LocalizationOptions {\r\n urlTemplate?: string;\r\n backendPlugin?: Module;\r\n detectorPlugin?: Module;\r\n initOptions?: InitOptions;\r\n backendHttpOptions?: BackendOptions;\r\n detectorOptions?: DetectorOptions;\r\n}\r\n\r\n/** Supplies localizations for iTwin.js\r\n * @note this class uses the [i18next](https://www.i18next.com/) package.\r\n * @public\r\n */\r\nexport class ITwinLocalization implements Localization {\r\n public i18next: i18n;\r\n private readonly _initOptions: InitOptions;\r\n private readonly _backendOptions: BackendOptions;\r\n private readonly _detectionOptions: DetectorOptions;\r\n private readonly _namespaces = new Map<string, Promise<void>>();\r\n\r\n public constructor(options?: LocalizationOptions) {\r\n this.i18next = i18next.createInstance();\r\n\r\n this._backendOptions = {\r\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\r\n crossDomain: true,\r\n ...options?.backendHttpOptions,\r\n };\r\n\r\n this._detectionOptions = {\r\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\r\n lookupQuerystring: \"lng\",\r\n caches: [],\r\n ...options?.detectorOptions,\r\n };\r\n\r\n this._initOptions = {\r\n interpolation: { escapeValue: true },\r\n fallbackLng: \"en\",\r\n maxRetries: DEFAULT_MAX_RETRIES,\r\n backend: this._backendOptions,\r\n detection: this._detectionOptions,\r\n ...options?.initOptions,\r\n };\r\n\r\n this.i18next\r\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\r\n .use(options?.backendPlugin ?? Backend)\r\n .use(TranslationLogger);\r\n }\r\n\r\n public async initialize(namespaces: string[]): Promise<void> {\r\n\r\n // Also consider namespaces passed into constructor\r\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\r\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\r\n\r\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\r\n if (defaultNamespace)\r\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\r\n\r\n const initOptions: InitOptions = {\r\n ...this._initOptions,\r\n defaultNS: defaultNamespace,\r\n ns: [...combinedNamespaces],\r\n };\r\n\r\n // if in a development environment, set debugging\r\n if (process.env.NODE_ENV === \"development\")\r\n initOptions.debug = true;\r\n\r\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\r\n\r\n for (const ns of namespaces)\r\n this._namespaces.set(ns, initPromise);\r\n\r\n return initPromise;\r\n }\r\n\r\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\r\n * For example:\r\n * ``` ts\r\n * \"MyKeys\": {\r\n * \"Key1\": \"First value\",\r\n * \"Key2\": \"Second value\"\r\n * }\r\n * ```\r\n *\r\n * ``` ts\r\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\r\n * ```\r\n * @param line The input line, potentially containing %{keys}.\r\n * @returns The line with all %{keys} translated\r\n * @public\r\n */\r\n public getLocalizedKeys(line: string): string {\r\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\r\n }\r\n\r\n /** Return the translated value of a key.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\r\n * followed by a colon, followed by the property in the JSON file.\r\n * For example:\r\n * ``` ts\r\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\r\n * ```\r\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @public\r\n */\r\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n const value = this.i18next.t(key, options);\r\n\r\n if (typeof value !== \"string\") {\r\n throw new Error(\"Translation key(s) string not found\");\r\n }\r\n\r\n return value;\r\n }\r\n\r\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\r\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n let fullKey: string | string[] = \"\";\r\n\r\n if (typeof key === \"string\") {\r\n fullKey = `${namespace}:${key}`;\r\n } else {\r\n fullKey = key.map((subKey: string) => {\r\n return `${namespace}:${subKey}`;\r\n });\r\n }\r\n\r\n return this.getLocalizedString(fullKey, options);\r\n }\r\n\r\n /** Gets the English translation.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n options = {\r\n ...options,\r\n ns: namespace, // ensure namespace argument is used\r\n };\r\n\r\n const en = this.i18next.getFixedT(\"en\", namespace);\r\n const str = en(key, options);\r\n if (typeof str !== \"string\")\r\n throw new Error(\"Translation key(s) not found\");\r\n\r\n return str;\r\n }\r\n\r\n /** Get the promise for an already registered Namespace.\r\n * @param name - the name of the namespace\r\n * @public\r\n */\r\n public getNamespacePromise(name: string): Promise<void> | undefined {\r\n return this._namespaces.get(name);\r\n }\r\n\r\n /** @internal */\r\n public getLanguageList(): readonly string[] {\r\n return this.i18next.languages;\r\n }\r\n\r\n /** override the language detected in the browser */\r\n public async changeLanguage(language: string) {\r\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\r\n }\r\n\r\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\r\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\r\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\r\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\r\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\r\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\r\n * @public\r\n */\r\n public async registerNamespace(name: string): Promise<void> {\r\n const existing = this._namespaces.get(name);\r\n if (existing !== undefined)\r\n return existing;\r\n\r\n const theReadPromise = new Promise<void>((resolve) => {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.i18next.loadNamespaces(name, (err) => {\r\n if (!err)\r\n return resolve();\r\n\r\n // Here we got a non-null err object.\r\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\r\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\r\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\r\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.\r\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\r\n\r\n try {\r\n for (const thisError of err) {\r\n if (typeof thisError === \"string\")\r\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\r\n }\r\n } catch (e) {\r\n locales = [];\r\n }\r\n // if we removed every locale from the array, it wasn't loaded.\r\n if (locales.length === 0)\r\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\r\n\r\n resolve();\r\n });\r\n });\r\n this._namespaces.set(name, theReadPromise);\r\n return theReadPromise;\r\n }\r\n\r\n /** @internal */\r\n public unregisterNamespace(name: string): void {\r\n this._namespaces.delete(name);\r\n }\r\n}\r\n\r\nclass TranslationLogger {\r\n public static readonly type = \"logger\";\r\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\r\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\r\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\r\n private createLogMessage(args: string[]) {\r\n let message = args[0];\r\n for (let i = 1; i < args.length; ++i) {\r\n if (typeof args[i] === \"string\")\r\n message += `\\n ${args[i]}`;\r\n }\r\n return message;\r\n }\r\n}\r\n"]
|
|
3093
2277
|
},
|
|
3094
2278
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
3095
|
-
hash: "
|
|
2279
|
+
hash: "e79e2625c080a04e240018b9f8c90ce810e7378e"
|
|
3096
2280
|
};
|
|
3097
2281
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
3098
2282
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -3101,57 +2285,56 @@ function cov_2l9mmpbx71() {
|
|
|
3101
2285
|
var actualCoverage = coverage[path];
|
|
3102
2286
|
{
|
|
3103
2287
|
// @ts-ignore
|
|
3104
|
-
|
|
2288
|
+
cov_1n64vqx5d7 = function () {
|
|
3105
2289
|
return actualCoverage;
|
|
3106
2290
|
};
|
|
3107
2291
|
}
|
|
3108
2292
|
return actualCoverage;
|
|
3109
2293
|
}
|
|
3110
|
-
|
|
3111
|
-
var __importDefault = (
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
return (
|
|
2294
|
+
cov_1n64vqx5d7();
|
|
2295
|
+
var __importDefault = (cov_1n64vqx5d7().s[0]++, (cov_1n64vqx5d7().b[0][0]++, this) && (cov_1n64vqx5d7().b[0][1]++, this.__importDefault) || (cov_1n64vqx5d7().b[0][2]++, function (mod) {
|
|
2296
|
+
cov_1n64vqx5d7().f[0]++;
|
|
2297
|
+
cov_1n64vqx5d7().s[1]++;
|
|
2298
|
+
return (cov_1n64vqx5d7().b[2][0]++, mod) && (cov_1n64vqx5d7().b[2][1]++, mod.__esModule) ? (cov_1n64vqx5d7().b[1][0]++, mod) : (cov_1n64vqx5d7().b[1][1]++, {
|
|
3115
2299
|
"default": mod
|
|
3116
2300
|
});
|
|
3117
2301
|
}));
|
|
3118
|
-
|
|
2302
|
+
cov_1n64vqx5d7().s[2]++;
|
|
3119
2303
|
Object.defineProperty(exports, "__esModule", ({
|
|
3120
2304
|
value: true
|
|
3121
2305
|
}));
|
|
3122
|
-
|
|
2306
|
+
cov_1n64vqx5d7().s[3]++;
|
|
3123
2307
|
exports.ITwinLocalization = void 0;
|
|
3124
|
-
const i18next_1 = (
|
|
3125
|
-
const i18next_browser_languagedetector_1 = (
|
|
3126
|
-
const i18next_http_backend_1 = (
|
|
3127
|
-
const core_bentley_1 = (
|
|
3128
|
-
const DEFAULT_MAX_RETRIES = (
|
|
2308
|
+
const i18next_1 = (cov_1n64vqx5d7().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
|
|
2309
|
+
const i18next_browser_languagedetector_1 = (cov_1n64vqx5d7().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
|
|
2310
|
+
const i18next_http_backend_1 = (cov_1n64vqx5d7().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
|
|
2311
|
+
const core_bentley_1 = (cov_1n64vqx5d7().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
|
|
2312
|
+
const DEFAULT_MAX_RETRIES = (cov_1n64vqx5d7().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
|
|
3129
2313
|
/** Supplies localizations for iTwin.js
|
|
3130
2314
|
* @note this class uses the [i18next](https://www.i18next.com/) package.
|
|
3131
2315
|
* @public
|
|
3132
2316
|
*/
|
|
3133
2317
|
class ITwinLocalization {
|
|
3134
2318
|
constructor(options) {
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
cov_2l9mmpbx71().s[9]++;
|
|
2319
|
+
cov_1n64vqx5d7().f[1]++;
|
|
2320
|
+
cov_1n64vqx5d7().s[9]++;
|
|
3138
2321
|
this._namespaces = new Map();
|
|
3139
|
-
|
|
2322
|
+
cov_1n64vqx5d7().s[10]++;
|
|
3140
2323
|
this.i18next = i18next_1.default.createInstance();
|
|
3141
|
-
|
|
2324
|
+
cov_1n64vqx5d7().s[11]++;
|
|
3142
2325
|
this._backendOptions = {
|
|
3143
|
-
loadPath: (
|
|
2326
|
+
loadPath: (cov_1n64vqx5d7().b[3][0]++, options?.urlTemplate) ?? (cov_1n64vqx5d7().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
|
|
3144
2327
|
crossDomain: true,
|
|
3145
|
-
...
|
|
2328
|
+
...options?.backendHttpOptions
|
|
3146
2329
|
};
|
|
3147
|
-
|
|
2330
|
+
cov_1n64vqx5d7().s[12]++;
|
|
3148
2331
|
this._detectionOptions = {
|
|
3149
2332
|
order: ["querystring", "navigator", "htmlTag"],
|
|
3150
2333
|
lookupQuerystring: "lng",
|
|
3151
2334
|
caches: [],
|
|
3152
|
-
...
|
|
2335
|
+
...options?.detectorOptions
|
|
3153
2336
|
};
|
|
3154
|
-
|
|
2337
|
+
cov_1n64vqx5d7().s[13]++;
|
|
3155
2338
|
this._initOptions = {
|
|
3156
2339
|
interpolation: {
|
|
3157
2340
|
escapeValue: true
|
|
@@ -3160,43 +2343,42 @@ class ITwinLocalization {
|
|
|
3160
2343
|
maxRetries: DEFAULT_MAX_RETRIES,
|
|
3161
2344
|
backend: this._backendOptions,
|
|
3162
2345
|
detection: this._detectionOptions,
|
|
3163
|
-
...
|
|
2346
|
+
...options?.initOptions
|
|
3164
2347
|
};
|
|
3165
|
-
|
|
3166
|
-
this.i18next.use((
|
|
2348
|
+
cov_1n64vqx5d7().s[14]++;
|
|
2349
|
+
this.i18next.use((cov_1n64vqx5d7().b[4][0]++, options?.detectorPlugin) ?? (cov_1n64vqx5d7().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_1n64vqx5d7().b[5][0]++, options?.backendPlugin) ?? (cov_1n64vqx5d7().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
|
|
3167
2350
|
}
|
|
3168
2351
|
async initialize(namespaces) {
|
|
3169
|
-
|
|
3170
|
-
var _a;
|
|
2352
|
+
cov_1n64vqx5d7().f[2]++;
|
|
3171
2353
|
// Also consider namespaces passed into constructor
|
|
3172
|
-
const initNamespaces = (
|
|
3173
|
-
const combinedNamespaces = (
|
|
3174
|
-
const defaultNamespace = (
|
|
3175
|
-
|
|
2354
|
+
const initNamespaces = (cov_1n64vqx5d7().s[15]++, [(cov_1n64vqx5d7().b[6][0]++, this._initOptions.ns) || (cov_1n64vqx5d7().b[6][1]++, [])].flat());
|
|
2355
|
+
const combinedNamespaces = (cov_1n64vqx5d7().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
|
|
2356
|
+
const defaultNamespace = (cov_1n64vqx5d7().s[17]++, (cov_1n64vqx5d7().b[7][0]++, this._initOptions.defaultNS) ?? (cov_1n64vqx5d7().b[7][1]++, namespaces[0]));
|
|
2357
|
+
cov_1n64vqx5d7().s[18]++;
|
|
3176
2358
|
if (defaultNamespace) {
|
|
3177
|
-
|
|
3178
|
-
|
|
2359
|
+
cov_1n64vqx5d7().b[8][0]++;
|
|
2360
|
+
cov_1n64vqx5d7().s[19]++;
|
|
3179
2361
|
combinedNamespaces.add(defaultNamespace);
|
|
3180
2362
|
} else {
|
|
3181
|
-
|
|
2363
|
+
cov_1n64vqx5d7().b[8][1]++;
|
|
3182
2364
|
} // Make sure default namespace is in namespaces list
|
|
3183
|
-
const initOptions = (
|
|
2365
|
+
const initOptions = (cov_1n64vqx5d7().s[20]++, {
|
|
3184
2366
|
...this._initOptions,
|
|
3185
2367
|
defaultNS: defaultNamespace,
|
|
3186
2368
|
ns: [...combinedNamespaces]
|
|
3187
2369
|
});
|
|
3188
2370
|
// if in a development environment, set debugging
|
|
3189
|
-
|
|
2371
|
+
cov_1n64vqx5d7().s[21]++;
|
|
3190
2372
|
if (false) {} else {
|
|
3191
|
-
|
|
2373
|
+
cov_1n64vqx5d7().b[9][1]++;
|
|
3192
2374
|
}
|
|
3193
|
-
const initPromise = (
|
|
3194
|
-
|
|
2375
|
+
const initPromise = (cov_1n64vqx5d7().s[23]++, this.i18next.init(initOptions));
|
|
2376
|
+
cov_1n64vqx5d7().s[24]++;
|
|
3195
2377
|
for (const ns of namespaces) {
|
|
3196
|
-
|
|
2378
|
+
cov_1n64vqx5d7().s[25]++;
|
|
3197
2379
|
this._namespaces.set(ns, initPromise);
|
|
3198
2380
|
}
|
|
3199
|
-
|
|
2381
|
+
cov_1n64vqx5d7().s[26]++;
|
|
3200
2382
|
return initPromise;
|
|
3201
2383
|
}
|
|
3202
2384
|
/** Replace all instances of `%{key}` within a string with the translations of those keys.
|
|
@@ -3216,11 +2398,11 @@ class ITwinLocalization {
|
|
|
3216
2398
|
* @public
|
|
3217
2399
|
*/
|
|
3218
2400
|
getLocalizedKeys(line) {
|
|
3219
|
-
|
|
3220
|
-
|
|
2401
|
+
cov_1n64vqx5d7().f[3]++;
|
|
2402
|
+
cov_1n64vqx5d7().s[27]++;
|
|
3221
2403
|
return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
|
|
3222
|
-
|
|
3223
|
-
|
|
2404
|
+
cov_1n64vqx5d7().f[4]++;
|
|
2405
|
+
cov_1n64vqx5d7().s[28]++;
|
|
3224
2406
|
return this.getLocalizedString(tag);
|
|
3225
2407
|
});
|
|
3226
2408
|
}
|
|
@@ -3238,25 +2420,25 @@ class ITwinLocalization {
|
|
|
3238
2420
|
* @public
|
|
3239
2421
|
*/
|
|
3240
2422
|
getLocalizedString(key, options) {
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
if ((
|
|
3244
|
-
|
|
3245
|
-
|
|
2423
|
+
cov_1n64vqx5d7().f[5]++;
|
|
2424
|
+
cov_1n64vqx5d7().s[29]++;
|
|
2425
|
+
if ((cov_1n64vqx5d7().b[11][0]++, options?.returnDetails) || (cov_1n64vqx5d7().b[11][1]++, options?.returnObjects)) {
|
|
2426
|
+
cov_1n64vqx5d7().b[10][0]++;
|
|
2427
|
+
cov_1n64vqx5d7().s[30]++;
|
|
3246
2428
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3247
2429
|
} else {
|
|
3248
|
-
|
|
2430
|
+
cov_1n64vqx5d7().b[10][1]++;
|
|
3249
2431
|
}
|
|
3250
|
-
const value = (
|
|
3251
|
-
|
|
2432
|
+
const value = (cov_1n64vqx5d7().s[31]++, this.i18next.t(key, options));
|
|
2433
|
+
cov_1n64vqx5d7().s[32]++;
|
|
3252
2434
|
if (typeof value !== "string") {
|
|
3253
|
-
|
|
3254
|
-
|
|
2435
|
+
cov_1n64vqx5d7().b[12][0]++;
|
|
2436
|
+
cov_1n64vqx5d7().s[33]++;
|
|
3255
2437
|
throw new Error("Translation key(s) string not found");
|
|
3256
2438
|
} else {
|
|
3257
|
-
|
|
2439
|
+
cov_1n64vqx5d7().b[12][1]++;
|
|
3258
2440
|
}
|
|
3259
|
-
|
|
2441
|
+
cov_1n64vqx5d7().s[34]++;
|
|
3260
2442
|
return value;
|
|
3261
2443
|
}
|
|
3262
2444
|
/** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
|
|
@@ -3268,23 +2450,23 @@ class ITwinLocalization {
|
|
|
3268
2450
|
* @internal
|
|
3269
2451
|
*/
|
|
3270
2452
|
getLocalizedStringWithNamespace(namespace, key, options) {
|
|
3271
|
-
|
|
3272
|
-
let fullKey = (
|
|
3273
|
-
|
|
2453
|
+
cov_1n64vqx5d7().f[6]++;
|
|
2454
|
+
let fullKey = (cov_1n64vqx5d7().s[35]++, "");
|
|
2455
|
+
cov_1n64vqx5d7().s[36]++;
|
|
3274
2456
|
if (typeof key === "string") {
|
|
3275
|
-
|
|
3276
|
-
|
|
2457
|
+
cov_1n64vqx5d7().b[13][0]++;
|
|
2458
|
+
cov_1n64vqx5d7().s[37]++;
|
|
3277
2459
|
fullKey = `${namespace}:${key}`;
|
|
3278
2460
|
} else {
|
|
3279
|
-
|
|
3280
|
-
|
|
2461
|
+
cov_1n64vqx5d7().b[13][1]++;
|
|
2462
|
+
cov_1n64vqx5d7().s[38]++;
|
|
3281
2463
|
fullKey = key.map(subKey => {
|
|
3282
|
-
|
|
3283
|
-
|
|
2464
|
+
cov_1n64vqx5d7().f[7]++;
|
|
2465
|
+
cov_1n64vqx5d7().s[39]++;
|
|
3284
2466
|
return `${namespace}:${subKey}`;
|
|
3285
2467
|
});
|
|
3286
2468
|
}
|
|
3287
|
-
|
|
2469
|
+
cov_1n64vqx5d7().s[40]++;
|
|
3288
2470
|
return this.getLocalizedString(fullKey, options);
|
|
3289
2471
|
}
|
|
3290
2472
|
/** Gets the English translation.
|
|
@@ -3295,32 +2477,32 @@ class ITwinLocalization {
|
|
|
3295
2477
|
* @internal
|
|
3296
2478
|
*/
|
|
3297
2479
|
getEnglishString(namespace, key, options) {
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
if ((
|
|
3301
|
-
|
|
3302
|
-
|
|
2480
|
+
cov_1n64vqx5d7().f[8]++;
|
|
2481
|
+
cov_1n64vqx5d7().s[41]++;
|
|
2482
|
+
if ((cov_1n64vqx5d7().b[15][0]++, options?.returnDetails) || (cov_1n64vqx5d7().b[15][1]++, options?.returnObjects)) {
|
|
2483
|
+
cov_1n64vqx5d7().b[14][0]++;
|
|
2484
|
+
cov_1n64vqx5d7().s[42]++;
|
|
3303
2485
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3304
2486
|
} else {
|
|
3305
|
-
|
|
2487
|
+
cov_1n64vqx5d7().b[14][1]++;
|
|
3306
2488
|
}
|
|
3307
|
-
|
|
2489
|
+
cov_1n64vqx5d7().s[43]++;
|
|
3308
2490
|
options = {
|
|
3309
2491
|
...options,
|
|
3310
2492
|
ns: namespace // ensure namespace argument is used
|
|
3311
2493
|
};
|
|
3312
2494
|
|
|
3313
|
-
const en = (
|
|
3314
|
-
const str = (
|
|
3315
|
-
|
|
2495
|
+
const en = (cov_1n64vqx5d7().s[44]++, this.i18next.getFixedT("en", namespace));
|
|
2496
|
+
const str = (cov_1n64vqx5d7().s[45]++, en(key, options));
|
|
2497
|
+
cov_1n64vqx5d7().s[46]++;
|
|
3316
2498
|
if (typeof str !== "string") {
|
|
3317
|
-
|
|
3318
|
-
|
|
2499
|
+
cov_1n64vqx5d7().b[16][0]++;
|
|
2500
|
+
cov_1n64vqx5d7().s[47]++;
|
|
3319
2501
|
throw new Error("Translation key(s) not found");
|
|
3320
2502
|
} else {
|
|
3321
|
-
|
|
2503
|
+
cov_1n64vqx5d7().b[16][1]++;
|
|
3322
2504
|
}
|
|
3323
|
-
|
|
2505
|
+
cov_1n64vqx5d7().s[48]++;
|
|
3324
2506
|
return str;
|
|
3325
2507
|
}
|
|
3326
2508
|
/** Get the promise for an already registered Namespace.
|
|
@@ -3328,20 +2510,20 @@ class ITwinLocalization {
|
|
|
3328
2510
|
* @public
|
|
3329
2511
|
*/
|
|
3330
2512
|
getNamespacePromise(name) {
|
|
3331
|
-
|
|
3332
|
-
|
|
2513
|
+
cov_1n64vqx5d7().f[9]++;
|
|
2514
|
+
cov_1n64vqx5d7().s[49]++;
|
|
3333
2515
|
return this._namespaces.get(name);
|
|
3334
2516
|
}
|
|
3335
2517
|
/** @internal */
|
|
3336
2518
|
getLanguageList() {
|
|
3337
|
-
|
|
3338
|
-
|
|
2519
|
+
cov_1n64vqx5d7().f[10]++;
|
|
2520
|
+
cov_1n64vqx5d7().s[50]++;
|
|
3339
2521
|
return this.i18next.languages;
|
|
3340
2522
|
}
|
|
3341
2523
|
/** override the language detected in the browser */
|
|
3342
2524
|
async changeLanguage(language) {
|
|
3343
|
-
|
|
3344
|
-
|
|
2525
|
+
cov_1n64vqx5d7().f[11]++;
|
|
2526
|
+
cov_1n64vqx5d7().s[51]++;
|
|
3345
2527
|
return this.i18next.changeLanguage(language);
|
|
3346
2528
|
}
|
|
3347
2529
|
/** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
|
|
@@ -3353,123 +2535,123 @@ class ITwinLocalization {
|
|
|
3353
2535
|
* @public
|
|
3354
2536
|
*/
|
|
3355
2537
|
async registerNamespace(name) {
|
|
3356
|
-
|
|
3357
|
-
const existing = (
|
|
3358
|
-
|
|
2538
|
+
cov_1n64vqx5d7().f[12]++;
|
|
2539
|
+
const existing = (cov_1n64vqx5d7().s[52]++, this._namespaces.get(name));
|
|
2540
|
+
cov_1n64vqx5d7().s[53]++;
|
|
3359
2541
|
if (existing !== undefined) {
|
|
3360
|
-
|
|
3361
|
-
|
|
2542
|
+
cov_1n64vqx5d7().b[17][0]++;
|
|
2543
|
+
cov_1n64vqx5d7().s[54]++;
|
|
3362
2544
|
return existing;
|
|
3363
2545
|
} else {
|
|
3364
|
-
|
|
2546
|
+
cov_1n64vqx5d7().b[17][1]++;
|
|
3365
2547
|
}
|
|
3366
|
-
const theReadPromise = (
|
|
3367
|
-
|
|
3368
|
-
|
|
2548
|
+
const theReadPromise = (cov_1n64vqx5d7().s[55]++, new Promise(resolve => {
|
|
2549
|
+
cov_1n64vqx5d7().f[13]++;
|
|
2550
|
+
cov_1n64vqx5d7().s[56]++;
|
|
3369
2551
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
3370
2552
|
this.i18next.loadNamespaces(name, err => {
|
|
3371
|
-
|
|
3372
|
-
|
|
2553
|
+
cov_1n64vqx5d7().f[14]++;
|
|
2554
|
+
cov_1n64vqx5d7().s[57]++;
|
|
3373
2555
|
if (!err) {
|
|
3374
|
-
|
|
3375
|
-
|
|
2556
|
+
cov_1n64vqx5d7().b[18][0]++;
|
|
2557
|
+
cov_1n64vqx5d7().s[58]++;
|
|
3376
2558
|
return resolve();
|
|
3377
2559
|
} else {
|
|
3378
|
-
|
|
2560
|
+
cov_1n64vqx5d7().b[18][1]++;
|
|
3379
2561
|
}
|
|
3380
2562
|
// Here we got a non-null err object.
|
|
3381
2563
|
// This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
|
|
3382
2564
|
// For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
|
|
3383
2565
|
// Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
|
|
3384
2566
|
// 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.
|
|
3385
|
-
let locales = (
|
|
3386
|
-
|
|
3387
|
-
|
|
2567
|
+
let locales = (cov_1n64vqx5d7().s[59]++, this.getLanguageList().map(thisLocale => {
|
|
2568
|
+
cov_1n64vqx5d7().f[15]++;
|
|
2569
|
+
cov_1n64vqx5d7().s[60]++;
|
|
3388
2570
|
return `/${thisLocale}/`;
|
|
3389
2571
|
}));
|
|
3390
|
-
|
|
2572
|
+
cov_1n64vqx5d7().s[61]++;
|
|
3391
2573
|
try {
|
|
3392
|
-
|
|
2574
|
+
cov_1n64vqx5d7().s[62]++;
|
|
3393
2575
|
for (const thisError of err) {
|
|
3394
|
-
|
|
2576
|
+
cov_1n64vqx5d7().s[63]++;
|
|
3395
2577
|
if (typeof thisError === "string") {
|
|
3396
|
-
|
|
3397
|
-
|
|
2578
|
+
cov_1n64vqx5d7().b[19][0]++;
|
|
2579
|
+
cov_1n64vqx5d7().s[64]++;
|
|
3398
2580
|
locales = locales.filter(thisLocale => {
|
|
3399
|
-
|
|
3400
|
-
|
|
2581
|
+
cov_1n64vqx5d7().f[16]++;
|
|
2582
|
+
cov_1n64vqx5d7().s[65]++;
|
|
3401
2583
|
return !thisError.includes(thisLocale);
|
|
3402
2584
|
});
|
|
3403
2585
|
} else {
|
|
3404
|
-
|
|
2586
|
+
cov_1n64vqx5d7().b[19][1]++;
|
|
3405
2587
|
}
|
|
3406
2588
|
}
|
|
3407
2589
|
} catch (e) {
|
|
3408
|
-
|
|
2590
|
+
cov_1n64vqx5d7().s[66]++;
|
|
3409
2591
|
locales = [];
|
|
3410
2592
|
}
|
|
3411
2593
|
// if we removed every locale from the array, it wasn't loaded.
|
|
3412
|
-
|
|
2594
|
+
cov_1n64vqx5d7().s[67]++;
|
|
3413
2595
|
if (locales.length === 0) {
|
|
3414
|
-
|
|
3415
|
-
|
|
2596
|
+
cov_1n64vqx5d7().b[20][0]++;
|
|
2597
|
+
cov_1n64vqx5d7().s[68]++;
|
|
3416
2598
|
core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
|
|
3417
2599
|
} else {
|
|
3418
|
-
|
|
2600
|
+
cov_1n64vqx5d7().b[20][1]++;
|
|
3419
2601
|
}
|
|
3420
|
-
|
|
2602
|
+
cov_1n64vqx5d7().s[69]++;
|
|
3421
2603
|
resolve();
|
|
3422
2604
|
});
|
|
3423
2605
|
}));
|
|
3424
|
-
|
|
2606
|
+
cov_1n64vqx5d7().s[70]++;
|
|
3425
2607
|
this._namespaces.set(name, theReadPromise);
|
|
3426
|
-
|
|
2608
|
+
cov_1n64vqx5d7().s[71]++;
|
|
3427
2609
|
return theReadPromise;
|
|
3428
2610
|
}
|
|
3429
2611
|
/** @internal */
|
|
3430
2612
|
unregisterNamespace(name) {
|
|
3431
|
-
|
|
3432
|
-
|
|
2613
|
+
cov_1n64vqx5d7().f[17]++;
|
|
2614
|
+
cov_1n64vqx5d7().s[72]++;
|
|
3433
2615
|
this._namespaces.delete(name);
|
|
3434
2616
|
}
|
|
3435
2617
|
}
|
|
3436
|
-
|
|
2618
|
+
cov_1n64vqx5d7().s[73]++;
|
|
3437
2619
|
exports.ITwinLocalization = ITwinLocalization;
|
|
3438
2620
|
class TranslationLogger {
|
|
3439
2621
|
log(args) {
|
|
3440
|
-
|
|
3441
|
-
|
|
2622
|
+
cov_1n64vqx5d7().f[18]++;
|
|
2623
|
+
cov_1n64vqx5d7().s[74]++;
|
|
3442
2624
|
core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
|
|
3443
2625
|
}
|
|
3444
2626
|
warn(args) {
|
|
3445
|
-
|
|
3446
|
-
|
|
2627
|
+
cov_1n64vqx5d7().f[19]++;
|
|
2628
|
+
cov_1n64vqx5d7().s[75]++;
|
|
3447
2629
|
core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
|
|
3448
2630
|
}
|
|
3449
2631
|
error(args) {
|
|
3450
|
-
|
|
3451
|
-
|
|
2632
|
+
cov_1n64vqx5d7().f[20]++;
|
|
2633
|
+
cov_1n64vqx5d7().s[76]++;
|
|
3452
2634
|
core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
|
|
3453
2635
|
}
|
|
3454
2636
|
createLogMessage(args) {
|
|
3455
|
-
|
|
3456
|
-
let message = (
|
|
3457
|
-
|
|
3458
|
-
for (let i = (
|
|
3459
|
-
|
|
2637
|
+
cov_1n64vqx5d7().f[21]++;
|
|
2638
|
+
let message = (cov_1n64vqx5d7().s[77]++, args[0]);
|
|
2639
|
+
cov_1n64vqx5d7().s[78]++;
|
|
2640
|
+
for (let i = (cov_1n64vqx5d7().s[79]++, 1); i < args.length; ++i) {
|
|
2641
|
+
cov_1n64vqx5d7().s[80]++;
|
|
3460
2642
|
if (typeof args[i] === "string") {
|
|
3461
|
-
|
|
3462
|
-
|
|
2643
|
+
cov_1n64vqx5d7().b[21][0]++;
|
|
2644
|
+
cov_1n64vqx5d7().s[81]++;
|
|
3463
2645
|
message += `\n ${args[i]}`;
|
|
3464
2646
|
} else {
|
|
3465
|
-
|
|
2647
|
+
cov_1n64vqx5d7().b[21][1]++;
|
|
3466
2648
|
}
|
|
3467
2649
|
}
|
|
3468
|
-
|
|
2650
|
+
cov_1n64vqx5d7().s[82]++;
|
|
3469
2651
|
return message;
|
|
3470
2652
|
}
|
|
3471
2653
|
}
|
|
3472
|
-
|
|
2654
|
+
cov_1n64vqx5d7().s[83]++;
|
|
3473
2655
|
TranslationLogger.type = "logger";
|
|
3474
2656
|
|
|
3475
2657
|
/***/ }),
|
|
@@ -19255,7 +18437,7 @@ function assert(condition, message) {
|
|
|
19255
18437
|
condition = condition();
|
|
19256
18438
|
if (condition)
|
|
19257
18439
|
return;
|
|
19258
|
-
message = message
|
|
18440
|
+
message = message ?? "Programmer Error";
|
|
19259
18441
|
if ("string" !== typeof message)
|
|
19260
18442
|
message = message();
|
|
19261
18443
|
throw new Error(`Assert: ${message}`);
|
|
@@ -19604,6 +18786,8 @@ var DbResult;
|
|
|
19604
18786
|
DbResult[DbResult["BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes"] = 352321546] = "BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes";
|
|
19605
18787
|
/** Recommended that the schemas found in the database be upgraded */
|
|
19606
18788
|
DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
|
|
18789
|
+
/** schema update require data transform */
|
|
18790
|
+
DbResult[DbResult["BE_SQLITE_ERROR_DataTransformRequired"] = 385875978] = "BE_SQLITE_ERROR_DataTransformRequired";
|
|
19607
18791
|
DbResult[DbResult["BE_SQLITE_LOCKED_SHAREDCACHE"] = 262] = "BE_SQLITE_LOCKED_SHAREDCACHE";
|
|
19608
18792
|
DbResult[DbResult["BE_SQLITE_BUSY_RECOVERY"] = 261] = "BE_SQLITE_BUSY_RECOVERY";
|
|
19609
18793
|
DbResult[DbResult["BE_SQLITE_CANTOPEN_NOTEMPDIR"] = 270] = "BE_SQLITE_CANTOPEN_NOTEMPDIR";
|
|
@@ -20124,6 +19308,7 @@ class BentleyError extends Error {
|
|
|
20124
19308
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SHMMAP: return "BE_SQLITE_IOERR_SHMMAP";
|
|
20125
19309
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SEEK: return "BE_SQLITE_IOERR_SEEK";
|
|
20126
19310
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_DELETE_NOENT: return "BE_SQLITE_IOERR_DELETE_NOENT";
|
|
19311
|
+
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_DataTransformRequired: return "Schema update require to transform data";
|
|
20127
19312
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_FileExists: return "File Exists";
|
|
20128
19313
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_AlreadyOpen: return "Already Open";
|
|
20129
19314
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_NoPropertyTable: return "No Property Table";
|
|
@@ -20977,7 +20162,7 @@ var CompressedId64Set;
|
|
|
20977
20162
|
* @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
|
|
20978
20163
|
*/
|
|
20979
20164
|
function decompressSet(compressedIds, out) {
|
|
20980
|
-
const set = out
|
|
20165
|
+
const set = out ?? new Set();
|
|
20981
20166
|
for (const id of iterable(compressedIds))
|
|
20982
20167
|
set.add(id);
|
|
20983
20168
|
return set;
|
|
@@ -20994,7 +20179,7 @@ var CompressedId64Set;
|
|
|
20994
20179
|
* @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
|
|
20995
20180
|
*/
|
|
20996
20181
|
function decompressArray(compressedIds, out) {
|
|
20997
|
-
const arr = out
|
|
20182
|
+
const arr = out ?? [];
|
|
20998
20183
|
for (const id of iterable(compressedIds))
|
|
20999
20184
|
arr.push(id);
|
|
21000
20185
|
return arr;
|
|
@@ -21026,7 +20211,7 @@ class MutableCompressedId64Set {
|
|
|
21026
20211
|
constructor(ids) {
|
|
21027
20212
|
this._inserted = new OrderedId64Array();
|
|
21028
20213
|
this._deleted = new OrderedId64Array();
|
|
21029
|
-
this._ids = ids
|
|
20214
|
+
this._ids = ids ?? "";
|
|
21030
20215
|
}
|
|
21031
20216
|
/** 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. */
|
|
21032
20217
|
get ids() {
|
|
@@ -21060,7 +20245,7 @@ class MutableCompressedId64Set {
|
|
|
21060
20245
|
/** Remove all Ids from the set, then add the specified Ids. */
|
|
21061
20246
|
reset(ids) {
|
|
21062
20247
|
this.clear();
|
|
21063
|
-
this._ids = ids
|
|
20248
|
+
this._ids = ids ?? "";
|
|
21064
20249
|
}
|
|
21065
20250
|
/** Obtain an iterator over the Ids in this set. The Ids are returned in ascending order based on their unsigned 64-bit integer values. */
|
|
21066
20251
|
[Symbol.iterator]() {
|
|
@@ -22834,17 +22019,15 @@ class Logger {
|
|
|
22834
22019
|
}
|
|
22835
22020
|
/** Set the least severe level at which messages should be displayed by default. Call setLevel to override this default setting for specific categories. */
|
|
22836
22021
|
static setLevelDefault(minLevel) {
|
|
22837
|
-
var _a;
|
|
22838
22022
|
this._minLevel = minLevel;
|
|
22839
|
-
|
|
22023
|
+
this.logLevelChangedFn?.();
|
|
22840
22024
|
}
|
|
22841
22025
|
/** Set the minimum logging level for the specified category. The minimum level is least severe level at which messages in the
|
|
22842
22026
|
* specified category should be displayed.
|
|
22843
22027
|
*/
|
|
22844
22028
|
static setLevel(category, minLevel) {
|
|
22845
|
-
var _a;
|
|
22846
22029
|
Logger._categoryFilter.set(category, minLevel);
|
|
22847
|
-
|
|
22030
|
+
this.logLevelChangedFn?.();
|
|
22848
22031
|
}
|
|
22849
22032
|
/** Interpret a string as the name of a LogLevel */
|
|
22850
22033
|
static parseLogLevel(str) {
|
|
@@ -23134,7 +22317,7 @@ class PromiseWithAbandon {
|
|
|
23134
22317
|
/** Create a Promise that is chained to the underlying Promise, but is connected to the abandon method. */
|
|
23135
22318
|
async init(msg) {
|
|
23136
22319
|
return new Promise((resolve, reject) => {
|
|
23137
|
-
this.abandon = (message) => reject(new AbandonedError(message
|
|
22320
|
+
this.abandon = (message) => reject(new AbandonedError(message ?? msg));
|
|
23138
22321
|
this._resolve = resolve;
|
|
23139
22322
|
});
|
|
23140
22323
|
}
|
|
@@ -24971,17 +24154,16 @@ class Tracing {
|
|
|
24971
24154
|
? Tracing._openTelemetry.context.active()
|
|
24972
24155
|
: Tracing._openTelemetry.trace.setSpanContext(Tracing._openTelemetry.context.active(), parentContext);
|
|
24973
24156
|
return Tracing._openTelemetry.context.with(Tracing._openTelemetry.trace.setSpan(parent, Tracing._tracer.startSpan(name, options, Tracing._openTelemetry.context.active())), async () => {
|
|
24974
|
-
var _a, _b, _c, _d;
|
|
24975
24157
|
try {
|
|
24976
24158
|
return await fn();
|
|
24977
24159
|
}
|
|
24978
24160
|
catch (err) {
|
|
24979
24161
|
if (err instanceof Error) // ignore non-Error throws, such as RpcControlResponse
|
|
24980
|
-
|
|
24162
|
+
Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttribute("error", true);
|
|
24981
24163
|
throw err;
|
|
24982
24164
|
}
|
|
24983
24165
|
finally {
|
|
24984
|
-
|
|
24166
|
+
Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.end();
|
|
24985
24167
|
}
|
|
24986
24168
|
});
|
|
24987
24169
|
}
|
|
@@ -25000,9 +24182,8 @@ class Tracing {
|
|
|
25000
24182
|
}
|
|
25001
24183
|
static withOpenTelemetry(base, isError = false) {
|
|
25002
24184
|
return (category, message, metaData) => {
|
|
25003
|
-
var _a, _b;
|
|
25004
24185
|
try {
|
|
25005
|
-
|
|
24186
|
+
Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
|
|
25006
24187
|
}
|
|
25007
24188
|
catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
|
|
25008
24189
|
base(category, message, metaData);
|
|
@@ -25012,8 +24193,7 @@ class Tracing {
|
|
|
25012
24193
|
* @param attributes The attributes to set
|
|
25013
24194
|
*/
|
|
25014
24195
|
static setAttributes(attributes) {
|
|
25015
|
-
|
|
25016
|
-
(_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttributes(attributes);
|
|
24196
|
+
Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttributes(attributes);
|
|
25017
24197
|
}
|
|
25018
24198
|
}
|
|
25019
24199
|
|
|
@@ -25174,10 +24354,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25174
24354
|
class TypedArrayBuilder {
|
|
25175
24355
|
/** Constructs a new builder from the specified options, with a [[length]] of zero. */
|
|
25176
24356
|
constructor(constructor, options) {
|
|
25177
|
-
var _a, _b;
|
|
25178
24357
|
this._constructor = constructor;
|
|
25179
|
-
this._data = new constructor(
|
|
25180
|
-
this.growthFactor = Math.max(1.0,
|
|
24358
|
+
this._data = new constructor(options?.initialCapacity ?? 0);
|
|
24359
|
+
this.growthFactor = Math.max(1.0, options?.growthFactor ?? 1.5);
|
|
25181
24360
|
this._length = 0;
|
|
25182
24361
|
}
|
|
25183
24362
|
/** The number of elements currently in the array. */
|
|
@@ -25305,8 +24484,7 @@ class Uint32ArrayBuilder extends TypedArrayBuilder {
|
|
|
25305
24484
|
*/
|
|
25306
24485
|
class UintArrayBuilder extends TypedArrayBuilder {
|
|
25307
24486
|
constructor(options) {
|
|
25308
|
-
|
|
25309
|
-
super((_a = options === null || options === void 0 ? void 0 : options.initialType) !== null && _a !== void 0 ? _a : Uint8Array, options);
|
|
24487
|
+
super(options?.initialType ?? Uint8Array, options);
|
|
25310
24488
|
}
|
|
25311
24489
|
/** The number of bytes (1, 2, or 4) currently allocated per element by the underlying array.
|
|
25312
24490
|
* This may change as larger values are added to the array.
|
|
@@ -26682,17 +25860,15 @@ describe("ITwinLocalization", () => {
|
|
|
26682
25860
|
chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, undefined);
|
|
26683
25861
|
});
|
|
26684
25862
|
it("initialize with single namespace", async () => {
|
|
26685
|
-
var _a;
|
|
26686
25863
|
await itwinLocalization.initialize(["Test"]);
|
|
26687
25864
|
chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Test");
|
|
26688
|
-
chai_1.assert.isTrue(
|
|
25865
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
|
|
26689
25866
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
|
|
26690
25867
|
});
|
|
26691
25868
|
it("initialize with two namespaces recognizes both namespaces", async () => {
|
|
26692
|
-
var _a, _b;
|
|
26693
25869
|
await itwinLocalization.initialize(["Default", "Test"]);
|
|
26694
|
-
chai_1.assert.isTrue(
|
|
26695
|
-
chai_1.assert.isTrue(
|
|
25870
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
|
|
25871
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
|
|
26696
25872
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
|
|
26697
25873
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
|
|
26698
25874
|
});
|
|
@@ -26702,10 +25878,9 @@ describe("ITwinLocalization", () => {
|
|
|
26702
25878
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
|
|
26703
25879
|
});
|
|
26704
25880
|
it("initialize with duplicate namespace values does not break anything", async () => {
|
|
26705
|
-
var _a;
|
|
26706
25881
|
await itwinLocalization.initialize(["Default", "Default"]);
|
|
26707
25882
|
chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
|
|
26708
|
-
chai_1.assert.isTrue(
|
|
25883
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
|
|
26709
25884
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
|
|
26710
25885
|
chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
|
|
26711
25886
|
});
|
|
@@ -26731,14 +25906,12 @@ describe("ITwinLocalization", () => {
|
|
|
26731
25906
|
chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
|
|
26732
25907
|
});
|
|
26733
25908
|
it("default namespace is in list of all namespaces initalized with empty array", async () => {
|
|
26734
|
-
var _a;
|
|
26735
25909
|
await itwinLocalization.initialize([]);
|
|
26736
|
-
chai_1.assert.isTrue(
|
|
25910
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
|
|
26737
25911
|
});
|
|
26738
25912
|
it("default namespace is in list of all namespaces", async () => {
|
|
26739
|
-
var _a;
|
|
26740
25913
|
await itwinLocalization.initialize(["Test"]);
|
|
26741
|
-
chai_1.assert.isTrue(
|
|
25914
|
+
chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
|
|
26742
25915
|
});
|
|
26743
25916
|
});
|
|
26744
25917
|
});
|