@bigbinary/neeto-filters-frontend 2.11.4 → 2.11.5

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 CHANGED
@@ -35923,6 +35923,367 @@ var Block = function Block(_ref) {
35923
35923
  })))));
35924
35924
  };
35925
35925
 
35926
+ function cov_1zv3ink1zs() {
35927
+ var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/ChildBlock.jsx";
35928
+ var hash = "fe5d9d9e242aa9c111c9bffe9543756050d11d2f";
35929
+ var global = new Function("return this")();
35930
+ var gcv = "__coverage__";
35931
+ var coverageData = {
35932
+ path: "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/ChildBlock.jsx",
35933
+ statementMap: {
35934
+ "0": {
35935
+ start: {
35936
+ line: 9,
35937
+ column: 19
35938
+ },
35939
+ end: {
35940
+ line: 49,
35941
+ column: 1
35942
+ }
35943
+ },
35944
+ "1": {
35945
+ start: {
35946
+ line: 10,
35947
+ column: 31
35948
+ },
35949
+ end: {
35950
+ line: 14,
35951
+ column: 3
35952
+ }
35953
+ },
35954
+ "2": {
35955
+ start: {
35956
+ line: 12,
35957
+ column: 10
35958
+ },
35959
+ end: {
35960
+ line: 12,
35961
+ column: 32
35962
+ }
35963
+ },
35964
+ "3": {
35965
+ start: {
35966
+ line: 16,
35967
+ column: 34
35968
+ },
35969
+ end: {
35970
+ line: 20,
35971
+ column: 3
35972
+ }
35973
+ },
35974
+ "4": {
35975
+ start: {
35976
+ line: 18,
35977
+ column: 10
35978
+ },
35979
+ end: {
35980
+ line: 18,
35981
+ column: 33
35982
+ }
35983
+ },
35984
+ "5": {
35985
+ start: {
35986
+ line: 22,
35987
+ column: 2
35988
+ },
35989
+ end: {
35990
+ line: 48,
35991
+ column: 4
35992
+ }
35993
+ },
35994
+ "6": {
35995
+ start: {
35996
+ line: 28,
35997
+ column: 8
35998
+ },
35999
+ end: {
36000
+ line: 28,
36001
+ column: 44
36002
+ }
36003
+ },
36004
+ "7": {
36005
+ start: {
36006
+ line: 29,
36007
+ column: 8
36008
+ },
36009
+ end: {
36010
+ line: 29,
36011
+ column: 47
36012
+ }
36013
+ },
36014
+ "8": {
36015
+ start: {
36016
+ line: 31,
36017
+ column: 21
36018
+ },
36019
+ end: {
36020
+ line: 31,
36021
+ column: 44
36022
+ }
36023
+ },
36024
+ "9": {
36025
+ start: {
36026
+ line: 42,
36027
+ column: 12
36028
+ },
36029
+ end: {
36030
+ line: 42,
36031
+ column: 36
36032
+ }
36033
+ },
36034
+ "10": {
36035
+ start: {
36036
+ line: 43,
36037
+ column: 12
36038
+ },
36039
+ end: {
36040
+ line: 43,
36041
+ column: 35
36042
+ }
36043
+ }
36044
+ },
36045
+ fnMap: {
36046
+ "0": {
36047
+ name: "(anonymous_0)",
36048
+ decl: {
36049
+ start: {
36050
+ line: 9,
36051
+ column: 19
36052
+ },
36053
+ end: {
36054
+ line: 9,
36055
+ column: 20
36056
+ }
36057
+ },
36058
+ loc: {
36059
+ start: {
36060
+ line: 9,
36061
+ column: 66
36062
+ },
36063
+ end: {
36064
+ line: 49,
36065
+ column: 1
36066
+ }
36067
+ },
36068
+ line: 9
36069
+ },
36070
+ "1": {
36071
+ name: "(anonymous_1)",
36072
+ decl: {
36073
+ start: {
36074
+ line: 12,
36075
+ column: 4
36076
+ },
36077
+ end: {
36078
+ line: 12,
36079
+ column: 5
36080
+ }
36081
+ },
36082
+ loc: {
36083
+ start: {
36084
+ line: 12,
36085
+ column: 10
36086
+ },
36087
+ end: {
36088
+ line: 12,
36089
+ column: 32
36090
+ }
36091
+ },
36092
+ line: 12
36093
+ },
36094
+ "2": {
36095
+ name: "(anonymous_2)",
36096
+ decl: {
36097
+ start: {
36098
+ line: 18,
36099
+ column: 4
36100
+ },
36101
+ end: {
36102
+ line: 18,
36103
+ column: 5
36104
+ }
36105
+ },
36106
+ loc: {
36107
+ start: {
36108
+ line: 18,
36109
+ column: 10
36110
+ },
36111
+ end: {
36112
+ line: 18,
36113
+ column: 33
36114
+ }
36115
+ },
36116
+ line: 18
36117
+ },
36118
+ "3": {
36119
+ name: "(anonymous_3)",
36120
+ decl: {
36121
+ start: {
36122
+ line: 27,
36123
+ column: 11
36124
+ },
36125
+ end: {
36126
+ line: 27,
36127
+ column: 12
36128
+ }
36129
+ },
36130
+ loc: {
36131
+ start: {
36132
+ line: 27,
36133
+ column: 19
36134
+ },
36135
+ end: {
36136
+ line: 30,
36137
+ column: 7
36138
+ }
36139
+ },
36140
+ line: 27
36141
+ },
36142
+ "4": {
36143
+ name: "(anonymous_4)",
36144
+ decl: {
36145
+ start: {
36146
+ line: 31,
36147
+ column: 15
36148
+ },
36149
+ end: {
36150
+ line: 31,
36151
+ column: 16
36152
+ }
36153
+ },
36154
+ loc: {
36155
+ start: {
36156
+ line: 31,
36157
+ column: 21
36158
+ },
36159
+ end: {
36160
+ line: 31,
36161
+ column: 44
36162
+ }
36163
+ },
36164
+ line: 31
36165
+ },
36166
+ "5": {
36167
+ name: "(anonymous_5)",
36168
+ decl: {
36169
+ start: {
36170
+ line: 41,
36171
+ column: 19
36172
+ },
36173
+ end: {
36174
+ line: 41,
36175
+ column: 20
36176
+ }
36177
+ },
36178
+ loc: {
36179
+ start: {
36180
+ line: 41,
36181
+ column: 28
36182
+ },
36183
+ end: {
36184
+ line: 44,
36185
+ column: 11
36186
+ }
36187
+ },
36188
+ line: 41
36189
+ }
36190
+ },
36191
+ branchMap: {},
36192
+ s: {
36193
+ "0": 0,
36194
+ "1": 0,
36195
+ "2": 0,
36196
+ "3": 0,
36197
+ "4": 0,
36198
+ "5": 0,
36199
+ "6": 0,
36200
+ "7": 0,
36201
+ "8": 0,
36202
+ "9": 0,
36203
+ "10": 0
36204
+ },
36205
+ f: {
36206
+ "0": 0,
36207
+ "1": 0,
36208
+ "2": 0,
36209
+ "3": 0,
36210
+ "4": 0,
36211
+ "5": 0
36212
+ },
36213
+ b: {},
36214
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
36215
+ hash: "fe5d9d9e242aa9c111c9bffe9543756050d11d2f"
36216
+ };
36217
+ var coverage = global[gcv] || (global[gcv] = {});
36218
+ if (!coverage[path] || coverage[path].hash !== hash) {
36219
+ coverage[path] = coverageData;
36220
+ }
36221
+ var actualCoverage = coverage[path];
36222
+ {
36223
+ // @ts-ignore
36224
+ cov_1zv3ink1zs = function () {
36225
+ return actualCoverage;
36226
+ };
36227
+ }
36228
+ return actualCoverage;
36229
+ }
36230
+ cov_1zv3ink1zs();
36231
+ cov_1zv3ink1zs().s[0]++;
36232
+ var ChildBlock = function ChildBlock(_ref) {
36233
+ var childKey = _ref.childKey,
36234
+ setIsPaneOpen = _ref.setIsPaneOpen,
36235
+ handleDelete = _ref.handleDelete;
36236
+ cov_1zv3ink1zs().f[0]++;
36237
+ var deleteBlockHotKeyRef = (cov_1zv3ink1zs().s[1]++, useHotKeys(SHORTCUTS.deleteBlock.sequence, function () {
36238
+ cov_1zv3ink1zs().f[1]++;
36239
+ cov_1zv3ink1zs().s[2]++;
36240
+ return handleDelete(childKey);
36241
+ }, {
36242
+ mode: "scoped"
36243
+ }));
36244
+ var openFilterPaneHotKeyRef = (cov_1zv3ink1zs().s[3]++, useHotKeys(SHORTCUTS.openFilterPane.sequence, function () {
36245
+ cov_1zv3ink1zs().f[2]++;
36246
+ cov_1zv3ink1zs().s[4]++;
36247
+ return setIsPaneOpen(childKey);
36248
+ }, {
36249
+ mode: "scoped"
36250
+ }));
36251
+ cov_1zv3ink1zs().s[5]++;
36252
+ return /*#__PURE__*/t__default["default"].createElement("div", {
36253
+ className: "neeto-filters-bar__block",
36254
+ "data-cy": "neeto-filters-".concat(childKey, "-block"),
36255
+ tabIndex: 0,
36256
+ ref: function ref(node) {
36257
+ cov_1zv3ink1zs().f[3]++;
36258
+ cov_1zv3ink1zs().s[6]++;
36259
+ deleteBlockHotKeyRef.current = node;
36260
+ cov_1zv3ink1zs().s[7]++;
36261
+ openFilterPaneHotKeyRef.current = node;
36262
+ },
36263
+ onClick: function onClick() {
36264
+ cov_1zv3ink1zs().f[4]++;
36265
+ cov_1zv3ink1zs().s[8]++;
36266
+ return setIsPaneOpen(childKey);
36267
+ }
36268
+ }, /*#__PURE__*/t__default["default"].createElement(neetoui.Typography, {
36269
+ style: "body2",
36270
+ weight: "medium"
36271
+ }, childKey), /*#__PURE__*/t__default["default"].createElement("div", {
36272
+ className: "neeto-filters-bar__block-close"
36273
+ }, /*#__PURE__*/t__default["default"].createElement(neetoIcons.Close, {
36274
+ "data-cy": "neeto-filters-".concat(childKey, "-block-close-btn"),
36275
+ size: 16,
36276
+ strokeWidth: 2,
36277
+ onClick: function onClick(event) {
36278
+ cov_1zv3ink1zs().f[5]++;
36279
+ cov_1zv3ink1zs().s[9]++;
36280
+ event.stopPropagation();
36281
+ cov_1zv3ink1zs().s[10]++;
36282
+ handleDelete(childKey);
36283
+ }
36284
+ })));
36285
+ };
36286
+
35926
36287
  function e$1(e,t){for(var s=0;s<t.length;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i);}}new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.overlays=[],this.previouslyFocusedElements=[],this.add=this.add.bind(this),this.remove=this.remove.bind(this),this.isTopOverlay=this.isTopOverlay.bind(this),this.hasOverlays=this.hasOverlays.bind(this),this.getFinalFocusInOverlay=this.getFinalFocusInOverlay.bind(this),this.getTopMostOverlay=this.getTopMostOverlay.bind(this);}var s,i;return s=t,(i=[{key:"add",value:function(e,t){this.overlays.push(e),this.previouslyFocusedElements.push(t);}},{key:"remove",value:function(e){this.overlays=this.overlays.filter((function(t){return t!==e}));}},{key:"isTopOverlay",value:function(e){return this.overlays[this.overlays.length-1]===e}},{key:"hasOverlays",value:function(){return this.overlays.length>0}},{key:"getFinalFocusInOverlay",value:function(){return this.previouslyFocusedElements.pop()}},{key:"getTopMostOverlay",value:function(){return this.overlays[this.overlays.length-1]}}])&&e$1(s.prototype,i),Object.defineProperty(s,"prototype",{writable:!1}),t}());
