@sawport/react-sdk 0.1.0-alpha.26 → 0.1.0-alpha.27

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
@@ -325,7 +325,6 @@ const SawportContext = react.exports.createContext({
325
325
  config: sawportConfig,
326
326
  setConfig: setSawportConfig
327
327
  });
328
- const bootstrap_min = "";
329
328
  const style$1 = "";
330
329
  const videoIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAbCAYAAADoOQYqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH0SURBVHgB7Zi7SyRBEMZrZ2fuhcfdcVxw2V12h6KBGAlmiqCxsWBkYCJi5l8g6H9gJBiYGwgGJuZiLiKIooY+Zufpr3ZWHcTHTiOWgh981NI1tftNdXVvV9fyPPdEZBL2w+/wCwyU+Hys+r0awCqbwJerYTjDXjNtMcatNsEfYZUhvMyy7NzzvAM+r+DbFxekaTqTGwDx6+IIzeCoGIDf7RNHqOgfYoNv4git2UiMQJXoUsnbebbRaPz3fX+c9fBTRV+KDZJ2BEdR1BMEwRQvOMbzXxnaVNGp2CB5yKG7FhvEEFmdRugAQ0GxeRXwxQ73ZhnB/+ByvV7vfSjQUnQTCBzELOZFgete/xv767EYc9HgI+wsT/9T8OQNwlw0C679FLdgLpoFJ1XxGjJdWcN7pl8K7wvRBS7lYf7nkiTJGae3w9aJT7N+Af8+FmMuGsEbmD+lds6jZEaYgQkpWsCOuzFaHtXn5xmhx1PtI2EDhvCCF1nFDuPugfPwuByjoj+LDZ5cgAjfhbN87IZz8Kg5Ti3tYLvk5REj6EOVAD1nx3HcqTWdiQ0qlyUvqY3DtpbHidjAuTdV0WtiAKZ6Sxzhk/IFvuBUir1RrxM6uEj5RH+m9RaUqNNZK9mbGyfipdWkXrN829S8aYKx3N407YVhuCSOuAIdERn11Abr9wAAAABJRU5ErkJggg==";
331
330
  const closeIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACAEAQAAAA5p3UDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAAAGAAAABgAPBrQs8AAAAHdElNRQflCh4AExuboZDiAAAEvUlEQVR42u2dwU4TURiFb41udANdEHSjK2ipAiIY4UncGWLiM+hTGNe+gHvjThJISHwAdacboxQQpu50Yee4mGhLkM78d6bz3//O+baU9vznnJk7vYWpc4QQQgghhBBCCCGEEEIIIYQQQiKkVcWTAJubzj186Fy77dyHD869fNlqJYn2cDEBtNvOPXniXK/nXJI49+pVq/XunbYuBzx7BgyHOMPBAdDpaGuLBaDTyTwdZzgEnj5VFra1dT58lqBK/h/+eAkePFAU9+IFJtLvswT+ZOH3+5M9fv68zGtcKiex3Z788/l55/b2gF6vbvOsAywuOrezk3k4idnZMq9TsgDv3+c/Zm7OubdvgW63apNiJfNqd9e5GzfyH/zxo6LQdvvi9el/ywFLkAfQ7eaf9sevs/LOwtMWnC4sAN++FRN8dIT09m1tk0MFWFwsfkAdHgJLS9qaM+EsQWnk4Qd2XcUS+CML/+gouPDPDsISyDyb9D7fUPijgViC4l5FFv5oMGkJ7tzR1ly/R5GGPxpQsq4dHzepBNGHPxqUJTjviTB860skSzDuRZG9/YjCHw3OEjQ2/JEBzS1B48M/a0SzSiDb2484/JEhzSmBLPzj4+jDHxkjLcHysrZm+YzS8O0W3dMgybqYJMC9e9qaC8+WLi8j/f6d4ecZFWEJGL7UsIhKwPA9iaEESFdWGH4JLJeA4VeE7Mo5SZCur6trZvjVYqkEDH9KWCiBPHx7exmqyK6oB4M6SyALP6zrFVOEWAJgdZXh10hIJQBWV4GTE4ZfM7JT7mCAdGOjcg0MXxfNEjD8QNAogTj8APYmoqbOEsjCr/edSKOpowQMP3CQrqzIAipeAoZvBHlQ9+/nP+fduwzfEFWWgOEbpYoSyMOvfq+BlEBWgh8/xkuQhX96yvCN41MChh8ZwNpathtXMFAMBsUemyTA2pr2fKQAsjMBj/woqa4EDN8ssiv7i8LP3zsgASO7yBvn7DsFYhh5CZoTfsl7BRMSOFwCGox/+CyBecqHzxKYpbrw/8K3g2ZAur5efHuXW8FRIf9ghx8GRYNP+P6/yxIERZnw/Z+DJQiCKoNjCYwxjcBYAiNMMyj5c/OPQ2uljqOUJQiUOk/RLEFgaKzPLEEgaAbBEigTQgAyDfw38coIIXw/LbxRRGlCPOpYgpoIMXxvbSyBjJDD99bIEhTDkrGWtJrAoqEyzbxl7IVYDN9PO28afQ7L4fvNwBL8I4bw/WZhCaJcP1kCGhX1bDSIM9IYzkpDODONmObskX2JdJPD9/Mgoq+RZ/i+XkRQAvnA8Ybv74nREjRmUHrTwAHpUQMHC8Er9HramqsdqMHhe3sWagkYvj/mS8Dwy2O2BGaFB4g5L4Fer/hNlvp9oNvVNjl0ZDe5OjgAbt3SE4v9fYZfPbISvHmjIxLXrgHDYb7Aw0P1U5VBii8Hv34hvXJFQeD168WO/E5H20yrFD8TzMzoCMTXr5PXJ4ZfltwSpJ8+6YnD48cMf/pMLsGjR7risL2N9PPnTMzPn8Dr10hv3tQ2LTaApSVgbw/4/Tvz+ssXYHtbW9eYwNlZpJcva+uIHeDqVaRzc9o6CCGEEEIIIYQQQgghhBBCCCGh8wd9J6YrJINzqgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0zMFQwMDoxOToyNyswMDowMJdQrwkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTAtMzBUMDA6MTk6MjcrMDA6MDDmDRe1AAAAAElFTkSuQmCC";
