@bigbinary/neeto-form-frontend 1.0.33 → 1.0.34
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/dist/index.cjs.js +1047 -696
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1048 -697
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$2 from 'react';
|
|
2
2
|
import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useContext, useReducer, useRef, useState, createContext, createElement, Fragment, forwardRef, useCallback as useCallback$1, Component } from 'react';
|
|
3
3
|
import { useField, useFormikContext, FieldArray, Form as Form$1, Formik, Field, FastField } from 'formik';
|
|
4
|
-
import { noop as noop$5, findBy, removeBy, isPresent, findById
|
|
4
|
+
import { noop as noop$5, findBy, removeBy, isPresent, findById } from '@bigbinary/neeto-commons-frontend/pure';
|
|
5
5
|
import PageLoader from 'neetomolecules/PageLoader';
|
|
6
6
|
import { Toastr, Typography, Dropdown as Dropdown$2, Button as Button$1, Label, Alert, Spinner as Spinner$1 } from '@bigbinary/neetoui';
|
|
7
7
|
import { assoc, prop, path, isEmpty, reject, omit, insert, compose as compose$1, trim as trim$1, either, isNil, values as values$1, equals, not, pluck, mergeLeft, times } from 'ramda';
|
|
@@ -16,6 +16,7 @@ import { Editor as Editor$1, isEditorEmpty, EditorContent } from '@bigbinary/nee
|
|
|
16
16
|
import * as yup from 'yup';
|
|
17
17
|
import { object, array, string } from 'yup';
|
|
18
18
|
import dayjs$1 from 'dayjs';
|
|
19
|
+
import { validation, PhoneNumberInput, PhoneNumber as PhoneNumber$1 } from 'neetomolecules/PhoneNumber';
|
|
19
20
|
import require$$4 from 'dayjs/plugin/localeData';
|
|
20
21
|
import utc from 'dayjs/plugin/utc';
|
|
21
22
|
import require$$3 from 'dayjs/plugin/weekday';
|
|
@@ -56144,7 +56145,7 @@ cov_1zuybttr1q().s[8]++;
|
|
|
56144
56145
|
var _ref9;
|
|
56145
56146
|
function cov_1y9t6ere98() {
|
|
56146
56147
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/validations.js";
|
|
56147
|
-
var hash = "
|
|
56148
|
+
var hash = "5058ac8f69b60910b7f697db1676d1362d5aef65";
|
|
56148
56149
|
var global = new Function("return this")();
|
|
56149
56150
|
var gcv = "__coverage__";
|
|
56150
56151
|
var coverageData = {
|
|
@@ -56152,621 +56153,601 @@ function cov_1y9t6ere98() {
|
|
|
56152
56153
|
statementMap: {
|
|
56153
56154
|
"0": {
|
|
56154
56155
|
start: {
|
|
56155
|
-
line:
|
|
56156
|
-
column: 28
|
|
56157
|
-
},
|
|
56158
|
-
end: {
|
|
56159
|
-
line: 18,
|
|
56160
|
-
column: 63
|
|
56161
|
-
}
|
|
56162
|
-
},
|
|
56163
|
-
"1": {
|
|
56164
|
-
start: {
|
|
56165
|
-
line: 18,
|
|
56166
|
-
column: 2
|
|
56167
|
-
},
|
|
56168
|
-
end: {
|
|
56169
|
-
line: 18,
|
|
56170
|
-
column: 63
|
|
56171
|
-
}
|
|
56172
|
-
},
|
|
56173
|
-
"2": {
|
|
56174
|
-
start: {
|
|
56175
|
-
line: 20,
|
|
56156
|
+
line: 16,
|
|
56176
56157
|
column: 26
|
|
56177
56158
|
},
|
|
56178
56159
|
end: {
|
|
56179
|
-
line:
|
|
56160
|
+
line: 29,
|
|
56180
56161
|
column: 1
|
|
56181
56162
|
}
|
|
56182
56163
|
},
|
|
56183
|
-
"
|
|
56164
|
+
"1": {
|
|
56184
56165
|
start: {
|
|
56185
|
-
line:
|
|
56166
|
+
line: 17,
|
|
56186
56167
|
column: 15
|
|
56187
56168
|
},
|
|
56188
56169
|
end: {
|
|
56189
|
-
line:
|
|
56170
|
+
line: 17,
|
|
56190
56171
|
column: 75
|
|
56191
56172
|
}
|
|
56192
56173
|
},
|
|
56193
|
-
"
|
|
56174
|
+
"2": {
|
|
56194
56175
|
start: {
|
|
56195
|
-
line:
|
|
56176
|
+
line: 18,
|
|
56196
56177
|
column: 2
|
|
56197
56178
|
},
|
|
56198
56179
|
end: {
|
|
56199
|
-
line:
|
|
56180
|
+
line: 24,
|
|
56200
56181
|
column: 3
|
|
56201
56182
|
}
|
|
56202
56183
|
},
|
|
56203
|
-
"
|
|
56184
|
+
"3": {
|
|
56204
56185
|
start: {
|
|
56205
|
-
line:
|
|
56186
|
+
line: 19,
|
|
56206
56187
|
column: 4
|
|
56207
56188
|
},
|
|
56208
56189
|
end: {
|
|
56209
|
-
line:
|
|
56190
|
+
line: 19,
|
|
56210
56191
|
column: 57
|
|
56211
56192
|
}
|
|
56212
56193
|
},
|
|
56213
|
-
"
|
|
56194
|
+
"4": {
|
|
56214
56195
|
start: {
|
|
56215
|
-
line:
|
|
56196
|
+
line: 20,
|
|
56216
56197
|
column: 9
|
|
56217
56198
|
},
|
|
56218
56199
|
end: {
|
|
56219
|
-
line:
|
|
56200
|
+
line: 24,
|
|
56220
56201
|
column: 3
|
|
56221
56202
|
}
|
|
56222
56203
|
},
|
|
56223
|
-
"
|
|
56204
|
+
"5": {
|
|
56224
56205
|
start: {
|
|
56225
|
-
line:
|
|
56206
|
+
line: 21,
|
|
56226
56207
|
column: 4
|
|
56227
56208
|
},
|
|
56228
56209
|
end: {
|
|
56229
|
-
line:
|
|
56210
|
+
line: 23,
|
|
56230
56211
|
column: 6
|
|
56231
56212
|
}
|
|
56232
56213
|
},
|
|
56233
|
-
"
|
|
56214
|
+
"6": {
|
|
56234
56215
|
start: {
|
|
56235
|
-
line:
|
|
56216
|
+
line: 26,
|
|
56236
56217
|
column: 2
|
|
56237
56218
|
},
|
|
56238
56219
|
end: {
|
|
56239
|
-
line:
|
|
56220
|
+
line: 26,
|
|
56240
56221
|
column: 80
|
|
56241
56222
|
}
|
|
56242
56223
|
},
|
|
56243
|
-
"
|
|
56224
|
+
"7": {
|
|
56244
56225
|
start: {
|
|
56245
|
-
line:
|
|
56226
|
+
line: 26,
|
|
56246
56227
|
column: 18
|
|
56247
56228
|
},
|
|
56248
56229
|
end: {
|
|
56249
|
-
line:
|
|
56230
|
+
line: 26,
|
|
56250
56231
|
column: 80
|
|
56251
56232
|
}
|
|
56252
56233
|
},
|
|
56253
|
-
"
|
|
56234
|
+
"8": {
|
|
56254
56235
|
start: {
|
|
56255
|
-
line:
|
|
56236
|
+
line: 28,
|
|
56256
56237
|
column: 2
|
|
56257
56238
|
},
|
|
56258
56239
|
end: {
|
|
56259
|
-
line:
|
|
56240
|
+
line: 28,
|
|
56260
56241
|
column: 16
|
|
56261
56242
|
}
|
|
56262
56243
|
},
|
|
56263
|
-
"
|
|
56244
|
+
"9": {
|
|
56264
56245
|
start: {
|
|
56265
|
-
line:
|
|
56246
|
+
line: 31,
|
|
56266
56247
|
column: 34
|
|
56267
56248
|
},
|
|
56268
56249
|
end: {
|
|
56269
|
-
line:
|
|
56250
|
+
line: 36,
|
|
56270
56251
|
column: 1
|
|
56271
56252
|
}
|
|
56272
56253
|
},
|
|
56273
|
-
"
|
|
56254
|
+
"10": {
|
|
56274
56255
|
start: {
|
|
56275
|
-
line:
|
|
56256
|
+
line: 32,
|
|
56276
56257
|
column: 15
|
|
56277
56258
|
},
|
|
56278
56259
|
end: {
|
|
56279
|
-
line:
|
|
56260
|
+
line: 32,
|
|
56280
56261
|
column: 75
|
|
56281
56262
|
}
|
|
56282
56263
|
},
|
|
56283
|
-
"
|
|
56264
|
+
"11": {
|
|
56284
56265
|
start: {
|
|
56285
|
-
line:
|
|
56266
|
+
line: 33,
|
|
56286
56267
|
column: 2
|
|
56287
56268
|
},
|
|
56288
56269
|
end: {
|
|
56289
|
-
line:
|
|
56270
|
+
line: 33,
|
|
56290
56271
|
column: 68
|
|
56291
56272
|
}
|
|
56292
56273
|
},
|
|
56293
|
-
"
|
|
56274
|
+
"12": {
|
|
56294
56275
|
start: {
|
|
56295
|
-
line:
|
|
56276
|
+
line: 33,
|
|
56296
56277
|
column: 18
|
|
56297
56278
|
},
|
|
56298
56279
|
end: {
|
|
56299
|
-
line:
|
|
56280
|
+
line: 33,
|
|
56300
56281
|
column: 68
|
|
56301
56282
|
}
|
|
56302
56283
|
},
|
|
56303
|
-
"
|
|
56284
|
+
"13": {
|
|
56304
56285
|
start: {
|
|
56305
|
-
line:
|
|
56286
|
+
line: 35,
|
|
56306
56287
|
column: 2
|
|
56307
56288
|
},
|
|
56308
56289
|
end: {
|
|
56309
|
-
line:
|
|
56290
|
+
line: 35,
|
|
56310
56291
|
column: 16
|
|
56311
56292
|
}
|
|
56312
56293
|
},
|
|
56313
|
-
"
|
|
56294
|
+
"14": {
|
|
56314
56295
|
start: {
|
|
56315
|
-
line:
|
|
56296
|
+
line: 38,
|
|
56316
56297
|
column: 33
|
|
56317
56298
|
},
|
|
56318
56299
|
end: {
|
|
56319
|
-
line:
|
|
56300
|
+
line: 43,
|
|
56320
56301
|
column: 1
|
|
56321
56302
|
}
|
|
56322
56303
|
},
|
|
56323
|
-
"
|
|
56304
|
+
"15": {
|
|
56324
56305
|
start: {
|
|
56325
|
-
line:
|
|
56306
|
+
line: 39,
|
|
56326
56307
|
column: 15
|
|
56327
56308
|
},
|
|
56328
56309
|
end: {
|
|
56329
|
-
line:
|
|
56310
|
+
line: 39,
|
|
56330
56311
|
column: 44
|
|
56331
56312
|
}
|
|
56332
56313
|
},
|
|
56333
|
-
"
|
|
56314
|
+
"16": {
|
|
56334
56315
|
start: {
|
|
56335
|
-
line:
|
|
56316
|
+
line: 40,
|
|
56336
56317
|
column: 2
|
|
56337
56318
|
},
|
|
56338
56319
|
end: {
|
|
56339
|
-
line:
|
|
56320
|
+
line: 40,
|
|
56340
56321
|
column: 76
|
|
56341
56322
|
}
|
|
56342
56323
|
},
|
|
56343
|
-
"
|
|
56324
|
+
"17": {
|
|
56344
56325
|
start: {
|
|
56345
|
-
line:
|
|
56326
|
+
line: 40,
|
|
56346
56327
|
column: 18
|
|
56347
56328
|
},
|
|
56348
56329
|
end: {
|
|
56349
|
-
line:
|
|
56330
|
+
line: 40,
|
|
56350
56331
|
column: 76
|
|
56351
56332
|
}
|
|
56352
56333
|
},
|
|
56353
|
-
"
|
|
56334
|
+
"18": {
|
|
56354
56335
|
start: {
|
|
56355
|
-
line:
|
|
56336
|
+
line: 42,
|
|
56356
56337
|
column: 2
|
|
56357
56338
|
},
|
|
56358
56339
|
end: {
|
|
56359
|
-
line:
|
|
56340
|
+
line: 42,
|
|
56360
56341
|
column: 16
|
|
56361
56342
|
}
|
|
56362
56343
|
},
|
|
56363
|
-
"
|
|
56344
|
+
"19": {
|
|
56364
56345
|
start: {
|
|
56365
|
-
line:
|
|
56346
|
+
line: 45,
|
|
56366
56347
|
column: 28
|
|
56367
56348
|
},
|
|
56368
56349
|
end: {
|
|
56369
|
-
line:
|
|
56350
|
+
line: 50,
|
|
56370
56351
|
column: 1
|
|
56371
56352
|
}
|
|
56372
56353
|
},
|
|
56373
|
-
"
|
|
56354
|
+
"20": {
|
|
56374
56355
|
start: {
|
|
56375
|
-
line:
|
|
56356
|
+
line: 46,
|
|
56376
56357
|
column: 15
|
|
56377
56358
|
},
|
|
56378
56359
|
end: {
|
|
56379
|
-
line:
|
|
56360
|
+
line: 46,
|
|
56380
56361
|
column: 75
|
|
56381
56362
|
}
|
|
56382
56363
|
},
|
|
56383
|
-
"
|
|
56364
|
+
"21": {
|
|
56384
56365
|
start: {
|
|
56385
|
-
line:
|
|
56366
|
+
line: 47,
|
|
56386
56367
|
column: 2
|
|
56387
56368
|
},
|
|
56388
56369
|
end: {
|
|
56389
|
-
line:
|
|
56370
|
+
line: 47,
|
|
56390
56371
|
column: 68
|
|
56391
56372
|
}
|
|
56392
56373
|
},
|
|
56393
|
-
"
|
|
56374
|
+
"22": {
|
|
56394
56375
|
start: {
|
|
56395
|
-
line:
|
|
56376
|
+
line: 47,
|
|
56396
56377
|
column: 18
|
|
56397
56378
|
},
|
|
56398
56379
|
end: {
|
|
56399
|
-
line:
|
|
56380
|
+
line: 47,
|
|
56400
56381
|
column: 68
|
|
56401
56382
|
}
|
|
56402
56383
|
},
|
|
56403
|
-
"
|
|
56384
|
+
"23": {
|
|
56404
56385
|
start: {
|
|
56405
|
-
line:
|
|
56386
|
+
line: 49,
|
|
56406
56387
|
column: 2
|
|
56407
56388
|
},
|
|
56408
56389
|
end: {
|
|
56409
|
-
line:
|
|
56390
|
+
line: 49,
|
|
56410
56391
|
column: 16
|
|
56411
56392
|
}
|
|
56412
56393
|
},
|
|
56413
|
-
"
|
|
56394
|
+
"24": {
|
|
56414
56395
|
start: {
|
|
56415
|
-
line:
|
|
56396
|
+
line: 52,
|
|
56416
56397
|
column: 32
|
|
56417
56398
|
},
|
|
56418
56399
|
end: {
|
|
56419
|
-
line:
|
|
56400
|
+
line: 57,
|
|
56420
56401
|
column: 1
|
|
56421
56402
|
}
|
|
56422
56403
|
},
|
|
56423
|
-
"
|
|
56404
|
+
"25": {
|
|
56424
56405
|
start: {
|
|
56425
|
-
line:
|
|
56406
|
+
line: 53,
|
|
56426
56407
|
column: 15
|
|
56427
56408
|
},
|
|
56428
56409
|
end: {
|
|
56429
|
-
line:
|
|
56410
|
+
line: 53,
|
|
56430
56411
|
column: 75
|
|
56431
56412
|
}
|
|
56432
56413
|
},
|
|
56433
|
-
"
|
|
56414
|
+
"26": {
|
|
56434
56415
|
start: {
|
|
56435
|
-
line:
|
|
56416
|
+
line: 54,
|
|
56436
56417
|
column: 2
|
|
56437
56418
|
},
|
|
56438
56419
|
end: {
|
|
56439
|
-
line:
|
|
56420
|
+
line: 54,
|
|
56440
56421
|
column: 77
|
|
56441
56422
|
}
|
|
56442
56423
|
},
|
|
56443
|
-
"
|
|
56424
|
+
"27": {
|
|
56444
56425
|
start: {
|
|
56445
|
-
line:
|
|
56426
|
+
line: 54,
|
|
56446
56427
|
column: 18
|
|
56447
56428
|
},
|
|
56448
56429
|
end: {
|
|
56449
|
-
line:
|
|
56430
|
+
line: 54,
|
|
56450
56431
|
column: 77
|
|
56451
56432
|
}
|
|
56452
56433
|
},
|
|
56453
|
-
"
|
|
56434
|
+
"28": {
|
|
56454
56435
|
start: {
|
|
56455
|
-
line:
|
|
56436
|
+
line: 56,
|
|
56456
56437
|
column: 2
|
|
56457
56438
|
},
|
|
56458
56439
|
end: {
|
|
56459
|
-
line:
|
|
56440
|
+
line: 56,
|
|
56460
56441
|
column: 16
|
|
56461
56442
|
}
|
|
56462
56443
|
},
|
|
56463
|
-
"
|
|
56444
|
+
"29": {
|
|
56464
56445
|
start: {
|
|
56465
|
-
line:
|
|
56446
|
+
line: 59,
|
|
56466
56447
|
column: 27
|
|
56467
56448
|
},
|
|
56468
56449
|
end: {
|
|
56469
|
-
line:
|
|
56450
|
+
line: 65,
|
|
56470
56451
|
column: 1
|
|
56471
56452
|
}
|
|
56472
56453
|
},
|
|
56473
|
-
"
|
|
56454
|
+
"30": {
|
|
56474
56455
|
start: {
|
|
56475
|
-
line:
|
|
56456
|
+
line: 60,
|
|
56476
56457
|
column: 17
|
|
56477
56458
|
},
|
|
56478
56459
|
end: {
|
|
56479
|
-
line:
|
|
56460
|
+
line: 62,
|
|
56480
56461
|
column: 60
|
|
56481
56462
|
}
|
|
56482
56463
|
},
|
|
56483
|
-
"
|
|
56464
|
+
"31": {
|
|
56484
56465
|
start: {
|
|
56485
|
-
line:
|
|
56466
|
+
line: 64,
|
|
56486
56467
|
column: 2
|
|
56487
56468
|
},
|
|
56488
56469
|
end: {
|
|
56489
|
-
line:
|
|
56470
|
+
line: 64,
|
|
56490
56471
|
column: 16
|
|
56491
56472
|
}
|
|
56492
56473
|
},
|
|
56493
|
-
"
|
|
56474
|
+
"32": {
|
|
56494
56475
|
start: {
|
|
56495
|
-
line:
|
|
56476
|
+
line: 67,
|
|
56496
56477
|
column: 26
|
|
56497
56478
|
},
|
|
56498
56479
|
end: {
|
|
56499
|
-
line:
|
|
56480
|
+
line: 77,
|
|
56500
56481
|
column: 1
|
|
56501
56482
|
}
|
|
56502
56483
|
},
|
|
56503
|
-
"
|
|
56484
|
+
"33": {
|
|
56504
56485
|
start: {
|
|
56505
|
-
line:
|
|
56486
|
+
line: 68,
|
|
56506
56487
|
column: 15
|
|
56507
56488
|
},
|
|
56508
56489
|
end: {
|
|
56509
|
-
line:
|
|
56490
|
+
line: 68,
|
|
56510
56491
|
column: 50
|
|
56511
56492
|
}
|
|
56512
56493
|
},
|
|
56513
|
-
"
|
|
56494
|
+
"34": {
|
|
56514
56495
|
start: {
|
|
56515
|
-
line:
|
|
56496
|
+
line: 69,
|
|
56516
56497
|
column: 2
|
|
56517
56498
|
},
|
|
56518
56499
|
end: {
|
|
56519
|
-
line:
|
|
56500
|
+
line: 74,
|
|
56520
56501
|
column: 3
|
|
56521
56502
|
}
|
|
56522
56503
|
},
|
|
56523
|
-
"
|
|
56504
|
+
"35": {
|
|
56524
56505
|
start: {
|
|
56525
|
-
line:
|
|
56506
|
+
line: 70,
|
|
56526
56507
|
column: 4
|
|
56527
56508
|
},
|
|
56528
56509
|
end: {
|
|
56529
|
-
line:
|
|
56510
|
+
line: 73,
|
|
56530
56511
|
column: 46
|
|
56531
56512
|
}
|
|
56532
56513
|
},
|
|
56533
|
-
"
|
|
56514
|
+
"36": {
|
|
56534
56515
|
start: {
|
|
56535
|
-
line:
|
|
56516
|
+
line: 76,
|
|
56536
56517
|
column: 2
|
|
56537
56518
|
},
|
|
56538
56519
|
end: {
|
|
56539
|
-
line:
|
|
56520
|
+
line: 76,
|
|
56540
56521
|
column: 16
|
|
56541
56522
|
}
|
|
56542
56523
|
},
|
|
56543
|
-
"
|
|
56524
|
+
"37": {
|
|
56544
56525
|
start: {
|
|
56545
|
-
line:
|
|
56526
|
+
line: 79,
|
|
56546
56527
|
column: 32
|
|
56547
56528
|
},
|
|
56548
56529
|
end: {
|
|
56549
|
-
line:
|
|
56530
|
+
line: 93,
|
|
56550
56531
|
column: 1
|
|
56551
56532
|
}
|
|
56552
56533
|
},
|
|
56553
|
-
"
|
|
56534
|
+
"38": {
|
|
56554
56535
|
start: {
|
|
56555
|
-
line:
|
|
56536
|
+
line: 80,
|
|
56556
56537
|
column: 15
|
|
56557
56538
|
},
|
|
56558
56539
|
end: {
|
|
56559
|
-
line:
|
|
56540
|
+
line: 87,
|
|
56560
56541
|
column: 15
|
|
56561
56542
|
}
|
|
56562
56543
|
},
|
|
56563
|
-
"
|
|
56544
|
+
"39": {
|
|
56564
56545
|
start: {
|
|
56565
|
-
line:
|
|
56546
|
+
line: 88,
|
|
56566
56547
|
column: 2
|
|
56567
56548
|
},
|
|
56568
56549
|
end: {
|
|
56569
|
-
line:
|
|
56550
|
+
line: 90,
|
|
56570
56551
|
column: 3
|
|
56571
56552
|
}
|
|
56572
56553
|
},
|
|
56573
|
-
"
|
|
56554
|
+
"40": {
|
|
56574
56555
|
start: {
|
|
56575
|
-
line:
|
|
56556
|
+
line: 89,
|
|
56576
56557
|
column: 4
|
|
56577
56558
|
},
|
|
56578
56559
|
end: {
|
|
56579
|
-
line:
|
|
56560
|
+
line: 89,
|
|
56580
56561
|
column: 71
|
|
56581
56562
|
}
|
|
56582
56563
|
},
|
|
56583
|
-
"
|
|
56564
|
+
"41": {
|
|
56584
56565
|
start: {
|
|
56585
|
-
line:
|
|
56566
|
+
line: 92,
|
|
56586
56567
|
column: 2
|
|
56587
56568
|
},
|
|
56588
56569
|
end: {
|
|
56589
|
-
line:
|
|
56570
|
+
line: 92,
|
|
56590
56571
|
column: 16
|
|
56591
56572
|
}
|
|
56592
56573
|
},
|
|
56593
|
-
"
|
|
56574
|
+
"42": {
|
|
56594
56575
|
start: {
|
|
56595
|
-
line:
|
|
56576
|
+
line: 95,
|
|
56596
56577
|
column: 23
|
|
56597
56578
|
},
|
|
56598
56579
|
end: {
|
|
56599
|
-
line:
|
|
56580
|
+
line: 95,
|
|
56600
56581
|
column: 57
|
|
56601
56582
|
}
|
|
56602
56583
|
},
|
|
56603
|
-
"
|
|
56584
|
+
"43": {
|
|
56604
56585
|
start: {
|
|
56605
|
-
line:
|
|
56586
|
+
line: 95,
|
|
56606
56587
|
column: 34
|
|
56607
56588
|
},
|
|
56608
56589
|
end: {
|
|
56609
|
-
line:
|
|
56590
|
+
line: 95,
|
|
56610
56591
|
column: 57
|
|
56611
56592
|
}
|
|
56612
56593
|
},
|
|
56613
|
-
"
|
|
56594
|
+
"44": {
|
|
56614
56595
|
start: {
|
|
56615
|
-
line:
|
|
56596
|
+
line: 97,
|
|
56616
56597
|
column: 30
|
|
56617
56598
|
},
|
|
56618
56599
|
end: {
|
|
56619
|
-
line:
|
|
56600
|
+
line: 109,
|
|
56620
56601
|
column: 1
|
|
56621
56602
|
}
|
|
56622
56603
|
},
|
|
56623
|
-
"
|
|
56604
|
+
"45": {
|
|
56624
56605
|
start: {
|
|
56625
|
-
line:
|
|
56606
|
+
line: 98,
|
|
56626
56607
|
column: 15
|
|
56627
56608
|
},
|
|
56628
56609
|
end: {
|
|
56629
|
-
line:
|
|
56610
|
+
line: 98,
|
|
56630
56611
|
column: 27
|
|
56631
56612
|
}
|
|
56632
56613
|
},
|
|
56633
|
-
"
|
|
56614
|
+
"46": {
|
|
56634
56615
|
start: {
|
|
56635
|
-
line:
|
|
56616
|
+
line: 100,
|
|
56636
56617
|
column: 2
|
|
56637
56618
|
},
|
|
56638
56619
|
end: {
|
|
56639
|
-
line:
|
|
56620
|
+
line: 106,
|
|
56640
56621
|
column: 3
|
|
56641
56622
|
}
|
|
56642
56623
|
},
|
|
56643
|
-
"
|
|
56624
|
+
"47": {
|
|
56644
56625
|
start: {
|
|
56645
|
-
line:
|
|
56626
|
+
line: 101,
|
|
56646
56627
|
column: 4
|
|
56647
56628
|
},
|
|
56648
56629
|
end: {
|
|
56649
|
-
line:
|
|
56630
|
+
line: 105,
|
|
56650
56631
|
column: 6
|
|
56651
56632
|
}
|
|
56652
56633
|
},
|
|
56653
|
-
"
|
|
56634
|
+
"48": {
|
|
56654
56635
|
start: {
|
|
56655
|
-
line:
|
|
56636
|
+
line: 108,
|
|
56656
56637
|
column: 2
|
|
56657
56638
|
},
|
|
56658
56639
|
end: {
|
|
56659
|
-
line:
|
|
56640
|
+
line: 108,
|
|
56660
56641
|
column: 16
|
|
56661
56642
|
}
|
|
56662
56643
|
},
|
|
56663
|
-
"
|
|
56644
|
+
"49": {
|
|
56664
56645
|
start: {
|
|
56665
|
-
line:
|
|
56646
|
+
line: 111,
|
|
56666
56647
|
column: 30
|
|
56667
56648
|
},
|
|
56668
56649
|
end: {
|
|
56669
|
-
line:
|
|
56650
|
+
line: 126,
|
|
56670
56651
|
column: 1
|
|
56671
56652
|
}
|
|
56672
56653
|
},
|
|
56673
|
-
"
|
|
56654
|
+
"50": {
|
|
56674
56655
|
start: {
|
|
56675
|
-
line:
|
|
56656
|
+
line: 129,
|
|
56676
56657
|
column: 2
|
|
56677
56658
|
},
|
|
56678
56659
|
end: {
|
|
56679
|
-
line:
|
|
56660
|
+
line: 146,
|
|
56680
56661
|
column: 3
|
|
56681
56662
|
}
|
|
56682
56663
|
},
|
|
56683
|
-
"
|
|
56664
|
+
"51": {
|
|
56684
56665
|
start: {
|
|
56685
|
-
line:
|
|
56666
|
+
line: 131,
|
|
56686
56667
|
column: 2
|
|
56687
56668
|
},
|
|
56688
56669
|
end: {
|
|
56689
|
-
line:
|
|
56670
|
+
line: 146,
|
|
56690
56671
|
column: 3
|
|
56691
56672
|
}
|
|
56692
56673
|
},
|
|
56693
|
-
"
|
|
56674
|
+
"52": {
|
|
56694
56675
|
start: {
|
|
56695
|
-
line:
|
|
56676
|
+
line: 132,
|
|
56696
56677
|
column: 4
|
|
56697
56678
|
},
|
|
56698
56679
|
end: {
|
|
56699
|
-
line:
|
|
56680
|
+
line: 145,
|
|
56700
56681
|
column: 5
|
|
56701
56682
|
}
|
|
56702
56683
|
},
|
|
56703
|
-
"
|
|
56684
|
+
"53": {
|
|
56704
56685
|
start: {
|
|
56705
|
-
line:
|
|
56686
|
+
line: 133,
|
|
56706
56687
|
column: 24
|
|
56707
56688
|
},
|
|
56708
56689
|
end: {
|
|
56709
|
-
line:
|
|
56690
|
+
line: 133,
|
|
56710
56691
|
column: 51
|
|
56711
56692
|
}
|
|
56712
56693
|
},
|
|
56713
|
-
"
|
|
56694
|
+
"54": {
|
|
56714
56695
|
start: {
|
|
56715
|
-
line:
|
|
56696
|
+
line: 134,
|
|
56716
56697
|
column: 21
|
|
56717
56698
|
},
|
|
56718
56699
|
end: {
|
|
56719
|
-
line:
|
|
56700
|
+
line: 134,
|
|
56720
56701
|
column: 59
|
|
56721
56702
|
}
|
|
56722
56703
|
},
|
|
56723
|
-
"
|
|
56704
|
+
"55": {
|
|
56724
56705
|
start: {
|
|
56725
|
-
line:
|
|
56706
|
+
line: 137,
|
|
56726
56707
|
column: 6
|
|
56727
56708
|
},
|
|
56728
56709
|
end: {
|
|
56729
|
-
line:
|
|
56710
|
+
line: 144,
|
|
56730
56711
|
column: 9
|
|
56731
56712
|
}
|
|
56732
56713
|
},
|
|
56733
|
-
"
|
|
56714
|
+
"56": {
|
|
56734
56715
|
start: {
|
|
56735
|
-
line:
|
|
56716
|
+
line: 138,
|
|
56736
56717
|
column: 8
|
|
56737
56718
|
},
|
|
56738
56719
|
end: {
|
|
56739
|
-
line:
|
|
56720
|
+
line: 143,
|
|
56740
56721
|
column: 9
|
|
56741
56722
|
}
|
|
56742
56723
|
},
|
|
56743
|
-
"
|
|
56724
|
+
"57": {
|
|
56744
56725
|
start: {
|
|
56745
|
-
line:
|
|
56726
|
+
line: 139,
|
|
56746
56727
|
column: 10
|
|
56747
56728
|
},
|
|
56748
56729
|
end: {
|
|
56749
|
-
line:
|
|
56730
|
+
line: 139,
|
|
56750
56731
|
column: 39
|
|
56751
56732
|
}
|
|
56752
56733
|
},
|
|
56753
|
-
"
|
|
56734
|
+
"58": {
|
|
56754
56735
|
start: {
|
|
56755
|
-
line:
|
|
56736
|
+
line: 140,
|
|
56756
56737
|
column: 10
|
|
56757
56738
|
},
|
|
56758
56739
|
end: {
|
|
56759
|
-
line:
|
|
56740
|
+
line: 140,
|
|
56760
56741
|
column: 29
|
|
56761
56742
|
}
|
|
56762
56743
|
},
|
|
56763
|
-
"
|
|
56744
|
+
"59": {
|
|
56764
56745
|
start: {
|
|
56765
|
-
line:
|
|
56746
|
+
line: 142,
|
|
56766
56747
|
column: 10
|
|
56767
56748
|
},
|
|
56768
56749
|
end: {
|
|
56769
|
-
line:
|
|
56750
|
+
line: 142,
|
|
56770
56751
|
column: 31
|
|
56771
56752
|
}
|
|
56772
56753
|
}
|
|
@@ -56776,337 +56757,313 @@ function cov_1y9t6ere98() {
|
|
|
56776
56757
|
name: "(anonymous_0)",
|
|
56777
56758
|
decl: {
|
|
56778
56759
|
start: {
|
|
56779
|
-
line:
|
|
56780
|
-
column: 28
|
|
56781
|
-
},
|
|
56782
|
-
end: {
|
|
56783
|
-
line: 17,
|
|
56784
|
-
column: 29
|
|
56785
|
-
}
|
|
56786
|
-
},
|
|
56787
|
-
loc: {
|
|
56788
|
-
start: {
|
|
56789
|
-
line: 18,
|
|
56790
|
-
column: 2
|
|
56791
|
-
},
|
|
56792
|
-
end: {
|
|
56793
|
-
line: 18,
|
|
56794
|
-
column: 63
|
|
56795
|
-
}
|
|
56796
|
-
},
|
|
56797
|
-
line: 18
|
|
56798
|
-
},
|
|
56799
|
-
"1": {
|
|
56800
|
-
name: "(anonymous_1)",
|
|
56801
|
-
decl: {
|
|
56802
|
-
start: {
|
|
56803
|
-
line: 20,
|
|
56760
|
+
line: 16,
|
|
56804
56761
|
column: 26
|
|
56805
56762
|
},
|
|
56806
56763
|
end: {
|
|
56807
|
-
line:
|
|
56764
|
+
line: 16,
|
|
56808
56765
|
column: 27
|
|
56809
56766
|
}
|
|
56810
56767
|
},
|
|
56811
56768
|
loc: {
|
|
56812
56769
|
start: {
|
|
56813
|
-
line:
|
|
56770
|
+
line: 16,
|
|
56814
56771
|
column: 59
|
|
56815
56772
|
},
|
|
56816
56773
|
end: {
|
|
56817
|
-
line:
|
|
56774
|
+
line: 29,
|
|
56818
56775
|
column: 1
|
|
56819
56776
|
}
|
|
56820
56777
|
},
|
|
56821
|
-
line:
|
|
56778
|
+
line: 16
|
|
56822
56779
|
},
|
|
56823
|
-
"
|
|
56824
|
-
name: "(
|
|
56780
|
+
"1": {
|
|
56781
|
+
name: "(anonymous_1)",
|
|
56825
56782
|
decl: {
|
|
56826
56783
|
start: {
|
|
56827
|
-
line:
|
|
56784
|
+
line: 31,
|
|
56828
56785
|
column: 34
|
|
56829
56786
|
},
|
|
56830
56787
|
end: {
|
|
56831
|
-
line:
|
|
56788
|
+
line: 31,
|
|
56832
56789
|
column: 35
|
|
56833
56790
|
}
|
|
56834
56791
|
},
|
|
56835
56792
|
loc: {
|
|
56836
56793
|
start: {
|
|
56837
|
-
line:
|
|
56794
|
+
line: 31,
|
|
56838
56795
|
column: 61
|
|
56839
56796
|
},
|
|
56840
56797
|
end: {
|
|
56841
|
-
line:
|
|
56798
|
+
line: 36,
|
|
56842
56799
|
column: 1
|
|
56843
56800
|
}
|
|
56844
56801
|
},
|
|
56845
|
-
line:
|
|
56802
|
+
line: 31
|
|
56846
56803
|
},
|
|
56847
|
-
"
|
|
56848
|
-
name: "(
|
|
56804
|
+
"2": {
|
|
56805
|
+
name: "(anonymous_2)",
|
|
56849
56806
|
decl: {
|
|
56850
56807
|
start: {
|
|
56851
|
-
line:
|
|
56808
|
+
line: 38,
|
|
56852
56809
|
column: 33
|
|
56853
56810
|
},
|
|
56854
56811
|
end: {
|
|
56855
|
-
line:
|
|
56812
|
+
line: 38,
|
|
56856
56813
|
column: 34
|
|
56857
56814
|
}
|
|
56858
56815
|
},
|
|
56859
56816
|
loc: {
|
|
56860
56817
|
start: {
|
|
56861
|
-
line:
|
|
56818
|
+
line: 38,
|
|
56862
56819
|
column: 53
|
|
56863
56820
|
},
|
|
56864
56821
|
end: {
|
|
56865
|
-
line:
|
|
56822
|
+
line: 43,
|
|
56866
56823
|
column: 1
|
|
56867
56824
|
}
|
|
56868
56825
|
},
|
|
56869
|
-
line:
|
|
56826
|
+
line: 38
|
|
56870
56827
|
},
|
|
56871
|
-
"
|
|
56872
|
-
name: "(
|
|
56828
|
+
"3": {
|
|
56829
|
+
name: "(anonymous_3)",
|
|
56873
56830
|
decl: {
|
|
56874
56831
|
start: {
|
|
56875
|
-
line:
|
|
56832
|
+
line: 45,
|
|
56876
56833
|
column: 28
|
|
56877
56834
|
},
|
|
56878
56835
|
end: {
|
|
56879
|
-
line:
|
|
56836
|
+
line: 45,
|
|
56880
56837
|
column: 29
|
|
56881
56838
|
}
|
|
56882
56839
|
},
|
|
56883
56840
|
loc: {
|
|
56884
56841
|
start: {
|
|
56885
|
-
line:
|
|
56842
|
+
line: 45,
|
|
56886
56843
|
column: 55
|
|
56887
56844
|
},
|
|
56888
56845
|
end: {
|
|
56889
|
-
line:
|
|
56846
|
+
line: 50,
|
|
56890
56847
|
column: 1
|
|
56891
56848
|
}
|
|
56892
56849
|
},
|
|
56893
|
-
line:
|
|
56850
|
+
line: 45
|
|
56894
56851
|
},
|
|
56895
|
-
"
|
|
56896
|
-
name: "(
|
|
56852
|
+
"4": {
|
|
56853
|
+
name: "(anonymous_4)",
|
|
56897
56854
|
decl: {
|
|
56898
56855
|
start: {
|
|
56899
|
-
line:
|
|
56856
|
+
line: 52,
|
|
56900
56857
|
column: 32
|
|
56901
56858
|
},
|
|
56902
56859
|
end: {
|
|
56903
|
-
line:
|
|
56860
|
+
line: 52,
|
|
56904
56861
|
column: 33
|
|
56905
56862
|
}
|
|
56906
56863
|
},
|
|
56907
56864
|
loc: {
|
|
56908
56865
|
start: {
|
|
56909
|
-
line:
|
|
56866
|
+
line: 52,
|
|
56910
56867
|
column: 59
|
|
56911
56868
|
},
|
|
56912
56869
|
end: {
|
|
56913
|
-
line:
|
|
56870
|
+
line: 57,
|
|
56914
56871
|
column: 1
|
|
56915
56872
|
}
|
|
56916
56873
|
},
|
|
56917
|
-
line:
|
|
56874
|
+
line: 52
|
|
56918
56875
|
},
|
|
56919
|
-
"
|
|
56920
|
-
name: "(
|
|
56876
|
+
"5": {
|
|
56877
|
+
name: "(anonymous_5)",
|
|
56921
56878
|
decl: {
|
|
56922
56879
|
start: {
|
|
56923
|
-
line:
|
|
56880
|
+
line: 59,
|
|
56924
56881
|
column: 27
|
|
56925
56882
|
},
|
|
56926
56883
|
end: {
|
|
56927
|
-
line:
|
|
56884
|
+
line: 59,
|
|
56928
56885
|
column: 28
|
|
56929
56886
|
}
|
|
56930
56887
|
},
|
|
56931
56888
|
loc: {
|
|
56932
56889
|
start: {
|
|
56933
|
-
line:
|
|
56890
|
+
line: 59,
|
|
56934
56891
|
column: 33
|
|
56935
56892
|
},
|
|
56936
56893
|
end: {
|
|
56937
|
-
line:
|
|
56894
|
+
line: 65,
|
|
56938
56895
|
column: 1
|
|
56939
56896
|
}
|
|
56940
56897
|
},
|
|
56941
|
-
line:
|
|
56898
|
+
line: 59
|
|
56942
56899
|
},
|
|
56943
|
-
"
|
|
56944
|
-
name: "(
|
|
56900
|
+
"6": {
|
|
56901
|
+
name: "(anonymous_6)",
|
|
56945
56902
|
decl: {
|
|
56946
56903
|
start: {
|
|
56947
|
-
line:
|
|
56904
|
+
line: 67,
|
|
56948
56905
|
column: 26
|
|
56949
56906
|
},
|
|
56950
56907
|
end: {
|
|
56951
|
-
line:
|
|
56908
|
+
line: 67,
|
|
56952
56909
|
column: 27
|
|
56953
56910
|
}
|
|
56954
56911
|
},
|
|
56955
56912
|
loc: {
|
|
56956
56913
|
start: {
|
|
56957
|
-
line:
|
|
56914
|
+
line: 67,
|
|
56958
56915
|
column: 53
|
|
56959
56916
|
},
|
|
56960
56917
|
end: {
|
|
56961
|
-
line:
|
|
56918
|
+
line: 77,
|
|
56962
56919
|
column: 1
|
|
56963
56920
|
}
|
|
56964
56921
|
},
|
|
56965
|
-
line:
|
|
56922
|
+
line: 67
|
|
56966
56923
|
},
|
|
56967
|
-
"
|
|
56968
|
-
name: "(
|
|
56924
|
+
"7": {
|
|
56925
|
+
name: "(anonymous_7)",
|
|
56969
56926
|
decl: {
|
|
56970
56927
|
start: {
|
|
56971
|
-
line:
|
|
56928
|
+
line: 79,
|
|
56972
56929
|
column: 32
|
|
56973
56930
|
},
|
|
56974
56931
|
end: {
|
|
56975
|
-
line:
|
|
56932
|
+
line: 79,
|
|
56976
56933
|
column: 33
|
|
56977
56934
|
}
|
|
56978
56935
|
},
|
|
56979
56936
|
loc: {
|
|
56980
56937
|
start: {
|
|
56981
|
-
line:
|
|
56938
|
+
line: 79,
|
|
56982
56939
|
column: 52
|
|
56983
56940
|
},
|
|
56984
56941
|
end: {
|
|
56985
|
-
line:
|
|
56942
|
+
line: 93,
|
|
56986
56943
|
column: 1
|
|
56987
56944
|
}
|
|
56988
56945
|
},
|
|
56989
|
-
line:
|
|
56946
|
+
line: 79
|
|
56990
56947
|
},
|
|
56991
|
-
"
|
|
56992
|
-
name: "(
|
|
56948
|
+
"8": {
|
|
56949
|
+
name: "(anonymous_8)",
|
|
56993
56950
|
decl: {
|
|
56994
56951
|
start: {
|
|
56995
|
-
line:
|
|
56952
|
+
line: 95,
|
|
56996
56953
|
column: 23
|
|
56997
56954
|
},
|
|
56998
56955
|
end: {
|
|
56999
|
-
line:
|
|
56956
|
+
line: 95,
|
|
57000
56957
|
column: 24
|
|
57001
56958
|
}
|
|
57002
56959
|
},
|
|
57003
56960
|
loc: {
|
|
57004
56961
|
start: {
|
|
57005
|
-
line:
|
|
56962
|
+
line: 95,
|
|
57006
56963
|
column: 34
|
|
57007
56964
|
},
|
|
57008
56965
|
end: {
|
|
57009
|
-
line:
|
|
56966
|
+
line: 95,
|
|
57010
56967
|
column: 57
|
|
57011
56968
|
}
|
|
57012
56969
|
},
|
|
57013
|
-
line:
|
|
56970
|
+
line: 95
|
|
57014
56971
|
},
|
|
57015
|
-
"
|
|
57016
|
-
name: "(
|
|
56972
|
+
"9": {
|
|
56973
|
+
name: "(anonymous_9)",
|
|
57017
56974
|
decl: {
|
|
57018
56975
|
start: {
|
|
57019
|
-
line:
|
|
56976
|
+
line: 97,
|
|
57020
56977
|
column: 30
|
|
57021
56978
|
},
|
|
57022
56979
|
end: {
|
|
57023
|
-
line:
|
|
56980
|
+
line: 97,
|
|
57024
56981
|
column: 31
|
|
57025
56982
|
}
|
|
57026
56983
|
},
|
|
57027
56984
|
loc: {
|
|
57028
56985
|
start: {
|
|
57029
|
-
line:
|
|
56986
|
+
line: 97,
|
|
57030
56987
|
column: 50
|
|
57031
56988
|
},
|
|
57032
56989
|
end: {
|
|
57033
|
-
line:
|
|
56990
|
+
line: 109,
|
|
57034
56991
|
column: 1
|
|
57035
56992
|
}
|
|
57036
56993
|
},
|
|
57037
|
-
line:
|
|
56994
|
+
line: 97
|
|
57038
56995
|
},
|
|
57039
|
-
"
|
|
57040
|
-
name: "(
|
|
56996
|
+
"10": {
|
|
56997
|
+
name: "(anonymous_10)",
|
|
57041
56998
|
decl: {
|
|
57042
56999
|
start: {
|
|
57043
|
-
line:
|
|
57000
|
+
line: 129,
|
|
57044
57001
|
column: 2
|
|
57045
57002
|
},
|
|
57046
57003
|
end: {
|
|
57047
|
-
line:
|
|
57004
|
+
line: 129,
|
|
57048
57005
|
column: 3
|
|
57049
57006
|
}
|
|
57050
57007
|
},
|
|
57051
57008
|
loc: {
|
|
57052
57009
|
start: {
|
|
57053
|
-
line:
|
|
57010
|
+
line: 131,
|
|
57054
57011
|
column: 2
|
|
57055
57012
|
},
|
|
57056
57013
|
end: {
|
|
57057
|
-
line:
|
|
57014
|
+
line: 146,
|
|
57058
57015
|
column: 3
|
|
57059
57016
|
}
|
|
57060
57017
|
},
|
|
57061
|
-
line:
|
|
57018
|
+
line: 131
|
|
57062
57019
|
},
|
|
57063
|
-
"
|
|
57064
|
-
name: "(
|
|
57020
|
+
"11": {
|
|
57021
|
+
name: "(anonymous_11)",
|
|
57065
57022
|
decl: {
|
|
57066
57023
|
start: {
|
|
57067
|
-
line:
|
|
57024
|
+
line: 131,
|
|
57068
57025
|
column: 2
|
|
57069
57026
|
},
|
|
57070
57027
|
end: {
|
|
57071
|
-
line:
|
|
57028
|
+
line: 131,
|
|
57072
57029
|
column: 3
|
|
57073
57030
|
}
|
|
57074
57031
|
},
|
|
57075
57032
|
loc: {
|
|
57076
57033
|
start: {
|
|
57077
|
-
line:
|
|
57034
|
+
line: 131,
|
|
57078
57035
|
column: 11
|
|
57079
57036
|
},
|
|
57080
57037
|
end: {
|
|
57081
|
-
line:
|
|
57038
|
+
line: 146,
|
|
57082
57039
|
column: 3
|
|
57083
57040
|
}
|
|
57084
57041
|
},
|
|
57085
|
-
line:
|
|
57042
|
+
line: 131
|
|
57086
57043
|
},
|
|
57087
|
-
"
|
|
57088
|
-
name: "(
|
|
57044
|
+
"12": {
|
|
57045
|
+
name: "(anonymous_12)",
|
|
57089
57046
|
decl: {
|
|
57090
57047
|
start: {
|
|
57091
|
-
line:
|
|
57048
|
+
line: 137,
|
|
57092
57049
|
column: 25
|
|
57093
57050
|
},
|
|
57094
57051
|
end: {
|
|
57095
|
-
line:
|
|
57052
|
+
line: 137,
|
|
57096
57053
|
column: 26
|
|
57097
57054
|
}
|
|
57098
57055
|
},
|
|
57099
57056
|
loc: {
|
|
57100
57057
|
start: {
|
|
57101
|
-
line:
|
|
57058
|
+
line: 137,
|
|
57102
57059
|
column: 42
|
|
57103
57060
|
},
|
|
57104
57061
|
end: {
|
|
57105
|
-
line:
|
|
57062
|
+
line: 144,
|
|
57106
57063
|
column: 7
|
|
57107
57064
|
}
|
|
57108
57065
|
},
|
|
57109
|
-
line:
|
|
57066
|
+
line: 137
|
|
57110
57067
|
}
|
|
57111
57068
|
},
|
|
57112
57069
|
branchMap: {
|
|
@@ -57117,84 +57074,51 @@ function cov_1y9t6ere98() {
|
|
|
57117
57074
|
column: 2
|
|
57118
57075
|
},
|
|
57119
57076
|
end: {
|
|
57120
|
-
line:
|
|
57121
|
-
column: 63
|
|
57122
|
-
}
|
|
57123
|
-
},
|
|
57124
|
-
type: "cond-expr",
|
|
57125
|
-
locations: [{
|
|
57126
|
-
start: {
|
|
57127
|
-
line: 18,
|
|
57128
|
-
column: 22
|
|
57129
|
-
},
|
|
57130
|
-
end: {
|
|
57131
|
-
line: 18,
|
|
57132
|
-
column: 56
|
|
57133
|
-
}
|
|
57134
|
-
}, {
|
|
57135
|
-
start: {
|
|
57136
|
-
line: 18,
|
|
57137
|
-
column: 59
|
|
57138
|
-
},
|
|
57139
|
-
end: {
|
|
57140
|
-
line: 18,
|
|
57141
|
-
column: 63
|
|
57142
|
-
}
|
|
57143
|
-
}],
|
|
57144
|
-
line: 18
|
|
57145
|
-
},
|
|
57146
|
-
"1": {
|
|
57147
|
-
loc: {
|
|
57148
|
-
start: {
|
|
57149
|
-
line: 22,
|
|
57150
|
-
column: 2
|
|
57151
|
-
},
|
|
57152
|
-
end: {
|
|
57153
|
-
line: 30,
|
|
57077
|
+
line: 24,
|
|
57154
57078
|
column: 3
|
|
57155
57079
|
}
|
|
57156
57080
|
},
|
|
57157
57081
|
type: "if",
|
|
57158
57082
|
locations: [{
|
|
57159
57083
|
start: {
|
|
57160
|
-
line:
|
|
57084
|
+
line: 18,
|
|
57161
57085
|
column: 2
|
|
57162
57086
|
},
|
|
57163
57087
|
end: {
|
|
57164
|
-
line:
|
|
57088
|
+
line: 24,
|
|
57165
57089
|
column: 3
|
|
57166
57090
|
}
|
|
57167
57091
|
}, {
|
|
57168
57092
|
start: {
|
|
57169
|
-
line:
|
|
57093
|
+
line: 20,
|
|
57170
57094
|
column: 9
|
|
57171
57095
|
},
|
|
57172
57096
|
end: {
|
|
57173
|
-
line:
|
|
57097
|
+
line: 24,
|
|
57174
57098
|
column: 3
|
|
57175
57099
|
}
|
|
57176
57100
|
}],
|
|
57177
|
-
line:
|
|
57101
|
+
line: 18
|
|
57178
57102
|
},
|
|
57179
|
-
"
|
|
57103
|
+
"1": {
|
|
57180
57104
|
loc: {
|
|
57181
57105
|
start: {
|
|
57182
|
-
line:
|
|
57106
|
+
line: 20,
|
|
57183
57107
|
column: 9
|
|
57184
57108
|
},
|
|
57185
57109
|
end: {
|
|
57186
|
-
line:
|
|
57110
|
+
line: 24,
|
|
57187
57111
|
column: 3
|
|
57188
57112
|
}
|
|
57189
57113
|
},
|
|
57190
57114
|
type: "if",
|
|
57191
57115
|
locations: [{
|
|
57192
57116
|
start: {
|
|
57193
|
-
line:
|
|
57117
|
+
line: 20,
|
|
57194
57118
|
column: 9
|
|
57195
57119
|
},
|
|
57196
57120
|
end: {
|
|
57197
|
-
line:
|
|
57121
|
+
line: 24,
|
|
57198
57122
|
column: 3
|
|
57199
57123
|
}
|
|
57200
57124
|
}, {
|
|
@@ -57207,27 +57131,27 @@ function cov_1y9t6ere98() {
|
|
|
57207
57131
|
column: undefined
|
|
57208
57132
|
}
|
|
57209
57133
|
}],
|
|
57210
|
-
line:
|
|
57134
|
+
line: 20
|
|
57211
57135
|
},
|
|
57212
|
-
"
|
|
57136
|
+
"2": {
|
|
57213
57137
|
loc: {
|
|
57214
57138
|
start: {
|
|
57215
|
-
line:
|
|
57139
|
+
line: 26,
|
|
57216
57140
|
column: 2
|
|
57217
57141
|
},
|
|
57218
57142
|
end: {
|
|
57219
|
-
line:
|
|
57143
|
+
line: 26,
|
|
57220
57144
|
column: 80
|
|
57221
57145
|
}
|
|
57222
57146
|
},
|
|
57223
57147
|
type: "if",
|
|
57224
57148
|
locations: [{
|
|
57225
57149
|
start: {
|
|
57226
|
-
line:
|
|
57150
|
+
line: 26,
|
|
57227
57151
|
column: 2
|
|
57228
57152
|
},
|
|
57229
57153
|
end: {
|
|
57230
|
-
line:
|
|
57154
|
+
line: 26,
|
|
57231
57155
|
column: 80
|
|
57232
57156
|
}
|
|
57233
57157
|
}, {
|
|
@@ -57240,27 +57164,27 @@ function cov_1y9t6ere98() {
|
|
|
57240
57164
|
column: undefined
|
|
57241
57165
|
}
|
|
57242
57166
|
}],
|
|
57243
|
-
line:
|
|
57167
|
+
line: 26
|
|
57244
57168
|
},
|
|
57245
|
-
"
|
|
57169
|
+
"3": {
|
|
57246
57170
|
loc: {
|
|
57247
57171
|
start: {
|
|
57248
|
-
line:
|
|
57172
|
+
line: 33,
|
|
57249
57173
|
column: 2
|
|
57250
57174
|
},
|
|
57251
57175
|
end: {
|
|
57252
|
-
line:
|
|
57176
|
+
line: 33,
|
|
57253
57177
|
column: 68
|
|
57254
57178
|
}
|
|
57255
57179
|
},
|
|
57256
57180
|
type: "if",
|
|
57257
57181
|
locations: [{
|
|
57258
57182
|
start: {
|
|
57259
|
-
line:
|
|
57183
|
+
line: 33,
|
|
57260
57184
|
column: 2
|
|
57261
57185
|
},
|
|
57262
57186
|
end: {
|
|
57263
|
-
line:
|
|
57187
|
+
line: 33,
|
|
57264
57188
|
column: 68
|
|
57265
57189
|
}
|
|
57266
57190
|
}, {
|
|
@@ -57273,27 +57197,27 @@ function cov_1y9t6ere98() {
|
|
|
57273
57197
|
column: undefined
|
|
57274
57198
|
}
|
|
57275
57199
|
}],
|
|
57276
|
-
line:
|
|
57200
|
+
line: 33
|
|
57277
57201
|
},
|
|
57278
|
-
"
|
|
57202
|
+
"4": {
|
|
57279
57203
|
loc: {
|
|
57280
57204
|
start: {
|
|
57281
|
-
line:
|
|
57205
|
+
line: 40,
|
|
57282
57206
|
column: 2
|
|
57283
57207
|
},
|
|
57284
57208
|
end: {
|
|
57285
|
-
line:
|
|
57209
|
+
line: 40,
|
|
57286
57210
|
column: 76
|
|
57287
57211
|
}
|
|
57288
57212
|
},
|
|
57289
57213
|
type: "if",
|
|
57290
57214
|
locations: [{
|
|
57291
57215
|
start: {
|
|
57292
|
-
line:
|
|
57216
|
+
line: 40,
|
|
57293
57217
|
column: 2
|
|
57294
57218
|
},
|
|
57295
57219
|
end: {
|
|
57296
|
-
line:
|
|
57220
|
+
line: 40,
|
|
57297
57221
|
column: 76
|
|
57298
57222
|
}
|
|
57299
57223
|
}, {
|
|
@@ -57306,27 +57230,27 @@ function cov_1y9t6ere98() {
|
|
|
57306
57230
|
column: undefined
|
|
57307
57231
|
}
|
|
57308
57232
|
}],
|
|
57309
|
-
line:
|
|
57233
|
+
line: 40
|
|
57310
57234
|
},
|
|
57311
|
-
"
|
|
57235
|
+
"5": {
|
|
57312
57236
|
loc: {
|
|
57313
57237
|
start: {
|
|
57314
|
-
line:
|
|
57238
|
+
line: 47,
|
|
57315
57239
|
column: 2
|
|
57316
57240
|
},
|
|
57317
57241
|
end: {
|
|
57318
|
-
line:
|
|
57242
|
+
line: 47,
|
|
57319
57243
|
column: 68
|
|
57320
57244
|
}
|
|
57321
57245
|
},
|
|
57322
57246
|
type: "if",
|
|
57323
57247
|
locations: [{
|
|
57324
57248
|
start: {
|
|
57325
|
-
line:
|
|
57249
|
+
line: 47,
|
|
57326
57250
|
column: 2
|
|
57327
57251
|
},
|
|
57328
57252
|
end: {
|
|
57329
|
-
line:
|
|
57253
|
+
line: 47,
|
|
57330
57254
|
column: 68
|
|
57331
57255
|
}
|
|
57332
57256
|
}, {
|
|
@@ -57339,27 +57263,27 @@ function cov_1y9t6ere98() {
|
|
|
57339
57263
|
column: undefined
|
|
57340
57264
|
}
|
|
57341
57265
|
}],
|
|
57342
|
-
line:
|
|
57266
|
+
line: 47
|
|
57343
57267
|
},
|
|
57344
|
-
"
|
|
57268
|
+
"6": {
|
|
57345
57269
|
loc: {
|
|
57346
57270
|
start: {
|
|
57347
|
-
line:
|
|
57271
|
+
line: 54,
|
|
57348
57272
|
column: 2
|
|
57349
57273
|
},
|
|
57350
57274
|
end: {
|
|
57351
|
-
line:
|
|
57275
|
+
line: 54,
|
|
57352
57276
|
column: 77
|
|
57353
57277
|
}
|
|
57354
57278
|
},
|
|
57355
57279
|
type: "if",
|
|
57356
57280
|
locations: [{
|
|
57357
57281
|
start: {
|
|
57358
|
-
line:
|
|
57282
|
+
line: 54,
|
|
57359
57283
|
column: 2
|
|
57360
57284
|
},
|
|
57361
57285
|
end: {
|
|
57362
|
-
line:
|
|
57286
|
+
line: 54,
|
|
57363
57287
|
column: 77
|
|
57364
57288
|
}
|
|
57365
57289
|
}, {
|
|
@@ -57372,27 +57296,27 @@ function cov_1y9t6ere98() {
|
|
|
57372
57296
|
column: undefined
|
|
57373
57297
|
}
|
|
57374
57298
|
}],
|
|
57375
|
-
line:
|
|
57299
|
+
line: 54
|
|
57376
57300
|
},
|
|
57377
|
-
"
|
|
57301
|
+
"7": {
|
|
57378
57302
|
loc: {
|
|
57379
57303
|
start: {
|
|
57380
|
-
line:
|
|
57304
|
+
line: 69,
|
|
57381
57305
|
column: 2
|
|
57382
57306
|
},
|
|
57383
57307
|
end: {
|
|
57384
|
-
line:
|
|
57308
|
+
line: 74,
|
|
57385
57309
|
column: 3
|
|
57386
57310
|
}
|
|
57387
57311
|
},
|
|
57388
57312
|
type: "if",
|
|
57389
57313
|
locations: [{
|
|
57390
57314
|
start: {
|
|
57391
|
-
line:
|
|
57315
|
+
line: 69,
|
|
57392
57316
|
column: 2
|
|
57393
57317
|
},
|
|
57394
57318
|
end: {
|
|
57395
|
-
line:
|
|
57319
|
+
line: 74,
|
|
57396
57320
|
column: 3
|
|
57397
57321
|
}
|
|
57398
57322
|
}, {
|
|
@@ -57405,27 +57329,27 @@ function cov_1y9t6ere98() {
|
|
|
57405
57329
|
column: undefined
|
|
57406
57330
|
}
|
|
57407
57331
|
}],
|
|
57408
|
-
line:
|
|
57332
|
+
line: 69
|
|
57409
57333
|
},
|
|
57410
|
-
"
|
|
57334
|
+
"8": {
|
|
57411
57335
|
loc: {
|
|
57412
57336
|
start: {
|
|
57413
|
-
line:
|
|
57337
|
+
line: 88,
|
|
57414
57338
|
column: 2
|
|
57415
57339
|
},
|
|
57416
57340
|
end: {
|
|
57417
|
-
line:
|
|
57341
|
+
line: 90,
|
|
57418
57342
|
column: 3
|
|
57419
57343
|
}
|
|
57420
57344
|
},
|
|
57421
57345
|
type: "if",
|
|
57422
57346
|
locations: [{
|
|
57423
57347
|
start: {
|
|
57424
|
-
line:
|
|
57348
|
+
line: 88,
|
|
57425
57349
|
column: 2
|
|
57426
57350
|
},
|
|
57427
57351
|
end: {
|
|
57428
|
-
line:
|
|
57352
|
+
line: 90,
|
|
57429
57353
|
column: 3
|
|
57430
57354
|
}
|
|
57431
57355
|
}, {
|
|
@@ -57438,27 +57362,27 @@ function cov_1y9t6ere98() {
|
|
|
57438
57362
|
column: undefined
|
|
57439
57363
|
}
|
|
57440
57364
|
}],
|
|
57441
|
-
line:
|
|
57365
|
+
line: 88
|
|
57442
57366
|
},
|
|
57443
|
-
"
|
|
57367
|
+
"9": {
|
|
57444
57368
|
loc: {
|
|
57445
57369
|
start: {
|
|
57446
|
-
line:
|
|
57370
|
+
line: 100,
|
|
57447
57371
|
column: 2
|
|
57448
57372
|
},
|
|
57449
57373
|
end: {
|
|
57450
|
-
line:
|
|
57374
|
+
line: 106,
|
|
57451
57375
|
column: 3
|
|
57452
57376
|
}
|
|
57453
57377
|
},
|
|
57454
57378
|
type: "if",
|
|
57455
57379
|
locations: [{
|
|
57456
57380
|
start: {
|
|
57457
|
-
line:
|
|
57381
|
+
line: 100,
|
|
57458
57382
|
column: 2
|
|
57459
57383
|
},
|
|
57460
57384
|
end: {
|
|
57461
|
-
line:
|
|
57385
|
+
line: 106,
|
|
57462
57386
|
column: 3
|
|
57463
57387
|
}
|
|
57464
57388
|
}, {
|
|
@@ -57471,27 +57395,27 @@ function cov_1y9t6ere98() {
|
|
|
57471
57395
|
column: undefined
|
|
57472
57396
|
}
|
|
57473
57397
|
}],
|
|
57474
|
-
line:
|
|
57398
|
+
line: 100
|
|
57475
57399
|
},
|
|
57476
|
-
"
|
|
57400
|
+
"10": {
|
|
57477
57401
|
loc: {
|
|
57478
57402
|
start: {
|
|
57479
|
-
line:
|
|
57403
|
+
line: 132,
|
|
57480
57404
|
column: 4
|
|
57481
57405
|
},
|
|
57482
57406
|
end: {
|
|
57483
|
-
line:
|
|
57407
|
+
line: 145,
|
|
57484
57408
|
column: 5
|
|
57485
57409
|
}
|
|
57486
57410
|
},
|
|
57487
57411
|
type: "if",
|
|
57488
57412
|
locations: [{
|
|
57489
57413
|
start: {
|
|
57490
|
-
line:
|
|
57414
|
+
line: 132,
|
|
57491
57415
|
column: 4
|
|
57492
57416
|
},
|
|
57493
57417
|
end: {
|
|
57494
|
-
line:
|
|
57418
|
+
line: 145,
|
|
57495
57419
|
column: 5
|
|
57496
57420
|
}
|
|
57497
57421
|
}, {
|
|
@@ -57504,7 +57428,7 @@ function cov_1y9t6ere98() {
|
|
|
57504
57428
|
column: undefined
|
|
57505
57429
|
}
|
|
57506
57430
|
}],
|
|
57507
|
-
line:
|
|
57431
|
+
line: 132
|
|
57508
57432
|
}
|
|
57509
57433
|
},
|
|
57510
57434
|
s: {
|
|
@@ -57567,9 +57491,7 @@ function cov_1y9t6ere98() {
|
|
|
57567
57491
|
"56": 0,
|
|
57568
57492
|
"57": 0,
|
|
57569
57493
|
"58": 0,
|
|
57570
|
-
"59": 0
|
|
57571
|
-
"60": 0,
|
|
57572
|
-
"61": 0
|
|
57494
|
+
"59": 0
|
|
57573
57495
|
},
|
|
57574
57496
|
f: {
|
|
57575
57497
|
"0": 0,
|
|
@@ -57584,8 +57506,7 @@ function cov_1y9t6ere98() {
|
|
|
57584
57506
|
"9": 0,
|
|
57585
57507
|
"10": 0,
|
|
57586
57508
|
"11": 0,
|
|
57587
|
-
"12": 0
|
|
57588
|
-
"13": 0
|
|
57509
|
+
"12": 0
|
|
57589
57510
|
},
|
|
57590
57511
|
b: {
|
|
57591
57512
|
"0": [0, 0],
|
|
@@ -57598,11 +57519,10 @@ function cov_1y9t6ere98() {
|
|
|
57598
57519
|
"7": [0, 0],
|
|
57599
57520
|
"8": [0, 0],
|
|
57600
57521
|
"9": [0, 0],
|
|
57601
|
-
"10": [0, 0]
|
|
57602
|
-
"11": [0, 0]
|
|
57522
|
+
"10": [0, 0]
|
|
57603
57523
|
},
|
|
57604
57524
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
57605
|
-
hash: "
|
|
57525
|
+
hash: "5058ac8f69b60910b7f697db1676d1362d5aef65"
|
|
57606
57526
|
};
|
|
57607
57527
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
57608
57528
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -57619,221 +57539,214 @@ function cov_1y9t6ere98() {
|
|
|
57619
57539
|
}
|
|
57620
57540
|
cov_1y9t6ere98();
|
|
57621
57541
|
cov_1y9t6ere98().s[0]++;
|
|
57622
|
-
var validatePhoneNumber = function validatePhoneNumber(value) {
|
|
57623
|
-
var _parsePhoneNumber;
|
|
57624
|
-
cov_1y9t6ere98().f[0]++;
|
|
57625
|
-
cov_1y9t6ere98().s[1]++;
|
|
57626
|
-
return isNotEmpty(value) ? (cov_1y9t6ere98().b[0][0]++, (_parsePhoneNumber = parsePhoneNumberFromString(value)) === null || _parsePhoneNumber === void 0 ? void 0 : _parsePhoneNumber.isValid()) : (cov_1y9t6ere98().b[0][1]++, true);
|
|
57627
|
-
};
|
|
57628
|
-
cov_1y9t6ere98().s[2]++;
|
|
57629
57542
|
var validateTextField = function validateTextField(_ref) {
|
|
57630
57543
|
var kind = _ref.kind,
|
|
57631
57544
|
label = _ref.label,
|
|
57632
57545
|
isRequired = _ref.isRequired;
|
|
57633
|
-
cov_1y9t6ere98().f[
|
|
57634
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57635
|
-
cov_1y9t6ere98().s[
|
|
57546
|
+
cov_1y9t6ere98().f[0]++;
|
|
57547
|
+
var schema = (cov_1y9t6ere98().s[1]++, yup.string().typeError(getInvalidTypeError(label, "string")));
|
|
57548
|
+
cov_1y9t6ere98().s[2]++;
|
|
57636
57549
|
if (kind === QUESTION_KIND.EMAIL.value) {
|
|
57637
|
-
cov_1y9t6ere98().b[
|
|
57638
|
-
cov_1y9t6ere98().s[
|
|
57550
|
+
cov_1y9t6ere98().b[0][0]++;
|
|
57551
|
+
cov_1y9t6ere98().s[3]++;
|
|
57639
57552
|
schema = schema.email(getInvalidFieldError("Email"));
|
|
57640
57553
|
} else {
|
|
57641
|
-
cov_1y9t6ere98().b[
|
|
57642
|
-
cov_1y9t6ere98().s[
|
|
57554
|
+
cov_1y9t6ere98().b[0][1]++;
|
|
57555
|
+
cov_1y9t6ere98().s[4]++;
|
|
57643
57556
|
if (kind === QUESTION_KIND.PHONE.value) {
|
|
57644
|
-
cov_1y9t6ere98().b[
|
|
57645
|
-
cov_1y9t6ere98().s[
|
|
57646
|
-
schema =
|
|
57557
|
+
cov_1y9t6ere98().b[1][0]++;
|
|
57558
|
+
cov_1y9t6ere98().s[5]++;
|
|
57559
|
+
schema = validation(getInvalidFieldError(t$1("common.phoneNumberValidation")));
|
|
57647
57560
|
} else {
|
|
57648
|
-
cov_1y9t6ere98().b[
|
|
57561
|
+
cov_1y9t6ere98().b[1][1]++;
|
|
57649
57562
|
}
|
|
57650
57563
|
}
|
|
57651
|
-
cov_1y9t6ere98().s[
|
|
57564
|
+
cov_1y9t6ere98().s[6]++;
|
|
57652
57565
|
if (isRequired) {
|
|
57653
|
-
cov_1y9t6ere98().b[
|
|
57654
|
-
cov_1y9t6ere98().s[
|
|
57566
|
+
cov_1y9t6ere98().b[2][0]++;
|
|
57567
|
+
cov_1y9t6ere98().s[7]++;
|
|
57655
57568
|
schema = schema.trim().required(getRequiredFieldError(label));
|
|
57656
57569
|
} else {
|
|
57657
|
-
cov_1y9t6ere98().b[
|
|
57570
|
+
cov_1y9t6ere98().b[2][1]++;
|
|
57658
57571
|
}
|
|
57659
|
-
cov_1y9t6ere98().s[
|
|
57572
|
+
cov_1y9t6ere98().s[8]++;
|
|
57660
57573
|
return schema;
|
|
57661
57574
|
};
|
|
57662
|
-
cov_1y9t6ere98().s[
|
|
57575
|
+
cov_1y9t6ere98().s[9]++;
|
|
57663
57576
|
var validateSingleChoiceField = function validateSingleChoiceField(_ref2) {
|
|
57664
57577
|
var label = _ref2.label,
|
|
57665
57578
|
isRequired = _ref2.isRequired;
|
|
57666
|
-
cov_1y9t6ere98().f[
|
|
57667
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57668
|
-
cov_1y9t6ere98().s[
|
|
57579
|
+
cov_1y9t6ere98().f[1]++;
|
|
57580
|
+
var schema = (cov_1y9t6ere98().s[10]++, yup.string().typeError(getInvalidTypeError(label, "string")));
|
|
57581
|
+
cov_1y9t6ere98().s[11]++;
|
|
57669
57582
|
if (isRequired) {
|
|
57670
|
-
cov_1y9t6ere98().b[
|
|
57671
|
-
cov_1y9t6ere98().s[
|
|
57583
|
+
cov_1y9t6ere98().b[3][0]++;
|
|
57584
|
+
cov_1y9t6ere98().s[12]++;
|
|
57672
57585
|
schema = schema.required(getSelectMinError("an"));
|
|
57673
57586
|
} else {
|
|
57674
|
-
cov_1y9t6ere98().b[
|
|
57587
|
+
cov_1y9t6ere98().b[3][1]++;
|
|
57675
57588
|
}
|
|
57676
|
-
cov_1y9t6ere98().s[
|
|
57589
|
+
cov_1y9t6ere98().s[13]++;
|
|
57677
57590
|
return schema;
|
|
57678
57591
|
};
|
|
57679
|
-
cov_1y9t6ere98().s[
|
|
57592
|
+
cov_1y9t6ere98().s[14]++;
|
|
57680
57593
|
var validateMultiChoiceField = function validateMultiChoiceField(_ref3) {
|
|
57681
57594
|
var isRequired = _ref3.isRequired;
|
|
57682
|
-
cov_1y9t6ere98().f[
|
|
57683
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57684
|
-
cov_1y9t6ere98().s[
|
|
57595
|
+
cov_1y9t6ere98().f[2]++;
|
|
57596
|
+
var schema = (cov_1y9t6ere98().s[15]++, yup.array().of(yup["boolean"]()));
|
|
57597
|
+
cov_1y9t6ere98().s[16]++;
|
|
57685
57598
|
if (isRequired) {
|
|
57686
|
-
cov_1y9t6ere98().b[
|
|
57687
|
-
cov_1y9t6ere98().s[
|
|
57599
|
+
cov_1y9t6ere98().b[4][0]++;
|
|
57600
|
+
cov_1y9t6ere98().s[17]++;
|
|
57688
57601
|
schema = schema.compact().min(1, getSelectMinError("an"));
|
|
57689
57602
|
} else {
|
|
57690
|
-
cov_1y9t6ere98().b[
|
|
57603
|
+
cov_1y9t6ere98().b[4][1]++;
|
|
57691
57604
|
}
|
|
57692
|
-
cov_1y9t6ere98().s[
|
|
57605
|
+
cov_1y9t6ere98().s[18]++;
|
|
57693
57606
|
return schema;
|
|
57694
57607
|
};
|
|
57695
|
-
cov_1y9t6ere98().s[
|
|
57608
|
+
cov_1y9t6ere98().s[19]++;
|
|
57696
57609
|
var validateRatingField = function validateRatingField(_ref4) {
|
|
57697
57610
|
var label = _ref4.label,
|
|
57698
57611
|
isRequired = _ref4.isRequired;
|
|
57699
|
-
cov_1y9t6ere98().f[
|
|
57700
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57701
|
-
cov_1y9t6ere98().s[
|
|
57612
|
+
cov_1y9t6ere98().f[3]++;
|
|
57613
|
+
var schema = (cov_1y9t6ere98().s[20]++, yup.string().typeError(getInvalidTypeError(label, "string")));
|
|
57614
|
+
cov_1y9t6ere98().s[21]++;
|
|
57702
57615
|
if (isRequired) {
|
|
57703
|
-
cov_1y9t6ere98().b[
|
|
57704
|
-
cov_1y9t6ere98().s[
|
|
57616
|
+
cov_1y9t6ere98().b[5][0]++;
|
|
57617
|
+
cov_1y9t6ere98().s[22]++;
|
|
57705
57618
|
schema = schema.required(getSelectMinError("an"));
|
|
57706
57619
|
} else {
|
|
57707
|
-
cov_1y9t6ere98().b[
|
|
57620
|
+
cov_1y9t6ere98().b[5][1]++;
|
|
57708
57621
|
}
|
|
57709
|
-
cov_1y9t6ere98().s[
|
|
57622
|
+
cov_1y9t6ere98().s[23]++;
|
|
57710
57623
|
return schema;
|
|
57711
57624
|
};
|
|
57712
|
-
cov_1y9t6ere98().s[
|
|
57625
|
+
cov_1y9t6ere98().s[24]++;
|
|
57713
57626
|
var validateStarRatingField = function validateStarRatingField(_ref5) {
|
|
57714
57627
|
var label = _ref5.label,
|
|
57715
57628
|
isRequired = _ref5.isRequired;
|
|
57716
|
-
cov_1y9t6ere98().f[
|
|
57717
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57718
|
-
cov_1y9t6ere98().s[
|
|
57629
|
+
cov_1y9t6ere98().f[4]++;
|
|
57630
|
+
var schema = (cov_1y9t6ere98().s[25]++, yup.string().typeError(getInvalidTypeError(label, "string")));
|
|
57631
|
+
cov_1y9t6ere98().s[26]++;
|
|
57719
57632
|
if (isRequired) {
|
|
57720
|
-
cov_1y9t6ere98().b[
|
|
57721
|
-
cov_1y9t6ere98().s[
|
|
57633
|
+
cov_1y9t6ere98().b[6][0]++;
|
|
57634
|
+
cov_1y9t6ere98().s[27]++;
|
|
57722
57635
|
schema = schema.required(getSelectMinError("a", "rating"));
|
|
57723
57636
|
} else {
|
|
57724
|
-
cov_1y9t6ere98().b[
|
|
57637
|
+
cov_1y9t6ere98().b[6][1]++;
|
|
57725
57638
|
}
|
|
57726
|
-
cov_1y9t6ere98().s[
|
|
57639
|
+
cov_1y9t6ere98().s[28]++;
|
|
57727
57640
|
return schema;
|
|
57728
57641
|
};
|
|
57729
|
-
cov_1y9t6ere98().s[
|
|
57642
|
+
cov_1y9t6ere98().s[29]++;
|
|
57730
57643
|
var validateTermsField = function validateTermsField() {
|
|
57731
|
-
cov_1y9t6ere98().f[
|
|
57732
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57733
|
-
cov_1y9t6ere98().s[
|
|
57644
|
+
cov_1y9t6ere98().f[5]++;
|
|
57645
|
+
var schema = (cov_1y9t6ere98().s[30]++, yup["boolean"]().oneOf([true], t$1("common.mustAcceptTermsAndConditions")));
|
|
57646
|
+
cov_1y9t6ere98().s[31]++;
|
|
57734
57647
|
return schema;
|
|
57735
57648
|
};
|
|
57736
|
-
cov_1y9t6ere98().s[
|
|
57649
|
+
cov_1y9t6ere98().s[32]++;
|
|
57737
57650
|
var validateDateField = function validateDateField(_ref6) {
|
|
57738
57651
|
var label = _ref6.label,
|
|
57739
57652
|
isRequired = _ref6.isRequired;
|
|
57740
|
-
cov_1y9t6ere98().f[
|
|
57741
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57742
|
-
cov_1y9t6ere98().s[
|
|
57653
|
+
cov_1y9t6ere98().f[6]++;
|
|
57654
|
+
var schema = (cov_1y9t6ere98().s[33]++, yup.date().typeError("").nullable());
|
|
57655
|
+
cov_1y9t6ere98().s[34]++;
|
|
57743
57656
|
if (isRequired) {
|
|
57744
|
-
cov_1y9t6ere98().b[
|
|
57745
|
-
cov_1y9t6ere98().s[
|
|
57657
|
+
cov_1y9t6ere98().b[7][0]++;
|
|
57658
|
+
cov_1y9t6ere98().s[35]++;
|
|
57746
57659
|
schema = yup.date().typeError(getInvalidTypeError(label, "date")).required(getRequiredFieldError(label));
|
|
57747
57660
|
} else {
|
|
57748
|
-
cov_1y9t6ere98().b[
|
|
57661
|
+
cov_1y9t6ere98().b[7][1]++;
|
|
57749
57662
|
}
|
|
57750
|
-
cov_1y9t6ere98().s[
|
|
57663
|
+
cov_1y9t6ere98().s[36]++;
|
|
57751
57664
|
return schema;
|
|
57752
57665
|
};
|
|
57753
|
-
cov_1y9t6ere98().s[
|
|
57666
|
+
cov_1y9t6ere98().s[37]++;
|
|
57754
57667
|
var validateMultiEmailField = function validateMultiEmailField(_ref7) {
|
|
57755
57668
|
var isRequired = _ref7.isRequired;
|
|
57756
|
-
cov_1y9t6ere98().f[
|
|
57757
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57669
|
+
cov_1y9t6ere98().f[7]++;
|
|
57670
|
+
var schema = (cov_1y9t6ere98().s[38]++, yup.array().of(yup.object().shape({
|
|
57758
57671
|
value: yup.string().email(getInvalidFieldError("Email"))
|
|
57759
57672
|
})).nullable());
|
|
57760
|
-
cov_1y9t6ere98().s[
|
|
57673
|
+
cov_1y9t6ere98().s[39]++;
|
|
57761
57674
|
if (isRequired) {
|
|
57762
|
-
cov_1y9t6ere98().b[
|
|
57763
|
-
cov_1y9t6ere98().s[
|
|
57675
|
+
cov_1y9t6ere98().b[8][0]++;
|
|
57676
|
+
cov_1y9t6ere98().s[40]++;
|
|
57764
57677
|
schema = schema.compact().min(1, getSelectMinError("an", "email"));
|
|
57765
57678
|
} else {
|
|
57766
|
-
cov_1y9t6ere98().b[
|
|
57679
|
+
cov_1y9t6ere98().b[8][1]++;
|
|
57767
57680
|
}
|
|
57768
|
-
cov_1y9t6ere98().s[
|
|
57681
|
+
cov_1y9t6ere98().s[41]++;
|
|
57769
57682
|
return schema;
|
|
57770
57683
|
};
|
|
57771
|
-
cov_1y9t6ere98().s[
|
|
57684
|
+
cov_1y9t6ere98().s[42]++;
|
|
57772
57685
|
var editorHasValue = function editorHasValue(content) {
|
|
57773
|
-
cov_1y9t6ere98().f[
|
|
57774
|
-
cov_1y9t6ere98().s[
|
|
57686
|
+
cov_1y9t6ere98().f[8]++;
|
|
57687
|
+
cov_1y9t6ere98().s[43]++;
|
|
57775
57688
|
return !isEditorEmpty(content);
|
|
57776
57689
|
};
|
|
57777
|
-
cov_1y9t6ere98().s[
|
|
57690
|
+
cov_1y9t6ere98().s[44]++;
|
|
57778
57691
|
var validateRichTextField = function validateRichTextField(_ref8) {
|
|
57779
57692
|
var isRequired = _ref8.isRequired;
|
|
57780
|
-
cov_1y9t6ere98().f[
|
|
57781
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57782
|
-
cov_1y9t6ere98().s[
|
|
57693
|
+
cov_1y9t6ere98().f[9]++;
|
|
57694
|
+
var schema = (cov_1y9t6ere98().s[45]++, yup.string());
|
|
57695
|
+
cov_1y9t6ere98().s[46]++;
|
|
57783
57696
|
if (isRequired) {
|
|
57784
|
-
cov_1y9t6ere98().b[
|
|
57785
|
-
cov_1y9t6ere98().s[
|
|
57697
|
+
cov_1y9t6ere98().b[9][0]++;
|
|
57698
|
+
cov_1y9t6ere98().s[47]++;
|
|
57786
57699
|
schema = schema.test("required", getRequiredFieldError("content"), editorHasValue);
|
|
57787
57700
|
} else {
|
|
57788
|
-
cov_1y9t6ere98().b[
|
|
57701
|
+
cov_1y9t6ere98().b[9][1]++;
|
|
57789
57702
|
}
|
|
57790
|
-
cov_1y9t6ere98().s[
|
|
57703
|
+
cov_1y9t6ere98().s[48]++;
|
|
57791
57704
|
return schema;
|
|
57792
57705
|
};
|
|
57793
|
-
var fieldKindValidatorMap = (cov_1y9t6ere98().s[
|
|
57794
|
-
cov_1y9t6ere98().s[
|
|
57706
|
+
var fieldKindValidatorMap = (cov_1y9t6ere98().s[49]++, (_ref9 = {}, _defineProperty$a(_ref9, QUESTION_KIND.EMAIL.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.PHONE.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXT.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.NAME.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.QUESTION.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.DROPDOWN.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RADIO.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.CHECKBOX.value, validateMultiChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RATING.value, validateRatingField), _defineProperty$a(_ref9, QUESTION_KIND.TERMS.value, validateTermsField), _defineProperty$a(_ref9, QUESTION_KIND.DATE.value, validateDateField), _defineProperty$a(_ref9, QUESTION_KIND.STAR_RATING.value, validateStarRatingField), _defineProperty$a(_ref9, QUESTION_KIND.ADDITIONAL_GUESTS.value, validateMultiEmailField), _defineProperty$a(_ref9, QUESTION_KIND.RICH_TEXT.value, validateRichTextField), _ref9));
|
|
57707
|
+
cov_1y9t6ere98().s[50]++;
|
|
57795
57708
|
var validateFieldValue = function validateFieldValue(_ref10) {
|
|
57796
57709
|
var kind = _ref10.kind,
|
|
57797
57710
|
label = _ref10.label,
|
|
57798
57711
|
isRequired = _ref10.isRequired;
|
|
57799
|
-
cov_1y9t6ere98().f[
|
|
57800
|
-
cov_1y9t6ere98().s[
|
|
57712
|
+
cov_1y9t6ere98().f[10]++;
|
|
57713
|
+
cov_1y9t6ere98().s[51]++;
|
|
57801
57714
|
return (
|
|
57802
57715
|
// eslint-disable-next-line consistent-return
|
|
57803
57716
|
function (value) {
|
|
57804
|
-
cov_1y9t6ere98().f[
|
|
57805
|
-
cov_1y9t6ere98().s[
|
|
57717
|
+
cov_1y9t6ere98().f[11]++;
|
|
57718
|
+
cov_1y9t6ere98().s[52]++;
|
|
57806
57719
|
if (kind in fieldKindValidatorMap) {
|
|
57807
|
-
cov_1y9t6ere98().b[
|
|
57808
|
-
var validator = (cov_1y9t6ere98().s[
|
|
57809
|
-
var schema = (cov_1y9t6ere98().s[
|
|
57720
|
+
cov_1y9t6ere98().b[10][0]++;
|
|
57721
|
+
var validator = (cov_1y9t6ere98().s[53]++, fieldKindValidatorMap[kind]);
|
|
57722
|
+
var schema = (cov_1y9t6ere98().s[54]++, validator({
|
|
57810
57723
|
kind: kind,
|
|
57811
57724
|
label: label,
|
|
57812
57725
|
isRequired: isRequired
|
|
57813
57726
|
}));
|
|
57814
57727
|
|
|
57815
57728
|
// eslint-disable-next-line no-async-promise-executor
|
|
57816
|
-
cov_1y9t6ere98().s[
|
|
57729
|
+
cov_1y9t6ere98().s[55]++;
|
|
57817
57730
|
return new Promise( /*#__PURE__*/function () {
|
|
57818
57731
|
var _ref11 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(resolve) {
|
|
57819
57732
|
return regenerator.wrap(function _callee$(_context) {
|
|
57820
57733
|
while (1) switch (_context.prev = _context.next) {
|
|
57821
57734
|
case 0:
|
|
57822
|
-
cov_1y9t6ere98().f[
|
|
57823
|
-
cov_1y9t6ere98().s[
|
|
57735
|
+
cov_1y9t6ere98().f[12]++;
|
|
57736
|
+
cov_1y9t6ere98().s[56]++;
|
|
57824
57737
|
_context.prev = 2;
|
|
57825
|
-
cov_1y9t6ere98().s[
|
|
57738
|
+
cov_1y9t6ere98().s[57]++;
|
|
57826
57739
|
_context.next = 6;
|
|
57827
57740
|
return schema.validate(value);
|
|
57828
57741
|
case 6:
|
|
57829
|
-
cov_1y9t6ere98().s[
|
|
57742
|
+
cov_1y9t6ere98().s[58]++;
|
|
57830
57743
|
resolve(undefined);
|
|
57831
57744
|
_context.next = 14;
|
|
57832
57745
|
break;
|
|
57833
57746
|
case 10:
|
|
57834
57747
|
_context.prev = 10;
|
|
57835
57748
|
_context.t0 = _context["catch"](2);
|
|
57836
|
-
cov_1y9t6ere98().s[
|
|
57749
|
+
cov_1y9t6ere98().s[59]++;
|
|
57837
57750
|
resolve(_context.t0.message);
|
|
57838
57751
|
case 14:
|
|
57839
57752
|
case "end":
|
|
@@ -57846,7 +57759,7 @@ var validateFieldValue = function validateFieldValue(_ref10) {
|
|
|
57846
57759
|
};
|
|
57847
57760
|
}());
|
|
57848
57761
|
} else {
|
|
57849
|
-
cov_1y9t6ere98().b[
|
|
57762
|
+
cov_1y9t6ere98().b[10][1]++;
|
|
57850
57763
|
}
|
|
57851
57764
|
}
|
|
57852
57765
|
);
|
|
@@ -60822,6 +60735,292 @@ var OptionsField = function OptionsField(_ref) {
|
|
|
60822
60735
|
});
|
|
60823
60736
|
};
|
|
60824
60737
|
|
|
60738
|
+
function cov_91boqbsi0() {
|
|
60739
|
+
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/PhoneNumberField.jsx";
|
|
60740
|
+
var hash = "53b231995ea411baa5e11ca5d4a1afd94fe59969";
|
|
60741
|
+
var global = new Function("return this")();
|
|
60742
|
+
var gcv = "__coverage__";
|
|
60743
|
+
var coverageData = {
|
|
60744
|
+
path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/PhoneNumberField.jsx",
|
|
60745
|
+
statementMap: {
|
|
60746
|
+
"0": {
|
|
60747
|
+
start: {
|
|
60748
|
+
line: 8,
|
|
60749
|
+
column: 25
|
|
60750
|
+
},
|
|
60751
|
+
end: {
|
|
60752
|
+
line: 29,
|
|
60753
|
+
column: 1
|
|
60754
|
+
}
|
|
60755
|
+
},
|
|
60756
|
+
"1": {
|
|
60757
|
+
start: {
|
|
60758
|
+
line: 9,
|
|
60759
|
+
column: 28
|
|
60760
|
+
},
|
|
60761
|
+
end: {
|
|
60762
|
+
line: 9,
|
|
60763
|
+
column: 46
|
|
60764
|
+
}
|
|
60765
|
+
},
|
|
60766
|
+
"2": {
|
|
60767
|
+
start: {
|
|
60768
|
+
line: 10,
|
|
60769
|
+
column: 69
|
|
60770
|
+
},
|
|
60771
|
+
end: {
|
|
60772
|
+
line: 10,
|
|
60773
|
+
column: 77
|
|
60774
|
+
}
|
|
60775
|
+
},
|
|
60776
|
+
"3": {
|
|
60777
|
+
start: {
|
|
60778
|
+
line: 12,
|
|
60779
|
+
column: 2
|
|
60780
|
+
},
|
|
60781
|
+
end: {
|
|
60782
|
+
line: 28,
|
|
60783
|
+
column: 4
|
|
60784
|
+
}
|
|
60785
|
+
},
|
|
60786
|
+
"4": {
|
|
60787
|
+
start: {
|
|
60788
|
+
line: 18,
|
|
60789
|
+
column: 8
|
|
60790
|
+
},
|
|
60791
|
+
end: {
|
|
60792
|
+
line: 25,
|
|
60793
|
+
column: 10
|
|
60794
|
+
}
|
|
60795
|
+
},
|
|
60796
|
+
"5": {
|
|
60797
|
+
start: {
|
|
60798
|
+
line: 24,
|
|
60799
|
+
column: 29
|
|
60800
|
+
},
|
|
60801
|
+
end: {
|
|
60802
|
+
line: 24,
|
|
60803
|
+
column: 61
|
|
60804
|
+
}
|
|
60805
|
+
}
|
|
60806
|
+
},
|
|
60807
|
+
fnMap: {
|
|
60808
|
+
"0": {
|
|
60809
|
+
name: "(anonymous_0)",
|
|
60810
|
+
decl: {
|
|
60811
|
+
start: {
|
|
60812
|
+
line: 8,
|
|
60813
|
+
column: 25
|
|
60814
|
+
},
|
|
60815
|
+
end: {
|
|
60816
|
+
line: 8,
|
|
60817
|
+
column: 26
|
|
60818
|
+
}
|
|
60819
|
+
},
|
|
60820
|
+
loc: {
|
|
60821
|
+
start: {
|
|
60822
|
+
line: 8,
|
|
60823
|
+
column: 43
|
|
60824
|
+
},
|
|
60825
|
+
end: {
|
|
60826
|
+
line: 29,
|
|
60827
|
+
column: 1
|
|
60828
|
+
}
|
|
60829
|
+
},
|
|
60830
|
+
line: 8
|
|
60831
|
+
},
|
|
60832
|
+
"1": {
|
|
60833
|
+
name: "(anonymous_1)",
|
|
60834
|
+
decl: {
|
|
60835
|
+
start: {
|
|
60836
|
+
line: 17,
|
|
60837
|
+
column: 7
|
|
60838
|
+
},
|
|
60839
|
+
end: {
|
|
60840
|
+
line: 17,
|
|
60841
|
+
column: 8
|
|
60842
|
+
}
|
|
60843
|
+
},
|
|
60844
|
+
loc: {
|
|
60845
|
+
start: {
|
|
60846
|
+
line: 18,
|
|
60847
|
+
column: 8
|
|
60848
|
+
},
|
|
60849
|
+
end: {
|
|
60850
|
+
line: 25,
|
|
60851
|
+
column: 10
|
|
60852
|
+
}
|
|
60853
|
+
},
|
|
60854
|
+
line: 18
|
|
60855
|
+
},
|
|
60856
|
+
"2": {
|
|
60857
|
+
name: "(anonymous_2)",
|
|
60858
|
+
decl: {
|
|
60859
|
+
start: {
|
|
60860
|
+
line: 24,
|
|
60861
|
+
column: 20
|
|
60862
|
+
},
|
|
60863
|
+
end: {
|
|
60864
|
+
line: 24,
|
|
60865
|
+
column: 21
|
|
60866
|
+
}
|
|
60867
|
+
},
|
|
60868
|
+
loc: {
|
|
60869
|
+
start: {
|
|
60870
|
+
line: 24,
|
|
60871
|
+
column: 29
|
|
60872
|
+
},
|
|
60873
|
+
end: {
|
|
60874
|
+
line: 24,
|
|
60875
|
+
column: 61
|
|
60876
|
+
}
|
|
60877
|
+
},
|
|
60878
|
+
line: 24
|
|
60879
|
+
}
|
|
60880
|
+
},
|
|
60881
|
+
branchMap: {
|
|
60882
|
+
"0": {
|
|
60883
|
+
loc: {
|
|
60884
|
+
start: {
|
|
60885
|
+
line: 14,
|
|
60886
|
+
column: 12
|
|
60887
|
+
},
|
|
60888
|
+
end: {
|
|
60889
|
+
line: 14,
|
|
60890
|
+
column: 26
|
|
60891
|
+
}
|
|
60892
|
+
},
|
|
60893
|
+
type: "binary-expr",
|
|
60894
|
+
locations: [{
|
|
60895
|
+
start: {
|
|
60896
|
+
line: 14,
|
|
60897
|
+
column: 12
|
|
60898
|
+
},
|
|
60899
|
+
end: {
|
|
60900
|
+
line: 14,
|
|
60901
|
+
column: 16
|
|
60902
|
+
}
|
|
60903
|
+
}, {
|
|
60904
|
+
start: {
|
|
60905
|
+
line: 14,
|
|
60906
|
+
column: 20
|
|
60907
|
+
},
|
|
60908
|
+
end: {
|
|
60909
|
+
line: 14,
|
|
60910
|
+
column: 26
|
|
60911
|
+
}
|
|
60912
|
+
}],
|
|
60913
|
+
line: 14
|
|
60914
|
+
},
|
|
60915
|
+
"1": {
|
|
60916
|
+
loc: {
|
|
60917
|
+
start: {
|
|
60918
|
+
line: 19,
|
|
60919
|
+
column: 17
|
|
60920
|
+
},
|
|
60921
|
+
end: {
|
|
60922
|
+
line: 19,
|
|
60923
|
+
column: 47
|
|
60924
|
+
}
|
|
60925
|
+
},
|
|
60926
|
+
type: "cond-expr",
|
|
60927
|
+
locations: [{
|
|
60928
|
+
start: {
|
|
60929
|
+
line: 19,
|
|
60930
|
+
column: 32
|
|
60931
|
+
},
|
|
60932
|
+
end: {
|
|
60933
|
+
line: 19,
|
|
60934
|
+
column: 42
|
|
60935
|
+
}
|
|
60936
|
+
}, {
|
|
60937
|
+
start: {
|
|
60938
|
+
line: 19,
|
|
60939
|
+
column: 45
|
|
60940
|
+
},
|
|
60941
|
+
end: {
|
|
60942
|
+
line: 19,
|
|
60943
|
+
column: 47
|
|
60944
|
+
}
|
|
60945
|
+
}],
|
|
60946
|
+
line: 19
|
|
60947
|
+
}
|
|
60948
|
+
},
|
|
60949
|
+
s: {
|
|
60950
|
+
"0": 0,
|
|
60951
|
+
"1": 0,
|
|
60952
|
+
"2": 0,
|
|
60953
|
+
"3": 0,
|
|
60954
|
+
"4": 0,
|
|
60955
|
+
"5": 0
|
|
60956
|
+
},
|
|
60957
|
+
f: {
|
|
60958
|
+
"0": 0,
|
|
60959
|
+
"1": 0,
|
|
60960
|
+
"2": 0
|
|
60961
|
+
},
|
|
60962
|
+
b: {
|
|
60963
|
+
"0": [0, 0],
|
|
60964
|
+
"1": [0, 0]
|
|
60965
|
+
},
|
|
60966
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
60967
|
+
hash: "53b231995ea411baa5e11ca5d4a1afd94fe59969"
|
|
60968
|
+
};
|
|
60969
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
60970
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
60971
|
+
coverage[path] = coverageData;
|
|
60972
|
+
}
|
|
60973
|
+
var actualCoverage = coverage[path];
|
|
60974
|
+
{
|
|
60975
|
+
// @ts-ignore
|
|
60976
|
+
cov_91boqbsi0 = function () {
|
|
60977
|
+
return actualCoverage;
|
|
60978
|
+
};
|
|
60979
|
+
}
|
|
60980
|
+
return actualCoverage;
|
|
60981
|
+
}
|
|
60982
|
+
cov_91boqbsi0();
|
|
60983
|
+
cov_91boqbsi0().s[0]++;
|
|
60984
|
+
var PhoneNumberField = function PhoneNumberField(_ref) {
|
|
60985
|
+
var question = _ref.question;
|
|
60986
|
+
cov_91boqbsi0().f[0]++;
|
|
60987
|
+
var _ref2 = (cov_91boqbsi0().s[1]++, useFormikContext()),
|
|
60988
|
+
setFieldValue = _ref2.setFieldValue;
|
|
60989
|
+
var _ref3 = (cov_91boqbsi0().s[2]++, question),
|
|
60990
|
+
name = _ref3.id,
|
|
60991
|
+
kind = _ref3.kind,
|
|
60992
|
+
label = _ref3.label,
|
|
60993
|
+
placeholder = _ref3.placeholder,
|
|
60994
|
+
isRequired = _ref3.isRequired,
|
|
60995
|
+
nodeId = _ref3.nodeId;
|
|
60996
|
+
cov_91boqbsi0().s[3]++;
|
|
60997
|
+
return /*#__PURE__*/React__default.createElement(Field, {
|
|
60998
|
+
name: (cov_91boqbsi0().b[0][0]++, name) || (cov_91boqbsi0().b[0][1]++, nodeId),
|
|
60999
|
+
validate: validateFieldValue({
|
|
61000
|
+
kind: kind,
|
|
61001
|
+
label: label,
|
|
61002
|
+
isRequired: isRequired
|
|
61003
|
+
})
|
|
61004
|
+
}, function (_ref4) {
|
|
61005
|
+
var meta = _ref4.meta,
|
|
61006
|
+
field = _ref4.field;
|
|
61007
|
+
cov_91boqbsi0().f[1]++;
|
|
61008
|
+
cov_91boqbsi0().s[4]++;
|
|
61009
|
+
return /*#__PURE__*/React__default.createElement(PhoneNumberInput, {
|
|
61010
|
+
error: meta.touched ? (cov_91boqbsi0().b[1][0]++, meta.error) : (cov_91boqbsi0().b[1][1]++, ""),
|
|
61011
|
+
label: label,
|
|
61012
|
+
placeholder: placeholder,
|
|
61013
|
+
required: isRequired,
|
|
61014
|
+
value: field.value,
|
|
61015
|
+
onChange: function onChange(value) {
|
|
61016
|
+
cov_91boqbsi0().f[2]++;
|
|
61017
|
+
cov_91boqbsi0().s[5]++;
|
|
61018
|
+
return setFieldValue(field.name, value);
|
|
61019
|
+
}
|
|
61020
|
+
});
|
|
61021
|
+
});
|
|
61022
|
+
};
|
|
61023
|
+
|
|
60825
61024
|
var _excluded$4 = ["name", "label", "error", "lowestRatingLabel", "averageRatingLabel", "highestRatingLabel", "value"];
|
|
60826
61025
|
function cov_me840oqeh() {
|
|
60827
61026
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Rating.jsx";
|
|
@@ -64340,7 +64539,7 @@ var TextField = function TextField(_ref) {
|
|
|
64340
64539
|
var _ref2;
|
|
64341
64540
|
function cov_1cenqfav07() {
|
|
64342
64541
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
|
|
64343
|
-
var hash = "
|
|
64542
|
+
var hash = "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee";
|
|
64344
64543
|
var global = new Function("return this")();
|
|
64345
64544
|
var gcv = "__coverage__";
|
|
64346
64545
|
var coverageData = {
|
|
@@ -64348,21 +64547,21 @@ function cov_1cenqfav07() {
|
|
|
64348
64547
|
statementMap: {
|
|
64349
64548
|
"0": {
|
|
64350
64549
|
start: {
|
|
64351
|
-
line:
|
|
64550
|
+
line: 17,
|
|
64352
64551
|
column: 41
|
|
64353
64552
|
},
|
|
64354
64553
|
end: {
|
|
64355
|
-
line:
|
|
64554
|
+
line: 35,
|
|
64356
64555
|
column: 1
|
|
64357
64556
|
}
|
|
64358
64557
|
},
|
|
64359
64558
|
"1": {
|
|
64360
64559
|
start: {
|
|
64361
|
-
line:
|
|
64560
|
+
line: 28,
|
|
64362
64561
|
column: 4
|
|
64363
64562
|
},
|
|
64364
64563
|
end: {
|
|
64365
|
-
line:
|
|
64564
|
+
line: 28,
|
|
64366
64565
|
column: 46
|
|
64367
64566
|
}
|
|
64368
64567
|
}
|
|
@@ -64372,25 +64571,25 @@ function cov_1cenqfav07() {
|
|
|
64372
64571
|
name: "(anonymous_0)",
|
|
64373
64572
|
decl: {
|
|
64374
64573
|
start: {
|
|
64375
|
-
line:
|
|
64574
|
+
line: 27,
|
|
64376
64575
|
column: 34
|
|
64377
64576
|
},
|
|
64378
64577
|
end: {
|
|
64379
|
-
line:
|
|
64578
|
+
line: 27,
|
|
64380
64579
|
column: 35
|
|
64381
64580
|
}
|
|
64382
64581
|
},
|
|
64383
64582
|
loc: {
|
|
64384
64583
|
start: {
|
|
64385
|
-
line:
|
|
64584
|
+
line: 28,
|
|
64386
64585
|
column: 4
|
|
64387
64586
|
},
|
|
64388
64587
|
end: {
|
|
64389
|
-
line:
|
|
64588
|
+
line: 28,
|
|
64390
64589
|
column: 46
|
|
64391
64590
|
}
|
|
64392
64591
|
},
|
|
64393
|
-
line:
|
|
64592
|
+
line: 28
|
|
64394
64593
|
}
|
|
64395
64594
|
},
|
|
64396
64595
|
branchMap: {},
|
|
@@ -64403,7 +64602,7 @@ function cov_1cenqfav07() {
|
|
|
64403
64602
|
},
|
|
64404
64603
|
b: {},
|
|
64405
64604
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
64406
|
-
hash: "
|
|
64605
|
+
hash: "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee"
|
|
64407
64606
|
};
|
|
64408
64607
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
64409
64608
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -64419,7 +64618,7 @@ function cov_1cenqfav07() {
|
|
|
64419
64618
|
return actualCoverage;
|
|
64420
64619
|
}
|
|
64421
64620
|
cov_1cenqfav07();
|
|
64422
|
-
var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value,
|
|
64621
|
+
var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$a(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$a(_ref2, QUESTION_KIND.TEXTAREA.value, function (_ref) {
|
|
64423
64622
|
var question = _ref.question;
|
|
64424
64623
|
cov_1cenqfav07().f[0]++;
|
|
64425
64624
|
cov_1cenqfav07().s[1]++;
|
|
@@ -70498,7 +70697,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
|
|
|
70498
70697
|
|
|
70499
70698
|
function cov_29xlle89ll() {
|
|
70500
70699
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
|
|
70501
|
-
var hash = "
|
|
70700
|
+
var hash = "c62c7cdd0a05bcdbc09bb134860adb35bde42935";
|
|
70502
70701
|
var global = new Function("return this")();
|
|
70503
70702
|
var gcv = "__coverage__";
|
|
70504
70703
|
var coverageData = {
|
|
@@ -70506,171 +70705,231 @@ function cov_29xlle89ll() {
|
|
|
70506
70705
|
statementMap: {
|
|
70507
70706
|
"0": {
|
|
70508
70707
|
start: {
|
|
70509
|
-
line:
|
|
70708
|
+
line: 17,
|
|
70510
70709
|
column: 17
|
|
70511
70710
|
},
|
|
70512
70711
|
end: {
|
|
70513
|
-
line:
|
|
70712
|
+
line: 23,
|
|
70514
70713
|
column: 1
|
|
70515
70714
|
}
|
|
70516
70715
|
},
|
|
70517
70716
|
"1": {
|
|
70518
70717
|
start: {
|
|
70519
|
-
line:
|
|
70718
|
+
line: 18,
|
|
70520
70719
|
column: 2
|
|
70521
70720
|
},
|
|
70522
70721
|
end: {
|
|
70523
|
-
line:
|
|
70722
|
+
line: 20,
|
|
70524
70723
|
column: 3
|
|
70525
70724
|
}
|
|
70526
70725
|
},
|
|
70527
70726
|
"2": {
|
|
70528
70727
|
start: {
|
|
70529
|
-
line:
|
|
70728
|
+
line: 19,
|
|
70530
70729
|
column: 4
|
|
70531
70730
|
},
|
|
70532
70731
|
end: {
|
|
70533
|
-
line:
|
|
70732
|
+
line: 19,
|
|
70534
70733
|
column: 40
|
|
70535
70734
|
}
|
|
70536
70735
|
},
|
|
70537
70736
|
"3": {
|
|
70538
70737
|
start: {
|
|
70539
|
-
line:
|
|
70738
|
+
line: 22,
|
|
70540
70739
|
column: 2
|
|
70541
70740
|
},
|
|
70542
70741
|
end: {
|
|
70543
|
-
line:
|
|
70742
|
+
line: 22,
|
|
70544
70743
|
column: 15
|
|
70545
70744
|
}
|
|
70546
70745
|
},
|
|
70547
70746
|
"4": {
|
|
70548
70747
|
start: {
|
|
70549
|
-
line:
|
|
70748
|
+
line: 25,
|
|
70550
70749
|
column: 17
|
|
70551
70750
|
},
|
|
70552
70751
|
end: {
|
|
70553
|
-
line:
|
|
70752
|
+
line: 35,
|
|
70554
70753
|
column: 1
|
|
70555
70754
|
}
|
|
70556
70755
|
},
|
|
70557
70756
|
"5": {
|
|
70558
70757
|
start: {
|
|
70559
|
-
line:
|
|
70758
|
+
line: 26,
|
|
70560
70759
|
column: 2
|
|
70561
70760
|
},
|
|
70562
70761
|
end: {
|
|
70563
|
-
line:
|
|
70762
|
+
line: 28,
|
|
70564
70763
|
column: 3
|
|
70565
70764
|
}
|
|
70566
70765
|
},
|
|
70567
70766
|
"6": {
|
|
70568
70767
|
start: {
|
|
70569
|
-
line:
|
|
70768
|
+
line: 27,
|
|
70570
70769
|
column: 4
|
|
70571
70770
|
},
|
|
70572
70771
|
end: {
|
|
70573
|
-
line:
|
|
70772
|
+
line: 27,
|
|
70574
70773
|
column: 43
|
|
70575
70774
|
}
|
|
70576
70775
|
},
|
|
70577
70776
|
"7": {
|
|
70578
70777
|
start: {
|
|
70579
|
-
line:
|
|
70778
|
+
line: 30,
|
|
70580
70779
|
column: 2
|
|
70581
70780
|
},
|
|
70582
70781
|
end: {
|
|
70583
|
-
line:
|
|
70782
|
+
line: 32,
|
|
70584
70783
|
column: 3
|
|
70585
70784
|
}
|
|
70586
70785
|
},
|
|
70587
70786
|
"8": {
|
|
70588
70787
|
start: {
|
|
70589
|
-
line:
|
|
70788
|
+
line: 31,
|
|
70590
70789
|
column: 4
|
|
70591
70790
|
},
|
|
70592
70791
|
end: {
|
|
70593
|
-
line:
|
|
70792
|
+
line: 31,
|
|
70594
70793
|
column: 29
|
|
70595
70794
|
}
|
|
70596
70795
|
},
|
|
70597
70796
|
"9": {
|
|
70598
70797
|
start: {
|
|
70599
|
-
line:
|
|
70798
|
+
line: 34,
|
|
70600
70799
|
column: 2
|
|
70601
70800
|
},
|
|
70602
70801
|
end: {
|
|
70603
|
-
line:
|
|
70802
|
+
line: 34,
|
|
70604
70803
|
column: 15
|
|
70605
70804
|
}
|
|
70606
70805
|
},
|
|
70607
70806
|
"10": {
|
|
70608
70807
|
start: {
|
|
70609
|
-
line:
|
|
70808
|
+
line: 37,
|
|
70610
70809
|
column: 19
|
|
70611
70810
|
},
|
|
70612
70811
|
end: {
|
|
70613
|
-
line:
|
|
70812
|
+
line: 94,
|
|
70614
70813
|
column: 1
|
|
70615
70814
|
}
|
|
70616
70815
|
},
|
|
70617
70816
|
"11": {
|
|
70618
70817
|
start: {
|
|
70619
|
-
line:
|
|
70818
|
+
line: 44,
|
|
70620
70819
|
column: 62
|
|
70621
70820
|
},
|
|
70622
70821
|
end: {
|
|
70623
|
-
line:
|
|
70822
|
+
line: 48,
|
|
70624
70823
|
column: 4
|
|
70625
70824
|
}
|
|
70626
70825
|
},
|
|
70627
70826
|
"12": {
|
|
70628
70827
|
start: {
|
|
70629
|
-
line:
|
|
70828
|
+
line: 50,
|
|
70630
70829
|
column: 24
|
|
70631
70830
|
},
|
|
70632
70831
|
end: {
|
|
70633
|
-
line:
|
|
70832
|
+
line: 50,
|
|
70634
70833
|
column: 34
|
|
70635
70834
|
}
|
|
70636
70835
|
},
|
|
70637
70836
|
"13": {
|
|
70638
70837
|
start: {
|
|
70639
|
-
line:
|
|
70640
|
-
column:
|
|
70838
|
+
line: 52,
|
|
70839
|
+
column: 31
|
|
70641
70840
|
},
|
|
70642
70841
|
end: {
|
|
70643
|
-
line:
|
|
70842
|
+
line: 68,
|
|
70644
70843
|
column: 3
|
|
70645
70844
|
}
|
|
70646
70845
|
},
|
|
70647
70846
|
"14": {
|
|
70648
70847
|
start: {
|
|
70649
|
-
line:
|
|
70650
|
-
column:
|
|
70848
|
+
line: 54,
|
|
70849
|
+
column: 6
|
|
70651
70850
|
},
|
|
70652
70851
|
end: {
|
|
70852
|
+
line: 58,
|
|
70853
|
+
column: 7
|
|
70854
|
+
}
|
|
70855
|
+
},
|
|
70856
|
+
"15": {
|
|
70857
|
+
start: {
|
|
70858
|
+
line: 55,
|
|
70859
|
+
column: 8
|
|
70860
|
+
},
|
|
70861
|
+
end: {
|
|
70862
|
+
line: 55,
|
|
70863
|
+
column: 69
|
|
70864
|
+
}
|
|
70865
|
+
},
|
|
70866
|
+
"16": {
|
|
70867
|
+
start: {
|
|
70653
70868
|
line: 56,
|
|
70869
|
+
column: 13
|
|
70870
|
+
},
|
|
70871
|
+
end: {
|
|
70872
|
+
line: 58,
|
|
70873
|
+
column: 7
|
|
70874
|
+
}
|
|
70875
|
+
},
|
|
70876
|
+
"17": {
|
|
70877
|
+
start: {
|
|
70878
|
+
line: 57,
|
|
70879
|
+
column: 8
|
|
70880
|
+
},
|
|
70881
|
+
end: {
|
|
70882
|
+
line: 57,
|
|
70883
|
+
column: 55
|
|
70884
|
+
}
|
|
70885
|
+
},
|
|
70886
|
+
"18": {
|
|
70887
|
+
start: {
|
|
70888
|
+
line: 60,
|
|
70654
70889
|
column: 6
|
|
70890
|
+
},
|
|
70891
|
+
end: {
|
|
70892
|
+
line: 66,
|
|
70893
|
+
column: 8
|
|
70655
70894
|
}
|
|
70656
70895
|
},
|
|
70657
|
-
"
|
|
70896
|
+
"19": {
|
|
70658
70897
|
start: {
|
|
70659
|
-
line:
|
|
70898
|
+
line: 70,
|
|
70660
70899
|
column: 2
|
|
70661
70900
|
},
|
|
70662
70901
|
end: {
|
|
70663
|
-
line:
|
|
70902
|
+
line: 76,
|
|
70903
|
+
column: 3
|
|
70904
|
+
}
|
|
70905
|
+
},
|
|
70906
|
+
"20": {
|
|
70907
|
+
start: {
|
|
70908
|
+
line: 71,
|
|
70664
70909
|
column: 4
|
|
70910
|
+
},
|
|
70911
|
+
end: {
|
|
70912
|
+
line: 75,
|
|
70913
|
+
column: 6
|
|
70665
70914
|
}
|
|
70666
70915
|
},
|
|
70667
|
-
"
|
|
70916
|
+
"21": {
|
|
70668
70917
|
start: {
|
|
70669
|
-
line:
|
|
70918
|
+
line: 78,
|
|
70919
|
+
column: 2
|
|
70920
|
+
},
|
|
70921
|
+
end: {
|
|
70922
|
+
line: 93,
|
|
70923
|
+
column: 4
|
|
70924
|
+
}
|
|
70925
|
+
},
|
|
70926
|
+
"22": {
|
|
70927
|
+
start: {
|
|
70928
|
+
line: 85,
|
|
70670
70929
|
column: 8
|
|
70671
70930
|
},
|
|
70672
70931
|
end: {
|
|
70673
|
-
line:
|
|
70932
|
+
line: 90,
|
|
70674
70933
|
column: 14
|
|
70675
70934
|
}
|
|
70676
70935
|
}
|
|
@@ -70680,119 +70939,143 @@ function cov_29xlle89ll() {
|
|
|
70680
70939
|
name: "(anonymous_0)",
|
|
70681
70940
|
decl: {
|
|
70682
70941
|
start: {
|
|
70683
|
-
line:
|
|
70942
|
+
line: 17,
|
|
70684
70943
|
column: 17
|
|
70685
70944
|
},
|
|
70686
70945
|
end: {
|
|
70687
|
-
line:
|
|
70946
|
+
line: 17,
|
|
70688
70947
|
column: 18
|
|
70689
70948
|
}
|
|
70690
70949
|
},
|
|
70691
70950
|
loc: {
|
|
70692
70951
|
start: {
|
|
70693
|
-
line:
|
|
70952
|
+
line: 17,
|
|
70694
70953
|
column: 38
|
|
70695
70954
|
},
|
|
70696
70955
|
end: {
|
|
70697
|
-
line:
|
|
70956
|
+
line: 23,
|
|
70698
70957
|
column: 1
|
|
70699
70958
|
}
|
|
70700
70959
|
},
|
|
70701
|
-
line:
|
|
70960
|
+
line: 17
|
|
70702
70961
|
},
|
|
70703
70962
|
"1": {
|
|
70704
70963
|
name: "(anonymous_1)",
|
|
70705
70964
|
decl: {
|
|
70706
70965
|
start: {
|
|
70707
|
-
line:
|
|
70966
|
+
line: 25,
|
|
70708
70967
|
column: 17
|
|
70709
70968
|
},
|
|
70710
70969
|
end: {
|
|
70711
|
-
line:
|
|
70970
|
+
line: 25,
|
|
70712
70971
|
column: 18
|
|
70713
70972
|
}
|
|
70714
70973
|
},
|
|
70715
70974
|
loc: {
|
|
70716
70975
|
start: {
|
|
70717
|
-
line:
|
|
70976
|
+
line: 25,
|
|
70718
70977
|
column: 38
|
|
70719
70978
|
},
|
|
70720
70979
|
end: {
|
|
70721
|
-
line:
|
|
70980
|
+
line: 35,
|
|
70722
70981
|
column: 1
|
|
70723
70982
|
}
|
|
70724
70983
|
},
|
|
70725
|
-
line:
|
|
70984
|
+
line: 25
|
|
70726
70985
|
},
|
|
70727
70986
|
"2": {
|
|
70728
70987
|
name: "(anonymous_2)",
|
|
70729
70988
|
decl: {
|
|
70730
70989
|
start: {
|
|
70731
|
-
line:
|
|
70990
|
+
line: 37,
|
|
70732
70991
|
column: 19
|
|
70733
70992
|
},
|
|
70734
70993
|
end: {
|
|
70735
|
-
line:
|
|
70994
|
+
line: 37,
|
|
70736
70995
|
column: 20
|
|
70737
70996
|
}
|
|
70738
70997
|
},
|
|
70739
70998
|
loc: {
|
|
70740
70999
|
start: {
|
|
70741
|
-
line:
|
|
71000
|
+
line: 43,
|
|
70742
71001
|
column: 6
|
|
70743
71002
|
},
|
|
70744
71003
|
end: {
|
|
70745
|
-
line:
|
|
71004
|
+
line: 94,
|
|
70746
71005
|
column: 1
|
|
70747
71006
|
}
|
|
70748
71007
|
},
|
|
70749
|
-
line:
|
|
71008
|
+
line: 43
|
|
70750
71009
|
},
|
|
70751
71010
|
"3": {
|
|
70752
71011
|
name: "(anonymous_3)",
|
|
70753
71012
|
decl: {
|
|
70754
71013
|
start: {
|
|
70755
|
-
line:
|
|
71014
|
+
line: 52,
|
|
71015
|
+
column: 31
|
|
71016
|
+
},
|
|
71017
|
+
end: {
|
|
71018
|
+
line: 52,
|
|
71019
|
+
column: 32
|
|
71020
|
+
}
|
|
71021
|
+
},
|
|
71022
|
+
loc: {
|
|
71023
|
+
start: {
|
|
71024
|
+
line: 52,
|
|
71025
|
+
column: 48
|
|
71026
|
+
},
|
|
71027
|
+
end: {
|
|
71028
|
+
line: 68,
|
|
71029
|
+
column: 3
|
|
71030
|
+
}
|
|
71031
|
+
},
|
|
71032
|
+
line: 52
|
|
71033
|
+
},
|
|
71034
|
+
"4": {
|
|
71035
|
+
name: "(anonymous_4)",
|
|
71036
|
+
decl: {
|
|
71037
|
+
start: {
|
|
71038
|
+
line: 84,
|
|
70756
71039
|
column: 21
|
|
70757
71040
|
},
|
|
70758
71041
|
end: {
|
|
70759
|
-
line:
|
|
71042
|
+
line: 84,
|
|
70760
71043
|
column: 22
|
|
70761
71044
|
}
|
|
70762
71045
|
},
|
|
70763
71046
|
loc: {
|
|
70764
71047
|
start: {
|
|
70765
|
-
line:
|
|
71048
|
+
line: 85,
|
|
70766
71049
|
column: 8
|
|
70767
71050
|
},
|
|
70768
71051
|
end: {
|
|
70769
|
-
line:
|
|
71052
|
+
line: 90,
|
|
70770
71053
|
column: 14
|
|
70771
71054
|
}
|
|
70772
71055
|
},
|
|
70773
|
-
line:
|
|
71056
|
+
line: 85
|
|
70774
71057
|
}
|
|
70775
71058
|
},
|
|
70776
71059
|
branchMap: {
|
|
70777
71060
|
"0": {
|
|
70778
71061
|
loc: {
|
|
70779
71062
|
start: {
|
|
70780
|
-
line:
|
|
71063
|
+
line: 18,
|
|
70781
71064
|
column: 2
|
|
70782
71065
|
},
|
|
70783
71066
|
end: {
|
|
70784
|
-
line:
|
|
71067
|
+
line: 20,
|
|
70785
71068
|
column: 3
|
|
70786
71069
|
}
|
|
70787
71070
|
},
|
|
70788
71071
|
type: "if",
|
|
70789
71072
|
locations: [{
|
|
70790
71073
|
start: {
|
|
70791
|
-
line:
|
|
71074
|
+
line: 18,
|
|
70792
71075
|
column: 2
|
|
70793
71076
|
},
|
|
70794
71077
|
end: {
|
|
70795
|
-
line:
|
|
71078
|
+
line: 20,
|
|
70796
71079
|
column: 3
|
|
70797
71080
|
}
|
|
70798
71081
|
}, {
|
|
@@ -70805,27 +71088,27 @@ function cov_29xlle89ll() {
|
|
|
70805
71088
|
column: undefined
|
|
70806
71089
|
}
|
|
70807
71090
|
}],
|
|
70808
|
-
line:
|
|
71091
|
+
line: 18
|
|
70809
71092
|
},
|
|
70810
71093
|
"1": {
|
|
70811
71094
|
loc: {
|
|
70812
71095
|
start: {
|
|
70813
|
-
line:
|
|
71096
|
+
line: 26,
|
|
70814
71097
|
column: 2
|
|
70815
71098
|
},
|
|
70816
71099
|
end: {
|
|
70817
|
-
line:
|
|
71100
|
+
line: 28,
|
|
70818
71101
|
column: 3
|
|
70819
71102
|
}
|
|
70820
71103
|
},
|
|
70821
71104
|
type: "if",
|
|
70822
71105
|
locations: [{
|
|
70823
71106
|
start: {
|
|
70824
|
-
line:
|
|
71107
|
+
line: 26,
|
|
70825
71108
|
column: 2
|
|
70826
71109
|
},
|
|
70827
71110
|
end: {
|
|
70828
|
-
line:
|
|
71111
|
+
line: 28,
|
|
70829
71112
|
column: 3
|
|
70830
71113
|
}
|
|
70831
71114
|
}, {
|
|
@@ -70838,60 +71121,60 @@ function cov_29xlle89ll() {
|
|
|
70838
71121
|
column: undefined
|
|
70839
71122
|
}
|
|
70840
71123
|
}],
|
|
70841
|
-
line:
|
|
71124
|
+
line: 26
|
|
70842
71125
|
},
|
|
70843
71126
|
"2": {
|
|
70844
71127
|
loc: {
|
|
70845
71128
|
start: {
|
|
70846
|
-
line:
|
|
71129
|
+
line: 27,
|
|
70847
71130
|
column: 11
|
|
70848
71131
|
},
|
|
70849
71132
|
end: {
|
|
70850
|
-
line:
|
|
71133
|
+
line: 27,
|
|
70851
71134
|
column: 42
|
|
70852
71135
|
}
|
|
70853
71136
|
},
|
|
70854
71137
|
type: "binary-expr",
|
|
70855
71138
|
locations: [{
|
|
70856
71139
|
start: {
|
|
70857
|
-
line:
|
|
71140
|
+
line: 27,
|
|
70858
71141
|
column: 11
|
|
70859
71142
|
},
|
|
70860
71143
|
end: {
|
|
70861
|
-
line:
|
|
71144
|
+
line: 27,
|
|
70862
71145
|
column: 16
|
|
70863
71146
|
}
|
|
70864
71147
|
}, {
|
|
70865
71148
|
start: {
|
|
70866
|
-
line:
|
|
71149
|
+
line: 27,
|
|
70867
71150
|
column: 20
|
|
70868
71151
|
},
|
|
70869
71152
|
end: {
|
|
70870
|
-
line:
|
|
71153
|
+
line: 27,
|
|
70871
71154
|
column: 42
|
|
70872
71155
|
}
|
|
70873
71156
|
}],
|
|
70874
|
-
line:
|
|
71157
|
+
line: 27
|
|
70875
71158
|
},
|
|
70876
71159
|
"3": {
|
|
70877
71160
|
loc: {
|
|
70878
71161
|
start: {
|
|
70879
|
-
line:
|
|
71162
|
+
line: 30,
|
|
70880
71163
|
column: 2
|
|
70881
71164
|
},
|
|
70882
71165
|
end: {
|
|
70883
|
-
line:
|
|
71166
|
+
line: 32,
|
|
70884
71167
|
column: 3
|
|
70885
71168
|
}
|
|
70886
71169
|
},
|
|
70887
71170
|
type: "if",
|
|
70888
71171
|
locations: [{
|
|
70889
71172
|
start: {
|
|
70890
|
-
line:
|
|
71173
|
+
line: 30,
|
|
70891
71174
|
column: 2
|
|
70892
71175
|
},
|
|
70893
71176
|
end: {
|
|
70894
|
-
line:
|
|
71177
|
+
line: 32,
|
|
70895
71178
|
column: 3
|
|
70896
71179
|
}
|
|
70897
71180
|
}, {
|
|
@@ -70904,205 +71187,238 @@ function cov_29xlle89ll() {
|
|
|
70904
71187
|
column: undefined
|
|
70905
71188
|
}
|
|
70906
71189
|
}],
|
|
70907
|
-
line:
|
|
71190
|
+
line: 30
|
|
70908
71191
|
},
|
|
70909
71192
|
"4": {
|
|
70910
71193
|
loc: {
|
|
70911
71194
|
start: {
|
|
70912
|
-
line:
|
|
71195
|
+
line: 38,
|
|
70913
71196
|
column: 2
|
|
70914
71197
|
},
|
|
70915
71198
|
end: {
|
|
70916
|
-
line:
|
|
71199
|
+
line: 38,
|
|
70917
71200
|
column: 13
|
|
70918
71201
|
}
|
|
70919
71202
|
},
|
|
70920
71203
|
type: "default-arg",
|
|
70921
71204
|
locations: [{
|
|
70922
71205
|
start: {
|
|
70923
|
-
line:
|
|
71206
|
+
line: 38,
|
|
70924
71207
|
column: 11
|
|
70925
71208
|
},
|
|
70926
71209
|
end: {
|
|
70927
|
-
line:
|
|
71210
|
+
line: 38,
|
|
70928
71211
|
column: 13
|
|
70929
71212
|
}
|
|
70930
71213
|
}],
|
|
70931
|
-
line:
|
|
71214
|
+
line: 38
|
|
70932
71215
|
},
|
|
70933
71216
|
"5": {
|
|
70934
71217
|
loc: {
|
|
70935
71218
|
start: {
|
|
70936
|
-
line:
|
|
71219
|
+
line: 39,
|
|
70937
71220
|
column: 2
|
|
70938
71221
|
},
|
|
70939
71222
|
end: {
|
|
70940
|
-
line:
|
|
71223
|
+
line: 39,
|
|
70941
71224
|
column: 19
|
|
70942
71225
|
}
|
|
70943
71226
|
},
|
|
70944
71227
|
type: "default-arg",
|
|
70945
71228
|
locations: [{
|
|
70946
71229
|
start: {
|
|
70947
|
-
line:
|
|
71230
|
+
line: 39,
|
|
70948
71231
|
column: 17
|
|
70949
71232
|
},
|
|
70950
71233
|
end: {
|
|
70951
|
-
line:
|
|
71234
|
+
line: 39,
|
|
70952
71235
|
column: 19
|
|
70953
71236
|
}
|
|
70954
71237
|
}],
|
|
70955
|
-
line:
|
|
71238
|
+
line: 39
|
|
70956
71239
|
},
|
|
70957
71240
|
"6": {
|
|
70958
71241
|
loc: {
|
|
70959
71242
|
start: {
|
|
70960
|
-
line:
|
|
71243
|
+
line: 40,
|
|
70961
71244
|
column: 2
|
|
70962
71245
|
},
|
|
70963
71246
|
end: {
|
|
70964
|
-
line:
|
|
71247
|
+
line: 40,
|
|
70965
71248
|
column: 16
|
|
70966
71249
|
}
|
|
70967
71250
|
},
|
|
70968
71251
|
type: "default-arg",
|
|
70969
71252
|
locations: [{
|
|
70970
71253
|
start: {
|
|
70971
|
-
line:
|
|
71254
|
+
line: 40,
|
|
70972
71255
|
column: 14
|
|
70973
71256
|
},
|
|
70974
71257
|
end: {
|
|
70975
|
-
line:
|
|
71258
|
+
line: 40,
|
|
70976
71259
|
column: 16
|
|
70977
71260
|
}
|
|
70978
71261
|
}],
|
|
70979
|
-
line:
|
|
71262
|
+
line: 40
|
|
70980
71263
|
},
|
|
70981
71264
|
"7": {
|
|
70982
71265
|
loc: {
|
|
70983
71266
|
start: {
|
|
70984
|
-
line:
|
|
71267
|
+
line: 41,
|
|
70985
71268
|
column: 2
|
|
70986
71269
|
},
|
|
70987
71270
|
end: {
|
|
70988
|
-
line:
|
|
71271
|
+
line: 41,
|
|
70989
71272
|
column: 25
|
|
70990
71273
|
}
|
|
70991
71274
|
},
|
|
70992
71275
|
type: "default-arg",
|
|
70993
71276
|
locations: [{
|
|
70994
71277
|
start: {
|
|
70995
|
-
line:
|
|
71278
|
+
line: 41,
|
|
70996
71279
|
column: 23
|
|
70997
71280
|
},
|
|
70998
71281
|
end: {
|
|
70999
|
-
line:
|
|
71282
|
+
line: 41,
|
|
71000
71283
|
column: 25
|
|
71001
71284
|
}
|
|
71002
71285
|
}],
|
|
71003
|
-
line:
|
|
71286
|
+
line: 41
|
|
71004
71287
|
},
|
|
71005
71288
|
"8": {
|
|
71006
71289
|
loc: {
|
|
71007
71290
|
start: {
|
|
71008
|
-
line:
|
|
71291
|
+
line: 42,
|
|
71009
71292
|
column: 2
|
|
71010
71293
|
},
|
|
71011
71294
|
end: {
|
|
71012
|
-
line:
|
|
71295
|
+
line: 42,
|
|
71013
71296
|
column: 18
|
|
71014
71297
|
}
|
|
71015
71298
|
},
|
|
71016
71299
|
type: "default-arg",
|
|
71017
71300
|
locations: [{
|
|
71018
71301
|
start: {
|
|
71019
|
-
line:
|
|
71302
|
+
line: 42,
|
|
71020
71303
|
column: 16
|
|
71021
71304
|
},
|
|
71022
71305
|
end: {
|
|
71023
|
-
line:
|
|
71306
|
+
line: 42,
|
|
71024
71307
|
column: 18
|
|
71025
71308
|
}
|
|
71026
71309
|
}],
|
|
71027
|
-
line:
|
|
71310
|
+
line: 42
|
|
71028
71311
|
},
|
|
71029
71312
|
"9": {
|
|
71030
71313
|
loc: {
|
|
71031
71314
|
start: {
|
|
71032
|
-
line:
|
|
71315
|
+
line: 44,
|
|
71033
71316
|
column: 16
|
|
71034
71317
|
},
|
|
71035
71318
|
end: {
|
|
71036
|
-
line:
|
|
71319
|
+
line: 44,
|
|
71037
71320
|
column: 46
|
|
71038
71321
|
}
|
|
71039
71322
|
},
|
|
71040
71323
|
type: "default-arg",
|
|
71041
71324
|
locations: [{
|
|
71042
71325
|
start: {
|
|
71043
|
-
line:
|
|
71326
|
+
line: 44,
|
|
71044
71327
|
column: 29
|
|
71045
71328
|
},
|
|
71046
71329
|
end: {
|
|
71047
|
-
line:
|
|
71330
|
+
line: 44,
|
|
71048
71331
|
column: 46
|
|
71049
71332
|
}
|
|
71050
71333
|
}],
|
|
71051
|
-
line:
|
|
71334
|
+
line: 44
|
|
71052
71335
|
},
|
|
71053
71336
|
"10": {
|
|
71054
71337
|
loc: {
|
|
71055
71338
|
start: {
|
|
71056
|
-
line:
|
|
71339
|
+
line: 47,
|
|
71057
71340
|
column: 16
|
|
71058
71341
|
},
|
|
71059
71342
|
end: {
|
|
71060
|
-
line:
|
|
71343
|
+
line: 47,
|
|
71061
71344
|
column: 38
|
|
71062
71345
|
}
|
|
71063
71346
|
},
|
|
71064
71347
|
type: "binary-expr",
|
|
71065
71348
|
locations: [{
|
|
71066
71349
|
start: {
|
|
71067
|
-
line:
|
|
71350
|
+
line: 47,
|
|
71068
71351
|
column: 16
|
|
71069
71352
|
},
|
|
71070
71353
|
end: {
|
|
71071
|
-
line:
|
|
71354
|
+
line: 47,
|
|
71072
71355
|
column: 22
|
|
71073
71356
|
}
|
|
71074
71357
|
}, {
|
|
71075
71358
|
start: {
|
|
71076
|
-
line:
|
|
71359
|
+
line: 47,
|
|
71077
71360
|
column: 26
|
|
71078
71361
|
},
|
|
71079
71362
|
end: {
|
|
71080
|
-
line:
|
|
71363
|
+
line: 47,
|
|
71081
71364
|
column: 38
|
|
71082
71365
|
}
|
|
71083
71366
|
}],
|
|
71084
|
-
line:
|
|
71367
|
+
line: 47
|
|
71085
71368
|
},
|
|
71086
71369
|
"11": {
|
|
71087
71370
|
loc: {
|
|
71088
71371
|
start: {
|
|
71089
|
-
line:
|
|
71090
|
-
column:
|
|
71372
|
+
line: 54,
|
|
71373
|
+
column: 6
|
|
71091
71374
|
},
|
|
71092
71375
|
end: {
|
|
71093
|
-
line:
|
|
71094
|
-
column:
|
|
71376
|
+
line: 58,
|
|
71377
|
+
column: 7
|
|
71095
71378
|
}
|
|
71096
71379
|
},
|
|
71097
71380
|
type: "if",
|
|
71098
71381
|
locations: [{
|
|
71099
71382
|
start: {
|
|
71100
|
-
line:
|
|
71101
|
-
column:
|
|
71383
|
+
line: 54,
|
|
71384
|
+
column: 6
|
|
71102
71385
|
},
|
|
71103
71386
|
end: {
|
|
71104
|
-
line:
|
|
71105
|
-
column:
|
|
71387
|
+
line: 58,
|
|
71388
|
+
column: 7
|
|
71389
|
+
}
|
|
71390
|
+
}, {
|
|
71391
|
+
start: {
|
|
71392
|
+
line: 56,
|
|
71393
|
+
column: 13
|
|
71394
|
+
},
|
|
71395
|
+
end: {
|
|
71396
|
+
line: 58,
|
|
71397
|
+
column: 7
|
|
71398
|
+
}
|
|
71399
|
+
}],
|
|
71400
|
+
line: 54
|
|
71401
|
+
},
|
|
71402
|
+
"12": {
|
|
71403
|
+
loc: {
|
|
71404
|
+
start: {
|
|
71405
|
+
line: 56,
|
|
71406
|
+
column: 13
|
|
71407
|
+
},
|
|
71408
|
+
end: {
|
|
71409
|
+
line: 58,
|
|
71410
|
+
column: 7
|
|
71411
|
+
}
|
|
71412
|
+
},
|
|
71413
|
+
type: "if",
|
|
71414
|
+
locations: [{
|
|
71415
|
+
start: {
|
|
71416
|
+
line: 56,
|
|
71417
|
+
column: 13
|
|
71418
|
+
},
|
|
71419
|
+
end: {
|
|
71420
|
+
line: 58,
|
|
71421
|
+
column: 7
|
|
71106
71422
|
}
|
|
71107
71423
|
}, {
|
|
71108
71424
|
start: {
|
|
@@ -71114,37 +71430,37 @@ function cov_29xlle89ll() {
|
|
|
71114
71430
|
column: undefined
|
|
71115
71431
|
}
|
|
71116
71432
|
}],
|
|
71117
|
-
line:
|
|
71433
|
+
line: 56
|
|
71118
71434
|
},
|
|
71119
|
-
"
|
|
71435
|
+
"13": {
|
|
71120
71436
|
loc: {
|
|
71121
71437
|
start: {
|
|
71122
71438
|
line: 70,
|
|
71123
|
-
column:
|
|
71439
|
+
column: 2
|
|
71124
71440
|
},
|
|
71125
71441
|
end: {
|
|
71126
|
-
line:
|
|
71127
|
-
column:
|
|
71442
|
+
line: 76,
|
|
71443
|
+
column: 3
|
|
71128
71444
|
}
|
|
71129
71445
|
},
|
|
71130
|
-
type: "
|
|
71446
|
+
type: "if",
|
|
71131
71447
|
locations: [{
|
|
71132
71448
|
start: {
|
|
71133
|
-
line:
|
|
71134
|
-
column:
|
|
71449
|
+
line: 70,
|
|
71450
|
+
column: 2
|
|
71135
71451
|
},
|
|
71136
71452
|
end: {
|
|
71137
|
-
line:
|
|
71138
|
-
column:
|
|
71453
|
+
line: 76,
|
|
71454
|
+
column: 3
|
|
71139
71455
|
}
|
|
71140
71456
|
}, {
|
|
71141
71457
|
start: {
|
|
71142
|
-
line:
|
|
71143
|
-
column:
|
|
71458
|
+
line: undefined,
|
|
71459
|
+
column: undefined
|
|
71144
71460
|
},
|
|
71145
71461
|
end: {
|
|
71146
|
-
line:
|
|
71147
|
-
column:
|
|
71462
|
+
line: undefined,
|
|
71463
|
+
column: undefined
|
|
71148
71464
|
}
|
|
71149
71465
|
}],
|
|
71150
71466
|
line: 70
|
|
@@ -71167,13 +71483,20 @@ function cov_29xlle89ll() {
|
|
|
71167
71483
|
"13": 0,
|
|
71168
71484
|
"14": 0,
|
|
71169
71485
|
"15": 0,
|
|
71170
|
-
"16": 0
|
|
71486
|
+
"16": 0,
|
|
71487
|
+
"17": 0,
|
|
71488
|
+
"18": 0,
|
|
71489
|
+
"19": 0,
|
|
71490
|
+
"20": 0,
|
|
71491
|
+
"21": 0,
|
|
71492
|
+
"22": 0
|
|
71171
71493
|
},
|
|
71172
71494
|
f: {
|
|
71173
71495
|
"0": 0,
|
|
71174
71496
|
"1": 0,
|
|
71175
71497
|
"2": 0,
|
|
71176
|
-
"3": 0
|
|
71498
|
+
"3": 0,
|
|
71499
|
+
"4": 0
|
|
71177
71500
|
},
|
|
71178
71501
|
b: {
|
|
71179
71502
|
"0": [0, 0],
|
|
@@ -71188,10 +71511,11 @@ function cov_29xlle89ll() {
|
|
|
71188
71511
|
"9": [0],
|
|
71189
71512
|
"10": [0, 0],
|
|
71190
71513
|
"11": [0, 0],
|
|
71191
|
-
"12": [0, 0]
|
|
71514
|
+
"12": [0, 0],
|
|
71515
|
+
"13": [0, 0]
|
|
71192
71516
|
},
|
|
71193
71517
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
71194
|
-
hash: "
|
|
71518
|
+
hash: "c62c7cdd0a05bcdbc09bb134860adb35bde42935"
|
|
71195
71519
|
};
|
|
71196
71520
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
71197
71521
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -71273,24 +71597,63 @@ var Submission = function Submission(_ref3) {
|
|
|
71273
71597
|
var _ref5 = (cov_29xlle89ll().s[12]++, submission),
|
|
71274
71598
|
responses = _ref5.responses;
|
|
71275
71599
|
cov_29xlle89ll().s[13]++;
|
|
71600
|
+
var renderSubmittedValue = function renderSubmittedValue(kind, value) {
|
|
71601
|
+
cov_29xlle89ll().f[3]++;
|
|
71602
|
+
{
|
|
71603
|
+
cov_29xlle89ll().s[14]++;
|
|
71604
|
+
if (kind === QUESTION_KIND.RICH_TEXT.value) {
|
|
71605
|
+
cov_29xlle89ll().b[11][0]++;
|
|
71606
|
+
cov_29xlle89ll().s[15]++;
|
|
71607
|
+
return /*#__PURE__*/React__default.createElement(EditorContent, {
|
|
71608
|
+
content: getValue({
|
|
71609
|
+
value: value,
|
|
71610
|
+
kind: kind
|
|
71611
|
+
})
|
|
71612
|
+
});
|
|
71613
|
+
} else {
|
|
71614
|
+
cov_29xlle89ll().b[11][1]++;
|
|
71615
|
+
cov_29xlle89ll().s[16]++;
|
|
71616
|
+
if (kind === QUESTION_KIND.PHONE.value) {
|
|
71617
|
+
cov_29xlle89ll().b[12][0]++;
|
|
71618
|
+
cov_29xlle89ll().s[17]++;
|
|
71619
|
+
return /*#__PURE__*/React__default.createElement(PhoneNumber$1, {
|
|
71620
|
+
showEmoji: true,
|
|
71621
|
+
value: value
|
|
71622
|
+
});
|
|
71623
|
+
} else {
|
|
71624
|
+
cov_29xlle89ll().b[12][1]++;
|
|
71625
|
+
}
|
|
71626
|
+
}
|
|
71627
|
+
cov_29xlle89ll().s[18]++;
|
|
71628
|
+
return /*#__PURE__*/React__default.createElement(Typography, _extends$9({
|
|
71629
|
+
weight: "semibold"
|
|
71630
|
+
}, answerProps), /*#__PURE__*/React__default.createElement(_default, {
|
|
71631
|
+
componentDecorator: linkifyDecorator
|
|
71632
|
+
}, getValue({
|
|
71633
|
+
value: value,
|
|
71634
|
+
kind: kind
|
|
71635
|
+
})));
|
|
71636
|
+
}
|
|
71637
|
+
};
|
|
71638
|
+
cov_29xlle89ll().s[19]++;
|
|
71276
71639
|
if (isLoading) {
|
|
71277
|
-
cov_29xlle89ll().b[
|
|
71278
|
-
cov_29xlle89ll().s[
|
|
71640
|
+
cov_29xlle89ll().b[13][0]++;
|
|
71641
|
+
cov_29xlle89ll().s[20]++;
|
|
71279
71642
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
71280
71643
|
className: "flex h-full w-full items-center justify-center"
|
|
71281
71644
|
}, /*#__PURE__*/React__default.createElement(PageLoader, null));
|
|
71282
71645
|
} else {
|
|
71283
|
-
cov_29xlle89ll().b[
|
|
71646
|
+
cov_29xlle89ll().b[13][1]++;
|
|
71284
71647
|
}
|
|
71285
|
-
cov_29xlle89ll().s[
|
|
71648
|
+
cov_29xlle89ll().s[21]++;
|
|
71286
71649
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
71287
71650
|
className: classnames("mx-auto flex h-full w-full flex-col items-start", _defineProperty$a({}, className, className))
|
|
71288
71651
|
}, responses.map(function (_ref6) {
|
|
71289
71652
|
var kind = _ref6.kind,
|
|
71290
71653
|
label = _ref6.label,
|
|
71291
71654
|
value = _ref6.value;
|
|
71292
|
-
cov_29xlle89ll().f[
|
|
71293
|
-
cov_29xlle89ll().s[
|
|
71655
|
+
cov_29xlle89ll().f[4]++;
|
|
71656
|
+
cov_29xlle89ll().s[22]++;
|
|
71294
71657
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
71295
71658
|
className: "mb-4",
|
|
71296
71659
|
key: label
|
|
@@ -71300,19 +71663,7 @@ var Submission = function Submission(_ref3) {
|
|
|
71300
71663
|
}, questionLabelProps), getLabel({
|
|
71301
71664
|
label: label,
|
|
71302
71665
|
kind: kind
|
|
71303
|
-
})), kind
|
|
71304
|
-
content: getValue({
|
|
71305
|
-
value: value,
|
|
71306
|
-
kind: kind
|
|
71307
|
-
})
|
|
71308
|
-
})) : (cov_29xlle89ll().b[12][1]++, /*#__PURE__*/React__default.createElement(Typography, _extends$9({
|
|
71309
|
-
weight: "semibold"
|
|
71310
|
-
}, answerProps), /*#__PURE__*/React__default.createElement(_default, {
|
|
71311
|
-
componentDecorator: linkifyDecorator
|
|
71312
|
-
}, getValue({
|
|
71313
|
-
value: value,
|
|
71314
|
-
kind: kind
|
|
71315
|
-
})))));
|
|
71666
|
+
})), renderSubmittedValue(kind, value));
|
|
71316
71667
|
}));
|
|
71317
71668
|
};
|
|
71318
71669
|
|