@bigbinary/neeto-filters-frontend 2.10.1 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/index.cjs.js +728 -431
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +728 -431
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/dist/index.cjs.js
CHANGED
|
@@ -26060,7 +26060,7 @@ dayjs__default["default"].Ls.en.weekStart = 1;
|
|
|
26060
26060
|
|
|
26061
26061
|
function cov_b6e5j7uqg() {
|
|
26062
26062
|
var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/utils.js";
|
|
26063
|
-
var hash = "
|
|
26063
|
+
var hash = "4c013950e8432b05d835117a95d7fa294af9eaca";
|
|
26064
26064
|
var global = new Function("return this")();
|
|
26065
26065
|
var gcv = "__coverage__";
|
|
26066
26066
|
var coverageData = {
|
|
@@ -27972,107 +27972,127 @@ function cov_b6e5j7uqg() {
|
|
|
27972
27972
|
column: 35
|
|
27973
27973
|
},
|
|
27974
27974
|
end: {
|
|
27975
|
-
line:
|
|
27975
|
+
line: 443,
|
|
27976
27976
|
column: 1
|
|
27977
27977
|
}
|
|
27978
27978
|
},
|
|
27979
27979
|
"191": {
|
|
27980
27980
|
start: {
|
|
27981
|
-
line:
|
|
27981
|
+
line: 429,
|
|
27982
27982
|
column: 23
|
|
27983
27983
|
},
|
|
27984
27984
|
end: {
|
|
27985
|
-
line:
|
|
27985
|
+
line: 429,
|
|
27986
27986
|
column: 39
|
|
27987
27987
|
}
|
|
27988
27988
|
},
|
|
27989
27989
|
"192": {
|
|
27990
27990
|
start: {
|
|
27991
|
-
line:
|
|
27991
|
+
line: 430,
|
|
27992
27992
|
column: 2
|
|
27993
27993
|
},
|
|
27994
27994
|
end: {
|
|
27995
|
-
line:
|
|
27995
|
+
line: 432,
|
|
27996
27996
|
column: 4
|
|
27997
27997
|
}
|
|
27998
27998
|
},
|
|
27999
27999
|
"193": {
|
|
28000
28000
|
start: {
|
|
28001
|
-
line:
|
|
28001
|
+
line: 431,
|
|
28002
28002
|
column: 31
|
|
28003
28003
|
},
|
|
28004
28004
|
end: {
|
|
28005
|
-
line:
|
|
28005
|
+
line: 431,
|
|
28006
28006
|
column: 72
|
|
28007
28007
|
}
|
|
28008
28008
|
},
|
|
28009
28009
|
"194": {
|
|
28010
28010
|
start: {
|
|
28011
|
-
line:
|
|
28011
|
+
line: 434,
|
|
28012
|
+
column: 2
|
|
28013
|
+
},
|
|
28014
|
+
end: {
|
|
28015
|
+
line: 434,
|
|
28016
|
+
column: 70
|
|
28017
|
+
}
|
|
28018
|
+
},
|
|
28019
|
+
"195": {
|
|
28020
|
+
start: {
|
|
28021
|
+
line: 434,
|
|
28022
|
+
column: 44
|
|
28023
|
+
},
|
|
28024
|
+
end: {
|
|
28025
|
+
line: 434,
|
|
28026
|
+
column: 68
|
|
28027
|
+
}
|
|
28028
|
+
},
|
|
28029
|
+
"196": {
|
|
28030
|
+
start: {
|
|
28031
|
+
line: 436,
|
|
28012
28032
|
column: 25
|
|
28013
28033
|
},
|
|
28014
28034
|
end: {
|
|
28015
|
-
line:
|
|
28035
|
+
line: 436,
|
|
28016
28036
|
column: 62
|
|
28017
28037
|
}
|
|
28018
28038
|
},
|
|
28019
|
-
"
|
|
28039
|
+
"197": {
|
|
28020
28040
|
start: {
|
|
28021
|
-
line:
|
|
28041
|
+
line: 437,
|
|
28022
28042
|
column: 2
|
|
28023
28043
|
},
|
|
28024
28044
|
end: {
|
|
28025
|
-
line:
|
|
28045
|
+
line: 437,
|
|
28026
28046
|
column: 33
|
|
28027
28047
|
}
|
|
28028
28048
|
},
|
|
28029
|
-
"
|
|
28049
|
+
"198": {
|
|
28030
28050
|
start: {
|
|
28031
|
-
line:
|
|
28051
|
+
line: 438,
|
|
28032
28052
|
column: 2
|
|
28033
28053
|
},
|
|
28034
28054
|
end: {
|
|
28035
|
-
line:
|
|
28055
|
+
line: 440,
|
|
28036
28056
|
column: 5
|
|
28037
28057
|
}
|
|
28038
28058
|
},
|
|
28039
|
-
"
|
|
28059
|
+
"199": {
|
|
28040
28060
|
start: {
|
|
28041
|
-
line:
|
|
28061
|
+
line: 439,
|
|
28042
28062
|
column: 4
|
|
28043
28063
|
},
|
|
28044
28064
|
end: {
|
|
28045
|
-
line:
|
|
28065
|
+
line: 439,
|
|
28046
28066
|
column: 73
|
|
28047
28067
|
}
|
|
28048
28068
|
},
|
|
28049
|
-
"
|
|
28069
|
+
"200": {
|
|
28050
28070
|
start: {
|
|
28051
|
-
line:
|
|
28071
|
+
line: 442,
|
|
28052
28072
|
column: 2
|
|
28053
28073
|
},
|
|
28054
28074
|
end: {
|
|
28055
|
-
line:
|
|
28075
|
+
line: 442,
|
|
28056
28076
|
column: 54
|
|
28057
28077
|
}
|
|
28058
28078
|
},
|
|
28059
|
-
"
|
|
28079
|
+
"201": {
|
|
28060
28080
|
start: {
|
|
28061
|
-
line:
|
|
28081
|
+
line: 445,
|
|
28062
28082
|
column: 38
|
|
28063
28083
|
},
|
|
28064
28084
|
end: {
|
|
28065
|
-
line:
|
|
28085
|
+
line: 445,
|
|
28066
28086
|
column: 77
|
|
28067
28087
|
}
|
|
28068
28088
|
},
|
|
28069
|
-
"
|
|
28089
|
+
"202": {
|
|
28070
28090
|
start: {
|
|
28071
|
-
line:
|
|
28091
|
+
line: 445,
|
|
28072
28092
|
column: 44
|
|
28073
28093
|
},
|
|
28074
28094
|
end: {
|
|
28075
|
-
line:
|
|
28095
|
+
line: 445,
|
|
28076
28096
|
column: 77
|
|
28077
28097
|
}
|
|
28078
28098
|
}
|
|
@@ -29316,87 +29336,111 @@ function cov_b6e5j7uqg() {
|
|
|
29316
29336
|
},
|
|
29317
29337
|
loc: {
|
|
29318
29338
|
start: {
|
|
29319
|
-
line:
|
|
29320
|
-
column:
|
|
29339
|
+
line: 428,
|
|
29340
|
+
column: 6
|
|
29321
29341
|
},
|
|
29322
29342
|
end: {
|
|
29323
|
-
line:
|
|
29343
|
+
line: 443,
|
|
29324
29344
|
column: 1
|
|
29325
29345
|
}
|
|
29326
29346
|
},
|
|
29327
|
-
line:
|
|
29347
|
+
line: 428
|
|
29328
29348
|
},
|
|
29329
29349
|
"52": {
|
|
29330
29350
|
name: "(anonymous_52)",
|
|
29331
29351
|
decl: {
|
|
29332
29352
|
start: {
|
|
29333
|
-
line:
|
|
29353
|
+
line: 431,
|
|
29334
29354
|
column: 4
|
|
29335
29355
|
},
|
|
29336
29356
|
end: {
|
|
29337
|
-
line:
|
|
29357
|
+
line: 431,
|
|
29338
29358
|
column: 5
|
|
29339
29359
|
}
|
|
29340
29360
|
},
|
|
29341
29361
|
loc: {
|
|
29342
29362
|
start: {
|
|
29343
|
-
line:
|
|
29363
|
+
line: 431,
|
|
29344
29364
|
column: 31
|
|
29345
29365
|
},
|
|
29346
29366
|
end: {
|
|
29347
|
-
line:
|
|
29367
|
+
line: 431,
|
|
29348
29368
|
column: 72
|
|
29349
29369
|
}
|
|
29350
29370
|
},
|
|
29351
|
-
line:
|
|
29371
|
+
line: 431
|
|
29352
29372
|
},
|
|
29353
29373
|
"53": {
|
|
29354
29374
|
name: "(anonymous_53)",
|
|
29355
29375
|
decl: {
|
|
29356
29376
|
start: {
|
|
29357
|
-
line:
|
|
29377
|
+
line: 434,
|
|
29378
|
+
column: 37
|
|
29379
|
+
},
|
|
29380
|
+
end: {
|
|
29381
|
+
line: 434,
|
|
29382
|
+
column: 38
|
|
29383
|
+
}
|
|
29384
|
+
},
|
|
29385
|
+
loc: {
|
|
29386
|
+
start: {
|
|
29387
|
+
line: 434,
|
|
29388
|
+
column: 44
|
|
29389
|
+
},
|
|
29390
|
+
end: {
|
|
29391
|
+
line: 434,
|
|
29392
|
+
column: 68
|
|
29393
|
+
}
|
|
29394
|
+
},
|
|
29395
|
+
line: 434
|
|
29396
|
+
},
|
|
29397
|
+
"54": {
|
|
29398
|
+
name: "(anonymous_54)",
|
|
29399
|
+
decl: {
|
|
29400
|
+
start: {
|
|
29401
|
+
line: 438,
|
|
29358
29402
|
column: 42
|
|
29359
29403
|
},
|
|
29360
29404
|
end: {
|
|
29361
|
-
line:
|
|
29405
|
+
line: 438,
|
|
29362
29406
|
column: 43
|
|
29363
29407
|
}
|
|
29364
29408
|
},
|
|
29365
29409
|
loc: {
|
|
29366
29410
|
start: {
|
|
29367
|
-
line:
|
|
29411
|
+
line: 438,
|
|
29368
29412
|
column: 52
|
|
29369
29413
|
},
|
|
29370
29414
|
end: {
|
|
29371
|
-
line:
|
|
29415
|
+
line: 440,
|
|
29372
29416
|
column: 3
|
|
29373
29417
|
}
|
|
29374
29418
|
},
|
|
29375
|
-
line:
|
|
29419
|
+
line: 438
|
|
29376
29420
|
},
|
|
29377
|
-
"
|
|
29378
|
-
name: "(
|
|
29421
|
+
"55": {
|
|
29422
|
+
name: "(anonymous_55)",
|
|
29379
29423
|
decl: {
|
|
29380
29424
|
start: {
|
|
29381
|
-
line:
|
|
29425
|
+
line: 445,
|
|
29382
29426
|
column: 38
|
|
29383
29427
|
},
|
|
29384
29428
|
end: {
|
|
29385
|
-
line:
|
|
29429
|
+
line: 445,
|
|
29386
29430
|
column: 39
|
|
29387
29431
|
}
|
|
29388
29432
|
},
|
|
29389
29433
|
loc: {
|
|
29390
29434
|
start: {
|
|
29391
|
-
line:
|
|
29435
|
+
line: 445,
|
|
29392
29436
|
column: 44
|
|
29393
29437
|
},
|
|
29394
29438
|
end: {
|
|
29395
|
-
line:
|
|
29439
|
+
line: 445,
|
|
29396
29440
|
column: 77
|
|
29397
29441
|
}
|
|
29398
29442
|
},
|
|
29399
|
-
line:
|
|
29443
|
+
line: 445
|
|
29400
29444
|
}
|
|
29401
29445
|
},
|
|
29402
29446
|
branchMap: {
|
|
@@ -31858,67 +31902,148 @@ function cov_b6e5j7uqg() {
|
|
|
31858
31902
|
loc: {
|
|
31859
31903
|
start: {
|
|
31860
31904
|
line: 426,
|
|
31861
|
-
column:
|
|
31905
|
+
column: 2
|
|
31906
|
+
},
|
|
31907
|
+
end: {
|
|
31908
|
+
line: 426,
|
|
31909
|
+
column: 20
|
|
31910
|
+
}
|
|
31911
|
+
},
|
|
31912
|
+
type: "default-arg",
|
|
31913
|
+
locations: [{
|
|
31914
|
+
start: {
|
|
31915
|
+
line: 426,
|
|
31916
|
+
column: 15
|
|
31862
31917
|
},
|
|
31863
31918
|
end: {
|
|
31864
31919
|
line: 426,
|
|
31920
|
+
column: 20
|
|
31921
|
+
}
|
|
31922
|
+
}],
|
|
31923
|
+
line: 426
|
|
31924
|
+
},
|
|
31925
|
+
"77": {
|
|
31926
|
+
loc: {
|
|
31927
|
+
start: {
|
|
31928
|
+
line: 427,
|
|
31929
|
+
column: 2
|
|
31930
|
+
},
|
|
31931
|
+
end: {
|
|
31932
|
+
line: 427,
|
|
31933
|
+
column: 19
|
|
31934
|
+
}
|
|
31935
|
+
},
|
|
31936
|
+
type: "default-arg",
|
|
31937
|
+
locations: [{
|
|
31938
|
+
start: {
|
|
31939
|
+
line: 427,
|
|
31940
|
+
column: 17
|
|
31941
|
+
},
|
|
31942
|
+
end: {
|
|
31943
|
+
line: 427,
|
|
31944
|
+
column: 19
|
|
31945
|
+
}
|
|
31946
|
+
}],
|
|
31947
|
+
line: 427
|
|
31948
|
+
},
|
|
31949
|
+
"78": {
|
|
31950
|
+
loc: {
|
|
31951
|
+
start: {
|
|
31952
|
+
line: 431,
|
|
31953
|
+
column: 31
|
|
31954
|
+
},
|
|
31955
|
+
end: {
|
|
31956
|
+
line: 431,
|
|
31865
31957
|
column: 72
|
|
31866
31958
|
}
|
|
31867
31959
|
},
|
|
31868
31960
|
type: "binary-expr",
|
|
31869
31961
|
locations: [{
|
|
31870
31962
|
start: {
|
|
31871
|
-
line:
|
|
31963
|
+
line: 431,
|
|
31872
31964
|
column: 31
|
|
31873
31965
|
},
|
|
31874
31966
|
end: {
|
|
31875
|
-
line:
|
|
31967
|
+
line: 431,
|
|
31876
31968
|
column: 44
|
|
31877
31969
|
}
|
|
31878
31970
|
}, {
|
|
31879
31971
|
start: {
|
|
31880
|
-
line:
|
|
31972
|
+
line: 431,
|
|
31881
31973
|
column: 48
|
|
31882
31974
|
},
|
|
31883
31975
|
end: {
|
|
31884
|
-
line:
|
|
31976
|
+
line: 431,
|
|
31885
31977
|
column: 72
|
|
31886
31978
|
}
|
|
31887
31979
|
}],
|
|
31888
|
-
line:
|
|
31980
|
+
line: 431
|
|
31889
31981
|
},
|
|
31890
|
-
"
|
|
31982
|
+
"79": {
|
|
31983
|
+
loc: {
|
|
31984
|
+
start: {
|
|
31985
|
+
line: 434,
|
|
31986
|
+
column: 2
|
|
31987
|
+
},
|
|
31988
|
+
end: {
|
|
31989
|
+
line: 434,
|
|
31990
|
+
column: 69
|
|
31991
|
+
}
|
|
31992
|
+
},
|
|
31993
|
+
type: "binary-expr",
|
|
31994
|
+
locations: [{
|
|
31995
|
+
start: {
|
|
31996
|
+
line: 434,
|
|
31997
|
+
column: 2
|
|
31998
|
+
},
|
|
31999
|
+
end: {
|
|
32000
|
+
line: 434,
|
|
32001
|
+
column: 12
|
|
32002
|
+
}
|
|
32003
|
+
}, {
|
|
32004
|
+
start: {
|
|
32005
|
+
line: 434,
|
|
32006
|
+
column: 16
|
|
32007
|
+
},
|
|
32008
|
+
end: {
|
|
32009
|
+
line: 434,
|
|
32010
|
+
column: 69
|
|
32011
|
+
}
|
|
32012
|
+
}],
|
|
32013
|
+
line: 434
|
|
32014
|
+
},
|
|
32015
|
+
"80": {
|
|
31891
32016
|
loc: {
|
|
31892
32017
|
start: {
|
|
31893
|
-
line:
|
|
32018
|
+
line: 445,
|
|
31894
32019
|
column: 44
|
|
31895
32020
|
},
|
|
31896
32021
|
end: {
|
|
31897
|
-
line:
|
|
32022
|
+
line: 445,
|
|
31898
32023
|
column: 77
|
|
31899
32024
|
}
|
|
31900
32025
|
},
|
|
31901
32026
|
type: "binary-expr",
|
|
31902
32027
|
locations: [{
|
|
31903
32028
|
start: {
|
|
31904
|
-
line:
|
|
32029
|
+
line: 445,
|
|
31905
32030
|
column: 44
|
|
31906
32031
|
},
|
|
31907
32032
|
end: {
|
|
31908
|
-
line:
|
|
32033
|
+
line: 445,
|
|
31909
32034
|
column: 71
|
|
31910
32035
|
}
|
|
31911
32036
|
}, {
|
|
31912
32037
|
start: {
|
|
31913
|
-
line:
|
|
32038
|
+
line: 445,
|
|
31914
32039
|
column: 75
|
|
31915
32040
|
},
|
|
31916
32041
|
end: {
|
|
31917
|
-
line:
|
|
32042
|
+
line: 445,
|
|
31918
32043
|
column: 77
|
|
31919
32044
|
}
|
|
31920
32045
|
}],
|
|
31921
|
-
line:
|
|
32046
|
+
line: 445
|
|
31922
32047
|
}
|
|
31923
32048
|
},
|
|
31924
32049
|
s: {
|
|
@@ -32122,7 +32247,9 @@ function cov_b6e5j7uqg() {
|
|
|
32122
32247
|
"197": 0,
|
|
32123
32248
|
"198": 0,
|
|
32124
32249
|
"199": 0,
|
|
32125
|
-
"200": 0
|
|
32250
|
+
"200": 0,
|
|
32251
|
+
"201": 0,
|
|
32252
|
+
"202": 0
|
|
32126
32253
|
},
|
|
32127
32254
|
f: {
|
|
32128
32255
|
"0": 0,
|
|
@@ -32179,7 +32306,8 @@ function cov_b6e5j7uqg() {
|
|
|
32179
32306
|
"51": 0,
|
|
32180
32307
|
"52": 0,
|
|
32181
32308
|
"53": 0,
|
|
32182
|
-
"54": 0
|
|
32309
|
+
"54": 0,
|
|
32310
|
+
"55": 0
|
|
32183
32311
|
},
|
|
32184
32312
|
b: {
|
|
32185
32313
|
"0": [0, 0],
|
|
@@ -32258,11 +32386,14 @@ function cov_b6e5j7uqg() {
|
|
|
32258
32386
|
"73": [0, 0, 0],
|
|
32259
32387
|
"74": [0, 0],
|
|
32260
32388
|
"75": [0, 0],
|
|
32261
|
-
"76": [0
|
|
32262
|
-
"77": [0,
|
|
32389
|
+
"76": [0],
|
|
32390
|
+
"77": [0],
|
|
32391
|
+
"78": [0, 0],
|
|
32392
|
+
"79": [0, 0],
|
|
32393
|
+
"80": [0, 0]
|
|
32263
32394
|
},
|
|
32264
32395
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
32265
|
-
hash: "
|
|
32396
|
+
hash: "4c013950e8432b05d835117a95d7fa294af9eaca"
|
|
32266
32397
|
};
|
|
32267
32398
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
32268
32399
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -33069,7 +33200,11 @@ var createUrlParamString = function createUrlParamString(_ref24) {
|
|
|
33069
33200
|
cov_b6e5j7uqg().s[190]++;
|
|
33070
33201
|
var buildUrlFromFilters = function buildUrlFromFilters(_ref26) {
|
|
33071
33202
|
var columns = _ref26.columns,
|
|
33072
|
-
filters = _ref26.filters
|
|
33203
|
+
filters = _ref26.filters,
|
|
33204
|
+
_ref26$isClearAll = _ref26.isClearAll,
|
|
33205
|
+
isClearAll = _ref26$isClearAll === void 0 ? (cov_b6e5j7uqg().b[76][0]++, false) : _ref26$isClearAll,
|
|
33206
|
+
_ref26$childrenKeys = _ref26.childrenKeys,
|
|
33207
|
+
childrenKeys = _ref26$childrenKeys === void 0 ? (cov_b6e5j7uqg().b[77][0]++, []) : _ref26$childrenKeys;
|
|
33073
33208
|
cov_b6e5j7uqg().f[51]++;
|
|
33074
33209
|
var searchParams = (cov_b6e5j7uqg().s[191]++, getQueryParams());
|
|
33075
33210
|
cov_b6e5j7uqg().s[192]++;
|
|
@@ -33078,28 +33213,34 @@ var buildUrlFromFilters = function buildUrlFromFilters(_ref26) {
|
|
|
33078
33213
|
defaultValue = _ref27.defaultValue;
|
|
33079
33214
|
cov_b6e5j7uqg().f[52]++;
|
|
33080
33215
|
cov_b6e5j7uqg().s[193]++;
|
|
33081
|
-
return (cov_b6e5j7uqg().b[
|
|
33216
|
+
return (cov_b6e5j7uqg().b[78][0]++, !defaultValue) && (cov_b6e5j7uqg().b[78][1]++, delete searchParams[key]);
|
|
33082
33217
|
});
|
|
33083
|
-
|
|
33084
|
-
cov_b6e5j7uqg().
|
|
33218
|
+
cov_b6e5j7uqg().s[194]++;
|
|
33219
|
+
(cov_b6e5j7uqg().b[79][0]++, isClearAll) && (cov_b6e5j7uqg().b[79][1]++, childrenKeys.forEach(function (key) {
|
|
33220
|
+
cov_b6e5j7uqg().f[53]++;
|
|
33221
|
+
cov_b6e5j7uqg().s[195]++;
|
|
33222
|
+
return delete searchParams[key];
|
|
33223
|
+
}));
|
|
33224
|
+
var defaultFilters = (cov_b6e5j7uqg().s[196]++, buildDefaultFilters(columns, filters));
|
|
33225
|
+
cov_b6e5j7uqg().s[197]++;
|
|
33085
33226
|
delete searchParams["keyword"];
|
|
33086
|
-
cov_b6e5j7uqg().s[
|
|
33227
|
+
cov_b6e5j7uqg().s[198]++;
|
|
33087
33228
|
ramda.concat(filters, defaultFilters).forEach(function (filter) {
|
|
33088
|
-
cov_b6e5j7uqg().f[
|
|
33089
|
-
cov_b6e5j7uqg().s[
|
|
33229
|
+
cov_b6e5j7uqg().f[54]++;
|
|
33230
|
+
cov_b6e5j7uqg().s[199]++;
|
|
33090
33231
|
searchParams[filter.key] = createUrlParamString({
|
|
33091
33232
|
filter: filter,
|
|
33092
33233
|
columns: columns
|
|
33093
33234
|
});
|
|
33094
33235
|
});
|
|
33095
|
-
cov_b6e5j7uqg().s[
|
|
33236
|
+
cov_b6e5j7uqg().s[200]++;
|
|
33096
33237
|
return new URLSearchParams(searchParams).toString();
|
|
33097
33238
|
};
|
|
33098
|
-
cov_b6e5j7uqg().s[
|
|
33239
|
+
cov_b6e5j7uqg().s[201]++;
|
|
33099
33240
|
var getKeywordValueFromUrl = function getKeywordValueFromUrl() {
|
|
33100
|
-
cov_b6e5j7uqg().f[
|
|
33101
|
-
cov_b6e5j7uqg().s[
|
|
33102
|
-
return (cov_b6e5j7uqg().b[
|
|
33241
|
+
cov_b6e5j7uqg().f[55]++;
|
|
33242
|
+
cov_b6e5j7uqg().s[202]++;
|
|
33243
|
+
return (cov_b6e5j7uqg().b[80][0]++, getQueryParams()["keyword"]) || (cov_b6e5j7uqg().b[80][1]++, "");
|
|
33103
33244
|
};
|
|
33104
33245
|
|
|
33105
33246
|
function cov_zknka7h78() {
|
|
@@ -34914,7 +35055,7 @@ var Block = function Block(_ref) {
|
|
|
34914
35055
|
|
|
34915
35056
|
function cov_1jyxy15ds3() {
|
|
34916
35057
|
var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/index.jsx";
|
|
34917
|
-
var hash = "
|
|
35058
|
+
var hash = "d175e44726c46dcd986333914827476f826099a3";
|
|
34918
35059
|
var global = new Function("return this")();
|
|
34919
35060
|
var gcv = "__coverage__";
|
|
34920
35061
|
var coverageData = {
|
|
@@ -34926,297 +35067,297 @@ function cov_1jyxy15ds3() {
|
|
|
34926
35067
|
column: 12
|
|
34927
35068
|
},
|
|
34928
35069
|
end: {
|
|
34929
|
-
line:
|
|
35070
|
+
line: 104,
|
|
34930
35071
|
column: 1
|
|
34931
35072
|
}
|
|
34932
35073
|
},
|
|
34933
35074
|
"1": {
|
|
34934
35075
|
start: {
|
|
34935
|
-
line:
|
|
35076
|
+
line: 22,
|
|
34936
35077
|
column: 24
|
|
34937
35078
|
},
|
|
34938
35079
|
end: {
|
|
34939
|
-
line:
|
|
35080
|
+
line: 28,
|
|
34940
35081
|
column: 3
|
|
34941
35082
|
}
|
|
34942
35083
|
},
|
|
34943
35084
|
"2": {
|
|
34944
35085
|
start: {
|
|
34945
|
-
line:
|
|
35086
|
+
line: 30,
|
|
34946
35087
|
column: 18
|
|
34947
35088
|
},
|
|
34948
35089
|
end: {
|
|
34949
|
-
line:
|
|
35090
|
+
line: 32,
|
|
34950
35091
|
column: 3
|
|
34951
35092
|
}
|
|
34952
35093
|
},
|
|
34953
35094
|
"3": {
|
|
34954
35095
|
start: {
|
|
34955
|
-
line:
|
|
35096
|
+
line: 33,
|
|
34956
35097
|
column: 27
|
|
34957
35098
|
},
|
|
34958
35099
|
end: {
|
|
34959
|
-
line:
|
|
35100
|
+
line: 33,
|
|
34960
35101
|
column: 62
|
|
34961
35102
|
}
|
|
34962
35103
|
},
|
|
34963
35104
|
"4": {
|
|
34964
35105
|
start: {
|
|
34965
|
-
line:
|
|
35106
|
+
line: 34,
|
|
34966
35107
|
column: 18
|
|
34967
35108
|
},
|
|
34968
35109
|
end: {
|
|
34969
|
-
line:
|
|
35110
|
+
line: 34,
|
|
34970
35111
|
column: 30
|
|
34971
35112
|
}
|
|
34972
35113
|
},
|
|
34973
35114
|
"5": {
|
|
34974
35115
|
start: {
|
|
34975
|
-
line:
|
|
35116
|
+
line: 35,
|
|
34976
35117
|
column: 16
|
|
34977
35118
|
},
|
|
34978
35119
|
end: {
|
|
34979
|
-
line:
|
|
35120
|
+
line: 35,
|
|
34980
35121
|
column: 32
|
|
34981
35122
|
}
|
|
34982
35123
|
},
|
|
34983
35124
|
"6": {
|
|
34984
35125
|
start: {
|
|
34985
|
-
line:
|
|
35126
|
+
line: 37,
|
|
34986
35127
|
column: 2
|
|
34987
35128
|
},
|
|
34988
35129
|
end: {
|
|
34989
|
-
line:
|
|
35130
|
+
line: 43,
|
|
34990
35131
|
column: 22
|
|
34991
35132
|
}
|
|
34992
35133
|
},
|
|
34993
35134
|
"7": {
|
|
34994
35135
|
start: {
|
|
34995
|
-
line:
|
|
35136
|
+
line: 38,
|
|
34996
35137
|
column: 20
|
|
34997
35138
|
},
|
|
34998
35139
|
end: {
|
|
34999
|
-
line:
|
|
35140
|
+
line: 40,
|
|
35000
35141
|
column: 11
|
|
35001
35142
|
}
|
|
35002
35143
|
},
|
|
35003
35144
|
"8": {
|
|
35004
35145
|
start: {
|
|
35005
|
-
line:
|
|
35146
|
+
line: 39,
|
|
35006
35147
|
column: 6
|
|
35007
35148
|
},
|
|
35008
35149
|
end: {
|
|
35009
|
-
line:
|
|
35150
|
+
line: 39,
|
|
35010
35151
|
column: 28
|
|
35011
35152
|
}
|
|
35012
35153
|
},
|
|
35013
35154
|
"9": {
|
|
35014
35155
|
start: {
|
|
35015
|
-
line:
|
|
35156
|
+
line: 42,
|
|
35016
35157
|
column: 4
|
|
35017
35158
|
},
|
|
35018
35159
|
end: {
|
|
35019
|
-
line:
|
|
35160
|
+
line: 42,
|
|
35020
35161
|
column: 39
|
|
35021
35162
|
}
|
|
35022
35163
|
},
|
|
35023
35164
|
"10": {
|
|
35024
35165
|
start: {
|
|
35025
|
-
line:
|
|
35166
|
+
line: 42,
|
|
35026
35167
|
column: 17
|
|
35027
35168
|
},
|
|
35028
35169
|
end: {
|
|
35029
|
-
line:
|
|
35170
|
+
line: 42,
|
|
35030
35171
|
column: 38
|
|
35031
35172
|
}
|
|
35032
35173
|
},
|
|
35033
35174
|
"11": {
|
|
35034
35175
|
start: {
|
|
35035
|
-
line:
|
|
35176
|
+
line: 45,
|
|
35036
35177
|
column: 23
|
|
35037
35178
|
},
|
|
35038
35179
|
end: {
|
|
35039
|
-
line:
|
|
35180
|
+
line: 56,
|
|
35040
35181
|
column: 3
|
|
35041
35182
|
}
|
|
35042
35183
|
},
|
|
35043
35184
|
"12": {
|
|
35044
35185
|
start: {
|
|
35045
|
-
line:
|
|
35186
|
+
line: 46,
|
|
35046
35187
|
column: 19
|
|
35047
35188
|
},
|
|
35048
35189
|
end: {
|
|
35049
|
-
line:
|
|
35190
|
+
line: 54,
|
|
35050
35191
|
column: 6
|
|
35051
35192
|
}
|
|
35052
35193
|
},
|
|
35053
35194
|
"13": {
|
|
35054
35195
|
start: {
|
|
35055
|
-
line:
|
|
35196
|
+
line: 55,
|
|
35056
35197
|
column: 4
|
|
35057
35198
|
},
|
|
35058
35199
|
end: {
|
|
35059
|
-
line:
|
|
35200
|
+
line: 55,
|
|
35060
35201
|
column: 37
|
|
35061
35202
|
}
|
|
35062
35203
|
},
|
|
35063
35204
|
"14": {
|
|
35064
35205
|
start: {
|
|
35065
|
-
line:
|
|
35206
|
+
line: 58,
|
|
35066
35207
|
column: 23
|
|
35067
35208
|
},
|
|
35068
35209
|
end: {
|
|
35069
|
-
line:
|
|
35210
|
+
line: 65,
|
|
35070
35211
|
column: 3
|
|
35071
35212
|
}
|
|
35072
35213
|
},
|
|
35073
35214
|
"15": {
|
|
35074
35215
|
start: {
|
|
35075
|
-
line:
|
|
35216
|
+
line: 59,
|
|
35076
35217
|
column: 4
|
|
35077
35218
|
},
|
|
35078
35219
|
end: {
|
|
35079
|
-
line:
|
|
35220
|
+
line: 62,
|
|
35080
35221
|
column: 5
|
|
35081
35222
|
}
|
|
35082
35223
|
},
|
|
35083
35224
|
"16": {
|
|
35084
35225
|
start: {
|
|
35085
|
-
line:
|
|
35226
|
+
line: 60,
|
|
35086
35227
|
column: 6
|
|
35087
35228
|
},
|
|
35088
35229
|
end: {
|
|
35089
|
-
line:
|
|
35230
|
+
line: 60,
|
|
35090
35231
|
column: 27
|
|
35091
35232
|
}
|
|
35092
35233
|
},
|
|
35093
35234
|
"17": {
|
|
35094
35235
|
start: {
|
|
35095
|
-
line:
|
|
35236
|
+
line: 61,
|
|
35096
35237
|
column: 6
|
|
35097
35238
|
},
|
|
35098
35239
|
end: {
|
|
35099
|
-
line:
|
|
35240
|
+
line: 61,
|
|
35100
35241
|
column: 25
|
|
35101
35242
|
}
|
|
35102
35243
|
},
|
|
35103
35244
|
"18": {
|
|
35104
35245
|
start: {
|
|
35105
|
-
line:
|
|
35246
|
+
line: 63,
|
|
35106
35247
|
column: 23
|
|
35107
35248
|
},
|
|
35108
35249
|
end: {
|
|
35109
|
-
line:
|
|
35250
|
+
line: 63,
|
|
35110
35251
|
column: 49
|
|
35111
35252
|
}
|
|
35112
35253
|
},
|
|
35113
35254
|
"19": {
|
|
35114
35255
|
start: {
|
|
35115
|
-
line:
|
|
35256
|
+
line: 64,
|
|
35116
35257
|
column: 4
|
|
35117
35258
|
},
|
|
35118
35259
|
end: {
|
|
35119
|
-
line:
|
|
35260
|
+
line: 64,
|
|
35120
35261
|
column: 29
|
|
35121
35262
|
}
|
|
35122
35263
|
},
|
|
35123
35264
|
"20": {
|
|
35124
35265
|
start: {
|
|
35125
|
-
line:
|
|
35266
|
+
line: 67,
|
|
35126
35267
|
column: 25
|
|
35127
35268
|
},
|
|
35128
35269
|
end: {
|
|
35129
|
-
line:
|
|
35270
|
+
line: 71,
|
|
35130
35271
|
column: 3
|
|
35131
35272
|
}
|
|
35132
35273
|
},
|
|
35133
35274
|
"21": {
|
|
35134
35275
|
start: {
|
|
35135
|
-
line:
|
|
35276
|
+
line: 68,
|
|
35136
35277
|
column: 4
|
|
35137
35278
|
},
|
|
35138
35279
|
end: {
|
|
35139
|
-
line:
|
|
35280
|
+
line: 68,
|
|
35140
35281
|
column: 25
|
|
35141
35282
|
}
|
|
35142
35283
|
},
|
|
35143
35284
|
"22": {
|
|
35144
35285
|
start: {
|
|
35145
|
-
line:
|
|
35286
|
+
line: 69,
|
|
35146
35287
|
column: 4
|
|
35147
35288
|
},
|
|
35148
35289
|
end: {
|
|
35149
|
-
line:
|
|
35290
|
+
line: 69,
|
|
35150
35291
|
column: 23
|
|
35151
35292
|
}
|
|
35152
35293
|
},
|
|
35153
35294
|
"23": {
|
|
35154
35295
|
start: {
|
|
35155
|
-
line:
|
|
35296
|
+
line: 70,
|
|
35156
35297
|
column: 4
|
|
35157
35298
|
},
|
|
35158
35299
|
end: {
|
|
35159
|
-
line:
|
|
35160
|
-
column:
|
|
35300
|
+
line: 70,
|
|
35301
|
+
column: 27
|
|
35161
35302
|
}
|
|
35162
35303
|
},
|
|
35163
35304
|
"24": {
|
|
35164
35305
|
start: {
|
|
35165
|
-
line:
|
|
35306
|
+
line: 73,
|
|
35166
35307
|
column: 26
|
|
35167
35308
|
},
|
|
35168
35309
|
end: {
|
|
35169
|
-
line:
|
|
35310
|
+
line: 75,
|
|
35170
35311
|
column: 3
|
|
35171
35312
|
}
|
|
35172
35313
|
},
|
|
35173
35314
|
"25": {
|
|
35174
35315
|
start: {
|
|
35175
|
-
line:
|
|
35316
|
+
line: 74,
|
|
35176
35317
|
column: 39
|
|
35177
35318
|
},
|
|
35178
35319
|
end: {
|
|
35179
|
-
line:
|
|
35320
|
+
line: 74,
|
|
35180
35321
|
column: 67
|
|
35181
35322
|
}
|
|
35182
35323
|
},
|
|
35183
35324
|
"26": {
|
|
35184
35325
|
start: {
|
|
35185
|
-
line:
|
|
35326
|
+
line: 77,
|
|
35186
35327
|
column: 2
|
|
35187
35328
|
},
|
|
35188
35329
|
end: {
|
|
35189
|
-
line:
|
|
35330
|
+
line: 77,
|
|
35190
35331
|
column: 45
|
|
35191
35332
|
}
|
|
35192
35333
|
},
|
|
35193
35334
|
"27": {
|
|
35194
35335
|
start: {
|
|
35195
|
-
line:
|
|
35336
|
+
line: 77,
|
|
35196
35337
|
column: 33
|
|
35197
35338
|
},
|
|
35198
35339
|
end: {
|
|
35199
|
-
line:
|
|
35340
|
+
line: 77,
|
|
35200
35341
|
column: 45
|
|
35201
35342
|
}
|
|
35202
35343
|
},
|
|
35203
35344
|
"28": {
|
|
35204
35345
|
start: {
|
|
35205
|
-
line:
|
|
35346
|
+
line: 79,
|
|
35206
35347
|
column: 2
|
|
35207
35348
|
},
|
|
35208
35349
|
end: {
|
|
35209
|
-
line:
|
|
35350
|
+
line: 103,
|
|
35210
35351
|
column: 4
|
|
35211
35352
|
}
|
|
35212
35353
|
},
|
|
35213
35354
|
"29": {
|
|
35214
35355
|
start: {
|
|
35215
|
-
line:
|
|
35356
|
+
line: 84,
|
|
35216
35357
|
column: 8
|
|
35217
35358
|
},
|
|
35218
35359
|
end: {
|
|
35219
|
-
line:
|
|
35360
|
+
line: 91,
|
|
35220
35361
|
column: 25
|
|
35221
35362
|
}
|
|
35222
35363
|
}
|
|
@@ -35236,207 +35377,207 @@ function cov_1jyxy15ds3() {
|
|
|
35236
35377
|
},
|
|
35237
35378
|
loc: {
|
|
35238
35379
|
start: {
|
|
35239
|
-
line:
|
|
35380
|
+
line: 21,
|
|
35240
35381
|
column: 6
|
|
35241
35382
|
},
|
|
35242
35383
|
end: {
|
|
35243
|
-
line:
|
|
35384
|
+
line: 104,
|
|
35244
35385
|
column: 1
|
|
35245
35386
|
}
|
|
35246
35387
|
},
|
|
35247
|
-
line:
|
|
35388
|
+
line: 21
|
|
35248
35389
|
},
|
|
35249
35390
|
"1": {
|
|
35250
35391
|
name: "(anonymous_1)",
|
|
35251
35392
|
decl: {
|
|
35252
35393
|
start: {
|
|
35253
|
-
line:
|
|
35394
|
+
line: 37,
|
|
35254
35395
|
column: 12
|
|
35255
35396
|
},
|
|
35256
35397
|
end: {
|
|
35257
|
-
line:
|
|
35398
|
+
line: 37,
|
|
35258
35399
|
column: 13
|
|
35259
35400
|
}
|
|
35260
35401
|
},
|
|
35261
35402
|
loc: {
|
|
35262
35403
|
start: {
|
|
35263
|
-
line:
|
|
35404
|
+
line: 37,
|
|
35264
35405
|
column: 18
|
|
35265
35406
|
},
|
|
35266
35407
|
end: {
|
|
35267
|
-
line:
|
|
35408
|
+
line: 43,
|
|
35268
35409
|
column: 3
|
|
35269
35410
|
}
|
|
35270
35411
|
},
|
|
35271
|
-
line:
|
|
35412
|
+
line: 37
|
|
35272
35413
|
},
|
|
35273
35414
|
"2": {
|
|
35274
35415
|
name: "(anonymous_2)",
|
|
35275
35416
|
decl: {
|
|
35276
35417
|
start: {
|
|
35277
|
-
line:
|
|
35418
|
+
line: 38,
|
|
35278
35419
|
column: 31
|
|
35279
35420
|
},
|
|
35280
35421
|
end: {
|
|
35281
|
-
line:
|
|
35422
|
+
line: 38,
|
|
35282
35423
|
column: 32
|
|
35283
35424
|
}
|
|
35284
35425
|
},
|
|
35285
35426
|
loc: {
|
|
35286
35427
|
start: {
|
|
35287
|
-
line:
|
|
35428
|
+
line: 38,
|
|
35288
35429
|
column: 37
|
|
35289
35430
|
},
|
|
35290
35431
|
end: {
|
|
35291
|
-
line:
|
|
35432
|
+
line: 40,
|
|
35292
35433
|
column: 5
|
|
35293
35434
|
}
|
|
35294
35435
|
},
|
|
35295
|
-
line:
|
|
35436
|
+
line: 38
|
|
35296
35437
|
},
|
|
35297
35438
|
"3": {
|
|
35298
35439
|
name: "(anonymous_3)",
|
|
35299
35440
|
decl: {
|
|
35300
35441
|
start: {
|
|
35301
|
-
line:
|
|
35442
|
+
line: 42,
|
|
35302
35443
|
column: 11
|
|
35303
35444
|
},
|
|
35304
35445
|
end: {
|
|
35305
|
-
line:
|
|
35446
|
+
line: 42,
|
|
35306
35447
|
column: 12
|
|
35307
35448
|
}
|
|
35308
35449
|
},
|
|
35309
35450
|
loc: {
|
|
35310
35451
|
start: {
|
|
35311
|
-
line:
|
|
35452
|
+
line: 42,
|
|
35312
35453
|
column: 17
|
|
35313
35454
|
},
|
|
35314
35455
|
end: {
|
|
35315
|
-
line:
|
|
35456
|
+
line: 42,
|
|
35316
35457
|
column: 38
|
|
35317
35458
|
}
|
|
35318
35459
|
},
|
|
35319
|
-
line:
|
|
35460
|
+
line: 42
|
|
35320
35461
|
},
|
|
35321
35462
|
"4": {
|
|
35322
35463
|
name: "(anonymous_4)",
|
|
35323
35464
|
decl: {
|
|
35324
35465
|
start: {
|
|
35325
|
-
line:
|
|
35466
|
+
line: 45,
|
|
35326
35467
|
column: 23
|
|
35327
35468
|
},
|
|
35328
35469
|
end: {
|
|
35329
|
-
line:
|
|
35470
|
+
line: 45,
|
|
35330
35471
|
column: 24
|
|
35331
35472
|
}
|
|
35332
35473
|
},
|
|
35333
35474
|
loc: {
|
|
35334
35475
|
start: {
|
|
35335
|
-
line:
|
|
35336
|
-
column:
|
|
35476
|
+
line: 45,
|
|
35477
|
+
column: 51
|
|
35337
35478
|
},
|
|
35338
35479
|
end: {
|
|
35339
|
-
line:
|
|
35480
|
+
line: 56,
|
|
35340
35481
|
column: 3
|
|
35341
35482
|
}
|
|
35342
35483
|
},
|
|
35343
|
-
line:
|
|
35484
|
+
line: 45
|
|
35344
35485
|
},
|
|
35345
35486
|
"5": {
|
|
35346
35487
|
name: "(anonymous_5)",
|
|
35347
35488
|
decl: {
|
|
35348
35489
|
start: {
|
|
35349
|
-
line:
|
|
35490
|
+
line: 58,
|
|
35350
35491
|
column: 23
|
|
35351
35492
|
},
|
|
35352
35493
|
end: {
|
|
35353
|
-
line:
|
|
35494
|
+
line: 58,
|
|
35354
35495
|
column: 24
|
|
35355
35496
|
}
|
|
35356
35497
|
},
|
|
35357
35498
|
loc: {
|
|
35358
35499
|
start: {
|
|
35359
|
-
line:
|
|
35500
|
+
line: 58,
|
|
35360
35501
|
column: 30
|
|
35361
35502
|
},
|
|
35362
35503
|
end: {
|
|
35363
|
-
line:
|
|
35504
|
+
line: 65,
|
|
35364
35505
|
column: 3
|
|
35365
35506
|
}
|
|
35366
35507
|
},
|
|
35367
|
-
line:
|
|
35508
|
+
line: 58
|
|
35368
35509
|
},
|
|
35369
35510
|
"6": {
|
|
35370
35511
|
name: "(anonymous_6)",
|
|
35371
35512
|
decl: {
|
|
35372
35513
|
start: {
|
|
35373
|
-
line:
|
|
35514
|
+
line: 67,
|
|
35374
35515
|
column: 25
|
|
35375
35516
|
},
|
|
35376
35517
|
end: {
|
|
35377
|
-
line:
|
|
35518
|
+
line: 67,
|
|
35378
35519
|
column: 26
|
|
35379
35520
|
}
|
|
35380
35521
|
},
|
|
35381
35522
|
loc: {
|
|
35382
35523
|
start: {
|
|
35383
|
-
line:
|
|
35524
|
+
line: 67,
|
|
35384
35525
|
column: 31
|
|
35385
35526
|
},
|
|
35386
35527
|
end: {
|
|
35387
|
-
line:
|
|
35528
|
+
line: 71,
|
|
35388
35529
|
column: 3
|
|
35389
35530
|
}
|
|
35390
35531
|
},
|
|
35391
|
-
line:
|
|
35532
|
+
line: 67
|
|
35392
35533
|
},
|
|
35393
35534
|
"7": {
|
|
35394
35535
|
name: "(anonymous_7)",
|
|
35395
35536
|
decl: {
|
|
35396
35537
|
start: {
|
|
35397
|
-
line:
|
|
35538
|
+
line: 74,
|
|
35398
35539
|
column: 4
|
|
35399
35540
|
},
|
|
35400
35541
|
end: {
|
|
35401
|
-
line:
|
|
35542
|
+
line: 74,
|
|
35402
35543
|
column: 5
|
|
35403
35544
|
}
|
|
35404
35545
|
},
|
|
35405
35546
|
loc: {
|
|
35406
35547
|
start: {
|
|
35407
|
-
line:
|
|
35548
|
+
line: 74,
|
|
35408
35549
|
column: 39
|
|
35409
35550
|
},
|
|
35410
35551
|
end: {
|
|
35411
|
-
line:
|
|
35552
|
+
line: 74,
|
|
35412
35553
|
column: 67
|
|
35413
35554
|
}
|
|
35414
35555
|
},
|
|
35415
|
-
line:
|
|
35556
|
+
line: 74
|
|
35416
35557
|
},
|
|
35417
35558
|
"8": {
|
|
35418
35559
|
name: "(anonymous_8)",
|
|
35419
35560
|
decl: {
|
|
35420
35561
|
start: {
|
|
35421
|
-
line:
|
|
35562
|
+
line: 83,
|
|
35422
35563
|
column: 28
|
|
35423
35564
|
},
|
|
35424
35565
|
end: {
|
|
35425
|
-
line:
|
|
35566
|
+
line: 83,
|
|
35426
35567
|
column: 29
|
|
35427
35568
|
}
|
|
35428
35569
|
},
|
|
35429
35570
|
loc: {
|
|
35430
35571
|
start: {
|
|
35431
|
-
line:
|
|
35572
|
+
line: 84,
|
|
35432
35573
|
column: 8
|
|
35433
35574
|
},
|
|
35434
35575
|
end: {
|
|
35435
|
-
line:
|
|
35576
|
+
line: 91,
|
|
35436
35577
|
column: 25
|
|
35437
35578
|
}
|
|
35438
35579
|
},
|
|
35439
|
-
line:
|
|
35580
|
+
line: 84
|
|
35440
35581
|
}
|
|
35441
35582
|
},
|
|
35442
35583
|
branchMap: {
|
|
@@ -35515,88 +35656,145 @@ function cov_1jyxy15ds3() {
|
|
|
35515
35656
|
"3": {
|
|
35516
35657
|
loc: {
|
|
35517
35658
|
start: {
|
|
35518
|
-
line:
|
|
35659
|
+
line: 19,
|
|
35660
|
+
column: 2
|
|
35661
|
+
},
|
|
35662
|
+
end: {
|
|
35663
|
+
line: 19,
|
|
35664
|
+
column: 19
|
|
35665
|
+
}
|
|
35666
|
+
},
|
|
35667
|
+
type: "default-arg",
|
|
35668
|
+
locations: [{
|
|
35669
|
+
start: {
|
|
35670
|
+
line: 19,
|
|
35671
|
+
column: 17
|
|
35672
|
+
},
|
|
35673
|
+
end: {
|
|
35674
|
+
line: 19,
|
|
35675
|
+
column: 19
|
|
35676
|
+
}
|
|
35677
|
+
}],
|
|
35678
|
+
line: 19
|
|
35679
|
+
},
|
|
35680
|
+
"4": {
|
|
35681
|
+
loc: {
|
|
35682
|
+
start: {
|
|
35683
|
+
line: 31,
|
|
35519
35684
|
column: 4
|
|
35520
35685
|
},
|
|
35521
35686
|
end: {
|
|
35522
|
-
line:
|
|
35687
|
+
line: 31,
|
|
35523
35688
|
column: 64
|
|
35524
35689
|
}
|
|
35525
35690
|
},
|
|
35526
35691
|
type: "cond-expr",
|
|
35527
35692
|
locations: [{
|
|
35528
35693
|
start: {
|
|
35529
|
-
line:
|
|
35694
|
+
line: 31,
|
|
35530
35695
|
column: 27
|
|
35531
35696
|
},
|
|
35532
35697
|
end: {
|
|
35533
|
-
line:
|
|
35698
|
+
line: 31,
|
|
35534
35699
|
column: 54
|
|
35535
35700
|
}
|
|
35536
35701
|
}, {
|
|
35537
35702
|
start: {
|
|
35538
|
-
line:
|
|
35703
|
+
line: 31,
|
|
35539
35704
|
column: 57
|
|
35540
35705
|
},
|
|
35541
35706
|
end: {
|
|
35542
|
-
line:
|
|
35707
|
+
line: 31,
|
|
35543
35708
|
column: 64
|
|
35544
35709
|
}
|
|
35545
35710
|
}],
|
|
35546
|
-
line:
|
|
35711
|
+
line: 31
|
|
35547
35712
|
},
|
|
35548
|
-
"
|
|
35713
|
+
"5": {
|
|
35549
35714
|
loc: {
|
|
35550
35715
|
start: {
|
|
35551
|
-
line:
|
|
35716
|
+
line: 49,
|
|
35552
35717
|
column: 8
|
|
35553
35718
|
},
|
|
35554
35719
|
end: {
|
|
35555
|
-
line:
|
|
35720
|
+
line: 49,
|
|
35556
35721
|
column: 74
|
|
35557
35722
|
}
|
|
35558
35723
|
},
|
|
35559
35724
|
type: "cond-expr",
|
|
35560
35725
|
locations: [{
|
|
35561
35726
|
start: {
|
|
35562
|
-
line:
|
|
35727
|
+
line: 49,
|
|
35563
35728
|
column: 31
|
|
35564
35729
|
},
|
|
35565
35730
|
end: {
|
|
35566
|
-
line:
|
|
35731
|
+
line: 49,
|
|
35567
35732
|
column: 61
|
|
35568
35733
|
}
|
|
35569
35734
|
}, {
|
|
35570
35735
|
start: {
|
|
35571
|
-
line:
|
|
35736
|
+
line: 49,
|
|
35572
35737
|
column: 64
|
|
35573
35738
|
},
|
|
35574
35739
|
end: {
|
|
35575
|
-
line:
|
|
35740
|
+
line: 49,
|
|
35576
35741
|
column: 74
|
|
35577
35742
|
}
|
|
35578
35743
|
}],
|
|
35579
|
-
line:
|
|
35744
|
+
line: 49
|
|
35580
35745
|
},
|
|
35581
|
-
"
|
|
35746
|
+
"6": {
|
|
35582
35747
|
loc: {
|
|
35583
35748
|
start: {
|
|
35584
|
-
line:
|
|
35749
|
+
line: 50,
|
|
35750
|
+
column: 10
|
|
35751
|
+
},
|
|
35752
|
+
end: {
|
|
35753
|
+
line: 53,
|
|
35754
|
+
column: 7
|
|
35755
|
+
}
|
|
35756
|
+
},
|
|
35757
|
+
type: "binary-expr",
|
|
35758
|
+
locations: [{
|
|
35759
|
+
start: {
|
|
35760
|
+
line: 50,
|
|
35761
|
+
column: 10
|
|
35762
|
+
},
|
|
35763
|
+
end: {
|
|
35764
|
+
line: 50,
|
|
35765
|
+
column: 20
|
|
35766
|
+
}
|
|
35767
|
+
}, {
|
|
35768
|
+
start: {
|
|
35769
|
+
line: 50,
|
|
35770
|
+
column: 24
|
|
35771
|
+
},
|
|
35772
|
+
end: {
|
|
35773
|
+
line: 53,
|
|
35774
|
+
column: 7
|
|
35775
|
+
}
|
|
35776
|
+
}],
|
|
35777
|
+
line: 50
|
|
35778
|
+
},
|
|
35779
|
+
"7": {
|
|
35780
|
+
loc: {
|
|
35781
|
+
start: {
|
|
35782
|
+
line: 59,
|
|
35585
35783
|
column: 4
|
|
35586
35784
|
},
|
|
35587
35785
|
end: {
|
|
35588
|
-
line:
|
|
35786
|
+
line: 62,
|
|
35589
35787
|
column: 5
|
|
35590
35788
|
}
|
|
35591
35789
|
},
|
|
35592
35790
|
type: "if",
|
|
35593
35791
|
locations: [{
|
|
35594
35792
|
start: {
|
|
35595
|
-
line:
|
|
35793
|
+
line: 59,
|
|
35596
35794
|
column: 4
|
|
35597
35795
|
},
|
|
35598
35796
|
end: {
|
|
35599
|
-
line:
|
|
35797
|
+
line: 62,
|
|
35600
35798
|
column: 5
|
|
35601
35799
|
}
|
|
35602
35800
|
}, {
|
|
@@ -35609,60 +35807,60 @@ function cov_1jyxy15ds3() {
|
|
|
35609
35807
|
column: undefined
|
|
35610
35808
|
}
|
|
35611
35809
|
}],
|
|
35612
|
-
line:
|
|
35810
|
+
line: 59
|
|
35613
35811
|
},
|
|
35614
|
-
"
|
|
35812
|
+
"8": {
|
|
35615
35813
|
loc: {
|
|
35616
35814
|
start: {
|
|
35617
|
-
line:
|
|
35815
|
+
line: 74,
|
|
35618
35816
|
column: 39
|
|
35619
35817
|
},
|
|
35620
35818
|
end: {
|
|
35621
|
-
line:
|
|
35819
|
+
line: 74,
|
|
35622
35820
|
column: 67
|
|
35623
35821
|
}
|
|
35624
35822
|
},
|
|
35625
35823
|
type: "binary-expr",
|
|
35626
35824
|
locations: [{
|
|
35627
35825
|
start: {
|
|
35628
|
-
line:
|
|
35826
|
+
line: 74,
|
|
35629
35827
|
column: 39
|
|
35630
35828
|
},
|
|
35631
35829
|
end: {
|
|
35632
|
-
line:
|
|
35830
|
+
line: 74,
|
|
35633
35831
|
column: 51
|
|
35634
35832
|
}
|
|
35635
35833
|
}, {
|
|
35636
35834
|
start: {
|
|
35637
|
-
line:
|
|
35835
|
+
line: 74,
|
|
35638
35836
|
column: 55
|
|
35639
35837
|
},
|
|
35640
35838
|
end: {
|
|
35641
|
-
line:
|
|
35839
|
+
line: 74,
|
|
35642
35840
|
column: 67
|
|
35643
35841
|
}
|
|
35644
35842
|
}],
|
|
35645
|
-
line:
|
|
35843
|
+
line: 74
|
|
35646
35844
|
},
|
|
35647
|
-
"
|
|
35845
|
+
"9": {
|
|
35648
35846
|
loc: {
|
|
35649
35847
|
start: {
|
|
35650
|
-
line:
|
|
35848
|
+
line: 77,
|
|
35651
35849
|
column: 2
|
|
35652
35850
|
},
|
|
35653
35851
|
end: {
|
|
35654
|
-
line:
|
|
35852
|
+
line: 77,
|
|
35655
35853
|
column: 45
|
|
35656
35854
|
}
|
|
35657
35855
|
},
|
|
35658
35856
|
type: "if",
|
|
35659
35857
|
locations: [{
|
|
35660
35858
|
start: {
|
|
35661
|
-
line:
|
|
35859
|
+
line: 77,
|
|
35662
35860
|
column: 2
|
|
35663
35861
|
},
|
|
35664
35862
|
end: {
|
|
35665
|
-
line:
|
|
35863
|
+
line: 77,
|
|
35666
35864
|
column: 45
|
|
35667
35865
|
}
|
|
35668
35866
|
}, {
|
|
@@ -35675,40 +35873,40 @@ function cov_1jyxy15ds3() {
|
|
|
35675
35873
|
column: undefined
|
|
35676
35874
|
}
|
|
35677
35875
|
}],
|
|
35678
|
-
line:
|
|
35876
|
+
line: 77
|
|
35679
35877
|
},
|
|
35680
|
-
"
|
|
35878
|
+
"10": {
|
|
35681
35879
|
loc: {
|
|
35682
35880
|
start: {
|
|
35683
|
-
line:
|
|
35881
|
+
line: 94,
|
|
35684
35882
|
column: 7
|
|
35685
35883
|
},
|
|
35686
35884
|
end: {
|
|
35687
|
-
line:
|
|
35885
|
+
line: 101,
|
|
35688
35886
|
column: 7
|
|
35689
35887
|
}
|
|
35690
35888
|
},
|
|
35691
35889
|
type: "binary-expr",
|
|
35692
35890
|
locations: [{
|
|
35693
35891
|
start: {
|
|
35694
|
-
line:
|
|
35892
|
+
line: 94,
|
|
35695
35893
|
column: 7
|
|
35696
35894
|
},
|
|
35697
35895
|
end: {
|
|
35698
|
-
line:
|
|
35896
|
+
line: 94,
|
|
35699
35897
|
column: 23
|
|
35700
35898
|
}
|
|
35701
35899
|
}, {
|
|
35702
35900
|
start: {
|
|
35703
|
-
line:
|
|
35901
|
+
line: 95,
|
|
35704
35902
|
column: 8
|
|
35705
35903
|
},
|
|
35706
35904
|
end: {
|
|
35707
|
-
line:
|
|
35905
|
+
line: 100,
|
|
35708
35906
|
column: 10
|
|
35709
35907
|
}
|
|
35710
35908
|
}],
|
|
35711
|
-
line:
|
|
35909
|
+
line: 94
|
|
35712
35910
|
}
|
|
35713
35911
|
},
|
|
35714
35912
|
s: {
|
|
@@ -35758,15 +35956,17 @@ function cov_1jyxy15ds3() {
|
|
|
35758
35956
|
"0": [0],
|
|
35759
35957
|
"1": [0],
|
|
35760
35958
|
"2": [0],
|
|
35761
|
-
"3": [0
|
|
35959
|
+
"3": [0],
|
|
35762
35960
|
"4": [0, 0],
|
|
35763
35961
|
"5": [0, 0],
|
|
35764
35962
|
"6": [0, 0],
|
|
35765
35963
|
"7": [0, 0],
|
|
35766
|
-
"8": [0, 0]
|
|
35964
|
+
"8": [0, 0],
|
|
35965
|
+
"9": [0, 0],
|
|
35966
|
+
"10": [0, 0]
|
|
35767
35967
|
},
|
|
35768
35968
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35769
|
-
hash: "
|
|
35969
|
+
hash: "d175e44726c46dcd986333914827476f826099a3"
|
|
35770
35970
|
};
|
|
35771
35971
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
35772
35972
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -35797,6 +35997,8 @@ var Bar = function Bar(_ref) {
|
|
|
35797
35997
|
value: "",
|
|
35798
35998
|
setValue: noop$1
|
|
35799
35999
|
}) : _ref$keyword,
|
|
36000
|
+
_ref$childrenKeys = _ref.childrenKeys,
|
|
36001
|
+
childrenKeys = _ref$childrenKeys === void 0 ? (cov_1jyxy15ds3().b[3][0]++, []) : _ref$childrenKeys,
|
|
35800
36002
|
children = _ref.children;
|
|
35801
36003
|
cov_1jyxy15ds3().f[0]++;
|
|
35802
36004
|
var keywordFilter = (cov_1jyxy15ds3().s[1]++, _objectSpread$2({
|
|
@@ -35805,7 +36007,7 @@ var Bar = function Bar(_ref) {
|
|
|
35805
36007
|
rule: "contains",
|
|
35806
36008
|
label: "Keyword"
|
|
35807
36009
|
}, keyword));
|
|
35808
|
-
var filters = (cov_1jyxy15ds3().s[2]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[
|
|
36010
|
+
var filters = (cov_1jyxy15ds3().s[2]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[4][0]++, [keywordFilter].concat(_toConsumableArray(columns))) : (cov_1jyxy15ds3().b[4][1]++, columns)));
|
|
35809
36011
|
var nonHiddenFilters = (cov_1jyxy15ds3().s[3]++, removeBy({
|
|
35810
36012
|
hidden: true
|
|
35811
36013
|
}, filters));
|
|
@@ -35828,12 +36030,15 @@ var Bar = function Bar(_ref) {
|
|
|
35828
36030
|
};
|
|
35829
36031
|
}, [keyword.value]);
|
|
35830
36032
|
cov_1jyxy15ds3().s[11]++;
|
|
35831
|
-
var handleSubmit = function handleSubmit(newFilters) {
|
|
36033
|
+
var handleSubmit = function handleSubmit(newFilters, isClearAll) {
|
|
35832
36034
|
cov_1jyxy15ds3().f[4]++;
|
|
35833
|
-
var params = (cov_1jyxy15ds3().s[12]++, buildUrlFromFilters({
|
|
36035
|
+
var params = (cov_1jyxy15ds3().s[12]++, buildUrlFromFilters(_objectSpread$2({
|
|
35834
36036
|
columns: columns,
|
|
35835
|
-
filters: keyword.value !== "" ? (cov_1jyxy15ds3().b[
|
|
35836
|
-
}))
|
|
36037
|
+
filters: keyword.value !== "" ? (cov_1jyxy15ds3().b[5][0]++, [].concat(_toConsumableArray(newFilters), [keywordFilter])) : (cov_1jyxy15ds3().b[5][1]++, newFilters)
|
|
36038
|
+
}, (cov_1jyxy15ds3().b[6][0]++, isClearAll) && (cov_1jyxy15ds3().b[6][1]++, {
|
|
36039
|
+
isClearAll: true,
|
|
36040
|
+
childrenKeys: childrenKeys
|
|
36041
|
+
}))));
|
|
35837
36042
|
cov_1jyxy15ds3().s[13]++;
|
|
35838
36043
|
history.push({
|
|
35839
36044
|
search: params
|
|
@@ -35844,13 +36049,13 @@ var Bar = function Bar(_ref) {
|
|
|
35844
36049
|
cov_1jyxy15ds3().f[5]++;
|
|
35845
36050
|
cov_1jyxy15ds3().s[15]++;
|
|
35846
36051
|
if (key === "keyword") {
|
|
35847
|
-
cov_1jyxy15ds3().b[
|
|
36052
|
+
cov_1jyxy15ds3().b[7][0]++;
|
|
35848
36053
|
cov_1jyxy15ds3().s[16]++;
|
|
35849
36054
|
keyword.setValue("");
|
|
35850
36055
|
cov_1jyxy15ds3().s[17]++;
|
|
35851
36056
|
keyword.value = "";
|
|
35852
36057
|
} else {
|
|
35853
|
-
cov_1jyxy15ds3().b[
|
|
36058
|
+
cov_1jyxy15ds3().b[7][1]++;
|
|
35854
36059
|
}
|
|
35855
36060
|
var newFilters = (cov_1jyxy15ds3().s[18]++, removeBy({
|
|
35856
36061
|
key: key
|
|
@@ -35866,22 +36071,22 @@ var Bar = function Bar(_ref) {
|
|
|
35866
36071
|
cov_1jyxy15ds3().s[22]++;
|
|
35867
36072
|
keyword.value = "";
|
|
35868
36073
|
cov_1jyxy15ds3().s[23]++;
|
|
35869
|
-
handleSubmit([]);
|
|
36074
|
+
handleSubmit([], true);
|
|
35870
36075
|
};
|
|
35871
36076
|
var hideClearButton = (cov_1jyxy15ds3().s[24]++, nonHiddenFilters.every(function (_ref3) {
|
|
35872
36077
|
var defaultValue = _ref3.defaultValue,
|
|
35873
36078
|
isClearable = _ref3.isClearable;
|
|
35874
36079
|
cov_1jyxy15ds3().f[7]++;
|
|
35875
36080
|
cov_1jyxy15ds3().s[25]++;
|
|
35876
|
-
return (cov_1jyxy15ds3().b[
|
|
36081
|
+
return (cov_1jyxy15ds3().b[8][0]++, defaultValue) && (cov_1jyxy15ds3().b[8][1]++, !isClearable);
|
|
35877
36082
|
}));
|
|
35878
36083
|
cov_1jyxy15ds3().s[26]++;
|
|
35879
36084
|
if (ramda.isEmpty(nonHiddenFilters)) {
|
|
35880
|
-
cov_1jyxy15ds3().b[
|
|
36085
|
+
cov_1jyxy15ds3().b[9][0]++;
|
|
35881
36086
|
cov_1jyxy15ds3().s[27]++;
|
|
35882
36087
|
return null;
|
|
35883
36088
|
} else {
|
|
35884
|
-
cov_1jyxy15ds3().b[
|
|
36089
|
+
cov_1jyxy15ds3().b[9][1]++;
|
|
35885
36090
|
}
|
|
35886
36091
|
cov_1jyxy15ds3().s[28]++;
|
|
35887
36092
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -35898,7 +36103,7 @@ var Bar = function Bar(_ref) {
|
|
|
35898
36103
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35899
36104
|
className: "neeto-filters-bar--separator"
|
|
35900
36105
|
}));
|
|
35901
|
-
}), children, (cov_1jyxy15ds3().b[
|
|
36106
|
+
}), children, (cov_1jyxy15ds3().b[10][0]++, !hideClearButton) && (cov_1jyxy15ds3().b[10][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
35902
36107
|
"data-cy": "neeto-filters-bar-clear-btn",
|
|
35903
36108
|
label: t("common.clearFilters"),
|
|
35904
36109
|
style: "text",
|
|
@@ -46568,10 +46773,10 @@ var Item = function Item(_ref) {
|
|
|
46568
46773
|
});
|
|
46569
46774
|
};
|
|
46570
46775
|
|
|
46571
|
-
var _excluded = ["isOpen", "onClose", "columns", "onChange", "isSearchable", "keyword", "onSelectorsChange", "children"];
|
|
46776
|
+
var _excluded = ["isOpen", "onClose", "columns", "onChange", "isSearchable", "keyword", "onSelectorsChange", "childrenKeys", "children"];
|
|
46572
46777
|
function cov_fes6hm9vc() {
|
|
46573
46778
|
var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Pane/index.jsx";
|
|
46574
|
-
var hash = "
|
|
46779
|
+
var hash = "485848003d7dfb83c360e145fcf25d3988d71cf6";
|
|
46575
46780
|
var global = new Function("return this")();
|
|
46576
46781
|
var gcv = "__coverage__";
|
|
46577
46782
|
var coverageData = {
|
|
@@ -46583,277 +46788,277 @@ function cov_fes6hm9vc() {
|
|
|
46583
46788
|
column: 13
|
|
46584
46789
|
},
|
|
46585
46790
|
end: {
|
|
46586
|
-
line:
|
|
46791
|
+
line: 163,
|
|
46587
46792
|
column: 1
|
|
46588
46793
|
}
|
|
46589
46794
|
},
|
|
46590
46795
|
"1": {
|
|
46591
46796
|
start: {
|
|
46592
|
-
line:
|
|
46797
|
+
line: 31,
|
|
46593
46798
|
column: 38
|
|
46594
46799
|
},
|
|
46595
46800
|
end: {
|
|
46596
|
-
line:
|
|
46801
|
+
line: 31,
|
|
46597
46802
|
column: 50
|
|
46598
46803
|
}
|
|
46599
46804
|
},
|
|
46600
46805
|
"2": {
|
|
46601
46806
|
start: {
|
|
46602
|
-
line:
|
|
46807
|
+
line: 32,
|
|
46603
46808
|
column: 18
|
|
46604
46809
|
},
|
|
46605
46810
|
end: {
|
|
46606
|
-
line:
|
|
46811
|
+
line: 32,
|
|
46607
46812
|
column: 30
|
|
46608
46813
|
}
|
|
46609
46814
|
},
|
|
46610
46815
|
"3": {
|
|
46611
46816
|
start: {
|
|
46612
|
-
line:
|
|
46817
|
+
line: 33,
|
|
46613
46818
|
column: 16
|
|
46614
46819
|
},
|
|
46615
46820
|
end: {
|
|
46616
|
-
line:
|
|
46821
|
+
line: 33,
|
|
46617
46822
|
column: 32
|
|
46618
46823
|
}
|
|
46619
46824
|
},
|
|
46620
46825
|
"4": {
|
|
46621
46826
|
start: {
|
|
46622
|
-
line:
|
|
46827
|
+
line: 34,
|
|
46623
46828
|
column: 57
|
|
46624
46829
|
},
|
|
46625
46830
|
end: {
|
|
46626
|
-
line:
|
|
46831
|
+
line: 37,
|
|
46627
46832
|
column: 4
|
|
46628
46833
|
}
|
|
46629
46834
|
},
|
|
46630
46835
|
"5": {
|
|
46631
46836
|
start: {
|
|
46632
|
-
line:
|
|
46837
|
+
line: 39,
|
|
46633
46838
|
column: 18
|
|
46634
46839
|
},
|
|
46635
46840
|
end: {
|
|
46636
|
-
line:
|
|
46841
|
+
line: 44,
|
|
46637
46842
|
column: 4
|
|
46638
46843
|
}
|
|
46639
46844
|
},
|
|
46640
46845
|
"6": {
|
|
46641
46846
|
start: {
|
|
46642
|
-
line:
|
|
46847
|
+
line: 46,
|
|
46643
46848
|
column: 24
|
|
46644
46849
|
},
|
|
46645
46850
|
end: {
|
|
46646
|
-
line:
|
|
46851
|
+
line: 52,
|
|
46647
46852
|
column: 3
|
|
46648
46853
|
}
|
|
46649
46854
|
},
|
|
46650
46855
|
"7": {
|
|
46651
46856
|
start: {
|
|
46652
|
-
line:
|
|
46857
|
+
line: 54,
|
|
46653
46858
|
column: 25
|
|
46654
46859
|
},
|
|
46655
46860
|
end: {
|
|
46656
|
-
line:
|
|
46861
|
+
line: 58,
|
|
46657
46862
|
column: 3
|
|
46658
46863
|
}
|
|
46659
46864
|
},
|
|
46660
46865
|
"8": {
|
|
46661
46866
|
start: {
|
|
46662
|
-
line:
|
|
46867
|
+
line: 55,
|
|
46663
46868
|
column: 4
|
|
46664
46869
|
},
|
|
46665
46870
|
end: {
|
|
46666
|
-
line:
|
|
46871
|
+
line: 55,
|
|
46667
46872
|
column: 25
|
|
46668
46873
|
}
|
|
46669
46874
|
},
|
|
46670
46875
|
"9": {
|
|
46671
46876
|
start: {
|
|
46672
|
-
line:
|
|
46877
|
+
line: 56,
|
|
46673
46878
|
column: 4
|
|
46674
46879
|
},
|
|
46675
46880
|
end: {
|
|
46676
|
-
line:
|
|
46881
|
+
line: 56,
|
|
46677
46882
|
column: 23
|
|
46678
46883
|
}
|
|
46679
46884
|
},
|
|
46680
46885
|
"10": {
|
|
46681
46886
|
start: {
|
|
46682
|
-
line:
|
|
46887
|
+
line: 57,
|
|
46683
46888
|
column: 4
|
|
46684
46889
|
},
|
|
46685
46890
|
end: {
|
|
46686
|
-
line:
|
|
46687
|
-
column:
|
|
46891
|
+
line: 57,
|
|
46892
|
+
column: 27
|
|
46688
46893
|
}
|
|
46689
46894
|
},
|
|
46690
46895
|
"11": {
|
|
46691
46896
|
start: {
|
|
46692
|
-
line:
|
|
46897
|
+
line: 60,
|
|
46693
46898
|
column: 22
|
|
46694
46899
|
},
|
|
46695
46900
|
end: {
|
|
46696
|
-
line:
|
|
46901
|
+
line: 68,
|
|
46697
46902
|
column: 3
|
|
46698
46903
|
}
|
|
46699
46904
|
},
|
|
46700
46905
|
"12": {
|
|
46701
46906
|
start: {
|
|
46702
|
-
line:
|
|
46907
|
+
line: 61,
|
|
46703
46908
|
column: 25
|
|
46704
46909
|
},
|
|
46705
46910
|
end: {
|
|
46706
|
-
line:
|
|
46911
|
+
line: 61,
|
|
46707
46912
|
column: 41
|
|
46708
46913
|
}
|
|
46709
46914
|
},
|
|
46710
46915
|
"13": {
|
|
46711
46916
|
start: {
|
|
46712
|
-
line:
|
|
46917
|
+
line: 62,
|
|
46713
46918
|
column: 4
|
|
46714
46919
|
},
|
|
46715
46920
|
end: {
|
|
46716
|
-
line:
|
|
46921
|
+
line: 65,
|
|
46717
46922
|
column: 7
|
|
46718
46923
|
}
|
|
46719
46924
|
},
|
|
46720
46925
|
"14": {
|
|
46721
46926
|
start: {
|
|
46722
|
-
line:
|
|
46927
|
+
line: 63,
|
|
46723
46928
|
column: 21
|
|
46724
46929
|
},
|
|
46725
46930
|
end: {
|
|
46726
|
-
line:
|
|
46931
|
+
line: 63,
|
|
46727
46932
|
column: 45
|
|
46728
46933
|
}
|
|
46729
46934
|
},
|
|
46730
46935
|
"15": {
|
|
46731
46936
|
start: {
|
|
46732
|
-
line:
|
|
46937
|
+
line: 64,
|
|
46733
46938
|
column: 6
|
|
46734
46939
|
},
|
|
46735
46940
|
end: {
|
|
46736
|
-
line:
|
|
46941
|
+
line: 64,
|
|
46737
46942
|
column: 57
|
|
46738
46943
|
}
|
|
46739
46944
|
},
|
|
46740
46945
|
"16": {
|
|
46741
46946
|
start: {
|
|
46742
|
-
line:
|
|
46947
|
+
line: 64,
|
|
46743
46948
|
column: 32
|
|
46744
46949
|
},
|
|
46745
46950
|
end: {
|
|
46746
|
-
line:
|
|
46951
|
+
line: 64,
|
|
46747
46952
|
column: 57
|
|
46748
46953
|
}
|
|
46749
46954
|
},
|
|
46750
46955
|
"17": {
|
|
46751
46956
|
start: {
|
|
46752
|
-
line:
|
|
46957
|
+
line: 66,
|
|
46753
46958
|
column: 4
|
|
46754
46959
|
},
|
|
46755
46960
|
end: {
|
|
46756
|
-
line:
|
|
46961
|
+
line: 66,
|
|
46757
46962
|
column: 75
|
|
46758
46963
|
}
|
|
46759
46964
|
},
|
|
46760
46965
|
"18": {
|
|
46761
46966
|
start: {
|
|
46762
|
-
line:
|
|
46967
|
+
line: 67,
|
|
46763
46968
|
column: 4
|
|
46764
46969
|
},
|
|
46765
46970
|
end: {
|
|
46766
|
-
line:
|
|
46971
|
+
line: 67,
|
|
46767
46972
|
column: 14
|
|
46768
46973
|
}
|
|
46769
46974
|
},
|
|
46770
46975
|
"19": {
|
|
46771
46976
|
start: {
|
|
46772
|
-
line:
|
|
46977
|
+
line: 70,
|
|
46773
46978
|
column: 23
|
|
46774
46979
|
},
|
|
46775
46980
|
end: {
|
|
46776
|
-
line:
|
|
46981
|
+
line: 81,
|
|
46777
46982
|
column: 3
|
|
46778
46983
|
}
|
|
46779
46984
|
},
|
|
46780
46985
|
"20": {
|
|
46781
46986
|
start: {
|
|
46782
|
-
line:
|
|
46987
|
+
line: 71,
|
|
46783
46988
|
column: 19
|
|
46784
46989
|
},
|
|
46785
46990
|
end: {
|
|
46786
|
-
line:
|
|
46991
|
+
line: 79,
|
|
46787
46992
|
column: 6
|
|
46788
46993
|
}
|
|
46789
46994
|
},
|
|
46790
46995
|
"21": {
|
|
46791
46996
|
start: {
|
|
46792
|
-
line:
|
|
46997
|
+
line: 80,
|
|
46793
46998
|
column: 4
|
|
46794
46999
|
},
|
|
46795
47000
|
end: {
|
|
46796
|
-
line:
|
|
47001
|
+
line: 80,
|
|
46797
47002
|
column: 37
|
|
46798
47003
|
}
|
|
46799
47004
|
},
|
|
46800
47005
|
"22": {
|
|
46801
47006
|
start: {
|
|
46802
|
-
line:
|
|
47007
|
+
line: 83,
|
|
46803
47008
|
column: 2
|
|
46804
47009
|
},
|
|
46805
47010
|
end: {
|
|
46806
|
-
line:
|
|
47011
|
+
line: 162,
|
|
46807
47012
|
column: 4
|
|
46808
47013
|
}
|
|
46809
47014
|
},
|
|
46810
47015
|
"23": {
|
|
46811
47016
|
start: {
|
|
46812
|
-
line:
|
|
47017
|
+
line: 101,
|
|
46813
47018
|
column: 33
|
|
46814
47019
|
},
|
|
46815
47020
|
end: {
|
|
46816
|
-
line:
|
|
47021
|
+
line: 101,
|
|
46817
47022
|
column: 66
|
|
46818
47023
|
}
|
|
46819
47024
|
},
|
|
46820
47025
|
"24": {
|
|
46821
47026
|
start: {
|
|
46822
|
-
line:
|
|
47027
|
+
line: 105,
|
|
46823
47028
|
column: 12
|
|
46824
47029
|
},
|
|
46825
47030
|
end: {
|
|
46826
|
-
line:
|
|
47031
|
+
line: 111,
|
|
46827
47032
|
column: 14
|
|
46828
47033
|
}
|
|
46829
47034
|
},
|
|
46830
47035
|
"25": {
|
|
46831
47036
|
start: {
|
|
46832
|
-
line:
|
|
47037
|
+
line: 115,
|
|
46833
47038
|
column: 14
|
|
46834
47039
|
},
|
|
46835
47040
|
end: {
|
|
46836
|
-
line:
|
|
47041
|
+
line: 115,
|
|
46837
47042
|
column: 48
|
|
46838
47043
|
}
|
|
46839
47044
|
},
|
|
46840
47045
|
"26": {
|
|
46841
47046
|
start: {
|
|
46842
|
-
line:
|
|
47047
|
+
line: 119,
|
|
46843
47048
|
column: 14
|
|
46844
47049
|
},
|
|
46845
47050
|
end: {
|
|
46846
|
-
line:
|
|
47051
|
+
line: 133,
|
|
46847
47052
|
column: 31
|
|
46848
47053
|
}
|
|
46849
47054
|
},
|
|
46850
47055
|
"27": {
|
|
46851
47056
|
start: {
|
|
46852
|
-
line:
|
|
47057
|
+
line: 125,
|
|
46853
47058
|
column: 18
|
|
46854
47059
|
},
|
|
46855
47060
|
end: {
|
|
46856
|
-
line:
|
|
47061
|
+
line: 131,
|
|
46857
47062
|
column: 20
|
|
46858
47063
|
}
|
|
46859
47064
|
}
|
|
@@ -46873,301 +47078,325 @@ function cov_fes6hm9vc() {
|
|
|
46873
47078
|
},
|
|
46874
47079
|
loc: {
|
|
46875
47080
|
start: {
|
|
46876
|
-
line:
|
|
47081
|
+
line: 30,
|
|
46877
47082
|
column: 6
|
|
46878
47083
|
},
|
|
46879
47084
|
end: {
|
|
46880
|
-
line:
|
|
47085
|
+
line: 163,
|
|
46881
47086
|
column: 1
|
|
46882
47087
|
}
|
|
46883
47088
|
},
|
|
46884
|
-
line:
|
|
47089
|
+
line: 30
|
|
46885
47090
|
},
|
|
46886
47091
|
"1": {
|
|
46887
47092
|
name: "(anonymous_1)",
|
|
46888
47093
|
decl: {
|
|
46889
47094
|
start: {
|
|
46890
|
-
line:
|
|
47095
|
+
line: 54,
|
|
46891
47096
|
column: 25
|
|
46892
47097
|
},
|
|
46893
47098
|
end: {
|
|
46894
|
-
line:
|
|
47099
|
+
line: 54,
|
|
46895
47100
|
column: 26
|
|
46896
47101
|
}
|
|
46897
47102
|
},
|
|
46898
47103
|
loc: {
|
|
46899
47104
|
start: {
|
|
46900
|
-
line:
|
|
47105
|
+
line: 54,
|
|
46901
47106
|
column: 31
|
|
46902
47107
|
},
|
|
46903
47108
|
end: {
|
|
46904
|
-
line:
|
|
47109
|
+
line: 58,
|
|
46905
47110
|
column: 3
|
|
46906
47111
|
}
|
|
46907
47112
|
},
|
|
46908
|
-
line:
|
|
47113
|
+
line: 54
|
|
46909
47114
|
},
|
|
46910
47115
|
"2": {
|
|
46911
47116
|
name: "(anonymous_2)",
|
|
46912
47117
|
decl: {
|
|
46913
47118
|
start: {
|
|
46914
|
-
line:
|
|
47119
|
+
line: 60,
|
|
46915
47120
|
column: 22
|
|
46916
47121
|
},
|
|
46917
47122
|
end: {
|
|
46918
|
-
line:
|
|
47123
|
+
line: 60,
|
|
46919
47124
|
column: 23
|
|
46920
47125
|
}
|
|
46921
47126
|
},
|
|
46922
47127
|
loc: {
|
|
46923
47128
|
start: {
|
|
46924
|
-
line:
|
|
47129
|
+
line: 60,
|
|
46925
47130
|
column: 28
|
|
46926
47131
|
},
|
|
46927
47132
|
end: {
|
|
46928
|
-
line:
|
|
47133
|
+
line: 68,
|
|
46929
47134
|
column: 3
|
|
46930
47135
|
}
|
|
46931
47136
|
},
|
|
46932
|
-
line:
|
|
47137
|
+
line: 60
|
|
46933
47138
|
},
|
|
46934
47139
|
"3": {
|
|
46935
47140
|
name: "(anonymous_3)",
|
|
46936
47141
|
decl: {
|
|
46937
47142
|
start: {
|
|
46938
|
-
line:
|
|
47143
|
+
line: 62,
|
|
46939
47144
|
column: 20
|
|
46940
47145
|
},
|
|
46941
47146
|
end: {
|
|
46942
|
-
line:
|
|
47147
|
+
line: 62,
|
|
46943
47148
|
column: 21
|
|
46944
47149
|
}
|
|
46945
47150
|
},
|
|
46946
47151
|
loc: {
|
|
46947
47152
|
start: {
|
|
46948
|
-
line:
|
|
47153
|
+
line: 62,
|
|
46949
47154
|
column: 33
|
|
46950
47155
|
},
|
|
46951
47156
|
end: {
|
|
46952
|
-
line:
|
|
47157
|
+
line: 65,
|
|
46953
47158
|
column: 5
|
|
46954
47159
|
}
|
|
46955
47160
|
},
|
|
46956
|
-
line:
|
|
47161
|
+
line: 62
|
|
46957
47162
|
},
|
|
46958
47163
|
"4": {
|
|
46959
47164
|
name: "(anonymous_4)",
|
|
46960
47165
|
decl: {
|
|
46961
47166
|
start: {
|
|
46962
|
-
line:
|
|
47167
|
+
line: 70,
|
|
46963
47168
|
column: 23
|
|
46964
47169
|
},
|
|
46965
47170
|
end: {
|
|
46966
|
-
line:
|
|
47171
|
+
line: 70,
|
|
46967
47172
|
column: 24
|
|
46968
47173
|
}
|
|
46969
47174
|
},
|
|
46970
47175
|
loc: {
|
|
46971
47176
|
start: {
|
|
46972
|
-
line:
|
|
46973
|
-
column:
|
|
47177
|
+
line: 70,
|
|
47178
|
+
column: 59
|
|
46974
47179
|
},
|
|
46975
47180
|
end: {
|
|
46976
|
-
line:
|
|
47181
|
+
line: 81,
|
|
46977
47182
|
column: 3
|
|
46978
47183
|
}
|
|
46979
47184
|
},
|
|
46980
|
-
line:
|
|
47185
|
+
line: 70
|
|
46981
47186
|
},
|
|
46982
47187
|
"5": {
|
|
46983
47188
|
name: "(anonymous_5)",
|
|
46984
47189
|
decl: {
|
|
46985
47190
|
start: {
|
|
46986
|
-
line:
|
|
47191
|
+
line: 101,
|
|
46987
47192
|
column: 24
|
|
46988
47193
|
},
|
|
46989
47194
|
end: {
|
|
46990
|
-
line:
|
|
47195
|
+
line: 101,
|
|
46991
47196
|
column: 25
|
|
46992
47197
|
}
|
|
46993
47198
|
},
|
|
46994
47199
|
loc: {
|
|
46995
47200
|
start: {
|
|
46996
|
-
line:
|
|
47201
|
+
line: 101,
|
|
46997
47202
|
column: 33
|
|
46998
47203
|
},
|
|
46999
47204
|
end: {
|
|
47000
|
-
line:
|
|
47205
|
+
line: 101,
|
|
47001
47206
|
column: 66
|
|
47002
47207
|
}
|
|
47003
47208
|
},
|
|
47004
|
-
line:
|
|
47209
|
+
line: 101
|
|
47005
47210
|
},
|
|
47006
47211
|
"6": {
|
|
47007
47212
|
name: "(anonymous_6)",
|
|
47008
47213
|
decl: {
|
|
47009
47214
|
start: {
|
|
47010
|
-
line:
|
|
47215
|
+
line: 104,
|
|
47011
47216
|
column: 32
|
|
47012
47217
|
},
|
|
47013
47218
|
end: {
|
|
47014
|
-
line:
|
|
47219
|
+
line: 104,
|
|
47015
47220
|
column: 33
|
|
47016
47221
|
}
|
|
47017
47222
|
},
|
|
47018
47223
|
loc: {
|
|
47019
47224
|
start: {
|
|
47020
|
-
line:
|
|
47225
|
+
line: 105,
|
|
47021
47226
|
column: 12
|
|
47022
47227
|
},
|
|
47023
47228
|
end: {
|
|
47024
|
-
line:
|
|
47229
|
+
line: 111,
|
|
47025
47230
|
column: 14
|
|
47026
47231
|
}
|
|
47027
47232
|
},
|
|
47028
|
-
line:
|
|
47233
|
+
line: 105
|
|
47029
47234
|
},
|
|
47030
47235
|
"7": {
|
|
47031
47236
|
name: "(anonymous_7)",
|
|
47032
47237
|
decl: {
|
|
47033
47238
|
start: {
|
|
47034
|
-
line:
|
|
47239
|
+
line: 114,
|
|
47035
47240
|
column: 55
|
|
47036
47241
|
},
|
|
47037
47242
|
end: {
|
|
47038
|
-
line:
|
|
47243
|
+
line: 114,
|
|
47039
47244
|
column: 56
|
|
47040
47245
|
}
|
|
47041
47246
|
},
|
|
47042
47247
|
loc: {
|
|
47043
47248
|
start: {
|
|
47044
|
-
line:
|
|
47249
|
+
line: 115,
|
|
47045
47250
|
column: 14
|
|
47046
47251
|
},
|
|
47047
47252
|
end: {
|
|
47048
|
-
line:
|
|
47253
|
+
line: 115,
|
|
47049
47254
|
column: 48
|
|
47050
47255
|
}
|
|
47051
47256
|
},
|
|
47052
|
-
line:
|
|
47257
|
+
line: 115
|
|
47053
47258
|
},
|
|
47054
47259
|
"8": {
|
|
47055
47260
|
name: "(anonymous_8)",
|
|
47056
47261
|
decl: {
|
|
47057
47262
|
start: {
|
|
47058
|
-
line:
|
|
47263
|
+
line: 118,
|
|
47059
47264
|
column: 32
|
|
47060
47265
|
},
|
|
47061
47266
|
end: {
|
|
47062
|
-
line:
|
|
47267
|
+
line: 118,
|
|
47063
47268
|
column: 33
|
|
47064
47269
|
}
|
|
47065
47270
|
},
|
|
47066
47271
|
loc: {
|
|
47067
47272
|
start: {
|
|
47068
|
-
line:
|
|
47273
|
+
line: 119,
|
|
47069
47274
|
column: 14
|
|
47070
47275
|
},
|
|
47071
47276
|
end: {
|
|
47072
|
-
line:
|
|
47277
|
+
line: 133,
|
|
47073
47278
|
column: 31
|
|
47074
47279
|
}
|
|
47075
47280
|
},
|
|
47076
|
-
line:
|
|
47281
|
+
line: 119
|
|
47077
47282
|
},
|
|
47078
47283
|
"9": {
|
|
47079
47284
|
name: "(anonymous_9)",
|
|
47080
47285
|
decl: {
|
|
47081
47286
|
start: {
|
|
47082
|
-
line:
|
|
47287
|
+
line: 124,
|
|
47083
47288
|
column: 29
|
|
47084
47289
|
},
|
|
47085
47290
|
end: {
|
|
47086
|
-
line:
|
|
47291
|
+
line: 124,
|
|
47087
47292
|
column: 30
|
|
47088
47293
|
}
|
|
47089
47294
|
},
|
|
47090
47295
|
loc: {
|
|
47091
47296
|
start: {
|
|
47092
|
-
line:
|
|
47297
|
+
line: 125,
|
|
47093
47298
|
column: 18
|
|
47094
47299
|
},
|
|
47095
47300
|
end: {
|
|
47096
|
-
line:
|
|
47301
|
+
line: 131,
|
|
47097
47302
|
column: 20
|
|
47098
47303
|
}
|
|
47099
47304
|
},
|
|
47100
|
-
line:
|
|
47305
|
+
line: 125
|
|
47101
47306
|
}
|
|
47102
47307
|
},
|
|
47103
47308
|
branchMap: {
|
|
47104
47309
|
"0": {
|
|
47105
47310
|
loc: {
|
|
47106
47311
|
start: {
|
|
47107
|
-
line:
|
|
47312
|
+
line: 27,
|
|
47313
|
+
column: 2
|
|
47314
|
+
},
|
|
47315
|
+
end: {
|
|
47316
|
+
line: 27,
|
|
47317
|
+
column: 19
|
|
47318
|
+
}
|
|
47319
|
+
},
|
|
47320
|
+
type: "default-arg",
|
|
47321
|
+
locations: [{
|
|
47322
|
+
start: {
|
|
47323
|
+
line: 27,
|
|
47324
|
+
column: 17
|
|
47325
|
+
},
|
|
47326
|
+
end: {
|
|
47327
|
+
line: 27,
|
|
47328
|
+
column: 19
|
|
47329
|
+
}
|
|
47330
|
+
}],
|
|
47331
|
+
line: 27
|
|
47332
|
+
},
|
|
47333
|
+
"1": {
|
|
47334
|
+
loc: {
|
|
47335
|
+
start: {
|
|
47336
|
+
line: 34,
|
|
47108
47337
|
column: 10
|
|
47109
47338
|
},
|
|
47110
47339
|
end: {
|
|
47111
|
-
line:
|
|
47340
|
+
line: 34,
|
|
47112
47341
|
column: 29
|
|
47113
47342
|
}
|
|
47114
47343
|
},
|
|
47115
47344
|
type: "default-arg",
|
|
47116
47345
|
locations: [{
|
|
47117
47346
|
start: {
|
|
47118
|
-
line:
|
|
47347
|
+
line: 34,
|
|
47119
47348
|
column: 27
|
|
47120
47349
|
},
|
|
47121
47350
|
end: {
|
|
47122
|
-
line:
|
|
47351
|
+
line: 34,
|
|
47123
47352
|
column: 29
|
|
47124
47353
|
}
|
|
47125
47354
|
}],
|
|
47126
|
-
line:
|
|
47355
|
+
line: 34
|
|
47127
47356
|
},
|
|
47128
|
-
"
|
|
47357
|
+
"2": {
|
|
47129
47358
|
loc: {
|
|
47130
47359
|
start: {
|
|
47131
|
-
line:
|
|
47360
|
+
line: 34,
|
|
47132
47361
|
column: 31
|
|
47133
47362
|
},
|
|
47134
47363
|
end: {
|
|
47135
|
-
line:
|
|
47364
|
+
line: 34,
|
|
47136
47365
|
column: 52
|
|
47137
47366
|
}
|
|
47138
47367
|
},
|
|
47139
47368
|
type: "default-arg",
|
|
47140
47369
|
locations: [{
|
|
47141
47370
|
start: {
|
|
47142
|
-
line:
|
|
47371
|
+
line: 34,
|
|
47143
47372
|
column: 50
|
|
47144
47373
|
},
|
|
47145
47374
|
end: {
|
|
47146
|
-
line:
|
|
47375
|
+
line: 34,
|
|
47147
47376
|
column: 52
|
|
47148
47377
|
}
|
|
47149
47378
|
}],
|
|
47150
|
-
line:
|
|
47379
|
+
line: 34
|
|
47151
47380
|
},
|
|
47152
|
-
"
|
|
47381
|
+
"3": {
|
|
47153
47382
|
loc: {
|
|
47154
47383
|
start: {
|
|
47155
|
-
line:
|
|
47384
|
+
line: 64,
|
|
47156
47385
|
column: 6
|
|
47157
47386
|
},
|
|
47158
47387
|
end: {
|
|
47159
|
-
line:
|
|
47388
|
+
line: 64,
|
|
47160
47389
|
column: 57
|
|
47161
47390
|
}
|
|
47162
47391
|
},
|
|
47163
47392
|
type: "if",
|
|
47164
47393
|
locations: [{
|
|
47165
47394
|
start: {
|
|
47166
|
-
line:
|
|
47395
|
+
line: 64,
|
|
47167
47396
|
column: 6
|
|
47168
47397
|
},
|
|
47169
47398
|
end: {
|
|
47170
|
-
line:
|
|
47399
|
+
line: 64,
|
|
47171
47400
|
column: 57
|
|
47172
47401
|
}
|
|
47173
47402
|
}, {
|
|
@@ -47180,115 +47409,172 @@ function cov_fes6hm9vc() {
|
|
|
47180
47409
|
column: undefined
|
|
47181
47410
|
}
|
|
47182
47411
|
}],
|
|
47183
|
-
line:
|
|
47412
|
+
line: 64
|
|
47184
47413
|
},
|
|
47185
|
-
"
|
|
47414
|
+
"4": {
|
|
47186
47415
|
loc: {
|
|
47187
47416
|
start: {
|
|
47188
|
-
line:
|
|
47417
|
+
line: 70,
|
|
47418
|
+
column: 36
|
|
47419
|
+
},
|
|
47420
|
+
end: {
|
|
47421
|
+
line: 70,
|
|
47422
|
+
column: 54
|
|
47423
|
+
}
|
|
47424
|
+
},
|
|
47425
|
+
type: "default-arg",
|
|
47426
|
+
locations: [{
|
|
47427
|
+
start: {
|
|
47428
|
+
line: 70,
|
|
47429
|
+
column: 49
|
|
47430
|
+
},
|
|
47431
|
+
end: {
|
|
47432
|
+
line: 70,
|
|
47433
|
+
column: 54
|
|
47434
|
+
}
|
|
47435
|
+
}],
|
|
47436
|
+
line: 70
|
|
47437
|
+
},
|
|
47438
|
+
"5": {
|
|
47439
|
+
loc: {
|
|
47440
|
+
start: {
|
|
47441
|
+
line: 74,
|
|
47189
47442
|
column: 8
|
|
47190
47443
|
},
|
|
47191
47444
|
end: {
|
|
47192
|
-
line:
|
|
47445
|
+
line: 74,
|
|
47193
47446
|
column: 74
|
|
47194
47447
|
}
|
|
47195
47448
|
},
|
|
47196
47449
|
type: "cond-expr",
|
|
47197
47450
|
locations: [{
|
|
47198
47451
|
start: {
|
|
47199
|
-
line:
|
|
47452
|
+
line: 74,
|
|
47200
47453
|
column: 31
|
|
47201
47454
|
},
|
|
47202
47455
|
end: {
|
|
47203
|
-
line:
|
|
47456
|
+
line: 74,
|
|
47204
47457
|
column: 61
|
|
47205
47458
|
}
|
|
47206
47459
|
}, {
|
|
47207
47460
|
start: {
|
|
47208
|
-
line:
|
|
47461
|
+
line: 74,
|
|
47209
47462
|
column: 64
|
|
47210
47463
|
},
|
|
47211
47464
|
end: {
|
|
47212
|
-
line:
|
|
47465
|
+
line: 74,
|
|
47213
47466
|
column: 74
|
|
47214
47467
|
}
|
|
47215
47468
|
}],
|
|
47216
|
-
line:
|
|
47469
|
+
line: 74
|
|
47217
47470
|
},
|
|
47218
|
-
"
|
|
47471
|
+
"6": {
|
|
47219
47472
|
loc: {
|
|
47220
47473
|
start: {
|
|
47221
|
-
line:
|
|
47474
|
+
line: 75,
|
|
47475
|
+
column: 10
|
|
47476
|
+
},
|
|
47477
|
+
end: {
|
|
47478
|
+
line: 78,
|
|
47479
|
+
column: 7
|
|
47480
|
+
}
|
|
47481
|
+
},
|
|
47482
|
+
type: "binary-expr",
|
|
47483
|
+
locations: [{
|
|
47484
|
+
start: {
|
|
47485
|
+
line: 75,
|
|
47486
|
+
column: 10
|
|
47487
|
+
},
|
|
47488
|
+
end: {
|
|
47489
|
+
line: 75,
|
|
47490
|
+
column: 20
|
|
47491
|
+
}
|
|
47492
|
+
}, {
|
|
47493
|
+
start: {
|
|
47494
|
+
line: 75,
|
|
47495
|
+
column: 24
|
|
47496
|
+
},
|
|
47497
|
+
end: {
|
|
47498
|
+
line: 78,
|
|
47499
|
+
column: 7
|
|
47500
|
+
}
|
|
47501
|
+
}],
|
|
47502
|
+
line: 75
|
|
47503
|
+
},
|
|
47504
|
+
"7": {
|
|
47505
|
+
loc: {
|
|
47506
|
+
start: {
|
|
47507
|
+
line: 92,
|
|
47222
47508
|
column: 11
|
|
47223
47509
|
},
|
|
47224
47510
|
end: {
|
|
47225
|
-
line:
|
|
47511
|
+
line: 103,
|
|
47226
47512
|
column: 11
|
|
47227
47513
|
}
|
|
47228
47514
|
},
|
|
47229
47515
|
type: "binary-expr",
|
|
47230
47516
|
locations: [{
|
|
47231
47517
|
start: {
|
|
47232
|
-
line:
|
|
47518
|
+
line: 92,
|
|
47233
47519
|
column: 11
|
|
47234
47520
|
},
|
|
47235
47521
|
end: {
|
|
47236
|
-
line:
|
|
47522
|
+
line: 92,
|
|
47237
47523
|
column: 23
|
|
47238
47524
|
}
|
|
47239
47525
|
}, {
|
|
47240
47526
|
start: {
|
|
47241
|
-
line:
|
|
47527
|
+
line: 93,
|
|
47242
47528
|
column: 12
|
|
47243
47529
|
},
|
|
47244
47530
|
end: {
|
|
47245
|
-
line:
|
|
47531
|
+
line: 102,
|
|
47246
47532
|
column: 14
|
|
47247
47533
|
}
|
|
47248
47534
|
}],
|
|
47249
|
-
line:
|
|
47535
|
+
line: 92
|
|
47250
47536
|
},
|
|
47251
|
-
"
|
|
47537
|
+
"8": {
|
|
47252
47538
|
loc: {
|
|
47253
47539
|
start: {
|
|
47254
|
-
line:
|
|
47540
|
+
line: 136,
|
|
47255
47541
|
column: 11
|
|
47256
47542
|
},
|
|
47257
47543
|
end: {
|
|
47258
|
-
line:
|
|
47544
|
+
line: 142,
|
|
47259
47545
|
column: 11
|
|
47260
47546
|
}
|
|
47261
47547
|
},
|
|
47262
47548
|
type: "binary-expr",
|
|
47263
47549
|
locations: [{
|
|
47264
47550
|
start: {
|
|
47265
|
-
line:
|
|
47551
|
+
line: 136,
|
|
47266
47552
|
column: 11
|
|
47267
47553
|
},
|
|
47268
47554
|
end: {
|
|
47269
|
-
line:
|
|
47555
|
+
line: 136,
|
|
47270
47556
|
column: 36
|
|
47271
47557
|
}
|
|
47272
47558
|
}, {
|
|
47273
47559
|
start: {
|
|
47274
|
-
line:
|
|
47560
|
+
line: 136,
|
|
47275
47561
|
column: 40
|
|
47276
47562
|
},
|
|
47277
47563
|
end: {
|
|
47278
|
-
line:
|
|
47564
|
+
line: 136,
|
|
47279
47565
|
column: 63
|
|
47280
47566
|
}
|
|
47281
47567
|
}, {
|
|
47282
47568
|
start: {
|
|
47283
|
-
line:
|
|
47569
|
+
line: 137,
|
|
47284
47570
|
column: 12
|
|
47285
47571
|
},
|
|
47286
47572
|
end: {
|
|
47287
|
-
line:
|
|
47573
|
+
line: 141,
|
|
47288
47574
|
column: 25
|
|
47289
47575
|
}
|
|
47290
47576
|
}],
|
|
47291
|
-
line:
|
|
47577
|
+
line: 136
|
|
47292
47578
|
}
|
|
47293
47579
|
},
|
|
47294
47580
|
s: {
|
|
@@ -47336,13 +47622,16 @@ function cov_fes6hm9vc() {
|
|
|
47336
47622
|
b: {
|
|
47337
47623
|
"0": [0],
|
|
47338
47624
|
"1": [0],
|
|
47339
|
-
"2": [0
|
|
47625
|
+
"2": [0],
|
|
47340
47626
|
"3": [0, 0],
|
|
47341
|
-
"4": [0
|
|
47342
|
-
"5": [0, 0,
|
|
47627
|
+
"4": [0],
|
|
47628
|
+
"5": [0, 0],
|
|
47629
|
+
"6": [0, 0],
|
|
47630
|
+
"7": [0, 0],
|
|
47631
|
+
"8": [0, 0, 0]
|
|
47343
47632
|
},
|
|
47344
47633
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47345
|
-
hash: "
|
|
47634
|
+
hash: "485848003d7dfb83c360e145fcf25d3988d71cf6"
|
|
47346
47635
|
};
|
|
47347
47636
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47348
47637
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47369,6 +47658,8 @@ var Pane = function Pane(_ref) {
|
|
|
47369
47658
|
isSearchable = _ref.isSearchable,
|
|
47370
47659
|
keyword = _ref.keyword,
|
|
47371
47660
|
onSelectorsChange = _ref.onSelectorsChange,
|
|
47661
|
+
_ref$childrenKeys = _ref.childrenKeys,
|
|
47662
|
+
childrenKeys = _ref$childrenKeys === void 0 ? (cov_fes6hm9vc().b[0][0]++, []) : _ref$childrenKeys,
|
|
47372
47663
|
children = _ref.children,
|
|
47373
47664
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
47374
47665
|
cov_fes6hm9vc().f[0]++;
|
|
@@ -47384,9 +47675,9 @@ var Pane = function Pane(_ref) {
|
|
|
47384
47675
|
columns: columns
|
|
47385
47676
|
})),
|
|
47386
47677
|
_ref5$groupedColumns = _ref5.groupedColumns,
|
|
47387
|
-
groupedColumns = _ref5$groupedColumns === void 0 ? (cov_fes6hm9vc().b[
|
|
47678
|
+
groupedColumns = _ref5$groupedColumns === void 0 ? (cov_fes6hm9vc().b[1][0]++, []) : _ref5$groupedColumns,
|
|
47388
47679
|
_ref5$ungroupedColumn = _ref5.ungroupedColumns,
|
|
47389
|
-
ungroupedColumns = _ref5$ungroupedColumn === void 0 ? (cov_fes6hm9vc().b[
|
|
47680
|
+
ungroupedColumns = _ref5$ungroupedColumn === void 0 ? (cov_fes6hm9vc().b[2][0]++, []) : _ref5$ungroupedColumn;
|
|
47390
47681
|
var filters = (cov_fes6hm9vc().s[5]++, useFilters({
|
|
47391
47682
|
onFiltersChange: onChange,
|
|
47392
47683
|
columns: columns,
|
|
@@ -47407,7 +47698,7 @@ var Pane = function Pane(_ref) {
|
|
|
47407
47698
|
cov_fes6hm9vc().s[9]++;
|
|
47408
47699
|
keyword.value = "";
|
|
47409
47700
|
cov_fes6hm9vc().s[10]++;
|
|
47410
|
-
handleChange([]);
|
|
47701
|
+
handleChange([], true);
|
|
47411
47702
|
};
|
|
47412
47703
|
cov_fes6hm9vc().s[11]++;
|
|
47413
47704
|
var handleClose = function handleClose() {
|
|
@@ -47422,11 +47713,11 @@ var Pane = function Pane(_ref) {
|
|
|
47422
47713
|
}, filters));
|
|
47423
47714
|
cov_fes6hm9vc().s[15]++;
|
|
47424
47715
|
if ((filter === null || filter === void 0 ? void 0 : filter.value) === "") {
|
|
47425
|
-
cov_fes6hm9vc().b[
|
|
47716
|
+
cov_fes6hm9vc().b[3][0]++;
|
|
47426
47717
|
cov_fes6hm9vc().s[16]++;
|
|
47427
47718
|
delete searchParams[key];
|
|
47428
47719
|
} else {
|
|
47429
|
-
cov_fes6hm9vc().b[
|
|
47720
|
+
cov_fes6hm9vc().b[3][1]++;
|
|
47430
47721
|
}
|
|
47431
47722
|
});
|
|
47432
47723
|
cov_fes6hm9vc().s[17]++;
|
|
@@ -47438,11 +47729,15 @@ var Pane = function Pane(_ref) {
|
|
|
47438
47729
|
};
|
|
47439
47730
|
cov_fes6hm9vc().s[19]++;
|
|
47440
47731
|
var handleChange = function handleChange(newFilters) {
|
|
47732
|
+
var isClearAll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_fes6hm9vc().b[4][0]++, false);
|
|
47441
47733
|
cov_fes6hm9vc().f[4]++;
|
|
47442
|
-
var params = (cov_fes6hm9vc().s[20]++, buildUrlFromFilters({
|
|
47734
|
+
var params = (cov_fes6hm9vc().s[20]++, buildUrlFromFilters(_objectSpread({
|
|
47443
47735
|
columns: columns,
|
|
47444
|
-
filters: keyword.value !== "" ? (cov_fes6hm9vc().b[
|
|
47445
|
-
}))
|
|
47736
|
+
filters: keyword.value !== "" ? (cov_fes6hm9vc().b[5][0]++, [].concat(_toConsumableArray(newFilters), [keywordFilter])) : (cov_fes6hm9vc().b[5][1]++, newFilters)
|
|
47737
|
+
}, (cov_fes6hm9vc().b[6][0]++, isClearAll) && (cov_fes6hm9vc().b[6][1]++, {
|
|
47738
|
+
isClearAll: true,
|
|
47739
|
+
childrenKeys: childrenKeys
|
|
47740
|
+
}))));
|
|
47446
47741
|
cov_fes6hm9vc().s[21]++;
|
|
47447
47742
|
history.push({
|
|
47448
47743
|
search: params
|
|
@@ -47461,7 +47756,7 @@ var Pane = function Pane(_ref) {
|
|
|
47461
47756
|
weight: "semibold"
|
|
47462
47757
|
}, t("common.filters"))), /*#__PURE__*/React__default["default"].createElement(Slider.Body, {
|
|
47463
47758
|
className: "neeto-filters-pane-filter__body neeto-ui-pt-2"
|
|
47464
|
-
}, (cov_fes6hm9vc().b[
|
|
47759
|
+
}, (cov_fes6hm9vc().b[7][0]++, isSearchable) && (cov_fes6hm9vc().b[7][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
47465
47760
|
autoFocus: true,
|
|
47466
47761
|
"data-cy": "neeto-filters-column-search",
|
|
47467
47762
|
prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Search, null),
|
|
@@ -47513,7 +47808,7 @@ var Pane = function Pane(_ref) {
|
|
|
47513
47808
|
onChange: handleChange
|
|
47514
47809
|
});
|
|
47515
47810
|
}));
|
|
47516
|
-
})), (cov_fes6hm9vc().b[
|
|
47811
|
+
})), (cov_fes6hm9vc().b[8][0]++, ramda.isEmpty(ungroupedColumns)) && (cov_fes6hm9vc().b[8][1]++, ramda.isEmpty(groupedColumns)) && (cov_fes6hm9vc().b[8][2]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
47517
47812
|
style: "body2"
|
|
47518
47813
|
}, t("messages.noResourcesFound", {
|
|
47519
47814
|
resources: t("common.columns").toLocaleLowerCase()
|
|
@@ -47538,7 +47833,7 @@ n(css,{});
|
|
|
47538
47833
|
|
|
47539
47834
|
function cov_10mpdtnrxn() {
|
|
47540
47835
|
var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Filters.jsx";
|
|
47541
|
-
var hash = "
|
|
47836
|
+
var hash = "dbf89e0bc377baac765878e8b9293bb6ef4470f1";
|
|
47542
47837
|
var global = new Function("return this")();
|
|
47543
47838
|
var gcv = "__coverage__";
|
|
47544
47839
|
var coverageData = {
|
|
@@ -47550,47 +47845,47 @@ function cov_10mpdtnrxn() {
|
|
|
47550
47845
|
column: 16
|
|
47551
47846
|
},
|
|
47552
47847
|
end: {
|
|
47553
|
-
line:
|
|
47848
|
+
line: 53,
|
|
47554
47849
|
column: 1
|
|
47555
47850
|
}
|
|
47556
47851
|
},
|
|
47557
47852
|
"1": {
|
|
47558
47853
|
start: {
|
|
47559
|
-
line:
|
|
47854
|
+
line: 27,
|
|
47560
47855
|
column: 16
|
|
47561
47856
|
},
|
|
47562
47857
|
end: {
|
|
47563
|
-
line:
|
|
47858
|
+
line: 27,
|
|
47564
47859
|
column: 32
|
|
47565
47860
|
}
|
|
47566
47861
|
},
|
|
47567
47862
|
"2": {
|
|
47568
47863
|
start: {
|
|
47569
|
-
line:
|
|
47864
|
+
line: 29,
|
|
47570
47865
|
column: 2
|
|
47571
47866
|
},
|
|
47572
47867
|
end: {
|
|
47573
|
-
line:
|
|
47868
|
+
line: 52,
|
|
47574
47869
|
column: 4
|
|
47575
47870
|
}
|
|
47576
47871
|
},
|
|
47577
47872
|
"3": {
|
|
47578
47873
|
start: {
|
|
47579
|
-
line:
|
|
47874
|
+
line: 35,
|
|
47580
47875
|
column: 23
|
|
47581
47876
|
},
|
|
47582
47877
|
end: {
|
|
47583
|
-
line:
|
|
47878
|
+
line: 35,
|
|
47584
47879
|
column: 38
|
|
47585
47880
|
}
|
|
47586
47881
|
},
|
|
47587
47882
|
"4": {
|
|
47588
47883
|
start: {
|
|
47589
|
-
line:
|
|
47884
|
+
line: 45,
|
|
47590
47885
|
column: 23
|
|
47591
47886
|
},
|
|
47592
47887
|
end: {
|
|
47593
|
-
line:
|
|
47888
|
+
line: 45,
|
|
47594
47889
|
column: 39
|
|
47595
47890
|
}
|
|
47596
47891
|
}
|
|
@@ -47610,63 +47905,63 @@ function cov_10mpdtnrxn() {
|
|
|
47610
47905
|
},
|
|
47611
47906
|
loc: {
|
|
47612
47907
|
start: {
|
|
47613
|
-
line:
|
|
47908
|
+
line: 26,
|
|
47614
47909
|
column: 6
|
|
47615
47910
|
},
|
|
47616
47911
|
end: {
|
|
47617
|
-
line:
|
|
47912
|
+
line: 53,
|
|
47618
47913
|
column: 1
|
|
47619
47914
|
}
|
|
47620
47915
|
},
|
|
47621
|
-
line:
|
|
47916
|
+
line: 26
|
|
47622
47917
|
},
|
|
47623
47918
|
"1": {
|
|
47624
47919
|
name: "(anonymous_1)",
|
|
47625
47920
|
decl: {
|
|
47626
47921
|
start: {
|
|
47627
|
-
line:
|
|
47922
|
+
line: 35,
|
|
47628
47923
|
column: 17
|
|
47629
47924
|
},
|
|
47630
47925
|
end: {
|
|
47631
|
-
line:
|
|
47926
|
+
line: 35,
|
|
47632
47927
|
column: 18
|
|
47633
47928
|
}
|
|
47634
47929
|
},
|
|
47635
47930
|
loc: {
|
|
47636
47931
|
start: {
|
|
47637
|
-
line:
|
|
47932
|
+
line: 35,
|
|
47638
47933
|
column: 23
|
|
47639
47934
|
},
|
|
47640
47935
|
end: {
|
|
47641
|
-
line:
|
|
47936
|
+
line: 35,
|
|
47642
47937
|
column: 38
|
|
47643
47938
|
}
|
|
47644
47939
|
},
|
|
47645
|
-
line:
|
|
47940
|
+
line: 35
|
|
47646
47941
|
},
|
|
47647
47942
|
"2": {
|
|
47648
47943
|
name: "(anonymous_2)",
|
|
47649
47944
|
decl: {
|
|
47650
47945
|
start: {
|
|
47651
|
-
line:
|
|
47946
|
+
line: 45,
|
|
47652
47947
|
column: 17
|
|
47653
47948
|
},
|
|
47654
47949
|
end: {
|
|
47655
|
-
line:
|
|
47950
|
+
line: 45,
|
|
47656
47951
|
column: 18
|
|
47657
47952
|
}
|
|
47658
47953
|
},
|
|
47659
47954
|
loc: {
|
|
47660
47955
|
start: {
|
|
47661
|
-
line:
|
|
47956
|
+
line: 45,
|
|
47662
47957
|
column: 23
|
|
47663
47958
|
},
|
|
47664
47959
|
end: {
|
|
47665
|
-
line:
|
|
47960
|
+
line: 45,
|
|
47666
47961
|
column: 39
|
|
47667
47962
|
}
|
|
47668
47963
|
},
|
|
47669
|
-
line:
|
|
47964
|
+
line: 45
|
|
47670
47965
|
}
|
|
47671
47966
|
},
|
|
47672
47967
|
branchMap: {
|
|
@@ -47911,7 +48206,7 @@ function cov_10mpdtnrxn() {
|
|
|
47911
48206
|
"8": [0]
|
|
47912
48207
|
},
|
|
47913
48208
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47914
|
-
hash: "
|
|
48209
|
+
hash: "dbf89e0bc377baac765878e8b9293bb6ef4470f1"
|
|
47915
48210
|
};
|
|
47916
48211
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47917
48212
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47952,6 +48247,7 @@ var Filters = function Filters(_ref) {
|
|
|
47952
48247
|
value: "",
|
|
47953
48248
|
setValue: noop$1
|
|
47954
48249
|
}) : _ref$keyword,
|
|
48250
|
+
childrenKeys = _ref.childrenKeys,
|
|
47955
48251
|
children = _ref.children;
|
|
47956
48252
|
cov_10mpdtnrxn().f[0]++;
|
|
47957
48253
|
var _ref2 = (cov_10mpdtnrxn().s[1]++, useTranslation()),
|
|
@@ -47969,6 +48265,7 @@ var Filters = function Filters(_ref) {
|
|
|
47969
48265
|
return setIsOpen(true);
|
|
47970
48266
|
}
|
|
47971
48267
|
}, buttonProps)), /*#__PURE__*/React__default["default"].createElement(Pane, _extends$1({
|
|
48268
|
+
childrenKeys: childrenKeys,
|
|
47972
48269
|
columns: columns,
|
|
47973
48270
|
isOpen: isOpen,
|
|
47974
48271
|
isSearchable: isSearchable,
|