@@ -1496,8 +1495,8 @@ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
1496
1495
  function cloneDeep(value2) {
1497
1496
  return baseClone$1(value2, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
1498
1497
  }
1499
- function _extends$6() {
1500
- _extends$6 = Object.assign || function(target) {
1498
+ function _extends$7() {
1499
+ _extends$7 = Object.assign || function(target) {
1501
1500
  for (var i2 = 1; i2 < arguments.length; i2++) {
1502
1501
  var source = arguments[i2];
1503
1502
  for (var key2 in source) {
@@ -1508,14 +1507,14 @@ function _extends$6() {
1508
1507
  }
1509
1508
  return target;
1510
1509
  };
1511
- return _extends$6.apply(this, arguments);
1510
+ return _extends$7.apply(this, arguments);
1512
1511
  }
1513
- function _inheritsLoose$2(subClass, superClass) {
1512
+ function _inheritsLoose$3(subClass, superClass) {
1514
1513
  subClass.prototype = Object.create(superClass.prototype);
1515
1514
  subClass.prototype.constructor = subClass;
1516
1515
  subClass.__proto__ = superClass;
1517
1516
  }
1518
- function _objectWithoutPropertiesLoose$3(source, excluded) {
1517
+ function _objectWithoutPropertiesLoose$4(source, excluded) {
1519
1518
  if (source == null)
1520
1519
  return {};
1521
1520
  var target = {};
@@ -1529,7 +1528,7 @@ function _objectWithoutPropertiesLoose$3(source, excluded) {
1529
1528
  }
1530
1529
  return target;
1531
1530
  }
1532
- function _assertThisInitialized$1(self2) {
1531
+ function _assertThisInitialized$2(self2) {
1533
1532
  if (self2 === void 0) {
1534
1533
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1535
1534
  }
@@ -1628,60 +1627,60 @@ function useFormikContext() {
1628
1627
  function formikReducer(state, msg) {
1629
1628
  switch (msg.type) {
1630
1629
  case "SET_VALUES":
1631
- return _extends$6({}, state, {
1630
+ return _extends$7({}, state, {
1632
1631
  values: msg.payload
1633
1632
  });
1634
1633
  case "SET_TOUCHED":
1635
- return _extends$6({}, state, {
1634
+ return _extends$7({}, state, {
1636
1635
  touched: msg.payload
1637
1636
  });
1638
1637
  case "SET_ERRORS":
1639
1638
  if (reactFastCompare(state.errors, msg.payload)) {
1640
1639
  return state;
1641
1640
  }
1642
- return _extends$6({}, state, {
1641
+ return _extends$7({}, state, {
1643
1642
  errors: msg.payload
1644
1643
  });
1645
1644
  case "SET_STATUS":
1646
- return _extends$6({}, state, {
1645
+ return _extends$7({}, state, {
1647
1646
  status: msg.payload
1648
1647
  });
1649
1648
  case "SET_ISSUBMITTING":
1650
- return _extends$6({}, state, {
1649
+ return _extends$7({}, state, {
1651
1650
  isSubmitting: msg.payload
1652
1651
  });
1653
1652
  case "SET_ISVALIDATING":
1654
- return _extends$6({}, state, {
1653
+ return _extends$7({}, state, {
1655
1654
  isValidating: msg.payload
1656
1655
  });
1657
1656
  case "SET_FIELD_VALUE":
1658
- return _extends$6({}, state, {
1657
+ return _extends$7({}, state, {
1659
1658
  values: setIn(state.values, msg.payload.field, msg.payload.value)
1660
1659
  });
1661
1660
  case "SET_FIELD_TOUCHED":
1662
- return _extends$6({}, state, {
1661
+ return _extends$7({}, state, {
1663
1662
  touched: setIn(state.touched, msg.payload.field, msg.payload.value)
1664
1663
  });
1665
1664
  case "SET_FIELD_ERROR":
1666
- return _extends$6({}, state, {
1665
+ return _extends$7({}, state, {
1667
1666
  errors: setIn(state.errors, msg.payload.field, msg.payload.value)
1668
1667
  });
1669
1668
  case "RESET_FORM":
1670
- return _extends$6({}, state, msg.payload);
1669
+ return _extends$7({}, state, msg.payload);
1671
1670
  case "SET_FORMIK_STATE":
1672
1671
  return msg.payload(state);
1673
1672
  case "SUBMIT_ATTEMPT":
1674
- return _extends$6({}, state, {
1673
+ return _extends$7({}, state, {
1675
1674
  touched: setNestedObjectValues(state.values, true),
1676
1675
  isSubmitting: true,
1677
1676
  submitCount: state.submitCount + 1
1678
1677
  });
1679
1678
  case "SUBMIT_FAILURE":
1680
- return _extends$6({}, state, {
1679
+ return _extends$7({}, state, {
1681
1680
  isSubmitting: false
1682
1681
  });
1683
1682
  case "SUBMIT_SUCCESS":
1684
- return _extends$6({}, state, {
1683
+ return _extends$7({}, state, {
1685
1684
  isSubmitting: false
1686
1685
  });
1687
1686
  default:
@@ -1691,8 +1690,8 @@ function formikReducer(state, msg) {
1691
1690
  var emptyErrors = {};
1692
1691
  var emptyTouched = {};
1693
1692
  function useFormik(_ref) {
1694
- var _ref$validateOnChange = _ref.validateOnChange, validateOnChange = _ref$validateOnChange === void 0 ? true : _ref$validateOnChange, _ref$validateOnBlur = _ref.validateOnBlur, validateOnBlur = _ref$validateOnBlur === void 0 ? true : _ref$validateOnBlur, _ref$validateOnMount = _ref.validateOnMount, validateOnMount = _ref$validateOnMount === void 0 ? false : _ref$validateOnMount, isInitialValid = _ref.isInitialValid, _ref$enableReinitiali = _ref.enableReinitialize, enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali, onSubmit = _ref.onSubmit, rest = _objectWithoutPropertiesLoose$3(_ref, ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"]);
1695
- var props = _extends$6({
1693
+ var _ref$validateOnChange = _ref.validateOnChange, validateOnChange = _ref$validateOnChange === void 0 ? true : _ref$validateOnChange, _ref$validateOnBlur = _ref.validateOnBlur, validateOnBlur = _ref$validateOnBlur === void 0 ? true : _ref$validateOnBlur, _ref$validateOnMount = _ref.validateOnMount, validateOnMount = _ref$validateOnMount === void 0 ? false : _ref$validateOnMount, isInitialValid = _ref.isInitialValid, _ref$enableReinitiali = _ref.enableReinitialize, enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali, onSubmit = _ref.onSubmit, rest = _objectWithoutPropertiesLoose$4(_ref, ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"]);
1694
+ var props = _extends$7({
1696
1695
  validateOnChange,
1697
1696
  validateOnBlur,
1698
1697
  validateOnMount,
@@ -2229,7 +2228,7 @@ function useFormik(_ref) {
2229
2228
  var isValid2 = react.exports.useMemo(function() {
2230
2229
  return typeof isInitialValid !== "undefined" ? dirty ? state.errors && Object.keys(state.errors).length === 0 : isInitialValid !== false && isFunction$8(isInitialValid) ? isInitialValid(props) : isInitialValid : state.errors && Object.keys(state.errors).length === 0;
2231
2230
  }, [isInitialValid, dirty, state.errors, props]);
2232
- var ctx = _extends$6({}, state, {
2231
+ var ctx = _extends$7({}, state, {
2233
2232
  initialValues: initialValues.current,
2234
2233
  initialErrors: initialErrors.current,
2235
2234
  initialTouched: initialTouched.current,
@@ -2399,7 +2398,7 @@ function useEventCallback(fn) {
2399
2398
  }, []);
2400
2399
  }
2401
2400
  var Form$2 = /* @__PURE__ */ react.exports.forwardRef(function(props, ref) {
2402
- var action = props.action, rest = _objectWithoutPropertiesLoose$3(props, ["action"]);
2401
+ var action = props.action, rest = _objectWithoutPropertiesLoose$4(props, ["action"]);
2403
2402
  var _action = action != null ? action : "#";
2404
2403
  var _useFormikContext = useFormikContext(), handleReset = _useFormikContext.handleReset, handleSubmit = _useFormikContext.handleSubmit;
2405
2404
  return react.exports.createElement("form", Object.assign({
@@ -2445,13 +2444,13 @@ var copyArrayLike = function copyArrayLike2(arrayLike) {
2445
2444
  }).reduce(function(max2, el2) {
2446
2445
  return el2 > max2 ? el2 : max2;
2447
2446
  }, 0);
2448
- return Array.from(_extends$6({}, arrayLike, {
2447
+ return Array.from(_extends$7({}, arrayLike, {
2449
2448
  length: maxIndex + 1
2450
2449
  }));
2451
2450
  }
2452
2451
  };
2453
2452
  var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
2454
- _inheritsLoose$2(FieldArrayInner2, _React$Component);
2453
+ _inheritsLoose$3(FieldArrayInner2, _React$Component);
2455
2454
  function FieldArrayInner2(props) {
2456
2455
  var _this;
2457
2456
  _this = _React$Component.call(this, props) || this;
@@ -2469,7 +2468,7 @@ var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
2469
2468
  if (isEmptyArray(fieldTouched)) {
2470
2469
  fieldTouched = void 0;
2471
2470
  }
2472
- return _extends$6({}, prevState, {
2471
+ return _extends$7({}, prevState, {
2473
2472
  values,
2474
2473
  errors: alterErrors ? setIn(prevState.errors, name, fieldError) : prevState.errors,
2475
2474
  touched: alterTouched ? setIn(prevState.touched, name, fieldTouched) : prevState.touched
@@ -2568,8 +2567,8 @@ var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
2568
2567
  return _this.pop();
2569
2568
  };
2570
2569
  };
2571
- _this.remove = _this.remove.bind(_assertThisInitialized$1(_this));
2572
- _this.pop = _this.pop.bind(_assertThisInitialized$1(_this));
2570
+ _this.remove = _this.remove.bind(_assertThisInitialized$2(_this));
2571
+ _this.pop = _this.pop.bind(_assertThisInitialized$2(_this));
2573
2572
  return _this;
2574
2573
  }
2575
2574
  var _proto = FieldArrayInner2.prototype;
@@ -2630,8 +2629,8 @@ var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
2630
2629
  handleUnshift: this.handleUnshift,
2631
2630
  handleRemove: this.handleRemove
2632
2631
  };
2633
- var _this$props2 = this.props, component = _this$props2.component, render2 = _this$props2.render, children = _this$props2.children, name = _this$props2.name, _this$props2$formik = _this$props2.formik, restOfFormik = _objectWithoutPropertiesLoose$3(_this$props2$formik, ["validate", "validationSchema"]);
2634
- var props = _extends$6({}, arrayHelpers, {
2632
+ var _this$props2 = this.props, component = _this$props2.component, render2 = _this$props2.render, children = _this$props2.children, name = _this$props2.name, _this$props2$formik = _this$props2.formik, restOfFormik = _objectWithoutPropertiesLoose$4(_this$props2$formik, ["validate", "validationSchema"]);
2633
+ var props = _extends$7({}, arrayHelpers, {
2635
2634
  form: restOfFormik,
2636
2635
  name
2637
2636
  });
@@ -3340,8 +3339,8 @@ class Condition {
3340
3339
  function toArray$2(value2) {
3341
3340
  return value2 == null ? [] : [].concat(value2);
3342
3341
  }
3343
- function _extends$5() {
3344
- _extends$5 = Object.assign || function(target) {
3342
+ function _extends$6() {
3343
+ _extends$6 = Object.assign || function(target) {
3345
3344
  for (var i2 = 1; i2 < arguments.length; i2++) {
3346
3345
  var source = arguments[i2];
3347
3346
  for (var key2 in source) {
@@ -3352,14 +3351,14 @@ function _extends$5() {
3352
3351
  }
3353
3352
  return target;
3354
3353
  };
3355
- return _extends$5.apply(this, arguments);
3354
+ return _extends$6.apply(this, arguments);
3356
3355
  }
3357
3356
  let strReg = /\$\{\s*(\w+)\s*\}/g;
3358
3357
  class ValidationError extends Error {
3359
3358
  static formatError(message, params) {
3360
3359
  const path2 = params.label || params.path || "this";
3361
3360
  if (path2 !== params.path)
3362
- params = _extends$5({}, params, {
3361
+ params = _extends$6({}, params, {
3363
3362
  path: path2
3364
3363
  });
3365
3364
  if (typeof message === "string")
@@ -3462,8 +3461,8 @@ var defineProperty$c = function() {
3462
3461
  } catch (e2) {
3463
3462
  }
3464
3463
  }();
3465
- var _defineProperty$1 = defineProperty$c;
3466
- var defineProperty$b = _defineProperty$1;
3464
+ var _defineProperty$2 = defineProperty$c;
3465
+ var defineProperty$b = _defineProperty$2;
3467
3466
  function baseAssignValue$2(object2, key2, value2) {
3468
3467
  if (key2 == "__proto__" && defineProperty$b) {
3469
3468
  defineProperty$b(object2, key2, {
@@ -4300,8 +4299,8 @@ class Reference {
4300
4299
  }
4301
4300
  }
4302
4301
  Reference.prototype.__isYupRef = true;
4303
- function _extends$4() {
4304
- _extends$4 = Object.assign || function(target) {
4302
+ function _extends$5() {
4303
+ _extends$5 = Object.assign || function(target) {
4305
4304
  for (var i2 = 1; i2 < arguments.length; i2++) {
4306
4305
  var source = arguments[i2];
4307
4306
  for (var key2 in source) {
@@ -4312,9 +4311,9 @@ function _extends$4() {
4312
4311
  }
4313
4312
  return target;
4314
4313
  };
4315
- return _extends$4.apply(this, arguments);
4314
+ return _extends$5.apply(this, arguments);
4316
4315
  }
4317
- function _objectWithoutPropertiesLoose$2(source, excluded) {
4316
+ function _objectWithoutPropertiesLoose$3(source, excluded) {
4318
4317
  if (source == null)
4319
4318
  return {};
4320
4319
  var target = {};
@@ -4337,7 +4336,7 @@ function createValidation(config) {
4337
4336
  options,
4338
4337
  originalValue,
4339
4338
  sync
4340
- } = _ref, rest = _objectWithoutPropertiesLoose$2(_ref, ["value", "path", "label", "options", "originalValue", "sync"]);
4339
+ } = _ref, rest = _objectWithoutPropertiesLoose$3(_ref, ["value", "path", "label", "options", "originalValue", "sync"]);
4341
4340
  const {
4342
4341
  name,
4343
4342
  test: test2,
@@ -4352,7 +4351,7 @@ function createValidation(config) {
4352
4351
  return Reference.isRef(item) ? item.getValue(value2, parent2, context) : item;
4353
4352
  }
4354
4353
  function createError(overrides = {}) {
4355
- const nextParams = mapValues_1(_extends$4({
4354
+ const nextParams = mapValues_1(_extends$5({
4356
4355
  value: value2,
4357
4356
  originalValue,
4358
4357
  label,
@@ -4362,7 +4361,7 @@ function createValidation(config) {
4362
4361
  error.params = nextParams;
4363
4362
  return error;
4364
4363
  }
4365
- let ctx = _extends$4({
4364
+ let ctx = _extends$5({
4366
4365
  path: path2,
4367
4366
  parent: parent2,
4368
4367
  type: name,
@@ -4493,8 +4492,8 @@ class ReferenceSet {
4493
4492
  return next;
4494
4493
  }
4495
4494
  }
4496
- function _extends$3() {
4497
- _extends$3 = Object.assign || function(target) {
4495
+ function _extends$4() {
4496
+ _extends$4 = Object.assign || function(target) {
4498
4497
  for (var i2 = 1; i2 < arguments.length; i2++) {
4499
4498
  var source = arguments[i2];
4500
4499
  for (var key2 in source) {
@@ -4505,7 +4504,7 @@ function _extends$3() {
4505
4504
  }
4506
4505
  return target;
4507
4506
  };
4508
- return _extends$3.apply(this, arguments);
4507
+ return _extends$4.apply(this, arguments);
4509
4508
  }
4510
4509
  class BaseSchema {
4511
4510
  constructor(options) {
@@ -4525,7 +4524,7 @@ class BaseSchema {
4525
4524
  this.typeError(mixed.notType);
4526
4525
  });
4527
4526
  this.type = (options == null ? void 0 : options.type) || "mixed";
4528
- this.spec = _extends$3({
4527
+ this.spec = _extends$4({
4529
4528
  strip: false,
4530
4529
  strict: false,
4531
4530
  abortEarly: true,
@@ -4553,12 +4552,12 @@ class BaseSchema {
4553
4552
  next._blacklistError = this._blacklistError;
4554
4553
  next._whitelist = this._whitelist.clone();
4555
4554
  next._blacklist = this._blacklist.clone();
4556
- next.exclusiveTests = _extends$3({}, this.exclusiveTests);
4555
+ next.exclusiveTests = _extends$4({}, this.exclusiveTests);
4557
4556
  next.deps = [...this.deps];
4558
4557
  next.conditions = [...this.conditions];
4559
4558
  next.tests = [...this.tests];
4560
4559
  next.transforms = [...this.transforms];
4561
- next.spec = clone$2(_extends$3({}, this.spec, spec));
4560
+ next.spec = clone$2(_extends$4({}, this.spec, spec));
4562
4561
  return next;
4563
4562
  }
4564
4563
  label(label) {
@@ -4587,7 +4586,7 @@ class BaseSchema {
4587
4586
  throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${schema.type}`);
4588
4587
  let base = this;
4589
4588
  let combined = schema.clone();
4590
- const mergedSpec = _extends$3({}, base.spec, combined.spec);
4589
+ const mergedSpec = _extends$4({}, base.spec, combined.spec);
4591
4590
  combined.spec = mergedSpec;
4592
4591
  combined._typeError || (combined._typeError = base._typeError);
4593
4592
  combined._whitelistError || (combined._whitelistError = base._whitelistError);
@@ -4621,7 +4620,7 @@ class BaseSchema {
4621
4620
  return schema;
4622
4621
  }
4623
4622
  cast(value2, options = {}) {
4624
- let resolvedSchema = this.resolve(_extends$3({
4623
+ let resolvedSchema = this.resolve(_extends$4({
4625
4624
  value: value2
4626
4625
  }, options));
4627
4626
  let result = resolvedSchema._cast(value2, options);
@@ -4653,7 +4652,7 @@ attempted value: ${formattedValue}
4653
4652
  } = options;
4654
4653
  let value2 = _value;
4655
4654
  if (!strict) {
4656
- value2 = this._cast(value2, _extends$3({
4655
+ value2 = this._cast(value2, _extends$4({
4657
4656
  assert: false
4658
4657
  }, options));
4659
4658
  }
@@ -4696,7 +4695,7 @@ attempted value: ${formattedValue}
4696
4695
  });
4697
4696
  }
4698
4697
  validate(value2, options, maybeCb) {
4699
- let schema = this.resolve(_extends$3({}, options, {
4698
+ let schema = this.resolve(_extends$4({}, options, {
4700
4699
  value: value2
4701
4700
  }));
4702
4701
  return typeof maybeCb === "function" ? schema._validate(value2, options, maybeCb) : new Promise((resolve, reject) => schema._validate(value2, options, (err, value3) => {
@@ -4707,11 +4706,11 @@ attempted value: ${formattedValue}
4707
4706
  }));
4708
4707
  }
4709
4708
  validateSync(value2, options) {
4710
- let schema = this.resolve(_extends$3({}, options, {
4709
+ let schema = this.resolve(_extends$4({}, options, {
4711
4710
  value: value2
4712
4711
  }));
4713
4712
  let result;
4714
- schema._validate(value2, _extends$3({}, options, {
4713
+ schema._validate(value2, _extends$4({}, options, {
4715
4714
  sync: true
4716
4715
  }), (err, value3) => {
4717
4716
  if (err)
@@ -4964,7 +4963,7 @@ for (const method2 of ["validate", "validateSync"])
4964
4963
  parentPath,
4965
4964
  schema
4966
4965
  } = getIn(this, path2, value2, options.context);
4967
- return schema[method2](parent2 && parent2[parentPath], _extends$3({}, options, {
4966
+ return schema[method2](parent2 && parent2[parentPath], _extends$4({}, options, {
4968
4967
  parent: parent2,
4969
4968
  path: path2
4970
4969
  }));
@@ -5789,8 +5788,8 @@ function sortByKeyOrder(keys5) {
5789
5788
  return findIndex$1(keys5, a2) - findIndex$1(keys5, b2);
5790
5789
  };
5791
5790
  }
5792
- function _extends$2() {
5793
- _extends$2 = Object.assign || function(target) {
5791
+ function _extends$3() {
5792
+ _extends$3 = Object.assign || function(target) {
5794
5793
  for (var i2 = 1; i2 < arguments.length; i2++) {
5795
5794
  var source = arguments[i2];
5796
5795
  for (var key2 in source) {
@@ -5801,7 +5800,7 @@ function _extends$2() {
5801
5800
  }
5802
5801
  return target;
5803
5802
  };
5804
- return _extends$2.apply(this, arguments);
5803
+ return _extends$3.apply(this, arguments);
5805
5804
  }
5806
5805
  let isObject$f = (obj) => Object.prototype.toString.call(obj) === "[object Object]";
5807
5806
  function unknown(ctx, value2) {
@@ -5850,7 +5849,7 @@ class ObjectSchema extends BaseSchema {
5850
5849
  let strip = (_options$stripUnknown = options.stripUnknown) != null ? _options$stripUnknown : this.spec.noUnknown;
5851
5850
  let props = this._nodes.concat(Object.keys(value2).filter((v2) => this._nodes.indexOf(v2) === -1));
5852
5851
  let intermediateValue = {};
5853
- let innerOptions = _extends$2({}, options, {
5852
+ let innerOptions = _extends$3({}, options, {
5854
5853
  parent: intermediateValue,
5855
5854
  __validating: options.__validating || false
5856
5855
  });
@@ -5918,7 +5917,7 @@ class ObjectSchema extends BaseSchema {
5918
5917
  let path2 = key2.indexOf(".") === -1 ? (opts.path ? `${opts.path}.` : "") + key2 : `${opts.path || ""}["${key2}"]`;
5919
5918
  let field = this.fields[key2];
5920
5919
  if (field && "validate" in field) {
5921
- field.validate(value2[key2], _extends$2({}, opts, {
5920
+ field.validate(value2[key2], _extends$3({}, opts, {
5922
5921
  path: path2,
5923
5922
  from: from2,
5924
5923
  strict: true,
@@ -5942,7 +5941,7 @@ class ObjectSchema extends BaseSchema {
5942
5941
  }
5943
5942
  clone(spec) {
5944
5943
  const next = super.clone(spec);
5945
- next.fields = _extends$2({}, this.fields);
5944
+ next.fields = _extends$3({}, this.fields);
5946
5945
  next._nodes = this._nodes;
5947
5946
  next._excludedEdges = this._excludedEdges;
5948
5947
  next._sortErrors = this._sortErrors;
@@ -6018,7 +6017,7 @@ class ObjectSchema extends BaseSchema {
6018
6017
  return obj;
6019
6018
  let newObj = obj;
6020
6019
  if (has_1(obj, from2)) {
6021
- newObj = _extends$2({}, obj);
6020
+ newObj = _extends$3({}, obj);
6022
6021
  if (!alias)
6023
6022
  delete newObj[from2];
6024
6023
  newObj[to2] = fromGetter(obj);
@@ -6074,8 +6073,8 @@ function create$1(spec) {
6074
6073
  return new ObjectSchema(spec);
6075
6074
  }
6076
6075
  create$1.prototype = ObjectSchema.prototype;
6077
- function _extends$1() {
6078
- _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
6076
+ function _extends$2() {
6077
+ _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
6079
6078
  for (var i2 = 1; i2 < arguments.length; i2++) {
6080
6079
  var source = arguments[i2];
6081
6080
  for (var key2 in source) {
@@ -6086,9 +6085,9 @@ function _extends$1() {
6086
6085
  }
6087
6086
  return target;
6088
6087
  };
6089
- return _extends$1.apply(this, arguments);
6088
+ return _extends$2.apply(this, arguments);
6090
6089
  }
6091
- function _objectWithoutPropertiesLoose$1(source, excluded) {
6090
+ function _objectWithoutPropertiesLoose$2(source, excluded) {
6092
6091
  if (source == null)
6093
6092
  return {};
6094
6093
  var target = {};
@@ -6442,7 +6441,7 @@ var defaultProps$h = {
6442
6441
  widths: rowColWidths
6443
6442
  };
6444
6443
  var Row = function Row2(props) {
6445
- var className = props.className, cssModule = props.cssModule, noGutters = props.noGutters, Tag = props.tag, form = props.form, widths = props.widths, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$e);
6444
+ var className = props.className, cssModule = props.cssModule, noGutters = props.noGutters, Tag = props.tag, form = props.form, widths = props.widths, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$e);
6446
6445
  var colClasses = [];
6447
6446
  widths.forEach(function(colWidth, i2) {
6448
6447
  var colSize = props[colWidth];
@@ -6494,7 +6493,7 @@ var getColumnSizeClass$1 = function getColumnSizeClass(isXs, colWidth, colSize)
6494
6493
  return isXs ? "col-" + colSize : "col-" + colWidth + "-" + colSize;
6495
6494
  };
6496
6495
  var Col = function Col2(props) {
6497
- var className = props.className, cssModule = props.cssModule, widths = props.widths, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$d);
6496
+ var className = props.className, cssModule = props.cssModule, widths = props.widths, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$d);
6498
6497
  var colClasses = [];
6499
6498
  widths.forEach(function(colWidth, i2) {
6500
6499
  var columnProp = props[colWidth];
@@ -6525,23 +6524,23 @@ var Col = function Col2(props) {
6525
6524
  Col.propTypes = propTypes$g;
6526
6525
  Col.defaultProps = defaultProps$g;
6527
6526
  const Col$1 = Col;
6528
- function _assertThisInitialized(self2) {
6527
+ function _assertThisInitialized$1(self2) {
6529
6528
  if (self2 === void 0) {
6530
6529
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6531
6530
  }
6532
6531
  return self2;
6533
6532
  }
6534
- function _setPrototypeOf(o2, p2) {
6535
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
6533
+ function _setPrototypeOf$1(o2, p2) {
6534
+ _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
6536
6535
  o3.__proto__ = p3;
6537
6536
  return o3;
6538
6537
  };
6539
- return _setPrototypeOf(o2, p2);
6538
+ return _setPrototypeOf$1(o2, p2);
6540
6539
  }
6541
- function _inheritsLoose$1(subClass, superClass) {
6540
+ function _inheritsLoose$2(subClass, superClass) {
6542
6541
  subClass.prototype = Object.create(superClass.prototype);
6543
6542
  subClass.prototype.constructor = subClass;
6544
- _setPrototypeOf(subClass, superClass);
6543
+ _setPrototypeOf$1(subClass, superClass);
6545
6544
  }
6546
6545
  var _excluded$c = ["active", "aria-label", "block", "className", "close", "cssModule", "color", "outline", "size", "tag", "innerRef"];
6547
6546
  var propTypes$f = {
@@ -6565,11 +6564,11 @@ var defaultProps$f = {
6565
6564
  tag: "button"
6566
6565
  };
6567
6566
  var Button = /* @__PURE__ */ function(_React$Component) {
6568
- _inheritsLoose$1(Button2, _React$Component);
6567
+ _inheritsLoose$2(Button2, _React$Component);
6569
6568
  function Button2(props) {
6570
6569
  var _this;
6571
6570
  _this = _React$Component.call(this, props) || this;
6572
- _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));
6571
+ _this.onClick = _this.onClick.bind(_assertThisInitialized$1(_this));
6573
6572
  return _this;
6574
6573
  }
6575
6574
  var _proto = Button2.prototype;
@@ -6583,7 +6582,7 @@ var Button = /* @__PURE__ */ function(_React$Component) {
6583
6582
  }
6584
6583
  };
6585
6584
  _proto.render = function render() {
6586
- var _this$props = this.props, active = _this$props.active, ariaLabel = _this$props["aria-label"], block = _this$props.block, className = _this$props.className, close = _this$props.close, cssModule = _this$props.cssModule, color = _this$props.color, outline = _this$props.outline, size = _this$props.size, Tag = _this$props.tag, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$1(_this$props, _excluded$c);
6585
+ var _this$props = this.props, active = _this$props.active, ariaLabel = _this$props["aria-label"], block = _this$props.block, className = _this$props.className, close = _this$props.close, cssModule = _this$props.cssModule, color = _this$props.color, outline = _this$props.outline, size = _this$props.size, Tag = _this$props.tag, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$2(_this$props, _excluded$c);
6587
6586
  if (close && typeof attributes.children === "undefined") {
6588
6587
  attributes.children = /* @__PURE__ */ jsx("span", {
6589
6588
  "aria-hidden": true,
@@ -6615,7 +6614,53 @@ var Button = /* @__PURE__ */ function(_React$Component) {
6615
6614
  Button.propTypes = propTypes$f;
6616
6615
  Button.defaultProps = defaultProps$f;
6617
6616
  const Button$1 = Button;
6618
- function _defineProperty(obj, key2, value2) {
6617
+ function _objectWithoutPropertiesLoose$1(source, excluded) {
6618
+ if (source == null)
6619
+ return {};
6620
+ var target = {};
6621
+ var sourceKeys = Object.keys(source);
6622
+ var key2, i2;
6623
+ for (i2 = 0; i2 < sourceKeys.length; i2++) {
6624
+ key2 = sourceKeys[i2];
6625
+ if (excluded.indexOf(key2) >= 0)
6626
+ continue;
6627
+ target[key2] = source[key2];
6628
+ }
6629
+ return target;
6630
+ }
6631
+ function _extends$1() {
6632
+ _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
6633
+ for (var i2 = 1; i2 < arguments.length; i2++) {
6634
+ var source = arguments[i2];
6635
+ for (var key2 in source) {
6636
+ if (Object.prototype.hasOwnProperty.call(source, key2)) {
6637
+ target[key2] = source[key2];
6638
+ }
6639
+ }
6640
+ }
6641
+ return target;
6642
+ };
6643
+ return _extends$1.apply(this, arguments);
6644
+ }
6645
+ function _setPrototypeOf(o2, p2) {
6646
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
6647
+ o3.__proto__ = p3;
6648
+ return o3;
6649
+ };
6650
+ return _setPrototypeOf(o2, p2);
6651
+ }
6652
+ function _inheritsLoose$1(subClass, superClass) {
6653
+ subClass.prototype = Object.create(superClass.prototype);
6654
+ subClass.prototype.constructor = subClass;
6655
+ _setPrototypeOf(subClass, superClass);
6656
+ }
6657
+ function _assertThisInitialized(self2) {
6658
+ if (self2 === void 0) {
6659
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6660
+ }
6661
+ return self2;
6662
+ }
6663
+ function _defineProperty$1(obj, key2, value2) {
6619
6664
  if (key2 in obj) {
6620
6665
  Object.defineProperty(obj, key2, {
6621
6666
  value: value2,
@@ -9104,24 +9149,24 @@ var InnerPopper = /* @__PURE__ */ function(_React$Component) {
9104
9149
  args[_key] = arguments[_key];
9105
9150
  }
9106
9151
  _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
9107
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "state", {
9152
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "state", {
9108
9153
  data: void 0,
9109
9154
  placement: void 0
9110
9155
  });
9111
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "popperInstance", void 0);
9112
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "popperNode", null);
9113
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "arrowNode", null);
9114
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "setPopperNode", function(popperNode) {
9156
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "popperInstance", void 0);
9157
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "popperNode", null);
9158
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "arrowNode", null);
9159
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "setPopperNode", function(popperNode) {
9115
9160
  if (!popperNode || _this.popperNode === popperNode)
9116
9161
  return;
9117
9162
  setRef(_this.props.innerRef, popperNode);
9118
9163
  _this.popperNode = popperNode;
9119
9164
  _this.updatePopperInstance();
9120
9165
  });
9121
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "setArrowNode", function(arrowNode) {
9166
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "setArrowNode", function(arrowNode) {
9122
9167
  _this.arrowNode = arrowNode;
9123
9168
  });
9124
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "updateStateModifier", {
9169
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "updateStateModifier", {
9125
9170
  enabled: true,
9126
9171
  order: 900,
9127
9172
  fn: function fn(data2) {
@@ -9133,7 +9178,7 @@ var InnerPopper = /* @__PURE__ */ function(_React$Component) {
9133
9178
  return data2;
9134
9179
  }
9135
9180
  });
9136
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getOptions", function() {
9181
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "getOptions", function() {
9137
9182
  return {
9138
9183
  placement: _this.props.placement,
9139
9184
  eventsEnabled: _this.props.eventsEnabled,
@@ -9150,27 +9195,27 @@ var InnerPopper = /* @__PURE__ */ function(_React$Component) {
9150
9195
  })
9151
9196
  };
9152
9197
  });
9153
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperStyle", function() {
9198
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperStyle", function() {
9154
9199
  return !_this.popperNode || !_this.state.data ? initialStyle : _extends$1({
9155
9200
  position: _this.state.data.offsets.popper.position
9156
9201
  }, _this.state.data.styles);
9157
9202
  });
9158
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperPlacement", function() {
9203
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperPlacement", function() {
9159
9204
  return !_this.state.data ? void 0 : _this.state.placement;
9160
9205
  });
9161
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getArrowStyle", function() {
9206
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "getArrowStyle", function() {
9162
9207
  return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles;
9163
9208
  });
9164
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getOutOfBoundariesState", function() {
9209
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "getOutOfBoundariesState", function() {
9165
9210
  return _this.state.data ? _this.state.data.hide : void 0;
9166
9211
  });
9167
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "destroyPopperInstance", function() {
9212
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "destroyPopperInstance", function() {
9168
9213
  if (!_this.popperInstance)
9169
9214
  return;
9170
9215
  _this.popperInstance.destroy();
9171
9216
  _this.popperInstance = null;
9172
9217
  });
9173
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "updatePopperInstance", function() {
9218
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "updatePopperInstance", function() {
9174
9219
  _this.destroyPopperInstance();
9175
9220
  var _assertThisInitialize = _assertThisInitialized(_assertThisInitialized(_this)), popperNode = _assertThisInitialize.popperNode;
9176
9221
  var referenceElement = _this.props.referenceElement;
@@ -9178,7 +9223,7 @@ var InnerPopper = /* @__PURE__ */ function(_React$Component) {
9178
9223
  return;
9179
9224
  _this.popperInstance = new PopperJS(referenceElement, popperNode, _this.getOptions());
9180
9225
  });
9181
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "scheduleUpdate", function() {
9226
+ _defineProperty$1(_assertThisInitialized(_assertThisInitialized(_this)), "scheduleUpdate", function() {
9182
9227
  if (_this.popperInstance) {
9183
9228
  _this.popperInstance.scheduleUpdate();
9184
9229
  }
@@ -9217,7 +9262,7 @@ var InnerPopper = /* @__PURE__ */ function(_React$Component) {
9217
9262
  };
9218
9263
  return InnerPopper2;
9219
9264
  }(react.exports.Component);
9220
- _defineProperty(InnerPopper, "defaultProps", {
9265
+ _defineProperty$1(InnerPopper, "defaultProps", {
9221
9266
  placement: "bottom",
9222
9267
  eventsEnabled: true,
9223
9268
  referenceElement: void 0,
@@ -9235,6 +9280,19 @@ function Popper(_ref) {
9235
9280
  }
9236
9281
  });
9237
9282
  }
9283
+ function _defineProperty(obj, key2, value2) {
9284
+ if (key2 in obj) {
9285
+ Object.defineProperty(obj, key2, {
9286
+ value: value2,
9287
+ enumerable: true,
9288
+ configurable: true,
9289
+ writable: true
9290
+ });
9291
+ } else {
9292
+ obj[key2] = value2;
9293
+ }
9294
+ return obj;
9295
+ }
9238
9296
  var reactDom = { exports: {} };
9239
9297
  var reactDom_production_min = {};
9240
9298
  var scheduler = { exports: {} };
@@ -17502,7 +17560,7 @@ var defaultProps$e = _objectSpread$5(_objectSpread$5({}, reactTransitionGroup.Tr
17502
17560
  in: true
17503
17561
  });
17504
17562
  function Fade(props) {
17505
- var Tag = props.tag, baseClass = props.baseClass, baseClassActive = props.baseClassActive, className = props.className, cssModule = props.cssModule, children = props.children, innerRef = props.innerRef, otherProps = _objectWithoutPropertiesLoose$1(props, _excluded$b);
17563
+ var Tag = props.tag, baseClass = props.baseClass, baseClassActive = props.baseClassActive, className = props.className, cssModule = props.cssModule, children = props.children, innerRef = props.innerRef, otherProps = _objectWithoutPropertiesLoose$2(props, _excluded$b);
17506
17564
  var transitionProps = pick$1(otherProps, TransitionPropTypeKeys);
17507
17565
  var childProps = omit(otherProps, TransitionPropTypeKeys);
17508
17566
  return /* @__PURE__ */ jsx(reactTransitionGroup.Transition, {
@@ -17537,7 +17595,7 @@ var defaultProps$d = {
17537
17595
  tag: "span"
17538
17596
  };
17539
17597
  var Badge = function Badge2(props) {
17540
- var className = props.className, cssModule = props.cssModule, color = props.color, innerRef = props.innerRef, pill = props.pill, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$a);
17598
+ var className = props.className, cssModule = props.cssModule, color = props.color, innerRef = props.innerRef, pill = props.pill, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$a);
17541
17599
  var classes = mapToCssModules(classNames(className, "badge", "badge-" + color, pill ? "badge-pill" : false), cssModule);
17542
17600
  if (attributes.href && Tag === "span") {
17543
17601
  Tag = "a";
@@ -17621,14 +17679,14 @@ var defaultProps$c = {
17621
17679
  transition: _objectSpread$4({}, Fade.defaultProps)
17622
17680
  };
17623
17681
  var PopperContent = /* @__PURE__ */ function(_React$Component) {
17624
- _inheritsLoose$1(PopperContent2, _React$Component);
17682
+ _inheritsLoose$2(PopperContent2, _React$Component);
17625
17683
  function PopperContent2(props) {
17626
17684
  var _this;
17627
17685
  _this = _React$Component.call(this, props) || this;
17628
- _this.setTargetNode = _this.setTargetNode.bind(_assertThisInitialized(_this));
17629
- _this.getTargetNode = _this.getTargetNode.bind(_assertThisInitialized(_this));
17630
- _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
17631
- _this.onClosed = _this.onClosed.bind(_assertThisInitialized(_this));
17686
+ _this.setTargetNode = _this.setTargetNode.bind(_assertThisInitialized$1(_this));
17687
+ _this.getTargetNode = _this.getTargetNode.bind(_assertThisInitialized$1(_this));
17688
+ _this.getRef = _this.getRef.bind(_assertThisInitialized$1(_this));
17689
+ _this.onClosed = _this.onClosed.bind(_assertThisInitialized$1(_this));
17632
17690
  _this.state = {
17633
17691
  isOpen: props.isOpen
17634
17692
  };
@@ -17673,7 +17731,7 @@ var PopperContent = /* @__PURE__ */ function(_React$Component) {
17673
17731
  _this$props.container;
17674
17732
  var modifiers2 = _this$props.modifiers, positionFixed = _this$props.positionFixed, boundariesElement = _this$props.boundariesElement;
17675
17733
  _this$props.onClosed;
17676
- var fade = _this$props.fade, transition = _this$props.transition, placement = _this$props.placement, attrs = _objectWithoutPropertiesLoose$1(_this$props, _excluded$9);
17734
+ var fade = _this$props.fade, transition = _this$props.transition, placement = _this$props.placement, attrs = _objectWithoutPropertiesLoose$2(_this$props, _excluded$9);
17677
17735
  var arrowClassName = mapToCssModules(classNames("arrow", _arrowClassName), cssModule);
17678
17736
  var popperClassName = mapToCssModules(classNames(_popperClassName, placementPrefix ? placementPrefix + "-auto" : ""), this.props.cssModule);
17679
17737
  var extendedModifiers = _objectSpread$4({
@@ -17796,24 +17854,24 @@ function isInDOMSubtrees(element, subtreeRoots) {
17796
17854
  })[0];
17797
17855
  }
17798
17856
  var TooltipPopoverWrapper = /* @__PURE__ */ function(_React$Component) {
17799
- _inheritsLoose$1(TooltipPopoverWrapper2, _React$Component);
17857
+ _inheritsLoose$2(TooltipPopoverWrapper2, _React$Component);
17800
17858
  function TooltipPopoverWrapper2(props) {
17801
17859
  var _this;
17802
17860
  _this = _React$Component.call(this, props) || this;
17803
17861
  _this._targets = [];
17804
17862
  _this.currentTargetElement = null;
17805
- _this.addTargetEvents = _this.addTargetEvents.bind(_assertThisInitialized(_this));
17806
- _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized(_this));
17807
- _this.removeTargetEvents = _this.removeTargetEvents.bind(_assertThisInitialized(_this));
17808
- _this.toggle = _this.toggle.bind(_assertThisInitialized(_this));
17809
- _this.showWithDelay = _this.showWithDelay.bind(_assertThisInitialized(_this));
17810
- _this.hideWithDelay = _this.hideWithDelay.bind(_assertThisInitialized(_this));
17811
- _this.onMouseOverTooltipContent = _this.onMouseOverTooltipContent.bind(_assertThisInitialized(_this));
17812
- _this.onMouseLeaveTooltipContent = _this.onMouseLeaveTooltipContent.bind(_assertThisInitialized(_this));
17813
- _this.show = _this.show.bind(_assertThisInitialized(_this));
17814
- _this.hide = _this.hide.bind(_assertThisInitialized(_this));
17815
- _this.onEscKeyDown = _this.onEscKeyDown.bind(_assertThisInitialized(_this));
17816
- _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
17863
+ _this.addTargetEvents = _this.addTargetEvents.bind(_assertThisInitialized$1(_this));
17864
+ _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized$1(_this));
17865
+ _this.removeTargetEvents = _this.removeTargetEvents.bind(_assertThisInitialized$1(_this));
17866
+ _this.toggle = _this.toggle.bind(_assertThisInitialized$1(_this));
17867
+ _this.showWithDelay = _this.showWithDelay.bind(_assertThisInitialized$1(_this));
17868
+ _this.hideWithDelay = _this.hideWithDelay.bind(_assertThisInitialized$1(_this));
17869
+ _this.onMouseOverTooltipContent = _this.onMouseOverTooltipContent.bind(_assertThisInitialized$1(_this));
17870
+ _this.onMouseLeaveTooltipContent = _this.onMouseLeaveTooltipContent.bind(_assertThisInitialized$1(_this));
17871
+ _this.show = _this.show.bind(_assertThisInitialized$1(_this));
17872
+ _this.hide = _this.hide.bind(_assertThisInitialized$1(_this));
17873
+ _this.onEscKeyDown = _this.onEscKeyDown.bind(_assertThisInitialized$1(_this));
17874
+ _this.getRef = _this.getRef.bind(_assertThisInitialized$1(_this));
17817
17875
  _this.state = {
17818
17876
  isOpen: props.isOpen
17819
17877
  };
@@ -18063,7 +18121,7 @@ var propTypes$a = {
18063
18121
  node: propTypes$i.exports.any
18064
18122
  };
18065
18123
  var Portal = /* @__PURE__ */ function(_React$Component) {
18066
- _inheritsLoose$1(Portal2, _React$Component);
18124
+ _inheritsLoose$2(Portal2, _React$Component);
18067
18125
  function Portal2() {
18068
18126
  return _React$Component.apply(this, arguments) || this;
18069
18127
  }
@@ -18180,23 +18238,23 @@ var defaultProps$a = {
18180
18238
  trapFocus: false
18181
18239
  };
18182
18240
  var Modal = /* @__PURE__ */ function(_React$Component) {
18183
- _inheritsLoose$1(Modal2, _React$Component);
18241
+ _inheritsLoose$2(Modal2, _React$Component);
18184
18242
  function Modal2(props) {
18185
18243
  var _this;
18186
18244
  _this = _React$Component.call(this, props) || this;
18187
18245
  _this._element = null;
18188
18246
  _this._originalBodyPadding = null;
18189
- _this.getFocusableChildren = _this.getFocusableChildren.bind(_assertThisInitialized(_this));
18190
- _this.handleBackdropClick = _this.handleBackdropClick.bind(_assertThisInitialized(_this));
18191
- _this.handleBackdropMouseDown = _this.handleBackdropMouseDown.bind(_assertThisInitialized(_this));
18192
- _this.handleEscape = _this.handleEscape.bind(_assertThisInitialized(_this));
18193
- _this.handleStaticBackdropAnimation = _this.handleStaticBackdropAnimation.bind(_assertThisInitialized(_this));
18194
- _this.handleTab = _this.handleTab.bind(_assertThisInitialized(_this));
18195
- _this.onOpened = _this.onOpened.bind(_assertThisInitialized(_this));
18196
- _this.onClosed = _this.onClosed.bind(_assertThisInitialized(_this));
18197
- _this.manageFocusAfterClose = _this.manageFocusAfterClose.bind(_assertThisInitialized(_this));
18198
- _this.clearBackdropAnimationTimeout = _this.clearBackdropAnimationTimeout.bind(_assertThisInitialized(_this));
18199
- _this.trapFocus = _this.trapFocus.bind(_assertThisInitialized(_this));
18247
+ _this.getFocusableChildren = _this.getFocusableChildren.bind(_assertThisInitialized$1(_this));
18248
+ _this.handleBackdropClick = _this.handleBackdropClick.bind(_assertThisInitialized$1(_this));
18249
+ _this.handleBackdropMouseDown = _this.handleBackdropMouseDown.bind(_assertThisInitialized$1(_this));
18250
+ _this.handleEscape = _this.handleEscape.bind(_assertThisInitialized$1(_this));
18251
+ _this.handleStaticBackdropAnimation = _this.handleStaticBackdropAnimation.bind(_assertThisInitialized$1(_this));
18252
+ _this.handleTab = _this.handleTab.bind(_assertThisInitialized$1(_this));
18253
+ _this.onOpened = _this.onOpened.bind(_assertThisInitialized$1(_this));
18254
+ _this.onClosed = _this.onClosed.bind(_assertThisInitialized$1(_this));
18255
+ _this.manageFocusAfterClose = _this.manageFocusAfterClose.bind(_assertThisInitialized$1(_this));
18256
+ _this.clearBackdropAnimationTimeout = _this.clearBackdropAnimationTimeout.bind(_assertThisInitialized$1(_this));
18257
+ _this.trapFocus = _this.trapFocus.bind(_assertThisInitialized$1(_this));
18200
18258
  _this.state = {
18201
18259
  isOpen: false,
18202
18260
  showStaticBackdropAnimation: false
@@ -18515,7 +18573,7 @@ var defaultProps$9 = {
18515
18573
  tag: "div"
18516
18574
  };
18517
18575
  var ModalBody = function ModalBody2(props) {
18518
- var className = props.className, cssModule = props.cssModule, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$8);
18576
+ var className = props.className, cssModule = props.cssModule, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$8);
18519
18577
  var classes = mapToCssModules(classNames(className, "modal-body"), cssModule);
18520
18578
  return /* @__PURE__ */ jsx(Tag, {
18521
18579
  ...attributes,
@@ -18556,12 +18614,12 @@ var defaultProps$7 = {
18556
18614
  tag: "form"
18557
18615
  };
18558
18616
  var Form = /* @__PURE__ */ function(_Component) {
18559
- _inheritsLoose$1(Form2, _Component);
18617
+ _inheritsLoose$2(Form2, _Component);
18560
18618
  function Form2(props) {
18561
18619
  var _this;
18562
18620
  _this = _Component.call(this, props) || this;
18563
- _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
18564
- _this.submit = _this.submit.bind(_assertThisInitialized(_this));
18621
+ _this.getRef = _this.getRef.bind(_assertThisInitialized$1(_this));
18622
+ _this.submit = _this.submit.bind(_assertThisInitialized$1(_this));
18565
18623
  return _this;
18566
18624
  }
18567
18625
  var _proto = Form2.prototype;
@@ -18577,7 +18635,7 @@ var Form = /* @__PURE__ */ function(_Component) {
18577
18635
  }
18578
18636
  };
18579
18637
  _proto.render = function render() {
18580
- var _this$props = this.props, className = _this$props.className, cssModule = _this$props.cssModule, inline = _this$props.inline, Tag = _this$props.tag, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$1(_this$props, _excluded$7);
18638
+ var _this$props = this.props, className = _this$props.className, cssModule = _this$props.cssModule, inline = _this$props.inline, Tag = _this$props.tag, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$2(_this$props, _excluded$7);
18581
18639
  var classes = mapToCssModules(classNames(className, inline ? "form-inline" : false), cssModule);
18582
18640
  return /* @__PURE__ */ jsx(Tag, {
18583
18641
  ...attributes,
@@ -18604,7 +18662,7 @@ var defaultProps$6 = {
18604
18662
  valid: void 0
18605
18663
  };
18606
18664
  var FormFeedback = function FormFeedback2(props) {
18607
- var className = props.className, cssModule = props.cssModule, valid = props.valid, tooltip = props.tooltip, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$6);
18665
+ var className = props.className, cssModule = props.cssModule, valid = props.valid, tooltip = props.tooltip, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$6);
18608
18666
  var validMode = tooltip ? "tooltip" : "feedback";
18609
18667
  var classes = mapToCssModules(classNames(className, valid ? "valid-" + validMode : "invalid-" + validMode), cssModule);
18610
18668
  return /* @__PURE__ */ jsx(Tag, {
@@ -18630,7 +18688,7 @@ var defaultProps$5 = {
18630
18688
  tag: "div"
18631
18689
  };
18632
18690
  var FormGroup = function FormGroup2(props) {
18633
- var className = props.className, cssModule = props.cssModule, row = props.row, disabled = props.disabled, check2 = props.check, inline = props.inline, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$5);
18691
+ var className = props.className, cssModule = props.cssModule, row = props.row, disabled = props.disabled, check2 = props.check, inline = props.inline, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$5);
18634
18692
  var classes = mapToCssModules(classNames(className, row ? "row" : false, check2 ? "form-check" : "form-group", check2 && inline ? "form-check-inline" : false, check2 && disabled ? "disabled" : false), cssModule);
18635
18693
  if (Tag === "fieldset") {
18636
18694
  attributes.disabled = disabled;
@@ -18662,12 +18720,12 @@ var defaultProps$4 = {
18662
18720
  type: "text"
18663
18721
  };
18664
18722
  var Input = /* @__PURE__ */ function(_React$Component) {
18665
- _inheritsLoose$1(Input2, _React$Component);
18723
+ _inheritsLoose$2(Input2, _React$Component);
18666
18724
  function Input2(props) {
18667
18725
  var _this;
18668
18726
  _this = _React$Component.call(this, props) || this;
18669
- _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
18670
- _this.focus = _this.focus.bind(_assertThisInitialized(_this));
18727
+ _this.getRef = _this.getRef.bind(_assertThisInitialized$1(_this));
18728
+ _this.focus = _this.focus.bind(_assertThisInitialized$1(_this));
18671
18729
  return _this;
18672
18730
  }
18673
18731
  var _proto = Input2.prototype;
@@ -18683,7 +18741,7 @@ var Input = /* @__PURE__ */ function(_React$Component) {
18683
18741
  }
18684
18742
  };
18685
18743
  _proto.render = function render() {
18686
- var _this$props = this.props, className = _this$props.className, cssModule = _this$props.cssModule, type = _this$props.type, bsSize = _this$props.bsSize, valid = _this$props.valid, invalid = _this$props.invalid, tag = _this$props.tag, addon = _this$props.addon, plaintext = _this$props.plaintext, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$1(_this$props, _excluded$4);
18744
+ var _this$props = this.props, className = _this$props.className, cssModule = _this$props.cssModule, type = _this$props.type, bsSize = _this$props.bsSize, valid = _this$props.valid, invalid = _this$props.invalid, tag = _this$props.tag, addon = _this$props.addon, plaintext = _this$props.plaintext, innerRef = _this$props.innerRef, attributes = _objectWithoutPropertiesLoose$2(_this$props, _excluded$4);
18687
18745
  var checkInput = ["radio", "checkbox"].indexOf(type) > -1;
18688
18746
  var isNotaNumber = new RegExp("\\D", "g");
18689
18747
  var fileInput = type === "file";
@@ -18742,7 +18800,7 @@ var defaultProps$3 = {
18742
18800
  tag: "div"
18743
18801
  };
18744
18802
  var InputGroup = function InputGroup2(props) {
18745
- var className = props.className, cssModule = props.cssModule, Tag = props.tag, size = props.size, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$3);
18803
+ var className = props.className, cssModule = props.cssModule, Tag = props.tag, size = props.size, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$3);
18746
18804
  var classes = mapToCssModules(classNames(className, "input-group", size ? "input-group-" + size : null), cssModule);
18747
18805
  return /* @__PURE__ */ jsx(Tag, {
18748
18806
  ...attributes,
@@ -18789,7 +18847,7 @@ var getColumnSizeClass2 = function getColumnSizeClass3(isXs, colWidth, colSize)
18789
18847
  return isXs ? "col-" + colSize : "col-" + colWidth + "-" + colSize;
18790
18848
  };
18791
18849
  var Label = function Label2(props) {
18792
- var className = props.className, cssModule = props.cssModule, hidden = props.hidden, widths = props.widths, Tag = props.tag, check2 = props.check, size = props.size, htmlFor = props.for, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$2);
18850
+ var className = props.className, cssModule = props.cssModule, hidden = props.hidden, widths = props.widths, Tag = props.tag, check2 = props.check, size = props.size, htmlFor = props.for, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$2);
18793
18851
  var colClasses = [];
18794
18852
  widths.forEach(function(colWidth, i2) {
18795
18853
  var columnProp = props[colWidth];
@@ -18875,7 +18933,7 @@ var defaultProps$1 = {
18875
18933
  })
18876
18934
  };
18877
18935
  function Alert(props) {
18878
- var className = props.className, closeClassName = props.closeClassName, closeAriaLabel = props.closeAriaLabel, cssModule = props.cssModule, Tag = props.tag, color = props.color, isOpen = props.isOpen, toggle2 = props.toggle, children = props.children, transition = props.transition, fade = props.fade, innerRef = props.innerRef, attributes = _objectWithoutPropertiesLoose$1(props, _excluded$1);
18936
+ var className = props.className, closeClassName = props.closeClassName, closeAriaLabel = props.closeAriaLabel, cssModule = props.cssModule, Tag = props.tag, color = props.color, isOpen = props.isOpen, toggle2 = props.toggle, children = props.children, transition = props.transition, fade = props.fade, innerRef = props.innerRef, attributes = _objectWithoutPropertiesLoose$2(props, _excluded$1);
18879
18937
  var classes = mapToCssModules(classNames(className, "alert", "alert-" + color, {
18880
18938
  "alert-dismissible": toggle2
18881
18939
  }), cssModule);
@@ -18922,7 +18980,7 @@ var defaultProps = {
18922
18980
  children: "Loading..."
18923
18981
  };
18924
18982
  var Spinner$1 = function Spinner(props) {
18925
- var className = props.className, cssModule = props.cssModule, type = props.type, size = props.size, color = props.color, children = props.children, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$1(props, _excluded);
18983
+ var className = props.className, cssModule = props.cssModule, type = props.type, size = props.size, color = props.color, children = props.children, Tag = props.tag, attributes = _objectWithoutPropertiesLoose$2(props, _excluded);
18926
18984
  var classes = mapToCssModules(classNames(className, size ? "spinner-" + type + "-" + size : false, "spinner-" + type, color ? "text-" + color : false), cssModule);
18927
18985
  return /* @__PURE__ */ jsx(Tag, {
18928
18986
  role: "status",
@@ -26940,36 +26998,36 @@ function parseQueryArgs(arg1, arg2, arg3) {
26940
26998
  return arg1;
26941
26999
  }
26942
27000
  if (typeof arg2 === "function") {
26943
- return _extends$1({}, arg3, {
27001
+ return _extends$2({}, arg3, {
26944
27002
  queryKey: arg1,
26945
27003
  queryFn: arg2
26946
27004
  });
26947
27005
  }
26948
- return _extends$1({}, arg2, {
27006
+ return _extends$2({}, arg2, {
26949
27007
  queryKey: arg1
26950
27008
  });
26951
27009
  }
26952
27010
  function parseMutationArgs(arg1, arg2, arg3) {
26953
27011
  if (isQueryKey(arg1)) {
26954
27012
  if (typeof arg2 === "function") {
26955
- return _extends$1({}, arg3, {
27013
+ return _extends$2({}, arg3, {
26956
27014
  mutationKey: arg1,
26957
27015
  mutationFn: arg2
26958
27016
  });
26959
27017
  }
26960
- return _extends$1({}, arg2, {
27018
+ return _extends$2({}, arg2, {
26961
27019
  mutationKey: arg1
26962
27020
  });
26963
27021
  }
26964
27022
  if (typeof arg1 === "function") {
26965
- return _extends$1({}, arg2, {
27023
+ return _extends$2({}, arg2, {
26966
27024
  mutationFn: arg1
26967
27025
  });
26968
27026
  }
26969
- return _extends$1({}, arg1);
27027
+ return _extends$2({}, arg1);
26970
27028
  }
26971
27029
  function parseFilterArgs(arg1, arg2, arg3) {
26972
- return isQueryKey(arg1) ? [_extends$1({}, arg2, {
27030
+ return isQueryKey(arg1) ? [_extends$2({}, arg2, {
26973
27031
  queryKey: arg1
26974
27032
  }), arg3] : [arg1 || {}, arg2];
26975
27033
  }
@@ -27135,7 +27193,7 @@ function getAbortController() {
27135
27193
  }
27136
27194
  }
27137
27195
  var FocusManager = /* @__PURE__ */ function(_Subscribable) {
27138
- _inheritsLoose$1(FocusManager2, _Subscribable);
27196
+ _inheritsLoose$2(FocusManager2, _Subscribable);
27139
27197
  function FocusManager2() {
27140
27198
  var _this;
27141
27199
  _this = _Subscribable.call(this) || this;
@@ -27204,7 +27262,7 @@ var FocusManager = /* @__PURE__ */ function(_Subscribable) {
27204
27262
  }(Subscribable);
27205
27263
  var focusManager = new FocusManager();
27206
27264
  var OnlineManager = /* @__PURE__ */ function(_Subscribable) {
27207
- _inheritsLoose$1(OnlineManager2, _Subscribable);
27265
+ _inheritsLoose$2(OnlineManager2, _Subscribable);
27208
27266
  function OnlineManager2() {
27209
27267
  var _this;
27210
27268
  _this = _Subscribable.call(this) || this;
@@ -27487,7 +27545,7 @@ var Query = /* @__PURE__ */ function() {
27487
27545
  var _proto = Query2.prototype;
27488
27546
  _proto.setOptions = function setOptions(options) {
27489
27547
  var _this$options$cacheTi;
27490
- this.options = _extends$1({}, this.defaultOptions, options);
27548
+ this.options = _extends$2({}, this.defaultOptions, options);
27491
27549
  this.meta = options == null ? void 0 : options.meta;
27492
27550
  this.cacheTime = Math.max(this.cacheTime || 0, (_this$options$cacheTi = this.options.cacheTime) != null ? _this$options$cacheTi : 5 * 60 * 1e3);
27493
27551
  };
@@ -27800,19 +27858,19 @@ var Query = /* @__PURE__ */ function() {
27800
27858
  var _action$meta, _action$dataUpdatedAt;
27801
27859
  switch (action.type) {
27802
27860
  case "failed":
27803
- return _extends$1({}, state, {
27861
+ return _extends$2({}, state, {
27804
27862
  fetchFailureCount: state.fetchFailureCount + 1
27805
27863
  });
27806
27864
  case "pause":
27807
- return _extends$1({}, state, {
27865
+ return _extends$2({}, state, {
27808
27866
  isPaused: true
27809
27867
  });
27810
27868
  case "continue":
27811
- return _extends$1({}, state, {
27869
+ return _extends$2({}, state, {
27812
27870
  isPaused: false
27813
27871
  });
27814
27872
  case "fetch":
27815
- return _extends$1({}, state, {
27873
+ return _extends$2({}, state, {
27816
27874
  fetchFailureCount: 0,
27817
27875
  fetchMeta: (_action$meta = action.meta) != null ? _action$meta : null,
27818
27876
  isFetching: true,
@@ -27822,7 +27880,7 @@ var Query = /* @__PURE__ */ function() {
27822
27880
  status: "loading"
27823
27881
  });
27824
27882
  case "success":
27825
- return _extends$1({}, state, {
27883
+ return _extends$2({}, state, {
27826
27884
  data: action.data,
27827
27885
  dataUpdateCount: state.dataUpdateCount + 1,
27828
27886
  dataUpdatedAt: (_action$dataUpdatedAt = action.dataUpdatedAt) != null ? _action$dataUpdatedAt : Date.now(),
@@ -27836,9 +27894,9 @@ var Query = /* @__PURE__ */ function() {
27836
27894
  case "error":
27837
27895
  var error = action.error;
27838
27896
  if (isCancelledError(error) && error.revert && this.revertState) {
27839
- return _extends$1({}, this.revertState);
27897
+ return _extends$2({}, this.revertState);
27840
27898
  }
27841
- return _extends$1({}, state, {
27899
+ return _extends$2({}, state, {
27842
27900
  error,
27843
27901
  errorUpdateCount: state.errorUpdateCount + 1,
27844
27902
  errorUpdatedAt: Date.now(),
@@ -27848,11 +27906,11 @@ var Query = /* @__PURE__ */ function() {
27848
27906
  status: "error"
27849
27907
  });
27850
27908
  case "invalidate":
27851
- return _extends$1({}, state, {
27909
+ return _extends$2({}, state, {
27852
27910
  isInvalidated: true
27853
27911
  });
27854
27912
  case "setState":
27855
- return _extends$1({}, state, action.state);
27913
+ return _extends$2({}, state, action.state);
27856
27914
  default:
27857
27915
  return state;
27858
27916
  }
@@ -27860,7 +27918,7 @@ var Query = /* @__PURE__ */ function() {
27860
27918
  return Query2;
27861
27919
  }();
27862
27920
  var QueryCache = /* @__PURE__ */ function(_Subscribable) {
27863
- _inheritsLoose$1(QueryCache2, _Subscribable);
27921
+ _inheritsLoose$2(QueryCache2, _Subscribable);
27864
27922
  function QueryCache2(config) {
27865
27923
  var _this;
27866
27924
  _this = _Subscribable.call(this) || this;
@@ -27972,7 +28030,7 @@ var QueryCache = /* @__PURE__ */ function(_Subscribable) {
27972
28030
  }(Subscribable);
27973
28031
  var Mutation = /* @__PURE__ */ function() {
27974
28032
  function Mutation2(config) {
27975
- this.options = _extends$1({}, config.defaultOptions, config.options);
28033
+ this.options = _extends$2({}, config.defaultOptions, config.options);
27976
28034
  this.mutationId = config.mutationId;
27977
28035
  this.mutationCache = config.mutationCache;
27978
28036
  this.observers = [];
@@ -28120,19 +28178,19 @@ function getDefaultState() {
28120
28178
  function reducer(state, action) {
28121
28179
  switch (action.type) {
28122
28180
  case "failed":
28123
- return _extends$1({}, state, {
28181
+ return _extends$2({}, state, {
28124
28182
  failureCount: state.failureCount + 1
28125
28183
  });
28126
28184
  case "pause":
28127
- return _extends$1({}, state, {
28185
+ return _extends$2({}, state, {
28128
28186
  isPaused: true
28129
28187
  });
28130
28188
  case "continue":
28131
- return _extends$1({}, state, {
28189
+ return _extends$2({}, state, {
28132
28190
  isPaused: false
28133
28191
  });
28134
28192
  case "loading":
28135
- return _extends$1({}, state, {
28193
+ return _extends$2({}, state, {
28136
28194
  context: action.context,
28137
28195
  data: void 0,
28138
28196
  error: null,
@@ -28141,14 +28199,14 @@ function reducer(state, action) {
28141
28199
  variables: action.variables
28142
28200
  });
28143
28201
  case "success":
28144
- return _extends$1({}, state, {
28202
+ return _extends$2({}, state, {
28145
28203
  data: action.data,
28146
28204
  error: null,
28147
28205
  status: "success",
28148
28206
  isPaused: false
28149
28207
  });
28150
28208
  case "error":
28151
- return _extends$1({}, state, {
28209
+ return _extends$2({}, state, {
28152
28210
  data: void 0,
28153
28211
  error: action.error,
28154
28212
  failureCount: state.failureCount + 1,
@@ -28156,13 +28214,13 @@ function reducer(state, action) {
28156
28214
  status: "error"
28157
28215
  });
28158
28216
  case "setState":
28159
- return _extends$1({}, state, action.state);
28217
+ return _extends$2({}, state, action.state);
28160
28218
  default:
28161
28219
  return state;
28162
28220
  }
28163
28221
  }
28164
28222
  var MutationCache = /* @__PURE__ */ function(_Subscribable) {
28165
- _inheritsLoose$1(MutationCache2, _Subscribable);
28223
+ _inheritsLoose$2(MutationCache2, _Subscribable);
28166
28224
  function MutationCache2(config) {
28167
28225
  var _this;
28168
28226
  _this = _Subscribable.call(this) || this;
@@ -28388,7 +28446,7 @@ var QueryClient = /* @__PURE__ */ function() {
28388
28446
  return this.queryCache.findAll(filters).length;
28389
28447
  };
28390
28448
  _proto.isMutating = function isMutating(filters) {
28391
- return this.mutationCache.findAll(_extends$1({}, filters, {
28449
+ return this.mutationCache.findAll(_extends$2({}, filters, {
28392
28450
  fetching: true
28393
28451
  })).length;
28394
28452
  };
@@ -28434,7 +28492,7 @@ var QueryClient = /* @__PURE__ */ function() {
28434
28492
  var _this3 = this;
28435
28493
  var _parseFilterArgs3 = parseFilterArgs(arg1, arg2, arg3), filters = _parseFilterArgs3[0], options = _parseFilterArgs3[1];
28436
28494
  var queryCache = this.queryCache;
28437
- var refetchFilters = _extends$1({}, filters, {
28495
+ var refetchFilters = _extends$2({}, filters, {
28438
28496
  active: true
28439
28497
  });
28440
28498
  return notifyManager.batch(function() {
@@ -28460,7 +28518,7 @@ var QueryClient = /* @__PURE__ */ function() {
28460
28518
  _proto.invalidateQueries = function invalidateQueries(arg1, arg2, arg3) {
28461
28519
  var _ref3, _filters$refetchActiv, _filters$refetchInact, _this5 = this;
28462
28520
  var _parseFilterArgs5 = parseFilterArgs(arg1, arg2, arg3), filters = _parseFilterArgs5[0], options = _parseFilterArgs5[1];
28463
- var refetchFilters = _extends$1({}, filters, {
28521
+ var refetchFilters = _extends$2({}, filters, {
28464
28522
  active: (_ref3 = (_filters$refetchActiv = filters.refetchActive) != null ? _filters$refetchActiv : filters.active) != null ? _ref3 : true,
28465
28523
  inactive: (_filters$refetchInact = filters.refetchInactive) != null ? _filters$refetchInact : false
28466
28524
  });
@@ -28476,7 +28534,7 @@ var QueryClient = /* @__PURE__ */ function() {
28476
28534
  var _parseFilterArgs6 = parseFilterArgs(arg1, arg2, arg3), filters = _parseFilterArgs6[0], options = _parseFilterArgs6[1];
28477
28535
  var promises = notifyManager.batch(function() {
28478
28536
  return _this6.queryCache.findAll(filters).map(function(query) {
28479
- return query.fetch(void 0, _extends$1({}, options, {
28537
+ return query.fetch(void 0, _extends$2({}, options, {
28480
28538
  meta: {
28481
28539
  refetchPage: filters == null ? void 0 : filters.refetchPage
28482
28540
  }
@@ -28578,7 +28636,7 @@ var QueryClient = /* @__PURE__ */ function() {
28578
28636
  if (options == null ? void 0 : options._defaulted) {
28579
28637
  return options;
28580
28638
  }
28581
- var defaultedOptions = _extends$1({}, this.defaultOptions.queries, this.getQueryDefaults(options == null ? void 0 : options.queryKey), options, {
28639
+ var defaultedOptions = _extends$2({}, this.defaultOptions.queries, this.getQueryDefaults(options == null ? void 0 : options.queryKey), options, {
28582
28640
  _defaulted: true
28583
28641
  });
28584
28642
  if (!defaultedOptions.queryHash && defaultedOptions.queryKey) {
@@ -28593,7 +28651,7 @@ var QueryClient = /* @__PURE__ */ function() {
28593
28651
  if (options == null ? void 0 : options._defaulted) {
28594
28652
  return options;
28595
28653
  }
28596
- return _extends$1({}, this.defaultOptions.mutations, this.getMutationDefaults(options == null ? void 0 : options.mutationKey), options, {
28654
+ return _extends$2({}, this.defaultOptions.mutations, this.getMutationDefaults(options == null ? void 0 : options.mutationKey), options, {
28597
28655
  _defaulted: true
28598
28656
  });
28599
28657
  };
@@ -28604,7 +28662,7 @@ var QueryClient = /* @__PURE__ */ function() {
28604
28662
  return QueryClient2;
28605
28663
  }();
28606
28664
  var MutationObserver = /* @__PURE__ */ function(_Subscribable) {
28607
- _inheritsLoose$1(MutationObserver2, _Subscribable);
28665
+ _inheritsLoose$2(MutationObserver2, _Subscribable);
28608
28666
  function MutationObserver2(client, options) {
28609
28667
  var _this;
28610
28668
  _this = _Subscribable.call(this) || this;
@@ -28655,7 +28713,7 @@ var MutationObserver = /* @__PURE__ */ function(_Subscribable) {
28655
28713
  if (this.currentMutation) {
28656
28714
  this.currentMutation.removeObserver(this);
28657
28715
  }
28658
- this.currentMutation = this.client.getMutationCache().build(this.client, _extends$1({}, this.options, {
28716
+ this.currentMutation = this.client.getMutationCache().build(this.client, _extends$2({}, this.options, {
28659
28717
  variables: typeof variables !== "undefined" ? variables : this.options.variables
28660
28718
  }));
28661
28719
  this.currentMutation.addObserver(this);
@@ -28663,7 +28721,7 @@ var MutationObserver = /* @__PURE__ */ function(_Subscribable) {
28663
28721
  };
28664
28722
  _proto.updateResult = function updateResult() {
28665
28723
  var state = this.currentMutation ? this.currentMutation.state : getDefaultState();
28666
- var result = _extends$1({}, state, {
28724
+ var result = _extends$2({}, state, {
28667
28725
  isLoading: state.status === "loading",
28668
28726
  isSuccess: state.status === "success",
28669
28727
  isError: state.status === "error",
@@ -28773,7 +28831,7 @@ function useMutation(arg1, arg2, arg3) {
28773
28831
  if (currentResult.error && shouldThrowError(void 0, obsRef.current.options.useErrorBoundary, [currentResult.error])) {
28774
28832
  throw currentResult.error;
28775
28833
  }
28776
- return _extends$1({}, currentResult, {
28834
+ return _extends$2({}, currentResult, {
28777
28835
  mutate,
28778
28836
  mutateAsync: currentResult.mutate
28779
28837
  });
@@ -31745,13 +31803,15 @@ function WidgetInitForm({
31745
31803
  country_code: country_code2,
31746
31804
  timezone: timezone2
31747
31805
  } = data2.data;
31806
+ const timezoneStringSplit = timezone2.split("/");
31748
31807
  setState({
31749
31808
  ipAddress: ip,
31750
31809
  country: country_name,
31751
31810
  longitude: longitude2,
31752
31811
  latitude: latitude2,
31753
31812
  location: region,
31754
- country_code: country_code2
31813
+ country_code: country_code2,
31814
+ continent: timezoneStringSplit[0]
31755
31815
  });
31756
31816
  const requestObject = {
31757
31817
  ip_address: ip,
@@ -31792,7 +31852,8 @@ function WidgetInitForm({
31792
31852
  latitude,
31793
31853
  longitude,
31794
31854
  location: location2,
31795
- source_url
31855
+ source_url,
31856
+ continent
31796
31857
  }, "post"), {
31797
31858
  onError: (err) => {
31798
31859
  toast.error("Error occured, try again", {
@@ -43590,7 +43651,7 @@ function _inherits(subClass, superClass) {
43590
43651
  writable: false
43591
43652
  });
43592
43653
  if (superClass)
43593
- _setPrototypeOf(subClass, superClass);
43654
+ _setPrototypeOf$1(subClass, superClass);
43594
43655
  }
43595
43656
  function _typeof(obj) {
43596
43657
  "@babel/helpers - typeof";
@@ -43606,7 +43667,7 @@ function _possibleConstructorReturn(self2, call2) {
43606
43667
  } else if (call2 !== void 0) {
43607
43668
  throw new TypeError("Derived constructors may only return object or undefined");
43608
43669
  }
43609
- return _assertThisInitialized(self2);
43670
+ return _assertThisInitialized$1(self2);
43610
43671
  }
43611
43672
  function _getPrototypeOf(o2) {
43612
43673
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
@@ -44723,7 +44784,7 @@ function createAvatarDataProvider(_ref) {
44723
44784
  var _this;
44724
44785
  _classCallCheck(this, AvatarDataProvider2);
44725
44786
  _this = _super.call(this, props);
44726
- _defineProperty(_assertThisInitialized(_this), "_createFetcher", function(internal) {
44787
+ _defineProperty(_assertThisInitialized$1(_this), "_createFetcher", function(internal) {
44727
44788
  return function(errEvent) {
44728
44789
  var cache = _this.props.cache;
44729
44790
  if (!internal.isActive(_this.state))
@@ -44751,7 +44812,7 @@ function createAvatarDataProvider(_ref) {
44751
44812
  });
44752
44813
  };
44753
44814
  });
44754
- _defineProperty(_assertThisInitialized(_this), "fetch", function() {
44815
+ _defineProperty(_assertThisInitialized$1(_this), "fetch", function() {
44755
44816
  var internal = new InternalState();
44756
44817
  internal.fetch = _this._createFetcher(internal);
44757
44818
  _this.setState({
@@ -45106,7 +45167,7 @@ var AvatarText = /* @__PURE__ */ function(_React$PureComponent) {
45106
45167
  args[_key] = arguments[_key];
45107
45168
  }
45108
45169
  _this = _super.call.apply(_super, concat2(_context = [this]).call(_context, args));
45109
- _defineProperty(_assertThisInitialized(_this), "_scaleTextNode", function(node) {
45170
+ _defineProperty(_assertThisInitialized$1(_this), "_scaleTextNode", function(node) {
45110
45171
  var retryTTL = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 16;
45111
45172
  var _this$props = _this.props, unstyled = _this$props.unstyled, textSizeRatio = _this$props.textSizeRatio, textMarginRatio = _this$props.textMarginRatio, avatar = _this$props.avatar;
45112
45173
  _this._node = node;
@@ -47206,7 +47267,7 @@ function UnwrapWidget({
47206
47267
  return null;
47207
47268
  }
47208
47269
  return /* @__PURE__ */ jsxs("div", {
47209
- className: `widget-cover mb-2 ${isWidgetLaunched ? "widget-cover-container" : ""}`,
47270
+ className: `widget-cover fixed right-0 bottom-0 mb-2 ${isWidgetLaunched ? "widget-cover-container" : ""}`,
47210
47271
  children: [/* @__PURE__ */ jsx(WidgetFormDisplay, {
47211
47272
  companyIsClosed,
47212
47273
  company_id,