35927
36288
 
35928
36289
  function k$1(){return k$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e},k$1.apply(this,arguments)}var P$1,A$1={exports:{}};
@@ -37776,7 +38137,7 @@ var Segment = function Segment(_ref2) {
37776
38137
 
37777
38138
  function cov_1jyxy15ds3() {
37778
38139
  var path = "/home/runner/work/neeto-filters-frontend/neeto-filters-frontend/src/components/Bar/index.jsx";
37779
- var hash = "d84097ebe2b4c00473ece75fee6b84b8d7524469";
38140
+ var hash = "513c5fef581a1f26ee7e3a240d2a23468af80a8c";
37780
38141
  var global = new Function("return this")();
37781
38142
  var gcv = "__coverage__";
37782
38143
  var coverageData = {
@@ -37784,302 +38145,382 @@ function cov_1jyxy15ds3() {
37784
38145
  statementMap: {
37785
38146
  "0": {
37786
38147
  start: {
37787
- line: 15,
38148
+ line: 16,
37788
38149
  column: 12
37789
38150
  },
37790
38151
  end: {
37791
- line: 109,
38152
+ line: 132,
37792
38153
  column: 1
37793
38154
  }
37794
38155
  },
37795
38156
  "1": {
37796
38157
  start: {
37797
38158
  line: 24,
37798
- column: 24
38159
+ column: 23
37799
38160
  },
37800
38161
  end: {
37801
- line: 30,
37802
- column: 3
38162
+ line: 24,
38163
+ column: 66
37803
38164
  }
37804
38165
  },
37805
38166
  "2": {
37806
38167
  start: {
37807
- line: 32,
37808
- column: 18
38168
+ line: 25,
38169
+ column: 24
37809
38170
  },
37810
38171
  end: {
37811
- line: 34,
38172
+ line: 31,
37812
38173
  column: 3
37813
38174
  }
37814
38175
  },
37815
38176
  "3": {
37816
38177
  start: {
37817
- line: 35,
37818
- column: 27
38178
+ line: 33,
38179
+ column: 18
37819
38180
  },
37820
38181
  end: {
37821
38182
  line: 35,
37822
- column: 62
38183
+ column: 3
37823
38184
  }
37824
38185
  },
37825
38186
  "4": {
37826
38187
  start: {
37827
38188
  line: 36,
37828
- column: 18
38189
+ column: 27
37829
38190
  },
37830
38191
  end: {
37831
38192
  line: 36,
37832
- column: 30
38193
+ column: 62
37833
38194
  }
37834
38195
  },
37835
38196
  "5": {
37836
38197
  start: {
37837
38198
  line: 37,
37838
- column: 16
38199
+ column: 18
37839
38200
  },
37840
38201
  end: {
37841
38202
  line: 37,
37842
- column: 32
38203
+ column: 30
37843
38204
  }
37844
38205
  },
37845
38206
  "6": {
37846
38207
  start: {
37847
- line: 39,
37848
- column: 2
38208
+ line: 38,
38209
+ column: 16
37849
38210
  },
37850
38211
  end: {
37851
- line: 45,
37852
- column: 22
38212
+ line: 38,
38213
+ column: 32
37853
38214
  }
37854
38215
  },
37855
38216
  "7": {
37856
38217
  start: {
37857
38218
  line: 40,
37858
- column: 20
38219
+ column: 2
37859
38220
  },
37860
38221
  end: {
37861
- line: 42,
37862
- column: 11
38222
+ line: 46,
38223
+ column: 22
37863
38224
  }
37864
38225
  },
37865
38226
  "8": {
37866
38227
  start: {
37867
38228
  line: 41,
38229
+ column: 20
38230
+ },
38231
+ end: {
38232
+ line: 43,
38233
+ column: 11
38234
+ }
38235
+ },
38236
+ "9": {
38237
+ start: {
38238
+ line: 42,
37868
38239
  column: 6
37869
38240
  },
37870
38241
  end: {
37871
- line: 41,
38242
+ line: 42,
37872
38243
  column: 28
37873
38244
  }
37874
38245
  },
37875
- "9": {
38246
+ "10": {
37876
38247
  start: {
37877
- line: 44,
38248
+ line: 45,
37878
38249
  column: 4
37879
38250
  },
37880
38251
  end: {
37881
- line: 44,
38252
+ line: 45,
37882
38253
  column: 39
37883
38254
  }
37884
38255
  },
37885
- "10": {
38256
+ "11": {
37886
38257
  start: {
37887
- line: 44,
38258
+ line: 45,
37888
38259
  column: 17
37889
38260
  },
37890
38261
  end: {
37891
- line: 44,
38262
+ line: 45,
37892
38263
  column: 38
37893
38264
  }
37894
38265
  },
37895
- "11": {
38266
+ "12": {
37896
38267
  start: {
37897
- line: 47,
38268
+ line: 48,
37898
38269
  column: 23
37899
38270
  },
37900
38271
  end: {
37901
- line: 58,
38272
+ line: 59,
37902
38273
  column: 3
37903
38274
  }
37904
38275
  },
37905
- "12": {
38276
+ "13": {
37906
38277
  start: {
37907
- line: 48,
38278
+ line: 49,
37908
38279
  column: 19
37909
38280
  },
37910
38281
  end: {
37911
- line: 56,
38282
+ line: 57,
37912
38283
  column: 6
37913
38284
  }
37914
38285
  },
37915
- "13": {
38286
+ "14": {
37916
38287
  start: {
37917
- line: 57,
38288
+ line: 58,
37918
38289
  column: 4
37919
38290
  },
37920
38291
  end: {
37921
- line: 57,
38292
+ line: 58,
37922
38293
  column: 37
37923
38294
  }
37924
38295
  },
37925
- "14": {
38296
+ "15": {
37926
38297
  start: {
37927
- line: 60,
38298
+ line: 61,
37928
38299
  column: 23
37929
38300
  },
37930
38301
  end: {
37931
- line: 67,
38302
+ line: 74,
37932
38303
  column: 3
37933
38304
  }
37934
38305
  },
37935
- "15": {
38306
+ "16": {
37936
38307
  start: {
37937
- line: 61,
38308
+ line: 62,
37938
38309
  column: 4
37939
38310
  },
37940
38311
  end: {
37941
- line: 64,
38312
+ line: 65,
37942
38313
  column: 5
37943
38314
  }
37944
38315
  },
37945
- "16": {
38316
+ "17": {
37946
38317
  start: {
37947
- line: 62,
38318
+ line: 63,
37948
38319
  column: 6
37949
38320
  },
37950
38321
  end: {
37951
- line: 62,
38322
+ line: 63,
37952
38323
  column: 27
37953
38324
  }
37954
38325
  },
37955
- "17": {
38326
+ "18": {
37956
38327
  start: {
37957
- line: 63,
38328
+ line: 64,
37958
38329
  column: 6
37959
38330
  },
37960
38331
  end: {
37961
- line: 63,
38332
+ line: 64,
37962
38333
  column: 25
37963
38334
  }
37964
38335
  },
37965
- "18": {
38336
+ "19": {
37966
38337
  start: {
37967
- line: 65,
38338
+ line: 67,
38339
+ column: 4
38340
+ },
38341
+ end: {
38342
+ line: 70,
38343
+ column: 5
38344
+ }
38345
+ },
38346
+ "20": {
38347
+ start: {
38348
+ line: 68,
38349
+ column: 6
38350
+ },
38351
+ end: {
38352
+ line: 68,
38353
+ column: 31
38354
+ }
38355
+ },
38356
+ "21": {
38357
+ start: {
38358
+ line: 69,
38359
+ column: 6
38360
+ },
38361
+ end: {
38362
+ line: 69,
38363
+ column: 56
38364
+ }
38365
+ },
38366
+ "22": {
38367
+ start: {
38368
+ line: 72,
37968
38369
  column: 23
37969
38370
  },
37970
38371
  end: {
37971
- line: 65,
38372
+ line: 72,
37972
38373
  column: 49
37973
38374
  }
37974
38375
  },
37975
- "19": {
38376
+ "23": {
37976
38377
  start: {
37977
- line: 66,
38378
+ line: 73,
37978
38379
  column: 4
37979
38380
  },
37980
38381
  end: {
37981
- line: 66,
38382
+ line: 73,
37982
38383
  column: 29
37983
38384
  }
37984
38385
  },
37985
- "20": {
38386
+ "24": {
37986
38387
  start: {
37987
- line: 69,
38388
+ line: 76,
37988
38389
  column: 25
37989
38390
  },
37990
38391
  end: {
37991
- line: 73,
38392
+ line: 80,
37992
38393
  column: 3
37993
38394
  }
37994
38395
  },
37995
- "21": {
38396
+ "25": {
37996
38397
  start: {
37997
- line: 70,
38398
+ line: 77,
37998
38399
  column: 4
37999
38400
  },
38000
38401
  end: {
38001
- line: 70,
38402
+ line: 77,
38002
38403
  column: 25
38003
38404
  }
38004
38405
  },
38005
- "22": {
38406
+ "26": {
38006
38407
  start: {
38007
- line: 71,
38408
+ line: 78,
38008
38409
  column: 4
38009
38410
  },
38010
38411
  end: {
38011
- line: 71,
38412
+ line: 78,
38012
38413
  column: 23
38013
38414
  }
38014
38415
  },
38015
- "23": {
38416
+ "27": {
38016
38417
  start: {
38017
- line: 72,
38418
+ line: 79,
38018
38419
  column: 4
38019
38420
  },
38020
38421
  end: {
38021
- line: 72,
38422
+ line: 79,
38022
38423
  column: 27
38023
38424
  }
38024
38425
  },
38025
- "24": {
38426
+ "28": {
38026
38427
  start: {
38027
- line: 75,
38028
- column: 26
38428
+ line: 82,
38429
+ column: 33
38029
38430
  },
38030
38431
  end: {
38031
- line: 77,
38432
+ line: 84,
38032
38433
  column: 3
38033
38434
  }
38034
38435
  },
38035
- "25": {
38436
+ "29": {
38036
38437
  start: {
38037
- line: 76,
38038
- column: 39
38438
+ line: 83,
38439
+ column: 4
38039
38440
  },
38040
38441
  end: {
38041
- line: 76,
38042
- column: 67
38442
+ line: 83,
38443
+ column: 25
38444
+ }
38445
+ },
38446
+ "30": {
38447
+ start: {
38448
+ line: 87,
38449
+ column: 4
38450
+ },
38451
+ end: {
38452
+ line: 89,
38453
+ column: 32
38454
+ }
38455
+ },
38456
+ "31": {
38457
+ start: {
38458
+ line: 88,
38459
+ column: 41
38460
+ },
38461
+ end: {
38462
+ line: 88,
38463
+ column: 69
38464
+ }
38465
+ },
38466
+ "32": {
38467
+ start: {
38468
+ line: 91,
38469
+ column: 2
38470
+ },
38471
+ end: {
38472
+ line: 91,
38473
+ column: 72
38474
+ }
38475
+ },
38476
+ "33": {
38477
+ start: {
38478
+ line: 91,
38479
+ column: 60
38480
+ },
38481
+ end: {
38482
+ line: 91,
38483
+ column: 72
38043
38484
  }
38044
38485
  },
38045
- "26": {
38486
+ "34": {
38046
38487
  start: {
38047
- line: 79,
38488
+ line: 93,
38048
38489
  column: 2
38049
38490
  },
38050
38491
  end: {
38051
- line: 79,
38052
- column: 45
38492
+ line: 131,
38493
+ column: 4
38053
38494
  }
38054
38495
  },
38055
- "27": {
38496
+ "35": {
38056
38497
  start: {
38057
- line: 79,
38058
- column: 33
38498
+ line: 98,
38499
+ column: 8
38059
38500
  },
38060
38501
  end: {
38061
- line: 79,
38062
- column: 45
38502
+ line: 105,
38503
+ column: 25
38063
38504
  }
38064
38505
  },
38065
- "28": {
38506
+ "36": {
38066
38507
  start: {
38067
- line: 81,
38068
- column: 2
38508
+ line: 108,
38509
+ column: 28
38069
38510
  },
38070
38511
  end: {
38071
38512
  line: 108,
38072
- column: 4
38513
+ column: 54
38073
38514
  }
38074
38515
  },
38075
- "29": {
38516
+ "37": {
38076
38517
  start: {
38077
- line: 86,
38078
- column: 8
38518
+ line: 110,
38519
+ column: 10
38079
38520
  },
38080
38521
  end: {
38081
- line: 93,
38082
- column: 25
38522
+ line: 117,
38523
+ column: 27
38083
38524
  }
38084
38525
  }
38085
38526
  },
@@ -38088,11 +38529,11 @@ function cov_1jyxy15ds3() {
38088
38529
  name: "(anonymous_0)",
38089
38530
  decl: {
38090
38531
  start: {
38091
- line: 15,
38532
+ line: 16,
38092
38533
  column: 12
38093
38534
  },
38094
38535
  end: {
38095
- line: 15,
38536
+ line: 16,
38096
38537
  column: 13
38097
38538
  }
38098
38539
  },
@@ -38102,7 +38543,7 @@ function cov_1jyxy15ds3() {
38102
38543
  column: 6
38103
38544
  },
38104
38545
  end: {
38105
- line: 109,
38546
+ line: 132,
38106
38547
  column: 1
38107
38548
  }
38108
38549
  },
@@ -38112,410 +38553,482 @@ function cov_1jyxy15ds3() {
38112
38553
  name: "(anonymous_1)",
38113
38554
  decl: {
38114
38555
  start: {
38115
- line: 39,
38556
+ line: 40,
38116
38557
  column: 12
38117
38558
  },
38118
38559
  end: {
38119
- line: 39,
38560
+ line: 40,
38120
38561
  column: 13
38121
38562
  }
38122
38563
  },
38123
38564
  loc: {
38124
38565
  start: {
38125
- line: 39,
38566
+ line: 40,
38126
38567
  column: 18
38127
38568
  },
38128
38569
  end: {
38129
- line: 45,
38570
+ line: 46,
38130
38571
  column: 3
38131
38572
  }
38132
38573
  },
38133
- line: 39
38574
+ line: 40
38134
38575
  },
38135
38576
  "2": {
38136
38577
  name: "(anonymous_2)",
38137
38578
  decl: {
38138
38579
  start: {
38139
- line: 40,
38580
+ line: 41,
38140
38581
  column: 31
38141
38582
  },
38142
38583
  end: {
38143
- line: 40,
38584
+ line: 41,
38144
38585
  column: 32
38145
38586
  }
38146
38587
  },
38147
38588
  loc: {
38148
38589
  start: {
38149
- line: 40,
38590
+ line: 41,
38150
38591
  column: 37
38151
38592
  },
38152
38593
  end: {
38153
- line: 42,
38594
+ line: 43,
38154
38595
  column: 5
38155
38596
  }
38156
38597
  },
38157
- line: 40
38598
+ line: 41
38158
38599
  },
38159
38600
  "3": {
38160
38601
  name: "(anonymous_3)",
38161
38602
  decl: {
38162
38603
  start: {
38163
- line: 44,
38604
+ line: 45,
38164
38605
  column: 11
38165
38606
  },
38166
38607
  end: {
38167
- line: 44,
38608
+ line: 45,
38168
38609
  column: 12
38169
38610
  }
38170
38611
  },
38171
38612
  loc: {
38172
38613
  start: {
38173
- line: 44,
38614
+ line: 45,
38174
38615
  column: 17
38175
38616
  },
38176
38617
  end: {
38177
- line: 44,
38618
+ line: 45,
38178
38619
  column: 38
38179
38620
  }
38180
38621
  },
38181
- line: 44
38622
+ line: 45
38182
38623
  },
38183
38624
  "4": {
38184
38625
  name: "(anonymous_4)",
38185
38626
  decl: {
38186
38627
  start: {
38187
- line: 47,
38628
+ line: 48,
38188
38629
  column: 23
38189
38630
  },
38190
38631
  end: {
38191
- line: 47,
38632
+ line: 48,
38192
38633
  column: 24
38193
38634
  }
38194
38635
  },
38195
38636
  loc: {
38196
38637
  start: {
38197
- line: 47,
38638
+ line: 48,
38198
38639
  column: 51
38199
38640
  },
38200
38641
  end: {
38201
- line: 58,
38642
+ line: 59,
38202
38643
  column: 3
38203
38644
  }
38204
38645
  },
38205
- line: 47
38646
+ line: 48
38206
38647
  },
38207
38648
  "5": {
38208
38649
  name: "(anonymous_5)",
38209
38650
  decl: {
38210
38651
  start: {
38211
- line: 60,
38652
+ line: 61,
38212
38653
  column: 23
38213
38654
  },
38214
38655
  end: {
38215
- line: 60,
38656
+ line: 61,
38216
38657
  column: 24
38217
38658
  }
38218
38659
  },
38219
38660
  loc: {
38220
38661
  start: {
38221
- line: 60,
38662
+ line: 61,
38222
38663
  column: 30
38223
38664
  },
38224
38665
  end: {
38225
- line: 67,
38666
+ line: 74,
38226
38667
  column: 3
38227
38668
  }
38228
38669
  },
38229
- line: 60
38670
+ line: 61
38230
38671
  },
38231
38672
  "6": {
38232
38673
  name: "(anonymous_6)",
38233
38674
  decl: {
38234
38675
  start: {
38235
- line: 69,
38676
+ line: 76,
38236
38677
  column: 25
38237
38678
  },
38238
38679
  end: {
38239
- line: 69,
38680
+ line: 76,
38240
38681
  column: 26
38241
38682
  }
38242
38683
  },
38243
38684
  loc: {
38244
38685
  start: {
38245
- line: 69,
38686
+ line: 76,
38246
38687
  column: 31
38247
38688
  },
38248
38689
  end: {
38249
- line: 73,
38690
+ line: 80,
38250
38691
  column: 3
38251
38692
  }
38252
38693
  },
38253
- line: 69
38694
+ line: 76
38254
38695
  },
38255
38696
  "7": {
38256
38697
  name: "(anonymous_7)",
38257
38698
  decl: {
38258
38699
  start: {
38259
- line: 76,
38260
- column: 4
38700
+ line: 82,
38701
+ column: 51
38261
38702
  },
38262
38703
  end: {
38263
- line: 76,
38264
- column: 5
38704
+ line: 82,
38705
+ column: 52
38265
38706
  }
38266
38707
  },
38267
38708
  loc: {
38268
38709
  start: {
38269
- line: 76,
38270
- column: 39
38710
+ line: 83,
38711
+ column: 4
38271
38712
  },
38272
38713
  end: {
38273
- line: 76,
38274
- column: 67
38714
+ line: 83,
38715
+ column: 25
38275
38716
  }
38276
38717
  },
38277
- line: 76
38718
+ line: 83
38278
38719
  },
38279
38720
  "8": {
38280
38721
  name: "(anonymous_8)",
38281
38722
  decl: {
38282
38723
  start: {
38283
- line: 85,
38724
+ line: 88,
38725
+ column: 6
38726
+ },
38727
+ end: {
38728
+ line: 88,
38729
+ column: 7
38730
+ }
38731
+ },
38732
+ loc: {
38733
+ start: {
38734
+ line: 88,
38735
+ column: 41
38736
+ },
38737
+ end: {
38738
+ line: 88,
38739
+ column: 69
38740
+ }
38741
+ },
38742
+ line: 88
38743
+ },
38744
+ "9": {
38745
+ name: "(anonymous_9)",
38746
+ decl: {
38747
+ start: {
38748
+ line: 97,
38284
38749
  column: 28
38285
38750
  },
38286
38751
  end: {
38287
- line: 85,
38752
+ line: 97,
38288
38753
  column: 29
38289
38754
  }
38290
38755
  },
38291
38756
  loc: {
38292
38757
  start: {
38293
- line: 86,
38758
+ line: 98,
38294
38759
  column: 8
38295
38760
  },
38296
38761
  end: {
38297
- line: 93,
38762
+ line: 105,
38298
38763
  column: 25
38299
38764
  }
38300
38765
  },
38301
- line: 86
38766
+ line: 98
38767
+ },
38768
+ "10": {
38769
+ name: "(anonymous_10)",
38770
+ decl: {
38771
+ start: {
38772
+ line: 108,
38773
+ column: 16
38774
+ },
38775
+ end: {
38776
+ line: 108,
38777
+ column: 17
38778
+ }
38779
+ },
38780
+ loc: {
38781
+ start: {
38782
+ line: 108,
38783
+ column: 28
38784
+ },
38785
+ end: {
38786
+ line: 108,
38787
+ column: 54
38788
+ }
38789
+ },
38790
+ line: 108
38791
+ },
38792
+ "11": {
38793
+ name: "(anonymous_11)",
38794
+ decl: {
38795
+ start: {
38796
+ line: 109,
38797
+ column: 13
38798
+ },
38799
+ end: {
38800
+ line: 109,
38801
+ column: 14
38802
+ }
38803
+ },
38804
+ loc: {
38805
+ start: {
38806
+ line: 110,
38807
+ column: 10
38808
+ },
38809
+ end: {
38810
+ line: 117,
38811
+ column: 27
38812
+ }
38813
+ },
38814
+ line: 110
38302
38815
  }
38303
38816
  },
38304
38817
  branchMap: {
38305
38818
  "0": {
38306
38819
  loc: {
38307
38820
  start: {
38308
- line: 18,
38821
+ line: 19,
38309
38822
  column: 2
38310
38823
  },
38311
38824
  end: {
38312
- line: 18,
38825
+ line: 19,
38313
38826
  column: 14
38314
38827
  }
38315
38828
  },
38316
38829
  type: "default-arg",
38317
38830
  locations: [{
38318
38831
  start: {
38319
- line: 18,
38832
+ line: 19,
38320
38833
  column: 12
38321
38834
  },
38322
38835
  end: {
38323
- line: 18,
38836
+ line: 19,
38324
38837
  column: 14
38325
38838
  }
38326
38839
  }],
38327
- line: 18
38840
+ line: 19
38328
38841
  },
38329
38842
  "1": {
38330
38843
  loc: {
38331
38844
  start: {
38332
- line: 19,
38845
+ line: 20,
38333
38846
  column: 2
38334
38847
  },
38335
38848
  end: {
38336
- line: 19,
38849
+ line: 20,
38337
38850
  column: 51
38338
38851
  }
38339
38852
  },
38340
38853
  type: "default-arg",
38341
38854
  locations: [{
38342
38855
  start: {
38343
- line: 19,
38856
+ line: 20,
38344
38857
  column: 12
38345
38858
  },
38346
38859
  end: {
38347
- line: 19,
38860
+ line: 20,
38348
38861
  column: 51
38349
38862
  }
38350
38863
  }],
38351
- line: 19
38864
+ line: 20
38352
38865
  },
38353
38866
  "2": {
38354
38867
  loc: {
38355
38868
  start: {
38356
- line: 20,
38869
+ line: 21,
38357
38870
  column: 2
38358
38871
  },
38359
38872
  end: {
38360
- line: 20,
38873
+ line: 21,
38361
38874
  column: 26
38362
38875
  }
38363
38876
  },
38364
38877
  type: "default-arg",
38365
38878
  locations: [{
38366
38879
  start: {
38367
- line: 20,
38880
+ line: 21,
38368
38881
  column: 18
38369
38882
  },
38370
38883
  end: {
38371
- line: 20,
38884
+ line: 21,
38372
38885
  column: 26
38373
38886
  }
38374
38887
  }],
38375
- line: 20
38888
+ line: 21
38376
38889
  },
38377
38890
  "3": {
38378
38891
  loc: {
38379
38892
  start: {
38380
- line: 21,
38893
+ line: 22,
38381
38894
  column: 2
38382
38895
  },
38383
38896
  end: {
38384
- line: 21,
38897
+ line: 22,
38385
38898
  column: 19
38386
38899
  }
38387
38900
  },
38388
38901
  type: "default-arg",
38389
38902
  locations: [{
38390
38903
  start: {
38391
- line: 21,
38904
+ line: 22,
38392
38905
  column: 17
38393
38906
  },
38394
38907
  end: {
38395
- line: 21,
38908
+ line: 22,
38396
38909
  column: 19
38397
38910
  }
38398
38911
  }],
38399
- line: 21
38912
+ line: 22
38400
38913
  },
38401
38914
  "4": {
38402
38915
  loc: {
38403
38916
  start: {
38404
- line: 33,
38917
+ line: 34,
38405
38918
  column: 4
38406
38919
  },
38407
38920
  end: {
38408
- line: 33,
38921
+ line: 34,
38409
38922
  column: 64
38410
38923
  }
38411
38924
  },
38412
38925
  type: "cond-expr",
38413
38926
  locations: [{
38414
38927
  start: {
38415
- line: 33,
38928
+ line: 34,
38416
38929
  column: 27
38417
38930
  },
38418
38931
  end: {
38419
- line: 33,
38932
+ line: 34,
38420
38933
  column: 54
38421
38934
  }
38422
38935
  }, {
38423
38936
  start: {
38424
- line: 33,
38937
+ line: 34,
38425
38938
  column: 57
38426
38939
  },
38427
38940
  end: {
38428
- line: 33,
38941
+ line: 34,
38429
38942
  column: 64
38430
38943
  }
38431
38944
  }],
38432
- line: 33
38945
+ line: 34
38433
38946
  },
38434
38947
  "5": {
38435
38948
  loc: {
38436
38949
  start: {
38437
- line: 51,
38950
+ line: 52,
38438
38951
  column: 8
38439
38952
  },
38440
38953
  end: {
38441
- line: 51,
38954
+ line: 52,
38442
38955
  column: 74
38443
38956
  }
38444
38957
  },
38445
38958
  type: "cond-expr",
38446
38959
  locations: [{
38447
38960
  start: {
38448
- line: 51,
38961
+ line: 52,
38449
38962
  column: 31
38450
38963
  },
38451
38964
  end: {
38452
- line: 51,
38965
+ line: 52,
38453
38966
  column: 61
38454
38967
  }
38455
38968
  }, {
38456
38969
  start: {
38457
- line: 51,
38970
+ line: 52,
38458
38971
  column: 64
38459
38972
  },
38460
38973
  end: {
38461
- line: 51,
38974
+ line: 52,
38462
38975
  column: 74
38463
38976
  }
38464
38977
  }],
38465
- line: 51
38978
+ line: 52
38466
38979
  },
38467
38980
  "6": {
38468
38981
  loc: {
38469
38982
  start: {
38470
- line: 52,
38983
+ line: 53,
38471
38984
  column: 10
38472
38985
  },
38473
38986
  end: {
38474
- line: 55,
38987
+ line: 56,
38475
38988
  column: 7
38476
38989
  }
38477
38990
  },
38478
38991
  type: "binary-expr",
38479
38992
  locations: [{
38480
38993
  start: {
38481
- line: 52,
38994
+ line: 53,
38482
38995
  column: 10
38483
38996
  },
38484
38997
  end: {
38485
- line: 52,
38998
+ line: 53,
38486
38999
  column: 20
38487
39000
  }
38488
39001
  }, {
38489
39002
  start: {
38490
- line: 52,
39003
+ line: 53,
38491
39004
  column: 24
38492
39005
  },
38493
39006
  end: {
38494
- line: 55,
39007
+ line: 56,
38495
39008
  column: 7
38496
39009
  }
38497
39010
  }],
38498
- line: 52
39011
+ line: 53
38499
39012
  },
38500
39013
  "7": {
38501
39014
  loc: {
38502
39015
  start: {
38503
- line: 61,
39016
+ line: 62,
38504
39017
  column: 4
38505
39018
  },
38506
39019
  end: {
38507
- line: 64,
39020
+ line: 65,
38508
39021
  column: 5
38509
39022
  }
38510
39023
  },
38511
39024
  type: "if",
38512
39025
  locations: [{
38513
39026
  start: {
38514
- line: 61,
39027
+ line: 62,
38515
39028
  column: 4
38516
39029
  },
38517
39030
  end: {
38518
- line: 64,
39031
+ line: 65,
38519
39032
  column: 5
38520
39033
  }
38521
39034
  }, {
@@ -38528,61 +39041,127 @@ function cov_1jyxy15ds3() {
38528
39041
  column: undefined
38529
39042
  }
38530
39043
  }],
38531
- line: 61
39044
+ line: 62
38532
39045
  },
38533
39046
  "8": {
38534
39047
  loc: {
38535
39048
  start: {
38536
- line: 76,
38537
- column: 39
39049
+ line: 67,
39050
+ column: 4
38538
39051
  },
38539
39052
  end: {
38540
- line: 76,
38541
- column: 67
39053
+ line: 70,
39054
+ column: 5
38542
39055
  }
38543
39056
  },
38544
- type: "binary-expr",
39057
+ type: "if",
38545
39058
  locations: [{
38546
39059
  start: {
38547
- line: 76,
38548
- column: 39
39060
+ line: 67,
39061
+ column: 4
38549
39062
  },
38550
39063
  end: {
38551
- line: 76,
38552
- column: 51
39064
+ line: 70,
39065
+ column: 5
38553
39066
  }
38554
39067
  }, {
38555
39068
  start: {
38556
- line: 76,
38557
- column: 55
39069
+ line: undefined,
39070
+ column: undefined
38558
39071
  },
38559
39072
  end: {
38560
- line: 76,
38561
- column: 67
39073
+ line: undefined,
39074
+ column: undefined
38562
39075
  }
38563
39076
  }],
38564
- line: 76
39077
+ line: 67
38565
39078
  },
38566
39079
  "9": {
38567
39080
  loc: {
38568
39081
  start: {
38569
- line: 79,
39082
+ line: 87,
39083
+ column: 4
39084
+ },
39085
+ end: {
39086
+ line: 89,
39087
+ column: 32
39088
+ }
39089
+ },
39090
+ type: "binary-expr",
39091
+ locations: [{
39092
+ start: {
39093
+ line: 87,
39094
+ column: 4
39095
+ },
39096
+ end: {
39097
+ line: 89,
39098
+ column: 5
39099
+ }
39100
+ }, {
39101
+ start: {
39102
+ line: 89,
39103
+ column: 9
39104
+ },
39105
+ end: {
39106
+ line: 89,
39107
+ column: 32
39108
+ }
39109
+ }],
39110
+ line: 87
39111
+ },
39112
+ "10": {
39113
+ loc: {
39114
+ start: {
39115
+ line: 88,
39116
+ column: 41
39117
+ },
39118
+ end: {
39119
+ line: 88,
39120
+ column: 69
39121
+ }
39122
+ },
39123
+ type: "binary-expr",
39124
+ locations: [{
39125
+ start: {
39126
+ line: 88,
39127
+ column: 41
39128
+ },
39129
+ end: {
39130
+ line: 88,
39131
+ column: 53
39132
+ }
39133
+ }, {
39134
+ start: {
39135
+ line: 88,
39136
+ column: 57
39137
+ },
39138
+ end: {
39139
+ line: 88,
39140
+ column: 69
39141
+ }
39142
+ }],
39143
+ line: 88
39144
+ },
39145
+ "11": {
39146
+ loc: {
39147
+ start: {
39148
+ line: 91,
38570
39149
  column: 2
38571
39150
  },
38572
39151
  end: {
38573
- line: 79,
38574
- column: 45
39152
+ line: 91,
39153
+ column: 72
38575
39154
  }
38576
39155
  },
38577
39156
  type: "if",
38578
39157
  locations: [{
38579
39158
  start: {
38580
- line: 79,
39159
+ line: 91,
38581
39160
  column: 2
38582
39161
  },
38583
39162
  end: {
38584
- line: 79,
38585
- column: 45
39163
+ line: 91,
39164
+ column: 72
38586
39165
  }
38587
39166
  }, {
38588
39167
  start: {
@@ -38594,73 +39173,106 @@ function cov_1jyxy15ds3() {
38594
39173
  column: undefined
38595
39174
  }
38596
39175
  }],
38597
- line: 79
39176
+ line: 91
38598
39177
  },
38599
- "10": {
39178
+ "12": {
38600
39179
  loc: {
38601
39180
  start: {
38602
- line: 96,
39181
+ line: 91,
39182
+ column: 6
39183
+ },
39184
+ end: {
39185
+ line: 91,
39186
+ column: 58
39187
+ }
39188
+ },
39189
+ type: "binary-expr",
39190
+ locations: [{
39191
+ start: {
39192
+ line: 91,
39193
+ column: 6
39194
+ },
39195
+ end: {
39196
+ line: 91,
39197
+ column: 31
39198
+ }
39199
+ }, {
39200
+ start: {
39201
+ line: 91,
39202
+ column: 35
39203
+ },
39204
+ end: {
39205
+ line: 91,
39206
+ column: 58
39207
+ }
39208
+ }],
39209
+ line: 91
39210
+ },
39211
+ "13": {
39212
+ loc: {
39213
+ start: {
39214
+ line: 119,
38603
39215
  column: 7
38604
39216
  },
38605
39217
  end: {
38606
- line: 98,
39218
+ line: 121,
38607
39219
  column: 7
38608
39220
  }
38609
39221
  },
38610
39222
  type: "binary-expr",
38611
39223
  locations: [{
38612
39224
  start: {
38613
- line: 96,
39225
+ line: 119,
38614
39226
  column: 7
38615
39227
  },
38616
39228
  end: {
38617
- line: 96,
39229
+ line: 119,
38618
39230
  column: 23
38619
39231
  }
38620
39232
  }, {
38621
39233
  start: {
38622
- line: 97,
39234
+ line: 120,
38623
39235
  column: 8
38624
39236
  },
38625
39237
  end: {
38626
- line: 97,
39238
+ line: 120,
38627
39239
  column: 72
38628
39240
  }
38629
39241
  }],
38630
- line: 96
39242
+ line: 119
38631
39243
  },
38632
- "11": {
39244
+ "14": {
38633
39245
  loc: {
38634
39246
  start: {
38635
- line: 99,
39247
+ line: 122,
38636
39248
  column: 7
38637
39249
  },
38638
39250
  end: {
38639
- line: 106,
39251
+ line: 129,
38640
39252
  column: 7
38641
39253
  }
38642
39254
  },
38643
39255
  type: "binary-expr",
38644
39256
  locations: [{
38645
39257
  start: {
38646
- line: 99,
39258
+ line: 122,
38647
39259
  column: 7
38648
39260
  },
38649
39261
  end: {
38650
- line: 99,
39262
+ line: 122,
38651
39263
  column: 23
38652
39264
  }
38653
39265
  }, {
38654
39266
  start: {
38655
- line: 100,
39267
+ line: 123,
38656
39268
  column: 8
38657
39269
  },
38658
39270
  end: {
38659
- line: 105,
39271
+ line: 128,
38660
39272
  column: 10
38661
39273
  }
38662
39274
  }],
38663
- line: 99
39275
+ line: 122
38664
39276
  }
38665
39277
  },
38666
39278
  s: {
@@ -38693,7 +39305,15 @@ function cov_1jyxy15ds3() {
38693
39305
  "26": 0,
38694
39306
  "27": 0,
38695
39307
  "28": 0,
38696
- "29": 0
39308
+ "29": 0,
39309
+ "30": 0,
39310
+ "31": 0,
39311
+ "32": 0,
39312
+ "33": 0,
39313
+ "34": 0,
39314
+ "35": 0,
39315
+ "36": 0,
39316
+ "37": 0
38697
39317
  },
38698
39318
  f: {
38699
39319
  "0": 0,
@@ -38704,7 +39324,10 @@ function cov_1jyxy15ds3() {
38704
39324
  "5": 0,
38705
39325
  "6": 0,
38706
39326
  "7": 0,
38707
- "8": 0
39327
+ "8": 0,
39328
+ "9": 0,
39329
+ "10": 0,
39330
+ "11": 0
38708
39331
  },
38709
39332
  b: {
38710
39333
  "0": [0],
@@ -38718,10 +39341,13 @@ function cov_1jyxy15ds3() {
38718
39341
  "8": [0, 0],
38719
39342
  "9": [0, 0],
38720
39343
  "10": [0, 0],
38721
- "11": [0, 0]
39344
+ "11": [0, 0],
39345
+ "12": [0, 0],
39346
+ "13": [0, 0],
39347
+ "14": [0, 0]
38722
39348
  },
38723
39349
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
38724
- hash: "d84097ebe2b4c00473ece75fee6b84b8d7524469"
39350
+ hash: "513c5fef581a1f26ee7e3a240d2a23468af80a8c"
38725
39351
  };
38726
39352
  var coverage = global[gcv] || (global[gcv] = {});
38727
39353
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -38754,102 +39380,119 @@ var Bar = function Bar(_ref) {
38754
39380
  _ref$setIsPaneOpen = _ref.setIsPaneOpen,
38755
39381
  setIsPaneOpen = _ref$setIsPaneOpen === void 0 ? (cov_1jyxy15ds3().b[2][0]++, ramda.identity) : _ref$setIsPaneOpen,
38756
39382
  _ref$childrenKeys = _ref.childrenKeys,
38757
- childrenKeys = _ref$childrenKeys === void 0 ? (cov_1jyxy15ds3().b[3][0]++, []) : _ref$childrenKeys,
38758
- children = _ref.children;
39383
+ childrenKeys = _ref$childrenKeys === void 0 ? (cov_1jyxy15ds3().b[3][0]++, []) : _ref$childrenKeys;
38759
39384
  cov_1jyxy15ds3().f[0]++;
38760
- var keywordFilter = (cov_1jyxy15ds3().s[1]++, _objectSpread$2({
39385
+ var searchParams = (cov_1jyxy15ds3().s[1]++, new URLSearchParams(window.location.search));
39386
+ var keywordFilter = (cov_1jyxy15ds3().s[2]++, _objectSpread$2({
38761
39387
  key: "keyword",
38762
39388
  type: "text",
38763
39389
  rule: "contains",
38764
39390
  label: "Keyword"
38765
39391
  }, keyword));
38766
- var filters = (cov_1jyxy15ds3().s[2]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[4][0]++, [keywordFilter].concat(_toConsumableArray(columns))) : (cov_1jyxy15ds3().b[4][1]++, columns)));
38767
- var nonHiddenFilters = (cov_1jyxy15ds3().s[3]++, removeBy({
39392
+ var filters = (cov_1jyxy15ds3().s[3]++, buildFiltersFromSearchParams(keyword.value !== "" ? (cov_1jyxy15ds3().b[4][0]++, [keywordFilter].concat(_toConsumableArray(columns))) : (cov_1jyxy15ds3().b[4][1]++, columns)));
39393
+ var nonHiddenFilters = (cov_1jyxy15ds3().s[4]++, removeBy({
38768
39394
  hidden: true
38769
39395
  }, filters));
38770
- var history = (cov_1jyxy15ds3().s[4]++, reactRouterDom.useHistory());
38771
- var _ref2 = (cov_1jyxy15ds3().s[5]++, useTranslation()),
39396
+ var history = (cov_1jyxy15ds3().s[5]++, reactRouterDom.useHistory());
39397
+ var _ref2 = (cov_1jyxy15ds3().s[6]++, useTranslation()),
38772
39398
  t = _ref2.t;
38773
- cov_1jyxy15ds3().s[6]++;
39399
+ cov_1jyxy15ds3().s[7]++;
38774
39400
  t$2.useEffect(function () {
38775
39401
  cov_1jyxy15ds3().f[1]++;
38776
- var handler = (cov_1jyxy15ds3().s[7]++, setTimeout(function () {
39402
+ var handler = (cov_1jyxy15ds3().s[8]++, setTimeout(function () {
38777
39403
  cov_1jyxy15ds3().f[2]++;
38778
- cov_1jyxy15ds3().s[8]++;
39404
+ cov_1jyxy15ds3().s[9]++;
38779
39405
  handleSubmit(filters);
38780
39406
  }, 500));
38781
- cov_1jyxy15ds3().s[9]++;
39407
+ cov_1jyxy15ds3().s[10]++;
38782
39408
  return function () {
38783
39409
  cov_1jyxy15ds3().f[3]++;
38784
- cov_1jyxy15ds3().s[10]++;
39410
+ cov_1jyxy15ds3().s[11]++;
38785
39411
  return clearTimeout(handler);
38786
39412
  };
38787
39413
  }, [keyword.value]);
38788
- cov_1jyxy15ds3().s[11]++;
39414
+ cov_1jyxy15ds3().s[12]++;
38789
39415
  var handleSubmit = function handleSubmit(newFilters, isClearAll) {
38790
39416
  cov_1jyxy15ds3().f[4]++;
38791
- var params = (cov_1jyxy15ds3().s[12]++, buildUrlFromFilters(_objectSpread$2({
39417
+ var params = (cov_1jyxy15ds3().s[13]++, buildUrlFromFilters(_objectSpread$2({
38792
39418
  columns: columns,
38793
39419
  filters: keyword.value !== "" ? (cov_1jyxy15ds3().b[5][0]++, [].concat(_toConsumableArray(newFilters), [keywordFilter])) : (cov_1jyxy15ds3().b[5][1]++, newFilters)
38794
39420
  }, (cov_1jyxy15ds3().b[6][0]++, isClearAll) && (cov_1jyxy15ds3().b[6][1]++, {
38795
39421
  isClearAll: true,
38796
39422
  childrenKeys: childrenKeys
38797
39423
  }))));
38798
- cov_1jyxy15ds3().s[13]++;
39424
+ cov_1jyxy15ds3().s[14]++;
38799
39425
  history.push({
38800
39426
  search: params
38801
39427
  });
38802
39428
  };
38803
- cov_1jyxy15ds3().s[14]++;
39429
+ cov_1jyxy15ds3().s[15]++;
38804
39430
  var handleDelete = function handleDelete(key) {
38805
39431
  cov_1jyxy15ds3().f[5]++;
38806
- cov_1jyxy15ds3().s[15]++;
39432
+ cov_1jyxy15ds3().s[16]++;
38807
39433
  if (key === "keyword") {
38808
39434
  cov_1jyxy15ds3().b[7][0]++;
38809
- cov_1jyxy15ds3().s[16]++;
38810
- keyword.setValue("");
38811
39435
  cov_1jyxy15ds3().s[17]++;
39436
+ keyword.setValue("");
39437
+ cov_1jyxy15ds3().s[18]++;
38812
39438
  keyword.value = "";
38813
39439
  } else {
38814
39440
  cov_1jyxy15ds3().b[7][1]++;
38815
39441
  }
38816
- var newFilters = (cov_1jyxy15ds3().s[18]++, removeBy({
39442
+ cov_1jyxy15ds3().s[19]++;
39443
+ if (childrenKeys.includes(key)) {
39444
+ cov_1jyxy15ds3().b[8][0]++;
39445
+ cov_1jyxy15ds3().s[20]++;
39446
+ searchParams["delete"](key);
39447
+ cov_1jyxy15ds3().s[21]++;
39448
+ history.push({
39449
+ search: searchParams.toString()
39450
+ });
39451
+ } else {
39452
+ cov_1jyxy15ds3().b[8][1]++;
39453
+ }
39454
+ var newFilters = (cov_1jyxy15ds3().s[22]++, removeBy({
38817
39455
  key: key
38818
39456
  }, filters));
38819
- cov_1jyxy15ds3().s[19]++;
39457
+ cov_1jyxy15ds3().s[23]++;
38820
39458
  handleSubmit(newFilters);
38821
39459
  };
38822
- cov_1jyxy15ds3().s[20]++;
39460
+ cov_1jyxy15ds3().s[24]++;
38823
39461
  var handleClearAll = function handleClearAll() {
38824
39462
  cov_1jyxy15ds3().f[6]++;
38825
- cov_1jyxy15ds3().s[21]++;
39463
+ cov_1jyxy15ds3().s[25]++;
38826
39464
  keyword.setValue("");
38827
- cov_1jyxy15ds3().s[22]++;
39465
+ cov_1jyxy15ds3().s[26]++;
38828
39466
  keyword.value = "";
38829
- cov_1jyxy15ds3().s[23]++;
39467
+ cov_1jyxy15ds3().s[27]++;
38830
39468
  handleSubmit([], true);
38831
39469
  };
38832
- var hideClearButton = (cov_1jyxy15ds3().s[24]++, nonHiddenFilters.every(function (_ref3) {
38833
- var defaultValue = _ref3.defaultValue,
38834
- isClearable = _ref3.isClearable;
39470
+ var childrenFiltersApplied = (cov_1jyxy15ds3().s[28]++, childrenKeys.some(function (key) {
38835
39471
  cov_1jyxy15ds3().f[7]++;
38836
- cov_1jyxy15ds3().s[25]++;
38837
- return (cov_1jyxy15ds3().b[8][0]++, defaultValue) && (cov_1jyxy15ds3().b[8][1]++, !isClearable);
39472
+ cov_1jyxy15ds3().s[29]++;
39473
+ return searchParams.get(key);
38838
39474
  }));
38839
- cov_1jyxy15ds3().s[26]++;
38840
- if (ramda.isEmpty(nonHiddenFilters)) {
38841
- cov_1jyxy15ds3().b[9][0]++;
38842
- cov_1jyxy15ds3().s[27]++;
39475
+ var hideClearButton = (cov_1jyxy15ds3().s[30]++, (cov_1jyxy15ds3().b[9][0]++, nonHiddenFilters.every(function (_ref3) {
39476
+ var defaultValue = _ref3.defaultValue,
39477
+ isClearable = _ref3.isClearable;
39478
+ cov_1jyxy15ds3().f[8]++;
39479
+ cov_1jyxy15ds3().s[31]++;
39480
+ return (cov_1jyxy15ds3().b[10][0]++, defaultValue) && (cov_1jyxy15ds3().b[10][1]++, !isClearable);
39481
+ })) && (cov_1jyxy15ds3().b[9][1]++, !childrenFiltersApplied));
39482
+ cov_1jyxy15ds3().s[32]++;
39483
+ if ((cov_1jyxy15ds3().b[12][0]++, ramda.isEmpty(nonHiddenFilters)) && (cov_1jyxy15ds3().b[12][1]++, !childrenFiltersApplied)) {
39484
+ cov_1jyxy15ds3().b[11][0]++;
39485
+ cov_1jyxy15ds3().s[33]++;
38843
39486
  return null;
38844
39487
  } else {
38845
- cov_1jyxy15ds3().b[9][1]++;
39488
+ cov_1jyxy15ds3().b[11][1]++;
38846
39489
  }
38847
- cov_1jyxy15ds3().s[28]++;
39490
+ cov_1jyxy15ds3().s[34]++;
38848
39491
  return /*#__PURE__*/t__default["default"].createElement("div", {
38849
39492
  className: classnames__default["default"]("neeto-filters-bar", _defineProperty$4({}, className, className))
38850
39493
  }, nonHiddenFilters.map(function (filter) {
38851
- cov_1jyxy15ds3().f[8]++;
38852
- cov_1jyxy15ds3().s[29]++;
39494
+ cov_1jyxy15ds3().f[9]++;
39495
+ cov_1jyxy15ds3().s[35]++;
38853
39496
  return /*#__PURE__*/t__default["default"].createElement(t__default["default"].Fragment, {
38854
39497
  key: filter.key
38855
39498
  }, /*#__PURE__*/t__default["default"].createElement(Block, {
@@ -38859,11 +39502,27 @@ var Bar = function Bar(_ref) {
38859
39502
  }), /*#__PURE__*/t__default["default"].createElement("div", {
38860
39503
  className: "neeto-filters-bar--separator"
38861
39504
  }));
38862
- }), children, (cov_1jyxy15ds3().b[10][0]++, isNotNil(entity)) && (cov_1jyxy15ds3().b[10][1]++, /*#__PURE__*/t__default["default"].createElement(Segment, {
39505
+ }), childrenKeys.filter(function (childKey) {
39506
+ cov_1jyxy15ds3().f[10]++;
39507
+ cov_1jyxy15ds3().s[36]++;
39508
+ return searchParams.get(childKey);
39509
+ }).map(function (childKey) {
39510
+ cov_1jyxy15ds3().f[11]++;
39511
+ cov_1jyxy15ds3().s[37]++;
39512
+ return /*#__PURE__*/t__default["default"].createElement(t__default["default"].Fragment, {
39513
+ key: childKey
39514
+ }, /*#__PURE__*/t__default["default"].createElement(ChildBlock, {
39515
+ childKey: childKey,
39516
+ handleDelete: handleDelete,
39517
+ setIsPaneOpen: setIsPaneOpen
39518
+ }), /*#__PURE__*/t__default["default"].createElement("div", {
39519
+ className: "neeto-filters-bar--separator"
39520
+ }));
39521
+ }), (cov_1jyxy15ds3().b[13][0]++, isNotNil(entity)) && (cov_1jyxy15ds3().b[13][1]++, /*#__PURE__*/t__default["default"].createElement(Segment, {
38863
39522
  columns: columns,
38864
39523
  entity: entity,
38865
39524
  filters: filters
38866
- })), (cov_1jyxy15ds3().b[11][0]++, !hideClearButton) && (cov_1jyxy15ds3().b[11][1]++, /*#__PURE__*/t__default["default"].createElement(neetoui.Button, {
39525
+ })), (cov_1jyxy15ds3().b[14][0]++, !hideClearButton) && (cov_1jyxy15ds3().b[14][1]++, /*#__PURE__*/t__default["default"].createElement(neetoui.Button, {
38867
39526
  "data-cy": "neeto-filters-bar-clear-btn",
38868
39527
  label: t("common.clearFilters"),
38869
39528
  style: "text",