@heycater/qualification-funnel 1.19.14 → 1.19.15

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.esm.js CHANGED
@@ -10863,7 +10863,7 @@ const SwitchesWrapper = styled.div`
10863
10863
  `;
10864
10864
  const defaultLeadTimeInDays = DEFAULT_LEAD_DAYS;
10865
10865
  function DatePickerEmbedded() {
10866
- var _a2, _b;
10866
+ var _a2, _b, _c;
10867
10867
  const router = useRouter();
10868
10868
  const { answerOf, actions, state } = useQualification();
10869
10869
  const { trackAnswer } = useTracking();
@@ -10877,7 +10877,7 @@ function DatePickerEmbedded() {
10877
10877
  answers: state.qualification.answers,
10878
10878
  selectedCaterer: state.qualification.selectedCaterer
10879
10879
  }) : null;
10880
- const minDateMessage = router.locale === "en" ? (_a2 = attributes == null ? void 0 : attributes.minDate) == null ? void 0 : _a2.messageEn : (_b = attributes == null ? void 0 : attributes.minDate) == null ? void 0 : _b.messageDe;
10880
+ const minDateMessage = ((_a2 = router.locale) == null ? void 0 : _a2.startsWith("en")) ? (_b = attributes == null ? void 0 : attributes.minDate) == null ? void 0 : _b.messageEn : (_c = attributes == null ? void 0 : attributes.minDate) == null ? void 0 : _c.messageDe;
10881
10881
  const [isRecurringNeedSelected] = useState(
10882
10882
  !!answerOf(isRecurringQuestion.id)
10883
10883
  );
@@ -13078,14 +13078,7 @@ function requireFunctionBind() {
13078
13078
  functionBind = Function.prototype.bind || implementation2;
13079
13079
  return functionBind;
13080
13080
  }
13081
- var functionCall;
13082
- var hasRequiredFunctionCall;
13083
- function requireFunctionCall() {
13084
- if (hasRequiredFunctionCall) return functionCall;
13085
- hasRequiredFunctionCall = 1;
13086
- functionCall = Function.prototype.call;
13087
- return functionCall;
13088
- }
13081
+ var functionCall = Function.prototype.call;
13089
13082
  var functionApply;
13090
13083
  var hasRequiredFunctionApply;
13091
13084
  function requireFunctionApply() {
@@ -13097,12 +13090,12 @@ function requireFunctionApply() {
13097
13090
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
13098
13091
  var bind$2 = requireFunctionBind();
13099
13092
  var $apply$1 = requireFunctionApply();
13100
- var $call$2 = requireFunctionCall();
13093
+ var $call$2 = functionCall;
13101
13094
  var $reflectApply = reflectApply;
13102
13095
  var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
13103
13096
  var bind$1 = requireFunctionBind();
13104
13097
  var $TypeError$4 = type;
13105
- var $call$1 = requireFunctionCall();
13098
+ var $call$1 = functionCall;
13106
13099
  var $actualApply = actualApply;
13107
13100
  var callBindApplyHelpers = function callBindBasic(args) {
13108
13101
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -13217,7 +13210,7 @@ var getProto = requireGetProto();
13217
13210
  var $ObjectGPO = requireObject_getPrototypeOf();
13218
13211
  var $ReflectGPO = requireReflect_getPrototypeOf();
13219
13212
  var $apply = requireFunctionApply();
13220
- var $call = requireFunctionCall();
13213
+ var $call = functionCall;
13221
13214
  var needsEval = {};
13222
13215
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
13223
13216
  var INTRINSICS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycater/qualification-funnel",
3
- "version": "1.19.14",
3
+ "version": "1.19.15",
4
4
  "type": "module",
5
5
  "description": "Heycater embedded qualification funnel widget",
6
6
  "main": "dist/index.cjs.js",