@bigbinary/neeto-form-frontend 1.0.43 → 1.0.45

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.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as React$2 from 'react';
2
- import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useContext, useReducer, useRef, useState, createContext, createElement, Fragment, forwardRef, useCallback as useCallback$1, Component } from 'react';
2
+ import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useContext, useReducer, useRef, useState, createContext, createElement, Fragment, forwardRef, useCallback as useCallback$1, Component, memo } from 'react';
3
3
  import { useField, useFormikContext, FieldArray, Form as Form$1, Formik, Field, FastField } from 'formik';
4
4
  import { noop as noop$5, findBy, removeBy, isPresent, findById } from '@bigbinary/neeto-commons-frontend/pure';
5
5
  import PageLoader from 'neetomolecules/PageLoader';
6
- import { Toastr, Typography, Dropdown as Dropdown$2, Button as Button$1, Label, Alert, Spinner as Spinner$1 } from '@bigbinary/neetoui';
6
+ import { Toastr, Typography, Dropdown as Dropdown$2, Button as Button$1, Label, Alert, Spinner as Spinner$2 } from '@bigbinary/neetoui';
7
7
  import { assoc, prop, path, isEmpty, reject, omit, insert, compose as compose$1, trim as trim$1, either, isNil, values as values$1, equals, not, pluck, mergeLeft, times } from 'ramda';
8
8
  import ReactDOM, { unstable_batchedUpdates as unstable_batchedUpdates$1, createPortal } from 'react-dom';
9
- import { Input as Input$2, Email as Email$2, Phone as Phone$2, Up, Down, MenuHorizontal, Delete, Plus, NeetoInvisible, MultipleChoice as MultipleChoice$2, ListDot, Dropdown as Dropdown$3, Rating as Rating$3, Smiley, Checkbox as Checkbox$1, Calendar, Check, Close } from '@bigbinary/neeto-icons';
9
+ import { Input as Input$2, Email as Email$2, Phone as Phone$2, Up, Down, MenuHorizontal, Delete, Plus, NeetoInvisible, MultipleChoice as MultipleChoice$2, ListDot, Dropdown as Dropdown$3, Rating as Rating$4, Smiley, Checkbox as Checkbox$1, Calendar, Check, Close } from '@bigbinary/neeto-icons';
10
10
  import axios from 'axios';
11
- import { Input as Input$3, Textarea as Textarea$1, Checkbox, ActionBlock } from '@bigbinary/neetoui/formik';
11
+ import { Input as Input$3, Textarea as Textarea$2, Checkbox, ActionBlock } from '@bigbinary/neetoui/formik';
12
12
  import { withImmutableActions } from '@bigbinary/neeto-commons-frontend/react-utils';
13
13
  import { create as create$1 } from 'zustand';
14
14
  import classnames from 'classnames';
@@ -83,61 +83,6 @@ function _defineProperty$a(obj, key, value) {
83
83
  return obj;
84
84
  }
85
85
 
86
- function _arrayWithHoles$7(arr) {
87
- if (Array.isArray(arr)) return arr;
88
- }
89
-
90
- function _iterableToArrayLimit$6(arr, i) {
91
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
92
- if (null != _i) {
93
- var _s,
94
- _e,
95
- _x,
96
- _r,
97
- _arr = [],
98
- _n = !0,
99
- _d = !1;
100
- try {
101
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
102
- if (Object(_i) !== _i) return;
103
- _n = !1;
104
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
105
- } catch (err) {
106
- _d = !0, _e = err;
107
- } finally {
108
- try {
109
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
110
- } finally {
111
- if (_d) throw _e;
112
- }
113
- }
114
- return _arr;
115
- }
116
- }
117
-
118
- function _arrayLikeToArray$j(arr, len) {
119
- if (len == null || len > arr.length) len = arr.length;
120
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
121
- return arr2;
122
- }
123
-
124
- function _unsupportedIterableToArray$j(o, minLen) {
125
- if (!o) return;
126
- if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
127
- var n = Object.prototype.toString.call(o).slice(8, -1);
128
- if (n === "Object" && o.constructor) n = o.constructor.name;
129
- if (n === "Map" || n === "Set") return Array.from(o);
130
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
131
- }
132
-
133
- function _nonIterableRest$7() {
134
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
135
- }
136
-
137
- function _slicedToArray$6(arr, i) {
138
- return _arrayWithHoles$7(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$j(arr, i) || _nonIterableRest$7();
139
- }
140
-
141
86
  function cov_4tvsihi60() {
142
87
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/common/constants.js";
143
88
  var hash = "b92143c6c0f8c73463381382fdfb0de014146400";
@@ -3561,7 +3506,7 @@ function _defineProperty$9(obj, key, value) {
3561
3506
  return obj;
3562
3507
  }
3563
3508
 
3564
- function _arrayWithHoles$6(arr) {
3509
+ function _arrayWithHoles$7(arr) {
3565
3510
  if (Array.isArray(arr)) return arr;
3566
3511
  }
3567
3512
 
@@ -3569,27 +3514,27 @@ function _iterableToArray$2(iter) {
3569
3514
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3570
3515
  }
3571
3516
 
3572
- function _arrayLikeToArray$i(arr, len) {
3517
+ function _arrayLikeToArray$j(arr, len) {
3573
3518
  if (len == null || len > arr.length) len = arr.length;
3574
3519
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
3575
3520
  return arr2;
3576
3521
  }
3577
3522
 
3578
- function _unsupportedIterableToArray$i(o, minLen) {
3523
+ function _unsupportedIterableToArray$j(o, minLen) {
3579
3524
  if (!o) return;
3580
- if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
3525
+ if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
3581
3526
  var n = Object.prototype.toString.call(o).slice(8, -1);
3582
3527
  if (n === "Object" && o.constructor) n = o.constructor.name;
3583
3528
  if (n === "Map" || n === "Set") return Array.from(o);
3584
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
3529
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
3585
3530
  }
3586
3531
 
3587
- function _nonIterableRest$6() {
3532
+ function _nonIterableRest$7() {
3588
3533
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3589
3534
  }
3590
3535
 
3591
3536
  function _toArray(arr) {
3592
- return _arrayWithHoles$6(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$i(arr) || _nonIterableRest$6();
3537
+ return _arrayWithHoles$7(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableRest$7();
3593
3538
  }
3594
3539
 
3595
3540
  function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
@@ -6461,7 +6406,7 @@ var _excluded$n = ["size"],
6461
6406
  _excluded5 = ["size"];
6462
6407
  function cov_3ymiqznmu() {
6463
6408
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/StarRatingIcons.jsx";
6464
- var hash = "8f12d88a7478ef37b67b0c8e4445cc39069644bb";
6409
+ var hash = "f4b29b283fd872c4616470d709f8f141dd8337fd";
6465
6410
  var global = new Function("return this")();
6466
6411
  var gcv = "__coverage__";
6467
6412
  var coverageData = {
@@ -6596,6 +6541,56 @@ function cov_3ymiqznmu() {
6596
6541
  line: 137,
6597
6542
  column: 8
6598
6543
  }
6544
+ },
6545
+ "13": {
6546
+ start: {
6547
+ line: 140,
6548
+ column: 21
6549
+ },
6550
+ end: {
6551
+ line: 140,
6552
+ column: 37
6553
+ }
6554
+ },
6555
+ "14": {
6556
+ start: {
6557
+ line: 141,
6558
+ column: 22
6559
+ },
6560
+ end: {
6561
+ line: 141,
6562
+ column: 39
6563
+ }
6564
+ },
6565
+ "15": {
6566
+ start: {
6567
+ line: 142,
6568
+ column: 20
6569
+ },
6570
+ end: {
6571
+ line: 142,
6572
+ column: 35
6573
+ }
6574
+ },
6575
+ "16": {
6576
+ start: {
6577
+ line: 143,
6578
+ column: 22
6579
+ },
6580
+ end: {
6581
+ line: 143,
6582
+ column: 39
6583
+ }
6584
+ },
6585
+ "17": {
6586
+ start: {
6587
+ line: 144,
6588
+ column: 23
6589
+ },
6590
+ end: {
6591
+ line: 144,
6592
+ column: 41
6593
+ }
6599
6594
  }
6600
6595
  },
6601
6596
  fnMap: {
@@ -6855,7 +6850,12 @@ function cov_3ymiqznmu() {
6855
6850
  "9": 0,
6856
6851
  "10": 0,
6857
6852
  "11": 0,
6858
- "12": 0
6853
+ "12": 0,
6854
+ "13": 0,
6855
+ "14": 0,
6856
+ "15": 0,
6857
+ "16": 0,
6858
+ "17": 0
6859
6859
  },
6860
6860
  f: {
6861
6861
  "0": 0,
@@ -6872,7 +6872,7 @@ function cov_3ymiqznmu() {
6872
6872
  "4": [0]
6873
6873
  },
6874
6874
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6875
- hash: "8f12d88a7478ef37b67b0c8e4445cc39069644bb"
6875
+ hash: "f4b29b283fd872c4616470d709f8f141dd8337fd"
6876
6876
  };
6877
6877
  var coverage = global[gcv] || (global[gcv] = {});
6878
6878
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7028,6 +7028,11 @@ var Trophy = function Trophy(_ref5) {
7028
7028
  strokeWidth: "1.5"
7029
7029
  }));
7030
7030
  };
7031
+ var MemoizedStar = (cov_3ymiqznmu().s[13]++, /*#__PURE__*/React__default.memo(Star));
7032
+ var MemoizedHeart = (cov_3ymiqznmu().s[14]++, /*#__PURE__*/React__default.memo(Heart));
7033
+ var MemoizedZap = (cov_3ymiqznmu().s[15]++, /*#__PURE__*/React__default.memo(Zap));
7034
+ var MemoizedCrown = (cov_3ymiqznmu().s[16]++, /*#__PURE__*/React__default.memo(Crown));
7035
+ var MemoizedTrophy = (cov_3ymiqznmu().s[17]++, /*#__PURE__*/React__default.memo(Trophy));
7031
7036
 
7032
7037
  function cov_2qs8napxwn() {
7033
7038
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
@@ -7218,15 +7223,70 @@ var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
7218
7223
  }]);
7219
7224
  (cov_2qs8napxwn().s[4]++, /\+\d{11,14}$/);
7220
7225
  var ICONS_MAP = (cov_2qs8napxwn().s[5]++, {
7221
- star: Star,
7222
- heart: Heart,
7223
- crown: Crown,
7224
- trophy: Trophy,
7225
- zap: Zap
7226
+ star: MemoizedStar,
7227
+ heart: MemoizedHeart,
7228
+ crown: MemoizedCrown,
7229
+ trophy: MemoizedTrophy,
7230
+ zap: MemoizedZap
7226
7231
  });
7227
7232
 
7233
+ function _arrayWithHoles$6(arr) {
7234
+ if (Array.isArray(arr)) return arr;
7235
+ }
7236
+
7237
+ function _iterableToArrayLimit$6(arr, i) {
7238
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
7239
+ if (null != _i) {
7240
+ var _s,
7241
+ _e,
7242
+ _x,
7243
+ _r,
7244
+ _arr = [],
7245
+ _n = !0,
7246
+ _d = !1;
7247
+ try {
7248
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
7249
+ if (Object(_i) !== _i) return;
7250
+ _n = !1;
7251
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
7252
+ } catch (err) {
7253
+ _d = !0, _e = err;
7254
+ } finally {
7255
+ try {
7256
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
7257
+ } finally {
7258
+ if (_d) throw _e;
7259
+ }
7260
+ }
7261
+ return _arr;
7262
+ }
7263
+ }
7264
+
7265
+ function _arrayLikeToArray$i(arr, len) {
7266
+ if (len == null || len > arr.length) len = arr.length;
7267
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
7268
+ return arr2;
7269
+ }
7270
+
7271
+ function _unsupportedIterableToArray$i(o, minLen) {
7272
+ if (!o) return;
7273
+ if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
7274
+ var n = Object.prototype.toString.call(o).slice(8, -1);
7275
+ if (n === "Object" && o.constructor) n = o.constructor.name;
7276
+ if (n === "Map" || n === "Set") return Array.from(o);
7277
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
7278
+ }
7279
+
7280
+ function _nonIterableRest$6() {
7281
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7282
+ }
7283
+
7284
+ function _slicedToArray$6(arr, i) {
7285
+ return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$i(arr, i) || _nonIterableRest$6();
7286
+ }
7287
+
7228
7288
  function _arrayWithoutHoles$1(arr) {
7229
- if (Array.isArray(arr)) return _arrayLikeToArray$j(arr);
7289
+ if (Array.isArray(arr)) return _arrayLikeToArray$i(arr);
7230
7290
  }
7231
7291
 
7232
7292
  function _iterableToArray$1(iter) {
@@ -7238,7 +7298,7 @@ function _nonIterableSpread$1() {
7238
7298
  }
7239
7299
 
7240
7300
  function _toConsumableArray$1(arr) {
7241
- return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableSpread$1();
7301
+ return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$i(arr) || _nonIterableSpread$1();
7242
7302
  }
7243
7303
 
7244
7304
  function cov_xtmrgzejj() {
@@ -24262,7 +24322,7 @@ var TextAreaWithMaxLength = function TextAreaWithMaxLength(_ref) {
24262
24322
  }, [value, maxLength, setValue]);
24263
24323
  var shouldShowMaxLength = (cov_1c261hpheg().s[5]++, (cov_1c261hpheg().b[2][0]++, value) && (cov_1c261hpheg().b[2][1]++, value.length > maxLength - 10));
24264
24324
  cov_1c261hpheg().s[6]++;
24265
- return /*#__PURE__*/React__default.createElement(Textarea$1, _extends$9({}, props, (cov_1c261hpheg().b[3][0]++, shouldShowMaxLength) && (cov_1c261hpheg().b[3][1]++, {
24325
+ return /*#__PURE__*/React__default.createElement(Textarea$2, _extends$9({}, props, (cov_1c261hpheg().b[3][0]++, shouldShowMaxLength) && (cov_1c261hpheg().b[3][1]++, {
24266
24326
  maxLength: maxLength
24267
24327
  })));
24268
24328
  };
@@ -24649,11 +24709,11 @@ var DROPDOWN_FIELD_MIN_OPTIONS$1 = (cov_5u7jgeqcn().s[1]++, 2);
24649
24709
  (cov_5u7jgeqcn().s[3]++, 40);
24650
24710
  (cov_5u7jgeqcn().s[4]++, 150);
24651
24711
  var STAR_RATING_ICONS_MAP = (cov_5u7jgeqcn().s[5]++, {
24652
- star: Star,
24653
- heart: Heart,
24654
- crown: Crown,
24655
- trophy: Trophy,
24656
- zap: Zap
24712
+ star: MemoizedStar,
24713
+ heart: MemoizedHeart,
24714
+ crown: MemoizedCrown,
24715
+ trophy: MemoizedTrophy,
24716
+ zap: MemoizedZap
24657
24717
  });
24658
24718
 
24659
24719
  function cov_2dmleb6ptc() {
@@ -26564,7 +26624,7 @@ var RatingItem = function RatingItem(_ref) {
26564
26624
  }, children);
26565
26625
  };
26566
26626
  cov_2mbawiwhpy().s[2]++;
26567
- var Rating$2 = function Rating(_ref2) {
26627
+ var Rating$3 = function Rating(_ref2) {
26568
26628
  var name = _ref2.name,
26569
26629
  isRequired = _ref2.isRequired,
26570
26630
  isLabelDisabled = _ref2.isLabelDisabled;
@@ -27756,7 +27816,7 @@ function cov_h8r08qzr() {
27756
27816
  }
27757
27817
  cov_h8r08qzr();
27758
27818
  cov_h8r08qzr().s[0]++;
27759
- var StarRating$2 = function StarRating(_ref) {
27819
+ var StarRating$3 = function StarRating(_ref) {
27760
27820
  var name = _ref.name,
27761
27821
  isRequired = _ref.isRequired,
27762
27822
  isLabelDisabled = _ref.isLabelDisabled;
@@ -28157,9 +28217,9 @@ var Fields = (cov_2qk3dozy47().s[0]++, {
28157
28217
  MultipleChoice: MultipleChoice$1,
28158
28218
  SingleChoice: SingleChoice$1,
28159
28219
  Phone: Phone$1,
28160
- Rating: Rating$2,
28220
+ Rating: Rating$3,
28161
28221
  Terms: Terms$3,
28162
- StarRating: StarRating$2,
28222
+ StarRating: StarRating$3,
28163
28223
  AdditionalGuests: AdditionalGuests$1,
28164
28224
  RichText: RichText$1,
28165
28225
  Condition: Condition$3
@@ -28602,9 +28662,9 @@ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
28602
28662
  MultipleChoice = _ref$1.MultipleChoice,
28603
28663
  SingleChoice = _ref$1.SingleChoice,
28604
28664
  Phone = _ref$1.Phone,
28605
- Rating$1 = _ref$1.Rating,
28665
+ Rating$2 = _ref$1.Rating,
28606
28666
  Terms$2 = _ref$1.Terms,
28607
- StarRating$1 = _ref$1.StarRating,
28667
+ StarRating$2 = _ref$1.StarRating,
28608
28668
  AdditionalGuests = _ref$1.AdditionalGuests,
28609
28669
  RichText = _ref$1.RichText,
28610
28670
  Condition$2 = _ref$1.Condition;
@@ -28730,8 +28790,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
28730
28790
  type: "star_rating",
28731
28791
  label: instance.t("fields.rif"),
28732
28792
  isSingular: false,
28733
- icon: Rating$3,
28734
- component: StarRating$1,
28793
+ icon: Rating$4,
28794
+ component: StarRating$2,
28735
28795
  defaults: {
28736
28796
  label: "",
28737
28797
  isRequired: true,
@@ -28743,7 +28803,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
28743
28803
  label: instance.t("fields.fbf"),
28744
28804
  isSingular: false,
28745
28805
  icon: Smiley,
28746
- component: Rating$1,
28806
+ component: Rating$2,
28747
28807
  defaults: {
28748
28808
  label: "",
28749
28809
  isRequired: true,
@@ -31476,10 +31536,10 @@ var List = function List(_ref) {
31476
31536
  })));
31477
31537
  };
31478
31538
 
31479
- var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31539
+ var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31480
31540
  function cov_2e8k7gwd81() {
31481
31541
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
31482
- var hash = "c885d28816766402f837ebd6b60689340526a7ef";
31542
+ var hash = "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354";
31483
31543
  var global = new Function("return this")();
31484
31544
  var gcv = "__coverage__";
31485
31545
  var coverageData = {
@@ -31491,367 +31551,367 @@ function cov_2e8k7gwd81() {
31491
31551
  column: 13
31492
31552
  },
31493
31553
  end: {
31494
- line: 224,
31554
+ line: 221,
31495
31555
  column: 1
31496
31556
  }
31497
31557
  },
31498
31558
  "1": {
31499
31559
  start: {
31500
- line: 43,
31560
+ line: 42,
31501
31561
  column: 16
31502
31562
  },
31503
31563
  end: {
31504
- line: 43,
31564
+ line: 42,
31505
31565
  column: 32
31506
31566
  }
31507
31567
  },
31508
31568
  "2": {
31509
31569
  start: {
31510
- line: 44,
31570
+ line: 43,
31511
31571
  column: 46
31512
31572
  },
31513
31573
  end: {
31514
- line: 44,
31574
+ line: 43,
31515
31575
  column: 58
31516
31576
  }
31517
31577
  },
31518
31578
  "3": {
31519
31579
  start: {
31520
- line: 45,
31580
+ line: 44,
31521
31581
  column: 24
31522
31582
  },
31523
31583
  end: {
31524
- line: 45,
31584
+ line: 44,
31525
31585
  column: 42
31526
31586
  }
31527
31587
  },
31528
31588
  "4": {
31529
31589
  start: {
31530
- line: 46,
31590
+ line: 45,
31531
31591
  column: 56
31532
31592
  },
31533
31593
  end: {
31534
- line: 46,
31594
+ line: 45,
31535
31595
  column: 70
31536
31596
  }
31537
31597
  },
31538
31598
  "5": {
31539
31599
  start: {
31540
- line: 56,
31600
+ line: 55,
31541
31601
  column: 6
31542
31602
  },
31543
31603
  end: {
31544
- line: 56,
31604
+ line: 55,
31545
31605
  column: 19
31546
31606
  }
31547
31607
  },
31548
31608
  "6": {
31549
31609
  start: {
31550
- line: 58,
31610
+ line: 57,
31551
31611
  column: 22
31552
31612
  },
31553
31613
  end: {
31554
- line: 58,
31614
+ line: 57,
31555
31615
  column: 60
31556
31616
  }
31557
31617
  },
31558
31618
  "7": {
31559
31619
  start: {
31560
- line: 60,
31620
+ line: 59,
31561
31621
  column: 2
31562
31622
  },
31563
31623
  end: {
31564
- line: 82,
31624
+ line: 79,
31565
31625
  column: 5
31566
31626
  }
31567
31627
  },
31568
31628
  "8": {
31569
31629
  start: {
31570
- line: 61,
31630
+ line: 60,
31571
31631
  column: 4
31572
31632
  },
31573
31633
  end: {
31574
- line: 70,
31634
+ line: 68,
31575
31635
  column: 7
31576
31636
  }
31577
31637
  },
31578
31638
  "9": {
31579
31639
  start: {
31580
- line: 84,
31640
+ line: 81,
31581
31641
  column: 24
31582
31642
  },
31583
31643
  end: {
31584
- line: 84,
31644
+ line: 81,
31585
31645
  column: 30
31586
31646
  }
31587
31647
  },
31588
31648
  "10": {
31589
31649
  start: {
31590
- line: 86,
31650
+ line: 83,
31591
31651
  column: 2
31592
31652
  },
31593
31653
  end: {
31594
- line: 88,
31654
+ line: 85,
31595
31655
  column: 18
31596
31656
  }
31597
31657
  },
31598
31658
  "11": {
31599
31659
  start: {
31600
- line: 87,
31660
+ line: 84,
31601
31661
  column: 4
31602
31662
  },
31603
31663
  end: {
31604
- line: 87,
31664
+ line: 84,
31605
31665
  column: 31
31606
31666
  }
31607
31667
  },
31608
31668
  "12": {
31609
31669
  start: {
31610
- line: 90,
31670
+ line: 87,
31611
31671
  column: 33
31612
31672
  },
31613
31673
  end: {
31614
- line: 94,
31674
+ line: 91,
31615
31675
  column: 4
31616
31676
  }
31617
31677
  },
31618
31678
  "13": {
31619
31679
  start: {
31620
- line: 97,
31680
+ line: 94,
31621
31681
  column: 4
31622
31682
  },
31623
31683
  end: {
31624
- line: 99,
31684
+ line: 96,
31625
31685
  column: 58
31626
31686
  }
31627
31687
  },
31628
31688
  "14": {
31629
31689
  start: {
31630
- line: 99,
31690
+ line: 96,
31631
31691
  column: 31
31632
31692
  },
31633
31693
  end: {
31634
- line: 99,
31694
+ line: 96,
31635
31695
  column: 57
31636
31696
  }
31637
31697
  },
31638
31698
  "15": {
31639
31699
  start: {
31640
- line: 101,
31700
+ line: 98,
31641
31701
  column: 31
31642
31702
  },
31643
31703
  end: {
31644
- line: 105,
31704
+ line: 102,
31645
31705
  column: 3
31646
31706
  }
31647
31707
  },
31648
31708
  "16": {
31649
31709
  start: {
31650
- line: 102,
31710
+ line: 99,
31651
31711
  column: 27
31652
31712
  },
31653
31713
  end: {
31654
- line: 102,
31714
+ line: 99,
31655
31715
  column: 51
31656
31716
  }
31657
31717
  },
31658
31718
  "17": {
31659
31719
  start: {
31660
- line: 103,
31720
+ line: 100,
31661
31721
  column: 4
31662
31722
  },
31663
31723
  end: {
31664
- line: 103,
31724
+ line: 100,
31665
31725
  column: 43
31666
31726
  }
31667
31727
  },
31668
31728
  "18": {
31669
31729
  start: {
31670
- line: 104,
31730
+ line: 101,
31671
31731
  column: 4
31672
31732
  },
31673
31733
  end: {
31674
- line: 104,
31734
+ line: 101,
31675
31735
  column: 49
31676
31736
  }
31677
31737
  },
31678
31738
  "19": {
31679
31739
  start: {
31680
- line: 107,
31740
+ line: 104,
31681
31741
  column: 20
31682
31742
  },
31683
31743
  end: {
31684
- line: 137,
31744
+ line: 134,
31685
31745
  column: 4
31686
31746
  }
31687
31747
  },
31688
31748
  "20": {
31689
31749
  start: {
31690
- line: 107,
31750
+ line: 104,
31691
31751
  column: 46
31692
31752
  },
31693
31753
  end: {
31694
- line: 137,
31754
+ line: 134,
31695
31755
  column: 3
31696
31756
  }
31697
31757
  },
31698
31758
  "21": {
31699
31759
  start: {
31700
- line: 116,
31760
+ line: 113,
31701
31761
  column: 6
31702
31762
  },
31703
31763
  end: {
31704
- line: 116,
31764
+ line: 113,
31705
31765
  column: 62
31706
31766
  }
31707
31767
  },
31708
31768
  "22": {
31709
31769
  start: {
31710
- line: 118,
31770
+ line: 115,
31711
31771
  column: 27
31712
31772
  },
31713
31773
  end: {
31714
- line: 122,
31774
+ line: 119,
31715
31775
  column: 7
31716
31776
  }
31717
31777
  },
31718
31778
  "23": {
31719
31779
  start: {
31720
- line: 124,
31780
+ line: 121,
31721
31781
  column: 6
31722
31782
  },
31723
31783
  end: {
31724
- line: 130,
31784
+ line: 127,
31725
31785
  column: 8
31726
31786
  }
31727
31787
  },
31728
31788
  "24": {
31729
31789
  start: {
31730
- line: 126,
31790
+ line: 123,
31731
31791
  column: 47
31732
31792
  },
31733
31793
  end: {
31734
- line: 129,
31794
+ line: 126,
31735
31795
  column: 9
31736
31796
  }
31737
31797
  },
31738
31798
  "25": {
31739
31799
  start: {
31740
- line: 133,
31800
+ line: 130,
31741
31801
  column: 6
31742
31802
  },
31743
31803
  end: {
31744
- line: 133,
31804
+ line: 130,
31745
31805
  column: 69
31746
31806
  }
31747
31807
  },
31748
31808
  "26": {
31749
31809
  start: {
31750
- line: 135,
31810
+ line: 132,
31751
31811
  column: 6
31752
31812
  },
31753
31813
  end: {
31754
- line: 135,
31814
+ line: 132,
31755
31815
  column: 36
31756
31816
  }
31757
31817
  },
31758
31818
  "27": {
31759
31819
  start: {
31760
- line: 139,
31820
+ line: 136,
31761
31821
  column: 2
31762
31822
  },
31763
31823
  end: {
31764
- line: 223,
31824
+ line: 220,
31765
31825
  column: 4
31766
31826
  }
31767
31827
  },
31768
31828
  "28": {
31769
31829
  start: {
31770
- line: 150,
31830
+ line: 147,
31771
31831
  column: 23
31772
31832
  },
31773
31833
  end: {
31774
- line: 150,
31834
+ line: 147,
31775
31835
  column: 51
31776
31836
  }
31777
31837
  },
31778
31838
  "29": {
31779
31839
  start: {
31780
- line: 152,
31840
+ line: 149,
31781
31841
  column: 32
31782
31842
  },
31783
31843
  end: {
31784
- line: 155,
31844
+ line: 152,
31785
31845
  column: 11
31786
31846
  }
31787
31847
  },
31788
31848
  "30": {
31789
31849
  start: {
31790
- line: 156,
31850
+ line: 153,
31791
31851
  column: 10
31792
31852
  },
31793
31853
  end: {
31794
- line: 156,
31854
+ line: 153,
31795
31855
  column: 59
31796
31856
  }
31797
31857
  },
31798
31858
  "31": {
31799
31859
  start: {
31800
- line: 157,
31860
+ line: 154,
31801
31861
  column: 10
31802
31862
  },
31803
31863
  end: {
31804
- line: 157,
31864
+ line: 154,
31805
31865
  column: 39
31806
31866
  }
31807
31867
  },
31808
31868
  "32": {
31809
31869
  start: {
31810
- line: 164,
31870
+ line: 161,
31811
31871
  column: 14
31812
31872
  },
31813
31873
  end: {
31814
- line: 194,
31874
+ line: 191,
31815
31875
  column: 17
31816
31876
  }
31817
31877
  },
31818
31878
  "33": {
31819
31879
  start: {
31820
- line: 167,
31880
+ line: 164,
31821
31881
  column: 20
31822
31882
  },
31823
31883
  end: {
31824
- line: 172,
31884
+ line: 169,
31825
31885
  column: 22
31826
31886
  }
31827
31887
  },
31828
31888
  "34": {
31829
31889
  start: {
31830
- line: 191,
31890
+ line: 188,
31831
31891
  column: 38
31832
31892
  },
31833
31893
  end: {
31834
- line: 191,
31894
+ line: 188,
31835
31895
  column: 65
31836
31896
  }
31837
31897
  },
31838
31898
  "35": {
31839
31899
  start: {
31840
- line: 203,
31900
+ line: 200,
31841
31901
  column: 38
31842
31902
  },
31843
31903
  end: {
31844
- line: 206,
31904
+ line: 203,
31845
31905
  column: 17
31846
31906
  }
31847
31907
  },
31848
31908
  "36": {
31849
31909
  start: {
31850
- line: 207,
31910
+ line: 204,
31851
31911
  column: 16
31852
31912
  },
31853
31913
  end: {
31854
- line: 207,
31914
+ line: 204,
31855
31915
  column: 65
31856
31916
  }
31857
31917
  }
@@ -31871,740 +31931,740 @@ function cov_2e8k7gwd81() {
31871
31931
  },
31872
31932
  loc: {
31873
31933
  start: {
31874
- line: 42,
31934
+ line: 41,
31875
31935
  column: 6
31876
31936
  },
31877
31937
  end: {
31878
- line: 224,
31938
+ line: 221,
31879
31939
  column: 1
31880
31940
  }
31881
31941
  },
31882
- line: 42
31942
+ line: 41
31883
31943
  },
31884
31944
  "1": {
31885
31945
  name: "(anonymous_1)",
31886
31946
  decl: {
31887
31947
  start: {
31888
- line: 60,
31948
+ line: 59,
31889
31949
  column: 12
31890
31950
  },
31891
31951
  end: {
31892
- line: 60,
31952
+ line: 59,
31893
31953
  column: 13
31894
31954
  }
31895
31955
  },
31896
31956
  loc: {
31897
31957
  start: {
31898
- line: 60,
31958
+ line: 59,
31899
31959
  column: 18
31900
31960
  },
31901
31961
  end: {
31902
- line: 71,
31962
+ line: 69,
31903
31963
  column: 3
31904
31964
  }
31905
31965
  },
31906
- line: 60
31966
+ line: 59
31907
31967
  },
31908
31968
  "2": {
31909
31969
  name: "(anonymous_2)",
31910
31970
  decl: {
31911
31971
  start: {
31912
- line: 86,
31972
+ line: 83,
31913
31973
  column: 12
31914
31974
  },
31915
31975
  end: {
31916
- line: 86,
31976
+ line: 83,
31917
31977
  column: 13
31918
31978
  }
31919
31979
  },
31920
31980
  loc: {
31921
31981
  start: {
31922
- line: 86,
31982
+ line: 83,
31923
31983
  column: 18
31924
31984
  },
31925
31985
  end: {
31926
- line: 88,
31986
+ line: 85,
31927
31987
  column: 3
31928
31988
  }
31929
31989
  },
31930
- line: 86
31990
+ line: 83
31931
31991
  },
31932
31992
  "3": {
31933
31993
  name: "(anonymous_3)",
31934
31994
  decl: {
31935
31995
  start: {
31936
- line: 99,
31996
+ line: 96,
31937
31997
  column: 19
31938
31998
  },
31939
31999
  end: {
31940
- line: 99,
32000
+ line: 96,
31941
32001
  column: 20
31942
32002
  }
31943
32003
  },
31944
32004
  loc: {
31945
32005
  start: {
31946
- line: 99,
32006
+ line: 96,
31947
32007
  column: 31
31948
32008
  },
31949
32009
  end: {
31950
- line: 99,
32010
+ line: 96,
31951
32011
  column: 57
31952
32012
  }
31953
32013
  },
31954
- line: 99
32014
+ line: 96
31955
32015
  },
31956
32016
  "4": {
31957
32017
  name: "(anonymous_4)",
31958
32018
  decl: {
31959
32019
  start: {
31960
- line: 101,
32020
+ line: 98,
31961
32021
  column: 31
31962
32022
  },
31963
32023
  end: {
31964
- line: 101,
32024
+ line: 98,
31965
32025
  column: 32
31966
32026
  }
31967
32027
  },
31968
32028
  loc: {
31969
32029
  start: {
31970
- line: 101,
32030
+ line: 98,
31971
32031
  column: 51
31972
32032
  },
31973
32033
  end: {
31974
- line: 105,
32034
+ line: 102,
31975
32035
  column: 3
31976
32036
  }
31977
32037
  },
31978
- line: 101
32038
+ line: 98
31979
32039
  },
31980
32040
  "5": {
31981
32041
  name: "(anonymous_5)",
31982
32042
  decl: {
31983
32043
  start: {
31984
- line: 107,
32044
+ line: 104,
31985
32045
  column: 20
31986
32046
  },
31987
32047
  end: {
31988
- line: 107,
32048
+ line: 104,
31989
32049
  column: 21
31990
32050
  }
31991
32051
  },
31992
32052
  loc: {
31993
32053
  start: {
31994
- line: 107,
32054
+ line: 104,
31995
32055
  column: 46
31996
32056
  },
31997
32057
  end: {
31998
- line: 137,
32058
+ line: 134,
31999
32059
  column: 3
32000
32060
  }
32001
32061
  },
32002
- line: 107
32062
+ line: 104
32003
32063
  },
32004
32064
  "6": {
32005
32065
  name: "(anonymous_6)",
32006
32066
  decl: {
32007
32067
  start: {
32008
- line: 115,
32068
+ line: 112,
32009
32069
  column: 22
32010
32070
  },
32011
32071
  end: {
32012
- line: 115,
32072
+ line: 112,
32013
32073
  column: 23
32014
32074
  }
32015
32075
  },
32016
32076
  loc: {
32017
32077
  start: {
32018
- line: 116,
32078
+ line: 113,
32019
32079
  column: 6
32020
32080
  },
32021
32081
  end: {
32022
- line: 116,
32082
+ line: 113,
32023
32083
  column: 62
32024
32084
  }
32025
32085
  },
32026
- line: 116
32086
+ line: 113
32027
32087
  },
32028
32088
  "7": {
32029
32089
  name: "(anonymous_7)",
32030
32090
  decl: {
32031
32091
  start: {
32032
- line: 117,
32092
+ line: 114,
32033
32093
  column: 17
32034
32094
  },
32035
32095
  end: {
32036
- line: 117,
32096
+ line: 114,
32037
32097
  column: 18
32038
32098
  }
32039
32099
  },
32040
32100
  loc: {
32041
32101
  start: {
32042
- line: 117,
32102
+ line: 114,
32043
32103
  column: 23
32044
32104
  },
32045
32105
  end: {
32046
- line: 131,
32106
+ line: 128,
32047
32107
  column: 5
32048
32108
  }
32049
32109
  },
32050
- line: 117
32110
+ line: 114
32051
32111
  },
32052
32112
  "8": {
32053
32113
  name: "(anonymous_8)",
32054
32114
  decl: {
32055
32115
  start: {
32056
- line: 126,
32116
+ line: 123,
32057
32117
  column: 25
32058
32118
  },
32059
32119
  end: {
32060
- line: 126,
32120
+ line: 123,
32061
32121
  column: 26
32062
32122
  }
32063
32123
  },
32064
32124
  loc: {
32065
32125
  start: {
32066
- line: 126,
32126
+ line: 123,
32067
32127
  column: 47
32068
32128
  },
32069
32129
  end: {
32070
- line: 129,
32130
+ line: 126,
32071
32131
  column: 9
32072
32132
  }
32073
32133
  },
32074
- line: 126
32134
+ line: 123
32075
32135
  },
32076
32136
  "9": {
32077
32137
  name: "(anonymous_9)",
32078
32138
  decl: {
32079
32139
  start: {
32080
- line: 132,
32140
+ line: 129,
32081
32141
  column: 14
32082
32142
  },
32083
32143
  end: {
32084
- line: 132,
32144
+ line: 129,
32085
32145
  column: 15
32086
32146
  }
32087
32147
  },
32088
32148
  loc: {
32089
32149
  start: {
32090
- line: 133,
32150
+ line: 130,
32091
32151
  column: 6
32092
32152
  },
32093
32153
  end: {
32094
- line: 133,
32154
+ line: 130,
32095
32155
  column: 69
32096
32156
  }
32097
32157
  },
32098
- line: 133
32158
+ line: 130
32099
32159
  },
32100
32160
  "10": {
32101
32161
  name: "(anonymous_10)",
32102
32162
  decl: {
32103
32163
  start: {
32104
- line: 134,
32164
+ line: 131,
32105
32165
  column: 14
32106
32166
  },
32107
32167
  end: {
32108
- line: 134,
32168
+ line: 131,
32109
32169
  column: 15
32110
32170
  }
32111
32171
  },
32112
32172
  loc: {
32113
32173
  start: {
32114
- line: 134,
32174
+ line: 131,
32115
32175
  column: 20
32116
32176
  },
32117
32177
  end: {
32118
- line: 136,
32178
+ line: 133,
32119
32179
  column: 5
32120
32180
  }
32121
32181
  },
32122
- line: 134
32182
+ line: 131
32123
32183
  },
32124
32184
  "11": {
32125
32185
  name: "(anonymous_11)",
32126
32186
  decl: {
32127
32187
  start: {
32128
- line: 150,
32188
+ line: 147,
32129
32189
  column: 17
32130
32190
  },
32131
32191
  end: {
32132
- line: 150,
32192
+ line: 147,
32133
32193
  column: 18
32134
32194
  }
32135
32195
  },
32136
32196
  loc: {
32137
32197
  start: {
32138
- line: 150,
32198
+ line: 147,
32139
32199
  column: 23
32140
32200
  },
32141
32201
  end: {
32142
- line: 150,
32202
+ line: 147,
32143
32203
  column: 51
32144
32204
  }
32145
32205
  },
32146
- line: 150
32206
+ line: 147
32147
32207
  },
32148
32208
  "12": {
32149
32209
  name: "(anonymous_12)",
32150
32210
  decl: {
32151
32211
  start: {
32152
- line: 151,
32212
+ line: 148,
32153
32213
  column: 18
32154
32214
  },
32155
32215
  end: {
32156
- line: 151,
32216
+ line: 148,
32157
32217
  column: 19
32158
32218
  }
32159
32219
  },
32160
32220
  loc: {
32161
32221
  start: {
32162
- line: 151,
32222
+ line: 148,
32163
32223
  column: 24
32164
32224
  },
32165
32225
  end: {
32166
- line: 158,
32226
+ line: 155,
32167
32227
  column: 9
32168
32228
  }
32169
32229
  },
32170
- line: 151
32230
+ line: 148
32171
32231
  },
32172
32232
  "13": {
32173
32233
  name: "(anonymous_13)",
32174
32234
  decl: {
32175
32235
  start: {
32176
- line: 163,
32236
+ line: 160,
32177
32237
  column: 13
32178
32238
  },
32179
32239
  end: {
32180
- line: 163,
32240
+ line: 160,
32181
32241
  column: 14
32182
32242
  }
32183
32243
  },
32184
32244
  loc: {
32185
32245
  start: {
32186
- line: 164,
32246
+ line: 161,
32187
32247
  column: 14
32188
32248
  },
32189
32249
  end: {
32190
- line: 194,
32250
+ line: 191,
32191
32251
  column: 17
32192
32252
  }
32193
32253
  },
32194
- line: 164
32254
+ line: 161
32195
32255
  },
32196
32256
  "14": {
32197
32257
  name: "(anonymous_14)",
32198
32258
  decl: {
32199
32259
  start: {
32200
- line: 166,
32260
+ line: 163,
32201
32261
  column: 29
32202
32262
  },
32203
32263
  end: {
32204
- line: 166,
32264
+ line: 163,
32205
32265
  column: 30
32206
32266
  }
32207
32267
  },
32208
32268
  loc: {
32209
32269
  start: {
32210
- line: 167,
32270
+ line: 164,
32211
32271
  column: 20
32212
32272
  },
32213
32273
  end: {
32214
- line: 172,
32274
+ line: 169,
32215
32275
  column: 22
32216
32276
  }
32217
32277
  },
32218
- line: 167
32278
+ line: 164
32219
32279
  },
32220
32280
  "15": {
32221
32281
  name: "(anonymous_15)",
32222
32282
  decl: {
32223
32283
  start: {
32224
- line: 191,
32284
+ line: 188,
32225
32285
  column: 30
32226
32286
  },
32227
32287
  end: {
32228
- line: 191,
32288
+ line: 188,
32229
32289
  column: 31
32230
32290
  }
32231
32291
  },
32232
32292
  loc: {
32233
32293
  start: {
32234
- line: 191,
32294
+ line: 188,
32235
32295
  column: 38
32236
32296
  },
32237
32297
  end: {
32238
- line: 191,
32298
+ line: 188,
32239
32299
  column: 65
32240
32300
  }
32241
32301
  },
32242
- line: 191
32302
+ line: 188
32243
32303
  },
32244
32304
  "16": {
32245
32305
  name: "(anonymous_16)",
32246
32306
  decl: {
32247
32307
  start: {
32248
- line: 202,
32308
+ line: 199,
32249
32309
  column: 24
32250
32310
  },
32251
32311
  end: {
32252
- line: 202,
32312
+ line: 199,
32253
32313
  column: 25
32254
32314
  }
32255
32315
  },
32256
32316
  loc: {
32257
32317
  start: {
32258
- line: 202,
32318
+ line: 199,
32259
32319
  column: 32
32260
32320
  },
32261
32321
  end: {
32262
- line: 208,
32322
+ line: 205,
32263
32323
  column: 15
32264
32324
  }
32265
32325
  },
32266
- line: 202
32326
+ line: 199
32267
32327
  }
32268
32328
  },
32269
32329
  branchMap: {
32270
32330
  "0": {
32271
32331
  loc: {
32272
32332
  start: {
32273
- line: 97,
32333
+ line: 94,
32274
32334
  column: 4
32275
32335
  },
32276
32336
  end: {
32277
- line: 99,
32337
+ line: 96,
32278
32338
  column: 58
32279
32339
  }
32280
32340
  },
32281
32341
  type: "binary-expr",
32282
32342
  locations: [{
32283
32343
  start: {
32284
- line: 97,
32344
+ line: 94,
32285
32345
  column: 4
32286
32346
  },
32287
32347
  end: {
32288
- line: 97,
32348
+ line: 94,
32289
32349
  column: 13
32290
32350
  }
32291
32351
  }, {
32292
32352
  start: {
32293
- line: 98,
32353
+ line: 95,
32294
32354
  column: 4
32295
32355
  },
32296
32356
  end: {
32297
- line: 98,
32357
+ line: 95,
32298
32358
  column: 20
32299
32359
  }
32300
32360
  }, {
32301
32361
  start: {
32302
- line: 99,
32362
+ line: 96,
32303
32363
  column: 4
32304
32364
  },
32305
32365
  end: {
32306
- line: 99,
32366
+ line: 96,
32307
32367
  column: 58
32308
32368
  }
32309
32369
  }],
32310
- line: 97
32370
+ line: 94
32311
32371
  },
32312
32372
  "1": {
32313
32373
  loc: {
32314
32374
  start: {
32315
- line: 102,
32375
+ line: 99,
32316
32376
  column: 27
32317
32377
  },
32318
32378
  end: {
32319
- line: 102,
32379
+ line: 99,
32320
32380
  column: 51
32321
32381
  }
32322
32382
  },
32323
32383
  type: "binary-expr",
32324
32384
  locations: [{
32325
32385
  start: {
32326
- line: 102,
32386
+ line: 99,
32327
32387
  column: 27
32328
32388
  },
32329
32389
  end: {
32330
- line: 102,
32390
+ line: 99,
32331
32391
  column: 45
32332
32392
  }
32333
32393
  }, {
32334
32394
  start: {
32335
- line: 102,
32395
+ line: 99,
32336
32396
  column: 49
32337
32397
  },
32338
32398
  end: {
32339
- line: 102,
32399
+ line: 99,
32340
32400
  column: 51
32341
32401
  }
32342
32402
  }],
32343
- line: 102
32403
+ line: 99
32344
32404
  },
32345
32405
  "2": {
32346
32406
  loc: {
32347
32407
  start: {
32348
- line: 113,
32408
+ line: 110,
32349
32409
  column: 6
32350
32410
  },
32351
32411
  end: {
32352
- line: 114,
32412
+ line: 111,
32353
32413
  column: 55
32354
32414
  }
32355
32415
  },
32356
32416
  type: "binary-expr",
32357
32417
  locations: [{
32358
32418
  start: {
32359
- line: 113,
32419
+ line: 110,
32360
32420
  column: 6
32361
32421
  },
32362
32422
  end: {
32363
- line: 113,
32423
+ line: 110,
32364
32424
  column: 44
32365
32425
  }
32366
32426
  }, {
32367
32427
  start: {
32368
- line: 114,
32428
+ line: 111,
32369
32429
  column: 6
32370
32430
  },
32371
32431
  end: {
32372
- line: 114,
32432
+ line: 111,
32373
32433
  column: 55
32374
32434
  }
32375
32435
  }],
32376
- line: 113
32436
+ line: 110
32377
32437
  },
32378
32438
  "3": {
32379
32439
  loc: {
32380
32440
  start: {
32381
- line: 113,
32441
+ line: 110,
32382
32442
  column: 21
32383
32443
  },
32384
32444
  end: {
32385
- line: 113,
32445
+ line: 110,
32386
32446
  column: 43
32387
32447
  }
32388
32448
  },
32389
32449
  type: "binary-expr",
32390
32450
  locations: [{
32391
32451
  start: {
32392
- line: 113,
32452
+ line: 110,
32393
32453
  column: 21
32394
32454
  },
32395
32455
  end: {
32396
- line: 113,
32456
+ line: 110,
32397
32457
  column: 32
32398
32458
  }
32399
32459
  }, {
32400
32460
  start: {
32401
- line: 113,
32461
+ line: 110,
32402
32462
  column: 36
32403
32463
  },
32404
32464
  end: {
32405
- line: 113,
32465
+ line: 110,
32406
32466
  column: 43
32407
32467
  }
32408
32468
  }],
32409
- line: 113
32469
+ line: 110
32410
32470
  },
32411
32471
  "4": {
32412
32472
  loc: {
32413
32473
  start: {
32414
- line: 114,
32474
+ line: 111,
32415
32475
  column: 21
32416
32476
  },
32417
32477
  end: {
32418
- line: 114,
32478
+ line: 111,
32419
32479
  column: 43
32420
32480
  }
32421
32481
  },
32422
32482
  type: "binary-expr",
32423
32483
  locations: [{
32424
32484
  start: {
32425
- line: 114,
32485
+ line: 111,
32426
32486
  column: 21
32427
32487
  },
32428
32488
  end: {
32429
- line: 114,
32489
+ line: 111,
32430
32490
  column: 32
32431
32491
  }
32432
32492
  }, {
32433
32493
  start: {
32434
- line: 114,
32494
+ line: 111,
32435
32495
  column: 36
32436
32496
  },
32437
32497
  end: {
32438
- line: 114,
32498
+ line: 111,
32439
32499
  column: 43
32440
32500
  }
32441
32501
  }],
32442
- line: 114
32502
+ line: 111
32443
32503
  },
32444
32504
  "5": {
32445
32505
  loc: {
32446
32506
  start: {
32447
- line: 116,
32507
+ line: 113,
32448
32508
  column: 27
32449
32509
  },
32450
32510
  end: {
32451
- line: 116,
32511
+ line: 113,
32452
32512
  column: 49
32453
32513
  }
32454
32514
  },
32455
32515
  type: "binary-expr",
32456
32516
  locations: [{
32457
32517
  start: {
32458
- line: 116,
32518
+ line: 113,
32459
32519
  column: 27
32460
32520
  },
32461
32521
  end: {
32462
- line: 116,
32522
+ line: 113,
32463
32523
  column: 38
32464
32524
  }
32465
32525
  }, {
32466
32526
  start: {
32467
- line: 116,
32527
+ line: 113,
32468
32528
  column: 42
32469
32529
  },
32470
32530
  end: {
32471
- line: 116,
32531
+ line: 113,
32472
32532
  column: 49
32473
32533
  }
32474
32534
  }],
32475
- line: 116
32535
+ line: 113
32476
32536
  },
32477
32537
  "6": {
32478
32538
  loc: {
32479
32539
  start: {
32480
- line: 147,
32540
+ line: 144,
32481
32541
  column: 12
32482
32542
  },
32483
32543
  end: {
32484
- line: 148,
32544
+ line: 145,
32485
32545
  column: 61
32486
32546
  }
32487
32547
  },
32488
32548
  type: "binary-expr",
32489
32549
  locations: [{
32490
32550
  start: {
32491
- line: 147,
32551
+ line: 144,
32492
32552
  column: 12
32493
32553
  },
32494
32554
  end: {
32495
- line: 147,
32555
+ line: 144,
32496
32556
  column: 72
32497
32557
  }
32498
32558
  }, {
32499
32559
  start: {
32500
- line: 148,
32560
+ line: 145,
32501
32561
  column: 12
32502
32562
  },
32503
32563
  end: {
32504
- line: 148,
32564
+ line: 145,
32505
32565
  column: 61
32506
32566
  }
32507
32567
  }],
32508
- line: 147
32568
+ line: 144
32509
32569
  },
32510
32570
  "7": {
32511
32571
  loc: {
32512
32572
  start: {
32513
- line: 161,
32573
+ line: 158,
32514
32574
  column: 9
32515
32575
  },
32516
32576
  end: {
32517
- line: 211,
32577
+ line: 208,
32518
32578
  column: 9
32519
32579
  }
32520
32580
  },
32521
32581
  type: "cond-expr",
32522
32582
  locations: [{
32523
32583
  start: {
32524
- line: 162,
32584
+ line: 159,
32525
32585
  column: 10
32526
32586
  },
32527
32587
  end: {
32528
- line: 196,
32588
+ line: 193,
32529
32589
  column: 23
32530
32590
  }
32531
32591
  }, {
32532
32592
  start: {
32533
- line: 198,
32593
+ line: 195,
32534
32594
  column: 10
32535
32595
  },
32536
32596
  end: {
32537
- line: 210,
32597
+ line: 207,
32538
32598
  column: 29
32539
32599
  }
32540
32600
  }],
32541
- line: 161
32601
+ line: 158
32542
32602
  },
32543
32603
  "8": {
32544
32604
  loc: {
32545
32605
  start: {
32546
- line: 212,
32606
+ line: 209,
32547
32607
  column: 9
32548
32608
  },
32549
32609
  end: {
32550
- line: 220,
32610
+ line: 217,
32551
32611
  column: 9
32552
32612
  }
32553
32613
  },
32554
32614
  type: "binary-expr",
32555
32615
  locations: [{
32556
32616
  start: {
32557
- line: 212,
32617
+ line: 209,
32558
32618
  column: 9
32559
32619
  },
32560
32620
  end: {
32561
- line: 212,
32621
+ line: 209,
32562
32622
  column: 24
32563
32623
  }
32564
32624
  }, {
32565
32625
  start: {
32566
- line: 213,
32626
+ line: 210,
32567
32627
  column: 10
32568
32628
  },
32569
32629
  end: {
32570
- line: 219,
32630
+ line: 216,
32571
32631
  column: 12
32572
32632
  }
32573
32633
  }],
32574
- line: 212
32634
+ line: 209
32575
32635
  },
32576
32636
  "9": {
32577
32637
  loc: {
32578
32638
  start: {
32579
- line: 216,
32639
+ line: 213,
32580
32640
  column: 24
32581
32641
  },
32582
32642
  end: {
32583
- line: 216,
32643
+ line: 213,
32584
32644
  column: 46
32585
32645
  }
32586
32646
  },
32587
32647
  type: "binary-expr",
32588
32648
  locations: [{
32589
32649
  start: {
32590
- line: 216,
32650
+ line: 213,
32591
32651
  column: 24
32592
32652
  },
32593
32653
  end: {
32594
- line: 216,
32654
+ line: 213,
32595
32655
  column: 36
32596
32656
  }
32597
32657
  }, {
32598
32658
  start: {
32599
- line: 216,
32659
+ line: 213,
32600
32660
  column: 40
32601
32661
  },
32602
32662
  end: {
32603
- line: 216,
32663
+ line: 213,
32604
32664
  column: 46
32605
32665
  }
32606
32666
  }],
32607
- line: 216
32667
+ line: 213
32608
32668
  }
32609
32669
  },
32610
32670
  s: {
@@ -32678,7 +32738,7 @@ function cov_2e8k7gwd81() {
32678
32738
  "9": [0, 0]
32679
32739
  },
32680
32740
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32681
- hash: "c885d28816766402f837ebd6b60689340526a7ef"
32741
+ hash: "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354"
32682
32742
  };
32683
32743
  var coverage = global[gcv] || (global[gcv] = {});
32684
32744
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -32704,7 +32764,6 @@ var Form = function Form(_ref) {
32704
32764
  onValueChange = _ref.onValueChange,
32705
32765
  showActionBlock = _ref.showActionBlock,
32706
32766
  formId = _ref.formId,
32707
- setShouldValidate = _ref.setShouldValidate,
32708
32767
  isDeletable = _ref.isDeletable,
32709
32768
  isRequiredField = _ref.isRequiredField,
32710
32769
  submitButtonProps = _ref.submitButtonProps,
@@ -32747,10 +32806,9 @@ var Form = function Form(_ref) {
32747
32806
  isValid: isValid,
32748
32807
  errors: errors,
32749
32808
  submitForm: submitForm,
32750
- resetForm: resetForm,
32751
- setShouldValidate: setShouldValidate
32809
+ resetForm: resetForm
32752
32810
  });
32753
- }, [formId, setFormData, values, dirty, isSubmitting, isValid, errors, submitForm, resetForm, setShouldValidate]);
32811
+ }, [formId, setFormData, values, dirty, isSubmitting, isValid, errors, submitForm, resetForm]);
32754
32812
  var _ref8 = (cov_2e8k7gwd81().s[9]++, values),
32755
32813
  questions = _ref8.questions;
32756
32814
  cov_2e8k7gwd81().s[10]++;
@@ -33252,7 +33310,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, object().shape({
33252
33310
 
33253
33311
  function cov_2nbnnlcv5p() {
33254
33312
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
33255
- var hash = "6eb1d47c51f39613ed75d6b4a648a046341f2a2c";
33313
+ var hash = "3657512e450f0fb3332d5e2b841a7570f6023ce7";
33256
33314
  var global = new Function("return this")();
33257
33315
  var gcv = "__coverage__";
33258
33316
  var coverageData = {
@@ -33264,267 +33322,257 @@ function cov_2nbnnlcv5p() {
33264
33322
  column: 18
33265
33323
  },
33266
33324
  end: {
33267
- line: 168,
33325
+ line: 163,
33268
33326
  column: 1
33269
33327
  }
33270
33328
  },
33271
33329
  "1": {
33272
33330
  start: {
33273
33331
  line: 41,
33274
- column: 54
33332
+ column: 22
33275
33333
  },
33276
33334
  end: {
33277
33335
  line: 41,
33278
- column: 69
33336
+ column: 38
33279
33337
  }
33280
33338
  },
33281
33339
  "2": {
33282
33340
  start: {
33283
33341
  line: 43,
33284
- column: 22
33342
+ column: 43
33285
33343
  },
33286
33344
  end: {
33287
- line: 43,
33288
- column: 38
33345
+ line: 48,
33346
+ column: 4
33289
33347
  }
33290
33348
  },
33291
33349
  "3": {
33292
33350
  start: {
33293
33351
  line: 45,
33294
- column: 43
33352
+ column: 22
33295
33353
  },
33296
33354
  end: {
33297
- line: 50,
33298
- column: 4
33355
+ line: 45,
33356
+ column: 41
33299
33357
  }
33300
33358
  },
33301
33359
  "4": {
33302
33360
  start: {
33303
33361
  line: 47,
33304
- column: 22
33362
+ column: 6
33305
33363
  },
33306
33364
  end: {
33307
33365
  line: 47,
33308
- column: 41
33366
+ column: 28
33309
33367
  }
33310
33368
  },
33311
33369
  "5": {
33312
33370
  start: {
33313
- line: 49,
33371
+ line: 56,
33314
33372
  column: 6
33315
33373
  },
33316
33374
  end: {
33317
- line: 49,
33318
- column: 28
33375
+ line: 74,
33376
+ column: 4
33319
33377
  }
33320
33378
  },
33321
33379
  "6": {
33322
33380
  start: {
33323
33381
  line: 58,
33324
- column: 6
33325
- },
33326
- end: {
33327
- line: 76,
33328
- column: 4
33329
- }
33330
- },
33331
- "7": {
33332
- start: {
33333
- line: 60,
33334
33382
  column: 23
33335
33383
  },
33336
33384
  end: {
33337
- line: 60,
33385
+ line: 58,
33338
33386
  column: 39
33339
33387
  }
33340
33388
  },
33341
- "8": {
33389
+ "7": {
33342
33390
  start: {
33343
- line: 78,
33391
+ line: 76,
33344
33392
  column: 2
33345
33393
  },
33346
33394
  end: {
33347
- line: 84,
33395
+ line: 82,
33348
33396
  column: 3
33349
33397
  }
33350
33398
  },
33351
- "9": {
33399
+ "8": {
33352
33400
  start: {
33353
- line: 79,
33401
+ line: 77,
33354
33402
  column: 4
33355
33403
  },
33356
33404
  end: {
33357
- line: 83,
33405
+ line: 81,
33358
33406
  column: 6
33359
33407
  }
33360
33408
  },
33361
- "10": {
33409
+ "9": {
33362
33410
  start: {
33363
- line: 86,
33411
+ line: 84,
33364
33412
  column: 23
33365
33413
  },
33366
33414
  end: {
33367
- line: 93,
33415
+ line: 91,
33368
33416
  column: 6
33369
33417
  }
33370
33418
  },
33371
- "11": {
33419
+ "10": {
33372
33420
  start: {
33373
- line: 87,
33421
+ line: 85,
33374
33422
  column: 4
33375
33423
  },
33376
33424
  end: {
33377
- line: 93,
33425
+ line: 91,
33378
33426
  column: 6
33379
33427
  }
33380
33428
  },
33381
- "12": {
33429
+ "11": {
33382
33430
  start: {
33383
- line: 95,
33431
+ line: 93,
33384
33432
  column: 24
33385
33433
  },
33386
33434
  end: {
33387
- line: 107,
33435
+ line: 105,
33388
33436
  column: 3
33389
33437
  }
33390
33438
  },
33391
- "13": {
33439
+ "12": {
33392
33440
  start: {
33393
- line: 96,
33441
+ line: 94,
33394
33442
  column: 32
33395
33443
  },
33396
33444
  end: {
33397
- line: 99,
33445
+ line: 97,
33398
33446
  column: 6
33399
33447
  }
33400
33448
  },
33401
- "14": {
33449
+ "13": {
33402
33450
  start: {
33403
- line: 101,
33451
+ line: 99,
33404
33452
  column: 4
33405
33453
  },
33406
33454
  end: {
33407
- line: 106,
33455
+ line: 104,
33408
33456
  column: 5
33409
33457
  }
33410
33458
  },
33411
- "15": {
33459
+ "14": {
33412
33460
  start: {
33413
- line: 102,
33461
+ line: 100,
33414
33462
  column: 6
33415
33463
  },
33416
33464
  end: {
33417
- line: 105,
33465
+ line: 103,
33418
33466
  column: 8
33419
33467
  }
33420
33468
  },
33421
- "16": {
33469
+ "15": {
33422
33470
  start: {
33423
- line: 110,
33471
+ line: 108,
33424
33472
  column: 4
33425
33473
  },
33426
33474
  end: {
33427
- line: 111,
33475
+ line: 109,
33428
33476
  column: 61
33429
33477
  }
33430
33478
  },
33431
- "17": {
33479
+ "16": {
33432
33480
  start: {
33433
- line: 111,
33481
+ line: 109,
33434
33482
  column: 17
33435
33483
  },
33436
33484
  end: {
33437
- line: 111,
33485
+ line: 109,
33438
33486
  column: 60
33439
33487
  }
33440
33488
  },
33441
- "18": {
33489
+ "17": {
33442
33490
  start: {
33443
- line: 114,
33491
+ line: 112,
33444
33492
  column: 4
33445
33493
  },
33446
33494
  end: {
33447
- line: 114,
33495
+ line: 112,
33448
33496
  column: 68
33449
33497
  }
33450
33498
  },
33451
- "19": {
33499
+ "18": {
33452
33500
  start: {
33453
- line: 114,
33501
+ line: 112,
33454
33502
  column: 38
33455
33503
  },
33456
33504
  end: {
33457
- line: 114,
33505
+ line: 112,
33458
33506
  column: 67
33459
33507
  }
33460
33508
  },
33461
- "20": {
33509
+ "19": {
33462
33510
  start: {
33463
- line: 116,
33511
+ line: 114,
33464
33512
  column: 31
33465
33513
  },
33466
33514
  end: {
33467
- line: 116,
33515
+ line: 114,
33468
33516
  column: 68
33469
33517
  }
33470
33518
  },
33471
- "21": {
33519
+ "20": {
33472
33520
  start: {
33473
- line: 116,
33521
+ line: 114,
33474
33522
  column: 62
33475
33523
  },
33476
33524
  end: {
33477
- line: 116,
33525
+ line: 114,
33478
33526
  column: 67
33479
33527
  }
33480
33528
  },
33481
- "22": {
33529
+ "21": {
33482
33530
  start: {
33483
- line: 118,
33531
+ line: 116,
33484
33532
  column: 31
33485
33533
  },
33486
33534
  end: {
33487
- line: 120,
33535
+ line: 118,
33488
33536
  column: 79
33489
33537
  }
33490
33538
  },
33491
- "23": {
33539
+ "22": {
33492
33540
  start: {
33493
- line: 122,
33541
+ line: 120,
33494
33542
  column: 2
33495
33543
  },
33496
33544
  end: {
33497
- line: 167,
33545
+ line: 162,
33498
33546
  column: 4
33499
33547
  }
33500
33548
  },
33501
- "24": {
33549
+ "23": {
33502
33550
  start: {
33503
- line: 135,
33551
+ line: 131,
33504
33552
  column: 10
33505
33553
  },
33506
33554
  end: {
33507
- line: 158,
33555
+ line: 153,
33508
33556
  column: 12
33509
33557
  }
33510
33558
  },
33511
- "25": {
33559
+ "24": {
33512
33560
  start: {
33513
- line: 154,
33561
+ line: 149,
33514
33562
  column: 14
33515
33563
  },
33516
33564
  end: {
33517
- line: 156,
33565
+ line: 151,
33518
33566
  column: 15
33519
33567
  }
33520
33568
  },
33521
- "26": {
33569
+ "25": {
33522
33570
  start: {
33523
- line: 155,
33571
+ line: 150,
33524
33572
  column: 16
33525
33573
  },
33526
33574
  end: {
33527
- line: 155,
33575
+ line: 150,
33528
33576
  column: 49
33529
33577
  }
33530
33578
  }
@@ -33548,7 +33596,7 @@ function cov_2nbnnlcv5p() {
33548
33596
  column: 6
33549
33597
  },
33550
33598
  end: {
33551
- line: 168,
33599
+ line: 163,
33552
33600
  column: 1
33553
33601
  }
33554
33602
  },
@@ -33558,241 +33606,241 @@ function cov_2nbnnlcv5p() {
33558
33606
  name: "(anonymous_1)",
33559
33607
  decl: {
33560
33608
  start: {
33561
- line: 47,
33609
+ line: 45,
33562
33610
  column: 13
33563
33611
  },
33564
33612
  end: {
33565
- line: 47,
33613
+ line: 45,
33566
33614
  column: 14
33567
33615
  }
33568
33616
  },
33569
33617
  loc: {
33570
33618
  start: {
33571
- line: 47,
33619
+ line: 45,
33572
33620
  column: 22
33573
33621
  },
33574
33622
  end: {
33575
- line: 47,
33623
+ line: 45,
33576
33624
  column: 41
33577
33625
  }
33578
33626
  },
33579
- line: 47
33627
+ line: 45
33580
33628
  },
33581
33629
  "2": {
33582
33630
  name: "(anonymous_2)",
33583
33631
  decl: {
33584
33632
  start: {
33585
- line: 48,
33633
+ line: 46,
33586
33634
  column: 15
33587
33635
  },
33588
33636
  end: {
33589
- line: 48,
33637
+ line: 46,
33590
33638
  column: 16
33591
33639
  }
33592
33640
  },
33593
33641
  loc: {
33594
33642
  start: {
33595
- line: 49,
33643
+ line: 47,
33596
33644
  column: 6
33597
33645
  },
33598
33646
  end: {
33599
- line: 49,
33647
+ line: 47,
33600
33648
  column: 28
33601
33649
  }
33602
33650
  },
33603
- line: 49
33651
+ line: 47
33604
33652
  },
33605
33653
  "3": {
33606
33654
  name: "(anonymous_3)",
33607
33655
  decl: {
33608
33656
  start: {
33609
- line: 60,
33657
+ line: 58,
33610
33658
  column: 15
33611
33659
  },
33612
33660
  end: {
33613
- line: 60,
33661
+ line: 58,
33614
33662
  column: 16
33615
33663
  }
33616
33664
  },
33617
33665
  loc: {
33618
33666
  start: {
33619
- line: 60,
33667
+ line: 58,
33620
33668
  column: 23
33621
33669
  },
33622
33670
  end: {
33623
- line: 60,
33671
+ line: 58,
33624
33672
  column: 39
33625
33673
  }
33626
33674
  },
33627
- line: 60
33675
+ line: 58
33628
33676
  },
33629
33677
  "4": {
33630
33678
  name: "(anonymous_4)",
33631
33679
  decl: {
33632
33680
  start: {
33633
- line: 86,
33681
+ line: 84,
33634
33682
  column: 23
33635
33683
  },
33636
33684
  end: {
33637
- line: 86,
33685
+ line: 84,
33638
33686
  column: 24
33639
33687
  }
33640
33688
  },
33641
33689
  loc: {
33642
33690
  start: {
33643
- line: 87,
33691
+ line: 85,
33644
33692
  column: 4
33645
33693
  },
33646
33694
  end: {
33647
- line: 93,
33695
+ line: 91,
33648
33696
  column: 6
33649
33697
  }
33650
33698
  },
33651
- line: 87
33699
+ line: 85
33652
33700
  },
33653
33701
  "5": {
33654
33702
  name: "(anonymous_5)",
33655
33703
  decl: {
33656
33704
  start: {
33657
- line: 95,
33705
+ line: 93,
33658
33706
  column: 24
33659
33707
  },
33660
33708
  end: {
33661
- line: 95,
33709
+ line: 93,
33662
33710
  column: 25
33663
33711
  }
33664
33712
  },
33665
33713
  loc: {
33666
33714
  start: {
33667
- line: 95,
33715
+ line: 93,
33668
33716
  column: 37
33669
33717
  },
33670
33718
  end: {
33671
- line: 107,
33719
+ line: 105,
33672
33720
  column: 3
33673
33721
  }
33674
33722
  },
33675
- line: 95
33723
+ line: 93
33676
33724
  },
33677
33725
  "6": {
33678
33726
  name: "(anonymous_6)",
33679
33727
  decl: {
33680
33728
  start: {
33681
- line: 111,
33729
+ line: 109,
33682
33730
  column: 5
33683
33731
  },
33684
33732
  end: {
33685
- line: 111,
33733
+ line: 109,
33686
33734
  column: 6
33687
33735
  }
33688
33736
  },
33689
33737
  loc: {
33690
33738
  start: {
33691
- line: 111,
33739
+ line: 109,
33692
33740
  column: 17
33693
33741
  },
33694
33742
  end: {
33695
- line: 111,
33743
+ line: 109,
33696
33744
  column: 60
33697
33745
  }
33698
33746
  },
33699
- line: 111
33747
+ line: 109
33700
33748
  },
33701
33749
  "7": {
33702
33750
  name: "(anonymous_7)",
33703
33751
  decl: {
33704
33752
  start: {
33705
- line: 114,
33753
+ line: 112,
33706
33754
  column: 24
33707
33755
  },
33708
33756
  end: {
33709
- line: 114,
33757
+ line: 112,
33710
33758
  column: 25
33711
33759
  }
33712
33760
  },
33713
33761
  loc: {
33714
33762
  start: {
33715
- line: 114,
33763
+ line: 112,
33716
33764
  column: 38
33717
33765
  },
33718
33766
  end: {
33719
- line: 114,
33767
+ line: 112,
33720
33768
  column: 67
33721
33769
  }
33722
33770
  },
33723
- line: 114
33771
+ line: 112
33724
33772
  },
33725
33773
  "8": {
33726
33774
  name: "(anonymous_8)",
33727
33775
  decl: {
33728
33776
  start: {
33729
- line: 116,
33777
+ line: 114,
33730
33778
  column: 56
33731
33779
  },
33732
33780
  end: {
33733
- line: 116,
33781
+ line: 114,
33734
33782
  column: 57
33735
33783
  }
33736
33784
  },
33737
33785
  loc: {
33738
33786
  start: {
33739
- line: 116,
33787
+ line: 114,
33740
33788
  column: 62
33741
33789
  },
33742
33790
  end: {
33743
- line: 116,
33791
+ line: 114,
33744
33792
  column: 67
33745
33793
  }
33746
33794
  },
33747
- line: 116
33795
+ line: 114
33748
33796
  },
33749
33797
  "9": {
33750
33798
  name: "(anonymous_9)",
33751
33799
  decl: {
33752
33800
  start: {
33753
- line: 134,
33801
+ line: 130,
33754
33802
  column: 9
33755
33803
  },
33756
33804
  end: {
33757
- line: 134,
33805
+ line: 130,
33758
33806
  column: 10
33759
33807
  }
33760
33808
  },
33761
33809
  loc: {
33762
33810
  start: {
33763
- line: 135,
33811
+ line: 131,
33764
33812
  column: 10
33765
33813
  },
33766
33814
  end: {
33767
- line: 158,
33815
+ line: 153,
33768
33816
  column: 12
33769
33817
  }
33770
33818
  },
33771
- line: 135
33819
+ line: 131
33772
33820
  },
33773
33821
  "10": {
33774
33822
  name: "(anonymous_10)",
33775
33823
  decl: {
33776
33824
  start: {
33777
- line: 153,
33825
+ line: 148,
33778
33826
  column: 22
33779
33827
  },
33780
33828
  end: {
33781
- line: 153,
33829
+ line: 148,
33782
33830
  column: 23
33783
33831
  }
33784
33832
  },
33785
33833
  loc: {
33786
33834
  start: {
33787
- line: 153,
33835
+ line: 148,
33788
33836
  column: 31
33789
33837
  },
33790
33838
  end: {
33791
- line: 157,
33839
+ line: 152,
33792
33840
  column: 13
33793
33841
  }
33794
33842
  },
33795
- line: 153
33843
+ line: 148
33796
33844
  }
33797
33845
  },
33798
33846
  branchMap: {
@@ -34039,70 +34087,70 @@ function cov_2nbnnlcv5p() {
34039
34087
  "10": {
34040
34088
  loc: {
34041
34089
  start: {
34042
- line: 48,
34090
+ line: 46,
34043
34091
  column: 18
34044
34092
  },
34045
34093
  end: {
34046
- line: 48,
34094
+ line: 46,
34047
34095
  column: 70
34048
34096
  }
34049
34097
  },
34050
34098
  type: "default-arg",
34051
34099
  locations: [{
34052
34100
  start: {
34053
- line: 48,
34101
+ line: 46,
34054
34102
  column: 27
34055
34103
  },
34056
34104
  end: {
34057
- line: 48,
34105
+ line: 46,
34058
34106
  column: 70
34059
34107
  }
34060
34108
  }],
34061
- line: 48
34109
+ line: 46
34062
34110
  },
34063
34111
  "11": {
34064
34112
  loc: {
34065
34113
  start: {
34066
- line: 53,
34114
+ line: 51,
34067
34115
  column: 10
34068
34116
  },
34069
34117
  end: {
34070
- line: 56,
34118
+ line: 54,
34071
34119
  column: 5
34072
34120
  }
34073
34121
  },
34074
34122
  type: "default-arg",
34075
34123
  locations: [{
34076
34124
  start: {
34077
- line: 53,
34125
+ line: 51,
34078
34126
  column: 46
34079
34127
  },
34080
34128
  end: {
34081
- line: 56,
34129
+ line: 54,
34082
34130
  column: 5
34083
34131
  }
34084
34132
  }],
34085
- line: 53
34133
+ line: 51
34086
34134
  },
34087
34135
  "12": {
34088
34136
  loc: {
34089
34137
  start: {
34090
- line: 78,
34138
+ line: 76,
34091
34139
  column: 2
34092
34140
  },
34093
34141
  end: {
34094
- line: 84,
34142
+ line: 82,
34095
34143
  column: 3
34096
34144
  }
34097
34145
  },
34098
34146
  type: "if",
34099
34147
  locations: [{
34100
34148
  start: {
34101
- line: 78,
34149
+ line: 76,
34102
34150
  column: 2
34103
34151
  },
34104
34152
  end: {
34105
- line: 84,
34153
+ line: 82,
34106
34154
  column: 3
34107
34155
  }
34108
34156
  }, {
@@ -34115,69 +34163,69 @@ function cov_2nbnnlcv5p() {
34115
34163
  column: undefined
34116
34164
  }
34117
34165
  }],
34118
- line: 78
34166
+ line: 76
34119
34167
  },
34120
34168
  "13": {
34121
34169
  loc: {
34122
34170
  start: {
34123
- line: 78,
34171
+ line: 76,
34124
34172
  column: 6
34125
34173
  },
34126
34174
  end: {
34127
- line: 78,
34175
+ line: 76,
34128
34176
  column: 53
34129
34177
  }
34130
34178
  },
34131
34179
  type: "binary-expr",
34132
34180
  locations: [{
34133
34181
  start: {
34134
- line: 78,
34182
+ line: 76,
34135
34183
  column: 6
34136
34184
  },
34137
34185
  end: {
34138
- line: 78,
34186
+ line: 76,
34139
34187
  column: 15
34140
34188
  }
34141
34189
  }, {
34142
34190
  start: {
34143
- line: 78,
34191
+ line: 76,
34144
34192
  column: 20
34145
34193
  },
34146
34194
  end: {
34147
- line: 78,
34195
+ line: 76,
34148
34196
  column: 30
34149
34197
  }
34150
34198
  }, {
34151
34199
  start: {
34152
- line: 78,
34200
+ line: 76,
34153
34201
  column: 34
34154
34202
  },
34155
34203
  end: {
34156
- line: 78,
34204
+ line: 76,
34157
34205
  column: 52
34158
34206
  }
34159
34207
  }],
34160
- line: 78
34208
+ line: 76
34161
34209
  },
34162
34210
  "14": {
34163
34211
  loc: {
34164
34212
  start: {
34165
- line: 101,
34213
+ line: 99,
34166
34214
  column: 4
34167
34215
  },
34168
34216
  end: {
34169
- line: 106,
34217
+ line: 104,
34170
34218
  column: 5
34171
34219
  }
34172
34220
  },
34173
34221
  type: "if",
34174
34222
  locations: [{
34175
34223
  start: {
34176
- line: 101,
34224
+ line: 99,
34177
34225
  column: 4
34178
34226
  },
34179
34227
  end: {
34180
- line: 106,
34228
+ line: 104,
34181
34229
  column: 5
34182
34230
  }
34183
34231
  }, {
@@ -34190,192 +34238,192 @@ function cov_2nbnnlcv5p() {
34190
34238
  column: undefined
34191
34239
  }
34192
34240
  }],
34193
- line: 101
34241
+ line: 99
34194
34242
  },
34195
34243
  "15": {
34196
34244
  loc: {
34197
34245
  start: {
34198
- line: 110,
34246
+ line: 108,
34199
34247
  column: 4
34200
34248
  },
34201
34249
  end: {
34202
- line: 111,
34250
+ line: 109,
34203
34251
  column: 61
34204
34252
  }
34205
34253
  },
34206
34254
  type: "binary-expr",
34207
34255
  locations: [{
34208
34256
  start: {
34209
- line: 110,
34257
+ line: 108,
34210
34258
  column: 4
34211
34259
  },
34212
34260
  end: {
34213
- line: 110,
34261
+ line: 108,
34214
34262
  column: 23
34215
34263
  }
34216
34264
  }, {
34217
34265
  start: {
34218
- line: 111,
34266
+ line: 109,
34219
34267
  column: 5
34220
34268
  },
34221
34269
  end: {
34222
- line: 111,
34270
+ line: 109,
34223
34271
  column: 60
34224
34272
  }
34225
34273
  }],
34226
- line: 110
34274
+ line: 108
34227
34275
  },
34228
34276
  "16": {
34229
34277
  loc: {
34230
34278
  start: {
34231
- line: 114,
34279
+ line: 112,
34232
34280
  column: 4
34233
34281
  },
34234
34282
  end: {
34235
- line: 114,
34283
+ line: 112,
34236
34284
  column: 68
34237
34285
  }
34238
34286
  },
34239
34287
  type: "binary-expr",
34240
34288
  locations: [{
34241
34289
  start: {
34242
- line: 114,
34290
+ line: 112,
34243
34291
  column: 4
34244
34292
  },
34245
34293
  end: {
34246
- line: 114,
34294
+ line: 112,
34247
34295
  column: 19
34248
34296
  }
34249
34297
  }, {
34250
34298
  start: {
34251
- line: 114,
34299
+ line: 112,
34252
34300
  column: 24
34253
34301
  },
34254
34302
  end: {
34255
- line: 114,
34303
+ line: 112,
34256
34304
  column: 67
34257
34305
  }
34258
34306
  }],
34259
- line: 114
34307
+ line: 112
34260
34308
  },
34261
34309
  "17": {
34262
34310
  loc: {
34263
34311
  start: {
34264
- line: 116,
34312
+ line: 114,
34265
34313
  column: 31
34266
34314
  },
34267
34315
  end: {
34268
- line: 116,
34316
+ line: 114,
34269
34317
  column: 68
34270
34318
  }
34271
34319
  },
34272
34320
  type: "binary-expr",
34273
34321
  locations: [{
34274
34322
  start: {
34275
- line: 116,
34323
+ line: 114,
34276
34324
  column: 31
34277
34325
  },
34278
34326
  end: {
34279
- line: 116,
34327
+ line: 114,
34280
34328
  column: 51
34281
34329
  }
34282
34330
  }, {
34283
34331
  start: {
34284
- line: 116,
34332
+ line: 114,
34285
34333
  column: 56
34286
34334
  },
34287
34335
  end: {
34288
- line: 116,
34336
+ line: 114,
34289
34337
  column: 67
34290
34338
  }
34291
34339
  }],
34292
- line: 116
34340
+ line: 114
34293
34341
  },
34294
34342
  "18": {
34295
34343
  loc: {
34296
34344
  start: {
34297
- line: 118,
34345
+ line: 116,
34298
34346
  column: 31
34299
34347
  },
34300
34348
  end: {
34301
- line: 120,
34349
+ line: 118,
34302
34350
  column: 79
34303
34351
  }
34304
34352
  },
34305
34353
  type: "cond-expr",
34306
34354
  locations: [{
34307
34355
  start: {
34308
- line: 119,
34356
+ line: 117,
34309
34357
  column: 6
34310
34358
  },
34311
34359
  end: {
34312
- line: 119,
34360
+ line: 117,
34313
34361
  column: 20
34314
34362
  }
34315
34363
  }, {
34316
34364
  start: {
34317
- line: 120,
34365
+ line: 118,
34318
34366
  column: 6
34319
34367
  },
34320
34368
  end: {
34321
- line: 120,
34369
+ line: 118,
34322
34370
  column: 79
34323
34371
  }
34324
34372
  }],
34325
- line: 118
34373
+ line: 116
34326
34374
  },
34327
34375
  "19": {
34328
34376
  loc: {
34329
34377
  start: {
34330
- line: 150,
34378
+ line: 145,
34331
34379
  column: 14
34332
34380
  },
34333
34381
  end: {
34334
- line: 150,
34382
+ line: 145,
34335
34383
  column: 77
34336
34384
  }
34337
34385
  },
34338
34386
  type: "cond-expr",
34339
34387
  locations: [{
34340
34388
  start: {
34341
- line: 150,
34389
+ line: 145,
34342
34390
  column: 41
34343
34391
  },
34344
34392
  end: {
34345
- line: 150,
34393
+ line: 145,
34346
34394
  column: 54
34347
34395
  }
34348
34396
  }, {
34349
34397
  start: {
34350
- line: 150,
34398
+ line: 145,
34351
34399
  column: 57
34352
34400
  },
34353
34401
  end: {
34354
- line: 150,
34402
+ line: 145,
34355
34403
  column: 77
34356
34404
  }
34357
34405
  }],
34358
- line: 150
34406
+ line: 145
34359
34407
  },
34360
34408
  "20": {
34361
34409
  loc: {
34362
34410
  start: {
34363
- line: 154,
34411
+ line: 149,
34364
34412
  column: 14
34365
34413
  },
34366
34414
  end: {
34367
- line: 156,
34415
+ line: 151,
34368
34416
  column: 15
34369
34417
  }
34370
34418
  },
34371
34419
  type: "if",
34372
34420
  locations: [{
34373
34421
  start: {
34374
- line: 154,
34422
+ line: 149,
34375
34423
  column: 14
34376
34424
  },
34377
34425
  end: {
34378
- line: 156,
34426
+ line: 151,
34379
34427
  column: 15
34380
34428
  }
34381
34429
  }, {
@@ -34388,40 +34436,40 @@ function cov_2nbnnlcv5p() {
34388
34436
  column: undefined
34389
34437
  }
34390
34438
  }],
34391
- line: 154
34439
+ line: 149
34392
34440
  },
34393
34441
  "21": {
34394
34442
  loc: {
34395
34443
  start: {
34396
- line: 161,
34444
+ line: 156,
34397
34445
  column: 7
34398
34446
  },
34399
34447
  end: {
34400
- line: 165,
34448
+ line: 160,
34401
34449
  column: 7
34402
34450
  }
34403
34451
  },
34404
34452
  type: "binary-expr",
34405
34453
  locations: [{
34406
34454
  start: {
34407
- line: 161,
34455
+ line: 156,
34408
34456
  column: 7
34409
34457
  },
34410
34458
  end: {
34411
- line: 161,
34459
+ line: 156,
34412
34460
  column: 25
34413
34461
  }
34414
34462
  }, {
34415
34463
  start: {
34416
- line: 162,
34464
+ line: 157,
34417
34465
  column: 8
34418
34466
  },
34419
34467
  end: {
34420
- line: 164,
34468
+ line: 159,
34421
34469
  column: 14
34422
34470
  }
34423
34471
  }],
34424
- line: 161
34472
+ line: 156
34425
34473
  }
34426
34474
  },
34427
34475
  s: {
@@ -34450,8 +34498,7 @@ function cov_2nbnnlcv5p() {
34450
34498
  "22": 0,
34451
34499
  "23": 0,
34452
34500
  "24": 0,
34453
- "25": 0,
34454
- "26": 0
34501
+ "25": 0
34455
34502
  },
34456
34503
  f: {
34457
34504
  "0": 0,
@@ -34491,7 +34538,7 @@ function cov_2nbnnlcv5p() {
34491
34538
  "21": [0, 0]
34492
34539
  },
34493
34540
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
34494
- hash: "6eb1d47c51f39613ed75d6b4a648a046341f2a2c"
34541
+ hash: "3657512e450f0fb3332d5e2b841a7570f6023ce7"
34495
34542
  };
34496
34543
  var coverage = global[gcv] || (global[gcv] = {});
34497
34544
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -34511,7 +34558,7 @@ function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if
34511
34558
  function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty$a(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
34512
34559
  cov_2nbnnlcv5p().s[0]++;
34513
34560
  var BuildForm = function BuildForm(_ref) {
34514
- var _ref8, _ref9, _ref11;
34561
+ var _ref6, _ref7, _ref9;
34515
34562
  var id = _ref.id,
34516
34563
  onUpdate = _ref.onUpdate,
34517
34564
  buildRequestArgs = _ref.buildRequestArgs,
@@ -34542,32 +34589,28 @@ var BuildForm = function BuildForm(_ref) {
34542
34589
  _ref$allowAdditionalG = _ref.allowAdditionalGuests,
34543
34590
  allowAdditionalGuests = _ref$allowAdditionalG === void 0 ? (cov_2nbnnlcv5p().b[9][0]++, false) : _ref$allowAdditionalG;
34544
34591
  cov_2nbnnlcv5p().f[0]++;
34545
- var _ref2 = (cov_2nbnnlcv5p().s[1]++, useState(false)),
34546
- _ref3 = _slicedToArray$6(_ref2, 2),
34547
- shouldValidateForm = _ref3[0],
34548
- setShouldValidateForm = _ref3[1];
34549
- var queryClient = (cov_2nbnnlcv5p().s[2]++, useQueryClient());
34550
- var _ref4 = (cov_2nbnnlcv5p().s[3]++, useUpdateQuestions({
34592
+ var queryClient = (cov_2nbnnlcv5p().s[1]++, useQueryClient());
34593
+ var _ref2 = (cov_2nbnnlcv5p().s[2]++, useUpdateQuestions({
34551
34594
  formId: id,
34552
34595
  onError: function onError(error) {
34553
34596
  cov_2nbnnlcv5p().f[1]++;
34554
- cov_2nbnnlcv5p().s[4]++;
34597
+ cov_2nbnnlcv5p().s[3]++;
34555
34598
  return Toastr.error(error);
34556
34599
  },
34557
- onSuccess: function onSuccess(_ref5) {
34558
- var _ref5$notice = _ref5.notice,
34559
- notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[10][0]++, "Questions have been updated successfully!") : _ref5$notice;
34600
+ onSuccess: function onSuccess(_ref3) {
34601
+ var _ref3$notice = _ref3.notice,
34602
+ notice = _ref3$notice === void 0 ? (cov_2nbnnlcv5p().b[10][0]++, "Questions have been updated successfully!") : _ref3$notice;
34560
34603
  cov_2nbnnlcv5p().f[2]++;
34561
- cov_2nbnnlcv5p().s[5]++;
34604
+ cov_2nbnnlcv5p().s[4]++;
34562
34605
  return Toastr.success(notice);
34563
34606
  }
34564
34607
  })),
34565
- updateQuestions = _ref4.mutateAsync;
34566
- var _ref6 = (cov_2nbnnlcv5p().s[6]++, useForm({
34608
+ updateQuestions = _ref2.mutateAsync;
34609
+ var _ref4 = (cov_2nbnnlcv5p().s[5]++, useForm({
34567
34610
  formId: id,
34568
34611
  onSuccess: function onSuccess(data) {
34569
34612
  cov_2nbnnlcv5p().f[3]++;
34570
- cov_2nbnnlcv5p().s[7]++;
34613
+ cov_2nbnnlcv5p().s[6]++;
34571
34614
  return onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(data);
34572
34615
  },
34573
34616
  placeholderData: {
@@ -34583,28 +34626,28 @@ var BuildForm = function BuildForm(_ref) {
34583
34626
  }]
34584
34627
  }
34585
34628
  })),
34586
- _ref6$data = _ref6.data,
34587
- _ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[11][0]++, {
34629
+ _ref4$data = _ref4.data,
34630
+ _ref4$data2 = _ref4$data === void 0 ? (cov_2nbnnlcv5p().b[11][0]++, {
34588
34631
  title: "",
34589
34632
  questions: []
34590
- }) : _ref6$data,
34591
- questions = _ref6$data2.questions,
34592
- isQuestionsLoading = _ref6$data2.isQuestionsLoading,
34593
- isLoading = _ref6.isLoading;
34594
- cov_2nbnnlcv5p().s[8]++;
34633
+ }) : _ref4$data,
34634
+ questions = _ref4$data2.questions,
34635
+ isQuestionsLoading = _ref4$data2.isQuestionsLoading,
34636
+ isLoading = _ref4.isLoading;
34637
+ cov_2nbnnlcv5p().s[7]++;
34595
34638
  if ((cov_2nbnnlcv5p().b[13][0]++, isLoading) || (cov_2nbnnlcv5p().b[13][1]++, showLoader) && (cov_2nbnnlcv5p().b[13][2]++, isQuestionsLoading)) {
34596
34639
  cov_2nbnnlcv5p().b[12][0]++;
34597
- cov_2nbnnlcv5p().s[9]++;
34640
+ cov_2nbnnlcv5p().s[8]++;
34598
34641
  return /*#__PURE__*/React__default.createElement("div", {
34599
34642
  className: "flex h-full w-full items-center justify-center py-6"
34600
34643
  }, /*#__PURE__*/React__default.createElement(PageLoader, null));
34601
34644
  } else {
34602
34645
  cov_2nbnnlcv5p().b[12][1]++;
34603
34646
  }
34604
- cov_2nbnnlcv5p().s[10]++;
34647
+ cov_2nbnnlcv5p().s[9]++;
34605
34648
  var handleSubmit = function handleSubmit(payload) {
34606
34649
  cov_2nbnnlcv5p().f[4]++;
34607
- cov_2nbnnlcv5p().s[11]++;
34650
+ cov_2nbnnlcv5p().s[10]++;
34608
34651
  return updateQuestions({
34609
34652
  id: id,
34610
34653
  values: _objectSpread$a({
@@ -34612,56 +34655,54 @@ var BuildForm = function BuildForm(_ref) {
34612
34655
  }, buildRequestArgs)
34613
34656
  });
34614
34657
  };
34615
- cov_2nbnnlcv5p().s[12]++;
34658
+ cov_2nbnnlcv5p().s[11]++;
34616
34659
  var onValueChange = function onValueChange(questions) {
34617
34660
  cov_2nbnnlcv5p().f[5]++;
34618
- var _ref7 = (cov_2nbnnlcv5p().s[13]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
34619
- dataUpdateCount = _ref7.dataUpdateCount;
34620
- cov_2nbnnlcv5p().s[14]++;
34661
+ var _ref5 = (cov_2nbnnlcv5p().s[12]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
34662
+ dataUpdateCount = _ref5.dataUpdateCount;
34663
+ cov_2nbnnlcv5p().s[13]++;
34621
34664
  if (dataUpdateCount > 0) {
34622
34665
  cov_2nbnnlcv5p().b[14][0]++;
34623
- cov_2nbnnlcv5p().s[15]++;
34666
+ cov_2nbnnlcv5p().s[14]++;
34624
34667
  queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], assoc("questions", questions));
34625
34668
  } else {
34626
34669
  cov_2nbnnlcv5p().b[14][1]++;
34627
34670
  }
34628
34671
  };
34629
- var isDeletable = (cov_2nbnnlcv5p().s[16]++, (_ref8 = (cov_2nbnnlcv5p().b[15][0]++, isQuestionDeletable)) !== null && _ref8 !== void 0 ? _ref8 : (cov_2nbnnlcv5p().b[15][1]++, function (question) {
34672
+ var isDeletable = (cov_2nbnnlcv5p().s[15]++, (_ref6 = (cov_2nbnnlcv5p().b[15][0]++, isQuestionDeletable)) !== null && _ref6 !== void 0 ? _ref6 : (cov_2nbnnlcv5p().b[15][1]++, function (question) {
34630
34673
  cov_2nbnnlcv5p().f[6]++;
34631
- cov_2nbnnlcv5p().s[17]++;
34674
+ cov_2nbnnlcv5p().s[16]++;
34632
34675
  return !nonRemovableFields.includes(question.kind);
34633
34676
  }));
34634
- var isRequiredField = (cov_2nbnnlcv5p().s[18]++, (_ref9 = (cov_2nbnnlcv5p().b[16][0]++, isFieldRequired)) !== null && _ref9 !== void 0 ? _ref9 : (cov_2nbnnlcv5p().b[16][1]++, function (_ref10) {
34635
- var kind = _ref10.kind;
34677
+ var isRequiredField = (cov_2nbnnlcv5p().s[17]++, (_ref7 = (cov_2nbnnlcv5p().b[16][0]++, isFieldRequired)) !== null && _ref7 !== void 0 ? _ref7 : (cov_2nbnnlcv5p().b[16][1]++, function (_ref8) {
34678
+ var kind = _ref8.kind;
34636
34679
  cov_2nbnnlcv5p().f[7]++;
34637
- cov_2nbnnlcv5p().s[19]++;
34680
+ cov_2nbnnlcv5p().s[18]++;
34638
34681
  return requiredFields.includes(kind);
34639
34682
  }));
34640
- var isDisabledFieldLabel = (cov_2nbnnlcv5p().s[20]++, (_ref11 = (cov_2nbnnlcv5p().b[17][0]++, isFieldLabelDisabled)) !== null && _ref11 !== void 0 ? _ref11 : (cov_2nbnnlcv5p().b[17][1]++, function () {
34683
+ var isDisabledFieldLabel = (cov_2nbnnlcv5p().s[19]++, (_ref9 = (cov_2nbnnlcv5p().b[17][0]++, isFieldLabelDisabled)) !== null && _ref9 !== void 0 ? _ref9 : (cov_2nbnnlcv5p().b[17][1]++, function () {
34641
34684
  cov_2nbnnlcv5p().f[8]++;
34642
- cov_2nbnnlcv5p().s[21]++;
34685
+ cov_2nbnnlcv5p().s[20]++;
34643
34686
  return false;
34644
34687
  }));
34645
- var defaultQuestionKinds = (cov_2nbnnlcv5p().s[22]++, allowAdditionalGuests ? (cov_2nbnnlcv5p().b[18][0]++, QUESTION_KINDS) : (cov_2nbnnlcv5p().b[18][1]++, removeBy({
34688
+ var defaultQuestionKinds = (cov_2nbnnlcv5p().s[21]++, allowAdditionalGuests ? (cov_2nbnnlcv5p().b[18][0]++, QUESTION_KINDS) : (cov_2nbnnlcv5p().b[18][1]++, removeBy({
34646
34689
  type: QUESTION_KIND.ADDITIONAL_GUESTS.value
34647
34690
  }, QUESTION_KINDS)));
34648
- cov_2nbnnlcv5p().s[23]++;
34691
+ cov_2nbnnlcv5p().s[22]++;
34649
34692
  return /*#__PURE__*/React__default.createElement("div", {
34650
34693
  className: "relative"
34651
34694
  }, /*#__PURE__*/React__default.createElement(Formik, {
34652
34695
  enableReinitialize: true,
34653
- validateOnBlur: shouldValidateForm,
34654
- validateOnChange: shouldValidateForm,
34655
34696
  validationSchema: formValidationSchema,
34656
34697
  initialValues: {
34657
34698
  questions: questions
34658
34699
  },
34659
34700
  onSubmit: handleSubmit
34660
- }, function (_ref12) {
34661
- var errors = _ref12.errors,
34662
- setFieldError = _ref12.setFieldError;
34701
+ }, function (_ref10) {
34702
+ var errors = _ref10.errors,
34703
+ setFieldError = _ref10.setFieldError;
34663
34704
  cov_2nbnnlcv5p().f[9]++;
34664
- cov_2nbnnlcv5p().s[24]++;
34705
+ cov_2nbnnlcv5p().s[23]++;
34665
34706
  return /*#__PURE__*/React__default.createElement(Form, _extends$9({}, formDomProps, {
34666
34707
  cancelButtonProps: cancelButtonProps,
34667
34708
  formId: id,
@@ -34671,7 +34712,6 @@ var BuildForm = function BuildForm(_ref) {
34671
34712
  isKindAlreadyActive: isKindAlreadyActive,
34672
34713
  isRequiredField: isRequiredField,
34673
34714
  kindUniqueOn: kindUniqueOn,
34674
- setShouldValidate: setShouldValidateForm,
34675
34715
  showActionBlock: showActionBlock,
34676
34716
  showAddQuestionDivider: showAddQuestionDivider,
34677
34717
  submitButtonProps: submitButtonProps,
@@ -34679,10 +34719,10 @@ var BuildForm = function BuildForm(_ref) {
34679
34719
  onValueChange: onValueChange,
34680
34720
  onChange: function onChange(event) {
34681
34721
  cov_2nbnnlcv5p().f[10]++;
34682
- cov_2nbnnlcv5p().s[25]++;
34722
+ cov_2nbnnlcv5p().s[24]++;
34683
34723
  if (!isEmpty(errors)) {
34684
34724
  cov_2nbnnlcv5p().b[20][0]++;
34685
- cov_2nbnnlcv5p().s[26]++;
34725
+ cov_2nbnnlcv5p().s[25]++;
34686
34726
  setFieldError(event.target.name);
34687
34727
  } else {
34688
34728
  cov_2nbnnlcv5p().b[20][1]++;
@@ -35939,6 +35979,7 @@ var Spinner = function Spinner(_ref) {
35939
35979
  strokeWidth: "1.5"
35940
35980
  })));
35941
35981
  };
35982
+ var Spinner$1 = /*#__PURE__*/React__default.memo(Spinner);
35942
35983
 
35943
35984
  var _excluded$e = ["label", "loading", "success", "className"];
35944
35985
  function cov_2ndo8sz9m4() {
@@ -36275,7 +36316,7 @@ var Button = function Button(_ref) {
36275
36316
  cov_2ndo8sz9m4().s[1]++;
36276
36317
  return /*#__PURE__*/React__default.createElement("button", _extends$9({
36277
36318
  className: classnames("neeto-form-engine-button", className)
36278
- }, otherProps), (cov_2ndo8sz9m4().b[3][0]++, loading) && (cov_2ndo8sz9m4().b[3][1]++, /*#__PURE__*/React__default.createElement(ButtonLoader, null)), (cov_2ndo8sz9m4().b[4][0]++, success) && (cov_2ndo8sz9m4().b[4][1]++, /*#__PURE__*/React__default.createElement(Success$1, null)), label);
36319
+ }, otherProps), (cov_2ndo8sz9m4().b[3][0]++, loading) && (cov_2ndo8sz9m4().b[3][1]++, /*#__PURE__*/React__default.createElement(ButtonLoader, null)), (cov_2ndo8sz9m4().b[4][0]++, success) && (cov_2ndo8sz9m4().b[4][1]++, /*#__PURE__*/React__default.createElement(Success$2, null)), label);
36279
36320
  };
36280
36321
  cov_2ndo8sz9m4().s[2]++;
36281
36322
  var ButtonLoader = function ButtonLoader() {
@@ -36283,10 +36324,10 @@ var ButtonLoader = function ButtonLoader() {
36283
36324
  cov_2ndo8sz9m4().s[3]++;
36284
36325
  return /*#__PURE__*/React__default.createElement("div", {
36285
36326
  className: "neeto-form-engine-button__loader"
36286
- }, /*#__PURE__*/React__default.createElement(Spinner, null));
36327
+ }, /*#__PURE__*/React__default.createElement(Spinner$1, null));
36287
36328
  };
36288
36329
  cov_2ndo8sz9m4().s[4]++;
36289
- var Success$1 = function Success() {
36330
+ var Success$2 = function Success() {
36290
36331
  cov_2ndo8sz9m4().f[2]++;
36291
36332
  cov_2ndo8sz9m4().s[5]++;
36292
36333
  return /*#__PURE__*/React__default.createElement("div", {
@@ -58880,7 +58921,7 @@ var Condition = function Condition(_ref, ref) {
58880
58921
  className: "neeto-form-engine-input__error"
58881
58922
  }, error)));
58882
58923
  };
58883
- var Condition$1 = /*#__PURE__*/forwardRef(Condition);
58924
+ var Condition$1 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(Condition));
58884
58925
 
58885
58926
  function cov_2lhrgkh8e4() {
58886
58927
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx";
@@ -60485,6 +60526,7 @@ var Choices = function Choices(_ref) {
60485
60526
  className: "neeto-form-engine-input__error"
60486
60527
  }, error)));
60487
60528
  };
60529
+ var Choices$1 = /*#__PURE__*/React__default.memo(Choices);
60488
60530
 
60489
60531
  var _excluded$5 = ["size", "label", "error", "helpText", "className", "innerRef"];
60490
60532
  function cov_2mja3ufqil() {
@@ -61580,7 +61622,7 @@ var OptionsField = function OptionsField(_ref) {
61580
61622
  isRequired = _ref3.isRequired,
61581
61623
  _ref3$optionsAttribut = _ref3.optionsAttributes,
61582
61624
  options = _ref3$optionsAttribut === void 0 ? (cov_1i8uylwhkg().b[0][0]++, []) : _ref3$optionsAttribut;
61583
- var Component = (cov_1i8uylwhkg().s[3]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[1][0]++, Select) : (cov_1i8uylwhkg().b[1][1]++, Choices));
61625
+ var Component = (cov_1i8uylwhkg().s[3]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[1][0]++, Select) : (cov_1i8uylwhkg().b[1][1]++, Choices$1));
61584
61626
  var transformedOptions = (cov_1i8uylwhkg().s[4]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[2][0]++, options.map(function (option) {
61585
61627
  cov_1i8uylwhkg().f[1]++;
61586
61628
  cov_1i8uylwhkg().s[5]++;
@@ -62251,6 +62293,7 @@ var Rating = function Rating(_ref) {
62251
62293
  className: "neeto-form-engine-input__error"
62252
62294
  }, error)));
62253
62295
  };
62296
+ var Rating$1 = /*#__PURE__*/React__default.memo(Rating);
62254
62297
 
62255
62298
  function cov_2lj2o2sww7() {
62256
62299
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/RatingField.jsx";
@@ -62545,7 +62588,7 @@ var RatingField = function RatingField(_ref) {
62545
62588
  field = _ref3.field;
62546
62589
  cov_2lj2o2sww7().f[1]++;
62547
62590
  cov_2lj2o2sww7().s[3]++;
62548
- return /*#__PURE__*/React__default.createElement(Rating, _extends$9({
62591
+ return /*#__PURE__*/React__default.createElement(Rating$1, _extends$9({
62549
62592
  averageRatingLabel: (cov_2lj2o2sww7().b[0][0]++, averageRatingLabel) || (cov_2lj2o2sww7().b[0][1]++, RATING_VALUES.AVERAGE.label),
62550
62593
  error: meta.touched ? (cov_2lj2o2sww7().b[1][0]++, meta.error) : (cov_2lj2o2sww7().b[1][1]++, ""),
62551
62594
  highestRatingLabel: (cov_2lj2o2sww7().b[2][0]++, highestRatingLabel) || (cov_2lj2o2sww7().b[2][1]++, RATING_VALUES.GOOD.label),
@@ -63344,6 +63387,7 @@ var StarRating = function StarRating(_ref2) {
63344
63387
  className: "neeto-form-engine-input__error"
63345
63388
  }, error)));
63346
63389
  };
63390
+ var StarRating$1 = /*#__PURE__*/React__default.memo(StarRating);
63347
63391
 
63348
63392
  function cov_14fczoh42d() {
63349
63393
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/StarRatingField.jsx";
@@ -63535,7 +63579,7 @@ var StarRatingField = function StarRatingField(_ref) {
63535
63579
  field = _ref3.field;
63536
63580
  cov_14fczoh42d().f[1]++;
63537
63581
  cov_14fczoh42d().s[3]++;
63538
- return /*#__PURE__*/React__default.createElement(StarRating, _extends$9({
63582
+ return /*#__PURE__*/React__default.createElement(StarRating$1, _extends$9({
63539
63583
  count: count,
63540
63584
  error: meta.touched ? (cov_14fczoh42d().b[0][0]++, meta.error) : (cov_14fczoh42d().b[0][1]++, ""),
63541
63585
  label: getLabel$1(label, isRequired),
@@ -63699,7 +63743,7 @@ var Terms = function Terms(_ref, ref) {
63699
63743
  className: "neeto-form-engine-input__error"
63700
63744
  }, error)));
63701
63745
  };
63702
- var Terms$1 = /*#__PURE__*/forwardRef(Terms);
63746
+ var Terms$1 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(Terms));
63703
63747
 
63704
63748
  function cov_14h4eyw3wy() {
63705
63749
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TermsField.jsx";
@@ -65055,6 +65099,7 @@ var Textarea = function Textarea(props) {
65055
65099
  className: "neeto-form-engine-input__error"
65056
65100
  }, error)));
65057
65101
  };
65102
+ var Textarea$1 = /*#__PURE__*/React__default.memo(Textarea);
65058
65103
 
65059
65104
  function cov_h64dar2vv() {
65060
65105
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TextField.jsx";
@@ -65421,7 +65466,7 @@ var TextField = function TextField(_ref) {
65421
65466
  _ref3$type = _ref3.type,
65422
65467
  type = _ref3$type === void 0 ? (cov_h64dar2vv().b[0][0]++, "text") : _ref3$type,
65423
65468
  otherProps = _ref3.otherProps;
65424
- var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea) : (cov_h64dar2vv().b[1][1]++, FormInput));
65469
+ var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea$1) : (cov_h64dar2vv().b[1][1]++, FormInput));
65425
65470
  cov_h64dar2vv().s[4]++;
65426
65471
  return /*#__PURE__*/React__default.createElement(Field, {
65427
65472
  name: (cov_h64dar2vv().b[2][0]++, name) || (cov_h64dar2vv().b[2][1]++, nodeId),
@@ -65868,10 +65913,11 @@ var Success = function Success() {
65868
65913
  style: "h1"
65869
65914
  }, t("successPage.title2")));
65870
65915
  };
65916
+ var Success$1 = /*#__PURE__*/React__default.memo(Success);
65871
65917
 
65872
65918
  function cov_2jkcclu7mz() {
65873
65919
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/index.jsx";
65874
- var hash = "515884cbc114300a42b3d6d09d62dd236c05a20d";
65920
+ var hash = "306fa6a0acfb642be1cbcbeef9eb9a705cee1876";
65875
65921
  var global = new Function("return this")();
65876
65922
  var gcv = "__coverage__";
65877
65923
  var coverageData = {
@@ -65883,7 +65929,7 @@ function cov_2jkcclu7mz() {
65883
65929
  column: 21
65884
65930
  },
65885
65931
  end: {
65886
- line: 346,
65932
+ line: 344,
65887
65933
  column: 1
65888
65934
  }
65889
65935
  },
@@ -66533,137 +66579,137 @@ function cov_2jkcclu7mz() {
66533
66579
  column: 2
66534
66580
  },
66535
66581
  end: {
66536
- line: 345,
66582
+ line: 343,
66537
66583
  column: 4
66538
66584
  }
66539
66585
  },
66540
66586
  "66": {
66541
66587
  start: {
66542
- line: 247,
66588
+ line: 245,
66543
66589
  column: 10
66544
66590
  },
66545
66591
  end: {
66546
- line: 341,
66592
+ line: 339,
66547
66593
  column: 23
66548
66594
  }
66549
66595
  },
66550
66596
  "67": {
66551
66597
  start: {
66552
- line: 261,
66598
+ line: 259,
66553
66599
  column: 16
66554
66600
  },
66555
66601
  end: {
66556
- line: 263,
66602
+ line: 261,
66557
66603
  column: 17
66558
66604
  }
66559
66605
  },
66560
66606
  "68": {
66561
66607
  start: {
66562
- line: 262,
66608
+ line: 260,
66563
66609
  column: 18
66564
66610
  },
66565
66611
  end: {
66566
- line: 262,
66612
+ line: 260,
66567
66613
  column: 51
66568
66614
  }
66569
66615
  },
66570
66616
  "69": {
66571
66617
  start: {
66572
- line: 267,
66618
+ line: 265,
66573
66619
  column: 16
66574
66620
  },
66575
66621
  end: {
66576
- line: 277,
66622
+ line: 275,
66577
66623
  column: 17
66578
66624
  }
66579
66625
  },
66580
66626
  "70": {
66581
66627
  start: {
66582
- line: 268,
66628
+ line: 266,
66583
66629
  column: 18
66584
66630
  },
66585
66631
  end: {
66586
- line: 268,
66632
+ line: 266,
66587
66633
  column: 62
66588
66634
  }
66589
66635
  },
66590
66636
  "71": {
66591
66637
  start: {
66592
- line: 269,
66638
+ line: 267,
66593
66639
  column: 18
66594
66640
  },
66595
66641
  end: {
66596
- line: 269,
66642
+ line: 267,
66597
66643
  column: 64
66598
66644
  }
66599
66645
  },
66600
66646
  "72": {
66601
66647
  start: {
66602
- line: 270,
66648
+ line: 268,
66603
66649
  column: 18
66604
66650
  },
66605
66651
  end: {
66606
- line: 276,
66652
+ line: 274,
66607
66653
  column: 22
66608
66654
  }
66609
66655
  },
66610
66656
  "73": {
66611
66657
  start: {
66612
- line: 278,
66658
+ line: 276,
66613
66659
  column: 16
66614
66660
  },
66615
66661
  end: {
66616
- line: 278,
66662
+ line: 276,
66617
66663
  column: 31
66618
66664
  }
66619
66665
  },
66620
66666
  "74": {
66621
66667
  start: {
66622
- line: 279,
66668
+ line: 277,
66623
66669
  column: 16
66624
66670
  },
66625
66671
  end: {
66626
- line: 279,
66672
+ line: 277,
66627
66673
  column: 43
66628
66674
  }
66629
66675
  },
66630
66676
  "75": {
66631
66677
  start: {
66632
- line: 288,
66678
+ line: 286,
66633
66679
  column: 39
66634
66680
  },
66635
66681
  end: {
66636
- line: 288,
66682
+ line: 286,
66637
66683
  column: 66
66638
66684
  }
66639
66685
  },
66640
66686
  "76": {
66641
66687
  start: {
66642
- line: 290,
66688
+ line: 288,
66643
66689
  column: 16
66644
66690
  },
66645
66691
  end: {
66646
- line: 298,
66692
+ line: 296,
66647
66693
  column: 18
66648
66694
  }
66649
66695
  },
66650
66696
  "77": {
66651
66697
  start: {
66652
- line: 338,
66698
+ line: 336,
66653
66699
  column: 31
66654
66700
  },
66655
66701
  end: {
66656
- line: 338,
66702
+ line: 336,
66657
66703
  column: 45
66658
66704
  }
66659
66705
  },
66660
66706
  "78": {
66661
66707
  start: {
66662
- line: 348,
66708
+ line: 346,
66663
66709
  column: 0
66664
66710
  },
66665
66711
  end: {
66666
- line: 365,
66712
+ line: 363,
66667
66713
  column: 2
66668
66714
  }
66669
66715
  }
@@ -66687,7 +66733,7 @@ function cov_2jkcclu7mz() {
66687
66733
  column: 6
66688
66734
  },
66689
66735
  end: {
66690
- line: 346,
66736
+ line: 344,
66691
66737
  column: 1
66692
66738
  }
66693
66739
  },
@@ -66913,121 +66959,121 @@ function cov_2jkcclu7mz() {
66913
66959
  name: "(anonymous_10)",
66914
66960
  decl: {
66915
66961
  start: {
66916
- line: 246,
66962
+ line: 244,
66917
66963
  column: 9
66918
66964
  },
66919
66965
  end: {
66920
- line: 246,
66966
+ line: 244,
66921
66967
  column: 10
66922
66968
  }
66923
66969
  },
66924
66970
  loc: {
66925
66971
  start: {
66926
- line: 247,
66972
+ line: 245,
66927
66973
  column: 10
66928
66974
  },
66929
66975
  end: {
66930
- line: 341,
66976
+ line: 339,
66931
66977
  column: 23
66932
66978
  }
66933
66979
  },
66934
- line: 247
66980
+ line: 245
66935
66981
  },
66936
66982
  "11": {
66937
66983
  name: "(anonymous_11)",
66938
66984
  decl: {
66939
66985
  start: {
66940
- line: 260,
66986
+ line: 258,
66941
66987
  column: 24
66942
66988
  },
66943
66989
  end: {
66944
- line: 260,
66990
+ line: 258,
66945
66991
  column: 25
66946
66992
  }
66947
66993
  },
66948
66994
  loc: {
66949
66995
  start: {
66950
- line: 260,
66996
+ line: 258,
66951
66997
  column: 33
66952
66998
  },
66953
66999
  end: {
66954
- line: 264,
67000
+ line: 262,
66955
67001
  column: 15
66956
67002
  }
66957
67003
  },
66958
- line: 260
67004
+ line: 258
66959
67005
  },
66960
67006
  "12": {
66961
67007
  name: "(anonymous_12)",
66962
67008
  decl: {
66963
67009
  start: {
66964
- line: 266,
67010
+ line: 264,
66965
67011
  column: 23
66966
67012
  },
66967
67013
  end: {
66968
- line: 266,
67014
+ line: 264,
66969
67015
  column: 24
66970
67016
  }
66971
67017
  },
66972
67018
  loc: {
66973
67019
  start: {
66974
- line: 266,
67020
+ line: 264,
66975
67021
  column: 28
66976
67022
  },
66977
67023
  end: {
66978
- line: 280,
67024
+ line: 278,
66979
67025
  column: 15
66980
67026
  }
66981
67027
  },
66982
- line: 266
67028
+ line: 264
66983
67029
  },
66984
67030
  "13": {
66985
67031
  name: "(anonymous_13)",
66986
67032
  decl: {
66987
67033
  start: {
66988
- line: 287,
67034
+ line: 285,
66989
67035
  column: 37
66990
67036
  },
66991
67037
  end: {
66992
- line: 287,
67038
+ line: 285,
66993
67039
  column: 38
66994
67040
  }
66995
67041
  },
66996
67042
  loc: {
66997
67043
  start: {
66998
- line: 287,
67044
+ line: 285,
66999
67045
  column: 49
67000
67046
  },
67001
67047
  end: {
67002
- line: 299,
67048
+ line: 297,
67003
67049
  column: 15
67004
67050
  }
67005
67051
  },
67006
- line: 287
67052
+ line: 285
67007
67053
  },
67008
67054
  "14": {
67009
67055
  name: "(anonymous_14)",
67010
67056
  decl: {
67011
67057
  start: {
67012
- line: 338,
67058
+ line: 336,
67013
67059
  column: 25
67014
67060
  },
67015
67061
  end: {
67016
- line: 338,
67062
+ line: 336,
67017
67063
  column: 26
67018
67064
  }
67019
67065
  },
67020
67066
  loc: {
67021
67067
  start: {
67022
- line: 338,
67068
+ line: 336,
67023
67069
  column: 31
67024
67070
  },
67025
67071
  end: {
67026
- line: 338,
67072
+ line: 336,
67027
67073
  column: 45
67028
67074
  }
67029
67075
  },
67030
- line: 338
67076
+ line: 336
67031
67077
  }
67032
67078
  },
67033
67079
  branchMap: {
@@ -68000,55 +68046,55 @@ function cov_2jkcclu7mz() {
68000
68046
  "32": {
68001
68047
  loc: {
68002
68048
  start: {
68003
- line: 242,
68049
+ line: 240,
68004
68050
  column: 10
68005
68051
  },
68006
68052
  end: {
68007
- line: 242,
68053
+ line: 240,
68008
68054
  column: 54
68009
68055
  }
68010
68056
  },
68011
68057
  type: "cond-expr",
68012
68058
  locations: [{
68013
68059
  start: {
68014
- line: 242,
68060
+ line: 240,
68015
68061
  column: 27
68016
68062
  },
68017
68063
  end: {
68018
- line: 242,
68064
+ line: 240,
68019
68065
  column: 38
68020
68066
  }
68021
68067
  }, {
68022
68068
  start: {
68023
- line: 242,
68069
+ line: 240,
68024
68070
  column: 41
68025
68071
  },
68026
68072
  end: {
68027
- line: 242,
68073
+ line: 240,
68028
68074
  column: 54
68029
68075
  }
68030
68076
  }],
68031
- line: 242
68077
+ line: 240
68032
68078
  },
68033
68079
  "33": {
68034
68080
  loc: {
68035
68081
  start: {
68036
- line: 261,
68082
+ line: 259,
68037
68083
  column: 16
68038
68084
  },
68039
68085
  end: {
68040
- line: 263,
68086
+ line: 261,
68041
68087
  column: 17
68042
68088
  }
68043
68089
  },
68044
68090
  type: "if",
68045
68091
  locations: [{
68046
68092
  start: {
68047
- line: 261,
68093
+ line: 259,
68048
68094
  column: 16
68049
68095
  },
68050
68096
  end: {
68051
- line: 263,
68097
+ line: 261,
68052
68098
  column: 17
68053
68099
  }
68054
68100
  }, {
@@ -68061,27 +68107,27 @@ function cov_2jkcclu7mz() {
68061
68107
  column: undefined
68062
68108
  }
68063
68109
  }],
68064
- line: 261
68110
+ line: 259
68065
68111
  },
68066
68112
  "34": {
68067
68113
  loc: {
68068
68114
  start: {
68069
- line: 267,
68115
+ line: 265,
68070
68116
  column: 16
68071
68117
  },
68072
68118
  end: {
68073
- line: 277,
68119
+ line: 275,
68074
68120
  column: 17
68075
68121
  }
68076
68122
  },
68077
68123
  type: "if",
68078
68124
  locations: [{
68079
68125
  start: {
68080
- line: 267,
68126
+ line: 265,
68081
68127
  column: 16
68082
68128
  },
68083
68129
  end: {
68084
- line: 277,
68130
+ line: 275,
68085
68131
  column: 17
68086
68132
  }
68087
68133
  }, {
@@ -68094,313 +68140,313 @@ function cov_2jkcclu7mz() {
68094
68140
  column: undefined
68095
68141
  }
68096
68142
  }],
68097
- line: 267
68143
+ line: 265
68098
68144
  },
68099
68145
  "35": {
68100
68146
  loc: {
68101
68147
  start: {
68102
- line: 270,
68148
+ line: 268,
68103
68149
  column: 18
68104
68150
  },
68105
68151
  end: {
68106
- line: 276,
68152
+ line: 274,
68107
68153
  column: 21
68108
68154
  }
68109
68155
  },
68110
68156
  type: "binary-expr",
68111
68157
  locations: [{
68112
68158
  start: {
68113
- line: 270,
68159
+ line: 268,
68114
68160
  column: 18
68115
68161
  },
68116
68162
  end: {
68117
- line: 270,
68163
+ line: 268,
68118
68164
  column: 30
68119
68165
  }
68120
68166
  }, {
68121
68167
  start: {
68122
- line: 271,
68168
+ line: 269,
68123
68169
  column: 20
68124
68170
  },
68125
68171
  end: {
68126
- line: 276,
68172
+ line: 274,
68127
68173
  column: 21
68128
68174
  }
68129
68175
  }],
68130
- line: 270
68176
+ line: 268
68131
68177
  },
68132
68178
  "36": {
68133
68179
  loc: {
68134
68180
  start: {
68135
- line: 282,
68181
+ line: 280,
68136
68182
  column: 15
68137
68183
  },
68138
68184
  end: {
68139
- line: 286,
68185
+ line: 284,
68140
68186
  column: 15
68141
68187
  }
68142
68188
  },
68143
68189
  type: "binary-expr",
68144
68190
  locations: [{
68145
68191
  start: {
68146
- line: 282,
68192
+ line: 280,
68147
68193
  column: 15
68148
68194
  },
68149
68195
  end: {
68150
- line: 282,
68196
+ line: 280,
68151
68197
  column: 36
68152
68198
  }
68153
68199
  }, {
68154
68200
  start: {
68155
- line: 283,
68201
+ line: 281,
68156
68202
  column: 16
68157
68203
  },
68158
68204
  end: {
68159
- line: 285,
68205
+ line: 283,
68160
68206
  column: 22
68161
68207
  }
68162
68208
  }],
68163
- line: 282
68209
+ line: 280
68164
68210
  },
68165
68211
  "37": {
68166
68212
  loc: {
68167
68213
  start: {
68168
- line: 294,
68214
+ line: 292,
68169
68215
  column: 25
68170
68216
  },
68171
68217
  end: {
68172
- line: 294,
68218
+ line: 292,
68173
68219
  column: 55
68174
68220
  }
68175
68221
  },
68176
68222
  type: "binary-expr",
68177
68223
  locations: [{
68178
68224
  start: {
68179
- line: 294,
68225
+ line: 292,
68180
68226
  column: 25
68181
68227
  },
68182
68228
  end: {
68183
- line: 294,
68229
+ line: 292,
68184
68230
  column: 36
68185
68231
  }
68186
68232
  }, {
68187
68233
  start: {
68188
- line: 294,
68234
+ line: 292,
68189
68235
  column: 40
68190
68236
  },
68191
68237
  end: {
68192
- line: 294,
68238
+ line: 292,
68193
68239
  column: 55
68194
68240
  }
68195
68241
  }],
68196
- line: 294
68242
+ line: 292
68197
68243
  },
68198
68244
  "38": {
68199
68245
  loc: {
68200
68246
  start: {
68201
- line: 300,
68247
+ line: 298,
68202
68248
  column: 15
68203
68249
  },
68204
68250
  end: {
68205
- line: 307,
68251
+ line: 305,
68206
68252
  column: 15
68207
68253
  }
68208
68254
  },
68209
68255
  type: "binary-expr",
68210
68256
  locations: [{
68211
68257
  start: {
68212
- line: 300,
68258
+ line: 298,
68213
68259
  column: 15
68214
68260
  },
68215
68261
  end: {
68216
- line: 300,
68262
+ line: 298,
68217
68263
  column: 29
68218
68264
  }
68219
68265
  }, {
68220
68266
  start: {
68221
- line: 300,
68267
+ line: 298,
68222
68268
  column: 33
68223
68269
  },
68224
68270
  end: {
68225
- line: 300,
68271
+ line: 298,
68226
68272
  column: 59
68227
68273
  }
68228
68274
  }, {
68229
68275
  start: {
68230
- line: 301,
68276
+ line: 299,
68231
68277
  column: 16
68232
68278
  },
68233
68279
  end: {
68234
- line: 306,
68280
+ line: 304,
68235
68281
  column: 22
68236
68282
  }
68237
68283
  }],
68238
- line: 300
68284
+ line: 298
68239
68285
  },
68240
68286
  "39": {
68241
68287
  loc: {
68242
68288
  start: {
68243
- line: 309,
68289
+ line: 307,
68244
68290
  column: 15
68245
68291
  },
68246
68292
  end: {
68247
- line: 329,
68293
+ line: 327,
68248
68294
  column: 15
68249
68295
  }
68250
68296
  },
68251
68297
  type: "binary-expr",
68252
68298
  locations: [{
68253
68299
  start: {
68254
- line: 309,
68300
+ line: 307,
68255
68301
  column: 15
68256
68302
  },
68257
68303
  end: {
68258
- line: 309,
68304
+ line: 307,
68259
68305
  column: 42
68260
68306
  }
68261
68307
  }, {
68262
68308
  start: {
68263
- line: 310,
68309
+ line: 308,
68264
68310
  column: 16
68265
68311
  },
68266
68312
  end: {
68267
- line: 328,
68313
+ line: 326,
68268
68314
  column: 22
68269
68315
  }
68270
68316
  }],
68271
- line: 309
68317
+ line: 307
68272
68318
  },
68273
68319
  "40": {
68274
68320
  loc: {
68275
68321
  start: {
68276
- line: 312,
68322
+ line: 310,
68277
68323
  column: 30
68278
68324
  },
68279
68325
  end: {
68280
- line: 312,
68326
+ line: 310,
68281
68327
  column: 57
68282
68328
  }
68283
68329
  },
68284
68330
  type: "binary-expr",
68285
68331
  locations: [{
68286
68332
  start: {
68287
- line: 312,
68333
+ line: 310,
68288
68334
  column: 30
68289
68335
  },
68290
68336
  end: {
68291
- line: 312,
68337
+ line: 310,
68292
68338
  column: 42
68293
68339
  }
68294
68340
  }, {
68295
68341
  start: {
68296
- line: 312,
68342
+ line: 310,
68297
68343
  column: 46
68298
68344
  },
68299
68345
  end: {
68300
- line: 312,
68346
+ line: 310,
68301
68347
  column: 57
68302
68348
  }
68303
68349
  }],
68304
- line: 312
68350
+ line: 310
68305
68351
  },
68306
68352
  "41": {
68307
68353
  loc: {
68308
68354
  start: {
68309
- line: 317,
68355
+ line: 315,
68310
68356
  column: 19
68311
68357
  },
68312
68358
  end: {
68313
- line: 324,
68359
+ line: 322,
68314
68360
  column: 19
68315
68361
  }
68316
68362
  },
68317
68363
  type: "binary-expr",
68318
68364
  locations: [{
68319
68365
  start: {
68320
- line: 317,
68366
+ line: 315,
68321
68367
  column: 19
68322
68368
  },
68323
68369
  end: {
68324
- line: 317,
68370
+ line: 315,
68325
68371
  column: 35
68326
68372
  }
68327
68373
  }, {
68328
68374
  start: {
68329
- line: 318,
68375
+ line: 316,
68330
68376
  column: 20
68331
68377
  },
68332
68378
  end: {
68333
- line: 323,
68379
+ line: 321,
68334
68380
  column: 22
68335
68381
  }
68336
68382
  }],
68337
- line: 317
68383
+ line: 315
68338
68384
  },
68339
68385
  "42": {
68340
68386
  loc: {
68341
68387
  start: {
68342
- line: 325,
68388
+ line: 323,
68343
68389
  column: 19
68344
68390
  },
68345
68391
  end: {
68346
- line: 327,
68392
+ line: 325,
68347
68393
  column: 19
68348
68394
  }
68349
68395
  },
68350
68396
  type: "binary-expr",
68351
68397
  locations: [{
68352
68398
  start: {
68353
- line: 325,
68399
+ line: 323,
68354
68400
  column: 19
68355
68401
  },
68356
68402
  end: {
68357
- line: 325,
68403
+ line: 323,
68358
68404
  column: 36
68359
68405
  }
68360
68406
  }, {
68361
68407
  start: {
68362
- line: 326,
68408
+ line: 324,
68363
68409
  column: 20
68364
68410
  },
68365
68411
  end: {
68366
- line: 326,
68412
+ line: 324,
68367
68413
  column: 68
68368
68414
  }
68369
68415
  }],
68370
- line: 325
68416
+ line: 323
68371
68417
  },
68372
68418
  "43": {
68373
68419
  loc: {
68374
68420
  start: {
68375
- line: 331,
68421
+ line: 329,
68376
68422
  column: 13
68377
68423
  },
68378
68424
  end: {
68379
- line: 340,
68425
+ line: 338,
68380
68426
  column: 13
68381
68427
  }
68382
68428
  },
68383
68429
  type: "binary-expr",
68384
68430
  locations: [{
68385
68431
  start: {
68386
- line: 331,
68432
+ line: 329,
68387
68433
  column: 13
68388
68434
  },
68389
68435
  end: {
68390
- line: 331,
68436
+ line: 329,
68391
68437
  column: 33
68392
68438
  }
68393
68439
  }, {
68394
68440
  start: {
68395
- line: 332,
68441
+ line: 330,
68396
68442
  column: 14
68397
68443
  },
68398
68444
  end: {
68399
- line: 339,
68445
+ line: 337,
68400
68446
  column: 16
68401
68447
  }
68402
68448
  }],
68403
- line: 331
68449
+ line: 329
68404
68450
  }
68405
68451
  },
68406
68452
  s: {
@@ -68548,7 +68594,7 @@ function cov_2jkcclu7mz() {
68548
68594
  "43": [0, 0]
68549
68595
  },
68550
68596
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
68551
- hash: "515884cbc114300a42b3d6d09d62dd236c05a20d"
68597
+ hash: "306fa6a0acfb642be1cbcbeef9eb9a705cee1876"
68552
68598
  };
68553
68599
  var coverage = global[gcv] || (global[gcv] = {});
68554
68600
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -68922,7 +68968,7 @@ var ExternalForm = function ExternalForm(_ref) {
68922
68968
  if ((cov_2jkcclu7mz().b[29][0]++, displayThankYou) && (cov_2jkcclu7mz().b[29][1]++, showSuccess)) {
68923
68969
  cov_2jkcclu7mz().b[28][0]++;
68924
68970
  cov_2jkcclu7mz().s[64]++;
68925
- return /*#__PURE__*/React__default.createElement(Success, null);
68971
+ return /*#__PURE__*/React__default.createElement(Success$1, null);
68926
68972
  } else {
68927
68973
  cov_2jkcclu7mz().b[28][1]++;
68928
68974
  }
@@ -68935,8 +68981,6 @@ var ExternalForm = function ExternalForm(_ref) {
68935
68981
  weight: "semibold"
68936
68982
  }, titleProps), (cov_2jkcclu7mz().b[31][0]++, formTitle) || (cov_2jkcclu7mz().b[31][1]++, title)))), /*#__PURE__*/React__default.createElement(Formik, {
68937
68983
  enableReinitialize: true,
68938
- validateOnBlur: false,
68939
- validateOnChange: false,
68940
68984
  initialValues: generateInitValues(questions, submission === null || submission === void 0 ? void 0 : submission.responses, preserveValues ? (cov_2jkcclu7mz().b[32][0]++, localValues) : (cov_2jkcclu7mz().b[32][1]++, initialValues)),
68941
68985
  onSubmit: onSubmit
68942
68986
  }, function (_ref19) {
@@ -68992,7 +69036,7 @@ var ExternalForm = function ExternalForm(_ref) {
68992
69036
  }
68993
69037
  }), (cov_2jkcclu7mz().b[36][0]++, submission === null || submission === void 0 ? void 0 : submission.isLoading) && (cov_2jkcclu7mz().b[36][1]++, /*#__PURE__*/React__default.createElement("div", {
68994
69038
  className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
68995
- }, /*#__PURE__*/React__default.createElement(Spinner$1, null))), renderedQuestions.map(function (question) {
69039
+ }, /*#__PURE__*/React__default.createElement(Spinner$2, null))), renderedQuestions.map(function (question) {
68996
69040
  var _ref20;
68997
69041
  cov_2jkcclu7mz().f[13]++;
68998
69042
  var FieldComponent = (cov_2jkcclu7mz().s[75]++, getFieldComponent(question));